@springtree/eva-services-core-management 2.3.0 → 2.3.2

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.
@@ -14,6 +14,20 @@ export var CoreManagement;
14
14
  response;
15
15
  }
16
16
  CoreManagement.AddBlobToCaseInteraction = AddBlobToCaseInteraction;
17
+ /**
18
+ * Add a price list to a loyalty program. NOTE THAT you can only add one pricelist per currency to a loyalty program.
19
+ *
20
+ * @export
21
+ * @class AddLoyaltyProgramPriceList
22
+ * @implements {EvaService}
23
+ */
24
+ class AddLoyaltyProgramPriceList {
25
+ name = 'CoreManagement:AddLoyaltyProgramPriceList';
26
+ path = '/message/AddLoyaltyProgramPriceList';
27
+ request;
28
+ response;
29
+ }
30
+ CoreManagement.AddLoyaltyProgramPriceList = AddLoyaltyProgramPriceList;
17
31
  /**
18
32
  * Add a package to a carrier
19
33
  *
@@ -199,6 +213,34 @@ But if the list is a mixed product list, all updates will be applied according t
199
213
  response;
200
214
  }
201
215
  CoreManagement.AttachFunctionalitiesToRole = AttachFunctionalitiesToRole;
216
+ /**
217
+ * Attach a product limitation to a payment type.
218
+ *
219
+ * @export
220
+ * @class AttachLoyaltyProgramProductLimitationToPaymentType
221
+ * @implements {EvaService}
222
+ */
223
+ class AttachLoyaltyProgramProductLimitationToPaymentType {
224
+ name = 'CoreManagement:AttachLoyaltyProgramProductLimitationToPaymentType';
225
+ path = '/message/AttachLoyaltyProgramProductLimitationToPaymentType';
226
+ request;
227
+ response;
228
+ }
229
+ CoreManagement.AttachLoyaltyProgramProductLimitationToPaymentType = AttachLoyaltyProgramProductLimitationToPaymentType;
230
+ /**
231
+ * Attach a loyalty program to an order
232
+ *
233
+ * @export
234
+ * @class AttachLoyaltyProgramToOrder
235
+ * @implements {EvaService}
236
+ */
237
+ class AttachLoyaltyProgramToOrder {
238
+ name = 'CoreManagement:AttachLoyaltyProgramToOrder';
239
+ path = '/message/AttachLoyaltyProgramToOrder';
240
+ request;
241
+ response;
242
+ }
243
+ CoreManagement.AttachLoyaltyProgramToOrder = AttachLoyaltyProgramToOrder;
202
244
  /**
203
245
  * Resets the Financial Periods for given OU and all children to which the auditing provider applies. **Use with care!**
204
246
  *
@@ -753,6 +795,62 @@ This PIN will only be valid for a limited amount of time, and only for the provi
753
795
  response;
754
796
  }
755
797
  CoreManagement.CreateLoyaltyProgram = CreateLoyaltyProgram;
798
+ /**
799
+ * Create a new LoyaltyProgramCondition
800
+ *
801
+ * @export
802
+ * @class CreateLoyaltyProgramCondition
803
+ * @implements {EvaService}
804
+ */
805
+ class CreateLoyaltyProgramCondition {
806
+ name = 'CoreManagement:CreateLoyaltyProgramCondition';
807
+ path = '/message/CreateLoyaltyProgramCondition';
808
+ request;
809
+ response;
810
+ }
811
+ CoreManagement.CreateLoyaltyProgramCondition = CreateLoyaltyProgramCondition;
812
+ /**
813
+ * Create a new LoyaltyProgramGroup
814
+ *
815
+ * @export
816
+ * @class CreateLoyaltyProgramGroup
817
+ * @implements {EvaService}
818
+ */
819
+ class CreateLoyaltyProgramGroup {
820
+ name = 'CoreManagement:CreateLoyaltyProgramGroup';
821
+ path = '/message/CreateLoyaltyProgramGroup';
822
+ request;
823
+ response;
824
+ }
825
+ CoreManagement.CreateLoyaltyProgramGroup = CreateLoyaltyProgramGroup;
826
+ /**
827
+ * Create a new LoyaltyProgramPaymentType
828
+ *
829
+ * @export
830
+ * @class CreateLoyaltyProgramPaymentType
831
+ * @implements {EvaService}
832
+ */
833
+ class CreateLoyaltyProgramPaymentType {
834
+ name = 'CoreManagement:CreateLoyaltyProgramPaymentType';
835
+ path = '/message/CreateLoyaltyProgramPaymentType';
836
+ request;
837
+ response;
838
+ }
839
+ CoreManagement.CreateLoyaltyProgramPaymentType = CreateLoyaltyProgramPaymentType;
840
+ /**
841
+ * Create a loyalty program product limitation.
842
+ *
843
+ * @export
844
+ * @class CreateLoyaltyProgramProductLimitation
845
+ * @implements {EvaService}
846
+ */
847
+ class CreateLoyaltyProgramProductLimitation {
848
+ name = 'CoreManagement:CreateLoyaltyProgramProductLimitation';
849
+ path = '/message/CreateLoyaltyProgramProductLimitation';
850
+ request;
851
+ response;
852
+ }
853
+ CoreManagement.CreateLoyaltyProgramProductLimitation = CreateLoyaltyProgramProductLimitation;
756
854
  /**
757
855
  * Create a new MessageTemplate
758
856
  *
@@ -1908,6 +2006,62 @@ Name is required
1908
2006
  response;
1909
2007
  }
1910
2008
  CoreManagement.DeleteLoyaltyProgram = DeleteLoyaltyProgram;
2009
+ /**
2010
+ * Delete a LoyaltyProgramCondition
2011
+ *
2012
+ * @export
2013
+ * @class DeleteLoyaltyProgramCondition
2014
+ * @implements {EvaService}
2015
+ */
2016
+ class DeleteLoyaltyProgramCondition {
2017
+ name = 'CoreManagement:DeleteLoyaltyProgramCondition';
2018
+ path = '/message/DeleteLoyaltyProgramCondition';
2019
+ request;
2020
+ response;
2021
+ }
2022
+ CoreManagement.DeleteLoyaltyProgramCondition = DeleteLoyaltyProgramCondition;
2023
+ /**
2024
+ * Delete the LoyaltyProgramGroup
2025
+ *
2026
+ * @export
2027
+ * @class DeleteLoyaltyProgramGroup
2028
+ * @implements {EvaService}
2029
+ */
2030
+ class DeleteLoyaltyProgramGroup {
2031
+ name = 'CoreManagement:DeleteLoyaltyProgramGroup';
2032
+ path = '/message/DeleteLoyaltyProgramGroup';
2033
+ request;
2034
+ response;
2035
+ }
2036
+ CoreManagement.DeleteLoyaltyProgramGroup = DeleteLoyaltyProgramGroup;
2037
+ /**
2038
+ * Delete a LoyaltyProgramPaymentType
2039
+ *
2040
+ * @export
2041
+ * @class DeleteLoyaltyProgramPaymentType
2042
+ * @implements {EvaService}
2043
+ */
2044
+ class DeleteLoyaltyProgramPaymentType {
2045
+ name = 'CoreManagement:DeleteLoyaltyProgramPaymentType';
2046
+ path = '/message/DeleteLoyaltyProgramPaymentType';
2047
+ request;
2048
+ response;
2049
+ }
2050
+ CoreManagement.DeleteLoyaltyProgramPaymentType = DeleteLoyaltyProgramPaymentType;
2051
+ /**
2052
+ * Delete a loyalty program product limitation.
2053
+ *
2054
+ * @export
2055
+ * @class DeleteLoyaltyProgramProductLimitation
2056
+ * @implements {EvaService}
2057
+ */
2058
+ class DeleteLoyaltyProgramProductLimitation {
2059
+ name = 'CoreManagement:DeleteLoyaltyProgramProductLimitation';
2060
+ path = '/message/DeleteLoyaltyProgramProductLimitation';
2061
+ request;
2062
+ response;
2063
+ }
2064
+ CoreManagement.DeleteLoyaltyProgramProductLimitation = DeleteLoyaltyProgramProductLimitation;
1911
2065
  /**
1912
2066
  * Delete a MessageTemplate
1913
2067
  *
@@ -2660,6 +2814,34 @@ File in state processing or processed can't be deleted due to generated financia
2660
2814
  response;
2661
2815
  }
2662
2816
  CoreManagement.DetachFunctionalitiesFromRole = DetachFunctionalitiesFromRole;
2817
+ /**
2818
+ * Detach a loyalty program from an order
2819
+ *
2820
+ * @export
2821
+ * @class DetachLoyaltyProgramFromOrder
2822
+ * @implements {EvaService}
2823
+ */
2824
+ class DetachLoyaltyProgramFromOrder {
2825
+ name = 'CoreManagement:DetachLoyaltyProgramFromOrder';
2826
+ path = '/message/DetachLoyaltyProgramFromOrder';
2827
+ request;
2828
+ response;
2829
+ }
2830
+ CoreManagement.DetachLoyaltyProgramFromOrder = DetachLoyaltyProgramFromOrder;
2831
+ /**
2832
+ * Detach a product limitation from a payment type.
2833
+ *
2834
+ * @export
2835
+ * @class DetachLoyaltyProgramProductLimitationFromPaymentType
2836
+ * @implements {EvaService}
2837
+ */
2838
+ class DetachLoyaltyProgramProductLimitationFromPaymentType {
2839
+ name = 'CoreManagement:DetachLoyaltyProgramProductLimitationFromPaymentType';
2840
+ path = '/message/DetachLoyaltyProgramProductLimitationFromPaymentType';
2841
+ request;
2842
+ response;
2843
+ }
2844
+ CoreManagement.DetachLoyaltyProgramProductLimitationFromPaymentType = DetachLoyaltyProgramProductLimitationFromPaymentType;
2663
2845
  /**
2664
2846
  * Disable discounts
2665
2847
  *
@@ -3998,6 +4180,34 @@ At this moment the supported DeviceTypes are:
3998
4180
  response;
3999
4181
  }
4000
4182
  CoreManagement.GetLoyaltyProgram = GetLoyaltyProgram;
4183
+ /**
4184
+ * Get a LoyaltyProgramCondition
4185
+ *
4186
+ * @export
4187
+ * @class GetLoyaltyProgramCondition
4188
+ * @implements {EvaService}
4189
+ */
4190
+ class GetLoyaltyProgramCondition {
4191
+ name = 'CoreManagement:GetLoyaltyProgramCondition';
4192
+ path = '/message/GetLoyaltyProgramCondition';
4193
+ request;
4194
+ response;
4195
+ }
4196
+ CoreManagement.GetLoyaltyProgramCondition = GetLoyaltyProgramCondition;
4197
+ /**
4198
+ * Get a LoyaltyProgramGroup
4199
+ *
4200
+ * @export
4201
+ * @class GetLoyaltyProgramGroup
4202
+ * @implements {EvaService}
4203
+ */
4204
+ class GetLoyaltyProgramGroup {
4205
+ name = 'CoreManagement:GetLoyaltyProgramGroup';
4206
+ path = '/message/GetLoyaltyProgramGroup';
4207
+ request;
4208
+ response;
4209
+ }
4210
+ CoreManagement.GetLoyaltyProgramGroup = GetLoyaltyProgramGroup;
4001
4211
  /**
4002
4212
  * Get the available loyalty program handlers
4003
4213
  *
@@ -4012,6 +4222,34 @@ At this moment the supported DeviceTypes are:
4012
4222
  response;
4013
4223
  }
4014
4224
  CoreManagement.GetLoyaltyProgramHandlers = GetLoyaltyProgramHandlers;
4225
+ /**
4226
+ * Get a LoyaltyProgramPaymentType
4227
+ *
4228
+ * @export
4229
+ * @class GetLoyaltyProgramPaymentType
4230
+ * @implements {EvaService}
4231
+ */
4232
+ class GetLoyaltyProgramPaymentType {
4233
+ name = 'CoreManagement:GetLoyaltyProgramPaymentType';
4234
+ path = '/message/GetLoyaltyProgramPaymentType';
4235
+ request;
4236
+ response;
4237
+ }
4238
+ CoreManagement.GetLoyaltyProgramPaymentType = GetLoyaltyProgramPaymentType;
4239
+ /**
4240
+ * Get a loyalty program product limitations
4241
+ *
4242
+ * @export
4243
+ * @class GetLoyaltyProgramProductLimitation
4244
+ * @implements {EvaService}
4245
+ */
4246
+ class GetLoyaltyProgramProductLimitation {
4247
+ name = 'CoreManagement:GetLoyaltyProgramProductLimitation';
4248
+ path = '/message/GetLoyaltyProgramProductLimitation';
4249
+ request;
4250
+ response;
4251
+ }
4252
+ CoreManagement.GetLoyaltyProgramProductLimitation = GetLoyaltyProgramProductLimitation;
4015
4253
  /**
4016
4254
  * Get a MessageTemplate
4017
4255
  *
@@ -5388,6 +5626,90 @@ or to get a specific product in an assortment by filtering on both.
5388
5626
  response;
5389
5627
  }
5390
5628
  CoreManagement.ListInquiries = ListInquiries;
5629
+ /**
5630
+ * Lists all payment types under the Loyalty payment method that aren't already connected to a loyalty program.
5631
+ *
5632
+ * @export
5633
+ * @class ListLoyaltyPaymentMethodTypes
5634
+ * @implements {EvaService}
5635
+ */
5636
+ class ListLoyaltyPaymentMethodTypes {
5637
+ name = 'CoreManagement:ListLoyaltyPaymentMethodTypes';
5638
+ path = '/message/ListLoyaltyPaymentMethodTypes';
5639
+ request;
5640
+ response;
5641
+ }
5642
+ CoreManagement.ListLoyaltyPaymentMethodTypes = ListLoyaltyPaymentMethodTypes;
5643
+ /**
5644
+ * List the LoyaltyProgramCondition
5645
+ *
5646
+ * @export
5647
+ * @class ListLoyaltyProgramConditions
5648
+ * @implements {EvaService}
5649
+ */
5650
+ class ListLoyaltyProgramConditions {
5651
+ name = 'CoreManagement:ListLoyaltyProgramConditions';
5652
+ path = '/message/ListLoyaltyProgramConditions';
5653
+ request;
5654
+ response;
5655
+ }
5656
+ CoreManagement.ListLoyaltyProgramConditions = ListLoyaltyProgramConditions;
5657
+ /**
5658
+ * List the LoyaltyProgramGroups
5659
+ *
5660
+ * @export
5661
+ * @class ListLoyaltyProgramGroups
5662
+ * @implements {EvaService}
5663
+ */
5664
+ class ListLoyaltyProgramGroups {
5665
+ name = 'CoreManagement:ListLoyaltyProgramGroups';
5666
+ path = '/message/ListLoyaltyProgramGroups';
5667
+ request;
5668
+ response;
5669
+ }
5670
+ CoreManagement.ListLoyaltyProgramGroups = ListLoyaltyProgramGroups;
5671
+ /**
5672
+ * List the LoyaltyProgramPaymentType
5673
+ *
5674
+ * @export
5675
+ * @class ListLoyaltyProgramPaymentTypes
5676
+ * @implements {EvaService}
5677
+ */
5678
+ class ListLoyaltyProgramPaymentTypes {
5679
+ name = 'CoreManagement:ListLoyaltyProgramPaymentTypes';
5680
+ path = '/message/ListLoyaltyProgramPaymentTypes';
5681
+ request;
5682
+ response;
5683
+ }
5684
+ CoreManagement.ListLoyaltyProgramPaymentTypes = ListLoyaltyProgramPaymentTypes;
5685
+ /**
5686
+ * List the loyalty program pricelists
5687
+ *
5688
+ * @export
5689
+ * @class ListLoyaltyProgramPriceLists
5690
+ * @implements {EvaService}
5691
+ */
5692
+ class ListLoyaltyProgramPriceLists {
5693
+ name = 'CoreManagement:ListLoyaltyProgramPriceLists';
5694
+ path = '/message/ListLoyaltyProgramPriceLists';
5695
+ request;
5696
+ response;
5697
+ }
5698
+ CoreManagement.ListLoyaltyProgramPriceLists = ListLoyaltyProgramPriceLists;
5699
+ /**
5700
+ * List the loyalty program product limitations
5701
+ *
5702
+ * @export
5703
+ * @class ListLoyaltyProgramProductLimitations
5704
+ * @implements {EvaService}
5705
+ */
5706
+ class ListLoyaltyProgramProductLimitations {
5707
+ name = 'CoreManagement:ListLoyaltyProgramProductLimitations';
5708
+ path = '/message/ListLoyaltyProgramProductLimitations';
5709
+ request;
5710
+ response;
5711
+ }
5712
+ CoreManagement.ListLoyaltyProgramProductLimitations = ListLoyaltyProgramProductLimitations;
5391
5713
  /**
5392
5714
  * List the LoyaltyPrograms
5393
5715
  *
@@ -6486,6 +6808,20 @@ Also the MessageTemplate `QRCodePrintingTemplate` can be configured in Stencil.
6486
6808
  response;
6487
6809
  }
6488
6810
  CoreManagement.PushCase = PushCase;
6811
+ /**
6812
+ * Push a LoyaltyProgram.
6813
+ *
6814
+ * @export
6815
+ * @class PushLoyaltyProgram
6816
+ * @implements {EvaService}
6817
+ */
6818
+ class PushLoyaltyProgram {
6819
+ name = 'CoreManagement:PushLoyaltyProgram';
6820
+ path = '/message/PushLoyaltyProgram';
6821
+ request;
6822
+ response;
6823
+ }
6824
+ CoreManagement.PushLoyaltyProgram = PushLoyaltyProgram;
6489
6825
  /**
6490
6826
  * Push user bought product.
6491
6827
  *
@@ -6603,6 +6939,20 @@ NOTE THAT Balance can only be provided for loyalty subscriptions that have a EVA
6603
6939
  response;
6604
6940
  }
6605
6941
  CoreManagement.RemoveCaseRelatedItems = RemoveCaseRelatedItems;
6942
+ /**
6943
+ * Removes a price list from a loyalty program.
6944
+ *
6945
+ * @export
6946
+ * @class RemoveLoyaltyProgramPriceList
6947
+ * @implements {EvaService}
6948
+ */
6949
+ class RemoveLoyaltyProgramPriceList {
6950
+ name = 'CoreManagement:RemoveLoyaltyProgramPriceList';
6951
+ path = '/message/RemoveLoyaltyProgramPriceList';
6952
+ request;
6953
+ response;
6954
+ }
6955
+ CoreManagement.RemoveLoyaltyProgramPriceList = RemoveLoyaltyProgramPriceList;
6606
6956
  /**
6607
6957
  * Remove a package from a carrier
6608
6958
  *
@@ -7389,6 +7739,103 @@ When the budget is cleared or raised above the current `TotalDiscountGiven`, or
7389
7739
  response;
7390
7740
  }
7391
7741
  CoreManagement.UpdateLoyaltyProgram = UpdateLoyaltyProgram;
7742
+ /**
7743
+ * Update the budget on the loyalty program group.
7744
+ ATTENTION! When the currency is changed, the used budget registration will be reset to 0!
7745
+ When the budget is lowered below the current used budget and the `DeactivateWhenBudgetIsReached` is set to true, all related programs will be deactivated.
7746
+ When the budget is cleared or raised above the current used budget, or `DeactivateWhenBudgetIsReached` is set to false, and the `ReactivateProgramsWhenPossible` is set to true, all programs that were deactivate by the group budget will be reactivated when possible.
7747
+ *
7748
+ * @export
7749
+ * @class UpdateLoyaltyProgramBudget
7750
+ * @implements {EvaService}
7751
+ */
7752
+ class UpdateLoyaltyProgramBudget {
7753
+ name = 'CoreManagement:UpdateLoyaltyProgramBudget';
7754
+ path = '/message/UpdateLoyaltyProgramBudget';
7755
+ request;
7756
+ response;
7757
+ }
7758
+ CoreManagement.UpdateLoyaltyProgramBudget = UpdateLoyaltyProgramBudget;
7759
+ /**
7760
+ * Update an existing LoyaltyProgramCondition
7761
+ *
7762
+ * @export
7763
+ * @class UpdateLoyaltyProgramCondition
7764
+ * @implements {EvaService}
7765
+ */
7766
+ class UpdateLoyaltyProgramCondition {
7767
+ name = 'CoreManagement:UpdateLoyaltyProgramCondition';
7768
+ path = '/message/UpdateLoyaltyProgramCondition';
7769
+ request;
7770
+ response;
7771
+ }
7772
+ CoreManagement.UpdateLoyaltyProgramCondition = UpdateLoyaltyProgramCondition;
7773
+ /**
7774
+ * Update an existing LoyaltyProgramGroup
7775
+
7776
+ ATTENTION!
7777
+ When the currency is changed, the budget usages will be reset to 0!
7778
+
7779
+ ATTENTION!
7780
+ When a change to Status, StartDate, EndDate or Currency leads to the group being deactivated, all related loyalty programs will also be deactivated.
7781
+ When a change to Status, StartDate, EndDate or Currency leads to the group being reactivate, all related loyalty programs will also be reactive when the option ReactivateProgramsWhenPossible is set to true. Otherwise all deactivated programs need to be manually reactivated.
7782
+ *
7783
+ * @export
7784
+ * @class UpdateLoyaltyProgramGroup
7785
+ * @implements {EvaService}
7786
+ */
7787
+ class UpdateLoyaltyProgramGroup {
7788
+ name = 'CoreManagement:UpdateLoyaltyProgramGroup';
7789
+ path = '/message/UpdateLoyaltyProgramGroup';
7790
+ request;
7791
+ response;
7792
+ }
7793
+ CoreManagement.UpdateLoyaltyProgramGroup = UpdateLoyaltyProgramGroup;
7794
+ /**
7795
+ * Update the budget on the loyalty program group.
7796
+ ATTENTION!
7797
+ When the budget is lowered below the current used budget and the `DeactivateWhenBudgetIsReached` is set to true, all related programs will be deactivated.
7798
+ When the budget is cleared or raised above the current used budget, or `DeactivateWhenBudgetIsReached` is set to false, and the `ReactivateProgramsWhenPossible` is set to true, all programs that were deactivate by the group budget will be reactivated when possible.
7799
+ *
7800
+ * @export
7801
+ * @class UpdateLoyaltyProgramGroupBudget
7802
+ * @implements {EvaService}
7803
+ */
7804
+ class UpdateLoyaltyProgramGroupBudget {
7805
+ name = 'CoreManagement:UpdateLoyaltyProgramGroupBudget';
7806
+ path = '/message/UpdateLoyaltyProgramGroupBudget';
7807
+ request;
7808
+ response;
7809
+ }
7810
+ CoreManagement.UpdateLoyaltyProgramGroupBudget = UpdateLoyaltyProgramGroupBudget;
7811
+ /**
7812
+ * Update an existing LoyaltyProgramPaymentType
7813
+ *
7814
+ * @export
7815
+ * @class UpdateLoyaltyProgramPaymentType
7816
+ * @implements {EvaService}
7817
+ */
7818
+ class UpdateLoyaltyProgramPaymentType {
7819
+ name = 'CoreManagement:UpdateLoyaltyProgramPaymentType';
7820
+ path = '/message/UpdateLoyaltyProgramPaymentType';
7821
+ request;
7822
+ response;
7823
+ }
7824
+ CoreManagement.UpdateLoyaltyProgramPaymentType = UpdateLoyaltyProgramPaymentType;
7825
+ /**
7826
+ * Update a loyalty program product limitation.
7827
+ *
7828
+ * @export
7829
+ * @class UpdateLoyaltyProgramProductLimitation
7830
+ * @implements {EvaService}
7831
+ */
7832
+ class UpdateLoyaltyProgramProductLimitation {
7833
+ name = 'CoreManagement:UpdateLoyaltyProgramProductLimitation';
7834
+ path = '/message/UpdateLoyaltyProgramProductLimitation';
7835
+ request;
7836
+ response;
7837
+ }
7838
+ CoreManagement.UpdateLoyaltyProgramProductLimitation = UpdateLoyaltyProgramProductLimitation;
7392
7839
  /**
7393
7840
  * Update an existing MessageTemplate
7394
7841
  *