@wix/auto_sdk_stores_products-v-3 1.0.0
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/index.d.ts +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/stores-catalog-v3-product-products-v-3.context.d.ts +40 -0
- package/build/cjs/src/stores-catalog-v3-product-products-v-3.context.js +127 -0
- package/build/cjs/src/stores-catalog-v3-product-products-v-3.context.js.map +1 -0
- package/build/cjs/src/stores-catalog-v3-product-products-v-3.http.d.ts +200 -0
- package/build/cjs/src/stores-catalog-v3-product-products-v-3.http.js +5527 -0
- package/build/cjs/src/stores-catalog-v3-product-products-v-3.http.js.map +1 -0
- package/build/cjs/src/stores-catalog-v3-product-products-v-3.meta.d.ts +50 -0
- package/build/cjs/src/stores-catalog-v3-product-products-v-3.meta.js +522 -0
- package/build/cjs/src/stores-catalog-v3-product-products-v-3.meta.js.map +1 -0
- package/build/cjs/src/stores-catalog-v3-product-products-v-3.public.d.ts +332 -0
- package/build/cjs/src/stores-catalog-v3-product-products-v-3.public.js +690 -0
- package/build/cjs/src/stores-catalog-v3-product-products-v-3.public.js.map +1 -0
- package/build/cjs/src/stores-catalog-v3-product-products-v-3.types.d.ts +6737 -0
- package/build/cjs/src/stores-catalog-v3-product-products-v-3.types.js +886 -0
- package/build/cjs/src/stores-catalog-v3-product-products-v-3.types.js.map +1 -0
- package/build/cjs/src/stores-catalog-v3-product-products-v-3.universal.d.ts +8300 -0
- package/build/cjs/src/stores-catalog-v3-product-products-v-3.universal.js +3404 -0
- package/build/cjs/src/stores-catalog-v3-product-products-v-3.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/stores-catalog-v3-product-products-v-3.context.d.ts +40 -0
- package/build/es/src/stores-catalog-v3-product-products-v-3.context.js +40 -0
- package/build/es/src/stores-catalog-v3-product-products-v-3.context.js.map +1 -0
- package/build/es/src/stores-catalog-v3-product-products-v-3.http.d.ts +200 -0
- package/build/es/src/stores-catalog-v3-product-products-v-3.http.js +5498 -0
- package/build/es/src/stores-catalog-v3-product-products-v-3.http.js.map +1 -0
- package/build/es/src/stores-catalog-v3-product-products-v-3.meta.d.ts +50 -0
- package/build/es/src/stores-catalog-v3-product-products-v-3.meta.js +470 -0
- package/build/es/src/stores-catalog-v3-product-products-v-3.meta.js.map +1 -0
- package/build/es/src/stores-catalog-v3-product-products-v-3.public.d.ts +332 -0
- package/build/es/src/stores-catalog-v3-product-products-v-3.public.js +577 -0
- package/build/es/src/stores-catalog-v3-product-products-v-3.public.js.map +1 -0
- package/build/es/src/stores-catalog-v3-product-products-v-3.types.d.ts +6737 -0
- package/build/es/src/stores-catalog-v3-product-products-v-3.types.js +882 -0
- package/build/es/src/stores-catalog-v3-product-products-v-3.types.js.map +1 -0
- package/build/es/src/stores-catalog-v3-product-products-v-3.universal.d.ts +8300 -0
- package/build/es/src/stores-catalog-v3-product-products-v-3.universal.js +3350 -0
- package/build/es/src/stores-catalog-v3-product-products-v-3.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/stores-catalog-v3-product-products-v-3.context.d.ts +40 -0
- package/build/internal/cjs/src/stores-catalog-v3-product-products-v-3.context.js +127 -0
- package/build/internal/cjs/src/stores-catalog-v3-product-products-v-3.context.js.map +1 -0
- package/build/internal/cjs/src/stores-catalog-v3-product-products-v-3.http.d.ts +200 -0
- package/build/internal/cjs/src/stores-catalog-v3-product-products-v-3.http.js +5527 -0
- package/build/internal/cjs/src/stores-catalog-v3-product-products-v-3.http.js.map +1 -0
- package/build/internal/cjs/src/stores-catalog-v3-product-products-v-3.meta.d.ts +50 -0
- package/build/internal/cjs/src/stores-catalog-v3-product-products-v-3.meta.js +522 -0
- package/build/internal/cjs/src/stores-catalog-v3-product-products-v-3.meta.js.map +1 -0
- package/build/internal/cjs/src/stores-catalog-v3-product-products-v-3.public.d.ts +332 -0
- package/build/internal/cjs/src/stores-catalog-v3-product-products-v-3.public.js +690 -0
- package/build/internal/cjs/src/stores-catalog-v3-product-products-v-3.public.js.map +1 -0
- package/build/internal/cjs/src/stores-catalog-v3-product-products-v-3.types.d.ts +6737 -0
- package/build/internal/cjs/src/stores-catalog-v3-product-products-v-3.types.js +886 -0
- package/build/internal/cjs/src/stores-catalog-v3-product-products-v-3.types.js.map +1 -0
- package/build/internal/cjs/src/stores-catalog-v3-product-products-v-3.universal.d.ts +8320 -0
- package/build/internal/cjs/src/stores-catalog-v3-product-products-v-3.universal.js +3404 -0
- package/build/internal/cjs/src/stores-catalog-v3-product-products-v-3.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/stores-catalog-v3-product-products-v-3.context.d.ts +40 -0
- package/build/internal/es/src/stores-catalog-v3-product-products-v-3.context.js +40 -0
- package/build/internal/es/src/stores-catalog-v3-product-products-v-3.context.js.map +1 -0
- package/build/internal/es/src/stores-catalog-v3-product-products-v-3.http.d.ts +200 -0
- package/build/internal/es/src/stores-catalog-v3-product-products-v-3.http.js +5498 -0
- package/build/internal/es/src/stores-catalog-v3-product-products-v-3.http.js.map +1 -0
- package/build/internal/es/src/stores-catalog-v3-product-products-v-3.meta.d.ts +50 -0
- package/build/internal/es/src/stores-catalog-v3-product-products-v-3.meta.js +470 -0
- package/build/internal/es/src/stores-catalog-v3-product-products-v-3.meta.js.map +1 -0
- package/build/internal/es/src/stores-catalog-v3-product-products-v-3.public.d.ts +332 -0
- package/build/internal/es/src/stores-catalog-v3-product-products-v-3.public.js +577 -0
- package/build/internal/es/src/stores-catalog-v3-product-products-v-3.public.js.map +1 -0
- package/build/internal/es/src/stores-catalog-v3-product-products-v-3.types.d.ts +6737 -0
- package/build/internal/es/src/stores-catalog-v3-product-products-v-3.types.js +882 -0
- package/build/internal/es/src/stores-catalog-v3-product-products-v-3.types.js.map +1 -0
- package/build/internal/es/src/stores-catalog-v3-product-products-v-3.universal.d.ts +8320 -0
- package/build/internal/es/src/stores-catalog-v3-product-products-v-3.universal.js +3350 -0
- package/build/internal/es/src/stores-catalog-v3-product-products-v-3.universal.js.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +52 -0
|
@@ -0,0 +1,690 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Direction = exports.DecorationType = exports.DateHistogramAggregationInterval = exports.Crop = exports.CommonSortOrder = exports.CommonSearchDetailsMode = exports.CommonScalarType = exports.CommonAggregationType = exports.ChoiceType = exports.BulkAdjustProductVariantsByFilterRequestRoundingStrategy = exports.BackgroundType = exports.AvailabilityStatus = exports.AppType = exports.Alignment = exports.AggregationValueAggregationSortType = exports.AggregationValueAggregationSortDirection = exports.AggregationValueAggregationMissingValues = exports.AggregationType = exports.AggregationNestedAggregationNestedAggregationType = exports.AggregationDateHistogramAggregationInterval = exports.onProductUpdated = exports.onProductDeleted = exports.onProductCreated = exports.bulkRemoveProductsFromCategoriesByFilter = exports.bulkAddProductsToCategoriesByFilter = exports.bulkRemoveInfoSectionsFromProducts = exports.bulkRemoveInfoSectionsFromProductsByFilter = exports.bulkAddInfoSectionsToProducts = exports.bulkAddInfoSectionsToProductsByFilter = exports.bulkAdjustProductVariantsByFilter = exports.bulkUpdateProductVariantsByFilter = exports.countProducts = exports.queryProducts = exports.searchProducts = exports.getProductBySlug = exports.getProduct = exports.bulkDeleteProductsByFilter = exports.bulkDeleteProducts = exports.deleteProduct = exports.updateExtendedFields = exports.bulkUpdateProductsByFilter = exports.bulkUpdateProductsWithInventory = exports.bulkUpdateProducts = exports.bulkCreateProductsWithInventory = exports.bulkCreateProducts = exports.updateProductWithInventory = exports.updateProduct = exports.createProductWithInventory = exports.createProduct = exports.__metadata = void 0;
|
|
4
|
+
exports.ValueAggregationSortType = exports.ValueAggregationSortDirection = exports.ValueAggregationMissingValues = exports.V3ProductType = exports.UpstreamWixCommonSortOrder = exports.Type = exports.ThumbnailsAlignment = exports.TextAlignment = exports.Target = exports.SubscriptionFrequency = exports.State = exports.Source = exports.SortType = exports.SortOrder = exports.SortDirection = exports.SingleEntityOpsRequestedFields = exports.SecuredMediaFileType = exports.SearchDetailsMode = exports.ScalarType = exports.RoundingStrategy = exports.RequestedFields = exports.ProductType = exports.ProductPreorderAvailability = exports.ProductOptionRenderType = exports.ProductMediaMediaType = exports.PreorderStatus = exports.PollLayoutType = exports.PollLayoutDirection = exports.PluginContainerDataAlignment = exports.Orientation = exports.NullValue = exports.NodeType = exports.NestedAggregationType = exports.NestedAggregationNestedAggregationType = exports.ModifierRenderType = exports.Mode = exports.MissingValues = exports.MediaType = exports.MeasurementUnit = exports.MapType = exports.LineStyle = exports.LayoutType = exports.InventoryAvailabilityStatus = exports.Interval = exports.InitialExpandedItems = exports.GIFType = exports.FontType = exports.FileType = exports.Enum = exports.DiscountType = void 0;
|
|
5
|
+
exports.WixCommonSortOrder = exports.WixCommonScalarType = exports.WixCommonAggregationType = exports.WidthType = exports.Width = exports.WeightUnit = exports.WebhookIdentityType = exports.VoteRole = exports.ViewRole = exports.ViewMode = exports.VerticalAlignment = exports.VariantsOpsRequestedFields = void 0;
|
|
6
|
+
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
7
|
+
const float_1 = require("@wix/sdk-runtime/transformations/float");
|
|
8
|
+
const image_1 = require("@wix/sdk-runtime/transformations/image");
|
|
9
|
+
const page_url_v2_1 = require("@wix/sdk-runtime/transformations/page-url-v2");
|
|
10
|
+
const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
11
|
+
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
12
|
+
const video_v2_1 = require("@wix/sdk-runtime/transformations/video-v2");
|
|
13
|
+
const sdk_types_1 = require("@wix/sdk-types");
|
|
14
|
+
const stores_catalog_v3_product_products_v_3_universal_js_1 = require("./stores-catalog-v3-product-products-v-3.universal.js");
|
|
15
|
+
exports.__metadata = { PACKAGE_NAME: '@wix/stores' };
|
|
16
|
+
function createProduct(httpClient) {
|
|
17
|
+
return (product, options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.createProduct)(product, options,
|
|
18
|
+
// @ts-ignore
|
|
19
|
+
{ httpClient });
|
|
20
|
+
}
|
|
21
|
+
exports.createProduct = createProduct;
|
|
22
|
+
function createProductWithInventory(httpClient) {
|
|
23
|
+
return (product, options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.createProductWithInventory)(product, options,
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
{ httpClient });
|
|
26
|
+
}
|
|
27
|
+
exports.createProductWithInventory = createProductWithInventory;
|
|
28
|
+
function updateProduct(httpClient) {
|
|
29
|
+
return (_id, product, options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.updateProduct)(_id, product, options,
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
{ httpClient });
|
|
32
|
+
}
|
|
33
|
+
exports.updateProduct = updateProduct;
|
|
34
|
+
function updateProductWithInventory(httpClient) {
|
|
35
|
+
return (_id, product, options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.updateProductWithInventory)(_id, product, options,
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
{ httpClient });
|
|
38
|
+
}
|
|
39
|
+
exports.updateProductWithInventory = updateProductWithInventory;
|
|
40
|
+
function bulkCreateProducts(httpClient) {
|
|
41
|
+
return (products, options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.bulkCreateProducts)(products, options,
|
|
42
|
+
// @ts-ignore
|
|
43
|
+
{ httpClient });
|
|
44
|
+
}
|
|
45
|
+
exports.bulkCreateProducts = bulkCreateProducts;
|
|
46
|
+
function bulkCreateProductsWithInventory(httpClient) {
|
|
47
|
+
return (products, options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.bulkCreateProductsWithInventory)(products, options,
|
|
48
|
+
// @ts-ignore
|
|
49
|
+
{ httpClient });
|
|
50
|
+
}
|
|
51
|
+
exports.bulkCreateProductsWithInventory = bulkCreateProductsWithInventory;
|
|
52
|
+
function bulkUpdateProducts(httpClient) {
|
|
53
|
+
return (products, options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.bulkUpdateProducts)(products, options,
|
|
54
|
+
// @ts-ignore
|
|
55
|
+
{ httpClient });
|
|
56
|
+
}
|
|
57
|
+
exports.bulkUpdateProducts = bulkUpdateProducts;
|
|
58
|
+
function bulkUpdateProductsWithInventory(httpClient) {
|
|
59
|
+
return (products, options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.bulkUpdateProductsWithInventory)(products, options,
|
|
60
|
+
// @ts-ignore
|
|
61
|
+
{ httpClient });
|
|
62
|
+
}
|
|
63
|
+
exports.bulkUpdateProductsWithInventory = bulkUpdateProductsWithInventory;
|
|
64
|
+
function bulkUpdateProductsByFilter(httpClient) {
|
|
65
|
+
return (options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.bulkUpdateProductsByFilter)(options,
|
|
66
|
+
// @ts-ignore
|
|
67
|
+
{ httpClient });
|
|
68
|
+
}
|
|
69
|
+
exports.bulkUpdateProductsByFilter = bulkUpdateProductsByFilter;
|
|
70
|
+
function updateExtendedFields(httpClient) {
|
|
71
|
+
return (productId, namespace, options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.updateExtendedFields)(productId, namespace, options,
|
|
72
|
+
// @ts-ignore
|
|
73
|
+
{ httpClient });
|
|
74
|
+
}
|
|
75
|
+
exports.updateExtendedFields = updateExtendedFields;
|
|
76
|
+
function deleteProduct(httpClient) {
|
|
77
|
+
return (productId) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.deleteProduct)(productId,
|
|
78
|
+
// @ts-ignore
|
|
79
|
+
{ httpClient });
|
|
80
|
+
}
|
|
81
|
+
exports.deleteProduct = deleteProduct;
|
|
82
|
+
function bulkDeleteProducts(httpClient) {
|
|
83
|
+
return (productIds) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.bulkDeleteProducts)(productIds,
|
|
84
|
+
// @ts-ignore
|
|
85
|
+
{ httpClient });
|
|
86
|
+
}
|
|
87
|
+
exports.bulkDeleteProducts = bulkDeleteProducts;
|
|
88
|
+
function bulkDeleteProductsByFilter(httpClient) {
|
|
89
|
+
return (filter, options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.bulkDeleteProductsByFilter)(filter, options,
|
|
90
|
+
// @ts-ignore
|
|
91
|
+
{ httpClient });
|
|
92
|
+
}
|
|
93
|
+
exports.bulkDeleteProductsByFilter = bulkDeleteProductsByFilter;
|
|
94
|
+
function getProduct(httpClient) {
|
|
95
|
+
return (productId, options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.getProduct)(productId, options,
|
|
96
|
+
// @ts-ignore
|
|
97
|
+
{ httpClient });
|
|
98
|
+
}
|
|
99
|
+
exports.getProduct = getProduct;
|
|
100
|
+
function getProductBySlug(httpClient) {
|
|
101
|
+
return (slug, options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.getProductBySlug)(slug, options,
|
|
102
|
+
// @ts-ignore
|
|
103
|
+
{ httpClient });
|
|
104
|
+
}
|
|
105
|
+
exports.getProductBySlug = getProductBySlug;
|
|
106
|
+
function searchProducts(httpClient) {
|
|
107
|
+
return (options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.searchProducts)(options,
|
|
108
|
+
// @ts-ignore
|
|
109
|
+
{ httpClient });
|
|
110
|
+
}
|
|
111
|
+
exports.searchProducts = searchProducts;
|
|
112
|
+
function queryProducts(httpClient) {
|
|
113
|
+
return (options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.queryProducts)(options,
|
|
114
|
+
// @ts-ignore
|
|
115
|
+
{ httpClient });
|
|
116
|
+
}
|
|
117
|
+
exports.queryProducts = queryProducts;
|
|
118
|
+
function countProducts(httpClient) {
|
|
119
|
+
return (options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.countProducts)(options,
|
|
120
|
+
// @ts-ignore
|
|
121
|
+
{ httpClient });
|
|
122
|
+
}
|
|
123
|
+
exports.countProducts = countProducts;
|
|
124
|
+
function bulkUpdateProductVariantsByFilter(httpClient) {
|
|
125
|
+
return (filter, options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.bulkUpdateProductVariantsByFilter)(filter, options,
|
|
126
|
+
// @ts-ignore
|
|
127
|
+
{ httpClient });
|
|
128
|
+
}
|
|
129
|
+
exports.bulkUpdateProductVariantsByFilter = bulkUpdateProductVariantsByFilter;
|
|
130
|
+
function bulkAdjustProductVariantsByFilter(httpClient) {
|
|
131
|
+
return (filter, options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.bulkAdjustProductVariantsByFilter)(filter, options,
|
|
132
|
+
// @ts-ignore
|
|
133
|
+
{ httpClient });
|
|
134
|
+
}
|
|
135
|
+
exports.bulkAdjustProductVariantsByFilter = bulkAdjustProductVariantsByFilter;
|
|
136
|
+
function bulkAddInfoSectionsToProductsByFilter(httpClient) {
|
|
137
|
+
return (filter, options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.bulkAddInfoSectionsToProductsByFilter)(filter, options,
|
|
138
|
+
// @ts-ignore
|
|
139
|
+
{ httpClient });
|
|
140
|
+
}
|
|
141
|
+
exports.bulkAddInfoSectionsToProductsByFilter = bulkAddInfoSectionsToProductsByFilter;
|
|
142
|
+
function bulkAddInfoSectionsToProducts(httpClient) {
|
|
143
|
+
return (products, options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.bulkAddInfoSectionsToProducts)(products, options,
|
|
144
|
+
// @ts-ignore
|
|
145
|
+
{ httpClient });
|
|
146
|
+
}
|
|
147
|
+
exports.bulkAddInfoSectionsToProducts = bulkAddInfoSectionsToProducts;
|
|
148
|
+
function bulkRemoveInfoSectionsFromProductsByFilter(httpClient) {
|
|
149
|
+
return (filter, options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.bulkRemoveInfoSectionsFromProductsByFilter)(filter, options,
|
|
150
|
+
// @ts-ignore
|
|
151
|
+
{ httpClient });
|
|
152
|
+
}
|
|
153
|
+
exports.bulkRemoveInfoSectionsFromProductsByFilter = bulkRemoveInfoSectionsFromProductsByFilter;
|
|
154
|
+
function bulkRemoveInfoSectionsFromProducts(httpClient) {
|
|
155
|
+
return (products, options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.bulkRemoveInfoSectionsFromProducts)(products, options,
|
|
156
|
+
// @ts-ignore
|
|
157
|
+
{ httpClient });
|
|
158
|
+
}
|
|
159
|
+
exports.bulkRemoveInfoSectionsFromProducts = bulkRemoveInfoSectionsFromProducts;
|
|
160
|
+
function bulkAddProductsToCategoriesByFilter(httpClient) {
|
|
161
|
+
return (options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.bulkAddProductsToCategoriesByFilter)(options,
|
|
162
|
+
// @ts-ignore
|
|
163
|
+
{ httpClient });
|
|
164
|
+
}
|
|
165
|
+
exports.bulkAddProductsToCategoriesByFilter = bulkAddProductsToCategoriesByFilter;
|
|
166
|
+
function bulkRemoveProductsFromCategoriesByFilter(httpClient) {
|
|
167
|
+
return (options) => (0, stores_catalog_v3_product_products_v_3_universal_js_1.bulkRemoveProductsFromCategoriesByFilter)(options,
|
|
168
|
+
// @ts-ignore
|
|
169
|
+
{ httpClient });
|
|
170
|
+
}
|
|
171
|
+
exports.bulkRemoveProductsFromCategoriesByFilter = bulkRemoveProductsFromCategoriesByFilter;
|
|
172
|
+
exports.onProductCreated = (0, sdk_types_1.EventDefinition)('wix.stores.catalog.v3.product_created', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
|
|
173
|
+
{
|
|
174
|
+
transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
|
|
175
|
+
paths: [
|
|
176
|
+
{ path: 'entity.createdDate' },
|
|
177
|
+
{ path: 'entity.updatedDate' },
|
|
178
|
+
{ path: 'entity.description.metadata.createdTimestamp' },
|
|
179
|
+
{ path: 'entity.description.metadata.updatedTimestamp' },
|
|
180
|
+
{
|
|
181
|
+
path: 'entity.infoSections.description.metadata.createdTimestamp',
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
path: 'entity.infoSections.description.metadata.updatedTimestamp',
|
|
185
|
+
},
|
|
186
|
+
{ path: 'metadata.eventTime' },
|
|
187
|
+
],
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
transformFn: page_url_v2_1.transformRESTPageURLV2ToSDKPageURLV2,
|
|
191
|
+
paths: [{ path: 'entity.url' }],
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
transformFn: float_1.transformRESTFloatToSDKFloat,
|
|
195
|
+
paths: [
|
|
196
|
+
{ path: 'entity.physicalProperties.pricePerUnit.quantity' },
|
|
197
|
+
{ path: 'entity.physicalProperties.shippingWeightRange.minValue' },
|
|
198
|
+
{ path: 'entity.physicalProperties.shippingWeightRange.maxValue' },
|
|
199
|
+
{
|
|
200
|
+
path: 'entity.variantsInfo.variants.physicalProperties.pricePerUnit.settings.quantity',
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
path: 'entity.variantsInfo.variants.revenueDetails.profitMargin',
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
path: 'entity.subscriptionDetails.subscriptions.discount.percentOff',
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
path: 'entity.minVariantPriceInfo.pricePerUnitData.settings.quantity',
|
|
210
|
+
},
|
|
211
|
+
{ path: 'entity.minVariantPriceInfo.revenueDetails.profitMargin' },
|
|
212
|
+
{
|
|
213
|
+
path: 'entity.description.nodes.galleryData.items.image.media.duration',
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
path: 'entity.description.nodes.galleryData.items.video.media.duration',
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
path: 'entity.description.nodes.galleryData.items.video.thumbnail.duration',
|
|
220
|
+
},
|
|
221
|
+
{ path: 'entity.description.nodes.galleryData.options.item.ratio' },
|
|
222
|
+
{ path: 'entity.description.nodes.imageData.image.duration' },
|
|
223
|
+
{ path: 'entity.description.nodes.mapData.mapSettings.lat' },
|
|
224
|
+
{ path: 'entity.description.nodes.mapData.mapSettings.lng' },
|
|
225
|
+
{ path: 'entity.description.nodes.pollData.poll.image.duration' },
|
|
226
|
+
{
|
|
227
|
+
path: 'entity.description.nodes.pollData.poll.options.image.duration',
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
path: 'entity.description.nodes.pollData.design.poll.background.image.duration',
|
|
231
|
+
},
|
|
232
|
+
{ path: 'entity.description.nodes.appEmbedData.image.duration' },
|
|
233
|
+
{ path: 'entity.description.nodes.videoData.video.duration' },
|
|
234
|
+
{ path: 'entity.description.nodes.videoData.thumbnail.duration' },
|
|
235
|
+
{ path: 'entity.description.nodes.audioData.audio.duration' },
|
|
236
|
+
{ path: 'entity.description.nodes.audioData.coverImage.duration' },
|
|
237
|
+
{
|
|
238
|
+
path: 'entity.infoSections.description.nodes.galleryData.items.image.media.duration',
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
path: 'entity.infoSections.description.nodes.galleryData.items.video.media.duration',
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
path: 'entity.infoSections.description.nodes.galleryData.items.video.thumbnail.duration',
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
path: 'entity.infoSections.description.nodes.galleryData.options.item.ratio',
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
path: 'entity.infoSections.description.nodes.imageData.image.duration',
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
path: 'entity.infoSections.description.nodes.mapData.mapSettings.lat',
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
path: 'entity.infoSections.description.nodes.mapData.mapSettings.lng',
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
path: 'entity.infoSections.description.nodes.pollData.poll.image.duration',
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
path: 'entity.infoSections.description.nodes.pollData.poll.options.image.duration',
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
path: 'entity.infoSections.description.nodes.pollData.design.poll.background.image.duration',
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
path: 'entity.infoSections.description.nodes.appEmbedData.image.duration',
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
path: 'entity.infoSections.description.nodes.videoData.video.duration',
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
path: 'entity.infoSections.description.nodes.videoData.thumbnail.duration',
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
path: 'entity.infoSections.description.nodes.audioData.audio.duration',
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
path: 'entity.infoSections.description.nodes.audioData.coverImage.duration',
|
|
281
|
+
},
|
|
282
|
+
{ path: 'entity.variantsInfo.variants.physicalProperties.weight' },
|
|
283
|
+
{ path: 'entity.minVariantPriceInfo.weight' },
|
|
284
|
+
],
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
transformFn: image_1.transformRESTImageToSDKImage,
|
|
288
|
+
paths: [
|
|
289
|
+
{ path: 'entity.media.main.image' },
|
|
290
|
+
{ path: 'entity.media.itemsInfo.items.image' },
|
|
291
|
+
{ path: 'entity.options.choicesSettings.choices.image' },
|
|
292
|
+
{
|
|
293
|
+
path: 'entity.options.choicesSettings.choices.linkedMedia.image',
|
|
294
|
+
},
|
|
295
|
+
{ path: 'entity.modifiers.choicesSettings.choices.image' },
|
|
296
|
+
{
|
|
297
|
+
path: 'entity.modifiers.choicesSettings.choices.linkedMedia.image',
|
|
298
|
+
},
|
|
299
|
+
{ path: 'entity.variantsInfo.variants.media.image' },
|
|
300
|
+
],
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
transformFn: video_v2_1.transformRESTVideoV2ToSDKVideoV2,
|
|
304
|
+
paths: [
|
|
305
|
+
{ path: 'entity.media.main.video' },
|
|
306
|
+
{ path: 'entity.media.itemsInfo.items.video' },
|
|
307
|
+
{
|
|
308
|
+
path: 'entity.options.choicesSettings.choices.linkedMedia.video',
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
path: 'entity.modifiers.choicesSettings.choices.linkedMedia.video',
|
|
312
|
+
},
|
|
313
|
+
{ path: 'entity.variantsInfo.variants.media.video' },
|
|
314
|
+
],
|
|
315
|
+
},
|
|
316
|
+
])))();
|
|
317
|
+
exports.onProductDeleted = (0, sdk_types_1.EventDefinition)('wix.stores.catalog.v3.product_deleted', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
|
|
318
|
+
{
|
|
319
|
+
transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
|
|
320
|
+
paths: [
|
|
321
|
+
{ path: 'entity.createdDate' },
|
|
322
|
+
{ path: 'entity.updatedDate' },
|
|
323
|
+
{ path: 'entity.description.metadata.createdTimestamp' },
|
|
324
|
+
{ path: 'entity.description.metadata.updatedTimestamp' },
|
|
325
|
+
{
|
|
326
|
+
path: 'entity.infoSections.description.metadata.createdTimestamp',
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
path: 'entity.infoSections.description.metadata.updatedTimestamp',
|
|
330
|
+
},
|
|
331
|
+
{ path: 'metadata.eventTime' },
|
|
332
|
+
],
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
transformFn: page_url_v2_1.transformRESTPageURLV2ToSDKPageURLV2,
|
|
336
|
+
paths: [{ path: 'entity.url' }],
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
transformFn: float_1.transformRESTFloatToSDKFloat,
|
|
340
|
+
paths: [
|
|
341
|
+
{ path: 'entity.physicalProperties.pricePerUnit.quantity' },
|
|
342
|
+
{ path: 'entity.physicalProperties.shippingWeightRange.minValue' },
|
|
343
|
+
{ path: 'entity.physicalProperties.shippingWeightRange.maxValue' },
|
|
344
|
+
{
|
|
345
|
+
path: 'entity.variantsInfo.variants.physicalProperties.pricePerUnit.settings.quantity',
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
path: 'entity.variantsInfo.variants.revenueDetails.profitMargin',
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
path: 'entity.subscriptionDetails.subscriptions.discount.percentOff',
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
path: 'entity.minVariantPriceInfo.pricePerUnitData.settings.quantity',
|
|
355
|
+
},
|
|
356
|
+
{ path: 'entity.minVariantPriceInfo.revenueDetails.profitMargin' },
|
|
357
|
+
{
|
|
358
|
+
path: 'entity.description.nodes.galleryData.items.image.media.duration',
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
path: 'entity.description.nodes.galleryData.items.video.media.duration',
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
path: 'entity.description.nodes.galleryData.items.video.thumbnail.duration',
|
|
365
|
+
},
|
|
366
|
+
{ path: 'entity.description.nodes.galleryData.options.item.ratio' },
|
|
367
|
+
{ path: 'entity.description.nodes.imageData.image.duration' },
|
|
368
|
+
{ path: 'entity.description.nodes.mapData.mapSettings.lat' },
|
|
369
|
+
{ path: 'entity.description.nodes.mapData.mapSettings.lng' },
|
|
370
|
+
{ path: 'entity.description.nodes.pollData.poll.image.duration' },
|
|
371
|
+
{
|
|
372
|
+
path: 'entity.description.nodes.pollData.poll.options.image.duration',
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
path: 'entity.description.nodes.pollData.design.poll.background.image.duration',
|
|
376
|
+
},
|
|
377
|
+
{ path: 'entity.description.nodes.appEmbedData.image.duration' },
|
|
378
|
+
{ path: 'entity.description.nodes.videoData.video.duration' },
|
|
379
|
+
{ path: 'entity.description.nodes.videoData.thumbnail.duration' },
|
|
380
|
+
{ path: 'entity.description.nodes.audioData.audio.duration' },
|
|
381
|
+
{ path: 'entity.description.nodes.audioData.coverImage.duration' },
|
|
382
|
+
{
|
|
383
|
+
path: 'entity.infoSections.description.nodes.galleryData.items.image.media.duration',
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
path: 'entity.infoSections.description.nodes.galleryData.items.video.media.duration',
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
path: 'entity.infoSections.description.nodes.galleryData.items.video.thumbnail.duration',
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
path: 'entity.infoSections.description.nodes.galleryData.options.item.ratio',
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
path: 'entity.infoSections.description.nodes.imageData.image.duration',
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
path: 'entity.infoSections.description.nodes.mapData.mapSettings.lat',
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
path: 'entity.infoSections.description.nodes.mapData.mapSettings.lng',
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
path: 'entity.infoSections.description.nodes.pollData.poll.image.duration',
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
path: 'entity.infoSections.description.nodes.pollData.poll.options.image.duration',
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
path: 'entity.infoSections.description.nodes.pollData.design.poll.background.image.duration',
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
path: 'entity.infoSections.description.nodes.appEmbedData.image.duration',
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
path: 'entity.infoSections.description.nodes.videoData.video.duration',
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
path: 'entity.infoSections.description.nodes.videoData.thumbnail.duration',
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
path: 'entity.infoSections.description.nodes.audioData.audio.duration',
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
path: 'entity.infoSections.description.nodes.audioData.coverImage.duration',
|
|
426
|
+
},
|
|
427
|
+
{ path: 'entity.variantsInfo.variants.physicalProperties.weight' },
|
|
428
|
+
{ path: 'entity.minVariantPriceInfo.weight' },
|
|
429
|
+
],
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
transformFn: image_1.transformRESTImageToSDKImage,
|
|
433
|
+
paths: [
|
|
434
|
+
{ path: 'entity.media.main.image' },
|
|
435
|
+
{ path: 'entity.media.itemsInfo.items.image' },
|
|
436
|
+
{ path: 'entity.options.choicesSettings.choices.image' },
|
|
437
|
+
{
|
|
438
|
+
path: 'entity.options.choicesSettings.choices.linkedMedia.image',
|
|
439
|
+
},
|
|
440
|
+
{ path: 'entity.modifiers.choicesSettings.choices.image' },
|
|
441
|
+
{
|
|
442
|
+
path: 'entity.modifiers.choicesSettings.choices.linkedMedia.image',
|
|
443
|
+
},
|
|
444
|
+
{ path: 'entity.variantsInfo.variants.media.image' },
|
|
445
|
+
],
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
transformFn: video_v2_1.transformRESTVideoV2ToSDKVideoV2,
|
|
449
|
+
paths: [
|
|
450
|
+
{ path: 'entity.media.main.video' },
|
|
451
|
+
{ path: 'entity.media.itemsInfo.items.video' },
|
|
452
|
+
{
|
|
453
|
+
path: 'entity.options.choicesSettings.choices.linkedMedia.video',
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
path: 'entity.modifiers.choicesSettings.choices.linkedMedia.video',
|
|
457
|
+
},
|
|
458
|
+
{ path: 'entity.variantsInfo.variants.media.video' },
|
|
459
|
+
],
|
|
460
|
+
},
|
|
461
|
+
])))();
|
|
462
|
+
exports.onProductUpdated = (0, sdk_types_1.EventDefinition)('wix.stores.catalog.v3.product_updated', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
|
|
463
|
+
{
|
|
464
|
+
transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
|
|
465
|
+
paths: [
|
|
466
|
+
{ path: 'entity.createdDate' },
|
|
467
|
+
{ path: 'entity.updatedDate' },
|
|
468
|
+
{ path: 'entity.description.metadata.createdTimestamp' },
|
|
469
|
+
{ path: 'entity.description.metadata.updatedTimestamp' },
|
|
470
|
+
{
|
|
471
|
+
path: 'entity.infoSections.description.metadata.createdTimestamp',
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
path: 'entity.infoSections.description.metadata.updatedTimestamp',
|
|
475
|
+
},
|
|
476
|
+
{ path: 'metadata.eventTime' },
|
|
477
|
+
],
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
transformFn: page_url_v2_1.transformRESTPageURLV2ToSDKPageURLV2,
|
|
481
|
+
paths: [{ path: 'entity.url' }],
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
transformFn: float_1.transformRESTFloatToSDKFloat,
|
|
485
|
+
paths: [
|
|
486
|
+
{ path: 'entity.physicalProperties.pricePerUnit.quantity' },
|
|
487
|
+
{ path: 'entity.physicalProperties.shippingWeightRange.minValue' },
|
|
488
|
+
{ path: 'entity.physicalProperties.shippingWeightRange.maxValue' },
|
|
489
|
+
{
|
|
490
|
+
path: 'entity.variantsInfo.variants.physicalProperties.pricePerUnit.settings.quantity',
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
path: 'entity.variantsInfo.variants.revenueDetails.profitMargin',
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
path: 'entity.subscriptionDetails.subscriptions.discount.percentOff',
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
path: 'entity.minVariantPriceInfo.pricePerUnitData.settings.quantity',
|
|
500
|
+
},
|
|
501
|
+
{ path: 'entity.minVariantPriceInfo.revenueDetails.profitMargin' },
|
|
502
|
+
{
|
|
503
|
+
path: 'entity.description.nodes.galleryData.items.image.media.duration',
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
path: 'entity.description.nodes.galleryData.items.video.media.duration',
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
path: 'entity.description.nodes.galleryData.items.video.thumbnail.duration',
|
|
510
|
+
},
|
|
511
|
+
{ path: 'entity.description.nodes.galleryData.options.item.ratio' },
|
|
512
|
+
{ path: 'entity.description.nodes.imageData.image.duration' },
|
|
513
|
+
{ path: 'entity.description.nodes.mapData.mapSettings.lat' },
|
|
514
|
+
{ path: 'entity.description.nodes.mapData.mapSettings.lng' },
|
|
515
|
+
{ path: 'entity.description.nodes.pollData.poll.image.duration' },
|
|
516
|
+
{
|
|
517
|
+
path: 'entity.description.nodes.pollData.poll.options.image.duration',
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
path: 'entity.description.nodes.pollData.design.poll.background.image.duration',
|
|
521
|
+
},
|
|
522
|
+
{ path: 'entity.description.nodes.appEmbedData.image.duration' },
|
|
523
|
+
{ path: 'entity.description.nodes.videoData.video.duration' },
|
|
524
|
+
{ path: 'entity.description.nodes.videoData.thumbnail.duration' },
|
|
525
|
+
{ path: 'entity.description.nodes.audioData.audio.duration' },
|
|
526
|
+
{ path: 'entity.description.nodes.audioData.coverImage.duration' },
|
|
527
|
+
{
|
|
528
|
+
path: 'entity.infoSections.description.nodes.galleryData.items.image.media.duration',
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
path: 'entity.infoSections.description.nodes.galleryData.items.video.media.duration',
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
path: 'entity.infoSections.description.nodes.galleryData.items.video.thumbnail.duration',
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
path: 'entity.infoSections.description.nodes.galleryData.options.item.ratio',
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
path: 'entity.infoSections.description.nodes.imageData.image.duration',
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
path: 'entity.infoSections.description.nodes.mapData.mapSettings.lat',
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
path: 'entity.infoSections.description.nodes.mapData.mapSettings.lng',
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
path: 'entity.infoSections.description.nodes.pollData.poll.image.duration',
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
path: 'entity.infoSections.description.nodes.pollData.poll.options.image.duration',
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
path: 'entity.infoSections.description.nodes.pollData.design.poll.background.image.duration',
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
path: 'entity.infoSections.description.nodes.appEmbedData.image.duration',
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
path: 'entity.infoSections.description.nodes.videoData.video.duration',
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
path: 'entity.infoSections.description.nodes.videoData.thumbnail.duration',
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
path: 'entity.infoSections.description.nodes.audioData.audio.duration',
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
path: 'entity.infoSections.description.nodes.audioData.coverImage.duration',
|
|
571
|
+
},
|
|
572
|
+
{ path: 'entity.variantsInfo.variants.physicalProperties.weight' },
|
|
573
|
+
{ path: 'entity.minVariantPriceInfo.weight' },
|
|
574
|
+
],
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
transformFn: image_1.transformRESTImageToSDKImage,
|
|
578
|
+
paths: [
|
|
579
|
+
{ path: 'entity.media.main.image' },
|
|
580
|
+
{ path: 'entity.media.itemsInfo.items.image' },
|
|
581
|
+
{ path: 'entity.options.choicesSettings.choices.image' },
|
|
582
|
+
{
|
|
583
|
+
path: 'entity.options.choicesSettings.choices.linkedMedia.image',
|
|
584
|
+
},
|
|
585
|
+
{ path: 'entity.modifiers.choicesSettings.choices.image' },
|
|
586
|
+
{
|
|
587
|
+
path: 'entity.modifiers.choicesSettings.choices.linkedMedia.image',
|
|
588
|
+
},
|
|
589
|
+
{ path: 'entity.variantsInfo.variants.media.image' },
|
|
590
|
+
],
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
transformFn: video_v2_1.transformRESTVideoV2ToSDKVideoV2,
|
|
594
|
+
paths: [
|
|
595
|
+
{ path: 'entity.media.main.video' },
|
|
596
|
+
{ path: 'entity.media.itemsInfo.items.video' },
|
|
597
|
+
{
|
|
598
|
+
path: 'entity.options.choicesSettings.choices.linkedMedia.video',
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
path: 'entity.modifiers.choicesSettings.choices.linkedMedia.video',
|
|
602
|
+
},
|
|
603
|
+
{ path: 'entity.variantsInfo.variants.media.video' },
|
|
604
|
+
],
|
|
605
|
+
},
|
|
606
|
+
])))();
|
|
607
|
+
var stores_catalog_v3_product_products_v_3_universal_js_2 = require("./stores-catalog-v3-product-products-v-3.universal.js");
|
|
608
|
+
Object.defineProperty(exports, "AggregationDateHistogramAggregationInterval", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.AggregationDateHistogramAggregationInterval; } });
|
|
609
|
+
Object.defineProperty(exports, "AggregationNestedAggregationNestedAggregationType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.AggregationNestedAggregationNestedAggregationType; } });
|
|
610
|
+
Object.defineProperty(exports, "AggregationType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.AggregationType; } });
|
|
611
|
+
Object.defineProperty(exports, "AggregationValueAggregationMissingValues", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.AggregationValueAggregationMissingValues; } });
|
|
612
|
+
Object.defineProperty(exports, "AggregationValueAggregationSortDirection", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.AggregationValueAggregationSortDirection; } });
|
|
613
|
+
Object.defineProperty(exports, "AggregationValueAggregationSortType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.AggregationValueAggregationSortType; } });
|
|
614
|
+
Object.defineProperty(exports, "Alignment", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.Alignment; } });
|
|
615
|
+
Object.defineProperty(exports, "AppType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.AppType; } });
|
|
616
|
+
Object.defineProperty(exports, "AvailabilityStatus", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.AvailabilityStatus; } });
|
|
617
|
+
Object.defineProperty(exports, "BackgroundType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.BackgroundType; } });
|
|
618
|
+
Object.defineProperty(exports, "BulkAdjustProductVariantsByFilterRequestRoundingStrategy", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.BulkAdjustProductVariantsByFilterRequestRoundingStrategy; } });
|
|
619
|
+
Object.defineProperty(exports, "ChoiceType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.ChoiceType; } });
|
|
620
|
+
Object.defineProperty(exports, "CommonAggregationType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.CommonAggregationType; } });
|
|
621
|
+
Object.defineProperty(exports, "CommonScalarType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.CommonScalarType; } });
|
|
622
|
+
Object.defineProperty(exports, "CommonSearchDetailsMode", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.CommonSearchDetailsMode; } });
|
|
623
|
+
Object.defineProperty(exports, "CommonSortOrder", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.CommonSortOrder; } });
|
|
624
|
+
Object.defineProperty(exports, "Crop", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.Crop; } });
|
|
625
|
+
Object.defineProperty(exports, "DateHistogramAggregationInterval", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.DateHistogramAggregationInterval; } });
|
|
626
|
+
Object.defineProperty(exports, "DecorationType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.DecorationType; } });
|
|
627
|
+
Object.defineProperty(exports, "Direction", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.Direction; } });
|
|
628
|
+
Object.defineProperty(exports, "DiscountType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.DiscountType; } });
|
|
629
|
+
Object.defineProperty(exports, "Enum", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.Enum; } });
|
|
630
|
+
Object.defineProperty(exports, "FileType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.FileType; } });
|
|
631
|
+
Object.defineProperty(exports, "FontType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.FontType; } });
|
|
632
|
+
Object.defineProperty(exports, "GIFType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.GIFType; } });
|
|
633
|
+
Object.defineProperty(exports, "InitialExpandedItems", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.InitialExpandedItems; } });
|
|
634
|
+
Object.defineProperty(exports, "Interval", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.Interval; } });
|
|
635
|
+
Object.defineProperty(exports, "InventoryAvailabilityStatus", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.InventoryAvailabilityStatus; } });
|
|
636
|
+
Object.defineProperty(exports, "LayoutType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.LayoutType; } });
|
|
637
|
+
Object.defineProperty(exports, "LineStyle", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.LineStyle; } });
|
|
638
|
+
Object.defineProperty(exports, "MapType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.MapType; } });
|
|
639
|
+
Object.defineProperty(exports, "MeasurementUnit", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.MeasurementUnit; } });
|
|
640
|
+
Object.defineProperty(exports, "MediaType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.MediaType; } });
|
|
641
|
+
Object.defineProperty(exports, "MissingValues", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.MissingValues; } });
|
|
642
|
+
Object.defineProperty(exports, "Mode", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.Mode; } });
|
|
643
|
+
Object.defineProperty(exports, "ModifierRenderType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.ModifierRenderType; } });
|
|
644
|
+
Object.defineProperty(exports, "NestedAggregationNestedAggregationType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.NestedAggregationNestedAggregationType; } });
|
|
645
|
+
Object.defineProperty(exports, "NestedAggregationType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.NestedAggregationType; } });
|
|
646
|
+
Object.defineProperty(exports, "NodeType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.NodeType; } });
|
|
647
|
+
Object.defineProperty(exports, "NullValue", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.NullValue; } });
|
|
648
|
+
Object.defineProperty(exports, "Orientation", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.Orientation; } });
|
|
649
|
+
Object.defineProperty(exports, "PluginContainerDataAlignment", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.PluginContainerDataAlignment; } });
|
|
650
|
+
Object.defineProperty(exports, "PollLayoutDirection", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.PollLayoutDirection; } });
|
|
651
|
+
Object.defineProperty(exports, "PollLayoutType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.PollLayoutType; } });
|
|
652
|
+
Object.defineProperty(exports, "PreorderStatus", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.PreorderStatus; } });
|
|
653
|
+
Object.defineProperty(exports, "ProductMediaMediaType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.ProductMediaMediaType; } });
|
|
654
|
+
Object.defineProperty(exports, "ProductOptionRenderType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.ProductOptionRenderType; } });
|
|
655
|
+
Object.defineProperty(exports, "ProductPreorderAvailability", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.ProductPreorderAvailability; } });
|
|
656
|
+
Object.defineProperty(exports, "ProductType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.ProductType; } });
|
|
657
|
+
Object.defineProperty(exports, "RequestedFields", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.RequestedFields; } });
|
|
658
|
+
Object.defineProperty(exports, "RoundingStrategy", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.RoundingStrategy; } });
|
|
659
|
+
Object.defineProperty(exports, "ScalarType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.ScalarType; } });
|
|
660
|
+
Object.defineProperty(exports, "SearchDetailsMode", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.SearchDetailsMode; } });
|
|
661
|
+
Object.defineProperty(exports, "SecuredMediaFileType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.SecuredMediaFileType; } });
|
|
662
|
+
Object.defineProperty(exports, "SingleEntityOpsRequestedFields", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.SingleEntityOpsRequestedFields; } });
|
|
663
|
+
Object.defineProperty(exports, "SortDirection", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.SortDirection; } });
|
|
664
|
+
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.SortOrder; } });
|
|
665
|
+
Object.defineProperty(exports, "SortType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.SortType; } });
|
|
666
|
+
Object.defineProperty(exports, "Source", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.Source; } });
|
|
667
|
+
Object.defineProperty(exports, "State", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.State; } });
|
|
668
|
+
Object.defineProperty(exports, "SubscriptionFrequency", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.SubscriptionFrequency; } });
|
|
669
|
+
Object.defineProperty(exports, "Target", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.Target; } });
|
|
670
|
+
Object.defineProperty(exports, "TextAlignment", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.TextAlignment; } });
|
|
671
|
+
Object.defineProperty(exports, "ThumbnailsAlignment", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.ThumbnailsAlignment; } });
|
|
672
|
+
Object.defineProperty(exports, "Type", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.Type; } });
|
|
673
|
+
Object.defineProperty(exports, "UpstreamWixCommonSortOrder", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.UpstreamWixCommonSortOrder; } });
|
|
674
|
+
Object.defineProperty(exports, "V3ProductType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.V3ProductType; } });
|
|
675
|
+
Object.defineProperty(exports, "ValueAggregationMissingValues", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.ValueAggregationMissingValues; } });
|
|
676
|
+
Object.defineProperty(exports, "ValueAggregationSortDirection", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.ValueAggregationSortDirection; } });
|
|
677
|
+
Object.defineProperty(exports, "ValueAggregationSortType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.ValueAggregationSortType; } });
|
|
678
|
+
Object.defineProperty(exports, "VariantsOpsRequestedFields", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.VariantsOpsRequestedFields; } });
|
|
679
|
+
Object.defineProperty(exports, "VerticalAlignment", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.VerticalAlignment; } });
|
|
680
|
+
Object.defineProperty(exports, "ViewMode", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.ViewMode; } });
|
|
681
|
+
Object.defineProperty(exports, "ViewRole", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.ViewRole; } });
|
|
682
|
+
Object.defineProperty(exports, "VoteRole", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.VoteRole; } });
|
|
683
|
+
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.WebhookIdentityType; } });
|
|
684
|
+
Object.defineProperty(exports, "WeightUnit", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.WeightUnit; } });
|
|
685
|
+
Object.defineProperty(exports, "Width", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.Width; } });
|
|
686
|
+
Object.defineProperty(exports, "WidthType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.WidthType; } });
|
|
687
|
+
Object.defineProperty(exports, "WixCommonAggregationType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.WixCommonAggregationType; } });
|
|
688
|
+
Object.defineProperty(exports, "WixCommonScalarType", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.WixCommonScalarType; } });
|
|
689
|
+
Object.defineProperty(exports, "WixCommonSortOrder", { enumerable: true, get: function () { return stores_catalog_v3_product_products_v_3_universal_js_2.WixCommonSortOrder; } });
|
|
690
|
+
//# sourceMappingURL=stores-catalog-v3-product-products-v-3.public.js.map
|