@wix/auto_sdk_blog_draft-posts 1.0.15 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{internal/cjs/src/blog-v3-draft-draft-posts.universal.d.ts → blog-v3-draft-draft-posts.universal-vVP72XfS.d.mts} +267 -559
- package/build/{internal/es/src/blog-v3-draft-draft-posts.universal.d.ts → blog-v3-draft-draft-posts.universal-vVP72XfS.d.ts} +267 -559
- package/build/index.d.mts +193 -0
- package/build/index.d.ts +193 -0
- package/build/index.js +3411 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +3331 -0
- package/build/index.mjs.map +1 -0
- package/build/{cjs/src/blog-v3-draft-draft-posts.universal.d.ts → internal/blog-v3-draft-draft-posts.universal-vVP72XfS.d.mts} +267 -559
- package/build/{es/src/blog-v3-draft-draft-posts.universal.d.ts → internal/blog-v3-draft-draft-posts.universal-vVP72XfS.d.ts} +267 -559
- package/build/internal/index.d.mts +193 -0
- package/build/internal/index.d.ts +193 -0
- package/build/internal/index.js +3411 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +3331 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/{es/src/blog-v3-draft-draft-posts.types.d.ts → internal/meta.d.mts} +234 -989
- package/build/internal/{cjs/src/blog-v3-draft-draft-posts.types.d.ts → meta.d.ts} +234 -989
- package/build/internal/meta.js +2057 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +2017 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/{cjs/src/blog-v3-draft-draft-posts.types.d.ts → meta.d.mts} +234 -989
- package/build/{internal/es/src/blog-v3-draft-draft-posts.types.d.ts → meta.d.ts} +234 -989
- package/build/meta.js +2057 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +2017 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +13 -12
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/blog-v3-draft-draft-posts.context.d.ts +0 -34
- package/build/cjs/src/blog-v3-draft-draft-posts.context.js +0 -78
- package/build/cjs/src/blog-v3-draft-draft-posts.context.js.map +0 -1
- package/build/cjs/src/blog-v3-draft-draft-posts.http.d.ts +0 -83
- package/build/cjs/src/blog-v3-draft-draft-posts.http.js +0 -1803
- package/build/cjs/src/blog-v3-draft-draft-posts.http.js.map +0 -1
- package/build/cjs/src/blog-v3-draft-draft-posts.meta.d.ts +0 -40
- package/build/cjs/src/blog-v3-draft-draft-posts.meta.js +0 -294
- package/build/cjs/src/blog-v3-draft-draft-posts.meta.js.map +0 -1
- package/build/cjs/src/blog-v3-draft-draft-posts.public.d.ts +0 -168
- package/build/cjs/src/blog-v3-draft-draft-posts.public.js +0 -339
- package/build/cjs/src/blog-v3-draft-draft-posts.public.js.map +0 -1
- package/build/cjs/src/blog-v3-draft-draft-posts.types.js +0 -476
- package/build/cjs/src/blog-v3-draft-draft-posts.types.js.map +0 -1
- package/build/cjs/src/blog-v3-draft-draft-posts.universal.js +0 -1497
- package/build/cjs/src/blog-v3-draft-draft-posts.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/blog-v3-draft-draft-posts.context.d.ts +0 -34
- package/build/es/src/blog-v3-draft-draft-posts.context.js +0 -34
- package/build/es/src/blog-v3-draft-draft-posts.context.js.map +0 -1
- package/build/es/src/blog-v3-draft-draft-posts.http.d.ts +0 -83
- package/build/es/src/blog-v3-draft-draft-posts.http.js +0 -1786
- package/build/es/src/blog-v3-draft-draft-posts.http.js.map +0 -1
- package/build/es/src/blog-v3-draft-draft-posts.meta.d.ts +0 -40
- package/build/es/src/blog-v3-draft-draft-posts.meta.js +0 -254
- package/build/es/src/blog-v3-draft-draft-posts.meta.js.map +0 -1
- package/build/es/src/blog-v3-draft-draft-posts.public.d.ts +0 -168
- package/build/es/src/blog-v3-draft-draft-posts.public.js +0 -281
- package/build/es/src/blog-v3-draft-draft-posts.public.js.map +0 -1
- package/build/es/src/blog-v3-draft-draft-posts.types.js +0 -473
- package/build/es/src/blog-v3-draft-draft-posts.types.js.map +0 -1
- package/build/es/src/blog-v3-draft-draft-posts.universal.js +0 -1456
- package/build/es/src/blog-v3-draft-draft-posts.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.context.d.ts +0 -34
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.context.js +0 -78
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.context.js.map +0 -1
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.http.d.ts +0 -83
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.http.js +0 -1803
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.http.js.map +0 -1
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.meta.d.ts +0 -40
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.meta.js +0 -294
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.meta.js.map +0 -1
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.public.d.ts +0 -168
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.public.js +0 -339
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.public.js.map +0 -1
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.types.js +0 -476
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.types.js.map +0 -1
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.universal.js +0 -1497
- package/build/internal/cjs/src/blog-v3-draft-draft-posts.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/blog-v3-draft-draft-posts.context.d.ts +0 -34
- package/build/internal/es/src/blog-v3-draft-draft-posts.context.js +0 -34
- package/build/internal/es/src/blog-v3-draft-draft-posts.context.js.map +0 -1
- package/build/internal/es/src/blog-v3-draft-draft-posts.http.d.ts +0 -83
- package/build/internal/es/src/blog-v3-draft-draft-posts.http.js +0 -1786
- package/build/internal/es/src/blog-v3-draft-draft-posts.http.js.map +0 -1
- package/build/internal/es/src/blog-v3-draft-draft-posts.meta.d.ts +0 -40
- package/build/internal/es/src/blog-v3-draft-draft-posts.meta.js +0 -254
- package/build/internal/es/src/blog-v3-draft-draft-posts.meta.js.map +0 -1
- package/build/internal/es/src/blog-v3-draft-draft-posts.public.d.ts +0 -168
- package/build/internal/es/src/blog-v3-draft-draft-posts.public.js +0 -281
- package/build/internal/es/src/blog-v3-draft-draft-posts.public.js.map +0 -1
- package/build/internal/es/src/blog-v3-draft-draft-posts.types.js +0 -473
- package/build/internal/es/src/blog-v3-draft-draft-posts.types.js.map +0 -1
- package/build/internal/es/src/blog-v3-draft-draft-posts.universal.js +0 -1456
- package/build/internal/es/src/blog-v3-draft-draft-posts.universal.js.map +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export interface DraftPost {
|
|
1
|
+
interface DraftPost {
|
|
3
2
|
/**
|
|
4
3
|
* Draft post ID.
|
|
5
4
|
* @readonly
|
|
@@ -134,7 +133,7 @@ export interface DraftPost {
|
|
|
134
133
|
/** Number of paragraphs to display in a paid content preview for non-paying users. */
|
|
135
134
|
previewTextParagraph?: number | null;
|
|
136
135
|
}
|
|
137
|
-
|
|
136
|
+
interface CoverMedia extends CoverMediaMediaOneOf {
|
|
138
137
|
/** Image url. */
|
|
139
138
|
image?: string;
|
|
140
139
|
/** Video url. */
|
|
@@ -165,13 +164,13 @@ export interface CoverMedia extends CoverMediaMediaOneOf {
|
|
|
165
164
|
altText?: string | null;
|
|
166
165
|
}
|
|
167
166
|
/** @oneof */
|
|
168
|
-
|
|
167
|
+
interface CoverMediaMediaOneOf {
|
|
169
168
|
/** Image url. */
|
|
170
169
|
image?: string;
|
|
171
170
|
/** Video url. */
|
|
172
171
|
video?: string;
|
|
173
172
|
}
|
|
174
|
-
|
|
173
|
+
interface FocalPoint {
|
|
175
174
|
/** X-coordinate of the focal point. */
|
|
176
175
|
x?: number;
|
|
177
176
|
/** Y-coordinate of the focal point. */
|
|
@@ -181,7 +180,7 @@ export interface FocalPoint {
|
|
|
181
180
|
/** crop by width */
|
|
182
181
|
width?: number | null;
|
|
183
182
|
}
|
|
184
|
-
|
|
183
|
+
declare enum Origin {
|
|
185
184
|
UNKNOWN = "UNKNOWN",
|
|
186
185
|
/** Changed by admin */
|
|
187
186
|
ADMIN = "ADMIN",
|
|
@@ -254,7 +253,7 @@ export declare enum Origin {
|
|
|
254
253
|
/** Saved automatically by AI tool. */
|
|
255
254
|
AI_AUTO_SAVE = "AI_AUTO_SAVE"
|
|
256
255
|
}
|
|
257
|
-
|
|
256
|
+
interface RichContent {
|
|
258
257
|
/** Node objects representing a rich content document. */
|
|
259
258
|
nodes?: Node[];
|
|
260
259
|
/** Object metadata. */
|
|
@@ -262,7 +261,7 @@ export interface RichContent {
|
|
|
262
261
|
/** Global styling for header, paragraph, block quote, and code block nodes in the object. */
|
|
263
262
|
documentStyle?: DocumentStyle;
|
|
264
263
|
}
|
|
265
|
-
|
|
264
|
+
interface Node extends NodeDataOneOf {
|
|
266
265
|
/** Data for a button node. */
|
|
267
266
|
buttonData?: ButtonData;
|
|
268
267
|
/** Data for a code block node. */
|
|
@@ -327,7 +326,7 @@ export interface Node extends NodeDataOneOf {
|
|
|
327
326
|
style?: NodeStyle;
|
|
328
327
|
}
|
|
329
328
|
/** @oneof */
|
|
330
|
-
|
|
329
|
+
interface NodeDataOneOf {
|
|
331
330
|
/** Data for a button node. */
|
|
332
331
|
buttonData?: ButtonData;
|
|
333
332
|
/** Data for a code block node. */
|
|
@@ -383,7 +382,7 @@ export interface NodeDataOneOf {
|
|
|
383
382
|
/** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
|
|
384
383
|
layoutCellData?: LayoutCellData;
|
|
385
384
|
}
|
|
386
|
-
|
|
385
|
+
declare enum NodeType {
|
|
387
386
|
PARAGRAPH = "PARAGRAPH",
|
|
388
387
|
TEXT = "TEXT",
|
|
389
388
|
HEADING = "HEADING",
|
|
@@ -419,7 +418,7 @@ export declare enum NodeType {
|
|
|
419
418
|
LAYOUT = "LAYOUT",
|
|
420
419
|
LAYOUT_CELL = "LAYOUT_CELL"
|
|
421
420
|
}
|
|
422
|
-
|
|
421
|
+
interface NodeStyle {
|
|
423
422
|
/** The top padding value in pixels. */
|
|
424
423
|
paddingTop?: string | null;
|
|
425
424
|
/** The bottom padding value in pixels. */
|
|
@@ -427,7 +426,7 @@ export interface NodeStyle {
|
|
|
427
426
|
/** The background color as a hexadecimal value. */
|
|
428
427
|
backgroundColor?: string | null;
|
|
429
428
|
}
|
|
430
|
-
|
|
429
|
+
interface ButtonData {
|
|
431
430
|
/** Styling for the button's container. */
|
|
432
431
|
containerData?: PluginContainerData;
|
|
433
432
|
/** The button type. */
|
|
@@ -439,7 +438,7 @@ export interface ButtonData {
|
|
|
439
438
|
/** Button link details. */
|
|
440
439
|
link?: Link;
|
|
441
440
|
}
|
|
442
|
-
|
|
441
|
+
interface Border {
|
|
443
442
|
/**
|
|
444
443
|
* Deprecated: Use `borderWidth` in `styles` instead.
|
|
445
444
|
* @deprecated
|
|
@@ -451,7 +450,7 @@ export interface Border {
|
|
|
451
450
|
*/
|
|
452
451
|
radius?: number | null;
|
|
453
452
|
}
|
|
454
|
-
|
|
453
|
+
interface Colors {
|
|
455
454
|
/**
|
|
456
455
|
* Deprecated: Use `textColor` in `styles` instead.
|
|
457
456
|
* @deprecated
|
|
@@ -468,7 +467,7 @@ export interface Colors {
|
|
|
468
467
|
*/
|
|
469
468
|
background?: string | null;
|
|
470
469
|
}
|
|
471
|
-
|
|
470
|
+
interface PluginContainerData {
|
|
472
471
|
/** The width of the node when it's displayed. */
|
|
473
472
|
width?: PluginContainerDataWidth;
|
|
474
473
|
/** The node's alignment within its container. */
|
|
@@ -480,7 +479,7 @@ export interface PluginContainerData {
|
|
|
480
479
|
/** Sets whether text should wrap around this node when it's displayed. If `textWrap` is `false`, the node takes up the width of its container. Defaults to `true` for all node types except 'DIVIVDER' where it defaults to `false`. */
|
|
481
480
|
textWrap?: boolean | null;
|
|
482
481
|
}
|
|
483
|
-
|
|
482
|
+
declare enum WidthType {
|
|
484
483
|
/** Width matches the content width */
|
|
485
484
|
CONTENT = "CONTENT",
|
|
486
485
|
/** Small Width */
|
|
@@ -490,7 +489,7 @@ export declare enum WidthType {
|
|
|
490
489
|
/** coast-to-coast display */
|
|
491
490
|
FULL_WIDTH = "FULL_WIDTH"
|
|
492
491
|
}
|
|
493
|
-
|
|
492
|
+
interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
|
|
494
493
|
/**
|
|
495
494
|
* One of the following predefined width options:
|
|
496
495
|
* `CONTENT`: The width of the container matches the content width.
|
|
@@ -503,7 +502,7 @@ export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOn
|
|
|
503
502
|
custom?: string | null;
|
|
504
503
|
}
|
|
505
504
|
/** @oneof */
|
|
506
|
-
|
|
505
|
+
interface PluginContainerDataWidthDataOneOf {
|
|
507
506
|
/**
|
|
508
507
|
* One of the following predefined width options:
|
|
509
508
|
* `CONTENT`: The width of the container matches the content width.
|
|
@@ -515,7 +514,7 @@ export interface PluginContainerDataWidthDataOneOf {
|
|
|
515
514
|
/** A custom width value in pixels. */
|
|
516
515
|
custom?: string | null;
|
|
517
516
|
}
|
|
518
|
-
|
|
517
|
+
declare enum PluginContainerDataAlignment {
|
|
519
518
|
/** Center Alignment */
|
|
520
519
|
CENTER = "CENTER",
|
|
521
520
|
/** Left Alignment */
|
|
@@ -523,7 +522,7 @@ export declare enum PluginContainerDataAlignment {
|
|
|
523
522
|
/** Right Alignment */
|
|
524
523
|
RIGHT = "RIGHT"
|
|
525
524
|
}
|
|
526
|
-
|
|
525
|
+
interface Spoiler {
|
|
527
526
|
/** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
|
|
528
527
|
enabled?: boolean | null;
|
|
529
528
|
/** The description displayed on top of the spoiler cover. */
|
|
@@ -531,17 +530,17 @@ export interface Spoiler {
|
|
|
531
530
|
/** The text for the button used to remove the spoiler cover. */
|
|
532
531
|
buttonText?: string | null;
|
|
533
532
|
}
|
|
534
|
-
|
|
533
|
+
interface Height {
|
|
535
534
|
/** A custom height value in pixels. */
|
|
536
535
|
custom?: string | null;
|
|
537
536
|
}
|
|
538
|
-
|
|
537
|
+
declare enum ButtonDataType {
|
|
539
538
|
/** Regular link button */
|
|
540
539
|
LINK = "LINK",
|
|
541
540
|
/** Triggers custom action that is defined in plugin configuration by the consumer */
|
|
542
541
|
ACTION = "ACTION"
|
|
543
542
|
}
|
|
544
|
-
|
|
543
|
+
interface Styles {
|
|
545
544
|
/**
|
|
546
545
|
* Deprecated: Use `borderWidth` and `borderRadius` instead.
|
|
547
546
|
* @deprecated
|
|
@@ -594,7 +593,7 @@ export interface Styles {
|
|
|
594
593
|
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
595
594
|
buttonSize?: string | null;
|
|
596
595
|
}
|
|
597
|
-
|
|
596
|
+
interface Link extends LinkDataOneOf {
|
|
598
597
|
/** The absolute URL for the linked document. */
|
|
599
598
|
url?: string;
|
|
600
599
|
/** The target node's ID. Used for linking to another node in this object. */
|
|
@@ -613,13 +612,13 @@ export interface Link extends LinkDataOneOf {
|
|
|
613
612
|
customData?: string | null;
|
|
614
613
|
}
|
|
615
614
|
/** @oneof */
|
|
616
|
-
|
|
615
|
+
interface LinkDataOneOf {
|
|
617
616
|
/** The absolute URL for the linked document. */
|
|
618
617
|
url?: string;
|
|
619
618
|
/** The target node's ID. Used for linking to another node in this object. */
|
|
620
619
|
anchor?: string;
|
|
621
620
|
}
|
|
622
|
-
|
|
621
|
+
declare enum Target {
|
|
623
622
|
/** Opens the linked document in the same frame as it was clicked (this is default) */
|
|
624
623
|
SELF = "SELF",
|
|
625
624
|
/** Opens the linked document in a new window or tab */
|
|
@@ -629,7 +628,7 @@ export declare enum Target {
|
|
|
629
628
|
/** Opens the linked document in the full body of the window */
|
|
630
629
|
TOP = "TOP"
|
|
631
630
|
}
|
|
632
|
-
|
|
631
|
+
interface Rel {
|
|
633
632
|
/** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
|
|
634
633
|
nofollow?: boolean | null;
|
|
635
634
|
/** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
|
|
@@ -639,17 +638,17 @@ export interface Rel {
|
|
|
639
638
|
/** Indicates that this link protect referral information from being passed to the target website. */
|
|
640
639
|
noreferrer?: boolean | null;
|
|
641
640
|
}
|
|
642
|
-
|
|
641
|
+
interface CodeBlockData {
|
|
643
642
|
/** Styling for the code block's text. */
|
|
644
643
|
textStyle?: TextStyle;
|
|
645
644
|
}
|
|
646
|
-
|
|
645
|
+
interface TextStyle {
|
|
647
646
|
/** Text alignment. Defaults to `AUTO`. */
|
|
648
647
|
textAlignment?: TextAlignment;
|
|
649
648
|
/** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */
|
|
650
649
|
lineHeight?: string | null;
|
|
651
650
|
}
|
|
652
|
-
|
|
651
|
+
declare enum TextAlignment {
|
|
653
652
|
/** browser default, eqivalent to `initial` */
|
|
654
653
|
AUTO = "AUTO",
|
|
655
654
|
/** Left align */
|
|
@@ -661,7 +660,7 @@ export declare enum TextAlignment {
|
|
|
661
660
|
/** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */
|
|
662
661
|
JUSTIFY = "JUSTIFY"
|
|
663
662
|
}
|
|
664
|
-
|
|
663
|
+
interface DividerData {
|
|
665
664
|
/** Styling for the divider's container. */
|
|
666
665
|
containerData?: PluginContainerData;
|
|
667
666
|
/** Divider line style. */
|
|
@@ -671,7 +670,7 @@ export interface DividerData {
|
|
|
671
670
|
/** Divider alignment. */
|
|
672
671
|
alignment?: Alignment;
|
|
673
672
|
}
|
|
674
|
-
|
|
673
|
+
declare enum LineStyle {
|
|
675
674
|
/** Single Line */
|
|
676
675
|
SINGLE = "SINGLE",
|
|
677
676
|
/** Double Line */
|
|
@@ -681,7 +680,7 @@ export declare enum LineStyle {
|
|
|
681
680
|
/** Dotted Line */
|
|
682
681
|
DOTTED = "DOTTED"
|
|
683
682
|
}
|
|
684
|
-
|
|
683
|
+
declare enum Width {
|
|
685
684
|
/** Large line */
|
|
686
685
|
LARGE = "LARGE",
|
|
687
686
|
/** Medium line */
|
|
@@ -689,7 +688,7 @@ export declare enum Width {
|
|
|
689
688
|
/** Small line */
|
|
690
689
|
SMALL = "SMALL"
|
|
691
690
|
}
|
|
692
|
-
|
|
691
|
+
declare enum Alignment {
|
|
693
692
|
/** Center alignment */
|
|
694
693
|
CENTER = "CENTER",
|
|
695
694
|
/** Left alignment */
|
|
@@ -697,7 +696,7 @@ export declare enum Alignment {
|
|
|
697
696
|
/** Right alignment */
|
|
698
697
|
RIGHT = "RIGHT"
|
|
699
698
|
}
|
|
700
|
-
|
|
699
|
+
interface FileData {
|
|
701
700
|
/** Styling for the file's container. */
|
|
702
701
|
containerData?: PluginContainerData;
|
|
703
702
|
/** The source for the file's data. */
|
|
@@ -720,7 +719,7 @@ export interface FileData {
|
|
|
720
719
|
/** File size in KB. */
|
|
721
720
|
sizeInKb?: string | null;
|
|
722
721
|
}
|
|
723
|
-
|
|
722
|
+
declare enum ViewMode {
|
|
724
723
|
/** No PDF view */
|
|
725
724
|
NONE = "NONE",
|
|
726
725
|
/** Full PDF view */
|
|
@@ -728,7 +727,7 @@ export declare enum ViewMode {
|
|
|
728
727
|
/** Mini PDF view */
|
|
729
728
|
MINI = "MINI"
|
|
730
729
|
}
|
|
731
|
-
|
|
730
|
+
interface FileSource extends FileSourceDataOneOf {
|
|
732
731
|
/** The absolute URL for the file's source. */
|
|
733
732
|
url?: string | null;
|
|
734
733
|
/**
|
|
@@ -742,7 +741,7 @@ export interface FileSource extends FileSourceDataOneOf {
|
|
|
742
741
|
private?: boolean | null;
|
|
743
742
|
}
|
|
744
743
|
/** @oneof */
|
|
745
|
-
|
|
744
|
+
interface FileSourceDataOneOf {
|
|
746
745
|
/** The absolute URL for the file's source. */
|
|
747
746
|
url?: string | null;
|
|
748
747
|
/**
|
|
@@ -753,7 +752,7 @@ export interface FileSourceDataOneOf {
|
|
|
753
752
|
/** An ID that's resolved to a URL by a resolver function. */
|
|
754
753
|
_id?: string | null;
|
|
755
754
|
}
|
|
756
|
-
|
|
755
|
+
interface PDFSettings {
|
|
757
756
|
/**
|
|
758
757
|
* PDF view mode. One of the following:
|
|
759
758
|
* `NONE` : The PDF isn't displayed.
|
|
@@ -766,7 +765,7 @@ export interface PDFSettings {
|
|
|
766
765
|
/** Sets whether the PDF print button is disabled. Defaults to `false`. */
|
|
767
766
|
disablePrint?: boolean | null;
|
|
768
767
|
}
|
|
769
|
-
|
|
768
|
+
interface GalleryData {
|
|
770
769
|
/** Styling for the gallery's container. */
|
|
771
770
|
containerData?: PluginContainerData;
|
|
772
771
|
/** The items in the gallery. */
|
|
@@ -778,7 +777,7 @@ export interface GalleryData {
|
|
|
778
777
|
/** Sets whether the gallery's download button is disabled. Defaults to `false`. */
|
|
779
778
|
disableDownload?: boolean | null;
|
|
780
779
|
}
|
|
781
|
-
|
|
780
|
+
interface V1Media {
|
|
782
781
|
/** The source for the media's data. */
|
|
783
782
|
src?: FileSource;
|
|
784
783
|
/** Media width in pixels. */
|
|
@@ -788,19 +787,19 @@ export interface V1Media {
|
|
|
788
787
|
/** Media duration in seconds. Only relevant for audio and video files. */
|
|
789
788
|
duration?: number | null;
|
|
790
789
|
}
|
|
791
|
-
|
|
790
|
+
interface Image {
|
|
792
791
|
/** Image file details. */
|
|
793
792
|
media?: V1Media;
|
|
794
793
|
/** Link details for images that are links. */
|
|
795
794
|
link?: Link;
|
|
796
795
|
}
|
|
797
|
-
|
|
796
|
+
interface Video {
|
|
798
797
|
/** Video file details. */
|
|
799
798
|
media?: V1Media;
|
|
800
799
|
/** Video thumbnail file details. */
|
|
801
800
|
thumbnail?: V1Media;
|
|
802
801
|
}
|
|
803
|
-
|
|
802
|
+
interface Item extends ItemDataOneOf {
|
|
804
803
|
/** An image item. */
|
|
805
804
|
image?: Image;
|
|
806
805
|
/** A video item. */
|
|
@@ -811,13 +810,13 @@ export interface Item extends ItemDataOneOf {
|
|
|
811
810
|
altText?: string | null;
|
|
812
811
|
}
|
|
813
812
|
/** @oneof */
|
|
814
|
-
|
|
813
|
+
interface ItemDataOneOf {
|
|
815
814
|
/** An image item. */
|
|
816
815
|
image?: Image;
|
|
817
816
|
/** A video item. */
|
|
818
817
|
video?: Video;
|
|
819
818
|
}
|
|
820
|
-
|
|
819
|
+
interface GalleryOptions {
|
|
821
820
|
/** Gallery layout. */
|
|
822
821
|
layout?: Layout;
|
|
823
822
|
/** Styling for gallery items. */
|
|
@@ -825,7 +824,7 @@ export interface GalleryOptions {
|
|
|
825
824
|
/** Styling for gallery thumbnail images. */
|
|
826
825
|
thumbnails?: Thumbnails;
|
|
827
826
|
}
|
|
828
|
-
|
|
827
|
+
declare enum LayoutType {
|
|
829
828
|
/** Collage type */
|
|
830
829
|
COLLAGE = "COLLAGE",
|
|
831
830
|
/** Masonry type */
|
|
@@ -847,19 +846,19 @@ export declare enum LayoutType {
|
|
|
847
846
|
/** Fullsize images type */
|
|
848
847
|
FULLSIZE = "FULLSIZE"
|
|
849
848
|
}
|
|
850
|
-
|
|
849
|
+
declare enum Orientation {
|
|
851
850
|
/** Rows Orientation */
|
|
852
851
|
ROWS = "ROWS",
|
|
853
852
|
/** Columns Orientation */
|
|
854
853
|
COLUMNS = "COLUMNS"
|
|
855
854
|
}
|
|
856
|
-
|
|
855
|
+
declare enum Crop {
|
|
857
856
|
/** Crop to fill */
|
|
858
857
|
FILL = "FILL",
|
|
859
858
|
/** Crop to fit */
|
|
860
859
|
FIT = "FIT"
|
|
861
860
|
}
|
|
862
|
-
|
|
861
|
+
declare enum ThumbnailsAlignment {
|
|
863
862
|
/** Top alignment */
|
|
864
863
|
TOP = "TOP",
|
|
865
864
|
/** Right alignment */
|
|
@@ -871,7 +870,7 @@ export declare enum ThumbnailsAlignment {
|
|
|
871
870
|
/** No thumbnail */
|
|
872
871
|
NONE = "NONE"
|
|
873
872
|
}
|
|
874
|
-
|
|
873
|
+
interface Layout {
|
|
875
874
|
/** Gallery layout type. */
|
|
876
875
|
type?: LayoutType;
|
|
877
876
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
|
@@ -883,7 +882,7 @@ export interface Layout {
|
|
|
883
882
|
/** The number of columns to display on mobile screens. */
|
|
884
883
|
mobileNumberOfColumns?: number | null;
|
|
885
884
|
}
|
|
886
|
-
|
|
885
|
+
interface ItemStyle {
|
|
887
886
|
/** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */
|
|
888
887
|
targetSize?: number | null;
|
|
889
888
|
/** Item ratio */
|
|
@@ -893,13 +892,13 @@ export interface ItemStyle {
|
|
|
893
892
|
/** The spacing between items in pixels. */
|
|
894
893
|
spacing?: number | null;
|
|
895
894
|
}
|
|
896
|
-
|
|
895
|
+
interface Thumbnails {
|
|
897
896
|
/** Thumbnail alignment. */
|
|
898
897
|
placement?: ThumbnailsAlignment;
|
|
899
898
|
/** Spacing between thumbnails in pixels. */
|
|
900
899
|
spacing?: number | null;
|
|
901
900
|
}
|
|
902
|
-
|
|
901
|
+
interface GIFData {
|
|
903
902
|
/** Styling for the GIF's container. */
|
|
904
903
|
containerData?: PluginContainerData;
|
|
905
904
|
/** The source of the full size GIF. */
|
|
@@ -913,7 +912,7 @@ export interface GIFData {
|
|
|
913
912
|
/** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
|
|
914
913
|
gifType?: GIFType;
|
|
915
914
|
}
|
|
916
|
-
|
|
915
|
+
interface GIF {
|
|
917
916
|
/**
|
|
918
917
|
* GIF format URL.
|
|
919
918
|
* @format WEB_URL
|
|
@@ -930,11 +929,11 @@ export interface GIF {
|
|
|
930
929
|
*/
|
|
931
930
|
still?: string | null;
|
|
932
931
|
}
|
|
933
|
-
|
|
932
|
+
declare enum GIFType {
|
|
934
933
|
NORMAL = "NORMAL",
|
|
935
934
|
STICKER = "STICKER"
|
|
936
935
|
}
|
|
937
|
-
|
|
936
|
+
interface HeadingData {
|
|
938
937
|
/** Heading level from 1-6. */
|
|
939
938
|
level?: number;
|
|
940
939
|
/** Styling for the heading text. */
|
|
@@ -942,7 +941,7 @@ export interface HeadingData {
|
|
|
942
941
|
/** Indentation level from 1-4. */
|
|
943
942
|
indentation?: number | null;
|
|
944
943
|
}
|
|
945
|
-
|
|
944
|
+
interface HTMLData extends HTMLDataDataOneOf {
|
|
946
945
|
/** The URL for the HTML code for the node. */
|
|
947
946
|
url?: string;
|
|
948
947
|
/** The HTML code for the node. */
|
|
@@ -960,7 +959,7 @@ export interface HTMLData extends HTMLDataDataOneOf {
|
|
|
960
959
|
autoHeight?: boolean | null;
|
|
961
960
|
}
|
|
962
961
|
/** @oneof */
|
|
963
|
-
|
|
962
|
+
interface HTMLDataDataOneOf {
|
|
964
963
|
/** The URL for the HTML code for the node. */
|
|
965
964
|
url?: string;
|
|
966
965
|
/** The HTML code for the node. */
|
|
@@ -971,11 +970,11 @@ export interface HTMLDataDataOneOf {
|
|
|
971
970
|
*/
|
|
972
971
|
isAdsense?: boolean | null;
|
|
973
972
|
}
|
|
974
|
-
|
|
973
|
+
declare enum Source {
|
|
975
974
|
HTML = "HTML",
|
|
976
975
|
ADSENSE = "ADSENSE"
|
|
977
976
|
}
|
|
978
|
-
|
|
977
|
+
interface ImageData {
|
|
979
978
|
/** Styling for the image's container. */
|
|
980
979
|
containerData?: PluginContainerData;
|
|
981
980
|
/** Image file details. */
|
|
@@ -998,7 +997,7 @@ export interface ImageData {
|
|
|
998
997
|
/** Styling for the image. */
|
|
999
998
|
styles?: ImageDataStyles;
|
|
1000
999
|
}
|
|
1001
|
-
|
|
1000
|
+
interface StylesBorder {
|
|
1002
1001
|
/** Border width in pixels. */
|
|
1003
1002
|
width?: number | null;
|
|
1004
1003
|
/**
|
|
@@ -1009,11 +1008,11 @@ export interface StylesBorder {
|
|
|
1009
1008
|
/** Border radius in pixels. */
|
|
1010
1009
|
radius?: number | null;
|
|
1011
1010
|
}
|
|
1012
|
-
|
|
1011
|
+
interface ImageDataStyles {
|
|
1013
1012
|
/** Border attributes. */
|
|
1014
1013
|
border?: StylesBorder;
|
|
1015
1014
|
}
|
|
1016
|
-
|
|
1015
|
+
interface LinkPreviewData {
|
|
1017
1016
|
/** Styling for the link preview's container. */
|
|
1018
1017
|
containerData?: PluginContainerData;
|
|
1019
1018
|
/** Link details. */
|
|
@@ -1029,7 +1028,7 @@ export interface LinkPreviewData {
|
|
|
1029
1028
|
/** Styling for the link preview. */
|
|
1030
1029
|
styles?: LinkPreviewDataStyles;
|
|
1031
1030
|
}
|
|
1032
|
-
|
|
1031
|
+
declare enum Position {
|
|
1033
1032
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
1034
1033
|
START = "START",
|
|
1035
1034
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
@@ -1039,7 +1038,7 @@ export declare enum Position {
|
|
|
1039
1038
|
/** Thumbnail hidden and not displayed */
|
|
1040
1039
|
HIDDEN = "HIDDEN"
|
|
1041
1040
|
}
|
|
1042
|
-
|
|
1041
|
+
interface LinkPreviewDataStyles {
|
|
1043
1042
|
/**
|
|
1044
1043
|
* Background color as a hexadecimal value.
|
|
1045
1044
|
* @format COLOR_HEX
|
|
@@ -1072,13 +1071,13 @@ export interface LinkPreviewDataStyles {
|
|
|
1072
1071
|
/** Position of thumbnail. Defaults to `START`. */
|
|
1073
1072
|
thumbnailPosition?: Position;
|
|
1074
1073
|
}
|
|
1075
|
-
|
|
1074
|
+
interface MapData {
|
|
1076
1075
|
/** Styling for the map's container. */
|
|
1077
1076
|
containerData?: PluginContainerData;
|
|
1078
1077
|
/** Map settings. */
|
|
1079
1078
|
mapSettings?: MapSettings;
|
|
1080
1079
|
}
|
|
1081
|
-
|
|
1080
|
+
interface MapSettings {
|
|
1082
1081
|
/** The address to display on the map. */
|
|
1083
1082
|
address?: string | null;
|
|
1084
1083
|
/** Sets whether the map is draggable. */
|
|
@@ -1102,7 +1101,7 @@ export interface MapSettings {
|
|
|
1102
1101
|
/** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
|
|
1103
1102
|
mapType?: MapType;
|
|
1104
1103
|
}
|
|
1105
|
-
|
|
1104
|
+
declare enum MapType {
|
|
1106
1105
|
/** Roadmap map type */
|
|
1107
1106
|
ROADMAP = "ROADMAP",
|
|
1108
1107
|
/** Satellite map type */
|
|
@@ -1112,7 +1111,7 @@ export declare enum MapType {
|
|
|
1112
1111
|
/** Terrain map type */
|
|
1113
1112
|
TERRAIN = "TERRAIN"
|
|
1114
1113
|
}
|
|
1115
|
-
|
|
1114
|
+
interface ParagraphData {
|
|
1116
1115
|
/** Styling for the paragraph text. */
|
|
1117
1116
|
textStyle?: TextStyle;
|
|
1118
1117
|
/** Indentation level from 1-4. */
|
|
@@ -1120,7 +1119,7 @@ export interface ParagraphData {
|
|
|
1120
1119
|
/** Paragraph level */
|
|
1121
1120
|
level?: number | null;
|
|
1122
1121
|
}
|
|
1123
|
-
|
|
1122
|
+
interface PollData {
|
|
1124
1123
|
/** Styling for the poll's container. */
|
|
1125
1124
|
containerData?: PluginContainerData;
|
|
1126
1125
|
/** Poll data. */
|
|
@@ -1130,7 +1129,7 @@ export interface PollData {
|
|
|
1130
1129
|
/** Styling for the poll and voting options. */
|
|
1131
1130
|
design?: Design;
|
|
1132
1131
|
}
|
|
1133
|
-
|
|
1132
|
+
declare enum ViewRole {
|
|
1134
1133
|
/** Only Poll creator can view the results */
|
|
1135
1134
|
CREATOR = "CREATOR",
|
|
1136
1135
|
/** Anyone who voted can see the results */
|
|
@@ -1138,13 +1137,13 @@ export declare enum ViewRole {
|
|
|
1138
1137
|
/** Anyone can see the results, even if one didn't vote */
|
|
1139
1138
|
EVERYONE = "EVERYONE"
|
|
1140
1139
|
}
|
|
1141
|
-
|
|
1140
|
+
declare enum VoteRole {
|
|
1142
1141
|
/** Logged in member */
|
|
1143
1142
|
SITE_MEMBERS = "SITE_MEMBERS",
|
|
1144
1143
|
/** Anyone */
|
|
1145
1144
|
ALL = "ALL"
|
|
1146
1145
|
}
|
|
1147
|
-
|
|
1146
|
+
interface Permissions {
|
|
1148
1147
|
/** Sets who can view the poll results. */
|
|
1149
1148
|
view?: ViewRole;
|
|
1150
1149
|
/** Sets who can vote. */
|
|
@@ -1152,7 +1151,7 @@ export interface Permissions {
|
|
|
1152
1151
|
/** Sets whether one voter can vote multiple times. Defaults to `false`. */
|
|
1153
1152
|
allowMultipleVotes?: boolean | null;
|
|
1154
1153
|
}
|
|
1155
|
-
|
|
1154
|
+
interface Option {
|
|
1156
1155
|
/** Option ID. */
|
|
1157
1156
|
_id?: string | null;
|
|
1158
1157
|
/** Option title. */
|
|
@@ -1160,7 +1159,7 @@ export interface Option {
|
|
|
1160
1159
|
/** The image displayed with the option. */
|
|
1161
1160
|
image?: V1Media;
|
|
1162
1161
|
}
|
|
1163
|
-
|
|
1162
|
+
interface PollSettings {
|
|
1164
1163
|
/** Permissions settings for voting. */
|
|
1165
1164
|
permissions?: Permissions;
|
|
1166
1165
|
/** Sets whether voters are displayed in the vote results. Defaults to `true`. */
|
|
@@ -1168,19 +1167,19 @@ export interface PollSettings {
|
|
|
1168
1167
|
/** Sets whether the vote count is displayed. Defaults to `true`. */
|
|
1169
1168
|
showVotesCount?: boolean | null;
|
|
1170
1169
|
}
|
|
1171
|
-
|
|
1170
|
+
declare enum PollLayoutType {
|
|
1172
1171
|
/** List */
|
|
1173
1172
|
LIST = "LIST",
|
|
1174
1173
|
/** Grid */
|
|
1175
1174
|
GRID = "GRID"
|
|
1176
1175
|
}
|
|
1177
|
-
|
|
1176
|
+
declare enum PollLayoutDirection {
|
|
1178
1177
|
/** Left-to-right */
|
|
1179
1178
|
LTR = "LTR",
|
|
1180
1179
|
/** Right-to-left */
|
|
1181
1180
|
RTL = "RTL"
|
|
1182
1181
|
}
|
|
1183
|
-
|
|
1182
|
+
interface PollLayout {
|
|
1184
1183
|
/** The layout for displaying the voting options. */
|
|
1185
1184
|
type?: PollLayoutType;
|
|
1186
1185
|
/** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
|
|
@@ -1188,11 +1187,11 @@ export interface PollLayout {
|
|
|
1188
1187
|
/** Sets whether to display the main poll image. Defaults to `false`. */
|
|
1189
1188
|
enableImage?: boolean | null;
|
|
1190
1189
|
}
|
|
1191
|
-
|
|
1190
|
+
interface OptionLayout {
|
|
1192
1191
|
/** Sets whether to display option images. Defaults to `false`. */
|
|
1193
1192
|
enableImage?: boolean | null;
|
|
1194
1193
|
}
|
|
1195
|
-
|
|
1194
|
+
declare enum BackgroundType {
|
|
1196
1195
|
/** Color background type */
|
|
1197
1196
|
COLOR = "COLOR",
|
|
1198
1197
|
/** Image background type */
|
|
@@ -1200,7 +1199,7 @@ export declare enum BackgroundType {
|
|
|
1200
1199
|
/** Gradiant background type */
|
|
1201
1200
|
GRADIENT = "GRADIENT"
|
|
1202
1201
|
}
|
|
1203
|
-
|
|
1202
|
+
interface Gradient {
|
|
1204
1203
|
/** The gradient angle in degrees. */
|
|
1205
1204
|
angle?: number | null;
|
|
1206
1205
|
/**
|
|
@@ -1214,7 +1213,7 @@ export interface Gradient {
|
|
|
1214
1213
|
*/
|
|
1215
1214
|
lastColor?: string | null;
|
|
1216
1215
|
}
|
|
1217
|
-
|
|
1216
|
+
interface Background extends BackgroundBackgroundOneOf {
|
|
1218
1217
|
/**
|
|
1219
1218
|
* The background color as a hexademical value.
|
|
1220
1219
|
* @format COLOR_HEX
|
|
@@ -1228,7 +1227,7 @@ export interface Background extends BackgroundBackgroundOneOf {
|
|
|
1228
1227
|
type?: BackgroundType;
|
|
1229
1228
|
}
|
|
1230
1229
|
/** @oneof */
|
|
1231
|
-
|
|
1230
|
+
interface BackgroundBackgroundOneOf {
|
|
1232
1231
|
/**
|
|
1233
1232
|
* The background color as a hexademical value.
|
|
1234
1233
|
* @format COLOR_HEX
|
|
@@ -1239,17 +1238,17 @@ export interface BackgroundBackgroundOneOf {
|
|
|
1239
1238
|
/** Details for a gradient background. */
|
|
1240
1239
|
gradient?: Gradient;
|
|
1241
1240
|
}
|
|
1242
|
-
|
|
1241
|
+
interface PollDesign {
|
|
1243
1242
|
/** Background styling. */
|
|
1244
1243
|
background?: Background;
|
|
1245
1244
|
/** Border radius in pixels. */
|
|
1246
1245
|
borderRadius?: number | null;
|
|
1247
1246
|
}
|
|
1248
|
-
|
|
1247
|
+
interface OptionDesign {
|
|
1249
1248
|
/** Border radius in pixels. */
|
|
1250
1249
|
borderRadius?: number | null;
|
|
1251
1250
|
}
|
|
1252
|
-
|
|
1251
|
+
interface Poll {
|
|
1253
1252
|
/** Poll ID. */
|
|
1254
1253
|
_id?: string | null;
|
|
1255
1254
|
/** Poll title. */
|
|
@@ -1263,26 +1262,26 @@ export interface Poll {
|
|
|
1263
1262
|
/** The poll's permissions and display settings. */
|
|
1264
1263
|
settings?: PollSettings;
|
|
1265
1264
|
}
|
|
1266
|
-
|
|
1265
|
+
interface PollDataLayout {
|
|
1267
1266
|
/** Poll layout settings. */
|
|
1268
1267
|
poll?: PollLayout;
|
|
1269
1268
|
/** Voting otpions layout settings. */
|
|
1270
1269
|
options?: OptionLayout;
|
|
1271
1270
|
}
|
|
1272
|
-
|
|
1271
|
+
interface Design {
|
|
1273
1272
|
/** Styling for the poll. */
|
|
1274
1273
|
poll?: PollDesign;
|
|
1275
1274
|
/** Styling for voting options. */
|
|
1276
1275
|
options?: OptionDesign;
|
|
1277
1276
|
}
|
|
1278
|
-
|
|
1277
|
+
interface TextData {
|
|
1279
1278
|
/** The text to apply decorations to. */
|
|
1280
1279
|
text?: string;
|
|
1281
1280
|
/** The decorations to apply. */
|
|
1282
1281
|
decorations?: Decoration[];
|
|
1283
1282
|
}
|
|
1284
1283
|
/** Adds appearence changes to text */
|
|
1285
|
-
|
|
1284
|
+
interface Decoration extends DecorationDataOneOf {
|
|
1286
1285
|
/** Data for an anchor link decoration. */
|
|
1287
1286
|
anchorData?: AnchorData;
|
|
1288
1287
|
/** Data for a color decoration. */
|
|
@@ -1301,11 +1300,13 @@ export interface Decoration extends DecorationDataOneOf {
|
|
|
1301
1300
|
underlineData?: boolean | null;
|
|
1302
1301
|
/** Data for a spoiler decoration. */
|
|
1303
1302
|
spoilerData?: SpoilerData;
|
|
1303
|
+
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
1304
|
+
strikethroughData?: boolean | null;
|
|
1304
1305
|
/** The type of decoration to apply. */
|
|
1305
1306
|
type?: DecorationType;
|
|
1306
1307
|
}
|
|
1307
1308
|
/** @oneof */
|
|
1308
|
-
|
|
1309
|
+
interface DecorationDataOneOf {
|
|
1309
1310
|
/** Data for an anchor link decoration. */
|
|
1310
1311
|
anchorData?: AnchorData;
|
|
1311
1312
|
/** Data for a color decoration. */
|
|
@@ -1324,8 +1325,10 @@ export interface DecorationDataOneOf {
|
|
|
1324
1325
|
underlineData?: boolean | null;
|
|
1325
1326
|
/** Data for a spoiler decoration. */
|
|
1326
1327
|
spoilerData?: SpoilerData;
|
|
1328
|
+
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
1329
|
+
strikethroughData?: boolean | null;
|
|
1327
1330
|
}
|
|
1328
|
-
|
|
1331
|
+
declare enum DecorationType {
|
|
1329
1332
|
BOLD = "BOLD",
|
|
1330
1333
|
ITALIC = "ITALIC",
|
|
1331
1334
|
UNDERLINE = "UNDERLINE",
|
|
@@ -1335,23 +1338,24 @@ export declare enum DecorationType {
|
|
|
1335
1338
|
LINK = "LINK",
|
|
1336
1339
|
COLOR = "COLOR",
|
|
1337
1340
|
FONT_SIZE = "FONT_SIZE",
|
|
1338
|
-
EXTERNAL = "EXTERNAL"
|
|
1341
|
+
EXTERNAL = "EXTERNAL",
|
|
1342
|
+
STRIKETHROUGH = "STRIKETHROUGH"
|
|
1339
1343
|
}
|
|
1340
|
-
|
|
1344
|
+
interface AnchorData {
|
|
1341
1345
|
/** The target node's ID. */
|
|
1342
1346
|
anchor?: string;
|
|
1343
1347
|
}
|
|
1344
|
-
|
|
1348
|
+
interface ColorData {
|
|
1345
1349
|
/** The text's background color as a hexadecimal value. */
|
|
1346
1350
|
background?: string | null;
|
|
1347
1351
|
/** The text's foreground color as a hexadecimal value. */
|
|
1348
1352
|
foreground?: string | null;
|
|
1349
1353
|
}
|
|
1350
|
-
|
|
1354
|
+
interface LinkData {
|
|
1351
1355
|
/** Link details. */
|
|
1352
1356
|
link?: Link;
|
|
1353
1357
|
}
|
|
1354
|
-
|
|
1358
|
+
interface MentionData {
|
|
1355
1359
|
/** The mentioned user's name. */
|
|
1356
1360
|
name?: string;
|
|
1357
1361
|
/** The version of the user's name that appears after the `@` character in the mention. */
|
|
@@ -1359,21 +1363,21 @@ export interface MentionData {
|
|
|
1359
1363
|
/** Mentioned user's ID. */
|
|
1360
1364
|
_id?: string | null;
|
|
1361
1365
|
}
|
|
1362
|
-
|
|
1366
|
+
interface FontSizeData {
|
|
1363
1367
|
/** The units used for the font size. */
|
|
1364
1368
|
unit?: FontType;
|
|
1365
1369
|
/** Font size value. */
|
|
1366
1370
|
value?: number | null;
|
|
1367
1371
|
}
|
|
1368
|
-
|
|
1372
|
+
declare enum FontType {
|
|
1369
1373
|
PX = "PX",
|
|
1370
1374
|
EM = "EM"
|
|
1371
1375
|
}
|
|
1372
|
-
|
|
1376
|
+
interface SpoilerData {
|
|
1373
1377
|
/** Spoiler ID. */
|
|
1374
1378
|
_id?: string | null;
|
|
1375
1379
|
}
|
|
1376
|
-
|
|
1380
|
+
interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
1377
1381
|
/** Data for embedded Wix Bookings content. */
|
|
1378
1382
|
bookingData?: BookingData;
|
|
1379
1383
|
/** Data for embedded Wix Events content. */
|
|
@@ -1395,28 +1399,28 @@ export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
|
1395
1399
|
image?: V1Media;
|
|
1396
1400
|
}
|
|
1397
1401
|
/** @oneof */
|
|
1398
|
-
|
|
1402
|
+
interface AppEmbedDataAppDataOneOf {
|
|
1399
1403
|
/** Data for embedded Wix Bookings content. */
|
|
1400
1404
|
bookingData?: BookingData;
|
|
1401
1405
|
/** Data for embedded Wix Events content. */
|
|
1402
1406
|
eventData?: EventData;
|
|
1403
1407
|
}
|
|
1404
|
-
|
|
1408
|
+
declare enum AppType {
|
|
1405
1409
|
PRODUCT = "PRODUCT",
|
|
1406
1410
|
EVENT = "EVENT",
|
|
1407
1411
|
BOOKING = "BOOKING"
|
|
1408
1412
|
}
|
|
1409
|
-
|
|
1413
|
+
interface BookingData {
|
|
1410
1414
|
/** Booking duration in minutes. */
|
|
1411
1415
|
durations?: string | null;
|
|
1412
1416
|
}
|
|
1413
|
-
|
|
1417
|
+
interface EventData {
|
|
1414
1418
|
/** Event schedule. */
|
|
1415
1419
|
scheduling?: string | null;
|
|
1416
1420
|
/** Event location. */
|
|
1417
1421
|
location?: string | null;
|
|
1418
1422
|
}
|
|
1419
|
-
|
|
1423
|
+
interface VideoData {
|
|
1420
1424
|
/** Styling for the video's container. */
|
|
1421
1425
|
containerData?: PluginContainerData;
|
|
1422
1426
|
/** Video details. */
|
|
@@ -1430,7 +1434,7 @@ export interface VideoData {
|
|
|
1430
1434
|
/** Video options. */
|
|
1431
1435
|
options?: PlaybackOptions;
|
|
1432
1436
|
}
|
|
1433
|
-
|
|
1437
|
+
interface PlaybackOptions {
|
|
1434
1438
|
/** Sets whether the media will automatically start playing. */
|
|
1435
1439
|
autoPlay?: boolean | null;
|
|
1436
1440
|
/** Sets whether media's will be looped. */
|
|
@@ -1438,7 +1442,7 @@ export interface PlaybackOptions {
|
|
|
1438
1442
|
/** Sets whether media's controls will be shown. */
|
|
1439
1443
|
showControls?: boolean | null;
|
|
1440
1444
|
}
|
|
1441
|
-
|
|
1445
|
+
interface EmbedData {
|
|
1442
1446
|
/** Styling for the oEmbed node's container. */
|
|
1443
1447
|
containerData?: PluginContainerData;
|
|
1444
1448
|
/** An [oEmbed](https://www.oembed.com) object. */
|
|
@@ -1446,7 +1450,7 @@ export interface EmbedData {
|
|
|
1446
1450
|
/** Origin asset source. */
|
|
1447
1451
|
src?: string | null;
|
|
1448
1452
|
}
|
|
1449
|
-
|
|
1453
|
+
interface Oembed {
|
|
1450
1454
|
/** The resource type. */
|
|
1451
1455
|
type?: string | null;
|
|
1452
1456
|
/** The width of the resource specified in the `url` property in pixels. */
|
|
@@ -1478,7 +1482,7 @@ export interface Oembed {
|
|
|
1478
1482
|
/** The oEmbed version number. This value must be `1.0`. */
|
|
1479
1483
|
version?: string | null;
|
|
1480
1484
|
}
|
|
1481
|
-
|
|
1485
|
+
interface CollapsibleListData {
|
|
1482
1486
|
/** Styling for the collapsible list's container. */
|
|
1483
1487
|
containerData?: PluginContainerData;
|
|
1484
1488
|
/** If `true`, only one item can be expanded at a time. Defaults to `false`. */
|
|
@@ -1490,7 +1494,7 @@ export interface CollapsibleListData {
|
|
|
1490
1494
|
/** If `true`, The collapsible item will appear in search results as an FAQ. */
|
|
1491
1495
|
isQapageData?: boolean | null;
|
|
1492
1496
|
}
|
|
1493
|
-
|
|
1497
|
+
declare enum InitialExpandedItems {
|
|
1494
1498
|
/** First item will be expended initally */
|
|
1495
1499
|
FIRST = "FIRST",
|
|
1496
1500
|
/** All items will expended initally */
|
|
@@ -1498,13 +1502,13 @@ export declare enum InitialExpandedItems {
|
|
|
1498
1502
|
/** All items collapsed initally */
|
|
1499
1503
|
NONE = "NONE"
|
|
1500
1504
|
}
|
|
1501
|
-
|
|
1505
|
+
declare enum Direction {
|
|
1502
1506
|
/** Left-to-right */
|
|
1503
1507
|
LTR = "LTR",
|
|
1504
1508
|
/** Right-to-left */
|
|
1505
1509
|
RTL = "RTL"
|
|
1506
1510
|
}
|
|
1507
|
-
|
|
1511
|
+
interface TableData {
|
|
1508
1512
|
/** Styling for the table's container. */
|
|
1509
1513
|
containerData?: PluginContainerData;
|
|
1510
1514
|
/** The table's dimensions. */
|
|
@@ -1519,7 +1523,7 @@ export interface TableData {
|
|
|
1519
1523
|
/** Sets whether the table's first column is a header. Defaults to `false`. */
|
|
1520
1524
|
columnHeader?: boolean | null;
|
|
1521
1525
|
}
|
|
1522
|
-
|
|
1526
|
+
interface Dimensions {
|
|
1523
1527
|
/** An array representing relative width of each column in relation to the other columns. */
|
|
1524
1528
|
colsWidthRatio?: number[];
|
|
1525
1529
|
/** An array representing the height of each row in pixels. */
|
|
@@ -1527,13 +1531,13 @@ export interface Dimensions {
|
|
|
1527
1531
|
/** An array representing the minimum width of each column in pixels. */
|
|
1528
1532
|
colsMinWidth?: number[];
|
|
1529
1533
|
}
|
|
1530
|
-
|
|
1534
|
+
interface TableCellData {
|
|
1531
1535
|
/** Styling for the cell's background color and text alignment. */
|
|
1532
1536
|
cellStyle?: CellStyle;
|
|
1533
1537
|
/** The cell's border colors. */
|
|
1534
1538
|
borderColors?: BorderColors;
|
|
1535
1539
|
}
|
|
1536
|
-
|
|
1540
|
+
declare enum VerticalAlignment {
|
|
1537
1541
|
/** Top alignment */
|
|
1538
1542
|
TOP = "TOP",
|
|
1539
1543
|
/** Middle alignment */
|
|
@@ -1541,7 +1545,7 @@ export declare enum VerticalAlignment {
|
|
|
1541
1545
|
/** Bottom alignment */
|
|
1542
1546
|
BOTTOM = "BOTTOM"
|
|
1543
1547
|
}
|
|
1544
|
-
|
|
1548
|
+
interface CellStyle {
|
|
1545
1549
|
/** Vertical alignment for the cell's text. */
|
|
1546
1550
|
verticalAlignment?: VerticalAlignment;
|
|
1547
1551
|
/**
|
|
@@ -1550,7 +1554,7 @@ export interface CellStyle {
|
|
|
1550
1554
|
*/
|
|
1551
1555
|
backgroundColor?: string | null;
|
|
1552
1556
|
}
|
|
1553
|
-
|
|
1557
|
+
interface BorderColors {
|
|
1554
1558
|
/**
|
|
1555
1559
|
* Left border color as a hexadecimal value.
|
|
1556
1560
|
* @format COLOR_HEX
|
|
@@ -1578,7 +1582,7 @@ export interface BorderColors {
|
|
|
1578
1582
|
*
|
|
1579
1583
|
* The JSON representation for `NullValue` is JSON `null`.
|
|
1580
1584
|
*/
|
|
1581
|
-
|
|
1585
|
+
declare enum NullValue {
|
|
1582
1586
|
/** Null value. */
|
|
1583
1587
|
NULL_VALUE = "NULL_VALUE"
|
|
1584
1588
|
}
|
|
@@ -1587,11 +1591,11 @@ export declare enum NullValue {
|
|
|
1587
1591
|
*
|
|
1588
1592
|
* The JSON representation for `ListValue` is JSON array.
|
|
1589
1593
|
*/
|
|
1590
|
-
|
|
1594
|
+
interface ListValue {
|
|
1591
1595
|
/** Repeated field of dynamically typed values. */
|
|
1592
1596
|
values?: any[];
|
|
1593
1597
|
}
|
|
1594
|
-
|
|
1598
|
+
interface AudioData {
|
|
1595
1599
|
/** Styling for the audio node's container. */
|
|
1596
1600
|
containerData?: PluginContainerData;
|
|
1597
1601
|
/** Audio file details. */
|
|
@@ -1607,7 +1611,7 @@ export interface AudioData {
|
|
|
1607
1611
|
/** An HTML version of the audio node. */
|
|
1608
1612
|
html?: string | null;
|
|
1609
1613
|
}
|
|
1610
|
-
|
|
1614
|
+
interface OrderedListData {
|
|
1611
1615
|
/** Indentation level from 0-4. */
|
|
1612
1616
|
indentation?: number;
|
|
1613
1617
|
/** Offset level from 0-4. */
|
|
@@ -1615,24 +1619,24 @@ export interface OrderedListData {
|
|
|
1615
1619
|
/** List start number. */
|
|
1616
1620
|
start?: number | null;
|
|
1617
1621
|
}
|
|
1618
|
-
|
|
1622
|
+
interface BulletedListData {
|
|
1619
1623
|
/** Indentation level from 0-4. */
|
|
1620
1624
|
indentation?: number;
|
|
1621
1625
|
/** Offset level from 0-4. */
|
|
1622
1626
|
offset?: number | null;
|
|
1623
1627
|
}
|
|
1624
|
-
|
|
1628
|
+
interface BlockquoteData {
|
|
1625
1629
|
/** Indentation level from 1-4. */
|
|
1626
1630
|
indentation?: number;
|
|
1627
1631
|
}
|
|
1628
|
-
|
|
1632
|
+
interface CaptionData {
|
|
1629
1633
|
textStyle?: TextStyle;
|
|
1630
1634
|
}
|
|
1631
|
-
|
|
1635
|
+
interface LayoutCellData {
|
|
1632
1636
|
/** Size of the cell in 12 columns grid. */
|
|
1633
1637
|
colSpan?: number | null;
|
|
1634
1638
|
}
|
|
1635
|
-
|
|
1639
|
+
interface Metadata {
|
|
1636
1640
|
/** Schema version. */
|
|
1637
1641
|
version?: number;
|
|
1638
1642
|
/**
|
|
@@ -1649,7 +1653,7 @@ export interface Metadata {
|
|
|
1649
1653
|
/** Object ID. */
|
|
1650
1654
|
_id?: string | null;
|
|
1651
1655
|
}
|
|
1652
|
-
|
|
1656
|
+
interface DocumentStyle {
|
|
1653
1657
|
/** Styling for H1 nodes. */
|
|
1654
1658
|
headerOne?: TextNodeStyle;
|
|
1655
1659
|
/** Styling for H2 nodes. */
|
|
@@ -1669,7 +1673,7 @@ export interface DocumentStyle {
|
|
|
1669
1673
|
/** Styling for code block nodes. */
|
|
1670
1674
|
codeBlock?: TextNodeStyle;
|
|
1671
1675
|
}
|
|
1672
|
-
|
|
1676
|
+
interface TextNodeStyle {
|
|
1673
1677
|
/** The decorations to apply to the node. */
|
|
1674
1678
|
decorations?: Decoration[];
|
|
1675
1679
|
/** Padding and background color for the node. */
|
|
@@ -1677,7 +1681,7 @@ export interface TextNodeStyle {
|
|
|
1677
1681
|
/** Line height for text in the node. */
|
|
1678
1682
|
lineHeight?: string | null;
|
|
1679
1683
|
}
|
|
1680
|
-
|
|
1684
|
+
declare enum Status {
|
|
1681
1685
|
UNKNOWN = "UNKNOWN",
|
|
1682
1686
|
/** Status indicating the draft post is published. */
|
|
1683
1687
|
PUBLISHED = "PUBLISHED",
|
|
@@ -1690,7 +1694,7 @@ export declare enum Status {
|
|
|
1690
1694
|
/** Status indicating the draft post is in review. */
|
|
1691
1695
|
IN_REVIEW = "IN_REVIEW"
|
|
1692
1696
|
}
|
|
1693
|
-
|
|
1697
|
+
interface ModerationDetails {
|
|
1694
1698
|
/**
|
|
1695
1699
|
* Member ID of the person submitting the draft post for review.
|
|
1696
1700
|
* @format GUID
|
|
@@ -1708,7 +1712,7 @@ export interface ModerationDetails {
|
|
|
1708
1712
|
/** Date the post was approved or rejected. */
|
|
1709
1713
|
moderationDate?: Date | null;
|
|
1710
1714
|
}
|
|
1711
|
-
|
|
1715
|
+
declare enum ModerationStatusStatus {
|
|
1712
1716
|
UNKNOWN = "UNKNOWN",
|
|
1713
1717
|
APPROVED = "APPROVED",
|
|
1714
1718
|
REJECTED = "REJECTED"
|
|
@@ -1718,13 +1722,13 @@ export declare enum ModerationStatusStatus {
|
|
|
1718
1722
|
* The search engines use this information for ranking purposes, or to display snippets in the search results.
|
|
1719
1723
|
* This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.
|
|
1720
1724
|
*/
|
|
1721
|
-
|
|
1725
|
+
interface SeoSchema {
|
|
1722
1726
|
/** SEO tag information. */
|
|
1723
1727
|
tags?: Tag[];
|
|
1724
1728
|
/** SEO general settings. */
|
|
1725
1729
|
settings?: Settings;
|
|
1726
1730
|
}
|
|
1727
|
-
|
|
1731
|
+
interface Keyword {
|
|
1728
1732
|
/** Keyword value. */
|
|
1729
1733
|
term?: string;
|
|
1730
1734
|
/** Whether the keyword is the main focus keyword. */
|
|
@@ -1735,7 +1739,7 @@ export interface Keyword {
|
|
|
1735
1739
|
*/
|
|
1736
1740
|
origin?: string | null;
|
|
1737
1741
|
}
|
|
1738
|
-
|
|
1742
|
+
interface Tag {
|
|
1739
1743
|
/**
|
|
1740
1744
|
* SEO tag type.
|
|
1741
1745
|
*
|
|
@@ -1757,7 +1761,7 @@ export interface Tag {
|
|
|
1757
1761
|
/** Whether the tag is disabled. */
|
|
1758
1762
|
disabled?: boolean;
|
|
1759
1763
|
}
|
|
1760
|
-
|
|
1764
|
+
interface Settings {
|
|
1761
1765
|
/**
|
|
1762
1766
|
* Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
|
|
1763
1767
|
*
|
|
@@ -1771,7 +1775,7 @@ export interface Settings {
|
|
|
1771
1775
|
*/
|
|
1772
1776
|
keywords?: Keyword[];
|
|
1773
1777
|
}
|
|
1774
|
-
|
|
1778
|
+
interface Media extends MediaMediaOneOf {
|
|
1775
1779
|
/** Wix Media details. */
|
|
1776
1780
|
wixMedia?: WixMedia;
|
|
1777
1781
|
/** Embed media details. */
|
|
@@ -1788,19 +1792,19 @@ export interface Media extends MediaMediaOneOf {
|
|
|
1788
1792
|
altText?: string | null;
|
|
1789
1793
|
}
|
|
1790
1794
|
/** @oneof */
|
|
1791
|
-
|
|
1795
|
+
interface MediaMediaOneOf {
|
|
1792
1796
|
/** Wix Media details. */
|
|
1793
1797
|
wixMedia?: WixMedia;
|
|
1794
1798
|
/** Embed media details. */
|
|
1795
1799
|
embedMedia?: EmbedMedia;
|
|
1796
1800
|
}
|
|
1797
|
-
|
|
1801
|
+
interface WixMedia {
|
|
1798
1802
|
/** Image details. */
|
|
1799
1803
|
image?: string;
|
|
1800
1804
|
/** Video details. */
|
|
1801
1805
|
videoV2?: string;
|
|
1802
1806
|
}
|
|
1803
|
-
|
|
1807
|
+
interface VideoResolution {
|
|
1804
1808
|
/** Video URL. */
|
|
1805
1809
|
url?: string;
|
|
1806
1810
|
/** Video height. */
|
|
@@ -1810,13 +1814,13 @@ export interface VideoResolution {
|
|
|
1810
1814
|
/** Video format for example, mp4, hls. */
|
|
1811
1815
|
format?: string;
|
|
1812
1816
|
}
|
|
1813
|
-
|
|
1817
|
+
interface EmbedMedia {
|
|
1814
1818
|
/** Thumbnail details. */
|
|
1815
1819
|
thumbnail?: EmbedThumbnail;
|
|
1816
1820
|
/** Video details. */
|
|
1817
1821
|
video?: EmbedVideo;
|
|
1818
1822
|
}
|
|
1819
|
-
|
|
1823
|
+
interface EmbedThumbnail {
|
|
1820
1824
|
/**
|
|
1821
1825
|
* Thumbnail url.
|
|
1822
1826
|
* @maxLength 2000
|
|
@@ -1827,7 +1831,7 @@ export interface EmbedThumbnail {
|
|
|
1827
1831
|
/** Thumbnail height. */
|
|
1828
1832
|
height?: number;
|
|
1829
1833
|
}
|
|
1830
|
-
|
|
1834
|
+
interface EmbedVideo {
|
|
1831
1835
|
/**
|
|
1832
1836
|
* Video url.
|
|
1833
1837
|
* @maxLength 2000
|
|
@@ -1838,7 +1842,7 @@ export interface EmbedVideo {
|
|
|
1838
1842
|
/** Video height. */
|
|
1839
1843
|
height?: number;
|
|
1840
1844
|
}
|
|
1841
|
-
|
|
1845
|
+
interface DraftPostTranslation {
|
|
1842
1846
|
/**
|
|
1843
1847
|
* Post ID.
|
|
1844
1848
|
* @format GUID
|
|
@@ -1861,7 +1865,7 @@ export interface DraftPostTranslation {
|
|
|
1861
1865
|
/** Post URL. */
|
|
1862
1866
|
url?: string;
|
|
1863
1867
|
}
|
|
1864
|
-
|
|
1868
|
+
interface DraftCategoriesUpdated {
|
|
1865
1869
|
/**
|
|
1866
1870
|
* Draft post ID.
|
|
1867
1871
|
* @maxLength 38
|
|
@@ -1880,7 +1884,7 @@ export interface DraftCategoriesUpdated {
|
|
|
1880
1884
|
*/
|
|
1881
1885
|
previousCategories?: string[];
|
|
1882
1886
|
}
|
|
1883
|
-
|
|
1887
|
+
interface DraftTagsUpdated {
|
|
1884
1888
|
/**
|
|
1885
1889
|
* Draft post ID.
|
|
1886
1890
|
* @maxLength 38
|
|
@@ -1899,7 +1903,7 @@ export interface DraftTagsUpdated {
|
|
|
1899
1903
|
*/
|
|
1900
1904
|
previousTags?: string[];
|
|
1901
1905
|
}
|
|
1902
|
-
|
|
1906
|
+
interface GetDraftPostTotalsRequest {
|
|
1903
1907
|
/**
|
|
1904
1908
|
* Group results by fields (defaults to grouping by status).
|
|
1905
1909
|
* If, for example, grouping by language is passed, language values in response will be filled.
|
|
@@ -1913,17 +1917,17 @@ export interface GetDraftPostTotalsRequest {
|
|
|
1913
1917
|
*/
|
|
1914
1918
|
language?: string | null;
|
|
1915
1919
|
}
|
|
1916
|
-
|
|
1920
|
+
declare enum TotalDraftPostsGroupingField {
|
|
1917
1921
|
/** Groups results by status. */
|
|
1918
1922
|
STATUS = "STATUS",
|
|
1919
1923
|
/** Groups results by language. */
|
|
1920
1924
|
LANGUAGE = "LANGUAGE"
|
|
1921
1925
|
}
|
|
1922
|
-
|
|
1926
|
+
interface GetDraftPostTotalsResponse {
|
|
1923
1927
|
/** Draft post totals. */
|
|
1924
1928
|
totalDraftPosts?: TotalDraftPosts[];
|
|
1925
1929
|
}
|
|
1926
|
-
|
|
1930
|
+
interface TotalDraftPosts {
|
|
1927
1931
|
/** Draft post totals in that group. */
|
|
1928
1932
|
total?: number;
|
|
1929
1933
|
/** Draft post status (only has value when grouping by status, otherwise null). */
|
|
@@ -1934,7 +1938,7 @@ export interface TotalDraftPosts {
|
|
|
1934
1938
|
*/
|
|
1935
1939
|
language?: string | null;
|
|
1936
1940
|
}
|
|
1937
|
-
|
|
1941
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
1938
1942
|
createdEvent?: EntityCreatedEvent;
|
|
1939
1943
|
updatedEvent?: EntityUpdatedEvent;
|
|
1940
1944
|
deletedEvent?: EntityDeletedEvent;
|
|
@@ -1977,19 +1981,19 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
1977
1981
|
entityEventSequence?: string | null;
|
|
1978
1982
|
}
|
|
1979
1983
|
/** @oneof */
|
|
1980
|
-
|
|
1984
|
+
interface DomainEventBodyOneOf {
|
|
1981
1985
|
createdEvent?: EntityCreatedEvent;
|
|
1982
1986
|
updatedEvent?: EntityUpdatedEvent;
|
|
1983
1987
|
deletedEvent?: EntityDeletedEvent;
|
|
1984
1988
|
actionEvent?: ActionEvent;
|
|
1985
1989
|
}
|
|
1986
|
-
|
|
1990
|
+
interface EntityCreatedEvent {
|
|
1987
1991
|
entity?: string;
|
|
1988
1992
|
}
|
|
1989
|
-
|
|
1993
|
+
interface RestoreInfo {
|
|
1990
1994
|
deletedDate?: Date | null;
|
|
1991
1995
|
}
|
|
1992
|
-
|
|
1996
|
+
interface EntityUpdatedEvent {
|
|
1993
1997
|
/**
|
|
1994
1998
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
1995
1999
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
@@ -1997,14 +2001,14 @@ export interface EntityUpdatedEvent {
|
|
|
1997
2001
|
*/
|
|
1998
2002
|
currentEntity?: string;
|
|
1999
2003
|
}
|
|
2000
|
-
|
|
2004
|
+
interface EntityDeletedEvent {
|
|
2001
2005
|
/** Entity that was deleted */
|
|
2002
2006
|
deletedEntity?: string | null;
|
|
2003
2007
|
}
|
|
2004
|
-
|
|
2008
|
+
interface ActionEvent {
|
|
2005
2009
|
body?: string;
|
|
2006
2010
|
}
|
|
2007
|
-
|
|
2011
|
+
interface MessageEnvelope {
|
|
2008
2012
|
/**
|
|
2009
2013
|
* App instance ID.
|
|
2010
2014
|
* @format GUID
|
|
@@ -2020,7 +2024,7 @@ export interface MessageEnvelope {
|
|
|
2020
2024
|
/** Stringify payload. */
|
|
2021
2025
|
data?: string;
|
|
2022
2026
|
}
|
|
2023
|
-
|
|
2027
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
2024
2028
|
/**
|
|
2025
2029
|
* ID of a site visitor that has not logged in to the site.
|
|
2026
2030
|
* @format GUID
|
|
@@ -2045,7 +2049,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
2045
2049
|
identityType?: WebhookIdentityType;
|
|
2046
2050
|
}
|
|
2047
2051
|
/** @oneof */
|
|
2048
|
-
|
|
2052
|
+
interface IdentificationDataIdOneOf {
|
|
2049
2053
|
/**
|
|
2050
2054
|
* ID of a site visitor that has not logged in to the site.
|
|
2051
2055
|
* @format GUID
|
|
@@ -2067,18 +2071,18 @@ export interface IdentificationDataIdOneOf {
|
|
|
2067
2071
|
*/
|
|
2068
2072
|
appId?: string;
|
|
2069
2073
|
}
|
|
2070
|
-
|
|
2074
|
+
declare enum WebhookIdentityType {
|
|
2071
2075
|
UNKNOWN = "UNKNOWN",
|
|
2072
2076
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
2073
2077
|
MEMBER = "MEMBER",
|
|
2074
2078
|
WIX_USER = "WIX_USER",
|
|
2075
2079
|
APP = "APP"
|
|
2076
2080
|
}
|
|
2077
|
-
|
|
2081
|
+
interface InitialDraftPostsCopied {
|
|
2078
2082
|
/** Number of draft posts copied. */
|
|
2079
2083
|
count?: number;
|
|
2080
2084
|
}
|
|
2081
|
-
|
|
2085
|
+
interface CreateDraftPostRequest {
|
|
2082
2086
|
/** Draft post to create. */
|
|
2083
2087
|
draftPost: DraftPost;
|
|
2084
2088
|
/**
|
|
@@ -2095,7 +2099,7 @@ export interface CreateDraftPostRequest {
|
|
|
2095
2099
|
*/
|
|
2096
2100
|
fieldsets?: Field[];
|
|
2097
2101
|
}
|
|
2098
|
-
|
|
2102
|
+
declare enum Type {
|
|
2099
2103
|
UNKNOWN = "UNKNOWN",
|
|
2100
2104
|
/** Manually saved. */
|
|
2101
2105
|
MANUAL = "MANUAL",
|
|
@@ -2108,7 +2112,7 @@ export declare enum Type {
|
|
|
2108
2112
|
/** Triggered by autosave when post created by AI tool. */
|
|
2109
2113
|
AI_AUTO_SAVE = "AI_AUTO_SAVE"
|
|
2110
2114
|
}
|
|
2111
|
-
|
|
2115
|
+
declare enum Field {
|
|
2112
2116
|
/** Unknown field. */
|
|
2113
2117
|
UNKNOWN = "UNKNOWN",
|
|
2114
2118
|
/** Includes draft post preview URL. */
|
|
@@ -2120,11 +2124,11 @@ export declare enum Field {
|
|
|
2120
2124
|
/** If the user has not set excerpt, returns the one autogenerated from content. */
|
|
2121
2125
|
GENERATED_EXCERPT = "GENERATED_EXCERPT"
|
|
2122
2126
|
}
|
|
2123
|
-
|
|
2127
|
+
interface CreateDraftPostResponse {
|
|
2124
2128
|
/** Created draft post info. */
|
|
2125
2129
|
draftPost?: DraftPost;
|
|
2126
2130
|
}
|
|
2127
|
-
|
|
2131
|
+
interface BulkCreateDraftPostsRequest {
|
|
2128
2132
|
/**
|
|
2129
2133
|
* Draft posts to create.
|
|
2130
2134
|
* @minSize 1
|
|
@@ -2143,19 +2147,19 @@ export interface BulkCreateDraftPostsRequest {
|
|
|
2143
2147
|
*/
|
|
2144
2148
|
fieldsets?: Field[];
|
|
2145
2149
|
}
|
|
2146
|
-
|
|
2150
|
+
interface BulkCreateDraftPostsResponse {
|
|
2147
2151
|
/** Draft posts created by bulk action. */
|
|
2148
2152
|
results?: BulkDraftPostResult[];
|
|
2149
2153
|
/** Bulk action metadata. */
|
|
2150
2154
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2151
2155
|
}
|
|
2152
|
-
|
|
2156
|
+
interface BulkDraftPostResult {
|
|
2153
2157
|
/** Bulk actions metadata for draft post. */
|
|
2154
2158
|
itemMetadata?: ItemMetadata;
|
|
2155
2159
|
/** Optional full draft post. */
|
|
2156
2160
|
item?: DraftPost;
|
|
2157
2161
|
}
|
|
2158
|
-
|
|
2162
|
+
interface ItemMetadata {
|
|
2159
2163
|
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
2160
2164
|
_id?: string | null;
|
|
2161
2165
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
@@ -2165,7 +2169,7 @@ export interface ItemMetadata {
|
|
|
2165
2169
|
/** Details about the error in case of failure. */
|
|
2166
2170
|
error?: ApplicationError;
|
|
2167
2171
|
}
|
|
2168
|
-
|
|
2172
|
+
interface ApplicationError {
|
|
2169
2173
|
/** Error code. */
|
|
2170
2174
|
code?: string;
|
|
2171
2175
|
/** Description of the error. */
|
|
@@ -2173,7 +2177,7 @@ export interface ApplicationError {
|
|
|
2173
2177
|
/** Data related to the error. */
|
|
2174
2178
|
data?: Record<string, any> | null;
|
|
2175
2179
|
}
|
|
2176
|
-
|
|
2180
|
+
interface BulkActionMetadata {
|
|
2177
2181
|
/** Number of items that were successfully processed. */
|
|
2178
2182
|
totalSuccesses?: number;
|
|
2179
2183
|
/** Number of items that couldn't be processed. */
|
|
@@ -2181,7 +2185,7 @@ export interface BulkActionMetadata {
|
|
|
2181
2185
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
2182
2186
|
undetailedFailures?: number;
|
|
2183
2187
|
}
|
|
2184
|
-
|
|
2188
|
+
interface BulkUpdateDraftPostsRequest {
|
|
2185
2189
|
/**
|
|
2186
2190
|
* Draft posts to update.
|
|
2187
2191
|
* @minSize 1
|
|
@@ -2206,13 +2210,13 @@ export interface BulkUpdateDraftPostsRequest {
|
|
|
2206
2210
|
*/
|
|
2207
2211
|
fieldsets?: Field[];
|
|
2208
2212
|
}
|
|
2209
|
-
|
|
2213
|
+
interface MaskedDraftPosts {
|
|
2210
2214
|
/** Draft post */
|
|
2211
2215
|
draftPost?: DraftPost;
|
|
2212
2216
|
/** Field mask of fields to update. */
|
|
2213
2217
|
fieldMask?: string[];
|
|
2214
2218
|
}
|
|
2215
|
-
|
|
2219
|
+
declare enum Action {
|
|
2216
2220
|
/** Update the draft post. */
|
|
2217
2221
|
UPDATE = "UPDATE",
|
|
2218
2222
|
/** Update and publish a draft post. */
|
|
@@ -2228,15 +2232,15 @@ export declare enum Action {
|
|
|
2228
2232
|
/** Update a post that's already been published. This creates and updates a draft version of the post. The original post is still published. */
|
|
2229
2233
|
UPDATE_PUBLICATION = "UPDATE_PUBLICATION"
|
|
2230
2234
|
}
|
|
2231
|
-
|
|
2235
|
+
interface BulkUpdateDraftPostsResponse {
|
|
2232
2236
|
/** Draft posts updated by bulk action. */
|
|
2233
2237
|
results?: BulkDraftPostResult[];
|
|
2234
2238
|
/** Bulk action metadata. */
|
|
2235
2239
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2236
2240
|
}
|
|
2237
|
-
|
|
2241
|
+
interface DraftPostOwnerChanged {
|
|
2238
2242
|
}
|
|
2239
|
-
|
|
2243
|
+
interface ListDeletedDraftPostsRequest {
|
|
2240
2244
|
/**
|
|
2241
2245
|
* Language filter.
|
|
2242
2246
|
*
|
|
@@ -2267,13 +2271,13 @@ export interface ListDeletedDraftPostsRequest {
|
|
|
2267
2271
|
*/
|
|
2268
2272
|
draftPostIds?: string[];
|
|
2269
2273
|
}
|
|
2270
|
-
|
|
2274
|
+
declare enum GetDraftPostsSort {
|
|
2271
2275
|
/** Sort by `editedDate` in descending order. */
|
|
2272
2276
|
EDITING_DATE_DESC = "EDITING_DATE_DESC",
|
|
2273
2277
|
/** Sort by `editedDate` in ascending order. */
|
|
2274
2278
|
EDITING_DATE_ASC = "EDITING_DATE_ASC"
|
|
2275
2279
|
}
|
|
2276
|
-
|
|
2280
|
+
interface BlogPaging {
|
|
2277
2281
|
/**
|
|
2278
2282
|
* Number of items to skip in the current sort order.
|
|
2279
2283
|
*
|
|
@@ -2296,7 +2300,7 @@ export interface BlogPaging {
|
|
|
2296
2300
|
*/
|
|
2297
2301
|
cursor?: string | null;
|
|
2298
2302
|
}
|
|
2299
|
-
|
|
2303
|
+
interface ListDeletedDraftPostsResponse {
|
|
2300
2304
|
/** List of draft posts. */
|
|
2301
2305
|
draftPosts?: DraftPost[];
|
|
2302
2306
|
/**
|
|
@@ -2315,7 +2319,7 @@ export interface ListDeletedDraftPostsResponse {
|
|
|
2315
2319
|
/** Details on the paged set of results returned. */
|
|
2316
2320
|
pagingMetadata?: PagingMetadataV2;
|
|
2317
2321
|
}
|
|
2318
|
-
|
|
2322
|
+
interface MetaData {
|
|
2319
2323
|
/** Number of items returned in this response. */
|
|
2320
2324
|
count?: number;
|
|
2321
2325
|
/** Requested offset. */
|
|
@@ -2328,7 +2332,7 @@ export interface MetaData {
|
|
|
2328
2332
|
*/
|
|
2329
2333
|
cursor?: string | null;
|
|
2330
2334
|
}
|
|
2331
|
-
|
|
2335
|
+
interface PagingMetadataV2 {
|
|
2332
2336
|
/** Number of items returned in the response. */
|
|
2333
2337
|
count?: number | null;
|
|
2334
2338
|
/** Offset that was requested. */
|
|
@@ -2340,7 +2344,7 @@ export interface PagingMetadataV2 {
|
|
|
2340
2344
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
2341
2345
|
cursors?: Cursors;
|
|
2342
2346
|
}
|
|
2343
|
-
|
|
2347
|
+
interface Cursors {
|
|
2344
2348
|
/**
|
|
2345
2349
|
* Cursor pointing to next page in the list of results.
|
|
2346
2350
|
* @maxLength 2000
|
|
@@ -2352,7 +2356,7 @@ export interface Cursors {
|
|
|
2352
2356
|
*/
|
|
2353
2357
|
prev?: string | null;
|
|
2354
2358
|
}
|
|
2355
|
-
|
|
2359
|
+
interface GetDraftPostRequest {
|
|
2356
2360
|
/**
|
|
2357
2361
|
* Draft post ID.
|
|
2358
2362
|
* @maxLength 38
|
|
@@ -2366,11 +2370,11 @@ export interface GetDraftPostRequest {
|
|
|
2366
2370
|
*/
|
|
2367
2371
|
fieldsets?: Field[];
|
|
2368
2372
|
}
|
|
2369
|
-
|
|
2373
|
+
interface GetDraftPostResponse {
|
|
2370
2374
|
/** Draft post info. */
|
|
2371
2375
|
draftPost?: DraftPost;
|
|
2372
2376
|
}
|
|
2373
|
-
|
|
2377
|
+
interface UpdateDraftPostContentRequest extends UpdateDraftPostContentRequestDraftContentOneOf {
|
|
2374
2378
|
/**
|
|
2375
2379
|
* DraftJs content to update.
|
|
2376
2380
|
* @maxLength 400000
|
|
@@ -2394,7 +2398,7 @@ export interface UpdateDraftPostContentRequest extends UpdateDraftPostContentReq
|
|
|
2394
2398
|
fieldsets?: Field[];
|
|
2395
2399
|
}
|
|
2396
2400
|
/** @oneof */
|
|
2397
|
-
|
|
2401
|
+
interface UpdateDraftPostContentRequestDraftContentOneOf {
|
|
2398
2402
|
/**
|
|
2399
2403
|
* DraftJs content to update.
|
|
2400
2404
|
* @maxLength 400000
|
|
@@ -2403,11 +2407,11 @@ export interface UpdateDraftPostContentRequestDraftContentOneOf {
|
|
|
2403
2407
|
/** Draft Post rich content. */
|
|
2404
2408
|
richContent?: RichContent;
|
|
2405
2409
|
}
|
|
2406
|
-
|
|
2410
|
+
interface UpdateDraftPostContentResponse {
|
|
2407
2411
|
/** Updated draft post info. */
|
|
2408
2412
|
draftPost?: DraftPost;
|
|
2409
2413
|
}
|
|
2410
|
-
|
|
2414
|
+
interface UpdateDraftPostRequest {
|
|
2411
2415
|
/** Draft post to update. */
|
|
2412
2416
|
draftPost: DraftPost;
|
|
2413
2417
|
/**
|
|
@@ -2426,11 +2430,11 @@ export interface UpdateDraftPostRequest {
|
|
|
2426
2430
|
*/
|
|
2427
2431
|
fieldsets?: Field[];
|
|
2428
2432
|
}
|
|
2429
|
-
|
|
2433
|
+
interface UpdateDraftPostResponse {
|
|
2430
2434
|
/** Updated draft post info. */
|
|
2431
2435
|
draftPost?: DraftPost;
|
|
2432
2436
|
}
|
|
2433
|
-
|
|
2437
|
+
interface DeleteDraftPostRequest {
|
|
2434
2438
|
/**
|
|
2435
2439
|
* Draft post ID.
|
|
2436
2440
|
* @maxLength 38
|
|
@@ -2443,18 +2447,18 @@ export interface DeleteDraftPostRequest {
|
|
|
2443
2447
|
*/
|
|
2444
2448
|
permanent?: boolean;
|
|
2445
2449
|
}
|
|
2446
|
-
|
|
2450
|
+
interface DeleteDraftPostResponse {
|
|
2447
2451
|
}
|
|
2448
|
-
|
|
2452
|
+
interface RemoveFromTrashBinRequest {
|
|
2449
2453
|
/**
|
|
2450
2454
|
* Draft post ID.
|
|
2451
2455
|
* @maxLength 38
|
|
2452
2456
|
*/
|
|
2453
2457
|
draftPostId: string;
|
|
2454
2458
|
}
|
|
2455
|
-
|
|
2459
|
+
interface RemoveFromTrashBinResponse {
|
|
2456
2460
|
}
|
|
2457
|
-
|
|
2461
|
+
interface BulkDeleteDraftPostsRequest {
|
|
2458
2462
|
/**
|
|
2459
2463
|
* Post IDs.
|
|
2460
2464
|
* @minSize 1
|
|
@@ -2465,13 +2469,13 @@ export interface BulkDeleteDraftPostsRequest {
|
|
|
2465
2469
|
/** Should delete bypassing the trash-bin. */
|
|
2466
2470
|
permanent?: boolean;
|
|
2467
2471
|
}
|
|
2468
|
-
|
|
2472
|
+
interface BulkDeleteDraftPostsResponse {
|
|
2469
2473
|
/** Bulk action results. */
|
|
2470
2474
|
results?: BulkDraftPostResult[];
|
|
2471
2475
|
/** Bulk action metadata. */
|
|
2472
2476
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2473
2477
|
}
|
|
2474
|
-
|
|
2478
|
+
interface ListDraftPostsRequest {
|
|
2475
2479
|
/**
|
|
2476
2480
|
* Draft post status filter.
|
|
2477
2481
|
*
|
|
@@ -2502,35 +2506,35 @@ export interface ListDraftPostsRequest {
|
|
|
2502
2506
|
*/
|
|
2503
2507
|
fieldsets?: Field[];
|
|
2504
2508
|
}
|
|
2505
|
-
|
|
2509
|
+
interface ListDraftPostsResponse {
|
|
2506
2510
|
/** List of draft posts. */
|
|
2507
2511
|
draftPosts?: DraftPost[];
|
|
2508
2512
|
/** Details on the paged set of results returned. */
|
|
2509
2513
|
metaData?: MetaData;
|
|
2510
2514
|
}
|
|
2511
|
-
|
|
2515
|
+
interface GetDeletedDraftPostRequest {
|
|
2512
2516
|
/**
|
|
2513
2517
|
* Draft post ID.
|
|
2514
2518
|
* @maxLength 38
|
|
2515
2519
|
*/
|
|
2516
2520
|
draftPostId: string;
|
|
2517
2521
|
}
|
|
2518
|
-
|
|
2522
|
+
interface GetDeletedDraftPostResponse {
|
|
2519
2523
|
/** Draft post info. */
|
|
2520
2524
|
draftPost?: DraftPost;
|
|
2521
2525
|
}
|
|
2522
|
-
|
|
2526
|
+
interface RestoreFromTrashBinRequest {
|
|
2523
2527
|
/**
|
|
2524
2528
|
* Draft post ID.
|
|
2525
2529
|
* @maxLength 38
|
|
2526
2530
|
*/
|
|
2527
2531
|
draftPostId: string;
|
|
2528
2532
|
}
|
|
2529
|
-
|
|
2533
|
+
interface RestoreFromTrashBinResponse {
|
|
2530
2534
|
/** Restored draft post info. */
|
|
2531
2535
|
draftPost?: DraftPost;
|
|
2532
2536
|
}
|
|
2533
|
-
|
|
2537
|
+
interface QueryDraftPostsRequest {
|
|
2534
2538
|
/**
|
|
2535
2539
|
* List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
2536
2540
|
* the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
@@ -2541,7 +2545,7 @@ export interface QueryDraftPostsRequest {
|
|
|
2541
2545
|
/** Query options. */
|
|
2542
2546
|
query?: PlatformQuery;
|
|
2543
2547
|
}
|
|
2544
|
-
|
|
2548
|
+
interface Sorting {
|
|
2545
2549
|
/**
|
|
2546
2550
|
* Name of the field to sort by.
|
|
2547
2551
|
* @maxLength 512
|
|
@@ -2550,11 +2554,11 @@ export interface Sorting {
|
|
|
2550
2554
|
/** Sort order. */
|
|
2551
2555
|
order?: SortOrder;
|
|
2552
2556
|
}
|
|
2553
|
-
|
|
2557
|
+
declare enum SortOrder {
|
|
2554
2558
|
ASC = "ASC",
|
|
2555
2559
|
DESC = "DESC"
|
|
2556
2560
|
}
|
|
2557
|
-
|
|
2561
|
+
interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
|
|
2558
2562
|
/** Paging options to limit and skip the number of items. */
|
|
2559
2563
|
paging?: Paging;
|
|
2560
2564
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
@@ -2576,13 +2580,13 @@ export interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
|
|
|
2576
2580
|
sort?: Sorting[];
|
|
2577
2581
|
}
|
|
2578
2582
|
/** @oneof */
|
|
2579
|
-
|
|
2583
|
+
interface PlatformQueryPagingMethodOneOf {
|
|
2580
2584
|
/** Paging options to limit and skip the number of items. */
|
|
2581
2585
|
paging?: Paging;
|
|
2582
2586
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
2583
2587
|
cursorPaging?: CursorPaging;
|
|
2584
2588
|
}
|
|
2585
|
-
|
|
2589
|
+
interface Paging {
|
|
2586
2590
|
/**
|
|
2587
2591
|
* Number of items to load.
|
|
2588
2592
|
* @max 100
|
|
@@ -2591,7 +2595,7 @@ export interface Paging {
|
|
|
2591
2595
|
/** Number of items to skip in the current sort order. */
|
|
2592
2596
|
offset?: number | null;
|
|
2593
2597
|
}
|
|
2594
|
-
|
|
2598
|
+
interface CursorPaging {
|
|
2595
2599
|
/**
|
|
2596
2600
|
* Number of items to load.
|
|
2597
2601
|
* @max 100
|
|
@@ -2607,36 +2611,36 @@ export interface CursorPaging {
|
|
|
2607
2611
|
*/
|
|
2608
2612
|
cursor?: string | null;
|
|
2609
2613
|
}
|
|
2610
|
-
|
|
2614
|
+
interface QueryDraftPostsResponse {
|
|
2611
2615
|
/** List of posts. */
|
|
2612
2616
|
draftPosts?: DraftPost[];
|
|
2613
2617
|
/** Details on the paged set of results returned. */
|
|
2614
2618
|
pagingMetadata?: PagingMetadataV2;
|
|
2615
2619
|
}
|
|
2616
|
-
|
|
2620
|
+
interface PublishDraftPostRequest {
|
|
2617
2621
|
/**
|
|
2618
2622
|
* Draft post ID.
|
|
2619
2623
|
* @maxLength 38
|
|
2620
2624
|
*/
|
|
2621
2625
|
draftPostId: string;
|
|
2622
2626
|
}
|
|
2623
|
-
|
|
2627
|
+
interface PublishDraftPostResponse {
|
|
2624
2628
|
/**
|
|
2625
2629
|
* Published post ID.
|
|
2626
2630
|
* @format GUID
|
|
2627
2631
|
*/
|
|
2628
2632
|
postId?: string;
|
|
2629
2633
|
}
|
|
2630
|
-
|
|
2634
|
+
interface UnpublishPostRequest {
|
|
2631
2635
|
/**
|
|
2632
2636
|
* Draft post ID.
|
|
2633
2637
|
* @maxLength 38
|
|
2634
2638
|
*/
|
|
2635
2639
|
draftPostId?: string;
|
|
2636
2640
|
}
|
|
2637
|
-
|
|
2641
|
+
interface UnpublishPostResponse {
|
|
2638
2642
|
}
|
|
2639
|
-
|
|
2643
|
+
interface TranslateCategoryRequest {
|
|
2640
2644
|
/**
|
|
2641
2645
|
* Source category ID
|
|
2642
2646
|
* @format GUID
|
|
@@ -2648,13 +2652,13 @@ export interface TranslateCategoryRequest {
|
|
|
2648
2652
|
*/
|
|
2649
2653
|
language?: string;
|
|
2650
2654
|
}
|
|
2651
|
-
|
|
2655
|
+
interface TranslateCategoryResponse {
|
|
2652
2656
|
/** Translated category */
|
|
2653
2657
|
category?: Category;
|
|
2654
2658
|
/** Other translations of returned category */
|
|
2655
2659
|
translations?: CategoryTranslation[];
|
|
2656
2660
|
}
|
|
2657
|
-
|
|
2661
|
+
interface Category {
|
|
2658
2662
|
/**
|
|
2659
2663
|
* Category ID.
|
|
2660
2664
|
* @immutable
|
|
@@ -2722,7 +2726,7 @@ export interface Category {
|
|
|
2722
2726
|
*/
|
|
2723
2727
|
_updatedDate?: Date | null;
|
|
2724
2728
|
}
|
|
2725
|
-
|
|
2729
|
+
interface CategoryTranslation {
|
|
2726
2730
|
/**
|
|
2727
2731
|
* Category ID.
|
|
2728
2732
|
* @format GUID
|
|
@@ -2741,7 +2745,7 @@ export interface CategoryTranslation {
|
|
|
2741
2745
|
/** URL of this category page. */
|
|
2742
2746
|
url?: string;
|
|
2743
2747
|
}
|
|
2744
|
-
|
|
2748
|
+
interface TranslateDraftRequest {
|
|
2745
2749
|
/**
|
|
2746
2750
|
* Source post or draft ID
|
|
2747
2751
|
* @format GUID
|
|
@@ -2760,18 +2764,18 @@ export interface TranslateDraftRequest {
|
|
|
2760
2764
|
*/
|
|
2761
2765
|
fieldsets?: Field[];
|
|
2762
2766
|
}
|
|
2763
|
-
|
|
2767
|
+
interface TranslateDraftResponse {
|
|
2764
2768
|
/** Draft post. */
|
|
2765
2769
|
draftPost?: DraftPost;
|
|
2766
2770
|
}
|
|
2767
|
-
|
|
2771
|
+
interface IsDraftPostAutoTranslatableRequest {
|
|
2768
2772
|
/**
|
|
2769
2773
|
* Source post or draft ID.
|
|
2770
2774
|
* @format GUID
|
|
2771
2775
|
*/
|
|
2772
2776
|
draftPostId?: string;
|
|
2773
2777
|
}
|
|
2774
|
-
|
|
2778
|
+
interface IsDraftPostAutoTranslatableResponse {
|
|
2775
2779
|
/**
|
|
2776
2780
|
* Source draft post ID.
|
|
2777
2781
|
* @format GUID
|
|
@@ -2790,7 +2794,7 @@ export interface IsDraftPostAutoTranslatableResponse {
|
|
|
2790
2794
|
/** Content text character count. */
|
|
2791
2795
|
contentTextCharacterCount?: number;
|
|
2792
2796
|
}
|
|
2793
|
-
|
|
2797
|
+
interface UpdateDraftPostLanguageRequest {
|
|
2794
2798
|
/**
|
|
2795
2799
|
* Source draft post ID
|
|
2796
2800
|
* @format GUID
|
|
@@ -2810,11 +2814,11 @@ export interface UpdateDraftPostLanguageRequest {
|
|
|
2810
2814
|
*/
|
|
2811
2815
|
fieldsets?: Field[];
|
|
2812
2816
|
}
|
|
2813
|
-
|
|
2817
|
+
interface UpdateDraftPostLanguageResponse {
|
|
2814
2818
|
/** Draft post */
|
|
2815
2819
|
draftPost?: DraftPost;
|
|
2816
2820
|
}
|
|
2817
|
-
|
|
2821
|
+
interface BulkUpdateDraftPostLanguageRequest {
|
|
2818
2822
|
/**
|
|
2819
2823
|
* Source post or draft IDs
|
|
2820
2824
|
* @maxSize 50
|
|
@@ -2836,24 +2840,24 @@ export interface BulkUpdateDraftPostLanguageRequest {
|
|
|
2836
2840
|
*/
|
|
2837
2841
|
fieldsets?: Field[];
|
|
2838
2842
|
}
|
|
2839
|
-
|
|
2843
|
+
interface BulkUpdateDraftPostLanguageResponse {
|
|
2840
2844
|
/** Bulk action results */
|
|
2841
2845
|
results?: BulkDraftPostResult[];
|
|
2842
2846
|
/** Bulk action metadata */
|
|
2843
2847
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2844
2848
|
}
|
|
2845
|
-
|
|
2849
|
+
interface GetPostAmountsByLanguageRequest {
|
|
2846
2850
|
/**
|
|
2847
2851
|
* Post status to filter by
|
|
2848
2852
|
* @maxLength 100
|
|
2849
2853
|
*/
|
|
2850
2854
|
status?: string;
|
|
2851
2855
|
}
|
|
2852
|
-
|
|
2856
|
+
interface GetPostAmountsByLanguageResponse {
|
|
2853
2857
|
/** Post amounts by language */
|
|
2854
2858
|
postAmountsByLanguage?: PostAmountByLanguage[];
|
|
2855
2859
|
}
|
|
2856
|
-
|
|
2860
|
+
interface PostAmountByLanguage {
|
|
2857
2861
|
/**
|
|
2858
2862
|
* Post language code
|
|
2859
2863
|
* @format LANGUAGE_TAG
|
|
@@ -2867,7 +2871,7 @@ export interface PostAmountByLanguage {
|
|
|
2867
2871
|
/** Post amount in that language */
|
|
2868
2872
|
postAmount?: number;
|
|
2869
2873
|
}
|
|
2870
|
-
|
|
2874
|
+
interface BulkRevertToUnpublishedRequest {
|
|
2871
2875
|
/**
|
|
2872
2876
|
* Source post IDs.
|
|
2873
2877
|
* @minSize 1
|
|
@@ -2878,13 +2882,13 @@ export interface BulkRevertToUnpublishedRequest {
|
|
|
2878
2882
|
/** Should full draft post be returned. */
|
|
2879
2883
|
returnFullEntity?: boolean;
|
|
2880
2884
|
}
|
|
2881
|
-
|
|
2885
|
+
interface BulkRevertToUnpublishedResponse {
|
|
2882
2886
|
/** Bulk action results. */
|
|
2883
2887
|
results?: BulkDraftPostResult[];
|
|
2884
2888
|
/** Bulk action metadata. */
|
|
2885
2889
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2886
2890
|
}
|
|
2887
|
-
|
|
2891
|
+
interface BulkRejectDraftPostRequest {
|
|
2888
2892
|
/**
|
|
2889
2893
|
* Source post IDs.
|
|
2890
2894
|
* @minSize 1
|
|
@@ -2895,13 +2899,13 @@ export interface BulkRejectDraftPostRequest {
|
|
|
2895
2899
|
/** Should full draft post be returned. */
|
|
2896
2900
|
returnFullEntity?: boolean;
|
|
2897
2901
|
}
|
|
2898
|
-
|
|
2902
|
+
interface BulkRejectDraftPostResponse {
|
|
2899
2903
|
/** Bulk action results. */
|
|
2900
2904
|
results?: BulkDraftPostResult[];
|
|
2901
2905
|
/** Bulk action metadata. */
|
|
2902
2906
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2903
2907
|
}
|
|
2904
|
-
|
|
2908
|
+
interface RevertToUnpublishedRequest {
|
|
2905
2909
|
/**
|
|
2906
2910
|
* Source post ID.
|
|
2907
2911
|
* @format GUID
|
|
@@ -2915,11 +2919,11 @@ export interface RevertToUnpublishedRequest {
|
|
|
2915
2919
|
*/
|
|
2916
2920
|
fieldsets?: Field[];
|
|
2917
2921
|
}
|
|
2918
|
-
|
|
2922
|
+
interface RevertToUnpublishedResponse {
|
|
2919
2923
|
/** Updated post draft. */
|
|
2920
2924
|
draftPost?: DraftPost;
|
|
2921
2925
|
}
|
|
2922
|
-
|
|
2926
|
+
interface RejectDraftPostRequest {
|
|
2923
2927
|
/**
|
|
2924
2928
|
* Source post ID.
|
|
2925
2929
|
* @format GUID
|
|
@@ -2933,11 +2937,11 @@ export interface RejectDraftPostRequest {
|
|
|
2933
2937
|
*/
|
|
2934
2938
|
fieldsets?: Field[];
|
|
2935
2939
|
}
|
|
2936
|
-
|
|
2940
|
+
interface RejectDraftPostResponse {
|
|
2937
2941
|
/** Draft post. */
|
|
2938
2942
|
draftPost?: DraftPost;
|
|
2939
2943
|
}
|
|
2940
|
-
|
|
2944
|
+
interface ApproveDraftPostRequest {
|
|
2941
2945
|
/**
|
|
2942
2946
|
* Source post ID.
|
|
2943
2947
|
* @format GUID
|
|
@@ -2956,11 +2960,11 @@ export interface ApproveDraftPostRequest {
|
|
|
2956
2960
|
*/
|
|
2957
2961
|
fieldsets?: Field[];
|
|
2958
2962
|
}
|
|
2959
|
-
|
|
2963
|
+
interface ApproveDraftPostResponse {
|
|
2960
2964
|
/** Updated post draft. */
|
|
2961
2965
|
draftPost?: DraftPost;
|
|
2962
2966
|
}
|
|
2963
|
-
|
|
2967
|
+
interface MarkPostAsInModerationRequest {
|
|
2964
2968
|
/**
|
|
2965
2969
|
* Source post ID.
|
|
2966
2970
|
* @maxLength 38
|
|
@@ -2974,11 +2978,11 @@ export interface MarkPostAsInModerationRequest {
|
|
|
2974
2978
|
*/
|
|
2975
2979
|
fieldsets?: Field[];
|
|
2976
2980
|
}
|
|
2977
|
-
|
|
2981
|
+
interface MarkPostAsInModerationResponse {
|
|
2978
2982
|
/** Updated post draft. */
|
|
2979
2983
|
draftPost?: DraftPost;
|
|
2980
2984
|
}
|
|
2981
|
-
|
|
2985
|
+
interface BaseEventMetadata {
|
|
2982
2986
|
/**
|
|
2983
2987
|
* App instance ID.
|
|
2984
2988
|
* @format GUID
|
|
@@ -2992,7 +2996,7 @@ export interface BaseEventMetadata {
|
|
|
2992
2996
|
/** The identification type and identity data. */
|
|
2993
2997
|
identity?: IdentificationData;
|
|
2994
2998
|
}
|
|
2995
|
-
|
|
2999
|
+
interface EventMetadata extends BaseEventMetadata {
|
|
2996
3000
|
/**
|
|
2997
3001
|
* Unique event ID.
|
|
2998
3002
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -3030,104 +3034,19 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
3030
3034
|
*/
|
|
3031
3035
|
entityEventSequence?: string | null;
|
|
3032
3036
|
}
|
|
3033
|
-
|
|
3037
|
+
interface DraftCreatedEnvelope {
|
|
3034
3038
|
entity: DraftPost;
|
|
3035
3039
|
metadata: EventMetadata;
|
|
3036
3040
|
}
|
|
3037
|
-
|
|
3038
|
-
* Triggered when a draft post is created.
|
|
3039
|
-
* @permissionScope Manage Blog
|
|
3040
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3041
|
-
* @permissionScope Read Draft Blog Posts
|
|
3042
|
-
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
|
3043
|
-
* @permissionScope Read Blog
|
|
3044
|
-
* @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
|
|
3045
|
-
* @permissionScope Manage Blog
|
|
3046
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3047
|
-
* @permissionScope Read Draft Blog Posts
|
|
3048
|
-
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
|
3049
|
-
* @permissionId BLOG.READ_ANY_DRAFT
|
|
3050
|
-
* @permissionId BLOG.READ-PUBLICATION
|
|
3051
|
-
* @webhook
|
|
3052
|
-
* @eventType wix.blog.v3.draft_created
|
|
3053
|
-
* @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.DraftPostService
|
|
3054
|
-
* @slug created
|
|
3055
|
-
*/
|
|
3056
|
-
export declare function onDraftCreated(handler: (event: DraftCreatedEnvelope) => void | Promise<void>): void;
|
|
3057
|
-
export interface DraftDeletedEnvelope {
|
|
3041
|
+
interface DraftDeletedEnvelope {
|
|
3058
3042
|
entity: DraftPost;
|
|
3059
3043
|
metadata: EventMetadata;
|
|
3060
3044
|
}
|
|
3061
|
-
|
|
3062
|
-
* Triggered when a draft post is deleted.
|
|
3063
|
-
* @permissionScope Manage Blog
|
|
3064
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3065
|
-
* @permissionScope Read Draft Blog Posts
|
|
3066
|
-
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
|
3067
|
-
* @permissionScope Read Blog
|
|
3068
|
-
* @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
|
|
3069
|
-
* @permissionScope Manage Blog
|
|
3070
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3071
|
-
* @permissionScope Read Draft Blog Posts
|
|
3072
|
-
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
|
3073
|
-
* @permissionId BLOG.READ_ANY_DRAFT
|
|
3074
|
-
* @permissionId BLOG.READ-PUBLICATION
|
|
3075
|
-
* @webhook
|
|
3076
|
-
* @eventType wix.blog.v3.draft_deleted
|
|
3077
|
-
* @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.DraftPostService
|
|
3078
|
-
* @slug deleted
|
|
3079
|
-
*/
|
|
3080
|
-
export declare function onDraftDeleted(handler: (event: DraftDeletedEnvelope) => void | Promise<void>): void;
|
|
3081
|
-
export interface DraftUpdatedEnvelope {
|
|
3045
|
+
interface DraftUpdatedEnvelope {
|
|
3082
3046
|
entity: DraftPost;
|
|
3083
3047
|
metadata: EventMetadata;
|
|
3084
3048
|
}
|
|
3085
|
-
|
|
3086
|
-
* Triggered when a draft post is updated.
|
|
3087
|
-
* @permissionScope Manage Blog
|
|
3088
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3089
|
-
* @permissionScope Read Draft Blog Posts
|
|
3090
|
-
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
|
3091
|
-
* @permissionScope Read Blog
|
|
3092
|
-
* @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
|
|
3093
|
-
* @permissionScope Manage Blog
|
|
3094
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3095
|
-
* @permissionScope Read Draft Blog Posts
|
|
3096
|
-
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
|
3097
|
-
* @permissionId BLOG.READ_ANY_DRAFT
|
|
3098
|
-
* @permissionId BLOG.READ-PUBLICATION
|
|
3099
|
-
* @webhook
|
|
3100
|
-
* @eventType wix.blog.v3.draft_updated
|
|
3101
|
-
* @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.DraftPostService
|
|
3102
|
-
* @slug updated
|
|
3103
|
-
*/
|
|
3104
|
-
export declare function onDraftUpdated(handler: (event: DraftUpdatedEnvelope) => void | Promise<void>): void;
|
|
3105
|
-
type DraftNonNullablePaths = `_id` | `title` | `categoryIds` | `hashtags` | `minutesToRead` | `tagIds` | `relatedPostIds` | `pricingPlanIds` | `richContent.nodes` | `richContent.nodes.${number}.buttonData.containerData.width.size` | `richContent.nodes.${number}.buttonData.containerData.alignment` | `richContent.nodes.${number}.buttonData.type` | `richContent.nodes.${number}.buttonData.link.url` | `richContent.nodes.${number}.buttonData.link.anchor` | `richContent.nodes.${number}.buttonData.link.target` | `richContent.nodes.${number}.codeBlockData.textStyle.textAlignment` | `richContent.nodes.${number}.dividerData.lineStyle` | `richContent.nodes.${number}.dividerData.width` | `richContent.nodes.${number}.dividerData.alignment` | `richContent.nodes.${number}.fileData.pdfSettings.viewMode` | `richContent.nodes.${number}.galleryData.items` | `richContent.nodes.${number}.galleryData.options.layout.type` | `richContent.nodes.${number}.galleryData.options.layout.orientation` | `richContent.nodes.${number}.galleryData.options.item.crop` | `richContent.nodes.${number}.galleryData.options.thumbnails.placement` | `richContent.nodes.${number}.gifData.height` | `richContent.nodes.${number}.gifData.width` | `richContent.nodes.${number}.gifData.gifType` | `richContent.nodes.${number}.headingData.level` | `richContent.nodes.${number}.htmlData.url` | `richContent.nodes.${number}.htmlData.html` | `richContent.nodes.${number}.htmlData.source` | `richContent.nodes.${number}.linkPreviewData.styles.thumbnailPosition` | `richContent.nodes.${number}.mapData.mapSettings.mapType` | `richContent.nodes.${number}.pollData.poll.options` | `richContent.nodes.${number}.pollData.poll.settings.permissions.view` | `richContent.nodes.${number}.pollData.poll.settings.permissions.vote` | `richContent.nodes.${number}.pollData.layout.poll.type` | `richContent.nodes.${number}.pollData.layout.poll.direction` | `richContent.nodes.${number}.pollData.design.poll.background.type` | `richContent.nodes.${number}.textData.text` | `richContent.nodes.${number}.textData.decorations` | `richContent.nodes.${number}.textData.decorations.${number}.anchorData.anchor` | `richContent.nodes.${number}.textData.decorations.${number}.mentionData.name` | `richContent.nodes.${number}.textData.decorations.${number}.mentionData.slug` | `richContent.nodes.${number}.textData.decorations.${number}.fontSizeData.unit` | `richContent.nodes.${number}.textData.decorations.${number}.type` | `richContent.nodes.${number}.appEmbedData.type` | `richContent.nodes.${number}.collapsibleListData.initialExpandedItems` | `richContent.nodes.${number}.collapsibleListData.direction` | `richContent.nodes.${number}.tableData.dimensions.colsWidthRatio` | `richContent.nodes.${number}.tableData.dimensions.rowsHeight` | `richContent.nodes.${number}.tableData.dimensions.colsMinWidth` | `richContent.nodes.${number}.tableCellData.cellStyle.verticalAlignment` | `richContent.nodes.${number}.orderedListData.indentation` | `richContent.nodes.${number}.bulletedListData.indentation` | `richContent.nodes.${number}.blockquoteData.indentation` | `richContent.nodes.${number}.type` | `richContent.nodes.${number}._id` | `richContent.nodes.${number}.nodes` | `richContent.metadata.version` | `richContent.documentStyle.headerOne.decorations` | `status` | `moderationDetails.submittedBy` | `moderationDetails.status` | `hasUnpublishedChanges` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `media.embedMedia.thumbnail.url` | `media.embedMedia.thumbnail.width` | `media.embedMedia.thumbnail.height` | `media.embedMedia.video.url` | `media.embedMedia.video.width` | `media.embedMedia.video.height` | `media.displayed` | `media.custom`;
|
|
3106
|
-
/**
|
|
3107
|
-
* Creates a draft post.
|
|
3108
|
-
*
|
|
3109
|
-
* For 3rd-party apps, `memberId` is a required field.
|
|
3110
|
-
*
|
|
3111
|
-
* In `categoryIds`, only categories that already exist will be added to the draft post. Including
|
|
3112
|
-
* `categoryIds` that do not exist will not return an error, but they will not be added to the `categoryIds` array.
|
|
3113
|
-
* If some of the categories exist, those will be added while those that do not exist will not be added to `categoryIds`.
|
|
3114
|
-
* You can check which categories are available with
|
|
3115
|
-
* List Categories ([SDK](https://dev.wix.com/docs/sdk/backend-modules/blog/categories/list-categories) | [REST](https://dev.wix.com/docs/rest/business-solutions/blog/category/list-categories)).
|
|
3116
|
-
* @param draftPost - Draft post to create.
|
|
3117
|
-
* @public
|
|
3118
|
-
* @requiredField draftPost
|
|
3119
|
-
* @requiredField draftPost.title
|
|
3120
|
-
* @param options - Options for creating a draft post.
|
|
3121
|
-
* @permissionId BLOG.CREATE-DRAFT
|
|
3122
|
-
* @permissionScope Manage Blog
|
|
3123
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3124
|
-
* @applicableIdentity APP
|
|
3125
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.CreateDraftPost
|
|
3126
|
-
*/
|
|
3127
|
-
export declare function createDraftPost(draftPost: NonNullablePaths<DraftPost, `title`>, options?: CreateDraftPostOptions): Promise<NonNullablePaths<CreateDraftPostResponse, {
|
|
3128
|
-
[P in DraftNonNullablePaths]: `draftPost.${P}`;
|
|
3129
|
-
}[DraftNonNullablePaths]>>;
|
|
3130
|
-
export interface CreateDraftPostOptions {
|
|
3049
|
+
interface CreateDraftPostOptions {
|
|
3131
3050
|
/**
|
|
3132
3051
|
* Whether the draft post should be published on creation.
|
|
3133
3052
|
*
|
|
@@ -3142,23 +3061,7 @@ export interface CreateDraftPostOptions {
|
|
|
3142
3061
|
*/
|
|
3143
3062
|
fieldsets?: Field[];
|
|
3144
3063
|
}
|
|
3145
|
-
|
|
3146
|
-
* Creates multiple draft posts.
|
|
3147
|
-
* @param draftPosts - Draft posts to create.
|
|
3148
|
-
* @public
|
|
3149
|
-
* @requiredField draftPosts
|
|
3150
|
-
* @requiredField draftPosts.title
|
|
3151
|
-
* @param options - Options for creating multiple draft posts.
|
|
3152
|
-
* @permissionId BLOG.CREATE-DRAFT
|
|
3153
|
-
* @permissionScope Manage Blog
|
|
3154
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3155
|
-
* @applicableIdentity APP
|
|
3156
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkCreateDraftPosts
|
|
3157
|
-
*/
|
|
3158
|
-
export declare function bulkCreateDraftPosts(draftPosts: NonNullablePaths<DraftPost, `title`>[], options?: BulkCreateDraftPostsOptions): Promise<NonNullablePaths<BulkCreateDraftPostsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
|
|
3159
|
-
[P in DraftNonNullablePaths]: `results.${number}.item.${P}`;
|
|
3160
|
-
}[DraftNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
3161
|
-
export interface BulkCreateDraftPostsOptions {
|
|
3064
|
+
interface BulkCreateDraftPostsOptions {
|
|
3162
3065
|
/** Whether the draft post should be published after creation. */
|
|
3163
3066
|
publish?: boolean;
|
|
3164
3067
|
/** Whether to return the full created draft post entities in the response. */
|
|
@@ -3171,22 +3074,7 @@ export interface BulkCreateDraftPostsOptions {
|
|
|
3171
3074
|
*/
|
|
3172
3075
|
fieldsets?: Field[];
|
|
3173
3076
|
}
|
|
3174
|
-
|
|
3175
|
-
* Updates multiple draft posts.
|
|
3176
|
-
* @public
|
|
3177
|
-
* @requiredField options.draftPosts.draftPost
|
|
3178
|
-
* @requiredField options.draftPosts.draftPost._id
|
|
3179
|
-
* @param options - Options for updating multiple draft posts.
|
|
3180
|
-
* @permissionId BLOG.EDIT-DRAFT
|
|
3181
|
-
* @permissionScope Manage Blog
|
|
3182
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3183
|
-
* @applicableIdentity APP
|
|
3184
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkUpdateDraftPosts
|
|
3185
|
-
*/
|
|
3186
|
-
export declare function bulkUpdateDraftPosts(options?: NonNullablePaths<BulkUpdateDraftPostsOptions, `draftPosts.${number}.draftPost` | `draftPosts.${number}.draftPost._id`>): Promise<NonNullablePaths<BulkUpdateDraftPostsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
|
|
3187
|
-
[P in DraftNonNullablePaths]: `results.${number}.item.${P}`;
|
|
3188
|
-
}[DraftNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
3189
|
-
export interface BulkUpdateDraftPostsOptions {
|
|
3077
|
+
interface BulkUpdateDraftPostsOptions {
|
|
3190
3078
|
/**
|
|
3191
3079
|
* Draft posts to update.
|
|
3192
3080
|
* @minSize 1
|
|
@@ -3211,25 +3099,7 @@ export interface BulkUpdateDraftPostsOptions {
|
|
|
3211
3099
|
*/
|
|
3212
3100
|
fieldsets?: Field[];
|
|
3213
3101
|
}
|
|
3214
|
-
|
|
3215
|
-
* Retrieves a list of up to 100 deleted draft posts.
|
|
3216
|
-
*
|
|
3217
|
-
* List Draft Posts runs with these defaults, which you can override:
|
|
3218
|
-
* - `editedDate` is sorted in descending order. In this case,`editedDate` implies the date the post was deleted.
|
|
3219
|
-
* - `paging.limit` is `50`.
|
|
3220
|
-
* - `paging.offset` is `0`.
|
|
3221
|
-
* @public
|
|
3222
|
-
* @param options - Options for listing deleted draft posts.
|
|
3223
|
-
* @permissionId BLOG.READ_DRAFT
|
|
3224
|
-
* @permissionScope Manage Blog
|
|
3225
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3226
|
-
* @applicableIdentity APP
|
|
3227
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDeletedDraftPosts
|
|
3228
|
-
*/
|
|
3229
|
-
export declare function listDeletedDraftPosts(options?: ListDeletedDraftPostsOptions): Promise<NonNullablePaths<ListDeletedDraftPostsResponse, {
|
|
3230
|
-
[P in DraftNonNullablePaths]: `draftPosts.${number}.${P}`;
|
|
3231
|
-
}[DraftNonNullablePaths] | `metaData.count` | `metaData.offset` | `metaData.total`>>;
|
|
3232
|
-
export interface ListDeletedDraftPostsOptions {
|
|
3102
|
+
interface ListDeletedDraftPostsOptions {
|
|
3233
3103
|
/**
|
|
3234
3104
|
* Language filter.
|
|
3235
3105
|
*
|
|
@@ -3260,22 +3130,7 @@ export interface ListDeletedDraftPostsOptions {
|
|
|
3260
3130
|
*/
|
|
3261
3131
|
draftPostIds?: string[];
|
|
3262
3132
|
}
|
|
3263
|
-
|
|
3264
|
-
* Retrieves a draft post by the provided ID.
|
|
3265
|
-
* @param draftPostId - Draft post ID.
|
|
3266
|
-
* @public
|
|
3267
|
-
* @requiredField draftPostId
|
|
3268
|
-
* @param options - Options for getting a draft post.
|
|
3269
|
-
* @permissionId BLOG.READ_DRAFT
|
|
3270
|
-
* @permissionScope Manage Blog
|
|
3271
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3272
|
-
* @applicableIdentity APP
|
|
3273
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDraftPost
|
|
3274
|
-
*/
|
|
3275
|
-
export declare function getDraftPost(draftPostId: string, options?: GetDraftPostOptions): Promise<NonNullablePaths<GetDraftPostResponse, {
|
|
3276
|
-
[P in DraftNonNullablePaths]: `draftPost.${P}`;
|
|
3277
|
-
}[DraftNonNullablePaths]>>;
|
|
3278
|
-
export interface GetDraftPostOptions {
|
|
3133
|
+
interface GetDraftPostOptions {
|
|
3279
3134
|
/**
|
|
3280
3135
|
* List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
3281
3136
|
* the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
@@ -3284,24 +3139,7 @@ export interface GetDraftPostOptions {
|
|
|
3284
3139
|
*/
|
|
3285
3140
|
fieldsets?: Field[];
|
|
3286
3141
|
}
|
|
3287
|
-
|
|
3288
|
-
* Updates a draft post.
|
|
3289
|
-
* @param _id - Draft post ID.
|
|
3290
|
-
* @public
|
|
3291
|
-
* @requiredField _id
|
|
3292
|
-
* @requiredField draftPost
|
|
3293
|
-
* @param options - Options for updating a draft post.
|
|
3294
|
-
* @param draftPost - Draft Post info.
|
|
3295
|
-
* @permissionId BLOG.EDIT-DRAFT
|
|
3296
|
-
* @permissionScope Manage Blog
|
|
3297
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3298
|
-
* @applicableIdentity APP
|
|
3299
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.UpdateDraftPost
|
|
3300
|
-
*/
|
|
3301
|
-
export declare function updateDraftPost(_id: string, draftPost: UpdateDraftPost, options?: UpdateDraftPostOptions): Promise<NonNullablePaths<UpdateDraftPostResponse, {
|
|
3302
|
-
[P in DraftNonNullablePaths]: `draftPost.${P}`;
|
|
3303
|
-
}[DraftNonNullablePaths]>>;
|
|
3304
|
-
export interface UpdateDraftPost {
|
|
3142
|
+
interface UpdateDraftPost {
|
|
3305
3143
|
/**
|
|
3306
3144
|
* Draft post ID.
|
|
3307
3145
|
* @readonly
|
|
@@ -3436,7 +3274,7 @@ export interface UpdateDraftPost {
|
|
|
3436
3274
|
/** Number of paragraphs to display in a paid content preview for non-paying users. */
|
|
3437
3275
|
previewTextParagraph?: number | null;
|
|
3438
3276
|
}
|
|
3439
|
-
|
|
3277
|
+
interface UpdateDraftPostOptions {
|
|
3440
3278
|
/**
|
|
3441
3279
|
* Action to perform on the post.
|
|
3442
3280
|
*
|
|
@@ -3453,23 +3291,7 @@ export interface UpdateDraftPostOptions {
|
|
|
3453
3291
|
*/
|
|
3454
3292
|
fieldsets?: Field[];
|
|
3455
3293
|
}
|
|
3456
|
-
|
|
3457
|
-
* Moves a draft post to the trash bin.
|
|
3458
|
-
* A published post can also be deleted by the `post.id`. See the Posts API ([SDK](https://dev.wix.com/docs/sdk/backend-modules/blog/posts/) | [REST](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/post-object)) for more information about posts.
|
|
3459
|
-
*
|
|
3460
|
-
* To permanently delete a post bypassing the trash bin, set the `permanent` field value to `true`. The post can't be restored after this.
|
|
3461
|
-
* @param draftPostId - Draft post ID.
|
|
3462
|
-
* @public
|
|
3463
|
-
* @requiredField draftPostId
|
|
3464
|
-
* @param options - Options for deleting a draft post.
|
|
3465
|
-
* @permissionId BLOG.DELETE-DRAFT
|
|
3466
|
-
* @permissionScope Manage Blog
|
|
3467
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3468
|
-
* @applicableIdentity APP
|
|
3469
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.DeleteDraftPost
|
|
3470
|
-
*/
|
|
3471
|
-
export declare function deleteDraftPost(draftPostId: string, options?: DeleteDraftPostOptions): Promise<void>;
|
|
3472
|
-
export interface DeleteDraftPostOptions {
|
|
3294
|
+
interface DeleteDraftPostOptions {
|
|
3473
3295
|
/**
|
|
3474
3296
|
* Whether to bypass the trash bin and delete the post permanently.
|
|
3475
3297
|
*
|
|
@@ -3477,58 +3299,11 @@ export interface DeleteDraftPostOptions {
|
|
|
3477
3299
|
*/
|
|
3478
3300
|
permanent?: boolean;
|
|
3479
3301
|
}
|
|
3480
|
-
|
|
3481
|
-
* Permanently deletes a draft post that is currently in the trash bin.
|
|
3482
|
-
*
|
|
3483
|
-
* This action is permanent and can't be reversed.
|
|
3484
|
-
* @param draftPostId - Draft post ID.
|
|
3485
|
-
* @public
|
|
3486
|
-
* @requiredField draftPostId
|
|
3487
|
-
* @permissionId BLOG.DELETE-DRAFT
|
|
3488
|
-
* @permissionScope Manage Blog
|
|
3489
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3490
|
-
* @applicableIdentity APP
|
|
3491
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RemoveFromTrashBin
|
|
3492
|
-
*/
|
|
3493
|
-
export declare function removeFromTrashBin(draftPostId: string): Promise<void>;
|
|
3494
|
-
/**
|
|
3495
|
-
* Deletes multiple draft posts.
|
|
3496
|
-
* @param postIds - Post IDs.
|
|
3497
|
-
* @public
|
|
3498
|
-
* @requiredField postIds
|
|
3499
|
-
* @param options - Options for deleting multiple draft posts.
|
|
3500
|
-
* @permissionId BLOG.DELETE-DRAFT
|
|
3501
|
-
* @permissionScope Manage Blog
|
|
3502
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3503
|
-
* @applicableIdentity APP
|
|
3504
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkDeleteDraftPosts
|
|
3505
|
-
*/
|
|
3506
|
-
export declare function bulkDeleteDraftPosts(postIds: string[], options?: BulkDeleteDraftPostsOptions): Promise<NonNullablePaths<BulkDeleteDraftPostsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
|
|
3507
|
-
[P in DraftNonNullablePaths]: `results.${number}.item.${P}`;
|
|
3508
|
-
}[DraftNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
3509
|
-
export interface BulkDeleteDraftPostsOptions {
|
|
3302
|
+
interface BulkDeleteDraftPostsOptions {
|
|
3510
3303
|
/** Should delete bypassing the trash-bin. */
|
|
3511
3304
|
permanent?: boolean;
|
|
3512
3305
|
}
|
|
3513
|
-
|
|
3514
|
-
* Retrieves a list of up to 100 draft posts per request.
|
|
3515
|
-
*
|
|
3516
|
-
* List Draft Posts runs with these defaults, which you can override:
|
|
3517
|
-
* - `editedDate` is sorted in descending order.
|
|
3518
|
-
* - `paging.limit` is `50`.
|
|
3519
|
-
* - `paging.offset` is `0`.
|
|
3520
|
-
* @public
|
|
3521
|
-
* @param options - Options for listing multiple draft posts.
|
|
3522
|
-
* @permissionId BLOG.READ_DRAFT
|
|
3523
|
-
* @permissionScope Manage Blog
|
|
3524
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3525
|
-
* @applicableIdentity APP
|
|
3526
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDraftPosts
|
|
3527
|
-
*/
|
|
3528
|
-
export declare function listDraftPosts(options?: ListDraftPostsOptions): Promise<NonNullablePaths<ListDraftPostsResponse, {
|
|
3529
|
-
[P in DraftNonNullablePaths]: `draftPosts.${number}.${P}`;
|
|
3530
|
-
}[DraftNonNullablePaths] | `metaData.count` | `metaData.offset` | `metaData.total`>>;
|
|
3531
|
-
export interface ListDraftPostsOptions {
|
|
3306
|
+
interface ListDraftPostsOptions {
|
|
3532
3307
|
/**
|
|
3533
3308
|
* Draft post status filter.
|
|
3534
3309
|
*
|
|
@@ -3559,59 +3334,7 @@ export interface ListDraftPostsOptions {
|
|
|
3559
3334
|
*/
|
|
3560
3335
|
fieldsets?: Field[];
|
|
3561
3336
|
}
|
|
3562
|
-
|
|
3563
|
-
* Retrieves a deleted draft post from the trash bin by the provided ID.
|
|
3564
|
-
* @param draftPostId - Draft post ID.
|
|
3565
|
-
* @public
|
|
3566
|
-
* @requiredField draftPostId
|
|
3567
|
-
* @permissionId BLOG.READ_DRAFT
|
|
3568
|
-
* @permissionScope Manage Blog
|
|
3569
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3570
|
-
* @applicableIdentity APP
|
|
3571
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDeletedDraftPost
|
|
3572
|
-
*/
|
|
3573
|
-
export declare function getDeletedDraftPost(draftPostId: string): Promise<NonNullablePaths<GetDeletedDraftPostResponse, {
|
|
3574
|
-
[P in DraftNonNullablePaths]: `draftPost.${P}`;
|
|
3575
|
-
}[DraftNonNullablePaths]>>;
|
|
3576
|
-
/**
|
|
3577
|
-
* Restores a deleted draft post from the trash bin by the provided ID.
|
|
3578
|
-
* @param draftPostId - Draft post ID.
|
|
3579
|
-
* @public
|
|
3580
|
-
* @requiredField draftPostId
|
|
3581
|
-
* @permissionId BLOG.EDIT-DRAFT
|
|
3582
|
-
* @permissionScope Manage Blog
|
|
3583
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3584
|
-
* @applicableIdentity APP
|
|
3585
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RestoreFromTrashBin
|
|
3586
|
-
*/
|
|
3587
|
-
export declare function restoreFromTrashBin(draftPostId: string): Promise<NonNullablePaths<RestoreFromTrashBinResponse, {
|
|
3588
|
-
[P in DraftNonNullablePaths]: `draftPost.${P}`;
|
|
3589
|
-
}[DraftNonNullablePaths]>>;
|
|
3590
|
-
/**
|
|
3591
|
-
* Creates a query to retrieve a list of up to 100 draft posts.
|
|
3592
|
-
*
|
|
3593
|
-
*
|
|
3594
|
-
* The `queryDraftPosts()` function builds a query to retrieve a list of up to 100 draft posts, and returns a `DraftPostsQueryBuilder` object.
|
|
3595
|
-
*
|
|
3596
|
-
* The returned object contains the query definition, which is typically used to run the query using the `find()` function.
|
|
3597
|
-
*
|
|
3598
|
-
* You can refine the query by chaining `DraftPostsQueryBuilder` functions onto the query. `DraftPostsQueryBuilder` functions enable you to sort, filter, and control the results that `queryDraftPosts()` returns.
|
|
3599
|
-
*
|
|
3600
|
-
* `queryDraftPosts()` runs with these `DraftPostsQueryBuilder` defaults that can be overridden:
|
|
3601
|
-
* - `limit(50)`
|
|
3602
|
-
* - `ascending('_id')`
|
|
3603
|
-
*
|
|
3604
|
-
* The following `DraftPostsQueryBuilder` functions are supported for `queryDraftPosts()`. For a full description of the Draft Posts object, see the object returned for the `items` property in `DraftPostsQueryResult`.
|
|
3605
|
-
* @public
|
|
3606
|
-
* @param options - Options for querying draft posts.
|
|
3607
|
-
* @permissionScope Manage Blog
|
|
3608
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3609
|
-
* @permissionId BLOG.READ_DRAFT
|
|
3610
|
-
* @applicableIdentity APP
|
|
3611
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.QueryDraftPosts
|
|
3612
|
-
*/
|
|
3613
|
-
export declare function queryDraftPosts(options?: QueryDraftPostsOptions): DraftPostsQueryBuilder;
|
|
3614
|
-
export interface QueryDraftPostsOptions {
|
|
3337
|
+
interface QueryDraftPostsOptions {
|
|
3615
3338
|
/**
|
|
3616
3339
|
* List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
3617
3340
|
* the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
@@ -3627,13 +3350,13 @@ interface QueryCursorResult {
|
|
|
3627
3350
|
length: number;
|
|
3628
3351
|
pageSize: number;
|
|
3629
3352
|
}
|
|
3630
|
-
|
|
3353
|
+
interface DraftPostsQueryResult extends QueryCursorResult {
|
|
3631
3354
|
items: DraftPost[];
|
|
3632
3355
|
query: DraftPostsQueryBuilder;
|
|
3633
3356
|
next: () => Promise<DraftPostsQueryResult>;
|
|
3634
3357
|
prev: () => Promise<DraftPostsQueryResult>;
|
|
3635
3358
|
}
|
|
3636
|
-
|
|
3359
|
+
interface DraftPostsQueryBuilder {
|
|
3637
3360
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
3638
3361
|
* @param value - Value to compare against.
|
|
3639
3362
|
*/
|
|
@@ -3682,20 +3405,5 @@ export interface DraftPostsQueryBuilder {
|
|
|
3682
3405
|
skipTo: (cursor: string) => DraftPostsQueryBuilder;
|
|
3683
3406
|
find: () => Promise<DraftPostsQueryResult>;
|
|
3684
3407
|
}
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
* with the data from the draft post.
|
|
3688
|
-
*
|
|
3689
|
-
* If the draft post was already published, the published post will be updated with the latest values
|
|
3690
|
-
* from the draft post.
|
|
3691
|
-
* @param draftPostId - Draft post ID.
|
|
3692
|
-
* @public
|
|
3693
|
-
* @requiredField draftPostId
|
|
3694
|
-
* @permissionId BLOG.PUBLISH-POST
|
|
3695
|
-
* @permissionScope Manage Blog
|
|
3696
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3697
|
-
* @applicableIdentity APP
|
|
3698
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.PublishDraftPost
|
|
3699
|
-
*/
|
|
3700
|
-
export declare function publishDraftPost(draftPostId: string): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`>>;
|
|
3701
|
-
export {};
|
|
3408
|
+
|
|
3409
|
+
export { VerticalAlignment as $, Alignment as A, type BulkCreateDraftPostsOptions as B, type CreateDraftPostOptions as C, type DraftPost as D, ViewRole as E, VoteRole as F, type GetDraftPostOptions as G, PollLayoutType as H, PollLayoutDirection as I, BackgroundType as J, DecorationType as K, type ListDeletedDraftPostsOptions as L, MapType as M, NodeType as N, Origin as O, type PublishDraftPostResponse as P, type QueryDraftPostsOptions as Q, type RestoreFromTrashBinResponse as R, Source as S, Target as T, type UpdateDraftPost as U, ViewMode as V, WidthType as W, FontType as X, AppType as Y, InitialExpandedItems as Z, Direction as _, type CreateDraftPostResponse as a, type PollLayout as a$, NullValue as a0, Status as a1, ModerationStatusStatus as a2, TotalDraftPostsGroupingField as a3, WebhookIdentityType as a4, Type as a5, Field as a6, Action as a7, GetDraftPostsSort as a8, SortOrder as a9, type GalleryData as aA, type V1Media as aB, type Image as aC, type Video as aD, type Item as aE, type ItemDataOneOf as aF, type GalleryOptions as aG, type Layout as aH, type ItemStyle as aI, type Thumbnails as aJ, type GIFData as aK, type GIF as aL, type HeadingData as aM, type HTMLData as aN, type HTMLDataDataOneOf as aO, type ImageData as aP, type StylesBorder as aQ, type ImageDataStyles as aR, type LinkPreviewData as aS, type LinkPreviewDataStyles as aT, type MapData as aU, type MapSettings as aV, type ParagraphData as aW, type PollData as aX, type Permissions as aY, type Option as aZ, type PollSettings as a_, type CoverMedia as aa, type CoverMediaMediaOneOf as ab, type FocalPoint as ac, type RichContent as ad, type Node as ae, type NodeDataOneOf as af, type NodeStyle as ag, type ButtonData as ah, type Border as ai, type Colors as aj, type PluginContainerData as ak, type PluginContainerDataWidth as al, type PluginContainerDataWidthDataOneOf as am, type Spoiler as an, type Height as ao, type Styles as ap, type Link as aq, type LinkDataOneOf as ar, type Rel as as, type CodeBlockData as at, type TextStyle as au, type DividerData as av, type FileData as aw, type FileSource as ax, type FileSourceDataOneOf as ay, type PDFSettings as az, type BulkCreateDraftPostsResponse as b, type RestoreInfo as b$, type OptionLayout as b0, type Gradient as b1, type Background as b2, type BackgroundBackgroundOneOf as b3, type PollDesign as b4, type OptionDesign as b5, type Poll as b6, type PollDataLayout as b7, type Design as b8, type TextData as b9, type BlockquoteData as bA, type CaptionData as bB, type LayoutCellData as bC, type Metadata as bD, type DocumentStyle as bE, type TextNodeStyle as bF, type ModerationDetails as bG, type SeoSchema as bH, type Keyword as bI, type Tag as bJ, type Settings as bK, type Media as bL, type MediaMediaOneOf as bM, type WixMedia as bN, type VideoResolution as bO, type EmbedMedia as bP, type EmbedThumbnail as bQ, type EmbedVideo as bR, type DraftPostTranslation as bS, type DraftCategoriesUpdated as bT, type DraftTagsUpdated as bU, type GetDraftPostTotalsRequest as bV, type GetDraftPostTotalsResponse as bW, type TotalDraftPosts as bX, type DomainEvent as bY, type DomainEventBodyOneOf as bZ, type EntityCreatedEvent as b_, type Decoration as ba, type DecorationDataOneOf as bb, type AnchorData as bc, type ColorData as bd, type LinkData as be, type MentionData as bf, type FontSizeData as bg, type SpoilerData as bh, type AppEmbedData as bi, type AppEmbedDataAppDataOneOf as bj, type BookingData as bk, type EventData as bl, type VideoData as bm, type PlaybackOptions as bn, type EmbedData as bo, type Oembed as bp, type CollapsibleListData as bq, type TableData as br, type Dimensions as bs, type TableCellData as bt, type CellStyle as bu, type BorderColors as bv, type ListValue as bw, type AudioData as bx, type OrderedListData as by, type BulletedListData as bz, type BulkUpdateDraftPostsOptions as c, type RevertToUnpublishedRequest as c$, type EntityUpdatedEvent as c0, type EntityDeletedEvent as c1, type ActionEvent as c2, type MessageEnvelope as c3, type IdentificationData as c4, type IdentificationDataIdOneOf as c5, type InitialDraftPostsCopied as c6, type CreateDraftPostRequest as c7, type BulkCreateDraftPostsRequest as c8, type BulkDraftPostResult as c9, type PlatformQuery as cA, type PlatformQueryPagingMethodOneOf as cB, type Paging as cC, type CursorPaging as cD, type QueryDraftPostsResponse as cE, type PublishDraftPostRequest as cF, type UnpublishPostRequest as cG, type UnpublishPostResponse as cH, type TranslateCategoryRequest as cI, type TranslateCategoryResponse as cJ, type Category as cK, type CategoryTranslation as cL, type TranslateDraftRequest as cM, type TranslateDraftResponse as cN, type IsDraftPostAutoTranslatableRequest as cO, type IsDraftPostAutoTranslatableResponse as cP, type UpdateDraftPostLanguageRequest as cQ, type UpdateDraftPostLanguageResponse as cR, type BulkUpdateDraftPostLanguageRequest as cS, type BulkUpdateDraftPostLanguageResponse as cT, type GetPostAmountsByLanguageRequest as cU, type GetPostAmountsByLanguageResponse as cV, type PostAmountByLanguage as cW, type BulkRevertToUnpublishedRequest as cX, type BulkRevertToUnpublishedResponse as cY, type BulkRejectDraftPostRequest as cZ, type BulkRejectDraftPostResponse as c_, type ItemMetadata as ca, type ApplicationError as cb, type BulkActionMetadata as cc, type BulkUpdateDraftPostsRequest as cd, type MaskedDraftPosts as ce, type DraftPostOwnerChanged as cf, type ListDeletedDraftPostsRequest as cg, type BlogPaging as ch, type MetaData as ci, type PagingMetadataV2 as cj, type Cursors as ck, type GetDraftPostRequest as cl, type UpdateDraftPostContentRequest as cm, type UpdateDraftPostContentRequestDraftContentOneOf as cn, type UpdateDraftPostContentResponse as co, type UpdateDraftPostRequest as cp, type DeleteDraftPostRequest as cq, type DeleteDraftPostResponse as cr, type RemoveFromTrashBinRequest as cs, type RemoveFromTrashBinResponse as ct, type BulkDeleteDraftPostsRequest as cu, type ListDraftPostsRequest as cv, type GetDeletedDraftPostRequest as cw, type RestoreFromTrashBinRequest as cx, type QueryDraftPostsRequest as cy, type Sorting as cz, type BulkUpdateDraftPostsResponse as d, type RevertToUnpublishedResponse as d0, type RejectDraftPostRequest as d1, type RejectDraftPostResponse as d2, type ApproveDraftPostRequest as d3, type ApproveDraftPostResponse as d4, type MarkPostAsInModerationRequest as d5, type MarkPostAsInModerationResponse as d6, type BaseEventMetadata as d7, type EventMetadata as d8, type DraftCreatedEnvelope as d9, type DraftDeletedEnvelope as da, type DraftUpdatedEnvelope as db, type DraftPostsQueryResult as dc, type ListDeletedDraftPostsResponse as e, type GetDraftPostResponse as f, type UpdateDraftPostOptions as g, type UpdateDraftPostResponse as h, type DeleteDraftPostOptions as i, type BulkDeleteDraftPostsOptions as j, type BulkDeleteDraftPostsResponse as k, type ListDraftPostsOptions as l, type ListDraftPostsResponse as m, type GetDeletedDraftPostResponse as n, type DraftPostsQueryBuilder as o, PluginContainerDataAlignment as p, ButtonDataType as q, TextAlignment as r, LineStyle as s, Width as t, LayoutType as u, Orientation as v, Crop as w, ThumbnailsAlignment as x, GIFType as y, Position as z };
|