@infisale-client/api-client 1.2.39 → 1.2.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/api.d.ts +83 -24
- package/dist/api/api.js +14 -28
- package/dist/api/api.mjs +14 -28
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -695,6 +695,50 @@ export interface IAllCategoriesResponse {
|
|
|
695
695
|
*/
|
|
696
696
|
'data': Array<PickICategoryResponseIdOrContentsOrAttributes>;
|
|
697
697
|
}
|
|
698
|
+
/**
|
|
699
|
+
*
|
|
700
|
+
* @export
|
|
701
|
+
* @interface IAllCategoriesTreeResponse
|
|
702
|
+
*/
|
|
703
|
+
export interface IAllCategoriesTreeResponse {
|
|
704
|
+
/**
|
|
705
|
+
*
|
|
706
|
+
* @type {Array<IAllCategoriesTreeResponseDataInner>}
|
|
707
|
+
* @memberof IAllCategoriesTreeResponse
|
|
708
|
+
*/
|
|
709
|
+
'data': Array<IAllCategoriesTreeResponseDataInner>;
|
|
710
|
+
}
|
|
711
|
+
/**
|
|
712
|
+
*
|
|
713
|
+
* @export
|
|
714
|
+
* @interface IAllCategoriesTreeResponseDataInner
|
|
715
|
+
*/
|
|
716
|
+
export interface IAllCategoriesTreeResponseDataInner {
|
|
717
|
+
/**
|
|
718
|
+
*
|
|
719
|
+
* @type {Array<SubCategories>}
|
|
720
|
+
* @memberof IAllCategoriesTreeResponseDataInner
|
|
721
|
+
*/
|
|
722
|
+
'subCategories': Array<SubCategories>;
|
|
723
|
+
/**
|
|
724
|
+
*
|
|
725
|
+
* @type {Array<ICategoryResponseAttributesInner>}
|
|
726
|
+
* @memberof IAllCategoriesTreeResponseDataInner
|
|
727
|
+
*/
|
|
728
|
+
'attributes': Array<ICategoryResponseAttributesInner>;
|
|
729
|
+
/**
|
|
730
|
+
* Make all properties in T optional
|
|
731
|
+
* @type {object}
|
|
732
|
+
* @memberof IAllCategoriesTreeResponseDataInner
|
|
733
|
+
*/
|
|
734
|
+
'contents': object;
|
|
735
|
+
/**
|
|
736
|
+
*
|
|
737
|
+
* @type {string}
|
|
738
|
+
* @memberof IAllCategoriesTreeResponseDataInner
|
|
739
|
+
*/
|
|
740
|
+
'_id': string;
|
|
741
|
+
}
|
|
698
742
|
/**
|
|
699
743
|
*
|
|
700
744
|
* @export
|
|
@@ -9887,6 +9931,37 @@ export declare const SitemapTypeEnum: {
|
|
|
9887
9931
|
readonly BLOG: "blog";
|
|
9888
9932
|
};
|
|
9889
9933
|
export type SitemapTypeEnum = typeof SitemapTypeEnum[keyof typeof SitemapTypeEnum];
|
|
9934
|
+
/**
|
|
9935
|
+
*
|
|
9936
|
+
* @export
|
|
9937
|
+
* @interface SubCategories
|
|
9938
|
+
*/
|
|
9939
|
+
export interface SubCategories {
|
|
9940
|
+
/**
|
|
9941
|
+
*
|
|
9942
|
+
* @type {Array<SubCategories>}
|
|
9943
|
+
* @memberof SubCategories
|
|
9944
|
+
*/
|
|
9945
|
+
'subCategories': Array<SubCategories>;
|
|
9946
|
+
/**
|
|
9947
|
+
*
|
|
9948
|
+
* @type {Array<ICategoryResponseAttributesInner>}
|
|
9949
|
+
* @memberof SubCategories
|
|
9950
|
+
*/
|
|
9951
|
+
'attributes': Array<ICategoryResponseAttributesInner>;
|
|
9952
|
+
/**
|
|
9953
|
+
* Make all properties in T optional
|
|
9954
|
+
* @type {object}
|
|
9955
|
+
* @memberof SubCategories
|
|
9956
|
+
*/
|
|
9957
|
+
'contents': object;
|
|
9958
|
+
/**
|
|
9959
|
+
*
|
|
9960
|
+
* @type {string}
|
|
9961
|
+
* @memberof SubCategories
|
|
9962
|
+
*/
|
|
9963
|
+
'_id': string;
|
|
9964
|
+
}
|
|
9890
9965
|
/**
|
|
9891
9966
|
*
|
|
9892
9967
|
* @export
|
|
@@ -10478,20 +10553,18 @@ export declare const BasketApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
10478
10553
|
deleteProductFromBasket: (itemId: string, iBasketDeleteRequest: IBasketDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10479
10554
|
/**
|
|
10480
10555
|
*
|
|
10481
|
-
* @param {string} domain
|
|
10482
10556
|
* @param {string} [id]
|
|
10483
10557
|
* @param {*} [options] Override http request option.
|
|
10484
10558
|
* @throws {RequiredError}
|
|
10485
10559
|
*/
|
|
10486
|
-
getBasket: (
|
|
10560
|
+
getBasket: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10487
10561
|
/**
|
|
10488
10562
|
*
|
|
10489
|
-
* @param {string} domain
|
|
10490
10563
|
* @param {string} [id]
|
|
10491
10564
|
* @param {*} [options] Override http request option.
|
|
10492
10565
|
* @throws {RequiredError}
|
|
10493
10566
|
*/
|
|
10494
|
-
getBasketCount: (
|
|
10567
|
+
getBasketCount: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10495
10568
|
/**
|
|
10496
10569
|
*
|
|
10497
10570
|
* @param {IBasketMergeRequest} iBasketMergeRequest
|
|
@@ -10530,20 +10603,18 @@ export declare const BasketApiFp: (configuration?: Configuration) => {
|
|
|
10530
10603
|
deleteProductFromBasket(itemId: string, iBasketDeleteRequest: IBasketDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
10531
10604
|
/**
|
|
10532
10605
|
*
|
|
10533
|
-
* @param {string} domain
|
|
10534
10606
|
* @param {string} [id]
|
|
10535
10607
|
* @param {*} [options] Override http request option.
|
|
10536
10608
|
* @throws {RequiredError}
|
|
10537
10609
|
*/
|
|
10538
|
-
getBasket(
|
|
10610
|
+
getBasket(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IBasketResponse>>;
|
|
10539
10611
|
/**
|
|
10540
10612
|
*
|
|
10541
|
-
* @param {string} domain
|
|
10542
10613
|
* @param {string} [id]
|
|
10543
10614
|
* @param {*} [options] Override http request option.
|
|
10544
10615
|
* @throws {RequiredError}
|
|
10545
10616
|
*/
|
|
10546
|
-
getBasketCount(
|
|
10617
|
+
getBasketCount(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IBasketCountResponse>>;
|
|
10547
10618
|
/**
|
|
10548
10619
|
*
|
|
10549
10620
|
* @param {IBasketMergeRequest} iBasketMergeRequest
|
|
@@ -10585,14 +10656,14 @@ export declare const BasketApiFactory: (configuration?: Configuration, basePath?
|
|
|
10585
10656
|
* @param {*} [options] Override http request option.
|
|
10586
10657
|
* @throws {RequiredError}
|
|
10587
10658
|
*/
|
|
10588
|
-
getBasket(requestParameters
|
|
10659
|
+
getBasket(requestParameters?: BasketApiGetBasketRequest, options?: RawAxiosRequestConfig): AxiosPromise<IBasketResponse>;
|
|
10589
10660
|
/**
|
|
10590
10661
|
*
|
|
10591
10662
|
* @param {BasketApiGetBasketCountRequest} requestParameters Request parameters.
|
|
10592
10663
|
* @param {*} [options] Override http request option.
|
|
10593
10664
|
* @throws {RequiredError}
|
|
10594
10665
|
*/
|
|
10595
|
-
getBasketCount(requestParameters
|
|
10666
|
+
getBasketCount(requestParameters?: BasketApiGetBasketCountRequest, options?: RawAxiosRequestConfig): AxiosPromise<IBasketCountResponse>;
|
|
10596
10667
|
/**
|
|
10597
10668
|
*
|
|
10598
10669
|
* @param {BasketApiMergeBasketRequest} requestParameters Request parameters.
|
|
@@ -10646,12 +10717,6 @@ export interface BasketApiDeleteProductFromBasketRequest {
|
|
|
10646
10717
|
* @interface BasketApiGetBasketRequest
|
|
10647
10718
|
*/
|
|
10648
10719
|
export interface BasketApiGetBasketRequest {
|
|
10649
|
-
/**
|
|
10650
|
-
*
|
|
10651
|
-
* @type {string}
|
|
10652
|
-
* @memberof BasketApiGetBasket
|
|
10653
|
-
*/
|
|
10654
|
-
readonly domain: string;
|
|
10655
10720
|
/**
|
|
10656
10721
|
*
|
|
10657
10722
|
* @type {string}
|
|
@@ -10665,12 +10730,6 @@ export interface BasketApiGetBasketRequest {
|
|
|
10665
10730
|
* @interface BasketApiGetBasketCountRequest
|
|
10666
10731
|
*/
|
|
10667
10732
|
export interface BasketApiGetBasketCountRequest {
|
|
10668
|
-
/**
|
|
10669
|
-
*
|
|
10670
|
-
* @type {string}
|
|
10671
|
-
* @memberof BasketApiGetBasketCount
|
|
10672
|
-
*/
|
|
10673
|
-
readonly domain: string;
|
|
10674
10733
|
/**
|
|
10675
10734
|
*
|
|
10676
10735
|
* @type {string}
|
|
@@ -10740,7 +10799,7 @@ export declare class BasketApi extends BaseAPI {
|
|
|
10740
10799
|
* @throws {RequiredError}
|
|
10741
10800
|
* @memberof BasketApi
|
|
10742
10801
|
*/
|
|
10743
|
-
getBasket(requestParameters
|
|
10802
|
+
getBasket(requestParameters?: BasketApiGetBasketRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IBasketResponse, any>>;
|
|
10744
10803
|
/**
|
|
10745
10804
|
*
|
|
10746
10805
|
* @param {BasketApiGetBasketCountRequest} requestParameters Request parameters.
|
|
@@ -10748,7 +10807,7 @@ export declare class BasketApi extends BaseAPI {
|
|
|
10748
10807
|
* @throws {RequiredError}
|
|
10749
10808
|
* @memberof BasketApi
|
|
10750
10809
|
*/
|
|
10751
|
-
getBasketCount(requestParameters
|
|
10810
|
+
getBasketCount(requestParameters?: BasketApiGetBasketCountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IBasketCountResponse, any>>;
|
|
10752
10811
|
/**
|
|
10753
10812
|
*
|
|
10754
10813
|
* @param {BasketApiMergeBasketRequest} requestParameters Request parameters.
|
package/dist/api/api.js
CHANGED
|
@@ -1547,14 +1547,11 @@ const BasketApiAxiosParamCreator = function (configuration) {
|
|
|
1547
1547
|
},
|
|
1548
1548
|
/**
|
|
1549
1549
|
*
|
|
1550
|
-
* @param {string} domain
|
|
1551
1550
|
* @param {string} [id]
|
|
1552
1551
|
* @param {*} [options] Override http request option.
|
|
1553
1552
|
* @throws {RequiredError}
|
|
1554
1553
|
*/
|
|
1555
|
-
getBasket: async (
|
|
1556
|
-
// verify required parameter 'domain' is not null or undefined
|
|
1557
|
-
(0, common_1.assertParamExists)('getBasket', 'domain', domain);
|
|
1554
|
+
getBasket: async (id, options = {}) => {
|
|
1558
1555
|
const localVarPath = `/api/baskets/single`;
|
|
1559
1556
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1560
1557
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1565,9 +1562,6 @@ const BasketApiAxiosParamCreator = function (configuration) {
|
|
|
1565
1562
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1566
1563
|
const localVarHeaderParameter = {};
|
|
1567
1564
|
const localVarQueryParameter = {};
|
|
1568
|
-
if (domain !== undefined) {
|
|
1569
|
-
localVarQueryParameter['domain'] = domain;
|
|
1570
|
-
}
|
|
1571
1565
|
if (id !== undefined) {
|
|
1572
1566
|
localVarQueryParameter['id'] = id;
|
|
1573
1567
|
}
|
|
@@ -1581,14 +1575,11 @@ const BasketApiAxiosParamCreator = function (configuration) {
|
|
|
1581
1575
|
},
|
|
1582
1576
|
/**
|
|
1583
1577
|
*
|
|
1584
|
-
* @param {string} domain
|
|
1585
1578
|
* @param {string} [id]
|
|
1586
1579
|
* @param {*} [options] Override http request option.
|
|
1587
1580
|
* @throws {RequiredError}
|
|
1588
1581
|
*/
|
|
1589
|
-
getBasketCount: async (
|
|
1590
|
-
// verify required parameter 'domain' is not null or undefined
|
|
1591
|
-
(0, common_1.assertParamExists)('getBasketCount', 'domain', domain);
|
|
1582
|
+
getBasketCount: async (id, options = {}) => {
|
|
1592
1583
|
const localVarPath = `/api/baskets/count`;
|
|
1593
1584
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1594
1585
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1599,9 +1590,6 @@ const BasketApiAxiosParamCreator = function (configuration) {
|
|
|
1599
1590
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1600
1591
|
const localVarHeaderParameter = {};
|
|
1601
1592
|
const localVarQueryParameter = {};
|
|
1602
|
-
if (domain !== undefined) {
|
|
1603
|
-
localVarQueryParameter['domain'] = domain;
|
|
1604
|
-
}
|
|
1605
1593
|
if (id !== undefined) {
|
|
1606
1594
|
localVarQueryParameter['id'] = id;
|
|
1607
1595
|
}
|
|
@@ -1712,26 +1700,24 @@ const BasketApiFp = function (configuration) {
|
|
|
1712
1700
|
},
|
|
1713
1701
|
/**
|
|
1714
1702
|
*
|
|
1715
|
-
* @param {string} domain
|
|
1716
1703
|
* @param {string} [id]
|
|
1717
1704
|
* @param {*} [options] Override http request option.
|
|
1718
1705
|
* @throws {RequiredError}
|
|
1719
1706
|
*/
|
|
1720
|
-
async getBasket(
|
|
1721
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getBasket(
|
|
1707
|
+
async getBasket(id, options) {
|
|
1708
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBasket(id, options);
|
|
1722
1709
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1723
1710
|
const localVarOperationServerBasePath = base_1.operationServerMap['BasketApi.getBasket']?.[localVarOperationServerIndex]?.url;
|
|
1724
1711
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1725
1712
|
},
|
|
1726
1713
|
/**
|
|
1727
1714
|
*
|
|
1728
|
-
* @param {string} domain
|
|
1729
1715
|
* @param {string} [id]
|
|
1730
1716
|
* @param {*} [options] Override http request option.
|
|
1731
1717
|
* @throws {RequiredError}
|
|
1732
1718
|
*/
|
|
1733
|
-
async getBasketCount(
|
|
1734
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getBasketCount(
|
|
1719
|
+
async getBasketCount(id, options) {
|
|
1720
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBasketCount(id, options);
|
|
1735
1721
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1736
1722
|
const localVarOperationServerBasePath = base_1.operationServerMap['BasketApi.getBasketCount']?.[localVarOperationServerIndex]?.url;
|
|
1737
1723
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1795,8 +1781,8 @@ const BasketApiFactory = function (configuration, basePath, axios) {
|
|
|
1795
1781
|
* @param {*} [options] Override http request option.
|
|
1796
1782
|
* @throws {RequiredError}
|
|
1797
1783
|
*/
|
|
1798
|
-
getBasket(requestParameters, options) {
|
|
1799
|
-
return localVarFp.getBasket(requestParameters.
|
|
1784
|
+
getBasket(requestParameters = {}, options) {
|
|
1785
|
+
return localVarFp.getBasket(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1800
1786
|
},
|
|
1801
1787
|
/**
|
|
1802
1788
|
*
|
|
@@ -1804,8 +1790,8 @@ const BasketApiFactory = function (configuration, basePath, axios) {
|
|
|
1804
1790
|
* @param {*} [options] Override http request option.
|
|
1805
1791
|
* @throws {RequiredError}
|
|
1806
1792
|
*/
|
|
1807
|
-
getBasketCount(requestParameters, options) {
|
|
1808
|
-
return localVarFp.getBasketCount(requestParameters.
|
|
1793
|
+
getBasketCount(requestParameters = {}, options) {
|
|
1794
|
+
return localVarFp.getBasketCount(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1809
1795
|
},
|
|
1810
1796
|
/**
|
|
1811
1797
|
*
|
|
@@ -1862,8 +1848,8 @@ class BasketApi extends base_1.BaseAPI {
|
|
|
1862
1848
|
* @throws {RequiredError}
|
|
1863
1849
|
* @memberof BasketApi
|
|
1864
1850
|
*/
|
|
1865
|
-
getBasket(requestParameters, options) {
|
|
1866
|
-
return (0, exports.BasketApiFp)(this.configuration).getBasket(requestParameters.
|
|
1851
|
+
getBasket(requestParameters = {}, options) {
|
|
1852
|
+
return (0, exports.BasketApiFp)(this.configuration).getBasket(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1867
1853
|
}
|
|
1868
1854
|
/**
|
|
1869
1855
|
*
|
|
@@ -1872,8 +1858,8 @@ class BasketApi extends base_1.BaseAPI {
|
|
|
1872
1858
|
* @throws {RequiredError}
|
|
1873
1859
|
* @memberof BasketApi
|
|
1874
1860
|
*/
|
|
1875
|
-
getBasketCount(requestParameters, options) {
|
|
1876
|
-
return (0, exports.BasketApiFp)(this.configuration).getBasketCount(requestParameters.
|
|
1861
|
+
getBasketCount(requestParameters = {}, options) {
|
|
1862
|
+
return (0, exports.BasketApiFp)(this.configuration).getBasketCount(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1877
1863
|
}
|
|
1878
1864
|
/**
|
|
1879
1865
|
*
|
package/dist/api/api.mjs
CHANGED
|
@@ -1528,14 +1528,11 @@ export const BasketApiAxiosParamCreator = function (configuration) {
|
|
|
1528
1528
|
},
|
|
1529
1529
|
/**
|
|
1530
1530
|
*
|
|
1531
|
-
* @param {string} domain
|
|
1532
1531
|
* @param {string} [id]
|
|
1533
1532
|
* @param {*} [options] Override http request option.
|
|
1534
1533
|
* @throws {RequiredError}
|
|
1535
1534
|
*/
|
|
1536
|
-
getBasket: async (
|
|
1537
|
-
// verify required parameter 'domain' is not null or undefined
|
|
1538
|
-
assertParamExists('getBasket', 'domain', domain);
|
|
1535
|
+
getBasket: async (id, options = {}) => {
|
|
1539
1536
|
const localVarPath = `/api/baskets/single`;
|
|
1540
1537
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1541
1538
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1546,9 +1543,6 @@ export const BasketApiAxiosParamCreator = function (configuration) {
|
|
|
1546
1543
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1547
1544
|
const localVarHeaderParameter = {};
|
|
1548
1545
|
const localVarQueryParameter = {};
|
|
1549
|
-
if (domain !== undefined) {
|
|
1550
|
-
localVarQueryParameter['domain'] = domain;
|
|
1551
|
-
}
|
|
1552
1546
|
if (id !== undefined) {
|
|
1553
1547
|
localVarQueryParameter['id'] = id;
|
|
1554
1548
|
}
|
|
@@ -1562,14 +1556,11 @@ export const BasketApiAxiosParamCreator = function (configuration) {
|
|
|
1562
1556
|
},
|
|
1563
1557
|
/**
|
|
1564
1558
|
*
|
|
1565
|
-
* @param {string} domain
|
|
1566
1559
|
* @param {string} [id]
|
|
1567
1560
|
* @param {*} [options] Override http request option.
|
|
1568
1561
|
* @throws {RequiredError}
|
|
1569
1562
|
*/
|
|
1570
|
-
getBasketCount: async (
|
|
1571
|
-
// verify required parameter 'domain' is not null or undefined
|
|
1572
|
-
assertParamExists('getBasketCount', 'domain', domain);
|
|
1563
|
+
getBasketCount: async (id, options = {}) => {
|
|
1573
1564
|
const localVarPath = `/api/baskets/count`;
|
|
1574
1565
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1575
1566
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1580,9 +1571,6 @@ export const BasketApiAxiosParamCreator = function (configuration) {
|
|
|
1580
1571
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1581
1572
|
const localVarHeaderParameter = {};
|
|
1582
1573
|
const localVarQueryParameter = {};
|
|
1583
|
-
if (domain !== undefined) {
|
|
1584
|
-
localVarQueryParameter['domain'] = domain;
|
|
1585
|
-
}
|
|
1586
1574
|
if (id !== undefined) {
|
|
1587
1575
|
localVarQueryParameter['id'] = id;
|
|
1588
1576
|
}
|
|
@@ -1692,26 +1680,24 @@ export const BasketApiFp = function (configuration) {
|
|
|
1692
1680
|
},
|
|
1693
1681
|
/**
|
|
1694
1682
|
*
|
|
1695
|
-
* @param {string} domain
|
|
1696
1683
|
* @param {string} [id]
|
|
1697
1684
|
* @param {*} [options] Override http request option.
|
|
1698
1685
|
* @throws {RequiredError}
|
|
1699
1686
|
*/
|
|
1700
|
-
async getBasket(
|
|
1701
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getBasket(
|
|
1687
|
+
async getBasket(id, options) {
|
|
1688
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBasket(id, options);
|
|
1702
1689
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1703
1690
|
const localVarOperationServerBasePath = operationServerMap['BasketApi.getBasket']?.[localVarOperationServerIndex]?.url;
|
|
1704
1691
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1705
1692
|
},
|
|
1706
1693
|
/**
|
|
1707
1694
|
*
|
|
1708
|
-
* @param {string} domain
|
|
1709
1695
|
* @param {string} [id]
|
|
1710
1696
|
* @param {*} [options] Override http request option.
|
|
1711
1697
|
* @throws {RequiredError}
|
|
1712
1698
|
*/
|
|
1713
|
-
async getBasketCount(
|
|
1714
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getBasketCount(
|
|
1699
|
+
async getBasketCount(id, options) {
|
|
1700
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBasketCount(id, options);
|
|
1715
1701
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1716
1702
|
const localVarOperationServerBasePath = operationServerMap['BasketApi.getBasketCount']?.[localVarOperationServerIndex]?.url;
|
|
1717
1703
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1774,8 +1760,8 @@ export const BasketApiFactory = function (configuration, basePath, axios) {
|
|
|
1774
1760
|
* @param {*} [options] Override http request option.
|
|
1775
1761
|
* @throws {RequiredError}
|
|
1776
1762
|
*/
|
|
1777
|
-
getBasket(requestParameters, options) {
|
|
1778
|
-
return localVarFp.getBasket(requestParameters.
|
|
1763
|
+
getBasket(requestParameters = {}, options) {
|
|
1764
|
+
return localVarFp.getBasket(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1779
1765
|
},
|
|
1780
1766
|
/**
|
|
1781
1767
|
*
|
|
@@ -1783,8 +1769,8 @@ export const BasketApiFactory = function (configuration, basePath, axios) {
|
|
|
1783
1769
|
* @param {*} [options] Override http request option.
|
|
1784
1770
|
* @throws {RequiredError}
|
|
1785
1771
|
*/
|
|
1786
|
-
getBasketCount(requestParameters, options) {
|
|
1787
|
-
return localVarFp.getBasketCount(requestParameters.
|
|
1772
|
+
getBasketCount(requestParameters = {}, options) {
|
|
1773
|
+
return localVarFp.getBasketCount(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1788
1774
|
},
|
|
1789
1775
|
/**
|
|
1790
1776
|
*
|
|
@@ -1840,8 +1826,8 @@ export class BasketApi extends BaseAPI {
|
|
|
1840
1826
|
* @throws {RequiredError}
|
|
1841
1827
|
* @memberof BasketApi
|
|
1842
1828
|
*/
|
|
1843
|
-
getBasket(requestParameters, options) {
|
|
1844
|
-
return BasketApiFp(this.configuration).getBasket(requestParameters.
|
|
1829
|
+
getBasket(requestParameters = {}, options) {
|
|
1830
|
+
return BasketApiFp(this.configuration).getBasket(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1845
1831
|
}
|
|
1846
1832
|
/**
|
|
1847
1833
|
*
|
|
@@ -1850,8 +1836,8 @@ export class BasketApi extends BaseAPI {
|
|
|
1850
1836
|
* @throws {RequiredError}
|
|
1851
1837
|
* @memberof BasketApi
|
|
1852
1838
|
*/
|
|
1853
|
-
getBasketCount(requestParameters, options) {
|
|
1854
|
-
return BasketApiFp(this.configuration).getBasketCount(requestParameters.
|
|
1839
|
+
getBasketCount(requestParameters = {}, options) {
|
|
1840
|
+
return BasketApiFp(this.configuration).getBasketCount(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1855
1841
|
}
|
|
1856
1842
|
/**
|
|
1857
1843
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api-client",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.41",
|
|
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",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"bugs": {
|
|
38
38
|
"url": "https://github.com/infisale/infisale-client/issues"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "3e80db112700f1d8cb36ee399e03fd2b249aae84"
|
|
41
41
|
}
|