@infisale-client/api-client 1.2.105 → 1.2.107
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 +254 -0
- package/dist/api/api.js +59 -0
- package/dist/api/api.mjs +59 -0
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -1096,6 +1096,12 @@ export interface IBrandPatchRequest {
|
|
|
1096
1096
|
* @memberof IBrandPatchRequest
|
|
1097
1097
|
*/
|
|
1098
1098
|
'contents'?: PartialRecordLanguageEnumIContentsValue;
|
|
1099
|
+
/**
|
|
1100
|
+
*
|
|
1101
|
+
* @type {Array<string>}
|
|
1102
|
+
* @memberof IBrandPatchRequest
|
|
1103
|
+
*/
|
|
1104
|
+
'slugs'?: Array<string>;
|
|
1099
1105
|
/**
|
|
1100
1106
|
*
|
|
1101
1107
|
* @type {IImage}
|
|
@@ -1121,6 +1127,12 @@ export interface IBrandPostRequest {
|
|
|
1121
1127
|
* @memberof IBrandPostRequest
|
|
1122
1128
|
*/
|
|
1123
1129
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
1130
|
+
/**
|
|
1131
|
+
*
|
|
1132
|
+
* @type {Array<string>}
|
|
1133
|
+
* @memberof IBrandPostRequest
|
|
1134
|
+
*/
|
|
1135
|
+
'slugs': Array<string>;
|
|
1124
1136
|
/**
|
|
1125
1137
|
*
|
|
1126
1138
|
* @type {IImage}
|
|
@@ -1176,6 +1188,12 @@ export interface IBrandResponse {
|
|
|
1176
1188
|
* @memberof IBrandResponse
|
|
1177
1189
|
*/
|
|
1178
1190
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
1191
|
+
/**
|
|
1192
|
+
*
|
|
1193
|
+
* @type {Array<string>}
|
|
1194
|
+
* @memberof IBrandResponse
|
|
1195
|
+
*/
|
|
1196
|
+
'slugs': Array<string>;
|
|
1179
1197
|
}
|
|
1180
1198
|
/**
|
|
1181
1199
|
*
|
|
@@ -1405,6 +1423,12 @@ export interface ICategoryPatchRequest {
|
|
|
1405
1423
|
* @memberof ICategoryPatchRequest
|
|
1406
1424
|
*/
|
|
1407
1425
|
'contents'?: PartialRecordLanguageEnumIContentsValue;
|
|
1426
|
+
/**
|
|
1427
|
+
*
|
|
1428
|
+
* @type {Array<string>}
|
|
1429
|
+
* @memberof ICategoryPatchRequest
|
|
1430
|
+
*/
|
|
1431
|
+
'slugs'?: Array<string>;
|
|
1408
1432
|
/**
|
|
1409
1433
|
*
|
|
1410
1434
|
* @type {IImage}
|
|
@@ -1436,6 +1460,12 @@ export interface ICategoryPostRequest {
|
|
|
1436
1460
|
* @memberof ICategoryPostRequest
|
|
1437
1461
|
*/
|
|
1438
1462
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
1463
|
+
/**
|
|
1464
|
+
*
|
|
1465
|
+
* @type {Array<string>}
|
|
1466
|
+
* @memberof ICategoryPostRequest
|
|
1467
|
+
*/
|
|
1468
|
+
'slugs': Array<string>;
|
|
1439
1469
|
/**
|
|
1440
1470
|
*
|
|
1441
1471
|
* @type {IImage}
|
|
@@ -1497,6 +1527,12 @@ export interface ICategoryResponse {
|
|
|
1497
1527
|
* @memberof ICategoryResponse
|
|
1498
1528
|
*/
|
|
1499
1529
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
1530
|
+
/**
|
|
1531
|
+
*
|
|
1532
|
+
* @type {Array<string>}
|
|
1533
|
+
* @memberof ICategoryResponse
|
|
1534
|
+
*/
|
|
1535
|
+
'slugs': Array<string>;
|
|
1500
1536
|
/**
|
|
1501
1537
|
*
|
|
1502
1538
|
* @type {IImage}
|
|
@@ -1668,6 +1704,12 @@ export interface ICollection {
|
|
|
1668
1704
|
* @memberof ICollection
|
|
1669
1705
|
*/
|
|
1670
1706
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
1707
|
+
/**
|
|
1708
|
+
*
|
|
1709
|
+
* @type {Array<string>}
|
|
1710
|
+
* @memberof ICollection
|
|
1711
|
+
*/
|
|
1712
|
+
'slugs': Array<string>;
|
|
1671
1713
|
/**
|
|
1672
1714
|
* Construct a type with a set of properties K of type T
|
|
1673
1715
|
* @type {{ [key: string]: string; }}
|
|
@@ -1767,6 +1809,12 @@ export interface ICollectionPatchRequest {
|
|
|
1767
1809
|
* @memberof ICollectionPatchRequest
|
|
1768
1810
|
*/
|
|
1769
1811
|
'contents'?: PartialRecordLanguageEnumIContentsValue;
|
|
1812
|
+
/**
|
|
1813
|
+
*
|
|
1814
|
+
* @type {Array<string>}
|
|
1815
|
+
* @memberof ICollectionPatchRequest
|
|
1816
|
+
*/
|
|
1817
|
+
'slugs'?: Array<string>;
|
|
1770
1818
|
/**
|
|
1771
1819
|
*
|
|
1772
1820
|
* @type {IImage}
|
|
@@ -1792,6 +1840,12 @@ export interface ICollectionPostRequest {
|
|
|
1792
1840
|
* @memberof ICollectionPostRequest
|
|
1793
1841
|
*/
|
|
1794
1842
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
1843
|
+
/**
|
|
1844
|
+
*
|
|
1845
|
+
* @type {Array<string>}
|
|
1846
|
+
* @memberof ICollectionPostRequest
|
|
1847
|
+
*/
|
|
1848
|
+
'slugs': Array<string>;
|
|
1795
1849
|
/**
|
|
1796
1850
|
*
|
|
1797
1851
|
* @type {IImage}
|
|
@@ -1853,6 +1907,12 @@ export interface ICollectionResponse {
|
|
|
1853
1907
|
* @memberof ICollectionResponse
|
|
1854
1908
|
*/
|
|
1855
1909
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
1910
|
+
/**
|
|
1911
|
+
*
|
|
1912
|
+
* @type {Array<string>}
|
|
1913
|
+
* @memberof ICollectionResponse
|
|
1914
|
+
*/
|
|
1915
|
+
'slugs': Array<string>;
|
|
1856
1916
|
/**
|
|
1857
1917
|
* Construct a type with a set of properties K of type T
|
|
1858
1918
|
* @type {{ [key: string]: string; }}
|
|
@@ -2256,6 +2316,12 @@ export interface ICompany {
|
|
|
2256
2316
|
* @memberof ICompany
|
|
2257
2317
|
*/
|
|
2258
2318
|
'subscriptionEndsAt': string;
|
|
2319
|
+
/**
|
|
2320
|
+
*
|
|
2321
|
+
* @type {boolean}
|
|
2322
|
+
* @memberof ICompany
|
|
2323
|
+
*/
|
|
2324
|
+
'allowGuestCheckout': boolean;
|
|
2259
2325
|
}
|
|
2260
2326
|
/**
|
|
2261
2327
|
*
|
|
@@ -2477,6 +2543,12 @@ export interface ICompanyAdminResponse {
|
|
|
2477
2543
|
* @memberof ICompanyAdminResponse
|
|
2478
2544
|
*/
|
|
2479
2545
|
'subscriptionEndsAt': string;
|
|
2546
|
+
/**
|
|
2547
|
+
*
|
|
2548
|
+
* @type {boolean}
|
|
2549
|
+
* @memberof ICompanyAdminResponse
|
|
2550
|
+
*/
|
|
2551
|
+
'allowGuestCheckout': boolean;
|
|
2480
2552
|
/**
|
|
2481
2553
|
*
|
|
2482
2554
|
* @type {PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRoles}
|
|
@@ -2628,6 +2700,44 @@ export interface ICompanyAdminResponseUsersInner {
|
|
|
2628
2700
|
*/
|
|
2629
2701
|
'user': PickIUserIdOrNameOrEmail;
|
|
2630
2702
|
}
|
|
2703
|
+
/**
|
|
2704
|
+
*
|
|
2705
|
+
* @export
|
|
2706
|
+
* @interface ICompanyAvailablePaymentGatewaysResponse
|
|
2707
|
+
*/
|
|
2708
|
+
export interface ICompanyAvailablePaymentGatewaysResponse {
|
|
2709
|
+
/**
|
|
2710
|
+
*
|
|
2711
|
+
* @type {Array<ICompanyAvailablePaymentGatewaysResponseDataInner>}
|
|
2712
|
+
* @memberof ICompanyAvailablePaymentGatewaysResponse
|
|
2713
|
+
*/
|
|
2714
|
+
'data': Array<ICompanyAvailablePaymentGatewaysResponseDataInner>;
|
|
2715
|
+
}
|
|
2716
|
+
/**
|
|
2717
|
+
*
|
|
2718
|
+
* @export
|
|
2719
|
+
* @interface ICompanyAvailablePaymentGatewaysResponseDataInner
|
|
2720
|
+
*/
|
|
2721
|
+
export interface ICompanyAvailablePaymentGatewaysResponseDataInner {
|
|
2722
|
+
/**
|
|
2723
|
+
*
|
|
2724
|
+
* @type {number}
|
|
2725
|
+
* @memberof ICompanyAvailablePaymentGatewaysResponseDataInner
|
|
2726
|
+
*/
|
|
2727
|
+
'extraFee': number;
|
|
2728
|
+
/**
|
|
2729
|
+
*
|
|
2730
|
+
* @type {boolean}
|
|
2731
|
+
* @memberof ICompanyAvailablePaymentGatewaysResponseDataInner
|
|
2732
|
+
*/
|
|
2733
|
+
'redirect': boolean;
|
|
2734
|
+
/**
|
|
2735
|
+
*
|
|
2736
|
+
* @type {PaymentMethodEnum}
|
|
2737
|
+
* @memberof ICompanyAvailablePaymentGatewaysResponseDataInner
|
|
2738
|
+
*/
|
|
2739
|
+
'type': PaymentMethodEnum;
|
|
2740
|
+
}
|
|
2631
2741
|
/**
|
|
2632
2742
|
*
|
|
2633
2743
|
* @export
|
|
@@ -3109,6 +3219,12 @@ export interface ICompanyPatchRequest {
|
|
|
3109
3219
|
* @memberof ICompanyPatchRequest
|
|
3110
3220
|
*/
|
|
3111
3221
|
'subscriptionEndsAt'?: string;
|
|
3222
|
+
/**
|
|
3223
|
+
*
|
|
3224
|
+
* @type {boolean}
|
|
3225
|
+
* @memberof ICompanyPatchRequest
|
|
3226
|
+
*/
|
|
3227
|
+
'allowGuestCheckout'?: boolean;
|
|
3112
3228
|
}
|
|
3113
3229
|
/**
|
|
3114
3230
|
*
|
|
@@ -3478,6 +3594,12 @@ export interface ICompanyResponse {
|
|
|
3478
3594
|
* @memberof ICompanyResponse
|
|
3479
3595
|
*/
|
|
3480
3596
|
'subscriptionEndsAt': string;
|
|
3597
|
+
/**
|
|
3598
|
+
*
|
|
3599
|
+
* @type {boolean}
|
|
3600
|
+
* @memberof ICompanyResponse
|
|
3601
|
+
*/
|
|
3602
|
+
'allowGuestCheckout': boolean;
|
|
3481
3603
|
/**
|
|
3482
3604
|
*
|
|
3483
3605
|
* @type {PickICompanyNameOrDomainsOrIdOrLanguage}
|
|
@@ -6176,6 +6298,12 @@ export interface IPagePatchRequest {
|
|
|
6176
6298
|
* @memberof IPagePatchRequest
|
|
6177
6299
|
*/
|
|
6178
6300
|
'contents'?: PartialRecordLanguageEnumIContentsValue;
|
|
6301
|
+
/**
|
|
6302
|
+
*
|
|
6303
|
+
* @type {Array<string>}
|
|
6304
|
+
* @memberof IPagePatchRequest
|
|
6305
|
+
*/
|
|
6306
|
+
'slugs'?: Array<string>;
|
|
6179
6307
|
/**
|
|
6180
6308
|
*
|
|
6181
6309
|
* @type {IImage}
|
|
@@ -6207,6 +6335,12 @@ export interface IPagePostRequest {
|
|
|
6207
6335
|
* @memberof IPagePostRequest
|
|
6208
6336
|
*/
|
|
6209
6337
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
6338
|
+
/**
|
|
6339
|
+
*
|
|
6340
|
+
* @type {Array<string>}
|
|
6341
|
+
* @memberof IPagePostRequest
|
|
6342
|
+
*/
|
|
6343
|
+
'slugs': Array<string>;
|
|
6210
6344
|
/**
|
|
6211
6345
|
*
|
|
6212
6346
|
* @type {IImage}
|
|
@@ -6276,6 +6410,12 @@ export interface IPageResponse {
|
|
|
6276
6410
|
* @memberof IPageResponse
|
|
6277
6411
|
*/
|
|
6278
6412
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
6413
|
+
/**
|
|
6414
|
+
*
|
|
6415
|
+
* @type {Array<string>}
|
|
6416
|
+
* @memberof IPageResponse
|
|
6417
|
+
*/
|
|
6418
|
+
'slugs': Array<string>;
|
|
6279
6419
|
/**
|
|
6280
6420
|
*
|
|
6281
6421
|
* @type {IImage}
|
|
@@ -6999,6 +7139,12 @@ export interface IProductPatchRequest {
|
|
|
6999
7139
|
* @memberof IProductPatchRequest
|
|
7000
7140
|
*/
|
|
7001
7141
|
'contents'?: PartialRecordLanguageEnumIContentsValue;
|
|
7142
|
+
/**
|
|
7143
|
+
*
|
|
7144
|
+
* @type {Array<string>}
|
|
7145
|
+
* @memberof IProductPatchRequest
|
|
7146
|
+
*/
|
|
7147
|
+
'slugs'?: Array<string>;
|
|
7002
7148
|
/**
|
|
7003
7149
|
*
|
|
7004
7150
|
* @type {Array<VariantType>}
|
|
@@ -7084,6 +7230,12 @@ export interface IProductPostRequest {
|
|
|
7084
7230
|
* @memberof IProductPostRequest
|
|
7085
7231
|
*/
|
|
7086
7232
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
7233
|
+
/**
|
|
7234
|
+
*
|
|
7235
|
+
* @type {Array<string>}
|
|
7236
|
+
* @memberof IProductPostRequest
|
|
7237
|
+
*/
|
|
7238
|
+
'slugs': Array<string>;
|
|
7087
7239
|
/**
|
|
7088
7240
|
*
|
|
7089
7241
|
* @type {Array<VariantType>}
|
|
@@ -7237,6 +7389,12 @@ export interface IProductResponse {
|
|
|
7237
7389
|
* @memberof IProductResponse
|
|
7238
7390
|
*/
|
|
7239
7391
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
7392
|
+
/**
|
|
7393
|
+
*
|
|
7394
|
+
* @type {Array<string>}
|
|
7395
|
+
* @memberof IProductResponse
|
|
7396
|
+
*/
|
|
7397
|
+
'slugs': Array<string>;
|
|
7240
7398
|
/**
|
|
7241
7399
|
*
|
|
7242
7400
|
* @type {Array<VariantType>}
|
|
@@ -9580,6 +9738,12 @@ export interface PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse
|
|
|
9580
9738
|
* @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse
|
|
9581
9739
|
*/
|
|
9582
9740
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
9741
|
+
/**
|
|
9742
|
+
*
|
|
9743
|
+
* @type {Array<string>}
|
|
9744
|
+
* @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse
|
|
9745
|
+
*/
|
|
9746
|
+
'slugs': Array<string>;
|
|
9583
9747
|
/**
|
|
9584
9748
|
*
|
|
9585
9749
|
* @type {IImage}
|
|
@@ -9629,6 +9793,12 @@ export interface PickICategoryExcludeKeyofICategoryAttributes {
|
|
|
9629
9793
|
* @memberof PickICategoryExcludeKeyofICategoryAttributes
|
|
9630
9794
|
*/
|
|
9631
9795
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
9796
|
+
/**
|
|
9797
|
+
*
|
|
9798
|
+
* @type {Array<string>}
|
|
9799
|
+
* @memberof PickICategoryExcludeKeyofICategoryAttributes
|
|
9800
|
+
*/
|
|
9801
|
+
'slugs': Array<string>;
|
|
9632
9802
|
/**
|
|
9633
9803
|
*
|
|
9634
9804
|
* @type {IImage}
|
|
@@ -9660,6 +9830,12 @@ export interface PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoRes
|
|
|
9660
9830
|
* @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes
|
|
9661
9831
|
*/
|
|
9662
9832
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
9833
|
+
/**
|
|
9834
|
+
*
|
|
9835
|
+
* @type {Array<string>}
|
|
9836
|
+
* @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes
|
|
9837
|
+
*/
|
|
9838
|
+
'slugs': Array<string>;
|
|
9663
9839
|
/**
|
|
9664
9840
|
*
|
|
9665
9841
|
* @type {IImage}
|
|
@@ -9795,6 +9971,12 @@ export interface PickICollectionResponseExcludeKeyofICollectionResponseKeyofMong
|
|
|
9795
9971
|
* @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplates
|
|
9796
9972
|
*/
|
|
9797
9973
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
9974
|
+
/**
|
|
9975
|
+
*
|
|
9976
|
+
* @type {Array<string>}
|
|
9977
|
+
* @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplates
|
|
9978
|
+
*/
|
|
9979
|
+
'slugs': Array<string>;
|
|
9798
9980
|
/**
|
|
9799
9981
|
*
|
|
9800
9982
|
* @type {IImage}
|
|
@@ -10096,6 +10278,12 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
10096
10278
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
10097
10279
|
*/
|
|
10098
10280
|
'subscriptionEndsAt': string;
|
|
10281
|
+
/**
|
|
10282
|
+
*
|
|
10283
|
+
* @type {boolean}
|
|
10284
|
+
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
10285
|
+
*/
|
|
10286
|
+
'allowGuestCheckout': boolean;
|
|
10099
10287
|
}
|
|
10100
10288
|
/**
|
|
10101
10289
|
*
|
|
@@ -10799,6 +10987,12 @@ export interface PickIPageExcludeKeyofIPageTemplate {
|
|
|
10799
10987
|
* @memberof PickIPageExcludeKeyofIPageTemplate
|
|
10800
10988
|
*/
|
|
10801
10989
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
10990
|
+
/**
|
|
10991
|
+
*
|
|
10992
|
+
* @type {Array<string>}
|
|
10993
|
+
* @memberof PickIPageExcludeKeyofIPageTemplate
|
|
10994
|
+
*/
|
|
10995
|
+
'slugs': Array<string>;
|
|
10802
10996
|
/**
|
|
10803
10997
|
*
|
|
10804
10998
|
* @type {IImage}
|
|
@@ -10830,6 +11024,12 @@ export interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrT
|
|
|
10830
11024
|
* @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates
|
|
10831
11025
|
*/
|
|
10832
11026
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
11027
|
+
/**
|
|
11028
|
+
*
|
|
11029
|
+
* @type {Array<string>}
|
|
11030
|
+
* @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates
|
|
11031
|
+
*/
|
|
11032
|
+
'slugs': Array<string>;
|
|
10833
11033
|
/**
|
|
10834
11034
|
*
|
|
10835
11035
|
* @type {IImage}
|
|
@@ -10955,6 +11155,12 @@ export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttr
|
|
|
10955
11155
|
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
10956
11156
|
*/
|
|
10957
11157
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
11158
|
+
/**
|
|
11159
|
+
*
|
|
11160
|
+
* @type {Array<string>}
|
|
11161
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
11162
|
+
*/
|
|
11163
|
+
'slugs': Array<string>;
|
|
10958
11164
|
/**
|
|
10959
11165
|
*
|
|
10960
11166
|
* @type {Array<VariantType>}
|
|
@@ -11108,6 +11314,12 @@ export interface PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPo
|
|
|
11108
11314
|
* @memberof PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPostRequestOmitFields
|
|
11109
11315
|
*/
|
|
11110
11316
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
11317
|
+
/**
|
|
11318
|
+
*
|
|
11319
|
+
* @type {Array<string>}
|
|
11320
|
+
* @memberof PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPostRequestOmitFields
|
|
11321
|
+
*/
|
|
11322
|
+
'slugs': Array<string>;
|
|
11111
11323
|
/**
|
|
11112
11324
|
*
|
|
11113
11325
|
* @type {Array<VariantType>}
|
|
@@ -13417,6 +13629,13 @@ export type GetCollectionsDateFieldEnum = typeof GetCollectionsDateFieldEnum[key
|
|
|
13417
13629
|
* @export
|
|
13418
13630
|
*/
|
|
13419
13631
|
export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13632
|
+
/**
|
|
13633
|
+
*
|
|
13634
|
+
* @param {string} id
|
|
13635
|
+
* @param {*} [options] Override http request option.
|
|
13636
|
+
* @throws {RequiredError}
|
|
13637
|
+
*/
|
|
13638
|
+
getCompanyAvailablePaymentGateways: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13420
13639
|
/**
|
|
13421
13640
|
*
|
|
13422
13641
|
* @param {string} domain
|
|
@@ -13430,6 +13649,13 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
|
|
|
13430
13649
|
* @export
|
|
13431
13650
|
*/
|
|
13432
13651
|
export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
13652
|
+
/**
|
|
13653
|
+
*
|
|
13654
|
+
* @param {string} id
|
|
13655
|
+
* @param {*} [options] Override http request option.
|
|
13656
|
+
* @throws {RequiredError}
|
|
13657
|
+
*/
|
|
13658
|
+
getCompanyAvailablePaymentGateways(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICompanyAvailablePaymentGatewaysResponse>>;
|
|
13433
13659
|
/**
|
|
13434
13660
|
*
|
|
13435
13661
|
* @param {string} domain
|
|
@@ -13443,6 +13669,13 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
13443
13669
|
* @export
|
|
13444
13670
|
*/
|
|
13445
13671
|
export declare const CompanyApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13672
|
+
/**
|
|
13673
|
+
*
|
|
13674
|
+
* @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
|
|
13675
|
+
* @param {*} [options] Override http request option.
|
|
13676
|
+
* @throws {RequiredError}
|
|
13677
|
+
*/
|
|
13678
|
+
getCompanyAvailablePaymentGateways(requestParameters: CompanyApiGetCompanyAvailablePaymentGatewaysRequest, options?: RawAxiosRequestConfig): AxiosPromise<ICompanyAvailablePaymentGatewaysResponse>;
|
|
13446
13679
|
/**
|
|
13447
13680
|
*
|
|
13448
13681
|
* @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
|
|
@@ -13451,6 +13684,19 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
13451
13684
|
*/
|
|
13452
13685
|
getCompanyByDomainName(requestParameters: CompanyApiGetCompanyByDomainNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<ICompanyResponse>;
|
|
13453
13686
|
};
|
|
13687
|
+
/**
|
|
13688
|
+
* Request parameters for getCompanyAvailablePaymentGateways operation in CompanyApi.
|
|
13689
|
+
* @export
|
|
13690
|
+
* @interface CompanyApiGetCompanyAvailablePaymentGatewaysRequest
|
|
13691
|
+
*/
|
|
13692
|
+
export interface CompanyApiGetCompanyAvailablePaymentGatewaysRequest {
|
|
13693
|
+
/**
|
|
13694
|
+
*
|
|
13695
|
+
* @type {string}
|
|
13696
|
+
* @memberof CompanyApiGetCompanyAvailablePaymentGateways
|
|
13697
|
+
*/
|
|
13698
|
+
readonly id: string;
|
|
13699
|
+
}
|
|
13454
13700
|
/**
|
|
13455
13701
|
* Request parameters for getCompanyByDomainName operation in CompanyApi.
|
|
13456
13702
|
* @export
|
|
@@ -13471,6 +13717,14 @@ export interface CompanyApiGetCompanyByDomainNameRequest {
|
|
|
13471
13717
|
* @extends {BaseAPI}
|
|
13472
13718
|
*/
|
|
13473
13719
|
export declare class CompanyApi extends BaseAPI {
|
|
13720
|
+
/**
|
|
13721
|
+
*
|
|
13722
|
+
* @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
|
|
13723
|
+
* @param {*} [options] Override http request option.
|
|
13724
|
+
* @throws {RequiredError}
|
|
13725
|
+
* @memberof CompanyApi
|
|
13726
|
+
*/
|
|
13727
|
+
getCompanyAvailablePaymentGateways(requestParameters: CompanyApiGetCompanyAvailablePaymentGatewaysRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ICompanyAvailablePaymentGatewaysResponse, any>>;
|
|
13474
13728
|
/**
|
|
13475
13729
|
*
|
|
13476
13730
|
* @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
|
package/dist/api/api.js
CHANGED
|
@@ -2254,6 +2254,34 @@ exports.GetCollectionsDateFieldEnum = {
|
|
|
2254
2254
|
*/
|
|
2255
2255
|
const CompanyApiAxiosParamCreator = function (configuration) {
|
|
2256
2256
|
return {
|
|
2257
|
+
/**
|
|
2258
|
+
*
|
|
2259
|
+
* @param {string} id
|
|
2260
|
+
* @param {*} [options] Override http request option.
|
|
2261
|
+
* @throws {RequiredError}
|
|
2262
|
+
*/
|
|
2263
|
+
getCompanyAvailablePaymentGateways: async (id, options = {}) => {
|
|
2264
|
+
// verify required parameter 'id' is not null or undefined
|
|
2265
|
+
(0, common_1.assertParamExists)('getCompanyAvailablePaymentGateways', 'id', id);
|
|
2266
|
+
const localVarPath = `/api/companies/{id}/payment-gateways/available`
|
|
2267
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2268
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2269
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2270
|
+
let baseOptions;
|
|
2271
|
+
if (configuration) {
|
|
2272
|
+
baseOptions = configuration.baseOptions;
|
|
2273
|
+
}
|
|
2274
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2275
|
+
const localVarHeaderParameter = {};
|
|
2276
|
+
const localVarQueryParameter = {};
|
|
2277
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2278
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2279
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2280
|
+
return {
|
|
2281
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2282
|
+
options: localVarRequestOptions,
|
|
2283
|
+
};
|
|
2284
|
+
},
|
|
2257
2285
|
/**
|
|
2258
2286
|
*
|
|
2259
2287
|
* @param {string} domain
|
|
@@ -2292,6 +2320,18 @@ exports.CompanyApiAxiosParamCreator = CompanyApiAxiosParamCreator;
|
|
|
2292
2320
|
const CompanyApiFp = function (configuration) {
|
|
2293
2321
|
const localVarAxiosParamCreator = (0, exports.CompanyApiAxiosParamCreator)(configuration);
|
|
2294
2322
|
return {
|
|
2323
|
+
/**
|
|
2324
|
+
*
|
|
2325
|
+
* @param {string} id
|
|
2326
|
+
* @param {*} [options] Override http request option.
|
|
2327
|
+
* @throws {RequiredError}
|
|
2328
|
+
*/
|
|
2329
|
+
async getCompanyAvailablePaymentGateways(id, options) {
|
|
2330
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyAvailablePaymentGateways(id, options);
|
|
2331
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2332
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.getCompanyAvailablePaymentGateways']?.[localVarOperationServerIndex]?.url;
|
|
2333
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2334
|
+
},
|
|
2295
2335
|
/**
|
|
2296
2336
|
*
|
|
2297
2337
|
* @param {string} domain
|
|
@@ -2314,6 +2354,15 @@ exports.CompanyApiFp = CompanyApiFp;
|
|
|
2314
2354
|
const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
2315
2355
|
const localVarFp = (0, exports.CompanyApiFp)(configuration);
|
|
2316
2356
|
return {
|
|
2357
|
+
/**
|
|
2358
|
+
*
|
|
2359
|
+
* @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
|
|
2360
|
+
* @param {*} [options] Override http request option.
|
|
2361
|
+
* @throws {RequiredError}
|
|
2362
|
+
*/
|
|
2363
|
+
getCompanyAvailablePaymentGateways(requestParameters, options) {
|
|
2364
|
+
return localVarFp.getCompanyAvailablePaymentGateways(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2365
|
+
},
|
|
2317
2366
|
/**
|
|
2318
2367
|
*
|
|
2319
2368
|
* @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
|
|
@@ -2333,6 +2382,16 @@ exports.CompanyApiFactory = CompanyApiFactory;
|
|
|
2333
2382
|
* @extends {BaseAPI}
|
|
2334
2383
|
*/
|
|
2335
2384
|
class CompanyApi extends base_1.BaseAPI {
|
|
2385
|
+
/**
|
|
2386
|
+
*
|
|
2387
|
+
* @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
|
|
2388
|
+
* @param {*} [options] Override http request option.
|
|
2389
|
+
* @throws {RequiredError}
|
|
2390
|
+
* @memberof CompanyApi
|
|
2391
|
+
*/
|
|
2392
|
+
getCompanyAvailablePaymentGateways(requestParameters, options) {
|
|
2393
|
+
return (0, exports.CompanyApiFp)(this.configuration).getCompanyAvailablePaymentGateways(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2394
|
+
}
|
|
2336
2395
|
/**
|
|
2337
2396
|
*
|
|
2338
2397
|
* @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
|
package/dist/api/api.mjs
CHANGED
|
@@ -2227,6 +2227,34 @@ export const GetCollectionsDateFieldEnum = {
|
|
|
2227
2227
|
*/
|
|
2228
2228
|
export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
2229
2229
|
return {
|
|
2230
|
+
/**
|
|
2231
|
+
*
|
|
2232
|
+
* @param {string} id
|
|
2233
|
+
* @param {*} [options] Override http request option.
|
|
2234
|
+
* @throws {RequiredError}
|
|
2235
|
+
*/
|
|
2236
|
+
getCompanyAvailablePaymentGateways: async (id, options = {}) => {
|
|
2237
|
+
// verify required parameter 'id' is not null or undefined
|
|
2238
|
+
assertParamExists('getCompanyAvailablePaymentGateways', 'id', id);
|
|
2239
|
+
const localVarPath = `/api/companies/{id}/payment-gateways/available`
|
|
2240
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2241
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2242
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2243
|
+
let baseOptions;
|
|
2244
|
+
if (configuration) {
|
|
2245
|
+
baseOptions = configuration.baseOptions;
|
|
2246
|
+
}
|
|
2247
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2248
|
+
const localVarHeaderParameter = {};
|
|
2249
|
+
const localVarQueryParameter = {};
|
|
2250
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2251
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2252
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2253
|
+
return {
|
|
2254
|
+
url: toPathString(localVarUrlObj),
|
|
2255
|
+
options: localVarRequestOptions,
|
|
2256
|
+
};
|
|
2257
|
+
},
|
|
2230
2258
|
/**
|
|
2231
2259
|
*
|
|
2232
2260
|
* @param {string} domain
|
|
@@ -2264,6 +2292,18 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
2264
2292
|
export const CompanyApiFp = function (configuration) {
|
|
2265
2293
|
const localVarAxiosParamCreator = CompanyApiAxiosParamCreator(configuration);
|
|
2266
2294
|
return {
|
|
2295
|
+
/**
|
|
2296
|
+
*
|
|
2297
|
+
* @param {string} id
|
|
2298
|
+
* @param {*} [options] Override http request option.
|
|
2299
|
+
* @throws {RequiredError}
|
|
2300
|
+
*/
|
|
2301
|
+
async getCompanyAvailablePaymentGateways(id, options) {
|
|
2302
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyAvailablePaymentGateways(id, options);
|
|
2303
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2304
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyAvailablePaymentGateways']?.[localVarOperationServerIndex]?.url;
|
|
2305
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2306
|
+
},
|
|
2267
2307
|
/**
|
|
2268
2308
|
*
|
|
2269
2309
|
* @param {string} domain
|
|
@@ -2285,6 +2325,15 @@ export const CompanyApiFp = function (configuration) {
|
|
|
2285
2325
|
export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
2286
2326
|
const localVarFp = CompanyApiFp(configuration);
|
|
2287
2327
|
return {
|
|
2328
|
+
/**
|
|
2329
|
+
*
|
|
2330
|
+
* @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
|
|
2331
|
+
* @param {*} [options] Override http request option.
|
|
2332
|
+
* @throws {RequiredError}
|
|
2333
|
+
*/
|
|
2334
|
+
getCompanyAvailablePaymentGateways(requestParameters, options) {
|
|
2335
|
+
return localVarFp.getCompanyAvailablePaymentGateways(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2336
|
+
},
|
|
2288
2337
|
/**
|
|
2289
2338
|
*
|
|
2290
2339
|
* @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
|
|
@@ -2303,6 +2352,16 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
2303
2352
|
* @extends {BaseAPI}
|
|
2304
2353
|
*/
|
|
2305
2354
|
export class CompanyApi extends BaseAPI {
|
|
2355
|
+
/**
|
|
2356
|
+
*
|
|
2357
|
+
* @param {CompanyApiGetCompanyAvailablePaymentGatewaysRequest} requestParameters Request parameters.
|
|
2358
|
+
* @param {*} [options] Override http request option.
|
|
2359
|
+
* @throws {RequiredError}
|
|
2360
|
+
* @memberof CompanyApi
|
|
2361
|
+
*/
|
|
2362
|
+
getCompanyAvailablePaymentGateways(requestParameters, options) {
|
|
2363
|
+
return CompanyApiFp(this.configuration).getCompanyAvailablePaymentGateways(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2364
|
+
}
|
|
2306
2365
|
/**
|
|
2307
2366
|
*
|
|
2308
2367
|
* @param {CompanyApiGetCompanyByDomainNameRequest} requestParameters Request parameters.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api-client",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.107",
|
|
4
4
|
"description": "api-client-sdk",
|
|
5
5
|
"author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
|
|
6
6
|
"homepage": "https://github.com/infisale/infisale-client#readme",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"bugs": {
|
|
38
38
|
"url": "https://github.com/infisale/infisale-client/issues"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "74ee1c5b8c1bd4eeceafec2bc0354aedb6e3db3e"
|
|
41
41
|
}
|