flexinet-api 0.0.762-prerelease0 → 0.0.764-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 +31 -2
- package/dist/api.d.ts +24 -2
- package/dist/api.js +13 -3
- package/dist/esm/api.d.ts +24 -2
- 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.764-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.764-prerelease0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -921,6 +921,21 @@ export interface Item {
|
|
|
921
921
|
*/
|
|
922
922
|
'product': Product;
|
|
923
923
|
}
|
|
924
|
+
/**
|
|
925
|
+
*
|
|
926
|
+
* @export
|
|
927
|
+
* @enum {string}
|
|
928
|
+
*/
|
|
929
|
+
|
|
930
|
+
export const Locale = {
|
|
931
|
+
EnUs: 'en-us',
|
|
932
|
+
RoRo: 'ro-ro',
|
|
933
|
+
HuHu: 'hu-hu'
|
|
934
|
+
} as const;
|
|
935
|
+
|
|
936
|
+
export type Locale = typeof Locale[keyof typeof Locale];
|
|
937
|
+
|
|
938
|
+
|
|
924
939
|
/**
|
|
925
940
|
*
|
|
926
941
|
* @export
|
|
@@ -1065,10 +1080,10 @@ export interface Notification {
|
|
|
1065
1080
|
'kind': NotificationKind;
|
|
1066
1081
|
/**
|
|
1067
1082
|
*
|
|
1068
|
-
* @type {Array<
|
|
1083
|
+
* @type {Array<NotificationReferencesInner>}
|
|
1069
1084
|
* @memberof Notification
|
|
1070
1085
|
*/
|
|
1071
|
-
'references'?: Array<
|
|
1086
|
+
'references'?: Array<NotificationReferencesInner>;
|
|
1072
1087
|
}
|
|
1073
1088
|
|
|
1074
1089
|
|
|
@@ -1176,6 +1191,12 @@ export interface NotificationPreference {
|
|
|
1176
1191
|
}
|
|
1177
1192
|
|
|
1178
1193
|
|
|
1194
|
+
/**
|
|
1195
|
+
* @type NotificationReferencesInner
|
|
1196
|
+
* @export
|
|
1197
|
+
*/
|
|
1198
|
+
export type NotificationReferencesInner = Order | Product | Promotion;
|
|
1199
|
+
|
|
1179
1200
|
/**
|
|
1180
1201
|
*
|
|
1181
1202
|
* @export
|
|
@@ -1373,6 +1394,12 @@ export interface Preferences {
|
|
|
1373
1394
|
* @interface PreferencesRequest
|
|
1374
1395
|
*/
|
|
1375
1396
|
export interface PreferencesRequest {
|
|
1397
|
+
/**
|
|
1398
|
+
*
|
|
1399
|
+
* @type {Locale}
|
|
1400
|
+
* @memberof PreferencesRequest
|
|
1401
|
+
*/
|
|
1402
|
+
'preferredLocale'?: Locale;
|
|
1376
1403
|
/**
|
|
1377
1404
|
*
|
|
1378
1405
|
* @type {Array<NotificationPreference>}
|
|
@@ -1380,6 +1407,8 @@ export interface PreferencesRequest {
|
|
|
1380
1407
|
*/
|
|
1381
1408
|
'notificationPreferences': Array<NotificationPreference>;
|
|
1382
1409
|
}
|
|
1410
|
+
|
|
1411
|
+
|
|
1383
1412
|
/**
|
|
1384
1413
|
*
|
|
1385
1414
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -860,6 +860,17 @@ export interface Item {
|
|
|
860
860
|
*/
|
|
861
861
|
'product': Product;
|
|
862
862
|
}
|
|
863
|
+
/**
|
|
864
|
+
*
|
|
865
|
+
* @export
|
|
866
|
+
* @enum {string}
|
|
867
|
+
*/
|
|
868
|
+
export declare const Locale: {
|
|
869
|
+
readonly EnUs: "en-us";
|
|
870
|
+
readonly RoRo: "ro-ro";
|
|
871
|
+
readonly HuHu: "hu-hu";
|
|
872
|
+
};
|
|
873
|
+
export type Locale = typeof Locale[keyof typeof Locale];
|
|
863
874
|
/**
|
|
864
875
|
*
|
|
865
876
|
* @export
|
|
@@ -1008,10 +1019,10 @@ export interface Notification {
|
|
|
1008
1019
|
'kind': NotificationKind;
|
|
1009
1020
|
/**
|
|
1010
1021
|
*
|
|
1011
|
-
* @type {Array<
|
|
1022
|
+
* @type {Array<NotificationReferencesInner>}
|
|
1012
1023
|
* @memberof Notification
|
|
1013
1024
|
*/
|
|
1014
|
-
'references'?: Array<
|
|
1025
|
+
'references'?: Array<NotificationReferencesInner>;
|
|
1015
1026
|
}
|
|
1016
1027
|
/**
|
|
1017
1028
|
*
|
|
@@ -1107,6 +1118,11 @@ export interface NotificationPreference {
|
|
|
1107
1118
|
*/
|
|
1108
1119
|
'kind': NotificationKind;
|
|
1109
1120
|
}
|
|
1121
|
+
/**
|
|
1122
|
+
* @type NotificationReferencesInner
|
|
1123
|
+
* @export
|
|
1124
|
+
*/
|
|
1125
|
+
export type NotificationReferencesInner = Order | Product | Promotion;
|
|
1110
1126
|
/**
|
|
1111
1127
|
*
|
|
1112
1128
|
* @export
|
|
@@ -1297,6 +1313,12 @@ export interface Preferences {
|
|
|
1297
1313
|
* @interface PreferencesRequest
|
|
1298
1314
|
*/
|
|
1299
1315
|
export interface PreferencesRequest {
|
|
1316
|
+
/**
|
|
1317
|
+
*
|
|
1318
|
+
* @type {Locale}
|
|
1319
|
+
* @memberof PreferencesRequest
|
|
1320
|
+
*/
|
|
1321
|
+
'preferredLocale'?: Locale;
|
|
1300
1322
|
/**
|
|
1301
1323
|
*
|
|
1302
1324
|
* @type {Array<NotificationPreference>}
|
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 = void 0;
|
|
25
|
+
exports.BulkApi = exports.BulkApiFactory = exports.BulkApiFp = exports.BulkApiAxiosParamCreator = 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.Repetition = exports.PromotionType = exports.PromotionSortByField = exports.ProgressState = exports.ProgressInterval = exports.ProductUsage = exports.ProductStatus = exports.ProductRequestStatus = exports.ProductRequestApprovalRequestStatusEnum = exports.ProductKind = exports.ProductAvailability = 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.TagApiFp = exports.TagApiAxiosParamCreator = exports.SegmentApi = exports.SegmentApiFactory = exports.SegmentApiFp = exports.SegmentApiAxiosParamCreator = 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 = 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 = void 0;
|
|
28
28
|
const axios_1 = require("axios");
|
|
29
29
|
// Some imports not used depending on template conditions
|
|
30
30
|
// @ts-ignore
|
|
@@ -103,6 +103,16 @@ exports.Feature = {
|
|
|
103
103
|
SalesBudget: 'sales_budget',
|
|
104
104
|
CustomDeals: 'custom_deals'
|
|
105
105
|
};
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @export
|
|
109
|
+
* @enum {string}
|
|
110
|
+
*/
|
|
111
|
+
exports.Locale = {
|
|
112
|
+
EnUs: 'en-us',
|
|
113
|
+
RoRo: 'ro-ro',
|
|
114
|
+
HuHu: 'hu-hu'
|
|
115
|
+
};
|
|
106
116
|
/**
|
|
107
117
|
*
|
|
108
118
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -860,6 +860,17 @@ export interface Item {
|
|
|
860
860
|
*/
|
|
861
861
|
'product': Product;
|
|
862
862
|
}
|
|
863
|
+
/**
|
|
864
|
+
*
|
|
865
|
+
* @export
|
|
866
|
+
* @enum {string}
|
|
867
|
+
*/
|
|
868
|
+
export declare const Locale: {
|
|
869
|
+
readonly EnUs: "en-us";
|
|
870
|
+
readonly RoRo: "ro-ro";
|
|
871
|
+
readonly HuHu: "hu-hu";
|
|
872
|
+
};
|
|
873
|
+
export type Locale = typeof Locale[keyof typeof Locale];
|
|
863
874
|
/**
|
|
864
875
|
*
|
|
865
876
|
* @export
|
|
@@ -1008,10 +1019,10 @@ export interface Notification {
|
|
|
1008
1019
|
'kind': NotificationKind;
|
|
1009
1020
|
/**
|
|
1010
1021
|
*
|
|
1011
|
-
* @type {Array<
|
|
1022
|
+
* @type {Array<NotificationReferencesInner>}
|
|
1012
1023
|
* @memberof Notification
|
|
1013
1024
|
*/
|
|
1014
|
-
'references'?: Array<
|
|
1025
|
+
'references'?: Array<NotificationReferencesInner>;
|
|
1015
1026
|
}
|
|
1016
1027
|
/**
|
|
1017
1028
|
*
|
|
@@ -1107,6 +1118,11 @@ export interface NotificationPreference {
|
|
|
1107
1118
|
*/
|
|
1108
1119
|
'kind': NotificationKind;
|
|
1109
1120
|
}
|
|
1121
|
+
/**
|
|
1122
|
+
* @type NotificationReferencesInner
|
|
1123
|
+
* @export
|
|
1124
|
+
*/
|
|
1125
|
+
export type NotificationReferencesInner = Order | Product | Promotion;
|
|
1110
1126
|
/**
|
|
1111
1127
|
*
|
|
1112
1128
|
* @export
|
|
@@ -1297,6 +1313,12 @@ export interface Preferences {
|
|
|
1297
1313
|
* @interface PreferencesRequest
|
|
1298
1314
|
*/
|
|
1299
1315
|
export interface PreferencesRequest {
|
|
1316
|
+
/**
|
|
1317
|
+
*
|
|
1318
|
+
* @type {Locale}
|
|
1319
|
+
* @memberof PreferencesRequest
|
|
1320
|
+
*/
|
|
1321
|
+
'preferredLocale'?: Locale;
|
|
1300
1322
|
/**
|
|
1301
1323
|
*
|
|
1302
1324
|
* @type {Array<NotificationPreference>}
|
package/dist/esm/api.js
CHANGED
|
@@ -98,6 +98,16 @@ export const Feature = {
|
|
|
98
98
|
SalesBudget: 'sales_budget',
|
|
99
99
|
CustomDeals: 'custom_deals'
|
|
100
100
|
};
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @export
|
|
104
|
+
* @enum {string}
|
|
105
|
+
*/
|
|
106
|
+
export const Locale = {
|
|
107
|
+
EnUs: 'en-us',
|
|
108
|
+
RoRo: 'ro-ro',
|
|
109
|
+
HuHu: 'hu-hu'
|
|
110
|
+
};
|
|
101
111
|
/**
|
|
102
112
|
*
|
|
103
113
|
* @export
|