@wix/blog 1.0.191 → 1.0.192

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/build/cjs/index.d.ts +1 -0
  2. package/build/cjs/index.js +2 -1
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +1 -0
  5. package/build/cjs/index.typings.js +2 -1
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +1 -0
  8. package/build/cjs/meta.js +2 -1
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/src/blog-v3-draft.http.d.ts +68 -0
  11. package/build/cjs/src/blog-v3-draft.http.js +905 -0
  12. package/build/cjs/src/blog-v3-draft.http.js.map +1 -0
  13. package/build/cjs/src/blog-v3-draft.meta.d.ts +38 -0
  14. package/build/cjs/src/blog-v3-draft.meta.js +252 -0
  15. package/build/cjs/src/blog-v3-draft.meta.js.map +1 -0
  16. package/build/cjs/src/blog-v3-draft.public.d.ts +1579 -0
  17. package/build/cjs/src/blog-v3-draft.public.js +116 -0
  18. package/build/cjs/src/blog-v3-draft.public.js.map +1 -0
  19. package/build/cjs/src/blog-v3-draft.types.d.ts +7869 -0
  20. package/build/cjs/src/blog-v3-draft.types.js +456 -0
  21. package/build/cjs/src/blog-v3-draft.types.js.map +1 -0
  22. package/build/cjs/src/blog-v3-draft.universal.d.ts +7608 -0
  23. package/build/cjs/src/blog-v3-draft.universal.js +1358 -0
  24. package/build/cjs/src/blog-v3-draft.universal.js.map +1 -0
  25. package/build/cjs/src/blog-v3-post.types.d.ts +4 -0
  26. package/build/es/index.d.ts +1 -0
  27. package/build/es/index.js +1 -0
  28. package/build/es/index.js.map +1 -1
  29. package/build/es/index.typings.d.ts +1 -0
  30. package/build/es/index.typings.js +1 -0
  31. package/build/es/index.typings.js.map +1 -1
  32. package/build/es/meta.d.ts +1 -0
  33. package/build/es/meta.js +1 -0
  34. package/build/es/meta.js.map +1 -1
  35. package/build/es/src/blog-v3-draft.http.d.ts +68 -0
  36. package/build/es/src/blog-v3-draft.http.js +890 -0
  37. package/build/es/src/blog-v3-draft.http.js.map +1 -0
  38. package/build/es/src/blog-v3-draft.meta.d.ts +38 -0
  39. package/build/es/src/blog-v3-draft.meta.js +218 -0
  40. package/build/es/src/blog-v3-draft.meta.js.map +1 -0
  41. package/build/es/src/blog-v3-draft.public.d.ts +1579 -0
  42. package/build/es/src/blog-v3-draft.public.js +64 -0
  43. package/build/es/src/blog-v3-draft.public.js.map +1 -0
  44. package/build/es/src/blog-v3-draft.types.d.ts +7869 -0
  45. package/build/es/src/blog-v3-draft.types.js +453 -0
  46. package/build/es/src/blog-v3-draft.types.js.map +1 -0
  47. package/build/es/src/blog-v3-draft.universal.d.ts +7608 -0
  48. package/build/es/src/blog-v3-draft.universal.js +1324 -0
  49. package/build/es/src/blog-v3-draft.universal.js.map +1 -0
  50. package/build/es/src/blog-v3-post.types.d.ts +4 -0
  51. package/package.json +2 -2
@@ -0,0 +1,1579 @@
1
+ import { HttpClient } from '@wix/sdk-types';
2
+ import { DraftPost, UpdateDraftPost, BulkUpdateDraftPostsOptions, CreateDraftPostOptions, DeleteDraftPostOptions, GetDraftPostOptions, ListDeletedDraftPostsOptions, ListDraftPostsOptions, QueryDraftPostsOptions, UpdateDraftPostOptions } from './blog-v3-draft.universal';
3
+ export declare const __metadata: {
4
+ PACKAGE_NAME: string;
5
+ };
6
+ export declare function createDraftPost(httpClient: HttpClient): (draftPost: DraftPost, options?: CreateDraftPostOptions | undefined) => Promise<DraftPost & {
7
+ _id: string;
8
+ title: string;
9
+ categoryIds: string[];
10
+ hashtags: string[];
11
+ minutesToRead: number;
12
+ heroImage: string;
13
+ tagIds: string[];
14
+ relatedPostIds: string[];
15
+ pricingPlanIds: string[];
16
+ changeOrigin: import("./blog-v3-draft.universal").Origin;
17
+ richContent?: {
18
+ nodes: {
19
+ buttonData?: {
20
+ containerData?: {
21
+ width?: {
22
+ size: import("./blog-v3-draft.universal").WidthType;
23
+ } | undefined;
24
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
25
+ } | undefined;
26
+ type: import("./blog-v3-draft.universal").ButtonDataType;
27
+ link?: {
28
+ url: string;
29
+ anchor: string;
30
+ target: import("./blog-v3-draft.universal").Target;
31
+ } | undefined;
32
+ } | undefined;
33
+ codeBlockData?: {
34
+ textStyle?: {
35
+ textAlignment: import("./blog-v3-draft.universal").TextAlignment;
36
+ } | undefined;
37
+ } | undefined;
38
+ dividerData?: {
39
+ containerData?: {
40
+ width?: {
41
+ size: import("./blog-v3-draft.universal").WidthType;
42
+ } | undefined;
43
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
44
+ } | undefined;
45
+ lineStyle: import("./blog-v3-draft.universal").LineStyle;
46
+ width: import("./blog-v3-draft.universal").Width;
47
+ alignment: import("./blog-v3-draft.universal").Alignment;
48
+ } | undefined;
49
+ fileData?: {
50
+ containerData?: {
51
+ width?: {
52
+ size: import("./blog-v3-draft.universal").WidthType;
53
+ } | undefined;
54
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
55
+ } | undefined;
56
+ pdfSettings?: {
57
+ viewMode: import("./blog-v3-draft.universal").ViewMode;
58
+ } | undefined;
59
+ } | undefined;
60
+ galleryData?: {
61
+ containerData?: {
62
+ width?: {
63
+ size: import("./blog-v3-draft.universal").WidthType;
64
+ } | undefined;
65
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
66
+ } | undefined;
67
+ items: {
68
+ image?: {
69
+ link?: {
70
+ url: string;
71
+ anchor: string;
72
+ target: import("./blog-v3-draft.universal").Target;
73
+ } | undefined;
74
+ } | undefined;
75
+ }[];
76
+ options?: {
77
+ layout?: {
78
+ type: import("./blog-v3-draft.universal").LayoutType;
79
+ orientation: import("./blog-v3-draft.universal").Orientation;
80
+ } | undefined;
81
+ item?: {
82
+ crop: import("./blog-v3-draft.universal").Crop;
83
+ } | undefined;
84
+ thumbnails?: {
85
+ placement: import("./blog-v3-draft.universal").ThumbnailsAlignment;
86
+ } | undefined;
87
+ } | undefined;
88
+ } | undefined;
89
+ gifData?: {
90
+ containerData?: {
91
+ width?: {
92
+ size: import("./blog-v3-draft.universal").WidthType;
93
+ } | undefined;
94
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
95
+ } | undefined;
96
+ height: number;
97
+ width: number;
98
+ } | undefined;
99
+ headingData?: {
100
+ level: number;
101
+ textStyle?: {
102
+ textAlignment: import("./blog-v3-draft.universal").TextAlignment;
103
+ } | undefined;
104
+ } | undefined;
105
+ htmlData?: {
106
+ url: string;
107
+ html: string;
108
+ containerData?: {
109
+ width?: {
110
+ size: import("./blog-v3-draft.universal").WidthType;
111
+ } | undefined;
112
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
113
+ } | undefined;
114
+ source: import("./blog-v3-draft.universal").Source;
115
+ } | undefined;
116
+ imageData?: {
117
+ containerData?: {
118
+ width?: {
119
+ size: import("./blog-v3-draft.universal").WidthType;
120
+ } | undefined;
121
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
122
+ } | undefined;
123
+ link?: {
124
+ url: string;
125
+ anchor: string;
126
+ target: import("./blog-v3-draft.universal").Target;
127
+ } | undefined;
128
+ } | undefined;
129
+ linkPreviewData?: {
130
+ containerData?: {
131
+ width?: {
132
+ size: import("./blog-v3-draft.universal").WidthType;
133
+ } | undefined;
134
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
135
+ } | undefined;
136
+ link?: {
137
+ url: string;
138
+ anchor: string;
139
+ target: import("./blog-v3-draft.universal").Target;
140
+ } | undefined;
141
+ } | undefined;
142
+ mapData?: {
143
+ containerData?: {
144
+ width?: {
145
+ size: import("./blog-v3-draft.universal").WidthType;
146
+ } | undefined;
147
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
148
+ } | undefined;
149
+ mapSettings?: {
150
+ mapType: import("./blog-v3-draft.universal").MapType;
151
+ } | undefined;
152
+ } | undefined;
153
+ paragraphData?: {
154
+ textStyle?: {
155
+ textAlignment: import("./blog-v3-draft.universal").TextAlignment;
156
+ } | undefined;
157
+ } | undefined;
158
+ pollData?: {
159
+ containerData?: {
160
+ width?: {
161
+ size: import("./blog-v3-draft.universal").WidthType;
162
+ } | undefined;
163
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
164
+ } | undefined;
165
+ poll?: {
166
+ options: import("./blog-v3-draft.universal").Option[];
167
+ settings?: {
168
+ permissions?: {
169
+ view: import("./blog-v3-draft.universal").ViewRole;
170
+ vote: import("./blog-v3-draft.universal").VoteRole;
171
+ } | undefined;
172
+ } | undefined;
173
+ } | undefined;
174
+ layout?: {
175
+ poll?: {
176
+ type: import("./blog-v3-draft.universal").PollLayoutType;
177
+ direction: import("./blog-v3-draft.universal").PollLayoutDirection;
178
+ } | undefined;
179
+ } | undefined;
180
+ design?: {
181
+ poll?: {
182
+ background?: {
183
+ type: import("./blog-v3-draft.universal").BackgroundType;
184
+ } | undefined;
185
+ } | undefined;
186
+ } | undefined;
187
+ } | undefined;
188
+ textData?: {
189
+ text: string;
190
+ decorations: {
191
+ anchorData?: {
192
+ anchor: string;
193
+ } | undefined;
194
+ linkData?: {
195
+ link?: {
196
+ url: string;
197
+ anchor: string;
198
+ target: import("./blog-v3-draft.universal").Target;
199
+ } | undefined;
200
+ } | undefined;
201
+ mentionData?: {
202
+ name: string;
203
+ slug: string;
204
+ } | undefined;
205
+ fontSizeData?: {
206
+ unit: import("./blog-v3-draft.universal").FontType;
207
+ } | undefined;
208
+ type: import("./blog-v3-draft.universal").DecorationType;
209
+ }[];
210
+ } | undefined;
211
+ appEmbedData?: {
212
+ type: import("./blog-v3-draft.universal").AppType;
213
+ } | undefined;
214
+ videoData?: {
215
+ containerData?: {
216
+ width?: {
217
+ size: import("./blog-v3-draft.universal").WidthType;
218
+ } | undefined;
219
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
220
+ } | undefined;
221
+ } | undefined;
222
+ embedData?: {
223
+ containerData?: {
224
+ width?: {
225
+ size: import("./blog-v3-draft.universal").WidthType;
226
+ } | undefined;
227
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
228
+ } | undefined;
229
+ } | undefined;
230
+ collapsibleListData?: {
231
+ containerData?: {
232
+ width?: {
233
+ size: import("./blog-v3-draft.universal").WidthType;
234
+ } | undefined;
235
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
236
+ } | undefined;
237
+ initialExpandedItems: import("./blog-v3-draft.universal").InitialExpandedItems;
238
+ direction: import("./blog-v3-draft.universal").Direction;
239
+ } | undefined;
240
+ tableData?: {
241
+ containerData?: {
242
+ width?: {
243
+ size: import("./blog-v3-draft.universal").WidthType;
244
+ } | undefined;
245
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
246
+ } | undefined;
247
+ dimensions?: {
248
+ colsWidthRatio: number[];
249
+ rowsHeight: number[];
250
+ colsMinWidth: number[];
251
+ } | undefined;
252
+ } | undefined;
253
+ tableCellData?: {
254
+ cellStyle?: {
255
+ verticalAlignment: import("./blog-v3-draft.universal").VerticalAlignment;
256
+ } | undefined;
257
+ } | undefined;
258
+ audioData?: {
259
+ containerData?: {
260
+ width?: {
261
+ size: import("./blog-v3-draft.universal").WidthType;
262
+ } | undefined;
263
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
264
+ } | undefined;
265
+ } | undefined;
266
+ orderedListData?: {
267
+ indentation: number;
268
+ } | undefined;
269
+ bulletedListData?: {
270
+ indentation: number;
271
+ } | undefined;
272
+ blockquoteData?: {
273
+ indentation: number;
274
+ } | undefined;
275
+ type: import("./blog-v3-draft.universal").NodeType;
276
+ _id: string;
277
+ nodes: any[][];
278
+ }[];
279
+ metadata?: {
280
+ version: number;
281
+ } | undefined;
282
+ documentStyle?: {
283
+ headerOne?: {
284
+ decorations: {
285
+ anchorData?: {
286
+ anchor: string;
287
+ } | undefined;
288
+ linkData?: {
289
+ link?: {
290
+ url: string;
291
+ anchor: string;
292
+ target: import("./blog-v3-draft.universal").Target;
293
+ } | undefined;
294
+ } | undefined;
295
+ mentionData?: {
296
+ name: string;
297
+ slug: string;
298
+ } | undefined;
299
+ fontSizeData?: {
300
+ unit: import("./blog-v3-draft.universal").FontType;
301
+ } | undefined;
302
+ type: import("./blog-v3-draft.universal").DecorationType;
303
+ }[];
304
+ } | undefined;
305
+ headerTwo?: {
306
+ decorations: {
307
+ anchorData?: {
308
+ anchor: string;
309
+ } | undefined;
310
+ linkData?: {
311
+ link?: {
312
+ url: string;
313
+ anchor: string;
314
+ target: import("./blog-v3-draft.universal").Target;
315
+ } | undefined;
316
+ } | undefined;
317
+ mentionData?: {
318
+ name: string;
319
+ slug: string;
320
+ } | undefined;
321
+ fontSizeData?: {
322
+ unit: import("./blog-v3-draft.universal").FontType;
323
+ } | undefined;
324
+ type: import("./blog-v3-draft.universal").DecorationType;
325
+ }[];
326
+ } | undefined;
327
+ headerThree?: {
328
+ decorations: {
329
+ anchorData?: {
330
+ anchor: string;
331
+ } | undefined;
332
+ linkData?: {
333
+ link?: {
334
+ url: string;
335
+ anchor: string;
336
+ target: import("./blog-v3-draft.universal").Target;
337
+ } | undefined;
338
+ } | undefined;
339
+ mentionData?: {
340
+ name: string;
341
+ slug: string;
342
+ } | undefined;
343
+ fontSizeData?: {
344
+ unit: import("./blog-v3-draft.universal").FontType;
345
+ } | undefined;
346
+ type: import("./blog-v3-draft.universal").DecorationType;
347
+ }[];
348
+ } | undefined;
349
+ headerFour?: {
350
+ decorations: {
351
+ anchorData?: {
352
+ anchor: string;
353
+ } | undefined;
354
+ linkData?: {
355
+ link?: {
356
+ url: string;
357
+ anchor: string;
358
+ target: import("./blog-v3-draft.universal").Target;
359
+ } | undefined;
360
+ } | undefined;
361
+ mentionData?: {
362
+ name: string;
363
+ slug: string;
364
+ } | undefined;
365
+ fontSizeData?: {
366
+ unit: import("./blog-v3-draft.universal").FontType;
367
+ } | undefined;
368
+ type: import("./blog-v3-draft.universal").DecorationType;
369
+ }[];
370
+ } | undefined;
371
+ headerFive?: {
372
+ decorations: {
373
+ anchorData?: {
374
+ anchor: string;
375
+ } | undefined;
376
+ linkData?: {
377
+ link?: {
378
+ url: string;
379
+ anchor: string;
380
+ target: import("./blog-v3-draft.universal").Target;
381
+ } | undefined;
382
+ } | undefined;
383
+ mentionData?: {
384
+ name: string;
385
+ slug: string;
386
+ } | undefined;
387
+ fontSizeData?: {
388
+ unit: import("./blog-v3-draft.universal").FontType;
389
+ } | undefined;
390
+ type: import("./blog-v3-draft.universal").DecorationType;
391
+ }[];
392
+ } | undefined;
393
+ headerSix?: {
394
+ decorations: {
395
+ anchorData?: {
396
+ anchor: string;
397
+ } | undefined;
398
+ linkData?: {
399
+ link?: {
400
+ url: string;
401
+ anchor: string;
402
+ target: import("./blog-v3-draft.universal").Target;
403
+ } | undefined;
404
+ } | undefined;
405
+ mentionData?: {
406
+ name: string;
407
+ slug: string;
408
+ } | undefined;
409
+ fontSizeData?: {
410
+ unit: import("./blog-v3-draft.universal").FontType;
411
+ } | undefined;
412
+ type: import("./blog-v3-draft.universal").DecorationType;
413
+ }[];
414
+ } | undefined;
415
+ paragraph?: {
416
+ decorations: {
417
+ anchorData?: {
418
+ anchor: string;
419
+ } | undefined;
420
+ linkData?: {
421
+ link?: {
422
+ url: string;
423
+ anchor: string;
424
+ target: import("./blog-v3-draft.universal").Target;
425
+ } | undefined;
426
+ } | undefined;
427
+ mentionData?: {
428
+ name: string;
429
+ slug: string;
430
+ } | undefined;
431
+ fontSizeData?: {
432
+ unit: import("./blog-v3-draft.universal").FontType;
433
+ } | undefined;
434
+ type: import("./blog-v3-draft.universal").DecorationType;
435
+ }[];
436
+ } | undefined;
437
+ blockquote?: {
438
+ decorations: {
439
+ anchorData?: {
440
+ anchor: string;
441
+ } | undefined;
442
+ linkData?: {
443
+ link?: {
444
+ url: string;
445
+ anchor: string;
446
+ target: import("./blog-v3-draft.universal").Target;
447
+ } | undefined;
448
+ } | undefined;
449
+ mentionData?: {
450
+ name: string;
451
+ slug: string;
452
+ } | undefined;
453
+ fontSizeData?: {
454
+ unit: import("./blog-v3-draft.universal").FontType;
455
+ } | undefined;
456
+ type: import("./blog-v3-draft.universal").DecorationType;
457
+ }[];
458
+ } | undefined;
459
+ codeBlock?: {
460
+ decorations: {
461
+ anchorData?: {
462
+ anchor: string;
463
+ } | undefined;
464
+ linkData?: {
465
+ link?: {
466
+ url: string;
467
+ anchor: string;
468
+ target: import("./blog-v3-draft.universal").Target;
469
+ } | undefined;
470
+ } | undefined;
471
+ mentionData?: {
472
+ name: string;
473
+ slug: string;
474
+ } | undefined;
475
+ fontSizeData?: {
476
+ unit: import("./blog-v3-draft.universal").FontType;
477
+ } | undefined;
478
+ type: import("./blog-v3-draft.universal").DecorationType;
479
+ }[];
480
+ } | undefined;
481
+ } | undefined;
482
+ } | undefined;
483
+ status: import("./blog-v3-draft.universal").Status;
484
+ moderationDetails?: {
485
+ submittedBy: string;
486
+ status: import("./blog-v3-draft.universal").ModerationStatusStatus;
487
+ } | undefined;
488
+ hasUnpublishedChanges: boolean;
489
+ seoData?: {
490
+ tags: {
491
+ type: string;
492
+ children: string;
493
+ custom: boolean;
494
+ disabled: boolean;
495
+ }[];
496
+ settings?: {
497
+ preventAutoRedirect: boolean;
498
+ keywords: {
499
+ term: string;
500
+ isMain: boolean;
501
+ }[];
502
+ } | undefined;
503
+ } | undefined;
504
+ slugs: string[];
505
+ url: string;
506
+ media?: {
507
+ wixMedia?: {
508
+ image: string;
509
+ videoV2: string;
510
+ } | undefined;
511
+ embedMedia?: {
512
+ thumbnail?: {
513
+ url: string;
514
+ width: number;
515
+ height: number;
516
+ } | undefined;
517
+ video?: {
518
+ url: string;
519
+ width: number;
520
+ height: number;
521
+ } | undefined;
522
+ } | undefined;
523
+ displayed: boolean;
524
+ custom: boolean;
525
+ } | undefined;
526
+ }>;
527
+ export declare function bulkUpdateDraftPosts(httpClient: HttpClient): (options?: BulkUpdateDraftPostsOptions | undefined) => Promise<import("./blog-v3-draft.universal").BulkUpdateDraftPostsResponse & import("./blog-v3-draft.universal").BulkUpdateDraftPostsResponseNonNullableFields>;
528
+ export declare function listDeletedDraftPosts(httpClient: HttpClient): (options?: ListDeletedDraftPostsOptions | undefined) => Promise<import("./blog-v3-draft.universal").ListDeletedDraftPostsResponse & import("./blog-v3-draft.universal").ListDeletedDraftPostsResponseNonNullableFields>;
529
+ export declare function getDraftPost(httpClient: HttpClient): (draftPostId: string, options?: GetDraftPostOptions | undefined) => Promise<DraftPost & {
530
+ _id: string;
531
+ title: string;
532
+ categoryIds: string[];
533
+ hashtags: string[];
534
+ minutesToRead: number;
535
+ heroImage: string;
536
+ tagIds: string[];
537
+ relatedPostIds: string[];
538
+ pricingPlanIds: string[];
539
+ changeOrigin: import("./blog-v3-draft.universal").Origin;
540
+ richContent?: {
541
+ nodes: {
542
+ buttonData?: {
543
+ containerData?: {
544
+ width?: {
545
+ size: import("./blog-v3-draft.universal").WidthType;
546
+ } | undefined;
547
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
548
+ } | undefined;
549
+ type: import("./blog-v3-draft.universal").ButtonDataType;
550
+ link?: {
551
+ url: string;
552
+ anchor: string;
553
+ target: import("./blog-v3-draft.universal").Target;
554
+ } | undefined;
555
+ } | undefined;
556
+ codeBlockData?: {
557
+ textStyle?: {
558
+ textAlignment: import("./blog-v3-draft.universal").TextAlignment;
559
+ } | undefined;
560
+ } | undefined;
561
+ dividerData?: {
562
+ containerData?: {
563
+ width?: {
564
+ size: import("./blog-v3-draft.universal").WidthType;
565
+ } | undefined;
566
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
567
+ } | undefined;
568
+ lineStyle: import("./blog-v3-draft.universal").LineStyle;
569
+ width: import("./blog-v3-draft.universal").Width;
570
+ alignment: import("./blog-v3-draft.universal").Alignment;
571
+ } | undefined;
572
+ fileData?: {
573
+ containerData?: {
574
+ width?: {
575
+ size: import("./blog-v3-draft.universal").WidthType;
576
+ } | undefined;
577
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
578
+ } | undefined;
579
+ pdfSettings?: {
580
+ viewMode: import("./blog-v3-draft.universal").ViewMode;
581
+ } | undefined;
582
+ } | undefined;
583
+ galleryData?: {
584
+ containerData?: {
585
+ width?: {
586
+ size: import("./blog-v3-draft.universal").WidthType;
587
+ } | undefined;
588
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
589
+ } | undefined;
590
+ items: {
591
+ image?: {
592
+ link?: {
593
+ url: string;
594
+ anchor: string;
595
+ target: import("./blog-v3-draft.universal").Target;
596
+ } | undefined;
597
+ } | undefined;
598
+ }[];
599
+ options?: {
600
+ layout?: {
601
+ type: import("./blog-v3-draft.universal").LayoutType;
602
+ orientation: import("./blog-v3-draft.universal").Orientation;
603
+ } | undefined;
604
+ item?: {
605
+ crop: import("./blog-v3-draft.universal").Crop;
606
+ } | undefined;
607
+ thumbnails?: {
608
+ placement: import("./blog-v3-draft.universal").ThumbnailsAlignment;
609
+ } | undefined;
610
+ } | undefined;
611
+ } | undefined;
612
+ gifData?: {
613
+ containerData?: {
614
+ width?: {
615
+ size: import("./blog-v3-draft.universal").WidthType;
616
+ } | undefined;
617
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
618
+ } | undefined;
619
+ height: number;
620
+ width: number;
621
+ } | undefined;
622
+ headingData?: {
623
+ level: number;
624
+ textStyle?: {
625
+ textAlignment: import("./blog-v3-draft.universal").TextAlignment;
626
+ } | undefined;
627
+ } | undefined;
628
+ htmlData?: {
629
+ url: string;
630
+ html: string;
631
+ containerData?: {
632
+ width?: {
633
+ size: import("./blog-v3-draft.universal").WidthType;
634
+ } | undefined;
635
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
636
+ } | undefined;
637
+ source: import("./blog-v3-draft.universal").Source;
638
+ } | undefined;
639
+ imageData?: {
640
+ containerData?: {
641
+ width?: {
642
+ size: import("./blog-v3-draft.universal").WidthType;
643
+ } | undefined;
644
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
645
+ } | undefined;
646
+ link?: {
647
+ url: string;
648
+ anchor: string;
649
+ target: import("./blog-v3-draft.universal").Target;
650
+ } | undefined;
651
+ } | undefined;
652
+ linkPreviewData?: {
653
+ containerData?: {
654
+ width?: {
655
+ size: import("./blog-v3-draft.universal").WidthType;
656
+ } | undefined;
657
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
658
+ } | undefined;
659
+ link?: {
660
+ url: string;
661
+ anchor: string;
662
+ target: import("./blog-v3-draft.universal").Target;
663
+ } | undefined;
664
+ } | undefined;
665
+ mapData?: {
666
+ containerData?: {
667
+ width?: {
668
+ size: import("./blog-v3-draft.universal").WidthType;
669
+ } | undefined;
670
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
671
+ } | undefined;
672
+ mapSettings?: {
673
+ mapType: import("./blog-v3-draft.universal").MapType;
674
+ } | undefined;
675
+ } | undefined;
676
+ paragraphData?: {
677
+ textStyle?: {
678
+ textAlignment: import("./blog-v3-draft.universal").TextAlignment;
679
+ } | undefined;
680
+ } | undefined;
681
+ pollData?: {
682
+ containerData?: {
683
+ width?: {
684
+ size: import("./blog-v3-draft.universal").WidthType;
685
+ } | undefined;
686
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
687
+ } | undefined;
688
+ poll?: {
689
+ options: import("./blog-v3-draft.universal").Option[];
690
+ settings?: {
691
+ permissions?: {
692
+ view: import("./blog-v3-draft.universal").ViewRole;
693
+ vote: import("./blog-v3-draft.universal").VoteRole;
694
+ } | undefined;
695
+ } | undefined;
696
+ } | undefined;
697
+ layout?: {
698
+ poll?: {
699
+ type: import("./blog-v3-draft.universal").PollLayoutType;
700
+ direction: import("./blog-v3-draft.universal").PollLayoutDirection;
701
+ } | undefined;
702
+ } | undefined;
703
+ design?: {
704
+ poll?: {
705
+ background?: {
706
+ type: import("./blog-v3-draft.universal").BackgroundType;
707
+ } | undefined;
708
+ } | undefined;
709
+ } | undefined;
710
+ } | undefined;
711
+ textData?: {
712
+ text: string;
713
+ decorations: {
714
+ anchorData?: {
715
+ anchor: string;
716
+ } | undefined;
717
+ linkData?: {
718
+ link?: {
719
+ url: string;
720
+ anchor: string;
721
+ target: import("./blog-v3-draft.universal").Target;
722
+ } | undefined;
723
+ } | undefined;
724
+ mentionData?: {
725
+ name: string;
726
+ slug: string;
727
+ } | undefined;
728
+ fontSizeData?: {
729
+ unit: import("./blog-v3-draft.universal").FontType;
730
+ } | undefined;
731
+ type: import("./blog-v3-draft.universal").DecorationType;
732
+ }[];
733
+ } | undefined;
734
+ appEmbedData?: {
735
+ type: import("./blog-v3-draft.universal").AppType;
736
+ } | undefined;
737
+ videoData?: {
738
+ containerData?: {
739
+ width?: {
740
+ size: import("./blog-v3-draft.universal").WidthType;
741
+ } | undefined;
742
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
743
+ } | undefined;
744
+ } | undefined;
745
+ embedData?: {
746
+ containerData?: {
747
+ width?: {
748
+ size: import("./blog-v3-draft.universal").WidthType;
749
+ } | undefined;
750
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
751
+ } | undefined;
752
+ } | undefined;
753
+ collapsibleListData?: {
754
+ containerData?: {
755
+ width?: {
756
+ size: import("./blog-v3-draft.universal").WidthType;
757
+ } | undefined;
758
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
759
+ } | undefined;
760
+ initialExpandedItems: import("./blog-v3-draft.universal").InitialExpandedItems;
761
+ direction: import("./blog-v3-draft.universal").Direction;
762
+ } | undefined;
763
+ tableData?: {
764
+ containerData?: {
765
+ width?: {
766
+ size: import("./blog-v3-draft.universal").WidthType;
767
+ } | undefined;
768
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
769
+ } | undefined;
770
+ dimensions?: {
771
+ colsWidthRatio: number[];
772
+ rowsHeight: number[];
773
+ colsMinWidth: number[];
774
+ } | undefined;
775
+ } | undefined;
776
+ tableCellData?: {
777
+ cellStyle?: {
778
+ verticalAlignment: import("./blog-v3-draft.universal").VerticalAlignment;
779
+ } | undefined;
780
+ } | undefined;
781
+ audioData?: {
782
+ containerData?: {
783
+ width?: {
784
+ size: import("./blog-v3-draft.universal").WidthType;
785
+ } | undefined;
786
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
787
+ } | undefined;
788
+ } | undefined;
789
+ orderedListData?: {
790
+ indentation: number;
791
+ } | undefined;
792
+ bulletedListData?: {
793
+ indentation: number;
794
+ } | undefined;
795
+ blockquoteData?: {
796
+ indentation: number;
797
+ } | undefined;
798
+ type: import("./blog-v3-draft.universal").NodeType;
799
+ _id: string;
800
+ nodes: any[][];
801
+ }[];
802
+ metadata?: {
803
+ version: number;
804
+ } | undefined;
805
+ documentStyle?: {
806
+ headerOne?: {
807
+ decorations: {
808
+ anchorData?: {
809
+ anchor: string;
810
+ } | undefined;
811
+ linkData?: {
812
+ link?: {
813
+ url: string;
814
+ anchor: string;
815
+ target: import("./blog-v3-draft.universal").Target;
816
+ } | undefined;
817
+ } | undefined;
818
+ mentionData?: {
819
+ name: string;
820
+ slug: string;
821
+ } | undefined;
822
+ fontSizeData?: {
823
+ unit: import("./blog-v3-draft.universal").FontType;
824
+ } | undefined;
825
+ type: import("./blog-v3-draft.universal").DecorationType;
826
+ }[];
827
+ } | undefined;
828
+ headerTwo?: {
829
+ decorations: {
830
+ anchorData?: {
831
+ anchor: string;
832
+ } | undefined;
833
+ linkData?: {
834
+ link?: {
835
+ url: string;
836
+ anchor: string;
837
+ target: import("./blog-v3-draft.universal").Target;
838
+ } | undefined;
839
+ } | undefined;
840
+ mentionData?: {
841
+ name: string;
842
+ slug: string;
843
+ } | undefined;
844
+ fontSizeData?: {
845
+ unit: import("./blog-v3-draft.universal").FontType;
846
+ } | undefined;
847
+ type: import("./blog-v3-draft.universal").DecorationType;
848
+ }[];
849
+ } | undefined;
850
+ headerThree?: {
851
+ decorations: {
852
+ anchorData?: {
853
+ anchor: string;
854
+ } | undefined;
855
+ linkData?: {
856
+ link?: {
857
+ url: string;
858
+ anchor: string;
859
+ target: import("./blog-v3-draft.universal").Target;
860
+ } | undefined;
861
+ } | undefined;
862
+ mentionData?: {
863
+ name: string;
864
+ slug: string;
865
+ } | undefined;
866
+ fontSizeData?: {
867
+ unit: import("./blog-v3-draft.universal").FontType;
868
+ } | undefined;
869
+ type: import("./blog-v3-draft.universal").DecorationType;
870
+ }[];
871
+ } | undefined;
872
+ headerFour?: {
873
+ decorations: {
874
+ anchorData?: {
875
+ anchor: string;
876
+ } | undefined;
877
+ linkData?: {
878
+ link?: {
879
+ url: string;
880
+ anchor: string;
881
+ target: import("./blog-v3-draft.universal").Target;
882
+ } | undefined;
883
+ } | undefined;
884
+ mentionData?: {
885
+ name: string;
886
+ slug: string;
887
+ } | undefined;
888
+ fontSizeData?: {
889
+ unit: import("./blog-v3-draft.universal").FontType;
890
+ } | undefined;
891
+ type: import("./blog-v3-draft.universal").DecorationType;
892
+ }[];
893
+ } | undefined;
894
+ headerFive?: {
895
+ decorations: {
896
+ anchorData?: {
897
+ anchor: string;
898
+ } | undefined;
899
+ linkData?: {
900
+ link?: {
901
+ url: string;
902
+ anchor: string;
903
+ target: import("./blog-v3-draft.universal").Target;
904
+ } | undefined;
905
+ } | undefined;
906
+ mentionData?: {
907
+ name: string;
908
+ slug: string;
909
+ } | undefined;
910
+ fontSizeData?: {
911
+ unit: import("./blog-v3-draft.universal").FontType;
912
+ } | undefined;
913
+ type: import("./blog-v3-draft.universal").DecorationType;
914
+ }[];
915
+ } | undefined;
916
+ headerSix?: {
917
+ decorations: {
918
+ anchorData?: {
919
+ anchor: string;
920
+ } | undefined;
921
+ linkData?: {
922
+ link?: {
923
+ url: string;
924
+ anchor: string;
925
+ target: import("./blog-v3-draft.universal").Target;
926
+ } | undefined;
927
+ } | undefined;
928
+ mentionData?: {
929
+ name: string;
930
+ slug: string;
931
+ } | undefined;
932
+ fontSizeData?: {
933
+ unit: import("./blog-v3-draft.universal").FontType;
934
+ } | undefined;
935
+ type: import("./blog-v3-draft.universal").DecorationType;
936
+ }[];
937
+ } | undefined;
938
+ paragraph?: {
939
+ decorations: {
940
+ anchorData?: {
941
+ anchor: string;
942
+ } | undefined;
943
+ linkData?: {
944
+ link?: {
945
+ url: string;
946
+ anchor: string;
947
+ target: import("./blog-v3-draft.universal").Target;
948
+ } | undefined;
949
+ } | undefined;
950
+ mentionData?: {
951
+ name: string;
952
+ slug: string;
953
+ } | undefined;
954
+ fontSizeData?: {
955
+ unit: import("./blog-v3-draft.universal").FontType;
956
+ } | undefined;
957
+ type: import("./blog-v3-draft.universal").DecorationType;
958
+ }[];
959
+ } | undefined;
960
+ blockquote?: {
961
+ decorations: {
962
+ anchorData?: {
963
+ anchor: string;
964
+ } | undefined;
965
+ linkData?: {
966
+ link?: {
967
+ url: string;
968
+ anchor: string;
969
+ target: import("./blog-v3-draft.universal").Target;
970
+ } | undefined;
971
+ } | undefined;
972
+ mentionData?: {
973
+ name: string;
974
+ slug: string;
975
+ } | undefined;
976
+ fontSizeData?: {
977
+ unit: import("./blog-v3-draft.universal").FontType;
978
+ } | undefined;
979
+ type: import("./blog-v3-draft.universal").DecorationType;
980
+ }[];
981
+ } | undefined;
982
+ codeBlock?: {
983
+ decorations: {
984
+ anchorData?: {
985
+ anchor: string;
986
+ } | undefined;
987
+ linkData?: {
988
+ link?: {
989
+ url: string;
990
+ anchor: string;
991
+ target: import("./blog-v3-draft.universal").Target;
992
+ } | undefined;
993
+ } | undefined;
994
+ mentionData?: {
995
+ name: string;
996
+ slug: string;
997
+ } | undefined;
998
+ fontSizeData?: {
999
+ unit: import("./blog-v3-draft.universal").FontType;
1000
+ } | undefined;
1001
+ type: import("./blog-v3-draft.universal").DecorationType;
1002
+ }[];
1003
+ } | undefined;
1004
+ } | undefined;
1005
+ } | undefined;
1006
+ status: import("./blog-v3-draft.universal").Status;
1007
+ moderationDetails?: {
1008
+ submittedBy: string;
1009
+ status: import("./blog-v3-draft.universal").ModerationStatusStatus;
1010
+ } | undefined;
1011
+ hasUnpublishedChanges: boolean;
1012
+ seoData?: {
1013
+ tags: {
1014
+ type: string;
1015
+ children: string;
1016
+ custom: boolean;
1017
+ disabled: boolean;
1018
+ }[];
1019
+ settings?: {
1020
+ preventAutoRedirect: boolean;
1021
+ keywords: {
1022
+ term: string;
1023
+ isMain: boolean;
1024
+ }[];
1025
+ } | undefined;
1026
+ } | undefined;
1027
+ slugs: string[];
1028
+ url: string;
1029
+ media?: {
1030
+ wixMedia?: {
1031
+ image: string;
1032
+ videoV2: string;
1033
+ } | undefined;
1034
+ embedMedia?: {
1035
+ thumbnail?: {
1036
+ url: string;
1037
+ width: number;
1038
+ height: number;
1039
+ } | undefined;
1040
+ video?: {
1041
+ url: string;
1042
+ width: number;
1043
+ height: number;
1044
+ } | undefined;
1045
+ } | undefined;
1046
+ displayed: boolean;
1047
+ custom: boolean;
1048
+ } | undefined;
1049
+ }>;
1050
+ export declare function updateDraftPost(httpClient: HttpClient): (_id: string, draftPost: UpdateDraftPost, options?: UpdateDraftPostOptions | undefined) => Promise<DraftPost & {
1051
+ _id: string;
1052
+ title: string;
1053
+ categoryIds: string[];
1054
+ hashtags: string[];
1055
+ minutesToRead: number;
1056
+ heroImage: string;
1057
+ tagIds: string[];
1058
+ relatedPostIds: string[];
1059
+ pricingPlanIds: string[];
1060
+ changeOrigin: import("./blog-v3-draft.universal").Origin;
1061
+ richContent?: {
1062
+ nodes: {
1063
+ buttonData?: {
1064
+ containerData?: {
1065
+ width?: {
1066
+ size: import("./blog-v3-draft.universal").WidthType;
1067
+ } | undefined;
1068
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
1069
+ } | undefined;
1070
+ type: import("./blog-v3-draft.universal").ButtonDataType;
1071
+ link?: {
1072
+ url: string;
1073
+ anchor: string;
1074
+ target: import("./blog-v3-draft.universal").Target;
1075
+ } | undefined;
1076
+ } | undefined;
1077
+ codeBlockData?: {
1078
+ textStyle?: {
1079
+ textAlignment: import("./blog-v3-draft.universal").TextAlignment;
1080
+ } | undefined;
1081
+ } | undefined;
1082
+ dividerData?: {
1083
+ containerData?: {
1084
+ width?: {
1085
+ size: import("./blog-v3-draft.universal").WidthType;
1086
+ } | undefined;
1087
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
1088
+ } | undefined;
1089
+ lineStyle: import("./blog-v3-draft.universal").LineStyle;
1090
+ width: import("./blog-v3-draft.universal").Width;
1091
+ alignment: import("./blog-v3-draft.universal").Alignment;
1092
+ } | undefined;
1093
+ fileData?: {
1094
+ containerData?: {
1095
+ width?: {
1096
+ size: import("./blog-v3-draft.universal").WidthType;
1097
+ } | undefined;
1098
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
1099
+ } | undefined;
1100
+ pdfSettings?: {
1101
+ viewMode: import("./blog-v3-draft.universal").ViewMode;
1102
+ } | undefined;
1103
+ } | undefined;
1104
+ galleryData?: {
1105
+ containerData?: {
1106
+ width?: {
1107
+ size: import("./blog-v3-draft.universal").WidthType;
1108
+ } | undefined;
1109
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
1110
+ } | undefined;
1111
+ items: {
1112
+ image?: {
1113
+ link?: {
1114
+ url: string;
1115
+ anchor: string;
1116
+ target: import("./blog-v3-draft.universal").Target;
1117
+ } | undefined;
1118
+ } | undefined;
1119
+ }[];
1120
+ options?: {
1121
+ layout?: {
1122
+ type: import("./blog-v3-draft.universal").LayoutType;
1123
+ orientation: import("./blog-v3-draft.universal").Orientation;
1124
+ } | undefined;
1125
+ item?: {
1126
+ crop: import("./blog-v3-draft.universal").Crop;
1127
+ } | undefined;
1128
+ thumbnails?: {
1129
+ placement: import("./blog-v3-draft.universal").ThumbnailsAlignment;
1130
+ } | undefined;
1131
+ } | undefined;
1132
+ } | undefined;
1133
+ gifData?: {
1134
+ containerData?: {
1135
+ width?: {
1136
+ size: import("./blog-v3-draft.universal").WidthType;
1137
+ } | undefined;
1138
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
1139
+ } | undefined;
1140
+ height: number;
1141
+ width: number;
1142
+ } | undefined;
1143
+ headingData?: {
1144
+ level: number;
1145
+ textStyle?: {
1146
+ textAlignment: import("./blog-v3-draft.universal").TextAlignment;
1147
+ } | undefined;
1148
+ } | undefined;
1149
+ htmlData?: {
1150
+ url: string;
1151
+ html: string;
1152
+ containerData?: {
1153
+ width?: {
1154
+ size: import("./blog-v3-draft.universal").WidthType;
1155
+ } | undefined;
1156
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
1157
+ } | undefined;
1158
+ source: import("./blog-v3-draft.universal").Source;
1159
+ } | undefined;
1160
+ imageData?: {
1161
+ containerData?: {
1162
+ width?: {
1163
+ size: import("./blog-v3-draft.universal").WidthType;
1164
+ } | undefined;
1165
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
1166
+ } | undefined;
1167
+ link?: {
1168
+ url: string;
1169
+ anchor: string;
1170
+ target: import("./blog-v3-draft.universal").Target;
1171
+ } | undefined;
1172
+ } | undefined;
1173
+ linkPreviewData?: {
1174
+ containerData?: {
1175
+ width?: {
1176
+ size: import("./blog-v3-draft.universal").WidthType;
1177
+ } | undefined;
1178
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
1179
+ } | undefined;
1180
+ link?: {
1181
+ url: string;
1182
+ anchor: string;
1183
+ target: import("./blog-v3-draft.universal").Target;
1184
+ } | undefined;
1185
+ } | undefined;
1186
+ mapData?: {
1187
+ containerData?: {
1188
+ width?: {
1189
+ size: import("./blog-v3-draft.universal").WidthType;
1190
+ } | undefined;
1191
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
1192
+ } | undefined;
1193
+ mapSettings?: {
1194
+ mapType: import("./blog-v3-draft.universal").MapType;
1195
+ } | undefined;
1196
+ } | undefined;
1197
+ paragraphData?: {
1198
+ textStyle?: {
1199
+ textAlignment: import("./blog-v3-draft.universal").TextAlignment;
1200
+ } | undefined;
1201
+ } | undefined;
1202
+ pollData?: {
1203
+ containerData?: {
1204
+ width?: {
1205
+ size: import("./blog-v3-draft.universal").WidthType;
1206
+ } | undefined;
1207
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
1208
+ } | undefined;
1209
+ poll?: {
1210
+ options: import("./blog-v3-draft.universal").Option[];
1211
+ settings?: {
1212
+ permissions?: {
1213
+ view: import("./blog-v3-draft.universal").ViewRole;
1214
+ vote: import("./blog-v3-draft.universal").VoteRole;
1215
+ } | undefined;
1216
+ } | undefined;
1217
+ } | undefined;
1218
+ layout?: {
1219
+ poll?: {
1220
+ type: import("./blog-v3-draft.universal").PollLayoutType;
1221
+ direction: import("./blog-v3-draft.universal").PollLayoutDirection;
1222
+ } | undefined;
1223
+ } | undefined;
1224
+ design?: {
1225
+ poll?: {
1226
+ background?: {
1227
+ type: import("./blog-v3-draft.universal").BackgroundType;
1228
+ } | undefined;
1229
+ } | undefined;
1230
+ } | undefined;
1231
+ } | undefined;
1232
+ textData?: {
1233
+ text: string;
1234
+ decorations: {
1235
+ anchorData?: {
1236
+ anchor: string;
1237
+ } | undefined;
1238
+ linkData?: {
1239
+ link?: {
1240
+ url: string;
1241
+ anchor: string;
1242
+ target: import("./blog-v3-draft.universal").Target;
1243
+ } | undefined;
1244
+ } | undefined;
1245
+ mentionData?: {
1246
+ name: string;
1247
+ slug: string;
1248
+ } | undefined;
1249
+ fontSizeData?: {
1250
+ unit: import("./blog-v3-draft.universal").FontType;
1251
+ } | undefined;
1252
+ type: import("./blog-v3-draft.universal").DecorationType;
1253
+ }[];
1254
+ } | undefined;
1255
+ appEmbedData?: {
1256
+ type: import("./blog-v3-draft.universal").AppType;
1257
+ } | undefined;
1258
+ videoData?: {
1259
+ containerData?: {
1260
+ width?: {
1261
+ size: import("./blog-v3-draft.universal").WidthType;
1262
+ } | undefined;
1263
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
1264
+ } | undefined;
1265
+ } | undefined;
1266
+ embedData?: {
1267
+ containerData?: {
1268
+ width?: {
1269
+ size: import("./blog-v3-draft.universal").WidthType;
1270
+ } | undefined;
1271
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
1272
+ } | undefined;
1273
+ } | undefined;
1274
+ collapsibleListData?: {
1275
+ containerData?: {
1276
+ width?: {
1277
+ size: import("./blog-v3-draft.universal").WidthType;
1278
+ } | undefined;
1279
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
1280
+ } | undefined;
1281
+ initialExpandedItems: import("./blog-v3-draft.universal").InitialExpandedItems;
1282
+ direction: import("./blog-v3-draft.universal").Direction;
1283
+ } | undefined;
1284
+ tableData?: {
1285
+ containerData?: {
1286
+ width?: {
1287
+ size: import("./blog-v3-draft.universal").WidthType;
1288
+ } | undefined;
1289
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
1290
+ } | undefined;
1291
+ dimensions?: {
1292
+ colsWidthRatio: number[];
1293
+ rowsHeight: number[];
1294
+ colsMinWidth: number[];
1295
+ } | undefined;
1296
+ } | undefined;
1297
+ tableCellData?: {
1298
+ cellStyle?: {
1299
+ verticalAlignment: import("./blog-v3-draft.universal").VerticalAlignment;
1300
+ } | undefined;
1301
+ } | undefined;
1302
+ audioData?: {
1303
+ containerData?: {
1304
+ width?: {
1305
+ size: import("./blog-v3-draft.universal").WidthType;
1306
+ } | undefined;
1307
+ alignment: import("./blog-v3-draft.universal").PluginContainerDataAlignment;
1308
+ } | undefined;
1309
+ } | undefined;
1310
+ orderedListData?: {
1311
+ indentation: number;
1312
+ } | undefined;
1313
+ bulletedListData?: {
1314
+ indentation: number;
1315
+ } | undefined;
1316
+ blockquoteData?: {
1317
+ indentation: number;
1318
+ } | undefined;
1319
+ type: import("./blog-v3-draft.universal").NodeType;
1320
+ _id: string;
1321
+ nodes: any[][];
1322
+ }[];
1323
+ metadata?: {
1324
+ version: number;
1325
+ } | undefined;
1326
+ documentStyle?: {
1327
+ headerOne?: {
1328
+ decorations: {
1329
+ anchorData?: {
1330
+ anchor: string;
1331
+ } | undefined;
1332
+ linkData?: {
1333
+ link?: {
1334
+ url: string;
1335
+ anchor: string;
1336
+ target: import("./blog-v3-draft.universal").Target;
1337
+ } | undefined;
1338
+ } | undefined;
1339
+ mentionData?: {
1340
+ name: string;
1341
+ slug: string;
1342
+ } | undefined;
1343
+ fontSizeData?: {
1344
+ unit: import("./blog-v3-draft.universal").FontType;
1345
+ } | undefined;
1346
+ type: import("./blog-v3-draft.universal").DecorationType;
1347
+ }[];
1348
+ } | undefined;
1349
+ headerTwo?: {
1350
+ decorations: {
1351
+ anchorData?: {
1352
+ anchor: string;
1353
+ } | undefined;
1354
+ linkData?: {
1355
+ link?: {
1356
+ url: string;
1357
+ anchor: string;
1358
+ target: import("./blog-v3-draft.universal").Target;
1359
+ } | undefined;
1360
+ } | undefined;
1361
+ mentionData?: {
1362
+ name: string;
1363
+ slug: string;
1364
+ } | undefined;
1365
+ fontSizeData?: {
1366
+ unit: import("./blog-v3-draft.universal").FontType;
1367
+ } | undefined;
1368
+ type: import("./blog-v3-draft.universal").DecorationType;
1369
+ }[];
1370
+ } | undefined;
1371
+ headerThree?: {
1372
+ decorations: {
1373
+ anchorData?: {
1374
+ anchor: string;
1375
+ } | undefined;
1376
+ linkData?: {
1377
+ link?: {
1378
+ url: string;
1379
+ anchor: string;
1380
+ target: import("./blog-v3-draft.universal").Target;
1381
+ } | undefined;
1382
+ } | undefined;
1383
+ mentionData?: {
1384
+ name: string;
1385
+ slug: string;
1386
+ } | undefined;
1387
+ fontSizeData?: {
1388
+ unit: import("./blog-v3-draft.universal").FontType;
1389
+ } | undefined;
1390
+ type: import("./blog-v3-draft.universal").DecorationType;
1391
+ }[];
1392
+ } | undefined;
1393
+ headerFour?: {
1394
+ decorations: {
1395
+ anchorData?: {
1396
+ anchor: string;
1397
+ } | undefined;
1398
+ linkData?: {
1399
+ link?: {
1400
+ url: string;
1401
+ anchor: string;
1402
+ target: import("./blog-v3-draft.universal").Target;
1403
+ } | undefined;
1404
+ } | undefined;
1405
+ mentionData?: {
1406
+ name: string;
1407
+ slug: string;
1408
+ } | undefined;
1409
+ fontSizeData?: {
1410
+ unit: import("./blog-v3-draft.universal").FontType;
1411
+ } | undefined;
1412
+ type: import("./blog-v3-draft.universal").DecorationType;
1413
+ }[];
1414
+ } | undefined;
1415
+ headerFive?: {
1416
+ decorations: {
1417
+ anchorData?: {
1418
+ anchor: string;
1419
+ } | undefined;
1420
+ linkData?: {
1421
+ link?: {
1422
+ url: string;
1423
+ anchor: string;
1424
+ target: import("./blog-v3-draft.universal").Target;
1425
+ } | undefined;
1426
+ } | undefined;
1427
+ mentionData?: {
1428
+ name: string;
1429
+ slug: string;
1430
+ } | undefined;
1431
+ fontSizeData?: {
1432
+ unit: import("./blog-v3-draft.universal").FontType;
1433
+ } | undefined;
1434
+ type: import("./blog-v3-draft.universal").DecorationType;
1435
+ }[];
1436
+ } | undefined;
1437
+ headerSix?: {
1438
+ decorations: {
1439
+ anchorData?: {
1440
+ anchor: string;
1441
+ } | undefined;
1442
+ linkData?: {
1443
+ link?: {
1444
+ url: string;
1445
+ anchor: string;
1446
+ target: import("./blog-v3-draft.universal").Target;
1447
+ } | undefined;
1448
+ } | undefined;
1449
+ mentionData?: {
1450
+ name: string;
1451
+ slug: string;
1452
+ } | undefined;
1453
+ fontSizeData?: {
1454
+ unit: import("./blog-v3-draft.universal").FontType;
1455
+ } | undefined;
1456
+ type: import("./blog-v3-draft.universal").DecorationType;
1457
+ }[];
1458
+ } | undefined;
1459
+ paragraph?: {
1460
+ decorations: {
1461
+ anchorData?: {
1462
+ anchor: string;
1463
+ } | undefined;
1464
+ linkData?: {
1465
+ link?: {
1466
+ url: string;
1467
+ anchor: string;
1468
+ target: import("./blog-v3-draft.universal").Target;
1469
+ } | undefined;
1470
+ } | undefined;
1471
+ mentionData?: {
1472
+ name: string;
1473
+ slug: string;
1474
+ } | undefined;
1475
+ fontSizeData?: {
1476
+ unit: import("./blog-v3-draft.universal").FontType;
1477
+ } | undefined;
1478
+ type: import("./blog-v3-draft.universal").DecorationType;
1479
+ }[];
1480
+ } | undefined;
1481
+ blockquote?: {
1482
+ decorations: {
1483
+ anchorData?: {
1484
+ anchor: string;
1485
+ } | undefined;
1486
+ linkData?: {
1487
+ link?: {
1488
+ url: string;
1489
+ anchor: string;
1490
+ target: import("./blog-v3-draft.universal").Target;
1491
+ } | undefined;
1492
+ } | undefined;
1493
+ mentionData?: {
1494
+ name: string;
1495
+ slug: string;
1496
+ } | undefined;
1497
+ fontSizeData?: {
1498
+ unit: import("./blog-v3-draft.universal").FontType;
1499
+ } | undefined;
1500
+ type: import("./blog-v3-draft.universal").DecorationType;
1501
+ }[];
1502
+ } | undefined;
1503
+ codeBlock?: {
1504
+ decorations: {
1505
+ anchorData?: {
1506
+ anchor: string;
1507
+ } | undefined;
1508
+ linkData?: {
1509
+ link?: {
1510
+ url: string;
1511
+ anchor: string;
1512
+ target: import("./blog-v3-draft.universal").Target;
1513
+ } | undefined;
1514
+ } | undefined;
1515
+ mentionData?: {
1516
+ name: string;
1517
+ slug: string;
1518
+ } | undefined;
1519
+ fontSizeData?: {
1520
+ unit: import("./blog-v3-draft.universal").FontType;
1521
+ } | undefined;
1522
+ type: import("./blog-v3-draft.universal").DecorationType;
1523
+ }[];
1524
+ } | undefined;
1525
+ } | undefined;
1526
+ } | undefined;
1527
+ status: import("./blog-v3-draft.universal").Status;
1528
+ moderationDetails?: {
1529
+ submittedBy: string;
1530
+ status: import("./blog-v3-draft.universal").ModerationStatusStatus;
1531
+ } | undefined;
1532
+ hasUnpublishedChanges: boolean;
1533
+ seoData?: {
1534
+ tags: {
1535
+ type: string;
1536
+ children: string;
1537
+ custom: boolean;
1538
+ disabled: boolean;
1539
+ }[];
1540
+ settings?: {
1541
+ preventAutoRedirect: boolean;
1542
+ keywords: {
1543
+ term: string;
1544
+ isMain: boolean;
1545
+ }[];
1546
+ } | undefined;
1547
+ } | undefined;
1548
+ slugs: string[];
1549
+ url: string;
1550
+ media?: {
1551
+ wixMedia?: {
1552
+ image: string;
1553
+ videoV2: string;
1554
+ } | undefined;
1555
+ embedMedia?: {
1556
+ thumbnail?: {
1557
+ url: string;
1558
+ width: number;
1559
+ height: number;
1560
+ } | undefined;
1561
+ video?: {
1562
+ url: string;
1563
+ width: number;
1564
+ height: number;
1565
+ } | undefined;
1566
+ } | undefined;
1567
+ displayed: boolean;
1568
+ custom: boolean;
1569
+ } | undefined;
1570
+ }>;
1571
+ export declare function deleteDraftPost(httpClient: HttpClient): (draftPostId: string, options?: DeleteDraftPostOptions | undefined) => Promise<void>;
1572
+ export declare function removeFromTrashBin(httpClient: HttpClient): (draftPostId: string) => Promise<void>;
1573
+ export declare function listDraftPosts(httpClient: HttpClient): (options?: ListDraftPostsOptions | undefined) => Promise<import("./blog-v3-draft.universal").ListDraftPostsResponse & import("./blog-v3-draft.universal").ListDraftPostsResponseNonNullableFields>;
1574
+ export declare function getDeletedDraftPost(httpClient: HttpClient): (draftPostId: string) => Promise<import("./blog-v3-draft.universal").GetDeletedDraftPostResponse & import("./blog-v3-draft.universal").GetDeletedDraftPostResponseNonNullableFields>;
1575
+ export declare function restoreFromTrashBin(httpClient: HttpClient): (draftPostId: string) => Promise<import("./blog-v3-draft.universal").RestoreFromTrashBinResponse & import("./blog-v3-draft.universal").RestoreFromTrashBinResponseNonNullableFields>;
1576
+ export declare function queryDraftPosts(httpClient: HttpClient): (options?: QueryDraftPostsOptions | undefined) => import("./blog-v3-draft.universal").DraftPostsQueryBuilder;
1577
+ export declare function publishDraftPost(httpClient: HttpClient): (draftPostId: string) => Promise<import("./blog-v3-draft.universal").PublishDraftPostResponse & import("./blog-v3-draft.universal").PublishDraftPostResponseNonNullableFields>;
1578
+ export { Origin, NodeType, WidthType, PluginContainerDataAlignment, ButtonDataType, Target, TextAlignment, LineStyle, Width, Alignment, ViewMode, LayoutType, Orientation, Crop, ThumbnailsAlignment, Source, MapType, ViewRole, VoteRole, PollLayoutType, PollLayoutDirection, BackgroundType, DecorationType, FontType, AppType, InitialExpandedItems, Direction, VerticalAlignment, NullValue, Status, ModerationStatusStatus, Type, Field, Action, GetDraftPostsSort, SortOrder, TotalDraftPostsGroupingField, } from './blog-v3-draft.universal';
1579
+ export { DraftPost, CoverMedia, CoverMediaMediaOneOf, RichContent, Node, NodeDataOneOf, NodeStyle, ButtonData, Border, Colors, PluginContainerData, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Spoiler, Height, Styles, Link, LinkDataOneOf, Rel, CodeBlockData, TextStyle, DividerData, FileData, FileSource, FileSourceDataOneOf, PDFSettings, GalleryData, V1Media, Image, Video, Item, ItemDataOneOf, GalleryOptions, Layout, ItemStyle, Thumbnails, GIFData, GIF, HeadingData, HTMLData, HTMLDataDataOneOf, ImageData, LinkPreviewData, MapData, MapSettings, ParagraphData, PollData, Permissions, Option, PollSettings, PollLayout, OptionLayout, Gradient, Background, BackgroundBackgroundOneOf, PollDesign, OptionDesign, Poll, PollDataLayout, Design, TextData, Decoration, DecorationDataOneOf, AnchorData, ColorData, LinkData, MentionData, FontSizeData, AppEmbedData, AppEmbedDataAppDataOneOf, BookingData, EventData, VideoData, PlaybackOptions, EmbedData, Oembed, CollapsibleListData, TableData, Dimensions, TableCellData, CellStyle, BorderColors, ListValue, AudioData, OrderedListData, BulletedListData, BlockquoteData, Metadata, DocumentStyle, TextNodeStyle, ModerationDetails, SeoSchema, Keyword, Tag, Settings, Media, MediaMediaOneOf, WixMedia, VideoResolution, EmbedMedia, EmbedThumbnail, EmbedVideo, DraftPostTranslation, InitialDraftPostsCopied, CreateDraftPostRequest, CreateDraftPostResponse, BulkCreateDraftPostsRequest, BulkCreateDraftPostsResponse, BulkDraftPostResult, ItemMetadata, ApplicationError, BulkActionMetadata, BulkUpdateDraftPostsRequest, MaskedDraftPosts, BulkUpdateDraftPostsResponse, DraftPostOwnerChanged, ListDeletedDraftPostsRequest, BlogPaging, ListDeletedDraftPostsResponse, MetaData, GetDraftPostRequest, GetDraftPostResponse, UpdateDraftPostContentRequest, UpdateDraftPostContentRequestDraftContentOneOf, UpdateDraftPostContentResponse, UpdateDraftPostRequest, UpdateDraftPostResponse, DeleteDraftPostRequest, DeleteDraftPostResponse, RemoveFromTrashBinRequest, RemoveFromTrashBinResponse, BulkDeleteDraftPostsRequest, BulkDeleteDraftPostsResponse, ListDraftPostsRequest, ListDraftPostsResponse, GetDeletedDraftPostRequest, GetDeletedDraftPostResponse, RestoreFromTrashBinRequest, RestoreFromTrashBinResponse, QueryDraftPostsRequest, Sorting, PlatformQuery, PlatformQueryPagingMethodOneOf, Paging, CursorPaging, QueryDraftPostsResponse, PagingMetadataV2, Cursors, PublishDraftPostRequest, PublishDraftPostResponse, UnpublishPostRequest, UnpublishPostResponse, GetDraftPostTotalsRequest, GetDraftPostTotalsResponse, TotalDraftPosts, TranslateCategoryRequest, TranslateCategoryResponse, Category, CategoryTranslation, TranslateDraftRequest, TranslateDraftResponse, IsDraftPostAutoTranslatableRequest, IsDraftPostAutoTranslatableResponse, UpdateDraftPostLanguageRequest, UpdateDraftPostLanguageResponse, BulkUpdateDraftPostLanguageRequest, BulkUpdateDraftPostLanguageResponse, GetPostAmountsByLanguageRequest, GetPostAmountsByLanguageResponse, PostAmountByLanguage, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, RevertToUnpublishedRequest, RevertToUnpublishedResponse, RejectDraftPostRequest, RejectDraftPostResponse, ApproveDraftPostRequest, ApproveDraftPostResponse, MarkPostAsInModerationRequest, MarkPostAsInModerationResponse, CreateDraftPostResponseNonNullableFields, BulkUpdateDraftPostsResponseNonNullableFields, ListDeletedDraftPostsResponseNonNullableFields, GetDraftPostResponseNonNullableFields, UpdateDraftPostResponseNonNullableFields, ListDraftPostsResponseNonNullableFields, GetDeletedDraftPostResponseNonNullableFields, RestoreFromTrashBinResponseNonNullableFields, QueryDraftPostsResponseNonNullableFields, PublishDraftPostResponseNonNullableFields, CreateDraftPostOptions, BulkUpdateDraftPostsOptions, ListDeletedDraftPostsOptions, GetDraftPostOptions, UpdateDraftPost, UpdateDraftPostOptions, DeleteDraftPostOptions, ListDraftPostsOptions, QueryDraftPostsOptions, DraftPostsQueryResult, DraftPostsQueryBuilder, } from './blog-v3-draft.universal';