@springtree/eva-services-core-management 2.18.1 → 2.20.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.
@@ -725,6 +725,24 @@ An example of this might be tips left by a customer.
725
725
  response;
726
726
  }
727
727
  CoreManagement.CreateEmployeeUser = CreateEmployeeUser;
728
+ /**
729
+ * Create endpoint configurations.
730
+
731
+ Endpoint Configurations allow you to configure specific endpoints taht can be used for example for EventExportConfigurations.
732
+
733
+ - Make sure to catch & store the `SecretKey1` and `SecretKey2`, as there will be no other way of retrieving them after this service call!
734
+ *
735
+ * @export
736
+ * @class CreateEndpointConfiguration
737
+ * @implements {EvaService}
738
+ */
739
+ class CreateEndpointConfiguration {
740
+ name = 'CoreManagement:CreateEndpointConfiguration';
741
+ path = '/message/CreateEndpointConfiguration';
742
+ request;
743
+ response;
744
+ }
745
+ CoreManagement.CreateEndpointConfiguration = CreateEndpointConfiguration;
728
746
  /**
729
747
  * Create a new entity field validator
730
748
  *
@@ -924,7 +942,7 @@ This PIN will only be valid for a limited amount of time, and only for the provi
924
942
  }
925
943
  CoreManagement.CreateOpeningHoursType = CreateOpeningHoursType;
926
944
  /**
927
- * Create or update employeedata for a user
945
+ * Create or update a users employee data.
928
946
  *
929
947
  * @export
930
948
  * @class CreateOrUpdateEmployeeData
@@ -1939,7 +1957,7 @@ Name is required
1939
1957
  }
1940
1958
  CoreManagement.DeleteDiscountTemplate = DeleteDiscountTemplate;
1941
1959
  /**
1942
- * Remove employee data for a User. Use this with the UserID instead of the ID (EmployeeData).
1960
+ * Remove a users employee data.
1943
1961
  *
1944
1962
  * @export
1945
1963
  * @class DeleteEmployeeData
@@ -1952,6 +1970,20 @@ Name is required
1952
1970
  response;
1953
1971
  }
1954
1972
  CoreManagement.DeleteEmployeeData = DeleteEmployeeData;
1973
+ /**
1974
+ * Service for deleting a existing `EndpointConfiguration`
1975
+ *
1976
+ * @export
1977
+ * @class DeleteEndpointConfiguration
1978
+ * @implements {EvaService}
1979
+ */
1980
+ class DeleteEndpointConfiguration {
1981
+ name = 'CoreManagement:DeleteEndpointConfiguration';
1982
+ path = '/message/DeleteEndpointConfiguration';
1983
+ request;
1984
+ response;
1985
+ }
1986
+ CoreManagement.DeleteEndpointConfiguration = DeleteEndpointConfiguration;
1955
1987
  /**
1956
1988
  * Delete a entity field validator
1957
1989
  *
@@ -3082,6 +3114,48 @@ File in state processing or processed can't be deleted due to generated financia
3082
3114
  response;
3083
3115
  }
3084
3116
  CoreManagement.DownloadStockAllocationRulesExcel = DownloadStockAllocationRulesExcel;
3117
+ /**
3118
+ * Download an overview of the stock for the specified organization units.
3119
+ *
3120
+ * @export
3121
+ * @class DownloadStockOverview
3122
+ * @implements {EvaService}
3123
+ */
3124
+ class DownloadStockOverview {
3125
+ name = 'CoreManagement:DownloadStockOverview';
3126
+ path = '/message/DownloadStockOverview';
3127
+ request;
3128
+ response;
3129
+ }
3130
+ CoreManagement.DownloadStockOverview = DownloadStockOverview;
3131
+ /**
3132
+ * Download an overview of the stock for the specified organization units.
3133
+ *
3134
+ * @export
3135
+ * @class DownloadStockOverview_Async
3136
+ * @implements {EvaService}
3137
+ */
3138
+ class DownloadStockOverview_Async {
3139
+ name = 'CoreManagement:DownloadStockOverview_Async';
3140
+ path = '/async-message/DownloadStockOverview';
3141
+ request;
3142
+ response;
3143
+ }
3144
+ CoreManagement.DownloadStockOverview_Async = DownloadStockOverview_Async;
3145
+ /**
3146
+ * Download an overview of the stock for the specified organization units.
3147
+ *
3148
+ * @export
3149
+ * @class DownloadStockOverview_AsyncResult
3150
+ * @implements {EvaService}
3151
+ */
3152
+ class DownloadStockOverview_AsyncResult {
3153
+ name = 'CoreManagement:DownloadStockOverview_AsyncResult';
3154
+ path = '/async-result/DownloadStockOverview';
3155
+ request;
3156
+ response;
3157
+ }
3158
+ CoreManagement.DownloadStockOverview_AsyncResult = DownloadStockOverview_AsyncResult;
3085
3159
  /**
3086
3160
  * Download the current supplier products.
3087
3161
  *
@@ -4029,7 +4103,21 @@ At this moment the supported DeviceTypes are:
4029
4103
  }
4030
4104
  CoreManagement.GetDiscountTemplateByID = GetDiscountTemplateByID;
4031
4105
  /**
4032
- * Fetch the employeedata by ID
4106
+ * Fetch a users employee data by `UserID`.
4107
+ *
4108
+ * @export
4109
+ * @class GetEmployeeData
4110
+ * @implements {EvaService}
4111
+ */
4112
+ class GetEmployeeData {
4113
+ name = 'CoreManagement:GetEmployeeData';
4114
+ path = '/message/GetEmployeeData';
4115
+ request;
4116
+ response;
4117
+ }
4118
+ CoreManagement.GetEmployeeData = GetEmployeeData;
4119
+ /**
4120
+ * Fetch a users employee data by `ID`.
4033
4121
  *
4034
4122
  * @export
4035
4123
  * @class GetEmployeeDataByID
@@ -4043,19 +4131,33 @@ At this moment the supported DeviceTypes are:
4043
4131
  }
4044
4132
  CoreManagement.GetEmployeeDataByID = GetEmployeeDataByID;
4045
4133
  /**
4046
- * Fetch the employeedata by UserID
4134
+ * Service for retrieving an existing `EndpointConfiguration`.
4135
+ *
4136
+ * @export
4137
+ * @class GetEndpointConfiguration
4138
+ * @implements {EvaService}
4139
+ */
4140
+ class GetEndpointConfiguration {
4141
+ name = 'CoreManagement:GetEndpointConfiguration';
4142
+ path = '/message/GetEndpointConfiguration';
4143
+ request;
4144
+ response;
4145
+ }
4146
+ CoreManagement.GetEndpointConfiguration = GetEndpointConfiguration;
4147
+ /**
4148
+ * Service for retrieving a list of existing `EndpointConfiguration`'s
4047
4149
  *
4048
4150
  * @export
4049
- * @class GetEmployeeDataByUserID
4151
+ * @class GetEndpointConfigurations
4050
4152
  * @implements {EvaService}
4051
4153
  */
4052
- class GetEmployeeDataByUserID {
4053
- name = 'CoreManagement:GetEmployeeDataByUserID';
4054
- path = '/message/GetEmployeeDataByUserID';
4154
+ class GetEndpointConfigurations {
4155
+ name = 'CoreManagement:GetEndpointConfigurations';
4156
+ path = '/message/GetEndpointConfigurations';
4055
4157
  request;
4056
4158
  response;
4057
4159
  }
4058
- CoreManagement.GetEmployeeDataByUserID = GetEmployeeDataByUserID;
4160
+ CoreManagement.GetEndpointConfigurations = GetEndpointConfigurations;
4059
4161
  /**
4060
4162
  * Get a entity field validator
4061
4163
  *
@@ -4070,6 +4172,20 @@ At this moment the supported DeviceTypes are:
4070
4172
  response;
4071
4173
  }
4072
4174
  CoreManagement.GetEntityFieldValidator = GetEntityFieldValidator;
4175
+ /**
4176
+ * Get all entity field validators for given entity
4177
+ *
4178
+ * @export
4179
+ * @class GetFieldValidatorsForEntity
4180
+ * @implements {EvaService}
4181
+ */
4182
+ class GetFieldValidatorsForEntity {
4183
+ name = 'CoreManagement:GetFieldValidatorsForEntity';
4184
+ path = '/message/GetFieldValidatorsForEntity';
4185
+ request;
4186
+ response;
4187
+ }
4188
+ CoreManagement.GetFieldValidatorsForEntity = GetFieldValidatorsForEntity;
4073
4189
  /**
4074
4190
  * Retrieve the currently assigned functionalities flattened on specified OU.
4075
4191
  *
@@ -5613,7 +5729,7 @@ or to get a specific product in an assortment by filtering on both.
5613
5729
  }
5614
5730
  CoreManagement.ListDiscountUserUsageReloadStrategies = ListDiscountUserUsageReloadStrategies;
5615
5731
  /**
5616
- * List the EmployeeData
5732
+ * List a users employee data.
5617
5733
  *
5618
5734
  * @export
5619
5735
  * @class ListEmployeeDatas
@@ -7180,6 +7296,57 @@ Sub entities will also be created or updated, but will not be removed.
7180
7296
  response;
7181
7297
  }
7182
7298
  CoreManagement.PushLoyaltyProgram_AsyncResult = PushLoyaltyProgram_AsyncResult;
7299
+ /**
7300
+ * Push multiple loyalty programs at once.
7301
+ If a loyalty program doesn't exist it will be created, otherwise it will be updated.
7302
+ Sub entities will also be created or updated, but will not be removed.
7303
+ There is a limit (1000) of loyalty programs that can be pushed a once.
7304
+ *
7305
+ * @export
7306
+ * @class PushLoyaltyPrograms
7307
+ * @implements {EvaService}
7308
+ */
7309
+ class PushLoyaltyPrograms {
7310
+ name = 'CoreManagement:PushLoyaltyPrograms';
7311
+ path = '/message/PushLoyaltyPrograms';
7312
+ request;
7313
+ response;
7314
+ }
7315
+ CoreManagement.PushLoyaltyPrograms = PushLoyaltyPrograms;
7316
+ /**
7317
+ * Push multiple loyalty programs at once.
7318
+ If a loyalty program doesn't exist it will be created, otherwise it will be updated.
7319
+ Sub entities will also be created or updated, but will not be removed.
7320
+ There is a limit (1000) of loyalty programs that can be pushed a once.
7321
+ *
7322
+ * @export
7323
+ * @class PushLoyaltyPrograms_Async
7324
+ * @implements {EvaService}
7325
+ */
7326
+ class PushLoyaltyPrograms_Async {
7327
+ name = 'CoreManagement:PushLoyaltyPrograms_Async';
7328
+ path = '/async-message/PushLoyaltyPrograms';
7329
+ request;
7330
+ response;
7331
+ }
7332
+ CoreManagement.PushLoyaltyPrograms_Async = PushLoyaltyPrograms_Async;
7333
+ /**
7334
+ * Push multiple loyalty programs at once.
7335
+ If a loyalty program doesn't exist it will be created, otherwise it will be updated.
7336
+ Sub entities will also be created or updated, but will not be removed.
7337
+ There is a limit (1000) of loyalty programs that can be pushed a once.
7338
+ *
7339
+ * @export
7340
+ * @class PushLoyaltyPrograms_AsyncResult
7341
+ * @implements {EvaService}
7342
+ */
7343
+ class PushLoyaltyPrograms_AsyncResult {
7344
+ name = 'CoreManagement:PushLoyaltyPrograms_AsyncResult';
7345
+ path = '/async-result/PushLoyaltyPrograms';
7346
+ request;
7347
+ response;
7348
+ }
7349
+ CoreManagement.PushLoyaltyPrograms_AsyncResult = PushLoyaltyPrograms_AsyncResult;
7183
7350
  /**
7184
7351
  * Push user bought product.
7185
7352
  *
@@ -7443,6 +7610,22 @@ The maximum amount of users that can be rebalanced in a single request is 10,000
7443
7610
  response;
7444
7611
  }
7445
7612
  CoreManagement.RemoveRolesFromManualDiscount = RemoveRolesFromManualDiscount;
7613
+ /**
7614
+ * Service for generating a new SecretKey for an `EndpointConfiguration`.
7615
+
7616
+ - Make sure to catch & store the `SecretKey1` or `SecretKey2`, as there will be no other way of retrieving them after this service call!
7617
+ *
7618
+ * @export
7619
+ * @class RotateEndpointConfigurationKey
7620
+ * @implements {EvaService}
7621
+ */
7622
+ class RotateEndpointConfigurationKey {
7623
+ name = 'CoreManagement:RotateEndpointConfigurationKey';
7624
+ path = '/message/RotateEndpointConfigurationKey';
7625
+ request;
7626
+ response;
7627
+ }
7628
+ CoreManagement.RotateEndpointConfigurationKey = RotateEndpointConfigurationKey;
7446
7629
  /**
7447
7630
  * Searches the Discounts with the given filter and returns a paged response.
7448
7631
  *
@@ -8131,6 +8314,20 @@ When the budget is cleared or raised above the current `TotalDiscountGiven`, or
8131
8314
  response;
8132
8315
  }
8133
8316
  CoreManagement.UpdateDiscountTemplate = UpdateDiscountTemplate;
8317
+ /**
8318
+ * Service for updating a existing `EndpointConfiguration`
8319
+ *
8320
+ * @export
8321
+ * @class UpdateEndpointConfiguration
8322
+ * @implements {EvaService}
8323
+ */
8324
+ class UpdateEndpointConfiguration {
8325
+ name = 'CoreManagement:UpdateEndpointConfiguration';
8326
+ path = '/message/UpdateEndpointConfiguration';
8327
+ request;
8328
+ response;
8329
+ }
8330
+ CoreManagement.UpdateEndpointConfiguration = UpdateEndpointConfiguration;
8134
8331
  /**
8135
8332
  * Update a entity field validator
8136
8333
  *