@infisale-client/api-client 1.2.38 → 1.2.39
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 +12 -4
- package/dist/api/api.js +14 -7
- package/dist/api/api.mjs +14 -7
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -10486,11 +10486,12 @@ export declare const BasketApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
10486
10486
|
getBasket: (domain: string, id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10487
10487
|
/**
|
|
10488
10488
|
*
|
|
10489
|
+
* @param {string} domain
|
|
10489
10490
|
* @param {string} [id]
|
|
10490
10491
|
* @param {*} [options] Override http request option.
|
|
10491
10492
|
* @throws {RequiredError}
|
|
10492
10493
|
*/
|
|
10493
|
-
getBasketCount: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10494
|
+
getBasketCount: (domain: string, id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10494
10495
|
/**
|
|
10495
10496
|
*
|
|
10496
10497
|
* @param {IBasketMergeRequest} iBasketMergeRequest
|
|
@@ -10537,11 +10538,12 @@ export declare const BasketApiFp: (configuration?: Configuration) => {
|
|
|
10537
10538
|
getBasket(domain: string, id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IBasketResponse>>;
|
|
10538
10539
|
/**
|
|
10539
10540
|
*
|
|
10541
|
+
* @param {string} domain
|
|
10540
10542
|
* @param {string} [id]
|
|
10541
10543
|
* @param {*} [options] Override http request option.
|
|
10542
10544
|
* @throws {RequiredError}
|
|
10543
10545
|
*/
|
|
10544
|
-
getBasketCount(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IBasketCountResponse>>;
|
|
10546
|
+
getBasketCount(domain: string, id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IBasketCountResponse>>;
|
|
10545
10547
|
/**
|
|
10546
10548
|
*
|
|
10547
10549
|
* @param {IBasketMergeRequest} iBasketMergeRequest
|
|
@@ -10590,7 +10592,7 @@ export declare const BasketApiFactory: (configuration?: Configuration, basePath?
|
|
|
10590
10592
|
* @param {*} [options] Override http request option.
|
|
10591
10593
|
* @throws {RequiredError}
|
|
10592
10594
|
*/
|
|
10593
|
-
getBasketCount(requestParameters
|
|
10595
|
+
getBasketCount(requestParameters: BasketApiGetBasketCountRequest, options?: RawAxiosRequestConfig): AxiosPromise<IBasketCountResponse>;
|
|
10594
10596
|
/**
|
|
10595
10597
|
*
|
|
10596
10598
|
* @param {BasketApiMergeBasketRequest} requestParameters Request parameters.
|
|
@@ -10663,6 +10665,12 @@ export interface BasketApiGetBasketRequest {
|
|
|
10663
10665
|
* @interface BasketApiGetBasketCountRequest
|
|
10664
10666
|
*/
|
|
10665
10667
|
export interface BasketApiGetBasketCountRequest {
|
|
10668
|
+
/**
|
|
10669
|
+
*
|
|
10670
|
+
* @type {string}
|
|
10671
|
+
* @memberof BasketApiGetBasketCount
|
|
10672
|
+
*/
|
|
10673
|
+
readonly domain: string;
|
|
10666
10674
|
/**
|
|
10667
10675
|
*
|
|
10668
10676
|
* @type {string}
|
|
@@ -10740,7 +10748,7 @@ export declare class BasketApi extends BaseAPI {
|
|
|
10740
10748
|
* @throws {RequiredError}
|
|
10741
10749
|
* @memberof BasketApi
|
|
10742
10750
|
*/
|
|
10743
|
-
getBasketCount(requestParameters
|
|
10751
|
+
getBasketCount(requestParameters: BasketApiGetBasketCountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IBasketCountResponse, any>>;
|
|
10744
10752
|
/**
|
|
10745
10753
|
*
|
|
10746
10754
|
* @param {BasketApiMergeBasketRequest} requestParameters Request parameters.
|
package/dist/api/api.js
CHANGED
|
@@ -1581,11 +1581,14 @@ const BasketApiAxiosParamCreator = function (configuration) {
|
|
|
1581
1581
|
},
|
|
1582
1582
|
/**
|
|
1583
1583
|
*
|
|
1584
|
+
* @param {string} domain
|
|
1584
1585
|
* @param {string} [id]
|
|
1585
1586
|
* @param {*} [options] Override http request option.
|
|
1586
1587
|
* @throws {RequiredError}
|
|
1587
1588
|
*/
|
|
1588
|
-
getBasketCount: async (id, options = {}) => {
|
|
1589
|
+
getBasketCount: async (domain, id, options = {}) => {
|
|
1590
|
+
// verify required parameter 'domain' is not null or undefined
|
|
1591
|
+
(0, common_1.assertParamExists)('getBasketCount', 'domain', domain);
|
|
1589
1592
|
const localVarPath = `/api/baskets/count`;
|
|
1590
1593
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1591
1594
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1596,6 +1599,9 @@ const BasketApiAxiosParamCreator = function (configuration) {
|
|
|
1596
1599
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1597
1600
|
const localVarHeaderParameter = {};
|
|
1598
1601
|
const localVarQueryParameter = {};
|
|
1602
|
+
if (domain !== undefined) {
|
|
1603
|
+
localVarQueryParameter['domain'] = domain;
|
|
1604
|
+
}
|
|
1599
1605
|
if (id !== undefined) {
|
|
1600
1606
|
localVarQueryParameter['id'] = id;
|
|
1601
1607
|
}
|
|
@@ -1719,12 +1725,13 @@ const BasketApiFp = function (configuration) {
|
|
|
1719
1725
|
},
|
|
1720
1726
|
/**
|
|
1721
1727
|
*
|
|
1728
|
+
* @param {string} domain
|
|
1722
1729
|
* @param {string} [id]
|
|
1723
1730
|
* @param {*} [options] Override http request option.
|
|
1724
1731
|
* @throws {RequiredError}
|
|
1725
1732
|
*/
|
|
1726
|
-
async getBasketCount(id, options) {
|
|
1727
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getBasketCount(id, options);
|
|
1733
|
+
async getBasketCount(domain, id, options) {
|
|
1734
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBasketCount(domain, id, options);
|
|
1728
1735
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1729
1736
|
const localVarOperationServerBasePath = base_1.operationServerMap['BasketApi.getBasketCount']?.[localVarOperationServerIndex]?.url;
|
|
1730
1737
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1797,8 +1804,8 @@ const BasketApiFactory = function (configuration, basePath, axios) {
|
|
|
1797
1804
|
* @param {*} [options] Override http request option.
|
|
1798
1805
|
* @throws {RequiredError}
|
|
1799
1806
|
*/
|
|
1800
|
-
getBasketCount(requestParameters
|
|
1801
|
-
return localVarFp.getBasketCount(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1807
|
+
getBasketCount(requestParameters, options) {
|
|
1808
|
+
return localVarFp.getBasketCount(requestParameters.domain, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1802
1809
|
},
|
|
1803
1810
|
/**
|
|
1804
1811
|
*
|
|
@@ -1865,8 +1872,8 @@ class BasketApi extends base_1.BaseAPI {
|
|
|
1865
1872
|
* @throws {RequiredError}
|
|
1866
1873
|
* @memberof BasketApi
|
|
1867
1874
|
*/
|
|
1868
|
-
getBasketCount(requestParameters
|
|
1869
|
-
return (0, exports.BasketApiFp)(this.configuration).getBasketCount(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1875
|
+
getBasketCount(requestParameters, options) {
|
|
1876
|
+
return (0, exports.BasketApiFp)(this.configuration).getBasketCount(requestParameters.domain, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1870
1877
|
}
|
|
1871
1878
|
/**
|
|
1872
1879
|
*
|
package/dist/api/api.mjs
CHANGED
|
@@ -1562,11 +1562,14 @@ export const BasketApiAxiosParamCreator = function (configuration) {
|
|
|
1562
1562
|
},
|
|
1563
1563
|
/**
|
|
1564
1564
|
*
|
|
1565
|
+
* @param {string} domain
|
|
1565
1566
|
* @param {string} [id]
|
|
1566
1567
|
* @param {*} [options] Override http request option.
|
|
1567
1568
|
* @throws {RequiredError}
|
|
1568
1569
|
*/
|
|
1569
|
-
getBasketCount: async (id, options = {}) => {
|
|
1570
|
+
getBasketCount: async (domain, id, options = {}) => {
|
|
1571
|
+
// verify required parameter 'domain' is not null or undefined
|
|
1572
|
+
assertParamExists('getBasketCount', 'domain', domain);
|
|
1570
1573
|
const localVarPath = `/api/baskets/count`;
|
|
1571
1574
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1572
1575
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1577,6 +1580,9 @@ export const BasketApiAxiosParamCreator = function (configuration) {
|
|
|
1577
1580
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1578
1581
|
const localVarHeaderParameter = {};
|
|
1579
1582
|
const localVarQueryParameter = {};
|
|
1583
|
+
if (domain !== undefined) {
|
|
1584
|
+
localVarQueryParameter['domain'] = domain;
|
|
1585
|
+
}
|
|
1580
1586
|
if (id !== undefined) {
|
|
1581
1587
|
localVarQueryParameter['id'] = id;
|
|
1582
1588
|
}
|
|
@@ -1699,12 +1705,13 @@ export const BasketApiFp = function (configuration) {
|
|
|
1699
1705
|
},
|
|
1700
1706
|
/**
|
|
1701
1707
|
*
|
|
1708
|
+
* @param {string} domain
|
|
1702
1709
|
* @param {string} [id]
|
|
1703
1710
|
* @param {*} [options] Override http request option.
|
|
1704
1711
|
* @throws {RequiredError}
|
|
1705
1712
|
*/
|
|
1706
|
-
async getBasketCount(id, options) {
|
|
1707
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getBasketCount(id, options);
|
|
1713
|
+
async getBasketCount(domain, id, options) {
|
|
1714
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBasketCount(domain, id, options);
|
|
1708
1715
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1709
1716
|
const localVarOperationServerBasePath = operationServerMap['BasketApi.getBasketCount']?.[localVarOperationServerIndex]?.url;
|
|
1710
1717
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1776,8 +1783,8 @@ export const BasketApiFactory = function (configuration, basePath, axios) {
|
|
|
1776
1783
|
* @param {*} [options] Override http request option.
|
|
1777
1784
|
* @throws {RequiredError}
|
|
1778
1785
|
*/
|
|
1779
|
-
getBasketCount(requestParameters
|
|
1780
|
-
return localVarFp.getBasketCount(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1786
|
+
getBasketCount(requestParameters, options) {
|
|
1787
|
+
return localVarFp.getBasketCount(requestParameters.domain, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1781
1788
|
},
|
|
1782
1789
|
/**
|
|
1783
1790
|
*
|
|
@@ -1843,8 +1850,8 @@ export class BasketApi extends BaseAPI {
|
|
|
1843
1850
|
* @throws {RequiredError}
|
|
1844
1851
|
* @memberof BasketApi
|
|
1845
1852
|
*/
|
|
1846
|
-
getBasketCount(requestParameters
|
|
1847
|
-
return BasketApiFp(this.configuration).getBasketCount(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1853
|
+
getBasketCount(requestParameters, options) {
|
|
1854
|
+
return BasketApiFp(this.configuration).getBasketCount(requestParameters.domain, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1848
1855
|
}
|
|
1849
1856
|
/**
|
|
1850
1857
|
*
|
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.39",
|
|
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": "a2243522d8a3450966554343800b7dda538a6062"
|
|
41
41
|
}
|