@wix/ecom 1.0.503 → 1.0.505
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 +16 -0
- package/build/cjs/context.js +43 -0
- package/build/cjs/context.js.map +1 -0
- package/build/cjs/src/ecom-discounts-v1-discount-rule.context.d.ts +7 -0
- package/build/cjs/src/ecom-discounts-v1-discount-rule.context.js +60 -0
- package/build/cjs/src/ecom-discounts-v1-discount-rule.context.js.map +1 -0
- package/build/cjs/src/ecom-orders-v1-invoice.context.d.ts +3 -0
- package/build/cjs/src/ecom-orders-v1-invoice.context.js +16 -0
- package/build/cjs/src/ecom-orders-v1-invoice.context.js.map +1 -0
- package/build/cjs/src/ecom-recommendations-v1-recommendation.context.d.ts +4 -0
- package/build/cjs/src/ecom-recommendations-v1-recommendation.context.js +27 -0
- package/build/cjs/src/ecom-recommendations-v1-recommendation.context.js.map +1 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout.context.d.ts +3 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout.context.js +16 -0
- package/build/cjs/src/ecom-v1-abandoned-checkout.context.js.map +1 -0
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.context.d.ts +9 -0
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.context.js +82 -0
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.context.js.map +1 -0
- package/build/cjs/src/ecom-v1-back-in-stock-settings.context.d.ts +5 -0
- package/build/cjs/src/ecom-v1-back-in-stock-settings.context.js +38 -0
- package/build/cjs/src/ecom-v1-back-in-stock-settings.context.js.map +1 -0
- package/build/cjs/src/ecom-v1-cart-cart.context.d.ts +12 -0
- package/build/cjs/src/ecom-v1-cart-cart.context.js +115 -0
- package/build/cjs/src/ecom-v1-cart-cart.context.js.map +1 -0
- package/build/cjs/src/ecom-v1-cart-cart.http.d.ts +1 -1
- package/build/cjs/src/ecom-v1-cart-cart.http.js +1 -1
- package/build/cjs/src/ecom-v1-cart-cart.types.d.ts +0 -2
- package/build/cjs/src/ecom-v1-cart-cart.types.js.map +1 -1
- package/build/cjs/src/ecom-v1-cart-cart.universal.d.ts +15 -3
- package/build/cjs/src/ecom-v1-cart-cart.universal.js +15 -1
- package/build/cjs/src/ecom-v1-cart-cart.universal.js.map +1 -1
- package/build/cjs/src/ecom-v1-cart-current-cart.context.d.ts +11 -0
- package/build/cjs/src/ecom-v1-cart-current-cart.context.js +104 -0
- package/build/cjs/src/ecom-v1-cart-current-cart.context.js.map +1 -0
- package/build/cjs/src/ecom-v1-cart-current-cart.http.d.ts +2 -2
- package/build/cjs/src/ecom-v1-cart-current-cart.http.js +2 -2
- package/build/cjs/src/ecom-v1-cart-current-cart.types.d.ts +0 -2
- package/build/cjs/src/ecom-v1-cart-current-cart.types.js.map +1 -1
- package/build/cjs/src/ecom-v1-cart-current-cart.universal.d.ts +13 -3
- package/build/cjs/src/ecom-v1-cart-current-cart.universal.js +13 -1
- package/build/cjs/src/ecom-v1-cart-current-cart.universal.js.map +1 -1
- package/build/cjs/src/ecom-v1-checkout-checkout.context.d.ts +14 -0
- package/build/cjs/src/ecom-v1-checkout-checkout.context.js +137 -0
- package/build/cjs/src/ecom-v1-checkout-checkout.context.js.map +1 -0
- package/build/cjs/src/ecom-v1-checkout-checkout.types.d.ts +0 -2
- package/build/cjs/src/ecom-v1-checkout-checkout.types.js.map +1 -1
- package/build/cjs/src/ecom-v1-checkout-checkout.universal.d.ts +0 -2
- package/build/cjs/src/ecom-v1-checkout-checkout.universal.js.map +1 -1
- package/build/cjs/src/ecom-v1-checkout-settings.context.d.ts +4 -0
- package/build/cjs/src/ecom-v1-checkout-settings.context.js +27 -0
- package/build/cjs/src/ecom-v1-checkout-settings.context.js.map +1 -0
- package/build/cjs/src/ecom-v1-checkout-settings.public.d.ts +1 -1
- package/build/cjs/src/ecom-v1-checkout-settings.types.d.ts +48 -8
- package/build/cjs/src/ecom-v1-checkout-settings.universal.d.ts +50 -9
- package/build/cjs/src/ecom-v1-checkout-settings.universal.js.map +1 -1
- package/build/cjs/src/ecom-v1-checkout-template.context.d.ts +8 -0
- package/build/cjs/src/ecom-v1-checkout-template.context.js +71 -0
- package/build/cjs/src/ecom-v1-checkout-template.context.js.map +1 -0
- package/build/cjs/src/ecom-v1-checkout-template.types.d.ts +0 -2
- package/build/cjs/src/ecom-v1-checkout-template.types.js.map +1 -1
- package/build/cjs/src/ecom-v1-checkout-template.universal.d.ts +12 -2
- package/build/cjs/src/ecom-v1-checkout-template.universal.js +12 -0
- package/build/cjs/src/ecom-v1-checkout-template.universal.js.map +1 -1
- package/build/cjs/src/ecom-v1-fulfillments.context.d.ts +8 -0
- package/build/cjs/src/ecom-v1-fulfillments.context.js +71 -0
- package/build/cjs/src/ecom-v1-fulfillments.context.js.map +1 -0
- package/build/cjs/src/ecom-v1-order-transactions.context.d.ts +7 -0
- package/build/cjs/src/ecom-v1-order-transactions.context.js +60 -0
- package/build/cjs/src/ecom-v1-order-transactions.context.js.map +1 -0
- package/build/cjs/src/ecom-v1-order-transactions.http.js +3 -25
- package/build/cjs/src/ecom-v1-order-transactions.http.js.map +1 -1
- package/build/cjs/src/ecom-v1-order.context.d.ts +7 -0
- package/build/cjs/src/ecom-v1-order.context.js +60 -0
- package/build/cjs/src/ecom-v1-order.context.js.map +1 -0
- package/build/cjs/src/ecom-v1-order.http.js +6 -16
- package/build/cjs/src/ecom-v1-order.http.js.map +1 -1
- package/build/cjs/src/ecom-v1-order.public.d.ts +26 -2
- package/build/cjs/src/ecom-v1-order.public.js +8 -8
- package/build/cjs/src/ecom-v1-order.public.js.map +1 -1
- package/build/cjs/src/ecom-v1-order.types.d.ts +1063 -996
- package/build/cjs/src/ecom-v1-order.types.js +61 -61
- package/build/cjs/src/ecom-v1-order.types.js.map +1 -1
- package/build/cjs/src/ecom-v1-order.universal.d.ts +1066 -997
- package/build/cjs/src/ecom-v1-order.universal.js +61 -61
- package/build/cjs/src/ecom-v1-order.universal.js.map +1 -1
- package/build/cjs/src/ecom-v1-orders-settings.context.d.ts +4 -0
- package/build/cjs/src/ecom-v1-orders-settings.context.js +27 -0
- package/build/cjs/src/ecom-v1-orders-settings.context.js.map +1 -0
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.context.d.ts +5 -0
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.context.js +38 -0
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.context.js.map +1 -0
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.universal.d.ts +6 -0
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.universal.js +6 -0
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.universal.js.map +1 -1
- package/build/es/context.d.ts +16 -0
- package/build/es/context.js +17 -0
- package/build/es/context.js.map +1 -0
- package/build/es/src/ecom-discounts-v1-discount-rule.context.d.ts +7 -0
- package/build/es/src/ecom-discounts-v1-discount-rule.context.js +52 -0
- package/build/es/src/ecom-discounts-v1-discount-rule.context.js.map +1 -0
- package/build/es/src/ecom-orders-v1-invoice.context.d.ts +3 -0
- package/build/es/src/ecom-orders-v1-invoice.context.js +12 -0
- package/build/es/src/ecom-orders-v1-invoice.context.js.map +1 -0
- package/build/es/src/ecom-recommendations-v1-recommendation.context.d.ts +4 -0
- package/build/es/src/ecom-recommendations-v1-recommendation.context.js +22 -0
- package/build/es/src/ecom-recommendations-v1-recommendation.context.js.map +1 -0
- package/build/es/src/ecom-v1-abandoned-checkout.context.d.ts +3 -0
- package/build/es/src/ecom-v1-abandoned-checkout.context.js +12 -0
- package/build/es/src/ecom-v1-abandoned-checkout.context.js.map +1 -0
- package/build/es/src/ecom-v1-back-in-stock-notification-request.context.d.ts +9 -0
- package/build/es/src/ecom-v1-back-in-stock-notification-request.context.js +72 -0
- package/build/es/src/ecom-v1-back-in-stock-notification-request.context.js.map +1 -0
- package/build/es/src/ecom-v1-back-in-stock-settings.context.d.ts +5 -0
- package/build/es/src/ecom-v1-back-in-stock-settings.context.js +32 -0
- package/build/es/src/ecom-v1-back-in-stock-settings.context.js.map +1 -0
- package/build/es/src/ecom-v1-cart-cart.context.d.ts +12 -0
- package/build/es/src/ecom-v1-cart-cart.context.js +102 -0
- package/build/es/src/ecom-v1-cart-cart.context.js.map +1 -0
- package/build/es/src/ecom-v1-cart-cart.http.d.ts +1 -1
- package/build/es/src/ecom-v1-cart-cart.http.js +1 -1
- package/build/es/src/ecom-v1-cart-cart.types.d.ts +0 -2
- package/build/es/src/ecom-v1-cart-cart.types.js.map +1 -1
- package/build/es/src/ecom-v1-cart-cart.universal.d.ts +15 -3
- package/build/es/src/ecom-v1-cart-cart.universal.js +15 -1
- package/build/es/src/ecom-v1-cart-cart.universal.js.map +1 -1
- package/build/es/src/ecom-v1-cart-current-cart.context.d.ts +11 -0
- package/build/es/src/ecom-v1-cart-current-cart.context.js +92 -0
- package/build/es/src/ecom-v1-cart-current-cart.context.js.map +1 -0
- package/build/es/src/ecom-v1-cart-current-cart.http.d.ts +2 -2
- package/build/es/src/ecom-v1-cart-current-cart.http.js +2 -2
- package/build/es/src/ecom-v1-cart-current-cart.types.d.ts +0 -2
- package/build/es/src/ecom-v1-cart-current-cart.types.js.map +1 -1
- package/build/es/src/ecom-v1-cart-current-cart.universal.d.ts +13 -3
- package/build/es/src/ecom-v1-cart-current-cart.universal.js +13 -1
- package/build/es/src/ecom-v1-cart-current-cart.universal.js.map +1 -1
- package/build/es/src/ecom-v1-checkout-checkout.context.d.ts +14 -0
- package/build/es/src/ecom-v1-checkout-checkout.context.js +122 -0
- package/build/es/src/ecom-v1-checkout-checkout.context.js.map +1 -0
- package/build/es/src/ecom-v1-checkout-checkout.types.d.ts +0 -2
- package/build/es/src/ecom-v1-checkout-checkout.types.js.map +1 -1
- package/build/es/src/ecom-v1-checkout-checkout.universal.d.ts +0 -2
- package/build/es/src/ecom-v1-checkout-checkout.universal.js.map +1 -1
- package/build/es/src/ecom-v1-checkout-settings.context.d.ts +4 -0
- package/build/es/src/ecom-v1-checkout-settings.context.js +22 -0
- package/build/es/src/ecom-v1-checkout-settings.context.js.map +1 -0
- package/build/es/src/ecom-v1-checkout-settings.public.d.ts +1 -1
- package/build/es/src/ecom-v1-checkout-settings.types.d.ts +48 -8
- package/build/es/src/ecom-v1-checkout-settings.universal.d.ts +50 -9
- package/build/es/src/ecom-v1-checkout-settings.universal.js.map +1 -1
- package/build/es/src/ecom-v1-checkout-template.context.d.ts +8 -0
- package/build/es/src/ecom-v1-checkout-template.context.js +62 -0
- package/build/es/src/ecom-v1-checkout-template.context.js.map +1 -0
- package/build/es/src/ecom-v1-checkout-template.types.d.ts +0 -2
- package/build/es/src/ecom-v1-checkout-template.types.js.map +1 -1
- package/build/es/src/ecom-v1-checkout-template.universal.d.ts +12 -2
- package/build/es/src/ecom-v1-checkout-template.universal.js +12 -0
- package/build/es/src/ecom-v1-checkout-template.universal.js.map +1 -1
- package/build/es/src/ecom-v1-fulfillments.context.d.ts +8 -0
- package/build/es/src/ecom-v1-fulfillments.context.js +62 -0
- package/build/es/src/ecom-v1-fulfillments.context.js.map +1 -0
- package/build/es/src/ecom-v1-order-transactions.context.d.ts +7 -0
- package/build/es/src/ecom-v1-order-transactions.context.js +52 -0
- package/build/es/src/ecom-v1-order-transactions.context.js.map +1 -0
- package/build/es/src/ecom-v1-order-transactions.http.js +3 -25
- package/build/es/src/ecom-v1-order-transactions.http.js.map +1 -1
- package/build/es/src/ecom-v1-order.context.d.ts +7 -0
- package/build/es/src/ecom-v1-order.context.js +52 -0
- package/build/es/src/ecom-v1-order.context.js.map +1 -0
- package/build/es/src/ecom-v1-order.http.js +6 -16
- package/build/es/src/ecom-v1-order.http.js.map +1 -1
- package/build/es/src/ecom-v1-order.public.d.ts +26 -2
- package/build/es/src/ecom-v1-order.public.js +1 -1
- package/build/es/src/ecom-v1-order.public.js.map +1 -1
- package/build/es/src/ecom-v1-order.types.d.ts +1063 -996
- package/build/es/src/ecom-v1-order.types.js +60 -60
- package/build/es/src/ecom-v1-order.types.js.map +1 -1
- package/build/es/src/ecom-v1-order.universal.d.ts +1066 -997
- package/build/es/src/ecom-v1-order.universal.js +60 -60
- package/build/es/src/ecom-v1-order.universal.js.map +1 -1
- package/build/es/src/ecom-v1-orders-settings.context.d.ts +4 -0
- package/build/es/src/ecom-v1-orders-settings.context.js +22 -0
- package/build/es/src/ecom-v1-orders-settings.context.js.map +1 -0
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.context.d.ts +5 -0
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.context.js +32 -0
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.context.js.map +1 -0
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.universal.d.ts +6 -0
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.universal.js +6 -0
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.universal.js.map +1 -1
- package/context/package.json +6 -0
- package/package.json +6 -4
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.context';
|
|
2
|
+
export * as discountRules from './src/ecom-discounts-v1-discount-rule.context';
|
|
3
|
+
export * as orderInvoices from './src/ecom-orders-v1-invoice.context';
|
|
4
|
+
export * as recommendations from './src/ecom-recommendations-v1-recommendation.context';
|
|
5
|
+
export * as abandonedCheckouts from './src/ecom-v1-abandoned-checkout.context';
|
|
6
|
+
export * as backInStockNotifications from './src/ecom-v1-back-in-stock-notification-request.context';
|
|
7
|
+
export * as backInStockSettings from './src/ecom-v1-back-in-stock-settings.context';
|
|
8
|
+
export * as cart from './src/ecom-v1-cart-cart.context';
|
|
9
|
+
export * as currentCart from './src/ecom-v1-cart-current-cart.context';
|
|
10
|
+
export * as checkout from './src/ecom-v1-checkout-checkout.context';
|
|
11
|
+
export * as checkoutSettings from './src/ecom-v1-checkout-settings.context';
|
|
12
|
+
export * as checkoutTemplates from './src/ecom-v1-checkout-template.context';
|
|
13
|
+
export * as orderFulfillments from './src/ecom-v1-fulfillments.context';
|
|
14
|
+
export * as orders from './src/ecom-v1-order.context';
|
|
15
|
+
export * as orderTransactions from './src/ecom-v1-order-transactions.context';
|
|
16
|
+
export * as ordersSettings from './src/ecom-v1-orders-settings.context';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.ordersSettings = exports.orderTransactions = exports.orders = exports.orderFulfillments = exports.checkoutTemplates = exports.checkoutSettings = exports.checkout = exports.currentCart = exports.cart = exports.backInStockSettings = exports.backInStockNotifications = exports.abandonedCheckouts = exports.recommendations = exports.orderInvoices = exports.discountRules = exports.currencies = void 0;
|
|
27
|
+
exports.currencies = __importStar(require("./src/ecommerce-currency-converter-v1-currency-rate.context"));
|
|
28
|
+
exports.discountRules = __importStar(require("./src/ecom-discounts-v1-discount-rule.context"));
|
|
29
|
+
exports.orderInvoices = __importStar(require("./src/ecom-orders-v1-invoice.context"));
|
|
30
|
+
exports.recommendations = __importStar(require("./src/ecom-recommendations-v1-recommendation.context"));
|
|
31
|
+
exports.abandonedCheckouts = __importStar(require("./src/ecom-v1-abandoned-checkout.context"));
|
|
32
|
+
exports.backInStockNotifications = __importStar(require("./src/ecom-v1-back-in-stock-notification-request.context"));
|
|
33
|
+
exports.backInStockSettings = __importStar(require("./src/ecom-v1-back-in-stock-settings.context"));
|
|
34
|
+
exports.cart = __importStar(require("./src/ecom-v1-cart-cart.context"));
|
|
35
|
+
exports.currentCart = __importStar(require("./src/ecom-v1-cart-current-cart.context"));
|
|
36
|
+
exports.checkout = __importStar(require("./src/ecom-v1-checkout-checkout.context"));
|
|
37
|
+
exports.checkoutSettings = __importStar(require("./src/ecom-v1-checkout-settings.context"));
|
|
38
|
+
exports.checkoutTemplates = __importStar(require("./src/ecom-v1-checkout-template.context"));
|
|
39
|
+
exports.orderFulfillments = __importStar(require("./src/ecom-v1-fulfillments.context"));
|
|
40
|
+
exports.orders = __importStar(require("./src/ecom-v1-order.context"));
|
|
41
|
+
exports.orderTransactions = __importStar(require("./src/ecom-v1-order-transactions.context"));
|
|
42
|
+
exports.ordersSettings = __importStar(require("./src/ecom-v1-orders-settings.context"));
|
|
43
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0GAA0F;AAC1F,+FAA+E;AAC/E,sFAAsE;AACtE,wGAAwF;AACxF,+FAA+E;AAC/E,qHAAqG;AACrG,oGAAoF;AACpF,wEAAwD;AACxD,uFAAuE;AACvE,oFAAoE;AACpE,4FAA4E;AAC5E,6FAA6E;AAC7E,wFAAwE;AACxE,sEAAsD;AACtD,8FAA8E;AAC9E,wFAAwE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { createDiscountRule as publicCreateDiscountRule, getDiscountRule as publicGetDiscountRule, updateDiscountRule as publicUpdateDiscountRule, deleteDiscountRule as publicDeleteDiscountRule, queryDiscountRules as publicQueryDiscountRules } from './ecom-discounts-v1-discount-rule.public';
|
|
2
|
+
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
+
export declare const createDiscountRule: BuildRESTFunction<typeof publicCreateDiscountRule>;
|
|
4
|
+
export declare const getDiscountRule: BuildRESTFunction<typeof publicGetDiscountRule>;
|
|
5
|
+
export declare const updateDiscountRule: BuildRESTFunction<typeof publicUpdateDiscountRule>;
|
|
6
|
+
export declare const deleteDiscountRule: BuildRESTFunction<typeof publicDeleteDiscountRule>;
|
|
7
|
+
export declare const queryDiscountRules: BuildRESTFunction<typeof publicQueryDiscountRules>;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.queryDiscountRules = exports.deleteDiscountRule = exports.updateDiscountRule = exports.getDiscountRule = exports.createDiscountRule = void 0;
|
|
4
|
+
const ecom_discounts_v1_discount_rule_public_1 = require("./ecom-discounts-v1-discount-rule.public");
|
|
5
|
+
const createDiscountRule = (...args) => {
|
|
6
|
+
// @ts-expect-error
|
|
7
|
+
if (!globalThis.__wix_context__) {
|
|
8
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
9
|
+
}
|
|
10
|
+
// @ts-expect-error
|
|
11
|
+
return globalThis.__wix_context__
|
|
12
|
+
.initWixModules(ecom_discounts_v1_discount_rule_public_1.createDiscountRule)
|
|
13
|
+
.apply(undefined, args);
|
|
14
|
+
};
|
|
15
|
+
exports.createDiscountRule = createDiscountRule;
|
|
16
|
+
const getDiscountRule = (...args) => {
|
|
17
|
+
// @ts-expect-error
|
|
18
|
+
if (!globalThis.__wix_context__) {
|
|
19
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
20
|
+
}
|
|
21
|
+
// @ts-expect-error
|
|
22
|
+
return globalThis.__wix_context__
|
|
23
|
+
.initWixModules(ecom_discounts_v1_discount_rule_public_1.getDiscountRule)
|
|
24
|
+
.apply(undefined, args);
|
|
25
|
+
};
|
|
26
|
+
exports.getDiscountRule = getDiscountRule;
|
|
27
|
+
const updateDiscountRule = (...args) => {
|
|
28
|
+
// @ts-expect-error
|
|
29
|
+
if (!globalThis.__wix_context__) {
|
|
30
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
31
|
+
}
|
|
32
|
+
// @ts-expect-error
|
|
33
|
+
return globalThis.__wix_context__
|
|
34
|
+
.initWixModules(ecom_discounts_v1_discount_rule_public_1.updateDiscountRule)
|
|
35
|
+
.apply(undefined, args);
|
|
36
|
+
};
|
|
37
|
+
exports.updateDiscountRule = updateDiscountRule;
|
|
38
|
+
const deleteDiscountRule = (...args) => {
|
|
39
|
+
// @ts-expect-error
|
|
40
|
+
if (!globalThis.__wix_context__) {
|
|
41
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
42
|
+
}
|
|
43
|
+
// @ts-expect-error
|
|
44
|
+
return globalThis.__wix_context__
|
|
45
|
+
.initWixModules(ecom_discounts_v1_discount_rule_public_1.deleteDiscountRule)
|
|
46
|
+
.apply(undefined, args);
|
|
47
|
+
};
|
|
48
|
+
exports.deleteDiscountRule = deleteDiscountRule;
|
|
49
|
+
const queryDiscountRules = (...args) => {
|
|
50
|
+
// @ts-expect-error
|
|
51
|
+
if (!globalThis.__wix_context__) {
|
|
52
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
53
|
+
}
|
|
54
|
+
// @ts-expect-error
|
|
55
|
+
return globalThis.__wix_context__
|
|
56
|
+
.initWixModules(ecom_discounts_v1_discount_rule_public_1.queryDiscountRules)
|
|
57
|
+
.apply(undefined, args);
|
|
58
|
+
};
|
|
59
|
+
exports.queryDiscountRules = queryDiscountRules;
|
|
60
|
+
//# sourceMappingURL=ecom-discounts-v1-discount-rule.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ecom-discounts-v1-discount-rule.context.js","sourceRoot":"","sources":["../../../src/ecom-discounts-v1-discount-rule.context.ts"],"names":[],"mappings":";;;AAAA,qGAMkD;AAG3C,MAAM,kBAAkB,GAE3B,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,2DAAwB,CAAC;SACxC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,kBAAkB,sBAa7B;AACK,MAAM,eAAe,GAExB,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,wDAAqB,CAAC;SACrC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,eAAe,mBAa1B;AACK,MAAM,kBAAkB,GAE3B,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,2DAAwB,CAAC;SACxC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,kBAAkB,sBAa7B;AACK,MAAM,kBAAkB,GAE3B,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,2DAAwB,CAAC;SACxC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,kBAAkB,sBAa7B;AACK,MAAM,kBAAkB,GAE3B,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,2DAAwB,CAAC;SACxC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,kBAAkB,sBAa7B"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { listInvoicesForMultipleOrders as publicListInvoicesForMultipleOrders } from './ecom-orders-v1-invoice.public';
|
|
2
|
+
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
+
export declare const listInvoicesForMultipleOrders: BuildRESTFunction<typeof publicListInvoicesForMultipleOrders>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.listInvoicesForMultipleOrders = void 0;
|
|
4
|
+
const ecom_orders_v1_invoice_public_1 = require("./ecom-orders-v1-invoice.public");
|
|
5
|
+
const listInvoicesForMultipleOrders = (...args) => {
|
|
6
|
+
// @ts-expect-error
|
|
7
|
+
if (!globalThis.__wix_context__) {
|
|
8
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
9
|
+
}
|
|
10
|
+
// @ts-expect-error
|
|
11
|
+
return globalThis.__wix_context__
|
|
12
|
+
.initWixModules(ecom_orders_v1_invoice_public_1.listInvoicesForMultipleOrders)
|
|
13
|
+
.apply(undefined, args);
|
|
14
|
+
};
|
|
15
|
+
exports.listInvoicesForMultipleOrders = listInvoicesForMultipleOrders;
|
|
16
|
+
//# sourceMappingURL=ecom-orders-v1-invoice.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ecom-orders-v1-invoice.context.js","sourceRoot":"","sources":["../../../src/ecom-orders-v1-invoice.context.ts"],"names":[],"mappings":";;;AAAA,mFAAuH;AAGhH,MAAM,6BAA6B,GAEtC,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,6DAAmC,CAAC;SACnD,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,6BAA6B,iCAaxC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { listAvailableAlgorithms as publicListAvailableAlgorithms, getRecommendation as publicGetRecommendation } from './ecom-recommendations-v1-recommendation.public';
|
|
2
|
+
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
+
export declare const listAvailableAlgorithms: BuildRESTFunction<typeof publicListAvailableAlgorithms>;
|
|
4
|
+
export declare const getRecommendation: BuildRESTFunction<typeof publicGetRecommendation>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRecommendation = exports.listAvailableAlgorithms = void 0;
|
|
4
|
+
const ecom_recommendations_v1_recommendation_public_1 = require("./ecom-recommendations-v1-recommendation.public");
|
|
5
|
+
const listAvailableAlgorithms = (...args) => {
|
|
6
|
+
// @ts-expect-error
|
|
7
|
+
if (!globalThis.__wix_context__) {
|
|
8
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
9
|
+
}
|
|
10
|
+
// @ts-expect-error
|
|
11
|
+
return globalThis.__wix_context__
|
|
12
|
+
.initWixModules(ecom_recommendations_v1_recommendation_public_1.listAvailableAlgorithms)
|
|
13
|
+
.apply(undefined, args);
|
|
14
|
+
};
|
|
15
|
+
exports.listAvailableAlgorithms = listAvailableAlgorithms;
|
|
16
|
+
const getRecommendation = (...args) => {
|
|
17
|
+
// @ts-expect-error
|
|
18
|
+
if (!globalThis.__wix_context__) {
|
|
19
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
20
|
+
}
|
|
21
|
+
// @ts-expect-error
|
|
22
|
+
return globalThis.__wix_context__
|
|
23
|
+
.initWixModules(ecom_recommendations_v1_recommendation_public_1.getRecommendation)
|
|
24
|
+
.apply(undefined, args);
|
|
25
|
+
};
|
|
26
|
+
exports.getRecommendation = getRecommendation;
|
|
27
|
+
//# sourceMappingURL=ecom-recommendations-v1-recommendation.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ecom-recommendations-v1-recommendation.context.js","sourceRoot":"","sources":["../../../src/ecom-recommendations-v1-recommendation.context.ts"],"names":[],"mappings":";;;AAAA,mHAGyD;AAGlD,MAAM,uBAAuB,GAEhC,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,uEAA6B,CAAC;SAC7C,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,uBAAuB,2BAalC;AACK,MAAM,iBAAiB,GAE1B,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,iEAAuB,CAAC;SACvC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,iBAAiB,qBAa5B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAbandonedCheckout = void 0;
|
|
4
|
+
const ecom_v1_abandoned_checkout_public_1 = require("./ecom-v1-abandoned-checkout.public");
|
|
5
|
+
const getAbandonedCheckout = (...args) => {
|
|
6
|
+
// @ts-expect-error
|
|
7
|
+
if (!globalThis.__wix_context__) {
|
|
8
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
9
|
+
}
|
|
10
|
+
// @ts-expect-error
|
|
11
|
+
return globalThis.__wix_context__
|
|
12
|
+
.initWixModules(ecom_v1_abandoned_checkout_public_1.getAbandonedCheckout)
|
|
13
|
+
.apply(undefined, args);
|
|
14
|
+
};
|
|
15
|
+
exports.getAbandonedCheckout = getAbandonedCheckout;
|
|
16
|
+
//# sourceMappingURL=ecom-v1-abandoned-checkout.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ecom-v1-abandoned-checkout.context.js","sourceRoot":"","sources":["../../../src/ecom-v1-abandoned-checkout.context.ts"],"names":[],"mappings":";;;AAAA,2FAAyG;AAGlG,MAAM,oBAAoB,GAE7B,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,wDAA0B,CAAC;SAC1C,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,oBAAoB,wBAa/B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { createBackInStockNotificationRequest as publicCreateBackInStockNotificationRequest, getBackInStockNotificationRequest as publicGetBackInStockNotificationRequest, deleteBackInStockNotificationRequest as publicDeleteBackInStockNotificationRequest, markAsNotificationSent as publicMarkAsNotificationSent, queryBackInStockNotificationRequests as publicQueryBackInStockNotificationRequests, getBackInStockNotificationRequestsCountByCatalogReferences as publicGetBackInStockNotificationRequestsCountByCatalogReferences, reportItemsBackInStock as publicReportItemsBackInStock } from './ecom-v1-back-in-stock-notification-request.public';
|
|
2
|
+
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
+
export declare const createBackInStockNotificationRequest: BuildRESTFunction<typeof publicCreateBackInStockNotificationRequest>;
|
|
4
|
+
export declare const getBackInStockNotificationRequest: BuildRESTFunction<typeof publicGetBackInStockNotificationRequest>;
|
|
5
|
+
export declare const deleteBackInStockNotificationRequest: BuildRESTFunction<typeof publicDeleteBackInStockNotificationRequest>;
|
|
6
|
+
export declare const markAsNotificationSent: BuildRESTFunction<typeof publicMarkAsNotificationSent>;
|
|
7
|
+
export declare const queryBackInStockNotificationRequests: BuildRESTFunction<typeof publicQueryBackInStockNotificationRequests>;
|
|
8
|
+
export declare const getBackInStockNotificationRequestsCountByCatalogReferences: BuildRESTFunction<typeof publicGetBackInStockNotificationRequestsCountByCatalogReferences>;
|
|
9
|
+
export declare const reportItemsBackInStock: BuildRESTFunction<typeof publicReportItemsBackInStock>;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.reportItemsBackInStock = exports.getBackInStockNotificationRequestsCountByCatalogReferences = exports.queryBackInStockNotificationRequests = exports.markAsNotificationSent = exports.deleteBackInStockNotificationRequest = exports.getBackInStockNotificationRequest = exports.createBackInStockNotificationRequest = void 0;
|
|
4
|
+
const ecom_v1_back_in_stock_notification_request_public_1 = require("./ecom-v1-back-in-stock-notification-request.public");
|
|
5
|
+
const createBackInStockNotificationRequest = (...args) => {
|
|
6
|
+
// @ts-expect-error
|
|
7
|
+
if (!globalThis.__wix_context__) {
|
|
8
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
9
|
+
}
|
|
10
|
+
// @ts-expect-error
|
|
11
|
+
return globalThis.__wix_context__
|
|
12
|
+
.initWixModules(ecom_v1_back_in_stock_notification_request_public_1.createBackInStockNotificationRequest)
|
|
13
|
+
.apply(undefined, args);
|
|
14
|
+
};
|
|
15
|
+
exports.createBackInStockNotificationRequest = createBackInStockNotificationRequest;
|
|
16
|
+
const getBackInStockNotificationRequest = (...args) => {
|
|
17
|
+
// @ts-expect-error
|
|
18
|
+
if (!globalThis.__wix_context__) {
|
|
19
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
20
|
+
}
|
|
21
|
+
// @ts-expect-error
|
|
22
|
+
return globalThis.__wix_context__
|
|
23
|
+
.initWixModules(ecom_v1_back_in_stock_notification_request_public_1.getBackInStockNotificationRequest)
|
|
24
|
+
.apply(undefined, args);
|
|
25
|
+
};
|
|
26
|
+
exports.getBackInStockNotificationRequest = getBackInStockNotificationRequest;
|
|
27
|
+
const deleteBackInStockNotificationRequest = (...args) => {
|
|
28
|
+
// @ts-expect-error
|
|
29
|
+
if (!globalThis.__wix_context__) {
|
|
30
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
31
|
+
}
|
|
32
|
+
// @ts-expect-error
|
|
33
|
+
return globalThis.__wix_context__
|
|
34
|
+
.initWixModules(ecom_v1_back_in_stock_notification_request_public_1.deleteBackInStockNotificationRequest)
|
|
35
|
+
.apply(undefined, args);
|
|
36
|
+
};
|
|
37
|
+
exports.deleteBackInStockNotificationRequest = deleteBackInStockNotificationRequest;
|
|
38
|
+
const markAsNotificationSent = (...args) => {
|
|
39
|
+
// @ts-expect-error
|
|
40
|
+
if (!globalThis.__wix_context__) {
|
|
41
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
42
|
+
}
|
|
43
|
+
// @ts-expect-error
|
|
44
|
+
return globalThis.__wix_context__
|
|
45
|
+
.initWixModules(ecom_v1_back_in_stock_notification_request_public_1.markAsNotificationSent)
|
|
46
|
+
.apply(undefined, args);
|
|
47
|
+
};
|
|
48
|
+
exports.markAsNotificationSent = markAsNotificationSent;
|
|
49
|
+
const queryBackInStockNotificationRequests = (...args) => {
|
|
50
|
+
// @ts-expect-error
|
|
51
|
+
if (!globalThis.__wix_context__) {
|
|
52
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
53
|
+
}
|
|
54
|
+
// @ts-expect-error
|
|
55
|
+
return globalThis.__wix_context__
|
|
56
|
+
.initWixModules(ecom_v1_back_in_stock_notification_request_public_1.queryBackInStockNotificationRequests)
|
|
57
|
+
.apply(undefined, args);
|
|
58
|
+
};
|
|
59
|
+
exports.queryBackInStockNotificationRequests = queryBackInStockNotificationRequests;
|
|
60
|
+
const getBackInStockNotificationRequestsCountByCatalogReferences = (...args) => {
|
|
61
|
+
// @ts-expect-error
|
|
62
|
+
if (!globalThis.__wix_context__) {
|
|
63
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
64
|
+
}
|
|
65
|
+
// @ts-expect-error
|
|
66
|
+
return globalThis.__wix_context__
|
|
67
|
+
.initWixModules(ecom_v1_back_in_stock_notification_request_public_1.getBackInStockNotificationRequestsCountByCatalogReferences)
|
|
68
|
+
.apply(undefined, args);
|
|
69
|
+
};
|
|
70
|
+
exports.getBackInStockNotificationRequestsCountByCatalogReferences = getBackInStockNotificationRequestsCountByCatalogReferences;
|
|
71
|
+
const reportItemsBackInStock = (...args) => {
|
|
72
|
+
// @ts-expect-error
|
|
73
|
+
if (!globalThis.__wix_context__) {
|
|
74
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
75
|
+
}
|
|
76
|
+
// @ts-expect-error
|
|
77
|
+
return globalThis.__wix_context__
|
|
78
|
+
.initWixModules(ecom_v1_back_in_stock_notification_request_public_1.reportItemsBackInStock)
|
|
79
|
+
.apply(undefined, args);
|
|
80
|
+
};
|
|
81
|
+
exports.reportItemsBackInStock = reportItemsBackInStock;
|
|
82
|
+
//# sourceMappingURL=ecom-v1-back-in-stock-notification-request.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ecom-v1-back-in-stock-notification-request.context.js","sourceRoot":"","sources":["../../../src/ecom-v1-back-in-stock-notification-request.context.ts"],"names":[],"mappings":";;;AAAA,2HAQ6D;AAGtD,MAAM,oCAAoC,GAE7C,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,wFAA0C,CAAC;SAC1D,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,oCAAoC,wCAa/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;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,wFAA0C,CAAC;SAC1D,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,oCAAoC,wCAa/C;AACK,MAAM,0DAA0D,GAEnE,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CACb,8GAAgE,CACjE;SACA,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAfW,QAAA,0DAA0D,8DAerE;AACK,MAAM,sBAAsB,GAE/B,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,0EAA4B,CAAC;SAC5C,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,sBAAsB,0BAajC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { startCollectingRequests as publicStartCollectingRequests, stopCollectingRequests as publicStopCollectingRequests, getSettings as publicGetSettings } from './ecom-v1-back-in-stock-settings.public';
|
|
2
|
+
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
+
export declare const startCollectingRequests: BuildRESTFunction<typeof publicStartCollectingRequests>;
|
|
4
|
+
export declare const stopCollectingRequests: BuildRESTFunction<typeof publicStopCollectingRequests>;
|
|
5
|
+
export declare const getSettings: BuildRESTFunction<typeof publicGetSettings>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getSettings = exports.stopCollectingRequests = exports.startCollectingRequests = void 0;
|
|
4
|
+
const ecom_v1_back_in_stock_settings_public_1 = require("./ecom-v1-back-in-stock-settings.public");
|
|
5
|
+
const startCollectingRequests = (...args) => {
|
|
6
|
+
// @ts-expect-error
|
|
7
|
+
if (!globalThis.__wix_context__) {
|
|
8
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
9
|
+
}
|
|
10
|
+
// @ts-expect-error
|
|
11
|
+
return globalThis.__wix_context__
|
|
12
|
+
.initWixModules(ecom_v1_back_in_stock_settings_public_1.startCollectingRequests)
|
|
13
|
+
.apply(undefined, args);
|
|
14
|
+
};
|
|
15
|
+
exports.startCollectingRequests = startCollectingRequests;
|
|
16
|
+
const stopCollectingRequests = (...args) => {
|
|
17
|
+
// @ts-expect-error
|
|
18
|
+
if (!globalThis.__wix_context__) {
|
|
19
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
20
|
+
}
|
|
21
|
+
// @ts-expect-error
|
|
22
|
+
return globalThis.__wix_context__
|
|
23
|
+
.initWixModules(ecom_v1_back_in_stock_settings_public_1.stopCollectingRequests)
|
|
24
|
+
.apply(undefined, args);
|
|
25
|
+
};
|
|
26
|
+
exports.stopCollectingRequests = stopCollectingRequests;
|
|
27
|
+
const getSettings = (...args) => {
|
|
28
|
+
// @ts-expect-error
|
|
29
|
+
if (!globalThis.__wix_context__) {
|
|
30
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
31
|
+
}
|
|
32
|
+
// @ts-expect-error
|
|
33
|
+
return globalThis.__wix_context__
|
|
34
|
+
.initWixModules(ecom_v1_back_in_stock_settings_public_1.getSettings)
|
|
35
|
+
.apply(undefined, args);
|
|
36
|
+
};
|
|
37
|
+
exports.getSettings = getSettings;
|
|
38
|
+
//# sourceMappingURL=ecom-v1-back-in-stock-settings.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ecom-v1-back-in-stock-settings.context.js","sourceRoot":"","sources":["../../../src/ecom-v1-back-in-stock-settings.context.ts"],"names":[],"mappings":";;;AAAA,mGAIiD;AAG1C,MAAM,uBAAuB,GAEhC,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,+DAA6B,CAAC;SAC7C,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,uBAAuB,2BAalC;AACK,MAAM,sBAAsB,GAE/B,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,8DAA4B,CAAC;SAC5C,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,sBAAsB,0BAajC;AACK,MAAM,WAAW,GAAgD,CACtE,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,mDAAiB,CAAC;SACjC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,WAAW,eAatB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createCart as publicCreateCart, updateCart as publicUpdateCart, getCart as publicGetCart, addToCart as publicAddToCart, removeLineItems as publicRemoveLineItems, createCheckout as publicCreateCheckout, removeCoupon as publicRemoveCoupon, updateLineItemsQuantity as publicUpdateLineItemsQuantity, estimateTotals as publicEstimateTotals, deleteCart as publicDeleteCart } from './ecom-v1-cart-cart.public';
|
|
2
|
+
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
+
export declare const createCart: BuildRESTFunction<typeof publicCreateCart>;
|
|
4
|
+
export declare const updateCart: BuildRESTFunction<typeof publicUpdateCart>;
|
|
5
|
+
export declare const getCart: BuildRESTFunction<typeof publicGetCart>;
|
|
6
|
+
export declare const addToCart: BuildRESTFunction<typeof publicAddToCart>;
|
|
7
|
+
export declare const removeLineItems: BuildRESTFunction<typeof publicRemoveLineItems>;
|
|
8
|
+
export declare const createCheckout: BuildRESTFunction<typeof publicCreateCheckout>;
|
|
9
|
+
export declare const removeCoupon: BuildRESTFunction<typeof publicRemoveCoupon>;
|
|
10
|
+
export declare const updateLineItemsQuantity: BuildRESTFunction<typeof publicUpdateLineItemsQuantity>;
|
|
11
|
+
export declare const estimateTotals: BuildRESTFunction<typeof publicEstimateTotals>;
|
|
12
|
+
export declare const deleteCart: BuildRESTFunction<typeof publicDeleteCart>;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deleteCart = exports.estimateTotals = exports.updateLineItemsQuantity = exports.removeCoupon = exports.createCheckout = exports.removeLineItems = exports.addToCart = exports.getCart = exports.updateCart = exports.createCart = void 0;
|
|
4
|
+
const ecom_v1_cart_cart_public_1 = require("./ecom-v1-cart-cart.public");
|
|
5
|
+
const createCart = (...args) => {
|
|
6
|
+
// @ts-expect-error
|
|
7
|
+
if (!globalThis.__wix_context__) {
|
|
8
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
9
|
+
}
|
|
10
|
+
// @ts-expect-error
|
|
11
|
+
return globalThis.__wix_context__
|
|
12
|
+
.initWixModules(ecom_v1_cart_cart_public_1.createCart)
|
|
13
|
+
.apply(undefined, args);
|
|
14
|
+
};
|
|
15
|
+
exports.createCart = createCart;
|
|
16
|
+
const updateCart = (...args) => {
|
|
17
|
+
// @ts-expect-error
|
|
18
|
+
if (!globalThis.__wix_context__) {
|
|
19
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
20
|
+
}
|
|
21
|
+
// @ts-expect-error
|
|
22
|
+
return globalThis.__wix_context__
|
|
23
|
+
.initWixModules(ecom_v1_cart_cart_public_1.updateCart)
|
|
24
|
+
.apply(undefined, args);
|
|
25
|
+
};
|
|
26
|
+
exports.updateCart = updateCart;
|
|
27
|
+
const getCart = (...args) => {
|
|
28
|
+
// @ts-expect-error
|
|
29
|
+
if (!globalThis.__wix_context__) {
|
|
30
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
31
|
+
}
|
|
32
|
+
// @ts-expect-error
|
|
33
|
+
return globalThis.__wix_context__
|
|
34
|
+
.initWixModules(ecom_v1_cart_cart_public_1.getCart)
|
|
35
|
+
.apply(undefined, args);
|
|
36
|
+
};
|
|
37
|
+
exports.getCart = getCart;
|
|
38
|
+
const addToCart = (...args) => {
|
|
39
|
+
// @ts-expect-error
|
|
40
|
+
if (!globalThis.__wix_context__) {
|
|
41
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
42
|
+
}
|
|
43
|
+
// @ts-expect-error
|
|
44
|
+
return globalThis.__wix_context__
|
|
45
|
+
.initWixModules(ecom_v1_cart_cart_public_1.addToCart)
|
|
46
|
+
.apply(undefined, args);
|
|
47
|
+
};
|
|
48
|
+
exports.addToCart = addToCart;
|
|
49
|
+
const removeLineItems = (...args) => {
|
|
50
|
+
// @ts-expect-error
|
|
51
|
+
if (!globalThis.__wix_context__) {
|
|
52
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
53
|
+
}
|
|
54
|
+
// @ts-expect-error
|
|
55
|
+
return globalThis.__wix_context__
|
|
56
|
+
.initWixModules(ecom_v1_cart_cart_public_1.removeLineItems)
|
|
57
|
+
.apply(undefined, args);
|
|
58
|
+
};
|
|
59
|
+
exports.removeLineItems = removeLineItems;
|
|
60
|
+
const createCheckout = (...args) => {
|
|
61
|
+
// @ts-expect-error
|
|
62
|
+
if (!globalThis.__wix_context__) {
|
|
63
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
64
|
+
}
|
|
65
|
+
// @ts-expect-error
|
|
66
|
+
return globalThis.__wix_context__
|
|
67
|
+
.initWixModules(ecom_v1_cart_cart_public_1.createCheckout)
|
|
68
|
+
.apply(undefined, args);
|
|
69
|
+
};
|
|
70
|
+
exports.createCheckout = createCheckout;
|
|
71
|
+
const removeCoupon = (...args) => {
|
|
72
|
+
// @ts-expect-error
|
|
73
|
+
if (!globalThis.__wix_context__) {
|
|
74
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
75
|
+
}
|
|
76
|
+
// @ts-expect-error
|
|
77
|
+
return globalThis.__wix_context__
|
|
78
|
+
.initWixModules(ecom_v1_cart_cart_public_1.removeCoupon)
|
|
79
|
+
.apply(undefined, args);
|
|
80
|
+
};
|
|
81
|
+
exports.removeCoupon = removeCoupon;
|
|
82
|
+
const updateLineItemsQuantity = (...args) => {
|
|
83
|
+
// @ts-expect-error
|
|
84
|
+
if (!globalThis.__wix_context__) {
|
|
85
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
86
|
+
}
|
|
87
|
+
// @ts-expect-error
|
|
88
|
+
return globalThis.__wix_context__
|
|
89
|
+
.initWixModules(ecom_v1_cart_cart_public_1.updateLineItemsQuantity)
|
|
90
|
+
.apply(undefined, args);
|
|
91
|
+
};
|
|
92
|
+
exports.updateLineItemsQuantity = updateLineItemsQuantity;
|
|
93
|
+
const estimateTotals = (...args) => {
|
|
94
|
+
// @ts-expect-error
|
|
95
|
+
if (!globalThis.__wix_context__) {
|
|
96
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
97
|
+
}
|
|
98
|
+
// @ts-expect-error
|
|
99
|
+
return globalThis.__wix_context__
|
|
100
|
+
.initWixModules(ecom_v1_cart_cart_public_1.estimateTotals)
|
|
101
|
+
.apply(undefined, args);
|
|
102
|
+
};
|
|
103
|
+
exports.estimateTotals = estimateTotals;
|
|
104
|
+
const deleteCart = (...args) => {
|
|
105
|
+
// @ts-expect-error
|
|
106
|
+
if (!globalThis.__wix_context__) {
|
|
107
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
108
|
+
}
|
|
109
|
+
// @ts-expect-error
|
|
110
|
+
return globalThis.__wix_context__
|
|
111
|
+
.initWixModules(ecom_v1_cart_cart_public_1.deleteCart)
|
|
112
|
+
.apply(undefined, args);
|
|
113
|
+
};
|
|
114
|
+
exports.deleteCart = deleteCart;
|
|
115
|
+
//# sourceMappingURL=ecom-v1-cart-cart.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ecom-v1-cart-cart.context.js","sourceRoot":"","sources":["../../../src/ecom-v1-cart-cart.context.ts"],"names":[],"mappings":";;;AAAA,yEAWoC;AAG7B,MAAM,UAAU,GAA+C,CACpE,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,qCAAgB,CAAC;SAChC,KAAK,CAAC,SAAS,EAAE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AC;AAbW,QAAA,uBAAuB,2BAalC;AACK,MAAM,cAAc,GAAmD,CAC5E,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,yCAAoB,CAAC;SACpC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,cAAc,kBAazB;AACK,MAAM,UAAU,GAA+C,CACpE,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,qCAAgB,CAAC;SAChC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,UAAU,cAarB"}
|
|
@@ -70,7 +70,7 @@ export declare function addToCart(payload: AddToCartRequest): RequestOptionsFact
|
|
|
70
70
|
*/
|
|
71
71
|
export declare function removeLineItems(payload: RemoveLineItemsRequest): RequestOptionsFactory<RemoveLineItemsResponse & RemoveLineItemsResponseNonNullableFields>;
|
|
72
72
|
/**
|
|
73
|
-
* Creates a checkout from
|
|
73
|
+
* Creates a checkout from a cart.
|
|
74
74
|
*
|
|
75
75
|
*
|
|
76
76
|
* The `createCheckout()` function returns a Promise that resolves to the new checkout's ID when it's created.
|
|
@@ -879,7 +879,7 @@ function removeLineItems(payload) {
|
|
|
879
879
|
}
|
|
880
880
|
exports.removeLineItems = removeLineItems;
|
|
881
881
|
/**
|
|
882
|
-
* Creates a checkout from
|
|
882
|
+
* Creates a checkout from a cart.
|
|
883
883
|
*
|
|
884
884
|
*
|
|
885
885
|
* The `createCheckout()` function returns a Promise that resolves to the new checkout's ID when it's created.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-cart-cart.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-cart-cart.types.ts"],"names":[],"mappings":";;;AA2TA,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,oDAA6B,CAAA;IAC7B,gDAAyB,CAAA;IACzB,sCAAe,CAAA;AACjB,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B;AAsCD,IAAY,sBAOX;AAPD,WAAY,sBAAsB;IAChC,iDAAuB,CAAA;IACvB,iDAAuB,CAAA;IACvB,mBAAmB;IACnB,yDAA+B,CAAA;IAC/B,gDAAgD;IAChD,qEAA2C,CAAA;AAC7C,CAAC,EAPW,sBAAsB,sCAAtB,sBAAsB,QAOjC;AAwCD,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,iDAA6B,CAAA;IAC7B,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,uCAAmB,CAAA;AACrB,CAAC,EANW,gBAAgB,gCAAhB,gBAAgB,QAM3B;AAoBD,0CAA0C;AAC1C,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,sCAAa,CAAA;AACf,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC;AA6BD,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,uCAA2B,CAAA;IAC3B,6CAAiC,CAAA;IACjC,yCAA6B,CAAA;IAC7B,+CAAmC,CAAA;IACnC,yCAA6B,CAAA;IAC7B,6CAAiC,CAAA;AACnC,CAAC,EAPW,QAAQ,wBAAR,QAAQ,QAOnB;AAED,uDAAuD;AACvD,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC3B,wEAAwE;IACxE,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