@infisale-client/api-client 1.2.37 → 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 CHANGED
@@ -5487,10 +5487,10 @@ export interface IOrderResponse {
5487
5487
  'user'?: string;
5488
5488
  /**
5489
5489
  *
5490
- * @type {Array<PickIOrderExcludeKeyofIOrderHtmlProductsInner>}
5490
+ * @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner>}
5491
5491
  * @memberof IOrderResponse
5492
5492
  */
5493
- 'products': Array<PickIOrderExcludeKeyofIOrderHtmlProductsInner>;
5493
+ 'products': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner>;
5494
5494
  /**
5495
5495
  *
5496
5496
  * @type {IAddress}
@@ -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 PickIOrderExcludeKeyofIOrderHtml
8942
+ * @interface PickIOrderExcludeKeyofIOrderHtmlOrIframe
8943
8943
  */
8944
- export interface PickIOrderExcludeKeyofIOrderHtml {
8944
+ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframe {
8945
8945
  /**
8946
8946
  *
8947
8947
  * @type {number}
8948
- * @memberof PickIOrderExcludeKeyofIOrderHtml
8948
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
8949
8949
  */
8950
8950
  'number': number;
8951
8951
  /**
8952
8952
  *
8953
8953
  * @type {string}
8954
- * @memberof PickIOrderExcludeKeyofIOrderHtml
8954
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
8955
8955
  */
8956
8956
  'email'?: string;
8957
8957
  /**
8958
8958
  *
8959
8959
  * @type {string}
8960
- * @memberof PickIOrderExcludeKeyofIOrderHtml
8960
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
8961
8961
  */
8962
8962
  'company': string;
8963
8963
  /**
8964
8964
  *
8965
8965
  * @type {OrderStatusEnum}
8966
- * @memberof PickIOrderExcludeKeyofIOrderHtml
8966
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
8967
8967
  */
8968
8968
  'status': OrderStatusEnum;
8969
8969
  /**
8970
8970
  *
8971
8971
  * @type {string}
8972
- * @memberof PickIOrderExcludeKeyofIOrderHtml
8972
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
8973
8973
  */
8974
8974
  '_id': string;
8975
8975
  /**
8976
8976
  *
8977
8977
  * @type {number}
8978
- * @memberof PickIOrderExcludeKeyofIOrderHtml
8978
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
8979
8979
  */
8980
8980
  '__v': number;
8981
8981
  /**
8982
8982
  *
8983
8983
  * @type {string}
8984
- * @memberof PickIOrderExcludeKeyofIOrderHtml
8984
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
8985
8985
  */
8986
8986
  'createdAt': string;
8987
8987
  /**
8988
8988
  *
8989
8989
  * @type {string}
8990
- * @memberof PickIOrderExcludeKeyofIOrderHtml
8990
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
8991
8991
  */
8992
8992
  'updatedAt': string;
8993
8993
  /**
8994
8994
  *
8995
8995
  * @type {CurrencyEnum}
8996
- * @memberof PickIOrderExcludeKeyofIOrderHtml
8996
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
8997
8997
  */
8998
8998
  'currency': CurrencyEnum;
8999
8999
  /**
9000
9000
  *
9001
9001
  * @type {string}
9002
- * @memberof PickIOrderExcludeKeyofIOrderHtml
9002
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
9003
9003
  */
9004
9004
  'user'?: string;
9005
9005
  /**
9006
9006
  *
9007
- * @type {Array<PickIOrderExcludeKeyofIOrderHtmlProductsInner>}
9008
- * @memberof PickIOrderExcludeKeyofIOrderHtml
9007
+ * @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner>}
9008
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
9009
9009
  */
9010
- 'products': Array<PickIOrderExcludeKeyofIOrderHtmlProductsInner>;
9010
+ 'products': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner>;
9011
9011
  /**
9012
9012
  *
9013
9013
  * @type {IAddress}
9014
- * @memberof PickIOrderExcludeKeyofIOrderHtml
9014
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
9015
9015
  */
9016
9016
  'shippingAddress': IAddress;
9017
9017
  /**
9018
9018
  *
9019
9019
  * @type {IAddress}
9020
- * @memberof PickIOrderExcludeKeyofIOrderHtml
9020
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
9021
9021
  */
9022
9022
  'billingAddress'?: IAddress;
9023
9023
  /**
9024
9024
  *
9025
9025
  * @type {PaymentMethodEnum}
9026
- * @memberof PickIOrderExcludeKeyofIOrderHtml
9026
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
9027
9027
  */
9028
9028
  'paymentMethod': PaymentMethodEnum;
9029
9029
  /**
9030
9030
  *
9031
9031
  * @type {PaymentGatewayEnum}
9032
- * @memberof PickIOrderExcludeKeyofIOrderHtml
9032
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
9033
9033
  */
9034
9034
  'paymentGateway': PaymentGatewayEnum;
9035
9035
  /**
9036
9036
  *
9037
9037
  * @type {string}
9038
- * @memberof PickIOrderExcludeKeyofIOrderHtml
9038
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
9039
9039
  */
9040
9040
  'paymentId': string;
9041
9041
  /**
9042
9042
  *
9043
9043
  * @type {number}
9044
- * @memberof PickIOrderExcludeKeyofIOrderHtml
9044
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
9045
9045
  */
9046
9046
  'subtotal': number;
9047
9047
  /**
9048
9048
  *
9049
9049
  * @type {number}
9050
- * @memberof PickIOrderExcludeKeyofIOrderHtml
9050
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
9051
9051
  */
9052
9052
  'discount': number;
9053
9053
  /**
9054
9054
  *
9055
9055
  * @type {number}
9056
- * @memberof PickIOrderExcludeKeyofIOrderHtml
9056
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
9057
9057
  */
9058
9058
  'tax': number;
9059
9059
  /**
9060
9060
  *
9061
9061
  * @type {number}
9062
- * @memberof PickIOrderExcludeKeyofIOrderHtml
9062
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
9063
9063
  */
9064
9064
  'shipping': number;
9065
9065
  /**
9066
9066
  *
9067
9067
  * @type {boolean}
9068
- * @memberof PickIOrderExcludeKeyofIOrderHtml
9068
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
9069
9069
  */
9070
9070
  'freeShipping': boolean;
9071
9071
  /**
9072
9072
  *
9073
9073
  * @type {number}
9074
- * @memberof PickIOrderExcludeKeyofIOrderHtml
9074
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
9075
9075
  */
9076
9076
  'total': number;
9077
9077
  /**
9078
9078
  *
9079
9079
  * @type {string}
9080
- * @memberof PickIOrderExcludeKeyofIOrderHtml
9080
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
9081
9081
  */
9082
9082
  'note'?: string;
9083
9083
  }
9084
9084
  /**
9085
9085
  *
9086
9086
  * @export
9087
- * @interface PickIOrderExcludeKeyofIOrderHtmlProductsInner
9087
+ * @interface PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
9088
9088
  */
9089
- export interface PickIOrderExcludeKeyofIOrderHtmlProductsInner {
9089
+ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner {
9090
9090
  /**
9091
9091
  *
9092
9092
  * @type {number}
9093
- * @memberof PickIOrderExcludeKeyofIOrderHtmlProductsInner
9093
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
9094
9094
  */
9095
9095
  'price': number;
9096
9096
  /**
9097
9097
  *
9098
9098
  * @type {number}
9099
- * @memberof PickIOrderExcludeKeyofIOrderHtmlProductsInner
9099
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
9100
9100
  */
9101
9101
  'amount': number;
9102
9102
  /**
9103
9103
  *
9104
9104
  * @type {string}
9105
- * @memberof PickIOrderExcludeKeyofIOrderHtmlProductsInner
9105
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
9106
9106
  */
9107
9107
  'subVariantId'?: string;
9108
9108
  /**
9109
9109
  *
9110
9110
  * @type {string}
9111
- * @memberof PickIOrderExcludeKeyofIOrderHtmlProductsInner
9111
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
9112
9112
  */
9113
9113
  'mainVariantId'?: string;
9114
9114
  /**
9115
9115
  *
9116
9116
  * @type {PartialRecordLanguageEnumString}
9117
- * @memberof PickIOrderExcludeKeyofIOrderHtmlProductsInner
9117
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
9118
9118
  */
9119
9119
  'subVariantTitle': PartialRecordLanguageEnumString;
9120
9120
  /**
9121
9121
  *
9122
9122
  * @type {PartialRecordLanguageEnumString}
9123
- * @memberof PickIOrderExcludeKeyofIOrderHtmlProductsInner
9123
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
9124
9124
  */
9125
9125
  'mainVariantTitle': PartialRecordLanguageEnumString;
9126
9126
  /**
9127
9127
  *
9128
9128
  * @type {PartialRecordLanguageEnumString}
9129
- * @memberof PickIOrderExcludeKeyofIOrderHtmlProductsInner
9129
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
9130
9130
  */
9131
9131
  'productSlug': PartialRecordLanguageEnumString;
9132
9132
  /**
9133
9133
  *
9134
9134
  * @type {string}
9135
- * @memberof PickIOrderExcludeKeyofIOrderHtmlProductsInner
9135
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
9136
9136
  */
9137
9137
  'productThumbnail'?: string;
9138
9138
  /**
9139
9139
  *
9140
9140
  * @type {PartialRecordLanguageEnumString}
9141
- * @memberof PickIOrderExcludeKeyofIOrderHtmlProductsInner
9141
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
9142
9142
  */
9143
9143
  'productTitle': PartialRecordLanguageEnumString;
9144
9144
  /**
9145
9145
  *
9146
9146
  * @type {string}
9147
- * @memberof PickIOrderExcludeKeyofIOrderHtmlProductsInner
9147
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
9148
9148
  */
9149
9149
  'productId': string;
9150
9150
  }
@@ -10478,18 +10478,20 @@ export declare const BasketApiAxiosParamCreator: (configuration?: Configuration)
10478
10478
  deleteProductFromBasket: (itemId: string, iBasketDeleteRequest: IBasketDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10479
10479
  /**
10480
10480
  *
10481
+ * @param {string} domain
10481
10482
  * @param {string} [id]
10482
10483
  * @param {*} [options] Override http request option.
10483
10484
  * @throws {RequiredError}
10484
10485
  */
10485
- getBasket: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10486
+ getBasket: (domain: string, id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10486
10487
  /**
10487
10488
  *
10489
+ * @param {string} domain
10488
10490
  * @param {string} [id]
10489
10491
  * @param {*} [options] Override http request option.
10490
10492
  * @throws {RequiredError}
10491
10493
  */
10492
- getBasketCount: (id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10494
+ getBasketCount: (domain: string, id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10493
10495
  /**
10494
10496
  *
10495
10497
  * @param {IBasketMergeRequest} iBasketMergeRequest
@@ -10528,18 +10530,20 @@ export declare const BasketApiFp: (configuration?: Configuration) => {
10528
10530
  deleteProductFromBasket(itemId: string, iBasketDeleteRequest: IBasketDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
10529
10531
  /**
10530
10532
  *
10533
+ * @param {string} domain
10531
10534
  * @param {string} [id]
10532
10535
  * @param {*} [options] Override http request option.
10533
10536
  * @throws {RequiredError}
10534
10537
  */
10535
- getBasket(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IBasketResponse>>;
10538
+ getBasket(domain: string, id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IBasketResponse>>;
10536
10539
  /**
10537
10540
  *
10541
+ * @param {string} domain
10538
10542
  * @param {string} [id]
10539
10543
  * @param {*} [options] Override http request option.
10540
10544
  * @throws {RequiredError}
10541
10545
  */
10542
- 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>>;
10543
10547
  /**
10544
10548
  *
10545
10549
  * @param {IBasketMergeRequest} iBasketMergeRequest
@@ -10581,14 +10585,14 @@ export declare const BasketApiFactory: (configuration?: Configuration, basePath?
10581
10585
  * @param {*} [options] Override http request option.
10582
10586
  * @throws {RequiredError}
10583
10587
  */
10584
- getBasket(requestParameters?: BasketApiGetBasketRequest, options?: RawAxiosRequestConfig): AxiosPromise<IBasketResponse>;
10588
+ getBasket(requestParameters: BasketApiGetBasketRequest, options?: RawAxiosRequestConfig): AxiosPromise<IBasketResponse>;
10585
10589
  /**
10586
10590
  *
10587
10591
  * @param {BasketApiGetBasketCountRequest} requestParameters Request parameters.
10588
10592
  * @param {*} [options] Override http request option.
10589
10593
  * @throws {RequiredError}
10590
10594
  */
10591
- getBasketCount(requestParameters?: BasketApiGetBasketCountRequest, options?: RawAxiosRequestConfig): AxiosPromise<IBasketCountResponse>;
10595
+ getBasketCount(requestParameters: BasketApiGetBasketCountRequest, options?: RawAxiosRequestConfig): AxiosPromise<IBasketCountResponse>;
10592
10596
  /**
10593
10597
  *
10594
10598
  * @param {BasketApiMergeBasketRequest} requestParameters Request parameters.
@@ -10642,6 +10646,12 @@ export interface BasketApiDeleteProductFromBasketRequest {
10642
10646
  * @interface BasketApiGetBasketRequest
10643
10647
  */
10644
10648
  export interface BasketApiGetBasketRequest {
10649
+ /**
10650
+ *
10651
+ * @type {string}
10652
+ * @memberof BasketApiGetBasket
10653
+ */
10654
+ readonly domain: string;
10645
10655
  /**
10646
10656
  *
10647
10657
  * @type {string}
@@ -10655,6 +10665,12 @@ export interface BasketApiGetBasketRequest {
10655
10665
  * @interface BasketApiGetBasketCountRequest
10656
10666
  */
10657
10667
  export interface BasketApiGetBasketCountRequest {
10668
+ /**
10669
+ *
10670
+ * @type {string}
10671
+ * @memberof BasketApiGetBasketCount
10672
+ */
10673
+ readonly domain: string;
10658
10674
  /**
10659
10675
  *
10660
10676
  * @type {string}
@@ -10724,7 +10740,7 @@ export declare class BasketApi extends BaseAPI {
10724
10740
  * @throws {RequiredError}
10725
10741
  * @memberof BasketApi
10726
10742
  */
10727
- getBasket(requestParameters?: BasketApiGetBasketRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IBasketResponse, any>>;
10743
+ getBasket(requestParameters: BasketApiGetBasketRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IBasketResponse, any>>;
10728
10744
  /**
10729
10745
  *
10730
10746
  * @param {BasketApiGetBasketCountRequest} requestParameters Request parameters.
@@ -10732,7 +10748,7 @@ export declare class BasketApi extends BaseAPI {
10732
10748
  * @throws {RequiredError}
10733
10749
  * @memberof BasketApi
10734
10750
  */
10735
- getBasketCount(requestParameters?: BasketApiGetBasketCountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IBasketCountResponse, any>>;
10751
+ getBasketCount(requestParameters: BasketApiGetBasketCountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IBasketCountResponse, any>>;
10736
10752
  /**
10737
10753
  *
10738
10754
  * @param {BasketApiMergeBasketRequest} requestParameters Request parameters.
package/dist/api/api.js CHANGED
@@ -1547,11 +1547,14 @@ const BasketApiAxiosParamCreator = function (configuration) {
1547
1547
  },
1548
1548
  /**
1549
1549
  *
1550
+ * @param {string} domain
1550
1551
  * @param {string} [id]
1551
1552
  * @param {*} [options] Override http request option.
1552
1553
  * @throws {RequiredError}
1553
1554
  */
1554
- getBasket: async (id, options = {}) => {
1555
+ getBasket: async (domain, id, options = {}) => {
1556
+ // verify required parameter 'domain' is not null or undefined
1557
+ (0, common_1.assertParamExists)('getBasket', 'domain', domain);
1555
1558
  const localVarPath = `/api/baskets/single`;
1556
1559
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1557
1560
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1562,6 +1565,9 @@ const BasketApiAxiosParamCreator = function (configuration) {
1562
1565
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1563
1566
  const localVarHeaderParameter = {};
1564
1567
  const localVarQueryParameter = {};
1568
+ if (domain !== undefined) {
1569
+ localVarQueryParameter['domain'] = domain;
1570
+ }
1565
1571
  if (id !== undefined) {
1566
1572
  localVarQueryParameter['id'] = id;
1567
1573
  }
@@ -1575,11 +1581,14 @@ const BasketApiAxiosParamCreator = function (configuration) {
1575
1581
  },
1576
1582
  /**
1577
1583
  *
1584
+ * @param {string} domain
1578
1585
  * @param {string} [id]
1579
1586
  * @param {*} [options] Override http request option.
1580
1587
  * @throws {RequiredError}
1581
1588
  */
1582
- 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);
1583
1592
  const localVarPath = `/api/baskets/count`;
1584
1593
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1585
1594
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1590,6 +1599,9 @@ const BasketApiAxiosParamCreator = function (configuration) {
1590
1599
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1591
1600
  const localVarHeaderParameter = {};
1592
1601
  const localVarQueryParameter = {};
1602
+ if (domain !== undefined) {
1603
+ localVarQueryParameter['domain'] = domain;
1604
+ }
1593
1605
  if (id !== undefined) {
1594
1606
  localVarQueryParameter['id'] = id;
1595
1607
  }
@@ -1700,24 +1712,26 @@ const BasketApiFp = function (configuration) {
1700
1712
  },
1701
1713
  /**
1702
1714
  *
1715
+ * @param {string} domain
1703
1716
  * @param {string} [id]
1704
1717
  * @param {*} [options] Override http request option.
1705
1718
  * @throws {RequiredError}
1706
1719
  */
1707
- async getBasket(id, options) {
1708
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBasket(id, options);
1720
+ async getBasket(domain, id, options) {
1721
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBasket(domain, id, options);
1709
1722
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1710
1723
  const localVarOperationServerBasePath = base_1.operationServerMap['BasketApi.getBasket']?.[localVarOperationServerIndex]?.url;
1711
1724
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1712
1725
  },
1713
1726
  /**
1714
1727
  *
1728
+ * @param {string} domain
1715
1729
  * @param {string} [id]
1716
1730
  * @param {*} [options] Override http request option.
1717
1731
  * @throws {RequiredError}
1718
1732
  */
1719
- async getBasketCount(id, options) {
1720
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBasketCount(id, options);
1733
+ async getBasketCount(domain, id, options) {
1734
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBasketCount(domain, id, options);
1721
1735
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1722
1736
  const localVarOperationServerBasePath = base_1.operationServerMap['BasketApi.getBasketCount']?.[localVarOperationServerIndex]?.url;
1723
1737
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1781,8 +1795,8 @@ const BasketApiFactory = function (configuration, basePath, axios) {
1781
1795
  * @param {*} [options] Override http request option.
1782
1796
  * @throws {RequiredError}
1783
1797
  */
1784
- getBasket(requestParameters = {}, options) {
1785
- return localVarFp.getBasket(requestParameters.id, options).then((request) => request(axios, basePath));
1798
+ getBasket(requestParameters, options) {
1799
+ return localVarFp.getBasket(requestParameters.domain, requestParameters.id, options).then((request) => request(axios, basePath));
1786
1800
  },
1787
1801
  /**
1788
1802
  *
@@ -1790,8 +1804,8 @@ const BasketApiFactory = function (configuration, basePath, axios) {
1790
1804
  * @param {*} [options] Override http request option.
1791
1805
  * @throws {RequiredError}
1792
1806
  */
1793
- getBasketCount(requestParameters = {}, options) {
1794
- 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));
1795
1809
  },
1796
1810
  /**
1797
1811
  *
@@ -1848,8 +1862,8 @@ class BasketApi extends base_1.BaseAPI {
1848
1862
  * @throws {RequiredError}
1849
1863
  * @memberof BasketApi
1850
1864
  */
1851
- getBasket(requestParameters = {}, options) {
1852
- return (0, exports.BasketApiFp)(this.configuration).getBasket(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
1865
+ getBasket(requestParameters, options) {
1866
+ return (0, exports.BasketApiFp)(this.configuration).getBasket(requestParameters.domain, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
1853
1867
  }
1854
1868
  /**
1855
1869
  *
@@ -1858,8 +1872,8 @@ class BasketApi extends base_1.BaseAPI {
1858
1872
  * @throws {RequiredError}
1859
1873
  * @memberof BasketApi
1860
1874
  */
1861
- getBasketCount(requestParameters = {}, options) {
1862
- 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));
1863
1877
  }
1864
1878
  /**
1865
1879
  *
package/dist/api/api.mjs CHANGED
@@ -1528,11 +1528,14 @@ export const BasketApiAxiosParamCreator = function (configuration) {
1528
1528
  },
1529
1529
  /**
1530
1530
  *
1531
+ * @param {string} domain
1531
1532
  * @param {string} [id]
1532
1533
  * @param {*} [options] Override http request option.
1533
1534
  * @throws {RequiredError}
1534
1535
  */
1535
- getBasket: async (id, options = {}) => {
1536
+ getBasket: async (domain, id, options = {}) => {
1537
+ // verify required parameter 'domain' is not null or undefined
1538
+ assertParamExists('getBasket', 'domain', domain);
1536
1539
  const localVarPath = `/api/baskets/single`;
1537
1540
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1538
1541
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1543,6 +1546,9 @@ export const BasketApiAxiosParamCreator = function (configuration) {
1543
1546
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1544
1547
  const localVarHeaderParameter = {};
1545
1548
  const localVarQueryParameter = {};
1549
+ if (domain !== undefined) {
1550
+ localVarQueryParameter['domain'] = domain;
1551
+ }
1546
1552
  if (id !== undefined) {
1547
1553
  localVarQueryParameter['id'] = id;
1548
1554
  }
@@ -1556,11 +1562,14 @@ export const BasketApiAxiosParamCreator = function (configuration) {
1556
1562
  },
1557
1563
  /**
1558
1564
  *
1565
+ * @param {string} domain
1559
1566
  * @param {string} [id]
1560
1567
  * @param {*} [options] Override http request option.
1561
1568
  * @throws {RequiredError}
1562
1569
  */
1563
- 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);
1564
1573
  const localVarPath = `/api/baskets/count`;
1565
1574
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1566
1575
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1571,6 +1580,9 @@ export const BasketApiAxiosParamCreator = function (configuration) {
1571
1580
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1572
1581
  const localVarHeaderParameter = {};
1573
1582
  const localVarQueryParameter = {};
1583
+ if (domain !== undefined) {
1584
+ localVarQueryParameter['domain'] = domain;
1585
+ }
1574
1586
  if (id !== undefined) {
1575
1587
  localVarQueryParameter['id'] = id;
1576
1588
  }
@@ -1680,24 +1692,26 @@ export const BasketApiFp = function (configuration) {
1680
1692
  },
1681
1693
  /**
1682
1694
  *
1695
+ * @param {string} domain
1683
1696
  * @param {string} [id]
1684
1697
  * @param {*} [options] Override http request option.
1685
1698
  * @throws {RequiredError}
1686
1699
  */
1687
- async getBasket(id, options) {
1688
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBasket(id, options);
1700
+ async getBasket(domain, id, options) {
1701
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBasket(domain, id, options);
1689
1702
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1690
1703
  const localVarOperationServerBasePath = operationServerMap['BasketApi.getBasket']?.[localVarOperationServerIndex]?.url;
1691
1704
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1692
1705
  },
1693
1706
  /**
1694
1707
  *
1708
+ * @param {string} domain
1695
1709
  * @param {string} [id]
1696
1710
  * @param {*} [options] Override http request option.
1697
1711
  * @throws {RequiredError}
1698
1712
  */
1699
- async getBasketCount(id, options) {
1700
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBasketCount(id, options);
1713
+ async getBasketCount(domain, id, options) {
1714
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBasketCount(domain, id, options);
1701
1715
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1702
1716
  const localVarOperationServerBasePath = operationServerMap['BasketApi.getBasketCount']?.[localVarOperationServerIndex]?.url;
1703
1717
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1760,8 +1774,8 @@ export const BasketApiFactory = function (configuration, basePath, axios) {
1760
1774
  * @param {*} [options] Override http request option.
1761
1775
  * @throws {RequiredError}
1762
1776
  */
1763
- getBasket(requestParameters = {}, options) {
1764
- return localVarFp.getBasket(requestParameters.id, options).then((request) => request(axios, basePath));
1777
+ getBasket(requestParameters, options) {
1778
+ return localVarFp.getBasket(requestParameters.domain, requestParameters.id, options).then((request) => request(axios, basePath));
1765
1779
  },
1766
1780
  /**
1767
1781
  *
@@ -1769,8 +1783,8 @@ export const BasketApiFactory = function (configuration, basePath, axios) {
1769
1783
  * @param {*} [options] Override http request option.
1770
1784
  * @throws {RequiredError}
1771
1785
  */
1772
- getBasketCount(requestParameters = {}, options) {
1773
- 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));
1774
1788
  },
1775
1789
  /**
1776
1790
  *
@@ -1826,8 +1840,8 @@ export class BasketApi extends BaseAPI {
1826
1840
  * @throws {RequiredError}
1827
1841
  * @memberof BasketApi
1828
1842
  */
1829
- getBasket(requestParameters = {}, options) {
1830
- return BasketApiFp(this.configuration).getBasket(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
1843
+ getBasket(requestParameters, options) {
1844
+ return BasketApiFp(this.configuration).getBasket(requestParameters.domain, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
1831
1845
  }
1832
1846
  /**
1833
1847
  *
@@ -1836,8 +1850,8 @@ export class BasketApi extends BaseAPI {
1836
1850
  * @throws {RequiredError}
1837
1851
  * @memberof BasketApi
1838
1852
  */
1839
- getBasketCount(requestParameters = {}, options) {
1840
- 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));
1841
1855
  }
1842
1856
  /**
1843
1857
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api-client",
3
- "version": "1.2.37",
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": "07b3da87af89af7cd88722c3cec57e61ed5e3515"
40
+ "gitHead": "a2243522d8a3450966554343800b7dda538a6062"
41
41
  }