flexinet-api 0.0.750-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 CHANGED
@@ -1,4 +1,4 @@
1
- ## flexinet-api@0.0.750-prerelease0
1
+ ## flexinet-api@0.0.751-prerelease0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install flexinet-api@0.0.750-prerelease0 --save
39
+ npm install flexinet-api@0.0.751-prerelease0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -1348,6 +1348,19 @@ export interface PeriodPromotion {
1348
1348
  */
1349
1349
  'period': Period;
1350
1350
  }
1351
+ /**
1352
+ *
1353
+ * @export
1354
+ * @interface PreferencesRequest
1355
+ */
1356
+ export interface PreferencesRequest {
1357
+ /**
1358
+ *
1359
+ * @type {Array<NotificationPreference>}
1360
+ * @memberof PreferencesRequest
1361
+ */
1362
+ 'notificationPreferences': Array<NotificationPreference>;
1363
+ }
1351
1364
  /**
1352
1365
  *
1353
1366
  * @export
@@ -2169,7 +2182,7 @@ export interface PromotionConfig {
2169
2182
  * @type {number}
2170
2183
  * @memberof PromotionConfig
2171
2184
  */
2172
- 'adminClainGracePeriod'?: number;
2185
+ 'adminClaimGracePeriod'?: number;
2173
2186
  /**
2174
2187
  *
2175
2188
  * @type {number}
@@ -3051,25 +3064,31 @@ export interface Tenant {
3051
3064
  * @type {string}
3052
3065
  * @memberof Tenant
3053
3066
  */
3054
- 'customerKeyConfig': string;
3067
+ 'customerOpenIDKeyConfig': string;
3055
3068
  /**
3056
3069
  *
3057
3070
  * @type {string}
3058
3071
  * @memberof Tenant
3059
3072
  */
3060
- 'customerIssuer': string;
3073
+ 'customerOpenIDIssuer': string;
3061
3074
  /**
3062
3075
  *
3063
3076
  * @type {string}
3064
3077
  * @memberof Tenant
3065
3078
  */
3066
- 'customerLoginURL': string;
3079
+ 'customerOpenIDClientID': string;
3067
3080
  /**
3068
3081
  *
3069
3082
  * @type {string}
3070
3083
  * @memberof Tenant
3071
3084
  */
3072
- 'customerClientID': string;
3085
+ 'customerOpenIDMetadataURL': string;
3086
+ /**
3087
+ *
3088
+ * @type {{ [key: string]: string; }}
3089
+ * @memberof Tenant
3090
+ */
3091
+ 'customerOpenIDParameters'?: { [key: string]: string; };
3073
3092
  }
3074
3093
  /**
3075
3094
  *
@@ -5875,13 +5894,13 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
5875
5894
  };
5876
5895
  },
5877
5896
  /**
5878
- * Get notification preferences for the authenticated user
5879
- * @summary Get notification preferences
5897
+ * Get preferences for the authenticated user
5898
+ * @summary Get preferences
5880
5899
  * @param {*} [options] Override http request option.
5881
5900
  * @throws {RequiredError}
5882
5901
  */
5883
- getNotificationPreferences: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5884
- const localVarPath = `/users/notifications/preferences`;
5902
+ getPreferences: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5903
+ const localVarPath = `/users/preferences`;
5885
5904
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5886
5905
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5887
5906
  let baseOptions;
@@ -5991,16 +6010,16 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
5991
6010
  };
5992
6011
  },
5993
6012
  /**
5994
- * Update notification preferences for the authenticated user
5995
- * @summary Update notification preferences
5996
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
6013
+ * Update preferences for the authenticated user
6014
+ * @summary Update preferences
6015
+ * @param {PreferencesRequest} preferencesRequest notification preferences
5997
6016
  * @param {*} [options] Override http request option.
5998
6017
  * @throws {RequiredError}
5999
6018
  */
6000
- updateNotificationPreferences: async (notificationPreference: Array<NotificationPreference>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6001
- // verify required parameter 'notificationPreference' is not null or undefined
6002
- assertParamExists('updateNotificationPreferences', 'notificationPreference', notificationPreference)
6003
- const localVarPath = `/users/notifications/preferences`;
6019
+ updatePreferences: async (preferencesRequest: PreferencesRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6020
+ // verify required parameter 'preferencesRequest' is not null or undefined
6021
+ assertParamExists('updatePreferences', 'preferencesRequest', preferencesRequest)
6022
+ const localVarPath = `/users/preferences`;
6004
6023
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6005
6024
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6006
6025
  let baseOptions;
@@ -6023,7 +6042,7 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
6023
6042
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6024
6043
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6025
6044
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6026
- localVarRequestOptions.data = serializeDataIfNeeded(notificationPreference, localVarRequestOptions, configuration)
6045
+ localVarRequestOptions.data = serializeDataIfNeeded(preferencesRequest, localVarRequestOptions, configuration)
6027
6046
 
6028
6047
  return {
6029
6048
  url: toPathString(localVarUrlObj),
@@ -6063,13 +6082,13 @@ export const NotificationApiFp = function(configuration?: Configuration) {
6063
6082
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6064
6083
  },
6065
6084
  /**
6066
- * Get notification preferences for the authenticated user
6067
- * @summary Get notification preferences
6085
+ * Get preferences for the authenticated user
6086
+ * @summary Get preferences
6068
6087
  * @param {*} [options] Override http request option.
6069
6088
  * @throws {RequiredError}
6070
6089
  */
6071
- async getNotificationPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotificationPreference>>> {
6072
- const localVarAxiosArgs = await localVarAxiosParamCreator.getNotificationPreferences(options);
6090
+ async getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotificationPreference>>> {
6091
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPreferences(options);
6073
6092
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6074
6093
  },
6075
6094
  /**
@@ -6096,14 +6115,14 @@ export const NotificationApiFp = function(configuration?: Configuration) {
6096
6115
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6097
6116
  },
6098
6117
  /**
6099
- * Update notification preferences for the authenticated user
6100
- * @summary Update notification preferences
6101
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
6118
+ * Update preferences for the authenticated user
6119
+ * @summary Update preferences
6120
+ * @param {PreferencesRequest} preferencesRequest notification preferences
6102
6121
  * @param {*} [options] Override http request option.
6103
6122
  * @throws {RequiredError}
6104
6123
  */
6105
- async updateNotificationPreferences(notificationPreference: Array<NotificationPreference>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
6106
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateNotificationPreferences(notificationPreference, options);
6124
+ async updatePreferences(preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
6125
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatePreferences(preferencesRequest, options);
6107
6126
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6108
6127
  },
6109
6128
  }
@@ -6137,13 +6156,13 @@ export const NotificationApiFactory = function (configuration?: Configuration, b
6137
6156
  return localVarFp.getNotification(notificationID, options).then((request) => request(axios, basePath));
6138
6157
  },
6139
6158
  /**
6140
- * Get notification preferences for the authenticated user
6141
- * @summary Get notification preferences
6159
+ * Get preferences for the authenticated user
6160
+ * @summary Get preferences
6142
6161
  * @param {*} [options] Override http request option.
6143
6162
  * @throws {RequiredError}
6144
6163
  */
6145
- getNotificationPreferences(options?: any): AxiosPromise<Array<NotificationPreference>> {
6146
- return localVarFp.getNotificationPreferences(options).then((request) => request(axios, basePath));
6164
+ getPreferences(options?: any): AxiosPromise<Array<NotificationPreference>> {
6165
+ return localVarFp.getPreferences(options).then((request) => request(axios, basePath));
6147
6166
  },
6148
6167
  /**
6149
6168
  * List paginated notifications
@@ -6167,14 +6186,14 @@ export const NotificationApiFactory = function (configuration?: Configuration, b
6167
6186
  return localVarFp.markNotificationAsRead(notificationID, options).then((request) => request(axios, basePath));
6168
6187
  },
6169
6188
  /**
6170
- * Update notification preferences for the authenticated user
6171
- * @summary Update notification preferences
6172
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
6189
+ * Update preferences for the authenticated user
6190
+ * @summary Update preferences
6191
+ * @param {PreferencesRequest} preferencesRequest notification preferences
6173
6192
  * @param {*} [options] Override http request option.
6174
6193
  * @throws {RequiredError}
6175
6194
  */
6176
- updateNotificationPreferences(notificationPreference: Array<NotificationPreference>, options?: any): AxiosPromise<void> {
6177
- return localVarFp.updateNotificationPreferences(notificationPreference, options).then((request) => request(axios, basePath));
6195
+ updatePreferences(preferencesRequest: PreferencesRequest, options?: any): AxiosPromise<void> {
6196
+ return localVarFp.updatePreferences(preferencesRequest, options).then((request) => request(axios, basePath));
6178
6197
  },
6179
6198
  };
6180
6199
  };
@@ -6211,14 +6230,14 @@ export class NotificationApi extends BaseAPI {
6211
6230
  }
6212
6231
 
6213
6232
  /**
6214
- * Get notification preferences for the authenticated user
6215
- * @summary Get notification preferences
6233
+ * Get preferences for the authenticated user
6234
+ * @summary Get preferences
6216
6235
  * @param {*} [options] Override http request option.
6217
6236
  * @throws {RequiredError}
6218
6237
  * @memberof NotificationApi
6219
6238
  */
6220
- public getNotificationPreferences(options?: AxiosRequestConfig) {
6221
- return NotificationApiFp(this.configuration).getNotificationPreferences(options).then((request) => request(this.axios, this.basePath));
6239
+ public getPreferences(options?: AxiosRequestConfig) {
6240
+ return NotificationApiFp(this.configuration).getPreferences(options).then((request) => request(this.axios, this.basePath));
6222
6241
  }
6223
6242
 
6224
6243
  /**
@@ -6247,15 +6266,15 @@ export class NotificationApi extends BaseAPI {
6247
6266
  }
6248
6267
 
6249
6268
  /**
6250
- * Update notification preferences for the authenticated user
6251
- * @summary Update notification preferences
6252
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
6269
+ * Update preferences for the authenticated user
6270
+ * @summary Update preferences
6271
+ * @param {PreferencesRequest} preferencesRequest notification preferences
6253
6272
  * @param {*} [options] Override http request option.
6254
6273
  * @throws {RequiredError}
6255
6274
  * @memberof NotificationApi
6256
6275
  */
6257
- public updateNotificationPreferences(notificationPreference: Array<NotificationPreference>, options?: AxiosRequestConfig) {
6258
- return NotificationApiFp(this.configuration).updateNotificationPreferences(notificationPreference, options).then((request) => request(this.axios, this.basePath));
6276
+ public updatePreferences(preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig) {
6277
+ return NotificationApiFp(this.configuration).updatePreferences(preferencesRequest, options).then((request) => request(this.axios, this.basePath));
6259
6278
  }
6260
6279
  }
6261
6280
 
@@ -9856,10 +9875,13 @@ export const TenantApiAxiosParamCreator = function (configuration?: Configuratio
9856
9875
  /**
9857
9876
  * List of known tenants
9858
9877
  * @summary List tenants
9878
+ * @param {string} name This is the tenant name
9859
9879
  * @param {*} [options] Override http request option.
9860
9880
  * @throws {RequiredError}
9861
9881
  */
9862
- listTenants: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9882
+ listTenants: async (name: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9883
+ // verify required parameter 'name' is not null or undefined
9884
+ assertParamExists('listTenants', 'name', name)
9863
9885
  const localVarPath = `/tenants`;
9864
9886
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9865
9887
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -9872,6 +9894,10 @@ export const TenantApiAxiosParamCreator = function (configuration?: Configuratio
9872
9894
  const localVarHeaderParameter = {} as any;
9873
9895
  const localVarQueryParameter = {} as any;
9874
9896
 
9897
+ if (name !== undefined) {
9898
+ localVarQueryParameter['name'] = name;
9899
+ }
9900
+
9875
9901
 
9876
9902
 
9877
9903
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -9896,11 +9922,12 @@ export const TenantApiFp = function(configuration?: Configuration) {
9896
9922
  /**
9897
9923
  * List of known tenants
9898
9924
  * @summary List tenants
9925
+ * @param {string} name This is the tenant name
9899
9926
  * @param {*} [options] Override http request option.
9900
9927
  * @throws {RequiredError}
9901
9928
  */
9902
- async listTenants(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: Tenant; }>> {
9903
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTenants(options);
9929
+ async listTenants(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tenant>> {
9930
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTenants(name, options);
9904
9931
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9905
9932
  },
9906
9933
  }
@@ -9916,11 +9943,12 @@ export const TenantApiFactory = function (configuration?: Configuration, basePat
9916
9943
  /**
9917
9944
  * List of known tenants
9918
9945
  * @summary List tenants
9946
+ * @param {string} name This is the tenant name
9919
9947
  * @param {*} [options] Override http request option.
9920
9948
  * @throws {RequiredError}
9921
9949
  */
9922
- listTenants(options?: any): AxiosPromise<{ [key: string]: Tenant; }> {
9923
- return localVarFp.listTenants(options).then((request) => request(axios, basePath));
9950
+ listTenants(name: string, options?: any): AxiosPromise<Tenant> {
9951
+ return localVarFp.listTenants(name, options).then((request) => request(axios, basePath));
9924
9952
  },
9925
9953
  };
9926
9954
  };
@@ -9935,12 +9963,13 @@ export class TenantApi extends BaseAPI {
9935
9963
  /**
9936
9964
  * List of known tenants
9937
9965
  * @summary List tenants
9966
+ * @param {string} name This is the tenant name
9938
9967
  * @param {*} [options] Override http request option.
9939
9968
  * @throws {RequiredError}
9940
9969
  * @memberof TenantApi
9941
9970
  */
9942
- public listTenants(options?: AxiosRequestConfig) {
9943
- return TenantApiFp(this.configuration).listTenants(options).then((request) => request(this.axios, this.basePath));
9971
+ public listTenants(name: string, options?: AxiosRequestConfig) {
9972
+ return TenantApiFp(this.configuration).listTenants(name, options).then((request) => request(this.axios, this.basePath));
9944
9973
  }
9945
9974
  }
9946
9975
 
package/dist/api.d.ts CHANGED
@@ -1272,6 +1272,19 @@ export interface PeriodPromotion {
1272
1272
  */
1273
1273
  'period': Period;
1274
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
+ }
1275
1288
  /**
1276
1289
  *
1277
1290
  * @export
@@ -2057,7 +2070,7 @@ export interface PromotionConfig {
2057
2070
  * @type {number}
2058
2071
  * @memberof PromotionConfig
2059
2072
  */
2060
- 'adminClainGracePeriod'?: number;
2073
+ 'adminClaimGracePeriod'?: number;
2061
2074
  /**
2062
2075
  *
2063
2076
  * @type {number}
@@ -2885,25 +2898,33 @@ export interface Tenant {
2885
2898
  * @type {string}
2886
2899
  * @memberof Tenant
2887
2900
  */
2888
- 'customerKeyConfig': string;
2901
+ 'customerOpenIDKeyConfig': string;
2889
2902
  /**
2890
2903
  *
2891
2904
  * @type {string}
2892
2905
  * @memberof Tenant
2893
2906
  */
2894
- 'customerIssuer': string;
2907
+ 'customerOpenIDIssuer': string;
2895
2908
  /**
2896
2909
  *
2897
2910
  * @type {string}
2898
2911
  * @memberof Tenant
2899
2912
  */
2900
- 'customerLoginURL': string;
2913
+ 'customerOpenIDClientID': string;
2901
2914
  /**
2902
2915
  *
2903
2916
  * @type {string}
2904
2917
  * @memberof Tenant
2905
2918
  */
2906
- 'customerClientID': string;
2919
+ 'customerOpenIDMetadataURL': string;
2920
+ /**
2921
+ *
2922
+ * @type {{ [key: string]: string; }}
2923
+ * @memberof Tenant
2924
+ */
2925
+ 'customerOpenIDParameters'?: {
2926
+ [key: string]: string;
2927
+ };
2907
2928
  }
2908
2929
  /**
2909
2930
  *
@@ -4579,12 +4600,12 @@ export declare const NotificationApiAxiosParamCreator: (configuration?: Configur
4579
4600
  */
4580
4601
  getNotification: (notificationID: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4581
4602
  /**
4582
- * Get notification preferences for the authenticated user
4583
- * @summary Get notification preferences
4603
+ * Get preferences for the authenticated user
4604
+ * @summary Get preferences
4584
4605
  * @param {*} [options] Override http request option.
4585
4606
  * @throws {RequiredError}
4586
4607
  */
4587
- getNotificationPreferences: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
4608
+ getPreferences: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
4588
4609
  /**
4589
4610
  * List paginated notifications
4590
4611
  * @summary List notifications
@@ -4603,13 +4624,13 @@ export declare const NotificationApiAxiosParamCreator: (configuration?: Configur
4603
4624
  */
4604
4625
  markNotificationAsRead: (notificationID: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4605
4626
  /**
4606
- * Update notification preferences for the authenticated user
4607
- * @summary Update notification preferences
4608
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
4627
+ * Update preferences for the authenticated user
4628
+ * @summary Update preferences
4629
+ * @param {PreferencesRequest} preferencesRequest notification preferences
4609
4630
  * @param {*} [options] Override http request option.
4610
4631
  * @throws {RequiredError}
4611
4632
  */
4612
- updateNotificationPreferences: (notificationPreference: Array<NotificationPreference>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4633
+ updatePreferences: (preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4613
4634
  };
4614
4635
  /**
4615
4636
  * NotificationApi - functional programming interface
@@ -4633,12 +4654,12 @@ export declare const NotificationApiFp: (configuration?: Configuration) => {
4633
4654
  */
4634
4655
  getNotification(notificationID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>>;
4635
4656
  /**
4636
- * Get notification preferences for the authenticated user
4637
- * @summary Get notification preferences
4657
+ * Get preferences for the authenticated user
4658
+ * @summary Get preferences
4638
4659
  * @param {*} [options] Override http request option.
4639
4660
  * @throws {RequiredError}
4640
4661
  */
4641
- getNotificationPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotificationPreference>>>;
4662
+ getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotificationPreference>>>;
4642
4663
  /**
4643
4664
  * List paginated notifications
4644
4665
  * @summary List notifications
@@ -4657,13 +4678,13 @@ export declare const NotificationApiFp: (configuration?: Configuration) => {
4657
4678
  */
4658
4679
  markNotificationAsRead(notificationID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4659
4680
  /**
4660
- * Update notification preferences for the authenticated user
4661
- * @summary Update notification preferences
4662
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
4681
+ * Update preferences for the authenticated user
4682
+ * @summary Update preferences
4683
+ * @param {PreferencesRequest} preferencesRequest notification preferences
4663
4684
  * @param {*} [options] Override http request option.
4664
4685
  * @throws {RequiredError}
4665
4686
  */
4666
- 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>>;
4667
4688
  };
4668
4689
  /**
4669
4690
  * NotificationApi - factory interface
@@ -4687,12 +4708,12 @@ export declare const NotificationApiFactory: (configuration?: Configuration, bas
4687
4708
  */
4688
4709
  getNotification(notificationID: string, options?: any): AxiosPromise<Notification>;
4689
4710
  /**
4690
- * Get notification preferences for the authenticated user
4691
- * @summary Get notification preferences
4711
+ * Get preferences for the authenticated user
4712
+ * @summary Get preferences
4692
4713
  * @param {*} [options] Override http request option.
4693
4714
  * @throws {RequiredError}
4694
4715
  */
4695
- getNotificationPreferences(options?: any): AxiosPromise<Array<NotificationPreference>>;
4716
+ getPreferences(options?: any): AxiosPromise<Array<NotificationPreference>>;
4696
4717
  /**
4697
4718
  * List paginated notifications
4698
4719
  * @summary List notifications
@@ -4711,13 +4732,13 @@ export declare const NotificationApiFactory: (configuration?: Configuration, bas
4711
4732
  */
4712
4733
  markNotificationAsRead(notificationID: string, options?: any): AxiosPromise<void>;
4713
4734
  /**
4714
- * Update notification preferences for the authenticated user
4715
- * @summary Update notification preferences
4716
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
4735
+ * Update preferences for the authenticated user
4736
+ * @summary Update preferences
4737
+ * @param {PreferencesRequest} preferencesRequest notification preferences
4717
4738
  * @param {*} [options] Override http request option.
4718
4739
  * @throws {RequiredError}
4719
4740
  */
4720
- updateNotificationPreferences(notificationPreference: Array<NotificationPreference>, options?: any): AxiosPromise<void>;
4741
+ updatePreferences(preferencesRequest: PreferencesRequest, options?: any): AxiosPromise<void>;
4721
4742
  };
4722
4743
  /**
4723
4744
  * NotificationApi - object-oriented interface
@@ -4745,13 +4766,13 @@ export declare class NotificationApi extends BaseAPI {
4745
4766
  */
4746
4767
  getNotification(notificationID: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Notification, any>>;
4747
4768
  /**
4748
- * Get notification preferences for the authenticated user
4749
- * @summary Get notification preferences
4769
+ * Get preferences for the authenticated user
4770
+ * @summary Get preferences
4750
4771
  * @param {*} [options] Override http request option.
4751
4772
  * @throws {RequiredError}
4752
4773
  * @memberof NotificationApi
4753
4774
  */
4754
- getNotificationPreferences(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationPreference[], any>>;
4775
+ getPreferences(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationPreference[], any>>;
4755
4776
  /**
4756
4777
  * List paginated notifications
4757
4778
  * @summary List notifications
@@ -4772,14 +4793,14 @@ export declare class NotificationApi extends BaseAPI {
4772
4793
  */
4773
4794
  markNotificationAsRead(notificationID: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
4774
4795
  /**
4775
- * Update notification preferences for the authenticated user
4776
- * @summary Update notification preferences
4777
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
4796
+ * Update preferences for the authenticated user
4797
+ * @summary Update preferences
4798
+ * @param {PreferencesRequest} preferencesRequest notification preferences
4778
4799
  * @param {*} [options] Override http request option.
4779
4800
  * @throws {RequiredError}
4780
4801
  * @memberof NotificationApi
4781
4802
  */
4782
- updateNotificationPreferences(notificationPreference: Array<NotificationPreference>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
4803
+ updatePreferences(preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
4783
4804
  }
4784
4805
  /**
4785
4806
  * OrderApi - axios parameter creator
@@ -6500,10 +6521,11 @@ export declare const TenantApiAxiosParamCreator: (configuration?: Configuration)
6500
6521
  /**
6501
6522
  * List of known tenants
6502
6523
  * @summary List tenants
6524
+ * @param {string} name This is the tenant name
6503
6525
  * @param {*} [options] Override http request option.
6504
6526
  * @throws {RequiredError}
6505
6527
  */
6506
- listTenants: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
6528
+ listTenants: (name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6507
6529
  };
6508
6530
  /**
6509
6531
  * TenantApi - functional programming interface
@@ -6513,12 +6535,11 @@ export declare const TenantApiFp: (configuration?: Configuration) => {
6513
6535
  /**
6514
6536
  * List of known tenants
6515
6537
  * @summary List tenants
6538
+ * @param {string} name This is the tenant name
6516
6539
  * @param {*} [options] Override http request option.
6517
6540
  * @throws {RequiredError}
6518
6541
  */
6519
- listTenants(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
6520
- [key: string]: Tenant;
6521
- }>>;
6542
+ listTenants(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tenant>>;
6522
6543
  };
6523
6544
  /**
6524
6545
  * TenantApi - factory interface
@@ -6528,12 +6549,11 @@ export declare const TenantApiFactory: (configuration?: Configuration, basePath?
6528
6549
  /**
6529
6550
  * List of known tenants
6530
6551
  * @summary List tenants
6552
+ * @param {string} name This is the tenant name
6531
6553
  * @param {*} [options] Override http request option.
6532
6554
  * @throws {RequiredError}
6533
6555
  */
6534
- listTenants(options?: any): AxiosPromise<{
6535
- [key: string]: Tenant;
6536
- }>;
6556
+ listTenants(name: string, options?: any): AxiosPromise<Tenant>;
6537
6557
  };
6538
6558
  /**
6539
6559
  * TenantApi - object-oriented interface
@@ -6545,13 +6565,12 @@ export declare class TenantApi extends BaseAPI {
6545
6565
  /**
6546
6566
  * List of known tenants
6547
6567
  * @summary List tenants
6568
+ * @param {string} name This is the tenant name
6548
6569
  * @param {*} [options] Override http request option.
6549
6570
  * @throws {RequiredError}
6550
6571
  * @memberof TenantApi
6551
6572
  */
6552
- listTenants(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
6553
- [key: string]: Tenant;
6554
- }, any>>;
6573
+ listTenants(name: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Tenant, any>>;
6555
6574
  }
6556
6575
  /**
6557
6576
  * TransactionApi - axios parameter creator