@wix/auto_sdk_blog_posts 1.0.188 → 1.0.190

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.
@@ -26,6 +26,605 @@ import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transform
26
26
  import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
27
27
  import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
28
28
  import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
29
+ var TRANSFORM_PATHS_0 = [{ path: "rangeStart" }, { path: "rangeEnd" }];
30
+ var TRANSFORM_PATHS_1 = [{ path: "stats.periodStart" }];
31
+ var TRANSFORM_PATHS_2 = [
32
+ { path: "post.firstPublishedDate" },
33
+ { path: "post.lastPublishedDate" },
34
+ { path: "post.heroImage.urlExpirationDate" },
35
+ { path: "post.richContent.metadata.createdTimestamp" },
36
+ { path: "post.richContent.metadata.updatedTimestamp" },
37
+ { path: "post.moderationDetails.submittedDate" },
38
+ { path: "post.moderationDetails.moderationDate" },
39
+ { path: "post.media.wixMedia.image.urlExpirationDate" },
40
+ { path: "post.media.wixMedia.videoV2.urlExpirationDate" },
41
+ { path: "post.media.wixMedia.videoV2.resolutions.urlExpirationDate" },
42
+ { path: "post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate" },
43
+ { path: "post.media.wixMedia.videoV2.posters.urlExpirationDate" }
44
+ ];
45
+ var TRANSFORM_PATHS_3 = [{ path: "post.richContentCompressed" }];
46
+ var TRANSFORM_PATHS_4 = [
47
+ { path: "post.heroImage.focalPoint.x" },
48
+ { path: "post.heroImage.focalPoint.y" },
49
+ { path: "post.media.wixMedia.image.focalPoint.x" },
50
+ { path: "post.media.wixMedia.image.focalPoint.y" },
51
+ { path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.x" },
52
+ { path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.y" },
53
+ { path: "post.media.wixMedia.videoV2.posters.focalPoint.x" },
54
+ { path: "post.media.wixMedia.videoV2.posters.focalPoint.y" },
55
+ { path: "post.metrics.averageRating" },
56
+ {
57
+ path: "post.richContent.nodes.buttonData.styles.background.gradient.centerX"
58
+ },
59
+ {
60
+ path: "post.richContent.nodes.buttonData.styles.background.gradient.centerY"
61
+ },
62
+ {
63
+ path: "post.richContent.nodes.buttonData.styles.background.gradient.stops.position"
64
+ },
65
+ {
66
+ path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
67
+ },
68
+ {
69
+ path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
70
+ },
71
+ {
72
+ path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
73
+ },
74
+ { path: "post.richContent.nodes.galleryData.items.image.media.duration" },
75
+ { path: "post.richContent.nodes.galleryData.items.video.media.duration" },
76
+ { path: "post.richContent.nodes.galleryData.items.video.thumbnail.duration" },
77
+ { path: "post.richContent.nodes.galleryData.options.item.ratio" },
78
+ { path: "post.richContent.nodes.imageData.image.duration" },
79
+ { path: "post.richContent.nodes.imageData.crop.x" },
80
+ { path: "post.richContent.nodes.imageData.crop.y" },
81
+ { path: "post.richContent.nodes.imageData.crop.width" },
82
+ { path: "post.richContent.nodes.imageData.crop.height" },
83
+ { path: "post.richContent.nodes.mapData.mapSettings.lat" },
84
+ { path: "post.richContent.nodes.mapData.mapSettings.lng" },
85
+ { path: "post.richContent.nodes.pollData.poll.image.duration" },
86
+ { path: "post.richContent.nodes.pollData.poll.options.image.duration" },
87
+ {
88
+ path: "post.richContent.nodes.pollData.design.poll.background.image.duration"
89
+ },
90
+ {
91
+ path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
92
+ },
93
+ {
94
+ path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
95
+ },
96
+ {
97
+ path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
98
+ },
99
+ {
100
+ path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
101
+ },
102
+ {
103
+ path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
104
+ },
105
+ {
106
+ path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
107
+ },
108
+ { path: "post.richContent.nodes.appEmbedData.image.duration" },
109
+ { path: "post.richContent.nodes.videoData.video.duration" },
110
+ { path: "post.richContent.nodes.videoData.thumbnail.duration" },
111
+ { path: "post.richContent.nodes.audioData.audio.duration" },
112
+ { path: "post.richContent.nodes.audioData.coverImage.duration" },
113
+ { path: "post.richContent.nodes.layoutData.backgroundImage.media.duration" },
114
+ {
115
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
116
+ },
117
+ {
118
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
119
+ },
120
+ {
121
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
122
+ },
123
+ { path: "post.richContent.nodes.layoutData.backdropImage.media.duration" },
124
+ {
125
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
126
+ },
127
+ {
128
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
129
+ },
130
+ {
131
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
132
+ },
133
+ { path: "post.richContent.nodes.layoutData.background.gradient.centerX" },
134
+ { path: "post.richContent.nodes.layoutData.background.gradient.centerY" },
135
+ {
136
+ path: "post.richContent.nodes.layoutData.background.gradient.stops.position"
137
+ },
138
+ { path: "post.richContent.nodes.layoutData.backdrop.gradient.centerX" },
139
+ { path: "post.richContent.nodes.layoutData.backdrop.gradient.centerY" },
140
+ {
141
+ path: "post.richContent.nodes.layoutData.backdrop.gradient.stops.position"
142
+ },
143
+ { path: "post.richContent.nodes.shapeData.shape.duration" },
144
+ { path: "post.richContent.nodes.cardData.background.gradient.centerX" },
145
+ { path: "post.richContent.nodes.cardData.background.gradient.centerY" },
146
+ {
147
+ path: "post.richContent.nodes.cardData.background.gradient.stops.position"
148
+ },
149
+ { path: "post.richContent.nodes.cardData.backgroundImage.media.duration" },
150
+ {
151
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
152
+ },
153
+ {
154
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
155
+ },
156
+ {
157
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
158
+ },
159
+ { path: "post.richContent.nodes.tocData.fontSize" },
160
+ { path: "post.richContent.nodes.tocData.itemSpacing" },
161
+ { path: "post.richContent.nodes.smartBlockCellData.shape.duration" },
162
+ {
163
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
164
+ },
165
+ {
166
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
167
+ },
168
+ {
169
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
170
+ },
171
+ {
172
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
173
+ },
174
+ {
175
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
176
+ },
177
+ {
178
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
179
+ },
180
+ {
181
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
182
+ },
183
+ {
184
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
185
+ },
186
+ {
187
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
188
+ },
189
+ {
190
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
191
+ },
192
+ {
193
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
194
+ },
195
+ {
196
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
197
+ },
198
+ {
199
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
200
+ },
201
+ {
202
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
203
+ },
204
+ {
205
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
206
+ },
207
+ {
208
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
209
+ },
210
+ {
211
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
212
+ },
213
+ {
214
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
215
+ },
216
+ {
217
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
218
+ },
219
+ {
220
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
221
+ },
222
+ {
223
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
224
+ },
225
+ {
226
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
227
+ },
228
+ {
229
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
230
+ },
231
+ {
232
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
233
+ },
234
+ {
235
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
236
+ },
237
+ {
238
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
239
+ },
240
+ {
241
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
242
+ },
243
+ {
244
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
245
+ },
246
+ {
247
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
248
+ },
249
+ {
250
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
251
+ },
252
+ {
253
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
254
+ },
255
+ {
256
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
257
+ },
258
+ {
259
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
260
+ },
261
+ {
262
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
263
+ },
264
+ {
265
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
266
+ },
267
+ {
268
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
269
+ },
270
+ {
271
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
272
+ },
273
+ {
274
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
275
+ },
276
+ {
277
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
278
+ },
279
+ {
280
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
281
+ },
282
+ {
283
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
284
+ },
285
+ {
286
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
287
+ },
288
+ {
289
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
290
+ },
291
+ {
292
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
293
+ },
294
+ {
295
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
296
+ },
297
+ {
298
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
299
+ },
300
+ {
301
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
302
+ },
303
+ {
304
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
305
+ },
306
+ {
307
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
308
+ },
309
+ {
310
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
311
+ },
312
+ {
313
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
314
+ },
315
+ {
316
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
317
+ },
318
+ {
319
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
320
+ },
321
+ {
322
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
323
+ }
324
+ ];
325
+ var TRANSFORM_PATHS_5 = [
326
+ { path: "posts.firstPublishedDate" },
327
+ { path: "posts.lastPublishedDate" },
328
+ { path: "posts.heroImage.urlExpirationDate" },
329
+ { path: "posts.richContent.metadata.createdTimestamp" },
330
+ { path: "posts.richContent.metadata.updatedTimestamp" },
331
+ { path: "posts.moderationDetails.submittedDate" },
332
+ { path: "posts.moderationDetails.moderationDate" },
333
+ { path: "posts.media.wixMedia.image.urlExpirationDate" },
334
+ { path: "posts.media.wixMedia.videoV2.urlExpirationDate" },
335
+ { path: "posts.media.wixMedia.videoV2.resolutions.urlExpirationDate" },
336
+ { path: "posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate" },
337
+ { path: "posts.media.wixMedia.videoV2.posters.urlExpirationDate" }
338
+ ];
339
+ var TRANSFORM_PATHS_6 = [{ path: "posts.richContentCompressed" }];
340
+ var TRANSFORM_PATHS_7 = [
341
+ { path: "posts.heroImage.focalPoint.x" },
342
+ { path: "posts.heroImage.focalPoint.y" },
343
+ { path: "posts.media.wixMedia.image.focalPoint.x" },
344
+ { path: "posts.media.wixMedia.image.focalPoint.y" },
345
+ { path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x" },
346
+ { path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y" },
347
+ { path: "posts.media.wixMedia.videoV2.posters.focalPoint.x" },
348
+ { path: "posts.media.wixMedia.videoV2.posters.focalPoint.y" },
349
+ { path: "posts.metrics.averageRating" },
350
+ {
351
+ path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerX"
352
+ },
353
+ {
354
+ path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerY"
355
+ },
356
+ {
357
+ path: "posts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
358
+ },
359
+ {
360
+ path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
361
+ },
362
+ {
363
+ path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
364
+ },
365
+ {
366
+ path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
367
+ },
368
+ { path: "posts.richContent.nodes.galleryData.items.image.media.duration" },
369
+ { path: "posts.richContent.nodes.galleryData.items.video.media.duration" },
370
+ {
371
+ path: "posts.richContent.nodes.galleryData.items.video.thumbnail.duration"
372
+ },
373
+ { path: "posts.richContent.nodes.galleryData.options.item.ratio" },
374
+ { path: "posts.richContent.nodes.imageData.image.duration" },
375
+ { path: "posts.richContent.nodes.imageData.crop.x" },
376
+ { path: "posts.richContent.nodes.imageData.crop.y" },
377
+ { path: "posts.richContent.nodes.imageData.crop.width" },
378
+ { path: "posts.richContent.nodes.imageData.crop.height" },
379
+ { path: "posts.richContent.nodes.mapData.mapSettings.lat" },
380
+ { path: "posts.richContent.nodes.mapData.mapSettings.lng" },
381
+ { path: "posts.richContent.nodes.pollData.poll.image.duration" },
382
+ { path: "posts.richContent.nodes.pollData.poll.options.image.duration" },
383
+ {
384
+ path: "posts.richContent.nodes.pollData.design.poll.background.image.duration"
385
+ },
386
+ {
387
+ path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
388
+ },
389
+ {
390
+ path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
391
+ },
392
+ {
393
+ path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
394
+ },
395
+ {
396
+ path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
397
+ },
398
+ {
399
+ path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
400
+ },
401
+ {
402
+ path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
403
+ },
404
+ { path: "posts.richContent.nodes.appEmbedData.image.duration" },
405
+ { path: "posts.richContent.nodes.videoData.video.duration" },
406
+ { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
407
+ { path: "posts.richContent.nodes.audioData.audio.duration" },
408
+ { path: "posts.richContent.nodes.audioData.coverImage.duration" },
409
+ { path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration" },
410
+ {
411
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
412
+ },
413
+ {
414
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
415
+ },
416
+ {
417
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
418
+ },
419
+ { path: "posts.richContent.nodes.layoutData.backdropImage.media.duration" },
420
+ {
421
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
422
+ },
423
+ {
424
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
425
+ },
426
+ {
427
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
428
+ },
429
+ { path: "posts.richContent.nodes.layoutData.background.gradient.centerX" },
430
+ { path: "posts.richContent.nodes.layoutData.background.gradient.centerY" },
431
+ {
432
+ path: "posts.richContent.nodes.layoutData.background.gradient.stops.position"
433
+ },
434
+ { path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerX" },
435
+ { path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerY" },
436
+ {
437
+ path: "posts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
438
+ },
439
+ { path: "posts.richContent.nodes.shapeData.shape.duration" },
440
+ { path: "posts.richContent.nodes.cardData.background.gradient.centerX" },
441
+ { path: "posts.richContent.nodes.cardData.background.gradient.centerY" },
442
+ {
443
+ path: "posts.richContent.nodes.cardData.background.gradient.stops.position"
444
+ },
445
+ { path: "posts.richContent.nodes.cardData.backgroundImage.media.duration" },
446
+ {
447
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
448
+ },
449
+ {
450
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
451
+ },
452
+ {
453
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
454
+ },
455
+ { path: "posts.richContent.nodes.tocData.fontSize" },
456
+ { path: "posts.richContent.nodes.tocData.itemSpacing" },
457
+ { path: "posts.richContent.nodes.smartBlockCellData.shape.duration" },
458
+ {
459
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
460
+ },
461
+ {
462
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
463
+ },
464
+ {
465
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
466
+ },
467
+ {
468
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
469
+ },
470
+ {
471
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
472
+ },
473
+ {
474
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
475
+ },
476
+ {
477
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
478
+ },
479
+ {
480
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
481
+ },
482
+ {
483
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
484
+ },
485
+ {
486
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
487
+ },
488
+ {
489
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
490
+ },
491
+ {
492
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
493
+ },
494
+ {
495
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
496
+ },
497
+ {
498
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
499
+ },
500
+ {
501
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
502
+ },
503
+ {
504
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
505
+ },
506
+ {
507
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
508
+ },
509
+ {
510
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
511
+ },
512
+ {
513
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
514
+ },
515
+ {
516
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
517
+ },
518
+ {
519
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
520
+ },
521
+ {
522
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
523
+ },
524
+ {
525
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
526
+ },
527
+ {
528
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
529
+ },
530
+ {
531
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
532
+ },
533
+ {
534
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
535
+ },
536
+ {
537
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
538
+ },
539
+ {
540
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
541
+ },
542
+ {
543
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
544
+ },
545
+ {
546
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
547
+ },
548
+ {
549
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
550
+ },
551
+ {
552
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
553
+ },
554
+ {
555
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
556
+ },
557
+ {
558
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
559
+ },
560
+ {
561
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
562
+ },
563
+ {
564
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
565
+ },
566
+ {
567
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
568
+ },
569
+ {
570
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
571
+ },
572
+ {
573
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
574
+ },
575
+ {
576
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
577
+ },
578
+ {
579
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
580
+ },
581
+ {
582
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
583
+ },
584
+ {
585
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
586
+ },
587
+ {
588
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
589
+ },
590
+ {
591
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
592
+ },
593
+ {
594
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
595
+ },
596
+ {
597
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
598
+ },
599
+ {
600
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
601
+ },
602
+ {
603
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
604
+ },
605
+ {
606
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
607
+ },
608
+ {
609
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
610
+ },
611
+ {
612
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
613
+ },
614
+ {
615
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
616
+ },
617
+ {
618
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
619
+ }
620
+ ];
621
+ var TRANSFORM_PATHS_8 = [
622
+ { path: "sort.origin.latitude" },
623
+ { path: "sort.origin.longitude" },
624
+ { path: "query.sort.origin.latitude" },
625
+ { path: "query.sort.origin.longitude" }
626
+ ];
627
+ var TRANSFORM_PATHS_9 = [{ path: "metrics.averageRating" }];
29
628
  function resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl(opts) {
30
629
  const domainToMappings = {
31
630
  _: [
@@ -274,7 +873,7 @@ function queryPostCountStats(payload) {
274
873
  const serializedData = transformPaths(payload, [
275
874
  {
276
875
  transformFn: transformSDKTimestampToRESTTimestamp,
277
- paths: [{ path: "rangeStart" }, { path: "rangeEnd" }]
876
+ paths: TRANSFORM_PATHS_0
278
877
  }
279
878
  ]);
280
879
  const metadata = {
@@ -294,7 +893,7 @@ function queryPostCountStats(payload) {
294
893
  transformResponse: (payload2) => transformPaths(payload2, [
295
894
  {
296
895
  transformFn: transformRESTTimestampToSDKTimestamp,
297
- paths: [{ path: "stats.periodStart" }]
896
+ paths: TRANSFORM_PATHS_1
298
897
  }
299
898
  ])
300
899
  };
@@ -342,342 +941,15 @@ function getPost(payload) {
342
941
  transformResponse: (payload2) => transformPaths(payload2, [
343
942
  {
344
943
  transformFn: transformRESTTimestampToSDKTimestamp,
345
- paths: [
346
- { path: "post.firstPublishedDate" },
347
- { path: "post.lastPublishedDate" },
348
- { path: "post.heroImage.urlExpirationDate" },
349
- { path: "post.richContent.metadata.createdTimestamp" },
350
- { path: "post.richContent.metadata.updatedTimestamp" },
351
- { path: "post.moderationDetails.submittedDate" },
352
- { path: "post.moderationDetails.moderationDate" },
353
- { path: "post.media.wixMedia.image.urlExpirationDate" },
354
- { path: "post.media.wixMedia.videoV2.urlExpirationDate" },
355
- {
356
- path: "post.media.wixMedia.videoV2.resolutions.urlExpirationDate"
357
- },
358
- {
359
- path: "post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
360
- },
361
- { path: "post.media.wixMedia.videoV2.posters.urlExpirationDate" }
362
- ]
944
+ paths: TRANSFORM_PATHS_2
363
945
  },
364
946
  {
365
947
  transformFn: transformRESTBytesToSDKBytes,
366
- paths: [{ path: "post.richContentCompressed" }]
948
+ paths: TRANSFORM_PATHS_3
367
949
  },
368
950
  {
369
951
  transformFn: transformRESTFloatToSDKFloat,
370
- paths: [
371
- { path: "post.heroImage.focalPoint.x" },
372
- { path: "post.heroImage.focalPoint.y" },
373
- { path: "post.media.wixMedia.image.focalPoint.x" },
374
- { path: "post.media.wixMedia.image.focalPoint.y" },
375
- {
376
- path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
377
- },
378
- {
379
- path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
380
- },
381
- { path: "post.media.wixMedia.videoV2.posters.focalPoint.x" },
382
- { path: "post.media.wixMedia.videoV2.posters.focalPoint.y" },
383
- { path: "post.metrics.averageRating" },
384
- {
385
- path: "post.richContent.nodes.buttonData.styles.background.gradient.centerX"
386
- },
387
- {
388
- path: "post.richContent.nodes.buttonData.styles.background.gradient.centerY"
389
- },
390
- {
391
- path: "post.richContent.nodes.buttonData.styles.background.gradient.stops.position"
392
- },
393
- {
394
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
395
- },
396
- {
397
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
398
- },
399
- {
400
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
401
- },
402
- {
403
- path: "post.richContent.nodes.galleryData.items.image.media.duration"
404
- },
405
- {
406
- path: "post.richContent.nodes.galleryData.items.video.media.duration"
407
- },
408
- {
409
- path: "post.richContent.nodes.galleryData.items.video.thumbnail.duration"
410
- },
411
- { path: "post.richContent.nodes.galleryData.options.item.ratio" },
412
- { path: "post.richContent.nodes.imageData.image.duration" },
413
- { path: "post.richContent.nodes.imageData.crop.x" },
414
- { path: "post.richContent.nodes.imageData.crop.y" },
415
- { path: "post.richContent.nodes.imageData.crop.width" },
416
- { path: "post.richContent.nodes.imageData.crop.height" },
417
- { path: "post.richContent.nodes.mapData.mapSettings.lat" },
418
- { path: "post.richContent.nodes.mapData.mapSettings.lng" },
419
- { path: "post.richContent.nodes.pollData.poll.image.duration" },
420
- {
421
- path: "post.richContent.nodes.pollData.poll.options.image.duration"
422
- },
423
- {
424
- path: "post.richContent.nodes.pollData.design.poll.background.image.duration"
425
- },
426
- {
427
- path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
428
- },
429
- {
430
- path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
431
- },
432
- {
433
- path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
434
- },
435
- {
436
- path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
437
- },
438
- {
439
- path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
440
- },
441
- {
442
- path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
443
- },
444
- { path: "post.richContent.nodes.appEmbedData.image.duration" },
445
- { path: "post.richContent.nodes.videoData.video.duration" },
446
- { path: "post.richContent.nodes.videoData.thumbnail.duration" },
447
- { path: "post.richContent.nodes.audioData.audio.duration" },
448
- { path: "post.richContent.nodes.audioData.coverImage.duration" },
449
- {
450
- path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
451
- },
452
- {
453
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
454
- },
455
- {
456
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
457
- },
458
- {
459
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
460
- },
461
- {
462
- path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
463
- },
464
- {
465
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
466
- },
467
- {
468
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
469
- },
470
- {
471
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
472
- },
473
- {
474
- path: "post.richContent.nodes.layoutData.background.gradient.centerX"
475
- },
476
- {
477
- path: "post.richContent.nodes.layoutData.background.gradient.centerY"
478
- },
479
- {
480
- path: "post.richContent.nodes.layoutData.background.gradient.stops.position"
481
- },
482
- {
483
- path: "post.richContent.nodes.layoutData.backdrop.gradient.centerX"
484
- },
485
- {
486
- path: "post.richContent.nodes.layoutData.backdrop.gradient.centerY"
487
- },
488
- {
489
- path: "post.richContent.nodes.layoutData.backdrop.gradient.stops.position"
490
- },
491
- { path: "post.richContent.nodes.shapeData.shape.duration" },
492
- {
493
- path: "post.richContent.nodes.cardData.background.gradient.centerX"
494
- },
495
- {
496
- path: "post.richContent.nodes.cardData.background.gradient.centerY"
497
- },
498
- {
499
- path: "post.richContent.nodes.cardData.background.gradient.stops.position"
500
- },
501
- {
502
- path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
503
- },
504
- {
505
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
506
- },
507
- {
508
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
509
- },
510
- {
511
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
512
- },
513
- { path: "post.richContent.nodes.tocData.fontSize" },
514
- { path: "post.richContent.nodes.tocData.itemSpacing" },
515
- {
516
- path: "post.richContent.nodes.smartBlockCellData.shape.duration"
517
- },
518
- {
519
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
520
- },
521
- {
522
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
523
- },
524
- {
525
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
526
- },
527
- {
528
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
529
- },
530
- {
531
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
532
- },
533
- {
534
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
535
- },
536
- {
537
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
538
- },
539
- {
540
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
541
- },
542
- {
543
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
544
- },
545
- {
546
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
547
- },
548
- {
549
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
550
- },
551
- {
552
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
553
- },
554
- {
555
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
556
- },
557
- {
558
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
559
- },
560
- {
561
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
562
- },
563
- {
564
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
565
- },
566
- {
567
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
568
- },
569
- {
570
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
571
- },
572
- {
573
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
574
- },
575
- {
576
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
577
- },
578
- {
579
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
580
- },
581
- {
582
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
583
- },
584
- {
585
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
586
- },
587
- {
588
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
589
- },
590
- {
591
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
592
- },
593
- {
594
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
595
- },
596
- {
597
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
598
- },
599
- {
600
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
601
- },
602
- {
603
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
604
- },
605
- {
606
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
607
- },
608
- {
609
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
610
- },
611
- {
612
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
613
- },
614
- {
615
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
616
- },
617
- {
618
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
619
- },
620
- {
621
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
622
- },
623
- {
624
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
625
- },
626
- {
627
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
628
- },
629
- {
630
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
631
- },
632
- {
633
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
634
- },
635
- {
636
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
637
- },
638
- {
639
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
640
- },
641
- {
642
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
643
- },
644
- {
645
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
646
- },
647
- {
648
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
649
- },
650
- {
651
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
652
- },
653
- {
654
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
655
- },
656
- {
657
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
658
- },
659
- {
660
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
661
- },
662
- {
663
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
664
- },
665
- {
666
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
667
- },
668
- {
669
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
670
- },
671
- {
672
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
673
- },
674
- {
675
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
676
- },
677
- {
678
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
679
- }
680
- ]
952
+ paths: TRANSFORM_PATHS_4
681
953
  }
682
954
  ])
683
955
  };
@@ -704,342 +976,15 @@ function getPostBySlug(payload) {
704
976
  transformResponse: (payload2) => transformPaths(payload2, [
705
977
  {
706
978
  transformFn: transformRESTTimestampToSDKTimestamp,
707
- paths: [
708
- { path: "post.firstPublishedDate" },
709
- { path: "post.lastPublishedDate" },
710
- { path: "post.heroImage.urlExpirationDate" },
711
- { path: "post.richContent.metadata.createdTimestamp" },
712
- { path: "post.richContent.metadata.updatedTimestamp" },
713
- { path: "post.moderationDetails.submittedDate" },
714
- { path: "post.moderationDetails.moderationDate" },
715
- { path: "post.media.wixMedia.image.urlExpirationDate" },
716
- { path: "post.media.wixMedia.videoV2.urlExpirationDate" },
717
- {
718
- path: "post.media.wixMedia.videoV2.resolutions.urlExpirationDate"
719
- },
720
- {
721
- path: "post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
722
- },
723
- { path: "post.media.wixMedia.videoV2.posters.urlExpirationDate" }
724
- ]
979
+ paths: TRANSFORM_PATHS_2
725
980
  },
726
981
  {
727
982
  transformFn: transformRESTBytesToSDKBytes,
728
- paths: [{ path: "post.richContentCompressed" }]
983
+ paths: TRANSFORM_PATHS_3
729
984
  },
730
985
  {
731
986
  transformFn: transformRESTFloatToSDKFloat,
732
- paths: [
733
- { path: "post.heroImage.focalPoint.x" },
734
- { path: "post.heroImage.focalPoint.y" },
735
- { path: "post.media.wixMedia.image.focalPoint.x" },
736
- { path: "post.media.wixMedia.image.focalPoint.y" },
737
- {
738
- path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
739
- },
740
- {
741
- path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
742
- },
743
- { path: "post.media.wixMedia.videoV2.posters.focalPoint.x" },
744
- { path: "post.media.wixMedia.videoV2.posters.focalPoint.y" },
745
- { path: "post.metrics.averageRating" },
746
- {
747
- path: "post.richContent.nodes.buttonData.styles.background.gradient.centerX"
748
- },
749
- {
750
- path: "post.richContent.nodes.buttonData.styles.background.gradient.centerY"
751
- },
752
- {
753
- path: "post.richContent.nodes.buttonData.styles.background.gradient.stops.position"
754
- },
755
- {
756
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
757
- },
758
- {
759
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
760
- },
761
- {
762
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
763
- },
764
- {
765
- path: "post.richContent.nodes.galleryData.items.image.media.duration"
766
- },
767
- {
768
- path: "post.richContent.nodes.galleryData.items.video.media.duration"
769
- },
770
- {
771
- path: "post.richContent.nodes.galleryData.items.video.thumbnail.duration"
772
- },
773
- { path: "post.richContent.nodes.galleryData.options.item.ratio" },
774
- { path: "post.richContent.nodes.imageData.image.duration" },
775
- { path: "post.richContent.nodes.imageData.crop.x" },
776
- { path: "post.richContent.nodes.imageData.crop.y" },
777
- { path: "post.richContent.nodes.imageData.crop.width" },
778
- { path: "post.richContent.nodes.imageData.crop.height" },
779
- { path: "post.richContent.nodes.mapData.mapSettings.lat" },
780
- { path: "post.richContent.nodes.mapData.mapSettings.lng" },
781
- { path: "post.richContent.nodes.pollData.poll.image.duration" },
782
- {
783
- path: "post.richContent.nodes.pollData.poll.options.image.duration"
784
- },
785
- {
786
- path: "post.richContent.nodes.pollData.design.poll.background.image.duration"
787
- },
788
- {
789
- path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
790
- },
791
- {
792
- path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
793
- },
794
- {
795
- path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
796
- },
797
- {
798
- path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
799
- },
800
- {
801
- path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
802
- },
803
- {
804
- path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
805
- },
806
- { path: "post.richContent.nodes.appEmbedData.image.duration" },
807
- { path: "post.richContent.nodes.videoData.video.duration" },
808
- { path: "post.richContent.nodes.videoData.thumbnail.duration" },
809
- { path: "post.richContent.nodes.audioData.audio.duration" },
810
- { path: "post.richContent.nodes.audioData.coverImage.duration" },
811
- {
812
- path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
813
- },
814
- {
815
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
816
- },
817
- {
818
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
819
- },
820
- {
821
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
822
- },
823
- {
824
- path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
825
- },
826
- {
827
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
828
- },
829
- {
830
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
831
- },
832
- {
833
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
834
- },
835
- {
836
- path: "post.richContent.nodes.layoutData.background.gradient.centerX"
837
- },
838
- {
839
- path: "post.richContent.nodes.layoutData.background.gradient.centerY"
840
- },
841
- {
842
- path: "post.richContent.nodes.layoutData.background.gradient.stops.position"
843
- },
844
- {
845
- path: "post.richContent.nodes.layoutData.backdrop.gradient.centerX"
846
- },
847
- {
848
- path: "post.richContent.nodes.layoutData.backdrop.gradient.centerY"
849
- },
850
- {
851
- path: "post.richContent.nodes.layoutData.backdrop.gradient.stops.position"
852
- },
853
- { path: "post.richContent.nodes.shapeData.shape.duration" },
854
- {
855
- path: "post.richContent.nodes.cardData.background.gradient.centerX"
856
- },
857
- {
858
- path: "post.richContent.nodes.cardData.background.gradient.centerY"
859
- },
860
- {
861
- path: "post.richContent.nodes.cardData.background.gradient.stops.position"
862
- },
863
- {
864
- path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
865
- },
866
- {
867
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
868
- },
869
- {
870
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
871
- },
872
- {
873
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
874
- },
875
- { path: "post.richContent.nodes.tocData.fontSize" },
876
- { path: "post.richContent.nodes.tocData.itemSpacing" },
877
- {
878
- path: "post.richContent.nodes.smartBlockCellData.shape.duration"
879
- },
880
- {
881
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
882
- },
883
- {
884
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
885
- },
886
- {
887
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
888
- },
889
- {
890
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
891
- },
892
- {
893
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
894
- },
895
- {
896
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
897
- },
898
- {
899
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
900
- },
901
- {
902
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
903
- },
904
- {
905
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
906
- },
907
- {
908
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
909
- },
910
- {
911
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
912
- },
913
- {
914
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
915
- },
916
- {
917
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
918
- },
919
- {
920
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
921
- },
922
- {
923
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
924
- },
925
- {
926
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
927
- },
928
- {
929
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
930
- },
931
- {
932
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
933
- },
934
- {
935
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
936
- },
937
- {
938
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
939
- },
940
- {
941
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
942
- },
943
- {
944
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
945
- },
946
- {
947
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
948
- },
949
- {
950
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
951
- },
952
- {
953
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
954
- },
955
- {
956
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
957
- },
958
- {
959
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
960
- },
961
- {
962
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
963
- },
964
- {
965
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
966
- },
967
- {
968
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
969
- },
970
- {
971
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
972
- },
973
- {
974
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
975
- },
976
- {
977
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
978
- },
979
- {
980
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
981
- },
982
- {
983
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
984
- },
985
- {
986
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
987
- },
988
- {
989
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
990
- },
991
- {
992
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
993
- },
994
- {
995
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
996
- },
997
- {
998
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
999
- },
1000
- {
1001
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
1002
- },
1003
- {
1004
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
1005
- },
1006
- {
1007
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
1008
- },
1009
- {
1010
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
1011
- },
1012
- {
1013
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
1014
- },
1015
- {
1016
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
1017
- },
1018
- {
1019
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
1020
- },
1021
- {
1022
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
1023
- },
1024
- {
1025
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
1026
- },
1027
- {
1028
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
1029
- },
1030
- {
1031
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
1032
- },
1033
- {
1034
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
1035
- },
1036
- {
1037
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
1038
- },
1039
- {
1040
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
1041
- }
1042
- ]
987
+ paths: TRANSFORM_PATHS_4
1043
988
  }
1044
989
  ])
1045
990
  };
@@ -1066,346 +1011,15 @@ function listPosts(payload) {
1066
1011
  transformResponse: (payload2) => transformPaths(payload2, [
1067
1012
  {
1068
1013
  transformFn: transformRESTTimestampToSDKTimestamp,
1069
- paths: [
1070
- { path: "posts.firstPublishedDate" },
1071
- { path: "posts.lastPublishedDate" },
1072
- { path: "posts.heroImage.urlExpirationDate" },
1073
- { path: "posts.richContent.metadata.createdTimestamp" },
1074
- { path: "posts.richContent.metadata.updatedTimestamp" },
1075
- { path: "posts.moderationDetails.submittedDate" },
1076
- { path: "posts.moderationDetails.moderationDate" },
1077
- { path: "posts.media.wixMedia.image.urlExpirationDate" },
1078
- { path: "posts.media.wixMedia.videoV2.urlExpirationDate" },
1079
- {
1080
- path: "posts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
1081
- },
1082
- {
1083
- path: "posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
1084
- },
1085
- {
1086
- path: "posts.media.wixMedia.videoV2.posters.urlExpirationDate"
1087
- }
1088
- ]
1014
+ paths: TRANSFORM_PATHS_5
1089
1015
  },
1090
1016
  {
1091
1017
  transformFn: transformRESTBytesToSDKBytes,
1092
- paths: [{ path: "posts.richContentCompressed" }]
1018
+ paths: TRANSFORM_PATHS_6
1093
1019
  },
1094
1020
  {
1095
1021
  transformFn: transformRESTFloatToSDKFloat,
1096
- paths: [
1097
- { path: "posts.heroImage.focalPoint.x" },
1098
- { path: "posts.heroImage.focalPoint.y" },
1099
- { path: "posts.media.wixMedia.image.focalPoint.x" },
1100
- { path: "posts.media.wixMedia.image.focalPoint.y" },
1101
- {
1102
- path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
1103
- },
1104
- {
1105
- path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
1106
- },
1107
- { path: "posts.media.wixMedia.videoV2.posters.focalPoint.x" },
1108
- { path: "posts.media.wixMedia.videoV2.posters.focalPoint.y" },
1109
- { path: "posts.metrics.averageRating" },
1110
- {
1111
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerX"
1112
- },
1113
- {
1114
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerY"
1115
- },
1116
- {
1117
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
1118
- },
1119
- {
1120
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
1121
- },
1122
- {
1123
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
1124
- },
1125
- {
1126
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
1127
- },
1128
- {
1129
- path: "posts.richContent.nodes.galleryData.items.image.media.duration"
1130
- },
1131
- {
1132
- path: "posts.richContent.nodes.galleryData.items.video.media.duration"
1133
- },
1134
- {
1135
- path: "posts.richContent.nodes.galleryData.items.video.thumbnail.duration"
1136
- },
1137
- {
1138
- path: "posts.richContent.nodes.galleryData.options.item.ratio"
1139
- },
1140
- { path: "posts.richContent.nodes.imageData.image.duration" },
1141
- { path: "posts.richContent.nodes.imageData.crop.x" },
1142
- { path: "posts.richContent.nodes.imageData.crop.y" },
1143
- { path: "posts.richContent.nodes.imageData.crop.width" },
1144
- { path: "posts.richContent.nodes.imageData.crop.height" },
1145
- { path: "posts.richContent.nodes.mapData.mapSettings.lat" },
1146
- { path: "posts.richContent.nodes.mapData.mapSettings.lng" },
1147
- { path: "posts.richContent.nodes.pollData.poll.image.duration" },
1148
- {
1149
- path: "posts.richContent.nodes.pollData.poll.options.image.duration"
1150
- },
1151
- {
1152
- path: "posts.richContent.nodes.pollData.design.poll.background.image.duration"
1153
- },
1154
- {
1155
- path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
1156
- },
1157
- {
1158
- path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
1159
- },
1160
- {
1161
- path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
1162
- },
1163
- {
1164
- path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
1165
- },
1166
- {
1167
- path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
1168
- },
1169
- {
1170
- path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
1171
- },
1172
- { path: "posts.richContent.nodes.appEmbedData.image.duration" },
1173
- { path: "posts.richContent.nodes.videoData.video.duration" },
1174
- { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
1175
- { path: "posts.richContent.nodes.audioData.audio.duration" },
1176
- { path: "posts.richContent.nodes.audioData.coverImage.duration" },
1177
- {
1178
- path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
1179
- },
1180
- {
1181
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1182
- },
1183
- {
1184
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1185
- },
1186
- {
1187
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1188
- },
1189
- {
1190
- path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
1191
- },
1192
- {
1193
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1194
- },
1195
- {
1196
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1197
- },
1198
- {
1199
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1200
- },
1201
- {
1202
- path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
1203
- },
1204
- {
1205
- path: "posts.richContent.nodes.layoutData.background.gradient.centerY"
1206
- },
1207
- {
1208
- path: "posts.richContent.nodes.layoutData.background.gradient.stops.position"
1209
- },
1210
- {
1211
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerX"
1212
- },
1213
- {
1214
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerY"
1215
- },
1216
- {
1217
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1218
- },
1219
- { path: "posts.richContent.nodes.shapeData.shape.duration" },
1220
- {
1221
- path: "posts.richContent.nodes.cardData.background.gradient.centerX"
1222
- },
1223
- {
1224
- path: "posts.richContent.nodes.cardData.background.gradient.centerY"
1225
- },
1226
- {
1227
- path: "posts.richContent.nodes.cardData.background.gradient.stops.position"
1228
- },
1229
- {
1230
- path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
1231
- },
1232
- {
1233
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1234
- },
1235
- {
1236
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1237
- },
1238
- {
1239
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1240
- },
1241
- { path: "posts.richContent.nodes.tocData.fontSize" },
1242
- { path: "posts.richContent.nodes.tocData.itemSpacing" },
1243
- {
1244
- path: "posts.richContent.nodes.smartBlockCellData.shape.duration"
1245
- },
1246
- {
1247
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
1248
- },
1249
- {
1250
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
1251
- },
1252
- {
1253
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
1254
- },
1255
- {
1256
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
1257
- },
1258
- {
1259
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
1260
- },
1261
- {
1262
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
1263
- },
1264
- {
1265
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
1266
- },
1267
- {
1268
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
1269
- },
1270
- {
1271
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
1272
- },
1273
- {
1274
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
1275
- },
1276
- {
1277
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
1278
- },
1279
- {
1280
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
1281
- },
1282
- {
1283
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
1284
- },
1285
- {
1286
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
1287
- },
1288
- {
1289
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
1290
- },
1291
- {
1292
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
1293
- },
1294
- {
1295
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
1296
- },
1297
- {
1298
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
1299
- },
1300
- {
1301
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
1302
- },
1303
- {
1304
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
1305
- },
1306
- {
1307
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
1308
- },
1309
- {
1310
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
1311
- },
1312
- {
1313
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
1314
- },
1315
- {
1316
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
1317
- },
1318
- {
1319
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
1320
- },
1321
- {
1322
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
1323
- },
1324
- {
1325
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
1326
- },
1327
- {
1328
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
1329
- },
1330
- {
1331
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
1332
- },
1333
- {
1334
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
1335
- },
1336
- {
1337
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
1338
- },
1339
- {
1340
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
1341
- },
1342
- {
1343
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
1344
- },
1345
- {
1346
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
1347
- },
1348
- {
1349
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
1350
- },
1351
- {
1352
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
1353
- },
1354
- {
1355
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
1356
- },
1357
- {
1358
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
1359
- },
1360
- {
1361
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
1362
- },
1363
- {
1364
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
1365
- },
1366
- {
1367
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
1368
- },
1369
- {
1370
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
1371
- },
1372
- {
1373
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
1374
- },
1375
- {
1376
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
1377
- },
1378
- {
1379
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
1380
- },
1381
- {
1382
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
1383
- },
1384
- {
1385
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
1386
- },
1387
- {
1388
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
1389
- },
1390
- {
1391
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
1392
- },
1393
- {
1394
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
1395
- },
1396
- {
1397
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
1398
- },
1399
- {
1400
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
1401
- },
1402
- {
1403
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
1404
- },
1405
- {
1406
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
1407
- }
1408
- ]
1022
+ paths: TRANSFORM_PATHS_7
1409
1023
  }
1410
1024
  ])
1411
1025
  };
@@ -1418,12 +1032,7 @@ function queryPosts(payload) {
1418
1032
  const serializedData = transformPaths(payload, [
1419
1033
  {
1420
1034
  transformFn: transformSDKFloatToRESTFloat,
1421
- paths: [
1422
- { path: "sort.origin.latitude" },
1423
- { path: "sort.origin.longitude" },
1424
- { path: "query.sort.origin.latitude" },
1425
- { path: "query.sort.origin.longitude" }
1426
- ]
1035
+ paths: TRANSFORM_PATHS_8
1427
1036
  }
1428
1037
  ]);
1429
1038
  const metadata = {
@@ -1443,346 +1052,15 @@ function queryPosts(payload) {
1443
1052
  transformResponse: (payload2) => transformPaths(payload2, [
1444
1053
  {
1445
1054
  transformFn: transformRESTTimestampToSDKTimestamp,
1446
- paths: [
1447
- { path: "posts.firstPublishedDate" },
1448
- { path: "posts.lastPublishedDate" },
1449
- { path: "posts.heroImage.urlExpirationDate" },
1450
- { path: "posts.richContent.metadata.createdTimestamp" },
1451
- { path: "posts.richContent.metadata.updatedTimestamp" },
1452
- { path: "posts.moderationDetails.submittedDate" },
1453
- { path: "posts.moderationDetails.moderationDate" },
1454
- { path: "posts.media.wixMedia.image.urlExpirationDate" },
1455
- { path: "posts.media.wixMedia.videoV2.urlExpirationDate" },
1456
- {
1457
- path: "posts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
1458
- },
1459
- {
1460
- path: "posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
1461
- },
1462
- {
1463
- path: "posts.media.wixMedia.videoV2.posters.urlExpirationDate"
1464
- }
1465
- ]
1055
+ paths: TRANSFORM_PATHS_5
1466
1056
  },
1467
1057
  {
1468
1058
  transformFn: transformRESTBytesToSDKBytes,
1469
- paths: [{ path: "posts.richContentCompressed" }]
1059
+ paths: TRANSFORM_PATHS_6
1470
1060
  },
1471
1061
  {
1472
1062
  transformFn: transformRESTFloatToSDKFloat,
1473
- paths: [
1474
- { path: "posts.heroImage.focalPoint.x" },
1475
- { path: "posts.heroImage.focalPoint.y" },
1476
- { path: "posts.media.wixMedia.image.focalPoint.x" },
1477
- { path: "posts.media.wixMedia.image.focalPoint.y" },
1478
- {
1479
- path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
1480
- },
1481
- {
1482
- path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
1483
- },
1484
- { path: "posts.media.wixMedia.videoV2.posters.focalPoint.x" },
1485
- { path: "posts.media.wixMedia.videoV2.posters.focalPoint.y" },
1486
- { path: "posts.metrics.averageRating" },
1487
- {
1488
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerX"
1489
- },
1490
- {
1491
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerY"
1492
- },
1493
- {
1494
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
1495
- },
1496
- {
1497
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
1498
- },
1499
- {
1500
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
1501
- },
1502
- {
1503
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
1504
- },
1505
- {
1506
- path: "posts.richContent.nodes.galleryData.items.image.media.duration"
1507
- },
1508
- {
1509
- path: "posts.richContent.nodes.galleryData.items.video.media.duration"
1510
- },
1511
- {
1512
- path: "posts.richContent.nodes.galleryData.items.video.thumbnail.duration"
1513
- },
1514
- {
1515
- path: "posts.richContent.nodes.galleryData.options.item.ratio"
1516
- },
1517
- { path: "posts.richContent.nodes.imageData.image.duration" },
1518
- { path: "posts.richContent.nodes.imageData.crop.x" },
1519
- { path: "posts.richContent.nodes.imageData.crop.y" },
1520
- { path: "posts.richContent.nodes.imageData.crop.width" },
1521
- { path: "posts.richContent.nodes.imageData.crop.height" },
1522
- { path: "posts.richContent.nodes.mapData.mapSettings.lat" },
1523
- { path: "posts.richContent.nodes.mapData.mapSettings.lng" },
1524
- { path: "posts.richContent.nodes.pollData.poll.image.duration" },
1525
- {
1526
- path: "posts.richContent.nodes.pollData.poll.options.image.duration"
1527
- },
1528
- {
1529
- path: "posts.richContent.nodes.pollData.design.poll.background.image.duration"
1530
- },
1531
- {
1532
- path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
1533
- },
1534
- {
1535
- path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
1536
- },
1537
- {
1538
- path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
1539
- },
1540
- {
1541
- path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
1542
- },
1543
- {
1544
- path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
1545
- },
1546
- {
1547
- path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
1548
- },
1549
- { path: "posts.richContent.nodes.appEmbedData.image.duration" },
1550
- { path: "posts.richContent.nodes.videoData.video.duration" },
1551
- { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
1552
- { path: "posts.richContent.nodes.audioData.audio.duration" },
1553
- { path: "posts.richContent.nodes.audioData.coverImage.duration" },
1554
- {
1555
- path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
1556
- },
1557
- {
1558
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1559
- },
1560
- {
1561
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1562
- },
1563
- {
1564
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1565
- },
1566
- {
1567
- path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
1568
- },
1569
- {
1570
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1571
- },
1572
- {
1573
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1574
- },
1575
- {
1576
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1577
- },
1578
- {
1579
- path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
1580
- },
1581
- {
1582
- path: "posts.richContent.nodes.layoutData.background.gradient.centerY"
1583
- },
1584
- {
1585
- path: "posts.richContent.nodes.layoutData.background.gradient.stops.position"
1586
- },
1587
- {
1588
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerX"
1589
- },
1590
- {
1591
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerY"
1592
- },
1593
- {
1594
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1595
- },
1596
- { path: "posts.richContent.nodes.shapeData.shape.duration" },
1597
- {
1598
- path: "posts.richContent.nodes.cardData.background.gradient.centerX"
1599
- },
1600
- {
1601
- path: "posts.richContent.nodes.cardData.background.gradient.centerY"
1602
- },
1603
- {
1604
- path: "posts.richContent.nodes.cardData.background.gradient.stops.position"
1605
- },
1606
- {
1607
- path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
1608
- },
1609
- {
1610
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1611
- },
1612
- {
1613
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1614
- },
1615
- {
1616
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1617
- },
1618
- { path: "posts.richContent.nodes.tocData.fontSize" },
1619
- { path: "posts.richContent.nodes.tocData.itemSpacing" },
1620
- {
1621
- path: "posts.richContent.nodes.smartBlockCellData.shape.duration"
1622
- },
1623
- {
1624
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
1625
- },
1626
- {
1627
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
1628
- },
1629
- {
1630
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
1631
- },
1632
- {
1633
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
1634
- },
1635
- {
1636
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
1637
- },
1638
- {
1639
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
1640
- },
1641
- {
1642
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
1643
- },
1644
- {
1645
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
1646
- },
1647
- {
1648
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
1649
- },
1650
- {
1651
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
1652
- },
1653
- {
1654
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
1655
- },
1656
- {
1657
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
1658
- },
1659
- {
1660
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
1661
- },
1662
- {
1663
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
1664
- },
1665
- {
1666
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
1667
- },
1668
- {
1669
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
1670
- },
1671
- {
1672
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
1673
- },
1674
- {
1675
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
1676
- },
1677
- {
1678
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
1679
- },
1680
- {
1681
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
1682
- },
1683
- {
1684
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
1685
- },
1686
- {
1687
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
1688
- },
1689
- {
1690
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
1691
- },
1692
- {
1693
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
1694
- },
1695
- {
1696
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
1697
- },
1698
- {
1699
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
1700
- },
1701
- {
1702
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
1703
- },
1704
- {
1705
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
1706
- },
1707
- {
1708
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
1709
- },
1710
- {
1711
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
1712
- },
1713
- {
1714
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
1715
- },
1716
- {
1717
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
1718
- },
1719
- {
1720
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
1721
- },
1722
- {
1723
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
1724
- },
1725
- {
1726
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
1727
- },
1728
- {
1729
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
1730
- },
1731
- {
1732
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
1733
- },
1734
- {
1735
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
1736
- },
1737
- {
1738
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
1739
- },
1740
- {
1741
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
1742
- },
1743
- {
1744
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
1745
- },
1746
- {
1747
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
1748
- },
1749
- {
1750
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
1751
- },
1752
- {
1753
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
1754
- },
1755
- {
1756
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
1757
- },
1758
- {
1759
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
1760
- },
1761
- {
1762
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
1763
- },
1764
- {
1765
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
1766
- },
1767
- {
1768
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
1769
- },
1770
- {
1771
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
1772
- },
1773
- {
1774
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
1775
- },
1776
- {
1777
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
1778
- },
1779
- {
1780
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
1781
- },
1782
- {
1783
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
1784
- }
1785
- ]
1063
+ paths: TRANSFORM_PATHS_7
1786
1064
  }
1787
1065
  ])
1788
1066
  };
@@ -1809,7 +1087,7 @@ function getPostMetrics(payload) {
1809
1087
  transformResponse: (payload2) => transformPaths(payload2, [
1810
1088
  {
1811
1089
  transformFn: transformRESTFloatToSDKFloat,
1812
- paths: [{ path: "metrics.averageRating" }]
1090
+ paths: TRANSFORM_PATHS_9
1813
1091
  }
1814
1092
  ])
1815
1093
  };
@@ -1845,6 +1123,24 @@ import { transformRESTVideoV2ToSDKVideoV2 } from "@wix/sdk-runtime/transformatio
1845
1123
  import { transformRESTPageURLToSDKPageURL } from "@wix/sdk-runtime/transformations/page-url";
1846
1124
  import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
1847
1125
  import { createQueryUtils } from "@wix/sdk-runtime/query-builder-utils";
1126
+ var TRANSFORM_PATHS_02 = [
1127
+ { path: "post.url" },
1128
+ { path: "post.translations.url" }
1129
+ ];
1130
+ var TRANSFORM_PATHS_12 = [
1131
+ { path: "post.heroImage" },
1132
+ { path: "post.media.wixMedia.image" }
1133
+ ];
1134
+ var TRANSFORM_PATHS_22 = [{ path: "post.media.wixMedia.videoV2" }];
1135
+ var TRANSFORM_PATHS_32 = [
1136
+ { path: "posts.url" },
1137
+ { path: "posts.translations.url" }
1138
+ ];
1139
+ var TRANSFORM_PATHS_42 = [
1140
+ { path: "posts.heroImage" },
1141
+ { path: "posts.media.wixMedia.image" }
1142
+ ];
1143
+ var TRANSFORM_PATHS_52 = [{ path: "posts.media.wixMedia.videoV2" }];
1848
1144
  var NodeType = /* @__PURE__ */ ((NodeType2) => {
1849
1145
  NodeType2["PARAGRAPH"] = "PARAGRAPH";
1850
1146
  NodeType2["TEXT"] = "TEXT";
@@ -2510,18 +1806,15 @@ async function getPost2(postId, options) {
2510
1806
  transformPaths2(result.data, [
2511
1807
  {
2512
1808
  transformFn: transformRESTPageURLToSDKPageURL,
2513
- paths: [{ path: "post.url" }, { path: "post.translations.url" }]
1809
+ paths: TRANSFORM_PATHS_02
2514
1810
  },
2515
1811
  {
2516
1812
  transformFn: transformRESTImageToSDKImage,
2517
- paths: [
2518
- { path: "post.heroImage" },
2519
- { path: "post.media.wixMedia.image" }
2520
- ]
1813
+ paths: TRANSFORM_PATHS_12
2521
1814
  },
2522
1815
  {
2523
1816
  transformFn: transformRESTVideoV2ToSDKVideoV2,
2524
- paths: [{ path: "post.media.wixMedia.videoV2" }]
1817
+ paths: TRANSFORM_PATHS_22
2525
1818
  }
2526
1819
  ]),
2527
1820
  ["post.richContent", "post.rich_content"]
@@ -2558,18 +1851,15 @@ async function getPostBySlug2(slug, options) {
2558
1851
  transformPaths2(result.data, [
2559
1852
  {
2560
1853
  transformFn: transformRESTPageURLToSDKPageURL,
2561
- paths: [{ path: "post.url" }, { path: "post.translations.url" }]
1854
+ paths: TRANSFORM_PATHS_02
2562
1855
  },
2563
1856
  {
2564
1857
  transformFn: transformRESTImageToSDKImage,
2565
- paths: [
2566
- { path: "post.heroImage" },
2567
- { path: "post.media.wixMedia.image" }
2568
- ]
1858
+ paths: TRANSFORM_PATHS_12
2569
1859
  },
2570
1860
  {
2571
1861
  transformFn: transformRESTVideoV2ToSDKVideoV2,
2572
- paths: [{ path: "post.media.wixMedia.videoV2" }]
1862
+ paths: TRANSFORM_PATHS_22
2573
1863
  }
2574
1864
  ]),
2575
1865
  ["post.richContent", "post.rich_content"]
@@ -2617,18 +1907,15 @@ async function listPosts2(options) {
2617
1907
  transformPaths2(result.data, [
2618
1908
  {
2619
1909
  transformFn: transformRESTPageURLToSDKPageURL,
2620
- paths: [{ path: "posts.url" }, { path: "posts.translations.url" }]
1910
+ paths: TRANSFORM_PATHS_32
2621
1911
  },
2622
1912
  {
2623
1913
  transformFn: transformRESTImageToSDKImage,
2624
- paths: [
2625
- { path: "posts.heroImage" },
2626
- { path: "posts.media.wixMedia.image" }
2627
- ]
1914
+ paths: TRANSFORM_PATHS_42
2628
1915
  },
2629
1916
  {
2630
1917
  transformFn: transformRESTVideoV2ToSDKVideoV2,
2631
- paths: [{ path: "posts.media.wixMedia.videoV2" }]
1918
+ paths: TRANSFORM_PATHS_52
2632
1919
  }
2633
1920
  ]),
2634
1921
  ["posts.richContent", "posts.rich_content"]
@@ -2687,18 +1974,15 @@ function queryPosts2(options) {
2687
1974
  transformPaths2(data, [
2688
1975
  {
2689
1976
  transformFn: transformRESTPageURLToSDKPageURL,
2690
- paths: [{ path: "posts.url" }, { path: "posts.translations.url" }]
1977
+ paths: TRANSFORM_PATHS_32
2691
1978
  },
2692
1979
  {
2693
1980
  transformFn: transformRESTImageToSDKImage,
2694
- paths: [
2695
- { path: "posts.heroImage" },
2696
- { path: "posts.media.wixMedia.image" }
2697
- ]
1981
+ paths: TRANSFORM_PATHS_42
2698
1982
  },
2699
1983
  {
2700
1984
  transformFn: transformRESTVideoV2ToSDKVideoV2,
2701
- paths: [{ path: "posts.media.wixMedia.videoV2" }]
1985
+ paths: TRANSFORM_PATHS_52
2702
1986
  }
2703
1987
  ]),
2704
1988
  ["posts.richContent", "posts.rich_content"]
@@ -2735,18 +2019,15 @@ async function typedQueryPosts(query, options) {
2735
2019
  transformPaths2(result.data, [
2736
2020
  {
2737
2021
  transformFn: transformRESTPageURLToSDKPageURL,
2738
- paths: [{ path: "posts.url" }, { path: "posts.translations.url" }]
2022
+ paths: TRANSFORM_PATHS_32
2739
2023
  },
2740
2024
  {
2741
2025
  transformFn: transformRESTImageToSDKImage,
2742
- paths: [
2743
- { path: "posts.heroImage" },
2744
- { path: "posts.media.wixMedia.image" }
2745
- ]
2026
+ paths: TRANSFORM_PATHS_42
2746
2027
  },
2747
2028
  {
2748
2029
  transformFn: transformRESTVideoV2ToSDKVideoV2,
2749
- paths: [{ path: "posts.media.wixMedia.videoV2" }]
2030
+ paths: TRANSFORM_PATHS_52
2750
2031
  }
2751
2032
  ]),
2752
2033
  ["posts.richContent", "posts.rich_content"]
@@ -2816,6 +2097,301 @@ async function viewPost2(postId) {
2816
2097
  }
2817
2098
 
2818
2099
  // src/blog-v3-post-posts.public.ts
2100
+ var TRANSFORM_PATHS_03 = [{ path: "metadata.eventTime" }];
2101
+ var TRANSFORM_PATHS_13 = [
2102
+ { path: "entity.firstPublishedDate" },
2103
+ { path: "entity.lastPublishedDate" },
2104
+ { path: "entity.richContent.metadata.createdTimestamp" },
2105
+ { path: "entity.richContent.metadata.updatedTimestamp" },
2106
+ { path: "entity.moderationDetails.submittedDate" },
2107
+ { path: "entity.moderationDetails.moderationDate" },
2108
+ { path: "metadata.eventTime" }
2109
+ ];
2110
+ var TRANSFORM_PATHS_23 = [
2111
+ { path: "entity.url" },
2112
+ { path: "entity.translations.url" }
2113
+ ];
2114
+ var TRANSFORM_PATHS_33 = [
2115
+ { path: "entity.heroImage" },
2116
+ { path: "entity.media.wixMedia.image" }
2117
+ ];
2118
+ var TRANSFORM_PATHS_43 = [{ path: "entity.richContentCompressed" }];
2119
+ var TRANSFORM_PATHS_53 = [
2120
+ { path: "entity.metrics.averageRating" },
2121
+ {
2122
+ path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerX"
2123
+ },
2124
+ {
2125
+ path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerY"
2126
+ },
2127
+ {
2128
+ path: "entity.richContent.nodes.buttonData.styles.background.gradient.stops.position"
2129
+ },
2130
+ {
2131
+ path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
2132
+ },
2133
+ {
2134
+ path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
2135
+ },
2136
+ {
2137
+ path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
2138
+ },
2139
+ { path: "entity.richContent.nodes.galleryData.items.image.media.duration" },
2140
+ { path: "entity.richContent.nodes.galleryData.items.video.media.duration" },
2141
+ {
2142
+ path: "entity.richContent.nodes.galleryData.items.video.thumbnail.duration"
2143
+ },
2144
+ { path: "entity.richContent.nodes.galleryData.options.item.ratio" },
2145
+ { path: "entity.richContent.nodes.imageData.image.duration" },
2146
+ { path: "entity.richContent.nodes.imageData.crop.x" },
2147
+ { path: "entity.richContent.nodes.imageData.crop.y" },
2148
+ { path: "entity.richContent.nodes.imageData.crop.width" },
2149
+ { path: "entity.richContent.nodes.imageData.crop.height" },
2150
+ { path: "entity.richContent.nodes.mapData.mapSettings.lat" },
2151
+ { path: "entity.richContent.nodes.mapData.mapSettings.lng" },
2152
+ { path: "entity.richContent.nodes.pollData.poll.image.duration" },
2153
+ { path: "entity.richContent.nodes.pollData.poll.options.image.duration" },
2154
+ {
2155
+ path: "entity.richContent.nodes.pollData.design.poll.background.image.duration"
2156
+ },
2157
+ {
2158
+ path: "entity.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
2159
+ },
2160
+ {
2161
+ path: "entity.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
2162
+ },
2163
+ {
2164
+ path: "entity.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
2165
+ },
2166
+ {
2167
+ path: "entity.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
2168
+ },
2169
+ {
2170
+ path: "entity.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
2171
+ },
2172
+ {
2173
+ path: "entity.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
2174
+ },
2175
+ { path: "entity.richContent.nodes.appEmbedData.image.duration" },
2176
+ { path: "entity.richContent.nodes.videoData.video.duration" },
2177
+ { path: "entity.richContent.nodes.videoData.thumbnail.duration" },
2178
+ { path: "entity.richContent.nodes.audioData.audio.duration" },
2179
+ { path: "entity.richContent.nodes.audioData.coverImage.duration" },
2180
+ {
2181
+ path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
2182
+ },
2183
+ {
2184
+ path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
2185
+ },
2186
+ {
2187
+ path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
2188
+ },
2189
+ {
2190
+ path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
2191
+ },
2192
+ { path: "entity.richContent.nodes.layoutData.backdropImage.media.duration" },
2193
+ {
2194
+ path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
2195
+ },
2196
+ {
2197
+ path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
2198
+ },
2199
+ {
2200
+ path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
2201
+ },
2202
+ { path: "entity.richContent.nodes.layoutData.background.gradient.centerX" },
2203
+ { path: "entity.richContent.nodes.layoutData.background.gradient.centerY" },
2204
+ {
2205
+ path: "entity.richContent.nodes.layoutData.background.gradient.stops.position"
2206
+ },
2207
+ { path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerX" },
2208
+ { path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerY" },
2209
+ {
2210
+ path: "entity.richContent.nodes.layoutData.backdrop.gradient.stops.position"
2211
+ },
2212
+ { path: "entity.richContent.nodes.shapeData.shape.duration" },
2213
+ { path: "entity.richContent.nodes.cardData.background.gradient.centerX" },
2214
+ { path: "entity.richContent.nodes.cardData.background.gradient.centerY" },
2215
+ {
2216
+ path: "entity.richContent.nodes.cardData.background.gradient.stops.position"
2217
+ },
2218
+ { path: "entity.richContent.nodes.cardData.backgroundImage.media.duration" },
2219
+ {
2220
+ path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
2221
+ },
2222
+ {
2223
+ path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
2224
+ },
2225
+ {
2226
+ path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
2227
+ },
2228
+ { path: "entity.richContent.nodes.tocData.fontSize" },
2229
+ { path: "entity.richContent.nodes.tocData.itemSpacing" },
2230
+ { path: "entity.richContent.nodes.smartBlockCellData.shape.duration" },
2231
+ {
2232
+ path: "entity.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
2233
+ },
2234
+ {
2235
+ path: "entity.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
2236
+ },
2237
+ {
2238
+ path: "entity.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
2239
+ },
2240
+ {
2241
+ path: "entity.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
2242
+ },
2243
+ {
2244
+ path: "entity.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
2245
+ },
2246
+ {
2247
+ path: "entity.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
2248
+ },
2249
+ {
2250
+ path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
2251
+ },
2252
+ {
2253
+ path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
2254
+ },
2255
+ {
2256
+ path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
2257
+ },
2258
+ {
2259
+ path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
2260
+ },
2261
+ {
2262
+ path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
2263
+ },
2264
+ {
2265
+ path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
2266
+ },
2267
+ {
2268
+ path: "entity.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
2269
+ },
2270
+ {
2271
+ path: "entity.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
2272
+ },
2273
+ {
2274
+ path: "entity.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
2275
+ },
2276
+ {
2277
+ path: "entity.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
2278
+ },
2279
+ {
2280
+ path: "entity.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
2281
+ },
2282
+ {
2283
+ path: "entity.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
2284
+ },
2285
+ {
2286
+ path: "entity.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
2287
+ },
2288
+ {
2289
+ path: "entity.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
2290
+ },
2291
+ {
2292
+ path: "entity.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
2293
+ },
2294
+ {
2295
+ path: "entity.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
2296
+ },
2297
+ {
2298
+ path: "entity.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
2299
+ },
2300
+ {
2301
+ path: "entity.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
2302
+ },
2303
+ {
2304
+ path: "entity.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
2305
+ },
2306
+ {
2307
+ path: "entity.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
2308
+ },
2309
+ {
2310
+ path: "entity.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
2311
+ },
2312
+ {
2313
+ path: "entity.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
2314
+ },
2315
+ {
2316
+ path: "entity.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
2317
+ },
2318
+ {
2319
+ path: "entity.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
2320
+ },
2321
+ {
2322
+ path: "entity.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
2323
+ },
2324
+ {
2325
+ path: "entity.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
2326
+ },
2327
+ {
2328
+ path: "entity.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
2329
+ },
2330
+ {
2331
+ path: "entity.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
2332
+ },
2333
+ {
2334
+ path: "entity.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
2335
+ },
2336
+ {
2337
+ path: "entity.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
2338
+ },
2339
+ {
2340
+ path: "entity.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
2341
+ },
2342
+ {
2343
+ path: "entity.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
2344
+ },
2345
+ {
2346
+ path: "entity.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
2347
+ },
2348
+ {
2349
+ path: "entity.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
2350
+ },
2351
+ {
2352
+ path: "entity.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
2353
+ },
2354
+ {
2355
+ path: "entity.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
2356
+ },
2357
+ {
2358
+ path: "entity.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
2359
+ },
2360
+ {
2361
+ path: "entity.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
2362
+ },
2363
+ {
2364
+ path: "entity.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
2365
+ },
2366
+ {
2367
+ path: "entity.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
2368
+ },
2369
+ {
2370
+ path: "entity.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
2371
+ },
2372
+ {
2373
+ path: "entity.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
2374
+ },
2375
+ {
2376
+ path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
2377
+ },
2378
+ {
2379
+ path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
2380
+ },
2381
+ {
2382
+ path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
2383
+ },
2384
+ {
2385
+ path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
2386
+ },
2387
+ {
2388
+ path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
2389
+ },
2390
+ {
2391
+ path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
2392
+ }
2393
+ ];
2394
+ var TRANSFORM_PATHS_62 = [{ path: "entity.media.wixMedia.videoV2" }];
2819
2395
  function queryPostCountStats3(httpClient) {
2820
2396
  return (options) => queryPostCountStats2(
2821
2397
  options,
@@ -2889,7 +2465,7 @@ var onPostLiked = /* @__PURE__ */ EventDefinition(
2889
2465
  transformPaths3(event, [
2890
2466
  {
2891
2467
  transformFn: transformRESTTimestampToSDKTimestamp2,
2892
- paths: [{ path: "metadata.eventTime" }]
2468
+ paths: TRANSFORM_PATHS_03
2893
2469
  }
2894
2470
  ]),
2895
2471
  ["entity.rich_content"]
@@ -2902,7 +2478,7 @@ var onPostUnliked = /* @__PURE__ */ EventDefinition(
2902
2478
  transformPaths3(event, [
2903
2479
  {
2904
2480
  transformFn: transformRESTTimestampToSDKTimestamp2,
2905
- paths: [{ path: "metadata.eventTime" }]
2481
+ paths: TRANSFORM_PATHS_03
2906
2482
  }
2907
2483
  ]),
2908
2484
  ["entity.rich_content"]
@@ -2915,336 +2491,27 @@ var onPostCreated = /* @__PURE__ */ EventDefinition(
2915
2491
  transformPaths3(event, [
2916
2492
  {
2917
2493
  transformFn: transformRESTTimestampToSDKTimestamp2,
2918
- paths: [
2919
- { path: "entity.firstPublishedDate" },
2920
- { path: "entity.lastPublishedDate" },
2921
- { path: "entity.richContent.metadata.createdTimestamp" },
2922
- { path: "entity.richContent.metadata.updatedTimestamp" },
2923
- { path: "entity.moderationDetails.submittedDate" },
2924
- { path: "entity.moderationDetails.moderationDate" },
2925
- { path: "metadata.eventTime" }
2926
- ]
2494
+ paths: TRANSFORM_PATHS_13
2927
2495
  },
2928
2496
  {
2929
2497
  transformFn: transformRESTPageURLToSDKPageURL2,
2930
- paths: [{ path: "entity.url" }, { path: "entity.translations.url" }]
2498
+ paths: TRANSFORM_PATHS_23
2931
2499
  },
2932
2500
  {
2933
2501
  transformFn: transformRESTImageToSDKImage2,
2934
- paths: [
2935
- { path: "entity.heroImage" },
2936
- { path: "entity.media.wixMedia.image" }
2937
- ]
2502
+ paths: TRANSFORM_PATHS_33
2938
2503
  },
2939
2504
  {
2940
2505
  transformFn: transformRESTBytesToSDKBytes2,
2941
- paths: [{ path: "entity.richContentCompressed" }]
2506
+ paths: TRANSFORM_PATHS_43
2942
2507
  },
2943
2508
  {
2944
2509
  transformFn: transformRESTFloatToSDKFloat2,
2945
- paths: [
2946
- { path: "entity.metrics.averageRating" },
2947
- {
2948
- path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerX"
2949
- },
2950
- {
2951
- path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerY"
2952
- },
2953
- {
2954
- path: "entity.richContent.nodes.buttonData.styles.background.gradient.stops.position"
2955
- },
2956
- {
2957
- path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
2958
- },
2959
- {
2960
- path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
2961
- },
2962
- {
2963
- path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
2964
- },
2965
- {
2966
- path: "entity.richContent.nodes.galleryData.items.image.media.duration"
2967
- },
2968
- {
2969
- path: "entity.richContent.nodes.galleryData.items.video.media.duration"
2970
- },
2971
- {
2972
- path: "entity.richContent.nodes.galleryData.items.video.thumbnail.duration"
2973
- },
2974
- { path: "entity.richContent.nodes.galleryData.options.item.ratio" },
2975
- { path: "entity.richContent.nodes.imageData.image.duration" },
2976
- { path: "entity.richContent.nodes.imageData.crop.x" },
2977
- { path: "entity.richContent.nodes.imageData.crop.y" },
2978
- { path: "entity.richContent.nodes.imageData.crop.width" },
2979
- { path: "entity.richContent.nodes.imageData.crop.height" },
2980
- { path: "entity.richContent.nodes.mapData.mapSettings.lat" },
2981
- { path: "entity.richContent.nodes.mapData.mapSettings.lng" },
2982
- { path: "entity.richContent.nodes.pollData.poll.image.duration" },
2983
- {
2984
- path: "entity.richContent.nodes.pollData.poll.options.image.duration"
2985
- },
2986
- {
2987
- path: "entity.richContent.nodes.pollData.design.poll.background.image.duration"
2988
- },
2989
- {
2990
- path: "entity.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
2991
- },
2992
- {
2993
- path: "entity.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
2994
- },
2995
- {
2996
- path: "entity.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
2997
- },
2998
- {
2999
- path: "entity.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
3000
- },
3001
- {
3002
- path: "entity.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
3003
- },
3004
- {
3005
- path: "entity.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
3006
- },
3007
- { path: "entity.richContent.nodes.appEmbedData.image.duration" },
3008
- { path: "entity.richContent.nodes.videoData.video.duration" },
3009
- { path: "entity.richContent.nodes.videoData.thumbnail.duration" },
3010
- { path: "entity.richContent.nodes.audioData.audio.duration" },
3011
- { path: "entity.richContent.nodes.audioData.coverImage.duration" },
3012
- {
3013
- path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
3014
- },
3015
- {
3016
- path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
3017
- },
3018
- {
3019
- path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
3020
- },
3021
- {
3022
- path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
3023
- },
3024
- {
3025
- path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
3026
- },
3027
- {
3028
- path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
3029
- },
3030
- {
3031
- path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
3032
- },
3033
- {
3034
- path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
3035
- },
3036
- {
3037
- path: "entity.richContent.nodes.layoutData.background.gradient.centerX"
3038
- },
3039
- {
3040
- path: "entity.richContent.nodes.layoutData.background.gradient.centerY"
3041
- },
3042
- {
3043
- path: "entity.richContent.nodes.layoutData.background.gradient.stops.position"
3044
- },
3045
- {
3046
- path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerX"
3047
- },
3048
- {
3049
- path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerY"
3050
- },
3051
- {
3052
- path: "entity.richContent.nodes.layoutData.backdrop.gradient.stops.position"
3053
- },
3054
- { path: "entity.richContent.nodes.shapeData.shape.duration" },
3055
- {
3056
- path: "entity.richContent.nodes.cardData.background.gradient.centerX"
3057
- },
3058
- {
3059
- path: "entity.richContent.nodes.cardData.background.gradient.centerY"
3060
- },
3061
- {
3062
- path: "entity.richContent.nodes.cardData.background.gradient.stops.position"
3063
- },
3064
- {
3065
- path: "entity.richContent.nodes.cardData.backgroundImage.media.duration"
3066
- },
3067
- {
3068
- path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
3069
- },
3070
- {
3071
- path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
3072
- },
3073
- {
3074
- path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
3075
- },
3076
- { path: "entity.richContent.nodes.tocData.fontSize" },
3077
- { path: "entity.richContent.nodes.tocData.itemSpacing" },
3078
- {
3079
- path: "entity.richContent.nodes.smartBlockCellData.shape.duration"
3080
- },
3081
- {
3082
- path: "entity.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
3083
- },
3084
- {
3085
- path: "entity.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
3086
- },
3087
- {
3088
- path: "entity.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
3089
- },
3090
- {
3091
- path: "entity.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
3092
- },
3093
- {
3094
- path: "entity.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
3095
- },
3096
- {
3097
- path: "entity.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
3098
- },
3099
- {
3100
- path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
3101
- },
3102
- {
3103
- path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
3104
- },
3105
- {
3106
- path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
3107
- },
3108
- {
3109
- path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
3110
- },
3111
- {
3112
- path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
3113
- },
3114
- {
3115
- path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
3116
- },
3117
- {
3118
- path: "entity.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
3119
- },
3120
- {
3121
- path: "entity.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
3122
- },
3123
- {
3124
- path: "entity.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
3125
- },
3126
- {
3127
- path: "entity.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
3128
- },
3129
- {
3130
- path: "entity.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
3131
- },
3132
- {
3133
- path: "entity.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
3134
- },
3135
- {
3136
- path: "entity.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
3137
- },
3138
- {
3139
- path: "entity.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
3140
- },
3141
- {
3142
- path: "entity.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
3143
- },
3144
- {
3145
- path: "entity.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
3146
- },
3147
- {
3148
- path: "entity.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
3149
- },
3150
- {
3151
- path: "entity.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
3152
- },
3153
- {
3154
- path: "entity.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
3155
- },
3156
- {
3157
- path: "entity.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
3158
- },
3159
- {
3160
- path: "entity.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
3161
- },
3162
- {
3163
- path: "entity.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
3164
- },
3165
- {
3166
- path: "entity.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
3167
- },
3168
- {
3169
- path: "entity.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
3170
- },
3171
- {
3172
- path: "entity.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
3173
- },
3174
- {
3175
- path: "entity.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
3176
- },
3177
- {
3178
- path: "entity.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
3179
- },
3180
- {
3181
- path: "entity.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
3182
- },
3183
- {
3184
- path: "entity.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
3185
- },
3186
- {
3187
- path: "entity.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
3188
- },
3189
- {
3190
- path: "entity.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
3191
- },
3192
- {
3193
- path: "entity.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
3194
- },
3195
- {
3196
- path: "entity.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
3197
- },
3198
- {
3199
- path: "entity.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
3200
- },
3201
- {
3202
- path: "entity.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
3203
- },
3204
- {
3205
- path: "entity.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
3206
- },
3207
- {
3208
- path: "entity.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
3209
- },
3210
- {
3211
- path: "entity.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
3212
- },
3213
- {
3214
- path: "entity.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
3215
- },
3216
- {
3217
- path: "entity.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
3218
- },
3219
- {
3220
- path: "entity.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
3221
- },
3222
- {
3223
- path: "entity.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
3224
- },
3225
- {
3226
- path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
3227
- },
3228
- {
3229
- path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
3230
- },
3231
- {
3232
- path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
3233
- },
3234
- {
3235
- path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
3236
- },
3237
- {
3238
- path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
3239
- },
3240
- {
3241
- path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
3242
- }
3243
- ]
2510
+ paths: TRANSFORM_PATHS_53
3244
2511
  },
3245
2512
  {
3246
2513
  transformFn: transformRESTVideoV2ToSDKVideoV22,
3247
- paths: [{ path: "entity.media.wixMedia.videoV2" }]
2514
+ paths: TRANSFORM_PATHS_62
3248
2515
  }
3249
2516
  ]),
3250
2517
  ["entity.rich_content"]
@@ -3257,336 +2524,27 @@ var onPostDeleted = /* @__PURE__ */ EventDefinition(
3257
2524
  transformPaths3(event, [
3258
2525
  {
3259
2526
  transformFn: transformRESTTimestampToSDKTimestamp2,
3260
- paths: [
3261
- { path: "entity.firstPublishedDate" },
3262
- { path: "entity.lastPublishedDate" },
3263
- { path: "entity.richContent.metadata.createdTimestamp" },
3264
- { path: "entity.richContent.metadata.updatedTimestamp" },
3265
- { path: "entity.moderationDetails.submittedDate" },
3266
- { path: "entity.moderationDetails.moderationDate" },
3267
- { path: "metadata.eventTime" }
3268
- ]
2527
+ paths: TRANSFORM_PATHS_13
3269
2528
  },
3270
2529
  {
3271
2530
  transformFn: transformRESTPageURLToSDKPageURL2,
3272
- paths: [{ path: "entity.url" }, { path: "entity.translations.url" }]
2531
+ paths: TRANSFORM_PATHS_23
3273
2532
  },
3274
2533
  {
3275
2534
  transformFn: transformRESTImageToSDKImage2,
3276
- paths: [
3277
- { path: "entity.heroImage" },
3278
- { path: "entity.media.wixMedia.image" }
3279
- ]
2535
+ paths: TRANSFORM_PATHS_33
3280
2536
  },
3281
2537
  {
3282
2538
  transformFn: transformRESTBytesToSDKBytes2,
3283
- paths: [{ path: "entity.richContentCompressed" }]
2539
+ paths: TRANSFORM_PATHS_43
3284
2540
  },
3285
2541
  {
3286
2542
  transformFn: transformRESTFloatToSDKFloat2,
3287
- paths: [
3288
- { path: "entity.metrics.averageRating" },
3289
- {
3290
- path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerX"
3291
- },
3292
- {
3293
- path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerY"
3294
- },
3295
- {
3296
- path: "entity.richContent.nodes.buttonData.styles.background.gradient.stops.position"
3297
- },
3298
- {
3299
- path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
3300
- },
3301
- {
3302
- path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
3303
- },
3304
- {
3305
- path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
3306
- },
3307
- {
3308
- path: "entity.richContent.nodes.galleryData.items.image.media.duration"
3309
- },
3310
- {
3311
- path: "entity.richContent.nodes.galleryData.items.video.media.duration"
3312
- },
3313
- {
3314
- path: "entity.richContent.nodes.galleryData.items.video.thumbnail.duration"
3315
- },
3316
- { path: "entity.richContent.nodes.galleryData.options.item.ratio" },
3317
- { path: "entity.richContent.nodes.imageData.image.duration" },
3318
- { path: "entity.richContent.nodes.imageData.crop.x" },
3319
- { path: "entity.richContent.nodes.imageData.crop.y" },
3320
- { path: "entity.richContent.nodes.imageData.crop.width" },
3321
- { path: "entity.richContent.nodes.imageData.crop.height" },
3322
- { path: "entity.richContent.nodes.mapData.mapSettings.lat" },
3323
- { path: "entity.richContent.nodes.mapData.mapSettings.lng" },
3324
- { path: "entity.richContent.nodes.pollData.poll.image.duration" },
3325
- {
3326
- path: "entity.richContent.nodes.pollData.poll.options.image.duration"
3327
- },
3328
- {
3329
- path: "entity.richContent.nodes.pollData.design.poll.background.image.duration"
3330
- },
3331
- {
3332
- path: "entity.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
3333
- },
3334
- {
3335
- path: "entity.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
3336
- },
3337
- {
3338
- path: "entity.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
3339
- },
3340
- {
3341
- path: "entity.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
3342
- },
3343
- {
3344
- path: "entity.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
3345
- },
3346
- {
3347
- path: "entity.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
3348
- },
3349
- { path: "entity.richContent.nodes.appEmbedData.image.duration" },
3350
- { path: "entity.richContent.nodes.videoData.video.duration" },
3351
- { path: "entity.richContent.nodes.videoData.thumbnail.duration" },
3352
- { path: "entity.richContent.nodes.audioData.audio.duration" },
3353
- { path: "entity.richContent.nodes.audioData.coverImage.duration" },
3354
- {
3355
- path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
3356
- },
3357
- {
3358
- path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
3359
- },
3360
- {
3361
- path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
3362
- },
3363
- {
3364
- path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
3365
- },
3366
- {
3367
- path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
3368
- },
3369
- {
3370
- path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
3371
- },
3372
- {
3373
- path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
3374
- },
3375
- {
3376
- path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
3377
- },
3378
- {
3379
- path: "entity.richContent.nodes.layoutData.background.gradient.centerX"
3380
- },
3381
- {
3382
- path: "entity.richContent.nodes.layoutData.background.gradient.centerY"
3383
- },
3384
- {
3385
- path: "entity.richContent.nodes.layoutData.background.gradient.stops.position"
3386
- },
3387
- {
3388
- path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerX"
3389
- },
3390
- {
3391
- path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerY"
3392
- },
3393
- {
3394
- path: "entity.richContent.nodes.layoutData.backdrop.gradient.stops.position"
3395
- },
3396
- { path: "entity.richContent.nodes.shapeData.shape.duration" },
3397
- {
3398
- path: "entity.richContent.nodes.cardData.background.gradient.centerX"
3399
- },
3400
- {
3401
- path: "entity.richContent.nodes.cardData.background.gradient.centerY"
3402
- },
3403
- {
3404
- path: "entity.richContent.nodes.cardData.background.gradient.stops.position"
3405
- },
3406
- {
3407
- path: "entity.richContent.nodes.cardData.backgroundImage.media.duration"
3408
- },
3409
- {
3410
- path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
3411
- },
3412
- {
3413
- path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
3414
- },
3415
- {
3416
- path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
3417
- },
3418
- { path: "entity.richContent.nodes.tocData.fontSize" },
3419
- { path: "entity.richContent.nodes.tocData.itemSpacing" },
3420
- {
3421
- path: "entity.richContent.nodes.smartBlockCellData.shape.duration"
3422
- },
3423
- {
3424
- path: "entity.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
3425
- },
3426
- {
3427
- path: "entity.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
3428
- },
3429
- {
3430
- path: "entity.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
3431
- },
3432
- {
3433
- path: "entity.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
3434
- },
3435
- {
3436
- path: "entity.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
3437
- },
3438
- {
3439
- path: "entity.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
3440
- },
3441
- {
3442
- path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
3443
- },
3444
- {
3445
- path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
3446
- },
3447
- {
3448
- path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
3449
- },
3450
- {
3451
- path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
3452
- },
3453
- {
3454
- path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
3455
- },
3456
- {
3457
- path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
3458
- },
3459
- {
3460
- path: "entity.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
3461
- },
3462
- {
3463
- path: "entity.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
3464
- },
3465
- {
3466
- path: "entity.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
3467
- },
3468
- {
3469
- path: "entity.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
3470
- },
3471
- {
3472
- path: "entity.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
3473
- },
3474
- {
3475
- path: "entity.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
3476
- },
3477
- {
3478
- path: "entity.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
3479
- },
3480
- {
3481
- path: "entity.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
3482
- },
3483
- {
3484
- path: "entity.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
3485
- },
3486
- {
3487
- path: "entity.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
3488
- },
3489
- {
3490
- path: "entity.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
3491
- },
3492
- {
3493
- path: "entity.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
3494
- },
3495
- {
3496
- path: "entity.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
3497
- },
3498
- {
3499
- path: "entity.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
3500
- },
3501
- {
3502
- path: "entity.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
3503
- },
3504
- {
3505
- path: "entity.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
3506
- },
3507
- {
3508
- path: "entity.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
3509
- },
3510
- {
3511
- path: "entity.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
3512
- },
3513
- {
3514
- path: "entity.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
3515
- },
3516
- {
3517
- path: "entity.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
3518
- },
3519
- {
3520
- path: "entity.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
3521
- },
3522
- {
3523
- path: "entity.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
3524
- },
3525
- {
3526
- path: "entity.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
3527
- },
3528
- {
3529
- path: "entity.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
3530
- },
3531
- {
3532
- path: "entity.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
3533
- },
3534
- {
3535
- path: "entity.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
3536
- },
3537
- {
3538
- path: "entity.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
3539
- },
3540
- {
3541
- path: "entity.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
3542
- },
3543
- {
3544
- path: "entity.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
3545
- },
3546
- {
3547
- path: "entity.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
3548
- },
3549
- {
3550
- path: "entity.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
3551
- },
3552
- {
3553
- path: "entity.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
3554
- },
3555
- {
3556
- path: "entity.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
3557
- },
3558
- {
3559
- path: "entity.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
3560
- },
3561
- {
3562
- path: "entity.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
3563
- },
3564
- {
3565
- path: "entity.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
3566
- },
3567
- {
3568
- path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
3569
- },
3570
- {
3571
- path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
3572
- },
3573
- {
3574
- path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
3575
- },
3576
- {
3577
- path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
3578
- },
3579
- {
3580
- path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
3581
- },
3582
- {
3583
- path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
3584
- }
3585
- ]
2543
+ paths: TRANSFORM_PATHS_53
3586
2544
  },
3587
2545
  {
3588
2546
  transformFn: transformRESTVideoV2ToSDKVideoV22,
3589
- paths: [{ path: "entity.media.wixMedia.videoV2" }]
2547
+ paths: TRANSFORM_PATHS_62
3590
2548
  }
3591
2549
  ]),
3592
2550
  ["entity.rich_content"]
@@ -3599,336 +2557,27 @@ var onPostUpdated = /* @__PURE__ */ EventDefinition(
3599
2557
  transformPaths3(event, [
3600
2558
  {
3601
2559
  transformFn: transformRESTTimestampToSDKTimestamp2,
3602
- paths: [
3603
- { path: "entity.firstPublishedDate" },
3604
- { path: "entity.lastPublishedDate" },
3605
- { path: "entity.richContent.metadata.createdTimestamp" },
3606
- { path: "entity.richContent.metadata.updatedTimestamp" },
3607
- { path: "entity.moderationDetails.submittedDate" },
3608
- { path: "entity.moderationDetails.moderationDate" },
3609
- { path: "metadata.eventTime" }
3610
- ]
2560
+ paths: TRANSFORM_PATHS_13
3611
2561
  },
3612
2562
  {
3613
2563
  transformFn: transformRESTPageURLToSDKPageURL2,
3614
- paths: [{ path: "entity.url" }, { path: "entity.translations.url" }]
2564
+ paths: TRANSFORM_PATHS_23
3615
2565
  },
3616
2566
  {
3617
2567
  transformFn: transformRESTImageToSDKImage2,
3618
- paths: [
3619
- { path: "entity.heroImage" },
3620
- { path: "entity.media.wixMedia.image" }
3621
- ]
2568
+ paths: TRANSFORM_PATHS_33
3622
2569
  },
3623
2570
  {
3624
2571
  transformFn: transformRESTBytesToSDKBytes2,
3625
- paths: [{ path: "entity.richContentCompressed" }]
2572
+ paths: TRANSFORM_PATHS_43
3626
2573
  },
3627
2574
  {
3628
2575
  transformFn: transformRESTFloatToSDKFloat2,
3629
- paths: [
3630
- { path: "entity.metrics.averageRating" },
3631
- {
3632
- path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerX"
3633
- },
3634
- {
3635
- path: "entity.richContent.nodes.buttonData.styles.background.gradient.centerY"
3636
- },
3637
- {
3638
- path: "entity.richContent.nodes.buttonData.styles.background.gradient.stops.position"
3639
- },
3640
- {
3641
- path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
3642
- },
3643
- {
3644
- path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
3645
- },
3646
- {
3647
- path: "entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
3648
- },
3649
- {
3650
- path: "entity.richContent.nodes.galleryData.items.image.media.duration"
3651
- },
3652
- {
3653
- path: "entity.richContent.nodes.galleryData.items.video.media.duration"
3654
- },
3655
- {
3656
- path: "entity.richContent.nodes.galleryData.items.video.thumbnail.duration"
3657
- },
3658
- { path: "entity.richContent.nodes.galleryData.options.item.ratio" },
3659
- { path: "entity.richContent.nodes.imageData.image.duration" },
3660
- { path: "entity.richContent.nodes.imageData.crop.x" },
3661
- { path: "entity.richContent.nodes.imageData.crop.y" },
3662
- { path: "entity.richContent.nodes.imageData.crop.width" },
3663
- { path: "entity.richContent.nodes.imageData.crop.height" },
3664
- { path: "entity.richContent.nodes.mapData.mapSettings.lat" },
3665
- { path: "entity.richContent.nodes.mapData.mapSettings.lng" },
3666
- { path: "entity.richContent.nodes.pollData.poll.image.duration" },
3667
- {
3668
- path: "entity.richContent.nodes.pollData.poll.options.image.duration"
3669
- },
3670
- {
3671
- path: "entity.richContent.nodes.pollData.design.poll.background.image.duration"
3672
- },
3673
- {
3674
- path: "entity.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
3675
- },
3676
- {
3677
- path: "entity.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
3678
- },
3679
- {
3680
- path: "entity.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
3681
- },
3682
- {
3683
- path: "entity.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
3684
- },
3685
- {
3686
- path: "entity.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
3687
- },
3688
- {
3689
- path: "entity.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
3690
- },
3691
- { path: "entity.richContent.nodes.appEmbedData.image.duration" },
3692
- { path: "entity.richContent.nodes.videoData.video.duration" },
3693
- { path: "entity.richContent.nodes.videoData.thumbnail.duration" },
3694
- { path: "entity.richContent.nodes.audioData.audio.duration" },
3695
- { path: "entity.richContent.nodes.audioData.coverImage.duration" },
3696
- {
3697
- path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
3698
- },
3699
- {
3700
- path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
3701
- },
3702
- {
3703
- path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
3704
- },
3705
- {
3706
- path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
3707
- },
3708
- {
3709
- path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
3710
- },
3711
- {
3712
- path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
3713
- },
3714
- {
3715
- path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
3716
- },
3717
- {
3718
- path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
3719
- },
3720
- {
3721
- path: "entity.richContent.nodes.layoutData.background.gradient.centerX"
3722
- },
3723
- {
3724
- path: "entity.richContent.nodes.layoutData.background.gradient.centerY"
3725
- },
3726
- {
3727
- path: "entity.richContent.nodes.layoutData.background.gradient.stops.position"
3728
- },
3729
- {
3730
- path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerX"
3731
- },
3732
- {
3733
- path: "entity.richContent.nodes.layoutData.backdrop.gradient.centerY"
3734
- },
3735
- {
3736
- path: "entity.richContent.nodes.layoutData.backdrop.gradient.stops.position"
3737
- },
3738
- { path: "entity.richContent.nodes.shapeData.shape.duration" },
3739
- {
3740
- path: "entity.richContent.nodes.cardData.background.gradient.centerX"
3741
- },
3742
- {
3743
- path: "entity.richContent.nodes.cardData.background.gradient.centerY"
3744
- },
3745
- {
3746
- path: "entity.richContent.nodes.cardData.background.gradient.stops.position"
3747
- },
3748
- {
3749
- path: "entity.richContent.nodes.cardData.backgroundImage.media.duration"
3750
- },
3751
- {
3752
- path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
3753
- },
3754
- {
3755
- path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
3756
- },
3757
- {
3758
- path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
3759
- },
3760
- { path: "entity.richContent.nodes.tocData.fontSize" },
3761
- { path: "entity.richContent.nodes.tocData.itemSpacing" },
3762
- {
3763
- path: "entity.richContent.nodes.smartBlockCellData.shape.duration"
3764
- },
3765
- {
3766
- path: "entity.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
3767
- },
3768
- {
3769
- path: "entity.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
3770
- },
3771
- {
3772
- path: "entity.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
3773
- },
3774
- {
3775
- path: "entity.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
3776
- },
3777
- {
3778
- path: "entity.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
3779
- },
3780
- {
3781
- path: "entity.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
3782
- },
3783
- {
3784
- path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
3785
- },
3786
- {
3787
- path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
3788
- },
3789
- {
3790
- path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
3791
- },
3792
- {
3793
- path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
3794
- },
3795
- {
3796
- path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
3797
- },
3798
- {
3799
- path: "entity.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
3800
- },
3801
- {
3802
- path: "entity.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
3803
- },
3804
- {
3805
- path: "entity.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
3806
- },
3807
- {
3808
- path: "entity.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
3809
- },
3810
- {
3811
- path: "entity.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
3812
- },
3813
- {
3814
- path: "entity.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
3815
- },
3816
- {
3817
- path: "entity.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
3818
- },
3819
- {
3820
- path: "entity.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
3821
- },
3822
- {
3823
- path: "entity.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
3824
- },
3825
- {
3826
- path: "entity.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
3827
- },
3828
- {
3829
- path: "entity.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
3830
- },
3831
- {
3832
- path: "entity.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
3833
- },
3834
- {
3835
- path: "entity.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
3836
- },
3837
- {
3838
- path: "entity.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
3839
- },
3840
- {
3841
- path: "entity.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
3842
- },
3843
- {
3844
- path: "entity.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
3845
- },
3846
- {
3847
- path: "entity.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
3848
- },
3849
- {
3850
- path: "entity.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
3851
- },
3852
- {
3853
- path: "entity.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
3854
- },
3855
- {
3856
- path: "entity.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
3857
- },
3858
- {
3859
- path: "entity.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
3860
- },
3861
- {
3862
- path: "entity.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
3863
- },
3864
- {
3865
- path: "entity.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
3866
- },
3867
- {
3868
- path: "entity.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
3869
- },
3870
- {
3871
- path: "entity.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
3872
- },
3873
- {
3874
- path: "entity.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
3875
- },
3876
- {
3877
- path: "entity.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
3878
- },
3879
- {
3880
- path: "entity.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
3881
- },
3882
- {
3883
- path: "entity.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
3884
- },
3885
- {
3886
- path: "entity.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
3887
- },
3888
- {
3889
- path: "entity.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
3890
- },
3891
- {
3892
- path: "entity.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
3893
- },
3894
- {
3895
- path: "entity.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
3896
- },
3897
- {
3898
- path: "entity.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
3899
- },
3900
- {
3901
- path: "entity.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
3902
- },
3903
- {
3904
- path: "entity.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
3905
- },
3906
- {
3907
- path: "entity.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
3908
- },
3909
- {
3910
- path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
3911
- },
3912
- {
3913
- path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
3914
- },
3915
- {
3916
- path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
3917
- },
3918
- {
3919
- path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
3920
- },
3921
- {
3922
- path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
3923
- },
3924
- {
3925
- path: "entity.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
3926
- }
3927
- ]
2576
+ paths: TRANSFORM_PATHS_53
3928
2577
  },
3929
2578
  {
3930
2579
  transformFn: transformRESTVideoV2ToSDKVideoV22,
3931
- paths: [{ path: "entity.media.wixMedia.videoV2" }]
2580
+ paths: TRANSFORM_PATHS_62
3932
2581
  }
3933
2582
  ]),
3934
2583
  ["entity.rich_content"]