@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.
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +16 -0
- package/build/cjs/index.js.map +1 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +15 -0
- package/build/es/index.mjs.map +1 -1
- package/build/trusted/cjs/index.d.ts +24 -14
- package/build/trusted/cjs/index.js +16 -0
- package/build/trusted/cjs/index.js.map +1 -1
- package/build/trusted/es/index.d.mts +24 -14
- package/build/trusted/es/index.mjs +15 -0
- package/build/trusted/es/index.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/index.d.mts
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/es/index.mjs
CHANGED
|
@@ -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";
|
|
@@ -2486,6 +2492,14 @@ var DisplayValueEnumDisplayValue = /* @__PURE__ */ ((DisplayValueEnumDisplayValu
|
|
|
2486
2492
|
DisplayValueEnumDisplayValue2["inlineFlex"] = "inlineFlex";
|
|
2487
2493
|
DisplayValueEnumDisplayValue2["inlineGrid"] = "inlineGrid";
|
|
2488
2494
|
DisplayValueEnumDisplayValue2["listItem"] = "listItem";
|
|
2495
|
+
DisplayValueEnumDisplayValue2["tableRowGroup"] = "tableRowGroup";
|
|
2496
|
+
DisplayValueEnumDisplayValue2["tableHeaderGroup"] = "tableHeaderGroup";
|
|
2497
|
+
DisplayValueEnumDisplayValue2["tableFooterGroup"] = "tableFooterGroup";
|
|
2498
|
+
DisplayValueEnumDisplayValue2["tableRow"] = "tableRow";
|
|
2499
|
+
DisplayValueEnumDisplayValue2["tableCell"] = "tableCell";
|
|
2500
|
+
DisplayValueEnumDisplayValue2["tableColumnGroup"] = "tableColumnGroup";
|
|
2501
|
+
DisplayValueEnumDisplayValue2["tableColumn"] = "tableColumn";
|
|
2502
|
+
DisplayValueEnumDisplayValue2["tableCaption"] = "tableCaption";
|
|
2489
2503
|
return DisplayValueEnumDisplayValue2;
|
|
2490
2504
|
})(DisplayValueEnumDisplayValue || {});
|
|
2491
2505
|
var WritingModeValue = /* @__PURE__ */ ((WritingModeValue2) => {
|
|
@@ -6245,6 +6259,7 @@ export {
|
|
|
6245
6259
|
PrimitiveType,
|
|
6246
6260
|
ProductType,
|
|
6247
6261
|
PropertiesTypeEnum,
|
|
6262
|
+
PurchaseType,
|
|
6248
6263
|
RecipientFilterType,
|
|
6249
6264
|
RecipientType,
|
|
6250
6265
|
Region,
|