flexinet-api 0.0.471-prerelease0 → 0.0.490-prerelease0
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 +216 -52
- package/dist/api.d.ts +65 -0
- package/dist/api.js +162 -52
- package/dist/esm/api.d.ts +65 -0
- package/dist/esm/api.js +162 -52
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -755,6 +755,38 @@ export interface Item {
|
|
|
755
755
|
*/
|
|
756
756
|
'product': Product;
|
|
757
757
|
}
|
|
758
|
+
/**
|
|
759
|
+
*
|
|
760
|
+
* @export
|
|
761
|
+
* @interface LoginRequest
|
|
762
|
+
*/
|
|
763
|
+
export interface LoginRequest {
|
|
764
|
+
/**
|
|
765
|
+
*
|
|
766
|
+
* @type {string}
|
|
767
|
+
* @memberof LoginRequest
|
|
768
|
+
*/
|
|
769
|
+
'code': string;
|
|
770
|
+
/**
|
|
771
|
+
*
|
|
772
|
+
* @type {string}
|
|
773
|
+
* @memberof LoginRequest
|
|
774
|
+
*/
|
|
775
|
+
'tenantId': string;
|
|
776
|
+
}
|
|
777
|
+
/**
|
|
778
|
+
*
|
|
779
|
+
* @export
|
|
780
|
+
* @interface LoginResponse
|
|
781
|
+
*/
|
|
782
|
+
export interface LoginResponse {
|
|
783
|
+
/**
|
|
784
|
+
*
|
|
785
|
+
* @type {string}
|
|
786
|
+
* @memberof LoginResponse
|
|
787
|
+
*/
|
|
788
|
+
'accessToken': string;
|
|
789
|
+
}
|
|
758
790
|
/**
|
|
759
791
|
*
|
|
760
792
|
* @export
|
|
@@ -3223,7 +3255,7 @@ export const AuditApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3223
3255
|
const localVarHeaderParameter = {} as any;
|
|
3224
3256
|
const localVarQueryParameter = {} as any;
|
|
3225
3257
|
|
|
3226
|
-
// authentication
|
|
3258
|
+
// authentication systemJWT required
|
|
3227
3259
|
// http bearer authentication required
|
|
3228
3260
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3229
3261
|
|
|
@@ -3262,7 +3294,7 @@ export const AuditApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3262
3294
|
const localVarHeaderParameter = {} as any;
|
|
3263
3295
|
const localVarQueryParameter = {} as any;
|
|
3264
3296
|
|
|
3265
|
-
// authentication
|
|
3297
|
+
// authentication systemJWT required
|
|
3266
3298
|
// http bearer authentication required
|
|
3267
3299
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3268
3300
|
|
|
@@ -3417,7 +3449,7 @@ export const BalanceApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3417
3449
|
const localVarHeaderParameter = {} as any;
|
|
3418
3450
|
const localVarQueryParameter = {} as any;
|
|
3419
3451
|
|
|
3420
|
-
// authentication
|
|
3452
|
+
// authentication systemJWT required
|
|
3421
3453
|
// http bearer authentication required
|
|
3422
3454
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3423
3455
|
|
|
@@ -3459,7 +3491,7 @@ export const BalanceApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3459
3491
|
const localVarHeaderParameter = {} as any;
|
|
3460
3492
|
const localVarQueryParameter = {} as any;
|
|
3461
3493
|
|
|
3462
|
-
// authentication
|
|
3494
|
+
// authentication customerJWT required
|
|
3463
3495
|
// http bearer authentication required
|
|
3464
3496
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3465
3497
|
|
|
@@ -3498,7 +3530,7 @@ export const BalanceApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3498
3530
|
const localVarHeaderParameter = {} as any;
|
|
3499
3531
|
const localVarQueryParameter = {} as any;
|
|
3500
3532
|
|
|
3501
|
-
// authentication
|
|
3533
|
+
// authentication systemJWT required
|
|
3502
3534
|
// http bearer authentication required
|
|
3503
3535
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3504
3536
|
|
|
@@ -3540,6 +3572,10 @@ export const BalanceApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3540
3572
|
const localVarHeaderParameter = {} as any;
|
|
3541
3573
|
const localVarQueryParameter = {} as any;
|
|
3542
3574
|
|
|
3575
|
+
// authentication systemJWT required
|
|
3576
|
+
// http bearer authentication required
|
|
3577
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3578
|
+
|
|
3543
3579
|
|
|
3544
3580
|
|
|
3545
3581
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -3750,7 +3786,11 @@ export const CategoryApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3750
3786
|
const localVarHeaderParameter = {} as any;
|
|
3751
3787
|
const localVarQueryParameter = {} as any;
|
|
3752
3788
|
|
|
3753
|
-
// authentication
|
|
3789
|
+
// authentication systemJWT required
|
|
3790
|
+
// http bearer authentication required
|
|
3791
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3792
|
+
|
|
3793
|
+
// authentication customerJWT required
|
|
3754
3794
|
// http bearer authentication required
|
|
3755
3795
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3756
3796
|
|
|
@@ -3856,10 +3896,13 @@ export const ClientApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3856
3896
|
const localVarHeaderParameter = {} as any;
|
|
3857
3897
|
const localVarQueryParameter = {} as any;
|
|
3858
3898
|
|
|
3859
|
-
// authentication
|
|
3899
|
+
// authentication systemJWT required
|
|
3860
3900
|
// http bearer authentication required
|
|
3861
3901
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3862
3902
|
|
|
3903
|
+
// authentication ApiKeyAuth required
|
|
3904
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration)
|
|
3905
|
+
|
|
3863
3906
|
|
|
3864
3907
|
|
|
3865
3908
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -3897,7 +3940,7 @@ export const ClientApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3897
3940
|
const localVarHeaderParameter = {} as any;
|
|
3898
3941
|
const localVarQueryParameter = {} as any;
|
|
3899
3942
|
|
|
3900
|
-
// authentication
|
|
3943
|
+
// authentication systemJWT required
|
|
3901
3944
|
// http bearer authentication required
|
|
3902
3945
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3903
3946
|
|
|
@@ -3936,7 +3979,7 @@ export const ClientApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3936
3979
|
const localVarHeaderParameter = {} as any;
|
|
3937
3980
|
const localVarQueryParameter = {} as any;
|
|
3938
3981
|
|
|
3939
|
-
// authentication
|
|
3982
|
+
// authentication systemJWT required
|
|
3940
3983
|
// http bearer authentication required
|
|
3941
3984
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3942
3985
|
|
|
@@ -4143,7 +4186,7 @@ export const ConfigurationApiAxiosParamCreator = function (configuration?: Confi
|
|
|
4143
4186
|
const localVarHeaderParameter = {} as any;
|
|
4144
4187
|
const localVarQueryParameter = {} as any;
|
|
4145
4188
|
|
|
4146
|
-
// authentication
|
|
4189
|
+
// authentication systemJWT required
|
|
4147
4190
|
// http bearer authentication required
|
|
4148
4191
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4149
4192
|
|
|
@@ -4182,7 +4225,7 @@ export const ConfigurationApiAxiosParamCreator = function (configuration?: Confi
|
|
|
4182
4225
|
const localVarHeaderParameter = {} as any;
|
|
4183
4226
|
const localVarQueryParameter = {} as any;
|
|
4184
4227
|
|
|
4185
|
-
// authentication
|
|
4228
|
+
// authentication systemJWT required
|
|
4186
4229
|
// http bearer authentication required
|
|
4187
4230
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4188
4231
|
|
|
@@ -4335,6 +4378,10 @@ export const CustomDealsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
4335
4378
|
const localVarHeaderParameter = {} as any;
|
|
4336
4379
|
const localVarQueryParameter = {} as any;
|
|
4337
4380
|
|
|
4381
|
+
// authentication systemJWT required
|
|
4382
|
+
// http bearer authentication required
|
|
4383
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4384
|
+
|
|
4338
4385
|
|
|
4339
4386
|
|
|
4340
4387
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -4368,6 +4415,10 @@ export const CustomDealsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
4368
4415
|
const localVarHeaderParameter = {} as any;
|
|
4369
4416
|
const localVarQueryParameter = {} as any;
|
|
4370
4417
|
|
|
4418
|
+
// authentication systemJWT required
|
|
4419
|
+
// http bearer authentication required
|
|
4420
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4421
|
+
|
|
4371
4422
|
|
|
4372
4423
|
|
|
4373
4424
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -4611,7 +4662,7 @@ export const IntegrationApiAxiosParamCreator = function (configuration?: Configu
|
|
|
4611
4662
|
const localVarHeaderParameter = {} as any;
|
|
4612
4663
|
const localVarQueryParameter = {} as any;
|
|
4613
4664
|
|
|
4614
|
-
// authentication
|
|
4665
|
+
// authentication systemJWT required
|
|
4615
4666
|
// http bearer authentication required
|
|
4616
4667
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4617
4668
|
|
|
@@ -4645,7 +4696,7 @@ export const IntegrationApiAxiosParamCreator = function (configuration?: Configu
|
|
|
4645
4696
|
const localVarHeaderParameter = {} as any;
|
|
4646
4697
|
const localVarQueryParameter = {} as any;
|
|
4647
4698
|
|
|
4648
|
-
// authentication
|
|
4699
|
+
// authentication systemJWT required
|
|
4649
4700
|
// http bearer authentication required
|
|
4650
4701
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4651
4702
|
|
|
@@ -4682,7 +4733,7 @@ export const IntegrationApiAxiosParamCreator = function (configuration?: Configu
|
|
|
4682
4733
|
const localVarHeaderParameter = {} as any;
|
|
4683
4734
|
const localVarQueryParameter = {} as any;
|
|
4684
4735
|
|
|
4685
|
-
// authentication
|
|
4736
|
+
// authentication systemJWT required
|
|
4686
4737
|
// http bearer authentication required
|
|
4687
4738
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4688
4739
|
|
|
@@ -4917,6 +4968,10 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
4917
4968
|
const localVarHeaderParameter = {} as any;
|
|
4918
4969
|
const localVarQueryParameter = {} as any;
|
|
4919
4970
|
|
|
4971
|
+
// authentication customerJWT required
|
|
4972
|
+
// http bearer authentication required
|
|
4973
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4974
|
+
|
|
4920
4975
|
|
|
4921
4976
|
|
|
4922
4977
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -4954,6 +5009,10 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
4954
5009
|
const localVarHeaderParameter = {} as any;
|
|
4955
5010
|
const localVarQueryParameter = {} as any;
|
|
4956
5011
|
|
|
5012
|
+
// authentication customerJWT required
|
|
5013
|
+
// http bearer authentication required
|
|
5014
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5015
|
+
|
|
4957
5016
|
|
|
4958
5017
|
|
|
4959
5018
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -4986,6 +5045,10 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
4986
5045
|
const localVarHeaderParameter = {} as any;
|
|
4987
5046
|
const localVarQueryParameter = {} as any;
|
|
4988
5047
|
|
|
5048
|
+
// authentication customerJWT required
|
|
5049
|
+
// http bearer authentication required
|
|
5050
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5051
|
+
|
|
4989
5052
|
if (nextToken !== undefined) {
|
|
4990
5053
|
localVarQueryParameter['nextToken'] = nextToken;
|
|
4991
5054
|
}
|
|
@@ -5028,6 +5091,10 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
5028
5091
|
const localVarHeaderParameter = {} as any;
|
|
5029
5092
|
const localVarQueryParameter = {} as any;
|
|
5030
5093
|
|
|
5094
|
+
// authentication customerJWT required
|
|
5095
|
+
// http bearer authentication required
|
|
5096
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5097
|
+
|
|
5031
5098
|
|
|
5032
5099
|
|
|
5033
5100
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -5233,7 +5300,7 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
5233
5300
|
const localVarHeaderParameter = {} as any;
|
|
5234
5301
|
const localVarQueryParameter = {} as any;
|
|
5235
5302
|
|
|
5236
|
-
// authentication
|
|
5303
|
+
// authentication customerJWT required
|
|
5237
5304
|
// http bearer authentication required
|
|
5238
5305
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5239
5306
|
|
|
@@ -5274,7 +5341,7 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
5274
5341
|
const localVarHeaderParameter = {} as any;
|
|
5275
5342
|
const localVarQueryParameter = {} as any;
|
|
5276
5343
|
|
|
5277
|
-
// authentication
|
|
5344
|
+
// authentication customerJWT required
|
|
5278
5345
|
// http bearer authentication required
|
|
5279
5346
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5280
5347
|
|
|
@@ -5316,7 +5383,7 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
5316
5383
|
const localVarHeaderParameter = {} as any;
|
|
5317
5384
|
const localVarQueryParameter = {} as any;
|
|
5318
5385
|
|
|
5319
|
-
// authentication
|
|
5386
|
+
// authentication systemJWT required
|
|
5320
5387
|
// http bearer authentication required
|
|
5321
5388
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5322
5389
|
|
|
@@ -5392,7 +5459,7 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
5392
5459
|
const localVarHeaderParameter = {} as any;
|
|
5393
5460
|
const localVarQueryParameter = {} as any;
|
|
5394
5461
|
|
|
5395
|
-
// authentication
|
|
5462
|
+
// authentication customerJWT required
|
|
5396
5463
|
// http bearer authentication required
|
|
5397
5464
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5398
5465
|
|
|
@@ -5666,7 +5733,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5666
5733
|
const localVarHeaderParameter = {} as any;
|
|
5667
5734
|
const localVarQueryParameter = {} as any;
|
|
5668
5735
|
|
|
5669
|
-
// authentication
|
|
5736
|
+
// authentication systemJWT required
|
|
5670
5737
|
// http bearer authentication required
|
|
5671
5738
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5672
5739
|
|
|
@@ -5704,10 +5771,13 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5704
5771
|
const localVarHeaderParameter = {} as any;
|
|
5705
5772
|
const localVarQueryParameter = {} as any;
|
|
5706
5773
|
|
|
5707
|
-
// authentication
|
|
5774
|
+
// authentication systemJWT required
|
|
5708
5775
|
// http bearer authentication required
|
|
5709
5776
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5710
5777
|
|
|
5778
|
+
// authentication ApiKeyAuth required
|
|
5779
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration)
|
|
5780
|
+
|
|
5711
5781
|
|
|
5712
5782
|
|
|
5713
5783
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -5742,7 +5812,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5742
5812
|
const localVarHeaderParameter = {} as any;
|
|
5743
5813
|
const localVarQueryParameter = {} as any;
|
|
5744
5814
|
|
|
5745
|
-
// authentication
|
|
5815
|
+
// authentication systemJWT required
|
|
5746
5816
|
// http bearer authentication required
|
|
5747
5817
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5748
5818
|
|
|
@@ -5780,7 +5850,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5780
5850
|
const localVarHeaderParameter = {} as any;
|
|
5781
5851
|
const localVarQueryParameter = {} as any;
|
|
5782
5852
|
|
|
5783
|
-
// authentication
|
|
5853
|
+
// authentication customerJWT required
|
|
5784
5854
|
// http bearer authentication required
|
|
5785
5855
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5786
5856
|
|
|
@@ -5817,7 +5887,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5817
5887
|
const localVarHeaderParameter = {} as any;
|
|
5818
5888
|
const localVarQueryParameter = {} as any;
|
|
5819
5889
|
|
|
5820
|
-
// authentication
|
|
5890
|
+
// authentication systemJWT required
|
|
5821
5891
|
// http bearer authentication required
|
|
5822
5892
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5823
5893
|
|
|
@@ -5855,7 +5925,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5855
5925
|
const localVarHeaderParameter = {} as any;
|
|
5856
5926
|
const localVarQueryParameter = {} as any;
|
|
5857
5927
|
|
|
5858
|
-
// authentication
|
|
5928
|
+
// authentication systemJWT required
|
|
5859
5929
|
// http bearer authentication required
|
|
5860
5930
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5861
5931
|
|
|
@@ -5893,7 +5963,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5893
5963
|
const localVarHeaderParameter = {} as any;
|
|
5894
5964
|
const localVarQueryParameter = {} as any;
|
|
5895
5965
|
|
|
5896
|
-
// authentication
|
|
5966
|
+
// authentication systemJWT required
|
|
5897
5967
|
// http bearer authentication required
|
|
5898
5968
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5899
5969
|
|
|
@@ -5931,7 +6001,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5931
6001
|
const localVarHeaderParameter = {} as any;
|
|
5932
6002
|
const localVarQueryParameter = {} as any;
|
|
5933
6003
|
|
|
5934
|
-
// authentication
|
|
6004
|
+
// authentication customerJWT required
|
|
5935
6005
|
// http bearer authentication required
|
|
5936
6006
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5937
6007
|
|
|
@@ -5967,7 +6037,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5967
6037
|
const localVarHeaderParameter = {} as any;
|
|
5968
6038
|
const localVarQueryParameter = {} as any;
|
|
5969
6039
|
|
|
5970
|
-
// authentication
|
|
6040
|
+
// authentication systemJWT required
|
|
5971
6041
|
// http bearer authentication required
|
|
5972
6042
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5973
6043
|
|
|
@@ -6018,7 +6088,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
6018
6088
|
const localVarHeaderParameter = {} as any;
|
|
6019
6089
|
const localVarQueryParameter = {} as any;
|
|
6020
6090
|
|
|
6021
|
-
// authentication
|
|
6091
|
+
// authentication systemJWT required
|
|
6022
6092
|
// http bearer authentication required
|
|
6023
6093
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6024
6094
|
|
|
@@ -6093,7 +6163,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
6093
6163
|
const localVarHeaderParameter = {} as any;
|
|
6094
6164
|
const localVarQueryParameter = {} as any;
|
|
6095
6165
|
|
|
6096
|
-
// authentication
|
|
6166
|
+
// authentication customerJWT required
|
|
6097
6167
|
// http bearer authentication required
|
|
6098
6168
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6099
6169
|
|
|
@@ -6152,7 +6222,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
6152
6222
|
const localVarHeaderParameter = {} as any;
|
|
6153
6223
|
const localVarQueryParameter = {} as any;
|
|
6154
6224
|
|
|
6155
|
-
// authentication
|
|
6225
|
+
// authentication systemJWT required
|
|
6156
6226
|
// http bearer authentication required
|
|
6157
6227
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6158
6228
|
|
|
@@ -6674,7 +6744,7 @@ export const ProgressApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
6674
6744
|
const localVarHeaderParameter = {} as any;
|
|
6675
6745
|
const localVarQueryParameter = {} as any;
|
|
6676
6746
|
|
|
6677
|
-
// authentication
|
|
6747
|
+
// authentication systemJWT required
|
|
6678
6748
|
// http bearer authentication required
|
|
6679
6749
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6680
6750
|
|
|
@@ -6737,7 +6807,7 @@ export const ProgressApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
6737
6807
|
const localVarHeaderParameter = {} as any;
|
|
6738
6808
|
const localVarQueryParameter = {} as any;
|
|
6739
6809
|
|
|
6740
|
-
// authentication
|
|
6810
|
+
// authentication customerJWT required
|
|
6741
6811
|
// http bearer authentication required
|
|
6742
6812
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6743
6813
|
|
|
@@ -6924,6 +6994,10 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
|
6924
6994
|
const localVarHeaderParameter = {} as any;
|
|
6925
6995
|
const localVarQueryParameter = {} as any;
|
|
6926
6996
|
|
|
6997
|
+
// authentication systemJWT required
|
|
6998
|
+
// http bearer authentication required
|
|
6999
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7000
|
+
|
|
6927
7001
|
|
|
6928
7002
|
|
|
6929
7003
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -6965,6 +7039,10 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
|
6965
7039
|
const localVarHeaderParameter = {} as any;
|
|
6966
7040
|
const localVarQueryParameter = {} as any;
|
|
6967
7041
|
|
|
7042
|
+
// authentication systemJWT required
|
|
7043
|
+
// http bearer authentication required
|
|
7044
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7045
|
+
|
|
6968
7046
|
|
|
6969
7047
|
|
|
6970
7048
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -7003,6 +7081,10 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7003
7081
|
const localVarHeaderParameter = {} as any;
|
|
7004
7082
|
const localVarQueryParameter = {} as any;
|
|
7005
7083
|
|
|
7084
|
+
// authentication customerJWT required
|
|
7085
|
+
// http bearer authentication required
|
|
7086
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7087
|
+
|
|
7006
7088
|
|
|
7007
7089
|
|
|
7008
7090
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -7037,6 +7119,10 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7037
7119
|
const localVarHeaderParameter = {} as any;
|
|
7038
7120
|
const localVarQueryParameter = {} as any;
|
|
7039
7121
|
|
|
7122
|
+
// authentication customerJWT required
|
|
7123
|
+
// http bearer authentication required
|
|
7124
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7125
|
+
|
|
7040
7126
|
|
|
7041
7127
|
|
|
7042
7128
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -7070,7 +7156,7 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7070
7156
|
const localVarHeaderParameter = {} as any;
|
|
7071
7157
|
const localVarQueryParameter = {} as any;
|
|
7072
7158
|
|
|
7073
|
-
// authentication
|
|
7159
|
+
// authentication systemJWT required
|
|
7074
7160
|
// http bearer authentication required
|
|
7075
7161
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7076
7162
|
|
|
@@ -7107,7 +7193,7 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7107
7193
|
const localVarHeaderParameter = {} as any;
|
|
7108
7194
|
const localVarQueryParameter = {} as any;
|
|
7109
7195
|
|
|
7110
|
-
// authentication
|
|
7196
|
+
// authentication systemJWT required
|
|
7111
7197
|
// http bearer authentication required
|
|
7112
7198
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7113
7199
|
|
|
@@ -7145,7 +7231,7 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7145
7231
|
const localVarHeaderParameter = {} as any;
|
|
7146
7232
|
const localVarQueryParameter = {} as any;
|
|
7147
7233
|
|
|
7148
|
-
// authentication
|
|
7234
|
+
// authentication systemJWT required
|
|
7149
7235
|
// http bearer authentication required
|
|
7150
7236
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7151
7237
|
|
|
@@ -7183,7 +7269,7 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7183
7269
|
const localVarHeaderParameter = {} as any;
|
|
7184
7270
|
const localVarQueryParameter = {} as any;
|
|
7185
7271
|
|
|
7186
|
-
// authentication
|
|
7272
|
+
// authentication systemJWT required
|
|
7187
7273
|
// http bearer authentication required
|
|
7188
7274
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7189
7275
|
|
|
@@ -7221,7 +7307,7 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7221
7307
|
const localVarHeaderParameter = {} as any;
|
|
7222
7308
|
const localVarQueryParameter = {} as any;
|
|
7223
7309
|
|
|
7224
|
-
// authentication
|
|
7310
|
+
// authentication customerJWT required
|
|
7225
7311
|
// http bearer authentication required
|
|
7226
7312
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7227
7313
|
|
|
@@ -7269,7 +7355,7 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7269
7355
|
const localVarHeaderParameter = {} as any;
|
|
7270
7356
|
const localVarQueryParameter = {} as any;
|
|
7271
7357
|
|
|
7272
|
-
// authentication
|
|
7358
|
+
// authentication systemJWT required
|
|
7273
7359
|
// http bearer authentication required
|
|
7274
7360
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7275
7361
|
|
|
@@ -7377,7 +7463,7 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7377
7463
|
const localVarHeaderParameter = {} as any;
|
|
7378
7464
|
const localVarQueryParameter = {} as any;
|
|
7379
7465
|
|
|
7380
|
-
// authentication
|
|
7466
|
+
// authentication customerJWT required
|
|
7381
7467
|
// http bearer authentication required
|
|
7382
7468
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7383
7469
|
|
|
@@ -7466,7 +7552,7 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7466
7552
|
const localVarHeaderParameter = {} as any;
|
|
7467
7553
|
const localVarQueryParameter = {} as any;
|
|
7468
7554
|
|
|
7469
|
-
// authentication
|
|
7555
|
+
// authentication systemJWT required
|
|
7470
7556
|
// http bearer authentication required
|
|
7471
7557
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7472
7558
|
|
|
@@ -8014,10 +8100,13 @@ export const SegmentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
8014
8100
|
const localVarHeaderParameter = {} as any;
|
|
8015
8101
|
const localVarQueryParameter = {} as any;
|
|
8016
8102
|
|
|
8017
|
-
// authentication
|
|
8103
|
+
// authentication systemJWT required
|
|
8018
8104
|
// http bearer authentication required
|
|
8019
8105
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8020
8106
|
|
|
8107
|
+
// authentication ApiKeyAuth required
|
|
8108
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration)
|
|
8109
|
+
|
|
8021
8110
|
|
|
8022
8111
|
|
|
8023
8112
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -8055,7 +8144,7 @@ export const SegmentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
8055
8144
|
const localVarHeaderParameter = {} as any;
|
|
8056
8145
|
const localVarQueryParameter = {} as any;
|
|
8057
8146
|
|
|
8058
|
-
// authentication
|
|
8147
|
+
// authentication systemJWT required
|
|
8059
8148
|
// http bearer authentication required
|
|
8060
8149
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8061
8150
|
|
|
@@ -8091,7 +8180,7 @@ export const SegmentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
8091
8180
|
const localVarHeaderParameter = {} as any;
|
|
8092
8181
|
const localVarQueryParameter = {} as any;
|
|
8093
8182
|
|
|
8094
|
-
// authentication
|
|
8183
|
+
// authentication systemJWT required
|
|
8095
8184
|
// http bearer authentication required
|
|
8096
8185
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8097
8186
|
|
|
@@ -8275,10 +8364,13 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
8275
8364
|
const localVarHeaderParameter = {} as any;
|
|
8276
8365
|
const localVarQueryParameter = {} as any;
|
|
8277
8366
|
|
|
8278
|
-
// authentication
|
|
8367
|
+
// authentication systemJWT required
|
|
8279
8368
|
// http bearer authentication required
|
|
8280
8369
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8281
8370
|
|
|
8371
|
+
// authentication ApiKeyAuth required
|
|
8372
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration)
|
|
8373
|
+
|
|
8282
8374
|
|
|
8283
8375
|
|
|
8284
8376
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -8316,7 +8408,7 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
8316
8408
|
const localVarHeaderParameter = {} as any;
|
|
8317
8409
|
const localVarQueryParameter = {} as any;
|
|
8318
8410
|
|
|
8319
|
-
// authentication
|
|
8411
|
+
// authentication systemJWT required
|
|
8320
8412
|
// http bearer authentication required
|
|
8321
8413
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8322
8414
|
|
|
@@ -8354,7 +8446,7 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
8354
8446
|
const localVarHeaderParameter = {} as any;
|
|
8355
8447
|
const localVarQueryParameter = {} as any;
|
|
8356
8448
|
|
|
8357
|
-
// authentication
|
|
8449
|
+
// authentication systemJWT required
|
|
8358
8450
|
// http bearer authentication required
|
|
8359
8451
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8360
8452
|
|
|
@@ -8389,7 +8481,7 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
8389
8481
|
const localVarHeaderParameter = {} as any;
|
|
8390
8482
|
const localVarQueryParameter = {} as any;
|
|
8391
8483
|
|
|
8392
|
-
// authentication
|
|
8484
|
+
// authentication systemJWT required
|
|
8393
8485
|
// http bearer authentication required
|
|
8394
8486
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8395
8487
|
|
|
@@ -8432,10 +8524,13 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
8432
8524
|
const localVarHeaderParameter = {} as any;
|
|
8433
8525
|
const localVarQueryParameter = {} as any;
|
|
8434
8526
|
|
|
8435
|
-
// authentication
|
|
8527
|
+
// authentication systemJWT required
|
|
8436
8528
|
// http bearer authentication required
|
|
8437
8529
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8438
8530
|
|
|
8531
|
+
// authentication ApiKeyAuth required
|
|
8532
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration)
|
|
8533
|
+
|
|
8439
8534
|
|
|
8440
8535
|
|
|
8441
8536
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -8679,7 +8774,7 @@ export const TransactionApiAxiosParamCreator = function (configuration?: Configu
|
|
|
8679
8774
|
const localVarHeaderParameter = {} as any;
|
|
8680
8775
|
const localVarQueryParameter = {} as any;
|
|
8681
8776
|
|
|
8682
|
-
// authentication
|
|
8777
|
+
// authentication systemJWT required
|
|
8683
8778
|
// http bearer authentication required
|
|
8684
8779
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8685
8780
|
|
|
@@ -8807,7 +8902,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
8807
8902
|
const localVarHeaderParameter = {} as any;
|
|
8808
8903
|
const localVarQueryParameter = {} as any;
|
|
8809
8904
|
|
|
8810
|
-
// authentication
|
|
8905
|
+
// authentication systemJWT required
|
|
8811
8906
|
// http bearer authentication required
|
|
8812
8907
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8813
8908
|
|
|
@@ -8845,7 +8940,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
8845
8940
|
const localVarHeaderParameter = {} as any;
|
|
8846
8941
|
const localVarQueryParameter = {} as any;
|
|
8847
8942
|
|
|
8848
|
-
// authentication
|
|
8943
|
+
// authentication systemJWT required
|
|
8849
8944
|
// http bearer authentication required
|
|
8850
8945
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8851
8946
|
|
|
@@ -8885,7 +8980,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
8885
8980
|
const localVarHeaderParameter = {} as any;
|
|
8886
8981
|
const localVarQueryParameter = {} as any;
|
|
8887
8982
|
|
|
8888
|
-
// authentication
|
|
8983
|
+
// authentication systemJWT required
|
|
8889
8984
|
// http bearer authentication required
|
|
8890
8985
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8891
8986
|
|
|
@@ -8919,6 +9014,42 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
8919
9014
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8920
9015
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8921
9016
|
|
|
9017
|
+
return {
|
|
9018
|
+
url: toPathString(localVarUrlObj),
|
|
9019
|
+
options: localVarRequestOptions,
|
|
9020
|
+
};
|
|
9021
|
+
},
|
|
9022
|
+
/**
|
|
9023
|
+
* Login
|
|
9024
|
+
* @summary Login
|
|
9025
|
+
* @param {LoginRequest} loginRequest user credentials
|
|
9026
|
+
* @param {*} [options] Override http request option.
|
|
9027
|
+
* @throws {RequiredError}
|
|
9028
|
+
*/
|
|
9029
|
+
login: async (loginRequest: LoginRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9030
|
+
// verify required parameter 'loginRequest' is not null or undefined
|
|
9031
|
+
assertParamExists('login', 'loginRequest', loginRequest)
|
|
9032
|
+
const localVarPath = `/user/login`;
|
|
9033
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9034
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9035
|
+
let baseOptions;
|
|
9036
|
+
if (configuration) {
|
|
9037
|
+
baseOptions = configuration.baseOptions;
|
|
9038
|
+
}
|
|
9039
|
+
|
|
9040
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9041
|
+
const localVarHeaderParameter = {} as any;
|
|
9042
|
+
const localVarQueryParameter = {} as any;
|
|
9043
|
+
|
|
9044
|
+
|
|
9045
|
+
|
|
9046
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9047
|
+
|
|
9048
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9049
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9050
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9051
|
+
localVarRequestOptions.data = serializeDataIfNeeded(loginRequest, localVarRequestOptions, configuration)
|
|
9052
|
+
|
|
8922
9053
|
return {
|
|
8923
9054
|
url: toPathString(localVarUrlObj),
|
|
8924
9055
|
options: localVarRequestOptions,
|
|
@@ -8972,6 +9103,17 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
8972
9103
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(nextToken, role, search, clientIDs, userIDs, source, options);
|
|
8973
9104
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8974
9105
|
},
|
|
9106
|
+
/**
|
|
9107
|
+
* Login
|
|
9108
|
+
* @summary Login
|
|
9109
|
+
* @param {LoginRequest} loginRequest user credentials
|
|
9110
|
+
* @param {*} [options] Override http request option.
|
|
9111
|
+
* @throws {RequiredError}
|
|
9112
|
+
*/
|
|
9113
|
+
async login(loginRequest: LoginRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>> {
|
|
9114
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.login(loginRequest, options);
|
|
9115
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9116
|
+
},
|
|
8975
9117
|
}
|
|
8976
9118
|
};
|
|
8977
9119
|
|
|
@@ -9017,6 +9159,16 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
9017
9159
|
listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options?: any): AxiosPromise<UserListResponse> {
|
|
9018
9160
|
return localVarFp.listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(axios, basePath));
|
|
9019
9161
|
},
|
|
9162
|
+
/**
|
|
9163
|
+
* Login
|
|
9164
|
+
* @summary Login
|
|
9165
|
+
* @param {LoginRequest} loginRequest user credentials
|
|
9166
|
+
* @param {*} [options] Override http request option.
|
|
9167
|
+
* @throws {RequiredError}
|
|
9168
|
+
*/
|
|
9169
|
+
login(loginRequest: LoginRequest, options?: any): AxiosPromise<LoginResponse> {
|
|
9170
|
+
return localVarFp.login(loginRequest, options).then((request) => request(axios, basePath));
|
|
9171
|
+
},
|
|
9020
9172
|
};
|
|
9021
9173
|
};
|
|
9022
9174
|
|
|
@@ -9067,6 +9219,18 @@ export class UserApi extends BaseAPI {
|
|
|
9067
9219
|
public listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options?: AxiosRequestConfig) {
|
|
9068
9220
|
return UserApiFp(this.configuration).listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(this.axios, this.basePath));
|
|
9069
9221
|
}
|
|
9222
|
+
|
|
9223
|
+
/**
|
|
9224
|
+
* Login
|
|
9225
|
+
* @summary Login
|
|
9226
|
+
* @param {LoginRequest} loginRequest user credentials
|
|
9227
|
+
* @param {*} [options] Override http request option.
|
|
9228
|
+
* @throws {RequiredError}
|
|
9229
|
+
* @memberof UserApi
|
|
9230
|
+
*/
|
|
9231
|
+
public login(loginRequest: LoginRequest, options?: AxiosRequestConfig) {
|
|
9232
|
+
return UserApiFp(this.configuration).login(loginRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9233
|
+
}
|
|
9070
9234
|
}
|
|
9071
9235
|
|
|
9072
9236
|
|