@springtree/eva-services-core-management 2.19.0 → 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
  *
@@ -4071,7 +4103,21 @@ At this moment the supported DeviceTypes are:
4071
4103
  }
4072
4104
  CoreManagement.GetDiscountTemplateByID = GetDiscountTemplateByID;
4073
4105
  /**
4074
- * 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`.
4075
4121
  *
4076
4122
  * @export
4077
4123
  * @class GetEmployeeDataByID
@@ -4085,19 +4131,33 @@ At this moment the supported DeviceTypes are:
4085
4131
  }
4086
4132
  CoreManagement.GetEmployeeDataByID = GetEmployeeDataByID;
4087
4133
  /**
4088
- * Fetch the employeedata by UserID
4134
+ * Service for retrieving an existing `EndpointConfiguration`.
4089
4135
  *
4090
4136
  * @export
4091
- * @class GetEmployeeDataByUserID
4137
+ * @class GetEndpointConfiguration
4092
4138
  * @implements {EvaService}
4093
4139
  */
4094
- class GetEmployeeDataByUserID {
4095
- name = 'CoreManagement:GetEmployeeDataByUserID';
4096
- path = '/message/GetEmployeeDataByUserID';
4140
+ class GetEndpointConfiguration {
4141
+ name = 'CoreManagement:GetEndpointConfiguration';
4142
+ path = '/message/GetEndpointConfiguration';
4097
4143
  request;
4098
4144
  response;
4099
4145
  }
4100
- CoreManagement.GetEmployeeDataByUserID = GetEmployeeDataByUserID;
4146
+ CoreManagement.GetEndpointConfiguration = GetEndpointConfiguration;
4147
+ /**
4148
+ * Service for retrieving a list of existing `EndpointConfiguration`'s
4149
+ *
4150
+ * @export
4151
+ * @class GetEndpointConfigurations
4152
+ * @implements {EvaService}
4153
+ */
4154
+ class GetEndpointConfigurations {
4155
+ name = 'CoreManagement:GetEndpointConfigurations';
4156
+ path = '/message/GetEndpointConfigurations';
4157
+ request;
4158
+ response;
4159
+ }
4160
+ CoreManagement.GetEndpointConfigurations = GetEndpointConfigurations;
4101
4161
  /**
4102
4162
  * Get a entity field validator
4103
4163
  *
@@ -5669,7 +5729,7 @@ or to get a specific product in an assortment by filtering on both.
5669
5729
  }
5670
5730
  CoreManagement.ListDiscountUserUsageReloadStrategies = ListDiscountUserUsageReloadStrategies;
5671
5731
  /**
5672
- * List the EmployeeData
5732
+ * List a users employee data.
5673
5733
  *
5674
5734
  * @export
5675
5735
  * @class ListEmployeeDatas
@@ -7550,6 +7610,22 @@ The maximum amount of users that can be rebalanced in a single request is 10,000
7550
7610
  response;
7551
7611
  }
7552
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;
7553
7629
  /**
7554
7630
  * Searches the Discounts with the given filter and returns a paged response.
7555
7631
  *
@@ -8238,6 +8314,20 @@ When the budget is cleared or raised above the current `TotalDiscountGiven`, or
8238
8314
  response;
8239
8315
  }
8240
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;
8241
8331
  /**
8242
8332
  * Update a entity field validator
8243
8333
  *