@wix/ecom 1.0.679 → 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.
@@ -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';
@@ -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"));
@@ -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"}
@@ -1,3 +1,4 @@
1
+ export * as discountsCustomTrigger from '@wix/ecom_discounts-custom-trigger';
1
2
  export * as discountRules from '@wix/ecom_discount-rules';
2
3
  export * as orderInvoices from '@wix/ecom_order-invoices';
3
4
  export * as recommendations from '@wix/ecom_recommendations';
@@ -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"));
@@ -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"}
@@ -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"));
@@ -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"}
@@ -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';
@@ -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';
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,kCAAkC,CAAC;AACl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AwB,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,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"}
@@ -1,3 +1,4 @@
1
+ export * as discountsCustomTrigger from '@wix/ecom_discounts-custom-trigger';
1
2
  export * as discountRules from '@wix/ecom_discount-rules';
2
3
  export * as orderInvoices from '@wix/ecom_order-invoices';
3
4
  export * as recommendations from '@wix/ecom_recommendations';
package/build/es/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ export * as discountsCustomTrigger from '@wix/ecom_discounts-custom-trigger';
1
2
  export * as discountRules from '@wix/ecom_discount-rules';
2
3
  export * as orderInvoices from '@wix/ecom_order-invoices';
3
4
  export * as recommendations from '@wix/ecom_recommendations';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,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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,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"}
@@ -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';
@@ -1 +1 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../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AAC;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,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.679",
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",
@@ -68,5 +69,5 @@
68
69
  "fqdn": ""
69
70
  }
70
71
  },
71
- "falconPackageHash": "2f468be8d286674f0d4a5da48f8ec82822edcc4d8f31d63e9a1177ac"
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 };