@infisale-client/api-client 1.2.40 → 1.2.42
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 +52 -30
- 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
|
@@ -727,11 +727,11 @@ export interface IAllCategoriesTreeResponseDataInner {
|
|
|
727
727
|
*/
|
|
728
728
|
'attributes': Array<ICategoryResponseAttributesInner>;
|
|
729
729
|
/**
|
|
730
|
-
*
|
|
731
|
-
* @type {
|
|
730
|
+
*
|
|
731
|
+
* @type {PartialRecordLanguageEnumTitleString}
|
|
732
732
|
* @memberof IAllCategoriesTreeResponseDataInner
|
|
733
733
|
*/
|
|
734
|
-
'contents':
|
|
734
|
+
'contents': PartialRecordLanguageEnumTitleString;
|
|
735
735
|
/**
|
|
736
736
|
*
|
|
737
737
|
* @type {string}
|
|
@@ -8284,6 +8284,44 @@ export interface PartialRecordLanguageEnumString {
|
|
|
8284
8284
|
*/
|
|
8285
8285
|
'de'?: string;
|
|
8286
8286
|
}
|
|
8287
|
+
/**
|
|
8288
|
+
* Make all properties in T optional
|
|
8289
|
+
* @export
|
|
8290
|
+
* @interface PartialRecordLanguageEnumTitleString
|
|
8291
|
+
*/
|
|
8292
|
+
export interface PartialRecordLanguageEnumTitleString {
|
|
8293
|
+
/**
|
|
8294
|
+
*
|
|
8295
|
+
* @type {PartialRecordLanguageEnumTitleStringTr}
|
|
8296
|
+
* @memberof PartialRecordLanguageEnumTitleString
|
|
8297
|
+
*/
|
|
8298
|
+
'tr'?: PartialRecordLanguageEnumTitleStringTr;
|
|
8299
|
+
/**
|
|
8300
|
+
*
|
|
8301
|
+
* @type {PartialRecordLanguageEnumTitleStringTr}
|
|
8302
|
+
* @memberof PartialRecordLanguageEnumTitleString
|
|
8303
|
+
*/
|
|
8304
|
+
'en'?: PartialRecordLanguageEnumTitleStringTr;
|
|
8305
|
+
/**
|
|
8306
|
+
*
|
|
8307
|
+
* @type {PartialRecordLanguageEnumTitleStringTr}
|
|
8308
|
+
* @memberof PartialRecordLanguageEnumTitleString
|
|
8309
|
+
*/
|
|
8310
|
+
'de'?: PartialRecordLanguageEnumTitleStringTr;
|
|
8311
|
+
}
|
|
8312
|
+
/**
|
|
8313
|
+
*
|
|
8314
|
+
* @export
|
|
8315
|
+
* @interface PartialRecordLanguageEnumTitleStringTr
|
|
8316
|
+
*/
|
|
8317
|
+
export interface PartialRecordLanguageEnumTitleStringTr {
|
|
8318
|
+
/**
|
|
8319
|
+
*
|
|
8320
|
+
* @type {string}
|
|
8321
|
+
* @memberof PartialRecordLanguageEnumTitleStringTr
|
|
8322
|
+
*/
|
|
8323
|
+
'title': string;
|
|
8324
|
+
}
|
|
8287
8325
|
/**
|
|
8288
8326
|
*
|
|
8289
8327
|
* @export
|
|
@@ -9950,11 +9988,11 @@ export interface SubCategories {
|
|
|
9950
9988
|
*/
|
|
9951
9989
|
'attributes': Array<ICategoryResponseAttributesInner>;
|
|
9952
9990
|
/**
|
|
9953
|
-
*
|
|
9954
|
-
* @type {
|
|
9991
|
+
*
|
|
9992
|
+
* @type {PartialRecordLanguageEnumTitleString}
|
|
9955
9993
|
* @memberof SubCategories
|
|
9956
9994
|
*/
|
|
9957
|
-
'contents':
|
|
9995
|
+
'contents': PartialRecordLanguageEnumTitleString;
|
|
9958
9996
|
/**
|
|
9959
9997
|
*
|
|
9960
9998
|
* @type {string}
|
|
@@ -10553,20 +10591,18 @@ export declare const BasketApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
10553
10591
|
deleteProductFromBasket: (itemId: string, iBasketDeleteRequest: IBasketDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10554
10592
|
/**
|
|
10555
10593
|
*
|
|
10556
|
-
* @param {string} domain
|
|
10557
10594
|
* @param {string} [id]
|
|
10558
10595
|
* @param {*} [options] Override http request option.
|
|
10559
10596
|
* @throws {RequiredError}
|
|
10560
10597
|
*/
|
|
10561
|
-
getBasket: (
|
|
10598
|
+
getBasket: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10562
10599
|
/**
|
|
10563
10600
|
*
|
|
10564
|
-
* @param {string} domain
|
|
10565
10601
|
* @param {string} [id]
|
|
10566
10602
|
* @param {*} [options] Override http request option.
|
|
10567
10603
|
* @throws {RequiredError}
|
|
10568
10604
|
*/
|
|
10569
|
-
getBasketCount: (
|
|
10605
|
+
getBasketCount: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10570
10606
|
/**
|
|
10571
10607
|
*
|
|
10572
10608
|
* @param {IBasketMergeRequest} iBasketMergeRequest
|
|
@@ -10605,20 +10641,18 @@ export declare const BasketApiFp: (configuration?: Configuration) => {
|
|
|
10605
10641
|
deleteProductFromBasket(itemId: string, iBasketDeleteRequest: IBasketDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
10606
10642
|
/**
|
|
10607
10643
|
*
|
|
10608
|
-
* @param {string} domain
|
|
10609
10644
|
* @param {string} [id]
|
|
10610
10645
|
* @param {*} [options] Override http request option.
|
|
10611
10646
|
* @throws {RequiredError}
|
|
10612
10647
|
*/
|
|
10613
|
-
getBasket(
|
|
10648
|
+
getBasket(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IBasketResponse>>;
|
|
10614
10649
|
/**
|
|
10615
10650
|
*
|
|
10616
|
-
* @param {string} domain
|
|
10617
10651
|
* @param {string} [id]
|
|
10618
10652
|
* @param {*} [options] Override http request option.
|
|
10619
10653
|
* @throws {RequiredError}
|
|
10620
10654
|
*/
|
|
10621
|
-
getBasketCount(
|
|
10655
|
+
getBasketCount(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IBasketCountResponse>>;
|
|
10622
10656
|
/**
|
|
10623
10657
|
*
|
|
10624
10658
|
* @param {IBasketMergeRequest} iBasketMergeRequest
|
|
@@ -10660,14 +10694,14 @@ export declare const BasketApiFactory: (configuration?: Configuration, basePath?
|
|
|
10660
10694
|
* @param {*} [options] Override http request option.
|
|
10661
10695
|
* @throws {RequiredError}
|
|
10662
10696
|
*/
|
|
10663
|
-
getBasket(requestParameters
|
|
10697
|
+
getBasket(requestParameters?: BasketApiGetBasketRequest, options?: RawAxiosRequestConfig): AxiosPromise<IBasketResponse>;
|
|
10664
10698
|
/**
|
|
10665
10699
|
*
|
|
10666
10700
|
* @param {BasketApiGetBasketCountRequest} requestParameters Request parameters.
|
|
10667
10701
|
* @param {*} [options] Override http request option.
|
|
10668
10702
|
* @throws {RequiredError}
|
|
10669
10703
|
*/
|
|
10670
|
-
getBasketCount(requestParameters
|
|
10704
|
+
getBasketCount(requestParameters?: BasketApiGetBasketCountRequest, options?: RawAxiosRequestConfig): AxiosPromise<IBasketCountResponse>;
|
|
10671
10705
|
/**
|
|
10672
10706
|
*
|
|
10673
10707
|
* @param {BasketApiMergeBasketRequest} requestParameters Request parameters.
|
|
@@ -10721,12 +10755,6 @@ export interface BasketApiDeleteProductFromBasketRequest {
|
|
|
10721
10755
|
* @interface BasketApiGetBasketRequest
|
|
10722
10756
|
*/
|
|
10723
10757
|
export interface BasketApiGetBasketRequest {
|
|
10724
|
-
/**
|
|
10725
|
-
*
|
|
10726
|
-
* @type {string}
|
|
10727
|
-
* @memberof BasketApiGetBasket
|
|
10728
|
-
*/
|
|
10729
|
-
readonly domain: string;
|
|
10730
10758
|
/**
|
|
10731
10759
|
*
|
|
10732
10760
|
* @type {string}
|
|
@@ -10740,12 +10768,6 @@ export interface BasketApiGetBasketRequest {
|
|
|
10740
10768
|
* @interface BasketApiGetBasketCountRequest
|
|
10741
10769
|
*/
|
|
10742
10770
|
export interface BasketApiGetBasketCountRequest {
|
|
10743
|
-
/**
|
|
10744
|
-
*
|
|
10745
|
-
* @type {string}
|
|
10746
|
-
* @memberof BasketApiGetBasketCount
|
|
10747
|
-
*/
|
|
10748
|
-
readonly domain: string;
|
|
10749
10771
|
/**
|
|
10750
10772
|
*
|
|
10751
10773
|
* @type {string}
|
|
@@ -10815,7 +10837,7 @@ export declare class BasketApi extends BaseAPI {
|
|
|
10815
10837
|
* @throws {RequiredError}
|
|
10816
10838
|
* @memberof BasketApi
|
|
10817
10839
|
*/
|
|
10818
|
-
getBasket(requestParameters
|
|
10840
|
+
getBasket(requestParameters?: BasketApiGetBasketRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IBasketResponse, any>>;
|
|
10819
10841
|
/**
|
|
10820
10842
|
*
|
|
10821
10843
|
* @param {BasketApiGetBasketCountRequest} requestParameters Request parameters.
|
|
@@ -10823,7 +10845,7 @@ export declare class BasketApi extends BaseAPI {
|
|
|
10823
10845
|
* @throws {RequiredError}
|
|
10824
10846
|
* @memberof BasketApi
|
|
10825
10847
|
*/
|
|
10826
|
-
getBasketCount(requestParameters
|
|
10848
|
+
getBasketCount(requestParameters?: BasketApiGetBasketCountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IBasketCountResponse, any>>;
|
|
10827
10849
|
/**
|
|
10828
10850
|
*
|
|
10829
10851
|
* @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.42",
|
|
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": "980840ea651d348c27afd8bf83721d6e21554bff"
|
|
41
41
|
}
|