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