@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.
@@ -26,6 +26,19 @@ export declare namespace CoreManagement {
26
26
  request?: EVA.Core.Management.AddPackageToCarrier;
27
27
  response?: EVA.Core.EmptyResponseMessage;
28
28
  }
29
+ /**
30
+ * Add personalized promotion products for a user.
31
+ *
32
+ * @export
33
+ * @class AddPersonalizedPromotionsProducts
34
+ * @implements {EvaService}
35
+ */
36
+ class AddPersonalizedPromotionsProducts implements IEvaServiceDefinition {
37
+ name: string;
38
+ path: string;
39
+ request?: EVA.Core.Management.AddPersonalizedPromotionsProducts;
40
+ response?: EVA.Core.EmptyResponseMessage;
41
+ }
29
42
  /**
30
43
  * Adds or updates the given products to the assortment.
31
44
 
@@ -94,6 +107,19 @@ But if the list is a mixed product list, all updates will be applied according t
94
107
  request?: EVA.Core.Management.ArchiveDiscount;
95
108
  response?: EVA.Core.EmptyResponseMessage;
96
109
  }
110
+ /**
111
+ * Archive a personalized promotion.
112
+ *
113
+ * @export
114
+ * @class ArchivePersonalizedPromotion
115
+ * @implements {EvaService}
116
+ */
117
+ class ArchivePersonalizedPromotion implements IEvaServiceDefinition {
118
+ name: string;
119
+ path: string;
120
+ request?: EVA.Core.Management.ArchivePersonalizedPromotion;
121
+ response?: EVA.Core.EmptyResponseMessage;
122
+ }
97
123
  /**
98
124
  * Archive a point awarding rule
99
125
  *
@@ -211,6 +237,19 @@ But if the list is a mixed product list, all updates will be applied according t
211
237
  request?: EVA.Core.Management.AuditingValidateConfiguration;
212
238
  response?: EVA.Core.Management.AuditingConfigurationResponse;
213
239
  }
240
+ /**
241
+ * Block a users subscription without unsubscribing.
242
+ *
243
+ * @export
244
+ * @class BlockUserSubscription
245
+ * @implements {EvaService}
246
+ */
247
+ class BlockUserSubscription implements IEvaServiceDefinition {
248
+ name: string;
249
+ path: string;
250
+ request?: EVA.Core.Management.BlockUserSubscription;
251
+ response?: EVA.Core.EmptyResponseMessage;
252
+ }
214
253
  /**
215
254
  * Removes all unused settings. Set ReportOnly to let this service return all settings that would be deleted.
216
255
  *
@@ -928,6 +967,19 @@ A ShippingMethod, OrganizationUnit and Priority are required
928
967
  request?: EVA.Core.Management.CreatePaymentType;
929
968
  response?: EVA.Core.Management.CreatePaymentTypeResponse;
930
969
  }
970
+ /**
971
+ * Create a new personalized promotion.
972
+ *
973
+ * @export
974
+ * @class CreatePersonalizedPromotion
975
+ * @implements {EvaService}
976
+ */
977
+ class CreatePersonalizedPromotion implements IEvaServiceDefinition {
978
+ name: string;
979
+ path: string;
980
+ request?: EVA.Core.Management.CreatePersonalizedPromotion;
981
+ response?: EVA.Core.Management.CreatePersonalizedPromotionResponse;
982
+ }
931
983
  /**
932
984
  * Create a point awarding rule.
933
985
  *
@@ -1113,7 +1165,7 @@ Optionally adds a record in the ProductUnitOfMeasure conversion table for the su
1113
1165
  response?: EVA.Core.Management.CreateRepairResponse;
1114
1166
  }
1115
1167
  /**
1116
- * Creates a new case interaction associated with a specific repair
1168
+ * Creates a new interaction associated with a specific repair
1117
1169
  *
1118
1170
  * @export
1119
1171
  * @class CreateRepairInteraction
@@ -3809,6 +3861,19 @@ At this moment the supported DeviceTypes are:
3809
3861
  request?: EVA.Core.Management.GetPaymentTypesForFilter;
3810
3862
  response?: EVA.Core.Management.GetPaymentTypesForFilterResponse;
3811
3863
  }
3864
+ /**
3865
+ * Get personalized promotion by its ID.
3866
+ *
3867
+ * @export
3868
+ * @class GetPersonalizedPromotionByID
3869
+ * @implements {EvaService}
3870
+ */
3871
+ class GetPersonalizedPromotionByID implements IEvaServiceDefinition {
3872
+ name: string;
3873
+ path: string;
3874
+ request?: EVA.Core.Management.GetPersonalizedPromotionByID;
3875
+ response?: EVA.Core.Management.GetPersonalizedPromotionByIDResponse;
3876
+ }
3812
3877
  /**
3813
3878
  * Get loyalty point rule.
3814
3879
  *
@@ -4262,6 +4327,19 @@ These handlers are custom build to fetch values for ProductRequirements from ext
4262
4327
  request?: EVA.Core.Management.GetUserOrigins;
4263
4328
  response?: EVA.Core.Management.GetUserOriginsResponse;
4264
4329
  }
4330
+ /**
4331
+ * Get all products for a personalized promotion for the logged in user or the given user.
4332
+ *
4333
+ * @export
4334
+ * @class GetUserPersonalizedPromotionProducts
4335
+ * @implements {EvaService}
4336
+ */
4337
+ class GetUserPersonalizedPromotionProducts implements IEvaServiceDefinition {
4338
+ name: string;
4339
+ path: string;
4340
+ request?: EVA.Core.Management.GetUserPersonalizedPromotionProducts;
4341
+ response?: EVA.Core.Management.GetUserPersonalizedPromotionProductsResponse;
4342
+ }
4265
4343
  /**
4266
4344
  * Get the configured UserRequirements for the current, or given, `OrganizationUnit`.
4267
4345
  *
@@ -5070,6 +5148,26 @@ All available filters are typed in the PageConfig.Filter property.
5070
5148
  request?: EVA.Core.Management.ListPaymentTransactionCaptures;
5071
5149
  response?: EVA.Core.Management.ListPaymentTransactionCapturesResponse;
5072
5150
  }
5151
+ /**
5152
+ * List paymenttransactionssettlements
5153
+
5154
+ Filters available to be sent in the request:
5155
+ - FinancialPeriodID
5156
+ - PaymentReference
5157
+ - MerchantReference
5158
+ - Type
5159
+ - SubType
5160
+ *
5161
+ * @export
5162
+ * @class ListPaymentTransactionSettlements
5163
+ * @implements {EvaService}
5164
+ */
5165
+ class ListPaymentTransactionSettlements implements IEvaServiceDefinition {
5166
+ name: string;
5167
+ path: string;
5168
+ request?: EVA.Core.Management.ListPaymentTransactionSettlements;
5169
+ response?: EVA.Core.Management.ListPaymentTransactionsSettlementsResponse;
5170
+ }
5073
5171
  /**
5074
5172
  * List paymenttransactions
5075
5173
 
@@ -5098,6 +5196,19 @@ All available filters are typed in the PageConfig.Filter property.
5098
5196
  request?: EVA.Core.Management.ListPaymentTypes;
5099
5197
  response?: EVA.Core.Management.ListPaymentTypesResponse;
5100
5198
  }
5199
+ /**
5200
+ * List personalized promotions. Returns a paged response.
5201
+ *
5202
+ * @export
5203
+ * @class ListPersonalizedPromotions
5204
+ * @implements {EvaService}
5205
+ */
5206
+ class ListPersonalizedPromotions implements IEvaServiceDefinition {
5207
+ name: string;
5208
+ path: string;
5209
+ request?: EVA.Core.Management.ListPersonalizedPromotions;
5210
+ response?: EVA.Core.Management.ListPersonalizedPromotionsResponse;
5211
+ }
5101
5212
  /**
5102
5213
  * List loyalty point rules. Returns a paged response.
5103
5214
  *
@@ -5304,6 +5415,19 @@ It is required to supply some OrganizationUnitIDs or some ProductIDs in the Page
5304
5415
  request?: EVA.Core.Management.ListRefundCorrectionReasons;
5305
5416
  response?: EVA.Core.Management.ListRefundCorrectionReasonsResponse;
5306
5417
  }
5418
+ /**
5419
+ * List the repair interactions
5420
+ *
5421
+ * @export
5422
+ * @class ListRepairInteractions
5423
+ * @implements {EvaService}
5424
+ */
5425
+ class ListRepairInteractions implements IEvaServiceDefinition {
5426
+ name: string;
5427
+ path: string;
5428
+ request?: EVA.Core.Management.ListRepairInteractions;
5429
+ response?: EVA.Core.Management.ListRepairInteractionsResponse;
5430
+ }
5307
5431
  /**
5308
5432
  * List Repairs, optionally filtered.
5309
5433
  *
@@ -5594,6 +5718,19 @@ The page size `Limit` has a maximum value of `1.024` for this service (unless `D
5594
5718
  request?: EVA.Core.Management.ListUserOrganizationUnitRoles;
5595
5719
  response?: EVA.Core.Management.ListUserOrganizationUnitRolesResponse;
5596
5720
  }
5721
+ /**
5722
+ * Get all personalized promotions for the logged in user or the given user.
5723
+ *
5724
+ * @export
5725
+ * @class ListUserPersonalizedPromotions
5726
+ * @implements {EvaService}
5727
+ */
5728
+ class ListUserPersonalizedPromotions implements IEvaServiceDefinition {
5729
+ name: string;
5730
+ path: string;
5731
+ request?: EVA.Core.Management.ListUserPersonalizedPromotions;
5732
+ response?: EVA.Core.Management.ListUserPersonalizedPromotionsResponse;
5733
+ }
5597
5734
  /**
5598
5735
  * List the UserRequirementSets.
5599
5736
  *
@@ -5783,6 +5920,24 @@ Also the MessageTemplate `QRCodePrintingTemplate` can be configured in Stencil.
5783
5920
  request?: EVA.Core.Management.PushUserBoughtProduct;
5784
5921
  response?: EVA.Core.EmptyResponseMessage;
5785
5922
  }
5923
+ /**
5924
+ * The service enables endpoints to push user subscriptions based on the user backend id and subscription backend id.
5925
+ Multiple subscriptions can be pushed at once.
5926
+
5927
+ Additionally, a SubscriptionID and Balance can be provided
5928
+ NOTE THAT Only subscriptions that allow for local storage can be pushed. Subscriptions fully depending on external services cannot be pushed.
5929
+ NOTE THAT Balance can only be provided for loyalty subscriptions that have a EVA loyalty handler.
5930
+ *
5931
+ * @export
5932
+ * @class PushUserSubscription
5933
+ * @implements {EvaService}
5934
+ */
5935
+ class PushUserSubscription implements IEvaServiceDefinition {
5936
+ name: string;
5937
+ path: string;
5938
+ request?: EVA.Core.Management.PushUserSubscription;
5939
+ response?: EVA.Core.EmptyResponseMessage;
5940
+ }
5786
5941
  /**
5787
5942
  * Reallocates the stock for a StockLocationRule with `Type` = `Limitation`.
5788
5943
  *
@@ -5848,6 +6003,19 @@ Also the MessageTemplate `QRCodePrintingTemplate` can be configured in Stencil.
5848
6003
  request?: EVA.Core.Management.RemovePackageFromCarrier;
5849
6004
  response?: EVA.Core.EmptyResponseMessage;
5850
6005
  }
6006
+ /**
6007
+ * Remove personalized promotion products attached to a user. Either ProductIDs or RemoveAll is required.
6008
+ *
6009
+ * @export
6010
+ * @class RemovePersonalizedPromotionProducts
6011
+ * @implements {EvaService}
6012
+ */
6013
+ class RemovePersonalizedPromotionProducts implements IEvaServiceDefinition {
6014
+ name: string;
6015
+ path: string;
6016
+ request?: EVA.Core.Management.RemovePersonalizedPromotionProducts;
6017
+ response?: EVA.Core.EmptyResponseMessage;
6018
+ }
5851
6019
  /**
5852
6020
  * Removes products from an assortment. When the product is not part of the assortment an error is returned.
5853
6021
  *
@@ -5900,6 +6068,19 @@ Also the MessageTemplate `QRCodePrintingTemplate` can be configured in Stencil.
5900
6068
  request?: EVA.Core.Management.SearchStockMutations;
5901
6069
  response?: EVA.Core.Management.SearchStockMutationsResponse;
5902
6070
  }
6071
+ /**
6072
+ * Set selected products for personalized promotion for the logged in user or the given user. Ovewrites existing selection.
6073
+ *
6074
+ * @export
6075
+ * @class SelectUserPersonalizedPromotionProducts
6076
+ * @implements {EvaService}
6077
+ */
6078
+ class SelectUserPersonalizedPromotionProducts implements IEvaServiceDefinition {
6079
+ name: string;
6080
+ path: string;
6081
+ request?: EVA.Core.Management.SelectUserPersonalizedPromotionProducts;
6082
+ response?: EVA.Core.EmptyResponseMessage;
6083
+ }
5903
6084
  /**
5904
6085
  * TODO: Needs documentation
5905
6086
  *
@@ -6081,6 +6262,19 @@ When using this service make sure the `Workforce:AssignEmployeeRights` setting i
6081
6262
  request?: EVA.Core.Management.SetUserRoles;
6082
6263
  response?: EVA.Core.EmptyResponseMessage;
6083
6264
  }
6265
+ /**
6266
+ * Unblock a users subscription.
6267
+ *
6268
+ * @export
6269
+ * @class UnblockUserSubscription
6270
+ * @implements {EvaService}
6271
+ */
6272
+ class UnblockUserSubscription implements IEvaServiceDefinition {
6273
+ name: string;
6274
+ path: string;
6275
+ request?: EVA.Core.Management.UnblockUserSubscription;
6276
+ response?: EVA.Core.EmptyResponseMessage;
6277
+ }
6084
6278
  /**
6085
6279
  * Removes the value for an AppSetting
6086
6280
 
@@ -6749,6 +6943,19 @@ A ShippingMethod, OrganizationUnit and Priority are required
6749
6943
  request?: EVA.Core.Management.UpdatePaymentType;
6750
6944
  response?: EVA.Core.EmptyResponseMessage;
6751
6945
  }
6946
+ /**
6947
+ * Update an existing personalized promotion.
6948
+ *
6949
+ * @export
6950
+ * @class UpdatePersonalizedPromotion
6951
+ * @implements {EvaService}
6952
+ */
6953
+ class UpdatePersonalizedPromotion implements IEvaServiceDefinition {
6954
+ name: string;
6955
+ path: string;
6956
+ request?: EVA.Core.Management.UpdatePersonalizedPromotion;
6957
+ response?: EVA.Core.EmptyResponseMessage;
6958
+ }
6752
6959
  /**
6753
6960
  * Update a point awarding rule
6754
6961
  *