@springtree/eva-services-core-management 1.87.0 → 1.89.0
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.Core.Management.Services.d.ts +208 -1
- package/lib/EVA.Core.Management.Services.d.ts.map +1 -1
- package/lib/EVA.Core.Management.Services.js +223 -1
- package/lib/EVA.Core.Management.Services.js.map +1 -1
- package/lib/eva-services-core-management.es5.js +223 -1
- package/lib/eva-services-core-management.es5.js.map +1 -1
- package/lib/eva-services-core-management.umd.js +223 -1
- package/lib/eva-services-core-management.umd.js.map +1 -1
- package/package.json +2 -2
|
@@ -28,6 +28,20 @@ export var CoreManagement;
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
CoreManagement.AddPackageToCarrier = AddPackageToCarrier;
|
|
31
|
+
/**
|
|
32
|
+
* Add personalized promotion products for a user.
|
|
33
|
+
*
|
|
34
|
+
* @export
|
|
35
|
+
* @class AddPersonalizedPromotionsProducts
|
|
36
|
+
* @implements {EvaService}
|
|
37
|
+
*/
|
|
38
|
+
class AddPersonalizedPromotionsProducts {
|
|
39
|
+
constructor() {
|
|
40
|
+
this.name = 'CoreManagement:AddPersonalizedPromotionsProducts';
|
|
41
|
+
this.path = '/message/AddPersonalizedPromotionsProducts';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
CoreManagement.AddPersonalizedPromotionsProducts = AddPersonalizedPromotionsProducts;
|
|
31
45
|
/**
|
|
32
46
|
* Adds or updates the given products to the assortment.
|
|
33
47
|
|
|
@@ -101,6 +115,20 @@ But if the list is a mixed product list, all updates will be applied according t
|
|
|
101
115
|
}
|
|
102
116
|
}
|
|
103
117
|
CoreManagement.ArchiveDiscount = ArchiveDiscount;
|
|
118
|
+
/**
|
|
119
|
+
* Archive a personalized promotion.
|
|
120
|
+
*
|
|
121
|
+
* @export
|
|
122
|
+
* @class ArchivePersonalizedPromotion
|
|
123
|
+
* @implements {EvaService}
|
|
124
|
+
*/
|
|
125
|
+
class ArchivePersonalizedPromotion {
|
|
126
|
+
constructor() {
|
|
127
|
+
this.name = 'CoreManagement:ArchivePersonalizedPromotion';
|
|
128
|
+
this.path = '/message/ArchivePersonalizedPromotion';
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
CoreManagement.ArchivePersonalizedPromotion = ArchivePersonalizedPromotion;
|
|
104
132
|
/**
|
|
105
133
|
* Archive a point awarding rule
|
|
106
134
|
*
|
|
@@ -227,6 +255,20 @@ But if the list is a mixed product list, all updates will be applied according t
|
|
|
227
255
|
}
|
|
228
256
|
}
|
|
229
257
|
CoreManagement.AuditingValidateConfiguration = AuditingValidateConfiguration;
|
|
258
|
+
/**
|
|
259
|
+
* Block a users subscription without unsubscribing.
|
|
260
|
+
*
|
|
261
|
+
* @export
|
|
262
|
+
* @class BlockUserSubscription
|
|
263
|
+
* @implements {EvaService}
|
|
264
|
+
*/
|
|
265
|
+
class BlockUserSubscription {
|
|
266
|
+
constructor() {
|
|
267
|
+
this.name = 'CoreManagement:BlockUserSubscription';
|
|
268
|
+
this.path = '/message/BlockUserSubscription';
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
CoreManagement.BlockUserSubscription = BlockUserSubscription;
|
|
230
272
|
/**
|
|
231
273
|
* Removes all unused settings. Set ReportOnly to let this service return all settings that would be deleted.
|
|
232
274
|
*
|
|
@@ -996,6 +1038,20 @@ A ShippingMethod, OrganizationUnit and Priority are required
|
|
|
996
1038
|
}
|
|
997
1039
|
}
|
|
998
1040
|
CoreManagement.CreatePaymentType = CreatePaymentType;
|
|
1041
|
+
/**
|
|
1042
|
+
* Create a new personalized promotion.
|
|
1043
|
+
*
|
|
1044
|
+
* @export
|
|
1045
|
+
* @class CreatePersonalizedPromotion
|
|
1046
|
+
* @implements {EvaService}
|
|
1047
|
+
*/
|
|
1048
|
+
class CreatePersonalizedPromotion {
|
|
1049
|
+
constructor() {
|
|
1050
|
+
this.name = 'CoreManagement:CreatePersonalizedPromotion';
|
|
1051
|
+
this.path = '/message/CreatePersonalizedPromotion';
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
CoreManagement.CreatePersonalizedPromotion = CreatePersonalizedPromotion;
|
|
999
1055
|
/**
|
|
1000
1056
|
* Create a point awarding rule.
|
|
1001
1057
|
*
|
|
@@ -1195,7 +1251,7 @@ Optionally adds a record in the ProductUnitOfMeasure conversion table for the su
|
|
|
1195
1251
|
}
|
|
1196
1252
|
CoreManagement.CreateRepair = CreateRepair;
|
|
1197
1253
|
/**
|
|
1198
|
-
* Creates a new
|
|
1254
|
+
* Creates a new interaction associated with a specific repair
|
|
1199
1255
|
*
|
|
1200
1256
|
* @export
|
|
1201
1257
|
* @class CreateRepairInteraction
|
|
@@ -4096,6 +4152,20 @@ At this moment the supported DeviceTypes are:
|
|
|
4096
4152
|
}
|
|
4097
4153
|
}
|
|
4098
4154
|
CoreManagement.GetPaymentTypesForFilter = GetPaymentTypesForFilter;
|
|
4155
|
+
/**
|
|
4156
|
+
* Get personalized promotion by its ID.
|
|
4157
|
+
*
|
|
4158
|
+
* @export
|
|
4159
|
+
* @class GetPersonalizedPromotionByID
|
|
4160
|
+
* @implements {EvaService}
|
|
4161
|
+
*/
|
|
4162
|
+
class GetPersonalizedPromotionByID {
|
|
4163
|
+
constructor() {
|
|
4164
|
+
this.name = 'CoreManagement:GetPersonalizedPromotionByID';
|
|
4165
|
+
this.path = '/message/GetPersonalizedPromotionByID';
|
|
4166
|
+
}
|
|
4167
|
+
}
|
|
4168
|
+
CoreManagement.GetPersonalizedPromotionByID = GetPersonalizedPromotionByID;
|
|
4099
4169
|
/**
|
|
4100
4170
|
* Get loyalty point rule.
|
|
4101
4171
|
*
|
|
@@ -4583,6 +4653,20 @@ These handlers are custom build to fetch values for ProductRequirements from ext
|
|
|
4583
4653
|
}
|
|
4584
4654
|
}
|
|
4585
4655
|
CoreManagement.GetUserOrigins = GetUserOrigins;
|
|
4656
|
+
/**
|
|
4657
|
+
* Get all products for a personalized promotion for the logged in user or the given user.
|
|
4658
|
+
*
|
|
4659
|
+
* @export
|
|
4660
|
+
* @class GetUserPersonalizedPromotionProducts
|
|
4661
|
+
* @implements {EvaService}
|
|
4662
|
+
*/
|
|
4663
|
+
class GetUserPersonalizedPromotionProducts {
|
|
4664
|
+
constructor() {
|
|
4665
|
+
this.name = 'CoreManagement:GetUserPersonalizedPromotionProducts';
|
|
4666
|
+
this.path = '/message/GetUserPersonalizedPromotionProducts';
|
|
4667
|
+
}
|
|
4668
|
+
}
|
|
4669
|
+
CoreManagement.GetUserPersonalizedPromotionProducts = GetUserPersonalizedPromotionProducts;
|
|
4586
4670
|
/**
|
|
4587
4671
|
* Get the configured UserRequirements for the current, or given, `OrganizationUnit`.
|
|
4588
4672
|
*
|
|
@@ -5450,6 +5534,27 @@ All available filters are typed in the PageConfig.Filter property.
|
|
|
5450
5534
|
}
|
|
5451
5535
|
}
|
|
5452
5536
|
CoreManagement.ListPaymentTransactionCaptures = ListPaymentTransactionCaptures;
|
|
5537
|
+
/**
|
|
5538
|
+
* List paymenttransactionssettlements
|
|
5539
|
+
|
|
5540
|
+
Filters available to be sent in the request:
|
|
5541
|
+
- FinancialPeriodID
|
|
5542
|
+
- PaymentReference
|
|
5543
|
+
- MerchantReference
|
|
5544
|
+
- Type
|
|
5545
|
+
- SubType
|
|
5546
|
+
*
|
|
5547
|
+
* @export
|
|
5548
|
+
* @class ListPaymentTransactionSettlements
|
|
5549
|
+
* @implements {EvaService}
|
|
5550
|
+
*/
|
|
5551
|
+
class ListPaymentTransactionSettlements {
|
|
5552
|
+
constructor() {
|
|
5553
|
+
this.name = 'CoreManagement:ListPaymentTransactionSettlements';
|
|
5554
|
+
this.path = '/message/ListPaymentTransactionSettlements';
|
|
5555
|
+
}
|
|
5556
|
+
}
|
|
5557
|
+
CoreManagement.ListPaymentTransactionSettlements = ListPaymentTransactionSettlements;
|
|
5453
5558
|
/**
|
|
5454
5559
|
* List paymenttransactions
|
|
5455
5560
|
|
|
@@ -5480,6 +5585,20 @@ All available filters are typed in the PageConfig.Filter property.
|
|
|
5480
5585
|
}
|
|
5481
5586
|
}
|
|
5482
5587
|
CoreManagement.ListPaymentTypes = ListPaymentTypes;
|
|
5588
|
+
/**
|
|
5589
|
+
* List personalized promotions. Returns a paged response.
|
|
5590
|
+
*
|
|
5591
|
+
* @export
|
|
5592
|
+
* @class ListPersonalizedPromotions
|
|
5593
|
+
* @implements {EvaService}
|
|
5594
|
+
*/
|
|
5595
|
+
class ListPersonalizedPromotions {
|
|
5596
|
+
constructor() {
|
|
5597
|
+
this.name = 'CoreManagement:ListPersonalizedPromotions';
|
|
5598
|
+
this.path = '/message/ListPersonalizedPromotions';
|
|
5599
|
+
}
|
|
5600
|
+
}
|
|
5601
|
+
CoreManagement.ListPersonalizedPromotions = ListPersonalizedPromotions;
|
|
5483
5602
|
/**
|
|
5484
5603
|
* List loyalty point rules. Returns a paged response.
|
|
5485
5604
|
*
|
|
@@ -5701,6 +5820,20 @@ It is required to supply some OrganizationUnitIDs or some ProductIDs in the Page
|
|
|
5701
5820
|
}
|
|
5702
5821
|
}
|
|
5703
5822
|
CoreManagement.ListRefundCorrectionReasons = ListRefundCorrectionReasons;
|
|
5823
|
+
/**
|
|
5824
|
+
* List the repair interactions
|
|
5825
|
+
*
|
|
5826
|
+
* @export
|
|
5827
|
+
* @class ListRepairInteractions
|
|
5828
|
+
* @implements {EvaService}
|
|
5829
|
+
*/
|
|
5830
|
+
class ListRepairInteractions {
|
|
5831
|
+
constructor() {
|
|
5832
|
+
this.name = 'CoreManagement:ListRepairInteractions';
|
|
5833
|
+
this.path = '/message/ListRepairInteractions';
|
|
5834
|
+
}
|
|
5835
|
+
}
|
|
5836
|
+
CoreManagement.ListRepairInteractions = ListRepairInteractions;
|
|
5704
5837
|
/**
|
|
5705
5838
|
* List Repairs, optionally filtered.
|
|
5706
5839
|
*
|
|
@@ -6013,6 +6146,20 @@ The page size `Limit` has a maximum value of `1.024` for this service (unless `D
|
|
|
6013
6146
|
}
|
|
6014
6147
|
}
|
|
6015
6148
|
CoreManagement.ListUserOrganizationUnitRoles = ListUserOrganizationUnitRoles;
|
|
6149
|
+
/**
|
|
6150
|
+
* Get all personalized promotions for the logged in user or the given user.
|
|
6151
|
+
*
|
|
6152
|
+
* @export
|
|
6153
|
+
* @class ListUserPersonalizedPromotions
|
|
6154
|
+
* @implements {EvaService}
|
|
6155
|
+
*/
|
|
6156
|
+
class ListUserPersonalizedPromotions {
|
|
6157
|
+
constructor() {
|
|
6158
|
+
this.name = 'CoreManagement:ListUserPersonalizedPromotions';
|
|
6159
|
+
this.path = '/message/ListUserPersonalizedPromotions';
|
|
6160
|
+
}
|
|
6161
|
+
}
|
|
6162
|
+
CoreManagement.ListUserPersonalizedPromotions = ListUserPersonalizedPromotions;
|
|
6016
6163
|
/**
|
|
6017
6164
|
* List the UserRequirementSets.
|
|
6018
6165
|
*
|
|
@@ -6216,6 +6363,25 @@ Also the MessageTemplate `QRCodePrintingTemplate` can be configured in Stencil.
|
|
|
6216
6363
|
}
|
|
6217
6364
|
}
|
|
6218
6365
|
CoreManagement.PushUserBoughtProduct = PushUserBoughtProduct;
|
|
6366
|
+
/**
|
|
6367
|
+
* The service enables endpoints to push user subscriptions based on the user backend id and subscription backend id.
|
|
6368
|
+
Multiple subscriptions can be pushed at once.
|
|
6369
|
+
|
|
6370
|
+
Additionally, a SubscriptionID and Balance can be provided
|
|
6371
|
+
NOTE THAT Only subscriptions that allow for local storage can be pushed. Subscriptions fully depending on external services cannot be pushed.
|
|
6372
|
+
NOTE THAT Balance can only be provided for loyalty subscriptions that have a EVA loyalty handler.
|
|
6373
|
+
*
|
|
6374
|
+
* @export
|
|
6375
|
+
* @class PushUserSubscription
|
|
6376
|
+
* @implements {EvaService}
|
|
6377
|
+
*/
|
|
6378
|
+
class PushUserSubscription {
|
|
6379
|
+
constructor() {
|
|
6380
|
+
this.name = 'CoreManagement:PushUserSubscription';
|
|
6381
|
+
this.path = '/message/PushUserSubscription';
|
|
6382
|
+
}
|
|
6383
|
+
}
|
|
6384
|
+
CoreManagement.PushUserSubscription = PushUserSubscription;
|
|
6219
6385
|
/**
|
|
6220
6386
|
* Reallocates the stock for a StockLocationRule with `Type` = `Limitation`.
|
|
6221
6387
|
*
|
|
@@ -6286,6 +6452,20 @@ Also the MessageTemplate `QRCodePrintingTemplate` can be configured in Stencil.
|
|
|
6286
6452
|
}
|
|
6287
6453
|
}
|
|
6288
6454
|
CoreManagement.RemovePackageFromCarrier = RemovePackageFromCarrier;
|
|
6455
|
+
/**
|
|
6456
|
+
* Remove personalized promotion products attached to a user. Either ProductIDs or RemoveAll is required.
|
|
6457
|
+
*
|
|
6458
|
+
* @export
|
|
6459
|
+
* @class RemovePersonalizedPromotionProducts
|
|
6460
|
+
* @implements {EvaService}
|
|
6461
|
+
*/
|
|
6462
|
+
class RemovePersonalizedPromotionProducts {
|
|
6463
|
+
constructor() {
|
|
6464
|
+
this.name = 'CoreManagement:RemovePersonalizedPromotionProducts';
|
|
6465
|
+
this.path = '/message/RemovePersonalizedPromotionProducts';
|
|
6466
|
+
}
|
|
6467
|
+
}
|
|
6468
|
+
CoreManagement.RemovePersonalizedPromotionProducts = RemovePersonalizedPromotionProducts;
|
|
6289
6469
|
/**
|
|
6290
6470
|
* Removes products from an assortment. When the product is not part of the assortment an error is returned.
|
|
6291
6471
|
*
|
|
@@ -6342,6 +6522,20 @@ Also the MessageTemplate `QRCodePrintingTemplate` can be configured in Stencil.
|
|
|
6342
6522
|
}
|
|
6343
6523
|
}
|
|
6344
6524
|
CoreManagement.SearchStockMutations = SearchStockMutations;
|
|
6525
|
+
/**
|
|
6526
|
+
* Set selected products for personalized promotion for the logged in user or the given user. Ovewrites existing selection.
|
|
6527
|
+
*
|
|
6528
|
+
* @export
|
|
6529
|
+
* @class SelectUserPersonalizedPromotionProducts
|
|
6530
|
+
* @implements {EvaService}
|
|
6531
|
+
*/
|
|
6532
|
+
class SelectUserPersonalizedPromotionProducts {
|
|
6533
|
+
constructor() {
|
|
6534
|
+
this.name = 'CoreManagement:SelectUserPersonalizedPromotionProducts';
|
|
6535
|
+
this.path = '/message/SelectUserPersonalizedPromotionProducts';
|
|
6536
|
+
}
|
|
6537
|
+
}
|
|
6538
|
+
CoreManagement.SelectUserPersonalizedPromotionProducts = SelectUserPersonalizedPromotionProducts;
|
|
6345
6539
|
/**
|
|
6346
6540
|
* TODO: Needs documentation
|
|
6347
6541
|
*
|
|
@@ -6535,6 +6729,20 @@ When using this service make sure the `Workforce:AssignEmployeeRights` setting i
|
|
|
6535
6729
|
}
|
|
6536
6730
|
}
|
|
6537
6731
|
CoreManagement.SetUserRoles = SetUserRoles;
|
|
6732
|
+
/**
|
|
6733
|
+
* Unblock a users subscription.
|
|
6734
|
+
*
|
|
6735
|
+
* @export
|
|
6736
|
+
* @class UnblockUserSubscription
|
|
6737
|
+
* @implements {EvaService}
|
|
6738
|
+
*/
|
|
6739
|
+
class UnblockUserSubscription {
|
|
6740
|
+
constructor() {
|
|
6741
|
+
this.name = 'CoreManagement:UnblockUserSubscription';
|
|
6742
|
+
this.path = '/message/UnblockUserSubscription';
|
|
6743
|
+
}
|
|
6744
|
+
}
|
|
6745
|
+
CoreManagement.UnblockUserSubscription = UnblockUserSubscription;
|
|
6538
6746
|
/**
|
|
6539
6747
|
* Removes the value for an AppSetting
|
|
6540
6748
|
|
|
@@ -7251,6 +7459,20 @@ A ShippingMethod, OrganizationUnit and Priority are required
|
|
|
7251
7459
|
}
|
|
7252
7460
|
}
|
|
7253
7461
|
CoreManagement.UpdatePaymentType = UpdatePaymentType;
|
|
7462
|
+
/**
|
|
7463
|
+
* Update an existing personalized promotion.
|
|
7464
|
+
*
|
|
7465
|
+
* @export
|
|
7466
|
+
* @class UpdatePersonalizedPromotion
|
|
7467
|
+
* @implements {EvaService}
|
|
7468
|
+
*/
|
|
7469
|
+
class UpdatePersonalizedPromotion {
|
|
7470
|
+
constructor() {
|
|
7471
|
+
this.name = 'CoreManagement:UpdatePersonalizedPromotion';
|
|
7472
|
+
this.path = '/message/UpdatePersonalizedPromotion';
|
|
7473
|
+
}
|
|
7474
|
+
}
|
|
7475
|
+
CoreManagement.UpdatePersonalizedPromotion = UpdatePersonalizedPromotion;
|
|
7254
7476
|
/**
|
|
7255
7477
|
* Update a point awarding rule
|
|
7256
7478
|
*
|