@wix/app-extensions 1.0.134 → 1.0.136

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.
@@ -503,9 +503,9 @@ interface CatalogSPIConfig {
503
503
  /**
504
504
  * The purchase types this catalog's items support (one-time and/or subscription).
505
505
  * Used by the discount-rule editor to offer only the purchase-type options relevant to this catalog.
506
- * When not set, no restriction is declared and all purchase types are offered.
506
+ * An empty list means no restriction is declared and all purchase types are offered.
507
507
  */
508
- purchaseTypeSupport?: PurchaseTypeSupport;
508
+ supportedPurchaseTypes?: PurchaseTypeWithLiterals[];
509
509
  }
510
510
  interface GiftCardProviderConfig {
511
511
  /** The URL of the SPI implementation */
@@ -237,6 +237,7 @@ __export(index_exports, {
237
237
  PrimitiveType: () => PrimitiveType,
238
238
  ProductType: () => ProductType,
239
239
  PropertiesTypeEnum: () => PropertiesTypeEnum,
240
+ PurchaseType: () => PurchaseType,
240
241
  RecipientFilterType: () => RecipientFilterType,
241
242
  RecipientType: () => RecipientType,
242
243
  Region: () => Region,
@@ -904,6 +905,12 @@ var ExecutionType = /* @__PURE__ */ ((ExecutionType2) => {
904
905
  ExecutionType2["ASYNC"] = "ASYNC";
905
906
  return ExecutionType2;
906
907
  })(ExecutionType || {});
908
+ var PurchaseType = /* @__PURE__ */ ((PurchaseType2) => {
909
+ PurchaseType2["PURCHASE_TYPE_UNSPECIFIED"] = "PURCHASE_TYPE_UNSPECIFIED";
910
+ PurchaseType2["ONE_TIME"] = "ONE_TIME";
911
+ PurchaseType2["SUBSCRIPTION"] = "SUBSCRIPTION";
912
+ return PurchaseType2;
913
+ })(PurchaseType || {});
907
914
  var ExtendingComponentType = /* @__PURE__ */ ((ExtendingComponentType2) => {
908
915
  ExtendingComponentType2["INVALID"] = "INVALID";
909
916
  ExtendingComponentType2["BACK_OFFICE_MENU_ITEM"] = "BACK_OFFICE_MENU_ITEM";
@@ -3222,6 +3229,7 @@ var GroupType = /* @__PURE__ */ ((GroupType2) => {
3222
3229
  GroupType2["textDecoration"] = "textDecoration";
3223
3230
  GroupType2["gap"] = "gap";
3224
3231
  GroupType2["text"] = "text";
3232
+ GroupType2["stroke"] = "stroke";
3225
3233
  GroupType2["arrayItems"] = "arrayItems";
3226
3234
  GroupType2["arrayItem"] = "arrayItem";
3227
3235
  GroupType2["listItem"] = "listItem";
@@ -6827,6 +6835,7 @@ function componentsDeletionHookProvider({
6827
6835
  PrimitiveType,
6828
6836
  ProductType,
6829
6837
  PropertiesTypeEnum,
6838
+ PurchaseType,
6830
6839
  RecipientFilterType,
6831
6840
  RecipientType,
6832
6841
  Region,