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/dist/api.d.ts CHANGED
@@ -761,25 +761,31 @@ export interface CustomDealRestrictionsResponse {
761
761
  /**
762
762
  *
763
763
  * @export
764
- * @interface CustomeruserDetails
764
+ * @interface CustomerUserDetails
765
765
  */
766
- export interface CustomeruserDetails {
766
+ export interface CustomerUserDetails {
767
767
  /**
768
768
  *
769
769
  * @type {string}
770
- * @memberof CustomeruserDetails
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 CustomeruserDetails
782
+ * @memberof CustomerUserDetails
777
783
  */
778
784
  'firstName'?: string;
779
785
  /**
780
786
  *
781
787
  * @type {string}
782
- * @memberof CustomeruserDetails
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
- 'adminClainGracePeriod'?: number;
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
- 'customerKeyConfig': string;
2901
+ 'customerOpenIDKeyConfig': string;
2877
2902
  /**
2878
2903
  *
2879
2904
  * @type {string}
2880
2905
  * @memberof Tenant
2881
2906
  */
2882
- 'customerIssuer': string;
2907
+ 'customerOpenIDIssuer': string;
2883
2908
  /**
2884
2909
  *
2885
2910
  * @type {string}
2886
2911
  * @memberof Tenant
2887
2912
  */
2888
- 'customerLoginURL': string;
2913
+ 'customerOpenIDClientID': string;
2889
2914
  /**
2890
2915
  *
2891
2916
  * @type {string}
2892
2917
  * @memberof Tenant
2893
2918
  */
2894
- 'customerClientID': string;
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 = CustomeruserDetails | SystemUserDetails;
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 notification preferences for the authenticated user
4567
- * @summary Get notification preferences
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
- getNotificationPreferences: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
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 notification preferences for the authenticated user
4591
- * @summary Update notification preferences
4592
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
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
- updateNotificationPreferences: (notificationPreference: Array<NotificationPreference>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
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 notification preferences for the authenticated user
4621
- * @summary Get notification preferences
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
- getNotificationPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotificationPreference>>>;
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 notification preferences for the authenticated user
4645
- * @summary Update notification preferences
4646
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
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
- updateNotificationPreferences(notificationPreference: Array<NotificationPreference>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
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 notification preferences for the authenticated user
4675
- * @summary Get notification preferences
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
- getNotificationPreferences(options?: any): AxiosPromise<Array<NotificationPreference>>;
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 notification preferences for the authenticated user
4699
- * @summary Update notification preferences
4700
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
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
- updateNotificationPreferences(notificationPreference: Array<NotificationPreference>, options?: any): AxiosPromise<void>;
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 notification preferences for the authenticated user
4733
- * @summary Get notification preferences
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
- getNotificationPreferences(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationPreference[], any>>;
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 notification preferences for the authenticated user
4760
- * @summary Update notification preferences
4761
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
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
- updateNotificationPreferences(notificationPreference: Array<NotificationPreference>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
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/api.js CHANGED
@@ -2354,13 +2354,13 @@ const NotificationApiAxiosParamCreator = function (configuration) {
2354
2354
  };
2355
2355
  }),
2356
2356
  /**
2357
- * Get notification preferences for the authenticated user
2358
- * @summary Get notification preferences
2357
+ * Get preferences for the authenticated user
2358
+ * @summary Get preferences
2359
2359
  * @param {*} [options] Override http request option.
2360
2360
  * @throws {RequiredError}
2361
2361
  */
2362
- getNotificationPreferences: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2363
- const localVarPath = `/users/notifications/preferences`;
2362
+ getPreferences: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2363
+ const localVarPath = `/users/preferences`;
2364
2364
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2365
2365
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2366
2366
  let baseOptions;
@@ -2450,16 +2450,16 @@ const NotificationApiAxiosParamCreator = function (configuration) {
2450
2450
  };
2451
2451
  }),
2452
2452
  /**
2453
- * Update notification preferences for the authenticated user
2454
- * @summary Update notification preferences
2455
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
2453
+ * Update preferences for the authenticated user
2454
+ * @summary Update preferences
2455
+ * @param {PreferencesRequest} preferencesRequest notification preferences
2456
2456
  * @param {*} [options] Override http request option.
2457
2457
  * @throws {RequiredError}
2458
2458
  */
2459
- updateNotificationPreferences: (notificationPreference, options = {}) => __awaiter(this, void 0, void 0, function* () {
2460
- // verify required parameter 'notificationPreference' is not null or undefined
2461
- (0, common_1.assertParamExists)('updateNotificationPreferences', 'notificationPreference', notificationPreference);
2462
- const localVarPath = `/users/notifications/preferences`;
2459
+ updatePreferences: (preferencesRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
2460
+ // verify required parameter 'preferencesRequest' is not null or undefined
2461
+ (0, common_1.assertParamExists)('updatePreferences', 'preferencesRequest', preferencesRequest);
2462
+ const localVarPath = `/users/preferences`;
2463
2463
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2464
2464
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2465
2465
  let baseOptions;
@@ -2476,7 +2476,7 @@ const NotificationApiAxiosParamCreator = function (configuration) {
2476
2476
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2477
2477
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2478
2478
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2479
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(notificationPreference, localVarRequestOptions, configuration);
2479
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(preferencesRequest, localVarRequestOptions, configuration);
2480
2480
  return {
2481
2481
  url: (0, common_1.toPathString)(localVarUrlObj),
2482
2482
  options: localVarRequestOptions,
@@ -2519,14 +2519,14 @@ const NotificationApiFp = function (configuration) {
2519
2519
  });
2520
2520
  },
2521
2521
  /**
2522
- * Get notification preferences for the authenticated user
2523
- * @summary Get notification preferences
2522
+ * Get preferences for the authenticated user
2523
+ * @summary Get preferences
2524
2524
  * @param {*} [options] Override http request option.
2525
2525
  * @throws {RequiredError}
2526
2526
  */
2527
- getNotificationPreferences(options) {
2527
+ getPreferences(options) {
2528
2528
  return __awaiter(this, void 0, void 0, function* () {
2529
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getNotificationPreferences(options);
2529
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPreferences(options);
2530
2530
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2531
2531
  });
2532
2532
  },
@@ -2558,15 +2558,15 @@ const NotificationApiFp = function (configuration) {
2558
2558
  });
2559
2559
  },
2560
2560
  /**
2561
- * Update notification preferences for the authenticated user
2562
- * @summary Update notification preferences
2563
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
2561
+ * Update preferences for the authenticated user
2562
+ * @summary Update preferences
2563
+ * @param {PreferencesRequest} preferencesRequest notification preferences
2564
2564
  * @param {*} [options] Override http request option.
2565
2565
  * @throws {RequiredError}
2566
2566
  */
2567
- updateNotificationPreferences(notificationPreference, options) {
2567
+ updatePreferences(preferencesRequest, options) {
2568
2568
  return __awaiter(this, void 0, void 0, function* () {
2569
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateNotificationPreferences(notificationPreference, options);
2569
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePreferences(preferencesRequest, options);
2570
2570
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2571
2571
  });
2572
2572
  },
@@ -2601,13 +2601,13 @@ const NotificationApiFactory = function (configuration, basePath, axios) {
2601
2601
  return localVarFp.getNotification(notificationID, options).then((request) => request(axios, basePath));
2602
2602
  },
2603
2603
  /**
2604
- * Get notification preferences for the authenticated user
2605
- * @summary Get notification preferences
2604
+ * Get preferences for the authenticated user
2605
+ * @summary Get preferences
2606
2606
  * @param {*} [options] Override http request option.
2607
2607
  * @throws {RequiredError}
2608
2608
  */
2609
- getNotificationPreferences(options) {
2610
- return localVarFp.getNotificationPreferences(options).then((request) => request(axios, basePath));
2609
+ getPreferences(options) {
2610
+ return localVarFp.getPreferences(options).then((request) => request(axios, basePath));
2611
2611
  },
2612
2612
  /**
2613
2613
  * List paginated notifications
@@ -2631,14 +2631,14 @@ const NotificationApiFactory = function (configuration, basePath, axios) {
2631
2631
  return localVarFp.markNotificationAsRead(notificationID, options).then((request) => request(axios, basePath));
2632
2632
  },
2633
2633
  /**
2634
- * Update notification preferences for the authenticated user
2635
- * @summary Update notification preferences
2636
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
2634
+ * Update preferences for the authenticated user
2635
+ * @summary Update preferences
2636
+ * @param {PreferencesRequest} preferencesRequest notification preferences
2637
2637
  * @param {*} [options] Override http request option.
2638
2638
  * @throws {RequiredError}
2639
2639
  */
2640
- updateNotificationPreferences(notificationPreference, options) {
2641
- return localVarFp.updateNotificationPreferences(notificationPreference, options).then((request) => request(axios, basePath));
2640
+ updatePreferences(preferencesRequest, options) {
2641
+ return localVarFp.updatePreferences(preferencesRequest, options).then((request) => request(axios, basePath));
2642
2642
  },
2643
2643
  };
2644
2644
  };
@@ -2673,14 +2673,14 @@ class NotificationApi extends base_1.BaseAPI {
2673
2673
  return (0, exports.NotificationApiFp)(this.configuration).getNotification(notificationID, options).then((request) => request(this.axios, this.basePath));
2674
2674
  }
2675
2675
  /**
2676
- * Get notification preferences for the authenticated user
2677
- * @summary Get notification preferences
2676
+ * Get preferences for the authenticated user
2677
+ * @summary Get preferences
2678
2678
  * @param {*} [options] Override http request option.
2679
2679
  * @throws {RequiredError}
2680
2680
  * @memberof NotificationApi
2681
2681
  */
2682
- getNotificationPreferences(options) {
2683
- return (0, exports.NotificationApiFp)(this.configuration).getNotificationPreferences(options).then((request) => request(this.axios, this.basePath));
2682
+ getPreferences(options) {
2683
+ return (0, exports.NotificationApiFp)(this.configuration).getPreferences(options).then((request) => request(this.axios, this.basePath));
2684
2684
  }
2685
2685
  /**
2686
2686
  * List paginated notifications
@@ -2706,15 +2706,15 @@ class NotificationApi extends base_1.BaseAPI {
2706
2706
  return (0, exports.NotificationApiFp)(this.configuration).markNotificationAsRead(notificationID, options).then((request) => request(this.axios, this.basePath));
2707
2707
  }
2708
2708
  /**
2709
- * Update notification preferences for the authenticated user
2710
- * @summary Update notification preferences
2711
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
2709
+ * Update preferences for the authenticated user
2710
+ * @summary Update preferences
2711
+ * @param {PreferencesRequest} preferencesRequest notification preferences
2712
2712
  * @param {*} [options] Override http request option.
2713
2713
  * @throws {RequiredError}
2714
2714
  * @memberof NotificationApi
2715
2715
  */
2716
- updateNotificationPreferences(notificationPreference, options) {
2717
- return (0, exports.NotificationApiFp)(this.configuration).updateNotificationPreferences(notificationPreference, options).then((request) => request(this.axios, this.basePath));
2716
+ updatePreferences(preferencesRequest, options) {
2717
+ return (0, exports.NotificationApiFp)(this.configuration).updatePreferences(preferencesRequest, options).then((request) => request(this.axios, this.basePath));
2718
2718
  }
2719
2719
  }
2720
2720
  exports.NotificationApi = NotificationApi;
@@ -6025,10 +6025,13 @@ const TenantApiAxiosParamCreator = function (configuration) {
6025
6025
  /**
6026
6026
  * List of known tenants
6027
6027
  * @summary List tenants
6028
+ * @param {string} name This is the tenant name
6028
6029
  * @param {*} [options] Override http request option.
6029
6030
  * @throws {RequiredError}
6030
6031
  */
6031
- listTenants: (options = {}) => __awaiter(this, void 0, void 0, function* () {
6032
+ listTenants: (name, options = {}) => __awaiter(this, void 0, void 0, function* () {
6033
+ // verify required parameter 'name' is not null or undefined
6034
+ (0, common_1.assertParamExists)('listTenants', 'name', name);
6032
6035
  const localVarPath = `/tenants`;
6033
6036
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6034
6037
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -6039,6 +6042,9 @@ const TenantApiAxiosParamCreator = function (configuration) {
6039
6042
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6040
6043
  const localVarHeaderParameter = {};
6041
6044
  const localVarQueryParameter = {};
6045
+ if (name !== undefined) {
6046
+ localVarQueryParameter['name'] = name;
6047
+ }
6042
6048
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6043
6049
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6044
6050
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -6060,12 +6066,13 @@ const TenantApiFp = function (configuration) {
6060
6066
  /**
6061
6067
  * List of known tenants
6062
6068
  * @summary List tenants
6069
+ * @param {string} name This is the tenant name
6063
6070
  * @param {*} [options] Override http request option.
6064
6071
  * @throws {RequiredError}
6065
6072
  */
6066
- listTenants(options) {
6073
+ listTenants(name, options) {
6067
6074
  return __awaiter(this, void 0, void 0, function* () {
6068
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listTenants(options);
6075
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listTenants(name, options);
6069
6076
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
6070
6077
  });
6071
6078
  },
@@ -6082,11 +6089,12 @@ const TenantApiFactory = function (configuration, basePath, axios) {
6082
6089
  /**
6083
6090
  * List of known tenants
6084
6091
  * @summary List tenants
6092
+ * @param {string} name This is the tenant name
6085
6093
  * @param {*} [options] Override http request option.
6086
6094
  * @throws {RequiredError}
6087
6095
  */
6088
- listTenants(options) {
6089
- return localVarFp.listTenants(options).then((request) => request(axios, basePath));
6096
+ listTenants(name, options) {
6097
+ return localVarFp.listTenants(name, options).then((request) => request(axios, basePath));
6090
6098
  },
6091
6099
  };
6092
6100
  };
@@ -6101,12 +6109,13 @@ class TenantApi extends base_1.BaseAPI {
6101
6109
  /**
6102
6110
  * List of known tenants
6103
6111
  * @summary List tenants
6112
+ * @param {string} name This is the tenant name
6104
6113
  * @param {*} [options] Override http request option.
6105
6114
  * @throws {RequiredError}
6106
6115
  * @memberof TenantApi
6107
6116
  */
6108
- listTenants(options) {
6109
- return (0, exports.TenantApiFp)(this.configuration).listTenants(options).then((request) => request(this.axios, this.basePath));
6117
+ listTenants(name, options) {
6118
+ return (0, exports.TenantApiFp)(this.configuration).listTenants(name, options).then((request) => request(this.axios, this.basePath));
6110
6119
  }
6111
6120
  }
6112
6121
  exports.TenantApi = TenantApi;