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