flexinet-api 0.0.2304 → 0.0.2306
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/README.md +2 -2
- package/api.ts +999 -251
- package/dist/api.d.ts +889 -200
- package/dist/api.js +280 -183
- package/dist/esm/api.d.ts +889 -200
- package/dist/esm/api.js +278 -177
- package/package.json +1 -1
package/api.ts
CHANGED
@@ -230,12 +230,6 @@ export interface AuthorizationConfig {
|
|
230
230
|
* @memberof AuthorizationConfig
|
231
231
|
*/
|
232
232
|
'customerOpenIDClientID': string;
|
233
|
-
/**
|
234
|
-
*
|
235
|
-
* @type {string}
|
236
|
-
* @memberof AuthorizationConfig
|
237
|
-
*/
|
238
|
-
'customerOpenIDSecret': string;
|
239
233
|
/**
|
240
234
|
*
|
241
235
|
* @type {string}
|
@@ -267,6 +261,85 @@ export interface AuthorizationConfig {
|
|
267
261
|
*/
|
268
262
|
'customerLoginUrl': string;
|
269
263
|
}
|
264
|
+
/**
|
265
|
+
*
|
266
|
+
* @export
|
267
|
+
* @interface AuthorizationConfigRequest
|
268
|
+
*/
|
269
|
+
export interface AuthorizationConfigRequest {
|
270
|
+
/**
|
271
|
+
*
|
272
|
+
* @type {string}
|
273
|
+
* @memberof AuthorizationConfigRequest
|
274
|
+
*/
|
275
|
+
'adminKeyConfig'?: string;
|
276
|
+
/**
|
277
|
+
*
|
278
|
+
* @type {string}
|
279
|
+
* @memberof AuthorizationConfigRequest
|
280
|
+
*/
|
281
|
+
'adminIssuer'?: string;
|
282
|
+
/**
|
283
|
+
*
|
284
|
+
* @type {string}
|
285
|
+
* @memberof AuthorizationConfigRequest
|
286
|
+
*/
|
287
|
+
'adminAudience'?: string;
|
288
|
+
/**
|
289
|
+
*
|
290
|
+
* @type {string}
|
291
|
+
* @memberof AuthorizationConfigRequest
|
292
|
+
*/
|
293
|
+
'customerAudience'?: string;
|
294
|
+
/**
|
295
|
+
*
|
296
|
+
* @type {string}
|
297
|
+
* @memberof AuthorizationConfigRequest
|
298
|
+
*/
|
299
|
+
'customerOpenIDKeyConfig'?: string;
|
300
|
+
/**
|
301
|
+
*
|
302
|
+
* @type {string}
|
303
|
+
* @memberof AuthorizationConfigRequest
|
304
|
+
*/
|
305
|
+
'customerOpenIDIssuer'?: string;
|
306
|
+
/**
|
307
|
+
*
|
308
|
+
* @type {string}
|
309
|
+
* @memberof AuthorizationConfigRequest
|
310
|
+
*/
|
311
|
+
'customerOpenIDClientID'?: string;
|
312
|
+
/**
|
313
|
+
*
|
314
|
+
* @type {string}
|
315
|
+
* @memberof AuthorizationConfigRequest
|
316
|
+
*/
|
317
|
+
'customerOpenIDMetadataURL'?: string;
|
318
|
+
/**
|
319
|
+
*
|
320
|
+
* @type {{ [key: string]: string; }}
|
321
|
+
* @memberof AuthorizationConfigRequest
|
322
|
+
*/
|
323
|
+
'customerOpenIDParameters'?: { [key: string]: string; };
|
324
|
+
/**
|
325
|
+
*
|
326
|
+
* @type {string}
|
327
|
+
* @memberof AuthorizationConfigRequest
|
328
|
+
*/
|
329
|
+
'azureEntraTenantID'?: string;
|
330
|
+
/**
|
331
|
+
*
|
332
|
+
* @type {string}
|
333
|
+
* @memberof AuthorizationConfigRequest
|
334
|
+
*/
|
335
|
+
'azureEntraClientID'?: string;
|
336
|
+
/**
|
337
|
+
*
|
338
|
+
* @type {string}
|
339
|
+
* @memberof AuthorizationConfigRequest
|
340
|
+
*/
|
341
|
+
'customerLoginUrl'?: string;
|
342
|
+
}
|
270
343
|
/**
|
271
344
|
*
|
272
345
|
* @export
|
@@ -700,6 +773,37 @@ export interface BrandingConfig {
|
|
700
773
|
*/
|
701
774
|
'coinLogoURL': string;
|
702
775
|
}
|
776
|
+
/**
|
777
|
+
*
|
778
|
+
* @export
|
779
|
+
* @interface BrandingConfigRequest
|
780
|
+
*/
|
781
|
+
export interface BrandingConfigRequest {
|
782
|
+
/**
|
783
|
+
*
|
784
|
+
* @type {string}
|
785
|
+
* @memberof BrandingConfigRequest
|
786
|
+
*/
|
787
|
+
'logoURL'?: string;
|
788
|
+
/**
|
789
|
+
*
|
790
|
+
* @type {string}
|
791
|
+
* @memberof BrandingConfigRequest
|
792
|
+
*/
|
793
|
+
'mainColor'?: string;
|
794
|
+
/**
|
795
|
+
*
|
796
|
+
* @type {string}
|
797
|
+
* @memberof BrandingConfigRequest
|
798
|
+
*/
|
799
|
+
'coinName'?: string;
|
800
|
+
/**
|
801
|
+
*
|
802
|
+
* @type {string}
|
803
|
+
* @memberof BrandingConfigRequest
|
804
|
+
*/
|
805
|
+
'coinLogoURL'?: string;
|
806
|
+
}
|
703
807
|
/**
|
704
808
|
*
|
705
809
|
* @export
|
@@ -1165,6 +1269,25 @@ export interface CustomerUserDetails {
|
|
1165
1269
|
*/
|
1166
1270
|
'lastName'?: string;
|
1167
1271
|
}
|
1272
|
+
/**
|
1273
|
+
*
|
1274
|
+
* @export
|
1275
|
+
* @interface Event
|
1276
|
+
*/
|
1277
|
+
export interface Event {
|
1278
|
+
/**
|
1279
|
+
*
|
1280
|
+
* @type {TransactionEventDetails}
|
1281
|
+
* @memberof Event
|
1282
|
+
*/
|
1283
|
+
'event': TransactionEventDetails;
|
1284
|
+
/**
|
1285
|
+
*
|
1286
|
+
* @type {Array<Promotion>}
|
1287
|
+
* @memberof Event
|
1288
|
+
*/
|
1289
|
+
'promotions': Array<Promotion>;
|
1290
|
+
}
|
1168
1291
|
/**
|
1169
1292
|
*
|
1170
1293
|
* @export
|
@@ -1223,6 +1346,25 @@ export interface EventsEvaluationResponse {
|
|
1223
1346
|
*/
|
1224
1347
|
'promotions': { [key: string]: Array<Promotion>; };
|
1225
1348
|
}
|
1349
|
+
/**
|
1350
|
+
*
|
1351
|
+
* @export
|
1352
|
+
* @interface EventsResponse
|
1353
|
+
*/
|
1354
|
+
export interface EventsResponse {
|
1355
|
+
/**
|
1356
|
+
*
|
1357
|
+
* @type {Array<Event>}
|
1358
|
+
* @memberof EventsResponse
|
1359
|
+
*/
|
1360
|
+
'events': Array<Event>;
|
1361
|
+
/**
|
1362
|
+
* This is the pagination token
|
1363
|
+
* @type {string}
|
1364
|
+
* @memberof EventsResponse
|
1365
|
+
*/
|
1366
|
+
'nextToken'?: string;
|
1367
|
+
}
|
1226
1368
|
/**
|
1227
1369
|
*
|
1228
1370
|
* @export
|
@@ -1236,7 +1378,8 @@ export const Feature = {
|
|
1236
1378
|
UserInfo: 'user_info',
|
1237
1379
|
ExternalInventory: 'external_inventory',
|
1238
1380
|
OrderEvents: 'order_events',
|
1239
|
-
OrderStatusPolling: 'order_status_polling'
|
1381
|
+
OrderStatusPolling: 'order_status_polling',
|
1382
|
+
SmsSending: 'sms_sending'
|
1240
1383
|
} as const;
|
1241
1384
|
|
1242
1385
|
export type Feature = typeof Feature[keyof typeof Feature];
|
@@ -1261,6 +1404,25 @@ export interface FeatureFlags {
|
|
1261
1404
|
*/
|
1262
1405
|
'features': { [key: string]: boolean; };
|
1263
1406
|
}
|
1407
|
+
/**
|
1408
|
+
*
|
1409
|
+
* @export
|
1410
|
+
* @interface FeatureFlagsRequest
|
1411
|
+
*/
|
1412
|
+
export interface FeatureFlagsRequest {
|
1413
|
+
/**
|
1414
|
+
*
|
1415
|
+
* @type {boolean}
|
1416
|
+
* @memberof FeatureFlagsRequest
|
1417
|
+
*/
|
1418
|
+
'enforce'?: boolean;
|
1419
|
+
/**
|
1420
|
+
*
|
1421
|
+
* @type {{ [key: string]: boolean; }}
|
1422
|
+
* @memberof FeatureFlagsRequest
|
1423
|
+
*/
|
1424
|
+
'features'?: { [key: string]: boolean; };
|
1425
|
+
}
|
1264
1426
|
/**
|
1265
1427
|
*
|
1266
1428
|
* @export
|
@@ -1341,6 +1503,73 @@ export interface IntegrationsConfig {
|
|
1341
1503
|
*/
|
1342
1504
|
'externalUserServiceEnabled': boolean;
|
1343
1505
|
}
|
1506
|
+
/**
|
1507
|
+
*
|
1508
|
+
* @export
|
1509
|
+
* @interface IntegrationsConfigRequest
|
1510
|
+
*/
|
1511
|
+
export interface IntegrationsConfigRequest {
|
1512
|
+
/**
|
1513
|
+
*
|
1514
|
+
* @type {string}
|
1515
|
+
* @memberof IntegrationsConfigRequest
|
1516
|
+
*/
|
1517
|
+
'userInfoURL'?: string;
|
1518
|
+
/**
|
1519
|
+
*
|
1520
|
+
* @type {string}
|
1521
|
+
* @memberof IntegrationsConfigRequest
|
1522
|
+
*/
|
1523
|
+
'productInventoryURL'?: string;
|
1524
|
+
/**
|
1525
|
+
*
|
1526
|
+
* @type {string}
|
1527
|
+
* @memberof IntegrationsConfigRequest
|
1528
|
+
*/
|
1529
|
+
'orderStatusURL'?: string;
|
1530
|
+
/**
|
1531
|
+
*
|
1532
|
+
* @type {boolean}
|
1533
|
+
* @memberof IntegrationsConfigRequest
|
1534
|
+
*/
|
1535
|
+
'useOrderEventsExternalID'?: boolean;
|
1536
|
+
/**
|
1537
|
+
*
|
1538
|
+
* @type {string}
|
1539
|
+
* @memberof IntegrationsConfigRequest
|
1540
|
+
*/
|
1541
|
+
'smsURL'?: string;
|
1542
|
+
/**
|
1543
|
+
*
|
1544
|
+
* @type {string}
|
1545
|
+
* @memberof IntegrationsConfigRequest
|
1546
|
+
*/
|
1547
|
+
'smsKey'?: string;
|
1548
|
+
/**
|
1549
|
+
*
|
1550
|
+
* @type {string}
|
1551
|
+
* @memberof IntegrationsConfigRequest
|
1552
|
+
*/
|
1553
|
+
'authEndpoint'?: string;
|
1554
|
+
/**
|
1555
|
+
*
|
1556
|
+
* @type {string}
|
1557
|
+
* @memberof IntegrationsConfigRequest
|
1558
|
+
*/
|
1559
|
+
'authClientID'?: string;
|
1560
|
+
/**
|
1561
|
+
*
|
1562
|
+
* @type {string}
|
1563
|
+
* @memberof IntegrationsConfigRequest
|
1564
|
+
*/
|
1565
|
+
'authClientSecretName'?: string;
|
1566
|
+
/**
|
1567
|
+
*
|
1568
|
+
* @type {boolean}
|
1569
|
+
* @memberof IntegrationsConfigRequest
|
1570
|
+
*/
|
1571
|
+
'externalUserServiceEnabled'?: boolean;
|
1572
|
+
}
|
1344
1573
|
/**
|
1345
1574
|
*
|
1346
1575
|
* @export
|
@@ -1391,6 +1620,37 @@ export interface LedgerConfig {
|
|
1391
1620
|
*/
|
1392
1621
|
'expiry': { [key: string]: string; };
|
1393
1622
|
}
|
1623
|
+
/**
|
1624
|
+
*
|
1625
|
+
* @export
|
1626
|
+
* @interface LedgerConfigRequest
|
1627
|
+
*/
|
1628
|
+
export interface LedgerConfigRequest {
|
1629
|
+
/**
|
1630
|
+
*
|
1631
|
+
* @type {number}
|
1632
|
+
* @memberof LedgerConfigRequest
|
1633
|
+
*/
|
1634
|
+
'balanceGracePeriod'?: number;
|
1635
|
+
/**
|
1636
|
+
*
|
1637
|
+
* @type {number}
|
1638
|
+
* @memberof LedgerConfigRequest
|
1639
|
+
*/
|
1640
|
+
'maxManagerOrderValue'?: number;
|
1641
|
+
/**
|
1642
|
+
*
|
1643
|
+
* @type {boolean}
|
1644
|
+
* @memberof LedgerConfigRequest
|
1645
|
+
*/
|
1646
|
+
'allowNegativeBalance'?: boolean;
|
1647
|
+
/**
|
1648
|
+
*
|
1649
|
+
* @type {{ [key: string]: string; }}
|
1650
|
+
* @memberof LedgerConfigRequest
|
1651
|
+
*/
|
1652
|
+
'expiry'?: { [key: string]: string; };
|
1653
|
+
}
|
1394
1654
|
/**
|
1395
1655
|
*
|
1396
1656
|
* @export
|
@@ -1731,6 +1991,49 @@ export interface NotificationConfig {
|
|
1731
1991
|
*/
|
1732
1992
|
'templateDir'?: string;
|
1733
1993
|
}
|
1994
|
+
/**
|
1995
|
+
*
|
1996
|
+
* @export
|
1997
|
+
* @interface NotificationConfigRequest
|
1998
|
+
*/
|
1999
|
+
export interface NotificationConfigRequest {
|
2000
|
+
/**
|
2001
|
+
*
|
2002
|
+
* @type {Array<string>}
|
2003
|
+
* @memberof NotificationConfigRequest
|
2004
|
+
*/
|
2005
|
+
'emails'?: Array<string>;
|
2006
|
+
/**
|
2007
|
+
*
|
2008
|
+
* @type {Array<NotificationPreference>}
|
2009
|
+
* @memberof NotificationConfigRequest
|
2010
|
+
*/
|
2011
|
+
'preferences'?: Array<NotificationPreference>;
|
2012
|
+
/**
|
2013
|
+
*
|
2014
|
+
* @type {{ [key: string]: NotificationTemplateConfig; }}
|
2015
|
+
* @memberof NotificationConfigRequest
|
2016
|
+
*/
|
2017
|
+
'templates'?: { [key: string]: NotificationTemplateConfig; };
|
2018
|
+
/**
|
2019
|
+
*
|
2020
|
+
* @type {string}
|
2021
|
+
* @memberof NotificationConfigRequest
|
2022
|
+
*/
|
2023
|
+
'customerWebappHostname'?: string;
|
2024
|
+
/**
|
2025
|
+
*
|
2026
|
+
* @type {string}
|
2027
|
+
* @memberof NotificationConfigRequest
|
2028
|
+
*/
|
2029
|
+
'adminWebappHostname'?: string;
|
2030
|
+
/**
|
2031
|
+
*
|
2032
|
+
* @type {string}
|
2033
|
+
* @memberof NotificationConfigRequest
|
2034
|
+
*/
|
2035
|
+
'templateDir'?: string;
|
2036
|
+
}
|
1734
2037
|
/**
|
1735
2038
|
*
|
1736
2039
|
* @export
|
@@ -3082,6 +3385,55 @@ export interface PromotionConfig {
|
|
3082
3385
|
*/
|
3083
3386
|
'allowRunningPromotionsUpdate': boolean;
|
3084
3387
|
}
|
3388
|
+
/**
|
3389
|
+
*
|
3390
|
+
* @export
|
3391
|
+
* @interface PromotionConfigRequest
|
3392
|
+
*/
|
3393
|
+
export interface PromotionConfigRequest {
|
3394
|
+
/**
|
3395
|
+
*
|
3396
|
+
* @type {number}
|
3397
|
+
* @memberof PromotionConfigRequest
|
3398
|
+
*/
|
3399
|
+
'adminClaimGracePeriod'?: number;
|
3400
|
+
/**
|
3401
|
+
*
|
3402
|
+
* @type {number}
|
3403
|
+
* @memberof PromotionConfigRequest
|
3404
|
+
*/
|
3405
|
+
'userClaimGracePeriod'?: number;
|
3406
|
+
/**
|
3407
|
+
*
|
3408
|
+
* @type {number}
|
3409
|
+
* @memberof PromotionConfigRequest
|
3410
|
+
*/
|
3411
|
+
'refundLapsePeriod'?: number;
|
3412
|
+
/**
|
3413
|
+
*
|
3414
|
+
* @type {number}
|
3415
|
+
* @memberof PromotionConfigRequest
|
3416
|
+
*/
|
3417
|
+
'customDealMinDuration'?: number;
|
3418
|
+
/**
|
3419
|
+
*
|
3420
|
+
* @type {number}
|
3421
|
+
* @memberof PromotionConfigRequest
|
3422
|
+
*/
|
3423
|
+
'customDealMinTargetValue'?: number;
|
3424
|
+
/**
|
3425
|
+
*
|
3426
|
+
* @type {number}
|
3427
|
+
* @memberof PromotionConfigRequest
|
3428
|
+
*/
|
3429
|
+
'customDealRefundWindow'?: number;
|
3430
|
+
/**
|
3431
|
+
*
|
3432
|
+
* @type {boolean}
|
3433
|
+
* @memberof PromotionConfigRequest
|
3434
|
+
*/
|
3435
|
+
'allowRunningPromotionsUpdate'?: boolean;
|
3436
|
+
}
|
3085
3437
|
/**
|
3086
3438
|
*
|
3087
3439
|
* @export
|
@@ -3446,6 +3798,25 @@ export const ReportTypesResponseTypesEnum = {
|
|
3446
3798
|
|
3447
3799
|
export type ReportTypesResponseTypesEnum = typeof ReportTypesResponseTypesEnum[keyof typeof ReportTypesResponseTypesEnum];
|
3448
3800
|
|
3801
|
+
/**
|
3802
|
+
*
|
3803
|
+
* @export
|
3804
|
+
* @interface ReportUrlResponse
|
3805
|
+
*/
|
3806
|
+
export interface ReportUrlResponse {
|
3807
|
+
/**
|
3808
|
+
*
|
3809
|
+
* @type {string}
|
3810
|
+
* @memberof ReportUrlResponse
|
3811
|
+
*/
|
3812
|
+
'datalakeUrl': string;
|
3813
|
+
/**
|
3814
|
+
*
|
3815
|
+
* @type {string}
|
3816
|
+
* @memberof ReportUrlResponse
|
3817
|
+
*/
|
3818
|
+
'token': string;
|
3819
|
+
}
|
3449
3820
|
/**
|
3450
3821
|
* @type Rule
|
3451
3822
|
* @export
|
@@ -4416,7 +4787,277 @@ export interface TenantConfing {
|
|
4416
4787
|
* @type {AuthorizationConfig}
|
4417
4788
|
* @memberof TenantConfing
|
4418
4789
|
*/
|
4419
|
-
'auth': AuthorizationConfig;
|
4790
|
+
'auth': AuthorizationConfig;
|
4791
|
+
}
|
4792
|
+
|
4793
|
+
|
4794
|
+
/**
|
4795
|
+
*
|
4796
|
+
* @export
|
4797
|
+
* @interface TenantConfingRequest
|
4798
|
+
*/
|
4799
|
+
export interface TenantConfingRequest {
|
4800
|
+
/**
|
4801
|
+
*
|
4802
|
+
* @type {string}
|
4803
|
+
* @memberof TenantConfingRequest
|
4804
|
+
*/
|
4805
|
+
'id': string;
|
4806
|
+
/**
|
4807
|
+
*
|
4808
|
+
* @type {string}
|
4809
|
+
* @memberof TenantConfingRequest
|
4810
|
+
*/
|
4811
|
+
'name'?: string;
|
4812
|
+
/**
|
4813
|
+
*
|
4814
|
+
* @type {string}
|
4815
|
+
* @memberof TenantConfingRequest
|
4816
|
+
*/
|
4817
|
+
'adminKeyConfig'?: string;
|
4818
|
+
/**
|
4819
|
+
*
|
4820
|
+
* @type {string}
|
4821
|
+
* @memberof TenantConfingRequest
|
4822
|
+
*/
|
4823
|
+
'adminIssuer'?: string;
|
4824
|
+
/**
|
4825
|
+
*
|
4826
|
+
* @type {string}
|
4827
|
+
* @memberof TenantConfingRequest
|
4828
|
+
*/
|
4829
|
+
'customerOpenIDKeyConfig'?: string;
|
4830
|
+
/**
|
4831
|
+
*
|
4832
|
+
* @type {string}
|
4833
|
+
* @memberof TenantConfingRequest
|
4834
|
+
*/
|
4835
|
+
'customerOpenIDIssuer'?: string;
|
4836
|
+
/**
|
4837
|
+
*
|
4838
|
+
* @type {string}
|
4839
|
+
* @memberof TenantConfingRequest
|
4840
|
+
*/
|
4841
|
+
'customerOpenIDClientID'?: string;
|
4842
|
+
/**
|
4843
|
+
*
|
4844
|
+
* @type {string}
|
4845
|
+
* @memberof TenantConfingRequest
|
4846
|
+
*/
|
4847
|
+
'customerOpenIDMetadataURL'?: string;
|
4848
|
+
/**
|
4849
|
+
*
|
4850
|
+
* @type {{ [key: string]: string; }}
|
4851
|
+
* @memberof TenantConfingRequest
|
4852
|
+
*/
|
4853
|
+
'customerOpenIDParameters'?: { [key: string]: string; };
|
4854
|
+
/**
|
4855
|
+
*
|
4856
|
+
* @type {string}
|
4857
|
+
* @memberof TenantConfingRequest
|
4858
|
+
*/
|
4859
|
+
'ppURL'?: string;
|
4860
|
+
/**
|
4861
|
+
*
|
4862
|
+
* @type {string}
|
4863
|
+
* @memberof TenantConfingRequest
|
4864
|
+
*/
|
4865
|
+
'tcURL'?: string;
|
4866
|
+
/**
|
4867
|
+
*
|
4868
|
+
* @type {string}
|
4869
|
+
* @memberof TenantConfingRequest
|
4870
|
+
*/
|
4871
|
+
'cookiesURL'?: string;
|
4872
|
+
/**
|
4873
|
+
*
|
4874
|
+
* @type {string}
|
4875
|
+
* @memberof TenantConfingRequest
|
4876
|
+
*/
|
4877
|
+
'azureEntraTenantID'?: string;
|
4878
|
+
/**
|
4879
|
+
*
|
4880
|
+
* @type {string}
|
4881
|
+
* @memberof TenantConfingRequest
|
4882
|
+
*/
|
4883
|
+
'azureEntraClientID'?: string;
|
4884
|
+
/**
|
4885
|
+
*
|
4886
|
+
* @type {Locale}
|
4887
|
+
* @memberof TenantConfingRequest
|
4888
|
+
*/
|
4889
|
+
'locale'?: Locale;
|
4890
|
+
/**
|
4891
|
+
*
|
4892
|
+
* @type {string}
|
4893
|
+
* @memberof TenantConfingRequest
|
4894
|
+
*/
|
4895
|
+
'announcement'?: string;
|
4896
|
+
/**
|
4897
|
+
*
|
4898
|
+
* @type {Currency}
|
4899
|
+
* @memberof TenantConfingRequest
|
4900
|
+
*/
|
4901
|
+
'currency'?: Currency;
|
4902
|
+
/**
|
4903
|
+
*
|
4904
|
+
* @type {boolean}
|
4905
|
+
* @memberof TenantConfingRequest
|
4906
|
+
*/
|
4907
|
+
'customDealAutoClaim'?: boolean;
|
4908
|
+
/**
|
4909
|
+
*
|
4910
|
+
* @type {LedgerConfigRequest}
|
4911
|
+
* @memberof TenantConfingRequest
|
4912
|
+
*/
|
4913
|
+
'ledger'?: LedgerConfigRequest;
|
4914
|
+
/**
|
4915
|
+
*
|
4916
|
+
* @type {PromotionConfigRequest}
|
4917
|
+
* @memberof TenantConfingRequest
|
4918
|
+
*/
|
4919
|
+
'promotion'?: PromotionConfigRequest;
|
4920
|
+
/**
|
4921
|
+
*
|
4922
|
+
* @type {FeatureFlagsRequest}
|
4923
|
+
* @memberof TenantConfingRequest
|
4924
|
+
*/
|
4925
|
+
'featureFlags'?: FeatureFlagsRequest;
|
4926
|
+
/**
|
4927
|
+
*
|
4928
|
+
* @type {NotificationConfigRequest}
|
4929
|
+
* @memberof TenantConfingRequest
|
4930
|
+
*/
|
4931
|
+
'notifications'?: NotificationConfigRequest;
|
4932
|
+
/**
|
4933
|
+
*
|
4934
|
+
* @type {IntegrationsConfigRequest}
|
4935
|
+
* @memberof TenantConfingRequest
|
4936
|
+
*/
|
4937
|
+
'integrations'?: IntegrationsConfigRequest;
|
4938
|
+
/**
|
4939
|
+
*
|
4940
|
+
* @type {BrandingConfigRequest}
|
4941
|
+
* @memberof TenantConfingRequest
|
4942
|
+
*/
|
4943
|
+
'branding'?: BrandingConfigRequest;
|
4944
|
+
/**
|
4945
|
+
*
|
4946
|
+
* @type {AuthorizationConfigRequest}
|
4947
|
+
* @memberof TenantConfingRequest
|
4948
|
+
*/
|
4949
|
+
'auth'?: AuthorizationConfigRequest;
|
4950
|
+
}
|
4951
|
+
|
4952
|
+
|
4953
|
+
/**
|
4954
|
+
*
|
4955
|
+
* @export
|
4956
|
+
* @interface TenantRequest
|
4957
|
+
*/
|
4958
|
+
export interface TenantRequest {
|
4959
|
+
/**
|
4960
|
+
*
|
4961
|
+
* @type {string}
|
4962
|
+
* @memberof TenantRequest
|
4963
|
+
*/
|
4964
|
+
'id': string;
|
4965
|
+
/**
|
4966
|
+
*
|
4967
|
+
* @type {string}
|
4968
|
+
* @memberof TenantRequest
|
4969
|
+
*/
|
4970
|
+
'name'?: string;
|
4971
|
+
/**
|
4972
|
+
*
|
4973
|
+
* @type {string}
|
4974
|
+
* @memberof TenantRequest
|
4975
|
+
*/
|
4976
|
+
'adminKeyConfig'?: string;
|
4977
|
+
/**
|
4978
|
+
*
|
4979
|
+
* @type {string}
|
4980
|
+
* @memberof TenantRequest
|
4981
|
+
*/
|
4982
|
+
'adminIssuer'?: string;
|
4983
|
+
/**
|
4984
|
+
*
|
4985
|
+
* @type {string}
|
4986
|
+
* @memberof TenantRequest
|
4987
|
+
*/
|
4988
|
+
'customerOpenIDKeyConfig'?: string;
|
4989
|
+
/**
|
4990
|
+
*
|
4991
|
+
* @type {string}
|
4992
|
+
* @memberof TenantRequest
|
4993
|
+
*/
|
4994
|
+
'customerOpenIDIssuer'?: string;
|
4995
|
+
/**
|
4996
|
+
*
|
4997
|
+
* @type {string}
|
4998
|
+
* @memberof TenantRequest
|
4999
|
+
*/
|
5000
|
+
'customerOpenIDClientID'?: string;
|
5001
|
+
/**
|
5002
|
+
*
|
5003
|
+
* @type {string}
|
5004
|
+
* @memberof TenantRequest
|
5005
|
+
*/
|
5006
|
+
'customerOpenIDMetadataURL'?: string;
|
5007
|
+
/**
|
5008
|
+
*
|
5009
|
+
* @type {{ [key: string]: string; }}
|
5010
|
+
* @memberof TenantRequest
|
5011
|
+
*/
|
5012
|
+
'customerOpenIDParameters'?: { [key: string]: string; };
|
5013
|
+
/**
|
5014
|
+
*
|
5015
|
+
* @type {string}
|
5016
|
+
* @memberof TenantRequest
|
5017
|
+
*/
|
5018
|
+
'ppURL'?: string;
|
5019
|
+
/**
|
5020
|
+
*
|
5021
|
+
* @type {string}
|
5022
|
+
* @memberof TenantRequest
|
5023
|
+
*/
|
5024
|
+
'tcURL'?: string;
|
5025
|
+
/**
|
5026
|
+
*
|
5027
|
+
* @type {string}
|
5028
|
+
* @memberof TenantRequest
|
5029
|
+
*/
|
5030
|
+
'cookiesURL'?: string;
|
5031
|
+
/**
|
5032
|
+
*
|
5033
|
+
* @type {string}
|
5034
|
+
* @memberof TenantRequest
|
5035
|
+
*/
|
5036
|
+
'azureEntraTenantID'?: string;
|
5037
|
+
/**
|
5038
|
+
*
|
5039
|
+
* @type {string}
|
5040
|
+
* @memberof TenantRequest
|
5041
|
+
*/
|
5042
|
+
'azureEntraClientID'?: string;
|
5043
|
+
/**
|
5044
|
+
*
|
5045
|
+
* @type {Locale}
|
5046
|
+
* @memberof TenantRequest
|
5047
|
+
*/
|
5048
|
+
'locale'?: Locale;
|
5049
|
+
/**
|
5050
|
+
*
|
5051
|
+
* @type {string}
|
5052
|
+
* @memberof TenantRequest
|
5053
|
+
*/
|
5054
|
+
'announcement'?: string;
|
5055
|
+
/**
|
5056
|
+
*
|
5057
|
+
* @type {Currency}
|
5058
|
+
* @memberof TenantRequest
|
5059
|
+
*/
|
5060
|
+
'currency'?: Currency;
|
4420
5061
|
}
|
4421
5062
|
|
4422
5063
|
|
@@ -6860,13 +7501,13 @@ export const ConfigurationsApiAxiosParamCreator = function (configuration?: Conf
|
|
6860
7501
|
/**
|
6861
7502
|
* Create or update backoffice configuration for the current tenant
|
6862
7503
|
* @summary Create configuration
|
6863
|
-
* @param {
|
7504
|
+
* @param {TenantConfingRequest} tenantConfingRequest Configuration data
|
6864
7505
|
* @param {*} [options] Override http request option.
|
6865
7506
|
* @throws {RequiredError}
|
6866
7507
|
*/
|
6867
|
-
createV2Configuration: async (
|
6868
|
-
// verify required parameter '
|
6869
|
-
assertParamExists('createV2Configuration', '
|
7508
|
+
createV2Configuration: async (tenantConfingRequest: TenantConfingRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
7509
|
+
// verify required parameter 'tenantConfingRequest' is not null or undefined
|
7510
|
+
assertParamExists('createV2Configuration', 'tenantConfingRequest', tenantConfingRequest)
|
6870
7511
|
const localVarPath = `/v2/admins/configurations`;
|
6871
7512
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
6872
7513
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -6890,7 +7531,7 @@ export const ConfigurationsApiAxiosParamCreator = function (configuration?: Conf
|
|
6890
7531
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
6891
7532
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
6892
7533
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
6893
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
7534
|
+
localVarRequestOptions.data = serializeDataIfNeeded(tenantConfingRequest, localVarRequestOptions, configuration)
|
6894
7535
|
|
6895
7536
|
return {
|
6896
7537
|
url: toPathString(localVarUrlObj),
|
@@ -7094,12 +7735,12 @@ export const ConfigurationsApiFp = function(configuration?: Configuration) {
|
|
7094
7735
|
/**
|
7095
7736
|
* Create or update backoffice configuration for the current tenant
|
7096
7737
|
* @summary Create configuration
|
7097
|
-
* @param {
|
7738
|
+
* @param {TenantConfingRequest} tenantConfingRequest Configuration data
|
7098
7739
|
* @param {*} [options] Override http request option.
|
7099
7740
|
* @throws {RequiredError}
|
7100
7741
|
*/
|
7101
|
-
async createV2Configuration(
|
7102
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createV2Configuration(
|
7742
|
+
async createV2Configuration(tenantConfingRequest: TenantConfingRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
7743
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createV2Configuration(tenantConfingRequest, options);
|
7103
7744
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
7104
7745
|
},
|
7105
7746
|
/**
|
@@ -7176,12 +7817,12 @@ export const ConfigurationsApiFactory = function (configuration?: Configuration,
|
|
7176
7817
|
/**
|
7177
7818
|
* Create or update backoffice configuration for the current tenant
|
7178
7819
|
* @summary Create configuration
|
7179
|
-
* @param {
|
7820
|
+
* @param {TenantConfingRequest} tenantConfingRequest Configuration data
|
7180
7821
|
* @param {*} [options] Override http request option.
|
7181
7822
|
* @throws {RequiredError}
|
7182
7823
|
*/
|
7183
|
-
createV2Configuration(
|
7184
|
-
return localVarFp.createV2Configuration(
|
7824
|
+
createV2Configuration(tenantConfingRequest: TenantConfingRequest, options?: any): AxiosPromise<void> {
|
7825
|
+
return localVarFp.createV2Configuration(tenantConfingRequest, options).then((request) => request(axios, basePath));
|
7185
7826
|
},
|
7186
7827
|
/**
|
7187
7828
|
* List backoffice configurations for the current tenant
|
@@ -7254,13 +7895,13 @@ export class ConfigurationsApi extends BaseAPI {
|
|
7254
7895
|
/**
|
7255
7896
|
* Create or update backoffice configuration for the current tenant
|
7256
7897
|
* @summary Create configuration
|
7257
|
-
* @param {
|
7898
|
+
* @param {TenantConfingRequest} tenantConfingRequest Configuration data
|
7258
7899
|
* @param {*} [options] Override http request option.
|
7259
7900
|
* @throws {RequiredError}
|
7260
7901
|
* @memberof ConfigurationsApi
|
7261
7902
|
*/
|
7262
|
-
public createV2Configuration(
|
7263
|
-
return ConfigurationsApiFp(this.configuration).createV2Configuration(
|
7903
|
+
public createV2Configuration(tenantConfingRequest: TenantConfingRequest, options?: AxiosRequestConfig) {
|
7904
|
+
return ConfigurationsApiFp(this.configuration).createV2Configuration(tenantConfingRequest, options).then((request) => request(this.axios, this.basePath));
|
7264
7905
|
}
|
7265
7906
|
|
7266
7907
|
/**
|
@@ -7722,6 +8363,52 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
7722
8363
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
7723
8364
|
localVarRequestOptions.data = serializeDataIfNeeded(eventCreationRequest, localVarRequestOptions, configuration)
|
7724
8365
|
|
8366
|
+
return {
|
8367
|
+
url: toPathString(localVarUrlObj),
|
8368
|
+
options: localVarRequestOptions,
|
8369
|
+
};
|
8370
|
+
},
|
8371
|
+
/**
|
8372
|
+
* Search events
|
8373
|
+
* @summary Search events
|
8374
|
+
* @param {string} reference Reference ID
|
8375
|
+
* @param {string} [nextToken] This is the pagination token
|
8376
|
+
* @param {*} [options] Override http request option.
|
8377
|
+
* @throws {RequiredError}
|
8378
|
+
*/
|
8379
|
+
searchEvents: async (reference: string, nextToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
8380
|
+
// verify required parameter 'reference' is not null or undefined
|
8381
|
+
assertParamExists('searchEvents', 'reference', reference)
|
8382
|
+
const localVarPath = `/admins/events`;
|
8383
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
8384
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
8385
|
+
let baseOptions;
|
8386
|
+
if (configuration) {
|
8387
|
+
baseOptions = configuration.baseOptions;
|
8388
|
+
}
|
8389
|
+
|
8390
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
8391
|
+
const localVarHeaderParameter = {} as any;
|
8392
|
+
const localVarQueryParameter = {} as any;
|
8393
|
+
|
8394
|
+
// authentication systemJWT required
|
8395
|
+
// http bearer authentication required
|
8396
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8397
|
+
|
8398
|
+
if (nextToken !== undefined) {
|
8399
|
+
localVarQueryParameter['nextToken'] = nextToken;
|
8400
|
+
}
|
8401
|
+
|
8402
|
+
if (reference !== undefined) {
|
8403
|
+
localVarQueryParameter['reference'] = reference;
|
8404
|
+
}
|
8405
|
+
|
8406
|
+
|
8407
|
+
|
8408
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
8409
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
8410
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
8411
|
+
|
7725
8412
|
return {
|
7726
8413
|
url: toPathString(localVarUrlObj),
|
7727
8414
|
options: localVarRequestOptions,
|
@@ -7748,6 +8435,18 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
7748
8435
|
const localVarAxiosArgs = await localVarAxiosParamCreator.importEvents(eventCreationRequest, options);
|
7749
8436
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
7750
8437
|
},
|
8438
|
+
/**
|
8439
|
+
* Search events
|
8440
|
+
* @summary Search events
|
8441
|
+
* @param {string} reference Reference ID
|
8442
|
+
* @param {string} [nextToken] This is the pagination token
|
8443
|
+
* @param {*} [options] Override http request option.
|
8444
|
+
* @throws {RequiredError}
|
8445
|
+
*/
|
8446
|
+
async searchEvents(reference: string, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsResponse>> {
|
8447
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchEvents(reference, nextToken, options);
|
8448
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
8449
|
+
},
|
7751
8450
|
}
|
7752
8451
|
};
|
7753
8452
|
|
@@ -7768,6 +8467,17 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
7768
8467
|
importEvents(eventCreationRequest: Array<EventCreationRequest>, options?: any): AxiosPromise<void> {
|
7769
8468
|
return localVarFp.importEvents(eventCreationRequest, options).then((request) => request(axios, basePath));
|
7770
8469
|
},
|
8470
|
+
/**
|
8471
|
+
* Search events
|
8472
|
+
* @summary Search events
|
8473
|
+
* @param {string} reference Reference ID
|
8474
|
+
* @param {string} [nextToken] This is the pagination token
|
8475
|
+
* @param {*} [options] Override http request option.
|
8476
|
+
* @throws {RequiredError}
|
8477
|
+
*/
|
8478
|
+
searchEvents(reference: string, nextToken?: string, options?: any): AxiosPromise<EventsResponse> {
|
8479
|
+
return localVarFp.searchEvents(reference, nextToken, options).then((request) => request(axios, basePath));
|
8480
|
+
},
|
7771
8481
|
};
|
7772
8482
|
};
|
7773
8483
|
|
@@ -7789,6 +8499,19 @@ export class EventsApi extends BaseAPI {
|
|
7789
8499
|
public importEvents(eventCreationRequest: Array<EventCreationRequest>, options?: AxiosRequestConfig) {
|
7790
8500
|
return EventsApiFp(this.configuration).importEvents(eventCreationRequest, options).then((request) => request(this.axios, this.basePath));
|
7791
8501
|
}
|
8502
|
+
|
8503
|
+
/**
|
8504
|
+
* Search events
|
8505
|
+
* @summary Search events
|
8506
|
+
* @param {string} reference Reference ID
|
8507
|
+
* @param {string} [nextToken] This is the pagination token
|
8508
|
+
* @param {*} [options] Override http request option.
|
8509
|
+
* @throws {RequiredError}
|
8510
|
+
* @memberof EventsApi
|
8511
|
+
*/
|
8512
|
+
public searchEvents(reference: string, nextToken?: string, options?: AxiosRequestConfig) {
|
8513
|
+
return EventsApiFp(this.configuration).searchEvents(reference, nextToken, options).then((request) => request(this.axios, this.basePath));
|
8514
|
+
}
|
7792
8515
|
}
|
7793
8516
|
|
7794
8517
|
|
@@ -7945,272 +8668,96 @@ export const IntegrationsApiFp = function(configuration?: Configuration) {
|
|
7945
8668
|
/**
|
7946
8669
|
* Set up webhook url for a given webhook kind
|
7947
8670
|
* @summary Update webhook
|
7948
|
-
* @param {Webhook} webhook Webhook data
|
7949
|
-
* @param {*} [options] Override http request option.
|
7950
|
-
* @throws {RequiredError}
|
7951
|
-
*/
|
7952
|
-
async setWebhook(webhook: Webhook, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
7953
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.setWebhook(webhook, options);
|
7954
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
7955
|
-
},
|
7956
|
-
}
|
7957
|
-
};
|
7958
|
-
|
7959
|
-
/**
|
7960
|
-
* IntegrationsApi - factory interface
|
7961
|
-
* @export
|
7962
|
-
*/
|
7963
|
-
export const IntegrationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
7964
|
-
const localVarFp = IntegrationsApiFp(configuration)
|
7965
|
-
return {
|
7966
|
-
/**
|
7967
|
-
* Generate a new API key, if one already exists it will be rotated, but the old one will still be valid for a short period of time. Important that API key is only returned once, so make sure to store it securely.
|
7968
|
-
* @summary Generate API key
|
7969
|
-
* @param {ApiKeyCreationRequest} [apiKeyCreationRequest]
|
7970
|
-
* @param {*} [options] Override http request option.
|
7971
|
-
* @throws {RequiredError}
|
7972
|
-
*/
|
7973
|
-
generateApiKey(apiKeyCreationRequest?: ApiKeyCreationRequest, options?: any): AxiosPromise<ApiKey> {
|
7974
|
-
return localVarFp.generateApiKey(apiKeyCreationRequest, options).then((request) => request(axios, basePath));
|
7975
|
-
},
|
7976
|
-
/**
|
7977
|
-
* List all webhooks for the current tenant
|
7978
|
-
* @summary List webhooks
|
7979
|
-
* @param {*} [options] Override http request option.
|
7980
|
-
* @throws {RequiredError}
|
7981
|
-
*/
|
7982
|
-
listWebhooks(options?: any): AxiosPromise<WebhooksResponse> {
|
7983
|
-
return localVarFp.listWebhooks(options).then((request) => request(axios, basePath));
|
7984
|
-
},
|
7985
|
-
/**
|
7986
|
-
* Set up webhook url for a given webhook kind
|
7987
|
-
* @summary Update webhook
|
7988
|
-
* @param {Webhook} webhook Webhook data
|
7989
|
-
* @param {*} [options] Override http request option.
|
7990
|
-
* @throws {RequiredError}
|
7991
|
-
*/
|
7992
|
-
setWebhook(webhook: Webhook, options?: any): AxiosPromise<void> {
|
7993
|
-
return localVarFp.setWebhook(webhook, options).then((request) => request(axios, basePath));
|
7994
|
-
},
|
7995
|
-
};
|
7996
|
-
};
|
7997
|
-
|
7998
|
-
/**
|
7999
|
-
* IntegrationsApi - object-oriented interface
|
8000
|
-
* @export
|
8001
|
-
* @class IntegrationsApi
|
8002
|
-
* @extends {BaseAPI}
|
8003
|
-
*/
|
8004
|
-
export class IntegrationsApi extends BaseAPI {
|
8005
|
-
/**
|
8006
|
-
* Generate a new API key, if one already exists it will be rotated, but the old one will still be valid for a short period of time. Important that API key is only returned once, so make sure to store it securely.
|
8007
|
-
* @summary Generate API key
|
8008
|
-
* @param {ApiKeyCreationRequest} [apiKeyCreationRequest]
|
8009
|
-
* @param {*} [options] Override http request option.
|
8010
|
-
* @throws {RequiredError}
|
8011
|
-
* @memberof IntegrationsApi
|
8012
|
-
*/
|
8013
|
-
public generateApiKey(apiKeyCreationRequest?: ApiKeyCreationRequest, options?: AxiosRequestConfig) {
|
8014
|
-
return IntegrationsApiFp(this.configuration).generateApiKey(apiKeyCreationRequest, options).then((request) => request(this.axios, this.basePath));
|
8015
|
-
}
|
8016
|
-
|
8017
|
-
/**
|
8018
|
-
* List all webhooks for the current tenant
|
8019
|
-
* @summary List webhooks
|
8020
|
-
* @param {*} [options] Override http request option.
|
8021
|
-
* @throws {RequiredError}
|
8022
|
-
* @memberof IntegrationsApi
|
8023
|
-
*/
|
8024
|
-
public listWebhooks(options?: AxiosRequestConfig) {
|
8025
|
-
return IntegrationsApiFp(this.configuration).listWebhooks(options).then((request) => request(this.axios, this.basePath));
|
8026
|
-
}
|
8027
|
-
|
8028
|
-
/**
|
8029
|
-
* Set up webhook url for a given webhook kind
|
8030
|
-
* @summary Update webhook
|
8031
|
-
* @param {Webhook} webhook Webhook data
|
8032
|
-
* @param {*} [options] Override http request option.
|
8033
|
-
* @throws {RequiredError}
|
8034
|
-
* @memberof IntegrationsApi
|
8035
|
-
*/
|
8036
|
-
public setWebhook(webhook: Webhook, options?: AxiosRequestConfig) {
|
8037
|
-
return IntegrationsApiFp(this.configuration).setWebhook(webhook, options).then((request) => request(this.axios, this.basePath));
|
8038
|
-
}
|
8039
|
-
}
|
8040
|
-
|
8041
|
-
|
8042
|
-
|
8043
|
-
/**
|
8044
|
-
* NotificationApi - axios parameter creator
|
8045
|
-
* @export
|
8046
|
-
*/
|
8047
|
-
export const NotificationApiAxiosParamCreator = function (configuration?: Configuration) {
|
8048
|
-
return {
|
8049
|
-
/**
|
8050
|
-
* Get preferences for the authenticated user
|
8051
|
-
* @summary Get preferences
|
8052
|
-
* @param {*} [options] Override http request option.
|
8053
|
-
* @throws {RequiredError}
|
8054
|
-
*/
|
8055
|
-
getSystemPreferences: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
8056
|
-
const localVarPath = `/admins/preferences/system`;
|
8057
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
8058
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
8059
|
-
let baseOptions;
|
8060
|
-
if (configuration) {
|
8061
|
-
baseOptions = configuration.baseOptions;
|
8062
|
-
}
|
8063
|
-
|
8064
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
8065
|
-
const localVarHeaderParameter = {} as any;
|
8066
|
-
const localVarQueryParameter = {} as any;
|
8067
|
-
|
8068
|
-
// authentication customerJWT required
|
8069
|
-
// http bearer authentication required
|
8070
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8071
|
-
|
8072
|
-
|
8073
|
-
|
8074
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
8075
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
8076
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
8077
|
-
|
8078
|
-
return {
|
8079
|
-
url: toPathString(localVarUrlObj),
|
8080
|
-
options: localVarRequestOptions,
|
8081
|
-
};
|
8082
|
-
},
|
8083
|
-
/**
|
8084
|
-
* Update preferences for the authenticated user
|
8085
|
-
* @summary Update preferences
|
8086
|
-
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
8087
|
-
* @param {*} [options] Override http request option.
|
8088
|
-
* @throws {RequiredError}
|
8089
|
-
*/
|
8090
|
-
updateSystemPreferences: async (notificationPreference: Array<NotificationPreference>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
8091
|
-
// verify required parameter 'notificationPreference' is not null or undefined
|
8092
|
-
assertParamExists('updateSystemPreferences', 'notificationPreference', notificationPreference)
|
8093
|
-
const localVarPath = `/admins/preferences/system`;
|
8094
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
8095
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
8096
|
-
let baseOptions;
|
8097
|
-
if (configuration) {
|
8098
|
-
baseOptions = configuration.baseOptions;
|
8099
|
-
}
|
8100
|
-
|
8101
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
8102
|
-
const localVarHeaderParameter = {} as any;
|
8103
|
-
const localVarQueryParameter = {} as any;
|
8104
|
-
|
8105
|
-
// authentication customerJWT required
|
8106
|
-
// http bearer authentication required
|
8107
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8108
|
-
|
8109
|
-
|
8110
|
-
|
8111
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
8112
|
-
|
8113
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
8114
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
8115
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
8116
|
-
localVarRequestOptions.data = serializeDataIfNeeded(notificationPreference, localVarRequestOptions, configuration)
|
8117
|
-
|
8118
|
-
return {
|
8119
|
-
url: toPathString(localVarUrlObj),
|
8120
|
-
options: localVarRequestOptions,
|
8121
|
-
};
|
8122
|
-
},
|
8123
|
-
}
|
8124
|
-
};
|
8125
|
-
|
8126
|
-
/**
|
8127
|
-
* NotificationApi - functional programming interface
|
8128
|
-
* @export
|
8129
|
-
*/
|
8130
|
-
export const NotificationApiFp = function(configuration?: Configuration) {
|
8131
|
-
const localVarAxiosParamCreator = NotificationApiAxiosParamCreator(configuration)
|
8132
|
-
return {
|
8133
|
-
/**
|
8134
|
-
* Get preferences for the authenticated user
|
8135
|
-
* @summary Get preferences
|
8136
|
-
* @param {*} [options] Override http request option.
|
8137
|
-
* @throws {RequiredError}
|
8138
|
-
*/
|
8139
|
-
async getSystemPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotificationPreference>>> {
|
8140
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSystemPreferences(options);
|
8141
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
8142
|
-
},
|
8143
|
-
/**
|
8144
|
-
* Update preferences for the authenticated user
|
8145
|
-
* @summary Update preferences
|
8146
|
-
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
8671
|
+
* @param {Webhook} webhook Webhook data
|
8147
8672
|
* @param {*} [options] Override http request option.
|
8148
8673
|
* @throws {RequiredError}
|
8149
8674
|
*/
|
8150
|
-
async
|
8151
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
8675
|
+
async setWebhook(webhook: Webhook, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
8676
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setWebhook(webhook, options);
|
8152
8677
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
8153
8678
|
},
|
8154
8679
|
}
|
8155
8680
|
};
|
8156
8681
|
|
8157
8682
|
/**
|
8158
|
-
*
|
8683
|
+
* IntegrationsApi - factory interface
|
8159
8684
|
* @export
|
8160
8685
|
*/
|
8161
|
-
export const
|
8162
|
-
const localVarFp =
|
8686
|
+
export const IntegrationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
8687
|
+
const localVarFp = IntegrationsApiFp(configuration)
|
8163
8688
|
return {
|
8164
8689
|
/**
|
8165
|
-
*
|
8166
|
-
* @summary
|
8690
|
+
* Generate a new API key, if one already exists it will be rotated, but the old one will still be valid for a short period of time. Important that API key is only returned once, so make sure to store it securely.
|
8691
|
+
* @summary Generate API key
|
8692
|
+
* @param {ApiKeyCreationRequest} [apiKeyCreationRequest]
|
8167
8693
|
* @param {*} [options] Override http request option.
|
8168
8694
|
* @throws {RequiredError}
|
8169
8695
|
*/
|
8170
|
-
|
8171
|
-
return localVarFp.
|
8696
|
+
generateApiKey(apiKeyCreationRequest?: ApiKeyCreationRequest, options?: any): AxiosPromise<ApiKey> {
|
8697
|
+
return localVarFp.generateApiKey(apiKeyCreationRequest, options).then((request) => request(axios, basePath));
|
8172
8698
|
},
|
8173
8699
|
/**
|
8174
|
-
*
|
8175
|
-
* @summary
|
8176
|
-
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
8700
|
+
* List all webhooks for the current tenant
|
8701
|
+
* @summary List webhooks
|
8177
8702
|
* @param {*} [options] Override http request option.
|
8178
8703
|
* @throws {RequiredError}
|
8179
8704
|
*/
|
8180
|
-
|
8181
|
-
return localVarFp.
|
8705
|
+
listWebhooks(options?: any): AxiosPromise<WebhooksResponse> {
|
8706
|
+
return localVarFp.listWebhooks(options).then((request) => request(axios, basePath));
|
8707
|
+
},
|
8708
|
+
/**
|
8709
|
+
* Set up webhook url for a given webhook kind
|
8710
|
+
* @summary Update webhook
|
8711
|
+
* @param {Webhook} webhook Webhook data
|
8712
|
+
* @param {*} [options] Override http request option.
|
8713
|
+
* @throws {RequiredError}
|
8714
|
+
*/
|
8715
|
+
setWebhook(webhook: Webhook, options?: any): AxiosPromise<void> {
|
8716
|
+
return localVarFp.setWebhook(webhook, options).then((request) => request(axios, basePath));
|
8182
8717
|
},
|
8183
8718
|
};
|
8184
8719
|
};
|
8185
8720
|
|
8186
8721
|
/**
|
8187
|
-
*
|
8722
|
+
* IntegrationsApi - object-oriented interface
|
8188
8723
|
* @export
|
8189
|
-
* @class
|
8724
|
+
* @class IntegrationsApi
|
8190
8725
|
* @extends {BaseAPI}
|
8191
8726
|
*/
|
8192
|
-
export class
|
8727
|
+
export class IntegrationsApi extends BaseAPI {
|
8193
8728
|
/**
|
8194
|
-
*
|
8195
|
-
* @summary
|
8729
|
+
* Generate a new API key, if one already exists it will be rotated, but the old one will still be valid for a short period of time. Important that API key is only returned once, so make sure to store it securely.
|
8730
|
+
* @summary Generate API key
|
8731
|
+
* @param {ApiKeyCreationRequest} [apiKeyCreationRequest]
|
8196
8732
|
* @param {*} [options] Override http request option.
|
8197
8733
|
* @throws {RequiredError}
|
8198
|
-
* @memberof
|
8734
|
+
* @memberof IntegrationsApi
|
8199
8735
|
*/
|
8200
|
-
public
|
8201
|
-
return
|
8736
|
+
public generateApiKey(apiKeyCreationRequest?: ApiKeyCreationRequest, options?: AxiosRequestConfig) {
|
8737
|
+
return IntegrationsApiFp(this.configuration).generateApiKey(apiKeyCreationRequest, options).then((request) => request(this.axios, this.basePath));
|
8202
8738
|
}
|
8203
8739
|
|
8204
8740
|
/**
|
8205
|
-
*
|
8206
|
-
* @summary
|
8207
|
-
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
8741
|
+
* List all webhooks for the current tenant
|
8742
|
+
* @summary List webhooks
|
8208
8743
|
* @param {*} [options] Override http request option.
|
8209
8744
|
* @throws {RequiredError}
|
8210
|
-
* @memberof
|
8745
|
+
* @memberof IntegrationsApi
|
8211
8746
|
*/
|
8212
|
-
public
|
8213
|
-
return
|
8747
|
+
public listWebhooks(options?: AxiosRequestConfig) {
|
8748
|
+
return IntegrationsApiFp(this.configuration).listWebhooks(options).then((request) => request(this.axios, this.basePath));
|
8749
|
+
}
|
8750
|
+
|
8751
|
+
/**
|
8752
|
+
* Set up webhook url for a given webhook kind
|
8753
|
+
* @summary Update webhook
|
8754
|
+
* @param {Webhook} webhook Webhook data
|
8755
|
+
* @param {*} [options] Override http request option.
|
8756
|
+
* @throws {RequiredError}
|
8757
|
+
* @memberof IntegrationsApi
|
8758
|
+
*/
|
8759
|
+
public setWebhook(webhook: Webhook, options?: AxiosRequestConfig) {
|
8760
|
+
return IntegrationsApiFp(this.configuration).setWebhook(webhook, options).then((request) => request(this.axios, this.basePath));
|
8214
8761
|
}
|
8215
8762
|
}
|
8216
8763
|
|
@@ -8319,7 +8866,41 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
8319
8866
|
const localVarHeaderParameter = {} as any;
|
8320
8867
|
const localVarQueryParameter = {} as any;
|
8321
8868
|
|
8322
|
-
// authentication
|
8869
|
+
// authentication systemJWT required
|
8870
|
+
// http bearer authentication required
|
8871
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8872
|
+
|
8873
|
+
|
8874
|
+
|
8875
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
8876
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
8877
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
8878
|
+
|
8879
|
+
return {
|
8880
|
+
url: toPathString(localVarUrlObj),
|
8881
|
+
options: localVarRequestOptions,
|
8882
|
+
};
|
8883
|
+
},
|
8884
|
+
/**
|
8885
|
+
* Get preferences for the authenticated user
|
8886
|
+
* @summary Get preferences
|
8887
|
+
* @param {*} [options] Override http request option.
|
8888
|
+
* @throws {RequiredError}
|
8889
|
+
*/
|
8890
|
+
getSystemPreferences: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
8891
|
+
const localVarPath = `/admins/preferences/system`;
|
8892
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
8893
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
8894
|
+
let baseOptions;
|
8895
|
+
if (configuration) {
|
8896
|
+
baseOptions = configuration.baseOptions;
|
8897
|
+
}
|
8898
|
+
|
8899
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
8900
|
+
const localVarHeaderParameter = {} as any;
|
8901
|
+
const localVarQueryParameter = {} as any;
|
8902
|
+
|
8903
|
+
// authentication systemJWT required
|
8323
8904
|
// http bearer authentication required
|
8324
8905
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8325
8906
|
|
@@ -8472,7 +9053,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
8472
9053
|
const localVarHeaderParameter = {} as any;
|
8473
9054
|
const localVarQueryParameter = {} as any;
|
8474
9055
|
|
8475
|
-
// authentication
|
9056
|
+
// authentication systemJWT required
|
8476
9057
|
// http bearer authentication required
|
8477
9058
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8478
9059
|
|
@@ -8490,6 +9071,46 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
8490
9071
|
options: localVarRequestOptions,
|
8491
9072
|
};
|
8492
9073
|
},
|
9074
|
+
/**
|
9075
|
+
* Update preferences for the authenticated user
|
9076
|
+
* @summary Update preferences
|
9077
|
+
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
9078
|
+
* @param {*} [options] Override http request option.
|
9079
|
+
* @throws {RequiredError}
|
9080
|
+
*/
|
9081
|
+
updateSystemPreferences: async (notificationPreference: Array<NotificationPreference>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
9082
|
+
// verify required parameter 'notificationPreference' is not null or undefined
|
9083
|
+
assertParamExists('updateSystemPreferences', 'notificationPreference', notificationPreference)
|
9084
|
+
const localVarPath = `/admins/preferences/system`;
|
9085
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
9086
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
9087
|
+
let baseOptions;
|
9088
|
+
if (configuration) {
|
9089
|
+
baseOptions = configuration.baseOptions;
|
9090
|
+
}
|
9091
|
+
|
9092
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
9093
|
+
const localVarHeaderParameter = {} as any;
|
9094
|
+
const localVarQueryParameter = {} as any;
|
9095
|
+
|
9096
|
+
// authentication systemJWT required
|
9097
|
+
// http bearer authentication required
|
9098
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
9099
|
+
|
9100
|
+
|
9101
|
+
|
9102
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
9103
|
+
|
9104
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
9105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
9106
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
9107
|
+
localVarRequestOptions.data = serializeDataIfNeeded(notificationPreference, localVarRequestOptions, configuration)
|
9108
|
+
|
9109
|
+
return {
|
9110
|
+
url: toPathString(localVarUrlObj),
|
9111
|
+
options: localVarRequestOptions,
|
9112
|
+
};
|
9113
|
+
},
|
8493
9114
|
/**
|
8494
9115
|
* Update notification preferences for the authenticated user
|
8495
9116
|
* @summary Update notification preferences
|
@@ -8572,6 +9193,16 @@ export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
8572
9193
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPreferences(options);
|
8573
9194
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
8574
9195
|
},
|
9196
|
+
/**
|
9197
|
+
* Get preferences for the authenticated user
|
9198
|
+
* @summary Get preferences
|
9199
|
+
* @param {*} [options] Override http request option.
|
9200
|
+
* @throws {RequiredError}
|
9201
|
+
*/
|
9202
|
+
async getSystemPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotificationPreference>>> {
|
9203
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSystemPreferences(options);
|
9204
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
9205
|
+
},
|
8575
9206
|
/**
|
8576
9207
|
* Get notification preferences for the authenticated user
|
8577
9208
|
* @summary Get notification preferences
|
@@ -8616,6 +9247,17 @@ export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
8616
9247
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePreferences(preferencesRequest, options);
|
8617
9248
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
8618
9249
|
},
|
9250
|
+
/**
|
9251
|
+
* Update preferences for the authenticated user
|
9252
|
+
* @summary Update preferences
|
9253
|
+
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
9254
|
+
* @param {*} [options] Override http request option.
|
9255
|
+
* @throws {RequiredError}
|
9256
|
+
*/
|
9257
|
+
async updateSystemPreferences(notificationPreference: Array<NotificationPreference>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
9258
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSystemPreferences(notificationPreference, options);
|
9259
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
9260
|
+
},
|
8619
9261
|
/**
|
8620
9262
|
* Update notification preferences for the authenticated user
|
8621
9263
|
* @summary Update notification preferences
|
@@ -8666,6 +9308,15 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
|
|
8666
9308
|
getPreferences(options?: any): AxiosPromise<Preferences> {
|
8667
9309
|
return localVarFp.getPreferences(options).then((request) => request(axios, basePath));
|
8668
9310
|
},
|
9311
|
+
/**
|
9312
|
+
* Get preferences for the authenticated user
|
9313
|
+
* @summary Get preferences
|
9314
|
+
* @param {*} [options] Override http request option.
|
9315
|
+
* @throws {RequiredError}
|
9316
|
+
*/
|
9317
|
+
getSystemPreferences(options?: any): AxiosPromise<Array<NotificationPreference>> {
|
9318
|
+
return localVarFp.getSystemPreferences(options).then((request) => request(axios, basePath));
|
9319
|
+
},
|
8669
9320
|
/**
|
8670
9321
|
* Get notification preferences for the authenticated user
|
8671
9322
|
* @summary Get notification preferences
|
@@ -8706,6 +9357,16 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
|
|
8706
9357
|
updatePreferences(preferencesRequest: PreferencesRequest, options?: any): AxiosPromise<void> {
|
8707
9358
|
return localVarFp.updatePreferences(preferencesRequest, options).then((request) => request(axios, basePath));
|
8708
9359
|
},
|
9360
|
+
/**
|
9361
|
+
* Update preferences for the authenticated user
|
9362
|
+
* @summary Update preferences
|
9363
|
+
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
9364
|
+
* @param {*} [options] Override http request option.
|
9365
|
+
* @throws {RequiredError}
|
9366
|
+
*/
|
9367
|
+
updateSystemPreferences(notificationPreference: Array<NotificationPreference>, options?: any): AxiosPromise<void> {
|
9368
|
+
return localVarFp.updateSystemPreferences(notificationPreference, options).then((request) => request(axios, basePath));
|
9369
|
+
},
|
8709
9370
|
/**
|
8710
9371
|
* Update notification preferences for the authenticated user
|
8711
9372
|
* @summary Update notification preferences
|
@@ -8761,6 +9422,17 @@ export class NotificationsApi extends BaseAPI {
|
|
8761
9422
|
return NotificationsApiFp(this.configuration).getPreferences(options).then((request) => request(this.axios, this.basePath));
|
8762
9423
|
}
|
8763
9424
|
|
9425
|
+
/**
|
9426
|
+
* Get preferences for the authenticated user
|
9427
|
+
* @summary Get preferences
|
9428
|
+
* @param {*} [options] Override http request option.
|
9429
|
+
* @throws {RequiredError}
|
9430
|
+
* @memberof NotificationsApi
|
9431
|
+
*/
|
9432
|
+
public getSystemPreferences(options?: AxiosRequestConfig) {
|
9433
|
+
return NotificationsApiFp(this.configuration).getSystemPreferences(options).then((request) => request(this.axios, this.basePath));
|
9434
|
+
}
|
9435
|
+
|
8764
9436
|
/**
|
8765
9437
|
* Get notification preferences for the authenticated user
|
8766
9438
|
* @summary Get notification preferences
|
@@ -8809,6 +9481,18 @@ export class NotificationsApi extends BaseAPI {
|
|
8809
9481
|
return NotificationsApiFp(this.configuration).updatePreferences(preferencesRequest, options).then((request) => request(this.axios, this.basePath));
|
8810
9482
|
}
|
8811
9483
|
|
9484
|
+
/**
|
9485
|
+
* Update preferences for the authenticated user
|
9486
|
+
* @summary Update preferences
|
9487
|
+
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
9488
|
+
* @param {*} [options] Override http request option.
|
9489
|
+
* @throws {RequiredError}
|
9490
|
+
* @memberof NotificationsApi
|
9491
|
+
*/
|
9492
|
+
public updateSystemPreferences(notificationPreference: Array<NotificationPreference>, options?: AxiosRequestConfig) {
|
9493
|
+
return NotificationsApiFp(this.configuration).updateSystemPreferences(notificationPreference, options).then((request) => request(this.axios, this.basePath));
|
9494
|
+
}
|
9495
|
+
|
8812
9496
|
/**
|
8813
9497
|
* Update notification preferences for the authenticated user
|
8814
9498
|
* @summary Update notification preferences
|
@@ -11943,6 +12627,40 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
11943
12627
|
options: localVarRequestOptions,
|
11944
12628
|
};
|
11945
12629
|
},
|
12630
|
+
/**
|
12631
|
+
* Get signed access URL for report
|
12632
|
+
* @summary Get signed access URL for report
|
12633
|
+
* @param {*} [options] Override http request option.
|
12634
|
+
* @throws {RequiredError}
|
12635
|
+
*/
|
12636
|
+
getReportUrl: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
12637
|
+
const localVarPath = `/admin/reports/url`;
|
12638
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
12639
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
12640
|
+
let baseOptions;
|
12641
|
+
if (configuration) {
|
12642
|
+
baseOptions = configuration.baseOptions;
|
12643
|
+
}
|
12644
|
+
|
12645
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
12646
|
+
const localVarHeaderParameter = {} as any;
|
12647
|
+
const localVarQueryParameter = {} as any;
|
12648
|
+
|
12649
|
+
// authentication systemJWT required
|
12650
|
+
// http bearer authentication required
|
12651
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
12652
|
+
|
12653
|
+
|
12654
|
+
|
12655
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
12656
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
12657
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
12658
|
+
|
12659
|
+
return {
|
12660
|
+
url: toPathString(localVarUrlObj),
|
12661
|
+
options: localVarRequestOptions,
|
12662
|
+
};
|
12663
|
+
},
|
11946
12664
|
/**
|
11947
12665
|
* List all supported report types, which can be generated by the user
|
11948
12666
|
* @summary List report types
|
@@ -12037,6 +12755,16 @@ export const ReportsApiFp = function(configuration?: Configuration) {
|
|
12037
12755
|
const localVarAxiosArgs = await localVarAxiosParamCreator.generateReport(type, reportCreationRequest, options);
|
12038
12756
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
12039
12757
|
},
|
12758
|
+
/**
|
12759
|
+
* Get signed access URL for report
|
12760
|
+
* @summary Get signed access URL for report
|
12761
|
+
* @param {*} [options] Override http request option.
|
12762
|
+
* @throws {RequiredError}
|
12763
|
+
*/
|
12764
|
+
async getReportUrl(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportUrlResponse>> {
|
12765
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getReportUrl(options);
|
12766
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
12767
|
+
},
|
12040
12768
|
/**
|
12041
12769
|
* List all supported report types, which can be generated by the user
|
12042
12770
|
* @summary List report types
|
@@ -12079,6 +12807,15 @@ export const ReportsApiFactory = function (configuration?: Configuration, basePa
|
|
12079
12807
|
generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: any): AxiosPromise<ReportResponse> {
|
12080
12808
|
return localVarFp.generateReport(type, reportCreationRequest, options).then((request) => request(axios, basePath));
|
12081
12809
|
},
|
12810
|
+
/**
|
12811
|
+
* Get signed access URL for report
|
12812
|
+
* @summary Get signed access URL for report
|
12813
|
+
* @param {*} [options] Override http request option.
|
12814
|
+
* @throws {RequiredError}
|
12815
|
+
*/
|
12816
|
+
getReportUrl(options?: any): AxiosPromise<ReportUrlResponse> {
|
12817
|
+
return localVarFp.getReportUrl(options).then((request) => request(axios, basePath));
|
12818
|
+
},
|
12082
12819
|
/**
|
12083
12820
|
* List all supported report types, which can be generated by the user
|
12084
12821
|
* @summary List report types
|
@@ -12121,6 +12858,17 @@ export class ReportsApi extends BaseAPI {
|
|
12121
12858
|
return ReportsApiFp(this.configuration).generateReport(type, reportCreationRequest, options).then((request) => request(this.axios, this.basePath));
|
12122
12859
|
}
|
12123
12860
|
|
12861
|
+
/**
|
12862
|
+
* Get signed access URL for report
|
12863
|
+
* @summary Get signed access URL for report
|
12864
|
+
* @param {*} [options] Override http request option.
|
12865
|
+
* @throws {RequiredError}
|
12866
|
+
* @memberof ReportsApi
|
12867
|
+
*/
|
12868
|
+
public getReportUrl(options?: AxiosRequestConfig) {
|
12869
|
+
return ReportsApiFp(this.configuration).getReportUrl(options).then((request) => request(this.axios, this.basePath));
|
12870
|
+
}
|
12871
|
+
|
12124
12872
|
/**
|
12125
12873
|
* List all supported report types, which can be generated by the user
|
12126
12874
|
* @summary List report types
|