flexinet-api 0.0.1156-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 +21 -0
- package/dist/api.d.ts +17 -0
- package/dist/api.js +13 -3
- package/dist/esm/api.d.ts +17 -0
- package/dist/esm/api.js +10 -0
- 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
@@ -1274,6 +1274,12 @@ export interface Order {
|
|
1274
1274
|
* @memberof Order
|
1275
1275
|
*/
|
1276
1276
|
'userID'?: string;
|
1277
|
+
/**
|
1278
|
+
*
|
1279
|
+
* @type {OrderStatus}
|
1280
|
+
* @memberof Order
|
1281
|
+
*/
|
1282
|
+
'status'?: OrderStatus;
|
1277
1283
|
}
|
1278
1284
|
|
1279
1285
|
export const OrderKindEnum = {
|
@@ -1340,6 +1346,21 @@ export interface OrderListResponse {
|
|
1340
1346
|
*/
|
1341
1347
|
'nextToken'?: string;
|
1342
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
|
+
|
1343
1364
|
/**
|
1344
1365
|
*
|
1345
1366
|
* @export
|
package/dist/api.d.ts
CHANGED
@@ -1198,6 +1198,12 @@ export interface Order {
|
|
1198
1198
|
* @memberof Order
|
1199
1199
|
*/
|
1200
1200
|
'userID'?: string;
|
1201
|
+
/**
|
1202
|
+
*
|
1203
|
+
* @type {OrderStatus}
|
1204
|
+
* @memberof Order
|
1205
|
+
*/
|
1206
|
+
'status'?: OrderStatus;
|
1201
1207
|
}
|
1202
1208
|
export declare const OrderKindEnum: {
|
1203
1209
|
readonly Webshop: "webshop";
|
@@ -1261,6 +1267,17 @@ export interface OrderListResponse {
|
|
1261
1267
|
*/
|
1262
1268
|
'nextToken'?: string;
|
1263
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];
|
1264
1281
|
/**
|
1265
1282
|
*
|
1266
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
|
@@ -152,6 +152,16 @@ exports.OrderKindEnum = {
|
|
152
152
|
Webshop: 'webshop',
|
153
153
|
Promotions: 'promotions'
|
154
154
|
};
|
155
|
+
/**
|
156
|
+
*
|
157
|
+
* @export
|
158
|
+
* @enum {string}
|
159
|
+
*/
|
160
|
+
exports.OrderStatus = {
|
161
|
+
Pending: 'pending',
|
162
|
+
Completed: 'completed',
|
163
|
+
Cancelled: 'cancelled'
|
164
|
+
};
|
155
165
|
/**
|
156
166
|
*
|
157
167
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
@@ -1198,6 +1198,12 @@ export interface Order {
|
|
1198
1198
|
* @memberof Order
|
1199
1199
|
*/
|
1200
1200
|
'userID'?: string;
|
1201
|
+
/**
|
1202
|
+
*
|
1203
|
+
* @type {OrderStatus}
|
1204
|
+
* @memberof Order
|
1205
|
+
*/
|
1206
|
+
'status'?: OrderStatus;
|
1201
1207
|
}
|
1202
1208
|
export declare const OrderKindEnum: {
|
1203
1209
|
readonly Webshop: "webshop";
|
@@ -1261,6 +1267,17 @@ export interface OrderListResponse {
|
|
1261
1267
|
*/
|
1262
1268
|
'nextToken'?: string;
|
1263
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];
|
1264
1281
|
/**
|
1265
1282
|
*
|
1266
1283
|
* @export
|
package/dist/esm/api.js
CHANGED
@@ -147,6 +147,16 @@ export const OrderKindEnum = {
|
|
147
147
|
Webshop: 'webshop',
|
148
148
|
Promotions: 'promotions'
|
149
149
|
};
|
150
|
+
/**
|
151
|
+
*
|
152
|
+
* @export
|
153
|
+
* @enum {string}
|
154
|
+
*/
|
155
|
+
export const OrderStatus = {
|
156
|
+
Pending: 'pending',
|
157
|
+
Completed: 'completed',
|
158
|
+
Cancelled: 'cancelled'
|
159
|
+
};
|
150
160
|
/**
|
151
161
|
*
|
152
162
|
* @export
|