flexinet-api 0.0.752-prerelease0 → 0.0.753-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.752-prerelease0
1
+ ## flexinet-api@0.0.753-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.752-prerelease0 --save
39
+ npm install flexinet-api@0.0.753-prerelease0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -1348,6 +1348,25 @@ export interface PeriodPromotion {
1348
1348
  */
1349
1349
  'period': Period;
1350
1350
  }
1351
+ /**
1352
+ *
1353
+ * @export
1354
+ * @interface Preferences
1355
+ */
1356
+ export interface Preferences {
1357
+ /**
1358
+ *
1359
+ * @type {Array<NotificationPreference>}
1360
+ * @memberof Preferences
1361
+ */
1362
+ 'notificationPreferences': Array<NotificationPreference>;
1363
+ /**
1364
+ *
1365
+ * @type {PromotionConfig}
1366
+ * @memberof Preferences
1367
+ */
1368
+ 'promotionConfig': PromotionConfig;
1369
+ }
1351
1370
  /**
1352
1371
  *
1353
1372
  * @export
@@ -6086,7 +6105,7 @@ export const NotificationApiFp = function(configuration?: Configuration) {
6086
6105
  * @param {*} [options] Override http request option.
6087
6106
  * @throws {RequiredError}
6088
6107
  */
6089
- async getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotificationPreference>>> {
6108
+ async getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Preferences>> {
6090
6109
  const localVarAxiosArgs = await localVarAxiosParamCreator.getPreferences(options);
6091
6110
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6092
6111
  },
@@ -6160,7 +6179,7 @@ export const NotificationApiFactory = function (configuration?: Configuration, b
6160
6179
  * @param {*} [options] Override http request option.
6161
6180
  * @throws {RequiredError}
6162
6181
  */
6163
- getPreferences(options?: any): AxiosPromise<Array<NotificationPreference>> {
6182
+ getPreferences(options?: any): AxiosPromise<Preferences> {
6164
6183
  return localVarFp.getPreferences(options).then((request) => request(axios, basePath));
6165
6184
  },
6166
6185
  /**
package/dist/api.d.ts CHANGED
@@ -1272,6 +1272,25 @@ export interface PeriodPromotion {
1272
1272
  */
1273
1273
  'period': Period;
1274
1274
  }
1275
+ /**
1276
+ *
1277
+ * @export
1278
+ * @interface Preferences
1279
+ */
1280
+ export interface Preferences {
1281
+ /**
1282
+ *
1283
+ * @type {Array<NotificationPreference>}
1284
+ * @memberof Preferences
1285
+ */
1286
+ 'notificationPreferences': Array<NotificationPreference>;
1287
+ /**
1288
+ *
1289
+ * @type {PromotionConfig}
1290
+ * @memberof Preferences
1291
+ */
1292
+ 'promotionConfig': PromotionConfig;
1293
+ }
1275
1294
  /**
1276
1295
  *
1277
1296
  * @export
@@ -4658,7 +4677,7 @@ export declare const NotificationApiFp: (configuration?: Configuration) => {
4658
4677
  * @param {*} [options] Override http request option.
4659
4678
  * @throws {RequiredError}
4660
4679
  */
4661
- getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotificationPreference>>>;
4680
+ getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Preferences>>;
4662
4681
  /**
4663
4682
  * List paginated notifications
4664
4683
  * @summary List notifications
@@ -4712,7 +4731,7 @@ export declare const NotificationApiFactory: (configuration?: Configuration, bas
4712
4731
  * @param {*} [options] Override http request option.
4713
4732
  * @throws {RequiredError}
4714
4733
  */
4715
- getPreferences(options?: any): AxiosPromise<Array<NotificationPreference>>;
4734
+ getPreferences(options?: any): AxiosPromise<Preferences>;
4716
4735
  /**
4717
4736
  * List paginated notifications
4718
4737
  * @summary List notifications
@@ -4771,7 +4790,7 @@ export declare class NotificationApi extends BaseAPI {
4771
4790
  * @throws {RequiredError}
4772
4791
  * @memberof NotificationApi
4773
4792
  */
4774
- getPreferences(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationPreference[], any>>;
4793
+ getPreferences(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Preferences, any>>;
4775
4794
  /**
4776
4795
  * List paginated notifications
4777
4796
  * @summary List notifications
package/dist/esm/api.d.ts CHANGED
@@ -1272,6 +1272,25 @@ export interface PeriodPromotion {
1272
1272
  */
1273
1273
  'period': Period;
1274
1274
  }
1275
+ /**
1276
+ *
1277
+ * @export
1278
+ * @interface Preferences
1279
+ */
1280
+ export interface Preferences {
1281
+ /**
1282
+ *
1283
+ * @type {Array<NotificationPreference>}
1284
+ * @memberof Preferences
1285
+ */
1286
+ 'notificationPreferences': Array<NotificationPreference>;
1287
+ /**
1288
+ *
1289
+ * @type {PromotionConfig}
1290
+ * @memberof Preferences
1291
+ */
1292
+ 'promotionConfig': PromotionConfig;
1293
+ }
1275
1294
  /**
1276
1295
  *
1277
1296
  * @export
@@ -4658,7 +4677,7 @@ export declare const NotificationApiFp: (configuration?: Configuration) => {
4658
4677
  * @param {*} [options] Override http request option.
4659
4678
  * @throws {RequiredError}
4660
4679
  */
4661
- getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotificationPreference>>>;
4680
+ getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Preferences>>;
4662
4681
  /**
4663
4682
  * List paginated notifications
4664
4683
  * @summary List notifications
@@ -4712,7 +4731,7 @@ export declare const NotificationApiFactory: (configuration?: Configuration, bas
4712
4731
  * @param {*} [options] Override http request option.
4713
4732
  * @throws {RequiredError}
4714
4733
  */
4715
- getPreferences(options?: any): AxiosPromise<Array<NotificationPreference>>;
4734
+ getPreferences(options?: any): AxiosPromise<Preferences>;
4716
4735
  /**
4717
4736
  * List paginated notifications
4718
4737
  * @summary List notifications
@@ -4771,7 +4790,7 @@ export declare class NotificationApi extends BaseAPI {
4771
4790
  * @throws {RequiredError}
4772
4791
  * @memberof NotificationApi
4773
4792
  */
4774
- getPreferences(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationPreference[], any>>;
4793
+ getPreferences(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Preferences, any>>;
4775
4794
  /**
4776
4795
  * List paginated notifications
4777
4796
  * @summary List notifications
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "0.0.752-prerelease0",
3
+ "version": "0.0.753-prerelease0",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {