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