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/dist/esm/api.js CHANGED
@@ -2313,13 +2313,13 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
2313
2313
  };
2314
2314
  }),
2315
2315
  /**
2316
- * Get notification preferences for the authenticated user
2317
- * @summary Get notification preferences
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
- getNotificationPreferences: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2322
- const localVarPath = `/users/notifications/preferences`;
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 notification preferences for the authenticated user
2413
- * @summary Update notification preferences
2414
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
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
- updateNotificationPreferences: (notificationPreference, options = {}) => __awaiter(this, void 0, void 0, function* () {
2419
- // verify required parameter 'notificationPreference' is not null or undefined
2420
- assertParamExists('updateNotificationPreferences', 'notificationPreference', notificationPreference);
2421
- const localVarPath = `/users/notifications/preferences`;
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(notificationPreference, localVarRequestOptions, configuration);
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 notification preferences for the authenticated user
2481
- * @summary Get notification preferences
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
- getNotificationPreferences(options) {
2485
+ getPreferences(options) {
2486
2486
  return __awaiter(this, void 0, void 0, function* () {
2487
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getNotificationPreferences(options);
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 notification preferences for the authenticated user
2520
- * @summary Update notification preferences
2521
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
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
- updateNotificationPreferences(notificationPreference, options) {
2525
+ updatePreferences(preferencesRequest, options) {
2526
2526
  return __awaiter(this, void 0, void 0, function* () {
2527
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateNotificationPreferences(notificationPreference, options);
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 notification preferences for the authenticated user
2562
- * @summary Get notification preferences
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
- getNotificationPreferences(options) {
2567
- return localVarFp.getNotificationPreferences(options).then((request) => request(axios, basePath));
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 notification preferences for the authenticated user
2592
- * @summary Update notification preferences
2593
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
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
- updateNotificationPreferences(notificationPreference, options) {
2598
- return localVarFp.updateNotificationPreferences(notificationPreference, options).then((request) => request(axios, basePath));
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 notification preferences for the authenticated user
2633
- * @summary Get notification preferences
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
- getNotificationPreferences(options) {
2639
- return NotificationApiFp(this.configuration).getNotificationPreferences(options).then((request) => request(this.axios, this.basePath));
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 notification preferences for the authenticated user
2666
- * @summary Update notification preferences
2667
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
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
- updateNotificationPreferences(notificationPreference, options) {
2673
- return NotificationApiFp(this.configuration).updateNotificationPreferences(notificationPreference, options).then((request) => request(this.axios, this.basePath));
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
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "0.0.750-prerelease0",
3
+ "version": "0.0.751-prerelease0",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {