@infisale-client/api 1.2.105 → 1.2.108

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
@@ -1189,6 +1189,12 @@ export interface IBrandResponse {
1189
1189
  * @memberof IBrandResponse
1190
1190
  */
1191
1191
  'contents': PartialRecordLanguageEnumIContentsValue;
1192
+ /**
1193
+ *
1194
+ * @type {Array<string>}
1195
+ * @memberof IBrandResponse
1196
+ */
1197
+ 'slugs': Array<string>;
1192
1198
  }
1193
1199
  /**
1194
1200
  *
@@ -1510,6 +1516,12 @@ export interface ICategoryResponse {
1510
1516
  * @memberof ICategoryResponse
1511
1517
  */
1512
1518
  'contents': PartialRecordLanguageEnumIContentsValue;
1519
+ /**
1520
+ *
1521
+ * @type {Array<string>}
1522
+ * @memberof ICategoryResponse
1523
+ */
1524
+ 'slugs': Array<string>;
1513
1525
  /**
1514
1526
  *
1515
1527
  * @type {IImage}
@@ -1681,6 +1693,12 @@ export interface ICollection {
1681
1693
  * @memberof ICollection
1682
1694
  */
1683
1695
  'contents': PartialRecordLanguageEnumIContentsValue;
1696
+ /**
1697
+ *
1698
+ * @type {Array<string>}
1699
+ * @memberof ICollection
1700
+ */
1701
+ 'slugs': Array<string>;
1684
1702
  /**
1685
1703
  * Construct a type with a set of properties K of type T
1686
1704
  * @type {{ [key: string]: string; }}
@@ -1866,6 +1884,12 @@ export interface ICollectionResponse {
1866
1884
  * @memberof ICollectionResponse
1867
1885
  */
1868
1886
  'contents': PartialRecordLanguageEnumIContentsValue;
1887
+ /**
1888
+ *
1889
+ * @type {Array<string>}
1890
+ * @memberof ICollectionResponse
1891
+ */
1892
+ 'slugs': Array<string>;
1869
1893
  /**
1870
1894
  * Construct a type with a set of properties K of type T
1871
1895
  * @type {{ [key: string]: string; }}
@@ -2269,6 +2293,12 @@ export interface ICompany {
2269
2293
  * @memberof ICompany
2270
2294
  */
2271
2295
  'subscriptionEndsAt': string;
2296
+ /**
2297
+ *
2298
+ * @type {boolean}
2299
+ * @memberof ICompany
2300
+ */
2301
+ 'allowGuestCheckout': boolean;
2272
2302
  }
2273
2303
  /**
2274
2304
  *
@@ -2490,6 +2520,12 @@ export interface ICompanyAdminResponse {
2490
2520
  * @memberof ICompanyAdminResponse
2491
2521
  */
2492
2522
  'subscriptionEndsAt': string;
2523
+ /**
2524
+ *
2525
+ * @type {boolean}
2526
+ * @memberof ICompanyAdminResponse
2527
+ */
2528
+ 'allowGuestCheckout': boolean;
2493
2529
  /**
2494
2530
  *
2495
2531
  * @type {PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRoles}
@@ -2641,6 +2677,44 @@ export interface ICompanyAdminResponseUsersInner {
2641
2677
  */
2642
2678
  'user': PickIUserIdOrNameOrEmail;
2643
2679
  }
2680
+ /**
2681
+ *
2682
+ * @export
2683
+ * @interface ICompanyAvailablePaymentGatewaysResponse
2684
+ */
2685
+ export interface ICompanyAvailablePaymentGatewaysResponse {
2686
+ /**
2687
+ *
2688
+ * @type {Array<ICompanyAvailablePaymentGatewaysResponseDataInner>}
2689
+ * @memberof ICompanyAvailablePaymentGatewaysResponse
2690
+ */
2691
+ 'data': Array<ICompanyAvailablePaymentGatewaysResponseDataInner>;
2692
+ }
2693
+ /**
2694
+ *
2695
+ * @export
2696
+ * @interface ICompanyAvailablePaymentGatewaysResponseDataInner
2697
+ */
2698
+ export interface ICompanyAvailablePaymentGatewaysResponseDataInner {
2699
+ /**
2700
+ *
2701
+ * @type {number}
2702
+ * @memberof ICompanyAvailablePaymentGatewaysResponseDataInner
2703
+ */
2704
+ 'extraFee': number;
2705
+ /**
2706
+ *
2707
+ * @type {boolean}
2708
+ * @memberof ICompanyAvailablePaymentGatewaysResponseDataInner
2709
+ */
2710
+ 'redirect': boolean;
2711
+ /**
2712
+ *
2713
+ * @type {PaymentMethodEnum}
2714
+ * @memberof ICompanyAvailablePaymentGatewaysResponseDataInner
2715
+ */
2716
+ 'type': PaymentMethodEnum;
2717
+ }
2644
2718
  /**
2645
2719
  *
2646
2720
  * @export
@@ -3122,6 +3196,12 @@ export interface ICompanyPatchRequest {
3122
3196
  * @memberof ICompanyPatchRequest
3123
3197
  */
3124
3198
  'subscriptionEndsAt'?: string;
3199
+ /**
3200
+ *
3201
+ * @type {boolean}
3202
+ * @memberof ICompanyPatchRequest
3203
+ */
3204
+ 'allowGuestCheckout'?: boolean;
3125
3205
  }
3126
3206
  /**
3127
3207
  *
@@ -3491,6 +3571,12 @@ export interface ICompanyResponse {
3491
3571
  * @memberof ICompanyResponse
3492
3572
  */
3493
3573
  'subscriptionEndsAt': string;
3574
+ /**
3575
+ *
3576
+ * @type {boolean}
3577
+ * @memberof ICompanyResponse
3578
+ */
3579
+ 'allowGuestCheckout': boolean;
3494
3580
  /**
3495
3581
  *
3496
3582
  * @type {PickICompanyNameOrDomainsOrIdOrLanguage}
@@ -6289,6 +6375,12 @@ export interface IPageResponse {
6289
6375
  * @memberof IPageResponse
6290
6376
  */
6291
6377
  'contents': PartialRecordLanguageEnumIContentsValue;
6378
+ /**
6379
+ *
6380
+ * @type {Array<string>}
6381
+ * @memberof IPageResponse
6382
+ */
6383
+ 'slugs': Array<string>;
6292
6384
  /**
6293
6385
  *
6294
6386
  * @type {IImage}
@@ -7250,6 +7342,12 @@ export interface IProductResponse {
7250
7342
  * @memberof IProductResponse
7251
7343
  */
7252
7344
  'contents': PartialRecordLanguageEnumIContentsValue;
7345
+ /**
7346
+ *
7347
+ * @type {Array<string>}
7348
+ * @memberof IProductResponse
7349
+ */
7350
+ 'slugs': Array<string>;
7253
7351
  /**
7254
7352
  *
7255
7353
  * @type {Array<VariantType>}
@@ -9578,25 +9676,25 @@ export interface PickIBasketExcludeKeyofIBasketItems {
9578
9676
  /**
9579
9677
  * From T, pick a set of properties whose keys are in the union K
9580
9678
  * @export
9581
- * @interface PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse
9679
+ * @interface PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponseOrSlugs
9582
9680
  */
9583
- export interface PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse {
9681
+ export interface PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponseOrSlugs {
9584
9682
  /**
9585
9683
  *
9586
9684
  * @type {string}
9587
- * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse
9685
+ * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponseOrSlugs
9588
9686
  */
9589
9687
  'company': string;
9590
9688
  /**
9591
9689
  *
9592
9690
  * @type {PartialRecordLanguageEnumIContentsValue}
9593
- * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse
9691
+ * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponseOrSlugs
9594
9692
  */
9595
9693
  'contents': PartialRecordLanguageEnumIContentsValue;
9596
9694
  /**
9597
9695
  *
9598
9696
  * @type {IImage}
9599
- * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse
9697
+ * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponseOrSlugs
9600
9698
  */
9601
9699
  'thumbnail'?: IImage;
9602
9700
  }
@@ -9642,6 +9740,12 @@ export interface PickICategoryExcludeKeyofICategoryAttributes {
9642
9740
  * @memberof PickICategoryExcludeKeyofICategoryAttributes
9643
9741
  */
9644
9742
  'contents': PartialRecordLanguageEnumIContentsValue;
9743
+ /**
9744
+ *
9745
+ * @type {Array<string>}
9746
+ * @memberof PickICategoryExcludeKeyofICategoryAttributes
9747
+ */
9748
+ 'slugs': Array<string>;
9645
9749
  /**
9646
9750
  *
9647
9751
  * @type {IImage}
@@ -9658,31 +9762,31 @@ export interface PickICategoryExcludeKeyofICategoryAttributes {
9658
9762
  /**
9659
9763
  * From T, pick a set of properties whose keys are in the union K
9660
9764
  * @export
9661
- * @interface PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes
9765
+ * @interface PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributesOrSlugs
9662
9766
  */
9663
- export interface PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes {
9767
+ export interface PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributesOrSlugs {
9664
9768
  /**
9665
9769
  *
9666
9770
  * @type {string}
9667
- * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes
9771
+ * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributesOrSlugs
9668
9772
  */
9669
9773
  'company': string;
9670
9774
  /**
9671
9775
  *
9672
9776
  * @type {PartialRecordLanguageEnumIContentsValue}
9673
- * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes
9777
+ * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributesOrSlugs
9674
9778
  */
9675
9779
  'contents': PartialRecordLanguageEnumIContentsValue;
9676
9780
  /**
9677
9781
  *
9678
9782
  * @type {IImage}
9679
- * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes
9783
+ * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributesOrSlugs
9680
9784
  */
9681
9785
  'thumbnail'?: IImage;
9682
9786
  /**
9683
9787
  *
9684
9788
  * @type {string}
9685
- * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes
9789
+ * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributesOrSlugs
9686
9790
  */
9687
9791
  'main'?: string;
9688
9792
  }
@@ -9793,25 +9897,25 @@ export type PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDate
9793
9897
  /**
9794
9898
  * From T, pick a set of properties whose keys are in the union K
9795
9899
  * @export
9796
- * @interface PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplates
9900
+ * @interface PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs
9797
9901
  */
9798
- export interface PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplates {
9902
+ export interface PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs {
9799
9903
  /**
9800
9904
  *
9801
9905
  * @type {string}
9802
- * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplates
9906
+ * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs
9803
9907
  */
9804
9908
  'company': string;
9805
9909
  /**
9806
9910
  *
9807
9911
  * @type {PartialRecordLanguageEnumIContentsValue}
9808
- * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplates
9912
+ * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs
9809
9913
  */
9810
9914
  'contents': PartialRecordLanguageEnumIContentsValue;
9811
9915
  /**
9812
9916
  *
9813
9917
  * @type {IImage}
9814
- * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplates
9918
+ * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs
9815
9919
  */
9816
9920
  'thumbnail'?: IImage;
9817
9921
  }
@@ -10109,6 +10213,12 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
10109
10213
  * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
10110
10214
  */
10111
10215
  'subscriptionEndsAt': string;
10216
+ /**
10217
+ *
10218
+ * @type {boolean}
10219
+ * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
10220
+ */
10221
+ 'allowGuestCheckout': boolean;
10112
10222
  }
10113
10223
  /**
10114
10224
  *
@@ -10812,6 +10922,12 @@ export interface PickIPageExcludeKeyofIPageTemplate {
10812
10922
  * @memberof PickIPageExcludeKeyofIPageTemplate
10813
10923
  */
10814
10924
  'contents': PartialRecordLanguageEnumIContentsValue;
10925
+ /**
10926
+ *
10927
+ * @type {Array<string>}
10928
+ * @memberof PickIPageExcludeKeyofIPageTemplate
10929
+ */
10930
+ 'slugs': Array<string>;
10815
10931
  /**
10816
10932
  *
10817
10933
  * @type {IImage}
@@ -10828,31 +10944,31 @@ export interface PickIPageExcludeKeyofIPageTemplate {
10828
10944
  /**
10829
10945
  * From T, pick a set of properties whose keys are in the union K
10830
10946
  * @export
10831
- * @interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates
10947
+ * @interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs
10832
10948
  */
10833
- export interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates {
10949
+ export interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs {
10834
10950
  /**
10835
10951
  *
10836
10952
  * @type {string}
10837
- * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates
10953
+ * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs
10838
10954
  */
10839
10955
  'company': string;
10840
10956
  /**
10841
10957
  *
10842
10958
  * @type {PartialRecordLanguageEnumIContentsValue}
10843
- * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates
10959
+ * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs
10844
10960
  */
10845
10961
  'contents': PartialRecordLanguageEnumIContentsValue;
10846
10962
  /**
10847
10963
  *
10848
10964
  * @type {IImage}
10849
- * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates
10965
+ * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs
10850
10966
  */
10851
10967
  'thumbnail'?: IImage;
10852
10968
  /**
10853
10969
  *
10854
10970
  * @type {PageTypeEnum}
10855
- * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates
10971
+ * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs
10856
10972
  */
10857
10973
  'type': PageTypeEnum;
10858
10974
  }
@@ -10968,6 +11084,12 @@ export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttr
10968
11084
  * @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
10969
11085
  */
10970
11086
  'contents': PartialRecordLanguageEnumIContentsValue;
11087
+ /**
11088
+ *
11089
+ * @type {Array<string>}
11090
+ * @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
11091
+ */
11092
+ 'slugs': Array<string>;
10971
11093
  /**
10972
11094
  *
10973
11095
  * @type {Array<VariantType>}
@@ -14728,6 +14850,13 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
14728
14850
  * @throws {RequiredError}
14729
14851
  */
14730
14852
  getCompanies: (page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetCompaniesDateFieldEnum, order?: OrderEnum, sort?: string, owner?: string, type?: string, plan?: PlanTypeEnum, status?: CompanyStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14853
+ /**
14854
+ *
14855
+ * @param {string} id
14856
+ * @param {*} [options] Override http request option.
14857
+ * @throws {RequiredError}
14858
+ */
14859
+ getCompanyAvailablePaymentGateways: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14731
14860
  /**
14732
14861
  *
14733
14862
  * @param {string} domain
@@ -15061,6 +15190,13 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
15061
15190
  * @throws {RequiredError}
15062
15191
  */
15063
15192
  getCompanies(page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetCompaniesDateFieldEnum, order?: OrderEnum, sort?: string, owner?: string, type?: string, plan?: PlanTypeEnum, status?: CompanyStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICompaniesResponse>>;
15193
+ /**
15194
+ *
15195
+ * @param {string} id
15196
+ * @param {*} [options] Override http request option.
15197
+ * @throws {RequiredError}
15198
+ */
15199
+ getCompanyAvailablePaymentGateways(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICompanyAvailablePaymentGatewaysResponse>>;
15064
15200
  /**
15065
15201
  *
15066
15202
  * @param {string} domain
@@ -15372,6 +15508,13 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
15372
15508
  * @throws {RequiredError}
15373
15509
  */
15374
15510
  getCompanies(requestParameters?: CompanyApiGetCompaniesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ICompaniesResponse>;
15511
+ /**
15512
+ *
15513
+ * @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
15514
+ * @param {*} [options] Override http request option.
15515
+ * @throws {RequiredError}
15516
+ */
15517
+ getCompanyAvailablePaymentGateways(requestParameters: CompanyApiGetCompanyAvailablePaymentGatewaysRequest, options?: RawAxiosRequestConfig): AxiosPromise<ICompanyAvailablePaymentGatewaysResponse>;
15375
15518
  /**
15376
15519
  *
15377
15520
  * @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
@@ -15874,6 +16017,19 @@ export interface CompanyApiGetCompaniesRequest {
15874
16017
  */
15875
16018
  readonly status?: CompanyStatusEnum;
15876
16019
  }
16020
+ /**
16021
+ * Request parameters for getCompanyAvailablePaymentGateways operation in CompanyApi.
16022
+ * @export
16023
+ * @interface CompanyApiGetCompanyAvailablePaymentGatewaysRequest
16024
+ */
16025
+ export interface CompanyApiGetCompanyAvailablePaymentGatewaysRequest {
16026
+ /**
16027
+ *
16028
+ * @type {string}
16029
+ * @memberof CompanyApiGetCompanyAvailablePaymentGateways
16030
+ */
16031
+ readonly id: string;
16032
+ }
15877
16033
  /**
15878
16034
  * Request parameters for getCompanyByDomainName operation in CompanyApi.
15879
16035
  * @export
@@ -16500,6 +16656,14 @@ export declare class CompanyApi extends BaseAPI {
16500
16656
  * @memberof CompanyApi
16501
16657
  */
16502
16658
  getCompanies(requestParameters?: CompanyApiGetCompaniesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ICompaniesResponse, any>>;
16659
+ /**
16660
+ *
16661
+ * @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
16662
+ * @param {*} [options] Override http request option.
16663
+ * @throws {RequiredError}
16664
+ * @memberof CompanyApi
16665
+ */
16666
+ getCompanyAvailablePaymentGateways(requestParameters: CompanyApiGetCompanyAvailablePaymentGatewaysRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ICompanyAvailablePaymentGatewaysResponse, any>>;
16503
16667
  /**
16504
16668
  *
16505
16669
  * @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
package/dist/api/api.js CHANGED
@@ -4238,6 +4238,34 @@ const CompanyApiAxiosParamCreator = function (configuration) {
4238
4238
  options: localVarRequestOptions,
4239
4239
  };
4240
4240
  },
4241
+ /**
4242
+ *
4243
+ * @param {string} id
4244
+ * @param {*} [options] Override http request option.
4245
+ * @throws {RequiredError}
4246
+ */
4247
+ getCompanyAvailablePaymentGateways: async (id, options = {}) => {
4248
+ // verify required parameter 'id' is not null or undefined
4249
+ (0, common_1.assertParamExists)('getCompanyAvailablePaymentGateways', 'id', id);
4250
+ const localVarPath = `/api/companies/{id}/payment-gateways/available`
4251
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4252
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4253
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4254
+ let baseOptions;
4255
+ if (configuration) {
4256
+ baseOptions = configuration.baseOptions;
4257
+ }
4258
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4259
+ const localVarHeaderParameter = {};
4260
+ const localVarQueryParameter = {};
4261
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4262
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4263
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4264
+ return {
4265
+ url: (0, common_1.toPathString)(localVarUrlObj),
4266
+ options: localVarRequestOptions,
4267
+ };
4268
+ },
4241
4269
  /**
4242
4270
  *
4243
4271
  * @param {string} domain
@@ -5251,6 +5279,18 @@ const CompanyApiFp = function (configuration) {
5251
5279
  const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.getCompanies']?.[localVarOperationServerIndex]?.url;
5252
5280
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5253
5281
  },
5282
+ /**
5283
+ *
5284
+ * @param {string} id
5285
+ * @param {*} [options] Override http request option.
5286
+ * @throws {RequiredError}
5287
+ */
5288
+ async getCompanyAvailablePaymentGateways(id, options) {
5289
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyAvailablePaymentGateways(id, options);
5290
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5291
+ const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.getCompanyAvailablePaymentGateways']?.[localVarOperationServerIndex]?.url;
5292
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5293
+ },
5254
5294
  /**
5255
5295
  *
5256
5296
  * @param {string} domain
@@ -5713,6 +5753,15 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
5713
5753
  getCompanies(requestParameters = {}, options) {
5714
5754
  return localVarFp.getCompanies(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.owner, requestParameters.type, requestParameters.plan, requestParameters.status, options).then((request) => request(axios, basePath));
5715
5755
  },
5756
+ /**
5757
+ *
5758
+ * @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
5759
+ * @param {*} [options] Override http request option.
5760
+ * @throws {RequiredError}
5761
+ */
5762
+ getCompanyAvailablePaymentGateways(requestParameters, options) {
5763
+ return localVarFp.getCompanyAvailablePaymentGateways(requestParameters.id, options).then((request) => request(axios, basePath));
5764
+ },
5716
5765
  /**
5717
5766
  *
5718
5767
  * @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
@@ -6090,6 +6139,16 @@ class CompanyApi extends base_1.BaseAPI {
6090
6139
  getCompanies(requestParameters = {}, options) {
6091
6140
  return (0, exports.CompanyApiFp)(this.configuration).getCompanies(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.owner, requestParameters.type, requestParameters.plan, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
6092
6141
  }
6142
+ /**
6143
+ *
6144
+ * @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
6145
+ * @param {*} [options] Override http request option.
6146
+ * @throws {RequiredError}
6147
+ * @memberof CompanyApi
6148
+ */
6149
+ getCompanyAvailablePaymentGateways(requestParameters, options) {
6150
+ return (0, exports.CompanyApiFp)(this.configuration).getCompanyAvailablePaymentGateways(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
6151
+ }
6093
6152
  /**
6094
6153
  *
6095
6154
  * @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
package/dist/api/api.mjs CHANGED
@@ -4202,6 +4202,34 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
4202
4202
  options: localVarRequestOptions,
4203
4203
  };
4204
4204
  },
4205
+ /**
4206
+ *
4207
+ * @param {string} id
4208
+ * @param {*} [options] Override http request option.
4209
+ * @throws {RequiredError}
4210
+ */
4211
+ getCompanyAvailablePaymentGateways: async (id, options = {}) => {
4212
+ // verify required parameter 'id' is not null or undefined
4213
+ assertParamExists('getCompanyAvailablePaymentGateways', 'id', id);
4214
+ const localVarPath = `/api/companies/{id}/payment-gateways/available`
4215
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4216
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4217
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4218
+ let baseOptions;
4219
+ if (configuration) {
4220
+ baseOptions = configuration.baseOptions;
4221
+ }
4222
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4223
+ const localVarHeaderParameter = {};
4224
+ const localVarQueryParameter = {};
4225
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4226
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4227
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4228
+ return {
4229
+ url: toPathString(localVarUrlObj),
4230
+ options: localVarRequestOptions,
4231
+ };
4232
+ },
4205
4233
  /**
4206
4234
  *
4207
4235
  * @param {string} domain
@@ -5214,6 +5242,18 @@ export const CompanyApiFp = function (configuration) {
5214
5242
  const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanies']?.[localVarOperationServerIndex]?.url;
5215
5243
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5216
5244
  },
5245
+ /**
5246
+ *
5247
+ * @param {string} id
5248
+ * @param {*} [options] Override http request option.
5249
+ * @throws {RequiredError}
5250
+ */
5251
+ async getCompanyAvailablePaymentGateways(id, options) {
5252
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyAvailablePaymentGateways(id, options);
5253
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5254
+ const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyAvailablePaymentGateways']?.[localVarOperationServerIndex]?.url;
5255
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5256
+ },
5217
5257
  /**
5218
5258
  *
5219
5259
  * @param {string} domain
@@ -5675,6 +5715,15 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
5675
5715
  getCompanies(requestParameters = {}, options) {
5676
5716
  return localVarFp.getCompanies(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.owner, requestParameters.type, requestParameters.plan, requestParameters.status, options).then((request) => request(axios, basePath));
5677
5717
  },
5718
+ /**
5719
+ *
5720
+ * @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
5721
+ * @param {*} [options] Override http request option.
5722
+ * @throws {RequiredError}
5723
+ */
5724
+ getCompanyAvailablePaymentGateways(requestParameters, options) {
5725
+ return localVarFp.getCompanyAvailablePaymentGateways(requestParameters.id, options).then((request) => request(axios, basePath));
5726
+ },
5678
5727
  /**
5679
5728
  *
5680
5729
  * @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
@@ -6051,6 +6100,16 @@ export class CompanyApi extends BaseAPI {
6051
6100
  getCompanies(requestParameters = {}, options) {
6052
6101
  return CompanyApiFp(this.configuration).getCompanies(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.owner, requestParameters.type, requestParameters.plan, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
6053
6102
  }
6103
+ /**
6104
+ *
6105
+ * @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
6106
+ * @param {*} [options] Override http request option.
6107
+ * @throws {RequiredError}
6108
+ * @memberof CompanyApi
6109
+ */
6110
+ getCompanyAvailablePaymentGateways(requestParameters, options) {
6111
+ return CompanyApiFp(this.configuration).getCompanyAvailablePaymentGateways(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
6112
+ }
6054
6113
  /**
6055
6114
  *
6056
6115
  * @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api",
3
- "version": "1.2.105",
3
+ "version": "1.2.108",
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": "8ddccda409d781c55568c894006bff26d938d93a"
40
+ "gitHead": "e5a6d0c044c421d1902f1513504aca522af880af"
41
41
  }