flexinet-api 0.0.2303 → 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 +753 -209
- package/dist/api.d.ts +678 -113
- package/dist/api.js +142 -180
- package/dist/esm/api.d.ts +678 -113
- package/dist/esm/api.js +140 -174
- 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
|
@@ -1300,6 +1404,25 @@ export interface FeatureFlags {
|
|
1300
1404
|
*/
|
1301
1405
|
'features': { [key: string]: boolean; };
|
1302
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
|
+
}
|
1303
1426
|
/**
|
1304
1427
|
*
|
1305
1428
|
* @export
|
@@ -1380,6 +1503,73 @@ export interface IntegrationsConfig {
|
|
1380
1503
|
*/
|
1381
1504
|
'externalUserServiceEnabled': boolean;
|
1382
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
|
+
}
|
1383
1573
|
/**
|
1384
1574
|
*
|
1385
1575
|
* @export
|
@@ -1430,6 +1620,37 @@ export interface LedgerConfig {
|
|
1430
1620
|
*/
|
1431
1621
|
'expiry': { [key: string]: string; };
|
1432
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
|
+
}
|
1433
1654
|
/**
|
1434
1655
|
*
|
1435
1656
|
* @export
|
@@ -1770,6 +1991,49 @@ export interface NotificationConfig {
|
|
1770
1991
|
*/
|
1771
1992
|
'templateDir'?: string;
|
1772
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
|
+
}
|
1773
2037
|
/**
|
1774
2038
|
*
|
1775
2039
|
* @export
|
@@ -3121,6 +3385,55 @@ export interface PromotionConfig {
|
|
3121
3385
|
*/
|
3122
3386
|
'allowRunningPromotionsUpdate': boolean;
|
3123
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
|
+
}
|
3124
3437
|
/**
|
3125
3438
|
*
|
3126
3439
|
* @export
|
@@ -4481,39 +4794,309 @@ export interface TenantConfing {
|
|
4481
4794
|
/**
|
4482
4795
|
*
|
4483
4796
|
* @export
|
4484
|
-
* @interface
|
4797
|
+
* @interface TenantConfingRequest
|
4485
4798
|
*/
|
4486
|
-
export interface
|
4799
|
+
export interface TenantConfingRequest {
|
4487
4800
|
/**
|
4488
4801
|
*
|
4489
|
-
* @type {
|
4490
|
-
* @memberof
|
4802
|
+
* @type {string}
|
4803
|
+
* @memberof TenantConfingRequest
|
4491
4804
|
*/
|
4492
|
-
'
|
4805
|
+
'id': string;
|
4493
4806
|
/**
|
4494
4807
|
*
|
4495
|
-
* @type {
|
4496
|
-
* @memberof
|
4808
|
+
* @type {string}
|
4809
|
+
* @memberof TenantConfingRequest
|
4497
4810
|
*/
|
4498
|
-
'
|
4811
|
+
'name'?: string;
|
4499
4812
|
/**
|
4500
4813
|
*
|
4501
|
-
* @type {
|
4502
|
-
* @memberof
|
4814
|
+
* @type {string}
|
4815
|
+
* @memberof TenantConfingRequest
|
4503
4816
|
*/
|
4504
|
-
'
|
4817
|
+
'adminKeyConfig'?: string;
|
4505
4818
|
/**
|
4506
4819
|
*
|
4507
|
-
* @type {
|
4508
|
-
* @memberof
|
4820
|
+
* @type {string}
|
4821
|
+
* @memberof TenantConfingRequest
|
4509
4822
|
*/
|
4510
|
-
'
|
4823
|
+
'adminIssuer'?: string;
|
4511
4824
|
/**
|
4512
4825
|
*
|
4513
|
-
* @type {
|
4514
|
-
* @memberof
|
4826
|
+
* @type {string}
|
4827
|
+
* @memberof TenantConfingRequest
|
4515
4828
|
*/
|
4516
|
-
'
|
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;
|
5061
|
+
}
|
5062
|
+
|
5063
|
+
|
5064
|
+
/**
|
5065
|
+
*
|
5066
|
+
* @export
|
5067
|
+
* @interface Transaction
|
5068
|
+
*/
|
5069
|
+
export interface Transaction {
|
5070
|
+
/**
|
5071
|
+
*
|
5072
|
+
* @type {TransactionKind}
|
5073
|
+
* @memberof Transaction
|
5074
|
+
*/
|
5075
|
+
'kind': TransactionKind;
|
5076
|
+
/**
|
5077
|
+
*
|
5078
|
+
* @type {TransactionSource}
|
5079
|
+
* @memberof Transaction
|
5080
|
+
*/
|
5081
|
+
'source': TransactionSource;
|
5082
|
+
/**
|
5083
|
+
*
|
5084
|
+
* @type {TransactionSourceReference}
|
5085
|
+
* @memberof Transaction
|
5086
|
+
*/
|
5087
|
+
'sourceReference'?: TransactionSourceReference;
|
5088
|
+
/**
|
5089
|
+
*
|
5090
|
+
* @type {number}
|
5091
|
+
* @memberof Transaction
|
5092
|
+
*/
|
5093
|
+
'amount': number;
|
5094
|
+
/**
|
5095
|
+
*
|
5096
|
+
* @type {Beneficiary}
|
5097
|
+
* @memberof Transaction
|
5098
|
+
*/
|
5099
|
+
'beneficiary': Beneficiary;
|
4517
5100
|
/**
|
4518
5101
|
*
|
4519
5102
|
* @type {string}
|
@@ -6918,13 +7501,13 @@ export const ConfigurationsApiAxiosParamCreator = function (configuration?: Conf
|
|
6918
7501
|
/**
|
6919
7502
|
* Create or update backoffice configuration for the current tenant
|
6920
7503
|
* @summary Create configuration
|
6921
|
-
* @param {
|
7504
|
+
* @param {TenantConfingRequest} tenantConfingRequest Configuration data
|
6922
7505
|
* @param {*} [options] Override http request option.
|
6923
7506
|
* @throws {RequiredError}
|
6924
7507
|
*/
|
6925
|
-
createV2Configuration: async (
|
6926
|
-
// verify required parameter '
|
6927
|
-
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)
|
6928
7511
|
const localVarPath = `/v2/admins/configurations`;
|
6929
7512
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
6930
7513
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -6948,7 +7531,7 @@ export const ConfigurationsApiAxiosParamCreator = function (configuration?: Conf
|
|
6948
7531
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
6949
7532
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
6950
7533
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
6951
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
7534
|
+
localVarRequestOptions.data = serializeDataIfNeeded(tenantConfingRequest, localVarRequestOptions, configuration)
|
6952
7535
|
|
6953
7536
|
return {
|
6954
7537
|
url: toPathString(localVarUrlObj),
|
@@ -7152,12 +7735,12 @@ export const ConfigurationsApiFp = function(configuration?: Configuration) {
|
|
7152
7735
|
/**
|
7153
7736
|
* Create or update backoffice configuration for the current tenant
|
7154
7737
|
* @summary Create configuration
|
7155
|
-
* @param {
|
7738
|
+
* @param {TenantConfingRequest} tenantConfingRequest Configuration data
|
7156
7739
|
* @param {*} [options] Override http request option.
|
7157
7740
|
* @throws {RequiredError}
|
7158
7741
|
*/
|
7159
|
-
async createV2Configuration(
|
7160
|
-
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);
|
7161
7744
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
7162
7745
|
},
|
7163
7746
|
/**
|
@@ -7234,12 +7817,12 @@ export const ConfigurationsApiFactory = function (configuration?: Configuration,
|
|
7234
7817
|
/**
|
7235
7818
|
* Create or update backoffice configuration for the current tenant
|
7236
7819
|
* @summary Create configuration
|
7237
|
-
* @param {
|
7820
|
+
* @param {TenantConfingRequest} tenantConfingRequest Configuration data
|
7238
7821
|
* @param {*} [options] Override http request option.
|
7239
7822
|
* @throws {RequiredError}
|
7240
7823
|
*/
|
7241
|
-
createV2Configuration(
|
7242
|
-
return localVarFp.createV2Configuration(
|
7824
|
+
createV2Configuration(tenantConfingRequest: TenantConfingRequest, options?: any): AxiosPromise<void> {
|
7825
|
+
return localVarFp.createV2Configuration(tenantConfingRequest, options).then((request) => request(axios, basePath));
|
7243
7826
|
},
|
7244
7827
|
/**
|
7245
7828
|
* List backoffice configurations for the current tenant
|
@@ -7312,13 +7895,13 @@ export class ConfigurationsApi extends BaseAPI {
|
|
7312
7895
|
/**
|
7313
7896
|
* Create or update backoffice configuration for the current tenant
|
7314
7897
|
* @summary Create configuration
|
7315
|
-
* @param {
|
7898
|
+
* @param {TenantConfingRequest} tenantConfingRequest Configuration data
|
7316
7899
|
* @param {*} [options] Override http request option.
|
7317
7900
|
* @throws {RequiredError}
|
7318
7901
|
* @memberof ConfigurationsApi
|
7319
7902
|
*/
|
7320
|
-
public createV2Configuration(
|
7321
|
-
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));
|
7322
7905
|
}
|
7323
7906
|
|
7324
7907
|
/**
|
@@ -8181,56 +8764,22 @@ export class IntegrationsApi extends BaseAPI {
|
|
8181
8764
|
|
8182
8765
|
|
8183
8766
|
/**
|
8184
|
-
*
|
8767
|
+
* NotificationsApi - axios parameter creator
|
8185
8768
|
* @export
|
8186
8769
|
*/
|
8187
|
-
export const
|
8770
|
+
export const NotificationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
8188
8771
|
return {
|
8189
8772
|
/**
|
8190
|
-
*
|
8191
|
-
* @summary
|
8192
|
-
* @param {
|
8193
|
-
* @throws {RequiredError}
|
8194
|
-
*/
|
8195
|
-
getSystemPreferences: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
8196
|
-
const localVarPath = `/admins/preferences/system`;
|
8197
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
8198
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
8199
|
-
let baseOptions;
|
8200
|
-
if (configuration) {
|
8201
|
-
baseOptions = configuration.baseOptions;
|
8202
|
-
}
|
8203
|
-
|
8204
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
8205
|
-
const localVarHeaderParameter = {} as any;
|
8206
|
-
const localVarQueryParameter = {} as any;
|
8207
|
-
|
8208
|
-
// authentication systemJWT required
|
8209
|
-
// http bearer authentication required
|
8210
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8211
|
-
|
8212
|
-
|
8213
|
-
|
8214
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
8215
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
8216
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
8217
|
-
|
8218
|
-
return {
|
8219
|
-
url: toPathString(localVarUrlObj),
|
8220
|
-
options: localVarRequestOptions,
|
8221
|
-
};
|
8222
|
-
},
|
8223
|
-
/**
|
8224
|
-
* Update preferences for the authenticated user
|
8225
|
-
* @summary Update preferences
|
8226
|
-
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
8773
|
+
* Marks all specified notifications as read for the authenticated user
|
8774
|
+
* @summary Mark notifications as read
|
8775
|
+
* @param {BulkNotificationsReadRequest} bulkNotificationsReadRequest IDs of the notifications to be set as product
|
8227
8776
|
* @param {*} [options] Override http request option.
|
8228
8777
|
* @throws {RequiredError}
|
8229
8778
|
*/
|
8230
|
-
|
8231
|
-
// verify required parameter '
|
8232
|
-
assertParamExists('
|
8233
|
-
const localVarPath = `/
|
8779
|
+
bulkMarkNotificationAsRead: async (bulkNotificationsReadRequest: BulkNotificationsReadRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
8780
|
+
// verify required parameter 'bulkNotificationsReadRequest' is not null or undefined
|
8781
|
+
assertParamExists('bulkMarkNotificationAsRead', 'bulkNotificationsReadRequest', bulkNotificationsReadRequest)
|
8782
|
+
const localVarPath = `/users/notifications/read`;
|
8234
8783
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
8235
8784
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
8236
8785
|
let baseOptions;
|
@@ -8238,11 +8787,11 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
8238
8787
|
baseOptions = configuration.baseOptions;
|
8239
8788
|
}
|
8240
8789
|
|
8241
|
-
const localVarRequestOptions = { method: '
|
8790
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
8242
8791
|
const localVarHeaderParameter = {} as any;
|
8243
8792
|
const localVarQueryParameter = {} as any;
|
8244
8793
|
|
8245
|
-
// authentication
|
8794
|
+
// authentication customerJWT required
|
8246
8795
|
// http bearer authentication required
|
8247
8796
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8248
8797
|
|
@@ -8253,126 +8802,25 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
8253
8802
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
8254
8803
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
8255
8804
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
8256
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
8805
|
+
localVarRequestOptions.data = serializeDataIfNeeded(bulkNotificationsReadRequest, localVarRequestOptions, configuration)
|
8257
8806
|
|
8258
8807
|
return {
|
8259
8808
|
url: toPathString(localVarUrlObj),
|
8260
8809
|
options: localVarRequestOptions,
|
8261
8810
|
};
|
8262
8811
|
},
|
8263
|
-
}
|
8264
|
-
};
|
8265
|
-
|
8266
|
-
/**
|
8267
|
-
* NotificationApi - functional programming interface
|
8268
|
-
* @export
|
8269
|
-
*/
|
8270
|
-
export const NotificationApiFp = function(configuration?: Configuration) {
|
8271
|
-
const localVarAxiosParamCreator = NotificationApiAxiosParamCreator(configuration)
|
8272
|
-
return {
|
8273
8812
|
/**
|
8274
|
-
* Get
|
8275
|
-
* @summary Get
|
8276
|
-
* @param {
|
8277
|
-
* @throws {RequiredError}
|
8278
|
-
*/
|
8279
|
-
async getSystemPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotificationPreference>>> {
|
8280
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSystemPreferences(options);
|
8281
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
8282
|
-
},
|
8283
|
-
/**
|
8284
|
-
* Update preferences for the authenticated user
|
8285
|
-
* @summary Update preferences
|
8286
|
-
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
8287
|
-
* @param {*} [options] Override http request option.
|
8288
|
-
* @throws {RequiredError}
|
8289
|
-
*/
|
8290
|
-
async updateSystemPreferences(notificationPreference: Array<NotificationPreference>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
8291
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSystemPreferences(notificationPreference, options);
|
8292
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
8293
|
-
},
|
8294
|
-
}
|
8295
|
-
};
|
8296
|
-
|
8297
|
-
/**
|
8298
|
-
* NotificationApi - factory interface
|
8299
|
-
* @export
|
8300
|
-
*/
|
8301
|
-
export const NotificationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
8302
|
-
const localVarFp = NotificationApiFp(configuration)
|
8303
|
-
return {
|
8304
|
-
/**
|
8305
|
-
* Get preferences for the authenticated user
|
8306
|
-
* @summary Get preferences
|
8307
|
-
* @param {*} [options] Override http request option.
|
8308
|
-
* @throws {RequiredError}
|
8309
|
-
*/
|
8310
|
-
getSystemPreferences(options?: any): AxiosPromise<Array<NotificationPreference>> {
|
8311
|
-
return localVarFp.getSystemPreferences(options).then((request) => request(axios, basePath));
|
8312
|
-
},
|
8313
|
-
/**
|
8314
|
-
* Update preferences for the authenticated user
|
8315
|
-
* @summary Update preferences
|
8316
|
-
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
8317
|
-
* @param {*} [options] Override http request option.
|
8318
|
-
* @throws {RequiredError}
|
8319
|
-
*/
|
8320
|
-
updateSystemPreferences(notificationPreference: Array<NotificationPreference>, options?: any): AxiosPromise<void> {
|
8321
|
-
return localVarFp.updateSystemPreferences(notificationPreference, options).then((request) => request(axios, basePath));
|
8322
|
-
},
|
8323
|
-
};
|
8324
|
-
};
|
8325
|
-
|
8326
|
-
/**
|
8327
|
-
* NotificationApi - object-oriented interface
|
8328
|
-
* @export
|
8329
|
-
* @class NotificationApi
|
8330
|
-
* @extends {BaseAPI}
|
8331
|
-
*/
|
8332
|
-
export class NotificationApi extends BaseAPI {
|
8333
|
-
/**
|
8334
|
-
* Get preferences for the authenticated user
|
8335
|
-
* @summary Get preferences
|
8336
|
-
* @param {*} [options] Override http request option.
|
8337
|
-
* @throws {RequiredError}
|
8338
|
-
* @memberof NotificationApi
|
8339
|
-
*/
|
8340
|
-
public getSystemPreferences(options?: AxiosRequestConfig) {
|
8341
|
-
return NotificationApiFp(this.configuration).getSystemPreferences(options).then((request) => request(this.axios, this.basePath));
|
8342
|
-
}
|
8343
|
-
|
8344
|
-
/**
|
8345
|
-
* Update preferences for the authenticated user
|
8346
|
-
* @summary Update preferences
|
8347
|
-
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
8348
|
-
* @param {*} [options] Override http request option.
|
8349
|
-
* @throws {RequiredError}
|
8350
|
-
* @memberof NotificationApi
|
8351
|
-
*/
|
8352
|
-
public updateSystemPreferences(notificationPreference: Array<NotificationPreference>, options?: AxiosRequestConfig) {
|
8353
|
-
return NotificationApiFp(this.configuration).updateSystemPreferences(notificationPreference, options).then((request) => request(this.axios, this.basePath));
|
8354
|
-
}
|
8355
|
-
}
|
8356
|
-
|
8357
|
-
|
8358
|
-
|
8359
|
-
/**
|
8360
|
-
* NotificationsApi - axios parameter creator
|
8361
|
-
* @export
|
8362
|
-
*/
|
8363
|
-
export const NotificationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
8364
|
-
return {
|
8365
|
-
/**
|
8366
|
-
* Marks all specified notifications as read for the authenticated user
|
8367
|
-
* @summary Mark notifications as read
|
8368
|
-
* @param {BulkNotificationsReadRequest} bulkNotificationsReadRequest IDs of the notifications to be set as product
|
8813
|
+
* Get notification by ID
|
8814
|
+
* @summary Get notification
|
8815
|
+
* @param {string} notificationID Notification ID
|
8369
8816
|
* @param {*} [options] Override http request option.
|
8370
8817
|
* @throws {RequiredError}
|
8371
8818
|
*/
|
8372
|
-
|
8373
|
-
// verify required parameter '
|
8374
|
-
assertParamExists('
|
8375
|
-
const localVarPath = `/users/notifications/
|
8819
|
+
getNotification: async (notificationID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
8820
|
+
// verify required parameter 'notificationID' is not null or undefined
|
8821
|
+
assertParamExists('getNotification', 'notificationID', notificationID)
|
8822
|
+
const localVarPath = `/users/notifications/{notificationID}`
|
8823
|
+
.replace(`{${"notificationID"}}`, encodeURIComponent(String(notificationID)));
|
8376
8824
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
8377
8825
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
8378
8826
|
let baseOptions;
|
@@ -8380,7 +8828,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
8380
8828
|
baseOptions = configuration.baseOptions;
|
8381
8829
|
}
|
8382
8830
|
|
8383
|
-
const localVarRequestOptions = { method: '
|
8831
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
8384
8832
|
const localVarHeaderParameter = {} as any;
|
8385
8833
|
const localVarQueryParameter = {} as any;
|
8386
8834
|
|
@@ -8390,12 +8838,9 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
8390
8838
|
|
8391
8839
|
|
8392
8840
|
|
8393
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
8394
|
-
|
8395
8841
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
8396
8842
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
8397
8843
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
8398
|
-
localVarRequestOptions.data = serializeDataIfNeeded(bulkNotificationsReadRequest, localVarRequestOptions, configuration)
|
8399
8844
|
|
8400
8845
|
return {
|
8401
8846
|
url: toPathString(localVarUrlObj),
|
@@ -8403,17 +8848,13 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
8403
8848
|
};
|
8404
8849
|
},
|
8405
8850
|
/**
|
8406
|
-
*
|
8407
|
-
* @summary Get notification
|
8408
|
-
* @param {string} notificationID Notification ID
|
8851
|
+
* List notification preferences for the authenticated system user
|
8852
|
+
* @summary Get admin notification preferences
|
8409
8853
|
* @param {*} [options] Override http request option.
|
8410
8854
|
* @throws {RequiredError}
|
8411
8855
|
*/
|
8412
|
-
|
8413
|
-
|
8414
|
-
assertParamExists('getNotification', 'notificationID', notificationID)
|
8415
|
-
const localVarPath = `/users/notifications/{notificationID}`
|
8416
|
-
.replace(`{${"notificationID"}}`, encodeURIComponent(String(notificationID)));
|
8856
|
+
getPreferences: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
8857
|
+
const localVarPath = `/admins/preferences`;
|
8417
8858
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
8418
8859
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
8419
8860
|
let baseOptions;
|
@@ -8425,7 +8866,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
8425
8866
|
const localVarHeaderParameter = {} as any;
|
8426
8867
|
const localVarQueryParameter = {} as any;
|
8427
8868
|
|
8428
|
-
// authentication
|
8869
|
+
// authentication systemJWT required
|
8429
8870
|
// http bearer authentication required
|
8430
8871
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8431
8872
|
|
@@ -8441,13 +8882,13 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
8441
8882
|
};
|
8442
8883
|
},
|
8443
8884
|
/**
|
8444
|
-
*
|
8445
|
-
* @summary Get
|
8885
|
+
* Get preferences for the authenticated user
|
8886
|
+
* @summary Get preferences
|
8446
8887
|
* @param {*} [options] Override http request option.
|
8447
8888
|
* @throws {RequiredError}
|
8448
8889
|
*/
|
8449
|
-
|
8450
|
-
const localVarPath = `/admins/preferences`;
|
8890
|
+
getSystemPreferences: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
8891
|
+
const localVarPath = `/admins/preferences/system`;
|
8451
8892
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
8452
8893
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
8453
8894
|
let baseOptions;
|
@@ -8630,6 +9071,46 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
8630
9071
|
options: localVarRequestOptions,
|
8631
9072
|
};
|
8632
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
|
+
},
|
8633
9114
|
/**
|
8634
9115
|
* Update notification preferences for the authenticated user
|
8635
9116
|
* @summary Update notification preferences
|
@@ -8712,6 +9193,16 @@ export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
8712
9193
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPreferences(options);
|
8713
9194
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
8714
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
|
+
},
|
8715
9206
|
/**
|
8716
9207
|
* Get notification preferences for the authenticated user
|
8717
9208
|
* @summary Get notification preferences
|
@@ -8756,6 +9247,17 @@ export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
8756
9247
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePreferences(preferencesRequest, options);
|
8757
9248
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
8758
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
|
+
},
|
8759
9261
|
/**
|
8760
9262
|
* Update notification preferences for the authenticated user
|
8761
9263
|
* @summary Update notification preferences
|
@@ -8806,6 +9308,15 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
|
|
8806
9308
|
getPreferences(options?: any): AxiosPromise<Preferences> {
|
8807
9309
|
return localVarFp.getPreferences(options).then((request) => request(axios, basePath));
|
8808
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
|
+
},
|
8809
9320
|
/**
|
8810
9321
|
* Get notification preferences for the authenticated user
|
8811
9322
|
* @summary Get notification preferences
|
@@ -8846,6 +9357,16 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
|
|
8846
9357
|
updatePreferences(preferencesRequest: PreferencesRequest, options?: any): AxiosPromise<void> {
|
8847
9358
|
return localVarFp.updatePreferences(preferencesRequest, options).then((request) => request(axios, basePath));
|
8848
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
|
+
},
|
8849
9370
|
/**
|
8850
9371
|
* Update notification preferences for the authenticated user
|
8851
9372
|
* @summary Update notification preferences
|
@@ -8901,6 +9422,17 @@ export class NotificationsApi extends BaseAPI {
|
|
8901
9422
|
return NotificationsApiFp(this.configuration).getPreferences(options).then((request) => request(this.axios, this.basePath));
|
8902
9423
|
}
|
8903
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
|
+
|
8904
9436
|
/**
|
8905
9437
|
* Get notification preferences for the authenticated user
|
8906
9438
|
* @summary Get notification preferences
|
@@ -8949,6 +9481,18 @@ export class NotificationsApi extends BaseAPI {
|
|
8949
9481
|
return NotificationsApiFp(this.configuration).updatePreferences(preferencesRequest, options).then((request) => request(this.axios, this.basePath));
|
8950
9482
|
}
|
8951
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
|
+
|
8952
9496
|
/**
|
8953
9497
|
* Update notification preferences for the authenticated user
|
8954
9498
|
* @summary Update notification preferences
|