@infisale-client/api 1.2.105 → 1.2.106

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
@@ -1109,6 +1109,12 @@ export interface IBrandPatchRequest {
1109
1109
  * @memberof IBrandPatchRequest
1110
1110
  */
1111
1111
  'contents'?: PartialRecordLanguageEnumIContentsValue;
1112
+ /**
1113
+ *
1114
+ * @type {Array<string>}
1115
+ * @memberof IBrandPatchRequest
1116
+ */
1117
+ 'slugs'?: Array<string>;
1112
1118
  /**
1113
1119
  *
1114
1120
  * @type {IImage}
@@ -1134,6 +1140,12 @@ export interface IBrandPostRequest {
1134
1140
  * @memberof IBrandPostRequest
1135
1141
  */
1136
1142
  'contents': PartialRecordLanguageEnumIContentsValue;
1143
+ /**
1144
+ *
1145
+ * @type {Array<string>}
1146
+ * @memberof IBrandPostRequest
1147
+ */
1148
+ 'slugs': Array<string>;
1137
1149
  /**
1138
1150
  *
1139
1151
  * @type {IImage}
@@ -1189,6 +1201,12 @@ export interface IBrandResponse {
1189
1201
  * @memberof IBrandResponse
1190
1202
  */
1191
1203
  'contents': PartialRecordLanguageEnumIContentsValue;
1204
+ /**
1205
+ *
1206
+ * @type {Array<string>}
1207
+ * @memberof IBrandResponse
1208
+ */
1209
+ 'slugs': Array<string>;
1192
1210
  }
1193
1211
  /**
1194
1212
  *
@@ -1418,6 +1436,12 @@ export interface ICategoryPatchRequest {
1418
1436
  * @memberof ICategoryPatchRequest
1419
1437
  */
1420
1438
  'contents'?: PartialRecordLanguageEnumIContentsValue;
1439
+ /**
1440
+ *
1441
+ * @type {Array<string>}
1442
+ * @memberof ICategoryPatchRequest
1443
+ */
1444
+ 'slugs'?: Array<string>;
1421
1445
  /**
1422
1446
  *
1423
1447
  * @type {IImage}
@@ -1449,6 +1473,12 @@ export interface ICategoryPostRequest {
1449
1473
  * @memberof ICategoryPostRequest
1450
1474
  */
1451
1475
  'contents': PartialRecordLanguageEnumIContentsValue;
1476
+ /**
1477
+ *
1478
+ * @type {Array<string>}
1479
+ * @memberof ICategoryPostRequest
1480
+ */
1481
+ 'slugs': Array<string>;
1452
1482
  /**
1453
1483
  *
1454
1484
  * @type {IImage}
@@ -1510,6 +1540,12 @@ export interface ICategoryResponse {
1510
1540
  * @memberof ICategoryResponse
1511
1541
  */
1512
1542
  'contents': PartialRecordLanguageEnumIContentsValue;
1543
+ /**
1544
+ *
1545
+ * @type {Array<string>}
1546
+ * @memberof ICategoryResponse
1547
+ */
1548
+ 'slugs': Array<string>;
1513
1549
  /**
1514
1550
  *
1515
1551
  * @type {IImage}
@@ -1681,6 +1717,12 @@ export interface ICollection {
1681
1717
  * @memberof ICollection
1682
1718
  */
1683
1719
  'contents': PartialRecordLanguageEnumIContentsValue;
1720
+ /**
1721
+ *
1722
+ * @type {Array<string>}
1723
+ * @memberof ICollection
1724
+ */
1725
+ 'slugs': Array<string>;
1684
1726
  /**
1685
1727
  * Construct a type with a set of properties K of type T
1686
1728
  * @type {{ [key: string]: string; }}
@@ -1780,6 +1822,12 @@ export interface ICollectionPatchRequest {
1780
1822
  * @memberof ICollectionPatchRequest
1781
1823
  */
1782
1824
  'contents'?: PartialRecordLanguageEnumIContentsValue;
1825
+ /**
1826
+ *
1827
+ * @type {Array<string>}
1828
+ * @memberof ICollectionPatchRequest
1829
+ */
1830
+ 'slugs'?: Array<string>;
1783
1831
  /**
1784
1832
  *
1785
1833
  * @type {IImage}
@@ -1805,6 +1853,12 @@ export interface ICollectionPostRequest {
1805
1853
  * @memberof ICollectionPostRequest
1806
1854
  */
1807
1855
  'contents': PartialRecordLanguageEnumIContentsValue;
1856
+ /**
1857
+ *
1858
+ * @type {Array<string>}
1859
+ * @memberof ICollectionPostRequest
1860
+ */
1861
+ 'slugs': Array<string>;
1808
1862
  /**
1809
1863
  *
1810
1864
  * @type {IImage}
@@ -1866,6 +1920,12 @@ export interface ICollectionResponse {
1866
1920
  * @memberof ICollectionResponse
1867
1921
  */
1868
1922
  'contents': PartialRecordLanguageEnumIContentsValue;
1923
+ /**
1924
+ *
1925
+ * @type {Array<string>}
1926
+ * @memberof ICollectionResponse
1927
+ */
1928
+ 'slugs': Array<string>;
1869
1929
  /**
1870
1930
  * Construct a type with a set of properties K of type T
1871
1931
  * @type {{ [key: string]: string; }}
@@ -2269,6 +2329,12 @@ export interface ICompany {
2269
2329
  * @memberof ICompany
2270
2330
  */
2271
2331
  'subscriptionEndsAt': string;
2332
+ /**
2333
+ *
2334
+ * @type {boolean}
2335
+ * @memberof ICompany
2336
+ */
2337
+ 'allowGuestCheckout': boolean;
2272
2338
  }
2273
2339
  /**
2274
2340
  *
@@ -2490,6 +2556,12 @@ export interface ICompanyAdminResponse {
2490
2556
  * @memberof ICompanyAdminResponse
2491
2557
  */
2492
2558
  'subscriptionEndsAt': string;
2559
+ /**
2560
+ *
2561
+ * @type {boolean}
2562
+ * @memberof ICompanyAdminResponse
2563
+ */
2564
+ 'allowGuestCheckout': boolean;
2493
2565
  /**
2494
2566
  *
2495
2567
  * @type {PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRoles}
@@ -2641,6 +2713,44 @@ export interface ICompanyAdminResponseUsersInner {
2641
2713
  */
2642
2714
  'user': PickIUserIdOrNameOrEmail;
2643
2715
  }
2716
+ /**
2717
+ *
2718
+ * @export
2719
+ * @interface ICompanyAvailablePaymentGatewaysResponse
2720
+ */
2721
+ export interface ICompanyAvailablePaymentGatewaysResponse {
2722
+ /**
2723
+ *
2724
+ * @type {Array<ICompanyAvailablePaymentGatewaysResponseDataInner>}
2725
+ * @memberof ICompanyAvailablePaymentGatewaysResponse
2726
+ */
2727
+ 'data': Array<ICompanyAvailablePaymentGatewaysResponseDataInner>;
2728
+ }
2729
+ /**
2730
+ *
2731
+ * @export
2732
+ * @interface ICompanyAvailablePaymentGatewaysResponseDataInner
2733
+ */
2734
+ export interface ICompanyAvailablePaymentGatewaysResponseDataInner {
2735
+ /**
2736
+ *
2737
+ * @type {number}
2738
+ * @memberof ICompanyAvailablePaymentGatewaysResponseDataInner
2739
+ */
2740
+ 'extraFee': number;
2741
+ /**
2742
+ *
2743
+ * @type {boolean}
2744
+ * @memberof ICompanyAvailablePaymentGatewaysResponseDataInner
2745
+ */
2746
+ 'redirect': boolean;
2747
+ /**
2748
+ *
2749
+ * @type {PaymentMethodEnum}
2750
+ * @memberof ICompanyAvailablePaymentGatewaysResponseDataInner
2751
+ */
2752
+ 'type': PaymentMethodEnum;
2753
+ }
2644
2754
  /**
2645
2755
  *
2646
2756
  * @export
@@ -3122,6 +3232,12 @@ export interface ICompanyPatchRequest {
3122
3232
  * @memberof ICompanyPatchRequest
3123
3233
  */
3124
3234
  'subscriptionEndsAt'?: string;
3235
+ /**
3236
+ *
3237
+ * @type {boolean}
3238
+ * @memberof ICompanyPatchRequest
3239
+ */
3240
+ 'allowGuestCheckout'?: boolean;
3125
3241
  }
3126
3242
  /**
3127
3243
  *
@@ -3491,6 +3607,12 @@ export interface ICompanyResponse {
3491
3607
  * @memberof ICompanyResponse
3492
3608
  */
3493
3609
  'subscriptionEndsAt': string;
3610
+ /**
3611
+ *
3612
+ * @type {boolean}
3613
+ * @memberof ICompanyResponse
3614
+ */
3615
+ 'allowGuestCheckout': boolean;
3494
3616
  /**
3495
3617
  *
3496
3618
  * @type {PickICompanyNameOrDomainsOrIdOrLanguage}
@@ -6189,6 +6311,12 @@ export interface IPagePatchRequest {
6189
6311
  * @memberof IPagePatchRequest
6190
6312
  */
6191
6313
  'contents'?: PartialRecordLanguageEnumIContentsValue;
6314
+ /**
6315
+ *
6316
+ * @type {Array<string>}
6317
+ * @memberof IPagePatchRequest
6318
+ */
6319
+ 'slugs'?: Array<string>;
6192
6320
  /**
6193
6321
  *
6194
6322
  * @type {IImage}
@@ -6220,6 +6348,12 @@ export interface IPagePostRequest {
6220
6348
  * @memberof IPagePostRequest
6221
6349
  */
6222
6350
  'contents': PartialRecordLanguageEnumIContentsValue;
6351
+ /**
6352
+ *
6353
+ * @type {Array<string>}
6354
+ * @memberof IPagePostRequest
6355
+ */
6356
+ 'slugs': Array<string>;
6223
6357
  /**
6224
6358
  *
6225
6359
  * @type {IImage}
@@ -6289,6 +6423,12 @@ export interface IPageResponse {
6289
6423
  * @memberof IPageResponse
6290
6424
  */
6291
6425
  'contents': PartialRecordLanguageEnumIContentsValue;
6426
+ /**
6427
+ *
6428
+ * @type {Array<string>}
6429
+ * @memberof IPageResponse
6430
+ */
6431
+ 'slugs': Array<string>;
6292
6432
  /**
6293
6433
  *
6294
6434
  * @type {IImage}
@@ -7012,6 +7152,12 @@ export interface IProductPatchRequest {
7012
7152
  * @memberof IProductPatchRequest
7013
7153
  */
7014
7154
  'contents'?: PartialRecordLanguageEnumIContentsValue;
7155
+ /**
7156
+ *
7157
+ * @type {Array<string>}
7158
+ * @memberof IProductPatchRequest
7159
+ */
7160
+ 'slugs'?: Array<string>;
7015
7161
  /**
7016
7162
  *
7017
7163
  * @type {Array<VariantType>}
@@ -7097,6 +7243,12 @@ export interface IProductPostRequest {
7097
7243
  * @memberof IProductPostRequest
7098
7244
  */
7099
7245
  'contents': PartialRecordLanguageEnumIContentsValue;
7246
+ /**
7247
+ *
7248
+ * @type {Array<string>}
7249
+ * @memberof IProductPostRequest
7250
+ */
7251
+ 'slugs': Array<string>;
7100
7252
  /**
7101
7253
  *
7102
7254
  * @type {Array<VariantType>}
@@ -7250,6 +7402,12 @@ export interface IProductResponse {
7250
7402
  * @memberof IProductResponse
7251
7403
  */
7252
7404
  'contents': PartialRecordLanguageEnumIContentsValue;
7405
+ /**
7406
+ *
7407
+ * @type {Array<string>}
7408
+ * @memberof IProductResponse
7409
+ */
7410
+ 'slugs': Array<string>;
7253
7411
  /**
7254
7412
  *
7255
7413
  * @type {Array<VariantType>}
@@ -9593,6 +9751,12 @@ export interface PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse
9593
9751
  * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse
9594
9752
  */
9595
9753
  'contents': PartialRecordLanguageEnumIContentsValue;
9754
+ /**
9755
+ *
9756
+ * @type {Array<string>}
9757
+ * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse
9758
+ */
9759
+ 'slugs': Array<string>;
9596
9760
  /**
9597
9761
  *
9598
9762
  * @type {IImage}
@@ -9642,6 +9806,12 @@ export interface PickICategoryExcludeKeyofICategoryAttributes {
9642
9806
  * @memberof PickICategoryExcludeKeyofICategoryAttributes
9643
9807
  */
9644
9808
  'contents': PartialRecordLanguageEnumIContentsValue;
9809
+ /**
9810
+ *
9811
+ * @type {Array<string>}
9812
+ * @memberof PickICategoryExcludeKeyofICategoryAttributes
9813
+ */
9814
+ 'slugs': Array<string>;
9645
9815
  /**
9646
9816
  *
9647
9817
  * @type {IImage}
@@ -9673,6 +9843,12 @@ export interface PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoRes
9673
9843
  * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes
9674
9844
  */
9675
9845
  'contents': PartialRecordLanguageEnumIContentsValue;
9846
+ /**
9847
+ *
9848
+ * @type {Array<string>}
9849
+ * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes
9850
+ */
9851
+ 'slugs': Array<string>;
9676
9852
  /**
9677
9853
  *
9678
9854
  * @type {IImage}
@@ -9808,6 +9984,12 @@ export interface PickICollectionResponseExcludeKeyofICollectionResponseKeyofMong
9808
9984
  * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplates
9809
9985
  */
9810
9986
  'contents': PartialRecordLanguageEnumIContentsValue;
9987
+ /**
9988
+ *
9989
+ * @type {Array<string>}
9990
+ * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplates
9991
+ */
9992
+ 'slugs': Array<string>;
9811
9993
  /**
9812
9994
  *
9813
9995
  * @type {IImage}
@@ -10109,6 +10291,12 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
10109
10291
  * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
10110
10292
  */
10111
10293
  'subscriptionEndsAt': string;
10294
+ /**
10295
+ *
10296
+ * @type {boolean}
10297
+ * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
10298
+ */
10299
+ 'allowGuestCheckout': boolean;
10112
10300
  }
10113
10301
  /**
10114
10302
  *
@@ -10812,6 +11000,12 @@ export interface PickIPageExcludeKeyofIPageTemplate {
10812
11000
  * @memberof PickIPageExcludeKeyofIPageTemplate
10813
11001
  */
10814
11002
  'contents': PartialRecordLanguageEnumIContentsValue;
11003
+ /**
11004
+ *
11005
+ * @type {Array<string>}
11006
+ * @memberof PickIPageExcludeKeyofIPageTemplate
11007
+ */
11008
+ 'slugs': Array<string>;
10815
11009
  /**
10816
11010
  *
10817
11011
  * @type {IImage}
@@ -10843,6 +11037,12 @@ export interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrT
10843
11037
  * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates
10844
11038
  */
10845
11039
  'contents': PartialRecordLanguageEnumIContentsValue;
11040
+ /**
11041
+ *
11042
+ * @type {Array<string>}
11043
+ * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates
11044
+ */
11045
+ 'slugs': Array<string>;
10846
11046
  /**
10847
11047
  *
10848
11048
  * @type {IImage}
@@ -10968,6 +11168,12 @@ export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttr
10968
11168
  * @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
10969
11169
  */
10970
11170
  'contents': PartialRecordLanguageEnumIContentsValue;
11171
+ /**
11172
+ *
11173
+ * @type {Array<string>}
11174
+ * @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
11175
+ */
11176
+ 'slugs': Array<string>;
10971
11177
  /**
10972
11178
  *
10973
11179
  * @type {Array<VariantType>}
@@ -11121,6 +11327,12 @@ export interface PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPo
11121
11327
  * @memberof PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPostRequestOmitFields
11122
11328
  */
11123
11329
  'contents': PartialRecordLanguageEnumIContentsValue;
11330
+ /**
11331
+ *
11332
+ * @type {Array<string>}
11333
+ * @memberof PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPostRequestOmitFields
11334
+ */
11335
+ 'slugs': Array<string>;
11124
11336
  /**
11125
11337
  *
11126
11338
  * @type {Array<VariantType>}
@@ -14728,6 +14940,13 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
14728
14940
  * @throws {RequiredError}
14729
14941
  */
14730
14942
  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>;
14943
+ /**
14944
+ *
14945
+ * @param {string} id
14946
+ * @param {*} [options] Override http request option.
14947
+ * @throws {RequiredError}
14948
+ */
14949
+ getCompanyAvailablePaymentGateways: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14731
14950
  /**
14732
14951
  *
14733
14952
  * @param {string} domain
@@ -15061,6 +15280,13 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
15061
15280
  * @throws {RequiredError}
15062
15281
  */
15063
15282
  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>>;
15283
+ /**
15284
+ *
15285
+ * @param {string} id
15286
+ * @param {*} [options] Override http request option.
15287
+ * @throws {RequiredError}
15288
+ */
15289
+ getCompanyAvailablePaymentGateways(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICompanyAvailablePaymentGatewaysResponse>>;
15064
15290
  /**
15065
15291
  *
15066
15292
  * @param {string} domain
@@ -15372,6 +15598,13 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
15372
15598
  * @throws {RequiredError}
15373
15599
  */
15374
15600
  getCompanies(requestParameters?: CompanyApiGetCompaniesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ICompaniesResponse>;
15601
+ /**
15602
+ *
15603
+ * @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
15604
+ * @param {*} [options] Override http request option.
15605
+ * @throws {RequiredError}
15606
+ */
15607
+ getCompanyAvailablePaymentGateways(requestParameters: CompanyApiGetCompanyAvailablePaymentGatewaysRequest, options?: RawAxiosRequestConfig): AxiosPromise<ICompanyAvailablePaymentGatewaysResponse>;
15375
15608
  /**
15376
15609
  *
15377
15610
  * @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
@@ -15874,6 +16107,19 @@ export interface CompanyApiGetCompaniesRequest {
15874
16107
  */
15875
16108
  readonly status?: CompanyStatusEnum;
15876
16109
  }
16110
+ /**
16111
+ * Request parameters for getCompanyAvailablePaymentGateways operation in CompanyApi.
16112
+ * @export
16113
+ * @interface CompanyApiGetCompanyAvailablePaymentGatewaysRequest
16114
+ */
16115
+ export interface CompanyApiGetCompanyAvailablePaymentGatewaysRequest {
16116
+ /**
16117
+ *
16118
+ * @type {string}
16119
+ * @memberof CompanyApiGetCompanyAvailablePaymentGateways
16120
+ */
16121
+ readonly id: string;
16122
+ }
15877
16123
  /**
15878
16124
  * Request parameters for getCompanyByDomainName operation in CompanyApi.
15879
16125
  * @export
@@ -16500,6 +16746,14 @@ export declare class CompanyApi extends BaseAPI {
16500
16746
  * @memberof CompanyApi
16501
16747
  */
16502
16748
  getCompanies(requestParameters?: CompanyApiGetCompaniesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ICompaniesResponse, any>>;
16749
+ /**
16750
+ *
16751
+ * @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
16752
+ * @param {*} [options] Override http request option.
16753
+ * @throws {RequiredError}
16754
+ * @memberof CompanyApi
16755
+ */
16756
+ getCompanyAvailablePaymentGateways(requestParameters: CompanyApiGetCompanyAvailablePaymentGatewaysRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ICompanyAvailablePaymentGatewaysResponse, any>>;
16503
16757
  /**
16504
16758
  *
16505
16759
  * @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.106",
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": "c181635a96029e7d54448598f3766064502880ec"
41
41
  }