@springtree/eva-services-core-management 2.19.0 → 2.20.1

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.
@@ -674,6 +674,23 @@ An example of this might be tips left by a customer.
674
674
  request?: EVA.Core.Management.CreateEmployeeUser;
675
675
  response?: EVA.Core.Management.CreateEmployeeUserResponse;
676
676
  }
677
+ /**
678
+ * Create endpoint configurations.
679
+
680
+ Endpoint Configurations allow you to configure specific endpoints taht can be used for example for EventExportConfigurations.
681
+
682
+ - Make sure to catch & store the `SecretKey1` and `SecretKey2`, as there will be no other way of retrieving them after this service call!
683
+ *
684
+ * @export
685
+ * @class CreateEndpointConfiguration
686
+ * @implements {EvaService}
687
+ */
688
+ class CreateEndpointConfiguration implements IEvaServiceDefinition {
689
+ name: string;
690
+ path: string;
691
+ request?: EVA.Core.Management.CreateEndpointConfiguration;
692
+ response?: EVA.Core.Management.CreateEndpointConfigurationResponse;
693
+ }
677
694
  /**
678
695
  * Create a new entity field validator
679
696
  *
@@ -859,7 +876,7 @@ This PIN will only be valid for a limited amount of time, and only for the provi
859
876
  response?: EVA.Core.Management.CreateOpeningHoursTypeResponse;
860
877
  }
861
878
  /**
862
- * Create or update employeedata for a user
879
+ * Create or update a users employee data.
863
880
  *
864
881
  * @export
865
882
  * @class CreateOrUpdateEmployeeData
@@ -1805,7 +1822,7 @@ Name is required
1805
1822
  response?: EVA.Core.EmptyResponseMessage;
1806
1823
  }
1807
1824
  /**
1808
- * Remove employee data for a User. Use this with the UserID instead of the ID (EmployeeData).
1825
+ * Remove a users employee data.
1809
1826
  *
1810
1827
  * @export
1811
1828
  * @class DeleteEmployeeData
@@ -1817,6 +1834,19 @@ Name is required
1817
1834
  request?: EVA.Core.Management.DeleteEmployeeData;
1818
1835
  response?: EVA.Core.EmptyResponseMessage;
1819
1836
  }
1837
+ /**
1838
+ * Service for deleting a existing `EndpointConfiguration`
1839
+ *
1840
+ * @export
1841
+ * @class DeleteEndpointConfiguration
1842
+ * @implements {EvaService}
1843
+ */
1844
+ class DeleteEndpointConfiguration implements IEvaServiceDefinition {
1845
+ name: string;
1846
+ path: string;
1847
+ request?: EVA.Core.Management.DeleteEndpointConfiguration;
1848
+ response?: EVA.Core.EmptyResponseMessage;
1849
+ }
1820
1850
  /**
1821
1851
  * Delete a entity field validator
1822
1852
  *
@@ -3786,7 +3816,20 @@ At this moment the supported DeviceTypes are:
3786
3816
  response?: EVA.Core.Management.GetDiscountTemplateByIDResponse;
3787
3817
  }
3788
3818
  /**
3789
- * Fetch the employeedata by ID
3819
+ * Fetch a users employee data by `UserID`.
3820
+ *
3821
+ * @export
3822
+ * @class GetEmployeeData
3823
+ * @implements {EvaService}
3824
+ */
3825
+ class GetEmployeeData implements IEvaServiceDefinition {
3826
+ name: string;
3827
+ path: string;
3828
+ request?: EVA.Core.Management.GetEmployeeData;
3829
+ response?: EVA.Core.Management.GetEmployeeDataResponse;
3830
+ }
3831
+ /**
3832
+ * Fetch a users employee data by `ID`.
3790
3833
  *
3791
3834
  * @export
3792
3835
  * @class GetEmployeeDataByID
@@ -3796,20 +3839,33 @@ At this moment the supported DeviceTypes are:
3796
3839
  name: string;
3797
3840
  path: string;
3798
3841
  request?: EVA.Core.Management.GetEmployeeDataByID;
3799
- response?: EVA.Core.Management.GetEmployeeDataByIDResponse;
3842
+ response?: EVA.Core.Management.GetEmployeeDataResponse;
3800
3843
  }
3801
3844
  /**
3802
- * Fetch the employeedata by UserID
3845
+ * Service for retrieving an existing `EndpointConfiguration`.
3803
3846
  *
3804
3847
  * @export
3805
- * @class GetEmployeeDataByUserID
3848
+ * @class GetEndpointConfiguration
3806
3849
  * @implements {EvaService}
3807
3850
  */
3808
- class GetEmployeeDataByUserID implements IEvaServiceDefinition {
3851
+ class GetEndpointConfiguration implements IEvaServiceDefinition {
3809
3852
  name: string;
3810
3853
  path: string;
3811
- request?: EVA.Core.Management.GetEmployeeDataByUserID;
3812
- response?: EVA.Core.Management.GetEmployeeDataByIDResponse;
3854
+ request?: EVA.Core.Management.GetEndpointConfiguration;
3855
+ response?: EVA.Core.Management.GetEndpointConfigurationResponse;
3856
+ }
3857
+ /**
3858
+ * Service for retrieving a list of existing `EndpointConfiguration`'s
3859
+ *
3860
+ * @export
3861
+ * @class GetEndpointConfigurations
3862
+ * @implements {EvaService}
3863
+ */
3864
+ class GetEndpointConfigurations implements IEvaServiceDefinition {
3865
+ name: string;
3866
+ path: string;
3867
+ request?: EVA.Core.Management.GetEndpointConfigurations;
3868
+ response?: EVA.Core.Management.GetEndpointConfigurationsResponse;
3813
3869
  }
3814
3870
  /**
3815
3871
  * Get a entity field validator
@@ -5271,7 +5327,7 @@ or to get a specific product in an assortment by filtering on both.
5271
5327
  response?: EVA.Core.Management.ListDiscountUserUsageReloadStrategiesResponse;
5272
5328
  }
5273
5329
  /**
5274
- * List the EmployeeData
5330
+ * List a users employee data.
5275
5331
  *
5276
5332
  * @export
5277
5333
  * @class ListEmployeeDatas
@@ -7028,6 +7084,21 @@ The maximum amount of users that can be rebalanced in a single request is 10,000
7028
7084
  request?: EVA.Core.Management.RemoveRolesFromManualDiscount;
7029
7085
  response?: EVA.Core.EmptyResponseMessage;
7030
7086
  }
7087
+ /**
7088
+ * Service for generating a new SecretKey for an `EndpointConfiguration`.
7089
+
7090
+ - Make sure to catch & store the `SecretKey1` or `SecretKey2`, as there will be no other way of retrieving them after this service call!
7091
+ *
7092
+ * @export
7093
+ * @class RotateEndpointConfigurationKey
7094
+ * @implements {EvaService}
7095
+ */
7096
+ class RotateEndpointConfigurationKey implements IEvaServiceDefinition {
7097
+ name: string;
7098
+ path: string;
7099
+ request?: EVA.Core.Management.RotateEndpointConfigurationKey;
7100
+ response?: EVA.Core.Management.RotateEndpointConfigurationKeyResponse;
7101
+ }
7031
7102
  /**
7032
7103
  * Searches the Discounts with the given filter and returns a paged response.
7033
7104
  *
@@ -7669,6 +7740,19 @@ When the budget is cleared or raised above the current `TotalDiscountGiven`, or
7669
7740
  request?: EVA.Core.Management.UpdateDiscountTemplate;
7670
7741
  response?: EVA.Core.EmptyResponseMessage;
7671
7742
  }
7743
+ /**
7744
+ * Service for updating a existing `EndpointConfiguration`
7745
+ *
7746
+ * @export
7747
+ * @class UpdateEndpointConfiguration
7748
+ * @implements {EvaService}
7749
+ */
7750
+ class UpdateEndpointConfiguration implements IEvaServiceDefinition {
7751
+ name: string;
7752
+ path: string;
7753
+ request?: EVA.Core.Management.UpdateEndpointConfiguration;
7754
+ response?: EVA.Core.EmptyResponseMessage;
7755
+ }
7672
7756
  /**
7673
7757
  * Update a entity field validator
7674
7758
  *