@wix/app-extensions 1.0.134 → 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 */
@@ -331,6 +331,12 @@ var ExecutionType = /* @__PURE__ */ ((ExecutionType2) => {
331
331
  ExecutionType2["ASYNC"] = "ASYNC";
332
332
  return ExecutionType2;
333
333
  })(ExecutionType || {});
334
+ var PurchaseType = /* @__PURE__ */ ((PurchaseType2) => {
335
+ PurchaseType2["PURCHASE_TYPE_UNSPECIFIED"] = "PURCHASE_TYPE_UNSPECIFIED";
336
+ PurchaseType2["ONE_TIME"] = "ONE_TIME";
337
+ PurchaseType2["SUBSCRIPTION"] = "SUBSCRIPTION";
338
+ return PurchaseType2;
339
+ })(PurchaseType || {});
334
340
  var ExtendingComponentType = /* @__PURE__ */ ((ExtendingComponentType2) => {
335
341
  ExtendingComponentType2["INVALID"] = "INVALID";
336
342
  ExtendingComponentType2["BACK_OFFICE_MENU_ITEM"] = "BACK_OFFICE_MENU_ITEM";
@@ -6253,6 +6259,7 @@ export {
6253
6259
  PrimitiveType,
6254
6260
  ProductType,
6255
6261
  PropertiesTypeEnum,
6262
+ PurchaseType,
6256
6263
  RecipientFilterType,
6257
6264
  RecipientType,
6258
6265
  Region,