@infisale-client/api 1.2.90 → 1.2.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/api.d.ts +28 -8
- package/dist/api/api.js +27 -13
- package/dist/api/api.mjs +27 -13
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -151,6 +151,8 @@ export declare const ComponentTypeEnum: {
|
|
|
151
151
|
readonly CHECKOUT_DETAIL: "checkout-detail";
|
|
152
152
|
readonly NOT_FOUND_DETAIL: "not-found-detail";
|
|
153
153
|
readonly SEARCH_DETAIL: "search-detail";
|
|
154
|
+
readonly BLOG_LIST_DETAIL: "blog-list-detail";
|
|
155
|
+
readonly COLLECTION_LIST_DETAIL: "collection-list-detail";
|
|
154
156
|
};
|
|
155
157
|
export type ComponentTypeEnum = typeof ComponentTypeEnum[keyof typeof ComponentTypeEnum];
|
|
156
158
|
/**
|
|
@@ -7758,19 +7760,19 @@ export interface ITemplateResponseComponentsInner {
|
|
|
7758
7760
|
* @type {Array<ICollectionResponse>}
|
|
7759
7761
|
* @memberof ITemplateResponseComponentsInner
|
|
7760
7762
|
*/
|
|
7761
|
-
'collections'
|
|
7763
|
+
'collections'?: Array<ICollectionResponse>;
|
|
7762
7764
|
/**
|
|
7763
7765
|
*
|
|
7764
|
-
* @type {Array<
|
|
7766
|
+
* @type {Array<IBrandResponse>}
|
|
7765
7767
|
* @memberof ITemplateResponseComponentsInner
|
|
7766
7768
|
*/
|
|
7767
|
-
'brands'
|
|
7769
|
+
'brands'?: Array<IBrandResponse>;
|
|
7768
7770
|
/**
|
|
7769
7771
|
*
|
|
7770
7772
|
* @type {Array<ICategoryResponse>}
|
|
7771
7773
|
* @memberof ITemplateResponseComponentsInner
|
|
7772
7774
|
*/
|
|
7773
|
-
'categories'
|
|
7775
|
+
'categories'?: Array<ICategoryResponse>;
|
|
7774
7776
|
/**
|
|
7775
7777
|
*
|
|
7776
7778
|
* @type {ITemplateResponseComponentsInnerProducts}
|
|
@@ -8989,6 +8991,7 @@ export declare const PageTypeEnum: {
|
|
|
8989
8991
|
readonly CHECKOUT: "checkout";
|
|
8990
8992
|
readonly SEARCH: "search";
|
|
8991
8993
|
readonly NOT_FOUND: "not-found";
|
|
8994
|
+
readonly BLOG_LIST: "blog-list";
|
|
8992
8995
|
};
|
|
8993
8996
|
export type PageTypeEnum = typeof PageTypeEnum[keyof typeof PageTypeEnum];
|
|
8994
8997
|
/**
|
|
@@ -11680,6 +11683,7 @@ export declare const TemplateTypeEnum: {
|
|
|
11680
11683
|
readonly NOT_FOUND: "not-found";
|
|
11681
11684
|
readonly BLOG: "blog";
|
|
11682
11685
|
readonly SEARCH: "search";
|
|
11686
|
+
readonly BLOG_LIST: "blog-list";
|
|
11683
11687
|
};
|
|
11684
11688
|
export type TemplateTypeEnum = typeof TemplateTypeEnum[keyof typeof TemplateTypeEnum];
|
|
11685
11689
|
/**
|
|
@@ -12636,10 +12640,11 @@ export declare const BrandApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
12636
12640
|
/**
|
|
12637
12641
|
*
|
|
12638
12642
|
* @param {string} companyId
|
|
12643
|
+
* @param {string} [search]
|
|
12639
12644
|
* @param {*} [options] Override http request option.
|
|
12640
12645
|
* @throws {RequiredError}
|
|
12641
12646
|
*/
|
|
12642
|
-
getAllBrands: (companyId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12647
|
+
getAllBrands: (companyId: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12643
12648
|
/**
|
|
12644
12649
|
*
|
|
12645
12650
|
* @param {string} id
|
|
@@ -12695,10 +12700,11 @@ export declare const BrandApiFp: (configuration?: Configuration) => {
|
|
|
12695
12700
|
/**
|
|
12696
12701
|
*
|
|
12697
12702
|
* @param {string} companyId
|
|
12703
|
+
* @param {string} [search]
|
|
12698
12704
|
* @param {*} [options] Override http request option.
|
|
12699
12705
|
* @throws {RequiredError}
|
|
12700
12706
|
*/
|
|
12701
|
-
getAllBrands(companyId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IBrandsResponse>>;
|
|
12707
|
+
getAllBrands(companyId: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IBrandsResponse>>;
|
|
12702
12708
|
/**
|
|
12703
12709
|
*
|
|
12704
12710
|
* @param {string} id
|
|
@@ -12818,6 +12824,12 @@ export interface BrandApiGetAllBrandsRequest {
|
|
|
12818
12824
|
* @memberof BrandApiGetAllBrands
|
|
12819
12825
|
*/
|
|
12820
12826
|
readonly companyId: string;
|
|
12827
|
+
/**
|
|
12828
|
+
*
|
|
12829
|
+
* @type {string}
|
|
12830
|
+
* @memberof BrandApiGetAllBrands
|
|
12831
|
+
*/
|
|
12832
|
+
readonly search?: string;
|
|
12821
12833
|
}
|
|
12822
12834
|
/**
|
|
12823
12835
|
* Request parameters for getBrandById operation in BrandApi.
|
|
@@ -13010,10 +13022,11 @@ export declare const CategoryApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
13010
13022
|
/**
|
|
13011
13023
|
*
|
|
13012
13024
|
* @param {string} companyId
|
|
13025
|
+
* @param {string} [search]
|
|
13013
13026
|
* @param {*} [options] Override http request option.
|
|
13014
13027
|
* @throws {RequiredError}
|
|
13015
13028
|
*/
|
|
13016
|
-
getAllCategories: (companyId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13029
|
+
getAllCategories: (companyId: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13017
13030
|
/**
|
|
13018
13031
|
*
|
|
13019
13032
|
* @param {string} companyId
|
|
@@ -13083,10 +13096,11 @@ export declare const CategoryApiFp: (configuration?: Configuration) => {
|
|
|
13083
13096
|
/**
|
|
13084
13097
|
*
|
|
13085
13098
|
* @param {string} companyId
|
|
13099
|
+
* @param {string} [search]
|
|
13086
13100
|
* @param {*} [options] Override http request option.
|
|
13087
13101
|
* @throws {RequiredError}
|
|
13088
13102
|
*/
|
|
13089
|
-
getAllCategories(companyId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IAllCategoriesResponse>>;
|
|
13103
|
+
getAllCategories(companyId: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IAllCategoriesResponse>>;
|
|
13090
13104
|
/**
|
|
13091
13105
|
*
|
|
13092
13106
|
* @param {string} companyId
|
|
@@ -13234,6 +13248,12 @@ export interface CategoryApiGetAllCategoriesRequest {
|
|
|
13234
13248
|
* @memberof CategoryApiGetAllCategories
|
|
13235
13249
|
*/
|
|
13236
13250
|
readonly companyId: string;
|
|
13251
|
+
/**
|
|
13252
|
+
*
|
|
13253
|
+
* @type {string}
|
|
13254
|
+
* @memberof CategoryApiGetAllCategories
|
|
13255
|
+
*/
|
|
13256
|
+
readonly search?: string;
|
|
13237
13257
|
}
|
|
13238
13258
|
/**
|
|
13239
13259
|
* Request parameters for getAllCategoriesTree operation in CategoryApi.
|
package/dist/api/api.js
CHANGED
|
@@ -155,7 +155,9 @@ exports.ComponentTypeEnum = {
|
|
|
155
155
|
CART_DETAIL: 'cart-detail',
|
|
156
156
|
CHECKOUT_DETAIL: 'checkout-detail',
|
|
157
157
|
NOT_FOUND_DETAIL: 'not-found-detail',
|
|
158
|
-
SEARCH_DETAIL: 'search-detail'
|
|
158
|
+
SEARCH_DETAIL: 'search-detail',
|
|
159
|
+
BLOG_LIST_DETAIL: 'blog-list-detail',
|
|
160
|
+
COLLECTION_LIST_DETAIL: 'collection-list-detail'
|
|
159
161
|
};
|
|
160
162
|
/**
|
|
161
163
|
*
|
|
@@ -711,7 +713,8 @@ exports.PageTypeEnum = {
|
|
|
711
713
|
CART: 'cart',
|
|
712
714
|
CHECKOUT: 'checkout',
|
|
713
715
|
SEARCH: 'search',
|
|
714
|
-
NOT_FOUND: 'not-found'
|
|
716
|
+
NOT_FOUND: 'not-found',
|
|
717
|
+
BLOG_LIST: 'blog-list'
|
|
715
718
|
};
|
|
716
719
|
/**
|
|
717
720
|
*
|
|
@@ -838,7 +841,8 @@ exports.TemplateTypeEnum = {
|
|
|
838
841
|
CHECKOUT: 'checkout',
|
|
839
842
|
NOT_FOUND: 'not-found',
|
|
840
843
|
BLOG: 'blog',
|
|
841
|
-
SEARCH: 'search'
|
|
844
|
+
SEARCH: 'search',
|
|
845
|
+
BLOG_LIST: 'blog-list'
|
|
842
846
|
};
|
|
843
847
|
/**
|
|
844
848
|
*
|
|
@@ -2088,10 +2092,11 @@ const BrandApiAxiosParamCreator = function (configuration) {
|
|
|
2088
2092
|
/**
|
|
2089
2093
|
*
|
|
2090
2094
|
* @param {string} companyId
|
|
2095
|
+
* @param {string} [search]
|
|
2091
2096
|
* @param {*} [options] Override http request option.
|
|
2092
2097
|
* @throws {RequiredError}
|
|
2093
2098
|
*/
|
|
2094
|
-
getAllBrands: async (companyId, options = {}) => {
|
|
2099
|
+
getAllBrands: async (companyId, search, options = {}) => {
|
|
2095
2100
|
// verify required parameter 'companyId' is not null or undefined
|
|
2096
2101
|
(0, common_1.assertParamExists)('getAllBrands', 'companyId', companyId);
|
|
2097
2102
|
const localVarPath = `/api/brands/get/all`;
|
|
@@ -2107,6 +2112,9 @@ const BrandApiAxiosParamCreator = function (configuration) {
|
|
|
2107
2112
|
if (companyId !== undefined) {
|
|
2108
2113
|
localVarQueryParameter['companyId'] = companyId;
|
|
2109
2114
|
}
|
|
2115
|
+
if (search !== undefined) {
|
|
2116
|
+
localVarQueryParameter['search'] = search;
|
|
2117
|
+
}
|
|
2110
2118
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2111
2119
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2112
2120
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2285,11 +2293,12 @@ const BrandApiFp = function (configuration) {
|
|
|
2285
2293
|
/**
|
|
2286
2294
|
*
|
|
2287
2295
|
* @param {string} companyId
|
|
2296
|
+
* @param {string} [search]
|
|
2288
2297
|
* @param {*} [options] Override http request option.
|
|
2289
2298
|
* @throws {RequiredError}
|
|
2290
2299
|
*/
|
|
2291
|
-
async getAllBrands(companyId, options) {
|
|
2292
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllBrands(companyId, options);
|
|
2300
|
+
async getAllBrands(companyId, search, options) {
|
|
2301
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllBrands(companyId, search, options);
|
|
2293
2302
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2294
2303
|
const localVarOperationServerBasePath = base_1.operationServerMap['BrandApi.getAllBrands']?.[localVarOperationServerIndex]?.url;
|
|
2295
2304
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2376,7 +2385,7 @@ const BrandApiFactory = function (configuration, basePath, axios) {
|
|
|
2376
2385
|
* @throws {RequiredError}
|
|
2377
2386
|
*/
|
|
2378
2387
|
getAllBrands(requestParameters, options) {
|
|
2379
|
-
return localVarFp.getAllBrands(requestParameters.companyId, options).then((request) => request(axios, basePath));
|
|
2388
|
+
return localVarFp.getAllBrands(requestParameters.companyId, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
2380
2389
|
},
|
|
2381
2390
|
/**
|
|
2382
2391
|
*
|
|
@@ -2443,7 +2452,7 @@ class BrandApi extends base_1.BaseAPI {
|
|
|
2443
2452
|
* @memberof BrandApi
|
|
2444
2453
|
*/
|
|
2445
2454
|
getAllBrands(requestParameters, options) {
|
|
2446
|
-
return (0, exports.BrandApiFp)(this.configuration).getAllBrands(requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
|
|
2455
|
+
return (0, exports.BrandApiFp)(this.configuration).getAllBrands(requestParameters.companyId, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
2447
2456
|
}
|
|
2448
2457
|
/**
|
|
2449
2458
|
*
|
|
@@ -2550,10 +2559,11 @@ const CategoryApiAxiosParamCreator = function (configuration) {
|
|
|
2550
2559
|
/**
|
|
2551
2560
|
*
|
|
2552
2561
|
* @param {string} companyId
|
|
2562
|
+
* @param {string} [search]
|
|
2553
2563
|
* @param {*} [options] Override http request option.
|
|
2554
2564
|
* @throws {RequiredError}
|
|
2555
2565
|
*/
|
|
2556
|
-
getAllCategories: async (companyId, options = {}) => {
|
|
2566
|
+
getAllCategories: async (companyId, search, options = {}) => {
|
|
2557
2567
|
// verify required parameter 'companyId' is not null or undefined
|
|
2558
2568
|
(0, common_1.assertParamExists)('getAllCategories', 'companyId', companyId);
|
|
2559
2569
|
const localVarPath = `/api/categories/get/all`;
|
|
@@ -2569,6 +2579,9 @@ const CategoryApiAxiosParamCreator = function (configuration) {
|
|
|
2569
2579
|
if (companyId !== undefined) {
|
|
2570
2580
|
localVarQueryParameter['companyId'] = companyId;
|
|
2571
2581
|
}
|
|
2582
|
+
if (search !== undefined) {
|
|
2583
|
+
localVarQueryParameter['search'] = search;
|
|
2584
|
+
}
|
|
2572
2585
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2573
2586
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2574
2587
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2807,11 +2820,12 @@ const CategoryApiFp = function (configuration) {
|
|
|
2807
2820
|
/**
|
|
2808
2821
|
*
|
|
2809
2822
|
* @param {string} companyId
|
|
2823
|
+
* @param {string} [search]
|
|
2810
2824
|
* @param {*} [options] Override http request option.
|
|
2811
2825
|
* @throws {RequiredError}
|
|
2812
2826
|
*/
|
|
2813
|
-
async getAllCategories(companyId, options) {
|
|
2814
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllCategories(companyId, options);
|
|
2827
|
+
async getAllCategories(companyId, search, options) {
|
|
2828
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllCategories(companyId, search, options);
|
|
2815
2829
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2816
2830
|
const localVarOperationServerBasePath = base_1.operationServerMap['CategoryApi.getAllCategories']?.[localVarOperationServerIndex]?.url;
|
|
2817
2831
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2922,7 +2936,7 @@ const CategoryApiFactory = function (configuration, basePath, axios) {
|
|
|
2922
2936
|
* @throws {RequiredError}
|
|
2923
2937
|
*/
|
|
2924
2938
|
getAllCategories(requestParameters, options) {
|
|
2925
|
-
return localVarFp.getAllCategories(requestParameters.companyId, options).then((request) => request(axios, basePath));
|
|
2939
|
+
return localVarFp.getAllCategories(requestParameters.companyId, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
2926
2940
|
},
|
|
2927
2941
|
/**
|
|
2928
2942
|
*
|
|
@@ -3007,7 +3021,7 @@ class CategoryApi extends base_1.BaseAPI {
|
|
|
3007
3021
|
* @memberof CategoryApi
|
|
3008
3022
|
*/
|
|
3009
3023
|
getAllCategories(requestParameters, options) {
|
|
3010
|
-
return (0, exports.CategoryApiFp)(this.configuration).getAllCategories(requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
|
|
3024
|
+
return (0, exports.CategoryApiFp)(this.configuration).getAllCategories(requestParameters.companyId, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
3011
3025
|
}
|
|
3012
3026
|
/**
|
|
3013
3027
|
*
|
package/dist/api/api.mjs
CHANGED
|
@@ -143,7 +143,9 @@ export const ComponentTypeEnum = {
|
|
|
143
143
|
CART_DETAIL: 'cart-detail',
|
|
144
144
|
CHECKOUT_DETAIL: 'checkout-detail',
|
|
145
145
|
NOT_FOUND_DETAIL: 'not-found-detail',
|
|
146
|
-
SEARCH_DETAIL: 'search-detail'
|
|
146
|
+
SEARCH_DETAIL: 'search-detail',
|
|
147
|
+
BLOG_LIST_DETAIL: 'blog-list-detail',
|
|
148
|
+
COLLECTION_LIST_DETAIL: 'collection-list-detail'
|
|
147
149
|
};
|
|
148
150
|
/**
|
|
149
151
|
*
|
|
@@ -699,7 +701,8 @@ export const PageTypeEnum = {
|
|
|
699
701
|
CART: 'cart',
|
|
700
702
|
CHECKOUT: 'checkout',
|
|
701
703
|
SEARCH: 'search',
|
|
702
|
-
NOT_FOUND: 'not-found'
|
|
704
|
+
NOT_FOUND: 'not-found',
|
|
705
|
+
BLOG_LIST: 'blog-list'
|
|
703
706
|
};
|
|
704
707
|
/**
|
|
705
708
|
*
|
|
@@ -826,7 +829,8 @@ export const TemplateTypeEnum = {
|
|
|
826
829
|
CHECKOUT: 'checkout',
|
|
827
830
|
NOT_FOUND: 'not-found',
|
|
828
831
|
BLOG: 'blog',
|
|
829
|
-
SEARCH: 'search'
|
|
832
|
+
SEARCH: 'search',
|
|
833
|
+
BLOG_LIST: 'blog-list'
|
|
830
834
|
};
|
|
831
835
|
/**
|
|
832
836
|
*
|
|
@@ -2064,10 +2068,11 @@ export const BrandApiAxiosParamCreator = function (configuration) {
|
|
|
2064
2068
|
/**
|
|
2065
2069
|
*
|
|
2066
2070
|
* @param {string} companyId
|
|
2071
|
+
* @param {string} [search]
|
|
2067
2072
|
* @param {*} [options] Override http request option.
|
|
2068
2073
|
* @throws {RequiredError}
|
|
2069
2074
|
*/
|
|
2070
|
-
getAllBrands: async (companyId, options = {}) => {
|
|
2075
|
+
getAllBrands: async (companyId, search, options = {}) => {
|
|
2071
2076
|
// verify required parameter 'companyId' is not null or undefined
|
|
2072
2077
|
assertParamExists('getAllBrands', 'companyId', companyId);
|
|
2073
2078
|
const localVarPath = `/api/brands/get/all`;
|
|
@@ -2083,6 +2088,9 @@ export const BrandApiAxiosParamCreator = function (configuration) {
|
|
|
2083
2088
|
if (companyId !== undefined) {
|
|
2084
2089
|
localVarQueryParameter['companyId'] = companyId;
|
|
2085
2090
|
}
|
|
2091
|
+
if (search !== undefined) {
|
|
2092
|
+
localVarQueryParameter['search'] = search;
|
|
2093
|
+
}
|
|
2086
2094
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2087
2095
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2088
2096
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2260,11 +2268,12 @@ export const BrandApiFp = function (configuration) {
|
|
|
2260
2268
|
/**
|
|
2261
2269
|
*
|
|
2262
2270
|
* @param {string} companyId
|
|
2271
|
+
* @param {string} [search]
|
|
2263
2272
|
* @param {*} [options] Override http request option.
|
|
2264
2273
|
* @throws {RequiredError}
|
|
2265
2274
|
*/
|
|
2266
|
-
async getAllBrands(companyId, options) {
|
|
2267
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllBrands(companyId, options);
|
|
2275
|
+
async getAllBrands(companyId, search, options) {
|
|
2276
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllBrands(companyId, search, options);
|
|
2268
2277
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2269
2278
|
const localVarOperationServerBasePath = operationServerMap['BrandApi.getAllBrands']?.[localVarOperationServerIndex]?.url;
|
|
2270
2279
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2350,7 +2359,7 @@ export const BrandApiFactory = function (configuration, basePath, axios) {
|
|
|
2350
2359
|
* @throws {RequiredError}
|
|
2351
2360
|
*/
|
|
2352
2361
|
getAllBrands(requestParameters, options) {
|
|
2353
|
-
return localVarFp.getAllBrands(requestParameters.companyId, options).then((request) => request(axios, basePath));
|
|
2362
|
+
return localVarFp.getAllBrands(requestParameters.companyId, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
2354
2363
|
},
|
|
2355
2364
|
/**
|
|
2356
2365
|
*
|
|
@@ -2416,7 +2425,7 @@ export class BrandApi extends BaseAPI {
|
|
|
2416
2425
|
* @memberof BrandApi
|
|
2417
2426
|
*/
|
|
2418
2427
|
getAllBrands(requestParameters, options) {
|
|
2419
|
-
return BrandApiFp(this.configuration).getAllBrands(requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
|
|
2428
|
+
return BrandApiFp(this.configuration).getAllBrands(requestParameters.companyId, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
2420
2429
|
}
|
|
2421
2430
|
/**
|
|
2422
2431
|
*
|
|
@@ -2522,10 +2531,11 @@ export const CategoryApiAxiosParamCreator = function (configuration) {
|
|
|
2522
2531
|
/**
|
|
2523
2532
|
*
|
|
2524
2533
|
* @param {string} companyId
|
|
2534
|
+
* @param {string} [search]
|
|
2525
2535
|
* @param {*} [options] Override http request option.
|
|
2526
2536
|
* @throws {RequiredError}
|
|
2527
2537
|
*/
|
|
2528
|
-
getAllCategories: async (companyId, options = {}) => {
|
|
2538
|
+
getAllCategories: async (companyId, search, options = {}) => {
|
|
2529
2539
|
// verify required parameter 'companyId' is not null or undefined
|
|
2530
2540
|
assertParamExists('getAllCategories', 'companyId', companyId);
|
|
2531
2541
|
const localVarPath = `/api/categories/get/all`;
|
|
@@ -2541,6 +2551,9 @@ export const CategoryApiAxiosParamCreator = function (configuration) {
|
|
|
2541
2551
|
if (companyId !== undefined) {
|
|
2542
2552
|
localVarQueryParameter['companyId'] = companyId;
|
|
2543
2553
|
}
|
|
2554
|
+
if (search !== undefined) {
|
|
2555
|
+
localVarQueryParameter['search'] = search;
|
|
2556
|
+
}
|
|
2544
2557
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2545
2558
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2546
2559
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2778,11 +2791,12 @@ export const CategoryApiFp = function (configuration) {
|
|
|
2778
2791
|
/**
|
|
2779
2792
|
*
|
|
2780
2793
|
* @param {string} companyId
|
|
2794
|
+
* @param {string} [search]
|
|
2781
2795
|
* @param {*} [options] Override http request option.
|
|
2782
2796
|
* @throws {RequiredError}
|
|
2783
2797
|
*/
|
|
2784
|
-
async getAllCategories(companyId, options) {
|
|
2785
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllCategories(companyId, options);
|
|
2798
|
+
async getAllCategories(companyId, search, options) {
|
|
2799
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllCategories(companyId, search, options);
|
|
2786
2800
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2787
2801
|
const localVarOperationServerBasePath = operationServerMap['CategoryApi.getAllCategories']?.[localVarOperationServerIndex]?.url;
|
|
2788
2802
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2892,7 +2906,7 @@ export const CategoryApiFactory = function (configuration, basePath, axios) {
|
|
|
2892
2906
|
* @throws {RequiredError}
|
|
2893
2907
|
*/
|
|
2894
2908
|
getAllCategories(requestParameters, options) {
|
|
2895
|
-
return localVarFp.getAllCategories(requestParameters.companyId, options).then((request) => request(axios, basePath));
|
|
2909
|
+
return localVarFp.getAllCategories(requestParameters.companyId, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
2896
2910
|
},
|
|
2897
2911
|
/**
|
|
2898
2912
|
*
|
|
@@ -2976,7 +2990,7 @@ export class CategoryApi extends BaseAPI {
|
|
|
2976
2990
|
* @memberof CategoryApi
|
|
2977
2991
|
*/
|
|
2978
2992
|
getAllCategories(requestParameters, options) {
|
|
2979
|
-
return CategoryApiFp(this.configuration).getAllCategories(requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
|
|
2993
|
+
return CategoryApiFp(this.configuration).getAllCategories(requestParameters.companyId, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
2980
2994
|
}
|
|
2981
2995
|
/**
|
|
2982
2996
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.92",
|
|
4
4
|
"description": "api-sdk",
|
|
5
5
|
"author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
|
|
6
6
|
"homepage": "https://github.com/infisale/infisale-client#readme",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"bugs": {
|
|
38
38
|
"url": "https://github.com/infisale/infisale-client/issues"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "ca5288a822e4c2e0c98e210f479974406c7d4791"
|
|
41
41
|
}
|