@wix/ecom 1.0.689 → 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 +3 -2
- package/type-bundles/context.bundle.d.ts +118 -45
- package/type-bundles/index.bundle.d.ts +118 -45
- package/type-bundles/meta.bundle.d.ts +111 -1
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,MAA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AAC;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,OAAO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AAe,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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AO,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"
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"@wix/ecom_back-in-stock-settings": "1.0.29",
|
|
26
26
|
"@wix/ecom_cart": "1.0.59",
|
|
27
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
30
|
"@wix/ecom_checkout-templates": "1.0.65",
|
|
30
31
|
"@wix/ecom_currencies": "1.0.30",
|
|
@@ -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>>;
|
|
@@ -29308,4 +29381,4 @@ declare namespace context {
|
|
|
29308
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 };
|
|
29309
29382
|
}
|
|
29310
29383
|
|
|
29311
|
-
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 };
|
|
@@ -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 index_d$o_CheckoutContent = CheckoutContent;
|
|
108
|
+
type index_d$o_CheckoutContentProvider = CheckoutContentProvider;
|
|
109
|
+
type index_d$o_GetCheckoutContentIdentifiers = GetCheckoutContentIdentifiers;
|
|
110
|
+
type index_d$o_GetCheckoutContentOptions = GetCheckoutContentOptions;
|
|
111
|
+
type index_d$o_GetCheckoutContentRequest = GetCheckoutContentRequest;
|
|
112
|
+
type index_d$o_GetCheckoutContentResponse = GetCheckoutContentResponse;
|
|
113
|
+
declare const index_d$o_getCheckoutContent: typeof getCheckoutContent;
|
|
114
|
+
declare namespace index_d$o {
|
|
115
|
+
export { type index_d$o_CheckoutContent as CheckoutContent, type index_d$o_CheckoutContentProvider as CheckoutContentProvider, type index_d$o_GetCheckoutContentIdentifiers as GetCheckoutContentIdentifiers, type index_d$o_GetCheckoutContentOptions as GetCheckoutContentOptions, type index_d$o_GetCheckoutContentRequest as GetCheckoutContentRequest, type index_d$o_GetCheckoutContentResponse as GetCheckoutContentResponse, index_d$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>>;
|
|
@@ -29308,4 +29381,4 @@ declare namespace index_d {
|
|
|
29308
29381
|
export { type index_d_ConversionRateRequest as ConversionRateRequest, type index_d_ConversionRateResponse as ConversionRateResponse, type index_d_ConversionRateResponseNonNullableFields as ConversionRateResponseNonNullableFields, type index_d_ConvertCurrencyIdentifiers as ConvertCurrencyIdentifiers, type index_d_ConvertCurrencyRequest as ConvertCurrencyRequest, type index_d_ConvertCurrencyResponse as ConvertCurrencyResponse, type index_d_ConvertCurrencyResponseNonNullableFields as ConvertCurrencyResponseNonNullableFields, type index_d_Currency as Currency, type index_d_CurrencyRate as CurrencyRate, type index_d_DecimalValue as DecimalValue, type index_d_GetConversionRateIdentifiers as GetConversionRateIdentifiers, type index_d_ListCurrenciesRequest as ListCurrenciesRequest, type index_d_ListCurrenciesResponse as ListCurrenciesResponse, type index_d_ListCurrenciesResponseNonNullableFields as ListCurrenciesResponseNonNullableFields, index_d_convertCurrency as convertCurrency, index_d_getConversionRate as getConversionRate, index_d_listCurrencies as listCurrencies };
|
|
29309
29382
|
}
|
|
29310
29383
|
|
|
29311
|
-
export { index_d$j as abandonedCheckouts, index_d$i as backInStockNotifications, index_d$h as backInStockSettings, index_d$g as cart, index_d$e as checkout, index_d$d as checkoutSettings, index_d$c as checkoutTemplates, index_d as currencies, index_d$f as currentCart, index_d$b as deliveryProfile, index_d$m as discountRules, index_d$n as discountsCustomTrigger, index_d$a as draftOrders, index_d$8 as localDeliveryOptions, index_d$9 as orderFulfillments, index_d$l as orderInvoices, index_d$6 as orderPaymentRequests, index_d$5 as orderTransactions, index_d$7 as orders, index_d$4 as ordersSettings, index_d$3 as pickupLocations, index_d$k as recommendations, index_d$2 as shippingOptions, index_d$1 as shippoConfigurations };
|
|
29384
|
+
export { index_d$j as abandonedCheckouts, index_d$i as backInStockNotifications, index_d$h as backInStockSettings, index_d$g as cart, index_d$e as checkout, index_d$o as checkoutContent, index_d$d as checkoutSettings, index_d$c as checkoutTemplates, index_d as currencies, index_d$f as currentCart, index_d$b as deliveryProfile, index_d$m as discountRules, index_d$n as discountsCustomTrigger, index_d$a as draftOrders, index_d$8 as localDeliveryOptions, index_d$9 as orderFulfillments, index_d$l as orderInvoices, index_d$6 as orderPaymentRequests, index_d$5 as orderTransactions, index_d$7 as orders, index_d$4 as ordersSettings, index_d$3 as pickupLocations, index_d$k as recommendations, index_d$2 as shippingOptions, index_d$1 as shippoConfigurations };
|
|
@@ -1,3 +1,113 @@
|
|
|
1
|
+
interface GetCheckoutContentRequest$1 {
|
|
2
|
+
/** ID of the app that provides the content. */
|
|
3
|
+
appId: string;
|
|
4
|
+
/** ID of the specific component content. */
|
|
5
|
+
componentId: string;
|
|
6
|
+
/** When a language is specified, it will be retrieved the content in that language. */
|
|
7
|
+
languageCode?: string | null;
|
|
8
|
+
}
|
|
9
|
+
interface GetCheckoutContentResponse$1 {
|
|
10
|
+
/** The requested CheckoutContent. */
|
|
11
|
+
checkoutContent?: CheckoutContent$1;
|
|
12
|
+
}
|
|
13
|
+
interface CheckoutContent$1 {
|
|
14
|
+
/**
|
|
15
|
+
* Text to display in place of the "Continue shopping" link.
|
|
16
|
+
* @readonly
|
|
17
|
+
*/
|
|
18
|
+
continueShoppingLink?: string | null;
|
|
19
|
+
/**
|
|
20
|
+
* Text to display in place of the "Order summary" title.
|
|
21
|
+
* @readonly
|
|
22
|
+
*/
|
|
23
|
+
orderSummary?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* Text to display in place of the "Customer details" title.
|
|
26
|
+
* @readonly
|
|
27
|
+
*/
|
|
28
|
+
customerDetails?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* Text to display in place of the "Review and place order" title.
|
|
31
|
+
* @readonly
|
|
32
|
+
*/
|
|
33
|
+
reviewAndPlaceOrder?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Text to display in place of the "Place order" button.
|
|
36
|
+
* @readonly
|
|
37
|
+
*/
|
|
38
|
+
placeOrderButton?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* Text to display in place of the "Place order & pay" button.
|
|
41
|
+
* @readonly
|
|
42
|
+
*/
|
|
43
|
+
placeOrderPayButton?: string | null;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
interface GetCheckoutContentRequest {
|
|
47
|
+
/** ID of the app that provides the content. */
|
|
48
|
+
appId: string;
|
|
49
|
+
/** ID of the specific component content. */
|
|
50
|
+
componentId: string;
|
|
51
|
+
/** When a language is specified, it will be retrieved the content in that language. */
|
|
52
|
+
languageCode?: string | null;
|
|
53
|
+
}
|
|
54
|
+
interface GetCheckoutContentResponse {
|
|
55
|
+
/** The requested CheckoutContent. */
|
|
56
|
+
checkoutContent?: CheckoutContent;
|
|
57
|
+
}
|
|
58
|
+
interface CheckoutContent {
|
|
59
|
+
/**
|
|
60
|
+
* Text to display in place of the "Continue shopping" link.
|
|
61
|
+
* @readonly
|
|
62
|
+
*/
|
|
63
|
+
continueShoppingLink?: string | null;
|
|
64
|
+
/**
|
|
65
|
+
* Text to display in place of the "Order summary" title.
|
|
66
|
+
* @readonly
|
|
67
|
+
*/
|
|
68
|
+
orderSummary?: string | null;
|
|
69
|
+
/**
|
|
70
|
+
* Text to display in place of the "Customer details" title.
|
|
71
|
+
* @readonly
|
|
72
|
+
*/
|
|
73
|
+
customerDetails?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* Text to display in place of the "Review and place order" title.
|
|
76
|
+
* @readonly
|
|
77
|
+
*/
|
|
78
|
+
reviewAndPlaceOrder?: string | null;
|
|
79
|
+
/**
|
|
80
|
+
* Text to display in place of the "Place order" button.
|
|
81
|
+
* @readonly
|
|
82
|
+
*/
|
|
83
|
+
placeOrderButton?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* Text to display in place of the "Place order & pay" button.
|
|
86
|
+
* @readonly
|
|
87
|
+
*/
|
|
88
|
+
placeOrderPayButton?: string | null;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
type __PublicMethodMetaInfo$o<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
92
|
+
getUrl: (context: any) => string;
|
|
93
|
+
httpMethod: K;
|
|
94
|
+
path: string;
|
|
95
|
+
pathParams: M;
|
|
96
|
+
__requestType: T;
|
|
97
|
+
__originalRequestType: S;
|
|
98
|
+
__responseType: Q;
|
|
99
|
+
__originalResponseType: R;
|
|
100
|
+
};
|
|
101
|
+
declare function getCheckoutContent(): __PublicMethodMetaInfo$o<'GET', {
|
|
102
|
+
appId: string;
|
|
103
|
+
componentId: string;
|
|
104
|
+
}, GetCheckoutContentRequest, GetCheckoutContentRequest$1, GetCheckoutContentResponse, GetCheckoutContentResponse$1>;
|
|
105
|
+
|
|
106
|
+
declare const meta$o_getCheckoutContent: typeof getCheckoutContent;
|
|
107
|
+
declare namespace meta$o {
|
|
108
|
+
export { type __PublicMethodMetaInfo$o as __PublicMethodMetaInfo, meta$o_getCheckoutContent as getCheckoutContent };
|
|
109
|
+
}
|
|
110
|
+
|
|
1
111
|
interface ListTriggersRequest$1 {
|
|
2
112
|
}
|
|
3
113
|
interface ListTriggersResponse$1 {
|
|
@@ -30096,4 +30206,4 @@ declare namespace meta {
|
|
|
30096
30206
|
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_convertCurrency as convertCurrency, meta_getConversionRate as getConversionRate, meta_listCurrencies as listCurrencies };
|
|
30097
30207
|
}
|
|
30098
30208
|
|
|
30099
|
-
export { meta$j as abandonedCheckouts, meta$i as backInStockNotifications, meta$h as backInStockSettings, meta$g as cart, meta$e as checkout, meta$d as checkoutSettings, meta$c as checkoutTemplates, meta as currencies, meta$f as currentCart, meta$b as deliveryProfile, meta$m as discountRules, meta$n as discountsCustomTrigger, meta$a as draftOrders, meta$8 as localDeliveryOptions, meta$9 as orderFulfillments, meta$l as orderInvoices, meta$6 as orderPaymentRequests, meta$5 as orderTransactions, meta$7 as orders, meta$4 as ordersSettings, meta$3 as pickupLocations, meta$k as recommendations, meta$2 as shippingOptions, meta$1 as shippoConfigurations };
|
|
30209
|
+
export { meta$j as abandonedCheckouts, meta$i as backInStockNotifications, meta$h as backInStockSettings, meta$g as cart, meta$e as checkout, meta$o as checkoutContent, meta$d as checkoutSettings, meta$c as checkoutTemplates, meta as currencies, meta$f as currentCart, meta$b as deliveryProfile, meta$m as discountRules, meta$n as discountsCustomTrigger, meta$a as draftOrders, meta$8 as localDeliveryOptions, meta$9 as orderFulfillments, meta$l as orderInvoices, meta$6 as orderPaymentRequests, meta$5 as orderTransactions, meta$7 as orders, meta$4 as ordersSettings, meta$3 as pickupLocations, meta$k as recommendations, meta$2 as shippingOptions, meta$1 as shippoConfigurations };
|