flexinet-api 0.0.1155-prerelease0 → 0.0.1173-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 +29 -1
- package/dist/api.d.ts +24 -0
- package/dist/api.js +15 -4
- package/dist/esm/api.d.ts +24 -0
- package/dist/esm/api.js +12 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
## flexinet-api@0.0.
|
1
|
+
## flexinet-api@0.0.1173-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.1173-prerelease0 --save
|
40
40
|
```
|
41
41
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
@@ -1092,6 +1092,12 @@ export interface Notification {
|
|
1092
1092
|
* @memberof Notification
|
1093
1093
|
*/
|
1094
1094
|
'references'?: Array<NotificationReferencesInner>;
|
1095
|
+
/**
|
1096
|
+
*
|
1097
|
+
* @type {User}
|
1098
|
+
* @memberof Notification
|
1099
|
+
*/
|
1100
|
+
'user'?: User;
|
1095
1101
|
}
|
1096
1102
|
|
1097
1103
|
|
@@ -1135,7 +1141,8 @@ export const NotificationKind = {
|
|
1135
1141
|
NewProduct: 'new_product',
|
1136
1142
|
ExpiryReminder: 'expiry_reminder',
|
1137
1143
|
OrderConfirmation: 'order_confirmation',
|
1138
|
-
ProductRequestResponse: 'product_request_response'
|
1144
|
+
ProductRequestResponse: 'product_request_response',
|
1145
|
+
ProductRequest: 'product_request'
|
1139
1146
|
} as const;
|
1140
1147
|
|
1141
1148
|
export type NotificationKind = typeof NotificationKind[keyof typeof NotificationKind];
|
@@ -1267,6 +1274,12 @@ export interface Order {
|
|
1267
1274
|
* @memberof Order
|
1268
1275
|
*/
|
1269
1276
|
'userID'?: string;
|
1277
|
+
/**
|
1278
|
+
*
|
1279
|
+
* @type {OrderStatus}
|
1280
|
+
* @memberof Order
|
1281
|
+
*/
|
1282
|
+
'status'?: OrderStatus;
|
1270
1283
|
}
|
1271
1284
|
|
1272
1285
|
export const OrderKindEnum = {
|
@@ -1333,6 +1346,21 @@ export interface OrderListResponse {
|
|
1333
1346
|
*/
|
1334
1347
|
'nextToken'?: string;
|
1335
1348
|
}
|
1349
|
+
/**
|
1350
|
+
*
|
1351
|
+
* @export
|
1352
|
+
* @enum {string}
|
1353
|
+
*/
|
1354
|
+
|
1355
|
+
export const OrderStatus = {
|
1356
|
+
Pending: 'pending',
|
1357
|
+
Completed: 'completed',
|
1358
|
+
Cancelled: 'cancelled'
|
1359
|
+
} as const;
|
1360
|
+
|
1361
|
+
export type OrderStatus = typeof OrderStatus[keyof typeof OrderStatus];
|
1362
|
+
|
1363
|
+
|
1336
1364
|
/**
|
1337
1365
|
*
|
1338
1366
|
* @export
|
package/dist/api.d.ts
CHANGED
@@ -1033,6 +1033,12 @@ export interface Notification {
|
|
1033
1033
|
* @memberof Notification
|
1034
1034
|
*/
|
1035
1035
|
'references'?: Array<NotificationReferencesInner>;
|
1036
|
+
/**
|
1037
|
+
*
|
1038
|
+
* @type {User}
|
1039
|
+
* @memberof Notification
|
1040
|
+
*/
|
1041
|
+
'user'?: User;
|
1036
1042
|
}
|
1037
1043
|
/**
|
1038
1044
|
*
|
@@ -1070,6 +1076,7 @@ export declare const NotificationKind: {
|
|
1070
1076
|
readonly ExpiryReminder: "expiry_reminder";
|
1071
1077
|
readonly OrderConfirmation: "order_confirmation";
|
1072
1078
|
readonly ProductRequestResponse: "product_request_response";
|
1079
|
+
readonly ProductRequest: "product_request";
|
1073
1080
|
};
|
1074
1081
|
export type NotificationKind = typeof NotificationKind[keyof typeof NotificationKind];
|
1075
1082
|
/**
|
@@ -1191,6 +1198,12 @@ export interface Order {
|
|
1191
1198
|
* @memberof Order
|
1192
1199
|
*/
|
1193
1200
|
'userID'?: string;
|
1201
|
+
/**
|
1202
|
+
*
|
1203
|
+
* @type {OrderStatus}
|
1204
|
+
* @memberof Order
|
1205
|
+
*/
|
1206
|
+
'status'?: OrderStatus;
|
1194
1207
|
}
|
1195
1208
|
export declare const OrderKindEnum: {
|
1196
1209
|
readonly Webshop: "webshop";
|
@@ -1254,6 +1267,17 @@ export interface OrderListResponse {
|
|
1254
1267
|
*/
|
1255
1268
|
'nextToken'?: string;
|
1256
1269
|
}
|
1270
|
+
/**
|
1271
|
+
*
|
1272
|
+
* @export
|
1273
|
+
* @enum {string}
|
1274
|
+
*/
|
1275
|
+
export declare const OrderStatus: {
|
1276
|
+
readonly Pending: "pending";
|
1277
|
+
readonly Completed: "completed";
|
1278
|
+
readonly Cancelled: "cancelled";
|
1279
|
+
};
|
1280
|
+
export type OrderStatus = typeof OrderStatus[keyof typeof OrderStatus];
|
1257
1281
|
/**
|
1258
1282
|
*
|
1259
1283
|
* @export
|
package/dist/api.js
CHANGED
@@ -22,9 +22,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
22
22
|
});
|
23
23
|
};
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
25
|
-
exports.
|
26
|
-
exports.
|
27
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TransactionApi = exports.TransactionApiFactory = exports.TransactionApiFp = exports.TransactionApiAxiosParamCreator = exports.TenantApi = exports.TenantApiFactory = exports.TenantApiFp = exports.TenantApiAxiosParamCreator = exports.TagApi = exports.TagApiFactory = exports.TagApiFp = exports.TagApiAxiosParamCreator = exports.SegmentApi = exports.SegmentApiFactory = exports.SegmentApiFp = exports.SegmentApiAxiosParamCreator = exports.ReportApi = void 0;
|
25
|
+
exports.BalanceApi = exports.BalanceApiFactory = exports.BalanceApiFp = exports.BalanceApiAxiosParamCreator = exports.AuditApi = exports.AuditApiFactory = exports.AuditApiFp = exports.AuditApiAxiosParamCreator = exports.WebhookKind = exports.UserSource = exports.UserRole = exports.TransactionSource = exports.TransactionKind = exports.TransactionEventKind = exports.TargetMu = exports.TagValidatorType = exports.TagRuleKind = exports.TagDataType = exports.SortDirection = exports.RuleKind = exports.RuleGroupState = exports.ReportTypesResponseTypesEnum = exports.Repetition = exports.PromotionType = exports.PromotionStatus = exports.PromotionSortByField = exports.ProgressStateAggregation = exports.ProgressState = exports.ProgressInterval = exports.ProductUsage = exports.ProductStatus = exports.ProductRequestStatus = exports.ProductRequestApprovalRequestStatusEnum = exports.ProductKind = exports.ProductAvailability = exports.OrderStatus = exports.OrderKindEnum = exports.NotificationStatus = exports.NotificationKind = exports.NotificationChannel = exports.Locale = exports.Feature = exports.EventCreationRequestKindEnum = exports.CustomDealRestrictionPriority = exports.Condition = exports.BonusMu = exports.BeneficiaryKind = exports.AuditLogObjectType = exports.AuditLogActionEnum = exports.ApiKeyKind = void 0;
|
26
|
+
exports.ReportApiFp = exports.ReportApiAxiosParamCreator = exports.PromotionApi = exports.PromotionApiFactory = exports.PromotionApiFp = exports.PromotionApiAxiosParamCreator = exports.ProgressApi = exports.ProgressApiFactory = exports.ProgressApiFp = exports.ProgressApiAxiosParamCreator = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.IntegrationApi = exports.IntegrationApiFactory = exports.IntegrationApiFp = exports.IntegrationApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CustomDealsApi = exports.CustomDealsApiFactory = exports.CustomDealsApiFp = exports.CustomDealsApiAxiosParamCreator = exports.ConfigurationApi = exports.ConfigurationApiFactory = exports.ConfigurationApiFp = exports.ConfigurationApiAxiosParamCreator = exports.ClientApi = exports.ClientApiFactory = exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.CategoryApi = exports.CategoryApiFactory = exports.CategoryApiFp = exports.CategoryApiAxiosParamCreator = exports.BulkApi = exports.BulkApiFactory = exports.BulkApiFp = exports.BulkApiAxiosParamCreator = void 0;
|
27
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TransactionApi = exports.TransactionApiFactory = exports.TransactionApiFp = exports.TransactionApiAxiosParamCreator = exports.TenantApi = exports.TenantApiFactory = exports.TenantApiFp = exports.TenantApiAxiosParamCreator = exports.TagApi = exports.TagApiFactory = exports.TagApiFp = exports.TagApiAxiosParamCreator = exports.SegmentApi = exports.SegmentApiFactory = exports.SegmentApiFp = exports.SegmentApiAxiosParamCreator = exports.ReportApi = exports.ReportApiFactory = void 0;
|
28
28
|
const axios_1 = require("axios");
|
29
29
|
// Some imports not used depending on template conditions
|
30
30
|
// @ts-ignore
|
@@ -136,7 +136,8 @@ exports.NotificationKind = {
|
|
136
136
|
NewProduct: 'new_product',
|
137
137
|
ExpiryReminder: 'expiry_reminder',
|
138
138
|
OrderConfirmation: 'order_confirmation',
|
139
|
-
ProductRequestResponse: 'product_request_response'
|
139
|
+
ProductRequestResponse: 'product_request_response',
|
140
|
+
ProductRequest: 'product_request'
|
140
141
|
};
|
141
142
|
/**
|
142
143
|
*
|
@@ -151,6 +152,16 @@ exports.OrderKindEnum = {
|
|
151
152
|
Webshop: 'webshop',
|
152
153
|
Promotions: 'promotions'
|
153
154
|
};
|
155
|
+
/**
|
156
|
+
*
|
157
|
+
* @export
|
158
|
+
* @enum {string}
|
159
|
+
*/
|
160
|
+
exports.OrderStatus = {
|
161
|
+
Pending: 'pending',
|
162
|
+
Completed: 'completed',
|
163
|
+
Cancelled: 'cancelled'
|
164
|
+
};
|
154
165
|
/**
|
155
166
|
*
|
156
167
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
@@ -1033,6 +1033,12 @@ export interface Notification {
|
|
1033
1033
|
* @memberof Notification
|
1034
1034
|
*/
|
1035
1035
|
'references'?: Array<NotificationReferencesInner>;
|
1036
|
+
/**
|
1037
|
+
*
|
1038
|
+
* @type {User}
|
1039
|
+
* @memberof Notification
|
1040
|
+
*/
|
1041
|
+
'user'?: User;
|
1036
1042
|
}
|
1037
1043
|
/**
|
1038
1044
|
*
|
@@ -1070,6 +1076,7 @@ export declare const NotificationKind: {
|
|
1070
1076
|
readonly ExpiryReminder: "expiry_reminder";
|
1071
1077
|
readonly OrderConfirmation: "order_confirmation";
|
1072
1078
|
readonly ProductRequestResponse: "product_request_response";
|
1079
|
+
readonly ProductRequest: "product_request";
|
1073
1080
|
};
|
1074
1081
|
export type NotificationKind = typeof NotificationKind[keyof typeof NotificationKind];
|
1075
1082
|
/**
|
@@ -1191,6 +1198,12 @@ export interface Order {
|
|
1191
1198
|
* @memberof Order
|
1192
1199
|
*/
|
1193
1200
|
'userID'?: string;
|
1201
|
+
/**
|
1202
|
+
*
|
1203
|
+
* @type {OrderStatus}
|
1204
|
+
* @memberof Order
|
1205
|
+
*/
|
1206
|
+
'status'?: OrderStatus;
|
1194
1207
|
}
|
1195
1208
|
export declare const OrderKindEnum: {
|
1196
1209
|
readonly Webshop: "webshop";
|
@@ -1254,6 +1267,17 @@ export interface OrderListResponse {
|
|
1254
1267
|
*/
|
1255
1268
|
'nextToken'?: string;
|
1256
1269
|
}
|
1270
|
+
/**
|
1271
|
+
*
|
1272
|
+
* @export
|
1273
|
+
* @enum {string}
|
1274
|
+
*/
|
1275
|
+
export declare const OrderStatus: {
|
1276
|
+
readonly Pending: "pending";
|
1277
|
+
readonly Completed: "completed";
|
1278
|
+
readonly Cancelled: "cancelled";
|
1279
|
+
};
|
1280
|
+
export type OrderStatus = typeof OrderStatus[keyof typeof OrderStatus];
|
1257
1281
|
/**
|
1258
1282
|
*
|
1259
1283
|
* @export
|
package/dist/esm/api.js
CHANGED
@@ -131,7 +131,8 @@ export const NotificationKind = {
|
|
131
131
|
NewProduct: 'new_product',
|
132
132
|
ExpiryReminder: 'expiry_reminder',
|
133
133
|
OrderConfirmation: 'order_confirmation',
|
134
|
-
ProductRequestResponse: 'product_request_response'
|
134
|
+
ProductRequestResponse: 'product_request_response',
|
135
|
+
ProductRequest: 'product_request'
|
135
136
|
};
|
136
137
|
/**
|
137
138
|
*
|
@@ -146,6 +147,16 @@ export const OrderKindEnum = {
|
|
146
147
|
Webshop: 'webshop',
|
147
148
|
Promotions: 'promotions'
|
148
149
|
};
|
150
|
+
/**
|
151
|
+
*
|
152
|
+
* @export
|
153
|
+
* @enum {string}
|
154
|
+
*/
|
155
|
+
export const OrderStatus = {
|
156
|
+
Pending: 'pending',
|
157
|
+
Completed: 'completed',
|
158
|
+
Cancelled: 'cancelled'
|
159
|
+
};
|
149
160
|
/**
|
150
161
|
*
|
151
162
|
* @export
|