flexinet-api 0.0.1234-prerelease0 → 0.0.1234
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 +0 -43
- package/dist/api.d.ts +0 -35
- package/dist/api.js +3 -13
- package/dist/esm/api.d.ts +0 -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.1234
|
1
|
+
## flexinet-api@0.0.1234
|
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.1234
|
39
|
+
npm install flexinet-api@0.0.1234 --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
|
@@ -3526,30 +3504,9 @@ export interface Transaction {
|
|
3526
3504
|
* @memberof Transaction
|
3527
3505
|
*/
|
3528
3506
|
'createdAt': string;
|
3529
|
-
/**
|
3530
|
-
*
|
3531
|
-
* @type {TransactionCurrencyKind}
|
3532
|
-
* @memberof Transaction
|
3533
|
-
*/
|
3534
|
-
'currency': TransactionCurrencyKind;
|
3535
3507
|
}
|
3536
3508
|
|
3537
3509
|
|
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
3510
|
/**
|
3554
3511
|
*
|
3555
3512
|
* @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
|
*
|
@@ -3343,24 +3325,7 @@ export interface Transaction {
|
|
3343
3325
|
* @memberof Transaction
|
3344
3326
|
*/
|
3345
3327
|
'createdAt': string;
|
3346
|
-
/**
|
3347
|
-
*
|
3348
|
-
* @type {TransactionCurrencyKind}
|
3349
|
-
* @memberof Transaction
|
3350
|
-
*/
|
3351
|
-
'currency': TransactionCurrencyKind;
|
3352
3328
|
}
|
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
3329
|
/**
|
3365
3330
|
*
|
3366
3331
|
* @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
|
*
|
@@ -3343,24 +3325,7 @@ export interface Transaction {
|
|
3343
3325
|
* @memberof Transaction
|
3344
3326
|
*/
|
3345
3327
|
'createdAt': string;
|
3346
|
-
/**
|
3347
|
-
*
|
3348
|
-
* @type {TransactionCurrencyKind}
|
3349
|
-
* @memberof Transaction
|
3350
|
-
*/
|
3351
|
-
'currency': TransactionCurrencyKind;
|
3352
3328
|
}
|
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
3329
|
/**
|
3365
3330
|
*
|
3366
3331
|
* @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
|