@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.
@@ -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
  *
@@ -2867,6 +2897,45 @@ File in state processing or processed can't be deleted due to generated financia
2867
2897
  request?: EVA.Core.Management.DownloadStockAllocationRulesExcel;
2868
2898
  response?: EVA.Core.ResourceResponseMessage;
2869
2899
  }
2900
+ /**
2901
+ * Download an overview of the stock for the specified organization units.
2902
+ *
2903
+ * @export
2904
+ * @class DownloadStockOverview
2905
+ * @implements {EvaService}
2906
+ */
2907
+ class DownloadStockOverview implements IEvaServiceDefinition {
2908
+ name: string;
2909
+ path: string;
2910
+ request?: EVA.Core.Management.DownloadStockOverview;
2911
+ response?: EVA.Core.ResourceWithBlobIDResponseMessage;
2912
+ }
2913
+ /**
2914
+ * Download an overview of the stock for the specified organization units.
2915
+ *
2916
+ * @export
2917
+ * @class DownloadStockOverview_Async
2918
+ * @implements {EvaService}
2919
+ */
2920
+ class DownloadStockOverview_Async implements IEvaServiceDefinition {
2921
+ name: string;
2922
+ path: string;
2923
+ request?: EVA.Core.Management.DownloadStockOverview;
2924
+ response?: EVA.Core.AsyncRequestResponse;
2925
+ }
2926
+ /**
2927
+ * Download an overview of the stock for the specified organization units.
2928
+ *
2929
+ * @export
2930
+ * @class DownloadStockOverview_AsyncResult
2931
+ * @implements {EvaService}
2932
+ */
2933
+ class DownloadStockOverview_AsyncResult implements IEvaServiceDefinition {
2934
+ name: string;
2935
+ path: string;
2936
+ request?: EVA.Core.AsyncRequestResultRequest;
2937
+ response?: EVA.Core.ResourceWithBlobIDResponseMessage;
2938
+ }
2870
2939
  /**
2871
2940
  * Download the current supplier products.
2872
2941
  *
@@ -3747,7 +3816,20 @@ At this moment the supported DeviceTypes are:
3747
3816
  response?: EVA.Core.Management.GetDiscountTemplateByIDResponse;
3748
3817
  }
3749
3818
  /**
3750
- * 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`.
3751
3833
  *
3752
3834
  * @export
3753
3835
  * @class GetEmployeeDataByID
@@ -3757,20 +3839,33 @@ At this moment the supported DeviceTypes are:
3757
3839
  name: string;
3758
3840
  path: string;
3759
3841
  request?: EVA.Core.Management.GetEmployeeDataByID;
3760
- response?: EVA.Core.Management.GetEmployeeDataByIDResponse;
3842
+ response?: EVA.Core.Management.GetEmployeeDataResponse;
3843
+ }
3844
+ /**
3845
+ * Service for retrieving an existing `EndpointConfiguration`.
3846
+ *
3847
+ * @export
3848
+ * @class GetEndpointConfiguration
3849
+ * @implements {EvaService}
3850
+ */
3851
+ class GetEndpointConfiguration implements IEvaServiceDefinition {
3852
+ name: string;
3853
+ path: string;
3854
+ request?: EVA.Core.Management.GetEndpointConfiguration;
3855
+ response?: EVA.Core.Management.GetEndpointConfigurationResponse;
3761
3856
  }
3762
3857
  /**
3763
- * Fetch the employeedata by UserID
3858
+ * Service for retrieving a list of existing `EndpointConfiguration`'s
3764
3859
  *
3765
3860
  * @export
3766
- * @class GetEmployeeDataByUserID
3861
+ * @class GetEndpointConfigurations
3767
3862
  * @implements {EvaService}
3768
3863
  */
3769
- class GetEmployeeDataByUserID implements IEvaServiceDefinition {
3864
+ class GetEndpointConfigurations implements IEvaServiceDefinition {
3770
3865
  name: string;
3771
3866
  path: string;
3772
- request?: EVA.Core.Management.GetEmployeeDataByUserID;
3773
- response?: EVA.Core.Management.GetEmployeeDataByIDResponse;
3867
+ request?: EVA.Core.Management.GetEndpointConfigurations;
3868
+ response?: EVA.Core.Management.GetEndpointConfigurationsResponse;
3774
3869
  }
3775
3870
  /**
3776
3871
  * Get a entity field validator
@@ -3785,6 +3880,19 @@ At this moment the supported DeviceTypes are:
3785
3880
  request?: EVA.Core.Management.GetEntityFieldValidator;
3786
3881
  response?: EVA.Core.Management.GetEntityFieldValidatorResponse;
3787
3882
  }
3883
+ /**
3884
+ * Get all entity field validators for given entity
3885
+ *
3886
+ * @export
3887
+ * @class GetFieldValidatorsForEntity
3888
+ * @implements {EvaService}
3889
+ */
3890
+ class GetFieldValidatorsForEntity implements IEvaServiceDefinition {
3891
+ name: string;
3892
+ path: string;
3893
+ request?: EVA.Core.Management.GetFieldValidatorsForEntity;
3894
+ response?: EVA.Core.Management.GetFieldValidatorsForEntityResponse;
3895
+ }
3788
3896
  /**
3789
3897
  * Retrieve the currently assigned functionalities flattened on specified OU.
3790
3898
  *
@@ -5219,7 +5327,7 @@ or to get a specific product in an assortment by filtering on both.
5219
5327
  response?: EVA.Core.Management.ListDiscountUserUsageReloadStrategiesResponse;
5220
5328
  }
5221
5329
  /**
5222
- * List the EmployeeData
5330
+ * List a users employee data.
5223
5331
  *
5224
5332
  * @export
5225
5333
  * @class ListEmployeeDatas
@@ -6683,6 +6791,54 @@ Sub entities will also be created or updated, but will not be removed.
6683
6791
  request?: EVA.Core.AsyncRequestResultRequest;
6684
6792
  response?: EVA.Core.Management.PushLoyaltyProgramResponse;
6685
6793
  }
6794
+ /**
6795
+ * Push multiple loyalty programs at once.
6796
+ If a loyalty program doesn't exist it will be created, otherwise it will be updated.
6797
+ Sub entities will also be created or updated, but will not be removed.
6798
+ There is a limit (1000) of loyalty programs that can be pushed a once.
6799
+ *
6800
+ * @export
6801
+ * @class PushLoyaltyPrograms
6802
+ * @implements {EvaService}
6803
+ */
6804
+ class PushLoyaltyPrograms implements IEvaServiceDefinition {
6805
+ name: string;
6806
+ path: string;
6807
+ request?: EVA.Core.Management.PushLoyaltyPrograms;
6808
+ response?: EVA.Core.Management.PushLoyaltyProgramsResponse;
6809
+ }
6810
+ /**
6811
+ * Push multiple loyalty programs at once.
6812
+ If a loyalty program doesn't exist it will be created, otherwise it will be updated.
6813
+ Sub entities will also be created or updated, but will not be removed.
6814
+ There is a limit (1000) of loyalty programs that can be pushed a once.
6815
+ *
6816
+ * @export
6817
+ * @class PushLoyaltyPrograms_Async
6818
+ * @implements {EvaService}
6819
+ */
6820
+ class PushLoyaltyPrograms_Async implements IEvaServiceDefinition {
6821
+ name: string;
6822
+ path: string;
6823
+ request?: EVA.Core.Management.PushLoyaltyPrograms;
6824
+ response?: EVA.Core.AsyncRequestResponse;
6825
+ }
6826
+ /**
6827
+ * Push multiple loyalty programs at once.
6828
+ If a loyalty program doesn't exist it will be created, otherwise it will be updated.
6829
+ Sub entities will also be created or updated, but will not be removed.
6830
+ There is a limit (1000) of loyalty programs that can be pushed a once.
6831
+ *
6832
+ * @export
6833
+ * @class PushLoyaltyPrograms_AsyncResult
6834
+ * @implements {EvaService}
6835
+ */
6836
+ class PushLoyaltyPrograms_AsyncResult implements IEvaServiceDefinition {
6837
+ name: string;
6838
+ path: string;
6839
+ request?: EVA.Core.AsyncRequestResultRequest;
6840
+ response?: EVA.Core.Management.PushLoyaltyProgramsResponse;
6841
+ }
6686
6842
  /**
6687
6843
  * Push user bought product.
6688
6844
  *
@@ -6928,6 +7084,21 @@ The maximum amount of users that can be rebalanced in a single request is 10,000
6928
7084
  request?: EVA.Core.Management.RemoveRolesFromManualDiscount;
6929
7085
  response?: EVA.Core.EmptyResponseMessage;
6930
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
+ }
6931
7102
  /**
6932
7103
  * Searches the Discounts with the given filter and returns a paged response.
6933
7104
  *
@@ -7569,6 +7740,19 @@ When the budget is cleared or raised above the current `TotalDiscountGiven`, or
7569
7740
  request?: EVA.Core.Management.UpdateDiscountTemplate;
7570
7741
  response?: EVA.Core.EmptyResponseMessage;
7571
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
+ }
7572
7756
  /**
7573
7757
  * Update a entity field validator
7574
7758
  *