flexinet-api 0.0.749-prerelease0 → 0.0.751-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 +98 -57
- package/dist/api.d.ts +84 -49
- package/dist/api.js +55 -46
- package/dist/esm/api.d.ts +84 -49
- package/dist/esm/api.js +55 -46
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -761,25 +761,31 @@ export interface CustomDealRestrictionsResponse {
|
|
|
761
761
|
/**
|
|
762
762
|
*
|
|
763
763
|
* @export
|
|
764
|
-
* @interface
|
|
764
|
+
* @interface CustomerUserDetails
|
|
765
765
|
*/
|
|
766
|
-
export interface
|
|
766
|
+
export interface CustomerUserDetails {
|
|
767
767
|
/**
|
|
768
768
|
*
|
|
769
769
|
* @type {string}
|
|
770
|
-
* @memberof
|
|
770
|
+
* @memberof CustomerUserDetails
|
|
771
|
+
*/
|
|
772
|
+
'source': string;
|
|
773
|
+
/**
|
|
774
|
+
*
|
|
775
|
+
* @type {string}
|
|
776
|
+
* @memberof CustomerUserDetails
|
|
771
777
|
*/
|
|
772
778
|
'email': string;
|
|
773
779
|
/**
|
|
774
780
|
*
|
|
775
781
|
* @type {string}
|
|
776
|
-
* @memberof
|
|
782
|
+
* @memberof CustomerUserDetails
|
|
777
783
|
*/
|
|
778
784
|
'firstName'?: string;
|
|
779
785
|
/**
|
|
780
786
|
*
|
|
781
787
|
* @type {string}
|
|
782
|
-
* @memberof
|
|
788
|
+
* @memberof CustomerUserDetails
|
|
783
789
|
*/
|
|
784
790
|
'lastName'?: string;
|
|
785
791
|
}
|
|
@@ -1266,6 +1272,19 @@ export interface PeriodPromotion {
|
|
|
1266
1272
|
*/
|
|
1267
1273
|
'period': Period;
|
|
1268
1274
|
}
|
|
1275
|
+
/**
|
|
1276
|
+
*
|
|
1277
|
+
* @export
|
|
1278
|
+
* @interface PreferencesRequest
|
|
1279
|
+
*/
|
|
1280
|
+
export interface PreferencesRequest {
|
|
1281
|
+
/**
|
|
1282
|
+
*
|
|
1283
|
+
* @type {Array<NotificationPreference>}
|
|
1284
|
+
* @memberof PreferencesRequest
|
|
1285
|
+
*/
|
|
1286
|
+
'notificationPreferences': Array<NotificationPreference>;
|
|
1287
|
+
}
|
|
1269
1288
|
/**
|
|
1270
1289
|
*
|
|
1271
1290
|
* @export
|
|
@@ -2051,7 +2070,7 @@ export interface PromotionConfig {
|
|
|
2051
2070
|
* @type {number}
|
|
2052
2071
|
* @memberof PromotionConfig
|
|
2053
2072
|
*/
|
|
2054
|
-
'
|
|
2073
|
+
'adminClaimGracePeriod'?: number;
|
|
2055
2074
|
/**
|
|
2056
2075
|
*
|
|
2057
2076
|
* @type {number}
|
|
@@ -2413,6 +2432,12 @@ export type SortDirection = typeof SortDirection[keyof typeof SortDirection];
|
|
|
2413
2432
|
* @interface SystemUserDetails
|
|
2414
2433
|
*/
|
|
2415
2434
|
export interface SystemUserDetails {
|
|
2435
|
+
/**
|
|
2436
|
+
*
|
|
2437
|
+
* @type {string}
|
|
2438
|
+
* @memberof SystemUserDetails
|
|
2439
|
+
*/
|
|
2440
|
+
'source': string;
|
|
2416
2441
|
/**
|
|
2417
2442
|
*
|
|
2418
2443
|
* @type {string}
|
|
@@ -2873,25 +2898,33 @@ export interface Tenant {
|
|
|
2873
2898
|
* @type {string}
|
|
2874
2899
|
* @memberof Tenant
|
|
2875
2900
|
*/
|
|
2876
|
-
'
|
|
2901
|
+
'customerOpenIDKeyConfig': string;
|
|
2877
2902
|
/**
|
|
2878
2903
|
*
|
|
2879
2904
|
* @type {string}
|
|
2880
2905
|
* @memberof Tenant
|
|
2881
2906
|
*/
|
|
2882
|
-
'
|
|
2907
|
+
'customerOpenIDIssuer': string;
|
|
2883
2908
|
/**
|
|
2884
2909
|
*
|
|
2885
2910
|
* @type {string}
|
|
2886
2911
|
* @memberof Tenant
|
|
2887
2912
|
*/
|
|
2888
|
-
'
|
|
2913
|
+
'customerOpenIDClientID': string;
|
|
2889
2914
|
/**
|
|
2890
2915
|
*
|
|
2891
2916
|
* @type {string}
|
|
2892
2917
|
* @memberof Tenant
|
|
2893
2918
|
*/
|
|
2894
|
-
'
|
|
2919
|
+
'customerOpenIDMetadataURL': string;
|
|
2920
|
+
/**
|
|
2921
|
+
*
|
|
2922
|
+
* @type {{ [key: string]: string; }}
|
|
2923
|
+
* @memberof Tenant
|
|
2924
|
+
*/
|
|
2925
|
+
'customerOpenIDParameters'?: {
|
|
2926
|
+
[key: string]: string;
|
|
2927
|
+
};
|
|
2895
2928
|
}
|
|
2896
2929
|
/**
|
|
2897
2930
|
*
|
|
@@ -3300,7 +3333,11 @@ export interface UserBalance {
|
|
|
3300
3333
|
* @type UserDetails
|
|
3301
3334
|
* @export
|
|
3302
3335
|
*/
|
|
3303
|
-
export type UserDetails =
|
|
3336
|
+
export type UserDetails = {
|
|
3337
|
+
source: 'customer';
|
|
3338
|
+
} & CustomerUserDetails | {
|
|
3339
|
+
source: 'system';
|
|
3340
|
+
} & SystemUserDetails;
|
|
3304
3341
|
/**
|
|
3305
3342
|
*
|
|
3306
3343
|
* @export
|
|
@@ -4563,12 +4600,12 @@ export declare const NotificationApiAxiosParamCreator: (configuration?: Configur
|
|
|
4563
4600
|
*/
|
|
4564
4601
|
getNotification: (notificationID: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4565
4602
|
/**
|
|
4566
|
-
* Get
|
|
4567
|
-
* @summary Get
|
|
4603
|
+
* Get preferences for the authenticated user
|
|
4604
|
+
* @summary Get preferences
|
|
4568
4605
|
* @param {*} [options] Override http request option.
|
|
4569
4606
|
* @throws {RequiredError}
|
|
4570
4607
|
*/
|
|
4571
|
-
|
|
4608
|
+
getPreferences: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4572
4609
|
/**
|
|
4573
4610
|
* List paginated notifications
|
|
4574
4611
|
* @summary List notifications
|
|
@@ -4587,13 +4624,13 @@ export declare const NotificationApiAxiosParamCreator: (configuration?: Configur
|
|
|
4587
4624
|
*/
|
|
4588
4625
|
markNotificationAsRead: (notificationID: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4589
4626
|
/**
|
|
4590
|
-
* Update
|
|
4591
|
-
* @summary Update
|
|
4592
|
-
* @param {
|
|
4627
|
+
* Update preferences for the authenticated user
|
|
4628
|
+
* @summary Update preferences
|
|
4629
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
4593
4630
|
* @param {*} [options] Override http request option.
|
|
4594
4631
|
* @throws {RequiredError}
|
|
4595
4632
|
*/
|
|
4596
|
-
|
|
4633
|
+
updatePreferences: (preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4597
4634
|
};
|
|
4598
4635
|
/**
|
|
4599
4636
|
* NotificationApi - functional programming interface
|
|
@@ -4617,12 +4654,12 @@ export declare const NotificationApiFp: (configuration?: Configuration) => {
|
|
|
4617
4654
|
*/
|
|
4618
4655
|
getNotification(notificationID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>>;
|
|
4619
4656
|
/**
|
|
4620
|
-
* Get
|
|
4621
|
-
* @summary Get
|
|
4657
|
+
* Get preferences for the authenticated user
|
|
4658
|
+
* @summary Get preferences
|
|
4622
4659
|
* @param {*} [options] Override http request option.
|
|
4623
4660
|
* @throws {RequiredError}
|
|
4624
4661
|
*/
|
|
4625
|
-
|
|
4662
|
+
getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotificationPreference>>>;
|
|
4626
4663
|
/**
|
|
4627
4664
|
* List paginated notifications
|
|
4628
4665
|
* @summary List notifications
|
|
@@ -4641,13 +4678,13 @@ export declare const NotificationApiFp: (configuration?: Configuration) => {
|
|
|
4641
4678
|
*/
|
|
4642
4679
|
markNotificationAsRead(notificationID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
4643
4680
|
/**
|
|
4644
|
-
* Update
|
|
4645
|
-
* @summary Update
|
|
4646
|
-
* @param {
|
|
4681
|
+
* Update preferences for the authenticated user
|
|
4682
|
+
* @summary Update preferences
|
|
4683
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
4647
4684
|
* @param {*} [options] Override http request option.
|
|
4648
4685
|
* @throws {RequiredError}
|
|
4649
4686
|
*/
|
|
4650
|
-
|
|
4687
|
+
updatePreferences(preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
4651
4688
|
};
|
|
4652
4689
|
/**
|
|
4653
4690
|
* NotificationApi - factory interface
|
|
@@ -4671,12 +4708,12 @@ export declare const NotificationApiFactory: (configuration?: Configuration, bas
|
|
|
4671
4708
|
*/
|
|
4672
4709
|
getNotification(notificationID: string, options?: any): AxiosPromise<Notification>;
|
|
4673
4710
|
/**
|
|
4674
|
-
* Get
|
|
4675
|
-
* @summary Get
|
|
4711
|
+
* Get preferences for the authenticated user
|
|
4712
|
+
* @summary Get preferences
|
|
4676
4713
|
* @param {*} [options] Override http request option.
|
|
4677
4714
|
* @throws {RequiredError}
|
|
4678
4715
|
*/
|
|
4679
|
-
|
|
4716
|
+
getPreferences(options?: any): AxiosPromise<Array<NotificationPreference>>;
|
|
4680
4717
|
/**
|
|
4681
4718
|
* List paginated notifications
|
|
4682
4719
|
* @summary List notifications
|
|
@@ -4695,13 +4732,13 @@ export declare const NotificationApiFactory: (configuration?: Configuration, bas
|
|
|
4695
4732
|
*/
|
|
4696
4733
|
markNotificationAsRead(notificationID: string, options?: any): AxiosPromise<void>;
|
|
4697
4734
|
/**
|
|
4698
|
-
* Update
|
|
4699
|
-
* @summary Update
|
|
4700
|
-
* @param {
|
|
4735
|
+
* Update preferences for the authenticated user
|
|
4736
|
+
* @summary Update preferences
|
|
4737
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
4701
4738
|
* @param {*} [options] Override http request option.
|
|
4702
4739
|
* @throws {RequiredError}
|
|
4703
4740
|
*/
|
|
4704
|
-
|
|
4741
|
+
updatePreferences(preferencesRequest: PreferencesRequest, options?: any): AxiosPromise<void>;
|
|
4705
4742
|
};
|
|
4706
4743
|
/**
|
|
4707
4744
|
* NotificationApi - object-oriented interface
|
|
@@ -4729,13 +4766,13 @@ export declare class NotificationApi extends BaseAPI {
|
|
|
4729
4766
|
*/
|
|
4730
4767
|
getNotification(notificationID: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Notification, any>>;
|
|
4731
4768
|
/**
|
|
4732
|
-
* Get
|
|
4733
|
-
* @summary Get
|
|
4769
|
+
* Get preferences for the authenticated user
|
|
4770
|
+
* @summary Get preferences
|
|
4734
4771
|
* @param {*} [options] Override http request option.
|
|
4735
4772
|
* @throws {RequiredError}
|
|
4736
4773
|
* @memberof NotificationApi
|
|
4737
4774
|
*/
|
|
4738
|
-
|
|
4775
|
+
getPreferences(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationPreference[], any>>;
|
|
4739
4776
|
/**
|
|
4740
4777
|
* List paginated notifications
|
|
4741
4778
|
* @summary List notifications
|
|
@@ -4756,14 +4793,14 @@ export declare class NotificationApi extends BaseAPI {
|
|
|
4756
4793
|
*/
|
|
4757
4794
|
markNotificationAsRead(notificationID: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
4758
4795
|
/**
|
|
4759
|
-
* Update
|
|
4760
|
-
* @summary Update
|
|
4761
|
-
* @param {
|
|
4796
|
+
* Update preferences for the authenticated user
|
|
4797
|
+
* @summary Update preferences
|
|
4798
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
4762
4799
|
* @param {*} [options] Override http request option.
|
|
4763
4800
|
* @throws {RequiredError}
|
|
4764
4801
|
* @memberof NotificationApi
|
|
4765
4802
|
*/
|
|
4766
|
-
|
|
4803
|
+
updatePreferences(preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
4767
4804
|
}
|
|
4768
4805
|
/**
|
|
4769
4806
|
* OrderApi - axios parameter creator
|
|
@@ -6484,10 +6521,11 @@ export declare const TenantApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
6484
6521
|
/**
|
|
6485
6522
|
* List of known tenants
|
|
6486
6523
|
* @summary List tenants
|
|
6524
|
+
* @param {string} name This is the tenant name
|
|
6487
6525
|
* @param {*} [options] Override http request option.
|
|
6488
6526
|
* @throws {RequiredError}
|
|
6489
6527
|
*/
|
|
6490
|
-
listTenants: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6528
|
+
listTenants: (name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6491
6529
|
};
|
|
6492
6530
|
/**
|
|
6493
6531
|
* TenantApi - functional programming interface
|
|
@@ -6497,12 +6535,11 @@ export declare const TenantApiFp: (configuration?: Configuration) => {
|
|
|
6497
6535
|
/**
|
|
6498
6536
|
* List of known tenants
|
|
6499
6537
|
* @summary List tenants
|
|
6538
|
+
* @param {string} name This is the tenant name
|
|
6500
6539
|
* @param {*} [options] Override http request option.
|
|
6501
6540
|
* @throws {RequiredError}
|
|
6502
6541
|
*/
|
|
6503
|
-
listTenants(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
6504
|
-
[key: string]: Tenant;
|
|
6505
|
-
}>>;
|
|
6542
|
+
listTenants(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tenant>>;
|
|
6506
6543
|
};
|
|
6507
6544
|
/**
|
|
6508
6545
|
* TenantApi - factory interface
|
|
@@ -6512,12 +6549,11 @@ export declare const TenantApiFactory: (configuration?: Configuration, basePath?
|
|
|
6512
6549
|
/**
|
|
6513
6550
|
* List of known tenants
|
|
6514
6551
|
* @summary List tenants
|
|
6552
|
+
* @param {string} name This is the tenant name
|
|
6515
6553
|
* @param {*} [options] Override http request option.
|
|
6516
6554
|
* @throws {RequiredError}
|
|
6517
6555
|
*/
|
|
6518
|
-
listTenants(options?: any): AxiosPromise<
|
|
6519
|
-
[key: string]: Tenant;
|
|
6520
|
-
}>;
|
|
6556
|
+
listTenants(name: string, options?: any): AxiosPromise<Tenant>;
|
|
6521
6557
|
};
|
|
6522
6558
|
/**
|
|
6523
6559
|
* TenantApi - object-oriented interface
|
|
@@ -6529,13 +6565,12 @@ export declare class TenantApi extends BaseAPI {
|
|
|
6529
6565
|
/**
|
|
6530
6566
|
* List of known tenants
|
|
6531
6567
|
* @summary List tenants
|
|
6568
|
+
* @param {string} name This is the tenant name
|
|
6532
6569
|
* @param {*} [options] Override http request option.
|
|
6533
6570
|
* @throws {RequiredError}
|
|
6534
6571
|
* @memberof TenantApi
|
|
6535
6572
|
*/
|
|
6536
|
-
listTenants(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
6537
|
-
[key: string]: Tenant;
|
|
6538
|
-
}, any>>;
|
|
6573
|
+
listTenants(name: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Tenant, any>>;
|
|
6539
6574
|
}
|
|
6540
6575
|
/**
|
|
6541
6576
|
* TransactionApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -2313,13 +2313,13 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
|
|
|
2313
2313
|
};
|
|
2314
2314
|
}),
|
|
2315
2315
|
/**
|
|
2316
|
-
* Get
|
|
2317
|
-
* @summary Get
|
|
2316
|
+
* Get preferences for the authenticated user
|
|
2317
|
+
* @summary Get preferences
|
|
2318
2318
|
* @param {*} [options] Override http request option.
|
|
2319
2319
|
* @throws {RequiredError}
|
|
2320
2320
|
*/
|
|
2321
|
-
|
|
2322
|
-
const localVarPath = `/users/
|
|
2321
|
+
getPreferences: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2322
|
+
const localVarPath = `/users/preferences`;
|
|
2323
2323
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2324
2324
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2325
2325
|
let baseOptions;
|
|
@@ -2409,16 +2409,16 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
|
|
|
2409
2409
|
};
|
|
2410
2410
|
}),
|
|
2411
2411
|
/**
|
|
2412
|
-
* Update
|
|
2413
|
-
* @summary Update
|
|
2414
|
-
* @param {
|
|
2412
|
+
* Update preferences for the authenticated user
|
|
2413
|
+
* @summary Update preferences
|
|
2414
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
2415
2415
|
* @param {*} [options] Override http request option.
|
|
2416
2416
|
* @throws {RequiredError}
|
|
2417
2417
|
*/
|
|
2418
|
-
|
|
2419
|
-
// verify required parameter '
|
|
2420
|
-
assertParamExists('
|
|
2421
|
-
const localVarPath = `/users/
|
|
2418
|
+
updatePreferences: (preferencesRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2419
|
+
// verify required parameter 'preferencesRequest' is not null or undefined
|
|
2420
|
+
assertParamExists('updatePreferences', 'preferencesRequest', preferencesRequest);
|
|
2421
|
+
const localVarPath = `/users/preferences`;
|
|
2422
2422
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2423
2423
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2424
2424
|
let baseOptions;
|
|
@@ -2435,7 +2435,7 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
|
|
|
2435
2435
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2436
2436
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2437
2437
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2438
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2438
|
+
localVarRequestOptions.data = serializeDataIfNeeded(preferencesRequest, localVarRequestOptions, configuration);
|
|
2439
2439
|
return {
|
|
2440
2440
|
url: toPathString(localVarUrlObj),
|
|
2441
2441
|
options: localVarRequestOptions,
|
|
@@ -2477,14 +2477,14 @@ export const NotificationApiFp = function (configuration) {
|
|
|
2477
2477
|
});
|
|
2478
2478
|
},
|
|
2479
2479
|
/**
|
|
2480
|
-
* Get
|
|
2481
|
-
* @summary Get
|
|
2480
|
+
* Get preferences for the authenticated user
|
|
2481
|
+
* @summary Get preferences
|
|
2482
2482
|
* @param {*} [options] Override http request option.
|
|
2483
2483
|
* @throws {RequiredError}
|
|
2484
2484
|
*/
|
|
2485
|
-
|
|
2485
|
+
getPreferences(options) {
|
|
2486
2486
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2487
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2487
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPreferences(options);
|
|
2488
2488
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2489
2489
|
});
|
|
2490
2490
|
},
|
|
@@ -2516,15 +2516,15 @@ export const NotificationApiFp = function (configuration) {
|
|
|
2516
2516
|
});
|
|
2517
2517
|
},
|
|
2518
2518
|
/**
|
|
2519
|
-
* Update
|
|
2520
|
-
* @summary Update
|
|
2521
|
-
* @param {
|
|
2519
|
+
* Update preferences for the authenticated user
|
|
2520
|
+
* @summary Update preferences
|
|
2521
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
2522
2522
|
* @param {*} [options] Override http request option.
|
|
2523
2523
|
* @throws {RequiredError}
|
|
2524
2524
|
*/
|
|
2525
|
-
|
|
2525
|
+
updatePreferences(preferencesRequest, options) {
|
|
2526
2526
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2527
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2527
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePreferences(preferencesRequest, options);
|
|
2528
2528
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2529
2529
|
});
|
|
2530
2530
|
},
|
|
@@ -2558,13 +2558,13 @@ export const NotificationApiFactory = function (configuration, basePath, axios)
|
|
|
2558
2558
|
return localVarFp.getNotification(notificationID, options).then((request) => request(axios, basePath));
|
|
2559
2559
|
},
|
|
2560
2560
|
/**
|
|
2561
|
-
* Get
|
|
2562
|
-
* @summary Get
|
|
2561
|
+
* Get preferences for the authenticated user
|
|
2562
|
+
* @summary Get preferences
|
|
2563
2563
|
* @param {*} [options] Override http request option.
|
|
2564
2564
|
* @throws {RequiredError}
|
|
2565
2565
|
*/
|
|
2566
|
-
|
|
2567
|
-
return localVarFp.
|
|
2566
|
+
getPreferences(options) {
|
|
2567
|
+
return localVarFp.getPreferences(options).then((request) => request(axios, basePath));
|
|
2568
2568
|
},
|
|
2569
2569
|
/**
|
|
2570
2570
|
* List paginated notifications
|
|
@@ -2588,14 +2588,14 @@ export const NotificationApiFactory = function (configuration, basePath, axios)
|
|
|
2588
2588
|
return localVarFp.markNotificationAsRead(notificationID, options).then((request) => request(axios, basePath));
|
|
2589
2589
|
},
|
|
2590
2590
|
/**
|
|
2591
|
-
* Update
|
|
2592
|
-
* @summary Update
|
|
2593
|
-
* @param {
|
|
2591
|
+
* Update preferences for the authenticated user
|
|
2592
|
+
* @summary Update preferences
|
|
2593
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
2594
2594
|
* @param {*} [options] Override http request option.
|
|
2595
2595
|
* @throws {RequiredError}
|
|
2596
2596
|
*/
|
|
2597
|
-
|
|
2598
|
-
return localVarFp.
|
|
2597
|
+
updatePreferences(preferencesRequest, options) {
|
|
2598
|
+
return localVarFp.updatePreferences(preferencesRequest, options).then((request) => request(axios, basePath));
|
|
2599
2599
|
},
|
|
2600
2600
|
};
|
|
2601
2601
|
};
|
|
@@ -2629,14 +2629,14 @@ export class NotificationApi extends BaseAPI {
|
|
|
2629
2629
|
return NotificationApiFp(this.configuration).getNotification(notificationID, options).then((request) => request(this.axios, this.basePath));
|
|
2630
2630
|
}
|
|
2631
2631
|
/**
|
|
2632
|
-
* Get
|
|
2633
|
-
* @summary Get
|
|
2632
|
+
* Get preferences for the authenticated user
|
|
2633
|
+
* @summary Get preferences
|
|
2634
2634
|
* @param {*} [options] Override http request option.
|
|
2635
2635
|
* @throws {RequiredError}
|
|
2636
2636
|
* @memberof NotificationApi
|
|
2637
2637
|
*/
|
|
2638
|
-
|
|
2639
|
-
return NotificationApiFp(this.configuration).
|
|
2638
|
+
getPreferences(options) {
|
|
2639
|
+
return NotificationApiFp(this.configuration).getPreferences(options).then((request) => request(this.axios, this.basePath));
|
|
2640
2640
|
}
|
|
2641
2641
|
/**
|
|
2642
2642
|
* List paginated notifications
|
|
@@ -2662,15 +2662,15 @@ export class NotificationApi extends BaseAPI {
|
|
|
2662
2662
|
return NotificationApiFp(this.configuration).markNotificationAsRead(notificationID, options).then((request) => request(this.axios, this.basePath));
|
|
2663
2663
|
}
|
|
2664
2664
|
/**
|
|
2665
|
-
* Update
|
|
2666
|
-
* @summary Update
|
|
2667
|
-
* @param {
|
|
2665
|
+
* Update preferences for the authenticated user
|
|
2666
|
+
* @summary Update preferences
|
|
2667
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
2668
2668
|
* @param {*} [options] Override http request option.
|
|
2669
2669
|
* @throws {RequiredError}
|
|
2670
2670
|
* @memberof NotificationApi
|
|
2671
2671
|
*/
|
|
2672
|
-
|
|
2673
|
-
return NotificationApiFp(this.configuration).
|
|
2672
|
+
updatePreferences(preferencesRequest, options) {
|
|
2673
|
+
return NotificationApiFp(this.configuration).updatePreferences(preferencesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2674
2674
|
}
|
|
2675
2675
|
}
|
|
2676
2676
|
/**
|
|
@@ -5956,10 +5956,13 @@ export const TenantApiAxiosParamCreator = function (configuration) {
|
|
|
5956
5956
|
/**
|
|
5957
5957
|
* List of known tenants
|
|
5958
5958
|
* @summary List tenants
|
|
5959
|
+
* @param {string} name This is the tenant name
|
|
5959
5960
|
* @param {*} [options] Override http request option.
|
|
5960
5961
|
* @throws {RequiredError}
|
|
5961
5962
|
*/
|
|
5962
|
-
listTenants: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5963
|
+
listTenants: (name, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5964
|
+
// verify required parameter 'name' is not null or undefined
|
|
5965
|
+
assertParamExists('listTenants', 'name', name);
|
|
5963
5966
|
const localVarPath = `/tenants`;
|
|
5964
5967
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5965
5968
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5970,6 +5973,9 @@ export const TenantApiAxiosParamCreator = function (configuration) {
|
|
|
5970
5973
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5971
5974
|
const localVarHeaderParameter = {};
|
|
5972
5975
|
const localVarQueryParameter = {};
|
|
5976
|
+
if (name !== undefined) {
|
|
5977
|
+
localVarQueryParameter['name'] = name;
|
|
5978
|
+
}
|
|
5973
5979
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5974
5980
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5975
5981
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -5990,12 +5996,13 @@ export const TenantApiFp = function (configuration) {
|
|
|
5990
5996
|
/**
|
|
5991
5997
|
* List of known tenants
|
|
5992
5998
|
* @summary List tenants
|
|
5999
|
+
* @param {string} name This is the tenant name
|
|
5993
6000
|
* @param {*} [options] Override http request option.
|
|
5994
6001
|
* @throws {RequiredError}
|
|
5995
6002
|
*/
|
|
5996
|
-
listTenants(options) {
|
|
6003
|
+
listTenants(name, options) {
|
|
5997
6004
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5998
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTenants(options);
|
|
6005
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTenants(name, options);
|
|
5999
6006
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6000
6007
|
});
|
|
6001
6008
|
},
|
|
@@ -6011,11 +6018,12 @@ export const TenantApiFactory = function (configuration, basePath, axios) {
|
|
|
6011
6018
|
/**
|
|
6012
6019
|
* List of known tenants
|
|
6013
6020
|
* @summary List tenants
|
|
6021
|
+
* @param {string} name This is the tenant name
|
|
6014
6022
|
* @param {*} [options] Override http request option.
|
|
6015
6023
|
* @throws {RequiredError}
|
|
6016
6024
|
*/
|
|
6017
|
-
listTenants(options) {
|
|
6018
|
-
return localVarFp.listTenants(options).then((request) => request(axios, basePath));
|
|
6025
|
+
listTenants(name, options) {
|
|
6026
|
+
return localVarFp.listTenants(name, options).then((request) => request(axios, basePath));
|
|
6019
6027
|
},
|
|
6020
6028
|
};
|
|
6021
6029
|
};
|
|
@@ -6029,12 +6037,13 @@ export class TenantApi extends BaseAPI {
|
|
|
6029
6037
|
/**
|
|
6030
6038
|
* List of known tenants
|
|
6031
6039
|
* @summary List tenants
|
|
6040
|
+
* @param {string} name This is the tenant name
|
|
6032
6041
|
* @param {*} [options] Override http request option.
|
|
6033
6042
|
* @throws {RequiredError}
|
|
6034
6043
|
* @memberof TenantApi
|
|
6035
6044
|
*/
|
|
6036
|
-
listTenants(options) {
|
|
6037
|
-
return TenantApiFp(this.configuration).listTenants(options).then((request) => request(this.axios, this.basePath));
|
|
6045
|
+
listTenants(name, options) {
|
|
6046
|
+
return TenantApiFp(this.configuration).listTenants(name, options).then((request) => request(this.axios, this.basePath));
|
|
6038
6047
|
}
|
|
6039
6048
|
}
|
|
6040
6049
|
/**
|