@wix/app-extensions 1.0.133 → 1.0.135

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";
@@ -3059,6 +3066,14 @@ var DisplayValueEnumDisplayValue = /* @__PURE__ */ ((DisplayValueEnumDisplayValu
3059
3066
  DisplayValueEnumDisplayValue2["inlineFlex"] = "inlineFlex";
3060
3067
  DisplayValueEnumDisplayValue2["inlineGrid"] = "inlineGrid";
3061
3068
  DisplayValueEnumDisplayValue2["listItem"] = "listItem";
3069
+ DisplayValueEnumDisplayValue2["tableRowGroup"] = "tableRowGroup";
3070
+ DisplayValueEnumDisplayValue2["tableHeaderGroup"] = "tableHeaderGroup";
3071
+ DisplayValueEnumDisplayValue2["tableFooterGroup"] = "tableFooterGroup";
3072
+ DisplayValueEnumDisplayValue2["tableRow"] = "tableRow";
3073
+ DisplayValueEnumDisplayValue2["tableCell"] = "tableCell";
3074
+ DisplayValueEnumDisplayValue2["tableColumnGroup"] = "tableColumnGroup";
3075
+ DisplayValueEnumDisplayValue2["tableColumn"] = "tableColumn";
3076
+ DisplayValueEnumDisplayValue2["tableCaption"] = "tableCaption";
3062
3077
  return DisplayValueEnumDisplayValue2;
3063
3078
  })(DisplayValueEnumDisplayValue || {});
3064
3079
  var WritingModeValue = /* @__PURE__ */ ((WritingModeValue2) => {
@@ -6819,6 +6834,7 @@ function componentsDeletionHookProvider({
6819
6834
  PrimitiveType,
6820
6835
  ProductType,
6821
6836
  PropertiesTypeEnum,
6837
+ PurchaseType,
6822
6838
  RecipientFilterType,
6823
6839
  RecipientType,
6824
6840
  Region,