@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.mjs CHANGED
@@ -1617,12 +1617,12 @@ export const PageApiAxiosParamCreator = function (configuration) {
1617
1617
  /**
1618
1618
  *
1619
1619
  * @param {string} slug
1620
- * @param {string} [company]
1620
+ * @param {string} [companyId]
1621
1621
  * @param {string} [domain]
1622
1622
  * @param {*} [options] Override http request option.
1623
1623
  * @throws {RequiredError}
1624
1624
  */
1625
- getPageBySlug: async (slug, company, domain, options = {}) => {
1625
+ getPageBySlug: async (slug, companyId, domain, options = {}) => {
1626
1626
  // verify required parameter 'slug' is not null or undefined
1627
1627
  assertParamExists('getPageBySlug', 'slug', slug);
1628
1628
  const localVarPath = `/api/pages/slug/{slug}`
@@ -1636,8 +1636,8 @@ export const PageApiAxiosParamCreator = function (configuration) {
1636
1636
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1637
1637
  const localVarHeaderParameter = {};
1638
1638
  const localVarQueryParameter = {};
1639
- if (company !== undefined) {
1640
- localVarQueryParameter['company'] = company;
1639
+ if (companyId !== undefined) {
1640
+ localVarQueryParameter['company_id'] = companyId;
1641
1641
  }
1642
1642
  if (domain !== undefined) {
1643
1643
  localVarQueryParameter['domain'] = domain;
@@ -1653,12 +1653,12 @@ export const PageApiAxiosParamCreator = function (configuration) {
1653
1653
  /**
1654
1654
  *
1655
1655
  * @param {string} type
1656
- * @param {string} [company]
1656
+ * @param {string} [companyId]
1657
1657
  * @param {string} [domain]
1658
1658
  * @param {*} [options] Override http request option.
1659
1659
  * @throws {RequiredError}
1660
1660
  */
1661
- getPageByType: async (type, company, domain, options = {}) => {
1661
+ getPageByType: async (type, companyId, domain, options = {}) => {
1662
1662
  // verify required parameter 'type' is not null or undefined
1663
1663
  assertParamExists('getPageByType', 'type', type);
1664
1664
  const localVarPath = `/api/pages/type/{type}`
@@ -1672,8 +1672,8 @@ export const PageApiAxiosParamCreator = function (configuration) {
1672
1672
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1673
1673
  const localVarHeaderParameter = {};
1674
1674
  const localVarQueryParameter = {};
1675
- if (company !== undefined) {
1676
- localVarQueryParameter['company'] = company;
1675
+ if (companyId !== undefined) {
1676
+ localVarQueryParameter['company_id'] = companyId;
1677
1677
  }
1678
1678
  if (domain !== undefined) {
1679
1679
  localVarQueryParameter['domain'] = domain;
@@ -1696,14 +1696,14 @@ export const PageApiAxiosParamCreator = function (configuration) {
1696
1696
  * @param {string} [dateField]
1697
1697
  * @param {OrderEnum} [order]
1698
1698
  * @param {string} [sort]
1699
- * @param {string} [company]
1699
+ * @param {string} [companyId]
1700
1700
  * @param {string} [domain]
1701
1701
  * @param {PageTypeEnum} [type]
1702
1702
  * @param {ContentStatusEnum} [status]
1703
1703
  * @param {*} [options] Override http request option.
1704
1704
  * @throws {RequiredError}
1705
1705
  */
1706
- getPages: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, company, domain, type, status, options = {}) => {
1706
+ getPages: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, type, status, options = {}) => {
1707
1707
  const localVarPath = `/api/pages`;
1708
1708
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1709
1709
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1742,8 +1742,8 @@ export const PageApiAxiosParamCreator = function (configuration) {
1742
1742
  if (sort !== undefined) {
1743
1743
  localVarQueryParameter['sort'] = sort;
1744
1744
  }
1745
- if (company !== undefined) {
1746
- localVarQueryParameter['company'] = company;
1745
+ if (companyId !== undefined) {
1746
+ localVarQueryParameter['company_id'] = companyId;
1747
1747
  }
1748
1748
  if (domain !== undefined) {
1749
1749
  localVarQueryParameter['domain'] = domain;
@@ -1774,13 +1774,13 @@ export const PageApiFp = function (configuration) {
1774
1774
  /**
1775
1775
  *
1776
1776
  * @param {string} slug
1777
- * @param {string} [company]
1777
+ * @param {string} [companyId]
1778
1778
  * @param {string} [domain]
1779
1779
  * @param {*} [options] Override http request option.
1780
1780
  * @throws {RequiredError}
1781
1781
  */
1782
- async getPageBySlug(slug, company, domain, options) {
1783
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPageBySlug(slug, company, domain, options);
1782
+ async getPageBySlug(slug, companyId, domain, options) {
1783
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPageBySlug(slug, companyId, domain, options);
1784
1784
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1785
1785
  const localVarOperationServerBasePath = operationServerMap['PageApi.getPageBySlug']?.[localVarOperationServerIndex]?.url;
1786
1786
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1788,13 +1788,13 @@ export const PageApiFp = function (configuration) {
1788
1788
  /**
1789
1789
  *
1790
1790
  * @param {string} type
1791
- * @param {string} [company]
1791
+ * @param {string} [companyId]
1792
1792
  * @param {string} [domain]
1793
1793
  * @param {*} [options] Override http request option.
1794
1794
  * @throws {RequiredError}
1795
1795
  */
1796
- async getPageByType(type, company, domain, options) {
1797
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPageByType(type, company, domain, options);
1796
+ async getPageByType(type, companyId, domain, options) {
1797
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPageByType(type, companyId, domain, options);
1798
1798
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1799
1799
  const localVarOperationServerBasePath = operationServerMap['PageApi.getPageByType']?.[localVarOperationServerIndex]?.url;
1800
1800
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1809,15 +1809,15 @@ export const PageApiFp = function (configuration) {
1809
1809
  * @param {string} [dateField]
1810
1810
  * @param {OrderEnum} [order]
1811
1811
  * @param {string} [sort]
1812
- * @param {string} [company]
1812
+ * @param {string} [companyId]
1813
1813
  * @param {string} [domain]
1814
1814
  * @param {PageTypeEnum} [type]
1815
1815
  * @param {ContentStatusEnum} [status]
1816
1816
  * @param {*} [options] Override http request option.
1817
1817
  * @throws {RequiredError}
1818
1818
  */
1819
- async getPages(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, company, domain, type, status, options) {
1820
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPages(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, company, domain, type, status, options);
1819
+ async getPages(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, type, status, options) {
1820
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPages(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, type, status, options);
1821
1821
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1822
1822
  const localVarOperationServerBasePath = operationServerMap['PageApi.getPages']?.[localVarOperationServerIndex]?.url;
1823
1823
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1838,7 +1838,7 @@ export const PageApiFactory = function (configuration, basePath, axios) {
1838
1838
  * @throws {RequiredError}
1839
1839
  */
1840
1840
  getPageBySlug(requestParameters, options) {
1841
- return localVarFp.getPageBySlug(requestParameters.slug, requestParameters.company, requestParameters.domain, options).then((request) => request(axios, basePath));
1841
+ return localVarFp.getPageBySlug(requestParameters.slug, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
1842
1842
  },
1843
1843
  /**
1844
1844
  *
@@ -1847,7 +1847,7 @@ export const PageApiFactory = function (configuration, basePath, axios) {
1847
1847
  * @throws {RequiredError}
1848
1848
  */
1849
1849
  getPageByType(requestParameters, options) {
1850
- return localVarFp.getPageByType(requestParameters.type, requestParameters.company, requestParameters.domain, options).then((request) => request(axios, basePath));
1850
+ return localVarFp.getPageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
1851
1851
  },
1852
1852
  /**
1853
1853
  *
@@ -1856,7 +1856,7 @@ export const PageApiFactory = function (configuration, basePath, axios) {
1856
1856
  * @throws {RequiredError}
1857
1857
  */
1858
1858
  getPages(requestParameters = {}, options) {
1859
- 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));
1859
+ 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));
1860
1860
  },
1861
1861
  };
1862
1862
  };
@@ -1875,7 +1875,7 @@ export class PageApi extends BaseAPI {
1875
1875
  * @memberof PageApi
1876
1876
  */
1877
1877
  getPageBySlug(requestParameters, options) {
1878
- return PageApiFp(this.configuration).getPageBySlug(requestParameters.slug, requestParameters.company, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
1878
+ return PageApiFp(this.configuration).getPageBySlug(requestParameters.slug, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
1879
1879
  }
1880
1880
  /**
1881
1881
  *
@@ -1885,7 +1885,7 @@ export class PageApi extends BaseAPI {
1885
1885
  * @memberof PageApi
1886
1886
  */
1887
1887
  getPageByType(requestParameters, options) {
1888
- return PageApiFp(this.configuration).getPageByType(requestParameters.type, requestParameters.company, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
1888
+ return PageApiFp(this.configuration).getPageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
1889
1889
  }
1890
1890
  /**
1891
1891
  *
@@ -1895,7 +1895,7 @@ export class PageApi extends BaseAPI {
1895
1895
  * @memberof PageApi
1896
1896
  */
1897
1897
  getPages(requestParameters = {}, options) {
1898
- return 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));
1898
+ 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));
1899
1899
  }
1900
1900
  }
1901
1901
  /**
@@ -1907,15 +1907,14 @@ export const ProductApiAxiosParamCreator = function (configuration) {
1907
1907
  /**
1908
1908
  *
1909
1909
  * @param {string} slug
1910
- * @param {string} domain
1910
+ * @param {string} [companyId]
1911
+ * @param {string} [domain]
1911
1912
  * @param {*} [options] Override http request option.
1912
1913
  * @throws {RequiredError}
1913
1914
  */
1914
- getProductBySlug: async (slug, domain, options = {}) => {
1915
+ getProductBySlug: async (slug, companyId, domain, options = {}) => {
1915
1916
  // verify required parameter 'slug' is not null or undefined
1916
1917
  assertParamExists('getProductBySlug', 'slug', slug);
1917
- // verify required parameter 'domain' is not null or undefined
1918
- assertParamExists('getProductBySlug', 'domain', domain);
1919
1918
  const localVarPath = `/api/products/slug/{slug}`
1920
1919
  .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
1921
1920
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -1927,6 +1926,9 @@ export const ProductApiAxiosParamCreator = function (configuration) {
1927
1926
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1928
1927
  const localVarHeaderParameter = {};
1929
1928
  const localVarQueryParameter = {};
1929
+ if (companyId !== undefined) {
1930
+ localVarQueryParameter['company_id'] = companyId;
1931
+ }
1930
1932
  if (domain !== undefined) {
1931
1933
  localVarQueryParameter['domain'] = domain;
1932
1934
  }
@@ -1948,7 +1950,8 @@ export const ProductApiAxiosParamCreator = function (configuration) {
1948
1950
  * @param {string} [dateField]
1949
1951
  * @param {OrderEnum} [order]
1950
1952
  * @param {string} [sort]
1951
- * @param {string} [company]
1953
+ * @param {string} [companyId]
1954
+ * @param {string} [domain]
1952
1955
  * @param {string} [collections]
1953
1956
  * @param {string} [category]
1954
1957
  * @param {string} [brand]
@@ -1956,7 +1959,7 @@ export const ProductApiAxiosParamCreator = function (configuration) {
1956
1959
  * @param {*} [options] Override http request option.
1957
1960
  * @throws {RequiredError}
1958
1961
  */
1959
- getProducts: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, company, collections, category, brand, status, options = {}) => {
1962
+ getProducts: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, collections, category, brand, status, options = {}) => {
1960
1963
  const localVarPath = `/api/products`;
1961
1964
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1962
1965
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1995,8 +1998,11 @@ export const ProductApiAxiosParamCreator = function (configuration) {
1995
1998
  if (sort !== undefined) {
1996
1999
  localVarQueryParameter['sort'] = sort;
1997
2000
  }
1998
- if (company !== undefined) {
1999
- localVarQueryParameter['company'] = company;
2001
+ if (companyId !== undefined) {
2002
+ localVarQueryParameter['company_id'] = companyId;
2003
+ }
2004
+ if (domain !== undefined) {
2005
+ localVarQueryParameter['domain'] = domain;
2000
2006
  }
2001
2007
  if (collections !== undefined) {
2002
2008
  localVarQueryParameter['collections'] = collections;
@@ -2020,14 +2026,13 @@ export const ProductApiAxiosParamCreator = function (configuration) {
2020
2026
  },
2021
2027
  /**
2022
2028
  *
2023
- * @param {string} company
2024
2029
  * @param {string} search
2030
+ * @param {string} [companyId]
2031
+ * @param {string} [domain]
2025
2032
  * @param {*} [options] Override http request option.
2026
2033
  * @throws {RequiredError}
2027
2034
  */
2028
- searchProducts: async (company, search, options = {}) => {
2029
- // verify required parameter 'company' is not null or undefined
2030
- assertParamExists('searchProducts', 'company', company);
2035
+ searchProducts: async (search, companyId, domain, options = {}) => {
2031
2036
  // verify required parameter 'search' is not null or undefined
2032
2037
  assertParamExists('searchProducts', 'search', search);
2033
2038
  const localVarPath = `/api/products/search`;
@@ -2040,12 +2045,15 @@ export const ProductApiAxiosParamCreator = function (configuration) {
2040
2045
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2041
2046
  const localVarHeaderParameter = {};
2042
2047
  const localVarQueryParameter = {};
2043
- if (company !== undefined) {
2044
- localVarQueryParameter['company'] = company;
2045
- }
2046
2048
  if (search !== undefined) {
2047
2049
  localVarQueryParameter['search'] = search;
2048
2050
  }
2051
+ if (companyId !== undefined) {
2052
+ localVarQueryParameter['company_id'] = companyId;
2053
+ }
2054
+ if (domain !== undefined) {
2055
+ localVarQueryParameter['domain'] = domain;
2056
+ }
2049
2057
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2050
2058
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2051
2059
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2066,12 +2074,13 @@ export const ProductApiFp = function (configuration) {
2066
2074
  /**
2067
2075
  *
2068
2076
  * @param {string} slug
2069
- * @param {string} domain
2077
+ * @param {string} [companyId]
2078
+ * @param {string} [domain]
2070
2079
  * @param {*} [options] Override http request option.
2071
2080
  * @throws {RequiredError}
2072
2081
  */
2073
- async getProductBySlug(slug, domain, options) {
2074
- const localVarAxiosArgs = await localVarAxiosParamCreator.getProductBySlug(slug, domain, options);
2082
+ async getProductBySlug(slug, companyId, domain, options) {
2083
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getProductBySlug(slug, companyId, domain, options);
2075
2084
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2076
2085
  const localVarOperationServerBasePath = operationServerMap['ProductApi.getProductBySlug']?.[localVarOperationServerIndex]?.url;
2077
2086
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2086,7 +2095,8 @@ export const ProductApiFp = function (configuration) {
2086
2095
  * @param {string} [dateField]
2087
2096
  * @param {OrderEnum} [order]
2088
2097
  * @param {string} [sort]
2089
- * @param {string} [company]
2098
+ * @param {string} [companyId]
2099
+ * @param {string} [domain]
2090
2100
  * @param {string} [collections]
2091
2101
  * @param {string} [category]
2092
2102
  * @param {string} [brand]
@@ -2094,21 +2104,22 @@ export const ProductApiFp = function (configuration) {
2094
2104
  * @param {*} [options] Override http request option.
2095
2105
  * @throws {RequiredError}
2096
2106
  */
2097
- async getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, company, collections, category, brand, status, options) {
2098
- const localVarAxiosArgs = await localVarAxiosParamCreator.getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, company, collections, category, brand, status, options);
2107
+ async getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, collections, category, brand, status, options) {
2108
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, companyId, domain, collections, category, brand, status, options);
2099
2109
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2100
2110
  const localVarOperationServerBasePath = operationServerMap['ProductApi.getProducts']?.[localVarOperationServerIndex]?.url;
2101
2111
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2102
2112
  },
2103
2113
  /**
2104
2114
  *
2105
- * @param {string} company
2106
2115
  * @param {string} search
2116
+ * @param {string} [companyId]
2117
+ * @param {string} [domain]
2107
2118
  * @param {*} [options] Override http request option.
2108
2119
  * @throws {RequiredError}
2109
2120
  */
2110
- async searchProducts(company, search, options) {
2111
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchProducts(company, search, options);
2121
+ async searchProducts(search, companyId, domain, options) {
2122
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchProducts(search, companyId, domain, options);
2112
2123
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2113
2124
  const localVarOperationServerBasePath = operationServerMap['ProductApi.searchProducts']?.[localVarOperationServerIndex]?.url;
2114
2125
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2129,7 +2140,7 @@ export const ProductApiFactory = function (configuration, basePath, axios) {
2129
2140
  * @throws {RequiredError}
2130
2141
  */
2131
2142
  getProductBySlug(requestParameters, options) {
2132
- return localVarFp.getProductBySlug(requestParameters.slug, requestParameters.domain, options).then((request) => request(axios, basePath));
2143
+ return localVarFp.getProductBySlug(requestParameters.slug, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
2133
2144
  },
2134
2145
  /**
2135
2146
  *
@@ -2138,7 +2149,7 @@ export const ProductApiFactory = function (configuration, basePath, axios) {
2138
2149
  * @throws {RequiredError}
2139
2150
  */
2140
2151
  getProducts(requestParameters = {}, options) {
2141
- 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));
2152
+ 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));
2142
2153
  },
2143
2154
  /**
2144
2155
  *
@@ -2147,7 +2158,7 @@ export const ProductApiFactory = function (configuration, basePath, axios) {
2147
2158
  * @throws {RequiredError}
2148
2159
  */
2149
2160
  searchProducts(requestParameters, options) {
2150
- return localVarFp.searchProducts(requestParameters.company, requestParameters.search, options).then((request) => request(axios, basePath));
2161
+ return localVarFp.searchProducts(requestParameters.search, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
2151
2162
  },
2152
2163
  };
2153
2164
  };
@@ -2166,7 +2177,7 @@ export class ProductApi extends BaseAPI {
2166
2177
  * @memberof ProductApi
2167
2178
  */
2168
2179
  getProductBySlug(requestParameters, options) {
2169
- return ProductApiFp(this.configuration).getProductBySlug(requestParameters.slug, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
2180
+ return ProductApiFp(this.configuration).getProductBySlug(requestParameters.slug, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
2170
2181
  }
2171
2182
  /**
2172
2183
  *
@@ -2176,7 +2187,7 @@ export class ProductApi extends BaseAPI {
2176
2187
  * @memberof ProductApi
2177
2188
  */
2178
2189
  getProducts(requestParameters = {}, options) {
2179
- return 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));
2190
+ 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));
2180
2191
  }
2181
2192
  /**
2182
2193
  *
@@ -2186,7 +2197,7 @@ export class ProductApi extends BaseAPI {
2186
2197
  * @memberof ProductApi
2187
2198
  */
2188
2199
  searchProducts(requestParameters, options) {
2189
- return ProductApiFp(this.configuration).searchProducts(requestParameters.company, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
2200
+ return ProductApiFp(this.configuration).searchProducts(requestParameters.search, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
2190
2201
  }
2191
2202
  }
2192
2203
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api-client",
3
- "version": "1.1.21",
3
+ "version": "1.1.23",
4
4
  "description": "api-client-sdk",
5
5
  "author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
6
6
  "homepage": "https://github.com/infisale/infisale-client#readme",
@@ -36,5 +36,5 @@
36
36
  "bugs": {
37
37
  "url": "https://github.com/infisale/infisale-client/issues"
38
38
  },
39
- "gitHead": "df11058ea745bc8d1a387869a62faacad31a5bb8"
39
+ "gitHead": "a68ddc14d236422bc06d326aa5e76df64c898667"
40
40
  }