flexinet-api 0.0.1236-prerelease0 → 0.0.1238
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 +6 -43
- package/dist/api.d.ts +6 -35
- package/dist/api.js +3 -13
- package/dist/esm/api.d.ts +6 -35
- package/dist/esm/api.js +0 -10
- package/package.json +1 -1
package/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
## flexinet-api@0.0.
|
1
|
+
## flexinet-api@0.0.1238
|
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.1238 --save
|
40
40
|
```
|
41
41
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
@@ -206,15 +206,7 @@ export interface Balance {
|
|
206
206
|
* @memberof Balance
|
207
207
|
*/
|
208
208
|
'beneficiary': Beneficiary;
|
209
|
-
/**
|
210
|
-
*
|
211
|
-
* @type {TransactionCurrencyKind}
|
212
|
-
* @memberof Balance
|
213
|
-
*/
|
214
|
-
'currency': TransactionCurrencyKind;
|
215
209
|
}
|
216
|
-
|
217
|
-
|
218
210
|
/**
|
219
211
|
*
|
220
212
|
* @export
|
@@ -239,12 +231,6 @@ export interface BalanceUpdateRequest {
|
|
239
231
|
* @memberof BalanceUpdateRequest
|
240
232
|
*/
|
241
233
|
'transactionKind'?: TransactionKind;
|
242
|
-
/**
|
243
|
-
*
|
244
|
-
* @type {TransactionCurrencyKind}
|
245
|
-
* @memberof BalanceUpdateRequest
|
246
|
-
*/
|
247
|
-
'currency'?: TransactionCurrencyKind;
|
248
234
|
}
|
249
235
|
|
250
236
|
|
@@ -272,15 +258,7 @@ export interface BalanceWithBeneficiaryRef {
|
|
272
258
|
* @memberof BalanceWithBeneficiaryRef
|
273
259
|
*/
|
274
260
|
'beneficiaryRef': BeneficiaryWithRef;
|
275
|
-
/**
|
276
|
-
*
|
277
|
-
* @type {TransactionCurrencyKind}
|
278
|
-
* @memberof BalanceWithBeneficiaryRef
|
279
|
-
*/
|
280
|
-
'currency': TransactionCurrencyKind;
|
281
261
|
}
|
282
|
-
|
283
|
-
|
284
262
|
/**
|
285
263
|
*
|
286
264
|
* @export
|
@@ -1015,6 +993,12 @@ export interface MetricsAggregation {
|
|
1015
993
|
* @memberof MetricsAggregation
|
1016
994
|
*/
|
1017
995
|
'total': MetricsCollection;
|
996
|
+
/**
|
997
|
+
*
|
998
|
+
* @type {string}
|
999
|
+
* @memberof MetricsAggregation
|
1000
|
+
*/
|
1001
|
+
'updatedAt'?: string;
|
1018
1002
|
}
|
1019
1003
|
/**
|
1020
1004
|
*
|
@@ -3526,30 +3510,9 @@ export interface Transaction {
|
|
3526
3510
|
* @memberof Transaction
|
3527
3511
|
*/
|
3528
3512
|
'createdAt': string;
|
3529
|
-
/**
|
3530
|
-
*
|
3531
|
-
* @type {TransactionCurrencyKind}
|
3532
|
-
* @memberof Transaction
|
3533
|
-
*/
|
3534
|
-
'currency': TransactionCurrencyKind;
|
3535
3513
|
}
|
3536
3514
|
|
3537
3515
|
|
3538
|
-
/**
|
3539
|
-
*
|
3540
|
-
* @export
|
3541
|
-
* @enum {string}
|
3542
|
-
*/
|
3543
|
-
|
3544
|
-
export const TransactionCurrencyKind = {
|
3545
|
-
Points: 'points',
|
3546
|
-
CustomDealBudget: 'customDealBudget',
|
3547
|
-
SalesBudget: 'salesBudget'
|
3548
|
-
} as const;
|
3549
|
-
|
3550
|
-
export type TransactionCurrencyKind = typeof TransactionCurrencyKind[keyof typeof TransactionCurrencyKind];
|
3551
|
-
|
3552
|
-
|
3553
3516
|
/**
|
3554
3517
|
*
|
3555
3518
|
* @export
|
package/dist/api.d.ts
CHANGED
@@ -181,12 +181,6 @@ export interface Balance {
|
|
181
181
|
* @memberof Balance
|
182
182
|
*/
|
183
183
|
'beneficiary': Beneficiary;
|
184
|
-
/**
|
185
|
-
*
|
186
|
-
* @type {TransactionCurrencyKind}
|
187
|
-
* @memberof Balance
|
188
|
-
*/
|
189
|
-
'currency': TransactionCurrencyKind;
|
190
184
|
}
|
191
185
|
/**
|
192
186
|
*
|
@@ -212,12 +206,6 @@ export interface BalanceUpdateRequest {
|
|
212
206
|
* @memberof BalanceUpdateRequest
|
213
207
|
*/
|
214
208
|
'transactionKind'?: TransactionKind;
|
215
|
-
/**
|
216
|
-
*
|
217
|
-
* @type {TransactionCurrencyKind}
|
218
|
-
* @memberof BalanceUpdateRequest
|
219
|
-
*/
|
220
|
-
'currency'?: TransactionCurrencyKind;
|
221
209
|
}
|
222
210
|
/**
|
223
211
|
*
|
@@ -243,12 +231,6 @@ export interface BalanceWithBeneficiaryRef {
|
|
243
231
|
* @memberof BalanceWithBeneficiaryRef
|
244
232
|
*/
|
245
233
|
'beneficiaryRef': BeneficiaryWithRef;
|
246
|
-
/**
|
247
|
-
*
|
248
|
-
* @type {TransactionCurrencyKind}
|
249
|
-
* @memberof BalanceWithBeneficiaryRef
|
250
|
-
*/
|
251
|
-
'currency': TransactionCurrencyKind;
|
252
234
|
}
|
253
235
|
/**
|
254
236
|
*
|
@@ -952,6 +934,12 @@ export interface MetricsAggregation {
|
|
952
934
|
* @memberof MetricsAggregation
|
953
935
|
*/
|
954
936
|
'total': MetricsCollection;
|
937
|
+
/**
|
938
|
+
*
|
939
|
+
* @type {string}
|
940
|
+
* @memberof MetricsAggregation
|
941
|
+
*/
|
942
|
+
'updatedAt'?: string;
|
955
943
|
}
|
956
944
|
/**
|
957
945
|
*
|
@@ -3343,24 +3331,7 @@ export interface Transaction {
|
|
3343
3331
|
* @memberof Transaction
|
3344
3332
|
*/
|
3345
3333
|
'createdAt': string;
|
3346
|
-
/**
|
3347
|
-
*
|
3348
|
-
* @type {TransactionCurrencyKind}
|
3349
|
-
* @memberof Transaction
|
3350
|
-
*/
|
3351
|
-
'currency': TransactionCurrencyKind;
|
3352
3334
|
}
|
3353
|
-
/**
|
3354
|
-
*
|
3355
|
-
* @export
|
3356
|
-
* @enum {string}
|
3357
|
-
*/
|
3358
|
-
export declare const TransactionCurrencyKind: {
|
3359
|
-
readonly Points: "points";
|
3360
|
-
readonly CustomDealBudget: "customDealBudget";
|
3361
|
-
readonly SalesBudget: "salesBudget";
|
3362
|
-
};
|
3363
|
-
export type TransactionCurrencyKind = typeof TransactionCurrencyKind[keyof typeof TransactionCurrencyKind];
|
3364
3335
|
/**
|
3365
3336
|
*
|
3366
3337
|
* @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.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.
|
26
|
-
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 =
|
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 =
|
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.OrderKind = 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
|
@@ -357,16 +357,6 @@ exports.TargetMu = {
|
|
357
357
|
Product: 'product',
|
358
358
|
AdditionalMu: 'additionalMU'
|
359
359
|
};
|
360
|
-
/**
|
361
|
-
*
|
362
|
-
* @export
|
363
|
-
* @enum {string}
|
364
|
-
*/
|
365
|
-
exports.TransactionCurrencyKind = {
|
366
|
-
Points: 'points',
|
367
|
-
CustomDealBudget: 'customDealBudget',
|
368
|
-
SalesBudget: 'salesBudget'
|
369
|
-
};
|
370
360
|
/**
|
371
361
|
*
|
372
362
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
@@ -181,12 +181,6 @@ export interface Balance {
|
|
181
181
|
* @memberof Balance
|
182
182
|
*/
|
183
183
|
'beneficiary': Beneficiary;
|
184
|
-
/**
|
185
|
-
*
|
186
|
-
* @type {TransactionCurrencyKind}
|
187
|
-
* @memberof Balance
|
188
|
-
*/
|
189
|
-
'currency': TransactionCurrencyKind;
|
190
184
|
}
|
191
185
|
/**
|
192
186
|
*
|
@@ -212,12 +206,6 @@ export interface BalanceUpdateRequest {
|
|
212
206
|
* @memberof BalanceUpdateRequest
|
213
207
|
*/
|
214
208
|
'transactionKind'?: TransactionKind;
|
215
|
-
/**
|
216
|
-
*
|
217
|
-
* @type {TransactionCurrencyKind}
|
218
|
-
* @memberof BalanceUpdateRequest
|
219
|
-
*/
|
220
|
-
'currency'?: TransactionCurrencyKind;
|
221
209
|
}
|
222
210
|
/**
|
223
211
|
*
|
@@ -243,12 +231,6 @@ export interface BalanceWithBeneficiaryRef {
|
|
243
231
|
* @memberof BalanceWithBeneficiaryRef
|
244
232
|
*/
|
245
233
|
'beneficiaryRef': BeneficiaryWithRef;
|
246
|
-
/**
|
247
|
-
*
|
248
|
-
* @type {TransactionCurrencyKind}
|
249
|
-
* @memberof BalanceWithBeneficiaryRef
|
250
|
-
*/
|
251
|
-
'currency': TransactionCurrencyKind;
|
252
234
|
}
|
253
235
|
/**
|
254
236
|
*
|
@@ -952,6 +934,12 @@ export interface MetricsAggregation {
|
|
952
934
|
* @memberof MetricsAggregation
|
953
935
|
*/
|
954
936
|
'total': MetricsCollection;
|
937
|
+
/**
|
938
|
+
*
|
939
|
+
* @type {string}
|
940
|
+
* @memberof MetricsAggregation
|
941
|
+
*/
|
942
|
+
'updatedAt'?: string;
|
955
943
|
}
|
956
944
|
/**
|
957
945
|
*
|
@@ -3343,24 +3331,7 @@ export interface Transaction {
|
|
3343
3331
|
* @memberof Transaction
|
3344
3332
|
*/
|
3345
3333
|
'createdAt': string;
|
3346
|
-
/**
|
3347
|
-
*
|
3348
|
-
* @type {TransactionCurrencyKind}
|
3349
|
-
* @memberof Transaction
|
3350
|
-
*/
|
3351
|
-
'currency': TransactionCurrencyKind;
|
3352
3334
|
}
|
3353
|
-
/**
|
3354
|
-
*
|
3355
|
-
* @export
|
3356
|
-
* @enum {string}
|
3357
|
-
*/
|
3358
|
-
export declare const TransactionCurrencyKind: {
|
3359
|
-
readonly Points: "points";
|
3360
|
-
readonly CustomDealBudget: "customDealBudget";
|
3361
|
-
readonly SalesBudget: "salesBudget";
|
3362
|
-
};
|
3363
|
-
export type TransactionCurrencyKind = typeof TransactionCurrencyKind[keyof typeof TransactionCurrencyKind];
|
3364
3335
|
/**
|
3365
3336
|
*
|
3366
3337
|
* @export
|
package/dist/esm/api.js
CHANGED
@@ -352,16 +352,6 @@ export const TargetMu = {
|
|
352
352
|
Product: 'product',
|
353
353
|
AdditionalMu: 'additionalMU'
|
354
354
|
};
|
355
|
-
/**
|
356
|
-
*
|
357
|
-
* @export
|
358
|
-
* @enum {string}
|
359
|
-
*/
|
360
|
-
export const TransactionCurrencyKind = {
|
361
|
-
Points: 'points',
|
362
|
-
CustomDealBudget: 'customDealBudget',
|
363
|
-
SalesBudget: 'salesBudget'
|
364
|
-
};
|
365
355
|
/**
|
366
356
|
*
|
367
357
|
* @export
|