@springtree/eva-services-core-management 1.93.0 → 1.95.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.
@@ -2514,6 +2514,19 @@ File in state processing or processed can't be deleted due to generated financia
2514
2514
  request?: EVA.Core.Management.DownloadAssortmentProducts;
2515
2515
  response?: EVA.Core.ResourceResponseMessage;
2516
2516
  }
2517
+ /**
2518
+ * Exports the coupons for the given discount to Excel.
2519
+ *
2520
+ * @export
2521
+ * @class DownloadCouponExcel
2522
+ * @implements {EvaService}
2523
+ */
2524
+ class DownloadCouponExcel implements IEvaServiceDefinition {
2525
+ name: string;
2526
+ path: string;
2527
+ request?: EVA.Core.Management.DownloadCouponExcel;
2528
+ response?: EVA.Core.ResourceWithBlobIDResponseMessage;
2529
+ }
2517
2530
  /**
2518
2531
  * Download template to upload an excel with coupons.
2519
2532
  *
@@ -2527,6 +2540,32 @@ File in state processing or processed can't be deleted due to generated financia
2527
2540
  request?: EVA.Core.Management.DownloadCouponExcelTemplate;
2528
2541
  response?: EVA.Core.ResourceWithBlobIDResponseMessage;
2529
2542
  }
2543
+ /**
2544
+ * Exports the coupons for the given discount to Excel.
2545
+ *
2546
+ * @export
2547
+ * @class DownloadCouponExcel_Async
2548
+ * @implements {EvaService}
2549
+ */
2550
+ class DownloadCouponExcel_Async implements IEvaServiceDefinition {
2551
+ name: string;
2552
+ path: string;
2553
+ request?: EVA.Core.Management.DownloadCouponExcel;
2554
+ response?: EVA.Core.AsyncRequestResponse;
2555
+ }
2556
+ /**
2557
+ * Exports the coupons for the given discount to Excel.
2558
+ *
2559
+ * @export
2560
+ * @class DownloadCouponExcel_AsyncResult
2561
+ * @implements {EvaService}
2562
+ */
2563
+ class DownloadCouponExcel_AsyncResult implements IEvaServiceDefinition {
2564
+ name: string;
2565
+ path: string;
2566
+ request?: EVA.Core.AsyncRequestResultRequest;
2567
+ response?: EVA.Core.ResourceWithBlobIDResponseMessage;
2568
+ }
2530
2569
  /**
2531
2570
  * Download an Excel sample which can be filled with customers. The populated excel can be uploaded through the `UploadCustomers` service.
2532
2571
  *
@@ -5888,6 +5927,36 @@ Language is required, Country is optional.
5888
5927
  request?: EVA.Core.Management.LocalizeOpenCashDrawerReason;
5889
5928
  response?: EVA.Core.EmptyResponseMessage;
5890
5929
  }
5930
+ /**
5931
+ * Check or perform the migration for setting `PaymentMethods:PaymentTypeAvailabilityByOuSetType`.
5932
+
5933
+ Omitting `SaveChanges` will default to `false`, returning the changes it would have done, but don't actually persist them. Pass `true` explicitly if you want to actually migrate (use with caution!).
5934
+
5935
+ The payment type property `OrganizationUnitSetID` is hence-forth known as 'the legacy filter', where as the configured list of `OrganizationUnitSetPaymentType` is called 'the sets' or 'a set'.
5936
+
5937
+ Will execute for each active payment type;
5938
+
5939
+ - If it has no legacy filter configured, will remove any set that might be configured for this payment type
5940
+ - If it *has* a legacy filter configured;
5941
+ - This legacy filter will be removed
5942
+ - If there is no matching set configured, it will add it
5943
+ - If there is a matching set configured but it is limited (disabled for delivery etc.), those limitations will be lifted
5944
+ - If there are any other set configured, those will be removed
5945
+
5946
+ And finally, the setting will be enabled on root level.
5947
+
5948
+ This migration will not run if the setting is already set (at any level!).
5949
+ *
5950
+ * @export
5951
+ * @class MigratePaymentTypeOrganizationUnitSetting
5952
+ * @implements {EvaService}
5953
+ */
5954
+ class MigratePaymentTypeOrganizationUnitSetting implements IEvaServiceDefinition {
5955
+ name: string;
5956
+ path: string;
5957
+ request?: EVA.Core.Management.MigratePaymentTypeOrganizationUnitSetting;
5958
+ response?: EVA.Core.Management.MigratePaymentTypeOrganizationUnitSettingResponse;
5959
+ }
5891
5960
  /**
5892
5961
  * Move an existing DiscountLayer to a new postion.
5893
5962