flexinet-api 0.0.1210 → 0.0.1231-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 +43 -0
- package/dist/api.d.ts +35 -0
- package/dist/api.js +13 -3
- package/dist/esm/api.d.ts +35 -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.1231-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.1231-prerelease0 --save
|
40
40
|
```
|
41
41
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
@@ -206,7 +206,15 @@ 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;
|
209
215
|
}
|
216
|
+
|
217
|
+
|
210
218
|
/**
|
211
219
|
*
|
212
220
|
* @export
|
@@ -231,6 +239,12 @@ export interface BalanceUpdateRequest {
|
|
231
239
|
* @memberof BalanceUpdateRequest
|
232
240
|
*/
|
233
241
|
'transactionKind'?: TransactionKind;
|
242
|
+
/**
|
243
|
+
*
|
244
|
+
* @type {TransactionCurrencyKind}
|
245
|
+
* @memberof BalanceUpdateRequest
|
246
|
+
*/
|
247
|
+
'currency'?: TransactionCurrencyKind;
|
234
248
|
}
|
235
249
|
|
236
250
|
|
@@ -258,7 +272,15 @@ export interface BalanceWithBeneficiaryRef {
|
|
258
272
|
* @memberof BalanceWithBeneficiaryRef
|
259
273
|
*/
|
260
274
|
'beneficiaryRef': BeneficiaryWithRef;
|
275
|
+
/**
|
276
|
+
*
|
277
|
+
* @type {TransactionCurrencyKind}
|
278
|
+
* @memberof BalanceWithBeneficiaryRef
|
279
|
+
*/
|
280
|
+
'currency': TransactionCurrencyKind;
|
261
281
|
}
|
282
|
+
|
283
|
+
|
262
284
|
/**
|
263
285
|
*
|
264
286
|
* @export
|
@@ -3496,9 +3518,30 @@ export interface Transaction {
|
|
3496
3518
|
* @memberof Transaction
|
3497
3519
|
*/
|
3498
3520
|
'createdAt': string;
|
3521
|
+
/**
|
3522
|
+
*
|
3523
|
+
* @type {TransactionCurrencyKind}
|
3524
|
+
* @memberof Transaction
|
3525
|
+
*/
|
3526
|
+
'currency': TransactionCurrencyKind;
|
3499
3527
|
}
|
3500
3528
|
|
3501
3529
|
|
3530
|
+
/**
|
3531
|
+
*
|
3532
|
+
* @export
|
3533
|
+
* @enum {string}
|
3534
|
+
*/
|
3535
|
+
|
3536
|
+
export const TransactionCurrencyKind = {
|
3537
|
+
Points: 'points',
|
3538
|
+
CustomDealBudget: 'customDealBudget',
|
3539
|
+
SalesBudget: 'salesBudget'
|
3540
|
+
} as const;
|
3541
|
+
|
3542
|
+
export type TransactionCurrencyKind = typeof TransactionCurrencyKind[keyof typeof TransactionCurrencyKind];
|
3543
|
+
|
3544
|
+
|
3502
3545
|
/**
|
3503
3546
|
*
|
3504
3547
|
* @export
|
package/dist/api.d.ts
CHANGED
@@ -181,6 +181,12 @@ 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;
|
184
190
|
}
|
185
191
|
/**
|
186
192
|
*
|
@@ -206,6 +212,12 @@ export interface BalanceUpdateRequest {
|
|
206
212
|
* @memberof BalanceUpdateRequest
|
207
213
|
*/
|
208
214
|
'transactionKind'?: TransactionKind;
|
215
|
+
/**
|
216
|
+
*
|
217
|
+
* @type {TransactionCurrencyKind}
|
218
|
+
* @memberof BalanceUpdateRequest
|
219
|
+
*/
|
220
|
+
'currency'?: TransactionCurrencyKind;
|
209
221
|
}
|
210
222
|
/**
|
211
223
|
*
|
@@ -231,6 +243,12 @@ export interface BalanceWithBeneficiaryRef {
|
|
231
243
|
* @memberof BalanceWithBeneficiaryRef
|
232
244
|
*/
|
233
245
|
'beneficiaryRef': BeneficiaryWithRef;
|
246
|
+
/**
|
247
|
+
*
|
248
|
+
* @type {TransactionCurrencyKind}
|
249
|
+
* @memberof BalanceWithBeneficiaryRef
|
250
|
+
*/
|
251
|
+
'currency': TransactionCurrencyKind;
|
234
252
|
}
|
235
253
|
/**
|
236
254
|
*
|
@@ -3320,7 +3338,24 @@ export interface Transaction {
|
|
3320
3338
|
* @memberof Transaction
|
3321
3339
|
*/
|
3322
3340
|
'createdAt': string;
|
3341
|
+
/**
|
3342
|
+
*
|
3343
|
+
* @type {TransactionCurrencyKind}
|
3344
|
+
* @memberof Transaction
|
3345
|
+
*/
|
3346
|
+
'currency': TransactionCurrencyKind;
|
3323
3347
|
}
|
3348
|
+
/**
|
3349
|
+
*
|
3350
|
+
* @export
|
3351
|
+
* @enum {string}
|
3352
|
+
*/
|
3353
|
+
export declare const TransactionCurrencyKind: {
|
3354
|
+
readonly Points: "points";
|
3355
|
+
readonly CustomDealBudget: "customDealBudget";
|
3356
|
+
readonly SalesBudget: "salesBudget";
|
3357
|
+
};
|
3358
|
+
export type TransactionCurrencyKind = typeof TransactionCurrencyKind[keyof typeof TransactionCurrencyKind];
|
3324
3359
|
/**
|
3325
3360
|
*
|
3326
3361
|
* @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 = exports.ReportApiFactory = void 0;
|
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.TransactionCurrencyKind = 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.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 = exports.BalanceApi = 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 = exports.ReportApiFp = void 0;
|
28
28
|
const axios_1 = require("axios");
|
29
29
|
// Some imports not used depending on template conditions
|
30
30
|
// @ts-ignore
|
@@ -352,6 +352,16 @@ exports.TargetMu = {
|
|
352
352
|
Product: 'product',
|
353
353
|
AdditionalMu: 'additionalMU'
|
354
354
|
};
|
355
|
+
/**
|
356
|
+
*
|
357
|
+
* @export
|
358
|
+
* @enum {string}
|
359
|
+
*/
|
360
|
+
exports.TransactionCurrencyKind = {
|
361
|
+
Points: 'points',
|
362
|
+
CustomDealBudget: 'customDealBudget',
|
363
|
+
SalesBudget: 'salesBudget'
|
364
|
+
};
|
355
365
|
/**
|
356
366
|
*
|
357
367
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
@@ -181,6 +181,12 @@ 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;
|
184
190
|
}
|
185
191
|
/**
|
186
192
|
*
|
@@ -206,6 +212,12 @@ export interface BalanceUpdateRequest {
|
|
206
212
|
* @memberof BalanceUpdateRequest
|
207
213
|
*/
|
208
214
|
'transactionKind'?: TransactionKind;
|
215
|
+
/**
|
216
|
+
*
|
217
|
+
* @type {TransactionCurrencyKind}
|
218
|
+
* @memberof BalanceUpdateRequest
|
219
|
+
*/
|
220
|
+
'currency'?: TransactionCurrencyKind;
|
209
221
|
}
|
210
222
|
/**
|
211
223
|
*
|
@@ -231,6 +243,12 @@ export interface BalanceWithBeneficiaryRef {
|
|
231
243
|
* @memberof BalanceWithBeneficiaryRef
|
232
244
|
*/
|
233
245
|
'beneficiaryRef': BeneficiaryWithRef;
|
246
|
+
/**
|
247
|
+
*
|
248
|
+
* @type {TransactionCurrencyKind}
|
249
|
+
* @memberof BalanceWithBeneficiaryRef
|
250
|
+
*/
|
251
|
+
'currency': TransactionCurrencyKind;
|
234
252
|
}
|
235
253
|
/**
|
236
254
|
*
|
@@ -3320,7 +3338,24 @@ export interface Transaction {
|
|
3320
3338
|
* @memberof Transaction
|
3321
3339
|
*/
|
3322
3340
|
'createdAt': string;
|
3341
|
+
/**
|
3342
|
+
*
|
3343
|
+
* @type {TransactionCurrencyKind}
|
3344
|
+
* @memberof Transaction
|
3345
|
+
*/
|
3346
|
+
'currency': TransactionCurrencyKind;
|
3323
3347
|
}
|
3348
|
+
/**
|
3349
|
+
*
|
3350
|
+
* @export
|
3351
|
+
* @enum {string}
|
3352
|
+
*/
|
3353
|
+
export declare const TransactionCurrencyKind: {
|
3354
|
+
readonly Points: "points";
|
3355
|
+
readonly CustomDealBudget: "customDealBudget";
|
3356
|
+
readonly SalesBudget: "salesBudget";
|
3357
|
+
};
|
3358
|
+
export type TransactionCurrencyKind = typeof TransactionCurrencyKind[keyof typeof TransactionCurrencyKind];
|
3324
3359
|
/**
|
3325
3360
|
*
|
3326
3361
|
* @export
|
package/dist/esm/api.js
CHANGED
@@ -347,6 +347,16 @@ export const TargetMu = {
|
|
347
347
|
Product: 'product',
|
348
348
|
AdditionalMu: 'additionalMU'
|
349
349
|
};
|
350
|
+
/**
|
351
|
+
*
|
352
|
+
* @export
|
353
|
+
* @enum {string}
|
354
|
+
*/
|
355
|
+
export const TransactionCurrencyKind = {
|
356
|
+
Points: 'points',
|
357
|
+
CustomDealBudget: 'customDealBudget',
|
358
|
+
SalesBudget: 'salesBudget'
|
359
|
+
};
|
350
360
|
/**
|
351
361
|
*
|
352
362
|
* @export
|