@infisale-client/api-client 1.1.21 → 1.1.23

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.js CHANGED
@@ -1643,12 +1643,12 @@ const PageApiAxiosParamCreator = function (configuration) {
1643
1643
  /**
1644
1644
  *
1645
1645
  * @param {string} slug
1646
- * @param {string} [company]
1646
+ * @param {string} [companyId]
1647
1647
  * @param {string} [domain]
1648
1648
  * @param {*} [options] Override http request option.
1649
1649
  * @throws {RequiredError}
1650
1650
  */
1651
- getPageBySlug: async (slug, company, domain, options = {}) => {
1651
+ getPageBySlug: async (slug, companyId, domain, options = {}) => {
1652
1652
  // verify required parameter 'slug' is not null or undefined
1653
1653
  (0, common_1.assertParamExists)('getPageBySlug', 'slug', slug);
1654
1654
  const localVarPath = `/api/pages/slug/{slug}`
@@ -1662,8 +1662,8 @@ const PageApiAxiosParamCreator = function (configuration) {
1662
1662
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1663
1663
  const localVarHeaderParameter = {};
1664
1664
  const localVarQueryParameter = {};
1665
- if (company !== undefined) {
1666
- localVarQueryParameter['company'] = company;
1665
+ if (companyId !== undefined) {
1666
+ localVarQueryParameter['company_id'] = companyId;
1667
1667
  }
1668
1668
  if (domain !== undefined) {
1669
1669
  localVarQueryParameter['domain'] = domain;
@@ -1679,12 +1679,12 @@ const PageApiAxiosParamCreator = function (configuration) {
1679
1679
  /**
1680
1680
  *
1681
1681
  * @param {string} type
1682
- * @param {string} [company]
1682
+ * @param {string} [companyId]
1683
1683
  * @param {string} [domain]
1684
1684
  * @param {*} [options] Override http request option.
1685
1685
  * @throws {RequiredError}
1686
1686
  */
1687
- getPageByType: async (type, company, domain, options = {}) => {
1687
+ getPageByType: async (type, companyId, domain, options = {}) => {
1688
1688
  // verify required parameter 'type' is not null or undefined
1689
1689
  (0, common_1.assertParamExists)('getPageByType', 'type', type);
1690
1690
  const localVarPath = `/api/pages/type/{type}`
@@ -1698,8 +1698,8 @@ const PageApiAxiosParamCreator = function (configuration) {
1698
1698
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1699
1699
  const localVarHeaderParameter = {};
1700
1700
  const localVarQueryParameter = {};
1701
- if (company !== undefined) {
1702
- localVarQueryParameter['company'] = company;
1701
+ if (companyId !== undefined) {
1702
+ localVarQueryParameter['company_id'] = companyId;
1703
1703
  }
1704
1704
  if (domain !== undefined) {
1705
1705
  localVarQueryParameter['domain'] = domain;
@@ -1722,14 +1722,14 @@ const PageApiAxiosParamCreator = function (configuration) {
1722
1722
  * @param {string} [dateField]
1723
1723
  * @param {OrderEnum} [order]
1724
1724
  * @param {string} [sort]
1725
- * @param {string} [company]
1725
+ * @param {string} [companyId]
1726
1726
  * @param {string} [domain]
1727
1727
  * @param {PageTypeEnum} [type]
1728
1728
  * @param {ContentStatusEnum} [status]
1729
1729
  * @param {*} [options] Override http request option.
1730
1730
  * @throws {RequiredError}
1731
1731
  */
1732
- getPages: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, company, domain, type, status, options = {}) => {
1732
+ getPages: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, type, status, options = {}) => {
1733
1733
  const localVarPath = `/api/pages`;
1734
1734
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1735
1735
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1768,8 +1768,8 @@ const PageApiAxiosParamCreator = function (configuration) {
1768
1768
  if (sort !== undefined) {
1769
1769
  localVarQueryParameter['sort'] = sort;
1770
1770
  }
1771
- if (company !== undefined) {
1772
- localVarQueryParameter['company'] = company;
1771
+ if (companyId !== undefined) {
1772
+ localVarQueryParameter['company_id'] = companyId;
1773
1773
  }
1774
1774
  if (domain !== undefined) {
1775
1775
  localVarQueryParameter['domain'] = domain;
@@ -1801,13 +1801,13 @@ const PageApiFp = function (configuration) {
1801
1801
  /**
1802
1802
  *
1803
1803
  * @param {string} slug
1804
- * @param {string} [company]
1804
+ * @param {string} [companyId]
1805
1805
  * @param {string} [domain]
1806
1806
  * @param {*} [options] Override http request option.
1807
1807
  * @throws {RequiredError}
1808
1808
  */
1809
- async getPageBySlug(slug, company, domain, options) {
1810
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPageBySlug(slug, company, domain, options);
1809
+ async getPageBySlug(slug, companyId, domain, options) {
1810
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPageBySlug(slug, companyId, domain, options);
1811
1811
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1812
1812
  const localVarOperationServerBasePath = base_1.operationServerMap['PageApi.getPageBySlug']?.[localVarOperationServerIndex]?.url;
1813
1813
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1815,13 +1815,13 @@ const PageApiFp = function (configuration) {
1815
1815
  /**
1816
1816
  *
1817
1817
  * @param {string} type
1818
- * @param {string} [company]
1818
+ * @param {string} [companyId]
1819
1819
  * @param {string} [domain]
1820
1820
  * @param {*} [options] Override http request option.
1821
1821
  * @throws {RequiredError}
1822
1822
  */
1823
- async getPageByType(type, company, domain, options) {
1824
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPageByType(type, company, domain, options);
1823
+ async getPageByType(type, companyId, domain, options) {
1824
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPageByType(type, companyId, domain, options);
1825
1825
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1826
1826
  const localVarOperationServerBasePath = base_1.operationServerMap['PageApi.getPageByType']?.[localVarOperationServerIndex]?.url;
1827
1827
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1836,15 +1836,15 @@ const PageApiFp = function (configuration) {
1836
1836
  * @param {string} [dateField]
1837
1837
  * @param {OrderEnum} [order]
1838
1838
  * @param {string} [sort]
1839
- * @param {string} [company]
1839
+ * @param {string} [companyId]
1840
1840
  * @param {string} [domain]
1841
1841
  * @param {PageTypeEnum} [type]
1842
1842
  * @param {ContentStatusEnum} [status]
1843
1843
  * @param {*} [options] Override http request option.
1844
1844
  * @throws {RequiredError}
1845
1845
  */
1846
- async getPages(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, company, domain, type, status, options) {
1847
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPages(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, company, domain, type, status, options);
1846
+ async getPages(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, type, status, options) {
1847
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPages(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, type, status, options);
1848
1848
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1849
1849
  const localVarOperationServerBasePath = base_1.operationServerMap['PageApi.getPages']?.[localVarOperationServerIndex]?.url;
1850
1850
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1866,7 +1866,7 @@ const PageApiFactory = function (configuration, basePath, axios) {
1866
1866
  * @throws {RequiredError}
1867
1867
  */
1868
1868
  getPageBySlug(requestParameters, options) {
1869
- return localVarFp.getPageBySlug(requestParameters.slug, requestParameters.company, requestParameters.domain, options).then((request) => request(axios, basePath));
1869
+ return localVarFp.getPageBySlug(requestParameters.slug, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
1870
1870
  },
1871
1871
  /**
1872
1872
  *
@@ -1875,7 +1875,7 @@ const PageApiFactory = function (configuration, basePath, axios) {
1875
1875
  * @throws {RequiredError}
1876
1876
  */
1877
1877
  getPageByType(requestParameters, options) {
1878
- return localVarFp.getPageByType(requestParameters.type, requestParameters.company, requestParameters.domain, options).then((request) => request(axios, basePath));
1878
+ return localVarFp.getPageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
1879
1879
  },
1880
1880
  /**
1881
1881
  *
@@ -1884,7 +1884,7 @@ const PageApiFactory = function (configuration, basePath, axios) {
1884
1884
  * @throws {RequiredError}
1885
1885
  */
1886
1886
  getPages(requestParameters = {}, options) {
1887
- return localVarFp.getPages(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.company, requestParameters.domain, requestParameters.type, requestParameters.status, options).then((request) => request(axios, basePath));
1887
+ 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));
1888
1888
  },
1889
1889
  };
1890
1890
  };
@@ -1904,7 +1904,7 @@ class PageApi extends base_1.BaseAPI {
1904
1904
  * @memberof PageApi
1905
1905
  */
1906
1906
  getPageBySlug(requestParameters, options) {
1907
- return (0, exports.PageApiFp)(this.configuration).getPageBySlug(requestParameters.slug, requestParameters.company, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
1907
+ return (0, exports.PageApiFp)(this.configuration).getPageBySlug(requestParameters.slug, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
1908
1908
  }
1909
1909
  /**
1910
1910
  *
@@ -1914,7 +1914,7 @@ class PageApi extends base_1.BaseAPI {
1914
1914
  * @memberof PageApi
1915
1915
  */
1916
1916
  getPageByType(requestParameters, options) {
1917
- return (0, exports.PageApiFp)(this.configuration).getPageByType(requestParameters.type, requestParameters.company, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
1917
+ return (0, exports.PageApiFp)(this.configuration).getPageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
1918
1918
  }
1919
1919
  /**
1920
1920
  *
@@ -1924,7 +1924,7 @@ class PageApi extends base_1.BaseAPI {
1924
1924
  * @memberof PageApi
1925
1925
  */
1926
1926
  getPages(requestParameters = {}, options) {
1927
- return (0, exports.PageApiFp)(this.configuration).getPages(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.company, requestParameters.domain, requestParameters.type, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
1927
+ return (0, exports.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));
1928
1928
  }
1929
1929
  }
1930
1930
  exports.PageApi = PageApi;
@@ -1937,15 +1937,14 @@ const ProductApiAxiosParamCreator = function (configuration) {
1937
1937
  /**
1938
1938
  *
1939
1939
  * @param {string} slug
1940
- * @param {string} domain
1940
+ * @param {string} [companyId]
1941
+ * @param {string} [domain]
1941
1942
  * @param {*} [options] Override http request option.
1942
1943
  * @throws {RequiredError}
1943
1944
  */
1944
- getProductBySlug: async (slug, domain, options = {}) => {
1945
+ getProductBySlug: async (slug, companyId, domain, options = {}) => {
1945
1946
  // verify required parameter 'slug' is not null or undefined
1946
1947
  (0, common_1.assertParamExists)('getProductBySlug', 'slug', slug);
1947
- // verify required parameter 'domain' is not null or undefined
1948
- (0, common_1.assertParamExists)('getProductBySlug', 'domain', domain);
1949
1948
  const localVarPath = `/api/products/slug/{slug}`
1950
1949
  .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
1951
1950
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -1957,6 +1956,9 @@ const ProductApiAxiosParamCreator = function (configuration) {
1957
1956
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1958
1957
  const localVarHeaderParameter = {};
1959
1958
  const localVarQueryParameter = {};
1959
+ if (companyId !== undefined) {
1960
+ localVarQueryParameter['company_id'] = companyId;
1961
+ }
1960
1962
  if (domain !== undefined) {
1961
1963
  localVarQueryParameter['domain'] = domain;
1962
1964
  }
@@ -1978,7 +1980,8 @@ const ProductApiAxiosParamCreator = function (configuration) {
1978
1980
  * @param {string} [dateField]
1979
1981
  * @param {OrderEnum} [order]
1980
1982
  * @param {string} [sort]
1981
- * @param {string} [company]
1983
+ * @param {string} [companyId]
1984
+ * @param {string} [domain]
1982
1985
  * @param {string} [collections]
1983
1986
  * @param {string} [category]
1984
1987
  * @param {string} [brand]
@@ -1986,7 +1989,7 @@ const ProductApiAxiosParamCreator = function (configuration) {
1986
1989
  * @param {*} [options] Override http request option.
1987
1990
  * @throws {RequiredError}
1988
1991
  */
1989
- getProducts: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, company, collections, category, brand, status, options = {}) => {
1992
+ getProducts: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, collections, category, brand, status, options = {}) => {
1990
1993
  const localVarPath = `/api/products`;
1991
1994
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1992
1995
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -2025,8 +2028,11 @@ const ProductApiAxiosParamCreator = function (configuration) {
2025
2028
  if (sort !== undefined) {
2026
2029
  localVarQueryParameter['sort'] = sort;
2027
2030
  }
2028
- if (company !== undefined) {
2029
- localVarQueryParameter['company'] = company;
2031
+ if (companyId !== undefined) {
2032
+ localVarQueryParameter['company_id'] = companyId;
2033
+ }
2034
+ if (domain !== undefined) {
2035
+ localVarQueryParameter['domain'] = domain;
2030
2036
  }
2031
2037
  if (collections !== undefined) {
2032
2038
  localVarQueryParameter['collections'] = collections;
@@ -2050,14 +2056,13 @@ const ProductApiAxiosParamCreator = function (configuration) {
2050
2056
  },
2051
2057
  /**
2052
2058
  *
2053
- * @param {string} company
2054
2059
  * @param {string} search
2060
+ * @param {string} [companyId]
2061
+ * @param {string} [domain]
2055
2062
  * @param {*} [options] Override http request option.
2056
2063
  * @throws {RequiredError}
2057
2064
  */
2058
- searchProducts: async (company, search, options = {}) => {
2059
- // verify required parameter 'company' is not null or undefined
2060
- (0, common_1.assertParamExists)('searchProducts', 'company', company);
2065
+ searchProducts: async (search, companyId, domain, options = {}) => {
2061
2066
  // verify required parameter 'search' is not null or undefined
2062
2067
  (0, common_1.assertParamExists)('searchProducts', 'search', search);
2063
2068
  const localVarPath = `/api/products/search`;
@@ -2070,12 +2075,15 @@ const ProductApiAxiosParamCreator = function (configuration) {
2070
2075
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2071
2076
  const localVarHeaderParameter = {};
2072
2077
  const localVarQueryParameter = {};
2073
- if (company !== undefined) {
2074
- localVarQueryParameter['company'] = company;
2075
- }
2076
2078
  if (search !== undefined) {
2077
2079
  localVarQueryParameter['search'] = search;
2078
2080
  }
2081
+ if (companyId !== undefined) {
2082
+ localVarQueryParameter['company_id'] = companyId;
2083
+ }
2084
+ if (domain !== undefined) {
2085
+ localVarQueryParameter['domain'] = domain;
2086
+ }
2079
2087
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2080
2088
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2081
2089
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2097,12 +2105,13 @@ const ProductApiFp = function (configuration) {
2097
2105
  /**
2098
2106
  *
2099
2107
  * @param {string} slug
2100
- * @param {string} domain
2108
+ * @param {string} [companyId]
2109
+ * @param {string} [domain]
2101
2110
  * @param {*} [options] Override http request option.
2102
2111
  * @throws {RequiredError}
2103
2112
  */
2104
- async getProductBySlug(slug, domain, options) {
2105
- const localVarAxiosArgs = await localVarAxiosParamCreator.getProductBySlug(slug, domain, options);
2113
+ async getProductBySlug(slug, companyId, domain, options) {
2114
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getProductBySlug(slug, companyId, domain, options);
2106
2115
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2107
2116
  const localVarOperationServerBasePath = base_1.operationServerMap['ProductApi.getProductBySlug']?.[localVarOperationServerIndex]?.url;
2108
2117
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2117,7 +2126,8 @@ const ProductApiFp = function (configuration) {
2117
2126
  * @param {string} [dateField]
2118
2127
  * @param {OrderEnum} [order]
2119
2128
  * @param {string} [sort]
2120
- * @param {string} [company]
2129
+ * @param {string} [companyId]
2130
+ * @param {string} [domain]
2121
2131
  * @param {string} [collections]
2122
2132
  * @param {string} [category]
2123
2133
  * @param {string} [brand]
@@ -2125,21 +2135,22 @@ const ProductApiFp = function (configuration) {
2125
2135
  * @param {*} [options] Override http request option.
2126
2136
  * @throws {RequiredError}
2127
2137
  */
2128
- async getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, company, collections, category, brand, status, options) {
2129
- const localVarAxiosArgs = await localVarAxiosParamCreator.getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, company, collections, category, brand, status, options);
2138
+ async getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, collections, category, brand, status, options) {
2139
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, collections, category, brand, status, options);
2130
2140
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2131
2141
  const localVarOperationServerBasePath = base_1.operationServerMap['ProductApi.getProducts']?.[localVarOperationServerIndex]?.url;
2132
2142
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2133
2143
  },
2134
2144
  /**
2135
2145
  *
2136
- * @param {string} company
2137
2146
  * @param {string} search
2147
+ * @param {string} [companyId]
2148
+ * @param {string} [domain]
2138
2149
  * @param {*} [options] Override http request option.
2139
2150
  * @throws {RequiredError}
2140
2151
  */
2141
- async searchProducts(company, search, options) {
2142
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchProducts(company, search, options);
2152
+ async searchProducts(search, companyId, domain, options) {
2153
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchProducts(search, companyId, domain, options);
2143
2154
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2144
2155
  const localVarOperationServerBasePath = base_1.operationServerMap['ProductApi.searchProducts']?.[localVarOperationServerIndex]?.url;
2145
2156
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2161,7 +2172,7 @@ const ProductApiFactory = function (configuration, basePath, axios) {
2161
2172
  * @throws {RequiredError}
2162
2173
  */
2163
2174
  getProductBySlug(requestParameters, options) {
2164
- return localVarFp.getProductBySlug(requestParameters.slug, requestParameters.domain, options).then((request) => request(axios, basePath));
2175
+ return localVarFp.getProductBySlug(requestParameters.slug, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
2165
2176
  },
2166
2177
  /**
2167
2178
  *
@@ -2170,7 +2181,7 @@ const ProductApiFactory = function (configuration, basePath, axios) {
2170
2181
  * @throws {RequiredError}
2171
2182
  */
2172
2183
  getProducts(requestParameters = {}, options) {
2173
- return localVarFp.getProducts(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.company, requestParameters.collections, requestParameters.category, requestParameters.brand, requestParameters.status, options).then((request) => request(axios, basePath));
2184
+ 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));
2174
2185
  },
2175
2186
  /**
2176
2187
  *
@@ -2179,7 +2190,7 @@ const ProductApiFactory = function (configuration, basePath, axios) {
2179
2190
  * @throws {RequiredError}
2180
2191
  */
2181
2192
  searchProducts(requestParameters, options) {
2182
- return localVarFp.searchProducts(requestParameters.company, requestParameters.search, options).then((request) => request(axios, basePath));
2193
+ return localVarFp.searchProducts(requestParameters.search, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
2183
2194
  },
2184
2195
  };
2185
2196
  };
@@ -2199,7 +2210,7 @@ class ProductApi extends base_1.BaseAPI {
2199
2210
  * @memberof ProductApi
2200
2211
  */
2201
2212
  getProductBySlug(requestParameters, options) {
2202
- return (0, exports.ProductApiFp)(this.configuration).getProductBySlug(requestParameters.slug, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
2213
+ return (0, exports.ProductApiFp)(this.configuration).getProductBySlug(requestParameters.slug, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
2203
2214
  }
2204
2215
  /**
2205
2216
  *
@@ -2209,7 +2220,7 @@ class ProductApi extends base_1.BaseAPI {
2209
2220
  * @memberof ProductApi
2210
2221
  */
2211
2222
  getProducts(requestParameters = {}, options) {
2212
- return (0, exports.ProductApiFp)(this.configuration).getProducts(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.company, requestParameters.collections, requestParameters.category, requestParameters.brand, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
2223
+ return (0, exports.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));
2213
2224
  }
2214
2225
  /**
2215
2226
  *
@@ -2219,7 +2230,7 @@ class ProductApi extends base_1.BaseAPI {
2219
2230
  * @memberof ProductApi
2220
2231
  */
2221
2232
  searchProducts(requestParameters, options) {
2222
- return (0, exports.ProductApiFp)(this.configuration).searchProducts(requestParameters.company, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
2233
+ return (0, exports.ProductApiFp)(this.configuration).searchProducts(requestParameters.search, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
2223
2234
  }
2224
2235
  }
2225
2236
  exports.ProductApi = ProductApi;