feat: search input

This commit is contained in:
2024-08-24 05:16:43 +03:00
parent 30a96811bb
commit 40769d3664
6 changed files with 30 additions and 13 deletions

View File

@@ -92,10 +92,12 @@ export class ProductService {
*/
public static getProductsByClientId({
clientId,
searchInput,
page,
itemsPerPage,
}: {
clientId: number,
searchInput: string,
page?: (number | null),
itemsPerPage?: (number | null),
}): CancelablePromise<ProductGetResponse> {
@@ -104,6 +106,7 @@ export class ProductService {
url: '/product/get',
query: {
'client_id': clientId,
'search_input': searchInput,
'page': page,
'items_per_page': itemsPerPage,
},