@wix/stores 1.0.130 → 1.0.131

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.
Files changed (38) hide show
  1. package/build/cjs/context.d.ts +5 -0
  2. package/build/cjs/context.js +32 -0
  3. package/build/cjs/context.js.map +1 -0
  4. package/build/cjs/src/platform-v1-wishlist.context.d.ts +3 -0
  5. package/build/cjs/src/platform-v1-wishlist.context.js +16 -0
  6. package/build/cjs/src/platform-v1-wishlist.context.js.map +1 -0
  7. package/build/cjs/src/stores-catalog-v1-collection.context.d.ts +5 -0
  8. package/build/cjs/src/stores-catalog-v1-collection.context.js +38 -0
  9. package/build/cjs/src/stores-catalog-v1-collection.context.js.map +1 -0
  10. package/build/cjs/src/stores-catalog-v1-product.context.d.ts +35 -0
  11. package/build/cjs/src/stores-catalog-v1-product.context.js +368 -0
  12. package/build/cjs/src/stores-catalog-v1-product.context.js.map +1 -0
  13. package/build/cjs/src/stores-v1-subscription-option.context.d.ts +14 -0
  14. package/build/cjs/src/stores-v1-subscription-option.context.js +137 -0
  15. package/build/cjs/src/stores-v1-subscription-option.context.js.map +1 -0
  16. package/build/cjs/src/stores-v2-inventory.context.d.ts +7 -0
  17. package/build/cjs/src/stores-v2-inventory.context.js +60 -0
  18. package/build/cjs/src/stores-v2-inventory.context.js.map +1 -0
  19. package/build/es/context.d.ts +5 -0
  20. package/build/es/context.js +6 -0
  21. package/build/es/context.js.map +1 -0
  22. package/build/es/src/platform-v1-wishlist.context.d.ts +3 -0
  23. package/build/es/src/platform-v1-wishlist.context.js +12 -0
  24. package/build/es/src/platform-v1-wishlist.context.js.map +1 -0
  25. package/build/es/src/stores-catalog-v1-collection.context.d.ts +5 -0
  26. package/build/es/src/stores-catalog-v1-collection.context.js +32 -0
  27. package/build/es/src/stores-catalog-v1-collection.context.js.map +1 -0
  28. package/build/es/src/stores-catalog-v1-product.context.d.ts +35 -0
  29. package/build/es/src/stores-catalog-v1-product.context.js +332 -0
  30. package/build/es/src/stores-catalog-v1-product.context.js.map +1 -0
  31. package/build/es/src/stores-v1-subscription-option.context.d.ts +14 -0
  32. package/build/es/src/stores-v1-subscription-option.context.js +122 -0
  33. package/build/es/src/stores-v1-subscription-option.context.js.map +1 -0
  34. package/build/es/src/stores-v2-inventory.context.d.ts +7 -0
  35. package/build/es/src/stores-v2-inventory.context.js +52 -0
  36. package/build/es/src/stores-v2-inventory.context.js.map +1 -0
  37. package/context/package.json +6 -0
  38. package/package.json +6 -4
@@ -0,0 +1,5 @@
1
+ export * as wishlist from './src/platform-v1-wishlist.context';
2
+ export * as collections from './src/stores-catalog-v1-collection.context';
3
+ export * as products from './src/stores-catalog-v1-product.context';
4
+ export * as subscriptionOptions from './src/stores-v1-subscription-option.context';
5
+ export * as inventory from './src/stores-v2-inventory.context';
@@ -0,0 +1,32 @@
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.inventory = exports.subscriptionOptions = exports.products = exports.collections = exports.wishlist = void 0;
27
+ exports.wishlist = __importStar(require("./src/platform-v1-wishlist.context"));
28
+ exports.collections = __importStar(require("./src/stores-catalog-v1-collection.context"));
29
+ exports.products = __importStar(require("./src/stores-catalog-v1-product.context"));
30
+ exports.subscriptionOptions = __importStar(require("./src/stores-v1-subscription-option.context"));
31
+ exports.inventory = __importStar(require("./src/stores-v2-inventory.context"));
32
+ //# sourceMappingURL=context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+EAA+D;AAC/D,0FAA0E;AAC1E,oFAAoE;AACpE,mGAAmF;AACnF,+EAA+D"}
@@ -0,0 +1,3 @@
1
+ import { getWishlistById as publicGetWishlistById } from './platform-v1-wishlist.public';
2
+ import { BuildRESTFunction } from '@wix/sdk-types';
3
+ export declare const getWishlistById: BuildRESTFunction<typeof publicGetWishlistById>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getWishlistById = void 0;
4
+ const platform_v1_wishlist_public_1 = require("./platform-v1-wishlist.public");
5
+ const getWishlistById = (...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(platform_v1_wishlist_public_1.getWishlistById)
13
+ .apply(undefined, args);
14
+ };
15
+ exports.getWishlistById = getWishlistById;
16
+ //# sourceMappingURL=platform-v1-wishlist.context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"platform-v1-wishlist.context.js","sourceRoot":"","sources":["../../../src/platform-v1-wishlist.context.ts"],"names":[],"mappings":";;;AAAA,+EAAyF;AAGlF,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,6CAAqB,CAAC;SACrC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,eAAe,mBAa1B"}
@@ -0,0 +1,5 @@
1
+ import { queryCollections as publicQueryCollections, getCollection as publicGetCollection, getCollectionBySlug as publicGetCollectionBySlug } from './stores-catalog-v1-collection.public';
2
+ import { BuildRESTFunction } from '@wix/sdk-types';
3
+ export declare const queryCollections: BuildRESTFunction<typeof publicQueryCollections>;
4
+ export declare const getCollection: BuildRESTFunction<typeof publicGetCollection>;
5
+ export declare const getCollectionBySlug: BuildRESTFunction<typeof publicGetCollectionBySlug>;
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getCollectionBySlug = exports.getCollection = exports.queryCollections = void 0;
4
+ const stores_catalog_v1_collection_public_1 = require("./stores-catalog-v1-collection.public");
5
+ const queryCollections = (...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(stores_catalog_v1_collection_public_1.queryCollections)
13
+ .apply(undefined, args);
14
+ };
15
+ exports.queryCollections = queryCollections;
16
+ const getCollection = (...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(stores_catalog_v1_collection_public_1.getCollection)
24
+ .apply(undefined, args);
25
+ };
26
+ exports.getCollection = getCollection;
27
+ const getCollectionBySlug = (...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(stores_catalog_v1_collection_public_1.getCollectionBySlug)
35
+ .apply(undefined, args);
36
+ };
37
+ exports.getCollectionBySlug = getCollectionBySlug;
38
+ //# sourceMappingURL=stores-catalog-v1-collection.context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stores-catalog-v1-collection.context.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-collection.context.ts"],"names":[],"mappings":";;;AAAA,+FAI+C;AAGxC,MAAM,gBAAgB,GAEzB,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,sDAAsB,CAAC;SACtC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,gBAAgB,oBAa3B;AACK,MAAM,aAAa,GAAkD,CAC1E,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,mDAAmB,CAAC;SACnC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,aAAa,iBAaxB;AACK,MAAM,mBAAmB,GAE5B,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,yDAAyB,CAAC;SACzC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,mBAAmB,uBAa9B"}
@@ -0,0 +1,35 @@
1
+ import { createProduct as publicCreateProduct, createProductPlatformized as publicCreateProductPlatformized, updateProduct as publicUpdateProduct, updateProductPlatformized as publicUpdateProductPlatformized, deleteProduct as publicDeleteProduct, deleteProductPlatformized as publicDeleteProductPlatformized, updateProductVariants as publicUpdateProductVariants, resetAllProductVariantData as publicResetAllProductVariantData, addProductsToCollection as publicAddProductsToCollection, removeProductsFromCollection as publicRemoveProductsFromCollection, addProductMedia as publicAddProductMedia, removeProductMedia as publicRemoveProductMedia, addProductMediaToChoices as publicAddProductMediaToChoices, removeProductMediaFromChoices as publicRemoveProductMediaFromChoices, deleteProductOptions as publicDeleteProductOptions, removeBrand as publicRemoveBrand, createCollection as publicCreateCollection, updateCollection as publicUpdateCollection, deleteCollection as publicDeleteCollection, removeRibbon as publicRemoveRibbon, bulkUpdateProductsProperty as publicBulkUpdateProductsProperty, bulkAdjustProductProperty as publicBulkAdjustProductProperty, writeProxyCreateProductPlatformized as publicWriteProxyCreateProductPlatformized, writeProxyUpdateProductPlatformized as publicWriteProxyUpdateProductPlatformized, writeProxyDeleteProductPlatformized as publicWriteProxyDeleteProductPlatformized, queryProducts as publicQueryProducts, getProduct as publicGetProduct, getProductPlatformized as publicGetProductPlatformized, getCollectionBySlug as publicGetCollectionBySlug, getProductOptionsAvailability as publicGetProductOptionsAvailability, queryProductVariants as publicQueryProductVariants, queryStoreVariants as publicQueryStoreVariants, getStoreVariant as publicGetStoreVariant } from './stores-catalog-v1-product.public';
2
+ import { BuildRESTFunction } from '@wix/sdk-types';
3
+ export declare const createProduct: BuildRESTFunction<typeof publicCreateProduct>;
4
+ export declare const createProductPlatformized: BuildRESTFunction<typeof publicCreateProductPlatformized>;
5
+ export declare const updateProduct: BuildRESTFunction<typeof publicUpdateProduct>;
6
+ export declare const updateProductPlatformized: BuildRESTFunction<typeof publicUpdateProductPlatformized>;
7
+ export declare const deleteProduct: BuildRESTFunction<typeof publicDeleteProduct>;
8
+ export declare const deleteProductPlatformized: BuildRESTFunction<typeof publicDeleteProductPlatformized>;
9
+ export declare const updateProductVariants: BuildRESTFunction<typeof publicUpdateProductVariants>;
10
+ export declare const resetAllProductVariantData: BuildRESTFunction<typeof publicResetAllProductVariantData>;
11
+ export declare const addProductsToCollection: BuildRESTFunction<typeof publicAddProductsToCollection>;
12
+ export declare const removeProductsFromCollection: BuildRESTFunction<typeof publicRemoveProductsFromCollection>;
13
+ export declare const addProductMedia: BuildRESTFunction<typeof publicAddProductMedia>;
14
+ export declare const removeProductMedia: BuildRESTFunction<typeof publicRemoveProductMedia>;
15
+ export declare const addProductMediaToChoices: BuildRESTFunction<typeof publicAddProductMediaToChoices>;
16
+ export declare const removeProductMediaFromChoices: BuildRESTFunction<typeof publicRemoveProductMediaFromChoices>;
17
+ export declare const deleteProductOptions: BuildRESTFunction<typeof publicDeleteProductOptions>;
18
+ export declare const removeBrand: BuildRESTFunction<typeof publicRemoveBrand>;
19
+ export declare const createCollection: BuildRESTFunction<typeof publicCreateCollection>;
20
+ export declare const updateCollection: BuildRESTFunction<typeof publicUpdateCollection>;
21
+ export declare const deleteCollection: BuildRESTFunction<typeof publicDeleteCollection>;
22
+ export declare const removeRibbon: BuildRESTFunction<typeof publicRemoveRibbon>;
23
+ export declare const bulkUpdateProductsProperty: BuildRESTFunction<typeof publicBulkUpdateProductsProperty>;
24
+ export declare const bulkAdjustProductProperty: BuildRESTFunction<typeof publicBulkAdjustProductProperty>;
25
+ export declare const writeProxyCreateProductPlatformized: BuildRESTFunction<typeof publicWriteProxyCreateProductPlatformized>;
26
+ export declare const writeProxyUpdateProductPlatformized: BuildRESTFunction<typeof publicWriteProxyUpdateProductPlatformized>;
27
+ export declare const writeProxyDeleteProductPlatformized: BuildRESTFunction<typeof publicWriteProxyDeleteProductPlatformized>;
28
+ export declare const queryProducts: BuildRESTFunction<typeof publicQueryProducts>;
29
+ export declare const getProduct: BuildRESTFunction<typeof publicGetProduct>;
30
+ export declare const getProductPlatformized: BuildRESTFunction<typeof publicGetProductPlatformized>;
31
+ export declare const getCollectionBySlug: BuildRESTFunction<typeof publicGetCollectionBySlug>;
32
+ export declare const getProductOptionsAvailability: BuildRESTFunction<typeof publicGetProductOptionsAvailability>;
33
+ export declare const queryProductVariants: BuildRESTFunction<typeof publicQueryProductVariants>;
34
+ export declare const queryStoreVariants: BuildRESTFunction<typeof publicQueryStoreVariants>;
35
+ export declare const getStoreVariant: BuildRESTFunction<typeof publicGetStoreVariant>;
@@ -0,0 +1,368 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getStoreVariant = exports.queryStoreVariants = exports.queryProductVariants = exports.getProductOptionsAvailability = exports.getCollectionBySlug = exports.getProductPlatformized = exports.getProduct = exports.queryProducts = exports.writeProxyDeleteProductPlatformized = exports.writeProxyUpdateProductPlatformized = exports.writeProxyCreateProductPlatformized = exports.bulkAdjustProductProperty = exports.bulkUpdateProductsProperty = exports.removeRibbon = exports.deleteCollection = exports.updateCollection = exports.createCollection = exports.removeBrand = exports.deleteProductOptions = exports.removeProductMediaFromChoices = exports.addProductMediaToChoices = exports.removeProductMedia = exports.addProductMedia = exports.removeProductsFromCollection = exports.addProductsToCollection = exports.resetAllProductVariantData = exports.updateProductVariants = exports.deleteProductPlatformized = exports.deleteProduct = exports.updateProductPlatformized = exports.updateProduct = exports.createProductPlatformized = exports.createProduct = void 0;
4
+ const stores_catalog_v1_product_public_1 = require("./stores-catalog-v1-product.public");
5
+ const createProduct = (...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(stores_catalog_v1_product_public_1.createProduct)
13
+ .apply(undefined, args);
14
+ };
15
+ exports.createProduct = createProduct;
16
+ const createProductPlatformized = (...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(stores_catalog_v1_product_public_1.createProductPlatformized)
24
+ .apply(undefined, args);
25
+ };
26
+ exports.createProductPlatformized = createProductPlatformized;
27
+ const updateProduct = (...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(stores_catalog_v1_product_public_1.updateProduct)
35
+ .apply(undefined, args);
36
+ };
37
+ exports.updateProduct = updateProduct;
38
+ const updateProductPlatformized = (...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(stores_catalog_v1_product_public_1.updateProductPlatformized)
46
+ .apply(undefined, args);
47
+ };
48
+ exports.updateProductPlatformized = updateProductPlatformized;
49
+ const deleteProduct = (...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(stores_catalog_v1_product_public_1.deleteProduct)
57
+ .apply(undefined, args);
58
+ };
59
+ exports.deleteProduct = deleteProduct;
60
+ const deleteProductPlatformized = (...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(stores_catalog_v1_product_public_1.deleteProductPlatformized)
68
+ .apply(undefined, args);
69
+ };
70
+ exports.deleteProductPlatformized = deleteProductPlatformized;
71
+ const updateProductVariants = (...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(stores_catalog_v1_product_public_1.updateProductVariants)
79
+ .apply(undefined, args);
80
+ };
81
+ exports.updateProductVariants = updateProductVariants;
82
+ const resetAllProductVariantData = (...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(stores_catalog_v1_product_public_1.resetAllProductVariantData)
90
+ .apply(undefined, args);
91
+ };
92
+ exports.resetAllProductVariantData = resetAllProductVariantData;
93
+ const addProductsToCollection = (...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(stores_catalog_v1_product_public_1.addProductsToCollection)
101
+ .apply(undefined, args);
102
+ };
103
+ exports.addProductsToCollection = addProductsToCollection;
104
+ const removeProductsFromCollection = (...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(stores_catalog_v1_product_public_1.removeProductsFromCollection)
112
+ .apply(undefined, args);
113
+ };
114
+ exports.removeProductsFromCollection = removeProductsFromCollection;
115
+ const addProductMedia = (...args) => {
116
+ // @ts-expect-error
117
+ if (!globalThis.__wix_context__) {
118
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
119
+ }
120
+ // @ts-expect-error
121
+ return globalThis.__wix_context__
122
+ .initWixModules(stores_catalog_v1_product_public_1.addProductMedia)
123
+ .apply(undefined, args);
124
+ };
125
+ exports.addProductMedia = addProductMedia;
126
+ const removeProductMedia = (...args) => {
127
+ // @ts-expect-error
128
+ if (!globalThis.__wix_context__) {
129
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
130
+ }
131
+ // @ts-expect-error
132
+ return globalThis.__wix_context__
133
+ .initWixModules(stores_catalog_v1_product_public_1.removeProductMedia)
134
+ .apply(undefined, args);
135
+ };
136
+ exports.removeProductMedia = removeProductMedia;
137
+ const addProductMediaToChoices = (...args) => {
138
+ // @ts-expect-error
139
+ if (!globalThis.__wix_context__) {
140
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
141
+ }
142
+ // @ts-expect-error
143
+ return globalThis.__wix_context__
144
+ .initWixModules(stores_catalog_v1_product_public_1.addProductMediaToChoices)
145
+ .apply(undefined, args);
146
+ };
147
+ exports.addProductMediaToChoices = addProductMediaToChoices;
148
+ const removeProductMediaFromChoices = (...args) => {
149
+ // @ts-expect-error
150
+ if (!globalThis.__wix_context__) {
151
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
152
+ }
153
+ // @ts-expect-error
154
+ return globalThis.__wix_context__
155
+ .initWixModules(stores_catalog_v1_product_public_1.removeProductMediaFromChoices)
156
+ .apply(undefined, args);
157
+ };
158
+ exports.removeProductMediaFromChoices = removeProductMediaFromChoices;
159
+ const deleteProductOptions = (...args) => {
160
+ // @ts-expect-error
161
+ if (!globalThis.__wix_context__) {
162
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
163
+ }
164
+ // @ts-expect-error
165
+ return globalThis.__wix_context__
166
+ .initWixModules(stores_catalog_v1_product_public_1.deleteProductOptions)
167
+ .apply(undefined, args);
168
+ };
169
+ exports.deleteProductOptions = deleteProductOptions;
170
+ const removeBrand = (...args) => {
171
+ // @ts-expect-error
172
+ if (!globalThis.__wix_context__) {
173
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
174
+ }
175
+ // @ts-expect-error
176
+ return globalThis.__wix_context__
177
+ .initWixModules(stores_catalog_v1_product_public_1.removeBrand)
178
+ .apply(undefined, args);
179
+ };
180
+ exports.removeBrand = removeBrand;
181
+ const createCollection = (...args) => {
182
+ // @ts-expect-error
183
+ if (!globalThis.__wix_context__) {
184
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
185
+ }
186
+ // @ts-expect-error
187
+ return globalThis.__wix_context__
188
+ .initWixModules(stores_catalog_v1_product_public_1.createCollection)
189
+ .apply(undefined, args);
190
+ };
191
+ exports.createCollection = createCollection;
192
+ const updateCollection = (...args) => {
193
+ // @ts-expect-error
194
+ if (!globalThis.__wix_context__) {
195
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
196
+ }
197
+ // @ts-expect-error
198
+ return globalThis.__wix_context__
199
+ .initWixModules(stores_catalog_v1_product_public_1.updateCollection)
200
+ .apply(undefined, args);
201
+ };
202
+ exports.updateCollection = updateCollection;
203
+ const deleteCollection = (...args) => {
204
+ // @ts-expect-error
205
+ if (!globalThis.__wix_context__) {
206
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
207
+ }
208
+ // @ts-expect-error
209
+ return globalThis.__wix_context__
210
+ .initWixModules(stores_catalog_v1_product_public_1.deleteCollection)
211
+ .apply(undefined, args);
212
+ };
213
+ exports.deleteCollection = deleteCollection;
214
+ const removeRibbon = (...args) => {
215
+ // @ts-expect-error
216
+ if (!globalThis.__wix_context__) {
217
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
218
+ }
219
+ // @ts-expect-error
220
+ return globalThis.__wix_context__
221
+ .initWixModules(stores_catalog_v1_product_public_1.removeRibbon)
222
+ .apply(undefined, args);
223
+ };
224
+ exports.removeRibbon = removeRibbon;
225
+ const bulkUpdateProductsProperty = (...args) => {
226
+ // @ts-expect-error
227
+ if (!globalThis.__wix_context__) {
228
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
229
+ }
230
+ // @ts-expect-error
231
+ return globalThis.__wix_context__
232
+ .initWixModules(stores_catalog_v1_product_public_1.bulkUpdateProductsProperty)
233
+ .apply(undefined, args);
234
+ };
235
+ exports.bulkUpdateProductsProperty = bulkUpdateProductsProperty;
236
+ const bulkAdjustProductProperty = (...args) => {
237
+ // @ts-expect-error
238
+ if (!globalThis.__wix_context__) {
239
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
240
+ }
241
+ // @ts-expect-error
242
+ return globalThis.__wix_context__
243
+ .initWixModules(stores_catalog_v1_product_public_1.bulkAdjustProductProperty)
244
+ .apply(undefined, args);
245
+ };
246
+ exports.bulkAdjustProductProperty = bulkAdjustProductProperty;
247
+ const writeProxyCreateProductPlatformized = (...args) => {
248
+ // @ts-expect-error
249
+ if (!globalThis.__wix_context__) {
250
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
251
+ }
252
+ // @ts-expect-error
253
+ return globalThis.__wix_context__
254
+ .initWixModules(stores_catalog_v1_product_public_1.writeProxyCreateProductPlatformized)
255
+ .apply(undefined, args);
256
+ };
257
+ exports.writeProxyCreateProductPlatformized = writeProxyCreateProductPlatformized;
258
+ const writeProxyUpdateProductPlatformized = (...args) => {
259
+ // @ts-expect-error
260
+ if (!globalThis.__wix_context__) {
261
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
262
+ }
263
+ // @ts-expect-error
264
+ return globalThis.__wix_context__
265
+ .initWixModules(stores_catalog_v1_product_public_1.writeProxyUpdateProductPlatformized)
266
+ .apply(undefined, args);
267
+ };
268
+ exports.writeProxyUpdateProductPlatformized = writeProxyUpdateProductPlatformized;
269
+ const writeProxyDeleteProductPlatformized = (...args) => {
270
+ // @ts-expect-error
271
+ if (!globalThis.__wix_context__) {
272
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
273
+ }
274
+ // @ts-expect-error
275
+ return globalThis.__wix_context__
276
+ .initWixModules(stores_catalog_v1_product_public_1.writeProxyDeleteProductPlatformized)
277
+ .apply(undefined, args);
278
+ };
279
+ exports.writeProxyDeleteProductPlatformized = writeProxyDeleteProductPlatformized;
280
+ const queryProducts = (...args) => {
281
+ // @ts-expect-error
282
+ if (!globalThis.__wix_context__) {
283
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
284
+ }
285
+ // @ts-expect-error
286
+ return globalThis.__wix_context__
287
+ .initWixModules(stores_catalog_v1_product_public_1.queryProducts)
288
+ .apply(undefined, args);
289
+ };
290
+ exports.queryProducts = queryProducts;
291
+ const getProduct = (...args) => {
292
+ // @ts-expect-error
293
+ if (!globalThis.__wix_context__) {
294
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
295
+ }
296
+ // @ts-expect-error
297
+ return globalThis.__wix_context__
298
+ .initWixModules(stores_catalog_v1_product_public_1.getProduct)
299
+ .apply(undefined, args);
300
+ };
301
+ exports.getProduct = getProduct;
302
+ const getProductPlatformized = (...args) => {
303
+ // @ts-expect-error
304
+ if (!globalThis.__wix_context__) {
305
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
306
+ }
307
+ // @ts-expect-error
308
+ return globalThis.__wix_context__
309
+ .initWixModules(stores_catalog_v1_product_public_1.getProductPlatformized)
310
+ .apply(undefined, args);
311
+ };
312
+ exports.getProductPlatformized = getProductPlatformized;
313
+ const getCollectionBySlug = (...args) => {
314
+ // @ts-expect-error
315
+ if (!globalThis.__wix_context__) {
316
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
317
+ }
318
+ // @ts-expect-error
319
+ return globalThis.__wix_context__
320
+ .initWixModules(stores_catalog_v1_product_public_1.getCollectionBySlug)
321
+ .apply(undefined, args);
322
+ };
323
+ exports.getCollectionBySlug = getCollectionBySlug;
324
+ const getProductOptionsAvailability = (...args) => {
325
+ // @ts-expect-error
326
+ if (!globalThis.__wix_context__) {
327
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
328
+ }
329
+ // @ts-expect-error
330
+ return globalThis.__wix_context__
331
+ .initWixModules(stores_catalog_v1_product_public_1.getProductOptionsAvailability)
332
+ .apply(undefined, args);
333
+ };
334
+ exports.getProductOptionsAvailability = getProductOptionsAvailability;
335
+ const queryProductVariants = (...args) => {
336
+ // @ts-expect-error
337
+ if (!globalThis.__wix_context__) {
338
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
339
+ }
340
+ // @ts-expect-error
341
+ return globalThis.__wix_context__
342
+ .initWixModules(stores_catalog_v1_product_public_1.queryProductVariants)
343
+ .apply(undefined, args);
344
+ };
345
+ exports.queryProductVariants = queryProductVariants;
346
+ const queryStoreVariants = (...args) => {
347
+ // @ts-expect-error
348
+ if (!globalThis.__wix_context__) {
349
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
350
+ }
351
+ // @ts-expect-error
352
+ return globalThis.__wix_context__
353
+ .initWixModules(stores_catalog_v1_product_public_1.queryStoreVariants)
354
+ .apply(undefined, args);
355
+ };
356
+ exports.queryStoreVariants = queryStoreVariants;
357
+ const getStoreVariant = (...args) => {
358
+ // @ts-expect-error
359
+ if (!globalThis.__wix_context__) {
360
+ throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
361
+ }
362
+ // @ts-expect-error
363
+ return globalThis.__wix_context__
364
+ .initWixModules(stores_catalog_v1_product_public_1.getStoreVariant)
365
+ .apply(undefined, args);
366
+ };
367
+ exports.getStoreVariant = getStoreVariant;
368
+ //# sourceMappingURL=stores-catalog-v1-product.context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stores-catalog-v1-product.context.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-product.context.ts"],"names":[],"mappings":";;;AAAA,yFAkC4C;AAGrC,MAAM,aAAa,GAAkD,CAC1E,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,gDAAmB,CAAC;SACnC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,aAAa,iBAaxB;AACK,MAAM,yBAAyB,GAElC,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,4DAA+B,CAAC;SAC/C,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,yBAAyB,6BAapC;AACK,MAAM,aAAa,GAAkD,CAC1E,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,gDAAmB,CAAC;SACnC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,aAAa,iBAaxB;AACK,MAAM,yBAAyB,GAElC,CAAC,GAA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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,qDAAwB,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,kDAAqB,CAAC;SACrC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,eAAe,mBAa1B"}
@@ -0,0 +1,14 @@
1
+ import { createSubscriptionOption as publicCreateSubscriptionOption, updateSubscriptionOption as publicUpdateSubscriptionOption, deleteSubscriptionOption as publicDeleteSubscriptionOption, bulkCreateSubscriptionOptions as publicBulkCreateSubscriptionOptions, bulkUpdateSubscriptionOptions as publicBulkUpdateSubscriptionOptions, bulkDeleteSubscriptionOptions as publicBulkDeleteSubscriptionOptions, assignSubscriptionOptionsToProduct as publicAssignSubscriptionOptionsToProduct, allowOneTimePurchases as publicAllowOneTimePurchases, getSubscriptionOption as publicGetSubscriptionOption, getSubscriptionOptionsForProduct as publicGetSubscriptionOptionsForProduct, getProductIdsForSubscriptionOption as publicGetProductIdsForSubscriptionOption, getOneTimePurchasesStatus as publicGetOneTimePurchasesStatus } from './stores-v1-subscription-option.public';
2
+ import { BuildRESTFunction } from '@wix/sdk-types';
3
+ export declare const createSubscriptionOption: BuildRESTFunction<typeof publicCreateSubscriptionOption>;
4
+ export declare const updateSubscriptionOption: BuildRESTFunction<typeof publicUpdateSubscriptionOption>;
5
+ export declare const deleteSubscriptionOption: BuildRESTFunction<typeof publicDeleteSubscriptionOption>;
6
+ export declare const bulkCreateSubscriptionOptions: BuildRESTFunction<typeof publicBulkCreateSubscriptionOptions>;
7
+ export declare const bulkUpdateSubscriptionOptions: BuildRESTFunction<typeof publicBulkUpdateSubscriptionOptions>;
8
+ export declare const bulkDeleteSubscriptionOptions: BuildRESTFunction<typeof publicBulkDeleteSubscriptionOptions>;
9
+ export declare const assignSubscriptionOptionsToProduct: BuildRESTFunction<typeof publicAssignSubscriptionOptionsToProduct>;
10
+ export declare const allowOneTimePurchases: BuildRESTFunction<typeof publicAllowOneTimePurchases>;
11
+ export declare const getSubscriptionOption: BuildRESTFunction<typeof publicGetSubscriptionOption>;
12
+ export declare const getSubscriptionOptionsForProduct: BuildRESTFunction<typeof publicGetSubscriptionOptionsForProduct>;
13
+ export declare const getProductIdsForSubscriptionOption: BuildRESTFunction<typeof publicGetProductIdsForSubscriptionOption>;
14
+ export declare const getOneTimePurchasesStatus: BuildRESTFunction<typeof publicGetOneTimePurchasesStatus>;