@wix/auto_sdk_blog_draft-posts 1.0.98 → 1.0.99

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.
@@ -1,4159 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // meta.ts
21
- var meta_exports = {};
22
- __export(meta_exports, {
23
- ActionOriginal: () => Action,
24
- AlignmentOriginal: () => Alignment,
25
- AnimationTypeOriginal: () => AnimationType,
26
- AppTypeOriginal: () => AppType,
27
- AspectRatioOriginal: () => AspectRatio,
28
- BackdropTypeOriginal: () => BackdropType,
29
- BackgroundTypeOriginal: () => BackgroundType,
30
- BannerOriginOriginal: () => BannerOrigin,
31
- BannerPositionOriginal: () => BannerPosition,
32
- ButtonDataTypeOriginal: () => ButtonDataType,
33
- CardDataBackgroundTypeOriginal: () => CardDataBackgroundType,
34
- CardStylesTypeOriginal: () => CardStylesType,
35
- ColumnSizeOriginal: () => ColumnSize,
36
- CropOriginal: () => Crop,
37
- DecorationTypeOriginal: () => DecorationType,
38
- DesignTargetOriginal: () => DesignTarget,
39
- DirectionOriginal: () => Direction,
40
- DividerDataAlignmentOriginal: () => DividerDataAlignment,
41
- EntranceEffectTypeOriginal: () => EntranceEffectType,
42
- FieldOriginal: () => Field,
43
- FontTypeOriginal: () => FontType,
44
- GIFTypeOriginal: () => GIFType,
45
- GetDraftPostsSortOriginal: () => GetDraftPostsSort,
46
- GradientTypeOriginal: () => GradientType,
47
- ImagePositionOriginal: () => ImagePosition,
48
- ImagePositionPositionOriginal: () => ImagePositionPosition,
49
- ImageScalingScalingOriginal: () => ImageScalingScaling,
50
- IndentationOriginal: () => Indentation,
51
- InitialExpandedItemsOriginal: () => InitialExpandedItems,
52
- LayerEffectOriginal: () => LayerEffect,
53
- LayoutDataBackgroundTypeOriginal: () => LayoutDataBackgroundType,
54
- LayoutOriginal: () => Layout,
55
- LayoutTypeOriginal: () => LayoutType,
56
- LineCapOriginal: () => LineCap,
57
- LineStyleOriginal: () => LineStyle,
58
- ListStyleOriginal: () => ListStyle,
59
- LoopEffectTypeOriginal: () => LoopEffectType,
60
- MapTypeOriginal: () => MapType,
61
- ModerationStatusStatusOriginal: () => ModerationStatusStatus,
62
- NodeTypeOriginal: () => NodeType,
63
- NullValueOriginal: () => NullValue,
64
- OrientationOriginal: () => Orientation,
65
- OriginOriginal: () => Origin,
66
- PlacementOriginal: () => Placement,
67
- PluginContainerDataAlignmentOriginal: () => PluginContainerDataAlignment,
68
- PointerEffectTypeOriginal: () => PointerEffectType,
69
- PollDesignBackgroundTypeOriginal: () => PollDesignBackgroundType,
70
- PollLayoutDirectionOriginal: () => PollLayoutDirection,
71
- PollLayoutTypeOriginal: () => PollLayoutType,
72
- PositionOriginal: () => Position,
73
- ResizingOriginal: () => Resizing,
74
- ResponsivenessBehaviourOriginal: () => ResponsivenessBehaviour,
75
- ScalingOriginal: () => Scaling,
76
- ShapeOriginal: () => Shape,
77
- SmartBlockDataTypeOriginal: () => SmartBlockDataType,
78
- SortOrderOriginal: () => SortOrder,
79
- SourceOriginal: () => Source,
80
- StatusOriginal: () => Status,
81
- StylesPositionOriginal: () => StylesPosition,
82
- TargetOriginal: () => Target,
83
- TextAlignmentOriginal: () => TextAlignment,
84
- ThumbnailsAlignmentOriginal: () => ThumbnailsAlignment,
85
- TotalDraftPostsGroupingFieldOriginal: () => TotalDraftPostsGroupingField,
86
- TypeOriginal: () => Type,
87
- VariantOriginal: () => Variant,
88
- VerticalAlignmentAlignmentOriginal: () => VerticalAlignmentAlignment,
89
- VerticalAlignmentOriginal: () => VerticalAlignment,
90
- ViewModeOriginal: () => ViewMode,
91
- ViewRoleOriginal: () => ViewRole,
92
- VoteRoleOriginal: () => VoteRole,
93
- WebhookIdentityTypeOriginal: () => WebhookIdentityType,
94
- WidthOriginal: () => Width,
95
- WidthTypeOriginal: () => WidthType,
96
- bulkCreateDraftPosts: () => bulkCreateDraftPosts2,
97
- bulkDeleteDraftPosts: () => bulkDeleteDraftPosts2,
98
- bulkUpdateDraftPosts: () => bulkUpdateDraftPosts2,
99
- createDraftPost: () => createDraftPost2,
100
- deleteDraftPost: () => deleteDraftPost2,
101
- getDeletedDraftPost: () => getDeletedDraftPost2,
102
- getDraftPost: () => getDraftPost2,
103
- listDeletedDraftPosts: () => listDeletedDraftPosts2,
104
- listDraftPosts: () => listDraftPosts2,
105
- publishDraftPost: () => publishDraftPost2,
106
- queryDraftPosts: () => queryDraftPosts2,
107
- removeFromTrashBin: () => removeFromTrashBin2,
108
- restoreFromTrashBin: () => restoreFromTrashBin2,
109
- updateDraftPost: () => updateDraftPost2
110
- });
111
- module.exports = __toCommonJS(meta_exports);
112
-
113
- // src/blog-v3-draft-draft-posts.http.ts
114
- var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
115
- var import_float = require("@wix/sdk-runtime/transformations/float");
116
- var import_float2 = require("@wix/sdk-runtime/transformations/float");
117
- var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
118
- var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
119
- var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
120
- var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
121
- var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
122
- function resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(opts) {
123
- const domainToMappings = {
124
- _api_base_domain_: [
125
- {
126
- srcPath: "/draft-post-service-api-proxy",
127
- destPath: ""
128
- }
129
- ],
130
- "*.dev.wix-code.com": [
131
- {
132
- srcPath: "/_api/communities-blog-node-api/v3/draft-posts",
133
- destPath: "/v3/draft-posts"
134
- },
135
- {
136
- srcPath: "/blog/v3/bulk/draft-posts/create",
137
- destPath: "/v3/bulk/draft-posts/create"
138
- },
139
- {
140
- srcPath: "/blog/v3/bulk/draft-posts",
141
- destPath: "/v3/bulk/draft-posts"
142
- }
143
- ],
144
- "*.pub.wix-code.com": [
145
- {
146
- srcPath: "/_api/communities-blog-node-api/v3/draft-posts",
147
- destPath: "/v3/draft-posts"
148
- }
149
- ],
150
- _: [
151
- {
152
- srcPath: "/_api/communities-blog-node-api/v3/draft-posts",
153
- destPath: "/v3/draft-posts"
154
- },
155
- {
156
- srcPath: "/blog/v3/bulk/draft-posts/create",
157
- destPath: "/v3/bulk/draft-posts/create"
158
- },
159
- {
160
- srcPath: "/blog/v3/bulk/draft-posts",
161
- destPath: "/v3/bulk/draft-posts"
162
- }
163
- ],
164
- "apps._base_domain_": [
165
- {
166
- srcPath: "/_api/communities-blog-node-api/v3/draft-posts",
167
- destPath: "/v3/draft-posts"
168
- }
169
- ],
170
- "bo._base_domain_": [
171
- {
172
- srcPath: "/_api/communities-blog-node-api/v3/draft-posts",
173
- destPath: "/v3/draft-posts"
174
- }
175
- ],
176
- "wixbo.ai": [
177
- {
178
- srcPath: "/_api/communities-blog-node-api/v3/draft-posts",
179
- destPath: "/v3/draft-posts"
180
- }
181
- ],
182
- "wix-bo.com": [
183
- {
184
- srcPath: "/_api/communities-blog-node-api/v3/draft-posts",
185
- destPath: "/v3/draft-posts"
186
- }
187
- ],
188
- "editor._base_domain_": [
189
- {
190
- srcPath: "/_api/communities-blog-node-api/v3/draft-posts",
191
- destPath: "/v3/draft-posts"
192
- }
193
- ],
194
- "blocks._base_domain_": [
195
- {
196
- srcPath: "/_api/communities-blog-node-api/v3/draft-posts",
197
- destPath: "/v3/draft-posts"
198
- }
199
- ],
200
- "create.editorx": [
201
- {
202
- srcPath: "/_api/communities-blog-node-api/v3/draft-posts",
203
- destPath: "/v3/draft-posts"
204
- }
205
- ],
206
- "editor.wixapps.net": [
207
- {
208
- srcPath: "/_api/communities-blog-node-api/v3/draft-posts",
209
- destPath: "/v3/draft-posts"
210
- }
211
- ],
212
- "manage._base_domain_": [
213
- {
214
- srcPath: "/_api/communities-blog-node-api/v3/draft-posts",
215
- destPath: "/v3/draft-posts"
216
- },
217
- {
218
- srcPath: "/_api/draft-post-service-api-proxy/v3/bulk/draft-posts",
219
- destPath: "/v3/bulk/draft-posts"
220
- },
221
- {
222
- srcPath: "/_api/communities-blog-node-api/v3/multilingual",
223
- destPath: "/v3/multilingual"
224
- },
225
- {
226
- srcPath: "/_api/communities-blog-node-api/v3/stats",
227
- destPath: "/v3/stats"
228
- },
229
- {
230
- srcPath: "/_api/communities-blog-node-api/v3/moderation",
231
- destPath: "/v3/moderation"
232
- },
233
- {
234
- srcPath: "/_api/communities-blog-node-api/v3/bulk/moderation",
235
- destPath: "/v3/bulk/moderation"
236
- },
237
- {
238
- srcPath: "/_api/communities-blog-node-api/v3/bulk/draft-posts/create",
239
- destPath: "/v3/bulk/draft-posts/create"
240
- }
241
- ],
242
- "social-blog._base_domain_": [
243
- {
244
- srcPath: "/_api/communities-blog-node-api/v3/draft-posts",
245
- destPath: "/v3/draft-posts"
246
- }
247
- ],
248
- "www.wixapis.com": [
249
- {
250
- srcPath: "/blog/v3/draft-posts",
251
- destPath: "/v3/draft-posts"
252
- },
253
- {
254
- srcPath: "/blog/v3/bulk/draft-posts/create",
255
- destPath: "/v3/bulk/draft-posts/create"
256
- },
257
- {
258
- srcPath: "/blog/v3/draft-posts/",
259
- destPath: "/v3/draft-posts"
260
- },
261
- {
262
- srcPath: "/blog/v3/bulk/draft-posts",
263
- destPath: "/v3/bulk/draft-posts"
264
- }
265
- ],
266
- "www._base_domain_": [
267
- {
268
- srcPath: "/_api/communities-blog-node-api/v3/draft-posts",
269
- destPath: "/v3/draft-posts"
270
- }
271
- ]
272
- };
273
- return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
274
- }
275
- var PACKAGE_NAME = "@wix/auto_sdk_blog_draft-posts";
276
- function createDraftPost(payload) {
277
- function __createDraftPost({ host }) {
278
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
279
- {
280
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
281
- paths: [
282
- { path: "draftPost.editedDate" },
283
- { path: "draftPost.scheduledPublishDate" },
284
- { path: "draftPost.firstPublishedDate" },
285
- { path: "draftPost.createdDate" },
286
- { path: "draftPost.heroImage.urlExpirationDate" },
287
- { path: "draftPost.richContent.metadata.createdTimestamp" },
288
- { path: "draftPost.richContent.metadata.updatedTimestamp" },
289
- { path: "draftPost.moderationDetails.submittedDate" },
290
- { path: "draftPost.moderationDetails.moderationDate" },
291
- { path: "draftPost.media.wixMedia.image.urlExpirationDate" },
292
- { path: "draftPost.media.wixMedia.videoV2.urlExpirationDate" },
293
- {
294
- path: "draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate"
295
- },
296
- {
297
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
298
- },
299
- {
300
- path: "draftPost.media.wixMedia.videoV2.posters.urlExpirationDate"
301
- }
302
- ]
303
- },
304
- {
305
- transformFn: import_float.transformSDKFloatToRESTFloat,
306
- paths: [
307
- { path: "draftPost.heroImage.focalPoint.x" },
308
- { path: "draftPost.heroImage.focalPoint.y" },
309
- { path: "draftPost.media.wixMedia.image.focalPoint.x" },
310
- { path: "draftPost.media.wixMedia.image.focalPoint.y" },
311
- {
312
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
313
- },
314
- {
315
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
316
- },
317
- { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.x" },
318
- { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.y" },
319
- {
320
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX"
321
- },
322
- {
323
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY"
324
- },
325
- {
326
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position"
327
- },
328
- {
329
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
330
- },
331
- {
332
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
333
- },
334
- {
335
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
336
- },
337
- {
338
- path: "draftPost.richContent.nodes.galleryData.items.image.media.duration"
339
- },
340
- {
341
- path: "draftPost.richContent.nodes.galleryData.items.video.media.duration"
342
- },
343
- {
344
- path: "draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration"
345
- },
346
- {
347
- path: "draftPost.richContent.nodes.galleryData.options.item.ratio"
348
- },
349
- { path: "draftPost.richContent.nodes.imageData.image.duration" },
350
- { path: "draftPost.richContent.nodes.imageData.crop.x" },
351
- { path: "draftPost.richContent.nodes.imageData.crop.y" },
352
- { path: "draftPost.richContent.nodes.imageData.crop.width" },
353
- { path: "draftPost.richContent.nodes.imageData.crop.height" },
354
- { path: "draftPost.richContent.nodes.mapData.mapSettings.lat" },
355
- { path: "draftPost.richContent.nodes.mapData.mapSettings.lng" },
356
- { path: "draftPost.richContent.nodes.pollData.poll.image.duration" },
357
- {
358
- path: "draftPost.richContent.nodes.pollData.poll.options.image.duration"
359
- },
360
- {
361
- path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
362
- },
363
- { path: "draftPost.richContent.nodes.appEmbedData.image.duration" },
364
- { path: "draftPost.richContent.nodes.videoData.video.duration" },
365
- { path: "draftPost.richContent.nodes.videoData.thumbnail.duration" },
366
- { path: "draftPost.richContent.nodes.audioData.audio.duration" },
367
- { path: "draftPost.richContent.nodes.audioData.coverImage.duration" },
368
- {
369
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
370
- },
371
- {
372
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
373
- },
374
- {
375
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
376
- },
377
- {
378
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
379
- },
380
- {
381
- path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
382
- },
383
- {
384
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
385
- },
386
- {
387
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
388
- },
389
- {
390
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
391
- },
392
- {
393
- path: "draftPost.richContent.nodes.layoutData.background.gradient.centerX"
394
- },
395
- {
396
- path: "draftPost.richContent.nodes.layoutData.background.gradient.centerY"
397
- },
398
- {
399
- path: "draftPost.richContent.nodes.layoutData.background.gradient.stops.position"
400
- },
401
- {
402
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX"
403
- },
404
- {
405
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY"
406
- },
407
- {
408
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position"
409
- },
410
- { path: "draftPost.richContent.nodes.shapeData.shape.duration" },
411
- {
412
- path: "draftPost.richContent.nodes.cardData.background.gradient.centerX"
413
- },
414
- {
415
- path: "draftPost.richContent.nodes.cardData.background.gradient.centerY"
416
- },
417
- {
418
- path: "draftPost.richContent.nodes.cardData.background.gradient.stops.position"
419
- },
420
- {
421
- path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
422
- },
423
- {
424
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
425
- },
426
- {
427
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
428
- },
429
- {
430
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
431
- },
432
- { path: "draftPost.richContent.nodes.tocData.fontSize" },
433
- { path: "draftPost.richContent.nodes.tocData.itemSpacing" },
434
- {
435
- path: "draftPost.richContent.nodes.smartBlockCellData.shape.duration"
436
- }
437
- ]
438
- }
439
- ]);
440
- const metadata = {
441
- entityFqdn: "wix.blog.v3.draft",
442
- method: "POST",
443
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.CreateDraftPost",
444
- packageName: PACKAGE_NAME,
445
- migrationOptions: {
446
- optInTransformResponse: true
447
- },
448
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
449
- { protoPath: "/v3/draft-posts", data: serializedData, host }
450
- ),
451
- data: serializedData,
452
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
453
- {
454
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
455
- paths: [
456
- { path: "draftPost.editedDate" },
457
- { path: "draftPost.scheduledPublishDate" },
458
- { path: "draftPost.firstPublishedDate" },
459
- { path: "draftPost.createdDate" },
460
- { path: "draftPost.heroImage.urlExpirationDate" },
461
- { path: "draftPost.richContent.metadata.createdTimestamp" },
462
- { path: "draftPost.richContent.metadata.updatedTimestamp" },
463
- { path: "draftPost.moderationDetails.submittedDate" },
464
- { path: "draftPost.moderationDetails.moderationDate" },
465
- { path: "draftPost.media.wixMedia.image.urlExpirationDate" },
466
- { path: "draftPost.media.wixMedia.videoV2.urlExpirationDate" },
467
- {
468
- path: "draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate"
469
- },
470
- {
471
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
472
- },
473
- {
474
- path: "draftPost.media.wixMedia.videoV2.posters.urlExpirationDate"
475
- }
476
- ]
477
- },
478
- {
479
- transformFn: import_float2.transformRESTFloatToSDKFloat,
480
- paths: [
481
- { path: "draftPost.heroImage.focalPoint.x" },
482
- { path: "draftPost.heroImage.focalPoint.y" },
483
- { path: "draftPost.media.wixMedia.image.focalPoint.x" },
484
- { path: "draftPost.media.wixMedia.image.focalPoint.y" },
485
- {
486
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
487
- },
488
- {
489
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
490
- },
491
- { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.x" },
492
- { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.y" },
493
- {
494
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX"
495
- },
496
- {
497
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY"
498
- },
499
- {
500
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position"
501
- },
502
- {
503
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
504
- },
505
- {
506
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
507
- },
508
- {
509
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
510
- },
511
- {
512
- path: "draftPost.richContent.nodes.galleryData.items.image.media.duration"
513
- },
514
- {
515
- path: "draftPost.richContent.nodes.galleryData.items.video.media.duration"
516
- },
517
- {
518
- path: "draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration"
519
- },
520
- {
521
- path: "draftPost.richContent.nodes.galleryData.options.item.ratio"
522
- },
523
- { path: "draftPost.richContent.nodes.imageData.image.duration" },
524
- { path: "draftPost.richContent.nodes.imageData.crop.x" },
525
- { path: "draftPost.richContent.nodes.imageData.crop.y" },
526
- { path: "draftPost.richContent.nodes.imageData.crop.width" },
527
- { path: "draftPost.richContent.nodes.imageData.crop.height" },
528
- { path: "draftPost.richContent.nodes.mapData.mapSettings.lat" },
529
- { path: "draftPost.richContent.nodes.mapData.mapSettings.lng" },
530
- {
531
- path: "draftPost.richContent.nodes.pollData.poll.image.duration"
532
- },
533
- {
534
- path: "draftPost.richContent.nodes.pollData.poll.options.image.duration"
535
- },
536
- {
537
- path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
538
- },
539
- {
540
- path: "draftPost.richContent.nodes.appEmbedData.image.duration"
541
- },
542
- { path: "draftPost.richContent.nodes.videoData.video.duration" },
543
- {
544
- path: "draftPost.richContent.nodes.videoData.thumbnail.duration"
545
- },
546
- { path: "draftPost.richContent.nodes.audioData.audio.duration" },
547
- {
548
- path: "draftPost.richContent.nodes.audioData.coverImage.duration"
549
- },
550
- {
551
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
552
- },
553
- {
554
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
555
- },
556
- {
557
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
558
- },
559
- {
560
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
561
- },
562
- {
563
- path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
564
- },
565
- {
566
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
567
- },
568
- {
569
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
570
- },
571
- {
572
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
573
- },
574
- {
575
- path: "draftPost.richContent.nodes.layoutData.background.gradient.centerX"
576
- },
577
- {
578
- path: "draftPost.richContent.nodes.layoutData.background.gradient.centerY"
579
- },
580
- {
581
- path: "draftPost.richContent.nodes.layoutData.background.gradient.stops.position"
582
- },
583
- {
584
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX"
585
- },
586
- {
587
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY"
588
- },
589
- {
590
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position"
591
- },
592
- { path: "draftPost.richContent.nodes.shapeData.shape.duration" },
593
- {
594
- path: "draftPost.richContent.nodes.cardData.background.gradient.centerX"
595
- },
596
- {
597
- path: "draftPost.richContent.nodes.cardData.background.gradient.centerY"
598
- },
599
- {
600
- path: "draftPost.richContent.nodes.cardData.background.gradient.stops.position"
601
- },
602
- {
603
- path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
604
- },
605
- {
606
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
607
- },
608
- {
609
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
610
- },
611
- {
612
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
613
- },
614
- { path: "draftPost.richContent.nodes.tocData.fontSize" },
615
- { path: "draftPost.richContent.nodes.tocData.itemSpacing" },
616
- {
617
- path: "draftPost.richContent.nodes.smartBlockCellData.shape.duration"
618
- }
619
- ]
620
- }
621
- ])
622
- };
623
- return metadata;
624
- }
625
- return __createDraftPost;
626
- }
627
- function bulkCreateDraftPosts(payload) {
628
- function __bulkCreateDraftPosts({ host }) {
629
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
630
- {
631
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
632
- paths: [
633
- { path: "draftPosts.editedDate" },
634
- { path: "draftPosts.scheduledPublishDate" },
635
- { path: "draftPosts.firstPublishedDate" },
636
- { path: "draftPosts.createdDate" },
637
- { path: "draftPosts.heroImage.urlExpirationDate" },
638
- { path: "draftPosts.richContent.metadata.createdTimestamp" },
639
- { path: "draftPosts.richContent.metadata.updatedTimestamp" },
640
- { path: "draftPosts.moderationDetails.submittedDate" },
641
- { path: "draftPosts.moderationDetails.moderationDate" },
642
- { path: "draftPosts.media.wixMedia.image.urlExpirationDate" },
643
- { path: "draftPosts.media.wixMedia.videoV2.urlExpirationDate" },
644
- {
645
- path: "draftPosts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
646
- },
647
- {
648
- path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
649
- },
650
- {
651
- path: "draftPosts.media.wixMedia.videoV2.posters.urlExpirationDate"
652
- }
653
- ]
654
- },
655
- {
656
- transformFn: import_float.transformSDKFloatToRESTFloat,
657
- paths: [
658
- { path: "draftPosts.heroImage.focalPoint.x" },
659
- { path: "draftPosts.heroImage.focalPoint.y" },
660
- { path: "draftPosts.media.wixMedia.image.focalPoint.x" },
661
- { path: "draftPosts.media.wixMedia.image.focalPoint.y" },
662
- {
663
- path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
664
- },
665
- {
666
- path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
667
- },
668
- { path: "draftPosts.media.wixMedia.videoV2.posters.focalPoint.x" },
669
- { path: "draftPosts.media.wixMedia.videoV2.posters.focalPoint.y" },
670
- {
671
- path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerX"
672
- },
673
- {
674
- path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerY"
675
- },
676
- {
677
- path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
678
- },
679
- {
680
- path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
681
- },
682
- {
683
- path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
684
- },
685
- {
686
- path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
687
- },
688
- {
689
- path: "draftPosts.richContent.nodes.galleryData.items.image.media.duration"
690
- },
691
- {
692
- path: "draftPosts.richContent.nodes.galleryData.items.video.media.duration"
693
- },
694
- {
695
- path: "draftPosts.richContent.nodes.galleryData.items.video.thumbnail.duration"
696
- },
697
- {
698
- path: "draftPosts.richContent.nodes.galleryData.options.item.ratio"
699
- },
700
- { path: "draftPosts.richContent.nodes.imageData.image.duration" },
701
- { path: "draftPosts.richContent.nodes.imageData.crop.x" },
702
- { path: "draftPosts.richContent.nodes.imageData.crop.y" },
703
- { path: "draftPosts.richContent.nodes.imageData.crop.width" },
704
- { path: "draftPosts.richContent.nodes.imageData.crop.height" },
705
- { path: "draftPosts.richContent.nodes.mapData.mapSettings.lat" },
706
- { path: "draftPosts.richContent.nodes.mapData.mapSettings.lng" },
707
- { path: "draftPosts.richContent.nodes.pollData.poll.image.duration" },
708
- {
709
- path: "draftPosts.richContent.nodes.pollData.poll.options.image.duration"
710
- },
711
- {
712
- path: "draftPosts.richContent.nodes.pollData.design.poll.background.image.duration"
713
- },
714
- { path: "draftPosts.richContent.nodes.appEmbedData.image.duration" },
715
- { path: "draftPosts.richContent.nodes.videoData.video.duration" },
716
- { path: "draftPosts.richContent.nodes.videoData.thumbnail.duration" },
717
- { path: "draftPosts.richContent.nodes.audioData.audio.duration" },
718
- {
719
- path: "draftPosts.richContent.nodes.audioData.coverImage.duration"
720
- },
721
- {
722
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration"
723
- },
724
- {
725
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
726
- },
727
- {
728
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
729
- },
730
- {
731
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
732
- },
733
- {
734
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
735
- },
736
- {
737
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
738
- },
739
- {
740
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
741
- },
742
- {
743
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
744
- },
745
- {
746
- path: "draftPosts.richContent.nodes.layoutData.background.gradient.centerX"
747
- },
748
- {
749
- path: "draftPosts.richContent.nodes.layoutData.background.gradient.centerY"
750
- },
751
- {
752
- path: "draftPosts.richContent.nodes.layoutData.background.gradient.stops.position"
753
- },
754
- {
755
- path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerX"
756
- },
757
- {
758
- path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerY"
759
- },
760
- {
761
- path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
762
- },
763
- { path: "draftPosts.richContent.nodes.shapeData.shape.duration" },
764
- {
765
- path: "draftPosts.richContent.nodes.cardData.background.gradient.centerX"
766
- },
767
- {
768
- path: "draftPosts.richContent.nodes.cardData.background.gradient.centerY"
769
- },
770
- {
771
- path: "draftPosts.richContent.nodes.cardData.background.gradient.stops.position"
772
- },
773
- {
774
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.media.duration"
775
- },
776
- {
777
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
778
- },
779
- {
780
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
781
- },
782
- {
783
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
784
- },
785
- { path: "draftPosts.richContent.nodes.tocData.fontSize" },
786
- { path: "draftPosts.richContent.nodes.tocData.itemSpacing" },
787
- {
788
- path: "draftPosts.richContent.nodes.smartBlockCellData.shape.duration"
789
- }
790
- ]
791
- }
792
- ]);
793
- const metadata = {
794
- entityFqdn: "wix.blog.v3.draft",
795
- method: "POST",
796
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkCreateDraftPosts",
797
- packageName: PACKAGE_NAME,
798
- migrationOptions: {
799
- optInTransformResponse: true
800
- },
801
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
802
- { protoPath: "/v3/bulk/draft-posts/create", data: serializedData, host }
803
- ),
804
- data: serializedData,
805
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
806
- {
807
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
808
- paths: [
809
- { path: "results.item.editedDate" },
810
- { path: "results.item.scheduledPublishDate" },
811
- { path: "results.item.firstPublishedDate" },
812
- { path: "results.item.createdDate" },
813
- { path: "results.item.heroImage.urlExpirationDate" },
814
- { path: "results.item.richContent.metadata.createdTimestamp" },
815
- { path: "results.item.richContent.metadata.updatedTimestamp" },
816
- { path: "results.item.moderationDetails.submittedDate" },
817
- { path: "results.item.moderationDetails.moderationDate" },
818
- { path: "results.item.media.wixMedia.image.urlExpirationDate" },
819
- { path: "results.item.media.wixMedia.videoV2.urlExpirationDate" },
820
- {
821
- path: "results.item.media.wixMedia.videoV2.resolutions.urlExpirationDate"
822
- },
823
- {
824
- path: "results.item.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
825
- },
826
- {
827
- path: "results.item.media.wixMedia.videoV2.posters.urlExpirationDate"
828
- }
829
- ]
830
- },
831
- {
832
- transformFn: import_float2.transformRESTFloatToSDKFloat,
833
- paths: [
834
- { path: "results.item.heroImage.focalPoint.x" },
835
- { path: "results.item.heroImage.focalPoint.y" },
836
- { path: "results.item.media.wixMedia.image.focalPoint.x" },
837
- { path: "results.item.media.wixMedia.image.focalPoint.y" },
838
- {
839
- path: "results.item.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
840
- },
841
- {
842
- path: "results.item.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
843
- },
844
- {
845
- path: "results.item.media.wixMedia.videoV2.posters.focalPoint.x"
846
- },
847
- {
848
- path: "results.item.media.wixMedia.videoV2.posters.focalPoint.y"
849
- },
850
- {
851
- path: "results.item.richContent.nodes.buttonData.styles.background.gradient.centerX"
852
- },
853
- {
854
- path: "results.item.richContent.nodes.buttonData.styles.background.gradient.centerY"
855
- },
856
- {
857
- path: "results.item.richContent.nodes.buttonData.styles.background.gradient.stops.position"
858
- },
859
- {
860
- path: "results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
861
- },
862
- {
863
- path: "results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
864
- },
865
- {
866
- path: "results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
867
- },
868
- {
869
- path: "results.item.richContent.nodes.galleryData.items.image.media.duration"
870
- },
871
- {
872
- path: "results.item.richContent.nodes.galleryData.items.video.media.duration"
873
- },
874
- {
875
- path: "results.item.richContent.nodes.galleryData.items.video.thumbnail.duration"
876
- },
877
- {
878
- path: "results.item.richContent.nodes.galleryData.options.item.ratio"
879
- },
880
- {
881
- path: "results.item.richContent.nodes.imageData.image.duration"
882
- },
883
- { path: "results.item.richContent.nodes.imageData.crop.x" },
884
- { path: "results.item.richContent.nodes.imageData.crop.y" },
885
- { path: "results.item.richContent.nodes.imageData.crop.width" },
886
- { path: "results.item.richContent.nodes.imageData.crop.height" },
887
- {
888
- path: "results.item.richContent.nodes.mapData.mapSettings.lat"
889
- },
890
- {
891
- path: "results.item.richContent.nodes.mapData.mapSettings.lng"
892
- },
893
- {
894
- path: "results.item.richContent.nodes.pollData.poll.image.duration"
895
- },
896
- {
897
- path: "results.item.richContent.nodes.pollData.poll.options.image.duration"
898
- },
899
- {
900
- path: "results.item.richContent.nodes.pollData.design.poll.background.image.duration"
901
- },
902
- {
903
- path: "results.item.richContent.nodes.appEmbedData.image.duration"
904
- },
905
- {
906
- path: "results.item.richContent.nodes.videoData.video.duration"
907
- },
908
- {
909
- path: "results.item.richContent.nodes.videoData.thumbnail.duration"
910
- },
911
- {
912
- path: "results.item.richContent.nodes.audioData.audio.duration"
913
- },
914
- {
915
- path: "results.item.richContent.nodes.audioData.coverImage.duration"
916
- },
917
- {
918
- path: "results.item.richContent.nodes.layoutData.backgroundImage.media.duration"
919
- },
920
- {
921
- path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
922
- },
923
- {
924
- path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
925
- },
926
- {
927
- path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
928
- },
929
- {
930
- path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
931
- },
932
- {
933
- path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
934
- },
935
- {
936
- path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
937
- },
938
- {
939
- path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
940
- },
941
- {
942
- path: "results.item.richContent.nodes.layoutData.background.gradient.centerX"
943
- },
944
- {
945
- path: "results.item.richContent.nodes.layoutData.background.gradient.centerY"
946
- },
947
- {
948
- path: "results.item.richContent.nodes.layoutData.background.gradient.stops.position"
949
- },
950
- {
951
- path: "results.item.richContent.nodes.layoutData.backdrop.gradient.centerX"
952
- },
953
- {
954
- path: "results.item.richContent.nodes.layoutData.backdrop.gradient.centerY"
955
- },
956
- {
957
- path: "results.item.richContent.nodes.layoutData.backdrop.gradient.stops.position"
958
- },
959
- {
960
- path: "results.item.richContent.nodes.shapeData.shape.duration"
961
- },
962
- {
963
- path: "results.item.richContent.nodes.cardData.background.gradient.centerX"
964
- },
965
- {
966
- path: "results.item.richContent.nodes.cardData.background.gradient.centerY"
967
- },
968
- {
969
- path: "results.item.richContent.nodes.cardData.background.gradient.stops.position"
970
- },
971
- {
972
- path: "results.item.richContent.nodes.cardData.backgroundImage.media.duration"
973
- },
974
- {
975
- path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
976
- },
977
- {
978
- path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
979
- },
980
- {
981
- path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
982
- },
983
- { path: "results.item.richContent.nodes.tocData.fontSize" },
984
- { path: "results.item.richContent.nodes.tocData.itemSpacing" },
985
- {
986
- path: "results.item.richContent.nodes.smartBlockCellData.shape.duration"
987
- }
988
- ]
989
- }
990
- ])
991
- };
992
- return metadata;
993
- }
994
- return __bulkCreateDraftPosts;
995
- }
996
- function bulkUpdateDraftPosts(payload) {
997
- function __bulkUpdateDraftPosts({ host }) {
998
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
999
- {
1000
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
1001
- paths: [
1002
- { path: "scheduledPublishDate" },
1003
- { path: "draftPosts.draftPost.editedDate" },
1004
- { path: "draftPosts.draftPost.scheduledPublishDate" },
1005
- { path: "draftPosts.draftPost.firstPublishedDate" },
1006
- { path: "draftPosts.draftPost.createdDate" },
1007
- { path: "draftPosts.draftPost.heroImage.urlExpirationDate" },
1008
- {
1009
- path: "draftPosts.draftPost.richContent.metadata.createdTimestamp"
1010
- },
1011
- {
1012
- path: "draftPosts.draftPost.richContent.metadata.updatedTimestamp"
1013
- },
1014
- { path: "draftPosts.draftPost.moderationDetails.submittedDate" },
1015
- { path: "draftPosts.draftPost.moderationDetails.moderationDate" },
1016
- {
1017
- path: "draftPosts.draftPost.media.wixMedia.image.urlExpirationDate"
1018
- },
1019
- {
1020
- path: "draftPosts.draftPost.media.wixMedia.videoV2.urlExpirationDate"
1021
- },
1022
- {
1023
- path: "draftPosts.draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate"
1024
- },
1025
- {
1026
- path: "draftPosts.draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
1027
- },
1028
- {
1029
- path: "draftPosts.draftPost.media.wixMedia.videoV2.posters.urlExpirationDate"
1030
- }
1031
- ]
1032
- },
1033
- {
1034
- transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
1035
- paths: [{ path: "draftPosts.fieldMask" }]
1036
- },
1037
- {
1038
- transformFn: import_float.transformSDKFloatToRESTFloat,
1039
- paths: [
1040
- { path: "draftPosts.draftPost.heroImage.focalPoint.x" },
1041
- { path: "draftPosts.draftPost.heroImage.focalPoint.y" },
1042
- { path: "draftPosts.draftPost.media.wixMedia.image.focalPoint.x" },
1043
- { path: "draftPosts.draftPost.media.wixMedia.image.focalPoint.y" },
1044
- {
1045
- path: "draftPosts.draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
1046
- },
1047
- {
1048
- path: "draftPosts.draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
1049
- },
1050
- {
1051
- path: "draftPosts.draftPost.media.wixMedia.videoV2.posters.focalPoint.x"
1052
- },
1053
- {
1054
- path: "draftPosts.draftPost.media.wixMedia.videoV2.posters.focalPoint.y"
1055
- },
1056
- {
1057
- path: "draftPosts.draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX"
1058
- },
1059
- {
1060
- path: "draftPosts.draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY"
1061
- },
1062
- {
1063
- path: "draftPosts.draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position"
1064
- },
1065
- {
1066
- path: "draftPosts.draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
1067
- },
1068
- {
1069
- path: "draftPosts.draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
1070
- },
1071
- {
1072
- path: "draftPosts.draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
1073
- },
1074
- {
1075
- path: "draftPosts.draftPost.richContent.nodes.galleryData.items.image.media.duration"
1076
- },
1077
- {
1078
- path: "draftPosts.draftPost.richContent.nodes.galleryData.items.video.media.duration"
1079
- },
1080
- {
1081
- path: "draftPosts.draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration"
1082
- },
1083
- {
1084
- path: "draftPosts.draftPost.richContent.nodes.galleryData.options.item.ratio"
1085
- },
1086
- {
1087
- path: "draftPosts.draftPost.richContent.nodes.imageData.image.duration"
1088
- },
1089
- { path: "draftPosts.draftPost.richContent.nodes.imageData.crop.x" },
1090
- { path: "draftPosts.draftPost.richContent.nodes.imageData.crop.y" },
1091
- {
1092
- path: "draftPosts.draftPost.richContent.nodes.imageData.crop.width"
1093
- },
1094
- {
1095
- path: "draftPosts.draftPost.richContent.nodes.imageData.crop.height"
1096
- },
1097
- {
1098
- path: "draftPosts.draftPost.richContent.nodes.mapData.mapSettings.lat"
1099
- },
1100
- {
1101
- path: "draftPosts.draftPost.richContent.nodes.mapData.mapSettings.lng"
1102
- },
1103
- {
1104
- path: "draftPosts.draftPost.richContent.nodes.pollData.poll.image.duration"
1105
- },
1106
- {
1107
- path: "draftPosts.draftPost.richContent.nodes.pollData.poll.options.image.duration"
1108
- },
1109
- {
1110
- path: "draftPosts.draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
1111
- },
1112
- {
1113
- path: "draftPosts.draftPost.richContent.nodes.appEmbedData.image.duration"
1114
- },
1115
- {
1116
- path: "draftPosts.draftPost.richContent.nodes.videoData.video.duration"
1117
- },
1118
- {
1119
- path: "draftPosts.draftPost.richContent.nodes.videoData.thumbnail.duration"
1120
- },
1121
- {
1122
- path: "draftPosts.draftPost.richContent.nodes.audioData.audio.duration"
1123
- },
1124
- {
1125
- path: "draftPosts.draftPost.richContent.nodes.audioData.coverImage.duration"
1126
- },
1127
- {
1128
- path: "draftPosts.draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
1129
- },
1130
- {
1131
- path: "draftPosts.draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1132
- },
1133
- {
1134
- path: "draftPosts.draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1135
- },
1136
- {
1137
- path: "draftPosts.draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1138
- },
1139
- {
1140
- path: "draftPosts.draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
1141
- },
1142
- {
1143
- path: "draftPosts.draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1144
- },
1145
- {
1146
- path: "draftPosts.draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1147
- },
1148
- {
1149
- path: "draftPosts.draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1150
- },
1151
- {
1152
- path: "draftPosts.draftPost.richContent.nodes.layoutData.background.gradient.centerX"
1153
- },
1154
- {
1155
- path: "draftPosts.draftPost.richContent.nodes.layoutData.background.gradient.centerY"
1156
- },
1157
- {
1158
- path: "draftPosts.draftPost.richContent.nodes.layoutData.background.gradient.stops.position"
1159
- },
1160
- {
1161
- path: "draftPosts.draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX"
1162
- },
1163
- {
1164
- path: "draftPosts.draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY"
1165
- },
1166
- {
1167
- path: "draftPosts.draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1168
- },
1169
- {
1170
- path: "draftPosts.draftPost.richContent.nodes.shapeData.shape.duration"
1171
- },
1172
- {
1173
- path: "draftPosts.draftPost.richContent.nodes.cardData.background.gradient.centerX"
1174
- },
1175
- {
1176
- path: "draftPosts.draftPost.richContent.nodes.cardData.background.gradient.centerY"
1177
- },
1178
- {
1179
- path: "draftPosts.draftPost.richContent.nodes.cardData.background.gradient.stops.position"
1180
- },
1181
- {
1182
- path: "draftPosts.draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
1183
- },
1184
- {
1185
- path: "draftPosts.draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1186
- },
1187
- {
1188
- path: "draftPosts.draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1189
- },
1190
- {
1191
- path: "draftPosts.draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1192
- },
1193
- { path: "draftPosts.draftPost.richContent.nodes.tocData.fontSize" },
1194
- {
1195
- path: "draftPosts.draftPost.richContent.nodes.tocData.itemSpacing"
1196
- },
1197
- {
1198
- path: "draftPosts.draftPost.richContent.nodes.smartBlockCellData.shape.duration"
1199
- }
1200
- ]
1201
- }
1202
- ]);
1203
- const metadata = {
1204
- entityFqdn: "wix.blog.v3.draft",
1205
- method: "PATCH",
1206
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkUpdateDraftPosts",
1207
- packageName: PACKAGE_NAME,
1208
- migrationOptions: {
1209
- optInTransformResponse: true
1210
- },
1211
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
1212
- { protoPath: "/v3/draft-posts/update", data: serializedData, host }
1213
- ),
1214
- data: serializedData,
1215
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1216
- {
1217
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1218
- paths: [
1219
- { path: "results.item.editedDate" },
1220
- { path: "results.item.scheduledPublishDate" },
1221
- { path: "results.item.firstPublishedDate" },
1222
- { path: "results.item.createdDate" },
1223
- { path: "results.item.heroImage.urlExpirationDate" },
1224
- { path: "results.item.richContent.metadata.createdTimestamp" },
1225
- { path: "results.item.richContent.metadata.updatedTimestamp" },
1226
- { path: "results.item.moderationDetails.submittedDate" },
1227
- { path: "results.item.moderationDetails.moderationDate" },
1228
- { path: "results.item.media.wixMedia.image.urlExpirationDate" },
1229
- { path: "results.item.media.wixMedia.videoV2.urlExpirationDate" },
1230
- {
1231
- path: "results.item.media.wixMedia.videoV2.resolutions.urlExpirationDate"
1232
- },
1233
- {
1234
- path: "results.item.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
1235
- },
1236
- {
1237
- path: "results.item.media.wixMedia.videoV2.posters.urlExpirationDate"
1238
- }
1239
- ]
1240
- },
1241
- {
1242
- transformFn: import_float2.transformRESTFloatToSDKFloat,
1243
- paths: [
1244
- { path: "results.item.heroImage.focalPoint.x" },
1245
- { path: "results.item.heroImage.focalPoint.y" },
1246
- { path: "results.item.media.wixMedia.image.focalPoint.x" },
1247
- { path: "results.item.media.wixMedia.image.focalPoint.y" },
1248
- {
1249
- path: "results.item.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
1250
- },
1251
- {
1252
- path: "results.item.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
1253
- },
1254
- {
1255
- path: "results.item.media.wixMedia.videoV2.posters.focalPoint.x"
1256
- },
1257
- {
1258
- path: "results.item.media.wixMedia.videoV2.posters.focalPoint.y"
1259
- },
1260
- {
1261
- path: "results.item.richContent.nodes.buttonData.styles.background.gradient.centerX"
1262
- },
1263
- {
1264
- path: "results.item.richContent.nodes.buttonData.styles.background.gradient.centerY"
1265
- },
1266
- {
1267
- path: "results.item.richContent.nodes.buttonData.styles.background.gradient.stops.position"
1268
- },
1269
- {
1270
- path: "results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
1271
- },
1272
- {
1273
- path: "results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
1274
- },
1275
- {
1276
- path: "results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
1277
- },
1278
- {
1279
- path: "results.item.richContent.nodes.galleryData.items.image.media.duration"
1280
- },
1281
- {
1282
- path: "results.item.richContent.nodes.galleryData.items.video.media.duration"
1283
- },
1284
- {
1285
- path: "results.item.richContent.nodes.galleryData.items.video.thumbnail.duration"
1286
- },
1287
- {
1288
- path: "results.item.richContent.nodes.galleryData.options.item.ratio"
1289
- },
1290
- {
1291
- path: "results.item.richContent.nodes.imageData.image.duration"
1292
- },
1293
- { path: "results.item.richContent.nodes.imageData.crop.x" },
1294
- { path: "results.item.richContent.nodes.imageData.crop.y" },
1295
- { path: "results.item.richContent.nodes.imageData.crop.width" },
1296
- { path: "results.item.richContent.nodes.imageData.crop.height" },
1297
- {
1298
- path: "results.item.richContent.nodes.mapData.mapSettings.lat"
1299
- },
1300
- {
1301
- path: "results.item.richContent.nodes.mapData.mapSettings.lng"
1302
- },
1303
- {
1304
- path: "results.item.richContent.nodes.pollData.poll.image.duration"
1305
- },
1306
- {
1307
- path: "results.item.richContent.nodes.pollData.poll.options.image.duration"
1308
- },
1309
- {
1310
- path: "results.item.richContent.nodes.pollData.design.poll.background.image.duration"
1311
- },
1312
- {
1313
- path: "results.item.richContent.nodes.appEmbedData.image.duration"
1314
- },
1315
- {
1316
- path: "results.item.richContent.nodes.videoData.video.duration"
1317
- },
1318
- {
1319
- path: "results.item.richContent.nodes.videoData.thumbnail.duration"
1320
- },
1321
- {
1322
- path: "results.item.richContent.nodes.audioData.audio.duration"
1323
- },
1324
- {
1325
- path: "results.item.richContent.nodes.audioData.coverImage.duration"
1326
- },
1327
- {
1328
- path: "results.item.richContent.nodes.layoutData.backgroundImage.media.duration"
1329
- },
1330
- {
1331
- path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1332
- },
1333
- {
1334
- path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1335
- },
1336
- {
1337
- path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1338
- },
1339
- {
1340
- path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
1341
- },
1342
- {
1343
- path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1344
- },
1345
- {
1346
- path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1347
- },
1348
- {
1349
- path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1350
- },
1351
- {
1352
- path: "results.item.richContent.nodes.layoutData.background.gradient.centerX"
1353
- },
1354
- {
1355
- path: "results.item.richContent.nodes.layoutData.background.gradient.centerY"
1356
- },
1357
- {
1358
- path: "results.item.richContent.nodes.layoutData.background.gradient.stops.position"
1359
- },
1360
- {
1361
- path: "results.item.richContent.nodes.layoutData.backdrop.gradient.centerX"
1362
- },
1363
- {
1364
- path: "results.item.richContent.nodes.layoutData.backdrop.gradient.centerY"
1365
- },
1366
- {
1367
- path: "results.item.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1368
- },
1369
- {
1370
- path: "results.item.richContent.nodes.shapeData.shape.duration"
1371
- },
1372
- {
1373
- path: "results.item.richContent.nodes.cardData.background.gradient.centerX"
1374
- },
1375
- {
1376
- path: "results.item.richContent.nodes.cardData.background.gradient.centerY"
1377
- },
1378
- {
1379
- path: "results.item.richContent.nodes.cardData.background.gradient.stops.position"
1380
- },
1381
- {
1382
- path: "results.item.richContent.nodes.cardData.backgroundImage.media.duration"
1383
- },
1384
- {
1385
- path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1386
- },
1387
- {
1388
- path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1389
- },
1390
- {
1391
- path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1392
- },
1393
- { path: "results.item.richContent.nodes.tocData.fontSize" },
1394
- { path: "results.item.richContent.nodes.tocData.itemSpacing" },
1395
- {
1396
- path: "results.item.richContent.nodes.smartBlockCellData.shape.duration"
1397
- }
1398
- ]
1399
- }
1400
- ])
1401
- };
1402
- return metadata;
1403
- }
1404
- return __bulkUpdateDraftPosts;
1405
- }
1406
- function listDeletedDraftPosts(payload) {
1407
- function __listDeletedDraftPosts({ host }) {
1408
- const metadata = {
1409
- entityFqdn: "wix.blog.v3.draft",
1410
- method: "GET",
1411
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDeletedDraftPosts",
1412
- packageName: PACKAGE_NAME,
1413
- migrationOptions: {
1414
- optInTransformResponse: true
1415
- },
1416
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
1417
- { protoPath: "/v3/draft-posts/trash-bin", data: payload, host }
1418
- ),
1419
- params: (0, import_rest_modules.toURLSearchParams)(payload),
1420
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1421
- {
1422
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1423
- paths: [
1424
- { path: "draftPosts.editedDate" },
1425
- { path: "draftPosts.scheduledPublishDate" },
1426
- { path: "draftPosts.firstPublishedDate" },
1427
- { path: "draftPosts.createdDate" },
1428
- { path: "draftPosts.heroImage.urlExpirationDate" },
1429
- { path: "draftPosts.richContent.metadata.createdTimestamp" },
1430
- { path: "draftPosts.richContent.metadata.updatedTimestamp" },
1431
- { path: "draftPosts.moderationDetails.submittedDate" },
1432
- { path: "draftPosts.moderationDetails.moderationDate" },
1433
- { path: "draftPosts.media.wixMedia.image.urlExpirationDate" },
1434
- { path: "draftPosts.media.wixMedia.videoV2.urlExpirationDate" },
1435
- {
1436
- path: "draftPosts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
1437
- },
1438
- {
1439
- path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
1440
- },
1441
- {
1442
- path: "draftPosts.media.wixMedia.videoV2.posters.urlExpirationDate"
1443
- }
1444
- ]
1445
- },
1446
- {
1447
- transformFn: import_float2.transformRESTFloatToSDKFloat,
1448
- paths: [
1449
- { path: "draftPosts.heroImage.focalPoint.x" },
1450
- { path: "draftPosts.heroImage.focalPoint.y" },
1451
- { path: "draftPosts.media.wixMedia.image.focalPoint.x" },
1452
- { path: "draftPosts.media.wixMedia.image.focalPoint.y" },
1453
- {
1454
- path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
1455
- },
1456
- {
1457
- path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
1458
- },
1459
- {
1460
- path: "draftPosts.media.wixMedia.videoV2.posters.focalPoint.x"
1461
- },
1462
- {
1463
- path: "draftPosts.media.wixMedia.videoV2.posters.focalPoint.y"
1464
- },
1465
- {
1466
- path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerX"
1467
- },
1468
- {
1469
- path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerY"
1470
- },
1471
- {
1472
- path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
1473
- },
1474
- {
1475
- path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
1476
- },
1477
- {
1478
- path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
1479
- },
1480
- {
1481
- path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
1482
- },
1483
- {
1484
- path: "draftPosts.richContent.nodes.galleryData.items.image.media.duration"
1485
- },
1486
- {
1487
- path: "draftPosts.richContent.nodes.galleryData.items.video.media.duration"
1488
- },
1489
- {
1490
- path: "draftPosts.richContent.nodes.galleryData.items.video.thumbnail.duration"
1491
- },
1492
- {
1493
- path: "draftPosts.richContent.nodes.galleryData.options.item.ratio"
1494
- },
1495
- { path: "draftPosts.richContent.nodes.imageData.image.duration" },
1496
- { path: "draftPosts.richContent.nodes.imageData.crop.x" },
1497
- { path: "draftPosts.richContent.nodes.imageData.crop.y" },
1498
- { path: "draftPosts.richContent.nodes.imageData.crop.width" },
1499
- { path: "draftPosts.richContent.nodes.imageData.crop.height" },
1500
- { path: "draftPosts.richContent.nodes.mapData.mapSettings.lat" },
1501
- { path: "draftPosts.richContent.nodes.mapData.mapSettings.lng" },
1502
- {
1503
- path: "draftPosts.richContent.nodes.pollData.poll.image.duration"
1504
- },
1505
- {
1506
- path: "draftPosts.richContent.nodes.pollData.poll.options.image.duration"
1507
- },
1508
- {
1509
- path: "draftPosts.richContent.nodes.pollData.design.poll.background.image.duration"
1510
- },
1511
- {
1512
- path: "draftPosts.richContent.nodes.appEmbedData.image.duration"
1513
- },
1514
- { path: "draftPosts.richContent.nodes.videoData.video.duration" },
1515
- {
1516
- path: "draftPosts.richContent.nodes.videoData.thumbnail.duration"
1517
- },
1518
- { path: "draftPosts.richContent.nodes.audioData.audio.duration" },
1519
- {
1520
- path: "draftPosts.richContent.nodes.audioData.coverImage.duration"
1521
- },
1522
- {
1523
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration"
1524
- },
1525
- {
1526
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1527
- },
1528
- {
1529
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1530
- },
1531
- {
1532
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1533
- },
1534
- {
1535
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
1536
- },
1537
- {
1538
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1539
- },
1540
- {
1541
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1542
- },
1543
- {
1544
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1545
- },
1546
- {
1547
- path: "draftPosts.richContent.nodes.layoutData.background.gradient.centerX"
1548
- },
1549
- {
1550
- path: "draftPosts.richContent.nodes.layoutData.background.gradient.centerY"
1551
- },
1552
- {
1553
- path: "draftPosts.richContent.nodes.layoutData.background.gradient.stops.position"
1554
- },
1555
- {
1556
- path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerX"
1557
- },
1558
- {
1559
- path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerY"
1560
- },
1561
- {
1562
- path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1563
- },
1564
- { path: "draftPosts.richContent.nodes.shapeData.shape.duration" },
1565
- {
1566
- path: "draftPosts.richContent.nodes.cardData.background.gradient.centerX"
1567
- },
1568
- {
1569
- path: "draftPosts.richContent.nodes.cardData.background.gradient.centerY"
1570
- },
1571
- {
1572
- path: "draftPosts.richContent.nodes.cardData.background.gradient.stops.position"
1573
- },
1574
- {
1575
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.media.duration"
1576
- },
1577
- {
1578
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1579
- },
1580
- {
1581
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1582
- },
1583
- {
1584
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1585
- },
1586
- { path: "draftPosts.richContent.nodes.tocData.fontSize" },
1587
- { path: "draftPosts.richContent.nodes.tocData.itemSpacing" },
1588
- {
1589
- path: "draftPosts.richContent.nodes.smartBlockCellData.shape.duration"
1590
- }
1591
- ]
1592
- }
1593
- ])
1594
- };
1595
- return metadata;
1596
- }
1597
- return __listDeletedDraftPosts;
1598
- }
1599
- function getDraftPost(payload) {
1600
- function __getDraftPost({ host }) {
1601
- const metadata = {
1602
- entityFqdn: "wix.blog.v3.draft",
1603
- method: "GET",
1604
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDraftPost",
1605
- packageName: PACKAGE_NAME,
1606
- migrationOptions: {
1607
- optInTransformResponse: true
1608
- },
1609
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
1610
- { protoPath: "/v3/draft-posts/{draftPostId}", data: payload, host }
1611
- ),
1612
- params: (0, import_rest_modules.toURLSearchParams)(payload),
1613
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1614
- {
1615
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1616
- paths: [
1617
- { path: "draftPost.editedDate" },
1618
- { path: "draftPost.scheduledPublishDate" },
1619
- { path: "draftPost.firstPublishedDate" },
1620
- { path: "draftPost.createdDate" },
1621
- { path: "draftPost.heroImage.urlExpirationDate" },
1622
- { path: "draftPost.richContent.metadata.createdTimestamp" },
1623
- { path: "draftPost.richContent.metadata.updatedTimestamp" },
1624
- { path: "draftPost.moderationDetails.submittedDate" },
1625
- { path: "draftPost.moderationDetails.moderationDate" },
1626
- { path: "draftPost.media.wixMedia.image.urlExpirationDate" },
1627
- { path: "draftPost.media.wixMedia.videoV2.urlExpirationDate" },
1628
- {
1629
- path: "draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate"
1630
- },
1631
- {
1632
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
1633
- },
1634
- {
1635
- path: "draftPost.media.wixMedia.videoV2.posters.urlExpirationDate"
1636
- }
1637
- ]
1638
- },
1639
- {
1640
- transformFn: import_float2.transformRESTFloatToSDKFloat,
1641
- paths: [
1642
- { path: "draftPost.heroImage.focalPoint.x" },
1643
- { path: "draftPost.heroImage.focalPoint.y" },
1644
- { path: "draftPost.media.wixMedia.image.focalPoint.x" },
1645
- { path: "draftPost.media.wixMedia.image.focalPoint.y" },
1646
- {
1647
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
1648
- },
1649
- {
1650
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
1651
- },
1652
- { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.x" },
1653
- { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.y" },
1654
- {
1655
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX"
1656
- },
1657
- {
1658
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY"
1659
- },
1660
- {
1661
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position"
1662
- },
1663
- {
1664
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
1665
- },
1666
- {
1667
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
1668
- },
1669
- {
1670
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
1671
- },
1672
- {
1673
- path: "draftPost.richContent.nodes.galleryData.items.image.media.duration"
1674
- },
1675
- {
1676
- path: "draftPost.richContent.nodes.galleryData.items.video.media.duration"
1677
- },
1678
- {
1679
- path: "draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration"
1680
- },
1681
- {
1682
- path: "draftPost.richContent.nodes.galleryData.options.item.ratio"
1683
- },
1684
- { path: "draftPost.richContent.nodes.imageData.image.duration" },
1685
- { path: "draftPost.richContent.nodes.imageData.crop.x" },
1686
- { path: "draftPost.richContent.nodes.imageData.crop.y" },
1687
- { path: "draftPost.richContent.nodes.imageData.crop.width" },
1688
- { path: "draftPost.richContent.nodes.imageData.crop.height" },
1689
- { path: "draftPost.richContent.nodes.mapData.mapSettings.lat" },
1690
- { path: "draftPost.richContent.nodes.mapData.mapSettings.lng" },
1691
- {
1692
- path: "draftPost.richContent.nodes.pollData.poll.image.duration"
1693
- },
1694
- {
1695
- path: "draftPost.richContent.nodes.pollData.poll.options.image.duration"
1696
- },
1697
- {
1698
- path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
1699
- },
1700
- {
1701
- path: "draftPost.richContent.nodes.appEmbedData.image.duration"
1702
- },
1703
- { path: "draftPost.richContent.nodes.videoData.video.duration" },
1704
- {
1705
- path: "draftPost.richContent.nodes.videoData.thumbnail.duration"
1706
- },
1707
- { path: "draftPost.richContent.nodes.audioData.audio.duration" },
1708
- {
1709
- path: "draftPost.richContent.nodes.audioData.coverImage.duration"
1710
- },
1711
- {
1712
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
1713
- },
1714
- {
1715
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1716
- },
1717
- {
1718
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1719
- },
1720
- {
1721
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1722
- },
1723
- {
1724
- path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
1725
- },
1726
- {
1727
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1728
- },
1729
- {
1730
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1731
- },
1732
- {
1733
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1734
- },
1735
- {
1736
- path: "draftPost.richContent.nodes.layoutData.background.gradient.centerX"
1737
- },
1738
- {
1739
- path: "draftPost.richContent.nodes.layoutData.background.gradient.centerY"
1740
- },
1741
- {
1742
- path: "draftPost.richContent.nodes.layoutData.background.gradient.stops.position"
1743
- },
1744
- {
1745
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX"
1746
- },
1747
- {
1748
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY"
1749
- },
1750
- {
1751
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1752
- },
1753
- { path: "draftPost.richContent.nodes.shapeData.shape.duration" },
1754
- {
1755
- path: "draftPost.richContent.nodes.cardData.background.gradient.centerX"
1756
- },
1757
- {
1758
- path: "draftPost.richContent.nodes.cardData.background.gradient.centerY"
1759
- },
1760
- {
1761
- path: "draftPost.richContent.nodes.cardData.background.gradient.stops.position"
1762
- },
1763
- {
1764
- path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
1765
- },
1766
- {
1767
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1768
- },
1769
- {
1770
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1771
- },
1772
- {
1773
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1774
- },
1775
- { path: "draftPost.richContent.nodes.tocData.fontSize" },
1776
- { path: "draftPost.richContent.nodes.tocData.itemSpacing" },
1777
- {
1778
- path: "draftPost.richContent.nodes.smartBlockCellData.shape.duration"
1779
- }
1780
- ]
1781
- }
1782
- ])
1783
- };
1784
- return metadata;
1785
- }
1786
- return __getDraftPost;
1787
- }
1788
- function updateDraftPost(payload) {
1789
- function __updateDraftPost({ host }) {
1790
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
1791
- {
1792
- transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
1793
- paths: [{ path: "fieldMask" }]
1794
- },
1795
- {
1796
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
1797
- paths: [
1798
- { path: "scheduledPublishDate" },
1799
- { path: "draftPost.editedDate" },
1800
- { path: "draftPost.scheduledPublishDate" },
1801
- { path: "draftPost.firstPublishedDate" },
1802
- { path: "draftPost.createdDate" },
1803
- { path: "draftPost.heroImage.urlExpirationDate" },
1804
- { path: "draftPost.richContent.metadata.createdTimestamp" },
1805
- { path: "draftPost.richContent.metadata.updatedTimestamp" },
1806
- { path: "draftPost.moderationDetails.submittedDate" },
1807
- { path: "draftPost.moderationDetails.moderationDate" },
1808
- { path: "draftPost.media.wixMedia.image.urlExpirationDate" },
1809
- { path: "draftPost.media.wixMedia.videoV2.urlExpirationDate" },
1810
- {
1811
- path: "draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate"
1812
- },
1813
- {
1814
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
1815
- },
1816
- {
1817
- path: "draftPost.media.wixMedia.videoV2.posters.urlExpirationDate"
1818
- }
1819
- ]
1820
- },
1821
- {
1822
- transformFn: import_float.transformSDKFloatToRESTFloat,
1823
- paths: [
1824
- { path: "draftPost.heroImage.focalPoint.x" },
1825
- { path: "draftPost.heroImage.focalPoint.y" },
1826
- { path: "draftPost.media.wixMedia.image.focalPoint.x" },
1827
- { path: "draftPost.media.wixMedia.image.focalPoint.y" },
1828
- {
1829
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
1830
- },
1831
- {
1832
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
1833
- },
1834
- { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.x" },
1835
- { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.y" },
1836
- {
1837
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX"
1838
- },
1839
- {
1840
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY"
1841
- },
1842
- {
1843
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position"
1844
- },
1845
- {
1846
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
1847
- },
1848
- {
1849
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
1850
- },
1851
- {
1852
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
1853
- },
1854
- {
1855
- path: "draftPost.richContent.nodes.galleryData.items.image.media.duration"
1856
- },
1857
- {
1858
- path: "draftPost.richContent.nodes.galleryData.items.video.media.duration"
1859
- },
1860
- {
1861
- path: "draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration"
1862
- },
1863
- {
1864
- path: "draftPost.richContent.nodes.galleryData.options.item.ratio"
1865
- },
1866
- { path: "draftPost.richContent.nodes.imageData.image.duration" },
1867
- { path: "draftPost.richContent.nodes.imageData.crop.x" },
1868
- { path: "draftPost.richContent.nodes.imageData.crop.y" },
1869
- { path: "draftPost.richContent.nodes.imageData.crop.width" },
1870
- { path: "draftPost.richContent.nodes.imageData.crop.height" },
1871
- { path: "draftPost.richContent.nodes.mapData.mapSettings.lat" },
1872
- { path: "draftPost.richContent.nodes.mapData.mapSettings.lng" },
1873
- { path: "draftPost.richContent.nodes.pollData.poll.image.duration" },
1874
- {
1875
- path: "draftPost.richContent.nodes.pollData.poll.options.image.duration"
1876
- },
1877
- {
1878
- path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
1879
- },
1880
- { path: "draftPost.richContent.nodes.appEmbedData.image.duration" },
1881
- { path: "draftPost.richContent.nodes.videoData.video.duration" },
1882
- { path: "draftPost.richContent.nodes.videoData.thumbnail.duration" },
1883
- { path: "draftPost.richContent.nodes.audioData.audio.duration" },
1884
- { path: "draftPost.richContent.nodes.audioData.coverImage.duration" },
1885
- {
1886
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
1887
- },
1888
- {
1889
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1890
- },
1891
- {
1892
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1893
- },
1894
- {
1895
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1896
- },
1897
- {
1898
- path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
1899
- },
1900
- {
1901
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1902
- },
1903
- {
1904
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1905
- },
1906
- {
1907
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1908
- },
1909
- {
1910
- path: "draftPost.richContent.nodes.layoutData.background.gradient.centerX"
1911
- },
1912
- {
1913
- path: "draftPost.richContent.nodes.layoutData.background.gradient.centerY"
1914
- },
1915
- {
1916
- path: "draftPost.richContent.nodes.layoutData.background.gradient.stops.position"
1917
- },
1918
- {
1919
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX"
1920
- },
1921
- {
1922
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY"
1923
- },
1924
- {
1925
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1926
- },
1927
- { path: "draftPost.richContent.nodes.shapeData.shape.duration" },
1928
- {
1929
- path: "draftPost.richContent.nodes.cardData.background.gradient.centerX"
1930
- },
1931
- {
1932
- path: "draftPost.richContent.nodes.cardData.background.gradient.centerY"
1933
- },
1934
- {
1935
- path: "draftPost.richContent.nodes.cardData.background.gradient.stops.position"
1936
- },
1937
- {
1938
- path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
1939
- },
1940
- {
1941
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1942
- },
1943
- {
1944
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1945
- },
1946
- {
1947
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1948
- },
1949
- { path: "draftPost.richContent.nodes.tocData.fontSize" },
1950
- { path: "draftPost.richContent.nodes.tocData.itemSpacing" },
1951
- {
1952
- path: "draftPost.richContent.nodes.smartBlockCellData.shape.duration"
1953
- }
1954
- ]
1955
- }
1956
- ]);
1957
- const metadata = {
1958
- entityFqdn: "wix.blog.v3.draft",
1959
- method: "PATCH",
1960
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.UpdateDraftPost",
1961
- packageName: PACKAGE_NAME,
1962
- migrationOptions: {
1963
- optInTransformResponse: true
1964
- },
1965
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
1966
- {
1967
- protoPath: "/v3/draft-posts/{draftPost.id}",
1968
- data: serializedData,
1969
- host
1970
- }
1971
- ),
1972
- data: serializedData,
1973
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1974
- {
1975
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1976
- paths: [
1977
- { path: "draftPost.editedDate" },
1978
- { path: "draftPost.scheduledPublishDate" },
1979
- { path: "draftPost.firstPublishedDate" },
1980
- { path: "draftPost.createdDate" },
1981
- { path: "draftPost.heroImage.urlExpirationDate" },
1982
- { path: "draftPost.richContent.metadata.createdTimestamp" },
1983
- { path: "draftPost.richContent.metadata.updatedTimestamp" },
1984
- { path: "draftPost.moderationDetails.submittedDate" },
1985
- { path: "draftPost.moderationDetails.moderationDate" },
1986
- { path: "draftPost.media.wixMedia.image.urlExpirationDate" },
1987
- { path: "draftPost.media.wixMedia.videoV2.urlExpirationDate" },
1988
- {
1989
- path: "draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate"
1990
- },
1991
- {
1992
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
1993
- },
1994
- {
1995
- path: "draftPost.media.wixMedia.videoV2.posters.urlExpirationDate"
1996
- }
1997
- ]
1998
- },
1999
- {
2000
- transformFn: import_float2.transformRESTFloatToSDKFloat,
2001
- paths: [
2002
- { path: "draftPost.heroImage.focalPoint.x" },
2003
- { path: "draftPost.heroImage.focalPoint.y" },
2004
- { path: "draftPost.media.wixMedia.image.focalPoint.x" },
2005
- { path: "draftPost.media.wixMedia.image.focalPoint.y" },
2006
- {
2007
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
2008
- },
2009
- {
2010
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
2011
- },
2012
- { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.x" },
2013
- { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.y" },
2014
- {
2015
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX"
2016
- },
2017
- {
2018
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY"
2019
- },
2020
- {
2021
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position"
2022
- },
2023
- {
2024
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
2025
- },
2026
- {
2027
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
2028
- },
2029
- {
2030
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
2031
- },
2032
- {
2033
- path: "draftPost.richContent.nodes.galleryData.items.image.media.duration"
2034
- },
2035
- {
2036
- path: "draftPost.richContent.nodes.galleryData.items.video.media.duration"
2037
- },
2038
- {
2039
- path: "draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration"
2040
- },
2041
- {
2042
- path: "draftPost.richContent.nodes.galleryData.options.item.ratio"
2043
- },
2044
- { path: "draftPost.richContent.nodes.imageData.image.duration" },
2045
- { path: "draftPost.richContent.nodes.imageData.crop.x" },
2046
- { path: "draftPost.richContent.nodes.imageData.crop.y" },
2047
- { path: "draftPost.richContent.nodes.imageData.crop.width" },
2048
- { path: "draftPost.richContent.nodes.imageData.crop.height" },
2049
- { path: "draftPost.richContent.nodes.mapData.mapSettings.lat" },
2050
- { path: "draftPost.richContent.nodes.mapData.mapSettings.lng" },
2051
- {
2052
- path: "draftPost.richContent.nodes.pollData.poll.image.duration"
2053
- },
2054
- {
2055
- path: "draftPost.richContent.nodes.pollData.poll.options.image.duration"
2056
- },
2057
- {
2058
- path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
2059
- },
2060
- {
2061
- path: "draftPost.richContent.nodes.appEmbedData.image.duration"
2062
- },
2063
- { path: "draftPost.richContent.nodes.videoData.video.duration" },
2064
- {
2065
- path: "draftPost.richContent.nodes.videoData.thumbnail.duration"
2066
- },
2067
- { path: "draftPost.richContent.nodes.audioData.audio.duration" },
2068
- {
2069
- path: "draftPost.richContent.nodes.audioData.coverImage.duration"
2070
- },
2071
- {
2072
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
2073
- },
2074
- {
2075
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
2076
- },
2077
- {
2078
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
2079
- },
2080
- {
2081
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
2082
- },
2083
- {
2084
- path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
2085
- },
2086
- {
2087
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
2088
- },
2089
- {
2090
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
2091
- },
2092
- {
2093
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
2094
- },
2095
- {
2096
- path: "draftPost.richContent.nodes.layoutData.background.gradient.centerX"
2097
- },
2098
- {
2099
- path: "draftPost.richContent.nodes.layoutData.background.gradient.centerY"
2100
- },
2101
- {
2102
- path: "draftPost.richContent.nodes.layoutData.background.gradient.stops.position"
2103
- },
2104
- {
2105
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX"
2106
- },
2107
- {
2108
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY"
2109
- },
2110
- {
2111
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position"
2112
- },
2113
- { path: "draftPost.richContent.nodes.shapeData.shape.duration" },
2114
- {
2115
- path: "draftPost.richContent.nodes.cardData.background.gradient.centerX"
2116
- },
2117
- {
2118
- path: "draftPost.richContent.nodes.cardData.background.gradient.centerY"
2119
- },
2120
- {
2121
- path: "draftPost.richContent.nodes.cardData.background.gradient.stops.position"
2122
- },
2123
- {
2124
- path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
2125
- },
2126
- {
2127
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
2128
- },
2129
- {
2130
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
2131
- },
2132
- {
2133
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
2134
- },
2135
- { path: "draftPost.richContent.nodes.tocData.fontSize" },
2136
- { path: "draftPost.richContent.nodes.tocData.itemSpacing" },
2137
- {
2138
- path: "draftPost.richContent.nodes.smartBlockCellData.shape.duration"
2139
- }
2140
- ]
2141
- }
2142
- ])
2143
- };
2144
- return metadata;
2145
- }
2146
- return __updateDraftPost;
2147
- }
2148
- function deleteDraftPost(payload) {
2149
- function __deleteDraftPost({ host }) {
2150
- const metadata = {
2151
- entityFqdn: "wix.blog.v3.draft",
2152
- method: "DELETE",
2153
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.DeleteDraftPost",
2154
- packageName: PACKAGE_NAME,
2155
- migrationOptions: {
2156
- optInTransformResponse: true
2157
- },
2158
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
2159
- { protoPath: "/v3/draft-posts/{draftPostId}", data: payload, host }
2160
- ),
2161
- params: (0, import_rest_modules.toURLSearchParams)(payload)
2162
- };
2163
- return metadata;
2164
- }
2165
- return __deleteDraftPost;
2166
- }
2167
- function removeFromTrashBin(payload) {
2168
- function __removeFromTrashBin({ host }) {
2169
- const metadata = {
2170
- entityFqdn: "wix.blog.v3.draft",
2171
- method: "DELETE",
2172
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RemoveFromTrashBin",
2173
- packageName: PACKAGE_NAME,
2174
- migrationOptions: {
2175
- optInTransformResponse: true
2176
- },
2177
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
2178
- {
2179
- protoPath: "/v3/draft-posts/trash-bin/{draftPostId}",
2180
- data: payload,
2181
- host
2182
- }
2183
- ),
2184
- params: (0, import_rest_modules.toURLSearchParams)(payload)
2185
- };
2186
- return metadata;
2187
- }
2188
- return __removeFromTrashBin;
2189
- }
2190
- function bulkDeleteDraftPosts(payload) {
2191
- function __bulkDeleteDraftPosts({ host }) {
2192
- const metadata = {
2193
- entityFqdn: "wix.blog.v3.draft",
2194
- method: "DELETE",
2195
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkDeleteDraftPosts",
2196
- packageName: PACKAGE_NAME,
2197
- migrationOptions: {
2198
- optInTransformResponse: true
2199
- },
2200
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
2201
- { protoPath: "/v3/bulk/draft-posts", data: payload, host }
2202
- ),
2203
- params: (0, import_rest_modules.toURLSearchParams)(payload),
2204
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
2205
- {
2206
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
2207
- paths: [
2208
- { path: "results.item.editedDate" },
2209
- { path: "results.item.scheduledPublishDate" },
2210
- { path: "results.item.firstPublishedDate" },
2211
- { path: "results.item.createdDate" },
2212
- { path: "results.item.heroImage.urlExpirationDate" },
2213
- { path: "results.item.richContent.metadata.createdTimestamp" },
2214
- { path: "results.item.richContent.metadata.updatedTimestamp" },
2215
- { path: "results.item.moderationDetails.submittedDate" },
2216
- { path: "results.item.moderationDetails.moderationDate" },
2217
- { path: "results.item.media.wixMedia.image.urlExpirationDate" },
2218
- { path: "results.item.media.wixMedia.videoV2.urlExpirationDate" },
2219
- {
2220
- path: "results.item.media.wixMedia.videoV2.resolutions.urlExpirationDate"
2221
- },
2222
- {
2223
- path: "results.item.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
2224
- },
2225
- {
2226
- path: "results.item.media.wixMedia.videoV2.posters.urlExpirationDate"
2227
- }
2228
- ]
2229
- },
2230
- {
2231
- transformFn: import_float2.transformRESTFloatToSDKFloat,
2232
- paths: [
2233
- { path: "results.item.heroImage.focalPoint.x" },
2234
- { path: "results.item.heroImage.focalPoint.y" },
2235
- { path: "results.item.media.wixMedia.image.focalPoint.x" },
2236
- { path: "results.item.media.wixMedia.image.focalPoint.y" },
2237
- {
2238
- path: "results.item.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
2239
- },
2240
- {
2241
- path: "results.item.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
2242
- },
2243
- {
2244
- path: "results.item.media.wixMedia.videoV2.posters.focalPoint.x"
2245
- },
2246
- {
2247
- path: "results.item.media.wixMedia.videoV2.posters.focalPoint.y"
2248
- },
2249
- {
2250
- path: "results.item.richContent.nodes.buttonData.styles.background.gradient.centerX"
2251
- },
2252
- {
2253
- path: "results.item.richContent.nodes.buttonData.styles.background.gradient.centerY"
2254
- },
2255
- {
2256
- path: "results.item.richContent.nodes.buttonData.styles.background.gradient.stops.position"
2257
- },
2258
- {
2259
- path: "results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
2260
- },
2261
- {
2262
- path: "results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
2263
- },
2264
- {
2265
- path: "results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
2266
- },
2267
- {
2268
- path: "results.item.richContent.nodes.galleryData.items.image.media.duration"
2269
- },
2270
- {
2271
- path: "results.item.richContent.nodes.galleryData.items.video.media.duration"
2272
- },
2273
- {
2274
- path: "results.item.richContent.nodes.galleryData.items.video.thumbnail.duration"
2275
- },
2276
- {
2277
- path: "results.item.richContent.nodes.galleryData.options.item.ratio"
2278
- },
2279
- {
2280
- path: "results.item.richContent.nodes.imageData.image.duration"
2281
- },
2282
- { path: "results.item.richContent.nodes.imageData.crop.x" },
2283
- { path: "results.item.richContent.nodes.imageData.crop.y" },
2284
- { path: "results.item.richContent.nodes.imageData.crop.width" },
2285
- { path: "results.item.richContent.nodes.imageData.crop.height" },
2286
- {
2287
- path: "results.item.richContent.nodes.mapData.mapSettings.lat"
2288
- },
2289
- {
2290
- path: "results.item.richContent.nodes.mapData.mapSettings.lng"
2291
- },
2292
- {
2293
- path: "results.item.richContent.nodes.pollData.poll.image.duration"
2294
- },
2295
- {
2296
- path: "results.item.richContent.nodes.pollData.poll.options.image.duration"
2297
- },
2298
- {
2299
- path: "results.item.richContent.nodes.pollData.design.poll.background.image.duration"
2300
- },
2301
- {
2302
- path: "results.item.richContent.nodes.appEmbedData.image.duration"
2303
- },
2304
- {
2305
- path: "results.item.richContent.nodes.videoData.video.duration"
2306
- },
2307
- {
2308
- path: "results.item.richContent.nodes.videoData.thumbnail.duration"
2309
- },
2310
- {
2311
- path: "results.item.richContent.nodes.audioData.audio.duration"
2312
- },
2313
- {
2314
- path: "results.item.richContent.nodes.audioData.coverImage.duration"
2315
- },
2316
- {
2317
- path: "results.item.richContent.nodes.layoutData.backgroundImage.media.duration"
2318
- },
2319
- {
2320
- path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
2321
- },
2322
- {
2323
- path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
2324
- },
2325
- {
2326
- path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
2327
- },
2328
- {
2329
- path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
2330
- },
2331
- {
2332
- path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
2333
- },
2334
- {
2335
- path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
2336
- },
2337
- {
2338
- path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
2339
- },
2340
- {
2341
- path: "results.item.richContent.nodes.layoutData.background.gradient.centerX"
2342
- },
2343
- {
2344
- path: "results.item.richContent.nodes.layoutData.background.gradient.centerY"
2345
- },
2346
- {
2347
- path: "results.item.richContent.nodes.layoutData.background.gradient.stops.position"
2348
- },
2349
- {
2350
- path: "results.item.richContent.nodes.layoutData.backdrop.gradient.centerX"
2351
- },
2352
- {
2353
- path: "results.item.richContent.nodes.layoutData.backdrop.gradient.centerY"
2354
- },
2355
- {
2356
- path: "results.item.richContent.nodes.layoutData.backdrop.gradient.stops.position"
2357
- },
2358
- {
2359
- path: "results.item.richContent.nodes.shapeData.shape.duration"
2360
- },
2361
- {
2362
- path: "results.item.richContent.nodes.cardData.background.gradient.centerX"
2363
- },
2364
- {
2365
- path: "results.item.richContent.nodes.cardData.background.gradient.centerY"
2366
- },
2367
- {
2368
- path: "results.item.richContent.nodes.cardData.background.gradient.stops.position"
2369
- },
2370
- {
2371
- path: "results.item.richContent.nodes.cardData.backgroundImage.media.duration"
2372
- },
2373
- {
2374
- path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
2375
- },
2376
- {
2377
- path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
2378
- },
2379
- {
2380
- path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
2381
- },
2382
- { path: "results.item.richContent.nodes.tocData.fontSize" },
2383
- { path: "results.item.richContent.nodes.tocData.itemSpacing" },
2384
- {
2385
- path: "results.item.richContent.nodes.smartBlockCellData.shape.duration"
2386
- }
2387
- ]
2388
- }
2389
- ])
2390
- };
2391
- return metadata;
2392
- }
2393
- return __bulkDeleteDraftPosts;
2394
- }
2395
- function listDraftPosts(payload) {
2396
- function __listDraftPosts({ host }) {
2397
- const metadata = {
2398
- entityFqdn: "wix.blog.v3.draft",
2399
- method: "GET",
2400
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDraftPosts",
2401
- packageName: PACKAGE_NAME,
2402
- migrationOptions: {
2403
- optInTransformResponse: true
2404
- },
2405
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
2406
- { protoPath: "/v3/draft-posts", data: payload, host }
2407
- ),
2408
- params: (0, import_rest_modules.toURLSearchParams)(payload),
2409
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
2410
- {
2411
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
2412
- paths: [
2413
- { path: "draftPosts.editedDate" },
2414
- { path: "draftPosts.scheduledPublishDate" },
2415
- { path: "draftPosts.firstPublishedDate" },
2416
- { path: "draftPosts.createdDate" },
2417
- { path: "draftPosts.heroImage.urlExpirationDate" },
2418
- { path: "draftPosts.richContent.metadata.createdTimestamp" },
2419
- { path: "draftPosts.richContent.metadata.updatedTimestamp" },
2420
- { path: "draftPosts.moderationDetails.submittedDate" },
2421
- { path: "draftPosts.moderationDetails.moderationDate" },
2422
- { path: "draftPosts.media.wixMedia.image.urlExpirationDate" },
2423
- { path: "draftPosts.media.wixMedia.videoV2.urlExpirationDate" },
2424
- {
2425
- path: "draftPosts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
2426
- },
2427
- {
2428
- path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
2429
- },
2430
- {
2431
- path: "draftPosts.media.wixMedia.videoV2.posters.urlExpirationDate"
2432
- }
2433
- ]
2434
- },
2435
- {
2436
- transformFn: import_float2.transformRESTFloatToSDKFloat,
2437
- paths: [
2438
- { path: "draftPosts.heroImage.focalPoint.x" },
2439
- { path: "draftPosts.heroImage.focalPoint.y" },
2440
- { path: "draftPosts.media.wixMedia.image.focalPoint.x" },
2441
- { path: "draftPosts.media.wixMedia.image.focalPoint.y" },
2442
- {
2443
- path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
2444
- },
2445
- {
2446
- path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
2447
- },
2448
- {
2449
- path: "draftPosts.media.wixMedia.videoV2.posters.focalPoint.x"
2450
- },
2451
- {
2452
- path: "draftPosts.media.wixMedia.videoV2.posters.focalPoint.y"
2453
- },
2454
- {
2455
- path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerX"
2456
- },
2457
- {
2458
- path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerY"
2459
- },
2460
- {
2461
- path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
2462
- },
2463
- {
2464
- path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
2465
- },
2466
- {
2467
- path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
2468
- },
2469
- {
2470
- path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
2471
- },
2472
- {
2473
- path: "draftPosts.richContent.nodes.galleryData.items.image.media.duration"
2474
- },
2475
- {
2476
- path: "draftPosts.richContent.nodes.galleryData.items.video.media.duration"
2477
- },
2478
- {
2479
- path: "draftPosts.richContent.nodes.galleryData.items.video.thumbnail.duration"
2480
- },
2481
- {
2482
- path: "draftPosts.richContent.nodes.galleryData.options.item.ratio"
2483
- },
2484
- { path: "draftPosts.richContent.nodes.imageData.image.duration" },
2485
- { path: "draftPosts.richContent.nodes.imageData.crop.x" },
2486
- { path: "draftPosts.richContent.nodes.imageData.crop.y" },
2487
- { path: "draftPosts.richContent.nodes.imageData.crop.width" },
2488
- { path: "draftPosts.richContent.nodes.imageData.crop.height" },
2489
- { path: "draftPosts.richContent.nodes.mapData.mapSettings.lat" },
2490
- { path: "draftPosts.richContent.nodes.mapData.mapSettings.lng" },
2491
- {
2492
- path: "draftPosts.richContent.nodes.pollData.poll.image.duration"
2493
- },
2494
- {
2495
- path: "draftPosts.richContent.nodes.pollData.poll.options.image.duration"
2496
- },
2497
- {
2498
- path: "draftPosts.richContent.nodes.pollData.design.poll.background.image.duration"
2499
- },
2500
- {
2501
- path: "draftPosts.richContent.nodes.appEmbedData.image.duration"
2502
- },
2503
- { path: "draftPosts.richContent.nodes.videoData.video.duration" },
2504
- {
2505
- path: "draftPosts.richContent.nodes.videoData.thumbnail.duration"
2506
- },
2507
- { path: "draftPosts.richContent.nodes.audioData.audio.duration" },
2508
- {
2509
- path: "draftPosts.richContent.nodes.audioData.coverImage.duration"
2510
- },
2511
- {
2512
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration"
2513
- },
2514
- {
2515
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
2516
- },
2517
- {
2518
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
2519
- },
2520
- {
2521
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
2522
- },
2523
- {
2524
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
2525
- },
2526
- {
2527
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
2528
- },
2529
- {
2530
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
2531
- },
2532
- {
2533
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
2534
- },
2535
- {
2536
- path: "draftPosts.richContent.nodes.layoutData.background.gradient.centerX"
2537
- },
2538
- {
2539
- path: "draftPosts.richContent.nodes.layoutData.background.gradient.centerY"
2540
- },
2541
- {
2542
- path: "draftPosts.richContent.nodes.layoutData.background.gradient.stops.position"
2543
- },
2544
- {
2545
- path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerX"
2546
- },
2547
- {
2548
- path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerY"
2549
- },
2550
- {
2551
- path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
2552
- },
2553
- { path: "draftPosts.richContent.nodes.shapeData.shape.duration" },
2554
- {
2555
- path: "draftPosts.richContent.nodes.cardData.background.gradient.centerX"
2556
- },
2557
- {
2558
- path: "draftPosts.richContent.nodes.cardData.background.gradient.centerY"
2559
- },
2560
- {
2561
- path: "draftPosts.richContent.nodes.cardData.background.gradient.stops.position"
2562
- },
2563
- {
2564
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.media.duration"
2565
- },
2566
- {
2567
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
2568
- },
2569
- {
2570
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
2571
- },
2572
- {
2573
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
2574
- },
2575
- { path: "draftPosts.richContent.nodes.tocData.fontSize" },
2576
- { path: "draftPosts.richContent.nodes.tocData.itemSpacing" },
2577
- {
2578
- path: "draftPosts.richContent.nodes.smartBlockCellData.shape.duration"
2579
- }
2580
- ]
2581
- }
2582
- ])
2583
- };
2584
- return metadata;
2585
- }
2586
- return __listDraftPosts;
2587
- }
2588
- function getDeletedDraftPost(payload) {
2589
- function __getDeletedDraftPost({ host }) {
2590
- const metadata = {
2591
- entityFqdn: "wix.blog.v3.draft",
2592
- method: "GET",
2593
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDeletedDraftPost",
2594
- packageName: PACKAGE_NAME,
2595
- migrationOptions: {
2596
- optInTransformResponse: true
2597
- },
2598
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
2599
- {
2600
- protoPath: "/v3/draft-posts/trash-bin/{draftPostId}",
2601
- data: payload,
2602
- host
2603
- }
2604
- ),
2605
- params: (0, import_rest_modules.toURLSearchParams)(payload),
2606
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
2607
- {
2608
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
2609
- paths: [
2610
- { path: "draftPost.editedDate" },
2611
- { path: "draftPost.scheduledPublishDate" },
2612
- { path: "draftPost.firstPublishedDate" },
2613
- { path: "draftPost.createdDate" },
2614
- { path: "draftPost.heroImage.urlExpirationDate" },
2615
- { path: "draftPost.richContent.metadata.createdTimestamp" },
2616
- { path: "draftPost.richContent.metadata.updatedTimestamp" },
2617
- { path: "draftPost.moderationDetails.submittedDate" },
2618
- { path: "draftPost.moderationDetails.moderationDate" },
2619
- { path: "draftPost.media.wixMedia.image.urlExpirationDate" },
2620
- { path: "draftPost.media.wixMedia.videoV2.urlExpirationDate" },
2621
- {
2622
- path: "draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate"
2623
- },
2624
- {
2625
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
2626
- },
2627
- {
2628
- path: "draftPost.media.wixMedia.videoV2.posters.urlExpirationDate"
2629
- }
2630
- ]
2631
- },
2632
- {
2633
- transformFn: import_float2.transformRESTFloatToSDKFloat,
2634
- paths: [
2635
- { path: "draftPost.heroImage.focalPoint.x" },
2636
- { path: "draftPost.heroImage.focalPoint.y" },
2637
- { path: "draftPost.media.wixMedia.image.focalPoint.x" },
2638
- { path: "draftPost.media.wixMedia.image.focalPoint.y" },
2639
- {
2640
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
2641
- },
2642
- {
2643
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
2644
- },
2645
- { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.x" },
2646
- { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.y" },
2647
- {
2648
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX"
2649
- },
2650
- {
2651
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY"
2652
- },
2653
- {
2654
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position"
2655
- },
2656
- {
2657
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
2658
- },
2659
- {
2660
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
2661
- },
2662
- {
2663
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
2664
- },
2665
- {
2666
- path: "draftPost.richContent.nodes.galleryData.items.image.media.duration"
2667
- },
2668
- {
2669
- path: "draftPost.richContent.nodes.galleryData.items.video.media.duration"
2670
- },
2671
- {
2672
- path: "draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration"
2673
- },
2674
- {
2675
- path: "draftPost.richContent.nodes.galleryData.options.item.ratio"
2676
- },
2677
- { path: "draftPost.richContent.nodes.imageData.image.duration" },
2678
- { path: "draftPost.richContent.nodes.imageData.crop.x" },
2679
- { path: "draftPost.richContent.nodes.imageData.crop.y" },
2680
- { path: "draftPost.richContent.nodes.imageData.crop.width" },
2681
- { path: "draftPost.richContent.nodes.imageData.crop.height" },
2682
- { path: "draftPost.richContent.nodes.mapData.mapSettings.lat" },
2683
- { path: "draftPost.richContent.nodes.mapData.mapSettings.lng" },
2684
- {
2685
- path: "draftPost.richContent.nodes.pollData.poll.image.duration"
2686
- },
2687
- {
2688
- path: "draftPost.richContent.nodes.pollData.poll.options.image.duration"
2689
- },
2690
- {
2691
- path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
2692
- },
2693
- {
2694
- path: "draftPost.richContent.nodes.appEmbedData.image.duration"
2695
- },
2696
- { path: "draftPost.richContent.nodes.videoData.video.duration" },
2697
- {
2698
- path: "draftPost.richContent.nodes.videoData.thumbnail.duration"
2699
- },
2700
- { path: "draftPost.richContent.nodes.audioData.audio.duration" },
2701
- {
2702
- path: "draftPost.richContent.nodes.audioData.coverImage.duration"
2703
- },
2704
- {
2705
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
2706
- },
2707
- {
2708
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
2709
- },
2710
- {
2711
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
2712
- },
2713
- {
2714
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
2715
- },
2716
- {
2717
- path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
2718
- },
2719
- {
2720
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
2721
- },
2722
- {
2723
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
2724
- },
2725
- {
2726
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
2727
- },
2728
- {
2729
- path: "draftPost.richContent.nodes.layoutData.background.gradient.centerX"
2730
- },
2731
- {
2732
- path: "draftPost.richContent.nodes.layoutData.background.gradient.centerY"
2733
- },
2734
- {
2735
- path: "draftPost.richContent.nodes.layoutData.background.gradient.stops.position"
2736
- },
2737
- {
2738
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX"
2739
- },
2740
- {
2741
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY"
2742
- },
2743
- {
2744
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position"
2745
- },
2746
- { path: "draftPost.richContent.nodes.shapeData.shape.duration" },
2747
- {
2748
- path: "draftPost.richContent.nodes.cardData.background.gradient.centerX"
2749
- },
2750
- {
2751
- path: "draftPost.richContent.nodes.cardData.background.gradient.centerY"
2752
- },
2753
- {
2754
- path: "draftPost.richContent.nodes.cardData.background.gradient.stops.position"
2755
- },
2756
- {
2757
- path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
2758
- },
2759
- {
2760
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
2761
- },
2762
- {
2763
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
2764
- },
2765
- {
2766
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
2767
- },
2768
- { path: "draftPost.richContent.nodes.tocData.fontSize" },
2769
- { path: "draftPost.richContent.nodes.tocData.itemSpacing" },
2770
- {
2771
- path: "draftPost.richContent.nodes.smartBlockCellData.shape.duration"
2772
- }
2773
- ]
2774
- }
2775
- ])
2776
- };
2777
- return metadata;
2778
- }
2779
- return __getDeletedDraftPost;
2780
- }
2781
- function restoreFromTrashBin(payload) {
2782
- function __restoreFromTrashBin({ host }) {
2783
- const metadata = {
2784
- entityFqdn: "wix.blog.v3.draft",
2785
- method: "POST",
2786
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RestoreFromTrashBin",
2787
- packageName: PACKAGE_NAME,
2788
- migrationOptions: {
2789
- optInTransformResponse: true
2790
- },
2791
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
2792
- {
2793
- protoPath: "/v3/draft-posts/trash-bin/{draftPostId}/restore",
2794
- data: payload,
2795
- host
2796
- }
2797
- ),
2798
- data: payload,
2799
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
2800
- {
2801
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
2802
- paths: [
2803
- { path: "draftPost.editedDate" },
2804
- { path: "draftPost.scheduledPublishDate" },
2805
- { path: "draftPost.firstPublishedDate" },
2806
- { path: "draftPost.createdDate" },
2807
- { path: "draftPost.heroImage.urlExpirationDate" },
2808
- { path: "draftPost.richContent.metadata.createdTimestamp" },
2809
- { path: "draftPost.richContent.metadata.updatedTimestamp" },
2810
- { path: "draftPost.moderationDetails.submittedDate" },
2811
- { path: "draftPost.moderationDetails.moderationDate" },
2812
- { path: "draftPost.media.wixMedia.image.urlExpirationDate" },
2813
- { path: "draftPost.media.wixMedia.videoV2.urlExpirationDate" },
2814
- {
2815
- path: "draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate"
2816
- },
2817
- {
2818
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
2819
- },
2820
- {
2821
- path: "draftPost.media.wixMedia.videoV2.posters.urlExpirationDate"
2822
- }
2823
- ]
2824
- },
2825
- {
2826
- transformFn: import_float2.transformRESTFloatToSDKFloat,
2827
- paths: [
2828
- { path: "draftPost.heroImage.focalPoint.x" },
2829
- { path: "draftPost.heroImage.focalPoint.y" },
2830
- { path: "draftPost.media.wixMedia.image.focalPoint.x" },
2831
- { path: "draftPost.media.wixMedia.image.focalPoint.y" },
2832
- {
2833
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
2834
- },
2835
- {
2836
- path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
2837
- },
2838
- { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.x" },
2839
- { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.y" },
2840
- {
2841
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX"
2842
- },
2843
- {
2844
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY"
2845
- },
2846
- {
2847
- path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position"
2848
- },
2849
- {
2850
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
2851
- },
2852
- {
2853
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
2854
- },
2855
- {
2856
- path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
2857
- },
2858
- {
2859
- path: "draftPost.richContent.nodes.galleryData.items.image.media.duration"
2860
- },
2861
- {
2862
- path: "draftPost.richContent.nodes.galleryData.items.video.media.duration"
2863
- },
2864
- {
2865
- path: "draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration"
2866
- },
2867
- {
2868
- path: "draftPost.richContent.nodes.galleryData.options.item.ratio"
2869
- },
2870
- { path: "draftPost.richContent.nodes.imageData.image.duration" },
2871
- { path: "draftPost.richContent.nodes.imageData.crop.x" },
2872
- { path: "draftPost.richContent.nodes.imageData.crop.y" },
2873
- { path: "draftPost.richContent.nodes.imageData.crop.width" },
2874
- { path: "draftPost.richContent.nodes.imageData.crop.height" },
2875
- { path: "draftPost.richContent.nodes.mapData.mapSettings.lat" },
2876
- { path: "draftPost.richContent.nodes.mapData.mapSettings.lng" },
2877
- {
2878
- path: "draftPost.richContent.nodes.pollData.poll.image.duration"
2879
- },
2880
- {
2881
- path: "draftPost.richContent.nodes.pollData.poll.options.image.duration"
2882
- },
2883
- {
2884
- path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
2885
- },
2886
- {
2887
- path: "draftPost.richContent.nodes.appEmbedData.image.duration"
2888
- },
2889
- { path: "draftPost.richContent.nodes.videoData.video.duration" },
2890
- {
2891
- path: "draftPost.richContent.nodes.videoData.thumbnail.duration"
2892
- },
2893
- { path: "draftPost.richContent.nodes.audioData.audio.duration" },
2894
- {
2895
- path: "draftPost.richContent.nodes.audioData.coverImage.duration"
2896
- },
2897
- {
2898
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
2899
- },
2900
- {
2901
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
2902
- },
2903
- {
2904
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
2905
- },
2906
- {
2907
- path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
2908
- },
2909
- {
2910
- path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
2911
- },
2912
- {
2913
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
2914
- },
2915
- {
2916
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
2917
- },
2918
- {
2919
- path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
2920
- },
2921
- {
2922
- path: "draftPost.richContent.nodes.layoutData.background.gradient.centerX"
2923
- },
2924
- {
2925
- path: "draftPost.richContent.nodes.layoutData.background.gradient.centerY"
2926
- },
2927
- {
2928
- path: "draftPost.richContent.nodes.layoutData.background.gradient.stops.position"
2929
- },
2930
- {
2931
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX"
2932
- },
2933
- {
2934
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY"
2935
- },
2936
- {
2937
- path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position"
2938
- },
2939
- { path: "draftPost.richContent.nodes.shapeData.shape.duration" },
2940
- {
2941
- path: "draftPost.richContent.nodes.cardData.background.gradient.centerX"
2942
- },
2943
- {
2944
- path: "draftPost.richContent.nodes.cardData.background.gradient.centerY"
2945
- },
2946
- {
2947
- path: "draftPost.richContent.nodes.cardData.background.gradient.stops.position"
2948
- },
2949
- {
2950
- path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
2951
- },
2952
- {
2953
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
2954
- },
2955
- {
2956
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
2957
- },
2958
- {
2959
- path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
2960
- },
2961
- { path: "draftPost.richContent.nodes.tocData.fontSize" },
2962
- { path: "draftPost.richContent.nodes.tocData.itemSpacing" },
2963
- {
2964
- path: "draftPost.richContent.nodes.smartBlockCellData.shape.duration"
2965
- }
2966
- ]
2967
- }
2968
- ])
2969
- };
2970
- return metadata;
2971
- }
2972
- return __restoreFromTrashBin;
2973
- }
2974
- function queryDraftPosts(payload) {
2975
- function __queryDraftPosts({ host }) {
2976
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
2977
- {
2978
- transformFn: import_float.transformSDKFloatToRESTFloat,
2979
- paths: [
2980
- { path: "query.sort.origin.latitude" },
2981
- { path: "query.sort.origin.longitude" }
2982
- ]
2983
- }
2984
- ]);
2985
- const metadata = {
2986
- entityFqdn: "wix.blog.v3.draft",
2987
- method: "POST",
2988
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.QueryDraftPosts",
2989
- packageName: PACKAGE_NAME,
2990
- migrationOptions: {
2991
- optInTransformResponse: true
2992
- },
2993
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
2994
- { protoPath: "/v3/draft-posts/query", data: serializedData, host }
2995
- ),
2996
- data: serializedData,
2997
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
2998
- {
2999
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
3000
- paths: [
3001
- { path: "draftPosts.editedDate" },
3002
- { path: "draftPosts.scheduledPublishDate" },
3003
- { path: "draftPosts.firstPublishedDate" },
3004
- { path: "draftPosts.createdDate" },
3005
- { path: "draftPosts.heroImage.urlExpirationDate" },
3006
- { path: "draftPosts.richContent.metadata.createdTimestamp" },
3007
- { path: "draftPosts.richContent.metadata.updatedTimestamp" },
3008
- { path: "draftPosts.moderationDetails.submittedDate" },
3009
- { path: "draftPosts.moderationDetails.moderationDate" },
3010
- { path: "draftPosts.media.wixMedia.image.urlExpirationDate" },
3011
- { path: "draftPosts.media.wixMedia.videoV2.urlExpirationDate" },
3012
- {
3013
- path: "draftPosts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
3014
- },
3015
- {
3016
- path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
3017
- },
3018
- {
3019
- path: "draftPosts.media.wixMedia.videoV2.posters.urlExpirationDate"
3020
- }
3021
- ]
3022
- },
3023
- {
3024
- transformFn: import_float2.transformRESTFloatToSDKFloat,
3025
- paths: [
3026
- { path: "draftPosts.heroImage.focalPoint.x" },
3027
- { path: "draftPosts.heroImage.focalPoint.y" },
3028
- { path: "draftPosts.media.wixMedia.image.focalPoint.x" },
3029
- { path: "draftPosts.media.wixMedia.image.focalPoint.y" },
3030
- {
3031
- path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
3032
- },
3033
- {
3034
- path: "draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
3035
- },
3036
- {
3037
- path: "draftPosts.media.wixMedia.videoV2.posters.focalPoint.x"
3038
- },
3039
- {
3040
- path: "draftPosts.media.wixMedia.videoV2.posters.focalPoint.y"
3041
- },
3042
- {
3043
- path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerX"
3044
- },
3045
- {
3046
- path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerY"
3047
- },
3048
- {
3049
- path: "draftPosts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
3050
- },
3051
- {
3052
- path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
3053
- },
3054
- {
3055
- path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
3056
- },
3057
- {
3058
- path: "draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
3059
- },
3060
- {
3061
- path: "draftPosts.richContent.nodes.galleryData.items.image.media.duration"
3062
- },
3063
- {
3064
- path: "draftPosts.richContent.nodes.galleryData.items.video.media.duration"
3065
- },
3066
- {
3067
- path: "draftPosts.richContent.nodes.galleryData.items.video.thumbnail.duration"
3068
- },
3069
- {
3070
- path: "draftPosts.richContent.nodes.galleryData.options.item.ratio"
3071
- },
3072
- { path: "draftPosts.richContent.nodes.imageData.image.duration" },
3073
- { path: "draftPosts.richContent.nodes.imageData.crop.x" },
3074
- { path: "draftPosts.richContent.nodes.imageData.crop.y" },
3075
- { path: "draftPosts.richContent.nodes.imageData.crop.width" },
3076
- { path: "draftPosts.richContent.nodes.imageData.crop.height" },
3077
- { path: "draftPosts.richContent.nodes.mapData.mapSettings.lat" },
3078
- { path: "draftPosts.richContent.nodes.mapData.mapSettings.lng" },
3079
- {
3080
- path: "draftPosts.richContent.nodes.pollData.poll.image.duration"
3081
- },
3082
- {
3083
- path: "draftPosts.richContent.nodes.pollData.poll.options.image.duration"
3084
- },
3085
- {
3086
- path: "draftPosts.richContent.nodes.pollData.design.poll.background.image.duration"
3087
- },
3088
- {
3089
- path: "draftPosts.richContent.nodes.appEmbedData.image.duration"
3090
- },
3091
- { path: "draftPosts.richContent.nodes.videoData.video.duration" },
3092
- {
3093
- path: "draftPosts.richContent.nodes.videoData.thumbnail.duration"
3094
- },
3095
- { path: "draftPosts.richContent.nodes.audioData.audio.duration" },
3096
- {
3097
- path: "draftPosts.richContent.nodes.audioData.coverImage.duration"
3098
- },
3099
- {
3100
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration"
3101
- },
3102
- {
3103
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
3104
- },
3105
- {
3106
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
3107
- },
3108
- {
3109
- path: "draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
3110
- },
3111
- {
3112
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
3113
- },
3114
- {
3115
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
3116
- },
3117
- {
3118
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
3119
- },
3120
- {
3121
- path: "draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
3122
- },
3123
- {
3124
- path: "draftPosts.richContent.nodes.layoutData.background.gradient.centerX"
3125
- },
3126
- {
3127
- path: "draftPosts.richContent.nodes.layoutData.background.gradient.centerY"
3128
- },
3129
- {
3130
- path: "draftPosts.richContent.nodes.layoutData.background.gradient.stops.position"
3131
- },
3132
- {
3133
- path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerX"
3134
- },
3135
- {
3136
- path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerY"
3137
- },
3138
- {
3139
- path: "draftPosts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
3140
- },
3141
- { path: "draftPosts.richContent.nodes.shapeData.shape.duration" },
3142
- {
3143
- path: "draftPosts.richContent.nodes.cardData.background.gradient.centerX"
3144
- },
3145
- {
3146
- path: "draftPosts.richContent.nodes.cardData.background.gradient.centerY"
3147
- },
3148
- {
3149
- path: "draftPosts.richContent.nodes.cardData.background.gradient.stops.position"
3150
- },
3151
- {
3152
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.media.duration"
3153
- },
3154
- {
3155
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
3156
- },
3157
- {
3158
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
3159
- },
3160
- {
3161
- path: "draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
3162
- },
3163
- { path: "draftPosts.richContent.nodes.tocData.fontSize" },
3164
- { path: "draftPosts.richContent.nodes.tocData.itemSpacing" },
3165
- {
3166
- path: "draftPosts.richContent.nodes.smartBlockCellData.shape.duration"
3167
- }
3168
- ]
3169
- }
3170
- ])
3171
- };
3172
- return metadata;
3173
- }
3174
- return __queryDraftPosts;
3175
- }
3176
- function publishDraftPost(payload) {
3177
- function __publishDraftPost({ host }) {
3178
- const metadata = {
3179
- entityFqdn: "wix.blog.v3.draft",
3180
- method: "POST",
3181
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.PublishDraftPost",
3182
- packageName: PACKAGE_NAME,
3183
- migrationOptions: {
3184
- optInTransformResponse: true
3185
- },
3186
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
3187
- {
3188
- protoPath: "/v3/draft-posts/{draftPostId}/publish",
3189
- data: payload,
3190
- host
3191
- }
3192
- ),
3193
- data: payload
3194
- };
3195
- return metadata;
3196
- }
3197
- return __publishDraftPost;
3198
- }
3199
-
3200
- // src/blog-v3-draft-draft-posts.types.ts
3201
- var Origin = /* @__PURE__ */ ((Origin2) => {
3202
- Origin2["UNKNOWN"] = "UNKNOWN";
3203
- Origin2["ADMIN"] = "ADMIN";
3204
- Origin2["ADD_CATEGORIES"] = "ADD_CATEGORIES";
3205
- Origin2["AUTO_SAVE"] = "AUTO_SAVE";
3206
- Origin2["COPY_TEMPLATE"] = "COPY_TEMPLATE";
3207
- Origin2["IMPORT"] = "IMPORT";
3208
- Origin2["IMPORT_BULK"] = "IMPORT_BULK";
3209
- Origin2["IMPORT_HTML"] = "IMPORT_HTML";
3210
- Origin2["IMPORT_PATCH"] = "IMPORT_PATCH";
3211
- Origin2["LANGUAGE_CHANGE"] = "LANGUAGE_CHANGE";
3212
- Origin2["MANUAL_SAVE"] = "MANUAL_SAVE";
3213
- Origin2["MIGRATION"] = "MIGRATION";
3214
- Origin2["MODERATION"] = "MODERATION";
3215
- Origin2["MOVE_TO_TRASH"] = "MOVE_TO_TRASH";
3216
- Origin2["PRICING_PLANS_CHANGE"] = "PRICING_PLANS_CHANGE";
3217
- Origin2["PROVISION"] = "PROVISION";
3218
- Origin2["PUBLISH"] = "PUBLISH";
3219
- Origin2["REASSIGN_OWNER"] = "REASSIGN_OWNER";
3220
- Origin2["REBLOG"] = "REBLOG";
3221
- Origin2["RESTORE"] = "RESTORE";
3222
- Origin2["REVERT_TO_DRAFT"] = "REVERT_TO_DRAFT";
3223
- Origin2["TRANSLATION"] = "TRANSLATION";
3224
- Origin2["UNPUBLISH"] = "UNPUBLISH";
3225
- Origin2["UNSCHEDULE"] = "UNSCHEDULE";
3226
- Origin2["NEW_EDIT_SESSION"] = "NEW_EDIT_SESSION";
3227
- Origin2["SCHEDULING_SERVICE_SCHEDULE"] = "SCHEDULING_SERVICE_SCHEDULE";
3228
- Origin2["SCHEDULING_SERVICE_UNSCHEDULE"] = "SCHEDULING_SERVICE_UNSCHEDULE";
3229
- Origin2["SCHEDULING_SERVICE_PUBLISH"] = "SCHEDULING_SERVICE_PUBLISH";
3230
- Origin2["SCHEDULE"] = "SCHEDULE";
3231
- Origin2["REMOVE_FROM_MODERATION"] = "REMOVE_FROM_MODERATION";
3232
- Origin2["REJECT_FROM_MODERATION"] = "REJECT_FROM_MODERATION";
3233
- Origin2["APPROVE_IN_MODERATION"] = "APPROVE_IN_MODERATION";
3234
- Origin2["DELETE_TAG"] = "DELETE_TAG";
3235
- Origin2["PIN"] = "PIN";
3236
- Origin2["UNPIN"] = "UNPIN";
3237
- Origin2["AI_AUTO_SAVE"] = "AI_AUTO_SAVE";
3238
- return Origin2;
3239
- })(Origin || {});
3240
- var NodeType = /* @__PURE__ */ ((NodeType2) => {
3241
- NodeType2["PARAGRAPH"] = "PARAGRAPH";
3242
- NodeType2["TEXT"] = "TEXT";
3243
- NodeType2["HEADING"] = "HEADING";
3244
- NodeType2["BULLETED_LIST"] = "BULLETED_LIST";
3245
- NodeType2["ORDERED_LIST"] = "ORDERED_LIST";
3246
- NodeType2["LIST_ITEM"] = "LIST_ITEM";
3247
- NodeType2["BLOCKQUOTE"] = "BLOCKQUOTE";
3248
- NodeType2["CODE_BLOCK"] = "CODE_BLOCK";
3249
- NodeType2["VIDEO"] = "VIDEO";
3250
- NodeType2["DIVIDER"] = "DIVIDER";
3251
- NodeType2["FILE"] = "FILE";
3252
- NodeType2["GALLERY"] = "GALLERY";
3253
- NodeType2["GIF"] = "GIF";
3254
- NodeType2["HTML"] = "HTML";
3255
- NodeType2["IMAGE"] = "IMAGE";
3256
- NodeType2["LINK_PREVIEW"] = "LINK_PREVIEW";
3257
- NodeType2["MAP"] = "MAP";
3258
- NodeType2["POLL"] = "POLL";
3259
- NodeType2["APP_EMBED"] = "APP_EMBED";
3260
- NodeType2["BUTTON"] = "BUTTON";
3261
- NodeType2["COLLAPSIBLE_LIST"] = "COLLAPSIBLE_LIST";
3262
- NodeType2["TABLE"] = "TABLE";
3263
- NodeType2["EMBED"] = "EMBED";
3264
- NodeType2["COLLAPSIBLE_ITEM"] = "COLLAPSIBLE_ITEM";
3265
- NodeType2["COLLAPSIBLE_ITEM_TITLE"] = "COLLAPSIBLE_ITEM_TITLE";
3266
- NodeType2["COLLAPSIBLE_ITEM_BODY"] = "COLLAPSIBLE_ITEM_BODY";
3267
- NodeType2["TABLE_CELL"] = "TABLE_CELL";
3268
- NodeType2["TABLE_ROW"] = "TABLE_ROW";
3269
- NodeType2["EXTERNAL"] = "EXTERNAL";
3270
- NodeType2["AUDIO"] = "AUDIO";
3271
- NodeType2["CAPTION"] = "CAPTION";
3272
- NodeType2["LAYOUT"] = "LAYOUT";
3273
- NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
3274
- NodeType2["SHAPE"] = "SHAPE";
3275
- NodeType2["CARD"] = "CARD";
3276
- NodeType2["TOC"] = "TOC";
3277
- NodeType2["SMART_BLOCK"] = "SMART_BLOCK";
3278
- NodeType2["SMART_BLOCK_CELL"] = "SMART_BLOCK_CELL";
3279
- NodeType2["CHECKBOX_LIST"] = "CHECKBOX_LIST";
3280
- return NodeType2;
3281
- })(NodeType || {});
3282
- var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
3283
- BackgroundType2["COLOR"] = "COLOR";
3284
- BackgroundType2["GRADIENT"] = "GRADIENT";
3285
- return BackgroundType2;
3286
- })(BackgroundType || {});
3287
- var GradientType = /* @__PURE__ */ ((GradientType2) => {
3288
- GradientType2["LINEAR"] = "LINEAR";
3289
- GradientType2["RADIAL"] = "RADIAL";
3290
- return GradientType2;
3291
- })(GradientType || {});
3292
- var WidthType = /* @__PURE__ */ ((WidthType2) => {
3293
- WidthType2["CONTENT"] = "CONTENT";
3294
- WidthType2["SMALL"] = "SMALL";
3295
- WidthType2["ORIGINAL"] = "ORIGINAL";
3296
- WidthType2["FULL_WIDTH"] = "FULL_WIDTH";
3297
- return WidthType2;
3298
- })(WidthType || {});
3299
- var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignment2) => {
3300
- PluginContainerDataAlignment2["CENTER"] = "CENTER";
3301
- PluginContainerDataAlignment2["LEFT"] = "LEFT";
3302
- PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
3303
- return PluginContainerDataAlignment2;
3304
- })(PluginContainerDataAlignment || {});
3305
- var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
3306
- ButtonDataType2["LINK"] = "LINK";
3307
- ButtonDataType2["ACTION"] = "ACTION";
3308
- return ButtonDataType2;
3309
- })(ButtonDataType || {});
3310
- var Target = /* @__PURE__ */ ((Target2) => {
3311
- Target2["SELF"] = "SELF";
3312
- Target2["BLANK"] = "BLANK";
3313
- Target2["PARENT"] = "PARENT";
3314
- Target2["TOP"] = "TOP";
3315
- return Target2;
3316
- })(Target || {});
3317
- var AnimationType = /* @__PURE__ */ ((AnimationType2) => {
3318
- AnimationType2["VIEW"] = "VIEW";
3319
- AnimationType2["POINTER"] = "POINTER";
3320
- return AnimationType2;
3321
- })(AnimationType || {});
3322
- var EntranceEffectType = /* @__PURE__ */ ((EntranceEffectType2) => {
3323
- EntranceEffectType2["FADE"] = "FADE";
3324
- EntranceEffectType2["ARC"] = "ARC";
3325
- EntranceEffectType2["BLUR"] = "BLUR";
3326
- EntranceEffectType2["BOUNCE"] = "BOUNCE";
3327
- EntranceEffectType2["DROP"] = "DROP";
3328
- EntranceEffectType2["EXPAND"] = "EXPAND";
3329
- EntranceEffectType2["FLIP"] = "FLIP";
3330
- EntranceEffectType2["FLOAT"] = "FLOAT";
3331
- EntranceEffectType2["FOLD"] = "FOLD";
3332
- EntranceEffectType2["GLIDE"] = "GLIDE";
3333
- EntranceEffectType2["REVEAL"] = "REVEAL";
3334
- EntranceEffectType2["SHAPE"] = "SHAPE";
3335
- EntranceEffectType2["SHUTTERS"] = "SHUTTERS";
3336
- EntranceEffectType2["SLIDE"] = "SLIDE";
3337
- EntranceEffectType2["SPIN"] = "SPIN";
3338
- EntranceEffectType2["TILT"] = "TILT";
3339
- EntranceEffectType2["TURN"] = "TURN";
3340
- EntranceEffectType2["WINK"] = "WINK";
3341
- return EntranceEffectType2;
3342
- })(EntranceEffectType || {});
3343
- var LoopEffectType = /* @__PURE__ */ ((LoopEffectType2) => {
3344
- LoopEffectType2["BOUNCE"] = "BOUNCE";
3345
- LoopEffectType2["BREATHE"] = "BREATHE";
3346
- LoopEffectType2["CROSS"] = "CROSS";
3347
- LoopEffectType2["FLASH"] = "FLASH";
3348
- LoopEffectType2["FLIP"] = "FLIP";
3349
- LoopEffectType2["FOLD"] = "FOLD";
3350
- LoopEffectType2["JELLO"] = "JELLO";
3351
- LoopEffectType2["POKE"] = "POKE";
3352
- LoopEffectType2["PULSE"] = "PULSE";
3353
- LoopEffectType2["RUBBER"] = "RUBBER";
3354
- LoopEffectType2["SPIN"] = "SPIN";
3355
- LoopEffectType2["SWING"] = "SWING";
3356
- LoopEffectType2["WIGGLE"] = "WIGGLE";
3357
- return LoopEffectType2;
3358
- })(LoopEffectType || {});
3359
- var PointerEffectType = /* @__PURE__ */ ((PointerEffectType2) => {
3360
- PointerEffectType2["AIRY"] = "AIRY";
3361
- PointerEffectType2["BLOB"] = "BLOB";
3362
- PointerEffectType2["BLUR"] = "BLUR";
3363
- PointerEffectType2["SCALE"] = "SCALE";
3364
- PointerEffectType2["SKEW"] = "SKEW";
3365
- PointerEffectType2["SWIVEL"] = "SWIVEL";
3366
- PointerEffectType2["TILT_3D"] = "TILT_3D";
3367
- PointerEffectType2["TRACK"] = "TRACK";
3368
- PointerEffectType2["TRACK_3D"] = "TRACK_3D";
3369
- return PointerEffectType2;
3370
- })(PointerEffectType || {});
3371
- var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
3372
- TextAlignment2["AUTO"] = "AUTO";
3373
- TextAlignment2["LEFT"] = "LEFT";
3374
- TextAlignment2["RIGHT"] = "RIGHT";
3375
- TextAlignment2["CENTER"] = "CENTER";
3376
- TextAlignment2["JUSTIFY"] = "JUSTIFY";
3377
- return TextAlignment2;
3378
- })(TextAlignment || {});
3379
- var LineCap = /* @__PURE__ */ ((LineCap2) => {
3380
- LineCap2["SQUARE"] = "SQUARE";
3381
- LineCap2["ROUND"] = "ROUND";
3382
- return LineCap2;
3383
- })(LineCap || {});
3384
- var LineStyle = /* @__PURE__ */ ((LineStyle2) => {
3385
- LineStyle2["SINGLE"] = "SINGLE";
3386
- LineStyle2["DOUBLE"] = "DOUBLE";
3387
- LineStyle2["DASHED"] = "DASHED";
3388
- LineStyle2["DOTTED"] = "DOTTED";
3389
- return LineStyle2;
3390
- })(LineStyle || {});
3391
- var Width = /* @__PURE__ */ ((Width2) => {
3392
- Width2["LARGE"] = "LARGE";
3393
- Width2["MEDIUM"] = "MEDIUM";
3394
- Width2["SMALL"] = "SMALL";
3395
- return Width2;
3396
- })(Width || {});
3397
- var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
3398
- DividerDataAlignment2["CENTER"] = "CENTER";
3399
- DividerDataAlignment2["LEFT"] = "LEFT";
3400
- DividerDataAlignment2["RIGHT"] = "RIGHT";
3401
- return DividerDataAlignment2;
3402
- })(DividerDataAlignment || {});
3403
- var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
3404
- ViewMode2["NONE"] = "NONE";
3405
- ViewMode2["FULL"] = "FULL";
3406
- ViewMode2["MINI"] = "MINI";
3407
- return ViewMode2;
3408
- })(ViewMode || {});
3409
- var LayoutType = /* @__PURE__ */ ((LayoutType2) => {
3410
- LayoutType2["COLLAGE"] = "COLLAGE";
3411
- LayoutType2["MASONRY"] = "MASONRY";
3412
- LayoutType2["GRID"] = "GRID";
3413
- LayoutType2["THUMBNAIL"] = "THUMBNAIL";
3414
- LayoutType2["SLIDER"] = "SLIDER";
3415
- LayoutType2["SLIDESHOW"] = "SLIDESHOW";
3416
- LayoutType2["PANORAMA"] = "PANORAMA";
3417
- LayoutType2["COLUMN"] = "COLUMN";
3418
- LayoutType2["MAGIC"] = "MAGIC";
3419
- LayoutType2["FULLSIZE"] = "FULLSIZE";
3420
- return LayoutType2;
3421
- })(LayoutType || {});
3422
- var Orientation = /* @__PURE__ */ ((Orientation2) => {
3423
- Orientation2["ROWS"] = "ROWS";
3424
- Orientation2["COLUMNS"] = "COLUMNS";
3425
- return Orientation2;
3426
- })(Orientation || {});
3427
- var Crop = /* @__PURE__ */ ((Crop2) => {
3428
- Crop2["FILL"] = "FILL";
3429
- Crop2["FIT"] = "FIT";
3430
- return Crop2;
3431
- })(Crop || {});
3432
- var ThumbnailsAlignment = /* @__PURE__ */ ((ThumbnailsAlignment2) => {
3433
- ThumbnailsAlignment2["TOP"] = "TOP";
3434
- ThumbnailsAlignment2["RIGHT"] = "RIGHT";
3435
- ThumbnailsAlignment2["BOTTOM"] = "BOTTOM";
3436
- ThumbnailsAlignment2["LEFT"] = "LEFT";
3437
- ThumbnailsAlignment2["NONE"] = "NONE";
3438
- return ThumbnailsAlignment2;
3439
- })(ThumbnailsAlignment || {});
3440
- var GIFType = /* @__PURE__ */ ((GIFType2) => {
3441
- GIFType2["NORMAL"] = "NORMAL";
3442
- GIFType2["STICKER"] = "STICKER";
3443
- return GIFType2;
3444
- })(GIFType || {});
3445
- var Source = /* @__PURE__ */ ((Source2) => {
3446
- Source2["HTML"] = "HTML";
3447
- Source2["ADSENSE"] = "ADSENSE";
3448
- Source2["AI"] = "AI";
3449
- Source2["AI_WIDGET"] = "AI_WIDGET";
3450
- return Source2;
3451
- })(Source || {});
3452
- var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
3453
- StylesPosition2["START"] = "START";
3454
- StylesPosition2["END"] = "END";
3455
- StylesPosition2["TOP"] = "TOP";
3456
- StylesPosition2["HIDDEN"] = "HIDDEN";
3457
- return StylesPosition2;
3458
- })(StylesPosition || {});
3459
- var MapType = /* @__PURE__ */ ((MapType2) => {
3460
- MapType2["ROADMAP"] = "ROADMAP";
3461
- MapType2["SATELITE"] = "SATELITE";
3462
- MapType2["HYBRID"] = "HYBRID";
3463
- MapType2["TERRAIN"] = "TERRAIN";
3464
- return MapType2;
3465
- })(MapType || {});
3466
- var ViewRole = /* @__PURE__ */ ((ViewRole2) => {
3467
- ViewRole2["CREATOR"] = "CREATOR";
3468
- ViewRole2["VOTERS"] = "VOTERS";
3469
- ViewRole2["EVERYONE"] = "EVERYONE";
3470
- return ViewRole2;
3471
- })(ViewRole || {});
3472
- var VoteRole = /* @__PURE__ */ ((VoteRole2) => {
3473
- VoteRole2["SITE_MEMBERS"] = "SITE_MEMBERS";
3474
- VoteRole2["ALL"] = "ALL";
3475
- return VoteRole2;
3476
- })(VoteRole || {});
3477
- var PollLayoutType = /* @__PURE__ */ ((PollLayoutType2) => {
3478
- PollLayoutType2["LIST"] = "LIST";
3479
- PollLayoutType2["GRID"] = "GRID";
3480
- return PollLayoutType2;
3481
- })(PollLayoutType || {});
3482
- var PollLayoutDirection = /* @__PURE__ */ ((PollLayoutDirection2) => {
3483
- PollLayoutDirection2["LTR"] = "LTR";
3484
- PollLayoutDirection2["RTL"] = "RTL";
3485
- return PollLayoutDirection2;
3486
- })(PollLayoutDirection || {});
3487
- var PollDesignBackgroundType = /* @__PURE__ */ ((PollDesignBackgroundType2) => {
3488
- PollDesignBackgroundType2["COLOR"] = "COLOR";
3489
- PollDesignBackgroundType2["IMAGE"] = "IMAGE";
3490
- PollDesignBackgroundType2["GRADIENT"] = "GRADIENT";
3491
- return PollDesignBackgroundType2;
3492
- })(PollDesignBackgroundType || {});
3493
- var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
3494
- DecorationType2["BOLD"] = "BOLD";
3495
- DecorationType2["ITALIC"] = "ITALIC";
3496
- DecorationType2["UNDERLINE"] = "UNDERLINE";
3497
- DecorationType2["SPOILER"] = "SPOILER";
3498
- DecorationType2["ANCHOR"] = "ANCHOR";
3499
- DecorationType2["MENTION"] = "MENTION";
3500
- DecorationType2["LINK"] = "LINK";
3501
- DecorationType2["COLOR"] = "COLOR";
3502
- DecorationType2["FONT_SIZE"] = "FONT_SIZE";
3503
- DecorationType2["EXTERNAL"] = "EXTERNAL";
3504
- DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
3505
- DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
3506
- DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
3507
- DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
3508
- DecorationType2["SKETCH"] = "SKETCH";
3509
- return DecorationType2;
3510
- })(DecorationType || {});
3511
- var FontType = /* @__PURE__ */ ((FontType2) => {
3512
- FontType2["PX"] = "PX";
3513
- FontType2["EM"] = "EM";
3514
- return FontType2;
3515
- })(FontType || {});
3516
- var Variant = /* @__PURE__ */ ((Variant2) => {
3517
- Variant2["UNDERLINE"] = "UNDERLINE";
3518
- Variant2["BOX"] = "BOX";
3519
- Variant2["CIRCLE"] = "CIRCLE";
3520
- Variant2["HIGHLIGHT"] = "HIGHLIGHT";
3521
- Variant2["STRIKETHROUGH"] = "STRIKETHROUGH";
3522
- Variant2["CROSSED_OFF"] = "CROSSED_OFF";
3523
- return Variant2;
3524
- })(Variant || {});
3525
- var Position = /* @__PURE__ */ ((Position2) => {
3526
- Position2["START"] = "START";
3527
- Position2["END"] = "END";
3528
- Position2["TOP"] = "TOP";
3529
- return Position2;
3530
- })(Position || {});
3531
- var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
3532
- AspectRatio2["SQUARE"] = "SQUARE";
3533
- AspectRatio2["RECTANGLE"] = "RECTANGLE";
3534
- return AspectRatio2;
3535
- })(AspectRatio || {});
3536
- var Resizing = /* @__PURE__ */ ((Resizing2) => {
3537
- Resizing2["FILL"] = "FILL";
3538
- Resizing2["FIT"] = "FIT";
3539
- return Resizing2;
3540
- })(Resizing || {});
3541
- var Placement = /* @__PURE__ */ ((Placement2) => {
3542
- Placement2["IMAGE"] = "IMAGE";
3543
- Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
3544
- return Placement2;
3545
- })(Placement || {});
3546
- var CardStylesType = /* @__PURE__ */ ((CardStylesType2) => {
3547
- CardStylesType2["CONTAINED"] = "CONTAINED";
3548
- CardStylesType2["FRAMELESS"] = "FRAMELESS";
3549
- return CardStylesType2;
3550
- })(CardStylesType || {});
3551
- var Alignment = /* @__PURE__ */ ((Alignment2) => {
3552
- Alignment2["START"] = "START";
3553
- Alignment2["CENTER"] = "CENTER";
3554
- Alignment2["END"] = "END";
3555
- return Alignment2;
3556
- })(Alignment || {});
3557
- var Layout = /* @__PURE__ */ ((Layout2) => {
3558
- Layout2["STACKED"] = "STACKED";
3559
- Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
3560
- return Layout2;
3561
- })(Layout || {});
3562
- var AppType = /* @__PURE__ */ ((AppType2) => {
3563
- AppType2["PRODUCT"] = "PRODUCT";
3564
- AppType2["EVENT"] = "EVENT";
3565
- AppType2["BOOKING"] = "BOOKING";
3566
- return AppType2;
3567
- })(AppType || {});
3568
- var InitialExpandedItems = /* @__PURE__ */ ((InitialExpandedItems2) => {
3569
- InitialExpandedItems2["FIRST"] = "FIRST";
3570
- InitialExpandedItems2["ALL"] = "ALL";
3571
- InitialExpandedItems2["NONE"] = "NONE";
3572
- return InitialExpandedItems2;
3573
- })(InitialExpandedItems || {});
3574
- var Direction = /* @__PURE__ */ ((Direction2) => {
3575
- Direction2["LTR"] = "LTR";
3576
- Direction2["RTL"] = "RTL";
3577
- return Direction2;
3578
- })(Direction || {});
3579
- var VerticalAlignment = /* @__PURE__ */ ((VerticalAlignment2) => {
3580
- VerticalAlignment2["TOP"] = "TOP";
3581
- VerticalAlignment2["MIDDLE"] = "MIDDLE";
3582
- VerticalAlignment2["BOTTOM"] = "BOTTOM";
3583
- return VerticalAlignment2;
3584
- })(VerticalAlignment || {});
3585
- var NullValue = /* @__PURE__ */ ((NullValue2) => {
3586
- NullValue2["NULL_VALUE"] = "NULL_VALUE";
3587
- return NullValue2;
3588
- })(NullValue || {});
3589
- var ImageScalingScaling = /* @__PURE__ */ ((ImageScalingScaling2) => {
3590
- ImageScalingScaling2["AUTO"] = "AUTO";
3591
- ImageScalingScaling2["CONTAIN"] = "CONTAIN";
3592
- ImageScalingScaling2["COVER"] = "COVER";
3593
- return ImageScalingScaling2;
3594
- })(ImageScalingScaling || {});
3595
- var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
3596
- ImagePosition2["CENTER"] = "CENTER";
3597
- ImagePosition2["CENTER_LEFT"] = "CENTER_LEFT";
3598
- ImagePosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
3599
- ImagePosition2["TOP"] = "TOP";
3600
- ImagePosition2["TOP_LEFT"] = "TOP_LEFT";
3601
- ImagePosition2["TOP_RIGHT"] = "TOP_RIGHT";
3602
- ImagePosition2["BOTTOM"] = "BOTTOM";
3603
- ImagePosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
3604
- ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
3605
- return ImagePosition2;
3606
- })(ImagePosition || {});
3607
- var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
3608
- LayoutDataBackgroundType2["COLOR"] = "COLOR";
3609
- LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
3610
- return LayoutDataBackgroundType2;
3611
- })(LayoutDataBackgroundType || {});
3612
- var BannerOrigin = /* @__PURE__ */ ((BannerOrigin2) => {
3613
- BannerOrigin2["IMAGE"] = "IMAGE";
3614
- BannerOrigin2["LAYOUT"] = "LAYOUT";
3615
- return BannerOrigin2;
3616
- })(BannerOrigin || {});
3617
- var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
3618
- BannerPosition2["TOP"] = "TOP";
3619
- BannerPosition2["BOTTOM"] = "BOTTOM";
3620
- return BannerPosition2;
3621
- })(BannerPosition || {});
3622
- var LayerEffect = /* @__PURE__ */ ((LayerEffect2) => {
3623
- LayerEffect2["CENTER"] = "CENTER";
3624
- LayerEffect2["FADE_TO_TOP"] = "FADE_TO_TOP";
3625
- LayerEffect2["FADE_TO_BOTTOM"] = "FADE_TO_BOTTOM";
3626
- return LayerEffect2;
3627
- })(LayerEffect || {});
3628
- var Shape = /* @__PURE__ */ ((Shape2) => {
3629
- Shape2["ELLIPSE"] = "ELLIPSE";
3630
- Shape2["TILT"] = "TILT";
3631
- Shape2["LIQUID"] = "LIQUID";
3632
- Shape2["LEFT_WAVE"] = "LEFT_WAVE";
3633
- Shape2["PAINT_SCRIBBLE"] = "PAINT_SCRIBBLE";
3634
- Shape2["INVERTED_ELLIPSE"] = "INVERTED_ELLIPSE";
3635
- Shape2["RIGHT_WAVE"] = "RIGHT_WAVE";
3636
- Shape2["DUNES"] = "DUNES";
3637
- Shape2["WAVES"] = "WAVES";
3638
- Shape2["TRIANGLE"] = "TRIANGLE";
3639
- Shape2["SEMI_ELLIPSE"] = "SEMI_ELLIPSE";
3640
- Shape2["PLANTS"] = "PLANTS";
3641
- Shape2["LAYERED_ELLIPSE"] = "LAYERED_ELLIPSE";
3642
- Shape2["PIXELS"] = "PIXELS";
3643
- Shape2["PAINT"] = "PAINT";
3644
- Shape2["CLOUDS"] = "CLOUDS";
3645
- Shape2["OPTICAL_ILLUSION"] = "OPTICAL_ILLUSION";
3646
- Shape2["STRIPES"] = "STRIPES";
3647
- Shape2["BLOBS"] = "BLOBS";
3648
- Shape2["SEMI_CIRCLES"] = "SEMI_CIRCLES";
3649
- Shape2["HILL"] = "HILL";
3650
- Shape2["BRUSH"] = "BRUSH";
3651
- Shape2["PEAKS"] = "PEAKS";
3652
- Shape2["ANGLED_TRIANGLE"] = "ANGLED_TRIANGLE";
3653
- return Shape2;
3654
- })(Shape || {});
3655
- var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
3656
- BackdropType2["COLOR"] = "COLOR";
3657
- BackdropType2["GRADIENT"] = "GRADIENT";
3658
- return BackdropType2;
3659
- })(BackdropType || {});
3660
- var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
3661
- VerticalAlignmentAlignment2["TOP"] = "TOP";
3662
- VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
3663
- VerticalAlignmentAlignment2["BOTTOM"] = "BOTTOM";
3664
- return VerticalAlignmentAlignment2;
3665
- })(VerticalAlignmentAlignment || {});
3666
- var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
3667
- ResponsivenessBehaviour2["STACK"] = "STACK";
3668
- ResponsivenessBehaviour2["WRAP"] = "WRAP";
3669
- return ResponsivenessBehaviour2;
3670
- })(ResponsivenessBehaviour || {});
3671
- var DesignTarget = /* @__PURE__ */ ((DesignTarget2) => {
3672
- DesignTarget2["LAYOUT"] = "LAYOUT";
3673
- DesignTarget2["CELL"] = "CELL";
3674
- return DesignTarget2;
3675
- })(DesignTarget || {});
3676
- var Scaling = /* @__PURE__ */ ((Scaling2) => {
3677
- Scaling2["AUTO"] = "AUTO";
3678
- Scaling2["CONTAIN"] = "CONTAIN";
3679
- Scaling2["COVER"] = "COVER";
3680
- return Scaling2;
3681
- })(Scaling || {});
3682
- var ImagePositionPosition = /* @__PURE__ */ ((ImagePositionPosition2) => {
3683
- ImagePositionPosition2["CENTER"] = "CENTER";
3684
- ImagePositionPosition2["CENTER_LEFT"] = "CENTER_LEFT";
3685
- ImagePositionPosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
3686
- ImagePositionPosition2["TOP"] = "TOP";
3687
- ImagePositionPosition2["TOP_LEFT"] = "TOP_LEFT";
3688
- ImagePositionPosition2["TOP_RIGHT"] = "TOP_RIGHT";
3689
- ImagePositionPosition2["BOTTOM"] = "BOTTOM";
3690
- ImagePositionPosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
3691
- ImagePositionPosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
3692
- return ImagePositionPosition2;
3693
- })(ImagePositionPosition || {});
3694
- var CardDataBackgroundType = /* @__PURE__ */ ((CardDataBackgroundType2) => {
3695
- CardDataBackgroundType2["COLOR"] = "COLOR";
3696
- CardDataBackgroundType2["GRADIENT"] = "GRADIENT";
3697
- return CardDataBackgroundType2;
3698
- })(CardDataBackgroundType || {});
3699
- var ListStyle = /* @__PURE__ */ ((ListStyle2) => {
3700
- ListStyle2["PLAIN"] = "PLAIN";
3701
- ListStyle2["NUMBERED"] = "NUMBERED";
3702
- ListStyle2["LETTERS"] = "LETTERS";
3703
- ListStyle2["ROMAN"] = "ROMAN";
3704
- ListStyle2["BULLETED"] = "BULLETED";
3705
- ListStyle2["ALPHABETICAL_INDEX"] = "ALPHABETICAL_INDEX";
3706
- ListStyle2["ALPHABETICAL_INDEX_COMPACT"] = "ALPHABETICAL_INDEX_COMPACT";
3707
- return ListStyle2;
3708
- })(ListStyle || {});
3709
- var Indentation = /* @__PURE__ */ ((Indentation2) => {
3710
- Indentation2["NESTED"] = "NESTED";
3711
- Indentation2["FLAT"] = "FLAT";
3712
- return Indentation2;
3713
- })(Indentation || {});
3714
- var SmartBlockDataType = /* @__PURE__ */ ((SmartBlockDataType2) => {
3715
- SmartBlockDataType2["SOLID_BOXES"] = "SOLID_BOXES";
3716
- SmartBlockDataType2["NUMBERED_BOXES"] = "NUMBERED_BOXES";
3717
- SmartBlockDataType2["STATS"] = "STATS";
3718
- SmartBlockDataType2["CIRCLE_STATS"] = "CIRCLE_STATS";
3719
- SmartBlockDataType2["SOLID_BOXES_ALTERNATING"] = "SOLID_BOXES_ALTERNATING";
3720
- SmartBlockDataType2["SOLID_JOINED_BOXES"] = "SOLID_JOINED_BOXES";
3721
- SmartBlockDataType2["SIDE_LINE_TEXT"] = "SIDE_LINE_TEXT";
3722
- SmartBlockDataType2["TOP_LINE_TEXT"] = "TOP_LINE_TEXT";
3723
- SmartBlockDataType2["OUTLINE_BOXES_WITH_TOP_CIRCLE"] = "OUTLINE_BOXES_WITH_TOP_CIRCLE";
3724
- SmartBlockDataType2["BIG_BULLETS"] = "BIG_BULLETS";
3725
- SmartBlockDataType2["SMALL_BULLETS"] = "SMALL_BULLETS";
3726
- SmartBlockDataType2["ARROW_BULLETS"] = "ARROW_BULLETS";
3727
- SmartBlockDataType2["PROCESS_STEPS"] = "PROCESS_STEPS";
3728
- SmartBlockDataType2["BAR_STATS"] = "BAR_STATS";
3729
- SmartBlockDataType2["TIMELINE"] = "TIMELINE";
3730
- SmartBlockDataType2["MINIMAL_TIMELINE"] = "MINIMAL_TIMELINE";
3731
- SmartBlockDataType2["PILLS"] = "PILLS";
3732
- SmartBlockDataType2["STAR_RATING"] = "STAR_RATING";
3733
- SmartBlockDataType2["QUOTE_BOXES"] = "QUOTE_BOXES";
3734
- SmartBlockDataType2["CIRCLE"] = "CIRCLE";
3735
- SmartBlockDataType2["PYRAMID"] = "PYRAMID";
3736
- SmartBlockDataType2["STAIRCASE"] = "STAIRCASE";
3737
- SmartBlockDataType2["VERTICAL_FUNNEL"] = "VERTICAL_FUNNEL";
3738
- return SmartBlockDataType2;
3739
- })(SmartBlockDataType || {});
3740
- var ColumnSize = /* @__PURE__ */ ((ColumnSize2) => {
3741
- ColumnSize2["SMALL"] = "SMALL";
3742
- ColumnSize2["MEDIUM"] = "MEDIUM";
3743
- ColumnSize2["LARGE"] = "LARGE";
3744
- ColumnSize2["EXTRA_LARGE"] = "EXTRA_LARGE";
3745
- return ColumnSize2;
3746
- })(ColumnSize || {});
3747
- var Status = /* @__PURE__ */ ((Status2) => {
3748
- Status2["UNKNOWN"] = "UNKNOWN";
3749
- Status2["PUBLISHED"] = "PUBLISHED";
3750
- Status2["UNPUBLISHED"] = "UNPUBLISHED";
3751
- Status2["SCHEDULED"] = "SCHEDULED";
3752
- Status2["DELETED"] = "DELETED";
3753
- Status2["IN_MODERATION"] = "IN_MODERATION";
3754
- Status2["IN_REVIEW"] = "IN_REVIEW";
3755
- return Status2;
3756
- })(Status || {});
3757
- var ModerationStatusStatus = /* @__PURE__ */ ((ModerationStatusStatus2) => {
3758
- ModerationStatusStatus2["UNKNOWN"] = "UNKNOWN";
3759
- ModerationStatusStatus2["APPROVED"] = "APPROVED";
3760
- ModerationStatusStatus2["REJECTED"] = "REJECTED";
3761
- return ModerationStatusStatus2;
3762
- })(ModerationStatusStatus || {});
3763
- var TotalDraftPostsGroupingField = /* @__PURE__ */ ((TotalDraftPostsGroupingField2) => {
3764
- TotalDraftPostsGroupingField2["STATUS"] = "STATUS";
3765
- TotalDraftPostsGroupingField2["LANGUAGE"] = "LANGUAGE";
3766
- return TotalDraftPostsGroupingField2;
3767
- })(TotalDraftPostsGroupingField || {});
3768
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
3769
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
3770
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
3771
- WebhookIdentityType2["MEMBER"] = "MEMBER";
3772
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
3773
- WebhookIdentityType2["APP"] = "APP";
3774
- return WebhookIdentityType2;
3775
- })(WebhookIdentityType || {});
3776
- var Type = /* @__PURE__ */ ((Type2) => {
3777
- Type2["UNKNOWN"] = "UNKNOWN";
3778
- Type2["MANUAL"] = "MANUAL";
3779
- Type2["AUTO_SAVE"] = "AUTO_SAVE";
3780
- Type2["PROVISIONING"] = "PROVISIONING";
3781
- Type2["IMPORT"] = "IMPORT";
3782
- Type2["AI_AUTO_SAVE"] = "AI_AUTO_SAVE";
3783
- return Type2;
3784
- })(Type || {});
3785
- var Field = /* @__PURE__ */ ((Field2) => {
3786
- Field2["UNKNOWN"] = "UNKNOWN";
3787
- Field2["URL"] = "URL";
3788
- Field2["INTERNAL_ID"] = "INTERNAL_ID";
3789
- Field2["CONTENT"] = "CONTENT";
3790
- Field2["RICH_CONTENT"] = "RICH_CONTENT";
3791
- Field2["TRANSLATIONS"] = "TRANSLATIONS";
3792
- Field2["GENERATED_EXCERPT"] = "GENERATED_EXCERPT";
3793
- return Field2;
3794
- })(Field || {});
3795
- var Action = /* @__PURE__ */ ((Action2) => {
3796
- Action2["UPDATE"] = "UPDATE";
3797
- Action2["UPDATE_PUBLISH"] = "UPDATE_PUBLISH";
3798
- Action2["UPDATE_SCHEDULE"] = "UPDATE_SCHEDULE";
3799
- Action2["UPDATE_REVERT_TO_DRAFT"] = "UPDATE_REVERT_TO_DRAFT";
3800
- Action2["UPDATE_CANCEL_SCHEDULE"] = "UPDATE_CANCEL_SCHEDULE";
3801
- Action2["UPDATE_REJECT"] = "UPDATE_REJECT";
3802
- Action2["UPDATE_PUBLICATION"] = "UPDATE_PUBLICATION";
3803
- return Action2;
3804
- })(Action || {});
3805
- var GetDraftPostsSort = /* @__PURE__ */ ((GetDraftPostsSort2) => {
3806
- GetDraftPostsSort2["EDITING_DATE_DESC"] = "EDITING_DATE_DESC";
3807
- GetDraftPostsSort2["EDITING_DATE_ASC"] = "EDITING_DATE_ASC";
3808
- return GetDraftPostsSort2;
3809
- })(GetDraftPostsSort || {});
3810
- var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
3811
- SortOrder2["ASC"] = "ASC";
3812
- SortOrder2["DESC"] = "DESC";
3813
- return SortOrder2;
3814
- })(SortOrder || {});
3815
-
3816
- // src/blog-v3-draft-draft-posts.meta.ts
3817
- function createDraftPost2() {
3818
- const payload = {};
3819
- const getRequestOptions = createDraftPost(payload);
3820
- const getUrl = (context) => {
3821
- const { url } = getRequestOptions(context);
3822
- return url;
3823
- };
3824
- return {
3825
- getUrl,
3826
- httpMethod: "POST",
3827
- path: "/v3/draft-posts",
3828
- pathParams: {},
3829
- __requestType: null,
3830
- __originalRequestType: null,
3831
- __responseType: null,
3832
- __originalResponseType: null
3833
- };
3834
- }
3835
- function bulkCreateDraftPosts2() {
3836
- const payload = {};
3837
- const getRequestOptions = bulkCreateDraftPosts(payload);
3838
- const getUrl = (context) => {
3839
- const { url } = getRequestOptions(context);
3840
- return url;
3841
- };
3842
- return {
3843
- getUrl,
3844
- httpMethod: "POST",
3845
- path: "/v3/bulk/draft-posts/create",
3846
- pathParams: {},
3847
- __requestType: null,
3848
- __originalRequestType: null,
3849
- __responseType: null,
3850
- __originalResponseType: null
3851
- };
3852
- }
3853
- function bulkUpdateDraftPosts2() {
3854
- const payload = {};
3855
- const getRequestOptions = bulkUpdateDraftPosts(payload);
3856
- const getUrl = (context) => {
3857
- const { url } = getRequestOptions(context);
3858
- return url;
3859
- };
3860
- return {
3861
- getUrl,
3862
- httpMethod: "PATCH",
3863
- path: "/v3/draft-posts/update",
3864
- pathParams: {},
3865
- __requestType: null,
3866
- __originalRequestType: null,
3867
- __responseType: null,
3868
- __originalResponseType: null
3869
- };
3870
- }
3871
- function listDeletedDraftPosts2() {
3872
- const payload = {};
3873
- const getRequestOptions = listDeletedDraftPosts(payload);
3874
- const getUrl = (context) => {
3875
- const { url } = getRequestOptions(context);
3876
- return url;
3877
- };
3878
- return {
3879
- getUrl,
3880
- httpMethod: "GET",
3881
- path: "/v3/draft-posts/trash-bin",
3882
- pathParams: {},
3883
- __requestType: null,
3884
- __originalRequestType: null,
3885
- __responseType: null,
3886
- __originalResponseType: null
3887
- };
3888
- }
3889
- function getDraftPost2() {
3890
- const payload = { draftPostId: ":draftPostId" };
3891
- const getRequestOptions = getDraftPost(payload);
3892
- const getUrl = (context) => {
3893
- const { url } = getRequestOptions(context);
3894
- return url;
3895
- };
3896
- return {
3897
- getUrl,
3898
- httpMethod: "GET",
3899
- path: "/v3/draft-posts/{draftPostId}",
3900
- pathParams: { draftPostId: "draftPostId" },
3901
- __requestType: null,
3902
- __originalRequestType: null,
3903
- __responseType: null,
3904
- __originalResponseType: null
3905
- };
3906
- }
3907
- function updateDraftPost2() {
3908
- const payload = { draftPost: { id: ":draftPostId" } };
3909
- const getRequestOptions = updateDraftPost(payload);
3910
- const getUrl = (context) => {
3911
- const { url } = getRequestOptions(context);
3912
- return url;
3913
- };
3914
- return {
3915
- getUrl,
3916
- httpMethod: "PATCH",
3917
- path: "/v3/draft-posts/{draftPost.id}",
3918
- pathParams: { draftPostId: "draftPostId" },
3919
- __requestType: null,
3920
- __originalRequestType: null,
3921
- __responseType: null,
3922
- __originalResponseType: null
3923
- };
3924
- }
3925
- function deleteDraftPost2() {
3926
- const payload = { draftPostId: ":draftPostId" };
3927
- const getRequestOptions = deleteDraftPost(payload);
3928
- const getUrl = (context) => {
3929
- const { url } = getRequestOptions(context);
3930
- return url;
3931
- };
3932
- return {
3933
- getUrl,
3934
- httpMethod: "DELETE",
3935
- path: "/v3/draft-posts/{draftPostId}",
3936
- pathParams: { draftPostId: "draftPostId" },
3937
- __requestType: null,
3938
- __originalRequestType: null,
3939
- __responseType: null,
3940
- __originalResponseType: null
3941
- };
3942
- }
3943
- function removeFromTrashBin2() {
3944
- const payload = { draftPostId: ":draftPostId" };
3945
- const getRequestOptions = removeFromTrashBin(payload);
3946
- const getUrl = (context) => {
3947
- const { url } = getRequestOptions(context);
3948
- return url;
3949
- };
3950
- return {
3951
- getUrl,
3952
- httpMethod: "DELETE",
3953
- path: "/v3/draft-posts/trash-bin/{draftPostId}",
3954
- pathParams: { draftPostId: "draftPostId" },
3955
- __requestType: null,
3956
- __originalRequestType: null,
3957
- __responseType: null,
3958
- __originalResponseType: null
3959
- };
3960
- }
3961
- function bulkDeleteDraftPosts2() {
3962
- const payload = {};
3963
- const getRequestOptions = bulkDeleteDraftPosts(payload);
3964
- const getUrl = (context) => {
3965
- const { url } = getRequestOptions(context);
3966
- return url;
3967
- };
3968
- return {
3969
- getUrl,
3970
- httpMethod: "DELETE",
3971
- path: "/v3/bulk/draft-posts",
3972
- pathParams: {},
3973
- __requestType: null,
3974
- __originalRequestType: null,
3975
- __responseType: null,
3976
- __originalResponseType: null
3977
- };
3978
- }
3979
- function listDraftPosts2() {
3980
- const payload = {};
3981
- const getRequestOptions = listDraftPosts(payload);
3982
- const getUrl = (context) => {
3983
- const { url } = getRequestOptions(context);
3984
- return url;
3985
- };
3986
- return {
3987
- getUrl,
3988
- httpMethod: "GET",
3989
- path: "/v3/draft-posts",
3990
- pathParams: {},
3991
- __requestType: null,
3992
- __originalRequestType: null,
3993
- __responseType: null,
3994
- __originalResponseType: null
3995
- };
3996
- }
3997
- function getDeletedDraftPost2() {
3998
- const payload = { draftPostId: ":draftPostId" };
3999
- const getRequestOptions = getDeletedDraftPost(payload);
4000
- const getUrl = (context) => {
4001
- const { url } = getRequestOptions(context);
4002
- return url;
4003
- };
4004
- return {
4005
- getUrl,
4006
- httpMethod: "GET",
4007
- path: "/v3/draft-posts/trash-bin/{draftPostId}",
4008
- pathParams: { draftPostId: "draftPostId" },
4009
- __requestType: null,
4010
- __originalRequestType: null,
4011
- __responseType: null,
4012
- __originalResponseType: null
4013
- };
4014
- }
4015
- function restoreFromTrashBin2() {
4016
- const payload = { draftPostId: ":draftPostId" };
4017
- const getRequestOptions = restoreFromTrashBin(payload);
4018
- const getUrl = (context) => {
4019
- const { url } = getRequestOptions(context);
4020
- return url;
4021
- };
4022
- return {
4023
- getUrl,
4024
- httpMethod: "POST",
4025
- path: "/v3/draft-posts/trash-bin/{draftPostId}/restore",
4026
- pathParams: { draftPostId: "draftPostId" },
4027
- __requestType: null,
4028
- __originalRequestType: null,
4029
- __responseType: null,
4030
- __originalResponseType: null
4031
- };
4032
- }
4033
- function queryDraftPosts2() {
4034
- const payload = {};
4035
- const getRequestOptions = queryDraftPosts(payload);
4036
- const getUrl = (context) => {
4037
- const { url } = getRequestOptions(context);
4038
- return url;
4039
- };
4040
- return {
4041
- getUrl,
4042
- httpMethod: "POST",
4043
- path: "/v3/draft-posts/query",
4044
- pathParams: {},
4045
- __requestType: null,
4046
- __originalRequestType: null,
4047
- __responseType: null,
4048
- __originalResponseType: null
4049
- };
4050
- }
4051
- function publishDraftPost2() {
4052
- const payload = { draftPostId: ":draftPostId" };
4053
- const getRequestOptions = publishDraftPost(payload);
4054
- const getUrl = (context) => {
4055
- const { url } = getRequestOptions(context);
4056
- return url;
4057
- };
4058
- return {
4059
- getUrl,
4060
- httpMethod: "POST",
4061
- path: "/v3/draft-posts/{draftPostId}/publish",
4062
- pathParams: { draftPostId: "draftPostId" },
4063
- __requestType: null,
4064
- __originalRequestType: null,
4065
- __responseType: null,
4066
- __originalResponseType: null
4067
- };
4068
- }
4069
- // Annotate the CommonJS export names for ESM import in node:
4070
- 0 && (module.exports = {
4071
- ActionOriginal,
4072
- AlignmentOriginal,
4073
- AnimationTypeOriginal,
4074
- AppTypeOriginal,
4075
- AspectRatioOriginal,
4076
- BackdropTypeOriginal,
4077
- BackgroundTypeOriginal,
4078
- BannerOriginOriginal,
4079
- BannerPositionOriginal,
4080
- ButtonDataTypeOriginal,
4081
- CardDataBackgroundTypeOriginal,
4082
- CardStylesTypeOriginal,
4083
- ColumnSizeOriginal,
4084
- CropOriginal,
4085
- DecorationTypeOriginal,
4086
- DesignTargetOriginal,
4087
- DirectionOriginal,
4088
- DividerDataAlignmentOriginal,
4089
- EntranceEffectTypeOriginal,
4090
- FieldOriginal,
4091
- FontTypeOriginal,
4092
- GIFTypeOriginal,
4093
- GetDraftPostsSortOriginal,
4094
- GradientTypeOriginal,
4095
- ImagePositionOriginal,
4096
- ImagePositionPositionOriginal,
4097
- ImageScalingScalingOriginal,
4098
- IndentationOriginal,
4099
- InitialExpandedItemsOriginal,
4100
- LayerEffectOriginal,
4101
- LayoutDataBackgroundTypeOriginal,
4102
- LayoutOriginal,
4103
- LayoutTypeOriginal,
4104
- LineCapOriginal,
4105
- LineStyleOriginal,
4106
- ListStyleOriginal,
4107
- LoopEffectTypeOriginal,
4108
- MapTypeOriginal,
4109
- ModerationStatusStatusOriginal,
4110
- NodeTypeOriginal,
4111
- NullValueOriginal,
4112
- OrientationOriginal,
4113
- OriginOriginal,
4114
- PlacementOriginal,
4115
- PluginContainerDataAlignmentOriginal,
4116
- PointerEffectTypeOriginal,
4117
- PollDesignBackgroundTypeOriginal,
4118
- PollLayoutDirectionOriginal,
4119
- PollLayoutTypeOriginal,
4120
- PositionOriginal,
4121
- ResizingOriginal,
4122
- ResponsivenessBehaviourOriginal,
4123
- ScalingOriginal,
4124
- ShapeOriginal,
4125
- SmartBlockDataTypeOriginal,
4126
- SortOrderOriginal,
4127
- SourceOriginal,
4128
- StatusOriginal,
4129
- StylesPositionOriginal,
4130
- TargetOriginal,
4131
- TextAlignmentOriginal,
4132
- ThumbnailsAlignmentOriginal,
4133
- TotalDraftPostsGroupingFieldOriginal,
4134
- TypeOriginal,
4135
- VariantOriginal,
4136
- VerticalAlignmentAlignmentOriginal,
4137
- VerticalAlignmentOriginal,
4138
- ViewModeOriginal,
4139
- ViewRoleOriginal,
4140
- VoteRoleOriginal,
4141
- WebhookIdentityTypeOriginal,
4142
- WidthOriginal,
4143
- WidthTypeOriginal,
4144
- bulkCreateDraftPosts,
4145
- bulkDeleteDraftPosts,
4146
- bulkUpdateDraftPosts,
4147
- createDraftPost,
4148
- deleteDraftPost,
4149
- getDeletedDraftPost,
4150
- getDraftPost,
4151
- listDeletedDraftPosts,
4152
- listDraftPosts,
4153
- publishDraftPost,
4154
- queryDraftPosts,
4155
- removeFromTrashBin,
4156
- restoreFromTrashBin,
4157
- updateDraftPost
4158
- });
4159
- //# sourceMappingURL=meta.js.map