@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.
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +8 -0
- package/build/cjs/index.js.map +1 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +7 -0
- package/build/es/index.mjs.map +1 -1
- package/build/trusted/cjs/index.d.ts +14 -12
- package/build/trusted/cjs/index.js +8 -0
- package/build/trusted/cjs/index.js.map +1 -1
- package/build/trusted/es/index.d.mts +14 -12
- package/build/trusted/es/index.mjs +7 -0
- package/build/trusted/es/index.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
506
|
+
* An empty list means no restriction is declared and all purchase types are offered.
|
|
507
507
|
*/
|
|
508
|
-
|
|
508
|
+
supportedPurchaseTypes?: PurchaseTypeWithLiterals[];
|
|
509
509
|
}
|
|
510
510
|
interface GiftCardProviderConfig {
|
|
511
511
|
/** The URL of the SPI implementation */
|
package/build/cjs/index.js
CHANGED
|
@@ -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";
|
|
@@ -6827,6 +6834,7 @@ function componentsDeletionHookProvider({
|
|
|
6827
6834
|
PrimitiveType,
|
|
6828
6835
|
ProductType,
|
|
6829
6836
|
PropertiesTypeEnum,
|
|
6837
|
+
PurchaseType,
|
|
6830
6838
|
RecipientFilterType,
|
|
6831
6839
|
RecipientType,
|
|
6832
6840
|
Region,
|