@wix/ecom 1.0.689 → 1.0.691

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.
@@ -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';
@@ -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"));
@@ -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"}
@@ -1,3 +1,4 @@
1
+ export * as checkoutContent from '@wix/ecom_checkout-content';
1
2
  export * as discountsCustomTrigger from '@wix/ecom_discounts-custom-trigger';
2
3
  export * as discountRules from '@wix/ecom_discount-rules';
3
4
  export * as orderInvoices from '@wix/ecom_order-invoices';
@@ -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"));
@@ -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"}
@@ -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"));
@@ -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"}
@@ -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';
@@ -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';
@@ -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,MAAM,oCAAoC,CAAC;AACtE,OAAO,KAAK,eAAe,MAAM,oCAAoC,CAAC;AACtE,OAAO,KAAK,oBAAoB,MAAM,yCAAyC,CAAC;AAChF,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC"}
1
+ {"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,oCAAoC,CAAC;AACtE,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,MAAM,oCAAoC,CAAC;AACtE,OAAO,KAAK,eAAe,MAAM,oCAAoC,CAAC;AACtE,OAAO,KAAK,oBAAoB,MAAM,yCAAyC,CAAC;AAChF,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC"}
@@ -1,3 +1,4 @@
1
+ export * as checkoutContent from '@wix/ecom_checkout-content';
1
2
  export * as discountsCustomTrigger from '@wix/ecom_discounts-custom-trigger';
2
3
  export * as discountRules from '@wix/ecom_discount-rules';
3
4
  export * as orderInvoices from '@wix/ecom_order-invoices';
package/build/es/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ export * as checkoutContent from '@wix/ecom_checkout-content';
1
2
  export * as discountsCustomTrigger from '@wix/ecom_discounts-custom-trigger';
2
3
  export * as discountRules from '@wix/ecom_discount-rules';
3
4
  export * as orderInvoices from '@wix/ecom_order-invoices';
@@ -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,KAAK,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"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAC;AAC9D,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,KAAK,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"}
@@ -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';
@@ -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;AACpD,OAAO,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"}
1
+ {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,iCAAiC,CAAC;AACnE,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;AACpD,OAAO,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.689",
3
+ "version": "1.0.691",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -24,14 +24,15 @@
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.64",
27
+ "@wix/ecom_checkout": "1.0.65",
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",
31
32
  "@wix/ecom_current-cart": "1.0.59",
32
33
  "@wix/ecom_custom-triggers": "1.0.13",
33
34
  "@wix/ecom_delivery-profile": "1.0.10",
34
- "@wix/ecom_discount-rules": "1.0.45",
35
+ "@wix/ecom_discount-rules": "1.0.46",
35
36
  "@wix/ecom_discounts-custom-trigger": "1.0.1",
36
37
  "@wix/ecom_draft-orders": "1.0.1",
37
38
  "@wix/ecom_local-delivery-options": "1.0.2",
@@ -45,7 +46,7 @@
45
46
  "@wix/ecom_pickup-locations": "1.0.1",
46
47
  "@wix/ecom_recommendations": "1.0.33",
47
48
  "@wix/ecom_shipping-options": "1.0.1",
48
- "@wix/ecom_shipping-rates": "1.0.29",
49
+ "@wix/ecom_shipping-rates": "1.0.30",
49
50
  "@wix/ecom_shippo-configurations": "1.0.8",
50
51
  "@wix/ecom_validations": "1.0.18"
51
52
  },
@@ -71,5 +72,5 @@
71
72
  "fqdn": ""
72
73
  }
73
74
  },
74
- "falconPackageHash": "bf79dd4b9a5dfdb7a5f374c9b454f1054a520579f5b71bf8aacecd52"
75
+ "falconPackageHash": "36aa05c28115b466276317601381b8a580f5d883d80fe93df3954532"
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>>;
@@ -291,13 +364,11 @@ interface CustomFilter {
291
364
  params?: Record<string, any> | null;
292
365
  }
293
366
  interface And {
294
- /**
295
- * List of triggers.
296
- * Max: 5 triggers.
297
- */
367
+ /** List of triggers to have an "AND" operator between their results. */
298
368
  triggers?: DiscountTrigger[];
299
369
  }
300
370
  interface Or {
371
+ /** List of triggers to have an "OR" operator between their results. */
301
372
  triggers?: DiscountTrigger[];
302
373
  }
303
374
  interface Custom {
@@ -586,6 +657,7 @@ interface Cursors$b {
586
657
  interface GetAppliedDiscountsRequest {
587
658
  /** Line items for which to check for discount rules. */
588
659
  lineItems?: LineItem$6[];
660
+ /** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
589
661
  purchaseFlowId?: string | null;
590
662
  }
591
663
  interface LineItem$6 {
@@ -694,7 +766,7 @@ interface DomainEvent$j extends DomainEventBodyOneOf$j {
694
766
  slug?: string;
695
767
  /** ID of the entity associated with the event. */
696
768
  entityId?: string;
697
- /** Event timestamp. */
769
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
698
770
  eventTime?: Date;
699
771
  /**
700
772
  * Whether the event was triggered as a result of a privacy regulation application
@@ -723,7 +795,7 @@ interface DomainEventBodyOneOf$j {
723
795
  interface EntityCreatedEvent$j {
724
796
  entity?: string;
725
797
  }
726
- interface UndeleteInfo {
798
+ interface RestoreInfo$i {
727
799
  deletedDate?: Date;
728
800
  }
729
801
  interface EntityUpdatedEvent$j {
@@ -900,7 +972,7 @@ interface EventMetadata$g extends BaseEventMetadata$g {
900
972
  slug?: string;
901
973
  /** ID of the entity associated with the event. */
902
974
  entityId?: string;
903
- /** Event timestamp. */
975
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
904
976
  eventTime?: Date;
905
977
  /**
906
978
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1108,7 +1180,6 @@ type context$m_TriggerType = TriggerType;
1108
1180
  declare const context$m_TriggerType: typeof TriggerType;
1109
1181
  type context$m_Type = Type;
1110
1182
  declare const context$m_Type: typeof Type;
1111
- type context$m_UndeleteInfo = UndeleteInfo;
1112
1183
  type context$m_UpdateDiscountRule = UpdateDiscountRule;
1113
1184
  type context$m_UpdateDiscountRuleRequest = UpdateDiscountRuleRequest;
1114
1185
  type context$m_UpdateDiscountRuleResponse = UpdateDiscountRuleResponse;
@@ -1122,7 +1193,7 @@ declare const context$m_onDiscountRuleUpdated: typeof onDiscountRuleUpdated;
1122
1193
  declare const context$m_queryDiscountRules: typeof queryDiscountRules;
1123
1194
  declare const context$m_updateDiscountRule: typeof updateDiscountRule;
1124
1195
  declare namespace context$m {
1125
- export { type ActionEvent$j as ActionEvent, type context$m_ActiveTimeInfo as ActiveTimeInfo, type context$m_And as And, type AppliedDiscount$6 as AppliedDiscount, type context$m_AppliedDiscountRule as AppliedDiscountRule, context$m_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$g as BaseEventMetadata, type context$m_BuyXGetYInfo as BuyXGetYInfo, type context$m_CatalogItemFilter as CatalogItemFilter, type CatalogReference$8 as CatalogReference, type context$m_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type context$m_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type context$m_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$b as CursorPaging, type Cursors$b as Cursors, type context$m_Custom as Custom, type context$m_CustomFilter as CustomFilter, type context$m_CustomerBuy as CustomerBuy, type context$m_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type context$m_CustomerGet as CustomerGet, type context$m_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type context$m_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type context$m_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$6 as DiscountRule, type context$m_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type context$m_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$6 as DiscountRuleName, type DiscountRuleNonNullableFields$5 as DiscountRuleNonNullableFields, type context$m_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type context$m_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type context$m_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type context$m_DiscountRulesQueryResult as DiscountRulesQueryResult, type context$m_DiscountSettings as DiscountSettings, type context$m_DiscountTrigger as DiscountTrigger, type context$m_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$6 as DiscountType, type context$m_Discounts as Discounts, type DomainEvent$j as DomainEvent, type DomainEventBodyOneOf$j as DomainEventBodyOneOf, type Empty$e as Empty, type EntityCreatedEvent$j as EntityCreatedEvent, type EntityDeletedEvent$j as EntityDeletedEvent, type EntityUpdatedEvent$j as EntityUpdatedEvent, type EventMetadata$g as EventMetadata, type ExtendedFields$a as ExtendedFields, type context$m_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type context$m_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type context$m_GetDiscountRuleRequest as GetDiscountRuleRequest, type context$m_GetDiscountRuleResponse as GetDiscountRuleResponse, type context$m_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$j as IdentificationData, type IdentificationDataIdOneOf$j as IdentificationDataIdOneOf, type context$m_ItemQuantityRange as ItemQuantityRange, type LineItem$6 as LineItem, type MessageEnvelope$j as MessageEnvelope, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type context$m_Or as Or, type PlatformPaging$2 as PlatformPaging, type PlatformPagingMetadata$2 as PlatformPagingMetadata, type PlatformQuery$2 as PlatformQuery, type PlatformQueryPagingMethodOneOf$2 as PlatformQueryPagingMethodOneOf, type context$m_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type context$m_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type context$m_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type Scope$4 as Scope, type context$m_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, context$m_ScopeType as ScopeType, SortOrder$b as SortOrder, type Sorting$b as Sorting, type context$m_SpecificItemsInfo as SpecificItemsInfo, Status$4 as Status, type context$m_SubtotalRange as SubtotalRange, context$m_TriggerType as TriggerType, context$m_Type as Type, type context$m_UndeleteInfo as UndeleteInfo, type context$m_UpdateDiscountRule as UpdateDiscountRule, type context$m_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type context$m_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type context$m_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$j as WebhookIdentityType, context$m_createDiscountRule as createDiscountRule, context$m_deleteDiscountRule as deleteDiscountRule, context$m_getDiscountRule as getDiscountRule, context$m_onDiscountRuleCreated as onDiscountRuleCreated, context$m_onDiscountRuleDeleted as onDiscountRuleDeleted, context$m_onDiscountRuleUpdated as onDiscountRuleUpdated, context$m_queryDiscountRules as queryDiscountRules, context$m_updateDiscountRule as updateDiscountRule };
1196
+ export { type ActionEvent$j as ActionEvent, type context$m_ActiveTimeInfo as ActiveTimeInfo, type context$m_And as And, type AppliedDiscount$6 as AppliedDiscount, type context$m_AppliedDiscountRule as AppliedDiscountRule, context$m_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$g as BaseEventMetadata, type context$m_BuyXGetYInfo as BuyXGetYInfo, type context$m_CatalogItemFilter as CatalogItemFilter, type CatalogReference$8 as CatalogReference, type context$m_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type context$m_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type context$m_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$b as CursorPaging, type Cursors$b as Cursors, type context$m_Custom as Custom, type context$m_CustomFilter as CustomFilter, type context$m_CustomerBuy as CustomerBuy, type context$m_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type context$m_CustomerGet as CustomerGet, type context$m_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type context$m_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type context$m_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$6 as DiscountRule, type context$m_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type context$m_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$6 as DiscountRuleName, type DiscountRuleNonNullableFields$5 as DiscountRuleNonNullableFields, type context$m_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type context$m_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type context$m_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type context$m_DiscountRulesQueryResult as DiscountRulesQueryResult, type context$m_DiscountSettings as DiscountSettings, type context$m_DiscountTrigger as DiscountTrigger, type context$m_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$6 as DiscountType, type context$m_Discounts as Discounts, type DomainEvent$j as DomainEvent, type DomainEventBodyOneOf$j as DomainEventBodyOneOf, type Empty$e as Empty, type EntityCreatedEvent$j as EntityCreatedEvent, type EntityDeletedEvent$j as EntityDeletedEvent, type EntityUpdatedEvent$j as EntityUpdatedEvent, type EventMetadata$g as EventMetadata, type ExtendedFields$a as ExtendedFields, type context$m_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type context$m_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type context$m_GetDiscountRuleRequest as GetDiscountRuleRequest, type context$m_GetDiscountRuleResponse as GetDiscountRuleResponse, type context$m_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$j as IdentificationData, type IdentificationDataIdOneOf$j as IdentificationDataIdOneOf, type context$m_ItemQuantityRange as ItemQuantityRange, type LineItem$6 as LineItem, type MessageEnvelope$j as MessageEnvelope, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type context$m_Or as Or, type PlatformPaging$2 as PlatformPaging, type PlatformPagingMetadata$2 as PlatformPagingMetadata, type PlatformQuery$2 as PlatformQuery, type PlatformQueryPagingMethodOneOf$2 as PlatformQueryPagingMethodOneOf, type context$m_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type context$m_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type context$m_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type RestoreInfo$i as RestoreInfo, type Scope$4 as Scope, type context$m_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, context$m_ScopeType as ScopeType, SortOrder$b as SortOrder, type Sorting$b as Sorting, type context$m_SpecificItemsInfo as SpecificItemsInfo, Status$4 as Status, type context$m_SubtotalRange as SubtotalRange, context$m_TriggerType as TriggerType, context$m_Type as Type, type context$m_UpdateDiscountRule as UpdateDiscountRule, type context$m_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type context$m_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type context$m_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$j as WebhookIdentityType, context$m_createDiscountRule as createDiscountRule, context$m_deleteDiscountRule as deleteDiscountRule, context$m_getDiscountRule as getDiscountRule, context$m_onDiscountRuleCreated as onDiscountRuleCreated, context$m_onDiscountRuleDeleted as onDiscountRuleDeleted, context$m_onDiscountRuleUpdated as onDiscountRuleUpdated, context$m_queryDiscountRules as queryDiscountRules, context$m_updateDiscountRule as updateDiscountRule };
1126
1197
  }
1127
1198
 
1128
1199
  interface Invoice {
@@ -29308,4 +29379,4 @@ declare namespace context {
29308
29379
  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
29380
  }
29310
29381
 
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 };
29382
+ 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>>;
@@ -291,13 +364,11 @@ interface CustomFilter {
291
364
  params?: Record<string, any> | null;
292
365
  }
293
366
  interface And {
294
- /**
295
- * List of triggers.
296
- * Max: 5 triggers.
297
- */
367
+ /** List of triggers to have an "AND" operator between their results. */
298
368
  triggers?: DiscountTrigger[];
299
369
  }
300
370
  interface Or {
371
+ /** List of triggers to have an "OR" operator between their results. */
301
372
  triggers?: DiscountTrigger[];
302
373
  }
303
374
  interface Custom {
@@ -586,6 +657,7 @@ interface Cursors$b {
586
657
  interface GetAppliedDiscountsRequest {
587
658
  /** Line items for which to check for discount rules. */
588
659
  lineItems?: LineItem$6[];
660
+ /** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
589
661
  purchaseFlowId?: string | null;
590
662
  }
591
663
  interface LineItem$6 {
@@ -694,7 +766,7 @@ interface DomainEvent$j extends DomainEventBodyOneOf$j {
694
766
  slug?: string;
695
767
  /** ID of the entity associated with the event. */
696
768
  entityId?: string;
697
- /** Event timestamp. */
769
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
698
770
  eventTime?: Date;
699
771
  /**
700
772
  * Whether the event was triggered as a result of a privacy regulation application
@@ -723,7 +795,7 @@ interface DomainEventBodyOneOf$j {
723
795
  interface EntityCreatedEvent$j {
724
796
  entity?: string;
725
797
  }
726
- interface UndeleteInfo {
798
+ interface RestoreInfo$i {
727
799
  deletedDate?: Date;
728
800
  }
729
801
  interface EntityUpdatedEvent$j {
@@ -900,7 +972,7 @@ interface EventMetadata$g extends BaseEventMetadata$g {
900
972
  slug?: string;
901
973
  /** ID of the entity associated with the event. */
902
974
  entityId?: string;
903
- /** Event timestamp. */
975
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
904
976
  eventTime?: Date;
905
977
  /**
906
978
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1108,7 +1180,6 @@ type index_d$m_TriggerType = TriggerType;
1108
1180
  declare const index_d$m_TriggerType: typeof TriggerType;
1109
1181
  type index_d$m_Type = Type;
1110
1182
  declare const index_d$m_Type: typeof Type;
1111
- type index_d$m_UndeleteInfo = UndeleteInfo;
1112
1183
  type index_d$m_UpdateDiscountRule = UpdateDiscountRule;
1113
1184
  type index_d$m_UpdateDiscountRuleRequest = UpdateDiscountRuleRequest;
1114
1185
  type index_d$m_UpdateDiscountRuleResponse = UpdateDiscountRuleResponse;
@@ -1122,7 +1193,7 @@ declare const index_d$m_onDiscountRuleUpdated: typeof onDiscountRuleUpdated;
1122
1193
  declare const index_d$m_queryDiscountRules: typeof queryDiscountRules;
1123
1194
  declare const index_d$m_updateDiscountRule: typeof updateDiscountRule;
1124
1195
  declare namespace index_d$m {
1125
- export { type ActionEvent$j as ActionEvent, type index_d$m_ActiveTimeInfo as ActiveTimeInfo, type index_d$m_And as And, type AppliedDiscount$6 as AppliedDiscount, type index_d$m_AppliedDiscountRule as AppliedDiscountRule, index_d$m_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$g as BaseEventMetadata, type index_d$m_BuyXGetYInfo as BuyXGetYInfo, type index_d$m_CatalogItemFilter as CatalogItemFilter, type CatalogReference$8 as CatalogReference, type index_d$m_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type index_d$m_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type index_d$m_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$b as CursorPaging, type Cursors$b as Cursors, type index_d$m_Custom as Custom, type index_d$m_CustomFilter as CustomFilter, type index_d$m_CustomerBuy as CustomerBuy, type index_d$m_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type index_d$m_CustomerGet as CustomerGet, type index_d$m_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type index_d$m_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type index_d$m_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$6 as DiscountRule, type index_d$m_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type index_d$m_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$6 as DiscountRuleName, type DiscountRuleNonNullableFields$5 as DiscountRuleNonNullableFields, type index_d$m_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type index_d$m_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type index_d$m_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type index_d$m_DiscountRulesQueryResult as DiscountRulesQueryResult, type index_d$m_DiscountSettings as DiscountSettings, type index_d$m_DiscountTrigger as DiscountTrigger, type index_d$m_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$6 as DiscountType, type index_d$m_Discounts as Discounts, type DomainEvent$j as DomainEvent, type DomainEventBodyOneOf$j as DomainEventBodyOneOf, type Empty$e as Empty, type EntityCreatedEvent$j as EntityCreatedEvent, type EntityDeletedEvent$j as EntityDeletedEvent, type EntityUpdatedEvent$j as EntityUpdatedEvent, type EventMetadata$g as EventMetadata, type ExtendedFields$a as ExtendedFields, type index_d$m_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type index_d$m_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type index_d$m_GetDiscountRuleRequest as GetDiscountRuleRequest, type index_d$m_GetDiscountRuleResponse as GetDiscountRuleResponse, type index_d$m_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$j as IdentificationData, type IdentificationDataIdOneOf$j as IdentificationDataIdOneOf, type index_d$m_ItemQuantityRange as ItemQuantityRange, type LineItem$6 as LineItem, type MessageEnvelope$j as MessageEnvelope, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type index_d$m_Or as Or, type PlatformPaging$2 as PlatformPaging, type PlatformPagingMetadata$2 as PlatformPagingMetadata, type PlatformQuery$2 as PlatformQuery, type PlatformQueryPagingMethodOneOf$2 as PlatformQueryPagingMethodOneOf, type index_d$m_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type index_d$m_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type index_d$m_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type Scope$4 as Scope, type index_d$m_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, index_d$m_ScopeType as ScopeType, SortOrder$b as SortOrder, type Sorting$b as Sorting, type index_d$m_SpecificItemsInfo as SpecificItemsInfo, Status$4 as Status, type index_d$m_SubtotalRange as SubtotalRange, index_d$m_TriggerType as TriggerType, index_d$m_Type as Type, type index_d$m_UndeleteInfo as UndeleteInfo, type index_d$m_UpdateDiscountRule as UpdateDiscountRule, type index_d$m_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type index_d$m_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type index_d$m_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$j as WebhookIdentityType, index_d$m_createDiscountRule as createDiscountRule, index_d$m_deleteDiscountRule as deleteDiscountRule, index_d$m_getDiscountRule as getDiscountRule, index_d$m_onDiscountRuleCreated as onDiscountRuleCreated, index_d$m_onDiscountRuleDeleted as onDiscountRuleDeleted, index_d$m_onDiscountRuleUpdated as onDiscountRuleUpdated, index_d$m_queryDiscountRules as queryDiscountRules, index_d$m_updateDiscountRule as updateDiscountRule };
1196
+ export { type ActionEvent$j as ActionEvent, type index_d$m_ActiveTimeInfo as ActiveTimeInfo, type index_d$m_And as And, type AppliedDiscount$6 as AppliedDiscount, type index_d$m_AppliedDiscountRule as AppliedDiscountRule, index_d$m_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$g as BaseEventMetadata, type index_d$m_BuyXGetYInfo as BuyXGetYInfo, type index_d$m_CatalogItemFilter as CatalogItemFilter, type CatalogReference$8 as CatalogReference, type index_d$m_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type index_d$m_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type index_d$m_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$b as CursorPaging, type Cursors$b as Cursors, type index_d$m_Custom as Custom, type index_d$m_CustomFilter as CustomFilter, type index_d$m_CustomerBuy as CustomerBuy, type index_d$m_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type index_d$m_CustomerGet as CustomerGet, type index_d$m_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type index_d$m_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type index_d$m_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$6 as DiscountRule, type index_d$m_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type index_d$m_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$6 as DiscountRuleName, type DiscountRuleNonNullableFields$5 as DiscountRuleNonNullableFields, type index_d$m_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type index_d$m_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type index_d$m_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type index_d$m_DiscountRulesQueryResult as DiscountRulesQueryResult, type index_d$m_DiscountSettings as DiscountSettings, type index_d$m_DiscountTrigger as DiscountTrigger, type index_d$m_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$6 as DiscountType, type index_d$m_Discounts as Discounts, type DomainEvent$j as DomainEvent, type DomainEventBodyOneOf$j as DomainEventBodyOneOf, type Empty$e as Empty, type EntityCreatedEvent$j as EntityCreatedEvent, type EntityDeletedEvent$j as EntityDeletedEvent, type EntityUpdatedEvent$j as EntityUpdatedEvent, type EventMetadata$g as EventMetadata, type ExtendedFields$a as ExtendedFields, type index_d$m_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type index_d$m_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type index_d$m_GetDiscountRuleRequest as GetDiscountRuleRequest, type index_d$m_GetDiscountRuleResponse as GetDiscountRuleResponse, type index_d$m_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$j as IdentificationData, type IdentificationDataIdOneOf$j as IdentificationDataIdOneOf, type index_d$m_ItemQuantityRange as ItemQuantityRange, type LineItem$6 as LineItem, type MessageEnvelope$j as MessageEnvelope, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type index_d$m_Or as Or, type PlatformPaging$2 as PlatformPaging, type PlatformPagingMetadata$2 as PlatformPagingMetadata, type PlatformQuery$2 as PlatformQuery, type PlatformQueryPagingMethodOneOf$2 as PlatformQueryPagingMethodOneOf, type index_d$m_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type index_d$m_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type index_d$m_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type RestoreInfo$i as RestoreInfo, type Scope$4 as Scope, type index_d$m_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, index_d$m_ScopeType as ScopeType, SortOrder$b as SortOrder, type Sorting$b as Sorting, type index_d$m_SpecificItemsInfo as SpecificItemsInfo, Status$4 as Status, type index_d$m_SubtotalRange as SubtotalRange, index_d$m_TriggerType as TriggerType, index_d$m_Type as Type, type index_d$m_UpdateDiscountRule as UpdateDiscountRule, type index_d$m_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type index_d$m_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type index_d$m_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$j as WebhookIdentityType, index_d$m_createDiscountRule as createDiscountRule, index_d$m_deleteDiscountRule as deleteDiscountRule, index_d$m_getDiscountRule as getDiscountRule, index_d$m_onDiscountRuleCreated as onDiscountRuleCreated, index_d$m_onDiscountRuleDeleted as onDiscountRuleDeleted, index_d$m_onDiscountRuleUpdated as onDiscountRuleUpdated, index_d$m_queryDiscountRules as queryDiscountRules, index_d$m_updateDiscountRule as updateDiscountRule };
1126
1197
  }
1127
1198
 
1128
1199
  interface Invoice {
@@ -29308,4 +29379,4 @@ declare namespace index_d {
29308
29379
  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
29380
  }
29310
29381
 
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 };
29382
+ 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 {
@@ -202,13 +312,11 @@ interface CustomFilter$1 {
202
312
  params?: Record<string, any> | null;
203
313
  }
204
314
  interface And$1 {
205
- /**
206
- * List of triggers.
207
- * Max: 5 triggers.
208
- */
315
+ /** List of triggers to have an "AND" operator between their results. */
209
316
  triggers?: DiscountTrigger$1[];
210
317
  }
211
318
  interface Or$1 {
319
+ /** List of triggers to have an "OR" operator between their results. */
212
320
  triggers?: DiscountTrigger$1[];
213
321
  }
214
322
  interface Custom$1 {
@@ -656,13 +764,11 @@ interface CustomFilter {
656
764
  params?: Record<string, any> | null;
657
765
  }
658
766
  interface And {
659
- /**
660
- * List of triggers.
661
- * Max: 5 triggers.
662
- */
767
+ /** List of triggers to have an "AND" operator between their results. */
663
768
  triggers?: DiscountTrigger[];
664
769
  }
665
770
  interface Or {
771
+ /** List of triggers to have an "OR" operator between their results. */
666
772
  triggers?: DiscountTrigger[];
667
773
  }
668
774
  interface Custom {
@@ -30096,4 +30202,4 @@ declare namespace meta {
30096
30202
  export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_convertCurrency as convertCurrency, meta_getConversionRate as getConversionRate, meta_listCurrencies as listCurrencies };
30097
30203
  }
30098
30204
 
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 };
30205
+ 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 };
@@ -424,7 +424,11 @@ interface IdentificationDataIdOneOf$4 {
424
424
  }
425
425
 
426
426
  /**
427
- * Postal Code was missing from request
427
+ * Postal Code was missing from request.
428
+ This error should be returned when the postal code is missing from the request and it is impossible to calculate the shipping rates.
429
+ If it is returned in cases where the postal code exists, it will be ignored and considered as a bug in the carrier's implementation.
430
+ Error data is optional. If provided, it will appear in the monitoring system but will not be exposed to the user.
431
+ Zipcode errors may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
428
432
  */
429
433
  declare class MissingPostalCodeWixError extends Error {
430
434
  /** @hidden */
@@ -437,15 +441,17 @@ declare class MissingPostalCodeWixError extends Error {
437
441
  name: string;
438
442
  /** @hidden */
439
443
  errorSchemaName: string;
440
- /** @hidden */
441
- description: string;
442
444
  data: MissingPostalCodeError;
443
445
  constructor(data: MissingPostalCodeError);
444
446
  /** @hidden */
445
447
  static readonly __type = "wix_spi_error";
446
448
  }
447
449
  /**
448
- * Postal Code was invalid in request
450
+ * Postal Code was invalid.
451
+ This error should be returned when the postal code is invalid and it is impossible to calculate the shipping rates.
452
+ If it is returned in cases where the postal code is valid, it will be ignored and considered as a bug in the carrier's implementation.
453
+ Error data is optional. If provided, it will appear in the monitoring system but will not be exposed to the user.
454
+ Zipcode errors may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
449
455
  */
450
456
  declare class InvalidPostalCodeWixError extends Error {
451
457
  /** @hidden */
@@ -458,15 +464,17 @@ declare class InvalidPostalCodeWixError extends Error {
458
464
  name: string;
459
465
  /** @hidden */
460
466
  errorSchemaName: string;
461
- /** @hidden */
462
- description: string;
463
467
  data: InvalidPostalCodeError;
464
468
  constructor(data: InvalidPostalCodeError);
465
469
  /** @hidden */
466
470
  static readonly __type = "wix_spi_error";
467
471
  }
468
472
  /**
469
- * The provided address was incomplete
473
+ * The provided address was invalid.
474
+ This error is to indicate the system that more detailed information is needed (such as subdivision) in order to provide shipping rates.
475
+ This may happen in early stages of the purchase flow, where not all shipping address information has been collected yet.
476
+ Client, such as cart page, that receive this error can use it to customise the flow to ask for more detailed address information in order to get valid shipping rates.
477
+ Data is mandatory and should include the invalid fields in the address. for example: "ShippingDestination.subdivision".
470
478
  */
471
479
  declare class InvalidAddressWixError extends Error {
472
480
  /** @hidden */
@@ -479,15 +487,17 @@ declare class InvalidAddressWixError extends Error {
479
487
  name: string;
480
488
  /** @hidden */
481
489
  errorSchemaName: string;
482
- /** @hidden */
483
- description: string;
484
490
  data: InvalidAddressError;
485
491
  constructor(data: InvalidAddressError);
486
492
  /** @hidden */
487
493
  static readonly __type = "wix_spi_error";
488
494
  }
489
495
  /**
490
- * The provided address was incomplete
496
+ * Generic error for shipping rates calculation.
497
+ This error should be returned when there is a generic error in the shipping rates calculation that is not covered by the other errors.
498
+ Since this error is generic it is highly encouraged to provide error data that will help in debugging the issue.
499
+ If error data is provided, it will appear in the monitoring system but will not be exposed to the user.
500
+ This error may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
491
501
  */
492
502
  declare class GenericShippingRatesWixError extends Error {
493
503
  /** @hidden */
@@ -500,8 +510,6 @@ declare class GenericShippingRatesWixError extends Error {
500
510
  name: string;
501
511
  /** @hidden */
502
512
  errorSchemaName: string;
503
- /** @hidden */
504
- description: string;
505
513
  data: GenericShippingRatesError;
506
514
  constructor(data: GenericShippingRatesError);
507
515
  /** @hidden */
@@ -460,7 +460,11 @@ declare const provideHandlers$4: ServicePluginDefinition<{
460
460
  }>;
461
461
 
462
462
  /**
463
- * Postal Code was missing from request
463
+ * Postal Code was missing from request.
464
+ This error should be returned when the postal code is missing from the request and it is impossible to calculate the shipping rates.
465
+ If it is returned in cases where the postal code exists, it will be ignored and considered as a bug in the carrier's implementation.
466
+ Error data is optional. If provided, it will appear in the monitoring system but will not be exposed to the user.
467
+ Zipcode errors may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
464
468
  */
465
469
  declare class MissingPostalCodeWixError extends Error {
466
470
  /** @hidden */
@@ -473,15 +477,17 @@ declare class MissingPostalCodeWixError extends Error {
473
477
  name: string;
474
478
  /** @hidden */
475
479
  errorSchemaName: string;
476
- /** @hidden */
477
- description: string;
478
480
  data: MissingPostalCodeError;
479
481
  constructor(data: MissingPostalCodeError);
480
482
  /** @hidden */
481
483
  static readonly __type = "wix_spi_error";
482
484
  }
483
485
  /**
484
- * Postal Code was invalid in request
486
+ * Postal Code was invalid.
487
+ This error should be returned when the postal code is invalid and it is impossible to calculate the shipping rates.
488
+ If it is returned in cases where the postal code is valid, it will be ignored and considered as a bug in the carrier's implementation.
489
+ Error data is optional. If provided, it will appear in the monitoring system but will not be exposed to the user.
490
+ Zipcode errors may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
485
491
  */
486
492
  declare class InvalidPostalCodeWixError extends Error {
487
493
  /** @hidden */
@@ -494,15 +500,17 @@ declare class InvalidPostalCodeWixError extends Error {
494
500
  name: string;
495
501
  /** @hidden */
496
502
  errorSchemaName: string;
497
- /** @hidden */
498
- description: string;
499
503
  data: InvalidPostalCodeError;
500
504
  constructor(data: InvalidPostalCodeError);
501
505
  /** @hidden */
502
506
  static readonly __type = "wix_spi_error";
503
507
  }
504
508
  /**
505
- * The provided address was incomplete
509
+ * The provided address was invalid.
510
+ This error is to indicate the system that more detailed information is needed (such as subdivision) in order to provide shipping rates.
511
+ This may happen in early stages of the purchase flow, where not all shipping address information has been collected yet.
512
+ Client, such as cart page, that receive this error can use it to customise the flow to ask for more detailed address information in order to get valid shipping rates.
513
+ Data is mandatory and should include the invalid fields in the address. for example: "ShippingDestination.subdivision".
506
514
  */
507
515
  declare class InvalidAddressWixError extends Error {
508
516
  /** @hidden */
@@ -515,15 +523,17 @@ declare class InvalidAddressWixError extends Error {
515
523
  name: string;
516
524
  /** @hidden */
517
525
  errorSchemaName: string;
518
- /** @hidden */
519
- description: string;
520
526
  data: InvalidAddressError;
521
527
  constructor(data: InvalidAddressError);
522
528
  /** @hidden */
523
529
  static readonly __type = "wix_spi_error";
524
530
  }
525
531
  /**
526
- * The provided address was incomplete
532
+ * Generic error for shipping rates calculation.
533
+ This error should be returned when there is a generic error in the shipping rates calculation that is not covered by the other errors.
534
+ Since this error is generic it is highly encouraged to provide error data that will help in debugging the issue.
535
+ If error data is provided, it will appear in the monitoring system but will not be exposed to the user.
536
+ This error may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
527
537
  */
528
538
  declare class GenericShippingRatesWixError extends Error {
529
539
  /** @hidden */
@@ -536,8 +546,6 @@ declare class GenericShippingRatesWixError extends Error {
536
546
  name: string;
537
547
  /** @hidden */
538
548
  errorSchemaName: string;
539
- /** @hidden */
540
- description: string;
541
549
  data: GenericShippingRatesError;
542
550
  constructor(data: GenericShippingRatesError);
543
551
  /** @hidden */