@wix/auto_sdk_blog_posts 1.0.178 → 1.0.180

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/build/cjs/index.js +19 -19
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +166 -166
  4. package/build/cjs/index.typings.js +19 -19
  5. package/build/cjs/index.typings.js.map +1 -1
  6. package/build/cjs/meta.d.ts +166 -166
  7. package/build/cjs/meta.js +19 -19
  8. package/build/cjs/meta.js.map +1 -1
  9. package/build/cjs/schemas.d.ts +2 -2
  10. package/build/cjs/schemas.js +450 -438
  11. package/build/cjs/schemas.js.map +1 -1
  12. package/build/es/index.mjs +19 -19
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +166 -166
  15. package/build/es/index.typings.mjs +19 -19
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +166 -166
  18. package/build/es/meta.mjs +19 -19
  19. package/build/es/meta.mjs.map +1 -1
  20. package/build/es/schemas.d.mts +2 -2
  21. package/build/es/schemas.mjs +450 -438
  22. package/build/es/schemas.mjs.map +1 -1
  23. package/build/internal/cjs/index.typings.d.ts +220 -220
  24. package/build/internal/cjs/meta.d.ts +220 -220
  25. package/build/internal/cjs/schemas.d.ts +2 -2
  26. package/build/internal/es/index.typings.d.mts +220 -220
  27. package/build/internal/es/meta.d.mts +220 -220
  28. package/build/internal/es/schemas.d.mts +2 -2
  29. package/package.json +2 -2
  30. package/build/internal/cjs/index.js +0 -2841
  31. package/build/internal/cjs/index.js.map +0 -1
  32. package/build/internal/cjs/index.typings.js +0 -2221
  33. package/build/internal/cjs/index.typings.js.map +0 -1
  34. package/build/internal/cjs/meta.js +0 -1975
  35. package/build/internal/cjs/meta.js.map +0 -1
  36. package/build/internal/cjs/schemas.js +0 -988
  37. package/build/internal/cjs/schemas.js.map +0 -1
  38. package/build/internal/es/index.mjs +0 -2734
  39. package/build/internal/es/index.mjs.map +0 -1
  40. package/build/internal/es/index.typings.mjs +0 -2118
  41. package/build/internal/es/index.typings.mjs.map +0 -1
  42. package/build/internal/es/meta.mjs +0 -1871
  43. package/build/internal/es/meta.mjs.map +0 -1
  44. package/build/internal/es/schemas.mjs +0 -938
  45. package/build/internal/es/schemas.mjs.map +0 -1
@@ -1,1871 +0,0 @@
1
- // src/blog-v3-post-posts.http.ts
2
- import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
3
- import { transformSDKFloatToRESTFloat } from "@wix/sdk-runtime/transformations/float";
4
- import { transformRESTFloatToSDKFloat } from "@wix/sdk-runtime/transformations/float";
5
- import { transformRESTBytesToSDKBytes } from "@wix/sdk-runtime/transformations/bytes";
6
- import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
7
- import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
8
- import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
9
- import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
10
- function resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl(opts) {
11
- const domainToMappings = {
12
- _: [
13
- {
14
- srcPath: "/_api/communities-blog-node-api/v3/posts",
15
- destPath: "/v3/posts"
16
- }
17
- ],
18
- "apps._base_domain_": [
19
- {
20
- srcPath: "/_api/communities-blog-node-api/v3/posts",
21
- destPath: "/v3/posts"
22
- }
23
- ],
24
- "www._base_domain_": [
25
- {
26
- srcPath: "/_api/communities-blog-node-api/v3/posts",
27
- destPath: "/v3/posts"
28
- }
29
- ],
30
- "www.wixapis.com": [
31
- {
32
- srcPath: "/v3/posts",
33
- destPath: "/v3/posts"
34
- },
35
- {
36
- srcPath: "/blog/v3/posts",
37
- destPath: "/v3/posts"
38
- },
39
- {
40
- srcPath: "/_api/v3/posts",
41
- destPath: "/v3/posts"
42
- }
43
- ],
44
- "manage._base_domain_": [
45
- {
46
- srcPath: "/_api/communities-blog-node-api/v3/posts",
47
- destPath: "/v3/posts"
48
- },
49
- {
50
- srcPath: "/_api/post-service-api-proxy/v3/bulk/posts",
51
- destPath: "/v3/bulk/posts"
52
- }
53
- ],
54
- "*.dev.wix-code.com": [
55
- {
56
- srcPath: "/_api/communities-blog-node-api/v3/posts",
57
- destPath: "/v3/posts"
58
- }
59
- ],
60
- "editor._base_domain_": [
61
- {
62
- srcPath: "/_api/communities-blog-node-api/v3/posts",
63
- destPath: "/v3/posts"
64
- }
65
- ],
66
- "blocks._base_domain_": [
67
- {
68
- srcPath: "/_api/communities-blog-node-api/v3/posts",
69
- destPath: "/v3/posts"
70
- }
71
- ],
72
- "create.editorx": [
73
- {
74
- srcPath: "/_api/communities-blog-node-api/v3/posts",
75
- destPath: "/v3/posts"
76
- }
77
- ],
78
- "editor.wixapps.net": [
79
- {
80
- srcPath: "/_api/communities-blog-node-api/v3/posts",
81
- destPath: "/v3/posts"
82
- }
83
- ],
84
- "dev._base_domain_": [
85
- {
86
- srcPath: "/_api/communities-blog-node-api/v3/posts",
87
- destPath: "/v3/posts"
88
- }
89
- ]
90
- };
91
- return resolveUrl(Object.assign(opts, { domainToMappings }));
92
- }
93
- function resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl(opts) {
94
- const domainToMappings = {
95
- "api._api_base_domain_": [
96
- {
97
- srcPath: "/communities-blog-node-api",
98
- destPath: ""
99
- }
100
- ],
101
- "www._base_domain_": [
102
- {
103
- srcPath: "/_api/communities-blog-node-api",
104
- destPath: ""
105
- },
106
- {
107
- srcPath: "/_api/communities-blog-node-api/v2/stats",
108
- destPath: "/v2/stats"
109
- }
110
- ],
111
- "apps._base_domain_": [
112
- {
113
- srcPath: "/_api/communities-blog-node-api",
114
- destPath: ""
115
- },
116
- {
117
- srcPath: "/_api/communities-blog-node-api/v2/stats",
118
- destPath: "/v2/stats"
119
- }
120
- ],
121
- _: [
122
- {
123
- srcPath: "/_api/communities-blog-node-api",
124
- destPath: ""
125
- },
126
- {
127
- srcPath: "/_api/communities-blog-node-api/_api/blogs/this",
128
- destPath: "/_api/blogs/this"
129
- },
130
- {
131
- srcPath: "/_api/communities-blog-node-api/_api/categories",
132
- destPath: "/_api/categories"
133
- },
134
- {
135
- srcPath: "/_api/communities-blog-node-api/_api/site-properties",
136
- destPath: "/_api/site-properties"
137
- },
138
- {
139
- srcPath: "/_api/communities-blog-node-api/_api/posts/content",
140
- destPath: "/_api/posts/content"
141
- },
142
- {
143
- srcPath: "/_api/communities-blog-node-api/v2/stats",
144
- destPath: "/v2/stats"
145
- }
146
- ],
147
- "editor._base_domain_": [
148
- {
149
- srcPath: "/_api/communities-blog-node-api",
150
- destPath: ""
151
- }
152
- ],
153
- "blocks._base_domain_": [
154
- {
155
- srcPath: "/_api/communities-blog-node-api",
156
- destPath: ""
157
- }
158
- ],
159
- "create.editorx": [
160
- {
161
- srcPath: "/_api/communities-blog-node-api",
162
- destPath: ""
163
- }
164
- ],
165
- "*.dev.wix-code.com": [
166
- {
167
- srcPath: "/_api/communities-blog-node-api",
168
- destPath: ""
169
- }
170
- ],
171
- "*.pub.wix-code.com": [
172
- {
173
- srcPath: "/_api/communities-blog-node-api",
174
- destPath: ""
175
- }
176
- ],
177
- "bo._base_domain_": [
178
- {
179
- srcPath: "/_api/communities-blog-node-api",
180
- destPath: ""
181
- },
182
- {
183
- srcPath: "/_api/communities-blog-node-api",
184
- destPath: ""
185
- }
186
- ],
187
- "wixbo.ai": [
188
- {
189
- srcPath: "/_api/communities-blog-node-api",
190
- destPath: ""
191
- },
192
- {
193
- srcPath: "/_api/communities-blog-node-api",
194
- destPath: ""
195
- }
196
- ],
197
- "wix-bo.com": [
198
- {
199
- srcPath: "/_api/communities-blog-node-api",
200
- destPath: ""
201
- },
202
- {
203
- srcPath: "/_api/communities-blog-node-api",
204
- destPath: ""
205
- }
206
- ],
207
- "manage._base_domain_": [
208
- {
209
- srcPath: "/_api/communities-blog-node-api",
210
- destPath: ""
211
- }
212
- ],
213
- "social-blog._base_domain_": [
214
- {
215
- srcPath: "/_api/communities-blog-node-api",
216
- destPath: ""
217
- }
218
- ],
219
- "editor.wixapps.net": [
220
- {
221
- srcPath: "/_api/communities-blog-node-api",
222
- destPath: ""
223
- }
224
- ],
225
- "dev._base_domain_": [
226
- {
227
- srcPath: "/_api/communities-blog-node-api",
228
- destPath: ""
229
- }
230
- ],
231
- "www.wixapis.com": [
232
- {
233
- srcPath: "/blog/v2",
234
- destPath: "/v2"
235
- },
236
- {
237
- srcPath: "/blog/v3",
238
- destPath: "/v3"
239
- },
240
- {
241
- srcPath: "/v2/stats",
242
- destPath: "/v2/stats"
243
- },
244
- {
245
- srcPath: "/blog/v2/stats",
246
- destPath: "/v2/stats"
247
- }
248
- ]
249
- };
250
- return resolveUrl(Object.assign(opts, { domainToMappings }));
251
- }
252
- var PACKAGE_NAME = "@wix/auto_sdk_blog_posts";
253
- function queryPostCountStats(payload) {
254
- function __queryPostCountStats({ host }) {
255
- const serializedData = transformPaths(payload, [
256
- {
257
- transformFn: transformSDKTimestampToRESTTimestamp,
258
- paths: [{ path: "rangeStart" }, { path: "rangeEnd" }]
259
- }
260
- ]);
261
- const metadata = {
262
- entityFqdn: "wix.blog.v3.post",
263
- method: "GET",
264
- methodFqn: "com.wixpress.npm.communities.platformized.blog.BlogStatsService.QueryPostCountStats",
265
- packageName: PACKAGE_NAME,
266
- migrationOptions: {
267
- optInTransformResponse: true
268
- },
269
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl({
270
- protoPath: "/v2/stats/post/count",
271
- data: serializedData,
272
- host
273
- }),
274
- params: toURLSearchParams(serializedData),
275
- transformResponse: (payload2) => transformPaths(payload2, [
276
- {
277
- transformFn: transformRESTTimestampToSDKTimestamp,
278
- paths: [{ path: "stats.periodStart" }]
279
- }
280
- ])
281
- };
282
- return metadata;
283
- }
284
- return __queryPostCountStats;
285
- }
286
- function getTotalPosts(payload) {
287
- function __getTotalPosts({ host }) {
288
- const metadata = {
289
- entityFqdn: "wix.blog.v3.post",
290
- method: "GET",
291
- methodFqn: "com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts",
292
- packageName: PACKAGE_NAME,
293
- migrationOptions: {
294
- optInTransformResponse: true
295
- },
296
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl({
297
- protoPath: "/v2/stats/posts/total",
298
- data: payload,
299
- host
300
- }),
301
- params: toURLSearchParams(payload)
302
- };
303
- return metadata;
304
- }
305
- return __getTotalPosts;
306
- }
307
- function getPost(payload) {
308
- function __getPost({ host }) {
309
- const metadata = {
310
- entityFqdn: "wix.blog.v3.post",
311
- method: "GET",
312
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost",
313
- packageName: PACKAGE_NAME,
314
- migrationOptions: {
315
- optInTransformResponse: true
316
- },
317
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
318
- protoPath: "/v3/posts/{postId}",
319
- data: payload,
320
- host
321
- }),
322
- params: toURLSearchParams(payload),
323
- transformResponse: (payload2) => transformPaths(payload2, [
324
- {
325
- 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
- ]
344
- },
345
- {
346
- transformFn: transformRESTBytesToSDKBytes,
347
- paths: [{ path: "post.richContentCompressed" }]
348
- },
349
- {
350
- 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
- { path: "post.richContent.nodes.appEmbedData.image.duration" },
408
- { path: "post.richContent.nodes.videoData.video.duration" },
409
- { path: "post.richContent.nodes.videoData.thumbnail.duration" },
410
- { path: "post.richContent.nodes.audioData.audio.duration" },
411
- { path: "post.richContent.nodes.audioData.coverImage.duration" },
412
- {
413
- path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
414
- },
415
- {
416
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
417
- },
418
- {
419
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
420
- },
421
- {
422
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
423
- },
424
- {
425
- path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
426
- },
427
- {
428
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
429
- },
430
- {
431
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
432
- },
433
- {
434
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
435
- },
436
- {
437
- path: "post.richContent.nodes.layoutData.background.gradient.centerX"
438
- },
439
- {
440
- path: "post.richContent.nodes.layoutData.background.gradient.centerY"
441
- },
442
- {
443
- path: "post.richContent.nodes.layoutData.background.gradient.stops.position"
444
- },
445
- {
446
- path: "post.richContent.nodes.layoutData.backdrop.gradient.centerX"
447
- },
448
- {
449
- path: "post.richContent.nodes.layoutData.backdrop.gradient.centerY"
450
- },
451
- {
452
- path: "post.richContent.nodes.layoutData.backdrop.gradient.stops.position"
453
- },
454
- { path: "post.richContent.nodes.shapeData.shape.duration" },
455
- {
456
- path: "post.richContent.nodes.cardData.background.gradient.centerX"
457
- },
458
- {
459
- path: "post.richContent.nodes.cardData.background.gradient.centerY"
460
- },
461
- {
462
- path: "post.richContent.nodes.cardData.background.gradient.stops.position"
463
- },
464
- {
465
- path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
466
- },
467
- {
468
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
469
- },
470
- {
471
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
472
- },
473
- {
474
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
475
- },
476
- { path: "post.richContent.nodes.tocData.fontSize" },
477
- { path: "post.richContent.nodes.tocData.itemSpacing" },
478
- {
479
- path: "post.richContent.nodes.smartBlockCellData.shape.duration"
480
- }
481
- ]
482
- }
483
- ])
484
- };
485
- return metadata;
486
- }
487
- return __getPost;
488
- }
489
- function getPostBySlug(payload) {
490
- function __getPostBySlug({ host }) {
491
- const metadata = {
492
- entityFqdn: "wix.blog.v3.post",
493
- method: "GET",
494
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug",
495
- packageName: PACKAGE_NAME,
496
- migrationOptions: {
497
- optInTransformResponse: true
498
- },
499
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
500
- protoPath: "/v3/posts/slugs/{slug}",
501
- data: payload,
502
- host
503
- }),
504
- params: toURLSearchParams(payload),
505
- transformResponse: (payload2) => transformPaths(payload2, [
506
- {
507
- transformFn: transformRESTTimestampToSDKTimestamp,
508
- paths: [
509
- { path: "post.firstPublishedDate" },
510
- { path: "post.lastPublishedDate" },
511
- { path: "post.heroImage.urlExpirationDate" },
512
- { path: "post.richContent.metadata.createdTimestamp" },
513
- { path: "post.richContent.metadata.updatedTimestamp" },
514
- { path: "post.moderationDetails.submittedDate" },
515
- { path: "post.moderationDetails.moderationDate" },
516
- { path: "post.media.wixMedia.image.urlExpirationDate" },
517
- { path: "post.media.wixMedia.videoV2.urlExpirationDate" },
518
- {
519
- path: "post.media.wixMedia.videoV2.resolutions.urlExpirationDate"
520
- },
521
- {
522
- path: "post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
523
- },
524
- { path: "post.media.wixMedia.videoV2.posters.urlExpirationDate" }
525
- ]
526
- },
527
- {
528
- transformFn: transformRESTBytesToSDKBytes,
529
- paths: [{ path: "post.richContentCompressed" }]
530
- },
531
- {
532
- transformFn: transformRESTFloatToSDKFloat,
533
- paths: [
534
- { path: "post.heroImage.focalPoint.x" },
535
- { path: "post.heroImage.focalPoint.y" },
536
- { path: "post.media.wixMedia.image.focalPoint.x" },
537
- { path: "post.media.wixMedia.image.focalPoint.y" },
538
- {
539
- path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
540
- },
541
- {
542
- path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
543
- },
544
- { path: "post.media.wixMedia.videoV2.posters.focalPoint.x" },
545
- { path: "post.media.wixMedia.videoV2.posters.focalPoint.y" },
546
- { path: "post.metrics.averageRating" },
547
- {
548
- path: "post.richContent.nodes.buttonData.styles.background.gradient.centerX"
549
- },
550
- {
551
- path: "post.richContent.nodes.buttonData.styles.background.gradient.centerY"
552
- },
553
- {
554
- path: "post.richContent.nodes.buttonData.styles.background.gradient.stops.position"
555
- },
556
- {
557
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
558
- },
559
- {
560
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
561
- },
562
- {
563
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
564
- },
565
- {
566
- path: "post.richContent.nodes.galleryData.items.image.media.duration"
567
- },
568
- {
569
- path: "post.richContent.nodes.galleryData.items.video.media.duration"
570
- },
571
- {
572
- path: "post.richContent.nodes.galleryData.items.video.thumbnail.duration"
573
- },
574
- { path: "post.richContent.nodes.galleryData.options.item.ratio" },
575
- { path: "post.richContent.nodes.imageData.image.duration" },
576
- { path: "post.richContent.nodes.imageData.crop.x" },
577
- { path: "post.richContent.nodes.imageData.crop.y" },
578
- { path: "post.richContent.nodes.imageData.crop.width" },
579
- { path: "post.richContent.nodes.imageData.crop.height" },
580
- { path: "post.richContent.nodes.mapData.mapSettings.lat" },
581
- { path: "post.richContent.nodes.mapData.mapSettings.lng" },
582
- { path: "post.richContent.nodes.pollData.poll.image.duration" },
583
- {
584
- path: "post.richContent.nodes.pollData.poll.options.image.duration"
585
- },
586
- {
587
- path: "post.richContent.nodes.pollData.design.poll.background.image.duration"
588
- },
589
- { path: "post.richContent.nodes.appEmbedData.image.duration" },
590
- { path: "post.richContent.nodes.videoData.video.duration" },
591
- { path: "post.richContent.nodes.videoData.thumbnail.duration" },
592
- { path: "post.richContent.nodes.audioData.audio.duration" },
593
- { path: "post.richContent.nodes.audioData.coverImage.duration" },
594
- {
595
- path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
596
- },
597
- {
598
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
599
- },
600
- {
601
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
602
- },
603
- {
604
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
605
- },
606
- {
607
- path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
608
- },
609
- {
610
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
611
- },
612
- {
613
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
614
- },
615
- {
616
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
617
- },
618
- {
619
- path: "post.richContent.nodes.layoutData.background.gradient.centerX"
620
- },
621
- {
622
- path: "post.richContent.nodes.layoutData.background.gradient.centerY"
623
- },
624
- {
625
- path: "post.richContent.nodes.layoutData.background.gradient.stops.position"
626
- },
627
- {
628
- path: "post.richContent.nodes.layoutData.backdrop.gradient.centerX"
629
- },
630
- {
631
- path: "post.richContent.nodes.layoutData.backdrop.gradient.centerY"
632
- },
633
- {
634
- path: "post.richContent.nodes.layoutData.backdrop.gradient.stops.position"
635
- },
636
- { path: "post.richContent.nodes.shapeData.shape.duration" },
637
- {
638
- path: "post.richContent.nodes.cardData.background.gradient.centerX"
639
- },
640
- {
641
- path: "post.richContent.nodes.cardData.background.gradient.centerY"
642
- },
643
- {
644
- path: "post.richContent.nodes.cardData.background.gradient.stops.position"
645
- },
646
- {
647
- path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
648
- },
649
- {
650
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
651
- },
652
- {
653
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
654
- },
655
- {
656
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
657
- },
658
- { path: "post.richContent.nodes.tocData.fontSize" },
659
- { path: "post.richContent.nodes.tocData.itemSpacing" },
660
- {
661
- path: "post.richContent.nodes.smartBlockCellData.shape.duration"
662
- }
663
- ]
664
- }
665
- ])
666
- };
667
- return metadata;
668
- }
669
- return __getPostBySlug;
670
- }
671
- function listPosts(payload) {
672
- function __listPosts({ host }) {
673
- const metadata = {
674
- entityFqdn: "wix.blog.v3.post",
675
- method: "GET",
676
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts",
677
- packageName: PACKAGE_NAME,
678
- migrationOptions: {
679
- optInTransformResponse: true
680
- },
681
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
682
- protoPath: "/v3/posts",
683
- data: payload,
684
- host
685
- }),
686
- params: toURLSearchParams(payload),
687
- transformResponse: (payload2) => transformPaths(payload2, [
688
- {
689
- transformFn: transformRESTTimestampToSDKTimestamp,
690
- paths: [
691
- { path: "posts.firstPublishedDate" },
692
- { path: "posts.lastPublishedDate" },
693
- { path: "posts.heroImage.urlExpirationDate" },
694
- { path: "posts.richContent.metadata.createdTimestamp" },
695
- { path: "posts.richContent.metadata.updatedTimestamp" },
696
- { path: "posts.moderationDetails.submittedDate" },
697
- { path: "posts.moderationDetails.moderationDate" },
698
- { path: "posts.media.wixMedia.image.urlExpirationDate" },
699
- { path: "posts.media.wixMedia.videoV2.urlExpirationDate" },
700
- {
701
- path: "posts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
702
- },
703
- {
704
- path: "posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
705
- },
706
- {
707
- path: "posts.media.wixMedia.videoV2.posters.urlExpirationDate"
708
- }
709
- ]
710
- },
711
- {
712
- transformFn: transformRESTBytesToSDKBytes,
713
- paths: [{ path: "posts.richContentCompressed" }]
714
- },
715
- {
716
- transformFn: transformRESTFloatToSDKFloat,
717
- paths: [
718
- { path: "posts.heroImage.focalPoint.x" },
719
- { path: "posts.heroImage.focalPoint.y" },
720
- { path: "posts.media.wixMedia.image.focalPoint.x" },
721
- { path: "posts.media.wixMedia.image.focalPoint.y" },
722
- {
723
- path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
724
- },
725
- {
726
- path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
727
- },
728
- { path: "posts.media.wixMedia.videoV2.posters.focalPoint.x" },
729
- { path: "posts.media.wixMedia.videoV2.posters.focalPoint.y" },
730
- { path: "posts.metrics.averageRating" },
731
- {
732
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerX"
733
- },
734
- {
735
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerY"
736
- },
737
- {
738
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
739
- },
740
- {
741
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
742
- },
743
- {
744
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
745
- },
746
- {
747
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
748
- },
749
- {
750
- path: "posts.richContent.nodes.galleryData.items.image.media.duration"
751
- },
752
- {
753
- path: "posts.richContent.nodes.galleryData.items.video.media.duration"
754
- },
755
- {
756
- path: "posts.richContent.nodes.galleryData.items.video.thumbnail.duration"
757
- },
758
- {
759
- path: "posts.richContent.nodes.galleryData.options.item.ratio"
760
- },
761
- { path: "posts.richContent.nodes.imageData.image.duration" },
762
- { path: "posts.richContent.nodes.imageData.crop.x" },
763
- { path: "posts.richContent.nodes.imageData.crop.y" },
764
- { path: "posts.richContent.nodes.imageData.crop.width" },
765
- { path: "posts.richContent.nodes.imageData.crop.height" },
766
- { path: "posts.richContent.nodes.mapData.mapSettings.lat" },
767
- { path: "posts.richContent.nodes.mapData.mapSettings.lng" },
768
- { path: "posts.richContent.nodes.pollData.poll.image.duration" },
769
- {
770
- path: "posts.richContent.nodes.pollData.poll.options.image.duration"
771
- },
772
- {
773
- path: "posts.richContent.nodes.pollData.design.poll.background.image.duration"
774
- },
775
- { path: "posts.richContent.nodes.appEmbedData.image.duration" },
776
- { path: "posts.richContent.nodes.videoData.video.duration" },
777
- { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
778
- { path: "posts.richContent.nodes.audioData.audio.duration" },
779
- { path: "posts.richContent.nodes.audioData.coverImage.duration" },
780
- {
781
- path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
782
- },
783
- {
784
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
785
- },
786
- {
787
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
788
- },
789
- {
790
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
791
- },
792
- {
793
- path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
794
- },
795
- {
796
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
797
- },
798
- {
799
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
800
- },
801
- {
802
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
803
- },
804
- {
805
- path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
806
- },
807
- {
808
- path: "posts.richContent.nodes.layoutData.background.gradient.centerY"
809
- },
810
- {
811
- path: "posts.richContent.nodes.layoutData.background.gradient.stops.position"
812
- },
813
- {
814
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerX"
815
- },
816
- {
817
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerY"
818
- },
819
- {
820
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
821
- },
822
- { path: "posts.richContent.nodes.shapeData.shape.duration" },
823
- {
824
- path: "posts.richContent.nodes.cardData.background.gradient.centerX"
825
- },
826
- {
827
- path: "posts.richContent.nodes.cardData.background.gradient.centerY"
828
- },
829
- {
830
- path: "posts.richContent.nodes.cardData.background.gradient.stops.position"
831
- },
832
- {
833
- path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
834
- },
835
- {
836
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
837
- },
838
- {
839
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
840
- },
841
- {
842
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
843
- },
844
- { path: "posts.richContent.nodes.tocData.fontSize" },
845
- { path: "posts.richContent.nodes.tocData.itemSpacing" },
846
- {
847
- path: "posts.richContent.nodes.smartBlockCellData.shape.duration"
848
- }
849
- ]
850
- }
851
- ])
852
- };
853
- return metadata;
854
- }
855
- return __listPosts;
856
- }
857
- function queryPosts(payload) {
858
- function __queryPosts({ host }) {
859
- const serializedData = transformPaths(payload, [
860
- {
861
- transformFn: transformSDKFloatToRESTFloat,
862
- paths: [
863
- { path: "sort.origin.latitude" },
864
- { path: "sort.origin.longitude" },
865
- { path: "query.sort.origin.latitude" },
866
- { path: "query.sort.origin.longitude" }
867
- ]
868
- }
869
- ]);
870
- const metadata = {
871
- entityFqdn: "wix.blog.v3.post",
872
- method: "POST",
873
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts",
874
- packageName: PACKAGE_NAME,
875
- migrationOptions: {
876
- optInTransformResponse: true
877
- },
878
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
879
- protoPath: "/v3/posts/query",
880
- data: serializedData,
881
- host
882
- }),
883
- data: serializedData,
884
- transformResponse: (payload2) => transformPaths(payload2, [
885
- {
886
- transformFn: transformRESTTimestampToSDKTimestamp,
887
- paths: [
888
- { path: "posts.firstPublishedDate" },
889
- { path: "posts.lastPublishedDate" },
890
- { path: "posts.heroImage.urlExpirationDate" },
891
- { path: "posts.richContent.metadata.createdTimestamp" },
892
- { path: "posts.richContent.metadata.updatedTimestamp" },
893
- { path: "posts.moderationDetails.submittedDate" },
894
- { path: "posts.moderationDetails.moderationDate" },
895
- { path: "posts.media.wixMedia.image.urlExpirationDate" },
896
- { path: "posts.media.wixMedia.videoV2.urlExpirationDate" },
897
- {
898
- path: "posts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
899
- },
900
- {
901
- path: "posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
902
- },
903
- {
904
- path: "posts.media.wixMedia.videoV2.posters.urlExpirationDate"
905
- }
906
- ]
907
- },
908
- {
909
- transformFn: transformRESTBytesToSDKBytes,
910
- paths: [{ path: "posts.richContentCompressed" }]
911
- },
912
- {
913
- transformFn: transformRESTFloatToSDKFloat,
914
- paths: [
915
- { path: "posts.heroImage.focalPoint.x" },
916
- { path: "posts.heroImage.focalPoint.y" },
917
- { path: "posts.media.wixMedia.image.focalPoint.x" },
918
- { path: "posts.media.wixMedia.image.focalPoint.y" },
919
- {
920
- path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
921
- },
922
- {
923
- path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
924
- },
925
- { path: "posts.media.wixMedia.videoV2.posters.focalPoint.x" },
926
- { path: "posts.media.wixMedia.videoV2.posters.focalPoint.y" },
927
- { path: "posts.metrics.averageRating" },
928
- {
929
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerX"
930
- },
931
- {
932
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerY"
933
- },
934
- {
935
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
936
- },
937
- {
938
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
939
- },
940
- {
941
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
942
- },
943
- {
944
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
945
- },
946
- {
947
- path: "posts.richContent.nodes.galleryData.items.image.media.duration"
948
- },
949
- {
950
- path: "posts.richContent.nodes.galleryData.items.video.media.duration"
951
- },
952
- {
953
- path: "posts.richContent.nodes.galleryData.items.video.thumbnail.duration"
954
- },
955
- {
956
- path: "posts.richContent.nodes.galleryData.options.item.ratio"
957
- },
958
- { path: "posts.richContent.nodes.imageData.image.duration" },
959
- { path: "posts.richContent.nodes.imageData.crop.x" },
960
- { path: "posts.richContent.nodes.imageData.crop.y" },
961
- { path: "posts.richContent.nodes.imageData.crop.width" },
962
- { path: "posts.richContent.nodes.imageData.crop.height" },
963
- { path: "posts.richContent.nodes.mapData.mapSettings.lat" },
964
- { path: "posts.richContent.nodes.mapData.mapSettings.lng" },
965
- { path: "posts.richContent.nodes.pollData.poll.image.duration" },
966
- {
967
- path: "posts.richContent.nodes.pollData.poll.options.image.duration"
968
- },
969
- {
970
- path: "posts.richContent.nodes.pollData.design.poll.background.image.duration"
971
- },
972
- { path: "posts.richContent.nodes.appEmbedData.image.duration" },
973
- { path: "posts.richContent.nodes.videoData.video.duration" },
974
- { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
975
- { path: "posts.richContent.nodes.audioData.audio.duration" },
976
- { path: "posts.richContent.nodes.audioData.coverImage.duration" },
977
- {
978
- path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
979
- },
980
- {
981
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
982
- },
983
- {
984
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
985
- },
986
- {
987
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
988
- },
989
- {
990
- path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
991
- },
992
- {
993
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
994
- },
995
- {
996
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
997
- },
998
- {
999
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1000
- },
1001
- {
1002
- path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
1003
- },
1004
- {
1005
- path: "posts.richContent.nodes.layoutData.background.gradient.centerY"
1006
- },
1007
- {
1008
- path: "posts.richContent.nodes.layoutData.background.gradient.stops.position"
1009
- },
1010
- {
1011
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerX"
1012
- },
1013
- {
1014
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerY"
1015
- },
1016
- {
1017
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1018
- },
1019
- { path: "posts.richContent.nodes.shapeData.shape.duration" },
1020
- {
1021
- path: "posts.richContent.nodes.cardData.background.gradient.centerX"
1022
- },
1023
- {
1024
- path: "posts.richContent.nodes.cardData.background.gradient.centerY"
1025
- },
1026
- {
1027
- path: "posts.richContent.nodes.cardData.background.gradient.stops.position"
1028
- },
1029
- {
1030
- path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
1031
- },
1032
- {
1033
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1034
- },
1035
- {
1036
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1037
- },
1038
- {
1039
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1040
- },
1041
- { path: "posts.richContent.nodes.tocData.fontSize" },
1042
- { path: "posts.richContent.nodes.tocData.itemSpacing" },
1043
- {
1044
- path: "posts.richContent.nodes.smartBlockCellData.shape.duration"
1045
- }
1046
- ]
1047
- }
1048
- ])
1049
- };
1050
- return metadata;
1051
- }
1052
- return __queryPosts;
1053
- }
1054
- function getPostMetrics(payload) {
1055
- function __getPostMetrics({ host }) {
1056
- const metadata = {
1057
- entityFqdn: "wix.blog.v3.post",
1058
- method: "GET",
1059
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostMetrics",
1060
- packageName: PACKAGE_NAME,
1061
- migrationOptions: {
1062
- optInTransformResponse: true
1063
- },
1064
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
1065
- protoPath: "/v3/posts/{postId}/metrics",
1066
- data: payload,
1067
- host
1068
- }),
1069
- params: toURLSearchParams(payload),
1070
- transformResponse: (payload2) => transformPaths(payload2, [
1071
- {
1072
- transformFn: transformRESTFloatToSDKFloat,
1073
- paths: [{ path: "metrics.averageRating" }]
1074
- }
1075
- ])
1076
- };
1077
- return metadata;
1078
- }
1079
- return __getPostMetrics;
1080
- }
1081
-
1082
- // src/blog-v3-post-posts.types.ts
1083
- var NodeType = /* @__PURE__ */ ((NodeType2) => {
1084
- NodeType2["PARAGRAPH"] = "PARAGRAPH";
1085
- NodeType2["TEXT"] = "TEXT";
1086
- NodeType2["HEADING"] = "HEADING";
1087
- NodeType2["BULLETED_LIST"] = "BULLETED_LIST";
1088
- NodeType2["ORDERED_LIST"] = "ORDERED_LIST";
1089
- NodeType2["LIST_ITEM"] = "LIST_ITEM";
1090
- NodeType2["BLOCKQUOTE"] = "BLOCKQUOTE";
1091
- NodeType2["CODE_BLOCK"] = "CODE_BLOCK";
1092
- NodeType2["VIDEO"] = "VIDEO";
1093
- NodeType2["DIVIDER"] = "DIVIDER";
1094
- NodeType2["FILE"] = "FILE";
1095
- NodeType2["GALLERY"] = "GALLERY";
1096
- NodeType2["GIF"] = "GIF";
1097
- NodeType2["HTML"] = "HTML";
1098
- NodeType2["IMAGE"] = "IMAGE";
1099
- NodeType2["LINK_PREVIEW"] = "LINK_PREVIEW";
1100
- NodeType2["MAP"] = "MAP";
1101
- NodeType2["POLL"] = "POLL";
1102
- NodeType2["APP_EMBED"] = "APP_EMBED";
1103
- NodeType2["BUTTON"] = "BUTTON";
1104
- NodeType2["COLLAPSIBLE_LIST"] = "COLLAPSIBLE_LIST";
1105
- NodeType2["TABLE"] = "TABLE";
1106
- NodeType2["EMBED"] = "EMBED";
1107
- NodeType2["COLLAPSIBLE_ITEM"] = "COLLAPSIBLE_ITEM";
1108
- NodeType2["COLLAPSIBLE_ITEM_TITLE"] = "COLLAPSIBLE_ITEM_TITLE";
1109
- NodeType2["COLLAPSIBLE_ITEM_BODY"] = "COLLAPSIBLE_ITEM_BODY";
1110
- NodeType2["TABLE_CELL"] = "TABLE_CELL";
1111
- NodeType2["TABLE_ROW"] = "TABLE_ROW";
1112
- NodeType2["EXTERNAL"] = "EXTERNAL";
1113
- NodeType2["AUDIO"] = "AUDIO";
1114
- NodeType2["CAPTION"] = "CAPTION";
1115
- NodeType2["LAYOUT"] = "LAYOUT";
1116
- NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
1117
- NodeType2["SHAPE"] = "SHAPE";
1118
- NodeType2["CARD"] = "CARD";
1119
- NodeType2["TOC"] = "TOC";
1120
- NodeType2["SMART_BLOCK"] = "SMART_BLOCK";
1121
- NodeType2["SMART_BLOCK_CELL"] = "SMART_BLOCK_CELL";
1122
- NodeType2["CHECKBOX_LIST"] = "CHECKBOX_LIST";
1123
- return NodeType2;
1124
- })(NodeType || {});
1125
- var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
1126
- BackgroundType2["COLOR"] = "COLOR";
1127
- BackgroundType2["GRADIENT"] = "GRADIENT";
1128
- return BackgroundType2;
1129
- })(BackgroundType || {});
1130
- var GradientType = /* @__PURE__ */ ((GradientType2) => {
1131
- GradientType2["LINEAR"] = "LINEAR";
1132
- GradientType2["RADIAL"] = "RADIAL";
1133
- return GradientType2;
1134
- })(GradientType || {});
1135
- var WidthType = /* @__PURE__ */ ((WidthType2) => {
1136
- WidthType2["CONTENT"] = "CONTENT";
1137
- WidthType2["SMALL"] = "SMALL";
1138
- WidthType2["ORIGINAL"] = "ORIGINAL";
1139
- WidthType2["FULL_WIDTH"] = "FULL_WIDTH";
1140
- return WidthType2;
1141
- })(WidthType || {});
1142
- var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignment2) => {
1143
- PluginContainerDataAlignment2["CENTER"] = "CENTER";
1144
- PluginContainerDataAlignment2["LEFT"] = "LEFT";
1145
- PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
1146
- return PluginContainerDataAlignment2;
1147
- })(PluginContainerDataAlignment || {});
1148
- var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
1149
- ButtonDataType2["LINK"] = "LINK";
1150
- ButtonDataType2["ACTION"] = "ACTION";
1151
- return ButtonDataType2;
1152
- })(ButtonDataType || {});
1153
- var Target = /* @__PURE__ */ ((Target2) => {
1154
- Target2["SELF"] = "SELF";
1155
- Target2["BLANK"] = "BLANK";
1156
- Target2["PARENT"] = "PARENT";
1157
- Target2["TOP"] = "TOP";
1158
- return Target2;
1159
- })(Target || {});
1160
- var Type = /* @__PURE__ */ ((Type2) => {
1161
- Type2["VIEW"] = "VIEW";
1162
- Type2["POINTER"] = "POINTER";
1163
- return Type2;
1164
- })(Type || {});
1165
- var EntranceEffectType = /* @__PURE__ */ ((EntranceEffectType2) => {
1166
- EntranceEffectType2["FADE"] = "FADE";
1167
- EntranceEffectType2["ARC"] = "ARC";
1168
- EntranceEffectType2["BLUR"] = "BLUR";
1169
- EntranceEffectType2["BOUNCE"] = "BOUNCE";
1170
- EntranceEffectType2["DROP"] = "DROP";
1171
- EntranceEffectType2["EXPAND"] = "EXPAND";
1172
- EntranceEffectType2["FLIP"] = "FLIP";
1173
- EntranceEffectType2["FLOAT"] = "FLOAT";
1174
- EntranceEffectType2["FOLD"] = "FOLD";
1175
- EntranceEffectType2["GLIDE"] = "GLIDE";
1176
- EntranceEffectType2["REVEAL"] = "REVEAL";
1177
- EntranceEffectType2["SHAPE"] = "SHAPE";
1178
- EntranceEffectType2["SHUTTERS"] = "SHUTTERS";
1179
- EntranceEffectType2["SLIDE"] = "SLIDE";
1180
- EntranceEffectType2["SPIN"] = "SPIN";
1181
- EntranceEffectType2["TILT"] = "TILT";
1182
- EntranceEffectType2["TURN"] = "TURN";
1183
- EntranceEffectType2["WINK"] = "WINK";
1184
- return EntranceEffectType2;
1185
- })(EntranceEffectType || {});
1186
- var LoopEffectType = /* @__PURE__ */ ((LoopEffectType2) => {
1187
- LoopEffectType2["BOUNCE"] = "BOUNCE";
1188
- LoopEffectType2["BREATHE"] = "BREATHE";
1189
- LoopEffectType2["CROSS"] = "CROSS";
1190
- LoopEffectType2["FLASH"] = "FLASH";
1191
- LoopEffectType2["FLIP"] = "FLIP";
1192
- LoopEffectType2["FOLD"] = "FOLD";
1193
- LoopEffectType2["JELLO"] = "JELLO";
1194
- LoopEffectType2["POKE"] = "POKE";
1195
- LoopEffectType2["PULSE"] = "PULSE";
1196
- LoopEffectType2["RUBBER"] = "RUBBER";
1197
- LoopEffectType2["SPIN"] = "SPIN";
1198
- LoopEffectType2["SWING"] = "SWING";
1199
- LoopEffectType2["WIGGLE"] = "WIGGLE";
1200
- return LoopEffectType2;
1201
- })(LoopEffectType || {});
1202
- var PointerEffectType = /* @__PURE__ */ ((PointerEffectType2) => {
1203
- PointerEffectType2["AIRY"] = "AIRY";
1204
- PointerEffectType2["BLOB"] = "BLOB";
1205
- PointerEffectType2["BLUR"] = "BLUR";
1206
- PointerEffectType2["SCALE"] = "SCALE";
1207
- PointerEffectType2["SKEW"] = "SKEW";
1208
- PointerEffectType2["SWIVEL"] = "SWIVEL";
1209
- PointerEffectType2["TILT_3D"] = "TILT_3D";
1210
- PointerEffectType2["TRACK"] = "TRACK";
1211
- PointerEffectType2["TRACK_3D"] = "TRACK_3D";
1212
- return PointerEffectType2;
1213
- })(PointerEffectType || {});
1214
- var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
1215
- TextAlignment2["AUTO"] = "AUTO";
1216
- TextAlignment2["LEFT"] = "LEFT";
1217
- TextAlignment2["RIGHT"] = "RIGHT";
1218
- TextAlignment2["CENTER"] = "CENTER";
1219
- TextAlignment2["JUSTIFY"] = "JUSTIFY";
1220
- return TextAlignment2;
1221
- })(TextAlignment || {});
1222
- var LineCap = /* @__PURE__ */ ((LineCap2) => {
1223
- LineCap2["SQUARE"] = "SQUARE";
1224
- LineCap2["ROUND"] = "ROUND";
1225
- return LineCap2;
1226
- })(LineCap || {});
1227
- var LineStyle = /* @__PURE__ */ ((LineStyle2) => {
1228
- LineStyle2["SINGLE"] = "SINGLE";
1229
- LineStyle2["DOUBLE"] = "DOUBLE";
1230
- LineStyle2["DASHED"] = "DASHED";
1231
- LineStyle2["DOTTED"] = "DOTTED";
1232
- return LineStyle2;
1233
- })(LineStyle || {});
1234
- var Width = /* @__PURE__ */ ((Width2) => {
1235
- Width2["LARGE"] = "LARGE";
1236
- Width2["MEDIUM"] = "MEDIUM";
1237
- Width2["SMALL"] = "SMALL";
1238
- return Width2;
1239
- })(Width || {});
1240
- var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
1241
- DividerDataAlignment2["CENTER"] = "CENTER";
1242
- DividerDataAlignment2["LEFT"] = "LEFT";
1243
- DividerDataAlignment2["RIGHT"] = "RIGHT";
1244
- return DividerDataAlignment2;
1245
- })(DividerDataAlignment || {});
1246
- var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
1247
- ViewMode2["NONE"] = "NONE";
1248
- ViewMode2["FULL"] = "FULL";
1249
- ViewMode2["MINI"] = "MINI";
1250
- return ViewMode2;
1251
- })(ViewMode || {});
1252
- var LayoutType = /* @__PURE__ */ ((LayoutType2) => {
1253
- LayoutType2["COLLAGE"] = "COLLAGE";
1254
- LayoutType2["MASONRY"] = "MASONRY";
1255
- LayoutType2["GRID"] = "GRID";
1256
- LayoutType2["THUMBNAIL"] = "THUMBNAIL";
1257
- LayoutType2["SLIDER"] = "SLIDER";
1258
- LayoutType2["SLIDESHOW"] = "SLIDESHOW";
1259
- LayoutType2["PANORAMA"] = "PANORAMA";
1260
- LayoutType2["COLUMN"] = "COLUMN";
1261
- LayoutType2["MAGIC"] = "MAGIC";
1262
- LayoutType2["FULLSIZE"] = "FULLSIZE";
1263
- return LayoutType2;
1264
- })(LayoutType || {});
1265
- var Orientation = /* @__PURE__ */ ((Orientation2) => {
1266
- Orientation2["ROWS"] = "ROWS";
1267
- Orientation2["COLUMNS"] = "COLUMNS";
1268
- return Orientation2;
1269
- })(Orientation || {});
1270
- var Crop = /* @__PURE__ */ ((Crop2) => {
1271
- Crop2["FILL"] = "FILL";
1272
- Crop2["FIT"] = "FIT";
1273
- return Crop2;
1274
- })(Crop || {});
1275
- var ThumbnailsAlignment = /* @__PURE__ */ ((ThumbnailsAlignment2) => {
1276
- ThumbnailsAlignment2["TOP"] = "TOP";
1277
- ThumbnailsAlignment2["RIGHT"] = "RIGHT";
1278
- ThumbnailsAlignment2["BOTTOM"] = "BOTTOM";
1279
- ThumbnailsAlignment2["LEFT"] = "LEFT";
1280
- ThumbnailsAlignment2["NONE"] = "NONE";
1281
- return ThumbnailsAlignment2;
1282
- })(ThumbnailsAlignment || {});
1283
- var GIFType = /* @__PURE__ */ ((GIFType2) => {
1284
- GIFType2["NORMAL"] = "NORMAL";
1285
- GIFType2["STICKER"] = "STICKER";
1286
- return GIFType2;
1287
- })(GIFType || {});
1288
- var Source = /* @__PURE__ */ ((Source2) => {
1289
- Source2["HTML"] = "HTML";
1290
- Source2["ADSENSE"] = "ADSENSE";
1291
- Source2["AI"] = "AI";
1292
- Source2["AI_WIDGET"] = "AI_WIDGET";
1293
- return Source2;
1294
- })(Source || {});
1295
- var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
1296
- StylesPosition2["START"] = "START";
1297
- StylesPosition2["END"] = "END";
1298
- StylesPosition2["TOP"] = "TOP";
1299
- StylesPosition2["HIDDEN"] = "HIDDEN";
1300
- return StylesPosition2;
1301
- })(StylesPosition || {});
1302
- var MapType = /* @__PURE__ */ ((MapType2) => {
1303
- MapType2["ROADMAP"] = "ROADMAP";
1304
- MapType2["SATELITE"] = "SATELITE";
1305
- MapType2["HYBRID"] = "HYBRID";
1306
- MapType2["TERRAIN"] = "TERRAIN";
1307
- return MapType2;
1308
- })(MapType || {});
1309
- var ViewRole = /* @__PURE__ */ ((ViewRole2) => {
1310
- ViewRole2["CREATOR"] = "CREATOR";
1311
- ViewRole2["VOTERS"] = "VOTERS";
1312
- ViewRole2["EVERYONE"] = "EVERYONE";
1313
- return ViewRole2;
1314
- })(ViewRole || {});
1315
- var VoteRole = /* @__PURE__ */ ((VoteRole2) => {
1316
- VoteRole2["SITE_MEMBERS"] = "SITE_MEMBERS";
1317
- VoteRole2["ALL"] = "ALL";
1318
- return VoteRole2;
1319
- })(VoteRole || {});
1320
- var PollLayoutType = /* @__PURE__ */ ((PollLayoutType2) => {
1321
- PollLayoutType2["LIST"] = "LIST";
1322
- PollLayoutType2["GRID"] = "GRID";
1323
- return PollLayoutType2;
1324
- })(PollLayoutType || {});
1325
- var PollLayoutDirection = /* @__PURE__ */ ((PollLayoutDirection2) => {
1326
- PollLayoutDirection2["LTR"] = "LTR";
1327
- PollLayoutDirection2["RTL"] = "RTL";
1328
- return PollLayoutDirection2;
1329
- })(PollLayoutDirection || {});
1330
- var PollDesignBackgroundType = /* @__PURE__ */ ((PollDesignBackgroundType2) => {
1331
- PollDesignBackgroundType2["COLOR"] = "COLOR";
1332
- PollDesignBackgroundType2["IMAGE"] = "IMAGE";
1333
- PollDesignBackgroundType2["GRADIENT"] = "GRADIENT";
1334
- return PollDesignBackgroundType2;
1335
- })(PollDesignBackgroundType || {});
1336
- var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
1337
- DecorationType2["BOLD"] = "BOLD";
1338
- DecorationType2["ITALIC"] = "ITALIC";
1339
- DecorationType2["UNDERLINE"] = "UNDERLINE";
1340
- DecorationType2["SPOILER"] = "SPOILER";
1341
- DecorationType2["ANCHOR"] = "ANCHOR";
1342
- DecorationType2["MENTION"] = "MENTION";
1343
- DecorationType2["LINK"] = "LINK";
1344
- DecorationType2["COLOR"] = "COLOR";
1345
- DecorationType2["FONT_SIZE"] = "FONT_SIZE";
1346
- DecorationType2["EXTERNAL"] = "EXTERNAL";
1347
- DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
1348
- DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
1349
- DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
1350
- DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
1351
- DecorationType2["SKETCH"] = "SKETCH";
1352
- return DecorationType2;
1353
- })(DecorationType || {});
1354
- var FontType = /* @__PURE__ */ ((FontType2) => {
1355
- FontType2["PX"] = "PX";
1356
- FontType2["EM"] = "EM";
1357
- return FontType2;
1358
- })(FontType || {});
1359
- var Variant = /* @__PURE__ */ ((Variant2) => {
1360
- Variant2["UNDERLINE"] = "UNDERLINE";
1361
- Variant2["BOX"] = "BOX";
1362
- Variant2["CIRCLE"] = "CIRCLE";
1363
- Variant2["HIGHLIGHT"] = "HIGHLIGHT";
1364
- Variant2["STRIKETHROUGH"] = "STRIKETHROUGH";
1365
- Variant2["CROSSED_OFF"] = "CROSSED_OFF";
1366
- return Variant2;
1367
- })(Variant || {});
1368
- var Position = /* @__PURE__ */ ((Position2) => {
1369
- Position2["START"] = "START";
1370
- Position2["END"] = "END";
1371
- Position2["TOP"] = "TOP";
1372
- return Position2;
1373
- })(Position || {});
1374
- var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
1375
- AspectRatio2["SQUARE"] = "SQUARE";
1376
- AspectRatio2["RECTANGLE"] = "RECTANGLE";
1377
- return AspectRatio2;
1378
- })(AspectRatio || {});
1379
- var Resizing = /* @__PURE__ */ ((Resizing2) => {
1380
- Resizing2["FILL"] = "FILL";
1381
- Resizing2["FIT"] = "FIT";
1382
- return Resizing2;
1383
- })(Resizing || {});
1384
- var Placement = /* @__PURE__ */ ((Placement2) => {
1385
- Placement2["IMAGE"] = "IMAGE";
1386
- Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
1387
- return Placement2;
1388
- })(Placement || {});
1389
- var CardStylesType = /* @__PURE__ */ ((CardStylesType2) => {
1390
- CardStylesType2["CONTAINED"] = "CONTAINED";
1391
- CardStylesType2["FRAMELESS"] = "FRAMELESS";
1392
- return CardStylesType2;
1393
- })(CardStylesType || {});
1394
- var Alignment = /* @__PURE__ */ ((Alignment2) => {
1395
- Alignment2["START"] = "START";
1396
- Alignment2["CENTER"] = "CENTER";
1397
- Alignment2["END"] = "END";
1398
- return Alignment2;
1399
- })(Alignment || {});
1400
- var Layout = /* @__PURE__ */ ((Layout2) => {
1401
- Layout2["STACKED"] = "STACKED";
1402
- Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
1403
- return Layout2;
1404
- })(Layout || {});
1405
- var AppType = /* @__PURE__ */ ((AppType2) => {
1406
- AppType2["PRODUCT"] = "PRODUCT";
1407
- AppType2["EVENT"] = "EVENT";
1408
- AppType2["BOOKING"] = "BOOKING";
1409
- return AppType2;
1410
- })(AppType || {});
1411
- var InitialExpandedItems = /* @__PURE__ */ ((InitialExpandedItems2) => {
1412
- InitialExpandedItems2["FIRST"] = "FIRST";
1413
- InitialExpandedItems2["ALL"] = "ALL";
1414
- InitialExpandedItems2["NONE"] = "NONE";
1415
- return InitialExpandedItems2;
1416
- })(InitialExpandedItems || {});
1417
- var Direction = /* @__PURE__ */ ((Direction2) => {
1418
- Direction2["LTR"] = "LTR";
1419
- Direction2["RTL"] = "RTL";
1420
- return Direction2;
1421
- })(Direction || {});
1422
- var VerticalAlignment = /* @__PURE__ */ ((VerticalAlignment2) => {
1423
- VerticalAlignment2["TOP"] = "TOP";
1424
- VerticalAlignment2["MIDDLE"] = "MIDDLE";
1425
- VerticalAlignment2["BOTTOM"] = "BOTTOM";
1426
- return VerticalAlignment2;
1427
- })(VerticalAlignment || {});
1428
- var NullValue = /* @__PURE__ */ ((NullValue2) => {
1429
- NullValue2["NULL_VALUE"] = "NULL_VALUE";
1430
- return NullValue2;
1431
- })(NullValue || {});
1432
- var ImageScalingScaling = /* @__PURE__ */ ((ImageScalingScaling2) => {
1433
- ImageScalingScaling2["AUTO"] = "AUTO";
1434
- ImageScalingScaling2["CONTAIN"] = "CONTAIN";
1435
- ImageScalingScaling2["COVER"] = "COVER";
1436
- return ImageScalingScaling2;
1437
- })(ImageScalingScaling || {});
1438
- var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
1439
- ImagePosition2["CENTER"] = "CENTER";
1440
- ImagePosition2["CENTER_LEFT"] = "CENTER_LEFT";
1441
- ImagePosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
1442
- ImagePosition2["TOP"] = "TOP";
1443
- ImagePosition2["TOP_LEFT"] = "TOP_LEFT";
1444
- ImagePosition2["TOP_RIGHT"] = "TOP_RIGHT";
1445
- ImagePosition2["BOTTOM"] = "BOTTOM";
1446
- ImagePosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
1447
- ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
1448
- return ImagePosition2;
1449
- })(ImagePosition || {});
1450
- var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
1451
- LayoutDataBackgroundType2["COLOR"] = "COLOR";
1452
- LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
1453
- return LayoutDataBackgroundType2;
1454
- })(LayoutDataBackgroundType || {});
1455
- var Origin = /* @__PURE__ */ ((Origin2) => {
1456
- Origin2["IMAGE"] = "IMAGE";
1457
- Origin2["LAYOUT"] = "LAYOUT";
1458
- return Origin2;
1459
- })(Origin || {});
1460
- var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
1461
- BannerPosition2["TOP"] = "TOP";
1462
- BannerPosition2["BOTTOM"] = "BOTTOM";
1463
- return BannerPosition2;
1464
- })(BannerPosition || {});
1465
- var LayerEffect = /* @__PURE__ */ ((LayerEffect2) => {
1466
- LayerEffect2["CENTER"] = "CENTER";
1467
- LayerEffect2["FADE_TO_TOP"] = "FADE_TO_TOP";
1468
- LayerEffect2["FADE_TO_BOTTOM"] = "FADE_TO_BOTTOM";
1469
- return LayerEffect2;
1470
- })(LayerEffect || {});
1471
- var Shape = /* @__PURE__ */ ((Shape2) => {
1472
- Shape2["ELLIPSE"] = "ELLIPSE";
1473
- Shape2["TILT"] = "TILT";
1474
- Shape2["LIQUID"] = "LIQUID";
1475
- Shape2["LEFT_WAVE"] = "LEFT_WAVE";
1476
- Shape2["PAINT_SCRIBBLE"] = "PAINT_SCRIBBLE";
1477
- Shape2["INVERTED_ELLIPSE"] = "INVERTED_ELLIPSE";
1478
- Shape2["RIGHT_WAVE"] = "RIGHT_WAVE";
1479
- Shape2["DUNES"] = "DUNES";
1480
- Shape2["WAVES"] = "WAVES";
1481
- Shape2["TRIANGLE"] = "TRIANGLE";
1482
- Shape2["SEMI_ELLIPSE"] = "SEMI_ELLIPSE";
1483
- Shape2["PLANTS"] = "PLANTS";
1484
- Shape2["LAYERED_ELLIPSE"] = "LAYERED_ELLIPSE";
1485
- Shape2["PIXELS"] = "PIXELS";
1486
- Shape2["PAINT"] = "PAINT";
1487
- Shape2["CLOUDS"] = "CLOUDS";
1488
- Shape2["OPTICAL_ILLUSION"] = "OPTICAL_ILLUSION";
1489
- Shape2["STRIPES"] = "STRIPES";
1490
- Shape2["BLOBS"] = "BLOBS";
1491
- Shape2["SEMI_CIRCLES"] = "SEMI_CIRCLES";
1492
- Shape2["HILL"] = "HILL";
1493
- Shape2["BRUSH"] = "BRUSH";
1494
- Shape2["PEAKS"] = "PEAKS";
1495
- Shape2["ANGLED_TRIANGLE"] = "ANGLED_TRIANGLE";
1496
- return Shape2;
1497
- })(Shape || {});
1498
- var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
1499
- BackdropType2["COLOR"] = "COLOR";
1500
- BackdropType2["GRADIENT"] = "GRADIENT";
1501
- return BackdropType2;
1502
- })(BackdropType || {});
1503
- var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
1504
- VerticalAlignmentAlignment2["TOP"] = "TOP";
1505
- VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
1506
- VerticalAlignmentAlignment2["BOTTOM"] = "BOTTOM";
1507
- return VerticalAlignmentAlignment2;
1508
- })(VerticalAlignmentAlignment || {});
1509
- var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
1510
- ResponsivenessBehaviour2["STACK"] = "STACK";
1511
- ResponsivenessBehaviour2["WRAP"] = "WRAP";
1512
- return ResponsivenessBehaviour2;
1513
- })(ResponsivenessBehaviour || {});
1514
- var DesignTarget = /* @__PURE__ */ ((DesignTarget2) => {
1515
- DesignTarget2["LAYOUT"] = "LAYOUT";
1516
- DesignTarget2["CELL"] = "CELL";
1517
- return DesignTarget2;
1518
- })(DesignTarget || {});
1519
- var Scaling = /* @__PURE__ */ ((Scaling2) => {
1520
- Scaling2["AUTO"] = "AUTO";
1521
- Scaling2["CONTAIN"] = "CONTAIN";
1522
- Scaling2["COVER"] = "COVER";
1523
- return Scaling2;
1524
- })(Scaling || {});
1525
- var ImagePositionPosition = /* @__PURE__ */ ((ImagePositionPosition2) => {
1526
- ImagePositionPosition2["CENTER"] = "CENTER";
1527
- ImagePositionPosition2["CENTER_LEFT"] = "CENTER_LEFT";
1528
- ImagePositionPosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
1529
- ImagePositionPosition2["TOP"] = "TOP";
1530
- ImagePositionPosition2["TOP_LEFT"] = "TOP_LEFT";
1531
- ImagePositionPosition2["TOP_RIGHT"] = "TOP_RIGHT";
1532
- ImagePositionPosition2["BOTTOM"] = "BOTTOM";
1533
- ImagePositionPosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
1534
- ImagePositionPosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
1535
- return ImagePositionPosition2;
1536
- })(ImagePositionPosition || {});
1537
- var CardDataBackgroundType = /* @__PURE__ */ ((CardDataBackgroundType2) => {
1538
- CardDataBackgroundType2["COLOR"] = "COLOR";
1539
- CardDataBackgroundType2["GRADIENT"] = "GRADIENT";
1540
- return CardDataBackgroundType2;
1541
- })(CardDataBackgroundType || {});
1542
- var ListStyle = /* @__PURE__ */ ((ListStyle2) => {
1543
- ListStyle2["PLAIN"] = "PLAIN";
1544
- ListStyle2["NUMBERED"] = "NUMBERED";
1545
- ListStyle2["LETTERS"] = "LETTERS";
1546
- ListStyle2["ROMAN"] = "ROMAN";
1547
- ListStyle2["BULLETED"] = "BULLETED";
1548
- ListStyle2["ALPHABETICAL_INDEX"] = "ALPHABETICAL_INDEX";
1549
- ListStyle2["ALPHABETICAL_INDEX_COMPACT"] = "ALPHABETICAL_INDEX_COMPACT";
1550
- return ListStyle2;
1551
- })(ListStyle || {});
1552
- var Indentation = /* @__PURE__ */ ((Indentation2) => {
1553
- Indentation2["NESTED"] = "NESTED";
1554
- Indentation2["FLAT"] = "FLAT";
1555
- return Indentation2;
1556
- })(Indentation || {});
1557
- var SmartBlockDataType = /* @__PURE__ */ ((SmartBlockDataType2) => {
1558
- SmartBlockDataType2["SOLID_BOXES"] = "SOLID_BOXES";
1559
- SmartBlockDataType2["NUMBERED_BOXES"] = "NUMBERED_BOXES";
1560
- SmartBlockDataType2["STATS"] = "STATS";
1561
- SmartBlockDataType2["CIRCLE_STATS"] = "CIRCLE_STATS";
1562
- SmartBlockDataType2["SOLID_BOXES_ALTERNATING"] = "SOLID_BOXES_ALTERNATING";
1563
- SmartBlockDataType2["SOLID_JOINED_BOXES"] = "SOLID_JOINED_BOXES";
1564
- SmartBlockDataType2["SIDE_LINE_TEXT"] = "SIDE_LINE_TEXT";
1565
- SmartBlockDataType2["TOP_LINE_TEXT"] = "TOP_LINE_TEXT";
1566
- SmartBlockDataType2["OUTLINE_BOXES_WITH_TOP_CIRCLE"] = "OUTLINE_BOXES_WITH_TOP_CIRCLE";
1567
- SmartBlockDataType2["BIG_BULLETS"] = "BIG_BULLETS";
1568
- SmartBlockDataType2["SMALL_BULLETS"] = "SMALL_BULLETS";
1569
- SmartBlockDataType2["ARROW_BULLETS"] = "ARROW_BULLETS";
1570
- SmartBlockDataType2["PROCESS_STEPS"] = "PROCESS_STEPS";
1571
- SmartBlockDataType2["BAR_STATS"] = "BAR_STATS";
1572
- SmartBlockDataType2["TIMELINE"] = "TIMELINE";
1573
- SmartBlockDataType2["MINIMAL_TIMELINE"] = "MINIMAL_TIMELINE";
1574
- SmartBlockDataType2["PILLS"] = "PILLS";
1575
- SmartBlockDataType2["STAR_RATING"] = "STAR_RATING";
1576
- SmartBlockDataType2["QUOTE_BOXES"] = "QUOTE_BOXES";
1577
- SmartBlockDataType2["CIRCLE"] = "CIRCLE";
1578
- SmartBlockDataType2["PYRAMID"] = "PYRAMID";
1579
- SmartBlockDataType2["STAIRCASE"] = "STAIRCASE";
1580
- SmartBlockDataType2["VERTICAL_FUNNEL"] = "VERTICAL_FUNNEL";
1581
- return SmartBlockDataType2;
1582
- })(SmartBlockDataType || {});
1583
- var ColumnSize = /* @__PURE__ */ ((ColumnSize2) => {
1584
- ColumnSize2["SMALL"] = "SMALL";
1585
- ColumnSize2["MEDIUM"] = "MEDIUM";
1586
- ColumnSize2["LARGE"] = "LARGE";
1587
- ColumnSize2["EXTRA_LARGE"] = "EXTRA_LARGE";
1588
- return ColumnSize2;
1589
- })(ColumnSize || {});
1590
- var Status = /* @__PURE__ */ ((Status2) => {
1591
- Status2["UNKNOWN"] = "UNKNOWN";
1592
- Status2["APPROVED"] = "APPROVED";
1593
- Status2["REJECTED"] = "REJECTED";
1594
- return Status2;
1595
- })(Status || {});
1596
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1597
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1598
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1599
- WebhookIdentityType2["MEMBER"] = "MEMBER";
1600
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1601
- WebhookIdentityType2["APP"] = "APP";
1602
- return WebhookIdentityType2;
1603
- })(WebhookIdentityType || {});
1604
- var QueryPublicationsCountStatsRequestOrder = /* @__PURE__ */ ((QueryPublicationsCountStatsRequestOrder2) => {
1605
- QueryPublicationsCountStatsRequestOrder2["UNKNOWN"] = "UNKNOWN";
1606
- QueryPublicationsCountStatsRequestOrder2["OLDEST"] = "OLDEST";
1607
- QueryPublicationsCountStatsRequestOrder2["NEWEST"] = "NEWEST";
1608
- return QueryPublicationsCountStatsRequestOrder2;
1609
- })(QueryPublicationsCountStatsRequestOrder || {});
1610
- var Order = /* @__PURE__ */ ((Order2) => {
1611
- Order2["UNKNOWN"] = "UNKNOWN";
1612
- Order2["OLDEST"] = "OLDEST";
1613
- Order2["NEWEST"] = "NEWEST";
1614
- return Order2;
1615
- })(Order || {});
1616
- var GetPostsSort = /* @__PURE__ */ ((GetPostsSort2) => {
1617
- GetPostsSort2["FEED"] = "FEED";
1618
- GetPostsSort2["PUBLISHED_DATE_ASC"] = "PUBLISHED_DATE_ASC";
1619
- GetPostsSort2["PUBLISHED_DATE_DESC"] = "PUBLISHED_DATE_DESC";
1620
- GetPostsSort2["VIEW_COUNT"] = "VIEW_COUNT";
1621
- GetPostsSort2["LIKE_COUNT"] = "LIKE_COUNT";
1622
- GetPostsSort2["TITLE_ASC"] = "TITLE_ASC";
1623
- GetPostsSort2["TITLE_DESC"] = "TITLE_DESC";
1624
- GetPostsSort2["RATING"] = "RATING";
1625
- return GetPostsSort2;
1626
- })(GetPostsSort || {});
1627
- var PostFieldField = /* @__PURE__ */ ((PostFieldField2) => {
1628
- PostFieldField2["UNKNOWN"] = "UNKNOWN";
1629
- PostFieldField2["COUNTERS"] = "COUNTERS";
1630
- PostFieldField2["URL"] = "URL";
1631
- PostFieldField2["CONTENT_TEXT"] = "CONTENT_TEXT";
1632
- PostFieldField2["METRICS"] = "METRICS";
1633
- PostFieldField2["SEO"] = "SEO";
1634
- PostFieldField2["CONTENT"] = "CONTENT";
1635
- PostFieldField2["INTERNAL_ID"] = "INTERNAL_ID";
1636
- PostFieldField2["CONTACT_ID"] = "CONTACT_ID";
1637
- PostFieldField2["RICH_CONTENT"] = "RICH_CONTENT";
1638
- PostFieldField2["RICH_CONTENT_STRING"] = "RICH_CONTENT_STRING";
1639
- PostFieldField2["RICH_CONTENT_COMPRESSED"] = "RICH_CONTENT_COMPRESSED";
1640
- PostFieldField2["TRANSLATIONS"] = "TRANSLATIONS";
1641
- PostFieldField2["REFERENCE_ID"] = "REFERENCE_ID";
1642
- PostFieldField2["EXCLUDE_PAID_CONTENT"] = "EXCLUDE_PAID_CONTENT";
1643
- PostFieldField2["SEO_DATA"] = "SEO_DATA";
1644
- PostFieldField2["OWNER"] = "OWNER";
1645
- PostFieldField2["HAS_UNPUBLISHED_CHANGES"] = "HAS_UNPUBLISHED_CHANGES";
1646
- PostFieldField2["HEADING"] = "HEADING";
1647
- PostFieldField2["IMAGE"] = "IMAGE";
1648
- return PostFieldField2;
1649
- })(PostFieldField || {});
1650
- var Field = /* @__PURE__ */ ((Field2) => {
1651
- Field2["UNKNOWN"] = "UNKNOWN";
1652
- Field2["TOTAL_COMMENTS"] = "TOTAL_COMMENTS";
1653
- Field2["LIKE_COUNT"] = "LIKE_COUNT";
1654
- Field2["VIEW_COUNT"] = "VIEW_COUNT";
1655
- Field2["RATING_COUNT"] = "RATING_COUNT";
1656
- return Field2;
1657
- })(Field || {});
1658
- var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
1659
- SortOrder2["ASC"] = "ASC";
1660
- SortOrder2["DESC"] = "DESC";
1661
- return SortOrder2;
1662
- })(SortOrder || {});
1663
-
1664
- // src/blog-v3-post-posts.meta.ts
1665
- function queryPostCountStats2() {
1666
- const payload = {};
1667
- const getRequestOptions = queryPostCountStats(payload);
1668
- const getUrl = (context) => {
1669
- const { url } = getRequestOptions(context);
1670
- return url;
1671
- };
1672
- return {
1673
- getUrl,
1674
- httpMethod: "GET",
1675
- path: "/v2/stats/post/count",
1676
- pathParams: {},
1677
- __requestType: null,
1678
- __originalRequestType: null,
1679
- __responseType: null,
1680
- __originalResponseType: null
1681
- };
1682
- }
1683
- function getTotalPosts2() {
1684
- const payload = {};
1685
- const getRequestOptions = getTotalPosts(payload);
1686
- const getUrl = (context) => {
1687
- const { url } = getRequestOptions(context);
1688
- return url;
1689
- };
1690
- return {
1691
- getUrl,
1692
- httpMethod: "GET",
1693
- path: "/v2/stats/posts/total",
1694
- pathParams: {},
1695
- __requestType: null,
1696
- __originalRequestType: null,
1697
- __responseType: null,
1698
- __originalResponseType: null
1699
- };
1700
- }
1701
- function getPost2() {
1702
- const payload = { postId: ":postId" };
1703
- const getRequestOptions = getPost(payload);
1704
- const getUrl = (context) => {
1705
- const { url } = getRequestOptions(context);
1706
- return url;
1707
- };
1708
- return {
1709
- getUrl,
1710
- httpMethod: "GET",
1711
- path: "/v3/posts/{postId}",
1712
- pathParams: { postId: "postId" },
1713
- __requestType: null,
1714
- __originalRequestType: null,
1715
- __responseType: null,
1716
- __originalResponseType: null
1717
- };
1718
- }
1719
- function getPostBySlug2() {
1720
- const payload = { slug: ":slug" };
1721
- const getRequestOptions = getPostBySlug(payload);
1722
- const getUrl = (context) => {
1723
- const { url } = getRequestOptions(context);
1724
- return url;
1725
- };
1726
- return {
1727
- getUrl,
1728
- httpMethod: "GET",
1729
- path: "/v3/posts/slugs/{slug}",
1730
- pathParams: { slug: "slug" },
1731
- __requestType: null,
1732
- __originalRequestType: null,
1733
- __responseType: null,
1734
- __originalResponseType: null
1735
- };
1736
- }
1737
- function listPosts2() {
1738
- const payload = {};
1739
- const getRequestOptions = listPosts(payload);
1740
- const getUrl = (context) => {
1741
- const { url } = getRequestOptions(context);
1742
- return url;
1743
- };
1744
- return {
1745
- getUrl,
1746
- httpMethod: "GET",
1747
- path: "/v3/posts",
1748
- pathParams: {},
1749
- __requestType: null,
1750
- __originalRequestType: null,
1751
- __responseType: null,
1752
- __originalResponseType: null
1753
- };
1754
- }
1755
- function queryPosts2() {
1756
- const payload = {};
1757
- const getRequestOptions = queryPosts(payload);
1758
- const getUrl = (context) => {
1759
- const { url } = getRequestOptions(context);
1760
- return url;
1761
- };
1762
- return {
1763
- getUrl,
1764
- httpMethod: "POST",
1765
- path: "/v3/posts/query",
1766
- pathParams: {},
1767
- __requestType: null,
1768
- __originalRequestType: null,
1769
- __responseType: null,
1770
- __originalResponseType: null
1771
- };
1772
- }
1773
- function getPostMetrics2() {
1774
- const payload = { postId: ":postId" };
1775
- const getRequestOptions = getPostMetrics(payload);
1776
- const getUrl = (context) => {
1777
- const { url } = getRequestOptions(context);
1778
- return url;
1779
- };
1780
- return {
1781
- getUrl,
1782
- httpMethod: "GET",
1783
- path: "/v3/posts/{postId}/metrics",
1784
- pathParams: { postId: "postId" },
1785
- __requestType: null,
1786
- __originalRequestType: null,
1787
- __responseType: null,
1788
- __originalResponseType: null
1789
- };
1790
- }
1791
- export {
1792
- Alignment as AlignmentOriginal,
1793
- AppType as AppTypeOriginal,
1794
- AspectRatio as AspectRatioOriginal,
1795
- BackdropType as BackdropTypeOriginal,
1796
- BackgroundType as BackgroundTypeOriginal,
1797
- BannerPosition as BannerPositionOriginal,
1798
- ButtonDataType as ButtonDataTypeOriginal,
1799
- CardDataBackgroundType as CardDataBackgroundTypeOriginal,
1800
- CardStylesType as CardStylesTypeOriginal,
1801
- ColumnSize as ColumnSizeOriginal,
1802
- Crop as CropOriginal,
1803
- DecorationType as DecorationTypeOriginal,
1804
- DesignTarget as DesignTargetOriginal,
1805
- Direction as DirectionOriginal,
1806
- DividerDataAlignment as DividerDataAlignmentOriginal,
1807
- EntranceEffectType as EntranceEffectTypeOriginal,
1808
- Field as FieldOriginal,
1809
- FontType as FontTypeOriginal,
1810
- GIFType as GIFTypeOriginal,
1811
- GetPostsSort as GetPostsSortOriginal,
1812
- GradientType as GradientTypeOriginal,
1813
- ImagePosition as ImagePositionOriginal,
1814
- ImagePositionPosition as ImagePositionPositionOriginal,
1815
- ImageScalingScaling as ImageScalingScalingOriginal,
1816
- Indentation as IndentationOriginal,
1817
- InitialExpandedItems as InitialExpandedItemsOriginal,
1818
- LayerEffect as LayerEffectOriginal,
1819
- LayoutDataBackgroundType as LayoutDataBackgroundTypeOriginal,
1820
- Layout as LayoutOriginal,
1821
- LayoutType as LayoutTypeOriginal,
1822
- LineCap as LineCapOriginal,
1823
- LineStyle as LineStyleOriginal,
1824
- ListStyle as ListStyleOriginal,
1825
- LoopEffectType as LoopEffectTypeOriginal,
1826
- MapType as MapTypeOriginal,
1827
- NodeType as NodeTypeOriginal,
1828
- NullValue as NullValueOriginal,
1829
- Order as OrderOriginal,
1830
- Orientation as OrientationOriginal,
1831
- Origin as OriginOriginal,
1832
- Placement as PlacementOriginal,
1833
- PluginContainerDataAlignment as PluginContainerDataAlignmentOriginal,
1834
- PointerEffectType as PointerEffectTypeOriginal,
1835
- PollDesignBackgroundType as PollDesignBackgroundTypeOriginal,
1836
- PollLayoutDirection as PollLayoutDirectionOriginal,
1837
- PollLayoutType as PollLayoutTypeOriginal,
1838
- Position as PositionOriginal,
1839
- PostFieldField as PostFieldFieldOriginal,
1840
- QueryPublicationsCountStatsRequestOrder as QueryPublicationsCountStatsRequestOrderOriginal,
1841
- Resizing as ResizingOriginal,
1842
- ResponsivenessBehaviour as ResponsivenessBehaviourOriginal,
1843
- Scaling as ScalingOriginal,
1844
- Shape as ShapeOriginal,
1845
- SmartBlockDataType as SmartBlockDataTypeOriginal,
1846
- SortOrder as SortOrderOriginal,
1847
- Source as SourceOriginal,
1848
- Status as StatusOriginal,
1849
- StylesPosition as StylesPositionOriginal,
1850
- Target as TargetOriginal,
1851
- TextAlignment as TextAlignmentOriginal,
1852
- ThumbnailsAlignment as ThumbnailsAlignmentOriginal,
1853
- Type as TypeOriginal,
1854
- Variant as VariantOriginal,
1855
- VerticalAlignmentAlignment as VerticalAlignmentAlignmentOriginal,
1856
- VerticalAlignment as VerticalAlignmentOriginal,
1857
- ViewMode as ViewModeOriginal,
1858
- ViewRole as ViewRoleOriginal,
1859
- VoteRole as VoteRoleOriginal,
1860
- WebhookIdentityType as WebhookIdentityTypeOriginal,
1861
- Width as WidthOriginal,
1862
- WidthType as WidthTypeOriginal,
1863
- getPost2 as getPost,
1864
- getPostBySlug2 as getPostBySlug,
1865
- getPostMetrics2 as getPostMetrics,
1866
- getTotalPosts2 as getTotalPosts,
1867
- listPosts2 as listPosts,
1868
- queryPostCountStats2 as queryPostCountStats,
1869
- queryPosts2 as queryPosts
1870
- };
1871
- //# sourceMappingURL=meta.mjs.map