@springtree/eva-services-core-management 3.0.0-beta.8 → 3.0.0-beta.80
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/lib/eva-services-core-management.d.ts +12416 -8905
- package/lib/eva-services-core-management.d.ts.map +1 -1
- package/lib/eva-services-core-management.js +42 -32
- package/lib/eva-services-core-management.js.map +1 -1
- package/lib/eva-services-core-management.services.d.ts +2471 -1901
- package/lib/eva-services-core-management.services.d.ts.map +1 -1
- package/lib/eva-services-core-management.services.js +681 -111
- package/lib/eva-services-core-management.services.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export var Errors;
|
|
2
2
|
(function (Errors) {
|
|
3
3
|
/**
|
|
4
|
-
* CashExpenseType {:string} already exists.
|
|
4
|
+
* CashExpenseType {0:string} already exists.
|
|
5
5
|
*/
|
|
6
6
|
Errors["CashExpenseTypes_AlreadyExists"] = "CashExpenseTypes:AlreadyExists";
|
|
7
7
|
/**
|
|
@@ -29,6 +29,10 @@ export var Errors;
|
|
|
29
29
|
*/
|
|
30
30
|
Errors["Cultures_CurrencyAlreadyExists"] = "Cultures:CurrencyAlreadyExists";
|
|
31
31
|
/**
|
|
32
|
+
* Additional currency must differ from main currency.
|
|
33
|
+
*/
|
|
34
|
+
Errors["Cultures_AdditionalCurrencyMustDifferFromMainCurrency"] = "Cultures:AdditionalCurrencyMustDifferFromMainCurrency";
|
|
35
|
+
/**
|
|
32
36
|
* The selected cashhandler is not available for the given currency
|
|
33
37
|
*/
|
|
34
38
|
Errors["Cultures_CashHandlerCurrencyMismatch"] = "Cultures:CashHandlerCurrencyMismatch";
|
|
@@ -41,10 +45,6 @@ export var Errors;
|
|
|
41
45
|
*/
|
|
42
46
|
Errors["Cultures_MustHaveAtLeastOneLanguage"] = "Cultures:MustHaveAtLeastOneLanguage";
|
|
43
47
|
/**
|
|
44
|
-
* This CustomerReturnReason already exists
|
|
45
|
-
*/
|
|
46
|
-
Errors["CustomerReturnReasons_AlreadyExists"] = "CustomerReturnReasons:AlreadyExists";
|
|
47
|
-
/**
|
|
48
48
|
* Can't delete OrderLedgerType because it's not custom
|
|
49
49
|
*/
|
|
50
50
|
Errors["DeleteOrderLedgerType_OrderLedgerTypeNotCustom"] = "DeleteOrderLedgerType:OrderLedgerTypeNotCustom";
|
|
@@ -89,7 +89,7 @@ export var Errors;
|
|
|
89
89
|
*/
|
|
90
90
|
Errors["GiftCardConfigurations_InvalidUsageTypeForHandler"] = "GiftCardConfigurations:InvalidUsageTypeForHandler";
|
|
91
91
|
/**
|
|
92
|
-
* This product already has
|
|
92
|
+
* This product already has a giftcard product
|
|
93
93
|
*/
|
|
94
94
|
Errors["GiftCards_ProductAlreadyExists"] = "GiftCards:ProductAlreadyExists";
|
|
95
95
|
/**
|
|
@@ -109,6 +109,10 @@ export var Errors;
|
|
|
109
109
|
*/
|
|
110
110
|
Errors["GiftCards_InvalidProductType"] = "GiftCards:InvalidProductType";
|
|
111
111
|
/**
|
|
112
|
+
* Field '{0:string}' is required for the creation of a new Loyalty Program.
|
|
113
|
+
*/
|
|
114
|
+
Errors["LoyaltyProgram_MissingFieldOnLoyaltyProgramCreation"] = "LoyaltyProgram:MissingFieldOnLoyaltyProgramCreation";
|
|
115
|
+
/**
|
|
112
116
|
* There already exists opening hours for organization {organizationUnitName:string} and day {dayOfWeek:EVA.Core.DayOfWeek}
|
|
113
117
|
*/
|
|
114
118
|
Errors["OpeningHours_DuplicateOpeningHoursDayOfWeek"] = "OpeningHours:DuplicateOpeningHoursDayOfWeek";
|
|
@@ -133,14 +137,6 @@ export var Errors;
|
|
|
133
137
|
*/
|
|
134
138
|
Errors["OpeningHoursTypes_TypeHasTemplatesAndCannotBeDeleted"] = "OpeningHoursTypes:TypeHasTemplatesAndCannotBeDeleted";
|
|
135
139
|
/**
|
|
136
|
-
* OrderField with name '{:string}' already exists.
|
|
137
|
-
*/
|
|
138
|
-
Errors["OrderFields_AlreadyExists"] = "OrderFields:AlreadyExists";
|
|
139
|
-
/**
|
|
140
|
-
* Unknown data type: {:string}
|
|
141
|
-
*/
|
|
142
|
-
Errors["OrderFields_UnknownDataType"] = "OrderFields:UnknownDataType";
|
|
143
|
-
/**
|
|
144
140
|
* The OrganizationUnitSetScope is still being used, cannot delete.
|
|
145
141
|
*/
|
|
146
142
|
Errors["OrganizationUnitSets_CannotDeleteScopeInUse"] = "OrganizationUnitSets:CannotDeleteScopeInUse";
|
|
@@ -149,7 +145,7 @@ export var Errors;
|
|
|
149
145
|
*/
|
|
150
146
|
Errors["OrganizationUnitSets_CannotDeleteInUse"] = "OrganizationUnitSets:CannotDeleteInUse";
|
|
151
147
|
/**
|
|
152
|
-
* Set {:string} is a set managed by EVA and cannot be modified.
|
|
148
|
+
* Set {0:string} is a set managed by EVA and cannot be modified.
|
|
153
149
|
*/
|
|
154
150
|
Errors["OrganizationUnitSets_CannotModifySystemSet"] = "OrganizationUnitSets:CannotModifySystemSet";
|
|
155
151
|
/**
|
|
@@ -189,15 +185,15 @@ export var Errors;
|
|
|
189
185
|
*/
|
|
190
186
|
Errors["Pricing_BackendIdentifiersRequired"] = "Pricing:BackendIdentifiersRequired";
|
|
191
187
|
/**
|
|
192
|
-
* PriceList {:
|
|
188
|
+
* PriceList {0:id} has the same BackendID.
|
|
193
189
|
*/
|
|
194
190
|
Errors["Pricing_DuplicateBackendID"] = "Pricing:DuplicateBackendID";
|
|
195
191
|
/**
|
|
196
|
-
* You do not have access to pricelist {:
|
|
192
|
+
* You do not have access to pricelist {0:id}.
|
|
197
193
|
*/
|
|
198
194
|
Errors["Pricing_CannotViewPriceList"] = "Pricing:CannotViewPriceList";
|
|
199
195
|
/**
|
|
200
|
-
* Barcode {barcode:string} already exists for ProductID {productID:
|
|
196
|
+
* Barcode {barcode:string} already exists for ProductID {productID:id}
|
|
201
197
|
*/
|
|
202
198
|
Errors["ProductBarcodes_BarcodeAlreadyExists"] = "ProductBarcodes:BarcodeAlreadyExists";
|
|
203
199
|
/**
|
|
@@ -225,23 +221,31 @@ export var Errors;
|
|
|
225
221
|
*/
|
|
226
222
|
Errors["ProductUnitOfMeasures_InvalidQuantity"] = "ProductUnitOfMeasures:InvalidQuantity";
|
|
227
223
|
/**
|
|
228
|
-
* RefundCorrectionReason with BackendID '{:string}' already exists.
|
|
224
|
+
* RefundCorrectionReason with BackendID '{0:string}' already exists.
|
|
229
225
|
*/
|
|
230
226
|
Errors["RefundCorrectionReasons_AlreadyExists"] = "RefundCorrectionReasons:AlreadyExists";
|
|
231
227
|
/**
|
|
228
|
+
* A resend reason with this name already exists
|
|
229
|
+
*/
|
|
230
|
+
Errors["ResendReason_AlreadyExists"] = "ResendReason:AlreadyExists";
|
|
231
|
+
/**
|
|
232
232
|
* This return reason already exists.
|
|
233
233
|
*/
|
|
234
234
|
Errors["ReturnReasons_AlreadyExists"] = "ReturnReasons:AlreadyExists";
|
|
235
235
|
/**
|
|
236
|
-
*
|
|
236
|
+
* Remark is required for this return reason.
|
|
237
|
+
*/
|
|
238
|
+
Errors["ReturnReasons_RemarkIsRequired"] = "ReturnReasons:RemarkIsRequired";
|
|
239
|
+
/**
|
|
240
|
+
* A role set with BackendID '{0:string}' already exists
|
|
237
241
|
*/
|
|
238
242
|
Errors["RoleSets_RoleSetWithBackendIDAlreadyExists"] = "RoleSets:RoleSetWithBackendIDAlreadyExists";
|
|
239
243
|
/**
|
|
240
|
-
* Role set '{:string}' is still attached to organization units
|
|
244
|
+
* Role set '{0:string}' is still attached to organization units
|
|
241
245
|
*/
|
|
242
246
|
Errors["RoleSets_RoleSetIsStillAttached"] = "RoleSets:RoleSetIsStillAttached";
|
|
243
247
|
/**
|
|
244
|
-
* The code `{:string}` is preserved for system roles.
|
|
248
|
+
* The code `{0:string}` is preserved for system roles.
|
|
245
249
|
*/
|
|
246
250
|
Errors["Roles_CodeIsPreservedForSystemRoles"] = "Roles:CodeIsPreservedForSystemRoles";
|
|
247
251
|
/**
|
|
@@ -249,23 +253,23 @@ export var Errors;
|
|
|
249
253
|
*/
|
|
250
254
|
Errors["Roles_CannotModifyOrDeleteNewBlackRole"] = "Roles:CannotModifyOrDeleteNewBlackRole";
|
|
251
255
|
/**
|
|
252
|
-
* OrganizationUnit with ID {:string} not found on row {:int32}
|
|
256
|
+
* OrganizationUnit with ID {0:string} not found on row {1:int32}
|
|
253
257
|
*/
|
|
254
258
|
Errors["SettingsExcelImporter_OrganizationUnitByIDNotFound"] = "SettingsExcelImporter:OrganizationUnitByIDNotFound";
|
|
255
259
|
/**
|
|
256
|
-
* OrganizationUnit with BackendID {:string} not found on row {:int32}
|
|
260
|
+
* OrganizationUnit with BackendID {0:string} not found on row {1:int32}
|
|
257
261
|
*/
|
|
258
262
|
Errors["SettingsExcelImporter_OrganizationUnitByBackendIDNotFound"] = "SettingsExcelImporter:OrganizationUnitByBackendIDNotFound";
|
|
259
263
|
/**
|
|
260
|
-
* No BackendID or OrganizationUnitID provided for row {:
|
|
264
|
+
* No BackendID or OrganizationUnitID provided for row {0:id}
|
|
261
265
|
*/
|
|
262
266
|
Errors["SettingsExcelImporter_NoOrganizationUnitIdentifier"] = "SettingsExcelImporter:NoOrganizationUnitIdentifier";
|
|
263
267
|
/**
|
|
264
|
-
* Value on row {:
|
|
268
|
+
* Value on row {0:id} looks like a masked value
|
|
265
269
|
*/
|
|
266
270
|
Errors["SettingsExcelImporter_MaskedValueImport"] = "SettingsExcelImporter:MaskedValueImport";
|
|
267
271
|
/**
|
|
268
|
-
* Validation of the Excel file failed: {:string}
|
|
272
|
+
* Validation of the Excel file failed: {0:string}
|
|
269
273
|
*/
|
|
270
274
|
Errors["StockAllocationRules_UploadStockAllocationRuleValidationError"] = "StockAllocationRules:UploadStockAllocationRuleValidationError";
|
|
271
275
|
/**
|
|
@@ -273,15 +277,15 @@ export var Errors;
|
|
|
273
277
|
*/
|
|
274
278
|
Errors["StockAllocations_OrganizationUnitRequired"] = "StockAllocations:OrganizationUnitRequired";
|
|
275
279
|
/**
|
|
276
|
-
* OrganizationUnit {:
|
|
280
|
+
* OrganizationUnit {0:id} is not directly supplied by OrganizationUnit {1:id}.
|
|
277
281
|
*/
|
|
278
282
|
Errors["StockAllocations_InvalidOrganizationUnit"] = "StockAllocations:InvalidOrganizationUnit";
|
|
279
283
|
/**
|
|
280
|
-
* StockLabel with name '{:string}' already exists
|
|
284
|
+
* StockLabel with name '{0:string}' already exists
|
|
281
285
|
*/
|
|
282
286
|
Errors["StockLabels_AlreadyExists"] = "StockLabels:AlreadyExists";
|
|
283
287
|
/**
|
|
284
|
-
* StartDate ({:string}) cannot be after EndDate: ({:string})
|
|
288
|
+
* StartDate ({0:string}) cannot be after EndDate: ({1:string})
|
|
285
289
|
*/
|
|
286
290
|
Errors["TaxService_StartDateShouldBeBeforeEndDate"] = "TaxService:StartDateShouldBeBeforeEndDate";
|
|
287
291
|
/**
|
|
@@ -289,7 +293,7 @@ export var Errors;
|
|
|
289
293
|
*/
|
|
290
294
|
Errors["TaxService_StartAndEndDateRequired"] = "TaxService:StartAndEndDateRequired";
|
|
291
295
|
/**
|
|
292
|
-
* Validation of the Excel file failed: {:string}
|
|
296
|
+
* Validation of the Excel file failed: {0:string}
|
|
293
297
|
*/
|
|
294
298
|
Errors["TaxService_InvalidExcelFile"] = "TaxService:InvalidExcelFile";
|
|
295
299
|
/**
|
|
@@ -297,7 +301,7 @@ export var Errors;
|
|
|
297
301
|
*/
|
|
298
302
|
Errors["UnitOfMeasures_AlreadyExists"] = "UnitOfMeasures:AlreadyExists";
|
|
299
303
|
/**
|
|
300
|
-
* UnitPriceCorrectionReason with BackendID '{:string}' already exists.
|
|
304
|
+
* UnitPriceCorrectionReason with BackendID '{0:string}' already exists.
|
|
301
305
|
*/
|
|
302
306
|
Errors["UnitPriceCorrectionReasons_AlreadyExists"] = "UnitPriceCorrectionReasons:AlreadyExists";
|
|
303
307
|
/**
|
|
@@ -319,6 +323,12 @@ export var ConfigurationListSettingsTypedFilters;
|
|
|
319
323
|
ConfigurationListSettingsTypedFilters[ConfigurationListSettingsTypedFilters["ShowTyped"] = 1] = "ShowTyped";
|
|
320
324
|
ConfigurationListSettingsTypedFilters[ConfigurationListSettingsTypedFilters["ShowUntyped"] = 2] = "ShowUntyped";
|
|
321
325
|
})(ConfigurationListSettingsTypedFilters || (ConfigurationListSettingsTypedFilters = {}));
|
|
326
|
+
export var LoyaltyLoyaltyPointAdjustmentType;
|
|
327
|
+
(function (LoyaltyLoyaltyPointAdjustmentType) {
|
|
328
|
+
LoyaltyLoyaltyPointAdjustmentType[LoyaltyLoyaltyPointAdjustmentType["Deposit"] = 0] = "Deposit";
|
|
329
|
+
LoyaltyLoyaltyPointAdjustmentType[LoyaltyLoyaltyPointAdjustmentType["Withdraw"] = 1] = "Withdraw";
|
|
330
|
+
LoyaltyLoyaltyPointAdjustmentType[LoyaltyLoyaltyPointAdjustmentType["Rebalance"] = 2] = "Rebalance";
|
|
331
|
+
})(LoyaltyLoyaltyPointAdjustmentType || (LoyaltyLoyaltyPointAdjustmentType = {}));
|
|
322
332
|
export var OrganizationUnitSetsOrganizationSubsetOrdering;
|
|
323
333
|
(function (OrganizationUnitSetsOrganizationSubsetOrdering) {
|
|
324
334
|
OrganizationUnitSetsOrganizationSubsetOrdering[OrganizationUnitSetsOrganizationSubsetOrdering["Ascending"] = 0] = "Ascending";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eva-services-core-management.js","sourceRoot":"","sources":["../src/eva-services-core-management.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"eva-services-core-management.js","sourceRoot":"","sources":["../src/eva-services-core-management.ts"],"names":[],"mappings":"AA+TA,MAAM,CAAN,IAAY,MA8TX;AA9TD,WAAY,MAAM;IAEhB;;MAEE;IACF,2EAAiE,CAAA;IACjE;;MAEE;IACF,yFAA+E,CAAA;IAC/E;;MAEE;IACF,+EAAqE,CAAA;IACrE;;MAEE;IACF,6EAAmE,CAAA;IACnE;;MAEE;IACF,mHAAyG,CAAA;IAC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