flexinet-api 0.0.751-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 +2 -2
- package/api.ts +22 -4
- package/dist/api.d.ts +22 -4
- package/dist/api.js +1 -2
- package/dist/esm/api.d.ts +22 -4
- package/dist/esm/api.js +1 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## flexinet-api@0.0.
|
|
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.
|
|
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
|
|
@@ -3719,8 +3738,7 @@ export interface Webhook {
|
|
|
3719
3738
|
*/
|
|
3720
3739
|
|
|
3721
3740
|
export const WebhookKind = {
|
|
3722
|
-
Order: 'order'
|
|
3723
|
-
Prod: 'prod'
|
|
3741
|
+
Order: 'order'
|
|
3724
3742
|
} as const;
|
|
3725
3743
|
|
|
3726
3744
|
export type WebhookKind = typeof WebhookKind[keyof typeof WebhookKind];
|
|
@@ -6087,7 +6105,7 @@ export const NotificationApiFp = function(configuration?: Configuration) {
|
|
|
6087
6105
|
* @param {*} [options] Override http request option.
|
|
6088
6106
|
* @throws {RequiredError}
|
|
6089
6107
|
*/
|
|
6090
|
-
async getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
6108
|
+
async getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Preferences>> {
|
|
6091
6109
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPreferences(options);
|
|
6092
6110
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6093
6111
|
},
|
|
@@ -6161,7 +6179,7 @@ export const NotificationApiFactory = function (configuration?: Configuration, b
|
|
|
6161
6179
|
* @param {*} [options] Override http request option.
|
|
6162
6180
|
* @throws {RequiredError}
|
|
6163
6181
|
*/
|
|
6164
|
-
getPreferences(options?: any): AxiosPromise<
|
|
6182
|
+
getPreferences(options?: any): AxiosPromise<Preferences> {
|
|
6165
6183
|
return localVarFp.getPreferences(options).then((request) => request(axios, basePath));
|
|
6166
6184
|
},
|
|
6167
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
|
|
@@ -3535,7 +3554,6 @@ export interface Webhook {
|
|
|
3535
3554
|
*/
|
|
3536
3555
|
export declare const WebhookKind: {
|
|
3537
3556
|
readonly Order: "order";
|
|
3538
|
-
readonly Prod: "prod";
|
|
3539
3557
|
};
|
|
3540
3558
|
export type WebhookKind = typeof WebhookKind[keyof typeof WebhookKind];
|
|
3541
3559
|
/**
|
|
@@ -4659,7 +4677,7 @@ export declare const NotificationApiFp: (configuration?: Configuration) => {
|
|
|
4659
4677
|
* @param {*} [options] Override http request option.
|
|
4660
4678
|
* @throws {RequiredError}
|
|
4661
4679
|
*/
|
|
4662
|
-
getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4680
|
+
getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Preferences>>;
|
|
4663
4681
|
/**
|
|
4664
4682
|
* List paginated notifications
|
|
4665
4683
|
* @summary List notifications
|
|
@@ -4713,7 +4731,7 @@ export declare const NotificationApiFactory: (configuration?: Configuration, bas
|
|
|
4713
4731
|
* @param {*} [options] Override http request option.
|
|
4714
4732
|
* @throws {RequiredError}
|
|
4715
4733
|
*/
|
|
4716
|
-
getPreferences(options?: any): AxiosPromise<
|
|
4734
|
+
getPreferences(options?: any): AxiosPromise<Preferences>;
|
|
4717
4735
|
/**
|
|
4718
4736
|
* List paginated notifications
|
|
4719
4737
|
* @summary List notifications
|
|
@@ -4772,7 +4790,7 @@ export declare class NotificationApi extends BaseAPI {
|
|
|
4772
4790
|
* @throws {RequiredError}
|
|
4773
4791
|
* @memberof NotificationApi
|
|
4774
4792
|
*/
|
|
4775
|
-
getPreferences(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
4793
|
+
getPreferences(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Preferences, any>>;
|
|
4776
4794
|
/**
|
|
4777
4795
|
* List paginated notifications
|
|
4778
4796
|
* @summary List notifications
|
package/dist/api.js
CHANGED
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
|
|
@@ -3535,7 +3554,6 @@ export interface Webhook {
|
|
|
3535
3554
|
*/
|
|
3536
3555
|
export declare const WebhookKind: {
|
|
3537
3556
|
readonly Order: "order";
|
|
3538
|
-
readonly Prod: "prod";
|
|
3539
3557
|
};
|
|
3540
3558
|
export type WebhookKind = typeof WebhookKind[keyof typeof WebhookKind];
|
|
3541
3559
|
/**
|
|
@@ -4659,7 +4677,7 @@ export declare const NotificationApiFp: (configuration?: Configuration) => {
|
|
|
4659
4677
|
* @param {*} [options] Override http request option.
|
|
4660
4678
|
* @throws {RequiredError}
|
|
4661
4679
|
*/
|
|
4662
|
-
getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4680
|
+
getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Preferences>>;
|
|
4663
4681
|
/**
|
|
4664
4682
|
* List paginated notifications
|
|
4665
4683
|
* @summary List notifications
|
|
@@ -4713,7 +4731,7 @@ export declare const NotificationApiFactory: (configuration?: Configuration, bas
|
|
|
4713
4731
|
* @param {*} [options] Override http request option.
|
|
4714
4732
|
* @throws {RequiredError}
|
|
4715
4733
|
*/
|
|
4716
|
-
getPreferences(options?: any): AxiosPromise<
|
|
4734
|
+
getPreferences(options?: any): AxiosPromise<Preferences>;
|
|
4717
4735
|
/**
|
|
4718
4736
|
* List paginated notifications
|
|
4719
4737
|
* @summary List notifications
|
|
@@ -4772,7 +4790,7 @@ export declare class NotificationApi extends BaseAPI {
|
|
|
4772
4790
|
* @throws {RequiredError}
|
|
4773
4791
|
* @memberof NotificationApi
|
|
4774
4792
|
*/
|
|
4775
|
-
getPreferences(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
4793
|
+
getPreferences(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Preferences, any>>;
|
|
4776
4794
|
/**
|
|
4777
4795
|
* List paginated notifications
|
|
4778
4796
|
* @summary List notifications
|
package/dist/esm/api.js
CHANGED