@wix/ecom 1.0.678 → 1.0.680
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 +4 -3
- package/type-bundles/index.bundle.d.ts +153 -45
- package/type-bundles/meta.bundle.d.ts +64 -1
- package/type-bundles/service-plugins-context.bundle.d.ts +30 -1
- package/type-bundles/service-plugins.bundle.d.ts +30 -1
package/build/cjs/context.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * as discountsCustomTrigger from '@wix/ecom_discounts-custom-trigger/context';
|
|
1
2
|
export * as discountRules from '@wix/ecom_discount-rules/context';
|
|
2
3
|
export * as orderInvoices from '@wix/ecom_order-invoices/context';
|
|
3
4
|
export * as recommendations from '@wix/ecom_recommendations/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.pickupLocations = exports.ordersSettings = exports.orderTransactions = 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 = void 0;
|
|
26
|
+
exports.currencies = exports.shippoConfigurations = exports.pickupLocations = exports.ordersSettings = exports.orderTransactions = 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;
|
|
27
|
+
exports.discountsCustomTrigger = __importStar(require("@wix/ecom_discounts-custom-trigger/context"));
|
|
27
28
|
exports.discountRules = __importStar(require("@wix/ecom_discount-rules/context"));
|
|
28
29
|
exports.orderInvoices = __importStar(require("@wix/ecom_order-invoices/context"));
|
|
29
30
|
exports.recommendations = __importStar(require("@wix/ecom_recommendations/context"));
|
package/build/cjs/context.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,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,0FAA0E;AAC1E,oFAAoE;AACpE,sFAAsE;AACtE,gGAAgF;AAChF,2EAA2D"}
|
|
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,0FAA0E;AAC1E,oFAAoE;AACpE,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.pickupLocations = exports.ordersSettings = exports.orderTransactions = 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 = void 0;
|
|
26
|
+
exports.currencies = exports.shippoConfigurations = exports.pickupLocations = exports.ordersSettings = exports.orderTransactions = 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;
|
|
27
|
+
exports.discountsCustomTrigger = __importStar(require("@wix/ecom_discounts-custom-trigger"));
|
|
27
28
|
exports.discountRules = __importStar(require("@wix/ecom_discount-rules"));
|
|
28
29
|
exports.orderInvoices = __importStar(require("@wix/ecom_order-invoices"));
|
|
29
30
|
exports.recommendations = __importStar(require("@wix/ecom_recommendations"));
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,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,kFAAkE;AAClE,4EAA4D;AAC5D,8EAA8D;AAC9D,wFAAwE;AACxE,mEAAmD"}
|
|
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,kFAAkE;AAClE,4EAA4D;AAC5D,8EAA8D;AAC9D,wFAAwE;AACxE,mEAAmD"}
|
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * as discountsCustomTrigger from '@wix/ecom_discounts-custom-trigger/meta';
|
|
1
2
|
export * as discountRules from '@wix/ecom_discount-rules/meta';
|
|
2
3
|
export * as orderInvoices from '@wix/ecom_order-invoices/meta';
|
|
3
4
|
export * as recommendations from '@wix/ecom_recommendations/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.pickupLocations = exports.ordersSettings = exports.orderTransactions = 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 = void 0;
|
|
26
|
+
exports.currencies = exports.shippoConfigurations = exports.pickupLocations = exports.ordersSettings = exports.orderTransactions = 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;
|
|
27
|
+
exports.discountsCustomTrigger = __importStar(require("@wix/ecom_discounts-custom-trigger/meta"));
|
|
27
28
|
exports.discountRules = __importStar(require("@wix/ecom_discount-rules/meta"));
|
|
28
29
|
exports.orderInvoices = __importStar(require("@wix/ecom_order-invoices/meta"));
|
|
29
30
|
exports.recommendations = __importStar(require("@wix/ecom_recommendations/meta"));
|
package/build/cjs/meta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+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,uFAAuE;AACvE,iFAAiE;AACjE,mFAAmE;AACnE,6FAA6E;AAC7E,wEAAwD"}
|
|
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,uFAAuE;AACvE,iFAAiE;AACjE,mFAAmE;AACnE,6FAA6E;AAC7E,wEAAwD"}
|
package/build/es/context.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * as discountsCustomTrigger from '@wix/ecom_discounts-custom-trigger/context';
|
|
1
2
|
export * as discountRules from '@wix/ecom_discount-rules/context';
|
|
2
3
|
export * as orderInvoices from '@wix/ecom_order-invoices/context';
|
|
3
4
|
export * as recommendations from '@wix/ecom_recommendations/context';
|
package/build/es/context.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * as discountsCustomTrigger from '@wix/ecom_discounts-custom-trigger/context';
|
|
1
2
|
export * as discountRules from '@wix/ecom_discount-rules/context';
|
|
2
3
|
export * as orderInvoices from '@wix/ecom_order-invoices/context';
|
|
3
4
|
export * as recommendations from '@wix/ecom_recommendations/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,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,C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D,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,iBAAiB,MAAM,sCAAsC,CAAC;AAC1E,OAAO,KAAK,cAAc,MAAM,mCAAmC,CAAC;AACpE,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,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,iB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M,8BAA8B,CAAC;AAClE,OAAO,KAAK,oBAAoB,MAAM,kCAAkC,CAAC;AACzE,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAK,iBAAiB,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,cAAc,MAAM,2BAA2B,CAAC;AAC5D,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 discountsCustomTrigger from '@wix/ecom_discounts-custom-trigger/meta';
|
|
1
2
|
export * as discountRules from '@wix/ecom_discount-rules/meta';
|
|
2
3
|
export * as orderInvoices from '@wix/ecom_order-invoices/meta';
|
|
3
4
|
export * as recommendations from '@wix/ecom_recommendations/meta';
|
package/build/es/meta.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * as discountsCustomTrigger from '@wix/ecom_discounts-custom-trigger/meta';
|
|
1
2
|
export * as discountRules from '@wix/ecom_discount-rules/meta';
|
|
2
3
|
export * as orderInvoices from '@wix/ecom_order-invoices/meta';
|
|
3
4
|
export * as recommendations from '@wix/ecom_recommendations/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,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,KAA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B,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,iBAAiB,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,cAAc,MAAM,gCAAgC,CAAC;AACjE,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.680",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"@wix/ecom_custom-triggers": "1.0.12",
|
|
33
33
|
"@wix/ecom_delivery-profile": "1.0.8",
|
|
34
34
|
"@wix/ecom_discount-rules": "1.0.44",
|
|
35
|
+
"@wix/ecom_discounts-custom-trigger": "1.0.0",
|
|
35
36
|
"@wix/ecom_draft-orders": "1.0.0",
|
|
36
37
|
"@wix/ecom_local-delivery-options": "1.0.0",
|
|
37
38
|
"@wix/ecom_order-fulfillments": "1.0.39",
|
|
@@ -44,7 +45,7 @@
|
|
|
44
45
|
"@wix/ecom_recommendations": "1.0.32",
|
|
45
46
|
"@wix/ecom_shipping-rates": "1.0.28",
|
|
46
47
|
"@wix/ecom_shippo-configurations": "1.0.6",
|
|
47
|
-
"@wix/ecom_validations": "1.0.
|
|
48
|
+
"@wix/ecom_validations": "1.0.17"
|
|
48
49
|
},
|
|
49
50
|
"devDependencies": {
|
|
50
51
|
"glob": "^10.4.1",
|
|
@@ -68,5 +69,5 @@
|
|
|
68
69
|
"fqdn": ""
|
|
69
70
|
}
|
|
70
71
|
},
|
|
71
|
-
"falconPackageHash": "
|
|
72
|
+
"falconPackageHash": "b453b438d36ba44706e63a72c1c3b4ccfe50f2e891b7c0028d9bdc6a"
|
|
72
73
|
}
|
|
@@ -1,3 +1,155 @@
|
|
|
1
|
+
interface CustomTrigger {
|
|
2
|
+
/** Unique ID of the trigger */
|
|
3
|
+
_id?: string;
|
|
4
|
+
/** App ID of the trigger provider */
|
|
5
|
+
appId?: string;
|
|
6
|
+
}
|
|
7
|
+
interface GetEligibleTriggersRequest {
|
|
8
|
+
/** List of line items to check the custom triggers on */
|
|
9
|
+
lineItems?: LineItem$7[];
|
|
10
|
+
/** List of custom triggers to check 'is eligible' on */
|
|
11
|
+
triggers?: TriggerToFilterBy[];
|
|
12
|
+
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
13
|
+
purchaseFlowId?: string | null;
|
|
14
|
+
}
|
|
15
|
+
interface LineItem$7 {
|
|
16
|
+
/** Line item ID. */
|
|
17
|
+
_id?: string;
|
|
18
|
+
/** Item quantity in this line item. */
|
|
19
|
+
quantity?: number | null;
|
|
20
|
+
/**
|
|
21
|
+
* Catalog and item reference. Holds IDs for the item and the catalog it came from, as well as further optional info.
|
|
22
|
+
* This field is empty in the case of a custom line item.
|
|
23
|
+
*/
|
|
24
|
+
catalogReference?: CatalogReference$9;
|
|
25
|
+
/** Price of a single item. */
|
|
26
|
+
price?: string;
|
|
27
|
+
}
|
|
28
|
+
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
29
|
+
interface CatalogReference$9 {
|
|
30
|
+
/** ID of the item within the catalog it belongs to. */
|
|
31
|
+
catalogItemId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* ID of the app providing the catalog.
|
|
34
|
+
*
|
|
35
|
+
* You can get your app's ID from its page in the [Wix Dev Center](https://dev.wix.com/apps).
|
|
36
|
+
*
|
|
37
|
+
* For items from Wix catalogs, the following values always apply:
|
|
38
|
+
* + Wix Stores: `"215238eb-22a5-4c36-9e7b-e7c08025e04e"`
|
|
39
|
+
* + Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`
|
|
40
|
+
* + Wix Restaurants: `"9a5d83fd-8570-482e-81ab-cfa88942ee60"`
|
|
41
|
+
*/
|
|
42
|
+
appId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Additional item details in key:value pairs. Use this optional field to provide more specificity with item selection. The `options` field values differ depending on which catalog is providing the items.
|
|
45
|
+
*
|
|
46
|
+
* For products and variants from a Wix Stores catalog, learn more about [eCommerce integration](https://dev.wix.com/docs/rest/business-solutions/stores/catalog/e-commerce-integration).
|
|
47
|
+
*/
|
|
48
|
+
options?: Record<string, any> | null;
|
|
49
|
+
}
|
|
50
|
+
interface TriggerToFilterBy {
|
|
51
|
+
/** Custom trigger */
|
|
52
|
+
customTrigger?: CustomTrigger;
|
|
53
|
+
/** Unique identifier that will return in `EligibleTrigger.identifier` to distinguish between scopes */
|
|
54
|
+
identifier?: string | null;
|
|
55
|
+
}
|
|
56
|
+
interface GetEligibleTriggersResponse {
|
|
57
|
+
/** A List of eligible custom triggers */
|
|
58
|
+
eligibleTriggers?: EligibleTrigger[];
|
|
59
|
+
}
|
|
60
|
+
interface EligibleTrigger {
|
|
61
|
+
/** The ID of the custom trigger */
|
|
62
|
+
customTriggerId?: string;
|
|
63
|
+
/** The id of the application implements this custom trigger */
|
|
64
|
+
appId?: string;
|
|
65
|
+
/** Unique identifier that was assigned in `TriggerToFilterBy.identifier` to distinguish between custom triggers */
|
|
66
|
+
identifier?: string | null;
|
|
67
|
+
}
|
|
68
|
+
interface ListTriggersRequest {
|
|
69
|
+
}
|
|
70
|
+
interface ListTriggersResponse {
|
|
71
|
+
/** A list of all custom triggers */
|
|
72
|
+
triggers?: ListTriggersResponseCustomTrigger[];
|
|
73
|
+
}
|
|
74
|
+
interface ListTriggersResponseCustomTrigger {
|
|
75
|
+
/** Unique ID of the custom trigger */
|
|
76
|
+
_id?: string;
|
|
77
|
+
/** App ID of the custom trigger provider */
|
|
78
|
+
appId?: string;
|
|
79
|
+
/** Custom Trigger display name */
|
|
80
|
+
name?: string;
|
|
81
|
+
}
|
|
82
|
+
interface ListTriggersResponseCustomTriggerNonNullableFields {
|
|
83
|
+
_id: string;
|
|
84
|
+
appId: string;
|
|
85
|
+
name: string;
|
|
86
|
+
}
|
|
87
|
+
interface ListTriggersResponseNonNullableFields {
|
|
88
|
+
triggers: ListTriggersResponseCustomTriggerNonNullableFields[];
|
|
89
|
+
}
|
|
90
|
+
|
|
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
|
+
declare function createRESTModule$l<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
136
|
+
|
|
137
|
+
declare const listTriggers: ReturnType<typeof createRESTModule$l<typeof publicListTriggers>>;
|
|
138
|
+
|
|
139
|
+
type index_d$l_CustomTrigger = CustomTrigger;
|
|
140
|
+
type index_d$l_EligibleTrigger = EligibleTrigger;
|
|
141
|
+
type index_d$l_GetEligibleTriggersRequest = GetEligibleTriggersRequest;
|
|
142
|
+
type index_d$l_GetEligibleTriggersResponse = GetEligibleTriggersResponse;
|
|
143
|
+
type index_d$l_ListTriggersRequest = ListTriggersRequest;
|
|
144
|
+
type index_d$l_ListTriggersResponse = ListTriggersResponse;
|
|
145
|
+
type index_d$l_ListTriggersResponseCustomTrigger = ListTriggersResponseCustomTrigger;
|
|
146
|
+
type index_d$l_ListTriggersResponseNonNullableFields = ListTriggersResponseNonNullableFields;
|
|
147
|
+
type index_d$l_TriggerToFilterBy = TriggerToFilterBy;
|
|
148
|
+
declare const index_d$l_listTriggers: typeof listTriggers;
|
|
149
|
+
declare namespace index_d$l {
|
|
150
|
+
export { type CatalogReference$9 as CatalogReference, type index_d$l_CustomTrigger as CustomTrigger, type index_d$l_EligibleTrigger as EligibleTrigger, type index_d$l_GetEligibleTriggersRequest as GetEligibleTriggersRequest, type index_d$l_GetEligibleTriggersResponse as GetEligibleTriggersResponse, type LineItem$7 as LineItem, type index_d$l_ListTriggersRequest as ListTriggersRequest, type index_d$l_ListTriggersResponse as ListTriggersResponse, type index_d$l_ListTriggersResponseCustomTrigger as ListTriggersResponseCustomTrigger, type index_d$l_ListTriggersResponseNonNullableFields as ListTriggersResponseNonNullableFields, type index_d$l_TriggerToFilterBy as TriggerToFilterBy, index_d$l_listTriggers as listTriggers };
|
|
151
|
+
}
|
|
152
|
+
|
|
1
153
|
interface DiscountRule$6 {
|
|
2
154
|
/**
|
|
3
155
|
* Discount rule ID.
|
|
@@ -896,50 +1048,6 @@ interface DiscountRulesQueryBuilder {
|
|
|
896
1048
|
find: () => Promise<DiscountRulesQueryResult>;
|
|
897
1049
|
}
|
|
898
1050
|
|
|
899
|
-
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
900
|
-
interface HttpClient {
|
|
901
|
-
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
902
|
-
fetchWithAuth: typeof fetch;
|
|
903
|
-
wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
|
|
904
|
-
}
|
|
905
|
-
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
906
|
-
type HttpResponse<T = any> = {
|
|
907
|
-
data: T;
|
|
908
|
-
status: number;
|
|
909
|
-
statusText: string;
|
|
910
|
-
headers: any;
|
|
911
|
-
request?: any;
|
|
912
|
-
};
|
|
913
|
-
type RequestOptions<_TResponse = any, Data = any> = {
|
|
914
|
-
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
915
|
-
url: string;
|
|
916
|
-
data?: Data;
|
|
917
|
-
params?: URLSearchParams;
|
|
918
|
-
} & APIMetadata;
|
|
919
|
-
type APIMetadata = {
|
|
920
|
-
methodFqn?: string;
|
|
921
|
-
entityFqdn?: string;
|
|
922
|
-
packageName?: string;
|
|
923
|
-
};
|
|
924
|
-
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
925
|
-
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
926
|
-
__type: 'event-definition';
|
|
927
|
-
type: Type;
|
|
928
|
-
isDomainEvent?: boolean;
|
|
929
|
-
transformations?: (envelope: unknown) => Payload;
|
|
930
|
-
__payload: Payload;
|
|
931
|
-
};
|
|
932
|
-
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
|
933
|
-
type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
|
|
934
|
-
type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
|
|
935
|
-
|
|
936
|
-
declare global {
|
|
937
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
938
|
-
interface SymbolConstructor {
|
|
939
|
-
readonly observable: symbol;
|
|
940
|
-
}
|
|
941
|
-
}
|
|
942
|
-
|
|
943
1051
|
declare function createRESTModule$k<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
944
1052
|
|
|
945
1053
|
declare function createEventModule$f<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
@@ -28193,4 +28301,4 @@ declare namespace index_d {
|
|
|
28193
28301
|
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 };
|
|
28194
28302
|
}
|
|
28195
28303
|
|
|
28196
|
-
export { index_d$h as abandonedCheckouts, index_d$g as backInStockNotifications, index_d$f as backInStockSettings, index_d$e as cart, index_d$c as checkout, index_d$b as checkoutSettings, index_d$a as checkoutTemplates, index_d as currencies, index_d$d as currentCart, index_d$9 as deliveryProfile, index_d$k as discountRules, index_d$8 as draftOrders, index_d$6 as localDeliveryOptions, index_d$7 as orderFulfillments, index_d$j as orderInvoices, index_d$4 as orderTransactions, index_d$5 as orders, index_d$3 as ordersSettings, index_d$2 as pickupLocations, index_d$i as recommendations, index_d$1 as shippoConfigurations };
|
|
28304
|
+
export { index_d$h as abandonedCheckouts, index_d$g as backInStockNotifications, index_d$f as backInStockSettings, index_d$e as cart, index_d$c as checkout, index_d$b as checkoutSettings, index_d$a as checkoutTemplates, index_d as currencies, index_d$d as currentCart, index_d$9 as deliveryProfile, index_d$k as discountRules, index_d$l as discountsCustomTrigger, index_d$8 as draftOrders, index_d$6 as localDeliveryOptions, index_d$7 as orderFulfillments, index_d$j as orderInvoices, index_d$4 as orderTransactions, index_d$5 as orders, index_d$3 as ordersSettings, index_d$2 as pickupLocations, index_d$i as recommendations, index_d$1 as shippoConfigurations };
|
|
@@ -1,3 +1,66 @@
|
|
|
1
|
+
interface ListTriggersRequest$1 {
|
|
2
|
+
}
|
|
3
|
+
interface ListTriggersResponse$1 {
|
|
4
|
+
/** A list of all custom triggers */
|
|
5
|
+
triggers?: ListTriggersResponseCustomTrigger$1[];
|
|
6
|
+
}
|
|
7
|
+
interface ListTriggersResponseCustomTrigger$1 {
|
|
8
|
+
/** Unique ID of the custom trigger */
|
|
9
|
+
id?: string;
|
|
10
|
+
/** App ID of the custom trigger provider */
|
|
11
|
+
appId?: string;
|
|
12
|
+
/** Custom Trigger display name */
|
|
13
|
+
name?: string;
|
|
14
|
+
}
|
|
15
|
+
interface ListTriggersResponseCustomTriggerNonNullableFields$1 {
|
|
16
|
+
id: string;
|
|
17
|
+
appId: string;
|
|
18
|
+
name: string;
|
|
19
|
+
}
|
|
20
|
+
interface ListTriggersResponseNonNullableFields$1 {
|
|
21
|
+
triggers: ListTriggersResponseCustomTriggerNonNullableFields$1[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
interface ListTriggersRequest {
|
|
25
|
+
}
|
|
26
|
+
interface ListTriggersResponse {
|
|
27
|
+
/** A list of all custom triggers */
|
|
28
|
+
triggers?: ListTriggersResponseCustomTrigger[];
|
|
29
|
+
}
|
|
30
|
+
interface ListTriggersResponseCustomTrigger {
|
|
31
|
+
/** Unique ID of the custom trigger */
|
|
32
|
+
_id?: string;
|
|
33
|
+
/** App ID of the custom trigger provider */
|
|
34
|
+
appId?: string;
|
|
35
|
+
/** Custom Trigger display name */
|
|
36
|
+
name?: string;
|
|
37
|
+
}
|
|
38
|
+
interface ListTriggersResponseCustomTriggerNonNullableFields {
|
|
39
|
+
_id: string;
|
|
40
|
+
appId: string;
|
|
41
|
+
name: string;
|
|
42
|
+
}
|
|
43
|
+
interface ListTriggersResponseNonNullableFields {
|
|
44
|
+
triggers: ListTriggersResponseCustomTriggerNonNullableFields[];
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
type __PublicMethodMetaInfo$l<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
48
|
+
getUrl: (context: any) => string;
|
|
49
|
+
httpMethod: K;
|
|
50
|
+
path: string;
|
|
51
|
+
pathParams: M;
|
|
52
|
+
__requestType: T;
|
|
53
|
+
__originalRequestType: S;
|
|
54
|
+
__responseType: Q;
|
|
55
|
+
__originalResponseType: R;
|
|
56
|
+
};
|
|
57
|
+
declare function listTriggers(): __PublicMethodMetaInfo$l<'POST', {}, ListTriggersRequest, ListTriggersRequest$1, ListTriggersResponse & ListTriggersResponseNonNullableFields, ListTriggersResponse$1 & ListTriggersResponseNonNullableFields$1>;
|
|
58
|
+
|
|
59
|
+
declare const meta$l_listTriggers: typeof listTriggers;
|
|
60
|
+
declare namespace meta$l {
|
|
61
|
+
export { type __PublicMethodMetaInfo$l as __PublicMethodMetaInfo, meta$l_listTriggers as listTriggers };
|
|
62
|
+
}
|
|
63
|
+
|
|
1
64
|
interface DiscountRule$b {
|
|
2
65
|
/**
|
|
3
66
|
* Discount rule ID.
|
|
@@ -27821,4 +27884,4 @@ declare namespace meta {
|
|
|
27821
27884
|
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_convertCurrency as convertCurrency, meta_getConversionRate as getConversionRate, meta_listCurrencies as listCurrencies };
|
|
27822
27885
|
}
|
|
27823
27886
|
|
|
27824
|
-
export { meta$h as abandonedCheckouts, meta$g as backInStockNotifications, meta$f as backInStockSettings, meta$e as cart, meta$c as checkout, meta$b as checkoutSettings, meta$a as checkoutTemplates, meta as currencies, meta$d as currentCart, meta$9 as deliveryProfile, meta$k as discountRules, meta$8 as draftOrders, meta$6 as localDeliveryOptions, meta$7 as orderFulfillments, meta$j as orderInvoices, meta$4 as orderTransactions, meta$5 as orders, meta$3 as ordersSettings, meta$2 as pickupLocations, meta$i as recommendations, meta$1 as shippoConfigurations };
|
|
27887
|
+
export { meta$h as abandonedCheckouts, meta$g as backInStockNotifications, meta$f as backInStockSettings, meta$e as cart, meta$c as checkout, meta$b as checkoutSettings, meta$a as checkoutTemplates, meta as currencies, meta$d as currentCart, meta$9 as deliveryProfile, meta$k as discountRules, meta$l as discountsCustomTrigger, meta$8 as draftOrders, meta$6 as localDeliveryOptions, meta$7 as orderFulfillments, meta$j as orderInvoices, meta$4 as orderTransactions, meta$5 as orders, meta$3 as ordersSettings, meta$2 as pickupLocations, meta$i as recommendations, meta$1 as shippoConfigurations };
|
|
@@ -2614,6 +2614,31 @@ declare enum Source {
|
|
|
2614
2614
|
/** Called from Ecom's Checkout service */
|
|
2615
2615
|
CHECKOUT = "CHECKOUT"
|
|
2616
2616
|
}
|
|
2617
|
+
interface Stage extends StageStagesOneOf {
|
|
2618
|
+
/**
|
|
2619
|
+
* Supported values:
|
|
2620
|
+
* + "INITIALIZATION":Used during the initialization of the checkout (Create Checkout).
|
|
2621
|
+
* + "IN_PROGRESS": Used during the checkout process, such as updating or retrieving the checkout.
|
|
2622
|
+
* + "ORDER_CREATION": Used during the creation of an order from the checkout.
|
|
2623
|
+
*/
|
|
2624
|
+
checkoutStage?: CheckoutStage;
|
|
2625
|
+
}
|
|
2626
|
+
/** @oneof */
|
|
2627
|
+
interface StageStagesOneOf {
|
|
2628
|
+
/**
|
|
2629
|
+
* Supported values:
|
|
2630
|
+
* + "INITIALIZATION":Used during the initialization of the checkout (Create Checkout).
|
|
2631
|
+
* + "IN_PROGRESS": Used during the checkout process, such as updating or retrieving the checkout.
|
|
2632
|
+
* + "ORDER_CREATION": Used during the creation of an order from the checkout.
|
|
2633
|
+
*/
|
|
2634
|
+
checkoutStage?: CheckoutStage;
|
|
2635
|
+
}
|
|
2636
|
+
declare enum CheckoutStage {
|
|
2637
|
+
UNKNOWN_CHECKOUT_STAGE = "UNKNOWN_CHECKOUT_STAGE",
|
|
2638
|
+
INITIALIZATION = "INITIALIZATION",
|
|
2639
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
2640
|
+
ORDER_CREATION = "ORDER_CREATION"
|
|
2641
|
+
}
|
|
2617
2642
|
/** ValidationsData is the main entity of ValidationsSPI, which contains all the data required for validations */
|
|
2618
2643
|
interface ValidationInfo {
|
|
2619
2644
|
/** Buyer details. */
|
|
@@ -3201,6 +3226,8 @@ type context_AppliedDiscount = AppliedDiscount;
|
|
|
3201
3226
|
type context_AppliedDiscountDiscountSourceOneOf = AppliedDiscountDiscountSourceOneOf;
|
|
3202
3227
|
type context_BuyerDetails = BuyerDetails;
|
|
3203
3228
|
type context_CatalogReference = CatalogReference;
|
|
3229
|
+
type context_CheckoutStage = CheckoutStage;
|
|
3230
|
+
declare const context_CheckoutStage: typeof CheckoutStage;
|
|
3204
3231
|
type context_Context = Context;
|
|
3205
3232
|
type context_Coupon = Coupon;
|
|
3206
3233
|
type context_CustomField = CustomField;
|
|
@@ -3246,6 +3273,8 @@ type context_ShippingInfo = ShippingInfo;
|
|
|
3246
3273
|
type context_Source = Source;
|
|
3247
3274
|
declare const context_Source: typeof Source;
|
|
3248
3275
|
type context_SourceInfo = SourceInfo;
|
|
3276
|
+
type context_Stage = Stage;
|
|
3277
|
+
type context_StageStagesOneOf = StageStagesOneOf;
|
|
3249
3278
|
type context_StreetAddress = StreetAddress;
|
|
3250
3279
|
type context_SubscriptionFrequency = SubscriptionFrequency;
|
|
3251
3280
|
declare const context_SubscriptionFrequency: typeof SubscriptionFrequency;
|
|
@@ -3266,7 +3295,7 @@ type context_WeightUnit = WeightUnit;
|
|
|
3266
3295
|
declare const context_WeightUnit: typeof WeightUnit;
|
|
3267
3296
|
declare const context_provideHandlers: typeof provideHandlers;
|
|
3268
3297
|
declare namespace context {
|
|
3269
|
-
export { type context_Address as Address, type context_AddressLocation as AddressLocation, type context_AddressWithContact as AddressWithContact, type context_AppliedDiscount as AppliedDiscount, type context_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type context_BuyerDetails as BuyerDetails, type context_CatalogReference as CatalogReference, type context_Context as Context, type context_Coupon as Coupon, type context_CustomField as CustomField, type context_CustomFields as CustomFields, type context_Description as Description, type context_DiscountRule as DiscountRule, type context_DiscountRuleName as DiscountRuleName, context_DiscountType as DiscountType, type context_ExtendedFields as ExtendedFields, type context_FullAddressContactDetails as FullAddressContactDetails, type context_GetValidationViolationsRequest as GetValidationViolationsRequest, type context_GetValidationViolationsResponse as GetValidationViolationsResponse, type context_GiftCard as GiftCard, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, context_IdentityType as IdentityType, type context_ItemTaxFullDetails as ItemTaxFullDetails, type context_ItemType as ItemType, context_ItemTypeItemType as ItemTypeItemType, type context_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, context_JurisdictionType as JurisdictionType, type context_LineItem as LineItem, type context_LineItemPricesData as LineItemPricesData, type context_MerchantDiscount as MerchantDiscount, type context_MultiCurrencyPrice as MultiCurrencyPrice, context_NameInLineItem as NameInLineItem, context_NameInOther as NameInOther, type context_Other as Other, type context_PhysicalProperties as PhysicalProperties, type context_PriceSummary as PriceSummary, type context_ProductName as ProductName, type context_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type context_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, context_Severity as Severity, type context_ShippingInfo as ShippingInfo, context_Source as Source, type context_SourceInfo as SourceInfo, type context_StreetAddress as StreetAddress, context_SubscriptionFrequency as SubscriptionFrequency, type context_SubscriptionOptionInfo as SubscriptionOptionInfo, type context_SubscriptionSettings as SubscriptionSettings, type context_Target as Target, type context_TargetLineItem as TargetLineItem, type context_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type context_TaxBreakdown as TaxBreakdown, type context_Title as Title, type context_ValidationInfo as ValidationInfo, type context_ValidationsSPIConfig as ValidationsSPIConfig, type context_VatId as VatId, context_VatType as VatType, type context_Violation as Violation, context_WeightUnit as WeightUnit, context_provideHandlers as provideHandlers };
|
|
3298
|
+
export { type context_Address as Address, type context_AddressLocation as AddressLocation, type context_AddressWithContact as AddressWithContact, type context_AppliedDiscount as AppliedDiscount, type context_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type context_BuyerDetails as BuyerDetails, type context_CatalogReference as CatalogReference, context_CheckoutStage as CheckoutStage, type context_Context as Context, type context_Coupon as Coupon, type context_CustomField as CustomField, type context_CustomFields as CustomFields, type context_Description as Description, type context_DiscountRule as DiscountRule, type context_DiscountRuleName as DiscountRuleName, context_DiscountType as DiscountType, type context_ExtendedFields as ExtendedFields, type context_FullAddressContactDetails as FullAddressContactDetails, type context_GetValidationViolationsRequest as GetValidationViolationsRequest, type context_GetValidationViolationsResponse as GetValidationViolationsResponse, type context_GiftCard as GiftCard, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, context_IdentityType as IdentityType, type context_ItemTaxFullDetails as ItemTaxFullDetails, type context_ItemType as ItemType, context_ItemTypeItemType as ItemTypeItemType, type context_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, context_JurisdictionType as JurisdictionType, type context_LineItem as LineItem, type context_LineItemPricesData as LineItemPricesData, type context_MerchantDiscount as MerchantDiscount, type context_MultiCurrencyPrice as MultiCurrencyPrice, context_NameInLineItem as NameInLineItem, context_NameInOther as NameInOther, type context_Other as Other, type context_PhysicalProperties as PhysicalProperties, type context_PriceSummary as PriceSummary, type context_ProductName as ProductName, type context_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type context_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, context_Severity as Severity, type context_ShippingInfo as ShippingInfo, context_Source as Source, type context_SourceInfo as SourceInfo, type context_Stage as Stage, type context_StageStagesOneOf as StageStagesOneOf, type context_StreetAddress as StreetAddress, context_SubscriptionFrequency as SubscriptionFrequency, type context_SubscriptionOptionInfo as SubscriptionOptionInfo, type context_SubscriptionSettings as SubscriptionSettings, type context_Target as Target, type context_TargetLineItem as TargetLineItem, type context_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type context_TaxBreakdown as TaxBreakdown, type context_Title as Title, type context_ValidationInfo as ValidationInfo, type context_ValidationsSPIConfig as ValidationsSPIConfig, type context_VatId as VatId, context_VatType as VatType, type context_Violation as Violation, context_WeightUnit as WeightUnit, context_provideHandlers as provideHandlers };
|
|
3270
3299
|
}
|
|
3271
3300
|
|
|
3272
3301
|
export { context$3 as additionalFees, context$2 as customTriggers, context$1 as paymentSettings, context$4 as shippingRates, context as validations };
|
|
@@ -2639,6 +2639,31 @@ declare enum Source {
|
|
|
2639
2639
|
/** Called from Ecom's Checkout service */
|
|
2640
2640
|
CHECKOUT = "CHECKOUT"
|
|
2641
2641
|
}
|
|
2642
|
+
interface Stage extends StageStagesOneOf {
|
|
2643
|
+
/**
|
|
2644
|
+
* Supported values:
|
|
2645
|
+
* + "INITIALIZATION":Used during the initialization of the checkout (Create Checkout).
|
|
2646
|
+
* + "IN_PROGRESS": Used during the checkout process, such as updating or retrieving the checkout.
|
|
2647
|
+
* + "ORDER_CREATION": Used during the creation of an order from the checkout.
|
|
2648
|
+
*/
|
|
2649
|
+
checkoutStage?: CheckoutStage;
|
|
2650
|
+
}
|
|
2651
|
+
/** @oneof */
|
|
2652
|
+
interface StageStagesOneOf {
|
|
2653
|
+
/**
|
|
2654
|
+
* Supported values:
|
|
2655
|
+
* + "INITIALIZATION":Used during the initialization of the checkout (Create Checkout).
|
|
2656
|
+
* + "IN_PROGRESS": Used during the checkout process, such as updating or retrieving the checkout.
|
|
2657
|
+
* + "ORDER_CREATION": Used during the creation of an order from the checkout.
|
|
2658
|
+
*/
|
|
2659
|
+
checkoutStage?: CheckoutStage;
|
|
2660
|
+
}
|
|
2661
|
+
declare enum CheckoutStage {
|
|
2662
|
+
UNKNOWN_CHECKOUT_STAGE = "UNKNOWN_CHECKOUT_STAGE",
|
|
2663
|
+
INITIALIZATION = "INITIALIZATION",
|
|
2664
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
2665
|
+
ORDER_CREATION = "ORDER_CREATION"
|
|
2666
|
+
}
|
|
2642
2667
|
/** ValidationsData is the main entity of ValidationsSPI, which contains all the data required for validations */
|
|
2643
2668
|
interface ValidationInfo {
|
|
2644
2669
|
/** Buyer details. */
|
|
@@ -3230,6 +3255,8 @@ type index_d_AppliedDiscount = AppliedDiscount;
|
|
|
3230
3255
|
type index_d_AppliedDiscountDiscountSourceOneOf = AppliedDiscountDiscountSourceOneOf;
|
|
3231
3256
|
type index_d_BuyerDetails = BuyerDetails;
|
|
3232
3257
|
type index_d_CatalogReference = CatalogReference;
|
|
3258
|
+
type index_d_CheckoutStage = CheckoutStage;
|
|
3259
|
+
declare const index_d_CheckoutStage: typeof CheckoutStage;
|
|
3233
3260
|
type index_d_Context = Context;
|
|
3234
3261
|
type index_d_Coupon = Coupon;
|
|
3235
3262
|
type index_d_CustomField = CustomField;
|
|
@@ -3276,6 +3303,8 @@ type index_d_ShippingInfo = ShippingInfo;
|
|
|
3276
3303
|
type index_d_Source = Source;
|
|
3277
3304
|
declare const index_d_Source: typeof Source;
|
|
3278
3305
|
type index_d_SourceInfo = SourceInfo;
|
|
3306
|
+
type index_d_Stage = Stage;
|
|
3307
|
+
type index_d_StageStagesOneOf = StageStagesOneOf;
|
|
3279
3308
|
type index_d_StreetAddress = StreetAddress;
|
|
3280
3309
|
type index_d_SubscriptionFrequency = SubscriptionFrequency;
|
|
3281
3310
|
declare const index_d_SubscriptionFrequency: typeof SubscriptionFrequency;
|
|
@@ -3296,7 +3325,7 @@ type index_d_WeightUnit = WeightUnit;
|
|
|
3296
3325
|
declare const index_d_WeightUnit: typeof WeightUnit;
|
|
3297
3326
|
declare const index_d_provideHandlers: typeof provideHandlers;
|
|
3298
3327
|
declare namespace index_d {
|
|
3299
|
-
export { type index_d_Address as Address, type index_d_AddressLocation as AddressLocation, type index_d_AddressWithContact as AddressWithContact, type index_d_AppliedDiscount as AppliedDiscount, type index_d_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type index_d_BuyerDetails as BuyerDetails, type index_d_CatalogReference as CatalogReference, type index_d_Context as Context, type index_d_Coupon as Coupon, type index_d_CustomField as CustomField, type index_d_CustomFields as CustomFields, type index_d_Description as Description, type index_d_DiscountRule as DiscountRule, type index_d_DiscountRuleName as DiscountRuleName, index_d_DiscountType as DiscountType, type index_d_ExtendedFields as ExtendedFields, type index_d_FullAddressContactDetails as FullAddressContactDetails, type index_d_GetValidationViolationsEnvelope as GetValidationViolationsEnvelope, type index_d_GetValidationViolationsRequest as GetValidationViolationsRequest, type index_d_GetValidationViolationsResponse as GetValidationViolationsResponse, type index_d_GiftCard as GiftCard, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_IdentityType as IdentityType, type index_d_ItemTaxFullDetails as ItemTaxFullDetails, type index_d_ItemType as ItemType, index_d_ItemTypeItemType as ItemTypeItemType, type index_d_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, index_d_JurisdictionType as JurisdictionType, type index_d_LineItem as LineItem, type index_d_LineItemPricesData as LineItemPricesData, type index_d_MerchantDiscount as MerchantDiscount, type index_d_MultiCurrencyPrice as MultiCurrencyPrice, index_d_NameInLineItem as NameInLineItem, index_d_NameInOther as NameInOther, type index_d_Other as Other, type index_d_PhysicalProperties as PhysicalProperties, type index_d_PriceSummary as PriceSummary, type index_d_ProductName as ProductName, type index_d_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type index_d_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, index_d_Severity as Severity, type index_d_ShippingInfo as ShippingInfo, index_d_Source as Source, type index_d_SourceInfo as SourceInfo, type index_d_StreetAddress as StreetAddress, index_d_SubscriptionFrequency as SubscriptionFrequency, type index_d_SubscriptionOptionInfo as SubscriptionOptionInfo, type index_d_SubscriptionSettings as SubscriptionSettings, type index_d_Target as Target, type index_d_TargetLineItem as TargetLineItem, type index_d_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type index_d_TaxBreakdown as TaxBreakdown, type index_d_Title as Title, type index_d_ValidationInfo as ValidationInfo, type index_d_ValidationsSPIConfig as ValidationsSPIConfig, type index_d_VatId as VatId, index_d_VatType as VatType, type index_d_Violation as Violation, index_d_WeightUnit as WeightUnit, index_d_provideHandlers as provideHandlers };
|
|
3328
|
+
export { type index_d_Address as Address, type index_d_AddressLocation as AddressLocation, type index_d_AddressWithContact as AddressWithContact, type index_d_AppliedDiscount as AppliedDiscount, type index_d_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type index_d_BuyerDetails as BuyerDetails, type index_d_CatalogReference as CatalogReference, index_d_CheckoutStage as CheckoutStage, type index_d_Context as Context, type index_d_Coupon as Coupon, type index_d_CustomField as CustomField, type index_d_CustomFields as CustomFields, type index_d_Description as Description, type index_d_DiscountRule as DiscountRule, type index_d_DiscountRuleName as DiscountRuleName, index_d_DiscountType as DiscountType, type index_d_ExtendedFields as ExtendedFields, type index_d_FullAddressContactDetails as FullAddressContactDetails, type index_d_GetValidationViolationsEnvelope as GetValidationViolationsEnvelope, type index_d_GetValidationViolationsRequest as GetValidationViolationsRequest, type index_d_GetValidationViolationsResponse as GetValidationViolationsResponse, type index_d_GiftCard as GiftCard, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_IdentityType as IdentityType, type index_d_ItemTaxFullDetails as ItemTaxFullDetails, type index_d_ItemType as ItemType, index_d_ItemTypeItemType as ItemTypeItemType, type index_d_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, index_d_JurisdictionType as JurisdictionType, type index_d_LineItem as LineItem, type index_d_LineItemPricesData as LineItemPricesData, type index_d_MerchantDiscount as MerchantDiscount, type index_d_MultiCurrencyPrice as MultiCurrencyPrice, index_d_NameInLineItem as NameInLineItem, index_d_NameInOther as NameInOther, type index_d_Other as Other, type index_d_PhysicalProperties as PhysicalProperties, type index_d_PriceSummary as PriceSummary, type index_d_ProductName as ProductName, type index_d_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type index_d_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, index_d_Severity as Severity, type index_d_ShippingInfo as ShippingInfo, index_d_Source as Source, type index_d_SourceInfo as SourceInfo, type index_d_Stage as Stage, type index_d_StageStagesOneOf as StageStagesOneOf, type index_d_StreetAddress as StreetAddress, index_d_SubscriptionFrequency as SubscriptionFrequency, type index_d_SubscriptionOptionInfo as SubscriptionOptionInfo, type index_d_SubscriptionSettings as SubscriptionSettings, type index_d_Target as Target, type index_d_TargetLineItem as TargetLineItem, type index_d_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type index_d_TaxBreakdown as TaxBreakdown, type index_d_Title as Title, type index_d_ValidationInfo as ValidationInfo, type index_d_ValidationsSPIConfig as ValidationsSPIConfig, type index_d_VatId as VatId, index_d_VatType as VatType, type index_d_Violation as Violation, index_d_WeightUnit as WeightUnit, index_d_provideHandlers as provideHandlers };
|
|
3300
3329
|
}
|
|
3301
3330
|
|
|
3302
3331
|
export { index_d$3 as additionalFees, index_d$2 as customTriggers, index_d$1 as paymentSettings, index_d$4 as shippingRates, index_d as validations };
|