@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.
@@ -119,6 +119,605 @@ var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
119
119
  var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
120
120
  var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
121
121
  var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
122
+ var TRANSFORM_PATHS_0 = [{ path: "rangeStart" }, { path: "rangeEnd" }];
123
+ var TRANSFORM_PATHS_1 = [{ path: "stats.periodStart" }];
124
+ var TRANSFORM_PATHS_2 = [
125
+ { path: "post.firstPublishedDate" },
126
+ { path: "post.lastPublishedDate" },
127
+ { path: "post.heroImage.urlExpirationDate" },
128
+ { path: "post.richContent.metadata.createdTimestamp" },
129
+ { path: "post.richContent.metadata.updatedTimestamp" },
130
+ { path: "post.moderationDetails.submittedDate" },
131
+ { path: "post.moderationDetails.moderationDate" },
132
+ { path: "post.media.wixMedia.image.urlExpirationDate" },
133
+ { path: "post.media.wixMedia.videoV2.urlExpirationDate" },
134
+ { path: "post.media.wixMedia.videoV2.resolutions.urlExpirationDate" },
135
+ { path: "post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate" },
136
+ { path: "post.media.wixMedia.videoV2.posters.urlExpirationDate" }
137
+ ];
138
+ var TRANSFORM_PATHS_3 = [{ path: "post.richContentCompressed" }];
139
+ var TRANSFORM_PATHS_4 = [
140
+ { path: "post.heroImage.focalPoint.x" },
141
+ { path: "post.heroImage.focalPoint.y" },
142
+ { path: "post.media.wixMedia.image.focalPoint.x" },
143
+ { path: "post.media.wixMedia.image.focalPoint.y" },
144
+ { path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.x" },
145
+ { path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.y" },
146
+ { path: "post.media.wixMedia.videoV2.posters.focalPoint.x" },
147
+ { path: "post.media.wixMedia.videoV2.posters.focalPoint.y" },
148
+ { path: "post.metrics.averageRating" },
149
+ {
150
+ path: "post.richContent.nodes.buttonData.styles.background.gradient.centerX"
151
+ },
152
+ {
153
+ path: "post.richContent.nodes.buttonData.styles.background.gradient.centerY"
154
+ },
155
+ {
156
+ path: "post.richContent.nodes.buttonData.styles.background.gradient.stops.position"
157
+ },
158
+ {
159
+ path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
160
+ },
161
+ {
162
+ path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
163
+ },
164
+ {
165
+ path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
166
+ },
167
+ { path: "post.richContent.nodes.galleryData.items.image.media.duration" },
168
+ { path: "post.richContent.nodes.galleryData.items.video.media.duration" },
169
+ { path: "post.richContent.nodes.galleryData.items.video.thumbnail.duration" },
170
+ { path: "post.richContent.nodes.galleryData.options.item.ratio" },
171
+ { path: "post.richContent.nodes.imageData.image.duration" },
172
+ { path: "post.richContent.nodes.imageData.crop.x" },
173
+ { path: "post.richContent.nodes.imageData.crop.y" },
174
+ { path: "post.richContent.nodes.imageData.crop.width" },
175
+ { path: "post.richContent.nodes.imageData.crop.height" },
176
+ { path: "post.richContent.nodes.mapData.mapSettings.lat" },
177
+ { path: "post.richContent.nodes.mapData.mapSettings.lng" },
178
+ { path: "post.richContent.nodes.pollData.poll.image.duration" },
179
+ { path: "post.richContent.nodes.pollData.poll.options.image.duration" },
180
+ {
181
+ path: "post.richContent.nodes.pollData.design.poll.background.image.duration"
182
+ },
183
+ {
184
+ path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
185
+ },
186
+ {
187
+ path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
188
+ },
189
+ {
190
+ path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
191
+ },
192
+ {
193
+ path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
194
+ },
195
+ {
196
+ path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
197
+ },
198
+ {
199
+ path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
200
+ },
201
+ { path: "post.richContent.nodes.appEmbedData.image.duration" },
202
+ { path: "post.richContent.nodes.videoData.video.duration" },
203
+ { path: "post.richContent.nodes.videoData.thumbnail.duration" },
204
+ { path: "post.richContent.nodes.audioData.audio.duration" },
205
+ { path: "post.richContent.nodes.audioData.coverImage.duration" },
206
+ { path: "post.richContent.nodes.layoutData.backgroundImage.media.duration" },
207
+ {
208
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
209
+ },
210
+ {
211
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
212
+ },
213
+ {
214
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
215
+ },
216
+ { path: "post.richContent.nodes.layoutData.backdropImage.media.duration" },
217
+ {
218
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
219
+ },
220
+ {
221
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
222
+ },
223
+ {
224
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
225
+ },
226
+ { path: "post.richContent.nodes.layoutData.background.gradient.centerX" },
227
+ { path: "post.richContent.nodes.layoutData.background.gradient.centerY" },
228
+ {
229
+ path: "post.richContent.nodes.layoutData.background.gradient.stops.position"
230
+ },
231
+ { path: "post.richContent.nodes.layoutData.backdrop.gradient.centerX" },
232
+ { path: "post.richContent.nodes.layoutData.backdrop.gradient.centerY" },
233
+ {
234
+ path: "post.richContent.nodes.layoutData.backdrop.gradient.stops.position"
235
+ },
236
+ { path: "post.richContent.nodes.shapeData.shape.duration" },
237
+ { path: "post.richContent.nodes.cardData.background.gradient.centerX" },
238
+ { path: "post.richContent.nodes.cardData.background.gradient.centerY" },
239
+ {
240
+ path: "post.richContent.nodes.cardData.background.gradient.stops.position"
241
+ },
242
+ { path: "post.richContent.nodes.cardData.backgroundImage.media.duration" },
243
+ {
244
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
245
+ },
246
+ {
247
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
248
+ },
249
+ {
250
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
251
+ },
252
+ { path: "post.richContent.nodes.tocData.fontSize" },
253
+ { path: "post.richContent.nodes.tocData.itemSpacing" },
254
+ { path: "post.richContent.nodes.smartBlockCellData.shape.duration" },
255
+ {
256
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
257
+ },
258
+ {
259
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
260
+ },
261
+ {
262
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
263
+ },
264
+ {
265
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
266
+ },
267
+ {
268
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
269
+ },
270
+ {
271
+ path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
272
+ },
273
+ {
274
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
275
+ },
276
+ {
277
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
278
+ },
279
+ {
280
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
281
+ },
282
+ {
283
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
284
+ },
285
+ {
286
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
287
+ },
288
+ {
289
+ path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
290
+ },
291
+ {
292
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
293
+ },
294
+ {
295
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
296
+ },
297
+ {
298
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
299
+ },
300
+ {
301
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
302
+ },
303
+ {
304
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
305
+ },
306
+ {
307
+ path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
308
+ },
309
+ {
310
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
311
+ },
312
+ {
313
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
314
+ },
315
+ {
316
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
317
+ },
318
+ {
319
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
320
+ },
321
+ {
322
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
323
+ },
324
+ {
325
+ path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
326
+ },
327
+ {
328
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
329
+ },
330
+ {
331
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
332
+ },
333
+ {
334
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
335
+ },
336
+ {
337
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
338
+ },
339
+ {
340
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
341
+ },
342
+ {
343
+ path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
344
+ },
345
+ {
346
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
347
+ },
348
+ {
349
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
350
+ },
351
+ {
352
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
353
+ },
354
+ {
355
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
356
+ },
357
+ {
358
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
359
+ },
360
+ {
361
+ path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
362
+ },
363
+ {
364
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
365
+ },
366
+ {
367
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
368
+ },
369
+ {
370
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
371
+ },
372
+ {
373
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
374
+ },
375
+ {
376
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
377
+ },
378
+ {
379
+ path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
380
+ },
381
+ {
382
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
383
+ },
384
+ {
385
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
386
+ },
387
+ {
388
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
389
+ },
390
+ {
391
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
392
+ },
393
+ {
394
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
395
+ },
396
+ {
397
+ path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
398
+ },
399
+ {
400
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
401
+ },
402
+ {
403
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
404
+ },
405
+ {
406
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
407
+ },
408
+ {
409
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
410
+ },
411
+ {
412
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
413
+ },
414
+ {
415
+ path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
416
+ }
417
+ ];
418
+ var TRANSFORM_PATHS_5 = [
419
+ { path: "posts.firstPublishedDate" },
420
+ { path: "posts.lastPublishedDate" },
421
+ { path: "posts.heroImage.urlExpirationDate" },
422
+ { path: "posts.richContent.metadata.createdTimestamp" },
423
+ { path: "posts.richContent.metadata.updatedTimestamp" },
424
+ { path: "posts.moderationDetails.submittedDate" },
425
+ { path: "posts.moderationDetails.moderationDate" },
426
+ { path: "posts.media.wixMedia.image.urlExpirationDate" },
427
+ { path: "posts.media.wixMedia.videoV2.urlExpirationDate" },
428
+ { path: "posts.media.wixMedia.videoV2.resolutions.urlExpirationDate" },
429
+ { path: "posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate" },
430
+ { path: "posts.media.wixMedia.videoV2.posters.urlExpirationDate" }
431
+ ];
432
+ var TRANSFORM_PATHS_6 = [{ path: "posts.richContentCompressed" }];
433
+ var TRANSFORM_PATHS_7 = [
434
+ { path: "posts.heroImage.focalPoint.x" },
435
+ { path: "posts.heroImage.focalPoint.y" },
436
+ { path: "posts.media.wixMedia.image.focalPoint.x" },
437
+ { path: "posts.media.wixMedia.image.focalPoint.y" },
438
+ { path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x" },
439
+ { path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y" },
440
+ { path: "posts.media.wixMedia.videoV2.posters.focalPoint.x" },
441
+ { path: "posts.media.wixMedia.videoV2.posters.focalPoint.y" },
442
+ { path: "posts.metrics.averageRating" },
443
+ {
444
+ path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerX"
445
+ },
446
+ {
447
+ path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerY"
448
+ },
449
+ {
450
+ path: "posts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
451
+ },
452
+ {
453
+ path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
454
+ },
455
+ {
456
+ path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
457
+ },
458
+ {
459
+ path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
460
+ },
461
+ { path: "posts.richContent.nodes.galleryData.items.image.media.duration" },
462
+ { path: "posts.richContent.nodes.galleryData.items.video.media.duration" },
463
+ {
464
+ path: "posts.richContent.nodes.galleryData.items.video.thumbnail.duration"
465
+ },
466
+ { path: "posts.richContent.nodes.galleryData.options.item.ratio" },
467
+ { path: "posts.richContent.nodes.imageData.image.duration" },
468
+ { path: "posts.richContent.nodes.imageData.crop.x" },
469
+ { path: "posts.richContent.nodes.imageData.crop.y" },
470
+ { path: "posts.richContent.nodes.imageData.crop.width" },
471
+ { path: "posts.richContent.nodes.imageData.crop.height" },
472
+ { path: "posts.richContent.nodes.mapData.mapSettings.lat" },
473
+ { path: "posts.richContent.nodes.mapData.mapSettings.lng" },
474
+ { path: "posts.richContent.nodes.pollData.poll.image.duration" },
475
+ { path: "posts.richContent.nodes.pollData.poll.options.image.duration" },
476
+ {
477
+ path: "posts.richContent.nodes.pollData.design.poll.background.image.duration"
478
+ },
479
+ {
480
+ path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
481
+ },
482
+ {
483
+ path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
484
+ },
485
+ {
486
+ path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
487
+ },
488
+ {
489
+ path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
490
+ },
491
+ {
492
+ path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
493
+ },
494
+ {
495
+ path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
496
+ },
497
+ { path: "posts.richContent.nodes.appEmbedData.image.duration" },
498
+ { path: "posts.richContent.nodes.videoData.video.duration" },
499
+ { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
500
+ { path: "posts.richContent.nodes.audioData.audio.duration" },
501
+ { path: "posts.richContent.nodes.audioData.coverImage.duration" },
502
+ { path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration" },
503
+ {
504
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
505
+ },
506
+ {
507
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
508
+ },
509
+ {
510
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
511
+ },
512
+ { path: "posts.richContent.nodes.layoutData.backdropImage.media.duration" },
513
+ {
514
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
515
+ },
516
+ {
517
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
518
+ },
519
+ {
520
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
521
+ },
522
+ { path: "posts.richContent.nodes.layoutData.background.gradient.centerX" },
523
+ { path: "posts.richContent.nodes.layoutData.background.gradient.centerY" },
524
+ {
525
+ path: "posts.richContent.nodes.layoutData.background.gradient.stops.position"
526
+ },
527
+ { path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerX" },
528
+ { path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerY" },
529
+ {
530
+ path: "posts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
531
+ },
532
+ { path: "posts.richContent.nodes.shapeData.shape.duration" },
533
+ { path: "posts.richContent.nodes.cardData.background.gradient.centerX" },
534
+ { path: "posts.richContent.nodes.cardData.background.gradient.centerY" },
535
+ {
536
+ path: "posts.richContent.nodes.cardData.background.gradient.stops.position"
537
+ },
538
+ { path: "posts.richContent.nodes.cardData.backgroundImage.media.duration" },
539
+ {
540
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
541
+ },
542
+ {
543
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
544
+ },
545
+ {
546
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
547
+ },
548
+ { path: "posts.richContent.nodes.tocData.fontSize" },
549
+ { path: "posts.richContent.nodes.tocData.itemSpacing" },
550
+ { path: "posts.richContent.nodes.smartBlockCellData.shape.duration" },
551
+ {
552
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
553
+ },
554
+ {
555
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
556
+ },
557
+ {
558
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
559
+ },
560
+ {
561
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
562
+ },
563
+ {
564
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
565
+ },
566
+ {
567
+ path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
568
+ },
569
+ {
570
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
571
+ },
572
+ {
573
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
574
+ },
575
+ {
576
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
577
+ },
578
+ {
579
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
580
+ },
581
+ {
582
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
583
+ },
584
+ {
585
+ path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
586
+ },
587
+ {
588
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
589
+ },
590
+ {
591
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
592
+ },
593
+ {
594
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
595
+ },
596
+ {
597
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
598
+ },
599
+ {
600
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
601
+ },
602
+ {
603
+ path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
604
+ },
605
+ {
606
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
607
+ },
608
+ {
609
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
610
+ },
611
+ {
612
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
613
+ },
614
+ {
615
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
616
+ },
617
+ {
618
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
619
+ },
620
+ {
621
+ path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
622
+ },
623
+ {
624
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
625
+ },
626
+ {
627
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
628
+ },
629
+ {
630
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
631
+ },
632
+ {
633
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
634
+ },
635
+ {
636
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
637
+ },
638
+ {
639
+ path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
640
+ },
641
+ {
642
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
643
+ },
644
+ {
645
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
646
+ },
647
+ {
648
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
649
+ },
650
+ {
651
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
652
+ },
653
+ {
654
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
655
+ },
656
+ {
657
+ path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
658
+ },
659
+ {
660
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
661
+ },
662
+ {
663
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
664
+ },
665
+ {
666
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
667
+ },
668
+ {
669
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
670
+ },
671
+ {
672
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
673
+ },
674
+ {
675
+ path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
676
+ },
677
+ {
678
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
679
+ },
680
+ {
681
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
682
+ },
683
+ {
684
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
685
+ },
686
+ {
687
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
688
+ },
689
+ {
690
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
691
+ },
692
+ {
693
+ path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
694
+ },
695
+ {
696
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
697
+ },
698
+ {
699
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
700
+ },
701
+ {
702
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
703
+ },
704
+ {
705
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
706
+ },
707
+ {
708
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
709
+ },
710
+ {
711
+ path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
712
+ }
713
+ ];
714
+ var TRANSFORM_PATHS_8 = [
715
+ { path: "sort.origin.latitude" },
716
+ { path: "sort.origin.longitude" },
717
+ { path: "query.sort.origin.latitude" },
718
+ { path: "query.sort.origin.longitude" }
719
+ ];
720
+ var TRANSFORM_PATHS_9 = [{ path: "metrics.averageRating" }];
122
721
  function resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl(opts) {
123
722
  const domainToMappings = {
124
723
  _: [
@@ -367,7 +966,7 @@ function queryPostCountStats(payload) {
367
966
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
368
967
  {
369
968
  transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
370
- paths: [{ path: "rangeStart" }, { path: "rangeEnd" }]
969
+ paths: TRANSFORM_PATHS_0
371
970
  }
372
971
  ]);
373
972
  const metadata = {
@@ -387,7 +986,7 @@ function queryPostCountStats(payload) {
387
986
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
388
987
  {
389
988
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
390
- paths: [{ path: "stats.periodStart" }]
989
+ paths: TRANSFORM_PATHS_1
391
990
  }
392
991
  ])
393
992
  };
@@ -435,342 +1034,15 @@ function getPost(payload) {
435
1034
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
436
1035
  {
437
1036
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
438
- paths: [
439
- { path: "post.firstPublishedDate" },
440
- { path: "post.lastPublishedDate" },
441
- { path: "post.heroImage.urlExpirationDate" },
442
- { path: "post.richContent.metadata.createdTimestamp" },
443
- { path: "post.richContent.metadata.updatedTimestamp" },
444
- { path: "post.moderationDetails.submittedDate" },
445
- { path: "post.moderationDetails.moderationDate" },
446
- { path: "post.media.wixMedia.image.urlExpirationDate" },
447
- { path: "post.media.wixMedia.videoV2.urlExpirationDate" },
448
- {
449
- path: "post.media.wixMedia.videoV2.resolutions.urlExpirationDate"
450
- },
451
- {
452
- path: "post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
453
- },
454
- { path: "post.media.wixMedia.videoV2.posters.urlExpirationDate" }
455
- ]
1037
+ paths: TRANSFORM_PATHS_2
456
1038
  },
457
1039
  {
458
1040
  transformFn: import_bytes.transformRESTBytesToSDKBytes,
459
- paths: [{ path: "post.richContentCompressed" }]
1041
+ paths: TRANSFORM_PATHS_3
460
1042
  },
461
1043
  {
462
1044
  transformFn: import_float2.transformRESTFloatToSDKFloat,
463
- paths: [
464
- { path: "post.heroImage.focalPoint.x" },
465
- { path: "post.heroImage.focalPoint.y" },
466
- { path: "post.media.wixMedia.image.focalPoint.x" },
467
- { path: "post.media.wixMedia.image.focalPoint.y" },
468
- {
469
- path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
470
- },
471
- {
472
- path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
473
- },
474
- { path: "post.media.wixMedia.videoV2.posters.focalPoint.x" },
475
- { path: "post.media.wixMedia.videoV2.posters.focalPoint.y" },
476
- { path: "post.metrics.averageRating" },
477
- {
478
- path: "post.richContent.nodes.buttonData.styles.background.gradient.centerX"
479
- },
480
- {
481
- path: "post.richContent.nodes.buttonData.styles.background.gradient.centerY"
482
- },
483
- {
484
- path: "post.richContent.nodes.buttonData.styles.background.gradient.stops.position"
485
- },
486
- {
487
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
488
- },
489
- {
490
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
491
- },
492
- {
493
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
494
- },
495
- {
496
- path: "post.richContent.nodes.galleryData.items.image.media.duration"
497
- },
498
- {
499
- path: "post.richContent.nodes.galleryData.items.video.media.duration"
500
- },
501
- {
502
- path: "post.richContent.nodes.galleryData.items.video.thumbnail.duration"
503
- },
504
- { path: "post.richContent.nodes.galleryData.options.item.ratio" },
505
- { path: "post.richContent.nodes.imageData.image.duration" },
506
- { path: "post.richContent.nodes.imageData.crop.x" },
507
- { path: "post.richContent.nodes.imageData.crop.y" },
508
- { path: "post.richContent.nodes.imageData.crop.width" },
509
- { path: "post.richContent.nodes.imageData.crop.height" },
510
- { path: "post.richContent.nodes.mapData.mapSettings.lat" },
511
- { path: "post.richContent.nodes.mapData.mapSettings.lng" },
512
- { path: "post.richContent.nodes.pollData.poll.image.duration" },
513
- {
514
- path: "post.richContent.nodes.pollData.poll.options.image.duration"
515
- },
516
- {
517
- path: "post.richContent.nodes.pollData.design.poll.background.image.duration"
518
- },
519
- {
520
- path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
521
- },
522
- {
523
- path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
524
- },
525
- {
526
- path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
527
- },
528
- {
529
- path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
530
- },
531
- {
532
- path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
533
- },
534
- {
535
- path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
536
- },
537
- { path: "post.richContent.nodes.appEmbedData.image.duration" },
538
- { path: "post.richContent.nodes.videoData.video.duration" },
539
- { path: "post.richContent.nodes.videoData.thumbnail.duration" },
540
- { path: "post.richContent.nodes.audioData.audio.duration" },
541
- { path: "post.richContent.nodes.audioData.coverImage.duration" },
542
- {
543
- path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
544
- },
545
- {
546
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
547
- },
548
- {
549
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
550
- },
551
- {
552
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
553
- },
554
- {
555
- path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
556
- },
557
- {
558
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
559
- },
560
- {
561
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
562
- },
563
- {
564
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
565
- },
566
- {
567
- path: "post.richContent.nodes.layoutData.background.gradient.centerX"
568
- },
569
- {
570
- path: "post.richContent.nodes.layoutData.background.gradient.centerY"
571
- },
572
- {
573
- path: "post.richContent.nodes.layoutData.background.gradient.stops.position"
574
- },
575
- {
576
- path: "post.richContent.nodes.layoutData.backdrop.gradient.centerX"
577
- },
578
- {
579
- path: "post.richContent.nodes.layoutData.backdrop.gradient.centerY"
580
- },
581
- {
582
- path: "post.richContent.nodes.layoutData.backdrop.gradient.stops.position"
583
- },
584
- { path: "post.richContent.nodes.shapeData.shape.duration" },
585
- {
586
- path: "post.richContent.nodes.cardData.background.gradient.centerX"
587
- },
588
- {
589
- path: "post.richContent.nodes.cardData.background.gradient.centerY"
590
- },
591
- {
592
- path: "post.richContent.nodes.cardData.background.gradient.stops.position"
593
- },
594
- {
595
- path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
596
- },
597
- {
598
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
599
- },
600
- {
601
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
602
- },
603
- {
604
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
605
- },
606
- { path: "post.richContent.nodes.tocData.fontSize" },
607
- { path: "post.richContent.nodes.tocData.itemSpacing" },
608
- {
609
- path: "post.richContent.nodes.smartBlockCellData.shape.duration"
610
- },
611
- {
612
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
613
- },
614
- {
615
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
616
- },
617
- {
618
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
619
- },
620
- {
621
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
622
- },
623
- {
624
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
625
- },
626
- {
627
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
628
- },
629
- {
630
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
631
- },
632
- {
633
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
634
- },
635
- {
636
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
637
- },
638
- {
639
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
640
- },
641
- {
642
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
643
- },
644
- {
645
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
646
- },
647
- {
648
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
649
- },
650
- {
651
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
652
- },
653
- {
654
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
655
- },
656
- {
657
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
658
- },
659
- {
660
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
661
- },
662
- {
663
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
664
- },
665
- {
666
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
667
- },
668
- {
669
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
670
- },
671
- {
672
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
673
- },
674
- {
675
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
676
- },
677
- {
678
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
679
- },
680
- {
681
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
682
- },
683
- {
684
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
685
- },
686
- {
687
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
688
- },
689
- {
690
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
691
- },
692
- {
693
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
694
- },
695
- {
696
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
697
- },
698
- {
699
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
700
- },
701
- {
702
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
703
- },
704
- {
705
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
706
- },
707
- {
708
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
709
- },
710
- {
711
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
712
- },
713
- {
714
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
715
- },
716
- {
717
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
718
- },
719
- {
720
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
721
- },
722
- {
723
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
724
- },
725
- {
726
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
727
- },
728
- {
729
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
730
- },
731
- {
732
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
733
- },
734
- {
735
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
736
- },
737
- {
738
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
739
- },
740
- {
741
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
742
- },
743
- {
744
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
745
- },
746
- {
747
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
748
- },
749
- {
750
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
751
- },
752
- {
753
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
754
- },
755
- {
756
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
757
- },
758
- {
759
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
760
- },
761
- {
762
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
763
- },
764
- {
765
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
766
- },
767
- {
768
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
769
- },
770
- {
771
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
772
- }
773
- ]
1045
+ paths: TRANSFORM_PATHS_4
774
1046
  }
775
1047
  ])
776
1048
  };
@@ -797,342 +1069,15 @@ function getPostBySlug(payload) {
797
1069
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
798
1070
  {
799
1071
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
800
- paths: [
801
- { path: "post.firstPublishedDate" },
802
- { path: "post.lastPublishedDate" },
803
- { path: "post.heroImage.urlExpirationDate" },
804
- { path: "post.richContent.metadata.createdTimestamp" },
805
- { path: "post.richContent.metadata.updatedTimestamp" },
806
- { path: "post.moderationDetails.submittedDate" },
807
- { path: "post.moderationDetails.moderationDate" },
808
- { path: "post.media.wixMedia.image.urlExpirationDate" },
809
- { path: "post.media.wixMedia.videoV2.urlExpirationDate" },
810
- {
811
- path: "post.media.wixMedia.videoV2.resolutions.urlExpirationDate"
812
- },
813
- {
814
- path: "post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
815
- },
816
- { path: "post.media.wixMedia.videoV2.posters.urlExpirationDate" }
817
- ]
1072
+ paths: TRANSFORM_PATHS_2
818
1073
  },
819
1074
  {
820
1075
  transformFn: import_bytes.transformRESTBytesToSDKBytes,
821
- paths: [{ path: "post.richContentCompressed" }]
1076
+ paths: TRANSFORM_PATHS_3
822
1077
  },
823
1078
  {
824
1079
  transformFn: import_float2.transformRESTFloatToSDKFloat,
825
- paths: [
826
- { path: "post.heroImage.focalPoint.x" },
827
- { path: "post.heroImage.focalPoint.y" },
828
- { path: "post.media.wixMedia.image.focalPoint.x" },
829
- { path: "post.media.wixMedia.image.focalPoint.y" },
830
- {
831
- path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
832
- },
833
- {
834
- path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
835
- },
836
- { path: "post.media.wixMedia.videoV2.posters.focalPoint.x" },
837
- { path: "post.media.wixMedia.videoV2.posters.focalPoint.y" },
838
- { path: "post.metrics.averageRating" },
839
- {
840
- path: "post.richContent.nodes.buttonData.styles.background.gradient.centerX"
841
- },
842
- {
843
- path: "post.richContent.nodes.buttonData.styles.background.gradient.centerY"
844
- },
845
- {
846
- path: "post.richContent.nodes.buttonData.styles.background.gradient.stops.position"
847
- },
848
- {
849
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
850
- },
851
- {
852
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
853
- },
854
- {
855
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
856
- },
857
- {
858
- path: "post.richContent.nodes.galleryData.items.image.media.duration"
859
- },
860
- {
861
- path: "post.richContent.nodes.galleryData.items.video.media.duration"
862
- },
863
- {
864
- path: "post.richContent.nodes.galleryData.items.video.thumbnail.duration"
865
- },
866
- { path: "post.richContent.nodes.galleryData.options.item.ratio" },
867
- { path: "post.richContent.nodes.imageData.image.duration" },
868
- { path: "post.richContent.nodes.imageData.crop.x" },
869
- { path: "post.richContent.nodes.imageData.crop.y" },
870
- { path: "post.richContent.nodes.imageData.crop.width" },
871
- { path: "post.richContent.nodes.imageData.crop.height" },
872
- { path: "post.richContent.nodes.mapData.mapSettings.lat" },
873
- { path: "post.richContent.nodes.mapData.mapSettings.lng" },
874
- { path: "post.richContent.nodes.pollData.poll.image.duration" },
875
- {
876
- path: "post.richContent.nodes.pollData.poll.options.image.duration"
877
- },
878
- {
879
- path: "post.richContent.nodes.pollData.design.poll.background.image.duration"
880
- },
881
- {
882
- path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
883
- },
884
- {
885
- path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
886
- },
887
- {
888
- path: "post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
889
- },
890
- {
891
- path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
892
- },
893
- {
894
- path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
895
- },
896
- {
897
- path: "post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
898
- },
899
- { path: "post.richContent.nodes.appEmbedData.image.duration" },
900
- { path: "post.richContent.nodes.videoData.video.duration" },
901
- { path: "post.richContent.nodes.videoData.thumbnail.duration" },
902
- { path: "post.richContent.nodes.audioData.audio.duration" },
903
- { path: "post.richContent.nodes.audioData.coverImage.duration" },
904
- {
905
- path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
906
- },
907
- {
908
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
909
- },
910
- {
911
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
912
- },
913
- {
914
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
915
- },
916
- {
917
- path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
918
- },
919
- {
920
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
921
- },
922
- {
923
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
924
- },
925
- {
926
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
927
- },
928
- {
929
- path: "post.richContent.nodes.layoutData.background.gradient.centerX"
930
- },
931
- {
932
- path: "post.richContent.nodes.layoutData.background.gradient.centerY"
933
- },
934
- {
935
- path: "post.richContent.nodes.layoutData.background.gradient.stops.position"
936
- },
937
- {
938
- path: "post.richContent.nodes.layoutData.backdrop.gradient.centerX"
939
- },
940
- {
941
- path: "post.richContent.nodes.layoutData.backdrop.gradient.centerY"
942
- },
943
- {
944
- path: "post.richContent.nodes.layoutData.backdrop.gradient.stops.position"
945
- },
946
- { path: "post.richContent.nodes.shapeData.shape.duration" },
947
- {
948
- path: "post.richContent.nodes.cardData.background.gradient.centerX"
949
- },
950
- {
951
- path: "post.richContent.nodes.cardData.background.gradient.centerY"
952
- },
953
- {
954
- path: "post.richContent.nodes.cardData.background.gradient.stops.position"
955
- },
956
- {
957
- path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
958
- },
959
- {
960
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
961
- },
962
- {
963
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
964
- },
965
- {
966
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
967
- },
968
- { path: "post.richContent.nodes.tocData.fontSize" },
969
- { path: "post.richContent.nodes.tocData.itemSpacing" },
970
- {
971
- path: "post.richContent.nodes.smartBlockCellData.shape.duration"
972
- },
973
- {
974
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
975
- },
976
- {
977
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
978
- },
979
- {
980
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
981
- },
982
- {
983
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
984
- },
985
- {
986
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
987
- },
988
- {
989
- path: "post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
990
- },
991
- {
992
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
993
- },
994
- {
995
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
996
- },
997
- {
998
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
999
- },
1000
- {
1001
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
1002
- },
1003
- {
1004
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
1005
- },
1006
- {
1007
- path: "post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
1008
- },
1009
- {
1010
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
1011
- },
1012
- {
1013
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
1014
- },
1015
- {
1016
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
1017
- },
1018
- {
1019
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
1020
- },
1021
- {
1022
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
1023
- },
1024
- {
1025
- path: "post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
1026
- },
1027
- {
1028
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
1029
- },
1030
- {
1031
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
1032
- },
1033
- {
1034
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
1035
- },
1036
- {
1037
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
1038
- },
1039
- {
1040
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
1041
- },
1042
- {
1043
- path: "post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
1044
- },
1045
- {
1046
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
1047
- },
1048
- {
1049
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
1050
- },
1051
- {
1052
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
1053
- },
1054
- {
1055
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
1056
- },
1057
- {
1058
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
1059
- },
1060
- {
1061
- path: "post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
1062
- },
1063
- {
1064
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
1065
- },
1066
- {
1067
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
1068
- },
1069
- {
1070
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
1071
- },
1072
- {
1073
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
1074
- },
1075
- {
1076
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
1077
- },
1078
- {
1079
- path: "post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
1080
- },
1081
- {
1082
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
1083
- },
1084
- {
1085
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
1086
- },
1087
- {
1088
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
1089
- },
1090
- {
1091
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
1092
- },
1093
- {
1094
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
1095
- },
1096
- {
1097
- path: "post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
1098
- },
1099
- {
1100
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
1101
- },
1102
- {
1103
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
1104
- },
1105
- {
1106
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
1107
- },
1108
- {
1109
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
1110
- },
1111
- {
1112
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
1113
- },
1114
- {
1115
- path: "post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
1116
- },
1117
- {
1118
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
1119
- },
1120
- {
1121
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
1122
- },
1123
- {
1124
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
1125
- },
1126
- {
1127
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
1128
- },
1129
- {
1130
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
1131
- },
1132
- {
1133
- path: "post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
1134
- }
1135
- ]
1080
+ paths: TRANSFORM_PATHS_4
1136
1081
  }
1137
1082
  ])
1138
1083
  };
@@ -1159,346 +1104,15 @@ function listPosts(payload) {
1159
1104
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1160
1105
  {
1161
1106
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1162
- paths: [
1163
- { path: "posts.firstPublishedDate" },
1164
- { path: "posts.lastPublishedDate" },
1165
- { path: "posts.heroImage.urlExpirationDate" },
1166
- { path: "posts.richContent.metadata.createdTimestamp" },
1167
- { path: "posts.richContent.metadata.updatedTimestamp" },
1168
- { path: "posts.moderationDetails.submittedDate" },
1169
- { path: "posts.moderationDetails.moderationDate" },
1170
- { path: "posts.media.wixMedia.image.urlExpirationDate" },
1171
- { path: "posts.media.wixMedia.videoV2.urlExpirationDate" },
1172
- {
1173
- path: "posts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
1174
- },
1175
- {
1176
- path: "posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
1177
- },
1178
- {
1179
- path: "posts.media.wixMedia.videoV2.posters.urlExpirationDate"
1180
- }
1181
- ]
1107
+ paths: TRANSFORM_PATHS_5
1182
1108
  },
1183
1109
  {
1184
1110
  transformFn: import_bytes.transformRESTBytesToSDKBytes,
1185
- paths: [{ path: "posts.richContentCompressed" }]
1111
+ paths: TRANSFORM_PATHS_6
1186
1112
  },
1187
1113
  {
1188
1114
  transformFn: import_float2.transformRESTFloatToSDKFloat,
1189
- paths: [
1190
- { path: "posts.heroImage.focalPoint.x" },
1191
- { path: "posts.heroImage.focalPoint.y" },
1192
- { path: "posts.media.wixMedia.image.focalPoint.x" },
1193
- { path: "posts.media.wixMedia.image.focalPoint.y" },
1194
- {
1195
- path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
1196
- },
1197
- {
1198
- path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
1199
- },
1200
- { path: "posts.media.wixMedia.videoV2.posters.focalPoint.x" },
1201
- { path: "posts.media.wixMedia.videoV2.posters.focalPoint.y" },
1202
- { path: "posts.metrics.averageRating" },
1203
- {
1204
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerX"
1205
- },
1206
- {
1207
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerY"
1208
- },
1209
- {
1210
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
1211
- },
1212
- {
1213
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
1214
- },
1215
- {
1216
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
1217
- },
1218
- {
1219
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
1220
- },
1221
- {
1222
- path: "posts.richContent.nodes.galleryData.items.image.media.duration"
1223
- },
1224
- {
1225
- path: "posts.richContent.nodes.galleryData.items.video.media.duration"
1226
- },
1227
- {
1228
- path: "posts.richContent.nodes.galleryData.items.video.thumbnail.duration"
1229
- },
1230
- {
1231
- path: "posts.richContent.nodes.galleryData.options.item.ratio"
1232
- },
1233
- { path: "posts.richContent.nodes.imageData.image.duration" },
1234
- { path: "posts.richContent.nodes.imageData.crop.x" },
1235
- { path: "posts.richContent.nodes.imageData.crop.y" },
1236
- { path: "posts.richContent.nodes.imageData.crop.width" },
1237
- { path: "posts.richContent.nodes.imageData.crop.height" },
1238
- { path: "posts.richContent.nodes.mapData.mapSettings.lat" },
1239
- { path: "posts.richContent.nodes.mapData.mapSettings.lng" },
1240
- { path: "posts.richContent.nodes.pollData.poll.image.duration" },
1241
- {
1242
- path: "posts.richContent.nodes.pollData.poll.options.image.duration"
1243
- },
1244
- {
1245
- path: "posts.richContent.nodes.pollData.design.poll.background.image.duration"
1246
- },
1247
- {
1248
- path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
1249
- },
1250
- {
1251
- path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
1252
- },
1253
- {
1254
- path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
1255
- },
1256
- {
1257
- path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
1258
- },
1259
- {
1260
- path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
1261
- },
1262
- {
1263
- path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
1264
- },
1265
- { path: "posts.richContent.nodes.appEmbedData.image.duration" },
1266
- { path: "posts.richContent.nodes.videoData.video.duration" },
1267
- { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
1268
- { path: "posts.richContent.nodes.audioData.audio.duration" },
1269
- { path: "posts.richContent.nodes.audioData.coverImage.duration" },
1270
- {
1271
- path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
1272
- },
1273
- {
1274
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1275
- },
1276
- {
1277
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1278
- },
1279
- {
1280
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1281
- },
1282
- {
1283
- path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
1284
- },
1285
- {
1286
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1287
- },
1288
- {
1289
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1290
- },
1291
- {
1292
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1293
- },
1294
- {
1295
- path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
1296
- },
1297
- {
1298
- path: "posts.richContent.nodes.layoutData.background.gradient.centerY"
1299
- },
1300
- {
1301
- path: "posts.richContent.nodes.layoutData.background.gradient.stops.position"
1302
- },
1303
- {
1304
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerX"
1305
- },
1306
- {
1307
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerY"
1308
- },
1309
- {
1310
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1311
- },
1312
- { path: "posts.richContent.nodes.shapeData.shape.duration" },
1313
- {
1314
- path: "posts.richContent.nodes.cardData.background.gradient.centerX"
1315
- },
1316
- {
1317
- path: "posts.richContent.nodes.cardData.background.gradient.centerY"
1318
- },
1319
- {
1320
- path: "posts.richContent.nodes.cardData.background.gradient.stops.position"
1321
- },
1322
- {
1323
- path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
1324
- },
1325
- {
1326
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1327
- },
1328
- {
1329
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1330
- },
1331
- {
1332
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1333
- },
1334
- { path: "posts.richContent.nodes.tocData.fontSize" },
1335
- { path: "posts.richContent.nodes.tocData.itemSpacing" },
1336
- {
1337
- path: "posts.richContent.nodes.smartBlockCellData.shape.duration"
1338
- },
1339
- {
1340
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
1341
- },
1342
- {
1343
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
1344
- },
1345
- {
1346
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
1347
- },
1348
- {
1349
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
1350
- },
1351
- {
1352
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
1353
- },
1354
- {
1355
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
1356
- },
1357
- {
1358
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
1359
- },
1360
- {
1361
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
1362
- },
1363
- {
1364
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
1365
- },
1366
- {
1367
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
1368
- },
1369
- {
1370
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
1371
- },
1372
- {
1373
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
1374
- },
1375
- {
1376
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
1377
- },
1378
- {
1379
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
1380
- },
1381
- {
1382
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
1383
- },
1384
- {
1385
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
1386
- },
1387
- {
1388
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
1389
- },
1390
- {
1391
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
1392
- },
1393
- {
1394
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
1395
- },
1396
- {
1397
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
1398
- },
1399
- {
1400
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
1401
- },
1402
- {
1403
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
1404
- },
1405
- {
1406
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
1407
- },
1408
- {
1409
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
1410
- },
1411
- {
1412
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
1413
- },
1414
- {
1415
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
1416
- },
1417
- {
1418
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
1419
- },
1420
- {
1421
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
1422
- },
1423
- {
1424
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
1425
- },
1426
- {
1427
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
1428
- },
1429
- {
1430
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
1431
- },
1432
- {
1433
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
1434
- },
1435
- {
1436
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
1437
- },
1438
- {
1439
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
1440
- },
1441
- {
1442
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
1443
- },
1444
- {
1445
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
1446
- },
1447
- {
1448
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
1449
- },
1450
- {
1451
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
1452
- },
1453
- {
1454
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
1455
- },
1456
- {
1457
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
1458
- },
1459
- {
1460
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
1461
- },
1462
- {
1463
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
1464
- },
1465
- {
1466
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
1467
- },
1468
- {
1469
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
1470
- },
1471
- {
1472
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
1473
- },
1474
- {
1475
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
1476
- },
1477
- {
1478
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
1479
- },
1480
- {
1481
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
1482
- },
1483
- {
1484
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
1485
- },
1486
- {
1487
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
1488
- },
1489
- {
1490
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
1491
- },
1492
- {
1493
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
1494
- },
1495
- {
1496
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
1497
- },
1498
- {
1499
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
1500
- }
1501
- ]
1115
+ paths: TRANSFORM_PATHS_7
1502
1116
  }
1503
1117
  ])
1504
1118
  };
@@ -1511,12 +1125,7 @@ function queryPosts(payload) {
1511
1125
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
1512
1126
  {
1513
1127
  transformFn: import_float.transformSDKFloatToRESTFloat,
1514
- paths: [
1515
- { path: "sort.origin.latitude" },
1516
- { path: "sort.origin.longitude" },
1517
- { path: "query.sort.origin.latitude" },
1518
- { path: "query.sort.origin.longitude" }
1519
- ]
1128
+ paths: TRANSFORM_PATHS_8
1520
1129
  }
1521
1130
  ]);
1522
1131
  const metadata = {
@@ -1536,346 +1145,15 @@ function queryPosts(payload) {
1536
1145
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1537
1146
  {
1538
1147
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1539
- paths: [
1540
- { path: "posts.firstPublishedDate" },
1541
- { path: "posts.lastPublishedDate" },
1542
- { path: "posts.heroImage.urlExpirationDate" },
1543
- { path: "posts.richContent.metadata.createdTimestamp" },
1544
- { path: "posts.richContent.metadata.updatedTimestamp" },
1545
- { path: "posts.moderationDetails.submittedDate" },
1546
- { path: "posts.moderationDetails.moderationDate" },
1547
- { path: "posts.media.wixMedia.image.urlExpirationDate" },
1548
- { path: "posts.media.wixMedia.videoV2.urlExpirationDate" },
1549
- {
1550
- path: "posts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
1551
- },
1552
- {
1553
- path: "posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
1554
- },
1555
- {
1556
- path: "posts.media.wixMedia.videoV2.posters.urlExpirationDate"
1557
- }
1558
- ]
1148
+ paths: TRANSFORM_PATHS_5
1559
1149
  },
1560
1150
  {
1561
1151
  transformFn: import_bytes.transformRESTBytesToSDKBytes,
1562
- paths: [{ path: "posts.richContentCompressed" }]
1152
+ paths: TRANSFORM_PATHS_6
1563
1153
  },
1564
1154
  {
1565
1155
  transformFn: import_float2.transformRESTFloatToSDKFloat,
1566
- paths: [
1567
- { path: "posts.heroImage.focalPoint.x" },
1568
- { path: "posts.heroImage.focalPoint.y" },
1569
- { path: "posts.media.wixMedia.image.focalPoint.x" },
1570
- { path: "posts.media.wixMedia.image.focalPoint.y" },
1571
- {
1572
- path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
1573
- },
1574
- {
1575
- path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
1576
- },
1577
- { path: "posts.media.wixMedia.videoV2.posters.focalPoint.x" },
1578
- { path: "posts.media.wixMedia.videoV2.posters.focalPoint.y" },
1579
- { path: "posts.metrics.averageRating" },
1580
- {
1581
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerX"
1582
- },
1583
- {
1584
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerY"
1585
- },
1586
- {
1587
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
1588
- },
1589
- {
1590
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
1591
- },
1592
- {
1593
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
1594
- },
1595
- {
1596
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
1597
- },
1598
- {
1599
- path: "posts.richContent.nodes.galleryData.items.image.media.duration"
1600
- },
1601
- {
1602
- path: "posts.richContent.nodes.galleryData.items.video.media.duration"
1603
- },
1604
- {
1605
- path: "posts.richContent.nodes.galleryData.items.video.thumbnail.duration"
1606
- },
1607
- {
1608
- path: "posts.richContent.nodes.galleryData.options.item.ratio"
1609
- },
1610
- { path: "posts.richContent.nodes.imageData.image.duration" },
1611
- { path: "posts.richContent.nodes.imageData.crop.x" },
1612
- { path: "posts.richContent.nodes.imageData.crop.y" },
1613
- { path: "posts.richContent.nodes.imageData.crop.width" },
1614
- { path: "posts.richContent.nodes.imageData.crop.height" },
1615
- { path: "posts.richContent.nodes.mapData.mapSettings.lat" },
1616
- { path: "posts.richContent.nodes.mapData.mapSettings.lng" },
1617
- { path: "posts.richContent.nodes.pollData.poll.image.duration" },
1618
- {
1619
- path: "posts.richContent.nodes.pollData.poll.options.image.duration"
1620
- },
1621
- {
1622
- path: "posts.richContent.nodes.pollData.design.poll.background.image.duration"
1623
- },
1624
- {
1625
- path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX"
1626
- },
1627
- {
1628
- path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY"
1629
- },
1630
- {
1631
- path: "posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position"
1632
- },
1633
- {
1634
- path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX"
1635
- },
1636
- {
1637
- path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY"
1638
- },
1639
- {
1640
- path: "posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position"
1641
- },
1642
- { path: "posts.richContent.nodes.appEmbedData.image.duration" },
1643
- { path: "posts.richContent.nodes.videoData.video.duration" },
1644
- { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
1645
- { path: "posts.richContent.nodes.audioData.audio.duration" },
1646
- { path: "posts.richContent.nodes.audioData.coverImage.duration" },
1647
- {
1648
- path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
1649
- },
1650
- {
1651
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1652
- },
1653
- {
1654
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1655
- },
1656
- {
1657
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1658
- },
1659
- {
1660
- path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
1661
- },
1662
- {
1663
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1664
- },
1665
- {
1666
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1667
- },
1668
- {
1669
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1670
- },
1671
- {
1672
- path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
1673
- },
1674
- {
1675
- path: "posts.richContent.nodes.layoutData.background.gradient.centerY"
1676
- },
1677
- {
1678
- path: "posts.richContent.nodes.layoutData.background.gradient.stops.position"
1679
- },
1680
- {
1681
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerX"
1682
- },
1683
- {
1684
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerY"
1685
- },
1686
- {
1687
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1688
- },
1689
- { path: "posts.richContent.nodes.shapeData.shape.duration" },
1690
- {
1691
- path: "posts.richContent.nodes.cardData.background.gradient.centerX"
1692
- },
1693
- {
1694
- path: "posts.richContent.nodes.cardData.background.gradient.centerY"
1695
- },
1696
- {
1697
- path: "posts.richContent.nodes.cardData.background.gradient.stops.position"
1698
- },
1699
- {
1700
- path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
1701
- },
1702
- {
1703
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1704
- },
1705
- {
1706
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1707
- },
1708
- {
1709
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1710
- },
1711
- { path: "posts.richContent.nodes.tocData.fontSize" },
1712
- { path: "posts.richContent.nodes.tocData.itemSpacing" },
1713
- {
1714
- path: "posts.richContent.nodes.smartBlockCellData.shape.duration"
1715
- },
1716
- {
1717
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX"
1718
- },
1719
- {
1720
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY"
1721
- },
1722
- {
1723
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position"
1724
- },
1725
- {
1726
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX"
1727
- },
1728
- {
1729
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY"
1730
- },
1731
- {
1732
- path: "posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position"
1733
- },
1734
- {
1735
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX"
1736
- },
1737
- {
1738
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY"
1739
- },
1740
- {
1741
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position"
1742
- },
1743
- {
1744
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX"
1745
- },
1746
- {
1747
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY"
1748
- },
1749
- {
1750
- path: "posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position"
1751
- },
1752
- {
1753
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX"
1754
- },
1755
- {
1756
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY"
1757
- },
1758
- {
1759
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position"
1760
- },
1761
- {
1762
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX"
1763
- },
1764
- {
1765
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY"
1766
- },
1767
- {
1768
- path: "posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position"
1769
- },
1770
- {
1771
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX"
1772
- },
1773
- {
1774
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY"
1775
- },
1776
- {
1777
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position"
1778
- },
1779
- {
1780
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX"
1781
- },
1782
- {
1783
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY"
1784
- },
1785
- {
1786
- path: "posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position"
1787
- },
1788
- {
1789
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX"
1790
- },
1791
- {
1792
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY"
1793
- },
1794
- {
1795
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position"
1796
- },
1797
- {
1798
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX"
1799
- },
1800
- {
1801
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY"
1802
- },
1803
- {
1804
- path: "posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position"
1805
- },
1806
- {
1807
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX"
1808
- },
1809
- {
1810
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY"
1811
- },
1812
- {
1813
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position"
1814
- },
1815
- {
1816
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX"
1817
- },
1818
- {
1819
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY"
1820
- },
1821
- {
1822
- path: "posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position"
1823
- },
1824
- {
1825
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX"
1826
- },
1827
- {
1828
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY"
1829
- },
1830
- {
1831
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position"
1832
- },
1833
- {
1834
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX"
1835
- },
1836
- {
1837
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY"
1838
- },
1839
- {
1840
- path: "posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position"
1841
- },
1842
- {
1843
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX"
1844
- },
1845
- {
1846
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY"
1847
- },
1848
- {
1849
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position"
1850
- },
1851
- {
1852
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX"
1853
- },
1854
- {
1855
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY"
1856
- },
1857
- {
1858
- path: "posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position"
1859
- },
1860
- {
1861
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX"
1862
- },
1863
- {
1864
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY"
1865
- },
1866
- {
1867
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position"
1868
- },
1869
- {
1870
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX"
1871
- },
1872
- {
1873
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY"
1874
- },
1875
- {
1876
- path: "posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position"
1877
- }
1878
- ]
1156
+ paths: TRANSFORM_PATHS_7
1879
1157
  }
1880
1158
  ])
1881
1159
  };
@@ -1902,7 +1180,7 @@ function getPostMetrics(payload) {
1902
1180
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1903
1181
  {
1904
1182
  transformFn: import_float2.transformRESTFloatToSDKFloat,
1905
- paths: [{ path: "metrics.averageRating" }]
1183
+ paths: TRANSFORM_PATHS_9
1906
1184
  }
1907
1185
  ])
1908
1186
  };
@@ -1938,6 +1216,24 @@ var import_video_v2 = require("@wix/sdk-runtime/transformations/video-v2");
1938
1216
  var import_page_url = require("@wix/sdk-runtime/transformations/page-url");
1939
1217
  var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
1940
1218
  var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
1219
+ var TRANSFORM_PATHS_02 = [
1220
+ { path: "post.url" },
1221
+ { path: "post.translations.url" }
1222
+ ];
1223
+ var TRANSFORM_PATHS_12 = [
1224
+ { path: "post.heroImage" },
1225
+ { path: "post.media.wixMedia.image" }
1226
+ ];
1227
+ var TRANSFORM_PATHS_22 = [{ path: "post.media.wixMedia.videoV2" }];
1228
+ var TRANSFORM_PATHS_32 = [
1229
+ { path: "posts.url" },
1230
+ { path: "posts.translations.url" }
1231
+ ];
1232
+ var TRANSFORM_PATHS_42 = [
1233
+ { path: "posts.heroImage" },
1234
+ { path: "posts.media.wixMedia.image" }
1235
+ ];
1236
+ var TRANSFORM_PATHS_52 = [{ path: "posts.media.wixMedia.videoV2" }];
1941
1237
  var NodeType = /* @__PURE__ */ ((NodeType2) => {
1942
1238
  NodeType2["PARAGRAPH"] = "PARAGRAPH";
1943
1239
  NodeType2["TEXT"] = "TEXT";
@@ -2603,18 +1899,15 @@ async function getPost2(postId, options) {
2603
1899
  (0, import_transform_paths2.transformPaths)(result.data, [
2604
1900
  {
2605
1901
  transformFn: import_page_url.transformRESTPageURLToSDKPageURL,
2606
- paths: [{ path: "post.url" }, { path: "post.translations.url" }]
1902
+ paths: TRANSFORM_PATHS_02
2607
1903
  },
2608
1904
  {
2609
1905
  transformFn: import_image.transformRESTImageToSDKImage,
2610
- paths: [
2611
- { path: "post.heroImage" },
2612
- { path: "post.media.wixMedia.image" }
2613
- ]
1906
+ paths: TRANSFORM_PATHS_12
2614
1907
  },
2615
1908
  {
2616
1909
  transformFn: import_video_v2.transformRESTVideoV2ToSDKVideoV2,
2617
- paths: [{ path: "post.media.wixMedia.videoV2" }]
1910
+ paths: TRANSFORM_PATHS_22
2618
1911
  }
2619
1912
  ]),
2620
1913
  ["post.richContent", "post.rich_content"]
@@ -2651,18 +1944,15 @@ async function getPostBySlug2(slug, options) {
2651
1944
  (0, import_transform_paths2.transformPaths)(result.data, [
2652
1945
  {
2653
1946
  transformFn: import_page_url.transformRESTPageURLToSDKPageURL,
2654
- paths: [{ path: "post.url" }, { path: "post.translations.url" }]
1947
+ paths: TRANSFORM_PATHS_02
2655
1948
  },
2656
1949
  {
2657
1950
  transformFn: import_image.transformRESTImageToSDKImage,
2658
- paths: [
2659
- { path: "post.heroImage" },
2660
- { path: "post.media.wixMedia.image" }
2661
- ]
1951
+ paths: TRANSFORM_PATHS_12
2662
1952
  },
2663
1953
  {
2664
1954
  transformFn: import_video_v2.transformRESTVideoV2ToSDKVideoV2,
2665
- paths: [{ path: "post.media.wixMedia.videoV2" }]
1955
+ paths: TRANSFORM_PATHS_22
2666
1956
  }
2667
1957
  ]),
2668
1958
  ["post.richContent", "post.rich_content"]
@@ -2710,18 +2000,15 @@ async function listPosts2(options) {
2710
2000
  (0, import_transform_paths2.transformPaths)(result.data, [
2711
2001
  {
2712
2002
  transformFn: import_page_url.transformRESTPageURLToSDKPageURL,
2713
- paths: [{ path: "posts.url" }, { path: "posts.translations.url" }]
2003
+ paths: TRANSFORM_PATHS_32
2714
2004
  },
2715
2005
  {
2716
2006
  transformFn: import_image.transformRESTImageToSDKImage,
2717
- paths: [
2718
- { path: "posts.heroImage" },
2719
- { path: "posts.media.wixMedia.image" }
2720
- ]
2007
+ paths: TRANSFORM_PATHS_42
2721
2008
  },
2722
2009
  {
2723
2010
  transformFn: import_video_v2.transformRESTVideoV2ToSDKVideoV2,
2724
- paths: [{ path: "posts.media.wixMedia.videoV2" }]
2011
+ paths: TRANSFORM_PATHS_52
2725
2012
  }
2726
2013
  ]),
2727
2014
  ["posts.richContent", "posts.rich_content"]
@@ -2780,18 +2067,15 @@ function queryPosts2(options) {
2780
2067
  (0, import_transform_paths2.transformPaths)(data, [
2781
2068
  {
2782
2069
  transformFn: import_page_url.transformRESTPageURLToSDKPageURL,
2783
- paths: [{ path: "posts.url" }, { path: "posts.translations.url" }]
2070
+ paths: TRANSFORM_PATHS_32
2784
2071
  },
2785
2072
  {
2786
2073
  transformFn: import_image.transformRESTImageToSDKImage,
2787
- paths: [
2788
- { path: "posts.heroImage" },
2789
- { path: "posts.media.wixMedia.image" }
2790
- ]
2074
+ paths: TRANSFORM_PATHS_42
2791
2075
  },
2792
2076
  {
2793
2077
  transformFn: import_video_v2.transformRESTVideoV2ToSDKVideoV2,
2794
- paths: [{ path: "posts.media.wixMedia.videoV2" }]
2078
+ paths: TRANSFORM_PATHS_52
2795
2079
  }
2796
2080
  ]),
2797
2081
  ["posts.richContent", "posts.rich_content"]
@@ -2828,18 +2112,15 @@ async function typedQueryPosts(query, options) {
2828
2112
  (0, import_transform_paths2.transformPaths)(result.data, [
2829
2113
  {
2830
2114
  transformFn: import_page_url.transformRESTPageURLToSDKPageURL,
2831
- paths: [{ path: "posts.url" }, { path: "posts.translations.url" }]
2115
+ paths: TRANSFORM_PATHS_32
2832
2116
  },
2833
2117
  {
2834
2118
  transformFn: import_image.transformRESTImageToSDKImage,
2835
- paths: [
2836
- { path: "posts.heroImage" },
2837
- { path: "posts.media.wixMedia.image" }
2838
- ]
2119
+ paths: TRANSFORM_PATHS_42
2839
2120
  },
2840
2121
  {
2841
2122
  transformFn: import_video_v2.transformRESTVideoV2ToSDKVideoV2,
2842
- paths: [{ path: "posts.media.wixMedia.videoV2" }]
2123
+ paths: TRANSFORM_PATHS_52
2843
2124
  }
2844
2125
  ]),
2845
2126
  ["posts.richContent", "posts.rich_content"]