@springtree/eva-services-core-management 1.88.0 → 1.90.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.
@@ -255,6 +255,20 @@ But if the list is a mixed product list, all updates will be applied according t
255
255
  }
256
256
  }
257
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;
258
272
  /**
259
273
  * Removes all unused settings. Set ReportOnly to let this service return all settings that would be deleted.
260
274
  *
@@ -1237,7 +1251,7 @@ Optionally adds a record in the ProductUnitOfMeasure conversion table for the su
1237
1251
  }
1238
1252
  CoreManagement.CreateRepair = CreateRepair;
1239
1253
  /**
1240
- * Creates a new case interaction associated with a specific repair
1254
+ * Creates a new interaction associated with a specific repair
1241
1255
  *
1242
1256
  * @export
1243
1257
  * @class CreateRepairInteraction
@@ -3704,6 +3718,20 @@ At this moment the supported DeviceTypes are:
3704
3718
  }
3705
3719
  }
3706
3720
  CoreManagement.GetDiscountCampaignByID = GetDiscountCampaignByID;
3721
+ /**
3722
+ * Get discount coupons by discount ID
3723
+ *
3724
+ * @export
3725
+ * @class GetDiscountCouponByID
3726
+ * @implements {EvaService}
3727
+ */
3728
+ class GetDiscountCouponByID {
3729
+ constructor() {
3730
+ this.name = 'CoreManagement:GetDiscountCouponByID';
3731
+ this.path = '/message/GetDiscountCouponByID';
3732
+ }
3733
+ }
3734
+ CoreManagement.GetDiscountCouponByID = GetDiscountCouponByID;
3707
3735
  /**
3708
3736
  * Get discount coupons by discount ID
3709
3737
  *
@@ -4152,20 +4180,6 @@ At this moment the supported DeviceTypes are:
4152
4180
  }
4153
4181
  }
4154
4182
  CoreManagement.GetPersonalizedPromotionByID = GetPersonalizedPromotionByID;
4155
- /**
4156
- * Get all your personalized promotion products.
4157
- *
4158
- * @export
4159
- * @class GetPersonalizedPromotionProducts
4160
- * @implements {EvaService}
4161
- */
4162
- class GetPersonalizedPromotionProducts {
4163
- constructor() {
4164
- this.name = 'CoreManagement:GetPersonalizedPromotionProducts';
4165
- this.path = '/message/GetPersonalizedPromotionProducts';
4166
- }
4167
- }
4168
- CoreManagement.GetPersonalizedPromotionProducts = GetPersonalizedPromotionProducts;
4169
4183
  /**
4170
4184
  * Get loyalty point rule.
4171
4185
  *
@@ -4653,6 +4667,20 @@ These handlers are custom build to fetch values for ProductRequirements from ext
4653
4667
  }
4654
4668
  }
4655
4669
  CoreManagement.GetUserOrigins = GetUserOrigins;
4670
+ /**
4671
+ * Get all products for a personalized promotion for the logged in user or the given user.
4672
+ *
4673
+ * @export
4674
+ * @class GetUserPersonalizedPromotionProducts
4675
+ * @implements {EvaService}
4676
+ */
4677
+ class GetUserPersonalizedPromotionProducts {
4678
+ constructor() {
4679
+ this.name = 'CoreManagement:GetUserPersonalizedPromotionProducts';
4680
+ this.path = '/message/GetUserPersonalizedPromotionProducts';
4681
+ }
4682
+ }
4683
+ CoreManagement.GetUserPersonalizedPromotionProducts = GetUserPersonalizedPromotionProducts;
4656
4684
  /**
4657
4685
  * Get the configured UserRequirements for the current, or given, `OrganizationUnit`.
4658
4686
  *
@@ -5182,6 +5210,20 @@ or to get a specific product in an assortment by filtering on both.
5182
5210
  }
5183
5211
  }
5184
5212
  CoreManagement.ListDiscountTemplates = ListDiscountTemplates;
5213
+ /**
5214
+ * Lists the available discount user usage reload strategies.
5215
+ *
5216
+ * @export
5217
+ * @class ListDiscountUserUsageReloadStrategies
5218
+ * @implements {EvaService}
5219
+ */
5220
+ class ListDiscountUserUsageReloadStrategies {
5221
+ constructor() {
5222
+ this.name = 'CoreManagement:ListDiscountUserUsageReloadStrategies';
5223
+ this.path = '/message/ListDiscountUserUsageReloadStrategies';
5224
+ }
5225
+ }
5226
+ CoreManagement.ListDiscountUserUsageReloadStrategies = ListDiscountUserUsageReloadStrategies;
5185
5227
  /**
5186
5228
  * List the EmployeeData
5187
5229
  *
@@ -5520,6 +5562,27 @@ All available filters are typed in the PageConfig.Filter property.
5520
5562
  }
5521
5563
  }
5522
5564
  CoreManagement.ListPaymentTransactionCaptures = ListPaymentTransactionCaptures;
5565
+ /**
5566
+ * List paymenttransactionssettlements
5567
+
5568
+ Filters available to be sent in the request:
5569
+ - FinancialPeriodID
5570
+ - PaymentReference
5571
+ - MerchantReference
5572
+ - Type
5573
+ - SubType
5574
+ *
5575
+ * @export
5576
+ * @class ListPaymentTransactionSettlements
5577
+ * @implements {EvaService}
5578
+ */
5579
+ class ListPaymentTransactionSettlements {
5580
+ constructor() {
5581
+ this.name = 'CoreManagement:ListPaymentTransactionSettlements';
5582
+ this.path = '/message/ListPaymentTransactionSettlements';
5583
+ }
5584
+ }
5585
+ CoreManagement.ListPaymentTransactionSettlements = ListPaymentTransactionSettlements;
5523
5586
  /**
5524
5587
  * List paymenttransactions
5525
5588
 
@@ -5550,20 +5613,6 @@ All available filters are typed in the PageConfig.Filter property.
5550
5613
  }
5551
5614
  }
5552
5615
  CoreManagement.ListPaymentTypes = ListPaymentTypes;
5553
- /**
5554
- * List personalized promotion products for a user.
5555
- *
5556
- * @export
5557
- * @class ListPersonalizedPromotionProducts
5558
- * @implements {EvaService}
5559
- */
5560
- class ListPersonalizedPromotionProducts {
5561
- constructor() {
5562
- this.name = 'CoreManagement:ListPersonalizedPromotionProducts';
5563
- this.path = '/message/ListPersonalizedPromotionProducts';
5564
- }
5565
- }
5566
- CoreManagement.ListPersonalizedPromotionProducts = ListPersonalizedPromotionProducts;
5567
5616
  /**
5568
5617
  * List personalized promotions. Returns a paged response.
5569
5618
  *
@@ -5799,6 +5848,20 @@ It is required to supply some OrganizationUnitIDs or some ProductIDs in the Page
5799
5848
  }
5800
5849
  }
5801
5850
  CoreManagement.ListRefundCorrectionReasons = ListRefundCorrectionReasons;
5851
+ /**
5852
+ * List the repair interactions
5853
+ *
5854
+ * @export
5855
+ * @class ListRepairInteractions
5856
+ * @implements {EvaService}
5857
+ */
5858
+ class ListRepairInteractions {
5859
+ constructor() {
5860
+ this.name = 'CoreManagement:ListRepairInteractions';
5861
+ this.path = '/message/ListRepairInteractions';
5862
+ }
5863
+ }
5864
+ CoreManagement.ListRepairInteractions = ListRepairInteractions;
5802
5865
  /**
5803
5866
  * List Repairs, optionally filtered.
5804
5867
  *
@@ -6111,6 +6174,20 @@ The page size `Limit` has a maximum value of `1.024` for this service (unless `D
6111
6174
  }
6112
6175
  }
6113
6176
  CoreManagement.ListUserOrganizationUnitRoles = ListUserOrganizationUnitRoles;
6177
+ /**
6178
+ * Get all personalized promotions for the logged in user or the given user.
6179
+ *
6180
+ * @export
6181
+ * @class ListUserPersonalizedPromotions
6182
+ * @implements {EvaService}
6183
+ */
6184
+ class ListUserPersonalizedPromotions {
6185
+ constructor() {
6186
+ this.name = 'CoreManagement:ListUserPersonalizedPromotions';
6187
+ this.path = '/message/ListUserPersonalizedPromotions';
6188
+ }
6189
+ }
6190
+ CoreManagement.ListUserPersonalizedPromotions = ListUserPersonalizedPromotions;
6114
6191
  /**
6115
6192
  * List the UserRequirementSets.
6116
6193
  *
@@ -6314,6 +6391,25 @@ Also the MessageTemplate `QRCodePrintingTemplate` can be configured in Stencil.
6314
6391
  }
6315
6392
  }
6316
6393
  CoreManagement.PushUserBoughtProduct = PushUserBoughtProduct;
6394
+ /**
6395
+ * The service enables endpoints to push user subscriptions based on the user backend id and subscription backend id.
6396
+ Multiple subscriptions can be pushed at once.
6397
+
6398
+ Additionally, a SubscriptionID and Balance can be provided
6399
+ NOTE THAT Only subscriptions that allow for local storage can be pushed. Subscriptions fully depending on external services cannot be pushed.
6400
+ NOTE THAT Balance can only be provided for loyalty subscriptions that have a EVA loyalty handler.
6401
+ *
6402
+ * @export
6403
+ * @class PushUserSubscription
6404
+ * @implements {EvaService}
6405
+ */
6406
+ class PushUserSubscription {
6407
+ constructor() {
6408
+ this.name = 'CoreManagement:PushUserSubscription';
6409
+ this.path = '/message/PushUserSubscription';
6410
+ }
6411
+ }
6412
+ CoreManagement.PushUserSubscription = PushUserSubscription;
6317
6413
  /**
6318
6414
  * Reallocates the stock for a StockLocationRule with `Type` = `Limitation`.
6319
6415
  *
@@ -6455,19 +6551,19 @@ Also the MessageTemplate `QRCodePrintingTemplate` can be configured in Stencil.
6455
6551
  }
6456
6552
  CoreManagement.SearchStockMutations = SearchStockMutations;
6457
6553
  /**
6458
- * Set selected products for your personalized promotion. Ovewrites existing selection.
6554
+ * Set selected products for personalized promotion for the logged in user or the given user. Ovewrites existing selection.
6459
6555
  *
6460
6556
  * @export
6461
- * @class SelectPersonalizedPromotionProducts
6557
+ * @class SelectUserPersonalizedPromotionProducts
6462
6558
  * @implements {EvaService}
6463
6559
  */
6464
- class SelectPersonalizedPromotionProducts {
6560
+ class SelectUserPersonalizedPromotionProducts {
6465
6561
  constructor() {
6466
- this.name = 'CoreManagement:SelectPersonalizedPromotionProducts';
6467
- this.path = '/message/SelectPersonalizedPromotionProducts';
6562
+ this.name = 'CoreManagement:SelectUserPersonalizedPromotionProducts';
6563
+ this.path = '/message/SelectUserPersonalizedPromotionProducts';
6468
6564
  }
6469
6565
  }
6470
- CoreManagement.SelectPersonalizedPromotionProducts = SelectPersonalizedPromotionProducts;
6566
+ CoreManagement.SelectUserPersonalizedPromotionProducts = SelectUserPersonalizedPromotionProducts;
6471
6567
  /**
6472
6568
  * TODO: Needs documentation
6473
6569
  *
@@ -6661,6 +6757,20 @@ When using this service make sure the `Workforce:AssignEmployeeRights` setting i
6661
6757
  }
6662
6758
  }
6663
6759
  CoreManagement.SetUserRoles = SetUserRoles;
6760
+ /**
6761
+ * Unblock a users subscription.
6762
+ *
6763
+ * @export
6764
+ * @class UnblockUserSubscription
6765
+ * @implements {EvaService}
6766
+ */
6767
+ class UnblockUserSubscription {
6768
+ constructor() {
6769
+ this.name = 'CoreManagement:UnblockUserSubscription';
6770
+ this.path = '/message/UnblockUserSubscription';
6771
+ }
6772
+ }
6773
+ CoreManagement.UnblockUserSubscription = UnblockUserSubscription;
6664
6774
  /**
6665
6775
  * Removes the value for an AppSetting
6666
6776
 
@@ -7998,6 +8108,34 @@ The data for this service can be gotten by first calling DownloadAssortmentProdu
7998
8108
  }
7999
8109
  }
8000
8110
  CoreManagement.UploadCouponExcel = UploadCouponExcel;
8111
+ /**
8112
+ * Upload an excel with coupons.
8113
+ *
8114
+ * @export
8115
+ * @class UploadCouponExcel_Async
8116
+ * @implements {EvaService}
8117
+ */
8118
+ class UploadCouponExcel_Async {
8119
+ constructor() {
8120
+ this.name = 'CoreManagement:UploadCouponExcel_Async';
8121
+ this.path = '/async-message/UploadCouponExcel';
8122
+ }
8123
+ }
8124
+ CoreManagement.UploadCouponExcel_Async = UploadCouponExcel_Async;
8125
+ /**
8126
+ * Upload an excel with coupons.
8127
+ *
8128
+ * @export
8129
+ * @class UploadCouponExcel_AsyncResult
8130
+ * @implements {EvaService}
8131
+ */
8132
+ class UploadCouponExcel_AsyncResult {
8133
+ constructor() {
8134
+ this.name = 'CoreManagement:UploadCouponExcel_AsyncResult';
8135
+ this.path = '/async-result/UploadCouponExcel';
8136
+ }
8137
+ }
8138
+ CoreManagement.UploadCouponExcel_AsyncResult = UploadCouponExcel_AsyncResult;
8001
8139
  /**
8002
8140
  * Upload the Excel based on the sample from `DownloadCustomersSample`.
8003
8141