@springtree/eva-services-core-management 1.94.0 → 1.96.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.
@@ -147,7 +147,7 @@ But if the list is a mixed product list, all updates will be applied according t
147
147
  response?: EVA.Core.EmptyResponseMessage;
148
148
  }
149
149
  /**
150
- * Get all OrganizationUnits that are connected to the Assortment
150
+ * Attach an assortment to specified organization units or -set
151
151
  *
152
152
  * @export
153
153
  * @class AttachAssortmentToOrganizationUnit
@@ -5927,6 +5927,36 @@ Language is required, Country is optional.
5927
5927
  request?: EVA.Core.Management.LocalizeOpenCashDrawerReason;
5928
5928
  response?: EVA.Core.EmptyResponseMessage;
5929
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
+ }
5930
5960
  /**
5931
5961
  * Move an existing DiscountLayer to a new postion.
5932
5962