@wix/ecom 1.0.688 → 1.0.690
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/context.d.ts +1 -0
- package/build/cjs/context.js +2 -1
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +2 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +2 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +1 -0
- package/build/es/context.js +1 -0
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +1 -0
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +1 -0
- package/build/es/meta.js.map +1 -1
- package/package.json +5 -4
- package/type-bundles/context.bundle.d.ts +172 -45
- package/type-bundles/index.bundle.d.ts +172 -45
- package/type-bundles/meta.bundle.d.ts +1088 -334
package/build/cjs/context.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * as checkoutContent from '@wix/ecom_checkout-content/context';
|
|
1
2
|
export * as discountsCustomTrigger from '@wix/ecom_discounts-custom-trigger/context';
|
|
2
3
|
export * as discountRules from '@wix/ecom_discount-rules/context';
|
|
3
4
|
export * as orderInvoices from '@wix/ecom_order-invoices/context';
|
package/build/cjs/context.js
CHANGED
|
@@ -23,7 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.currencies = exports.shippoConfigurations = exports.shippingOptions = exports.pickupLocations = exports.ordersSettings = exports.orderTransactions = exports.orderPaymentRequests = exports.orders = exports.localDeliveryOptions = exports.orderFulfillments = exports.draftOrders = exports.deliveryProfile = exports.checkoutTemplates = exports.checkoutSettings = exports.checkout = exports.currentCart = exports.cart = exports.backInStockSettings = exports.backInStockNotifications = exports.abandonedCheckouts = exports.recommendations = exports.orderInvoices = exports.discountRules = exports.discountsCustomTrigger = void 0;
|
|
26
|
+
exports.currencies = exports.shippoConfigurations = exports.shippingOptions = exports.pickupLocations = exports.ordersSettings = exports.orderTransactions = exports.orderPaymentRequests = exports.orders = exports.localDeliveryOptions = exports.orderFulfillments = exports.draftOrders = exports.deliveryProfile = exports.checkoutTemplates = exports.checkoutSettings = exports.checkout = exports.currentCart = exports.cart = exports.backInStockSettings = exports.backInStockNotifications = exports.abandonedCheckouts = exports.recommendations = exports.orderInvoices = exports.discountRules = exports.discountsCustomTrigger = exports.checkoutContent = void 0;
|
|
27
|
+
exports.checkoutContent = __importStar(require("@wix/ecom_checkout-content/context"));
|
|
27
28
|
exports.discountsCustomTrigger = __importStar(require("@wix/ecom_discounts-custom-trigger/context"));
|
|
28
29
|
exports.discountRules = __importStar(require("@wix/ecom_discount-rules/context"));
|
|
29
30
|
exports.orderInvoices = __importStar(require("@wix/ecom_order-invoices/context"));
|
package/build/cjs/context.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qGAAqF;AACrF,kFAAkE;AAClE,kFAAkE;AAClE,qFAAqE;AACrE,4FAA4E;AAC5E,0GAA0F;AAC1F,gGAAgF;AAChF,+DAA+C;AAC/C,8EAA8D;AAC9D,uEAAuD;AACvD,wFAAwE;AACxE,0FAA0E;AAC1E,sFAAsE;AACtE,8EAA8D;AAC9D,0FAA0E;AAC1E,iGAAiF;AACjF,mEAAmD;AACnD,iGAAiF;AACjF,0FAA0E;AAC1E,oFAAoE;AACpE,sFAAsE;AACtE,sFAAsE;AACtE,gGAAgF;AAChF,2EAA2D"}
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sFAAsE;AACtE,qGAAqF;AACrF,kFAAkE;AAClE,kFAAkE;AAClE,qFAAqE;AACrE,4FAA4E;AAC5E,0GAA0F;AAC1F,gGAAgF;AAChF,+DAA+C;AAC/C,8EAA8D;AAC9D,uEAAuD;AACvD,wFAAwE;AACxE,0FAA0E;AAC1E,sFAAsE;AACtE,8EAA8D;AAC9D,0FAA0E;AAC1E,iGAAiF;AACjF,mEAAmD;AACnD,iGAAiF;AACjF,0FAA0E;AAC1E,oFAAoE;AACpE,sFAAsE;AACtE,sFAAsE;AACtE,gGAAgF;AAChF,2EAA2D"}
|
package/build/cjs/index.d.ts
CHANGED
package/build/cjs/index.js
CHANGED
|
@@ -23,7 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.currencies = exports.shippoConfigurations = exports.shippingOptions = exports.pickupLocations = exports.ordersSettings = exports.orderTransactions = exports.orderPaymentRequests = exports.orders = exports.localDeliveryOptions = exports.orderFulfillments = exports.draftOrders = exports.deliveryProfile = exports.checkoutTemplates = exports.checkoutSettings = exports.checkout = exports.currentCart = exports.cart = exports.backInStockSettings = exports.backInStockNotifications = exports.abandonedCheckouts = exports.recommendations = exports.orderInvoices = exports.discountRules = exports.discountsCustomTrigger = void 0;
|
|
26
|
+
exports.currencies = exports.shippoConfigurations = exports.shippingOptions = exports.pickupLocations = exports.ordersSettings = exports.orderTransactions = exports.orderPaymentRequests = exports.orders = exports.localDeliveryOptions = exports.orderFulfillments = exports.draftOrders = exports.deliveryProfile = exports.checkoutTemplates = exports.checkoutSettings = exports.checkout = exports.currentCart = exports.cart = exports.backInStockSettings = exports.backInStockNotifications = exports.abandonedCheckouts = exports.recommendations = exports.orderInvoices = exports.discountRules = exports.discountsCustomTrigger = exports.checkoutContent = void 0;
|
|
27
|
+
exports.checkoutContent = __importStar(require("@wix/ecom_checkout-content"));
|
|
27
28
|
exports.discountsCustomTrigger = __importStar(require("@wix/ecom_discounts-custom-trigger"));
|
|
28
29
|
exports.discountRules = __importStar(require("@wix/ecom_discount-rules"));
|
|
29
30
|
exports.orderInvoices = __importStar(require("@wix/ecom_order-invoices"));
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6FAA6E;AAC7E,0EAA0D;AAC1D,0EAA0D;AAC1D,6EAA6D;AAC7D,oFAAoE;AACpE,kGAAkF;AAClF,wFAAwE;AACxE,uDAAuC;AACvC,sEAAsD;AACtD,+DAA+C;AAC/C,gFAAgE;AAChE,kFAAkE;AAClE,8EAA8D;AAC9D,sEAAsD;AACtD,kFAAkE;AAClE,yFAAyE;AACzE,2DAA2C;AAC3C,yFAAyE;AACzE,kFAAkE;AAClE,4EAA4D;AAC5D,8EAA8D;AAC9D,8EAA8D;AAC9D,wFAAwE;AACxE,mEAAmD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8EAA8D;AAC9D,6FAA6E;AAC7E,0EAA0D;AAC1D,0EAA0D;AAC1D,6EAA6D;AAC7D,oFAAoE;AACpE,kGAAkF;AAClF,wFAAwE;AACxE,uDAAuC;AACvC,sEAAsD;AACtD,+DAA+C;AAC/C,gFAAgE;AAChE,kFAAkE;AAClE,8EAA8D;AAC9D,sEAAsD;AACtD,kFAAkE;AAClE,yFAAyE;AACzE,2DAA2C;AAC3C,yFAAyE;AACzE,kFAAkE;AAClE,4EAA4D;AAC5D,8EAA8D;AAC9D,8EAA8D;AAC9D,wFAAwE;AACxE,mEAAmD"}
|
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * as checkoutContent from '@wix/ecom_checkout-content/meta';
|
|
1
2
|
export * as discountsCustomTrigger from '@wix/ecom_discounts-custom-trigger/meta';
|
|
2
3
|
export * as discountRules from '@wix/ecom_discount-rules/meta';
|
|
3
4
|
export * as orderInvoices from '@wix/ecom_order-invoices/meta';
|
package/build/cjs/meta.js
CHANGED
|
@@ -23,7 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.currencies = exports.shippoConfigurations = exports.shippingOptions = exports.pickupLocations = exports.ordersSettings = exports.orderTransactions = exports.orderPaymentRequests = exports.orders = exports.localDeliveryOptions = exports.orderFulfillments = exports.draftOrders = exports.deliveryProfile = exports.checkoutTemplates = exports.checkoutSettings = exports.checkout = exports.currentCart = exports.cart = exports.backInStockSettings = exports.backInStockNotifications = exports.abandonedCheckouts = exports.recommendations = exports.orderInvoices = exports.discountRules = exports.discountsCustomTrigger = void 0;
|
|
26
|
+
exports.currencies = exports.shippoConfigurations = exports.shippingOptions = exports.pickupLocations = exports.ordersSettings = exports.orderTransactions = exports.orderPaymentRequests = exports.orders = exports.localDeliveryOptions = exports.orderFulfillments = exports.draftOrders = exports.deliveryProfile = exports.checkoutTemplates = exports.checkoutSettings = exports.checkout = exports.currentCart = exports.cart = exports.backInStockSettings = exports.backInStockNotifications = exports.abandonedCheckouts = exports.recommendations = exports.orderInvoices = exports.discountRules = exports.discountsCustomTrigger = exports.checkoutContent = void 0;
|
|
27
|
+
exports.checkoutContent = __importStar(require("@wix/ecom_checkout-content/meta"));
|
|
27
28
|
exports.discountsCustomTrigger = __importStar(require("@wix/ecom_discounts-custom-trigger/meta"));
|
|
28
29
|
exports.discountRules = __importStar(require("@wix/ecom_discount-rules/meta"));
|
|
29
30
|
exports.orderInvoices = __importStar(require("@wix/ecom_order-invoices/meta"));
|
package/build/cjs/meta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kGAAkF;AAClF,+EAA+D;AAC/D,+EAA+D;AAC/D,kFAAkE;AAClE,yFAAyE;AACzE,uGAAuF;AACvF,6FAA6E;AAC7E,4DAA4C;AAC5C,2EAA2D;AAC3D,oEAAoD;AACpD,qFAAqE;AACrE,uFAAuE;AACvE,mFAAmE;AACnE,2EAA2D;AAC3D,uFAAuE;AACvE,8FAA8E;AAC9E,gEAAgD;AAChD,8FAA8E;AAC9E,uFAAuE;AACvE,iFAAiE;AACjE,mFAAmE;AACnE,mFAAmE;AACnE,6FAA6E;AAC7E,wEAAwD"}
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mFAAmE;AACnE,kGAAkF;AAClF,+EAA+D;AAC/D,+EAA+D;AAC/D,kFAAkE;AAClE,yFAAyE;AACzE,uGAAuF;AACvF,6FAA6E;AAC7E,4DAA4C;AAC5C,2EAA2D;AAC3D,oEAAoD;AACpD,qFAAqE;AACrE,uFAAuE;AACvE,mFAAmE;AACnE,2EAA2D;AAC3D,uFAAuE;AACvE,8FAA8E;AAC9E,gEAAgD;AAChD,8FAA8E;AAC9E,uFAAuE;AACvE,iFAAiE;AACjE,mFAAmE;AACnE,mFAAmE;AACnE,6FAA6E;AAC7E,wEAAwD"}
|
package/build/es/context.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * as checkoutContent from '@wix/ecom_checkout-content/context';
|
|
1
2
|
export * as discountsCustomTrigger from '@wix/ecom_discounts-custom-trigger/context';
|
|
2
3
|
export * as discountRules from '@wix/ecom_discount-rules/context';
|
|
3
4
|
export * as orderInvoices from '@wix/ecom_order-invoices/context';
|
package/build/es/context.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * as checkoutContent from '@wix/ecom_checkout-content/context';
|
|
1
2
|
export * as discountsCustomTrigger from '@wix/ecom_discounts-custom-trigger/context';
|
|
2
3
|
export * as discountRules from '@wix/ecom_discount-rules/context';
|
|
3
4
|
export * as orderInvoices from '@wix/ecom_order-invoices/context';
|
package/build/es/context.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,sBAAsB,MAAM,4CAA4C,CAAC;AACrF,OAAO,KAAK,aAAa,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,aAAa,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,eAAe,MAAM,mCAAmC,CAAC;AACrE,OAAO,KAAK,kBAAkB,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,wBAAwB,MAAM,+CAA+C,CAAC;AAC1F,OAAO,KAAK,mBAAmB,MAAM,0CAA0C,CAAC;AAChF,OAAO,KAAK,IAAI,MAAM,wBAAwB,CAAC;AAC/C,OAAO,KAAK,WAAW,MAAM,gCAAgC,CAAC;AAC9D,OAAO,KAAK,QAAQ,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,gBAAgB,MAAM,qCAAqC,CAAC;AACxE,OAAO,KAAK,iBAAiB,MAAM,sCAAsC,CAAC;AAC1E,OAAO,KAAK,eAAe,MAAM,oCAAoC,CAAC;AACtE,OAAO,KAAK,WAAW,MAAM,gCAAgC,CAAC;AAC9D,OAAO,KAAK,iBAAiB,MAAM,sCAAsC,CAAC;AAC1E,OAAO,KAAK,oBAAoB,MAAM,0CAA0C,CAAC;AACjF,OAAO,KAAK,MAAM,MAAM,0BAA0B,CAAC;AACnD,OAAO,KAAK,oBAAoB,MAAM,0CAA0C,CAAC;AACjF,OAAO,KAAK,iBAAiB,MAAM,sCAAsC,CAAC;AAC1E,OAAO,KAAK,cAAc,MAAM,mCAAmC,CAAC;AACpE,OAAO,KAAK,eAAe,MA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CAAC;AACtE,OAAO,KAAK,eAAe,MAAM,oCAAoC,CAAC;AACtE,OAAO,KAAK,oBAAoB,MAAM,yCAAyC,CAAC;AAChF,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC"}
|
package/build/es/index.d.ts
CHANGED
package/build/es/index.js
CHANGED
package/build/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,sBAAsB,MAAM,oCAAoC,CAAC;AAC7E,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,eAAe,MAAM,2BAA2B,CAAC;AAC7D,OAAO,KAAK,kBAAkB,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,wBAAwB,MAAM,uCAAuC,CAAC;AAClF,OAAO,KAAK,mBAAmB,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,gBAAgB,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,iBAAiB,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,iBAAiB,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,oBAAoB,MAAM,kCAAkC,CAAC;AACzE,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAK,oBAAoB,MAAM,kCAAkC,CAAC;AACzE,OAAO,KAAK,iBAAiB,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,cAAc,MAAM,2BAA2B,CAAC;AAC5D,OAA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eAAe,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,oBAAoB,MAAM,iCAAiC,CAAC;AACxE,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC"}
|
package/build/es/meta.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * as checkoutContent from '@wix/ecom_checkout-content/meta';
|
|
1
2
|
export * as discountsCustomTrigger from '@wix/ecom_discounts-custom-trigger/meta';
|
|
2
3
|
export * as discountRules from '@wix/ecom_discount-rules/meta';
|
|
3
4
|
export * as orderInvoices from '@wix/ecom_order-invoices/meta';
|
package/build/es/meta.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * as checkoutContent from '@wix/ecom_checkout-content/meta';
|
|
1
2
|
export * as discountsCustomTrigger from '@wix/ecom_discounts-custom-trigger/meta';
|
|
2
3
|
export * as discountRules from '@wix/ecom_discount-rules/meta';
|
|
3
4
|
export * as orderInvoices from '@wix/ecom_order-invoices/meta';
|
package/build/es/meta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,sBAAsB,MAAM,yCAAyC,CAAC;AAClF,OAAO,KAAK,aAAa,MAAM,+BAA+B,CAAC;AAC/D,OAAO,KAAK,aAAa,MAAM,+BAA+B,CAAC;AAC/D,OAAO,KAAK,eAAe,MAAM,gCAAgC,CAAC;AAClE,OAAO,KAAK,kBAAkB,MAAM,oCAAoC,CAAC;AACzE,OAAO,KAAK,wBAAwB,MAAM,4CAA4C,CAAC;AACvF,OAAO,KAAK,mBAAmB,MAAM,uCAAuC,CAAC;AAC7E,OAAO,KAAK,IAAI,MAAM,qBAAqB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,6BAA6B,CAAC;AAC3D,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAC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AAO,KAAK,gBAAgB,MAAM,kCAAkC,CAAC;AACrE,OAAO,KAAK,iBAAiB,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,eAAe,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,WAAW,MAAM,6BAA6B,CAAC;AAC3D,OAAO,KAAK,iBAAiB,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,oBAAoB,MAAM,uCAAuC,CAAC;AAC9E,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,KAAK,oBAAoB,MAAM,uCAAuC,CAAC;AAC9E,OAAO,KAAK,iBAAiB,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,cAAc,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,eAAe,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,eAAe,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,oBAAoB,MAAM,sCAAsC,CAAC;AAC7E,OAAO,KAAK,UAAU,MAAM,2BAA2B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ecom",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.690",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -24,9 +24,10 @@
|
|
|
24
24
|
"@wix/ecom_back-in-stock-notifications": "1.0.43",
|
|
25
25
|
"@wix/ecom_back-in-stock-settings": "1.0.29",
|
|
26
26
|
"@wix/ecom_cart": "1.0.59",
|
|
27
|
-
"@wix/ecom_checkout": "1.0.
|
|
27
|
+
"@wix/ecom_checkout": "1.0.64",
|
|
28
|
+
"@wix/ecom_checkout-content": "1.0.0",
|
|
28
29
|
"@wix/ecom_checkout-settings": "1.0.43",
|
|
29
|
-
"@wix/ecom_checkout-templates": "1.0.
|
|
30
|
+
"@wix/ecom_checkout-templates": "1.0.65",
|
|
30
31
|
"@wix/ecom_currencies": "1.0.30",
|
|
31
32
|
"@wix/ecom_current-cart": "1.0.59",
|
|
32
33
|
"@wix/ecom_custom-triggers": "1.0.13",
|
|
@@ -71,5 +72,5 @@
|
|
|
71
72
|
"fqdn": ""
|
|
72
73
|
}
|
|
73
74
|
},
|
|
74
|
-
"falconPackageHash": "
|
|
75
|
+
"falconPackageHash": "f1fd97bf7e6fc60aeb06e899e3efb667119e4a145eb66af79d1abde1"
|
|
75
76
|
}
|
|
@@ -1,3 +1,120 @@
|
|
|
1
|
+
interface CheckoutContentProvider {
|
|
2
|
+
_id?: string | null;
|
|
3
|
+
}
|
|
4
|
+
interface GetCheckoutContentRequest {
|
|
5
|
+
/** ID of the app that provides the content. */
|
|
6
|
+
appId: string;
|
|
7
|
+
/** ID of the specific component content. */
|
|
8
|
+
componentId: string;
|
|
9
|
+
/** When a language is specified, it will be retrieved the content in that language. */
|
|
10
|
+
languageCode?: string | null;
|
|
11
|
+
}
|
|
12
|
+
interface GetCheckoutContentResponse {
|
|
13
|
+
/** The requested CheckoutContent. */
|
|
14
|
+
checkoutContent?: CheckoutContent;
|
|
15
|
+
}
|
|
16
|
+
interface CheckoutContent {
|
|
17
|
+
/**
|
|
18
|
+
* Text to display in place of the "Continue shopping" link.
|
|
19
|
+
* @readonly
|
|
20
|
+
*/
|
|
21
|
+
continueShoppingLink?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Text to display in place of the "Order summary" title.
|
|
24
|
+
* @readonly
|
|
25
|
+
*/
|
|
26
|
+
orderSummary?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
* Text to display in place of the "Customer details" title.
|
|
29
|
+
* @readonly
|
|
30
|
+
*/
|
|
31
|
+
customerDetails?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* Text to display in place of the "Review and place order" title.
|
|
34
|
+
* @readonly
|
|
35
|
+
*/
|
|
36
|
+
reviewAndPlaceOrder?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Text to display in place of the "Place order" button.
|
|
39
|
+
* @readonly
|
|
40
|
+
*/
|
|
41
|
+
placeOrderButton?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Text to display in place of the "Place order & pay" button.
|
|
44
|
+
* @readonly
|
|
45
|
+
*/
|
|
46
|
+
placeOrderPayButton?: string | null;
|
|
47
|
+
}
|
|
48
|
+
interface GetCheckoutContentIdentifiers {
|
|
49
|
+
/** ID of the app that provides the content. */
|
|
50
|
+
appId: string;
|
|
51
|
+
/** ID of the specific component content. */
|
|
52
|
+
componentId: string;
|
|
53
|
+
}
|
|
54
|
+
interface GetCheckoutContentOptions {
|
|
55
|
+
/** When a language is specified, it will be retrieved the content in that language. */
|
|
56
|
+
languageCode?: string | null;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
60
|
+
interface HttpClient {
|
|
61
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
62
|
+
fetchWithAuth: typeof fetch;
|
|
63
|
+
wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
|
|
64
|
+
}
|
|
65
|
+
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
66
|
+
type HttpResponse<T = any> = {
|
|
67
|
+
data: T;
|
|
68
|
+
status: number;
|
|
69
|
+
statusText: string;
|
|
70
|
+
headers: any;
|
|
71
|
+
request?: any;
|
|
72
|
+
};
|
|
73
|
+
type RequestOptions<_TResponse = any, Data = any> = {
|
|
74
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
75
|
+
url: string;
|
|
76
|
+
data?: Data;
|
|
77
|
+
params?: URLSearchParams;
|
|
78
|
+
} & APIMetadata;
|
|
79
|
+
type APIMetadata = {
|
|
80
|
+
methodFqn?: string;
|
|
81
|
+
entityFqdn?: string;
|
|
82
|
+
packageName?: string;
|
|
83
|
+
};
|
|
84
|
+
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
85
|
+
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
86
|
+
__type: 'event-definition';
|
|
87
|
+
type: Type;
|
|
88
|
+
isDomainEvent?: boolean;
|
|
89
|
+
transformations?: (envelope: unknown) => Payload;
|
|
90
|
+
__payload: Payload;
|
|
91
|
+
};
|
|
92
|
+
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
|
93
|
+
type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
|
|
94
|
+
type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
|
|
95
|
+
|
|
96
|
+
declare global {
|
|
97
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
98
|
+
interface SymbolConstructor {
|
|
99
|
+
readonly observable: symbol;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
declare function createRESTModule$o<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
104
|
+
|
|
105
|
+
declare const getCheckoutContent: ReturnType<typeof createRESTModule$o<typeof publicGetCheckoutContent>>;
|
|
106
|
+
|
|
107
|
+
type context$o_CheckoutContent = CheckoutContent;
|
|
108
|
+
type context$o_CheckoutContentProvider = CheckoutContentProvider;
|
|
109
|
+
type context$o_GetCheckoutContentIdentifiers = GetCheckoutContentIdentifiers;
|
|
110
|
+
type context$o_GetCheckoutContentOptions = GetCheckoutContentOptions;
|
|
111
|
+
type context$o_GetCheckoutContentRequest = GetCheckoutContentRequest;
|
|
112
|
+
type context$o_GetCheckoutContentResponse = GetCheckoutContentResponse;
|
|
113
|
+
declare const context$o_getCheckoutContent: typeof getCheckoutContent;
|
|
114
|
+
declare namespace context$o {
|
|
115
|
+
export { type context$o_CheckoutContent as CheckoutContent, type context$o_CheckoutContentProvider as CheckoutContentProvider, type context$o_GetCheckoutContentIdentifiers as GetCheckoutContentIdentifiers, type context$o_GetCheckoutContentOptions as GetCheckoutContentOptions, type context$o_GetCheckoutContentRequest as GetCheckoutContentRequest, type context$o_GetCheckoutContentResponse as GetCheckoutContentResponse, context$o_getCheckoutContent as getCheckoutContent };
|
|
116
|
+
}
|
|
117
|
+
|
|
1
118
|
interface CustomTrigger {
|
|
2
119
|
/** Unique ID of the trigger */
|
|
3
120
|
_id?: string;
|
|
@@ -88,50 +205,6 @@ interface ListTriggersResponseNonNullableFields {
|
|
|
88
205
|
triggers: ListTriggersResponseCustomTriggerNonNullableFields[];
|
|
89
206
|
}
|
|
90
207
|
|
|
91
|
-
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
92
|
-
interface HttpClient {
|
|
93
|
-
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
94
|
-
fetchWithAuth: typeof fetch;
|
|
95
|
-
wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
|
|
96
|
-
}
|
|
97
|
-
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
98
|
-
type HttpResponse<T = any> = {
|
|
99
|
-
data: T;
|
|
100
|
-
status: number;
|
|
101
|
-
statusText: string;
|
|
102
|
-
headers: any;
|
|
103
|
-
request?: any;
|
|
104
|
-
};
|
|
105
|
-
type RequestOptions<_TResponse = any, Data = any> = {
|
|
106
|
-
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
107
|
-
url: string;
|
|
108
|
-
data?: Data;
|
|
109
|
-
params?: URLSearchParams;
|
|
110
|
-
} & APIMetadata;
|
|
111
|
-
type APIMetadata = {
|
|
112
|
-
methodFqn?: string;
|
|
113
|
-
entityFqdn?: string;
|
|
114
|
-
packageName?: string;
|
|
115
|
-
};
|
|
116
|
-
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
117
|
-
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
118
|
-
__type: 'event-definition';
|
|
119
|
-
type: Type;
|
|
120
|
-
isDomainEvent?: boolean;
|
|
121
|
-
transformations?: (envelope: unknown) => Payload;
|
|
122
|
-
__payload: Payload;
|
|
123
|
-
};
|
|
124
|
-
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
|
125
|
-
type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
|
|
126
|
-
type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
|
|
127
|
-
|
|
128
|
-
declare global {
|
|
129
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
130
|
-
interface SymbolConstructor {
|
|
131
|
-
readonly observable: symbol;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
208
|
declare function createRESTModule$n<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
136
209
|
|
|
137
210
|
declare const listTriggers: ReturnType<typeof createRESTModule$n<typeof publicListTriggers>>;
|
|
@@ -7953,6 +8026,12 @@ interface Checkout$1 {
|
|
|
7953
8026
|
* Custom settings can only be defined when [creating a checkout](https://www.wix.com/velo/reference/wix-ecom-backend/checkout/createcheckout).
|
|
7954
8027
|
*/
|
|
7955
8028
|
customSettings?: CustomSettings$1;
|
|
8029
|
+
/**
|
|
8030
|
+
* Customize the content of the checkout page.
|
|
8031
|
+
*
|
|
8032
|
+
* Includes IDs for the app and the component providing the content
|
|
8033
|
+
*/
|
|
8034
|
+
customContentReference?: CustomContentReference$1;
|
|
7956
8035
|
}
|
|
7957
8036
|
interface LineItem$3 {
|
|
7958
8037
|
/**
|
|
@@ -9226,6 +9305,8 @@ interface CreateCheckoutRequest {
|
|
|
9226
9305
|
couponCode?: string | null;
|
|
9227
9306
|
/** Line items to be added to checkout. */
|
|
9228
9307
|
lineItems?: LineItem$3[];
|
|
9308
|
+
/** Custom line items to be added to checkout. */
|
|
9309
|
+
customLineItems?: CustomLineItem$2[];
|
|
9229
9310
|
/**
|
|
9230
9311
|
* **Required**
|
|
9231
9312
|
* Sales channel type.
|
|
@@ -9392,6 +9473,8 @@ interface UpdateCheckoutRequest {
|
|
|
9392
9473
|
* This field overrides the `checkoutUrl` in a cart or checkout. `checkoutUrl` is used to send customers back to their checkouts. By default, a `checkoutUrl` generates for a checkout and directs to a standard Wix checkout page. When `overrideCheckoutUrl` has a value, it will replace and set the value of `checkoutUrl`.
|
|
9393
9474
|
*/
|
|
9394
9475
|
overrideCheckoutUrl?: string | null;
|
|
9476
|
+
/** Custom line items to be saved on checkout. */
|
|
9477
|
+
customLineItems?: CustomLineItem$2[];
|
|
9395
9478
|
}
|
|
9396
9479
|
interface UpdateCheckoutResponse {
|
|
9397
9480
|
/** Updated checkout. */
|
|
@@ -9426,6 +9509,8 @@ interface AddToCheckoutRequest {
|
|
|
9426
9509
|
_id: string;
|
|
9427
9510
|
/** Catalog line items. */
|
|
9428
9511
|
lineItems?: LineItem$3[];
|
|
9512
|
+
/** Custom line items. */
|
|
9513
|
+
customLineItems?: CustomLineItem$2[];
|
|
9429
9514
|
}
|
|
9430
9515
|
interface AddToCheckoutResponse {
|
|
9431
9516
|
/** Updated checkout. */
|
|
@@ -10560,6 +10645,8 @@ interface CreateCheckoutOptions {
|
|
|
10560
10645
|
couponCode?: string | null;
|
|
10561
10646
|
/** Line items to be added to checkout. */
|
|
10562
10647
|
lineItems?: LineItem$3[];
|
|
10648
|
+
/** Custom line items to be added to checkout. */
|
|
10649
|
+
customLineItems?: CustomLineItem$2[];
|
|
10563
10650
|
/**
|
|
10564
10651
|
* **Required**
|
|
10565
10652
|
* Sales channel type.
|
|
@@ -10735,6 +10822,12 @@ interface UpdateCheckout {
|
|
|
10735
10822
|
* Custom settings can only be defined when [creating a checkout](https://www.wix.com/velo/reference/wix-ecom-backend/checkout/createcheckout).
|
|
10736
10823
|
*/
|
|
10737
10824
|
customSettings?: CustomSettings$1;
|
|
10825
|
+
/**
|
|
10826
|
+
* Customize the content of the checkout page.
|
|
10827
|
+
*
|
|
10828
|
+
* Includes IDs for the app and the component providing the content
|
|
10829
|
+
*/
|
|
10830
|
+
customContentReference?: CustomContentReference$1;
|
|
10738
10831
|
}
|
|
10739
10832
|
interface UpdateCheckoutOptions {
|
|
10740
10833
|
/** The code of an existing coupon to apply to checkout. For more information, see the [Coupons API](https://www.wix.com/velo/reference/wix-marketing-backend/coupons). */
|
|
@@ -10747,10 +10840,14 @@ interface UpdateCheckoutOptions {
|
|
|
10747
10840
|
* This field overrides the `checkoutUrl` in a cart or checkout. `checkoutUrl` is used to send customers back to their checkouts. By default, a `checkoutUrl` generates for a checkout and directs to a standard Wix checkout page. When `overrideCheckoutUrl` has a value, it will replace and set the value of `checkoutUrl`.
|
|
10748
10841
|
*/
|
|
10749
10842
|
overrideCheckoutUrl?: string | null;
|
|
10843
|
+
/** Custom line items to be saved on checkout. */
|
|
10844
|
+
customLineItems?: CustomLineItem$2[];
|
|
10750
10845
|
}
|
|
10751
10846
|
interface AddToCheckoutOptions {
|
|
10752
10847
|
/** Catalog line items. */
|
|
10753
10848
|
lineItems?: LineItem$3[];
|
|
10849
|
+
/** Custom line items. */
|
|
10850
|
+
customLineItems?: CustomLineItem$2[];
|
|
10754
10851
|
}
|
|
10755
10852
|
|
|
10756
10853
|
declare function createRESTModule$e<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
@@ -11314,6 +11411,12 @@ interface CheckoutTemplate {
|
|
|
11314
11411
|
* Max: 300 items
|
|
11315
11412
|
*/
|
|
11316
11413
|
lineItems?: V1LineItem[];
|
|
11414
|
+
/**
|
|
11415
|
+
* Custom line items.
|
|
11416
|
+
*
|
|
11417
|
+
* Max: 300 items
|
|
11418
|
+
*/
|
|
11419
|
+
customLineItems?: CustomLineItem$1[];
|
|
11317
11420
|
/**
|
|
11318
11421
|
* Coupon code.
|
|
11319
11422
|
*
|
|
@@ -11321,6 +11424,12 @@ interface CheckoutTemplate {
|
|
|
11321
11424
|
* For additional information, see the Coupons API.
|
|
11322
11425
|
*/
|
|
11323
11426
|
couponCode?: string | null;
|
|
11427
|
+
/**
|
|
11428
|
+
* Customize the content of the checkout page.
|
|
11429
|
+
*
|
|
11430
|
+
* Includes IDs for the app and the component providing the content
|
|
11431
|
+
*/
|
|
11432
|
+
customContentReference?: CustomContentReference;
|
|
11324
11433
|
}
|
|
11325
11434
|
declare enum Status$1 {
|
|
11326
11435
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
@@ -11981,6 +12090,12 @@ interface Checkout {
|
|
|
11981
12090
|
* Custom settings can only be set when [creating a checkout](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/checkout/create-checkout).
|
|
11982
12091
|
*/
|
|
11983
12092
|
customSettings?: CustomSettings;
|
|
12093
|
+
/**
|
|
12094
|
+
* Customize the content of the checkout page.
|
|
12095
|
+
*
|
|
12096
|
+
* Includes IDs for the app and the component providing the content
|
|
12097
|
+
*/
|
|
12098
|
+
customContentReference?: CustomContentReference;
|
|
11984
12099
|
}
|
|
11985
12100
|
interface LineItem$2 {
|
|
11986
12101
|
/**
|
|
@@ -13328,6 +13443,12 @@ interface UpdateCheckoutTemplate {
|
|
|
13328
13443
|
* Max: 300 items
|
|
13329
13444
|
*/
|
|
13330
13445
|
lineItems?: V1LineItem[];
|
|
13446
|
+
/**
|
|
13447
|
+
* Custom line items.
|
|
13448
|
+
*
|
|
13449
|
+
* Max: 300 items
|
|
13450
|
+
*/
|
|
13451
|
+
customLineItems?: CustomLineItem$1[];
|
|
13331
13452
|
/**
|
|
13332
13453
|
* Coupon code.
|
|
13333
13454
|
*
|
|
@@ -13335,6 +13456,12 @@ interface UpdateCheckoutTemplate {
|
|
|
13335
13456
|
* For additional information, see the Coupons API.
|
|
13336
13457
|
*/
|
|
13337
13458
|
couponCode?: string | null;
|
|
13459
|
+
/**
|
|
13460
|
+
* Customize the content of the checkout page.
|
|
13461
|
+
*
|
|
13462
|
+
* Includes IDs for the app and the component providing the content
|
|
13463
|
+
*/
|
|
13464
|
+
customContentReference?: CustomContentReference;
|
|
13338
13465
|
}
|
|
13339
13466
|
interface QueryCursorResult$6 {
|
|
13340
13467
|
cursors: Cursors$8;
|
|
@@ -29254,4 +29381,4 @@ declare namespace context {
|
|
|
29254
29381
|
export { type context_ConversionRateRequest as ConversionRateRequest, type context_ConversionRateResponse as ConversionRateResponse, type context_ConversionRateResponseNonNullableFields as ConversionRateResponseNonNullableFields, type context_ConvertCurrencyIdentifiers as ConvertCurrencyIdentifiers, type context_ConvertCurrencyRequest as ConvertCurrencyRequest, type context_ConvertCurrencyResponse as ConvertCurrencyResponse, type context_ConvertCurrencyResponseNonNullableFields as ConvertCurrencyResponseNonNullableFields, type context_Currency as Currency, type context_CurrencyRate as CurrencyRate, type context_DecimalValue as DecimalValue, type context_GetConversionRateIdentifiers as GetConversionRateIdentifiers, type context_ListCurrenciesRequest as ListCurrenciesRequest, type context_ListCurrenciesResponse as ListCurrenciesResponse, type context_ListCurrenciesResponseNonNullableFields as ListCurrenciesResponseNonNullableFields, context_convertCurrency as convertCurrency, context_getConversionRate as getConversionRate, context_listCurrencies as listCurrencies };
|
|
29255
29382
|
}
|
|
29256
29383
|
|
|
29257
|
-
export { context$j as abandonedCheckouts, context$i as backInStockNotifications, context$h as backInStockSettings, context$g as cart, context$e as checkout, context$d as checkoutSettings, context$c as checkoutTemplates, context as currencies, context$f as currentCart, context$b as deliveryProfile, context$m as discountRules, context$n as discountsCustomTrigger, context$a as draftOrders, context$8 as localDeliveryOptions, context$9 as orderFulfillments, context$l as orderInvoices, context$6 as orderPaymentRequests, context$5 as orderTransactions, context$7 as orders, context$4 as ordersSettings, context$3 as pickupLocations, context$k as recommendations, context$2 as shippingOptions, context$1 as shippoConfigurations };
|
|
29384
|
+
export { context$j as abandonedCheckouts, context$i as backInStockNotifications, context$h as backInStockSettings, context$g as cart, context$e as checkout, context$o as checkoutContent, context$d as checkoutSettings, context$c as checkoutTemplates, context as currencies, context$f as currentCart, context$b as deliveryProfile, context$m as discountRules, context$n as discountsCustomTrigger, context$a as draftOrders, context$8 as localDeliveryOptions, context$9 as orderFulfillments, context$l as orderInvoices, context$6 as orderPaymentRequests, context$5 as orderTransactions, context$7 as orders, context$4 as ordersSettings, context$3 as pickupLocations, context$k as recommendations, context$2 as shippingOptions, context$1 as shippoConfigurations };
|