@infisale-client/api 1.2.36 → 1.2.38
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 +57 -49
- 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
|
@@ -5487,10 +5487,10 @@ export interface IOrderResponse {
|
|
|
5487
5487
|
'user'?: string;
|
|
5488
5488
|
/**
|
|
5489
5489
|
*
|
|
5490
|
-
* @type {Array<
|
|
5490
|
+
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner>}
|
|
5491
5491
|
* @memberof IOrderResponse
|
|
5492
5492
|
*/
|
|
5493
|
-
'products': Array<
|
|
5493
|
+
'products': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner>;
|
|
5494
5494
|
/**
|
|
5495
5495
|
*
|
|
5496
5496
|
* @type {IAddress}
|
|
@@ -7139,25 +7139,25 @@ export interface ITemplateResponseComponentsInnerConfig {
|
|
|
7139
7139
|
* @type {number}
|
|
7140
7140
|
* @memberof ITemplateResponseComponentsInnerConfig
|
|
7141
7141
|
*/
|
|
7142
|
-
'
|
|
7142
|
+
'contentMobileHeight'?: number;
|
|
7143
7143
|
/**
|
|
7144
7144
|
*
|
|
7145
7145
|
* @type {number}
|
|
7146
7146
|
* @memberof ITemplateResponseComponentsInnerConfig
|
|
7147
7147
|
*/
|
|
7148
|
-
'
|
|
7148
|
+
'contentHeight'?: number;
|
|
7149
7149
|
/**
|
|
7150
7150
|
*
|
|
7151
7151
|
* @type {number}
|
|
7152
7152
|
* @memberof ITemplateResponseComponentsInnerConfig
|
|
7153
7153
|
*/
|
|
7154
|
-
'
|
|
7154
|
+
'containerMobileHeight'?: number;
|
|
7155
7155
|
/**
|
|
7156
7156
|
*
|
|
7157
7157
|
* @type {number}
|
|
7158
7158
|
* @memberof ITemplateResponseComponentsInnerConfig
|
|
7159
7159
|
*/
|
|
7160
|
-
'
|
|
7160
|
+
'containerHeight'?: number;
|
|
7161
7161
|
/**
|
|
7162
7162
|
*
|
|
7163
7163
|
* @type {number}
|
|
@@ -8939,212 +8939,212 @@ export interface PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCom
|
|
|
8939
8939
|
/**
|
|
8940
8940
|
* From T, pick a set of properties whose keys are in the union K
|
|
8941
8941
|
* @export
|
|
8942
|
-
* @interface
|
|
8942
|
+
* @interface PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
8943
8943
|
*/
|
|
8944
|
-
export interface
|
|
8944
|
+
export interface PickIOrderExcludeKeyofIOrderHtmlOrIframe {
|
|
8945
8945
|
/**
|
|
8946
8946
|
*
|
|
8947
8947
|
* @type {number}
|
|
8948
|
-
* @memberof
|
|
8948
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
8949
8949
|
*/
|
|
8950
8950
|
'number': number;
|
|
8951
8951
|
/**
|
|
8952
8952
|
*
|
|
8953
8953
|
* @type {string}
|
|
8954
|
-
* @memberof
|
|
8954
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
8955
8955
|
*/
|
|
8956
8956
|
'email'?: string;
|
|
8957
8957
|
/**
|
|
8958
8958
|
*
|
|
8959
8959
|
* @type {string}
|
|
8960
|
-
* @memberof
|
|
8960
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
8961
8961
|
*/
|
|
8962
8962
|
'company': string;
|
|
8963
8963
|
/**
|
|
8964
8964
|
*
|
|
8965
8965
|
* @type {OrderStatusEnum}
|
|
8966
|
-
* @memberof
|
|
8966
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
8967
8967
|
*/
|
|
8968
8968
|
'status': OrderStatusEnum;
|
|
8969
8969
|
/**
|
|
8970
8970
|
*
|
|
8971
8971
|
* @type {string}
|
|
8972
|
-
* @memberof
|
|
8972
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
8973
8973
|
*/
|
|
8974
8974
|
'_id': string;
|
|
8975
8975
|
/**
|
|
8976
8976
|
*
|
|
8977
8977
|
* @type {number}
|
|
8978
|
-
* @memberof
|
|
8978
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
8979
8979
|
*/
|
|
8980
8980
|
'__v': number;
|
|
8981
8981
|
/**
|
|
8982
8982
|
*
|
|
8983
8983
|
* @type {string}
|
|
8984
|
-
* @memberof
|
|
8984
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
8985
8985
|
*/
|
|
8986
8986
|
'createdAt': string;
|
|
8987
8987
|
/**
|
|
8988
8988
|
*
|
|
8989
8989
|
* @type {string}
|
|
8990
|
-
* @memberof
|
|
8990
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
8991
8991
|
*/
|
|
8992
8992
|
'updatedAt': string;
|
|
8993
8993
|
/**
|
|
8994
8994
|
*
|
|
8995
8995
|
* @type {CurrencyEnum}
|
|
8996
|
-
* @memberof
|
|
8996
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
8997
8997
|
*/
|
|
8998
8998
|
'currency': CurrencyEnum;
|
|
8999
8999
|
/**
|
|
9000
9000
|
*
|
|
9001
9001
|
* @type {string}
|
|
9002
|
-
* @memberof
|
|
9002
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
9003
9003
|
*/
|
|
9004
9004
|
'user'?: string;
|
|
9005
9005
|
/**
|
|
9006
9006
|
*
|
|
9007
|
-
* @type {Array<
|
|
9008
|
-
* @memberof
|
|
9007
|
+
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner>}
|
|
9008
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
9009
9009
|
*/
|
|
9010
|
-
'products': Array<
|
|
9010
|
+
'products': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner>;
|
|
9011
9011
|
/**
|
|
9012
9012
|
*
|
|
9013
9013
|
* @type {IAddress}
|
|
9014
|
-
* @memberof
|
|
9014
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
9015
9015
|
*/
|
|
9016
9016
|
'shippingAddress': IAddress;
|
|
9017
9017
|
/**
|
|
9018
9018
|
*
|
|
9019
9019
|
* @type {IAddress}
|
|
9020
|
-
* @memberof
|
|
9020
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
9021
9021
|
*/
|
|
9022
9022
|
'billingAddress'?: IAddress;
|
|
9023
9023
|
/**
|
|
9024
9024
|
*
|
|
9025
9025
|
* @type {PaymentMethodEnum}
|
|
9026
|
-
* @memberof
|
|
9026
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
9027
9027
|
*/
|
|
9028
9028
|
'paymentMethod': PaymentMethodEnum;
|
|
9029
9029
|
/**
|
|
9030
9030
|
*
|
|
9031
9031
|
* @type {PaymentGatewayEnum}
|
|
9032
|
-
* @memberof
|
|
9032
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
9033
9033
|
*/
|
|
9034
9034
|
'paymentGateway': PaymentGatewayEnum;
|
|
9035
9035
|
/**
|
|
9036
9036
|
*
|
|
9037
9037
|
* @type {string}
|
|
9038
|
-
* @memberof
|
|
9038
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
9039
9039
|
*/
|
|
9040
9040
|
'paymentId': string;
|
|
9041
9041
|
/**
|
|
9042
9042
|
*
|
|
9043
9043
|
* @type {number}
|
|
9044
|
-
* @memberof
|
|
9044
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
9045
9045
|
*/
|
|
9046
9046
|
'subtotal': number;
|
|
9047
9047
|
/**
|
|
9048
9048
|
*
|
|
9049
9049
|
* @type {number}
|
|
9050
|
-
* @memberof
|
|
9050
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
9051
9051
|
*/
|
|
9052
9052
|
'discount': number;
|
|
9053
9053
|
/**
|
|
9054
9054
|
*
|
|
9055
9055
|
* @type {number}
|
|
9056
|
-
* @memberof
|
|
9056
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
9057
9057
|
*/
|
|
9058
9058
|
'tax': number;
|
|
9059
9059
|
/**
|
|
9060
9060
|
*
|
|
9061
9061
|
* @type {number}
|
|
9062
|
-
* @memberof
|
|
9062
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
9063
9063
|
*/
|
|
9064
9064
|
'shipping': number;
|
|
9065
9065
|
/**
|
|
9066
9066
|
*
|
|
9067
9067
|
* @type {boolean}
|
|
9068
|
-
* @memberof
|
|
9068
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
9069
9069
|
*/
|
|
9070
9070
|
'freeShipping': boolean;
|
|
9071
9071
|
/**
|
|
9072
9072
|
*
|
|
9073
9073
|
* @type {number}
|
|
9074
|
-
* @memberof
|
|
9074
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
9075
9075
|
*/
|
|
9076
9076
|
'total': number;
|
|
9077
9077
|
/**
|
|
9078
9078
|
*
|
|
9079
9079
|
* @type {string}
|
|
9080
|
-
* @memberof
|
|
9080
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
9081
9081
|
*/
|
|
9082
9082
|
'note'?: string;
|
|
9083
9083
|
}
|
|
9084
9084
|
/**
|
|
9085
9085
|
*
|
|
9086
9086
|
* @export
|
|
9087
|
-
* @interface
|
|
9087
|
+
* @interface PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
|
|
9088
9088
|
*/
|
|
9089
|
-
export interface
|
|
9089
|
+
export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner {
|
|
9090
9090
|
/**
|
|
9091
9091
|
*
|
|
9092
9092
|
* @type {number}
|
|
9093
|
-
* @memberof
|
|
9093
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
|
|
9094
9094
|
*/
|
|
9095
9095
|
'price': number;
|
|
9096
9096
|
/**
|
|
9097
9097
|
*
|
|
9098
9098
|
* @type {number}
|
|
9099
|
-
* @memberof
|
|
9099
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
|
|
9100
9100
|
*/
|
|
9101
9101
|
'amount': number;
|
|
9102
9102
|
/**
|
|
9103
9103
|
*
|
|
9104
9104
|
* @type {string}
|
|
9105
|
-
* @memberof
|
|
9105
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
|
|
9106
9106
|
*/
|
|
9107
9107
|
'subVariantId'?: string;
|
|
9108
9108
|
/**
|
|
9109
9109
|
*
|
|
9110
9110
|
* @type {string}
|
|
9111
|
-
* @memberof
|
|
9111
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
|
|
9112
9112
|
*/
|
|
9113
9113
|
'mainVariantId'?: string;
|
|
9114
9114
|
/**
|
|
9115
9115
|
*
|
|
9116
9116
|
* @type {PartialRecordLanguageEnumString}
|
|
9117
|
-
* @memberof
|
|
9117
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
|
|
9118
9118
|
*/
|
|
9119
9119
|
'subVariantTitle': PartialRecordLanguageEnumString;
|
|
9120
9120
|
/**
|
|
9121
9121
|
*
|
|
9122
9122
|
* @type {PartialRecordLanguageEnumString}
|
|
9123
|
-
* @memberof
|
|
9123
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
|
|
9124
9124
|
*/
|
|
9125
9125
|
'mainVariantTitle': PartialRecordLanguageEnumString;
|
|
9126
9126
|
/**
|
|
9127
9127
|
*
|
|
9128
9128
|
* @type {PartialRecordLanguageEnumString}
|
|
9129
|
-
* @memberof
|
|
9129
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
|
|
9130
9130
|
*/
|
|
9131
9131
|
'productSlug': PartialRecordLanguageEnumString;
|
|
9132
9132
|
/**
|
|
9133
9133
|
*
|
|
9134
9134
|
* @type {string}
|
|
9135
|
-
* @memberof
|
|
9135
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
|
|
9136
9136
|
*/
|
|
9137
9137
|
'productThumbnail'?: string;
|
|
9138
9138
|
/**
|
|
9139
9139
|
*
|
|
9140
9140
|
* @type {PartialRecordLanguageEnumString}
|
|
9141
|
-
* @memberof
|
|
9141
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
|
|
9142
9142
|
*/
|
|
9143
9143
|
'productTitle': PartialRecordLanguageEnumString;
|
|
9144
9144
|
/**
|
|
9145
9145
|
*
|
|
9146
9146
|
* @type {string}
|
|
9147
|
-
* @memberof
|
|
9147
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
|
|
9148
9148
|
*/
|
|
9149
9149
|
'productId': string;
|
|
9150
9150
|
}
|
|
@@ -10539,11 +10539,12 @@ export declare const BasketApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
10539
10539
|
deleteProductFromBasket: (itemId: string, iBasketDeleteRequest: IBasketDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10540
10540
|
/**
|
|
10541
10541
|
*
|
|
10542
|
+
* @param {string} domain
|
|
10542
10543
|
* @param {string} [id]
|
|
10543
10544
|
* @param {*} [options] Override http request option.
|
|
10544
10545
|
* @throws {RequiredError}
|
|
10545
10546
|
*/
|
|
10546
|
-
getBasket: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10547
|
+
getBasket: (domain: string, id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10547
10548
|
/**
|
|
10548
10549
|
*
|
|
10549
10550
|
* @param {string} [id]
|
|
@@ -10589,11 +10590,12 @@ export declare const BasketApiFp: (configuration?: Configuration) => {
|
|
|
10589
10590
|
deleteProductFromBasket(itemId: string, iBasketDeleteRequest: IBasketDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
10590
10591
|
/**
|
|
10591
10592
|
*
|
|
10593
|
+
* @param {string} domain
|
|
10592
10594
|
* @param {string} [id]
|
|
10593
10595
|
* @param {*} [options] Override http request option.
|
|
10594
10596
|
* @throws {RequiredError}
|
|
10595
10597
|
*/
|
|
10596
|
-
getBasket(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IBasketResponse>>;
|
|
10598
|
+
getBasket(domain: string, id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IBasketResponse>>;
|
|
10597
10599
|
/**
|
|
10598
10600
|
*
|
|
10599
10601
|
* @param {string} [id]
|
|
@@ -10642,7 +10644,7 @@ export declare const BasketApiFactory: (configuration?: Configuration, basePath?
|
|
|
10642
10644
|
* @param {*} [options] Override http request option.
|
|
10643
10645
|
* @throws {RequiredError}
|
|
10644
10646
|
*/
|
|
10645
|
-
getBasket(requestParameters
|
|
10647
|
+
getBasket(requestParameters: BasketApiGetBasketRequest, options?: RawAxiosRequestConfig): AxiosPromise<IBasketResponse>;
|
|
10646
10648
|
/**
|
|
10647
10649
|
*
|
|
10648
10650
|
* @param {BasketApiGetBasketCountRequest} requestParameters Request parameters.
|
|
@@ -10703,6 +10705,12 @@ export interface BasketApiDeleteProductFromBasketRequest {
|
|
|
10703
10705
|
* @interface BasketApiGetBasketRequest
|
|
10704
10706
|
*/
|
|
10705
10707
|
export interface BasketApiGetBasketRequest {
|
|
10708
|
+
/**
|
|
10709
|
+
*
|
|
10710
|
+
* @type {string}
|
|
10711
|
+
* @memberof BasketApiGetBasket
|
|
10712
|
+
*/
|
|
10713
|
+
readonly domain: string;
|
|
10706
10714
|
/**
|
|
10707
10715
|
*
|
|
10708
10716
|
* @type {string}
|
|
@@ -10785,7 +10793,7 @@ export declare class BasketApi extends BaseAPI {
|
|
|
10785
10793
|
* @throws {RequiredError}
|
|
10786
10794
|
* @memberof BasketApi
|
|
10787
10795
|
*/
|
|
10788
|
-
getBasket(requestParameters
|
|
10796
|
+
getBasket(requestParameters: BasketApiGetBasketRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IBasketResponse, any>>;
|
|
10789
10797
|
/**
|
|
10790
10798
|
*
|
|
10791
10799
|
* @param {BasketApiGetBasketCountRequest} requestParameters Request parameters.
|
package/dist/api/api.js
CHANGED
|
@@ -1606,11 +1606,14 @@ const BasketApiAxiosParamCreator = function (configuration) {
|
|
|
1606
1606
|
},
|
|
1607
1607
|
/**
|
|
1608
1608
|
*
|
|
1609
|
+
* @param {string} domain
|
|
1609
1610
|
* @param {string} [id]
|
|
1610
1611
|
* @param {*} [options] Override http request option.
|
|
1611
1612
|
* @throws {RequiredError}
|
|
1612
1613
|
*/
|
|
1613
|
-
getBasket: async (id, options = {}) => {
|
|
1614
|
+
getBasket: async (domain, id, options = {}) => {
|
|
1615
|
+
// verify required parameter 'domain' is not null or undefined
|
|
1616
|
+
(0, common_1.assertParamExists)('getBasket', 'domain', domain);
|
|
1614
1617
|
const localVarPath = `/api/baskets/single`;
|
|
1615
1618
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1616
1619
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1621,6 +1624,9 @@ const BasketApiAxiosParamCreator = function (configuration) {
|
|
|
1621
1624
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1622
1625
|
const localVarHeaderParameter = {};
|
|
1623
1626
|
const localVarQueryParameter = {};
|
|
1627
|
+
if (domain !== undefined) {
|
|
1628
|
+
localVarQueryParameter['domain'] = domain;
|
|
1629
|
+
}
|
|
1624
1630
|
if (id !== undefined) {
|
|
1625
1631
|
localVarQueryParameter['id'] = id;
|
|
1626
1632
|
}
|
|
@@ -1759,12 +1765,13 @@ const BasketApiFp = function (configuration) {
|
|
|
1759
1765
|
},
|
|
1760
1766
|
/**
|
|
1761
1767
|
*
|
|
1768
|
+
* @param {string} domain
|
|
1762
1769
|
* @param {string} [id]
|
|
1763
1770
|
* @param {*} [options] Override http request option.
|
|
1764
1771
|
* @throws {RequiredError}
|
|
1765
1772
|
*/
|
|
1766
|
-
async getBasket(id, options) {
|
|
1767
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getBasket(id, options);
|
|
1773
|
+
async getBasket(domain, id, options) {
|
|
1774
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBasket(domain, id, options);
|
|
1768
1775
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1769
1776
|
const localVarOperationServerBasePath = base_1.operationServerMap['BasketApi.getBasket']?.[localVarOperationServerIndex]?.url;
|
|
1770
1777
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1840,8 +1847,8 @@ const BasketApiFactory = function (configuration, basePath, axios) {
|
|
|
1840
1847
|
* @param {*} [options] Override http request option.
|
|
1841
1848
|
* @throws {RequiredError}
|
|
1842
1849
|
*/
|
|
1843
|
-
getBasket(requestParameters
|
|
1844
|
-
return localVarFp.getBasket(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1850
|
+
getBasket(requestParameters, options) {
|
|
1851
|
+
return localVarFp.getBasket(requestParameters.domain, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1845
1852
|
},
|
|
1846
1853
|
/**
|
|
1847
1854
|
*
|
|
@@ -1907,8 +1914,8 @@ class BasketApi extends base_1.BaseAPI {
|
|
|
1907
1914
|
* @throws {RequiredError}
|
|
1908
1915
|
* @memberof BasketApi
|
|
1909
1916
|
*/
|
|
1910
|
-
getBasket(requestParameters
|
|
1911
|
-
return (0, exports.BasketApiFp)(this.configuration).getBasket(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1917
|
+
getBasket(requestParameters, options) {
|
|
1918
|
+
return (0, exports.BasketApiFp)(this.configuration).getBasket(requestParameters.domain, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1912
1919
|
}
|
|
1913
1920
|
/**
|
|
1914
1921
|
*
|
package/dist/api/api.mjs
CHANGED
|
@@ -1587,11 +1587,14 @@ export const BasketApiAxiosParamCreator = function (configuration) {
|
|
|
1587
1587
|
},
|
|
1588
1588
|
/**
|
|
1589
1589
|
*
|
|
1590
|
+
* @param {string} domain
|
|
1590
1591
|
* @param {string} [id]
|
|
1591
1592
|
* @param {*} [options] Override http request option.
|
|
1592
1593
|
* @throws {RequiredError}
|
|
1593
1594
|
*/
|
|
1594
|
-
getBasket: async (id, options = {}) => {
|
|
1595
|
+
getBasket: async (domain, id, options = {}) => {
|
|
1596
|
+
// verify required parameter 'domain' is not null or undefined
|
|
1597
|
+
assertParamExists('getBasket', 'domain', domain);
|
|
1595
1598
|
const localVarPath = `/api/baskets/single`;
|
|
1596
1599
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1597
1600
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1602,6 +1605,9 @@ export const BasketApiAxiosParamCreator = function (configuration) {
|
|
|
1602
1605
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1603
1606
|
const localVarHeaderParameter = {};
|
|
1604
1607
|
const localVarQueryParameter = {};
|
|
1608
|
+
if (domain !== undefined) {
|
|
1609
|
+
localVarQueryParameter['domain'] = domain;
|
|
1610
|
+
}
|
|
1605
1611
|
if (id !== undefined) {
|
|
1606
1612
|
localVarQueryParameter['id'] = id;
|
|
1607
1613
|
}
|
|
@@ -1739,12 +1745,13 @@ export const BasketApiFp = function (configuration) {
|
|
|
1739
1745
|
},
|
|
1740
1746
|
/**
|
|
1741
1747
|
*
|
|
1748
|
+
* @param {string} domain
|
|
1742
1749
|
* @param {string} [id]
|
|
1743
1750
|
* @param {*} [options] Override http request option.
|
|
1744
1751
|
* @throws {RequiredError}
|
|
1745
1752
|
*/
|
|
1746
|
-
async getBasket(id, options) {
|
|
1747
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getBasket(id, options);
|
|
1753
|
+
async getBasket(domain, id, options) {
|
|
1754
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBasket(domain, id, options);
|
|
1748
1755
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1749
1756
|
const localVarOperationServerBasePath = operationServerMap['BasketApi.getBasket']?.[localVarOperationServerIndex]?.url;
|
|
1750
1757
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1819,8 +1826,8 @@ export const BasketApiFactory = function (configuration, basePath, axios) {
|
|
|
1819
1826
|
* @param {*} [options] Override http request option.
|
|
1820
1827
|
* @throws {RequiredError}
|
|
1821
1828
|
*/
|
|
1822
|
-
getBasket(requestParameters
|
|
1823
|
-
return localVarFp.getBasket(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1829
|
+
getBasket(requestParameters, options) {
|
|
1830
|
+
return localVarFp.getBasket(requestParameters.domain, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1824
1831
|
},
|
|
1825
1832
|
/**
|
|
1826
1833
|
*
|
|
@@ -1885,8 +1892,8 @@ export class BasketApi extends BaseAPI {
|
|
|
1885
1892
|
* @throws {RequiredError}
|
|
1886
1893
|
* @memberof BasketApi
|
|
1887
1894
|
*/
|
|
1888
|
-
getBasket(requestParameters
|
|
1889
|
-
return BasketApiFp(this.configuration).getBasket(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1895
|
+
getBasket(requestParameters, options) {
|
|
1896
|
+
return BasketApiFp(this.configuration).getBasket(requestParameters.domain, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1890
1897
|
}
|
|
1891
1898
|
/**
|
|
1892
1899
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.38",
|
|
4
4
|
"description": "api-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": "9205366c5d2402d7bb7575bdbed18651ffd42ccc"
|
|
41
41
|
}
|