@infisale-client/api 1.1.20 → 1.1.22

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.mjs CHANGED
@@ -1722,13 +1722,13 @@ export const BrandApiAxiosParamCreator = function (configuration) {
1722
1722
  },
1723
1723
  /**
1724
1724
  *
1725
- * @param {string} company
1725
+ * @param {string} companyId
1726
1726
  * @param {*} [options] Override http request option.
1727
1727
  * @throws {RequiredError}
1728
1728
  */
1729
- getAllBrands: async (company, options = {}) => {
1730
- // verify required parameter 'company' is not null or undefined
1731
- assertParamExists('getAllBrands', 'company', company);
1729
+ getAllBrands: async (companyId, options = {}) => {
1730
+ // verify required parameter 'companyId' is not null or undefined
1731
+ assertParamExists('getAllBrands', 'companyId', companyId);
1732
1732
  const localVarPath = `/api/brands/get/all`;
1733
1733
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1734
1734
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1739,8 +1739,8 @@ export const BrandApiAxiosParamCreator = function (configuration) {
1739
1739
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1740
1740
  const localVarHeaderParameter = {};
1741
1741
  const localVarQueryParameter = {};
1742
- if (company !== undefined) {
1743
- localVarQueryParameter['company'] = company;
1742
+ if (companyId !== undefined) {
1743
+ localVarQueryParameter['company_id'] = companyId;
1744
1744
  }
1745
1745
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1746
1746
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -1780,7 +1780,7 @@ export const BrandApiAxiosParamCreator = function (configuration) {
1780
1780
  },
1781
1781
  /**
1782
1782
  *
1783
- * @param {string} company
1783
+ * @param {string} companyId
1784
1784
  * @param {number} [page]
1785
1785
  * @param {number} [itemsPerPage]
1786
1786
  * @param {string} [search]
@@ -1793,9 +1793,9 @@ export const BrandApiAxiosParamCreator = function (configuration) {
1793
1793
  * @param {*} [options] Override http request option.
1794
1794
  * @throws {RequiredError}
1795
1795
  */
1796
- getBrands: async (company, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options = {}) => {
1797
- // verify required parameter 'company' is not null or undefined
1798
- assertParamExists('getBrands', 'company', company);
1796
+ getBrands: async (companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options = {}) => {
1797
+ // verify required parameter 'companyId' is not null or undefined
1798
+ assertParamExists('getBrands', 'companyId', companyId);
1799
1799
  const localVarPath = `/api/brands`;
1800
1800
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1801
1801
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1834,8 +1834,8 @@ export const BrandApiAxiosParamCreator = function (configuration) {
1834
1834
  if (sort !== undefined) {
1835
1835
  localVarQueryParameter['sort'] = sort;
1836
1836
  }
1837
- if (company !== undefined) {
1838
- localVarQueryParameter['company'] = company;
1837
+ if (companyId !== undefined) {
1838
+ localVarQueryParameter['company_id'] = companyId;
1839
1839
  }
1840
1840
  if (status !== undefined) {
1841
1841
  localVarQueryParameter['status'] = status;
@@ -1916,12 +1916,12 @@ export const BrandApiFp = function (configuration) {
1916
1916
  },
1917
1917
  /**
1918
1918
  *
1919
- * @param {string} company
1919
+ * @param {string} companyId
1920
1920
  * @param {*} [options] Override http request option.
1921
1921
  * @throws {RequiredError}
1922
1922
  */
1923
- async getAllBrands(company, options) {
1924
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAllBrands(company, options);
1923
+ async getAllBrands(companyId, options) {
1924
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllBrands(companyId, options);
1925
1925
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1926
1926
  const localVarOperationServerBasePath = operationServerMap['BrandApi.getAllBrands']?.[localVarOperationServerIndex]?.url;
1927
1927
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1940,7 +1940,7 @@ export const BrandApiFp = function (configuration) {
1940
1940
  },
1941
1941
  /**
1942
1942
  *
1943
- * @param {string} company
1943
+ * @param {string} companyId
1944
1944
  * @param {number} [page]
1945
1945
  * @param {number} [itemsPerPage]
1946
1946
  * @param {string} [search]
@@ -1953,8 +1953,8 @@ export const BrandApiFp = function (configuration) {
1953
1953
  * @param {*} [options] Override http request option.
1954
1954
  * @throws {RequiredError}
1955
1955
  */
1956
- async getBrands(company, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options) {
1957
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBrands(company, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options);
1956
+ async getBrands(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options) {
1957
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBrands(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options);
1958
1958
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1959
1959
  const localVarOperationServerBasePath = operationServerMap['BrandApi.getBrands']?.[localVarOperationServerIndex]?.url;
1960
1960
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2006,7 +2006,7 @@ export const BrandApiFactory = function (configuration, basePath, axios) {
2006
2006
  * @throws {RequiredError}
2007
2007
  */
2008
2008
  getAllBrands(requestParameters, options) {
2009
- return localVarFp.getAllBrands(requestParameters.company, options).then((request) => request(axios, basePath));
2009
+ return localVarFp.getAllBrands(requestParameters.companyId, options).then((request) => request(axios, basePath));
2010
2010
  },
2011
2011
  /**
2012
2012
  *
@@ -2024,7 +2024,7 @@ export const BrandApiFactory = function (configuration, basePath, axios) {
2024
2024
  * @throws {RequiredError}
2025
2025
  */
2026
2026
  getBrands(requestParameters, options) {
2027
- return localVarFp.getBrands(requestParameters.company, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, options).then((request) => request(axios, basePath));
2027
+ return localVarFp.getBrands(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, options).then((request) => request(axios, basePath));
2028
2028
  },
2029
2029
  /**
2030
2030
  *
@@ -2072,7 +2072,7 @@ export class BrandApi extends BaseAPI {
2072
2072
  * @memberof BrandApi
2073
2073
  */
2074
2074
  getAllBrands(requestParameters, options) {
2075
- return BrandApiFp(this.configuration).getAllBrands(requestParameters.company, options).then((request) => request(this.axios, this.basePath));
2075
+ return BrandApiFp(this.configuration).getAllBrands(requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
2076
2076
  }
2077
2077
  /**
2078
2078
  *
@@ -2092,7 +2092,7 @@ export class BrandApi extends BaseAPI {
2092
2092
  * @memberof BrandApi
2093
2093
  */
2094
2094
  getBrands(requestParameters, options) {
2095
- return BrandApiFp(this.configuration).getBrands(requestParameters.company, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
2095
+ return BrandApiFp(this.configuration).getBrands(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
2096
2096
  }
2097
2097
  /**
2098
2098
  *
@@ -2170,13 +2170,13 @@ export const CategoryApiAxiosParamCreator = function (configuration) {
2170
2170
  },
2171
2171
  /**
2172
2172
  *
2173
- * @param {string} company
2173
+ * @param {string} companyId
2174
2174
  * @param {*} [options] Override http request option.
2175
2175
  * @throws {RequiredError}
2176
2176
  */
2177
- getAllCategories: async (company, options = {}) => {
2178
- // verify required parameter 'company' is not null or undefined
2179
- assertParamExists('getAllCategories', 'company', company);
2177
+ getAllCategories: async (companyId, options = {}) => {
2178
+ // verify required parameter 'companyId' is not null or undefined
2179
+ assertParamExists('getAllCategories', 'companyId', companyId);
2180
2180
  const localVarPath = `/api/categories/get/all`;
2181
2181
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2182
2182
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2187,8 +2187,8 @@ export const CategoryApiAxiosParamCreator = function (configuration) {
2187
2187
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2188
2188
  const localVarHeaderParameter = {};
2189
2189
  const localVarQueryParameter = {};
2190
- if (company !== undefined) {
2191
- localVarQueryParameter['company'] = company;
2190
+ if (companyId !== undefined) {
2191
+ localVarQueryParameter['company_id'] = companyId;
2192
2192
  }
2193
2193
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2194
2194
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -2200,7 +2200,7 @@ export const CategoryApiAxiosParamCreator = function (configuration) {
2200
2200
  },
2201
2201
  /**
2202
2202
  *
2203
- * @param {string} company
2203
+ * @param {string} companyId
2204
2204
  * @param {number} [page]
2205
2205
  * @param {number} [itemsPerPage]
2206
2206
  * @param {string} [search]
@@ -2213,9 +2213,9 @@ export const CategoryApiAxiosParamCreator = function (configuration) {
2213
2213
  * @param {*} [options] Override http request option.
2214
2214
  * @throws {RequiredError}
2215
2215
  */
2216
- getCategories: async (company, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options = {}) => {
2217
- // verify required parameter 'company' is not null or undefined
2218
- assertParamExists('getCategories', 'company', company);
2216
+ getCategories: async (companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options = {}) => {
2217
+ // verify required parameter 'companyId' is not null or undefined
2218
+ assertParamExists('getCategories', 'companyId', companyId);
2219
2219
  const localVarPath = `/api/categories`;
2220
2220
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2221
2221
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2254,8 +2254,8 @@ export const CategoryApiAxiosParamCreator = function (configuration) {
2254
2254
  if (sort !== undefined) {
2255
2255
  localVarQueryParameter['sort'] = sort;
2256
2256
  }
2257
- if (company !== undefined) {
2258
- localVarQueryParameter['company'] = company;
2257
+ if (companyId !== undefined) {
2258
+ localVarQueryParameter['company_id'] = companyId;
2259
2259
  }
2260
2260
  if (status !== undefined) {
2261
2261
  localVarQueryParameter['status'] = status;
@@ -2270,13 +2270,13 @@ export const CategoryApiAxiosParamCreator = function (configuration) {
2270
2270
  },
2271
2271
  /**
2272
2272
  *
2273
- * @param {string} company
2273
+ * @param {string} companyId
2274
2274
  * @param {*} [options] Override http request option.
2275
2275
  * @throws {RequiredError}
2276
2276
  */
2277
- getCategoryAttributes: async (company, options = {}) => {
2278
- // verify required parameter 'company' is not null or undefined
2279
- assertParamExists('getCategoryAttributes', 'company', company);
2277
+ getCategoryAttributes: async (companyId, options = {}) => {
2278
+ // verify required parameter 'companyId' is not null or undefined
2279
+ assertParamExists('getCategoryAttributes', 'companyId', companyId);
2280
2280
  const localVarPath = `/api/categories/get/attributes`;
2281
2281
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2282
2282
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2287,8 +2287,8 @@ export const CategoryApiAxiosParamCreator = function (configuration) {
2287
2287
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2288
2288
  const localVarHeaderParameter = {};
2289
2289
  const localVarQueryParameter = {};
2290
- if (company !== undefined) {
2291
- localVarQueryParameter['company'] = company;
2290
+ if (companyId !== undefined) {
2291
+ localVarQueryParameter['company_id'] = companyId;
2292
2292
  }
2293
2293
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2294
2294
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -2394,19 +2394,19 @@ export const CategoryApiFp = function (configuration) {
2394
2394
  },
2395
2395
  /**
2396
2396
  *
2397
- * @param {string} company
2397
+ * @param {string} companyId
2398
2398
  * @param {*} [options] Override http request option.
2399
2399
  * @throws {RequiredError}
2400
2400
  */
2401
- async getAllCategories(company, options) {
2402
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAllCategories(company, options);
2401
+ async getAllCategories(companyId, options) {
2402
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllCategories(companyId, options);
2403
2403
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2404
2404
  const localVarOperationServerBasePath = operationServerMap['CategoryApi.getAllCategories']?.[localVarOperationServerIndex]?.url;
2405
2405
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2406
2406
  },
2407
2407
  /**
2408
2408
  *
2409
- * @param {string} company
2409
+ * @param {string} companyId
2410
2410
  * @param {number} [page]
2411
2411
  * @param {number} [itemsPerPage]
2412
2412
  * @param {string} [search]
@@ -2419,20 +2419,20 @@ export const CategoryApiFp = function (configuration) {
2419
2419
  * @param {*} [options] Override http request option.
2420
2420
  * @throws {RequiredError}
2421
2421
  */
2422
- async getCategories(company, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options) {
2423
- const localVarAxiosArgs = await localVarAxiosParamCreator.getCategories(company, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options);
2422
+ async getCategories(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options) {
2423
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCategories(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options);
2424
2424
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2425
2425
  const localVarOperationServerBasePath = operationServerMap['CategoryApi.getCategories']?.[localVarOperationServerIndex]?.url;
2426
2426
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2427
2427
  },
2428
2428
  /**
2429
2429
  *
2430
- * @param {string} company
2430
+ * @param {string} companyId
2431
2431
  * @param {*} [options] Override http request option.
2432
2432
  * @throws {RequiredError}
2433
2433
  */
2434
- async getCategoryAttributes(company, options) {
2435
- const localVarAxiosArgs = await localVarAxiosParamCreator.getCategoryAttributes(company, options);
2434
+ async getCategoryAttributes(companyId, options) {
2435
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCategoryAttributes(companyId, options);
2436
2436
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2437
2437
  const localVarOperationServerBasePath = operationServerMap['CategoryApi.getCategoryAttributes']?.[localVarOperationServerIndex]?.url;
2438
2438
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2496,7 +2496,7 @@ export const CategoryApiFactory = function (configuration, basePath, axios) {
2496
2496
  * @throws {RequiredError}
2497
2497
  */
2498
2498
  getAllCategories(requestParameters, options) {
2499
- return localVarFp.getAllCategories(requestParameters.company, options).then((request) => request(axios, basePath));
2499
+ return localVarFp.getAllCategories(requestParameters.companyId, options).then((request) => request(axios, basePath));
2500
2500
  },
2501
2501
  /**
2502
2502
  *
@@ -2505,7 +2505,7 @@ export const CategoryApiFactory = function (configuration, basePath, axios) {
2505
2505
  * @throws {RequiredError}
2506
2506
  */
2507
2507
  getCategories(requestParameters, options) {
2508
- return localVarFp.getCategories(requestParameters.company, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, options).then((request) => request(axios, basePath));
2508
+ return localVarFp.getCategories(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, options).then((request) => request(axios, basePath));
2509
2509
  },
2510
2510
  /**
2511
2511
  *
@@ -2514,7 +2514,7 @@ export const CategoryApiFactory = function (configuration, basePath, axios) {
2514
2514
  * @throws {RequiredError}
2515
2515
  */
2516
2516
  getCategoryAttributes(requestParameters, options) {
2517
- return localVarFp.getCategoryAttributes(requestParameters.company, options).then((request) => request(axios, basePath));
2517
+ return localVarFp.getCategoryAttributes(requestParameters.companyId, options).then((request) => request(axios, basePath));
2518
2518
  },
2519
2519
  /**
2520
2520
  *
@@ -2571,7 +2571,7 @@ export class CategoryApi extends BaseAPI {
2571
2571
  * @memberof CategoryApi
2572
2572
  */
2573
2573
  getAllCategories(requestParameters, options) {
2574
- return CategoryApiFp(this.configuration).getAllCategories(requestParameters.company, options).then((request) => request(this.axios, this.basePath));
2574
+ return CategoryApiFp(this.configuration).getAllCategories(requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
2575
2575
  }
2576
2576
  /**
2577
2577
  *
@@ -2581,7 +2581,7 @@ export class CategoryApi extends BaseAPI {
2581
2581
  * @memberof CategoryApi
2582
2582
  */
2583
2583
  getCategories(requestParameters, options) {
2584
- return CategoryApiFp(this.configuration).getCategories(requestParameters.company, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
2584
+ return CategoryApiFp(this.configuration).getCategories(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
2585
2585
  }
2586
2586
  /**
2587
2587
  *
@@ -2591,7 +2591,7 @@ export class CategoryApi extends BaseAPI {
2591
2591
  * @memberof CategoryApi
2592
2592
  */
2593
2593
  getCategoryAttributes(requestParameters, options) {
2594
- return CategoryApiFp(this.configuration).getCategoryAttributes(requestParameters.company, options).then((request) => request(this.axios, this.basePath));
2594
+ return CategoryApiFp(this.configuration).getCategoryAttributes(requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
2595
2595
  }
2596
2596
  /**
2597
2597
  *
@@ -4649,7 +4649,7 @@ export const FileApiAxiosParamCreator = function (configuration) {
4649
4649
  },
4650
4650
  /**
4651
4651
  *
4652
- * @param {string} company
4652
+ * @param {string} companyId
4653
4653
  * @param {number} [page]
4654
4654
  * @param {number} [itemsPerPage]
4655
4655
  * @param {string} [search]
@@ -4664,9 +4664,9 @@ export const FileApiAxiosParamCreator = function (configuration) {
4664
4664
  * @param {*} [options] Override http request option.
4665
4665
  * @throws {RequiredError}
4666
4666
  */
4667
- getFiles: async (company, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, keywords, type, status, options = {}) => {
4668
- // verify required parameter 'company' is not null or undefined
4669
- assertParamExists('getFiles', 'company', company);
4667
+ getFiles: async (companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, keywords, type, status, options = {}) => {
4668
+ // verify required parameter 'companyId' is not null or undefined
4669
+ assertParamExists('getFiles', 'companyId', companyId);
4670
4670
  const localVarPath = `/api/files`;
4671
4671
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4672
4672
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4705,8 +4705,8 @@ export const FileApiAxiosParamCreator = function (configuration) {
4705
4705
  if (sort !== undefined) {
4706
4706
  localVarQueryParameter['sort'] = sort;
4707
4707
  }
4708
- if (company !== undefined) {
4709
- localVarQueryParameter['company'] = company;
4708
+ if (companyId !== undefined) {
4709
+ localVarQueryParameter['company_id'] = companyId;
4710
4710
  }
4711
4711
  if (keywords) {
4712
4712
  localVarQueryParameter['keywords'] = keywords;
@@ -4838,7 +4838,7 @@ export const FileApiFp = function (configuration) {
4838
4838
  },
4839
4839
  /**
4840
4840
  *
4841
- * @param {string} company
4841
+ * @param {string} companyId
4842
4842
  * @param {number} [page]
4843
4843
  * @param {number} [itemsPerPage]
4844
4844
  * @param {string} [search]
@@ -4853,8 +4853,8 @@ export const FileApiFp = function (configuration) {
4853
4853
  * @param {*} [options] Override http request option.
4854
4854
  * @throws {RequiredError}
4855
4855
  */
4856
- async getFiles(company, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, keywords, type, status, options) {
4857
- const localVarAxiosArgs = await localVarAxiosParamCreator.getFiles(company, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, keywords, type, status, options);
4856
+ async getFiles(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, keywords, type, status, options) {
4857
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFiles(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, keywords, type, status, options);
4858
4858
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4859
4859
  const localVarOperationServerBasePath = operationServerMap['FileApi.getFiles']?.[localVarOperationServerIndex]?.url;
4860
4860
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4920,7 +4920,7 @@ export const FileApiFactory = function (configuration, basePath, axios) {
4920
4920
  * @throws {RequiredError}
4921
4921
  */
4922
4922
  getFiles(requestParameters, options) {
4923
- return localVarFp.getFiles(requestParameters.company, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.keywords, requestParameters.type, requestParameters.status, options).then((request) => request(axios, basePath));
4923
+ return localVarFp.getFiles(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.keywords, requestParameters.type, requestParameters.status, options).then((request) => request(axios, basePath));
4924
4924
  },
4925
4925
  /**
4926
4926
  *
@@ -4977,7 +4977,7 @@ export class FileApi extends BaseAPI {
4977
4977
  * @memberof FileApi
4978
4978
  */
4979
4979
  getFiles(requestParameters, options) {
4980
- return FileApiFp(this.configuration).getFiles(requestParameters.company, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.keywords, requestParameters.type, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
4980
+ return FileApiFp(this.configuration).getFiles(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.keywords, requestParameters.type, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
4981
4981
  }
4982
4982
  /**
4983
4983
  *
@@ -5073,12 +5073,12 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
5073
5073
  * @param {OrderEnum} [order]
5074
5074
  * @param {string} [sort]
5075
5075
  * @param {string} [user]
5076
- * @param {string} [company]
5076
+ * @param {string} [companyId]
5077
5077
  * @param {NotificationStatusEnum} [status]
5078
5078
  * @param {*} [options] Override http request option.
5079
5079
  * @throws {RequiredError}
5080
5080
  */
5081
- getNotifications: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, user, company, status, options = {}) => {
5081
+ getNotifications: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, user, companyId, status, options = {}) => {
5082
5082
  const localVarPath = `/api/notifications`;
5083
5083
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5084
5084
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5120,8 +5120,8 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
5120
5120
  if (user !== undefined) {
5121
5121
  localVarQueryParameter['user'] = user;
5122
5122
  }
5123
- if (company !== undefined) {
5124
- localVarQueryParameter['company'] = company;
5123
+ if (companyId !== undefined) {
5124
+ localVarQueryParameter['company_id'] = companyId;
5125
5125
  }
5126
5126
  if (status !== undefined) {
5127
5127
  localVarQueryParameter['status'] = status;
@@ -5230,13 +5230,13 @@ export const NotificationApiFp = function (configuration) {
5230
5230
  * @param {OrderEnum} [order]
5231
5231
  * @param {string} [sort]
5232
5232
  * @param {string} [user]
5233
- * @param {string} [company]
5233
+ * @param {string} [companyId]
5234
5234
  * @param {NotificationStatusEnum} [status]
5235
5235
  * @param {*} [options] Override http request option.
5236
5236
  * @throws {RequiredError}
5237
5237
  */
5238
- async getNotifications(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, user, company, status, options) {
5239
- const localVarAxiosArgs = await localVarAxiosParamCreator.getNotifications(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, user, company, status, options);
5238
+ async getNotifications(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, user, companyId, status, options) {
5239
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getNotifications(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, user, companyId, status, options);
5240
5240
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5241
5241
  const localVarOperationServerBasePath = operationServerMap['NotificationApi.getNotifications']?.[localVarOperationServerIndex]?.url;
5242
5242
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -5298,7 +5298,7 @@ export const NotificationApiFactory = function (configuration, basePath, axios)
5298
5298
  * @throws {RequiredError}
5299
5299
  */
5300
5300
  getNotifications(requestParameters = {}, options) {
5301
- return localVarFp.getNotifications(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.user, requestParameters.company, requestParameters.status, options).then((request) => request(axios, basePath));
5301
+ return localVarFp.getNotifications(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.user, requestParameters.companyId, requestParameters.status, options).then((request) => request(axios, basePath));
5302
5302
  },
5303
5303
  /**
5304
5304
  *
@@ -5354,7 +5354,7 @@ export class NotificationApi extends BaseAPI {
5354
5354
  * @memberof NotificationApi
5355
5355
  */
5356
5356
  getNotifications(requestParameters = {}, options) {
5357
- return NotificationApiFp(this.configuration).getNotifications(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.user, requestParameters.company, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
5357
+ return NotificationApiFp(this.configuration).getNotifications(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.user, requestParameters.companyId, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
5358
5358
  }
5359
5359
  /**
5360
5360
  *
@@ -5890,13 +5890,13 @@ export const PageApiAxiosParamCreator = function (configuration) {
5890
5890
  },
5891
5891
  /**
5892
5892
  *
5893
- * @param {string} [company]
5893
+ * @param {string} [companyId]
5894
5894
  * @param {string} [domain]
5895
5895
  * @param {Array<PageTypeEnum>} [type]
5896
5896
  * @param {*} [options] Override http request option.
5897
5897
  * @throws {RequiredError}
5898
5898
  */
5899
- getAllPages: async (company, domain, type, options = {}) => {
5899
+ getAllPages: async (companyId, domain, type, options = {}) => {
5900
5900
  const localVarPath = `/api/pages/get/all`;
5901
5901
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5902
5902
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5907,8 +5907,8 @@ export const PageApiAxiosParamCreator = function (configuration) {
5907
5907
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
5908
5908
  const localVarHeaderParameter = {};
5909
5909
  const localVarQueryParameter = {};
5910
- if (company !== undefined) {
5911
- localVarQueryParameter['company'] = company;
5910
+ if (companyId !== undefined) {
5911
+ localVarQueryParameter['company_id'] = companyId;
5912
5912
  }
5913
5913
  if (domain !== undefined) {
5914
5914
  localVarQueryParameter['domain'] = domain;
@@ -5955,12 +5955,12 @@ export const PageApiAxiosParamCreator = function (configuration) {
5955
5955
  /**
5956
5956
  *
5957
5957
  * @param {string} slug
5958
- * @param {string} [company]
5958
+ * @param {string} [companyId]
5959
5959
  * @param {string} [domain]
5960
5960
  * @param {*} [options] Override http request option.
5961
5961
  * @throws {RequiredError}
5962
5962
  */
5963
- getPageBySlug: async (slug, company, domain, options = {}) => {
5963
+ getPageBySlug: async (slug, companyId, domain, options = {}) => {
5964
5964
  // verify required parameter 'slug' is not null or undefined
5965
5965
  assertParamExists('getPageBySlug', 'slug', slug);
5966
5966
  const localVarPath = `/api/pages/slug/{slug}`
@@ -5974,8 +5974,8 @@ export const PageApiAxiosParamCreator = function (configuration) {
5974
5974
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
5975
5975
  const localVarHeaderParameter = {};
5976
5976
  const localVarQueryParameter = {};
5977
- if (company !== undefined) {
5978
- localVarQueryParameter['company'] = company;
5977
+ if (companyId !== undefined) {
5978
+ localVarQueryParameter['company_id'] = companyId;
5979
5979
  }
5980
5980
  if (domain !== undefined) {
5981
5981
  localVarQueryParameter['domain'] = domain;
@@ -5991,12 +5991,12 @@ export const PageApiAxiosParamCreator = function (configuration) {
5991
5991
  /**
5992
5992
  *
5993
5993
  * @param {string} type
5994
- * @param {string} [company]
5994
+ * @param {string} [companyId]
5995
5995
  * @param {string} [domain]
5996
5996
  * @param {*} [options] Override http request option.
5997
5997
  * @throws {RequiredError}
5998
5998
  */
5999
- getPageByType: async (type, company, domain, options = {}) => {
5999
+ getPageByType: async (type, companyId, domain, options = {}) => {
6000
6000
  // verify required parameter 'type' is not null or undefined
6001
6001
  assertParamExists('getPageByType', 'type', type);
6002
6002
  const localVarPath = `/api/pages/type/{type}`
@@ -6010,8 +6010,8 @@ export const PageApiAxiosParamCreator = function (configuration) {
6010
6010
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
6011
6011
  const localVarHeaderParameter = {};
6012
6012
  const localVarQueryParameter = {};
6013
- if (company !== undefined) {
6014
- localVarQueryParameter['company'] = company;
6013
+ if (companyId !== undefined) {
6014
+ localVarQueryParameter['company_id'] = companyId;
6015
6015
  }
6016
6016
  if (domain !== undefined) {
6017
6017
  localVarQueryParameter['domain'] = domain;
@@ -6026,7 +6026,6 @@ export const PageApiAxiosParamCreator = function (configuration) {
6026
6026
  },
6027
6027
  /**
6028
6028
  *
6029
- * @param {string} company
6030
6029
  * @param {number} [page]
6031
6030
  * @param {number} [itemsPerPage]
6032
6031
  * @param {string} [search]
@@ -6035,15 +6034,14 @@ export const PageApiAxiosParamCreator = function (configuration) {
6035
6034
  * @param {string} [dateField]
6036
6035
  * @param {OrderEnum} [order]
6037
6036
  * @param {string} [sort]
6037
+ * @param {string} [companyId]
6038
6038
  * @param {string} [domain]
6039
6039
  * @param {PageTypeEnum} [type]
6040
6040
  * @param {ContentStatusEnum} [status]
6041
6041
  * @param {*} [options] Override http request option.
6042
6042
  * @throws {RequiredError}
6043
6043
  */
6044
- getPages: async (company, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, domain, type, status, options = {}) => {
6045
- // verify required parameter 'company' is not null or undefined
6046
- assertParamExists('getPages', 'company', company);
6044
+ getPages: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, type, status, options = {}) => {
6047
6045
  const localVarPath = `/api/pages`;
6048
6046
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6049
6047
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6082,8 +6080,8 @@ export const PageApiAxiosParamCreator = function (configuration) {
6082
6080
  if (sort !== undefined) {
6083
6081
  localVarQueryParameter['sort'] = sort;
6084
6082
  }
6085
- if (company !== undefined) {
6086
- localVarQueryParameter['company'] = company;
6083
+ if (companyId !== undefined) {
6084
+ localVarQueryParameter['company_id'] = companyId;
6087
6085
  }
6088
6086
  if (domain !== undefined) {
6089
6087
  localVarQueryParameter['domain'] = domain;
@@ -6104,13 +6102,13 @@ export const PageApiAxiosParamCreator = function (configuration) {
6104
6102
  },
6105
6103
  /**
6106
6104
  *
6107
- * @param {string} company
6105
+ * @param {string} companyId
6108
6106
  * @param {*} [options] Override http request option.
6109
6107
  * @throws {RequiredError}
6110
6108
  */
6111
- getUniquePages: async (company, options = {}) => {
6112
- // verify required parameter 'company' is not null or undefined
6113
- assertParamExists('getUniquePages', 'company', company);
6109
+ getUniquePages: async (companyId, options = {}) => {
6110
+ // verify required parameter 'companyId' is not null or undefined
6111
+ assertParamExists('getUniquePages', 'companyId', companyId);
6114
6112
  const localVarPath = `/api/pages/get/uniques`;
6115
6113
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6116
6114
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6121,8 +6119,8 @@ export const PageApiAxiosParamCreator = function (configuration) {
6121
6119
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
6122
6120
  const localVarHeaderParameter = {};
6123
6121
  const localVarQueryParameter = {};
6124
- if (company !== undefined) {
6125
- localVarQueryParameter['company'] = company;
6122
+ if (companyId !== undefined) {
6123
+ localVarQueryParameter['company_id'] = companyId;
6126
6124
  }
6127
6125
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6128
6126
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -6200,14 +6198,14 @@ export const PageApiFp = function (configuration) {
6200
6198
  },
6201
6199
  /**
6202
6200
  *
6203
- * @param {string} [company]
6201
+ * @param {string} [companyId]
6204
6202
  * @param {string} [domain]
6205
6203
  * @param {Array<PageTypeEnum>} [type]
6206
6204
  * @param {*} [options] Override http request option.
6207
6205
  * @throws {RequiredError}
6208
6206
  */
6209
- async getAllPages(company, domain, type, options) {
6210
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAllPages(company, domain, type, options);
6207
+ async getAllPages(companyId, domain, type, options) {
6208
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllPages(companyId, domain, type, options);
6211
6209
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6212
6210
  const localVarOperationServerBasePath = operationServerMap['PageApi.getAllPages']?.[localVarOperationServerIndex]?.url;
6213
6211
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -6227,13 +6225,13 @@ export const PageApiFp = function (configuration) {
6227
6225
  /**
6228
6226
  *
6229
6227
  * @param {string} slug
6230
- * @param {string} [company]
6228
+ * @param {string} [companyId]
6231
6229
  * @param {string} [domain]
6232
6230
  * @param {*} [options] Override http request option.
6233
6231
  * @throws {RequiredError}
6234
6232
  */
6235
- async getPageBySlug(slug, company, domain, options) {
6236
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPageBySlug(slug, company, domain, options);
6233
+ async getPageBySlug(slug, companyId, domain, options) {
6234
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPageBySlug(slug, companyId, domain, options);
6237
6235
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6238
6236
  const localVarOperationServerBasePath = operationServerMap['PageApi.getPageBySlug']?.[localVarOperationServerIndex]?.url;
6239
6237
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -6241,20 +6239,19 @@ export const PageApiFp = function (configuration) {
6241
6239
  /**
6242
6240
  *
6243
6241
  * @param {string} type
6244
- * @param {string} [company]
6242
+ * @param {string} [companyId]
6245
6243
  * @param {string} [domain]
6246
6244
  * @param {*} [options] Override http request option.
6247
6245
  * @throws {RequiredError}
6248
6246
  */
6249
- async getPageByType(type, company, domain, options) {
6250
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPageByType(type, company, domain, options);
6247
+ async getPageByType(type, companyId, domain, options) {
6248
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPageByType(type, companyId, domain, options);
6251
6249
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6252
6250
  const localVarOperationServerBasePath = operationServerMap['PageApi.getPageByType']?.[localVarOperationServerIndex]?.url;
6253
6251
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6254
6252
  },
6255
6253
  /**
6256
6254
  *
6257
- * @param {string} company
6258
6255
  * @param {number} [page]
6259
6256
  * @param {number} [itemsPerPage]
6260
6257
  * @param {string} [search]
@@ -6263,26 +6260,27 @@ export const PageApiFp = function (configuration) {
6263
6260
  * @param {string} [dateField]
6264
6261
  * @param {OrderEnum} [order]
6265
6262
  * @param {string} [sort]
6263
+ * @param {string} [companyId]
6266
6264
  * @param {string} [domain]
6267
6265
  * @param {PageTypeEnum} [type]
6268
6266
  * @param {ContentStatusEnum} [status]
6269
6267
  * @param {*} [options] Override http request option.
6270
6268
  * @throws {RequiredError}
6271
6269
  */
6272
- async getPages(company, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, domain, type, status, options) {
6273
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPages(company, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, domain, type, status, options);
6270
+ async getPages(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, type, status, options) {
6271
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPages(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, type, status, options);
6274
6272
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6275
6273
  const localVarOperationServerBasePath = operationServerMap['PageApi.getPages']?.[localVarOperationServerIndex]?.url;
6276
6274
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6277
6275
  },
6278
6276
  /**
6279
6277
  *
6280
- * @param {string} company
6278
+ * @param {string} companyId
6281
6279
  * @param {*} [options] Override http request option.
6282
6280
  * @throws {RequiredError}
6283
6281
  */
6284
- async getUniquePages(company, options) {
6285
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePages(company, options);
6282
+ async getUniquePages(companyId, options) {
6283
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePages(companyId, options);
6286
6284
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6287
6285
  const localVarOperationServerBasePath = operationServerMap['PageApi.getUniquePages']?.[localVarOperationServerIndex]?.url;
6288
6286
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -6334,7 +6332,7 @@ export const PageApiFactory = function (configuration, basePath, axios) {
6334
6332
  * @throws {RequiredError}
6335
6333
  */
6336
6334
  getAllPages(requestParameters = {}, options) {
6337
- return localVarFp.getAllPages(requestParameters.company, requestParameters.domain, requestParameters.type, options).then((request) => request(axios, basePath));
6335
+ return localVarFp.getAllPages(requestParameters.companyId, requestParameters.domain, requestParameters.type, options).then((request) => request(axios, basePath));
6338
6336
  },
6339
6337
  /**
6340
6338
  *
@@ -6352,7 +6350,7 @@ export const PageApiFactory = function (configuration, basePath, axios) {
6352
6350
  * @throws {RequiredError}
6353
6351
  */
6354
6352
  getPageBySlug(requestParameters, options) {
6355
- return localVarFp.getPageBySlug(requestParameters.slug, requestParameters.company, requestParameters.domain, options).then((request) => request(axios, basePath));
6353
+ return localVarFp.getPageBySlug(requestParameters.slug, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
6356
6354
  },
6357
6355
  /**
6358
6356
  *
@@ -6361,7 +6359,7 @@ export const PageApiFactory = function (configuration, basePath, axios) {
6361
6359
  * @throws {RequiredError}
6362
6360
  */
6363
6361
  getPageByType(requestParameters, options) {
6364
- return localVarFp.getPageByType(requestParameters.type, requestParameters.company, requestParameters.domain, options).then((request) => request(axios, basePath));
6362
+ return localVarFp.getPageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
6365
6363
  },
6366
6364
  /**
6367
6365
  *
@@ -6369,8 +6367,8 @@ export const PageApiFactory = function (configuration, basePath, axios) {
6369
6367
  * @param {*} [options] Override http request option.
6370
6368
  * @throws {RequiredError}
6371
6369
  */
6372
- getPages(requestParameters, options) {
6373
- return localVarFp.getPages(requestParameters.company, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.domain, requestParameters.type, requestParameters.status, options).then((request) => request(axios, basePath));
6370
+ getPages(requestParameters = {}, options) {
6371
+ return localVarFp.getPages(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.companyId, requestParameters.domain, requestParameters.type, requestParameters.status, options).then((request) => request(axios, basePath));
6374
6372
  },
6375
6373
  /**
6376
6374
  *
@@ -6379,7 +6377,7 @@ export const PageApiFactory = function (configuration, basePath, axios) {
6379
6377
  * @throws {RequiredError}
6380
6378
  */
6381
6379
  getUniquePages(requestParameters, options) {
6382
- return localVarFp.getUniquePages(requestParameters.company, options).then((request) => request(axios, basePath));
6380
+ return localVarFp.getUniquePages(requestParameters.companyId, options).then((request) => request(axios, basePath));
6383
6381
  },
6384
6382
  /**
6385
6383
  *
@@ -6427,7 +6425,7 @@ export class PageApi extends BaseAPI {
6427
6425
  * @memberof PageApi
6428
6426
  */
6429
6427
  getAllPages(requestParameters = {}, options) {
6430
- return PageApiFp(this.configuration).getAllPages(requestParameters.company, requestParameters.domain, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
6428
+ return PageApiFp(this.configuration).getAllPages(requestParameters.companyId, requestParameters.domain, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
6431
6429
  }
6432
6430
  /**
6433
6431
  *
@@ -6447,7 +6445,7 @@ export class PageApi extends BaseAPI {
6447
6445
  * @memberof PageApi
6448
6446
  */
6449
6447
  getPageBySlug(requestParameters, options) {
6450
- return PageApiFp(this.configuration).getPageBySlug(requestParameters.slug, requestParameters.company, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
6448
+ return PageApiFp(this.configuration).getPageBySlug(requestParameters.slug, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
6451
6449
  }
6452
6450
  /**
6453
6451
  *
@@ -6457,7 +6455,7 @@ export class PageApi extends BaseAPI {
6457
6455
  * @memberof PageApi
6458
6456
  */
6459
6457
  getPageByType(requestParameters, options) {
6460
- return PageApiFp(this.configuration).getPageByType(requestParameters.type, requestParameters.company, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
6458
+ return PageApiFp(this.configuration).getPageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
6461
6459
  }
6462
6460
  /**
6463
6461
  *
@@ -6466,8 +6464,8 @@ export class PageApi extends BaseAPI {
6466
6464
  * @throws {RequiredError}
6467
6465
  * @memberof PageApi
6468
6466
  */
6469
- getPages(requestParameters, options) {
6470
- return PageApiFp(this.configuration).getPages(requestParameters.company, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.domain, requestParameters.type, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
6467
+ getPages(requestParameters = {}, options) {
6468
+ return PageApiFp(this.configuration).getPages(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.companyId, requestParameters.domain, requestParameters.type, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
6471
6469
  }
6472
6470
  /**
6473
6471
  *
@@ -6477,7 +6475,7 @@ export class PageApi extends BaseAPI {
6477
6475
  * @memberof PageApi
6478
6476
  */
6479
6477
  getUniquePages(requestParameters, options) {
6480
- return PageApiFp(this.configuration).getUniquePages(requestParameters.company, options).then((request) => request(this.axios, this.basePath));
6478
+ return PageApiFp(this.configuration).getUniquePages(requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
6481
6479
  }
6482
6480
  /**
6483
6481
  *
@@ -6940,15 +6938,15 @@ export const ProductApiAxiosParamCreator = function (configuration) {
6940
6938
  },
6941
6939
  /**
6942
6940
  *
6943
- * @param {string} company
6941
+ * @param {string} companyId
6944
6942
  * @param {string} [search]
6945
6943
  * @param {string} [template]
6946
6944
  * @param {*} [options] Override http request option.
6947
6945
  * @throws {RequiredError}
6948
6946
  */
6949
- getAllProducts: async (company, search, template, options = {}) => {
6950
- // verify required parameter 'company' is not null or undefined
6951
- assertParamExists('getAllProducts', 'company', company);
6947
+ getAllProducts: async (companyId, search, template, options = {}) => {
6948
+ // verify required parameter 'companyId' is not null or undefined
6949
+ assertParamExists('getAllProducts', 'companyId', companyId);
6952
6950
  const localVarPath = `/api/products/get/all`;
6953
6951
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6954
6952
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6959,8 +6957,8 @@ export const ProductApiAxiosParamCreator = function (configuration) {
6959
6957
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
6960
6958
  const localVarHeaderParameter = {};
6961
6959
  const localVarQueryParameter = {};
6962
- if (company !== undefined) {
6963
- localVarQueryParameter['company'] = company;
6960
+ if (companyId !== undefined) {
6961
+ localVarQueryParameter['company_id'] = companyId;
6964
6962
  }
6965
6963
  if (search !== undefined) {
6966
6964
  localVarQueryParameter['search'] = search;
@@ -6978,13 +6976,13 @@ export const ProductApiAxiosParamCreator = function (configuration) {
6978
6976
  },
6979
6977
  /**
6980
6978
  *
6981
- * @param {string} company
6979
+ * @param {string} companyId
6982
6980
  * @param {*} [options] Override http request option.
6983
6981
  * @throws {RequiredError}
6984
6982
  */
6985
- getFirstProduct: async (company, options = {}) => {
6986
- // verify required parameter 'company' is not null or undefined
6987
- assertParamExists('getFirstProduct', 'company', company);
6983
+ getFirstProduct: async (companyId, options = {}) => {
6984
+ // verify required parameter 'companyId' is not null or undefined
6985
+ assertParamExists('getFirstProduct', 'companyId', companyId);
6988
6986
  const localVarPath = `/api/products/get/first`;
6989
6987
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6990
6988
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6995,8 +6993,8 @@ export const ProductApiAxiosParamCreator = function (configuration) {
6995
6993
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
6996
6994
  const localVarHeaderParameter = {};
6997
6995
  const localVarQueryParameter = {};
6998
- if (company !== undefined) {
6999
- localVarQueryParameter['company'] = company;
6996
+ if (companyId !== undefined) {
6997
+ localVarQueryParameter['company_id'] = companyId;
7000
6998
  }
7001
6999
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7002
7000
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -7037,15 +7035,14 @@ export const ProductApiAxiosParamCreator = function (configuration) {
7037
7035
  /**
7038
7036
  *
7039
7037
  * @param {string} slug
7040
- * @param {string} domain
7038
+ * @param {string} [companyId]
7039
+ * @param {string} [domain]
7041
7040
  * @param {*} [options] Override http request option.
7042
7041
  * @throws {RequiredError}
7043
7042
  */
7044
- getProductBySlug: async (slug, domain, options = {}) => {
7043
+ getProductBySlug: async (slug, companyId, domain, options = {}) => {
7045
7044
  // verify required parameter 'slug' is not null or undefined
7046
7045
  assertParamExists('getProductBySlug', 'slug', slug);
7047
- // verify required parameter 'domain' is not null or undefined
7048
- assertParamExists('getProductBySlug', 'domain', domain);
7049
7046
  const localVarPath = `/api/products/slug/{slug}`
7050
7047
  .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
7051
7048
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -7057,6 +7054,9 @@ export const ProductApiAxiosParamCreator = function (configuration) {
7057
7054
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
7058
7055
  const localVarHeaderParameter = {};
7059
7056
  const localVarQueryParameter = {};
7057
+ if (companyId !== undefined) {
7058
+ localVarQueryParameter['company_id'] = companyId;
7059
+ }
7060
7060
  if (domain !== undefined) {
7061
7061
  localVarQueryParameter['domain'] = domain;
7062
7062
  }
@@ -7070,7 +7070,6 @@ export const ProductApiAxiosParamCreator = function (configuration) {
7070
7070
  },
7071
7071
  /**
7072
7072
  *
7073
- * @param {string} company
7074
7073
  * @param {number} [page]
7075
7074
  * @param {number} [itemsPerPage]
7076
7075
  * @param {string} [search]
@@ -7079,6 +7078,8 @@ export const ProductApiAxiosParamCreator = function (configuration) {
7079
7078
  * @param {string} [dateField]
7080
7079
  * @param {OrderEnum} [order]
7081
7080
  * @param {string} [sort]
7081
+ * @param {string} [companyId]
7082
+ * @param {string} [domain]
7082
7083
  * @param {string} [collections]
7083
7084
  * @param {string} [category]
7084
7085
  * @param {string} [brand]
@@ -7086,9 +7087,7 @@ export const ProductApiAxiosParamCreator = function (configuration) {
7086
7087
  * @param {*} [options] Override http request option.
7087
7088
  * @throws {RequiredError}
7088
7089
  */
7089
- getProducts: async (company, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, collections, category, brand, status, options = {}) => {
7090
- // verify required parameter 'company' is not null or undefined
7091
- assertParamExists('getProducts', 'company', company);
7090
+ getProducts: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, collections, category, brand, status, options = {}) => {
7092
7091
  const localVarPath = `/api/products`;
7093
7092
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7094
7093
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -7127,8 +7126,11 @@ export const ProductApiAxiosParamCreator = function (configuration) {
7127
7126
  if (sort !== undefined) {
7128
7127
  localVarQueryParameter['sort'] = sort;
7129
7128
  }
7130
- if (company !== undefined) {
7131
- localVarQueryParameter['company'] = company;
7129
+ if (companyId !== undefined) {
7130
+ localVarQueryParameter['company_id'] = companyId;
7131
+ }
7132
+ if (domain !== undefined) {
7133
+ localVarQueryParameter['domain'] = domain;
7132
7134
  }
7133
7135
  if (collections !== undefined) {
7134
7136
  localVarQueryParameter['collections'] = collections;
@@ -7152,14 +7154,13 @@ export const ProductApiAxiosParamCreator = function (configuration) {
7152
7154
  },
7153
7155
  /**
7154
7156
  *
7155
- * @param {string} company
7156
7157
  * @param {string} search
7158
+ * @param {string} [companyId]
7159
+ * @param {string} [domain]
7157
7160
  * @param {*} [options] Override http request option.
7158
7161
  * @throws {RequiredError}
7159
7162
  */
7160
- searchProducts: async (company, search, options = {}) => {
7161
- // verify required parameter 'company' is not null or undefined
7162
- assertParamExists('searchProducts', 'company', company);
7163
+ searchProducts: async (search, companyId, domain, options = {}) => {
7163
7164
  // verify required parameter 'search' is not null or undefined
7164
7165
  assertParamExists('searchProducts', 'search', search);
7165
7166
  const localVarPath = `/api/products/search`;
@@ -7172,12 +7173,15 @@ export const ProductApiAxiosParamCreator = function (configuration) {
7172
7173
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
7173
7174
  const localVarHeaderParameter = {};
7174
7175
  const localVarQueryParameter = {};
7175
- if (company !== undefined) {
7176
- localVarQueryParameter['company'] = company;
7177
- }
7178
7176
  if (search !== undefined) {
7179
7177
  localVarQueryParameter['search'] = search;
7180
7178
  }
7179
+ if (companyId !== undefined) {
7180
+ localVarQueryParameter['company_id'] = companyId;
7181
+ }
7182
+ if (domain !== undefined) {
7183
+ localVarQueryParameter['domain'] = domain;
7184
+ }
7181
7185
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7182
7186
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7183
7187
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -7254,26 +7258,26 @@ export const ProductApiFp = function (configuration) {
7254
7258
  },
7255
7259
  /**
7256
7260
  *
7257
- * @param {string} company
7261
+ * @param {string} companyId
7258
7262
  * @param {string} [search]
7259
7263
  * @param {string} [template]
7260
7264
  * @param {*} [options] Override http request option.
7261
7265
  * @throws {RequiredError}
7262
7266
  */
7263
- async getAllProducts(company, search, template, options) {
7264
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAllProducts(company, search, template, options);
7267
+ async getAllProducts(companyId, search, template, options) {
7268
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllProducts(companyId, search, template, options);
7265
7269
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7266
7270
  const localVarOperationServerBasePath = operationServerMap['ProductApi.getAllProducts']?.[localVarOperationServerIndex]?.url;
7267
7271
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7268
7272
  },
7269
7273
  /**
7270
7274
  *
7271
- * @param {string} company
7275
+ * @param {string} companyId
7272
7276
  * @param {*} [options] Override http request option.
7273
7277
  * @throws {RequiredError}
7274
7278
  */
7275
- async getFirstProduct(company, options) {
7276
- const localVarAxiosArgs = await localVarAxiosParamCreator.getFirstProduct(company, options);
7279
+ async getFirstProduct(companyId, options) {
7280
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFirstProduct(companyId, options);
7277
7281
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7278
7282
  const localVarOperationServerBasePath = operationServerMap['ProductApi.getFirstProduct']?.[localVarOperationServerIndex]?.url;
7279
7283
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -7293,19 +7297,19 @@ export const ProductApiFp = function (configuration) {
7293
7297
  /**
7294
7298
  *
7295
7299
  * @param {string} slug
7296
- * @param {string} domain
7300
+ * @param {string} [companyId]
7301
+ * @param {string} [domain]
7297
7302
  * @param {*} [options] Override http request option.
7298
7303
  * @throws {RequiredError}
7299
7304
  */
7300
- async getProductBySlug(slug, domain, options) {
7301
- const localVarAxiosArgs = await localVarAxiosParamCreator.getProductBySlug(slug, domain, options);
7305
+ async getProductBySlug(slug, companyId, domain, options) {
7306
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getProductBySlug(slug, companyId, domain, options);
7302
7307
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7303
7308
  const localVarOperationServerBasePath = operationServerMap['ProductApi.getProductBySlug']?.[localVarOperationServerIndex]?.url;
7304
7309
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7305
7310
  },
7306
7311
  /**
7307
7312
  *
7308
- * @param {string} company
7309
7313
  * @param {number} [page]
7310
7314
  * @param {number} [itemsPerPage]
7311
7315
  * @param {string} [search]
@@ -7314,6 +7318,8 @@ export const ProductApiFp = function (configuration) {
7314
7318
  * @param {string} [dateField]
7315
7319
  * @param {OrderEnum} [order]
7316
7320
  * @param {string} [sort]
7321
+ * @param {string} [companyId]
7322
+ * @param {string} [domain]
7317
7323
  * @param {string} [collections]
7318
7324
  * @param {string} [category]
7319
7325
  * @param {string} [brand]
@@ -7321,21 +7327,22 @@ export const ProductApiFp = function (configuration) {
7321
7327
  * @param {*} [options] Override http request option.
7322
7328
  * @throws {RequiredError}
7323
7329
  */
7324
- async getProducts(company, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, collections, category, brand, status, options) {
7325
- const localVarAxiosArgs = await localVarAxiosParamCreator.getProducts(company, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, collections, category, brand, status, options);
7330
+ async getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, collections, category, brand, status, options) {
7331
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, collections, category, brand, status, options);
7326
7332
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7327
7333
  const localVarOperationServerBasePath = operationServerMap['ProductApi.getProducts']?.[localVarOperationServerIndex]?.url;
7328
7334
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7329
7335
  },
7330
7336
  /**
7331
7337
  *
7332
- * @param {string} company
7333
7338
  * @param {string} search
7339
+ * @param {string} [companyId]
7340
+ * @param {string} [domain]
7334
7341
  * @param {*} [options] Override http request option.
7335
7342
  * @throws {RequiredError}
7336
7343
  */
7337
- async searchProducts(company, search, options) {
7338
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchProducts(company, search, options);
7344
+ async searchProducts(search, companyId, domain, options) {
7345
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchProducts(search, companyId, domain, options);
7339
7346
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7340
7347
  const localVarOperationServerBasePath = operationServerMap['ProductApi.searchProducts']?.[localVarOperationServerIndex]?.url;
7341
7348
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -7387,7 +7394,7 @@ export const ProductApiFactory = function (configuration, basePath, axios) {
7387
7394
  * @throws {RequiredError}
7388
7395
  */
7389
7396
  getAllProducts(requestParameters, options) {
7390
- return localVarFp.getAllProducts(requestParameters.company, requestParameters.search, requestParameters.template, options).then((request) => request(axios, basePath));
7397
+ return localVarFp.getAllProducts(requestParameters.companyId, requestParameters.search, requestParameters.template, options).then((request) => request(axios, basePath));
7391
7398
  },
7392
7399
  /**
7393
7400
  *
@@ -7396,7 +7403,7 @@ export const ProductApiFactory = function (configuration, basePath, axios) {
7396
7403
  * @throws {RequiredError}
7397
7404
  */
7398
7405
  getFirstProduct(requestParameters, options) {
7399
- return localVarFp.getFirstProduct(requestParameters.company, options).then((request) => request(axios, basePath));
7406
+ return localVarFp.getFirstProduct(requestParameters.companyId, options).then((request) => request(axios, basePath));
7400
7407
  },
7401
7408
  /**
7402
7409
  *
@@ -7414,7 +7421,7 @@ export const ProductApiFactory = function (configuration, basePath, axios) {
7414
7421
  * @throws {RequiredError}
7415
7422
  */
7416
7423
  getProductBySlug(requestParameters, options) {
7417
- return localVarFp.getProductBySlug(requestParameters.slug, requestParameters.domain, options).then((request) => request(axios, basePath));
7424
+ return localVarFp.getProductBySlug(requestParameters.slug, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
7418
7425
  },
7419
7426
  /**
7420
7427
  *
@@ -7422,8 +7429,8 @@ export const ProductApiFactory = function (configuration, basePath, axios) {
7422
7429
  * @param {*} [options] Override http request option.
7423
7430
  * @throws {RequiredError}
7424
7431
  */
7425
- getProducts(requestParameters, options) {
7426
- return localVarFp.getProducts(requestParameters.company, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.collections, requestParameters.category, requestParameters.brand, requestParameters.status, options).then((request) => request(axios, basePath));
7432
+ getProducts(requestParameters = {}, options) {
7433
+ return localVarFp.getProducts(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.companyId, requestParameters.domain, requestParameters.collections, requestParameters.category, requestParameters.brand, requestParameters.status, options).then((request) => request(axios, basePath));
7427
7434
  },
7428
7435
  /**
7429
7436
  *
@@ -7432,7 +7439,7 @@ export const ProductApiFactory = function (configuration, basePath, axios) {
7432
7439
  * @throws {RequiredError}
7433
7440
  */
7434
7441
  searchProducts(requestParameters, options) {
7435
- return localVarFp.searchProducts(requestParameters.company, requestParameters.search, options).then((request) => request(axios, basePath));
7442
+ return localVarFp.searchProducts(requestParameters.search, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
7436
7443
  },
7437
7444
  /**
7438
7445
  *
@@ -7480,7 +7487,7 @@ export class ProductApi extends BaseAPI {
7480
7487
  * @memberof ProductApi
7481
7488
  */
7482
7489
  getAllProducts(requestParameters, options) {
7483
- return ProductApiFp(this.configuration).getAllProducts(requestParameters.company, requestParameters.search, requestParameters.template, options).then((request) => request(this.axios, this.basePath));
7490
+ return ProductApiFp(this.configuration).getAllProducts(requestParameters.companyId, requestParameters.search, requestParameters.template, options).then((request) => request(this.axios, this.basePath));
7484
7491
  }
7485
7492
  /**
7486
7493
  *
@@ -7490,7 +7497,7 @@ export class ProductApi extends BaseAPI {
7490
7497
  * @memberof ProductApi
7491
7498
  */
7492
7499
  getFirstProduct(requestParameters, options) {
7493
- return ProductApiFp(this.configuration).getFirstProduct(requestParameters.company, options).then((request) => request(this.axios, this.basePath));
7500
+ return ProductApiFp(this.configuration).getFirstProduct(requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
7494
7501
  }
7495
7502
  /**
7496
7503
  *
@@ -7510,7 +7517,7 @@ export class ProductApi extends BaseAPI {
7510
7517
  * @memberof ProductApi
7511
7518
  */
7512
7519
  getProductBySlug(requestParameters, options) {
7513
- return ProductApiFp(this.configuration).getProductBySlug(requestParameters.slug, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
7520
+ return ProductApiFp(this.configuration).getProductBySlug(requestParameters.slug, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
7514
7521
  }
7515
7522
  /**
7516
7523
  *
@@ -7519,8 +7526,8 @@ export class ProductApi extends BaseAPI {
7519
7526
  * @throws {RequiredError}
7520
7527
  * @memberof ProductApi
7521
7528
  */
7522
- getProducts(requestParameters, options) {
7523
- return ProductApiFp(this.configuration).getProducts(requestParameters.company, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.collections, requestParameters.category, requestParameters.brand, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
7529
+ getProducts(requestParameters = {}, options) {
7530
+ return ProductApiFp(this.configuration).getProducts(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.companyId, requestParameters.domain, requestParameters.collections, requestParameters.category, requestParameters.brand, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
7524
7531
  }
7525
7532
  /**
7526
7533
  *
@@ -7530,7 +7537,7 @@ export class ProductApi extends BaseAPI {
7530
7537
  * @memberof ProductApi
7531
7538
  */
7532
7539
  searchProducts(requestParameters, options) {
7533
- return ProductApiFp(this.configuration).searchProducts(requestParameters.company, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
7540
+ return ProductApiFp(this.configuration).searchProducts(requestParameters.search, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
7534
7541
  }
7535
7542
  /**
7536
7543
  *
@@ -7608,15 +7615,15 @@ export const TemplateApiAxiosParamCreator = function (configuration) {
7608
7615
  },
7609
7616
  /**
7610
7617
  *
7611
- * @param {string} company
7618
+ * @param {string} companyId
7612
7619
  * @param {TemplateTypeEnum} [type]
7613
7620
  * @param {string} [search]
7614
7621
  * @param {*} [options] Override http request option.
7615
7622
  * @throws {RequiredError}
7616
7623
  */
7617
- getTemplates: async (company, type, search, options = {}) => {
7618
- // verify required parameter 'company' is not null or undefined
7619
- assertParamExists('getTemplates', 'company', company);
7624
+ getTemplates: async (companyId, type, search, options = {}) => {
7625
+ // verify required parameter 'companyId' is not null or undefined
7626
+ assertParamExists('getTemplates', 'companyId', companyId);
7620
7627
  const localVarPath = `/api/templates`;
7621
7628
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7622
7629
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -7627,8 +7634,8 @@ export const TemplateApiAxiosParamCreator = function (configuration) {
7627
7634
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
7628
7635
  const localVarHeaderParameter = {};
7629
7636
  const localVarQueryParameter = {};
7630
- if (company !== undefined) {
7631
- localVarQueryParameter['company'] = company;
7637
+ if (companyId !== undefined) {
7638
+ localVarQueryParameter['company_id'] = companyId;
7632
7639
  }
7633
7640
  if (type !== undefined) {
7634
7641
  localVarQueryParameter['type'] = type;
@@ -7712,14 +7719,14 @@ export const TemplateApiFp = function (configuration) {
7712
7719
  },
7713
7720
  /**
7714
7721
  *
7715
- * @param {string} company
7722
+ * @param {string} companyId
7716
7723
  * @param {TemplateTypeEnum} [type]
7717
7724
  * @param {string} [search]
7718
7725
  * @param {*} [options] Override http request option.
7719
7726
  * @throws {RequiredError}
7720
7727
  */
7721
- async getTemplates(company, type, search, options) {
7722
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplates(company, type, search, options);
7728
+ async getTemplates(companyId, type, search, options) {
7729
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplates(companyId, type, search, options);
7723
7730
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7724
7731
  const localVarOperationServerBasePath = operationServerMap['TemplateApi.getTemplates']?.[localVarOperationServerIndex]?.url;
7725
7732
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -7771,7 +7778,7 @@ export const TemplateApiFactory = function (configuration, basePath, axios) {
7771
7778
  * @throws {RequiredError}
7772
7779
  */
7773
7780
  getTemplates(requestParameters, options) {
7774
- return localVarFp.getTemplates(requestParameters.company, requestParameters.type, requestParameters.search, options).then((request) => request(axios, basePath));
7781
+ return localVarFp.getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, options).then((request) => request(axios, basePath));
7775
7782
  },
7776
7783
  /**
7777
7784
  *
@@ -7819,7 +7826,7 @@ export class TemplateApi extends BaseAPI {
7819
7826
  * @memberof TemplateApi
7820
7827
  */
7821
7828
  getTemplates(requestParameters, options) {
7822
- return TemplateApiFp(this.configuration).getTemplates(requestParameters.company, requestParameters.type, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
7829
+ return TemplateApiFp(this.configuration).getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
7823
7830
  }
7824
7831
  /**
7825
7832
  *