@wix/auto_sdk_blog_draft-posts 1.0.14 → 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} +311 -958
- package/build/{internal/es/src/blog-v3-draft-draft-posts.universal.d.ts → blog-v3-draft-draft-posts.universal-vVP72XfS.d.ts} +311 -958
- 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} +311 -958
- package/build/{es/src/blog-v3-draft-draft-posts.universal.d.ts → internal/blog-v3-draft-draft-posts.universal-vVP72XfS.d.ts} +311 -958
- 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} +269 -1445
- package/build/internal/{cjs/src/blog-v3-draft-draft-posts.types.d.ts → meta.d.ts} +269 -1445
- 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} +269 -1445
- package/build/{internal/es/src/blog-v3-draft-draft-posts.types.d.ts → meta.d.ts} +269 -1445
- 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,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
interface DraftPost {
|
|
2
2
|
/**
|
|
3
3
|
* Draft post ID.
|
|
4
4
|
* @readonly
|
|
@@ -133,7 +133,7 @@ export interface DraftPost {
|
|
|
133
133
|
/** Number of paragraphs to display in a paid content preview for non-paying users. */
|
|
134
134
|
previewTextParagraph?: number | null;
|
|
135
135
|
}
|
|
136
|
-
|
|
136
|
+
interface CoverMedia extends CoverMediaMediaOneOf {
|
|
137
137
|
/** Image url. */
|
|
138
138
|
image?: string;
|
|
139
139
|
/** Video url. */
|
|
@@ -164,13 +164,13 @@ export interface CoverMedia extends CoverMediaMediaOneOf {
|
|
|
164
164
|
altText?: string | null;
|
|
165
165
|
}
|
|
166
166
|
/** @oneof */
|
|
167
|
-
|
|
167
|
+
interface CoverMediaMediaOneOf {
|
|
168
168
|
/** Image url. */
|
|
169
169
|
image?: string;
|
|
170
170
|
/** Video url. */
|
|
171
171
|
video?: string;
|
|
172
172
|
}
|
|
173
|
-
|
|
173
|
+
interface FocalPoint {
|
|
174
174
|
/** X-coordinate of the focal point. */
|
|
175
175
|
x?: number;
|
|
176
176
|
/** Y-coordinate of the focal point. */
|
|
@@ -180,7 +180,7 @@ export interface FocalPoint {
|
|
|
180
180
|
/** crop by width */
|
|
181
181
|
width?: number | null;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
declare enum Origin {
|
|
184
184
|
UNKNOWN = "UNKNOWN",
|
|
185
185
|
/** Changed by admin */
|
|
186
186
|
ADMIN = "ADMIN",
|
|
@@ -253,7 +253,7 @@ export declare enum Origin {
|
|
|
253
253
|
/** Saved automatically by AI tool. */
|
|
254
254
|
AI_AUTO_SAVE = "AI_AUTO_SAVE"
|
|
255
255
|
}
|
|
256
|
-
|
|
256
|
+
interface RichContent {
|
|
257
257
|
/** Node objects representing a rich content document. */
|
|
258
258
|
nodes?: Node[];
|
|
259
259
|
/** Object metadata. */
|
|
@@ -261,7 +261,7 @@ export interface RichContent {
|
|
|
261
261
|
/** Global styling for header, paragraph, block quote, and code block nodes in the object. */
|
|
262
262
|
documentStyle?: DocumentStyle;
|
|
263
263
|
}
|
|
264
|
-
|
|
264
|
+
interface Node extends NodeDataOneOf {
|
|
265
265
|
/** Data for a button node. */
|
|
266
266
|
buttonData?: ButtonData;
|
|
267
267
|
/** Data for a code block node. */
|
|
@@ -326,7 +326,7 @@ export interface Node extends NodeDataOneOf {
|
|
|
326
326
|
style?: NodeStyle;
|
|
327
327
|
}
|
|
328
328
|
/** @oneof */
|
|
329
|
-
|
|
329
|
+
interface NodeDataOneOf {
|
|
330
330
|
/** Data for a button node. */
|
|
331
331
|
buttonData?: ButtonData;
|
|
332
332
|
/** Data for a code block node. */
|
|
@@ -382,7 +382,7 @@ export interface NodeDataOneOf {
|
|
|
382
382
|
/** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
|
|
383
383
|
layoutCellData?: LayoutCellData;
|
|
384
384
|
}
|
|
385
|
-
|
|
385
|
+
declare enum NodeType {
|
|
386
386
|
PARAGRAPH = "PARAGRAPH",
|
|
387
387
|
TEXT = "TEXT",
|
|
388
388
|
HEADING = "HEADING",
|
|
@@ -418,7 +418,7 @@ export declare enum NodeType {
|
|
|
418
418
|
LAYOUT = "LAYOUT",
|
|
419
419
|
LAYOUT_CELL = "LAYOUT_CELL"
|
|
420
420
|
}
|
|
421
|
-
|
|
421
|
+
interface NodeStyle {
|
|
422
422
|
/** The top padding value in pixels. */
|
|
423
423
|
paddingTop?: string | null;
|
|
424
424
|
/** The bottom padding value in pixels. */
|
|
@@ -426,7 +426,7 @@ export interface NodeStyle {
|
|
|
426
426
|
/** The background color as a hexadecimal value. */
|
|
427
427
|
backgroundColor?: string | null;
|
|
428
428
|
}
|
|
429
|
-
|
|
429
|
+
interface ButtonData {
|
|
430
430
|
/** Styling for the button's container. */
|
|
431
431
|
containerData?: PluginContainerData;
|
|
432
432
|
/** The button type. */
|
|
@@ -438,7 +438,7 @@ export interface ButtonData {
|
|
|
438
438
|
/** Button link details. */
|
|
439
439
|
link?: Link;
|
|
440
440
|
}
|
|
441
|
-
|
|
441
|
+
interface Border {
|
|
442
442
|
/**
|
|
443
443
|
* Deprecated: Use `borderWidth` in `styles` instead.
|
|
444
444
|
* @deprecated
|
|
@@ -450,7 +450,7 @@ export interface Border {
|
|
|
450
450
|
*/
|
|
451
451
|
radius?: number | null;
|
|
452
452
|
}
|
|
453
|
-
|
|
453
|
+
interface Colors {
|
|
454
454
|
/**
|
|
455
455
|
* Deprecated: Use `textColor` in `styles` instead.
|
|
456
456
|
* @deprecated
|
|
@@ -467,7 +467,7 @@ export interface Colors {
|
|
|
467
467
|
*/
|
|
468
468
|
background?: string | null;
|
|
469
469
|
}
|
|
470
|
-
|
|
470
|
+
interface PluginContainerData {
|
|
471
471
|
/** The width of the node when it's displayed. */
|
|
472
472
|
width?: PluginContainerDataWidth;
|
|
473
473
|
/** The node's alignment within its container. */
|
|
@@ -479,7 +479,7 @@ export interface PluginContainerData {
|
|
|
479
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`. */
|
|
480
480
|
textWrap?: boolean | null;
|
|
481
481
|
}
|
|
482
|
-
|
|
482
|
+
declare enum WidthType {
|
|
483
483
|
/** Width matches the content width */
|
|
484
484
|
CONTENT = "CONTENT",
|
|
485
485
|
/** Small Width */
|
|
@@ -489,7 +489,7 @@ export declare enum WidthType {
|
|
|
489
489
|
/** coast-to-coast display */
|
|
490
490
|
FULL_WIDTH = "FULL_WIDTH"
|
|
491
491
|
}
|
|
492
|
-
|
|
492
|
+
interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
|
|
493
493
|
/**
|
|
494
494
|
* One of the following predefined width options:
|
|
495
495
|
* `CONTENT`: The width of the container matches the content width.
|
|
@@ -502,7 +502,7 @@ export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOn
|
|
|
502
502
|
custom?: string | null;
|
|
503
503
|
}
|
|
504
504
|
/** @oneof */
|
|
505
|
-
|
|
505
|
+
interface PluginContainerDataWidthDataOneOf {
|
|
506
506
|
/**
|
|
507
507
|
* One of the following predefined width options:
|
|
508
508
|
* `CONTENT`: The width of the container matches the content width.
|
|
@@ -514,7 +514,7 @@ export interface PluginContainerDataWidthDataOneOf {
|
|
|
514
514
|
/** A custom width value in pixels. */
|
|
515
515
|
custom?: string | null;
|
|
516
516
|
}
|
|
517
|
-
|
|
517
|
+
declare enum PluginContainerDataAlignment {
|
|
518
518
|
/** Center Alignment */
|
|
519
519
|
CENTER = "CENTER",
|
|
520
520
|
/** Left Alignment */
|
|
@@ -522,7 +522,7 @@ export declare enum PluginContainerDataAlignment {
|
|
|
522
522
|
/** Right Alignment */
|
|
523
523
|
RIGHT = "RIGHT"
|
|
524
524
|
}
|
|
525
|
-
|
|
525
|
+
interface Spoiler {
|
|
526
526
|
/** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
|
|
527
527
|
enabled?: boolean | null;
|
|
528
528
|
/** The description displayed on top of the spoiler cover. */
|
|
@@ -530,17 +530,17 @@ export interface Spoiler {
|
|
|
530
530
|
/** The text for the button used to remove the spoiler cover. */
|
|
531
531
|
buttonText?: string | null;
|
|
532
532
|
}
|
|
533
|
-
|
|
533
|
+
interface Height {
|
|
534
534
|
/** A custom height value in pixels. */
|
|
535
535
|
custom?: string | null;
|
|
536
536
|
}
|
|
537
|
-
|
|
537
|
+
declare enum ButtonDataType {
|
|
538
538
|
/** Regular link button */
|
|
539
539
|
LINK = "LINK",
|
|
540
540
|
/** Triggers custom action that is defined in plugin configuration by the consumer */
|
|
541
541
|
ACTION = "ACTION"
|
|
542
542
|
}
|
|
543
|
-
|
|
543
|
+
interface Styles {
|
|
544
544
|
/**
|
|
545
545
|
* Deprecated: Use `borderWidth` and `borderRadius` instead.
|
|
546
546
|
* @deprecated
|
|
@@ -593,7 +593,7 @@ export interface Styles {
|
|
|
593
593
|
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
594
594
|
buttonSize?: string | null;
|
|
595
595
|
}
|
|
596
|
-
|
|
596
|
+
interface Link extends LinkDataOneOf {
|
|
597
597
|
/** The absolute URL for the linked document. */
|
|
598
598
|
url?: string;
|
|
599
599
|
/** The target node's ID. Used for linking to another node in this object. */
|
|
@@ -612,13 +612,13 @@ export interface Link extends LinkDataOneOf {
|
|
|
612
612
|
customData?: string | null;
|
|
613
613
|
}
|
|
614
614
|
/** @oneof */
|
|
615
|
-
|
|
615
|
+
interface LinkDataOneOf {
|
|
616
616
|
/** The absolute URL for the linked document. */
|
|
617
617
|
url?: string;
|
|
618
618
|
/** The target node's ID. Used for linking to another node in this object. */
|
|
619
619
|
anchor?: string;
|
|
620
620
|
}
|
|
621
|
-
|
|
621
|
+
declare enum Target {
|
|
622
622
|
/** Opens the linked document in the same frame as it was clicked (this is default) */
|
|
623
623
|
SELF = "SELF",
|
|
624
624
|
/** Opens the linked document in a new window or tab */
|
|
@@ -628,7 +628,7 @@ export declare enum Target {
|
|
|
628
628
|
/** Opens the linked document in the full body of the window */
|
|
629
629
|
TOP = "TOP"
|
|
630
630
|
}
|
|
631
|
-
|
|
631
|
+
interface Rel {
|
|
632
632
|
/** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
|
|
633
633
|
nofollow?: boolean | null;
|
|
634
634
|
/** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
|
|
@@ -638,17 +638,17 @@ export interface Rel {
|
|
|
638
638
|
/** Indicates that this link protect referral information from being passed to the target website. */
|
|
639
639
|
noreferrer?: boolean | null;
|
|
640
640
|
}
|
|
641
|
-
|
|
641
|
+
interface CodeBlockData {
|
|
642
642
|
/** Styling for the code block's text. */
|
|
643
643
|
textStyle?: TextStyle;
|
|
644
644
|
}
|
|
645
|
-
|
|
645
|
+
interface TextStyle {
|
|
646
646
|
/** Text alignment. Defaults to `AUTO`. */
|
|
647
647
|
textAlignment?: TextAlignment;
|
|
648
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. */
|
|
649
649
|
lineHeight?: string | null;
|
|
650
650
|
}
|
|
651
|
-
|
|
651
|
+
declare enum TextAlignment {
|
|
652
652
|
/** browser default, eqivalent to `initial` */
|
|
653
653
|
AUTO = "AUTO",
|
|
654
654
|
/** Left align */
|
|
@@ -660,7 +660,7 @@ export declare enum TextAlignment {
|
|
|
660
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 */
|
|
661
661
|
JUSTIFY = "JUSTIFY"
|
|
662
662
|
}
|
|
663
|
-
|
|
663
|
+
interface DividerData {
|
|
664
664
|
/** Styling for the divider's container. */
|
|
665
665
|
containerData?: PluginContainerData;
|
|
666
666
|
/** Divider line style. */
|
|
@@ -670,7 +670,7 @@ export interface DividerData {
|
|
|
670
670
|
/** Divider alignment. */
|
|
671
671
|
alignment?: Alignment;
|
|
672
672
|
}
|
|
673
|
-
|
|
673
|
+
declare enum LineStyle {
|
|
674
674
|
/** Single Line */
|
|
675
675
|
SINGLE = "SINGLE",
|
|
676
676
|
/** Double Line */
|
|
@@ -680,7 +680,7 @@ export declare enum LineStyle {
|
|
|
680
680
|
/** Dotted Line */
|
|
681
681
|
DOTTED = "DOTTED"
|
|
682
682
|
}
|
|
683
|
-
|
|
683
|
+
declare enum Width {
|
|
684
684
|
/** Large line */
|
|
685
685
|
LARGE = "LARGE",
|
|
686
686
|
/** Medium line */
|
|
@@ -688,7 +688,7 @@ export declare enum Width {
|
|
|
688
688
|
/** Small line */
|
|
689
689
|
SMALL = "SMALL"
|
|
690
690
|
}
|
|
691
|
-
|
|
691
|
+
declare enum Alignment {
|
|
692
692
|
/** Center alignment */
|
|
693
693
|
CENTER = "CENTER",
|
|
694
694
|
/** Left alignment */
|
|
@@ -696,7 +696,7 @@ export declare enum Alignment {
|
|
|
696
696
|
/** Right alignment */
|
|
697
697
|
RIGHT = "RIGHT"
|
|
698
698
|
}
|
|
699
|
-
|
|
699
|
+
interface FileData {
|
|
700
700
|
/** Styling for the file's container. */
|
|
701
701
|
containerData?: PluginContainerData;
|
|
702
702
|
/** The source for the file's data. */
|
|
@@ -719,7 +719,7 @@ export interface FileData {
|
|
|
719
719
|
/** File size in KB. */
|
|
720
720
|
sizeInKb?: string | null;
|
|
721
721
|
}
|
|
722
|
-
|
|
722
|
+
declare enum ViewMode {
|
|
723
723
|
/** No PDF view */
|
|
724
724
|
NONE = "NONE",
|
|
725
725
|
/** Full PDF view */
|
|
@@ -727,7 +727,7 @@ export declare enum ViewMode {
|
|
|
727
727
|
/** Mini PDF view */
|
|
728
728
|
MINI = "MINI"
|
|
729
729
|
}
|
|
730
|
-
|
|
730
|
+
interface FileSource extends FileSourceDataOneOf {
|
|
731
731
|
/** The absolute URL for the file's source. */
|
|
732
732
|
url?: string | null;
|
|
733
733
|
/**
|
|
@@ -741,7 +741,7 @@ export interface FileSource extends FileSourceDataOneOf {
|
|
|
741
741
|
private?: boolean | null;
|
|
742
742
|
}
|
|
743
743
|
/** @oneof */
|
|
744
|
-
|
|
744
|
+
interface FileSourceDataOneOf {
|
|
745
745
|
/** The absolute URL for the file's source. */
|
|
746
746
|
url?: string | null;
|
|
747
747
|
/**
|
|
@@ -752,7 +752,7 @@ export interface FileSourceDataOneOf {
|
|
|
752
752
|
/** An ID that's resolved to a URL by a resolver function. */
|
|
753
753
|
_id?: string | null;
|
|
754
754
|
}
|
|
755
|
-
|
|
755
|
+
interface PDFSettings {
|
|
756
756
|
/**
|
|
757
757
|
* PDF view mode. One of the following:
|
|
758
758
|
* `NONE` : The PDF isn't displayed.
|
|
@@ -765,7 +765,7 @@ export interface PDFSettings {
|
|
|
765
765
|
/** Sets whether the PDF print button is disabled. Defaults to `false`. */
|
|
766
766
|
disablePrint?: boolean | null;
|
|
767
767
|
}
|
|
768
|
-
|
|
768
|
+
interface GalleryData {
|
|
769
769
|
/** Styling for the gallery's container. */
|
|
770
770
|
containerData?: PluginContainerData;
|
|
771
771
|
/** The items in the gallery. */
|
|
@@ -777,7 +777,7 @@ export interface GalleryData {
|
|
|
777
777
|
/** Sets whether the gallery's download button is disabled. Defaults to `false`. */
|
|
778
778
|
disableDownload?: boolean | null;
|
|
779
779
|
}
|
|
780
|
-
|
|
780
|
+
interface V1Media {
|
|
781
781
|
/** The source for the media's data. */
|
|
782
782
|
src?: FileSource;
|
|
783
783
|
/** Media width in pixels. */
|
|
@@ -787,19 +787,19 @@ export interface V1Media {
|
|
|
787
787
|
/** Media duration in seconds. Only relevant for audio and video files. */
|
|
788
788
|
duration?: number | null;
|
|
789
789
|
}
|
|
790
|
-
|
|
790
|
+
interface Image {
|
|
791
791
|
/** Image file details. */
|
|
792
792
|
media?: V1Media;
|
|
793
793
|
/** Link details for images that are links. */
|
|
794
794
|
link?: Link;
|
|
795
795
|
}
|
|
796
|
-
|
|
796
|
+
interface Video {
|
|
797
797
|
/** Video file details. */
|
|
798
798
|
media?: V1Media;
|
|
799
799
|
/** Video thumbnail file details. */
|
|
800
800
|
thumbnail?: V1Media;
|
|
801
801
|
}
|
|
802
|
-
|
|
802
|
+
interface Item extends ItemDataOneOf {
|
|
803
803
|
/** An image item. */
|
|
804
804
|
image?: Image;
|
|
805
805
|
/** A video item. */
|
|
@@ -810,13 +810,13 @@ export interface Item extends ItemDataOneOf {
|
|
|
810
810
|
altText?: string | null;
|
|
811
811
|
}
|
|
812
812
|
/** @oneof */
|
|
813
|
-
|
|
813
|
+
interface ItemDataOneOf {
|
|
814
814
|
/** An image item. */
|
|
815
815
|
image?: Image;
|
|
816
816
|
/** A video item. */
|
|
817
817
|
video?: Video;
|
|
818
818
|
}
|
|
819
|
-
|
|
819
|
+
interface GalleryOptions {
|
|
820
820
|
/** Gallery layout. */
|
|
821
821
|
layout?: Layout;
|
|
822
822
|
/** Styling for gallery items. */
|
|
@@ -824,7 +824,7 @@ export interface GalleryOptions {
|
|
|
824
824
|
/** Styling for gallery thumbnail images. */
|
|
825
825
|
thumbnails?: Thumbnails;
|
|
826
826
|
}
|
|
827
|
-
|
|
827
|
+
declare enum LayoutType {
|
|
828
828
|
/** Collage type */
|
|
829
829
|
COLLAGE = "COLLAGE",
|
|
830
830
|
/** Masonry type */
|
|
@@ -846,19 +846,19 @@ export declare enum LayoutType {
|
|
|
846
846
|
/** Fullsize images type */
|
|
847
847
|
FULLSIZE = "FULLSIZE"
|
|
848
848
|
}
|
|
849
|
-
|
|
849
|
+
declare enum Orientation {
|
|
850
850
|
/** Rows Orientation */
|
|
851
851
|
ROWS = "ROWS",
|
|
852
852
|
/** Columns Orientation */
|
|
853
853
|
COLUMNS = "COLUMNS"
|
|
854
854
|
}
|
|
855
|
-
|
|
855
|
+
declare enum Crop {
|
|
856
856
|
/** Crop to fill */
|
|
857
857
|
FILL = "FILL",
|
|
858
858
|
/** Crop to fit */
|
|
859
859
|
FIT = "FIT"
|
|
860
860
|
}
|
|
861
|
-
|
|
861
|
+
declare enum ThumbnailsAlignment {
|
|
862
862
|
/** Top alignment */
|
|
863
863
|
TOP = "TOP",
|
|
864
864
|
/** Right alignment */
|
|
@@ -870,7 +870,7 @@ export declare enum ThumbnailsAlignment {
|
|
|
870
870
|
/** No thumbnail */
|
|
871
871
|
NONE = "NONE"
|
|
872
872
|
}
|
|
873
|
-
|
|
873
|
+
interface Layout {
|
|
874
874
|
/** Gallery layout type. */
|
|
875
875
|
type?: LayoutType;
|
|
876
876
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
|
@@ -882,7 +882,7 @@ export interface Layout {
|
|
|
882
882
|
/** The number of columns to display on mobile screens. */
|
|
883
883
|
mobileNumberOfColumns?: number | null;
|
|
884
884
|
}
|
|
885
|
-
|
|
885
|
+
interface ItemStyle {
|
|
886
886
|
/** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */
|
|
887
887
|
targetSize?: number | null;
|
|
888
888
|
/** Item ratio */
|
|
@@ -892,13 +892,13 @@ export interface ItemStyle {
|
|
|
892
892
|
/** The spacing between items in pixels. */
|
|
893
893
|
spacing?: number | null;
|
|
894
894
|
}
|
|
895
|
-
|
|
895
|
+
interface Thumbnails {
|
|
896
896
|
/** Thumbnail alignment. */
|
|
897
897
|
placement?: ThumbnailsAlignment;
|
|
898
898
|
/** Spacing between thumbnails in pixels. */
|
|
899
899
|
spacing?: number | null;
|
|
900
900
|
}
|
|
901
|
-
|
|
901
|
+
interface GIFData {
|
|
902
902
|
/** Styling for the GIF's container. */
|
|
903
903
|
containerData?: PluginContainerData;
|
|
904
904
|
/** The source of the full size GIF. */
|
|
@@ -912,7 +912,7 @@ export interface GIFData {
|
|
|
912
912
|
/** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
|
|
913
913
|
gifType?: GIFType;
|
|
914
914
|
}
|
|
915
|
-
|
|
915
|
+
interface GIF {
|
|
916
916
|
/**
|
|
917
917
|
* GIF format URL.
|
|
918
918
|
* @format WEB_URL
|
|
@@ -929,11 +929,11 @@ export interface GIF {
|
|
|
929
929
|
*/
|
|
930
930
|
still?: string | null;
|
|
931
931
|
}
|
|
932
|
-
|
|
932
|
+
declare enum GIFType {
|
|
933
933
|
NORMAL = "NORMAL",
|
|
934
934
|
STICKER = "STICKER"
|
|
935
935
|
}
|
|
936
|
-
|
|
936
|
+
interface HeadingData {
|
|
937
937
|
/** Heading level from 1-6. */
|
|
938
938
|
level?: number;
|
|
939
939
|
/** Styling for the heading text. */
|
|
@@ -941,7 +941,7 @@ export interface HeadingData {
|
|
|
941
941
|
/** Indentation level from 1-4. */
|
|
942
942
|
indentation?: number | null;
|
|
943
943
|
}
|
|
944
|
-
|
|
944
|
+
interface HTMLData extends HTMLDataDataOneOf {
|
|
945
945
|
/** The URL for the HTML code for the node. */
|
|
946
946
|
url?: string;
|
|
947
947
|
/** The HTML code for the node. */
|
|
@@ -959,7 +959,7 @@ export interface HTMLData extends HTMLDataDataOneOf {
|
|
|
959
959
|
autoHeight?: boolean | null;
|
|
960
960
|
}
|
|
961
961
|
/** @oneof */
|
|
962
|
-
|
|
962
|
+
interface HTMLDataDataOneOf {
|
|
963
963
|
/** The URL for the HTML code for the node. */
|
|
964
964
|
url?: string;
|
|
965
965
|
/** The HTML code for the node. */
|
|
@@ -970,11 +970,11 @@ export interface HTMLDataDataOneOf {
|
|
|
970
970
|
*/
|
|
971
971
|
isAdsense?: boolean | null;
|
|
972
972
|
}
|
|
973
|
-
|
|
973
|
+
declare enum Source {
|
|
974
974
|
HTML = "HTML",
|
|
975
975
|
ADSENSE = "ADSENSE"
|
|
976
976
|
}
|
|
977
|
-
|
|
977
|
+
interface ImageData {
|
|
978
978
|
/** Styling for the image's container. */
|
|
979
979
|
containerData?: PluginContainerData;
|
|
980
980
|
/** Image file details. */
|
|
@@ -997,7 +997,7 @@ export interface ImageData {
|
|
|
997
997
|
/** Styling for the image. */
|
|
998
998
|
styles?: ImageDataStyles;
|
|
999
999
|
}
|
|
1000
|
-
|
|
1000
|
+
interface StylesBorder {
|
|
1001
1001
|
/** Border width in pixels. */
|
|
1002
1002
|
width?: number | null;
|
|
1003
1003
|
/**
|
|
@@ -1008,11 +1008,11 @@ export interface StylesBorder {
|
|
|
1008
1008
|
/** Border radius in pixels. */
|
|
1009
1009
|
radius?: number | null;
|
|
1010
1010
|
}
|
|
1011
|
-
|
|
1011
|
+
interface ImageDataStyles {
|
|
1012
1012
|
/** Border attributes. */
|
|
1013
1013
|
border?: StylesBorder;
|
|
1014
1014
|
}
|
|
1015
|
-
|
|
1015
|
+
interface LinkPreviewData {
|
|
1016
1016
|
/** Styling for the link preview's container. */
|
|
1017
1017
|
containerData?: PluginContainerData;
|
|
1018
1018
|
/** Link details. */
|
|
@@ -1028,7 +1028,7 @@ export interface LinkPreviewData {
|
|
|
1028
1028
|
/** Styling for the link preview. */
|
|
1029
1029
|
styles?: LinkPreviewDataStyles;
|
|
1030
1030
|
}
|
|
1031
|
-
|
|
1031
|
+
declare enum Position {
|
|
1032
1032
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
1033
1033
|
START = "START",
|
|
1034
1034
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
@@ -1038,7 +1038,7 @@ export declare enum Position {
|
|
|
1038
1038
|
/** Thumbnail hidden and not displayed */
|
|
1039
1039
|
HIDDEN = "HIDDEN"
|
|
1040
1040
|
}
|
|
1041
|
-
|
|
1041
|
+
interface LinkPreviewDataStyles {
|
|
1042
1042
|
/**
|
|
1043
1043
|
* Background color as a hexadecimal value.
|
|
1044
1044
|
* @format COLOR_HEX
|
|
@@ -1071,13 +1071,13 @@ export interface LinkPreviewDataStyles {
|
|
|
1071
1071
|
/** Position of thumbnail. Defaults to `START`. */
|
|
1072
1072
|
thumbnailPosition?: Position;
|
|
1073
1073
|
}
|
|
1074
|
-
|
|
1074
|
+
interface MapData {
|
|
1075
1075
|
/** Styling for the map's container. */
|
|
1076
1076
|
containerData?: PluginContainerData;
|
|
1077
1077
|
/** Map settings. */
|
|
1078
1078
|
mapSettings?: MapSettings;
|
|
1079
1079
|
}
|
|
1080
|
-
|
|
1080
|
+
interface MapSettings {
|
|
1081
1081
|
/** The address to display on the map. */
|
|
1082
1082
|
address?: string | null;
|
|
1083
1083
|
/** Sets whether the map is draggable. */
|
|
@@ -1101,7 +1101,7 @@ export interface MapSettings {
|
|
|
1101
1101
|
/** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
|
|
1102
1102
|
mapType?: MapType;
|
|
1103
1103
|
}
|
|
1104
|
-
|
|
1104
|
+
declare enum MapType {
|
|
1105
1105
|
/** Roadmap map type */
|
|
1106
1106
|
ROADMAP = "ROADMAP",
|
|
1107
1107
|
/** Satellite map type */
|
|
@@ -1111,7 +1111,7 @@ export declare enum MapType {
|
|
|
1111
1111
|
/** Terrain map type */
|
|
1112
1112
|
TERRAIN = "TERRAIN"
|
|
1113
1113
|
}
|
|
1114
|
-
|
|
1114
|
+
interface ParagraphData {
|
|
1115
1115
|
/** Styling for the paragraph text. */
|
|
1116
1116
|
textStyle?: TextStyle;
|
|
1117
1117
|
/** Indentation level from 1-4. */
|
|
@@ -1119,7 +1119,7 @@ export interface ParagraphData {
|
|
|
1119
1119
|
/** Paragraph level */
|
|
1120
1120
|
level?: number | null;
|
|
1121
1121
|
}
|
|
1122
|
-
|
|
1122
|
+
interface PollData {
|
|
1123
1123
|
/** Styling for the poll's container. */
|
|
1124
1124
|
containerData?: PluginContainerData;
|
|
1125
1125
|
/** Poll data. */
|
|
@@ -1129,7 +1129,7 @@ export interface PollData {
|
|
|
1129
1129
|
/** Styling for the poll and voting options. */
|
|
1130
1130
|
design?: Design;
|
|
1131
1131
|
}
|
|
1132
|
-
|
|
1132
|
+
declare enum ViewRole {
|
|
1133
1133
|
/** Only Poll creator can view the results */
|
|
1134
1134
|
CREATOR = "CREATOR",
|
|
1135
1135
|
/** Anyone who voted can see the results */
|
|
@@ -1137,13 +1137,13 @@ export declare enum ViewRole {
|
|
|
1137
1137
|
/** Anyone can see the results, even if one didn't vote */
|
|
1138
1138
|
EVERYONE = "EVERYONE"
|
|
1139
1139
|
}
|
|
1140
|
-
|
|
1140
|
+
declare enum VoteRole {
|
|
1141
1141
|
/** Logged in member */
|
|
1142
1142
|
SITE_MEMBERS = "SITE_MEMBERS",
|
|
1143
1143
|
/** Anyone */
|
|
1144
1144
|
ALL = "ALL"
|
|
1145
1145
|
}
|
|
1146
|
-
|
|
1146
|
+
interface Permissions {
|
|
1147
1147
|
/** Sets who can view the poll results. */
|
|
1148
1148
|
view?: ViewRole;
|
|
1149
1149
|
/** Sets who can vote. */
|
|
@@ -1151,7 +1151,7 @@ export interface Permissions {
|
|
|
1151
1151
|
/** Sets whether one voter can vote multiple times. Defaults to `false`. */
|
|
1152
1152
|
allowMultipleVotes?: boolean | null;
|
|
1153
1153
|
}
|
|
1154
|
-
|
|
1154
|
+
interface Option {
|
|
1155
1155
|
/** Option ID. */
|
|
1156
1156
|
_id?: string | null;
|
|
1157
1157
|
/** Option title. */
|
|
@@ -1159,7 +1159,7 @@ export interface Option {
|
|
|
1159
1159
|
/** The image displayed with the option. */
|
|
1160
1160
|
image?: V1Media;
|
|
1161
1161
|
}
|
|
1162
|
-
|
|
1162
|
+
interface PollSettings {
|
|
1163
1163
|
/** Permissions settings for voting. */
|
|
1164
1164
|
permissions?: Permissions;
|
|
1165
1165
|
/** Sets whether voters are displayed in the vote results. Defaults to `true`. */
|
|
@@ -1167,19 +1167,19 @@ export interface PollSettings {
|
|
|
1167
1167
|
/** Sets whether the vote count is displayed. Defaults to `true`. */
|
|
1168
1168
|
showVotesCount?: boolean | null;
|
|
1169
1169
|
}
|
|
1170
|
-
|
|
1170
|
+
declare enum PollLayoutType {
|
|
1171
1171
|
/** List */
|
|
1172
1172
|
LIST = "LIST",
|
|
1173
1173
|
/** Grid */
|
|
1174
1174
|
GRID = "GRID"
|
|
1175
1175
|
}
|
|
1176
|
-
|
|
1176
|
+
declare enum PollLayoutDirection {
|
|
1177
1177
|
/** Left-to-right */
|
|
1178
1178
|
LTR = "LTR",
|
|
1179
1179
|
/** Right-to-left */
|
|
1180
1180
|
RTL = "RTL"
|
|
1181
1181
|
}
|
|
1182
|
-
|
|
1182
|
+
interface PollLayout {
|
|
1183
1183
|
/** The layout for displaying the voting options. */
|
|
1184
1184
|
type?: PollLayoutType;
|
|
1185
1185
|
/** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
|
|
@@ -1187,11 +1187,11 @@ export interface PollLayout {
|
|
|
1187
1187
|
/** Sets whether to display the main poll image. Defaults to `false`. */
|
|
1188
1188
|
enableImage?: boolean | null;
|
|
1189
1189
|
}
|
|
1190
|
-
|
|
1190
|
+
interface OptionLayout {
|
|
1191
1191
|
/** Sets whether to display option images. Defaults to `false`. */
|
|
1192
1192
|
enableImage?: boolean | null;
|
|
1193
1193
|
}
|
|
1194
|
-
|
|
1194
|
+
declare enum BackgroundType {
|
|
1195
1195
|
/** Color background type */
|
|
1196
1196
|
COLOR = "COLOR",
|
|
1197
1197
|
/** Image background type */
|
|
@@ -1199,7 +1199,7 @@ export declare enum BackgroundType {
|
|
|
1199
1199
|
/** Gradiant background type */
|
|
1200
1200
|
GRADIENT = "GRADIENT"
|
|
1201
1201
|
}
|
|
1202
|
-
|
|
1202
|
+
interface Gradient {
|
|
1203
1203
|
/** The gradient angle in degrees. */
|
|
1204
1204
|
angle?: number | null;
|
|
1205
1205
|
/**
|
|
@@ -1213,7 +1213,7 @@ export interface Gradient {
|
|
|
1213
1213
|
*/
|
|
1214
1214
|
lastColor?: string | null;
|
|
1215
1215
|
}
|
|
1216
|
-
|
|
1216
|
+
interface Background extends BackgroundBackgroundOneOf {
|
|
1217
1217
|
/**
|
|
1218
1218
|
* The background color as a hexademical value.
|
|
1219
1219
|
* @format COLOR_HEX
|
|
@@ -1227,7 +1227,7 @@ export interface Background extends BackgroundBackgroundOneOf {
|
|
|
1227
1227
|
type?: BackgroundType;
|
|
1228
1228
|
}
|
|
1229
1229
|
/** @oneof */
|
|
1230
|
-
|
|
1230
|
+
interface BackgroundBackgroundOneOf {
|
|
1231
1231
|
/**
|
|
1232
1232
|
* The background color as a hexademical value.
|
|
1233
1233
|
* @format COLOR_HEX
|
|
@@ -1238,17 +1238,17 @@ export interface BackgroundBackgroundOneOf {
|
|
|
1238
1238
|
/** Details for a gradient background. */
|
|
1239
1239
|
gradient?: Gradient;
|
|
1240
1240
|
}
|
|
1241
|
-
|
|
1241
|
+
interface PollDesign {
|
|
1242
1242
|
/** Background styling. */
|
|
1243
1243
|
background?: Background;
|
|
1244
1244
|
/** Border radius in pixels. */
|
|
1245
1245
|
borderRadius?: number | null;
|
|
1246
1246
|
}
|
|
1247
|
-
|
|
1247
|
+
interface OptionDesign {
|
|
1248
1248
|
/** Border radius in pixels. */
|
|
1249
1249
|
borderRadius?: number | null;
|
|
1250
1250
|
}
|
|
1251
|
-
|
|
1251
|
+
interface Poll {
|
|
1252
1252
|
/** Poll ID. */
|
|
1253
1253
|
_id?: string | null;
|
|
1254
1254
|
/** Poll title. */
|
|
@@ -1262,26 +1262,26 @@ export interface Poll {
|
|
|
1262
1262
|
/** The poll's permissions and display settings. */
|
|
1263
1263
|
settings?: PollSettings;
|
|
1264
1264
|
}
|
|
1265
|
-
|
|
1265
|
+
interface PollDataLayout {
|
|
1266
1266
|
/** Poll layout settings. */
|
|
1267
1267
|
poll?: PollLayout;
|
|
1268
1268
|
/** Voting otpions layout settings. */
|
|
1269
1269
|
options?: OptionLayout;
|
|
1270
1270
|
}
|
|
1271
|
-
|
|
1271
|
+
interface Design {
|
|
1272
1272
|
/** Styling for the poll. */
|
|
1273
1273
|
poll?: PollDesign;
|
|
1274
1274
|
/** Styling for voting options. */
|
|
1275
1275
|
options?: OptionDesign;
|
|
1276
1276
|
}
|
|
1277
|
-
|
|
1277
|
+
interface TextData {
|
|
1278
1278
|
/** The text to apply decorations to. */
|
|
1279
1279
|
text?: string;
|
|
1280
1280
|
/** The decorations to apply. */
|
|
1281
1281
|
decorations?: Decoration[];
|
|
1282
1282
|
}
|
|
1283
1283
|
/** Adds appearence changes to text */
|
|
1284
|
-
|
|
1284
|
+
interface Decoration extends DecorationDataOneOf {
|
|
1285
1285
|
/** Data for an anchor link decoration. */
|
|
1286
1286
|
anchorData?: AnchorData;
|
|
1287
1287
|
/** Data for a color decoration. */
|
|
@@ -1300,11 +1300,13 @@ export interface Decoration extends DecorationDataOneOf {
|
|
|
1300
1300
|
underlineData?: boolean | null;
|
|
1301
1301
|
/** Data for a spoiler decoration. */
|
|
1302
1302
|
spoilerData?: SpoilerData;
|
|
1303
|
+
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
1304
|
+
strikethroughData?: boolean | null;
|
|
1303
1305
|
/** The type of decoration to apply. */
|
|
1304
1306
|
type?: DecorationType;
|
|
1305
1307
|
}
|
|
1306
1308
|
/** @oneof */
|
|
1307
|
-
|
|
1309
|
+
interface DecorationDataOneOf {
|
|
1308
1310
|
/** Data for an anchor link decoration. */
|
|
1309
1311
|
anchorData?: AnchorData;
|
|
1310
1312
|
/** Data for a color decoration. */
|
|
@@ -1323,8 +1325,10 @@ export interface DecorationDataOneOf {
|
|
|
1323
1325
|
underlineData?: boolean | null;
|
|
1324
1326
|
/** Data for a spoiler decoration. */
|
|
1325
1327
|
spoilerData?: SpoilerData;
|
|
1328
|
+
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
1329
|
+
strikethroughData?: boolean | null;
|
|
1326
1330
|
}
|
|
1327
|
-
|
|
1331
|
+
declare enum DecorationType {
|
|
1328
1332
|
BOLD = "BOLD",
|
|
1329
1333
|
ITALIC = "ITALIC",
|
|
1330
1334
|
UNDERLINE = "UNDERLINE",
|
|
@@ -1334,23 +1338,24 @@ export declare enum DecorationType {
|
|
|
1334
1338
|
LINK = "LINK",
|
|
1335
1339
|
COLOR = "COLOR",
|
|
1336
1340
|
FONT_SIZE = "FONT_SIZE",
|
|
1337
|
-
EXTERNAL = "EXTERNAL"
|
|
1341
|
+
EXTERNAL = "EXTERNAL",
|
|
1342
|
+
STRIKETHROUGH = "STRIKETHROUGH"
|
|
1338
1343
|
}
|
|
1339
|
-
|
|
1344
|
+
interface AnchorData {
|
|
1340
1345
|
/** The target node's ID. */
|
|
1341
1346
|
anchor?: string;
|
|
1342
1347
|
}
|
|
1343
|
-
|
|
1348
|
+
interface ColorData {
|
|
1344
1349
|
/** The text's background color as a hexadecimal value. */
|
|
1345
1350
|
background?: string | null;
|
|
1346
1351
|
/** The text's foreground color as a hexadecimal value. */
|
|
1347
1352
|
foreground?: string | null;
|
|
1348
1353
|
}
|
|
1349
|
-
|
|
1354
|
+
interface LinkData {
|
|
1350
1355
|
/** Link details. */
|
|
1351
1356
|
link?: Link;
|
|
1352
1357
|
}
|
|
1353
|
-
|
|
1358
|
+
interface MentionData {
|
|
1354
1359
|
/** The mentioned user's name. */
|
|
1355
1360
|
name?: string;
|
|
1356
1361
|
/** The version of the user's name that appears after the `@` character in the mention. */
|
|
@@ -1358,21 +1363,21 @@ export interface MentionData {
|
|
|
1358
1363
|
/** Mentioned user's ID. */
|
|
1359
1364
|
_id?: string | null;
|
|
1360
1365
|
}
|
|
1361
|
-
|
|
1366
|
+
interface FontSizeData {
|
|
1362
1367
|
/** The units used for the font size. */
|
|
1363
1368
|
unit?: FontType;
|
|
1364
1369
|
/** Font size value. */
|
|
1365
1370
|
value?: number | null;
|
|
1366
1371
|
}
|
|
1367
|
-
|
|
1372
|
+
declare enum FontType {
|
|
1368
1373
|
PX = "PX",
|
|
1369
1374
|
EM = "EM"
|
|
1370
1375
|
}
|
|
1371
|
-
|
|
1376
|
+
interface SpoilerData {
|
|
1372
1377
|
/** Spoiler ID. */
|
|
1373
1378
|
_id?: string | null;
|
|
1374
1379
|
}
|
|
1375
|
-
|
|
1380
|
+
interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
1376
1381
|
/** Data for embedded Wix Bookings content. */
|
|
1377
1382
|
bookingData?: BookingData;
|
|
1378
1383
|
/** Data for embedded Wix Events content. */
|
|
@@ -1394,28 +1399,28 @@ export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
|
1394
1399
|
image?: V1Media;
|
|
1395
1400
|
}
|
|
1396
1401
|
/** @oneof */
|
|
1397
|
-
|
|
1402
|
+
interface AppEmbedDataAppDataOneOf {
|
|
1398
1403
|
/** Data for embedded Wix Bookings content. */
|
|
1399
1404
|
bookingData?: BookingData;
|
|
1400
1405
|
/** Data for embedded Wix Events content. */
|
|
1401
1406
|
eventData?: EventData;
|
|
1402
1407
|
}
|
|
1403
|
-
|
|
1408
|
+
declare enum AppType {
|
|
1404
1409
|
PRODUCT = "PRODUCT",
|
|
1405
1410
|
EVENT = "EVENT",
|
|
1406
1411
|
BOOKING = "BOOKING"
|
|
1407
1412
|
}
|
|
1408
|
-
|
|
1413
|
+
interface BookingData {
|
|
1409
1414
|
/** Booking duration in minutes. */
|
|
1410
1415
|
durations?: string | null;
|
|
1411
1416
|
}
|
|
1412
|
-
|
|
1417
|
+
interface EventData {
|
|
1413
1418
|
/** Event schedule. */
|
|
1414
1419
|
scheduling?: string | null;
|
|
1415
1420
|
/** Event location. */
|
|
1416
1421
|
location?: string | null;
|
|
1417
1422
|
}
|
|
1418
|
-
|
|
1423
|
+
interface VideoData {
|
|
1419
1424
|
/** Styling for the video's container. */
|
|
1420
1425
|
containerData?: PluginContainerData;
|
|
1421
1426
|
/** Video details. */
|
|
@@ -1429,7 +1434,7 @@ export interface VideoData {
|
|
|
1429
1434
|
/** Video options. */
|
|
1430
1435
|
options?: PlaybackOptions;
|
|
1431
1436
|
}
|
|
1432
|
-
|
|
1437
|
+
interface PlaybackOptions {
|
|
1433
1438
|
/** Sets whether the media will automatically start playing. */
|
|
1434
1439
|
autoPlay?: boolean | null;
|
|
1435
1440
|
/** Sets whether media's will be looped. */
|
|
@@ -1437,7 +1442,7 @@ export interface PlaybackOptions {
|
|
|
1437
1442
|
/** Sets whether media's controls will be shown. */
|
|
1438
1443
|
showControls?: boolean | null;
|
|
1439
1444
|
}
|
|
1440
|
-
|
|
1445
|
+
interface EmbedData {
|
|
1441
1446
|
/** Styling for the oEmbed node's container. */
|
|
1442
1447
|
containerData?: PluginContainerData;
|
|
1443
1448
|
/** An [oEmbed](https://www.oembed.com) object. */
|
|
@@ -1445,7 +1450,7 @@ export interface EmbedData {
|
|
|
1445
1450
|
/** Origin asset source. */
|
|
1446
1451
|
src?: string | null;
|
|
1447
1452
|
}
|
|
1448
|
-
|
|
1453
|
+
interface Oembed {
|
|
1449
1454
|
/** The resource type. */
|
|
1450
1455
|
type?: string | null;
|
|
1451
1456
|
/** The width of the resource specified in the `url` property in pixels. */
|
|
@@ -1477,7 +1482,7 @@ export interface Oembed {
|
|
|
1477
1482
|
/** The oEmbed version number. This value must be `1.0`. */
|
|
1478
1483
|
version?: string | null;
|
|
1479
1484
|
}
|
|
1480
|
-
|
|
1485
|
+
interface CollapsibleListData {
|
|
1481
1486
|
/** Styling for the collapsible list's container. */
|
|
1482
1487
|
containerData?: PluginContainerData;
|
|
1483
1488
|
/** If `true`, only one item can be expanded at a time. Defaults to `false`. */
|
|
@@ -1489,7 +1494,7 @@ export interface CollapsibleListData {
|
|
|
1489
1494
|
/** If `true`, The collapsible item will appear in search results as an FAQ. */
|
|
1490
1495
|
isQapageData?: boolean | null;
|
|
1491
1496
|
}
|
|
1492
|
-
|
|
1497
|
+
declare enum InitialExpandedItems {
|
|
1493
1498
|
/** First item will be expended initally */
|
|
1494
1499
|
FIRST = "FIRST",
|
|
1495
1500
|
/** All items will expended initally */
|
|
@@ -1497,13 +1502,13 @@ export declare enum InitialExpandedItems {
|
|
|
1497
1502
|
/** All items collapsed initally */
|
|
1498
1503
|
NONE = "NONE"
|
|
1499
1504
|
}
|
|
1500
|
-
|
|
1505
|
+
declare enum Direction {
|
|
1501
1506
|
/** Left-to-right */
|
|
1502
1507
|
LTR = "LTR",
|
|
1503
1508
|
/** Right-to-left */
|
|
1504
1509
|
RTL = "RTL"
|
|
1505
1510
|
}
|
|
1506
|
-
|
|
1511
|
+
interface TableData {
|
|
1507
1512
|
/** Styling for the table's container. */
|
|
1508
1513
|
containerData?: PluginContainerData;
|
|
1509
1514
|
/** The table's dimensions. */
|
|
@@ -1518,7 +1523,7 @@ export interface TableData {
|
|
|
1518
1523
|
/** Sets whether the table's first column is a header. Defaults to `false`. */
|
|
1519
1524
|
columnHeader?: boolean | null;
|
|
1520
1525
|
}
|
|
1521
|
-
|
|
1526
|
+
interface Dimensions {
|
|
1522
1527
|
/** An array representing relative width of each column in relation to the other columns. */
|
|
1523
1528
|
colsWidthRatio?: number[];
|
|
1524
1529
|
/** An array representing the height of each row in pixels. */
|
|
@@ -1526,13 +1531,13 @@ export interface Dimensions {
|
|
|
1526
1531
|
/** An array representing the minimum width of each column in pixels. */
|
|
1527
1532
|
colsMinWidth?: number[];
|
|
1528
1533
|
}
|
|
1529
|
-
|
|
1534
|
+
interface TableCellData {
|
|
1530
1535
|
/** Styling for the cell's background color and text alignment. */
|
|
1531
1536
|
cellStyle?: CellStyle;
|
|
1532
1537
|
/** The cell's border colors. */
|
|
1533
1538
|
borderColors?: BorderColors;
|
|
1534
1539
|
}
|
|
1535
|
-
|
|
1540
|
+
declare enum VerticalAlignment {
|
|
1536
1541
|
/** Top alignment */
|
|
1537
1542
|
TOP = "TOP",
|
|
1538
1543
|
/** Middle alignment */
|
|
@@ -1540,7 +1545,7 @@ export declare enum VerticalAlignment {
|
|
|
1540
1545
|
/** Bottom alignment */
|
|
1541
1546
|
BOTTOM = "BOTTOM"
|
|
1542
1547
|
}
|
|
1543
|
-
|
|
1548
|
+
interface CellStyle {
|
|
1544
1549
|
/** Vertical alignment for the cell's text. */
|
|
1545
1550
|
verticalAlignment?: VerticalAlignment;
|
|
1546
1551
|
/**
|
|
@@ -1549,7 +1554,7 @@ export interface CellStyle {
|
|
|
1549
1554
|
*/
|
|
1550
1555
|
backgroundColor?: string | null;
|
|
1551
1556
|
}
|
|
1552
|
-
|
|
1557
|
+
interface BorderColors {
|
|
1553
1558
|
/**
|
|
1554
1559
|
* Left border color as a hexadecimal value.
|
|
1555
1560
|
* @format COLOR_HEX
|
|
@@ -1577,7 +1582,7 @@ export interface BorderColors {
|
|
|
1577
1582
|
*
|
|
1578
1583
|
* The JSON representation for `NullValue` is JSON `null`.
|
|
1579
1584
|
*/
|
|
1580
|
-
|
|
1585
|
+
declare enum NullValue {
|
|
1581
1586
|
/** Null value. */
|
|
1582
1587
|
NULL_VALUE = "NULL_VALUE"
|
|
1583
1588
|
}
|
|
@@ -1586,11 +1591,11 @@ export declare enum NullValue {
|
|
|
1586
1591
|
*
|
|
1587
1592
|
* The JSON representation for `ListValue` is JSON array.
|
|
1588
1593
|
*/
|
|
1589
|
-
|
|
1594
|
+
interface ListValue {
|
|
1590
1595
|
/** Repeated field of dynamically typed values. */
|
|
1591
1596
|
values?: any[];
|
|
1592
1597
|
}
|
|
1593
|
-
|
|
1598
|
+
interface AudioData {
|
|
1594
1599
|
/** Styling for the audio node's container. */
|
|
1595
1600
|
containerData?: PluginContainerData;
|
|
1596
1601
|
/** Audio file details. */
|
|
@@ -1606,7 +1611,7 @@ export interface AudioData {
|
|
|
1606
1611
|
/** An HTML version of the audio node. */
|
|
1607
1612
|
html?: string | null;
|
|
1608
1613
|
}
|
|
1609
|
-
|
|
1614
|
+
interface OrderedListData {
|
|
1610
1615
|
/** Indentation level from 0-4. */
|
|
1611
1616
|
indentation?: number;
|
|
1612
1617
|
/** Offset level from 0-4. */
|
|
@@ -1614,24 +1619,24 @@ export interface OrderedListData {
|
|
|
1614
1619
|
/** List start number. */
|
|
1615
1620
|
start?: number | null;
|
|
1616
1621
|
}
|
|
1617
|
-
|
|
1622
|
+
interface BulletedListData {
|
|
1618
1623
|
/** Indentation level from 0-4. */
|
|
1619
1624
|
indentation?: number;
|
|
1620
1625
|
/** Offset level from 0-4. */
|
|
1621
1626
|
offset?: number | null;
|
|
1622
1627
|
}
|
|
1623
|
-
|
|
1628
|
+
interface BlockquoteData {
|
|
1624
1629
|
/** Indentation level from 1-4. */
|
|
1625
1630
|
indentation?: number;
|
|
1626
1631
|
}
|
|
1627
|
-
|
|
1632
|
+
interface CaptionData {
|
|
1628
1633
|
textStyle?: TextStyle;
|
|
1629
1634
|
}
|
|
1630
|
-
|
|
1635
|
+
interface LayoutCellData {
|
|
1631
1636
|
/** Size of the cell in 12 columns grid. */
|
|
1632
1637
|
colSpan?: number | null;
|
|
1633
1638
|
}
|
|
1634
|
-
|
|
1639
|
+
interface Metadata {
|
|
1635
1640
|
/** Schema version. */
|
|
1636
1641
|
version?: number;
|
|
1637
1642
|
/**
|
|
@@ -1648,7 +1653,7 @@ export interface Metadata {
|
|
|
1648
1653
|
/** Object ID. */
|
|
1649
1654
|
_id?: string | null;
|
|
1650
1655
|
}
|
|
1651
|
-
|
|
1656
|
+
interface DocumentStyle {
|
|
1652
1657
|
/** Styling for H1 nodes. */
|
|
1653
1658
|
headerOne?: TextNodeStyle;
|
|
1654
1659
|
/** Styling for H2 nodes. */
|
|
@@ -1668,7 +1673,7 @@ export interface DocumentStyle {
|
|
|
1668
1673
|
/** Styling for code block nodes. */
|
|
1669
1674
|
codeBlock?: TextNodeStyle;
|
|
1670
1675
|
}
|
|
1671
|
-
|
|
1676
|
+
interface TextNodeStyle {
|
|
1672
1677
|
/** The decorations to apply to the node. */
|
|
1673
1678
|
decorations?: Decoration[];
|
|
1674
1679
|
/** Padding and background color for the node. */
|
|
@@ -1676,7 +1681,7 @@ export interface TextNodeStyle {
|
|
|
1676
1681
|
/** Line height for text in the node. */
|
|
1677
1682
|
lineHeight?: string | null;
|
|
1678
1683
|
}
|
|
1679
|
-
|
|
1684
|
+
declare enum Status {
|
|
1680
1685
|
UNKNOWN = "UNKNOWN",
|
|
1681
1686
|
/** Status indicating the draft post is published. */
|
|
1682
1687
|
PUBLISHED = "PUBLISHED",
|
|
@@ -1689,7 +1694,7 @@ export declare enum Status {
|
|
|
1689
1694
|
/** Status indicating the draft post is in review. */
|
|
1690
1695
|
IN_REVIEW = "IN_REVIEW"
|
|
1691
1696
|
}
|
|
1692
|
-
|
|
1697
|
+
interface ModerationDetails {
|
|
1693
1698
|
/**
|
|
1694
1699
|
* Member ID of the person submitting the draft post for review.
|
|
1695
1700
|
* @format GUID
|
|
@@ -1707,7 +1712,7 @@ export interface ModerationDetails {
|
|
|
1707
1712
|
/** Date the post was approved or rejected. */
|
|
1708
1713
|
moderationDate?: Date | null;
|
|
1709
1714
|
}
|
|
1710
|
-
|
|
1715
|
+
declare enum ModerationStatusStatus {
|
|
1711
1716
|
UNKNOWN = "UNKNOWN",
|
|
1712
1717
|
APPROVED = "APPROVED",
|
|
1713
1718
|
REJECTED = "REJECTED"
|
|
@@ -1717,13 +1722,13 @@ export declare enum ModerationStatusStatus {
|
|
|
1717
1722
|
* The search engines use this information for ranking purposes, or to display snippets in the search results.
|
|
1718
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.
|
|
1719
1724
|
*/
|
|
1720
|
-
|
|
1725
|
+
interface SeoSchema {
|
|
1721
1726
|
/** SEO tag information. */
|
|
1722
1727
|
tags?: Tag[];
|
|
1723
1728
|
/** SEO general settings. */
|
|
1724
1729
|
settings?: Settings;
|
|
1725
1730
|
}
|
|
1726
|
-
|
|
1731
|
+
interface Keyword {
|
|
1727
1732
|
/** Keyword value. */
|
|
1728
1733
|
term?: string;
|
|
1729
1734
|
/** Whether the keyword is the main focus keyword. */
|
|
@@ -1734,7 +1739,7 @@ export interface Keyword {
|
|
|
1734
1739
|
*/
|
|
1735
1740
|
origin?: string | null;
|
|
1736
1741
|
}
|
|
1737
|
-
|
|
1742
|
+
interface Tag {
|
|
1738
1743
|
/**
|
|
1739
1744
|
* SEO tag type.
|
|
1740
1745
|
*
|
|
@@ -1756,7 +1761,7 @@ export interface Tag {
|
|
|
1756
1761
|
/** Whether the tag is disabled. */
|
|
1757
1762
|
disabled?: boolean;
|
|
1758
1763
|
}
|
|
1759
|
-
|
|
1764
|
+
interface Settings {
|
|
1760
1765
|
/**
|
|
1761
1766
|
* Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
|
|
1762
1767
|
*
|
|
@@ -1770,7 +1775,7 @@ export interface Settings {
|
|
|
1770
1775
|
*/
|
|
1771
1776
|
keywords?: Keyword[];
|
|
1772
1777
|
}
|
|
1773
|
-
|
|
1778
|
+
interface Media extends MediaMediaOneOf {
|
|
1774
1779
|
/** Wix Media details. */
|
|
1775
1780
|
wixMedia?: WixMedia;
|
|
1776
1781
|
/** Embed media details. */
|
|
@@ -1787,19 +1792,19 @@ export interface Media extends MediaMediaOneOf {
|
|
|
1787
1792
|
altText?: string | null;
|
|
1788
1793
|
}
|
|
1789
1794
|
/** @oneof */
|
|
1790
|
-
|
|
1795
|
+
interface MediaMediaOneOf {
|
|
1791
1796
|
/** Wix Media details. */
|
|
1792
1797
|
wixMedia?: WixMedia;
|
|
1793
1798
|
/** Embed media details. */
|
|
1794
1799
|
embedMedia?: EmbedMedia;
|
|
1795
1800
|
}
|
|
1796
|
-
|
|
1801
|
+
interface WixMedia {
|
|
1797
1802
|
/** Image details. */
|
|
1798
1803
|
image?: string;
|
|
1799
1804
|
/** Video details. */
|
|
1800
1805
|
videoV2?: string;
|
|
1801
1806
|
}
|
|
1802
|
-
|
|
1807
|
+
interface VideoResolution {
|
|
1803
1808
|
/** Video URL. */
|
|
1804
1809
|
url?: string;
|
|
1805
1810
|
/** Video height. */
|
|
@@ -1809,13 +1814,13 @@ export interface VideoResolution {
|
|
|
1809
1814
|
/** Video format for example, mp4, hls. */
|
|
1810
1815
|
format?: string;
|
|
1811
1816
|
}
|
|
1812
|
-
|
|
1817
|
+
interface EmbedMedia {
|
|
1813
1818
|
/** Thumbnail details. */
|
|
1814
1819
|
thumbnail?: EmbedThumbnail;
|
|
1815
1820
|
/** Video details. */
|
|
1816
1821
|
video?: EmbedVideo;
|
|
1817
1822
|
}
|
|
1818
|
-
|
|
1823
|
+
interface EmbedThumbnail {
|
|
1819
1824
|
/**
|
|
1820
1825
|
* Thumbnail url.
|
|
1821
1826
|
* @maxLength 2000
|
|
@@ -1826,7 +1831,7 @@ export interface EmbedThumbnail {
|
|
|
1826
1831
|
/** Thumbnail height. */
|
|
1827
1832
|
height?: number;
|
|
1828
1833
|
}
|
|
1829
|
-
|
|
1834
|
+
interface EmbedVideo {
|
|
1830
1835
|
/**
|
|
1831
1836
|
* Video url.
|
|
1832
1837
|
* @maxLength 2000
|
|
@@ -1837,7 +1842,7 @@ export interface EmbedVideo {
|
|
|
1837
1842
|
/** Video height. */
|
|
1838
1843
|
height?: number;
|
|
1839
1844
|
}
|
|
1840
|
-
|
|
1845
|
+
interface DraftPostTranslation {
|
|
1841
1846
|
/**
|
|
1842
1847
|
* Post ID.
|
|
1843
1848
|
* @format GUID
|
|
@@ -1860,7 +1865,7 @@ export interface DraftPostTranslation {
|
|
|
1860
1865
|
/** Post URL. */
|
|
1861
1866
|
url?: string;
|
|
1862
1867
|
}
|
|
1863
|
-
|
|
1868
|
+
interface DraftCategoriesUpdated {
|
|
1864
1869
|
/**
|
|
1865
1870
|
* Draft post ID.
|
|
1866
1871
|
* @maxLength 38
|
|
@@ -1879,7 +1884,7 @@ export interface DraftCategoriesUpdated {
|
|
|
1879
1884
|
*/
|
|
1880
1885
|
previousCategories?: string[];
|
|
1881
1886
|
}
|
|
1882
|
-
|
|
1887
|
+
interface DraftTagsUpdated {
|
|
1883
1888
|
/**
|
|
1884
1889
|
* Draft post ID.
|
|
1885
1890
|
* @maxLength 38
|
|
@@ -1898,7 +1903,7 @@ export interface DraftTagsUpdated {
|
|
|
1898
1903
|
*/
|
|
1899
1904
|
previousTags?: string[];
|
|
1900
1905
|
}
|
|
1901
|
-
|
|
1906
|
+
interface GetDraftPostTotalsRequest {
|
|
1902
1907
|
/**
|
|
1903
1908
|
* Group results by fields (defaults to grouping by status).
|
|
1904
1909
|
* If, for example, grouping by language is passed, language values in response will be filled.
|
|
@@ -1912,17 +1917,17 @@ export interface GetDraftPostTotalsRequest {
|
|
|
1912
1917
|
*/
|
|
1913
1918
|
language?: string | null;
|
|
1914
1919
|
}
|
|
1915
|
-
|
|
1920
|
+
declare enum TotalDraftPostsGroupingField {
|
|
1916
1921
|
/** Groups results by status. */
|
|
1917
1922
|
STATUS = "STATUS",
|
|
1918
1923
|
/** Groups results by language. */
|
|
1919
1924
|
LANGUAGE = "LANGUAGE"
|
|
1920
1925
|
}
|
|
1921
|
-
|
|
1926
|
+
interface GetDraftPostTotalsResponse {
|
|
1922
1927
|
/** Draft post totals. */
|
|
1923
1928
|
totalDraftPosts?: TotalDraftPosts[];
|
|
1924
1929
|
}
|
|
1925
|
-
|
|
1930
|
+
interface TotalDraftPosts {
|
|
1926
1931
|
/** Draft post totals in that group. */
|
|
1927
1932
|
total?: number;
|
|
1928
1933
|
/** Draft post status (only has value when grouping by status, otherwise null). */
|
|
@@ -1933,7 +1938,7 @@ export interface TotalDraftPosts {
|
|
|
1933
1938
|
*/
|
|
1934
1939
|
language?: string | null;
|
|
1935
1940
|
}
|
|
1936
|
-
|
|
1941
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
1937
1942
|
createdEvent?: EntityCreatedEvent;
|
|
1938
1943
|
updatedEvent?: EntityUpdatedEvent;
|
|
1939
1944
|
deletedEvent?: EntityDeletedEvent;
|
|
@@ -1976,19 +1981,19 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
1976
1981
|
entityEventSequence?: string | null;
|
|
1977
1982
|
}
|
|
1978
1983
|
/** @oneof */
|
|
1979
|
-
|
|
1984
|
+
interface DomainEventBodyOneOf {
|
|
1980
1985
|
createdEvent?: EntityCreatedEvent;
|
|
1981
1986
|
updatedEvent?: EntityUpdatedEvent;
|
|
1982
1987
|
deletedEvent?: EntityDeletedEvent;
|
|
1983
1988
|
actionEvent?: ActionEvent;
|
|
1984
1989
|
}
|
|
1985
|
-
|
|
1990
|
+
interface EntityCreatedEvent {
|
|
1986
1991
|
entity?: string;
|
|
1987
1992
|
}
|
|
1988
|
-
|
|
1993
|
+
interface RestoreInfo {
|
|
1989
1994
|
deletedDate?: Date | null;
|
|
1990
1995
|
}
|
|
1991
|
-
|
|
1996
|
+
interface EntityUpdatedEvent {
|
|
1992
1997
|
/**
|
|
1993
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.
|
|
1994
1999
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
@@ -1996,14 +2001,14 @@ export interface EntityUpdatedEvent {
|
|
|
1996
2001
|
*/
|
|
1997
2002
|
currentEntity?: string;
|
|
1998
2003
|
}
|
|
1999
|
-
|
|
2004
|
+
interface EntityDeletedEvent {
|
|
2000
2005
|
/** Entity that was deleted */
|
|
2001
2006
|
deletedEntity?: string | null;
|
|
2002
2007
|
}
|
|
2003
|
-
|
|
2008
|
+
interface ActionEvent {
|
|
2004
2009
|
body?: string;
|
|
2005
2010
|
}
|
|
2006
|
-
|
|
2011
|
+
interface MessageEnvelope {
|
|
2007
2012
|
/**
|
|
2008
2013
|
* App instance ID.
|
|
2009
2014
|
* @format GUID
|
|
@@ -2019,7 +2024,7 @@ export interface MessageEnvelope {
|
|
|
2019
2024
|
/** Stringify payload. */
|
|
2020
2025
|
data?: string;
|
|
2021
2026
|
}
|
|
2022
|
-
|
|
2027
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
2023
2028
|
/**
|
|
2024
2029
|
* ID of a site visitor that has not logged in to the site.
|
|
2025
2030
|
* @format GUID
|
|
@@ -2044,7 +2049,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
2044
2049
|
identityType?: WebhookIdentityType;
|
|
2045
2050
|
}
|
|
2046
2051
|
/** @oneof */
|
|
2047
|
-
|
|
2052
|
+
interface IdentificationDataIdOneOf {
|
|
2048
2053
|
/**
|
|
2049
2054
|
* ID of a site visitor that has not logged in to the site.
|
|
2050
2055
|
* @format GUID
|
|
@@ -2066,18 +2071,18 @@ export interface IdentificationDataIdOneOf {
|
|
|
2066
2071
|
*/
|
|
2067
2072
|
appId?: string;
|
|
2068
2073
|
}
|
|
2069
|
-
|
|
2074
|
+
declare enum WebhookIdentityType {
|
|
2070
2075
|
UNKNOWN = "UNKNOWN",
|
|
2071
2076
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
2072
2077
|
MEMBER = "MEMBER",
|
|
2073
2078
|
WIX_USER = "WIX_USER",
|
|
2074
2079
|
APP = "APP"
|
|
2075
2080
|
}
|
|
2076
|
-
|
|
2081
|
+
interface InitialDraftPostsCopied {
|
|
2077
2082
|
/** Number of draft posts copied. */
|
|
2078
2083
|
count?: number;
|
|
2079
2084
|
}
|
|
2080
|
-
|
|
2085
|
+
interface CreateDraftPostRequest {
|
|
2081
2086
|
/** Draft post to create. */
|
|
2082
2087
|
draftPost: DraftPost;
|
|
2083
2088
|
/**
|
|
@@ -2094,7 +2099,7 @@ export interface CreateDraftPostRequest {
|
|
|
2094
2099
|
*/
|
|
2095
2100
|
fieldsets?: Field[];
|
|
2096
2101
|
}
|
|
2097
|
-
|
|
2102
|
+
declare enum Type {
|
|
2098
2103
|
UNKNOWN = "UNKNOWN",
|
|
2099
2104
|
/** Manually saved. */
|
|
2100
2105
|
MANUAL = "MANUAL",
|
|
@@ -2107,7 +2112,7 @@ export declare enum Type {
|
|
|
2107
2112
|
/** Triggered by autosave when post created by AI tool. */
|
|
2108
2113
|
AI_AUTO_SAVE = "AI_AUTO_SAVE"
|
|
2109
2114
|
}
|
|
2110
|
-
|
|
2115
|
+
declare enum Field {
|
|
2111
2116
|
/** Unknown field. */
|
|
2112
2117
|
UNKNOWN = "UNKNOWN",
|
|
2113
2118
|
/** Includes draft post preview URL. */
|
|
@@ -2119,11 +2124,11 @@ export declare enum Field {
|
|
|
2119
2124
|
/** If the user has not set excerpt, returns the one autogenerated from content. */
|
|
2120
2125
|
GENERATED_EXCERPT = "GENERATED_EXCERPT"
|
|
2121
2126
|
}
|
|
2122
|
-
|
|
2127
|
+
interface CreateDraftPostResponse {
|
|
2123
2128
|
/** Created draft post info. */
|
|
2124
2129
|
draftPost?: DraftPost;
|
|
2125
2130
|
}
|
|
2126
|
-
|
|
2131
|
+
interface BulkCreateDraftPostsRequest {
|
|
2127
2132
|
/**
|
|
2128
2133
|
* Draft posts to create.
|
|
2129
2134
|
* @minSize 1
|
|
@@ -2142,19 +2147,19 @@ export interface BulkCreateDraftPostsRequest {
|
|
|
2142
2147
|
*/
|
|
2143
2148
|
fieldsets?: Field[];
|
|
2144
2149
|
}
|
|
2145
|
-
|
|
2150
|
+
interface BulkCreateDraftPostsResponse {
|
|
2146
2151
|
/** Draft posts created by bulk action. */
|
|
2147
2152
|
results?: BulkDraftPostResult[];
|
|
2148
2153
|
/** Bulk action metadata. */
|
|
2149
2154
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2150
2155
|
}
|
|
2151
|
-
|
|
2156
|
+
interface BulkDraftPostResult {
|
|
2152
2157
|
/** Bulk actions metadata for draft post. */
|
|
2153
2158
|
itemMetadata?: ItemMetadata;
|
|
2154
2159
|
/** Optional full draft post. */
|
|
2155
2160
|
item?: DraftPost;
|
|
2156
2161
|
}
|
|
2157
|
-
|
|
2162
|
+
interface ItemMetadata {
|
|
2158
2163
|
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
2159
2164
|
_id?: string | null;
|
|
2160
2165
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
@@ -2164,7 +2169,7 @@ export interface ItemMetadata {
|
|
|
2164
2169
|
/** Details about the error in case of failure. */
|
|
2165
2170
|
error?: ApplicationError;
|
|
2166
2171
|
}
|
|
2167
|
-
|
|
2172
|
+
interface ApplicationError {
|
|
2168
2173
|
/** Error code. */
|
|
2169
2174
|
code?: string;
|
|
2170
2175
|
/** Description of the error. */
|
|
@@ -2172,7 +2177,7 @@ export interface ApplicationError {
|
|
|
2172
2177
|
/** Data related to the error. */
|
|
2173
2178
|
data?: Record<string, any> | null;
|
|
2174
2179
|
}
|
|
2175
|
-
|
|
2180
|
+
interface BulkActionMetadata {
|
|
2176
2181
|
/** Number of items that were successfully processed. */
|
|
2177
2182
|
totalSuccesses?: number;
|
|
2178
2183
|
/** Number of items that couldn't be processed. */
|
|
@@ -2180,7 +2185,7 @@ export interface BulkActionMetadata {
|
|
|
2180
2185
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
2181
2186
|
undetailedFailures?: number;
|
|
2182
2187
|
}
|
|
2183
|
-
|
|
2188
|
+
interface BulkUpdateDraftPostsRequest {
|
|
2184
2189
|
/**
|
|
2185
2190
|
* Draft posts to update.
|
|
2186
2191
|
* @minSize 1
|
|
@@ -2205,13 +2210,13 @@ export interface BulkUpdateDraftPostsRequest {
|
|
|
2205
2210
|
*/
|
|
2206
2211
|
fieldsets?: Field[];
|
|
2207
2212
|
}
|
|
2208
|
-
|
|
2213
|
+
interface MaskedDraftPosts {
|
|
2209
2214
|
/** Draft post */
|
|
2210
2215
|
draftPost?: DraftPost;
|
|
2211
2216
|
/** Field mask of fields to update. */
|
|
2212
2217
|
fieldMask?: string[];
|
|
2213
2218
|
}
|
|
2214
|
-
|
|
2219
|
+
declare enum Action {
|
|
2215
2220
|
/** Update the draft post. */
|
|
2216
2221
|
UPDATE = "UPDATE",
|
|
2217
2222
|
/** Update and publish a draft post. */
|
|
@@ -2227,15 +2232,15 @@ export declare enum Action {
|
|
|
2227
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. */
|
|
2228
2233
|
UPDATE_PUBLICATION = "UPDATE_PUBLICATION"
|
|
2229
2234
|
}
|
|
2230
|
-
|
|
2235
|
+
interface BulkUpdateDraftPostsResponse {
|
|
2231
2236
|
/** Draft posts updated by bulk action. */
|
|
2232
2237
|
results?: BulkDraftPostResult[];
|
|
2233
2238
|
/** Bulk action metadata. */
|
|
2234
2239
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2235
2240
|
}
|
|
2236
|
-
|
|
2241
|
+
interface DraftPostOwnerChanged {
|
|
2237
2242
|
}
|
|
2238
|
-
|
|
2243
|
+
interface ListDeletedDraftPostsRequest {
|
|
2239
2244
|
/**
|
|
2240
2245
|
* Language filter.
|
|
2241
2246
|
*
|
|
@@ -2266,13 +2271,13 @@ export interface ListDeletedDraftPostsRequest {
|
|
|
2266
2271
|
*/
|
|
2267
2272
|
draftPostIds?: string[];
|
|
2268
2273
|
}
|
|
2269
|
-
|
|
2274
|
+
declare enum GetDraftPostsSort {
|
|
2270
2275
|
/** Sort by `editedDate` in descending order. */
|
|
2271
2276
|
EDITING_DATE_DESC = "EDITING_DATE_DESC",
|
|
2272
2277
|
/** Sort by `editedDate` in ascending order. */
|
|
2273
2278
|
EDITING_DATE_ASC = "EDITING_DATE_ASC"
|
|
2274
2279
|
}
|
|
2275
|
-
|
|
2280
|
+
interface BlogPaging {
|
|
2276
2281
|
/**
|
|
2277
2282
|
* Number of items to skip in the current sort order.
|
|
2278
2283
|
*
|
|
@@ -2295,13 +2300,26 @@ export interface BlogPaging {
|
|
|
2295
2300
|
*/
|
|
2296
2301
|
cursor?: string | null;
|
|
2297
2302
|
}
|
|
2298
|
-
|
|
2303
|
+
interface ListDeletedDraftPostsResponse {
|
|
2299
2304
|
/** List of draft posts. */
|
|
2300
2305
|
draftPosts?: DraftPost[];
|
|
2301
|
-
/**
|
|
2306
|
+
/**
|
|
2307
|
+
* __Deprecated.__ Use `pagingMetadata` instead.
|
|
2308
|
+
* This property will be removed on June 30, 2025.
|
|
2309
|
+
*
|
|
2310
|
+
* Details on the paged set of results returned.
|
|
2311
|
+
* @deprecated __Deprecated.__ Use `pagingMetadata` instead.
|
|
2312
|
+
* This property will be removed on June 30, 2025.
|
|
2313
|
+
*
|
|
2314
|
+
* Details on the paged set of results returned.
|
|
2315
|
+
* @replacedBy pagingMetadata
|
|
2316
|
+
* @targetRemovalDate 2025-06-30
|
|
2317
|
+
*/
|
|
2302
2318
|
metaData?: MetaData;
|
|
2319
|
+
/** Details on the paged set of results returned. */
|
|
2320
|
+
pagingMetadata?: PagingMetadataV2;
|
|
2303
2321
|
}
|
|
2304
|
-
|
|
2322
|
+
interface MetaData {
|
|
2305
2323
|
/** Number of items returned in this response. */
|
|
2306
2324
|
count?: number;
|
|
2307
2325
|
/** Requested offset. */
|
|
@@ -2314,7 +2332,31 @@ export interface MetaData {
|
|
|
2314
2332
|
*/
|
|
2315
2333
|
cursor?: string | null;
|
|
2316
2334
|
}
|
|
2317
|
-
|
|
2335
|
+
interface PagingMetadataV2 {
|
|
2336
|
+
/** Number of items returned in the response. */
|
|
2337
|
+
count?: number | null;
|
|
2338
|
+
/** Offset that was requested. */
|
|
2339
|
+
offset?: number | null;
|
|
2340
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
2341
|
+
total?: number | null;
|
|
2342
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
2343
|
+
tooManyToCount?: boolean | null;
|
|
2344
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
2345
|
+
cursors?: Cursors;
|
|
2346
|
+
}
|
|
2347
|
+
interface Cursors {
|
|
2348
|
+
/**
|
|
2349
|
+
* Cursor pointing to next page in the list of results.
|
|
2350
|
+
* @maxLength 2000
|
|
2351
|
+
*/
|
|
2352
|
+
next?: string | null;
|
|
2353
|
+
/**
|
|
2354
|
+
* Cursor pointing to previous page in the list of results.
|
|
2355
|
+
* @maxLength 2000
|
|
2356
|
+
*/
|
|
2357
|
+
prev?: string | null;
|
|
2358
|
+
}
|
|
2359
|
+
interface GetDraftPostRequest {
|
|
2318
2360
|
/**
|
|
2319
2361
|
* Draft post ID.
|
|
2320
2362
|
* @maxLength 38
|
|
@@ -2328,11 +2370,11 @@ export interface GetDraftPostRequest {
|
|
|
2328
2370
|
*/
|
|
2329
2371
|
fieldsets?: Field[];
|
|
2330
2372
|
}
|
|
2331
|
-
|
|
2373
|
+
interface GetDraftPostResponse {
|
|
2332
2374
|
/** Draft post info. */
|
|
2333
2375
|
draftPost?: DraftPost;
|
|
2334
2376
|
}
|
|
2335
|
-
|
|
2377
|
+
interface UpdateDraftPostContentRequest extends UpdateDraftPostContentRequestDraftContentOneOf {
|
|
2336
2378
|
/**
|
|
2337
2379
|
* DraftJs content to update.
|
|
2338
2380
|
* @maxLength 400000
|
|
@@ -2356,7 +2398,7 @@ export interface UpdateDraftPostContentRequest extends UpdateDraftPostContentReq
|
|
|
2356
2398
|
fieldsets?: Field[];
|
|
2357
2399
|
}
|
|
2358
2400
|
/** @oneof */
|
|
2359
|
-
|
|
2401
|
+
interface UpdateDraftPostContentRequestDraftContentOneOf {
|
|
2360
2402
|
/**
|
|
2361
2403
|
* DraftJs content to update.
|
|
2362
2404
|
* @maxLength 400000
|
|
@@ -2365,11 +2407,11 @@ export interface UpdateDraftPostContentRequestDraftContentOneOf {
|
|
|
2365
2407
|
/** Draft Post rich content. */
|
|
2366
2408
|
richContent?: RichContent;
|
|
2367
2409
|
}
|
|
2368
|
-
|
|
2410
|
+
interface UpdateDraftPostContentResponse {
|
|
2369
2411
|
/** Updated draft post info. */
|
|
2370
2412
|
draftPost?: DraftPost;
|
|
2371
2413
|
}
|
|
2372
|
-
|
|
2414
|
+
interface UpdateDraftPostRequest {
|
|
2373
2415
|
/** Draft post to update. */
|
|
2374
2416
|
draftPost: DraftPost;
|
|
2375
2417
|
/**
|
|
@@ -2388,11 +2430,11 @@ export interface UpdateDraftPostRequest {
|
|
|
2388
2430
|
*/
|
|
2389
2431
|
fieldsets?: Field[];
|
|
2390
2432
|
}
|
|
2391
|
-
|
|
2433
|
+
interface UpdateDraftPostResponse {
|
|
2392
2434
|
/** Updated draft post info. */
|
|
2393
2435
|
draftPost?: DraftPost;
|
|
2394
2436
|
}
|
|
2395
|
-
|
|
2437
|
+
interface DeleteDraftPostRequest {
|
|
2396
2438
|
/**
|
|
2397
2439
|
* Draft post ID.
|
|
2398
2440
|
* @maxLength 38
|
|
@@ -2405,18 +2447,18 @@ export interface DeleteDraftPostRequest {
|
|
|
2405
2447
|
*/
|
|
2406
2448
|
permanent?: boolean;
|
|
2407
2449
|
}
|
|
2408
|
-
|
|
2450
|
+
interface DeleteDraftPostResponse {
|
|
2409
2451
|
}
|
|
2410
|
-
|
|
2452
|
+
interface RemoveFromTrashBinRequest {
|
|
2411
2453
|
/**
|
|
2412
2454
|
* Draft post ID.
|
|
2413
2455
|
* @maxLength 38
|
|
2414
2456
|
*/
|
|
2415
2457
|
draftPostId: string;
|
|
2416
2458
|
}
|
|
2417
|
-
|
|
2459
|
+
interface RemoveFromTrashBinResponse {
|
|
2418
2460
|
}
|
|
2419
|
-
|
|
2461
|
+
interface BulkDeleteDraftPostsRequest {
|
|
2420
2462
|
/**
|
|
2421
2463
|
* Post IDs.
|
|
2422
2464
|
* @minSize 1
|
|
@@ -2427,13 +2469,13 @@ export interface BulkDeleteDraftPostsRequest {
|
|
|
2427
2469
|
/** Should delete bypassing the trash-bin. */
|
|
2428
2470
|
permanent?: boolean;
|
|
2429
2471
|
}
|
|
2430
|
-
|
|
2472
|
+
interface BulkDeleteDraftPostsResponse {
|
|
2431
2473
|
/** Bulk action results. */
|
|
2432
2474
|
results?: BulkDraftPostResult[];
|
|
2433
2475
|
/** Bulk action metadata. */
|
|
2434
2476
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2435
2477
|
}
|
|
2436
|
-
|
|
2478
|
+
interface ListDraftPostsRequest {
|
|
2437
2479
|
/**
|
|
2438
2480
|
* Draft post status filter.
|
|
2439
2481
|
*
|
|
@@ -2464,35 +2506,35 @@ export interface ListDraftPostsRequest {
|
|
|
2464
2506
|
*/
|
|
2465
2507
|
fieldsets?: Field[];
|
|
2466
2508
|
}
|
|
2467
|
-
|
|
2509
|
+
interface ListDraftPostsResponse {
|
|
2468
2510
|
/** List of draft posts. */
|
|
2469
2511
|
draftPosts?: DraftPost[];
|
|
2470
2512
|
/** Details on the paged set of results returned. */
|
|
2471
2513
|
metaData?: MetaData;
|
|
2472
2514
|
}
|
|
2473
|
-
|
|
2515
|
+
interface GetDeletedDraftPostRequest {
|
|
2474
2516
|
/**
|
|
2475
2517
|
* Draft post ID.
|
|
2476
2518
|
* @maxLength 38
|
|
2477
2519
|
*/
|
|
2478
2520
|
draftPostId: string;
|
|
2479
2521
|
}
|
|
2480
|
-
|
|
2522
|
+
interface GetDeletedDraftPostResponse {
|
|
2481
2523
|
/** Draft post info. */
|
|
2482
2524
|
draftPost?: DraftPost;
|
|
2483
2525
|
}
|
|
2484
|
-
|
|
2526
|
+
interface RestoreFromTrashBinRequest {
|
|
2485
2527
|
/**
|
|
2486
2528
|
* Draft post ID.
|
|
2487
2529
|
* @maxLength 38
|
|
2488
2530
|
*/
|
|
2489
2531
|
draftPostId: string;
|
|
2490
2532
|
}
|
|
2491
|
-
|
|
2533
|
+
interface RestoreFromTrashBinResponse {
|
|
2492
2534
|
/** Restored draft post info. */
|
|
2493
2535
|
draftPost?: DraftPost;
|
|
2494
2536
|
}
|
|
2495
|
-
|
|
2537
|
+
interface QueryDraftPostsRequest {
|
|
2496
2538
|
/**
|
|
2497
2539
|
* List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
2498
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
|
|
@@ -2503,7 +2545,7 @@ export interface QueryDraftPostsRequest {
|
|
|
2503
2545
|
/** Query options. */
|
|
2504
2546
|
query?: PlatformQuery;
|
|
2505
2547
|
}
|
|
2506
|
-
|
|
2548
|
+
interface Sorting {
|
|
2507
2549
|
/**
|
|
2508
2550
|
* Name of the field to sort by.
|
|
2509
2551
|
* @maxLength 512
|
|
@@ -2512,11 +2554,11 @@ export interface Sorting {
|
|
|
2512
2554
|
/** Sort order. */
|
|
2513
2555
|
order?: SortOrder;
|
|
2514
2556
|
}
|
|
2515
|
-
|
|
2557
|
+
declare enum SortOrder {
|
|
2516
2558
|
ASC = "ASC",
|
|
2517
2559
|
DESC = "DESC"
|
|
2518
2560
|
}
|
|
2519
|
-
|
|
2561
|
+
interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
|
|
2520
2562
|
/** Paging options to limit and skip the number of items. */
|
|
2521
2563
|
paging?: Paging;
|
|
2522
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`. */
|
|
@@ -2538,13 +2580,13 @@ export interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
|
|
|
2538
2580
|
sort?: Sorting[];
|
|
2539
2581
|
}
|
|
2540
2582
|
/** @oneof */
|
|
2541
|
-
|
|
2583
|
+
interface PlatformQueryPagingMethodOneOf {
|
|
2542
2584
|
/** Paging options to limit and skip the number of items. */
|
|
2543
2585
|
paging?: Paging;
|
|
2544
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`. */
|
|
2545
2587
|
cursorPaging?: CursorPaging;
|
|
2546
2588
|
}
|
|
2547
|
-
|
|
2589
|
+
interface Paging {
|
|
2548
2590
|
/**
|
|
2549
2591
|
* Number of items to load.
|
|
2550
2592
|
* @max 100
|
|
@@ -2553,7 +2595,7 @@ export interface Paging {
|
|
|
2553
2595
|
/** Number of items to skip in the current sort order. */
|
|
2554
2596
|
offset?: number | null;
|
|
2555
2597
|
}
|
|
2556
|
-
|
|
2598
|
+
interface CursorPaging {
|
|
2557
2599
|
/**
|
|
2558
2600
|
* Number of items to load.
|
|
2559
2601
|
* @max 100
|
|
@@ -2569,60 +2611,36 @@ export interface CursorPaging {
|
|
|
2569
2611
|
*/
|
|
2570
2612
|
cursor?: string | null;
|
|
2571
2613
|
}
|
|
2572
|
-
|
|
2614
|
+
interface QueryDraftPostsResponse {
|
|
2573
2615
|
/** List of posts. */
|
|
2574
2616
|
draftPosts?: DraftPost[];
|
|
2575
2617
|
/** Details on the paged set of results returned. */
|
|
2576
2618
|
pagingMetadata?: PagingMetadataV2;
|
|
2577
2619
|
}
|
|
2578
|
-
|
|
2579
|
-
/** Number of items returned in the response. */
|
|
2580
|
-
count?: number | null;
|
|
2581
|
-
/** Offset that was requested. */
|
|
2582
|
-
offset?: number | null;
|
|
2583
|
-
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
2584
|
-
total?: number | null;
|
|
2585
|
-
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
2586
|
-
tooManyToCount?: boolean | null;
|
|
2587
|
-
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
2588
|
-
cursors?: Cursors;
|
|
2589
|
-
}
|
|
2590
|
-
export interface Cursors {
|
|
2591
|
-
/**
|
|
2592
|
-
* Cursor pointing to next page in the list of results.
|
|
2593
|
-
* @maxLength 2000
|
|
2594
|
-
*/
|
|
2595
|
-
next?: string | null;
|
|
2596
|
-
/**
|
|
2597
|
-
* Cursor pointing to previous page in the list of results.
|
|
2598
|
-
* @maxLength 2000
|
|
2599
|
-
*/
|
|
2600
|
-
prev?: string | null;
|
|
2601
|
-
}
|
|
2602
|
-
export interface PublishDraftPostRequest {
|
|
2620
|
+
interface PublishDraftPostRequest {
|
|
2603
2621
|
/**
|
|
2604
2622
|
* Draft post ID.
|
|
2605
2623
|
* @maxLength 38
|
|
2606
2624
|
*/
|
|
2607
2625
|
draftPostId: string;
|
|
2608
2626
|
}
|
|
2609
|
-
|
|
2627
|
+
interface PublishDraftPostResponse {
|
|
2610
2628
|
/**
|
|
2611
2629
|
* Published post ID.
|
|
2612
2630
|
* @format GUID
|
|
2613
2631
|
*/
|
|
2614
2632
|
postId?: string;
|
|
2615
2633
|
}
|
|
2616
|
-
|
|
2634
|
+
interface UnpublishPostRequest {
|
|
2617
2635
|
/**
|
|
2618
2636
|
* Draft post ID.
|
|
2619
2637
|
* @maxLength 38
|
|
2620
2638
|
*/
|
|
2621
2639
|
draftPostId?: string;
|
|
2622
2640
|
}
|
|
2623
|
-
|
|
2641
|
+
interface UnpublishPostResponse {
|
|
2624
2642
|
}
|
|
2625
|
-
|
|
2643
|
+
interface TranslateCategoryRequest {
|
|
2626
2644
|
/**
|
|
2627
2645
|
* Source category ID
|
|
2628
2646
|
* @format GUID
|
|
@@ -2634,13 +2652,13 @@ export interface TranslateCategoryRequest {
|
|
|
2634
2652
|
*/
|
|
2635
2653
|
language?: string;
|
|
2636
2654
|
}
|
|
2637
|
-
|
|
2655
|
+
interface TranslateCategoryResponse {
|
|
2638
2656
|
/** Translated category */
|
|
2639
2657
|
category?: Category;
|
|
2640
2658
|
/** Other translations of returned category */
|
|
2641
2659
|
translations?: CategoryTranslation[];
|
|
2642
2660
|
}
|
|
2643
|
-
|
|
2661
|
+
interface Category {
|
|
2644
2662
|
/**
|
|
2645
2663
|
* Category ID.
|
|
2646
2664
|
* @immutable
|
|
@@ -2708,7 +2726,7 @@ export interface Category {
|
|
|
2708
2726
|
*/
|
|
2709
2727
|
_updatedDate?: Date | null;
|
|
2710
2728
|
}
|
|
2711
|
-
|
|
2729
|
+
interface CategoryTranslation {
|
|
2712
2730
|
/**
|
|
2713
2731
|
* Category ID.
|
|
2714
2732
|
* @format GUID
|
|
@@ -2727,7 +2745,7 @@ export interface CategoryTranslation {
|
|
|
2727
2745
|
/** URL of this category page. */
|
|
2728
2746
|
url?: string;
|
|
2729
2747
|
}
|
|
2730
|
-
|
|
2748
|
+
interface TranslateDraftRequest {
|
|
2731
2749
|
/**
|
|
2732
2750
|
* Source post or draft ID
|
|
2733
2751
|
* @format GUID
|
|
@@ -2746,18 +2764,18 @@ export interface TranslateDraftRequest {
|
|
|
2746
2764
|
*/
|
|
2747
2765
|
fieldsets?: Field[];
|
|
2748
2766
|
}
|
|
2749
|
-
|
|
2767
|
+
interface TranslateDraftResponse {
|
|
2750
2768
|
/** Draft post. */
|
|
2751
2769
|
draftPost?: DraftPost;
|
|
2752
2770
|
}
|
|
2753
|
-
|
|
2771
|
+
interface IsDraftPostAutoTranslatableRequest {
|
|
2754
2772
|
/**
|
|
2755
2773
|
* Source post or draft ID.
|
|
2756
2774
|
* @format GUID
|
|
2757
2775
|
*/
|
|
2758
2776
|
draftPostId?: string;
|
|
2759
2777
|
}
|
|
2760
|
-
|
|
2778
|
+
interface IsDraftPostAutoTranslatableResponse {
|
|
2761
2779
|
/**
|
|
2762
2780
|
* Source draft post ID.
|
|
2763
2781
|
* @format GUID
|
|
@@ -2776,7 +2794,7 @@ export interface IsDraftPostAutoTranslatableResponse {
|
|
|
2776
2794
|
/** Content text character count. */
|
|
2777
2795
|
contentTextCharacterCount?: number;
|
|
2778
2796
|
}
|
|
2779
|
-
|
|
2797
|
+
interface UpdateDraftPostLanguageRequest {
|
|
2780
2798
|
/**
|
|
2781
2799
|
* Source draft post ID
|
|
2782
2800
|
* @format GUID
|
|
@@ -2796,11 +2814,11 @@ export interface UpdateDraftPostLanguageRequest {
|
|
|
2796
2814
|
*/
|
|
2797
2815
|
fieldsets?: Field[];
|
|
2798
2816
|
}
|
|
2799
|
-
|
|
2817
|
+
interface UpdateDraftPostLanguageResponse {
|
|
2800
2818
|
/** Draft post */
|
|
2801
2819
|
draftPost?: DraftPost;
|
|
2802
2820
|
}
|
|
2803
|
-
|
|
2821
|
+
interface BulkUpdateDraftPostLanguageRequest {
|
|
2804
2822
|
/**
|
|
2805
2823
|
* Source post or draft IDs
|
|
2806
2824
|
* @maxSize 50
|
|
@@ -2822,24 +2840,24 @@ export interface BulkUpdateDraftPostLanguageRequest {
|
|
|
2822
2840
|
*/
|
|
2823
2841
|
fieldsets?: Field[];
|
|
2824
2842
|
}
|
|
2825
|
-
|
|
2843
|
+
interface BulkUpdateDraftPostLanguageResponse {
|
|
2826
2844
|
/** Bulk action results */
|
|
2827
2845
|
results?: BulkDraftPostResult[];
|
|
2828
2846
|
/** Bulk action metadata */
|
|
2829
2847
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2830
2848
|
}
|
|
2831
|
-
|
|
2849
|
+
interface GetPostAmountsByLanguageRequest {
|
|
2832
2850
|
/**
|
|
2833
2851
|
* Post status to filter by
|
|
2834
2852
|
* @maxLength 100
|
|
2835
2853
|
*/
|
|
2836
2854
|
status?: string;
|
|
2837
2855
|
}
|
|
2838
|
-
|
|
2856
|
+
interface GetPostAmountsByLanguageResponse {
|
|
2839
2857
|
/** Post amounts by language */
|
|
2840
2858
|
postAmountsByLanguage?: PostAmountByLanguage[];
|
|
2841
2859
|
}
|
|
2842
|
-
|
|
2860
|
+
interface PostAmountByLanguage {
|
|
2843
2861
|
/**
|
|
2844
2862
|
* Post language code
|
|
2845
2863
|
* @format LANGUAGE_TAG
|
|
@@ -2853,7 +2871,7 @@ export interface PostAmountByLanguage {
|
|
|
2853
2871
|
/** Post amount in that language */
|
|
2854
2872
|
postAmount?: number;
|
|
2855
2873
|
}
|
|
2856
|
-
|
|
2874
|
+
interface BulkRevertToUnpublishedRequest {
|
|
2857
2875
|
/**
|
|
2858
2876
|
* Source post IDs.
|
|
2859
2877
|
* @minSize 1
|
|
@@ -2864,13 +2882,13 @@ export interface BulkRevertToUnpublishedRequest {
|
|
|
2864
2882
|
/** Should full draft post be returned. */
|
|
2865
2883
|
returnFullEntity?: boolean;
|
|
2866
2884
|
}
|
|
2867
|
-
|
|
2885
|
+
interface BulkRevertToUnpublishedResponse {
|
|
2868
2886
|
/** Bulk action results. */
|
|
2869
2887
|
results?: BulkDraftPostResult[];
|
|
2870
2888
|
/** Bulk action metadata. */
|
|
2871
2889
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2872
2890
|
}
|
|
2873
|
-
|
|
2891
|
+
interface BulkRejectDraftPostRequest {
|
|
2874
2892
|
/**
|
|
2875
2893
|
* Source post IDs.
|
|
2876
2894
|
* @minSize 1
|
|
@@ -2881,13 +2899,13 @@ export interface BulkRejectDraftPostRequest {
|
|
|
2881
2899
|
/** Should full draft post be returned. */
|
|
2882
2900
|
returnFullEntity?: boolean;
|
|
2883
2901
|
}
|
|
2884
|
-
|
|
2902
|
+
interface BulkRejectDraftPostResponse {
|
|
2885
2903
|
/** Bulk action results. */
|
|
2886
2904
|
results?: BulkDraftPostResult[];
|
|
2887
2905
|
/** Bulk action metadata. */
|
|
2888
2906
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2889
2907
|
}
|
|
2890
|
-
|
|
2908
|
+
interface RevertToUnpublishedRequest {
|
|
2891
2909
|
/**
|
|
2892
2910
|
* Source post ID.
|
|
2893
2911
|
* @format GUID
|
|
@@ -2901,11 +2919,11 @@ export interface RevertToUnpublishedRequest {
|
|
|
2901
2919
|
*/
|
|
2902
2920
|
fieldsets?: Field[];
|
|
2903
2921
|
}
|
|
2904
|
-
|
|
2922
|
+
interface RevertToUnpublishedResponse {
|
|
2905
2923
|
/** Updated post draft. */
|
|
2906
2924
|
draftPost?: DraftPost;
|
|
2907
2925
|
}
|
|
2908
|
-
|
|
2926
|
+
interface RejectDraftPostRequest {
|
|
2909
2927
|
/**
|
|
2910
2928
|
* Source post ID.
|
|
2911
2929
|
* @format GUID
|
|
@@ -2919,11 +2937,11 @@ export interface RejectDraftPostRequest {
|
|
|
2919
2937
|
*/
|
|
2920
2938
|
fieldsets?: Field[];
|
|
2921
2939
|
}
|
|
2922
|
-
|
|
2940
|
+
interface RejectDraftPostResponse {
|
|
2923
2941
|
/** Draft post. */
|
|
2924
2942
|
draftPost?: DraftPost;
|
|
2925
2943
|
}
|
|
2926
|
-
|
|
2944
|
+
interface ApproveDraftPostRequest {
|
|
2927
2945
|
/**
|
|
2928
2946
|
* Source post ID.
|
|
2929
2947
|
* @format GUID
|
|
@@ -2942,11 +2960,11 @@ export interface ApproveDraftPostRequest {
|
|
|
2942
2960
|
*/
|
|
2943
2961
|
fieldsets?: Field[];
|
|
2944
2962
|
}
|
|
2945
|
-
|
|
2963
|
+
interface ApproveDraftPostResponse {
|
|
2946
2964
|
/** Updated post draft. */
|
|
2947
2965
|
draftPost?: DraftPost;
|
|
2948
2966
|
}
|
|
2949
|
-
|
|
2967
|
+
interface MarkPostAsInModerationRequest {
|
|
2950
2968
|
/**
|
|
2951
2969
|
* Source post ID.
|
|
2952
2970
|
* @maxLength 38
|
|
@@ -2960,409 +2978,11 @@ export interface MarkPostAsInModerationRequest {
|
|
|
2960
2978
|
*/
|
|
2961
2979
|
fieldsets?: Field[];
|
|
2962
2980
|
}
|
|
2963
|
-
|
|
2981
|
+
interface MarkPostAsInModerationResponse {
|
|
2964
2982
|
/** Updated post draft. */
|
|
2965
2983
|
draftPost?: DraftPost;
|
|
2966
2984
|
}
|
|
2967
|
-
interface
|
|
2968
|
-
image: string;
|
|
2969
|
-
video: string;
|
|
2970
|
-
enabled: boolean;
|
|
2971
|
-
displayed: boolean;
|
|
2972
|
-
custom: boolean;
|
|
2973
|
-
}
|
|
2974
|
-
interface PluginContainerDataWidthNonNullableFields {
|
|
2975
|
-
size: WidthType;
|
|
2976
|
-
}
|
|
2977
|
-
interface PluginContainerDataNonNullableFields {
|
|
2978
|
-
width?: PluginContainerDataWidthNonNullableFields;
|
|
2979
|
-
alignment: PluginContainerDataAlignment;
|
|
2980
|
-
}
|
|
2981
|
-
interface LinkNonNullableFields {
|
|
2982
|
-
url: string;
|
|
2983
|
-
anchor: string;
|
|
2984
|
-
target: Target;
|
|
2985
|
-
}
|
|
2986
|
-
interface ButtonDataNonNullableFields {
|
|
2987
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
2988
|
-
type: ButtonDataType;
|
|
2989
|
-
link?: LinkNonNullableFields;
|
|
2990
|
-
}
|
|
2991
|
-
interface TextStyleNonNullableFields {
|
|
2992
|
-
textAlignment: TextAlignment;
|
|
2993
|
-
}
|
|
2994
|
-
interface CodeBlockDataNonNullableFields {
|
|
2995
|
-
textStyle?: TextStyleNonNullableFields;
|
|
2996
|
-
}
|
|
2997
|
-
interface DividerDataNonNullableFields {
|
|
2998
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
2999
|
-
lineStyle: LineStyle;
|
|
3000
|
-
width: Width;
|
|
3001
|
-
alignment: Alignment;
|
|
3002
|
-
}
|
|
3003
|
-
interface PDFSettingsNonNullableFields {
|
|
3004
|
-
viewMode: ViewMode;
|
|
3005
|
-
}
|
|
3006
|
-
interface FileDataNonNullableFields {
|
|
3007
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3008
|
-
pdfSettings?: PDFSettingsNonNullableFields;
|
|
3009
|
-
}
|
|
3010
|
-
interface ImageNonNullableFields {
|
|
3011
|
-
link?: LinkNonNullableFields;
|
|
3012
|
-
}
|
|
3013
|
-
interface ItemNonNullableFields {
|
|
3014
|
-
image?: ImageNonNullableFields;
|
|
3015
|
-
}
|
|
3016
|
-
interface LayoutNonNullableFields {
|
|
3017
|
-
type: LayoutType;
|
|
3018
|
-
orientation: Orientation;
|
|
3019
|
-
}
|
|
3020
|
-
interface ItemStyleNonNullableFields {
|
|
3021
|
-
crop: Crop;
|
|
3022
|
-
}
|
|
3023
|
-
interface ThumbnailsNonNullableFields {
|
|
3024
|
-
placement: ThumbnailsAlignment;
|
|
3025
|
-
}
|
|
3026
|
-
interface GalleryOptionsNonNullableFields {
|
|
3027
|
-
layout?: LayoutNonNullableFields;
|
|
3028
|
-
item?: ItemStyleNonNullableFields;
|
|
3029
|
-
thumbnails?: ThumbnailsNonNullableFields;
|
|
3030
|
-
}
|
|
3031
|
-
interface GalleryDataNonNullableFields {
|
|
3032
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3033
|
-
items: ItemNonNullableFields[];
|
|
3034
|
-
options?: GalleryOptionsNonNullableFields;
|
|
3035
|
-
}
|
|
3036
|
-
interface GIFDataNonNullableFields {
|
|
3037
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3038
|
-
height: number;
|
|
3039
|
-
width: number;
|
|
3040
|
-
gifType: GIFType;
|
|
3041
|
-
}
|
|
3042
|
-
interface HeadingDataNonNullableFields {
|
|
3043
|
-
level: number;
|
|
3044
|
-
textStyle?: TextStyleNonNullableFields;
|
|
3045
|
-
}
|
|
3046
|
-
interface HTMLDataNonNullableFields {
|
|
3047
|
-
url: string;
|
|
3048
|
-
html: string;
|
|
3049
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3050
|
-
source: Source;
|
|
3051
|
-
}
|
|
3052
|
-
interface ImageDataNonNullableFields {
|
|
3053
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3054
|
-
link?: LinkNonNullableFields;
|
|
3055
|
-
}
|
|
3056
|
-
interface LinkPreviewDataStylesNonNullableFields {
|
|
3057
|
-
thumbnailPosition: Position;
|
|
3058
|
-
}
|
|
3059
|
-
interface LinkPreviewDataNonNullableFields {
|
|
3060
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3061
|
-
link?: LinkNonNullableFields;
|
|
3062
|
-
styles?: LinkPreviewDataStylesNonNullableFields;
|
|
3063
|
-
}
|
|
3064
|
-
interface MapSettingsNonNullableFields {
|
|
3065
|
-
mapType: MapType;
|
|
3066
|
-
}
|
|
3067
|
-
interface MapDataNonNullableFields {
|
|
3068
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3069
|
-
mapSettings?: MapSettingsNonNullableFields;
|
|
3070
|
-
}
|
|
3071
|
-
interface ParagraphDataNonNullableFields {
|
|
3072
|
-
textStyle?: TextStyleNonNullableFields;
|
|
3073
|
-
}
|
|
3074
|
-
interface PermissionsNonNullableFields {
|
|
3075
|
-
view: ViewRole;
|
|
3076
|
-
vote: VoteRole;
|
|
3077
|
-
}
|
|
3078
|
-
interface PollSettingsNonNullableFields {
|
|
3079
|
-
permissions?: PermissionsNonNullableFields;
|
|
3080
|
-
}
|
|
3081
|
-
interface PollNonNullableFields {
|
|
3082
|
-
settings?: PollSettingsNonNullableFields;
|
|
3083
|
-
}
|
|
3084
|
-
interface PollLayoutNonNullableFields {
|
|
3085
|
-
type: PollLayoutType;
|
|
3086
|
-
direction: PollLayoutDirection;
|
|
3087
|
-
}
|
|
3088
|
-
interface PollDataLayoutNonNullableFields {
|
|
3089
|
-
poll?: PollLayoutNonNullableFields;
|
|
3090
|
-
}
|
|
3091
|
-
interface BackgroundNonNullableFields {
|
|
3092
|
-
type: BackgroundType;
|
|
3093
|
-
}
|
|
3094
|
-
interface PollDesignNonNullableFields {
|
|
3095
|
-
background?: BackgroundNonNullableFields;
|
|
3096
|
-
}
|
|
3097
|
-
interface DesignNonNullableFields {
|
|
3098
|
-
poll?: PollDesignNonNullableFields;
|
|
3099
|
-
}
|
|
3100
|
-
interface PollDataNonNullableFields {
|
|
3101
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3102
|
-
poll?: PollNonNullableFields;
|
|
3103
|
-
layout?: PollDataLayoutNonNullableFields;
|
|
3104
|
-
design?: DesignNonNullableFields;
|
|
3105
|
-
}
|
|
3106
|
-
interface AnchorDataNonNullableFields {
|
|
3107
|
-
anchor: string;
|
|
3108
|
-
}
|
|
3109
|
-
interface LinkDataNonNullableFields {
|
|
3110
|
-
link?: LinkNonNullableFields;
|
|
3111
|
-
}
|
|
3112
|
-
interface MentionDataNonNullableFields {
|
|
3113
|
-
name: string;
|
|
3114
|
-
slug: string;
|
|
3115
|
-
}
|
|
3116
|
-
interface FontSizeDataNonNullableFields {
|
|
3117
|
-
unit: FontType;
|
|
3118
|
-
}
|
|
3119
|
-
interface DecorationNonNullableFields {
|
|
3120
|
-
anchorData?: AnchorDataNonNullableFields;
|
|
3121
|
-
linkData?: LinkDataNonNullableFields;
|
|
3122
|
-
mentionData?: MentionDataNonNullableFields;
|
|
3123
|
-
fontSizeData?: FontSizeDataNonNullableFields;
|
|
3124
|
-
type: DecorationType;
|
|
3125
|
-
}
|
|
3126
|
-
interface TextDataNonNullableFields {
|
|
3127
|
-
text: string;
|
|
3128
|
-
decorations: DecorationNonNullableFields[];
|
|
3129
|
-
}
|
|
3130
|
-
interface AppEmbedDataNonNullableFields {
|
|
3131
|
-
type: AppType;
|
|
3132
|
-
}
|
|
3133
|
-
interface VideoDataNonNullableFields {
|
|
3134
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3135
|
-
}
|
|
3136
|
-
interface EmbedDataNonNullableFields {
|
|
3137
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3138
|
-
}
|
|
3139
|
-
interface CollapsibleListDataNonNullableFields {
|
|
3140
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3141
|
-
initialExpandedItems: InitialExpandedItems;
|
|
3142
|
-
direction: Direction;
|
|
3143
|
-
}
|
|
3144
|
-
interface DimensionsNonNullableFields {
|
|
3145
|
-
colsWidthRatio: number[];
|
|
3146
|
-
rowsHeight: number[];
|
|
3147
|
-
colsMinWidth: number[];
|
|
3148
|
-
}
|
|
3149
|
-
interface TableDataNonNullableFields {
|
|
3150
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3151
|
-
dimensions?: DimensionsNonNullableFields;
|
|
3152
|
-
}
|
|
3153
|
-
interface CellStyleNonNullableFields {
|
|
3154
|
-
verticalAlignment: VerticalAlignment;
|
|
3155
|
-
}
|
|
3156
|
-
interface TableCellDataNonNullableFields {
|
|
3157
|
-
cellStyle?: CellStyleNonNullableFields;
|
|
3158
|
-
}
|
|
3159
|
-
interface AudioDataNonNullableFields {
|
|
3160
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
3161
|
-
}
|
|
3162
|
-
interface OrderedListDataNonNullableFields {
|
|
3163
|
-
indentation: number;
|
|
3164
|
-
}
|
|
3165
|
-
interface BulletedListDataNonNullableFields {
|
|
3166
|
-
indentation: number;
|
|
3167
|
-
}
|
|
3168
|
-
interface BlockquoteDataNonNullableFields {
|
|
3169
|
-
indentation: number;
|
|
3170
|
-
}
|
|
3171
|
-
interface CaptionDataNonNullableFields {
|
|
3172
|
-
textStyle?: TextStyleNonNullableFields;
|
|
3173
|
-
}
|
|
3174
|
-
interface NodeNonNullableFields {
|
|
3175
|
-
buttonData?: ButtonDataNonNullableFields;
|
|
3176
|
-
codeBlockData?: CodeBlockDataNonNullableFields;
|
|
3177
|
-
dividerData?: DividerDataNonNullableFields;
|
|
3178
|
-
fileData?: FileDataNonNullableFields;
|
|
3179
|
-
galleryData?: GalleryDataNonNullableFields;
|
|
3180
|
-
gifData?: GIFDataNonNullableFields;
|
|
3181
|
-
headingData?: HeadingDataNonNullableFields;
|
|
3182
|
-
htmlData?: HTMLDataNonNullableFields;
|
|
3183
|
-
imageData?: ImageDataNonNullableFields;
|
|
3184
|
-
linkPreviewData?: LinkPreviewDataNonNullableFields;
|
|
3185
|
-
mapData?: MapDataNonNullableFields;
|
|
3186
|
-
paragraphData?: ParagraphDataNonNullableFields;
|
|
3187
|
-
pollData?: PollDataNonNullableFields;
|
|
3188
|
-
textData?: TextDataNonNullableFields;
|
|
3189
|
-
appEmbedData?: AppEmbedDataNonNullableFields;
|
|
3190
|
-
videoData?: VideoDataNonNullableFields;
|
|
3191
|
-
embedData?: EmbedDataNonNullableFields;
|
|
3192
|
-
collapsibleListData?: CollapsibleListDataNonNullableFields;
|
|
3193
|
-
tableData?: TableDataNonNullableFields;
|
|
3194
|
-
tableCellData?: TableCellDataNonNullableFields;
|
|
3195
|
-
audioData?: AudioDataNonNullableFields;
|
|
3196
|
-
orderedListData?: OrderedListDataNonNullableFields;
|
|
3197
|
-
bulletedListData?: BulletedListDataNonNullableFields;
|
|
3198
|
-
blockquoteData?: BlockquoteDataNonNullableFields;
|
|
3199
|
-
captionData?: CaptionDataNonNullableFields;
|
|
3200
|
-
type: NodeType;
|
|
3201
|
-
_id: string;
|
|
3202
|
-
nodes: NodeNonNullableFields[];
|
|
3203
|
-
}
|
|
3204
|
-
interface MetadataNonNullableFields {
|
|
3205
|
-
version: number;
|
|
3206
|
-
}
|
|
3207
|
-
interface TextNodeStyleNonNullableFields {
|
|
3208
|
-
decorations: DecorationNonNullableFields[];
|
|
3209
|
-
}
|
|
3210
|
-
interface DocumentStyleNonNullableFields {
|
|
3211
|
-
headerOne?: TextNodeStyleNonNullableFields;
|
|
3212
|
-
headerTwo?: TextNodeStyleNonNullableFields;
|
|
3213
|
-
headerThree?: TextNodeStyleNonNullableFields;
|
|
3214
|
-
headerFour?: TextNodeStyleNonNullableFields;
|
|
3215
|
-
headerFive?: TextNodeStyleNonNullableFields;
|
|
3216
|
-
headerSix?: TextNodeStyleNonNullableFields;
|
|
3217
|
-
paragraph?: TextNodeStyleNonNullableFields;
|
|
3218
|
-
blockquote?: TextNodeStyleNonNullableFields;
|
|
3219
|
-
codeBlock?: TextNodeStyleNonNullableFields;
|
|
3220
|
-
}
|
|
3221
|
-
interface RichContentNonNullableFields {
|
|
3222
|
-
nodes: NodeNonNullableFields[];
|
|
3223
|
-
metadata?: MetadataNonNullableFields;
|
|
3224
|
-
documentStyle?: DocumentStyleNonNullableFields;
|
|
3225
|
-
}
|
|
3226
|
-
interface ModerationDetailsNonNullableFields {
|
|
3227
|
-
submittedBy: string;
|
|
3228
|
-
status: ModerationStatusStatus;
|
|
3229
|
-
}
|
|
3230
|
-
interface TagNonNullableFields {
|
|
3231
|
-
type: string;
|
|
3232
|
-
children: string;
|
|
3233
|
-
custom: boolean;
|
|
3234
|
-
disabled: boolean;
|
|
3235
|
-
}
|
|
3236
|
-
interface KeywordNonNullableFields {
|
|
3237
|
-
term: string;
|
|
3238
|
-
isMain: boolean;
|
|
3239
|
-
}
|
|
3240
|
-
interface SettingsNonNullableFields {
|
|
3241
|
-
preventAutoRedirect: boolean;
|
|
3242
|
-
keywords: KeywordNonNullableFields[];
|
|
3243
|
-
}
|
|
3244
|
-
interface SeoSchemaNonNullableFields {
|
|
3245
|
-
tags: TagNonNullableFields[];
|
|
3246
|
-
settings?: SettingsNonNullableFields;
|
|
3247
|
-
}
|
|
3248
|
-
interface WixMediaNonNullableFields {
|
|
3249
|
-
image: string;
|
|
3250
|
-
videoV2: string;
|
|
3251
|
-
}
|
|
3252
|
-
interface EmbedThumbnailNonNullableFields {
|
|
3253
|
-
url: string;
|
|
3254
|
-
width: number;
|
|
3255
|
-
height: number;
|
|
3256
|
-
}
|
|
3257
|
-
interface EmbedVideoNonNullableFields {
|
|
3258
|
-
url: string;
|
|
3259
|
-
width: number;
|
|
3260
|
-
height: number;
|
|
3261
|
-
}
|
|
3262
|
-
interface EmbedMediaNonNullableFields {
|
|
3263
|
-
thumbnail?: EmbedThumbnailNonNullableFields;
|
|
3264
|
-
video?: EmbedVideoNonNullableFields;
|
|
3265
|
-
}
|
|
3266
|
-
interface MediaNonNullableFields {
|
|
3267
|
-
wixMedia?: WixMediaNonNullableFields;
|
|
3268
|
-
embedMedia?: EmbedMediaNonNullableFields;
|
|
3269
|
-
displayed: boolean;
|
|
3270
|
-
custom: boolean;
|
|
3271
|
-
}
|
|
3272
|
-
interface DraftPostTranslationNonNullableFields {
|
|
3273
|
-
_id: string;
|
|
3274
|
-
status: Status;
|
|
3275
|
-
seoData?: SeoSchemaNonNullableFields;
|
|
3276
|
-
url: string;
|
|
3277
|
-
}
|
|
3278
|
-
interface DraftPostNonNullableFields {
|
|
3279
|
-
_id: string;
|
|
3280
|
-
title: string;
|
|
3281
|
-
categoryIds: string[];
|
|
3282
|
-
coverMedia?: CoverMediaNonNullableFields;
|
|
3283
|
-
hashtags: string[];
|
|
3284
|
-
minutesToRead: number;
|
|
3285
|
-
heroImage: string;
|
|
3286
|
-
tagIds: string[];
|
|
3287
|
-
relatedPostIds: string[];
|
|
3288
|
-
pricingPlanIds: string[];
|
|
3289
|
-
changeOrigin: Origin;
|
|
3290
|
-
richContent?: RichContentNonNullableFields;
|
|
3291
|
-
status: Status;
|
|
3292
|
-
moderationDetails?: ModerationDetailsNonNullableFields;
|
|
3293
|
-
hasUnpublishedChanges: boolean;
|
|
3294
|
-
seoData?: SeoSchemaNonNullableFields;
|
|
3295
|
-
slugs: string[];
|
|
3296
|
-
url: string;
|
|
3297
|
-
media?: MediaNonNullableFields;
|
|
3298
|
-
translations: DraftPostTranslationNonNullableFields[];
|
|
3299
|
-
}
|
|
3300
|
-
export interface CreateDraftPostResponseNonNullableFields {
|
|
3301
|
-
draftPost?: DraftPostNonNullableFields;
|
|
3302
|
-
}
|
|
3303
|
-
interface ApplicationErrorNonNullableFields {
|
|
3304
|
-
code: string;
|
|
3305
|
-
description: string;
|
|
3306
|
-
}
|
|
3307
|
-
interface ItemMetadataNonNullableFields {
|
|
3308
|
-
originalIndex: number;
|
|
3309
|
-
success: boolean;
|
|
3310
|
-
error?: ApplicationErrorNonNullableFields;
|
|
3311
|
-
}
|
|
3312
|
-
interface BulkDraftPostResultNonNullableFields {
|
|
3313
|
-
itemMetadata?: ItemMetadataNonNullableFields;
|
|
3314
|
-
item?: DraftPostNonNullableFields;
|
|
3315
|
-
}
|
|
3316
|
-
interface BulkActionMetadataNonNullableFields {
|
|
3317
|
-
totalSuccesses: number;
|
|
3318
|
-
totalFailures: number;
|
|
3319
|
-
undetailedFailures: number;
|
|
3320
|
-
}
|
|
3321
|
-
export interface BulkCreateDraftPostsResponseNonNullableFields {
|
|
3322
|
-
results: BulkDraftPostResultNonNullableFields[];
|
|
3323
|
-
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
3324
|
-
}
|
|
3325
|
-
export interface BulkUpdateDraftPostsResponseNonNullableFields {
|
|
3326
|
-
results: BulkDraftPostResultNonNullableFields[];
|
|
3327
|
-
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
3328
|
-
}
|
|
3329
|
-
interface MetaDataNonNullableFields {
|
|
3330
|
-
count: number;
|
|
3331
|
-
offset: number;
|
|
3332
|
-
total: number;
|
|
3333
|
-
}
|
|
3334
|
-
export interface ListDeletedDraftPostsResponseNonNullableFields {
|
|
3335
|
-
draftPosts: DraftPostNonNullableFields[];
|
|
3336
|
-
metaData?: MetaDataNonNullableFields;
|
|
3337
|
-
}
|
|
3338
|
-
export interface GetDraftPostResponseNonNullableFields {
|
|
3339
|
-
draftPost?: DraftPostNonNullableFields;
|
|
3340
|
-
}
|
|
3341
|
-
export interface UpdateDraftPostResponseNonNullableFields {
|
|
3342
|
-
draftPost?: DraftPostNonNullableFields;
|
|
3343
|
-
}
|
|
3344
|
-
export interface BulkDeleteDraftPostsResponseNonNullableFields {
|
|
3345
|
-
results: BulkDraftPostResultNonNullableFields[];
|
|
3346
|
-
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
3347
|
-
}
|
|
3348
|
-
export interface ListDraftPostsResponseNonNullableFields {
|
|
3349
|
-
draftPosts: DraftPostNonNullableFields[];
|
|
3350
|
-
metaData?: MetaDataNonNullableFields;
|
|
3351
|
-
}
|
|
3352
|
-
export interface GetDeletedDraftPostResponseNonNullableFields {
|
|
3353
|
-
draftPost?: DraftPostNonNullableFields;
|
|
3354
|
-
}
|
|
3355
|
-
export interface RestoreFromTrashBinResponseNonNullableFields {
|
|
3356
|
-
draftPost?: DraftPostNonNullableFields;
|
|
3357
|
-
}
|
|
3358
|
-
export interface QueryDraftPostsResponseNonNullableFields {
|
|
3359
|
-
draftPosts: DraftPostNonNullableFields[];
|
|
3360
|
-
metaData?: MetaDataNonNullableFields;
|
|
3361
|
-
}
|
|
3362
|
-
export interface PublishDraftPostResponseNonNullableFields {
|
|
3363
|
-
postId: string;
|
|
3364
|
-
}
|
|
3365
|
-
export interface BaseEventMetadata {
|
|
2985
|
+
interface BaseEventMetadata {
|
|
3366
2986
|
/**
|
|
3367
2987
|
* App instance ID.
|
|
3368
2988
|
* @format GUID
|
|
@@ -3376,7 +2996,7 @@ export interface BaseEventMetadata {
|
|
|
3376
2996
|
/** The identification type and identity data. */
|
|
3377
2997
|
identity?: IdentificationData;
|
|
3378
2998
|
}
|
|
3379
|
-
|
|
2999
|
+
interface EventMetadata extends BaseEventMetadata {
|
|
3380
3000
|
/**
|
|
3381
3001
|
* Unique event ID.
|
|
3382
3002
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -3414,101 +3034,19 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
3414
3034
|
*/
|
|
3415
3035
|
entityEventSequence?: string | null;
|
|
3416
3036
|
}
|
|
3417
|
-
|
|
3037
|
+
interface DraftCreatedEnvelope {
|
|
3418
3038
|
entity: DraftPost;
|
|
3419
3039
|
metadata: EventMetadata;
|
|
3420
3040
|
}
|
|
3421
|
-
|
|
3422
|
-
* Triggered when a draft post is created.
|
|
3423
|
-
* @permissionScope Manage Blog
|
|
3424
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3425
|
-
* @permissionScope Read Draft Blog Posts
|
|
3426
|
-
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
|
3427
|
-
* @permissionScope Read Blog
|
|
3428
|
-
* @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
|
|
3429
|
-
* @permissionScope Manage Blog
|
|
3430
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3431
|
-
* @permissionScope Read Draft Blog Posts
|
|
3432
|
-
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
|
3433
|
-
* @permissionId BLOG.READ_ANY_DRAFT
|
|
3434
|
-
* @permissionId BLOG.READ-PUBLICATION
|
|
3435
|
-
* @webhook
|
|
3436
|
-
* @eventType wix.blog.v3.draft_created
|
|
3437
|
-
* @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.DraftPostService
|
|
3438
|
-
* @slug created
|
|
3439
|
-
*/
|
|
3440
|
-
export declare function onDraftCreated(handler: (event: DraftCreatedEnvelope) => void | Promise<void>): void;
|
|
3441
|
-
export interface DraftDeletedEnvelope {
|
|
3041
|
+
interface DraftDeletedEnvelope {
|
|
3442
3042
|
entity: DraftPost;
|
|
3443
3043
|
metadata: EventMetadata;
|
|
3444
3044
|
}
|
|
3445
|
-
|
|
3446
|
-
* Triggered when a draft post is deleted.
|
|
3447
|
-
* @permissionScope Manage Blog
|
|
3448
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3449
|
-
* @permissionScope Read Draft Blog Posts
|
|
3450
|
-
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
|
3451
|
-
* @permissionScope Read Blog
|
|
3452
|
-
* @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
|
|
3453
|
-
* @permissionScope Manage Blog
|
|
3454
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3455
|
-
* @permissionScope Read Draft Blog Posts
|
|
3456
|
-
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
|
3457
|
-
* @permissionId BLOG.READ_ANY_DRAFT
|
|
3458
|
-
* @permissionId BLOG.READ-PUBLICATION
|
|
3459
|
-
* @webhook
|
|
3460
|
-
* @eventType wix.blog.v3.draft_deleted
|
|
3461
|
-
* @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.DraftPostService
|
|
3462
|
-
* @slug deleted
|
|
3463
|
-
*/
|
|
3464
|
-
export declare function onDraftDeleted(handler: (event: DraftDeletedEnvelope) => void | Promise<void>): void;
|
|
3465
|
-
export interface DraftUpdatedEnvelope {
|
|
3045
|
+
interface DraftUpdatedEnvelope {
|
|
3466
3046
|
entity: DraftPost;
|
|
3467
3047
|
metadata: EventMetadata;
|
|
3468
3048
|
}
|
|
3469
|
-
|
|
3470
|
-
* Triggered when a draft post is updated.
|
|
3471
|
-
* @permissionScope Manage Blog
|
|
3472
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3473
|
-
* @permissionScope Read Draft Blog Posts
|
|
3474
|
-
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
|
3475
|
-
* @permissionScope Read Blog
|
|
3476
|
-
* @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
|
|
3477
|
-
* @permissionScope Manage Blog
|
|
3478
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3479
|
-
* @permissionScope Read Draft Blog Posts
|
|
3480
|
-
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
|
3481
|
-
* @permissionId BLOG.READ_ANY_DRAFT
|
|
3482
|
-
* @permissionId BLOG.READ-PUBLICATION
|
|
3483
|
-
* @webhook
|
|
3484
|
-
* @eventType wix.blog.v3.draft_updated
|
|
3485
|
-
* @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.DraftPostService
|
|
3486
|
-
* @slug updated
|
|
3487
|
-
*/
|
|
3488
|
-
export declare function onDraftUpdated(handler: (event: DraftUpdatedEnvelope) => void | Promise<void>): void;
|
|
3489
|
-
/**
|
|
3490
|
-
* Creates a draft post.
|
|
3491
|
-
*
|
|
3492
|
-
* For 3rd-party apps, `memberId` is a required field.
|
|
3493
|
-
*
|
|
3494
|
-
* In `categoryIds`, only categories that already exist will be added to the draft post. Including
|
|
3495
|
-
* `categoryIds` that do not exist will not return an error, but they will not be added to the `categoryIds` array.
|
|
3496
|
-
* If some of the categories exist, those will be added while those that do not exist will not be added to `categoryIds`.
|
|
3497
|
-
* You can check which categories are available with
|
|
3498
|
-
* 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)).
|
|
3499
|
-
* @param draftPost - Draft post to create.
|
|
3500
|
-
* @public
|
|
3501
|
-
* @requiredField draftPost
|
|
3502
|
-
* @requiredField draftPost.title
|
|
3503
|
-
* @param options - Options for creating a draft post.
|
|
3504
|
-
* @permissionId BLOG.CREATE-DRAFT
|
|
3505
|
-
* @permissionScope Manage Blog
|
|
3506
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3507
|
-
* @applicableIdentity APP
|
|
3508
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.CreateDraftPost
|
|
3509
|
-
*/
|
|
3510
|
-
export declare function createDraftPost(draftPost: DraftPost, options?: CreateDraftPostOptions): Promise<CreateDraftPostResponse & CreateDraftPostResponseNonNullableFields>;
|
|
3511
|
-
export interface CreateDraftPostOptions {
|
|
3049
|
+
interface CreateDraftPostOptions {
|
|
3512
3050
|
/**
|
|
3513
3051
|
* Whether the draft post should be published on creation.
|
|
3514
3052
|
*
|
|
@@ -3523,21 +3061,7 @@ export interface CreateDraftPostOptions {
|
|
|
3523
3061
|
*/
|
|
3524
3062
|
fieldsets?: Field[];
|
|
3525
3063
|
}
|
|
3526
|
-
|
|
3527
|
-
* Creates multiple draft posts.
|
|
3528
|
-
* @param draftPosts - Draft posts to create.
|
|
3529
|
-
* @public
|
|
3530
|
-
* @requiredField draftPosts
|
|
3531
|
-
* @requiredField draftPosts.title
|
|
3532
|
-
* @param options - Options for creating multiple draft posts.
|
|
3533
|
-
* @permissionId BLOG.CREATE-DRAFT
|
|
3534
|
-
* @permissionScope Manage Blog
|
|
3535
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3536
|
-
* @applicableIdentity APP
|
|
3537
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkCreateDraftPosts
|
|
3538
|
-
*/
|
|
3539
|
-
export declare function bulkCreateDraftPosts(draftPosts: DraftPost[], options?: BulkCreateDraftPostsOptions): Promise<BulkCreateDraftPostsResponse & BulkCreateDraftPostsResponseNonNullableFields>;
|
|
3540
|
-
export interface BulkCreateDraftPostsOptions {
|
|
3064
|
+
interface BulkCreateDraftPostsOptions {
|
|
3541
3065
|
/** Whether the draft post should be published after creation. */
|
|
3542
3066
|
publish?: boolean;
|
|
3543
3067
|
/** Whether to return the full created draft post entities in the response. */
|
|
@@ -3550,20 +3074,7 @@ export interface BulkCreateDraftPostsOptions {
|
|
|
3550
3074
|
*/
|
|
3551
3075
|
fieldsets?: Field[];
|
|
3552
3076
|
}
|
|
3553
|
-
|
|
3554
|
-
* Updates multiple draft posts.
|
|
3555
|
-
* @public
|
|
3556
|
-
* @requiredField options.draftPosts.draftPost
|
|
3557
|
-
* @requiredField options.draftPosts.draftPost._id
|
|
3558
|
-
* @param options - Options for updating multiple draft posts.
|
|
3559
|
-
* @permissionId BLOG.EDIT-DRAFT
|
|
3560
|
-
* @permissionScope Manage Blog
|
|
3561
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3562
|
-
* @applicableIdentity APP
|
|
3563
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkUpdateDraftPosts
|
|
3564
|
-
*/
|
|
3565
|
-
export declare function bulkUpdateDraftPosts(options?: BulkUpdateDraftPostsOptions): Promise<BulkUpdateDraftPostsResponse & BulkUpdateDraftPostsResponseNonNullableFields>;
|
|
3566
|
-
export interface BulkUpdateDraftPostsOptions {
|
|
3077
|
+
interface BulkUpdateDraftPostsOptions {
|
|
3567
3078
|
/**
|
|
3568
3079
|
* Draft posts to update.
|
|
3569
3080
|
* @minSize 1
|
|
@@ -3588,23 +3099,7 @@ export interface BulkUpdateDraftPostsOptions {
|
|
|
3588
3099
|
*/
|
|
3589
3100
|
fieldsets?: Field[];
|
|
3590
3101
|
}
|
|
3591
|
-
|
|
3592
|
-
* Retrieves a list of up to 100 deleted draft posts.
|
|
3593
|
-
*
|
|
3594
|
-
* List Draft Posts runs with these defaults, which you can override:
|
|
3595
|
-
* - `editedDate` is sorted in descending order. In this case,`editedDate` implies the date the post was deleted.
|
|
3596
|
-
* - `paging.limit` is `50`.
|
|
3597
|
-
* - `paging.offset` is `0`.
|
|
3598
|
-
* @public
|
|
3599
|
-
* @param options - Options for listing deleted draft posts.
|
|
3600
|
-
* @permissionId BLOG.READ_DRAFT
|
|
3601
|
-
* @permissionScope Manage Blog
|
|
3602
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3603
|
-
* @applicableIdentity APP
|
|
3604
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDeletedDraftPosts
|
|
3605
|
-
*/
|
|
3606
|
-
export declare function listDeletedDraftPosts(options?: ListDeletedDraftPostsOptions): Promise<ListDeletedDraftPostsResponse & ListDeletedDraftPostsResponseNonNullableFields>;
|
|
3607
|
-
export interface ListDeletedDraftPostsOptions {
|
|
3102
|
+
interface ListDeletedDraftPostsOptions {
|
|
3608
3103
|
/**
|
|
3609
3104
|
* Language filter.
|
|
3610
3105
|
*
|
|
@@ -3635,20 +3130,7 @@ export interface ListDeletedDraftPostsOptions {
|
|
|
3635
3130
|
*/
|
|
3636
3131
|
draftPostIds?: string[];
|
|
3637
3132
|
}
|
|
3638
|
-
|
|
3639
|
-
* Retrieves a draft post by the provided ID.
|
|
3640
|
-
* @param draftPostId - Draft post ID.
|
|
3641
|
-
* @public
|
|
3642
|
-
* @requiredField draftPostId
|
|
3643
|
-
* @param options - Options for getting a draft post.
|
|
3644
|
-
* @permissionId BLOG.READ_DRAFT
|
|
3645
|
-
* @permissionScope Manage Blog
|
|
3646
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3647
|
-
* @applicableIdentity APP
|
|
3648
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDraftPost
|
|
3649
|
-
*/
|
|
3650
|
-
export declare function getDraftPost(draftPostId: string, options?: GetDraftPostOptions): Promise<GetDraftPostResponse & GetDraftPostResponseNonNullableFields>;
|
|
3651
|
-
export interface GetDraftPostOptions {
|
|
3133
|
+
interface GetDraftPostOptions {
|
|
3652
3134
|
/**
|
|
3653
3135
|
* List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
3654
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
|
|
@@ -3657,22 +3139,7 @@ export interface GetDraftPostOptions {
|
|
|
3657
3139
|
*/
|
|
3658
3140
|
fieldsets?: Field[];
|
|
3659
3141
|
}
|
|
3660
|
-
|
|
3661
|
-
* Updates a draft post.
|
|
3662
|
-
* @param _id - Draft post ID.
|
|
3663
|
-
* @public
|
|
3664
|
-
* @requiredField _id
|
|
3665
|
-
* @requiredField draftPost
|
|
3666
|
-
* @param options - Options for updating a draft post.
|
|
3667
|
-
* @param draftPost - Draft Post info.
|
|
3668
|
-
* @permissionId BLOG.EDIT-DRAFT
|
|
3669
|
-
* @permissionScope Manage Blog
|
|
3670
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3671
|
-
* @applicableIdentity APP
|
|
3672
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.UpdateDraftPost
|
|
3673
|
-
*/
|
|
3674
|
-
export declare function updateDraftPost(_id: string, draftPost: UpdateDraftPost, options?: UpdateDraftPostOptions): Promise<UpdateDraftPostResponse & UpdateDraftPostResponseNonNullableFields>;
|
|
3675
|
-
export interface UpdateDraftPost {
|
|
3142
|
+
interface UpdateDraftPost {
|
|
3676
3143
|
/**
|
|
3677
3144
|
* Draft post ID.
|
|
3678
3145
|
* @readonly
|
|
@@ -3807,7 +3274,7 @@ export interface UpdateDraftPost {
|
|
|
3807
3274
|
/** Number of paragraphs to display in a paid content preview for non-paying users. */
|
|
3808
3275
|
previewTextParagraph?: number | null;
|
|
3809
3276
|
}
|
|
3810
|
-
|
|
3277
|
+
interface UpdateDraftPostOptions {
|
|
3811
3278
|
/**
|
|
3812
3279
|
* Action to perform on the post.
|
|
3813
3280
|
*
|
|
@@ -3824,23 +3291,7 @@ export interface UpdateDraftPostOptions {
|
|
|
3824
3291
|
*/
|
|
3825
3292
|
fieldsets?: Field[];
|
|
3826
3293
|
}
|
|
3827
|
-
|
|
3828
|
-
* Moves a draft post to the trash bin.
|
|
3829
|
-
* 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.
|
|
3830
|
-
*
|
|
3831
|
-
* To permanently delete a post bypassing the trash bin, set the `permanent` field value to `true`. The post can't be restored after this.
|
|
3832
|
-
* @param draftPostId - Draft post ID.
|
|
3833
|
-
* @public
|
|
3834
|
-
* @requiredField draftPostId
|
|
3835
|
-
* @param options - Options for deleting a draft post.
|
|
3836
|
-
* @permissionId BLOG.DELETE-DRAFT
|
|
3837
|
-
* @permissionScope Manage Blog
|
|
3838
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3839
|
-
* @applicableIdentity APP
|
|
3840
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.DeleteDraftPost
|
|
3841
|
-
*/
|
|
3842
|
-
export declare function deleteDraftPost(draftPostId: string, options?: DeleteDraftPostOptions): Promise<void>;
|
|
3843
|
-
export interface DeleteDraftPostOptions {
|
|
3294
|
+
interface DeleteDraftPostOptions {
|
|
3844
3295
|
/**
|
|
3845
3296
|
* Whether to bypass the trash bin and delete the post permanently.
|
|
3846
3297
|
*
|
|
@@ -3848,54 +3299,11 @@ export interface DeleteDraftPostOptions {
|
|
|
3848
3299
|
*/
|
|
3849
3300
|
permanent?: boolean;
|
|
3850
3301
|
}
|
|
3851
|
-
|
|
3852
|
-
* Permanently deletes a draft post that is currently in the trash bin.
|
|
3853
|
-
*
|
|
3854
|
-
* This action is permanent and can't be reversed.
|
|
3855
|
-
* @param draftPostId - Draft post ID.
|
|
3856
|
-
* @public
|
|
3857
|
-
* @requiredField draftPostId
|
|
3858
|
-
* @permissionId BLOG.DELETE-DRAFT
|
|
3859
|
-
* @permissionScope Manage Blog
|
|
3860
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3861
|
-
* @applicableIdentity APP
|
|
3862
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RemoveFromTrashBin
|
|
3863
|
-
*/
|
|
3864
|
-
export declare function removeFromTrashBin(draftPostId: string): Promise<void>;
|
|
3865
|
-
/**
|
|
3866
|
-
* Deletes multiple draft posts.
|
|
3867
|
-
* @param postIds - Post IDs.
|
|
3868
|
-
* @public
|
|
3869
|
-
* @requiredField postIds
|
|
3870
|
-
* @param options - Options for deleting multiple draft posts.
|
|
3871
|
-
* @permissionId BLOG.DELETE-DRAFT
|
|
3872
|
-
* @permissionScope Manage Blog
|
|
3873
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3874
|
-
* @applicableIdentity APP
|
|
3875
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkDeleteDraftPosts
|
|
3876
|
-
*/
|
|
3877
|
-
export declare function bulkDeleteDraftPosts(postIds: string[], options?: BulkDeleteDraftPostsOptions): Promise<BulkDeleteDraftPostsResponse & BulkDeleteDraftPostsResponseNonNullableFields>;
|
|
3878
|
-
export interface BulkDeleteDraftPostsOptions {
|
|
3302
|
+
interface BulkDeleteDraftPostsOptions {
|
|
3879
3303
|
/** Should delete bypassing the trash-bin. */
|
|
3880
3304
|
permanent?: boolean;
|
|
3881
3305
|
}
|
|
3882
|
-
|
|
3883
|
-
* Retrieves a list of up to 100 draft posts per request.
|
|
3884
|
-
*
|
|
3885
|
-
* List Draft Posts runs with these defaults, which you can override:
|
|
3886
|
-
* - `editedDate` is sorted in descending order.
|
|
3887
|
-
* - `paging.limit` is `50`.
|
|
3888
|
-
* - `paging.offset` is `0`.
|
|
3889
|
-
* @public
|
|
3890
|
-
* @param options - Options for listing multiple draft posts.
|
|
3891
|
-
* @permissionId BLOG.READ_DRAFT
|
|
3892
|
-
* @permissionScope Manage Blog
|
|
3893
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3894
|
-
* @applicableIdentity APP
|
|
3895
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDraftPosts
|
|
3896
|
-
*/
|
|
3897
|
-
export declare function listDraftPosts(options?: ListDraftPostsOptions): Promise<ListDraftPostsResponse & ListDraftPostsResponseNonNullableFields>;
|
|
3898
|
-
export interface ListDraftPostsOptions {
|
|
3306
|
+
interface ListDraftPostsOptions {
|
|
3899
3307
|
/**
|
|
3900
3308
|
* Draft post status filter.
|
|
3901
3309
|
*
|
|
@@ -3926,55 +3334,7 @@ export interface ListDraftPostsOptions {
|
|
|
3926
3334
|
*/
|
|
3927
3335
|
fieldsets?: Field[];
|
|
3928
3336
|
}
|
|
3929
|
-
|
|
3930
|
-
* Retrieves a deleted draft post from the trash bin by the provided ID.
|
|
3931
|
-
* @param draftPostId - Draft post ID.
|
|
3932
|
-
* @public
|
|
3933
|
-
* @requiredField draftPostId
|
|
3934
|
-
* @permissionId BLOG.READ_DRAFT
|
|
3935
|
-
* @permissionScope Manage Blog
|
|
3936
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3937
|
-
* @applicableIdentity APP
|
|
3938
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDeletedDraftPost
|
|
3939
|
-
*/
|
|
3940
|
-
export declare function getDeletedDraftPost(draftPostId: string): Promise<GetDeletedDraftPostResponse & GetDeletedDraftPostResponseNonNullableFields>;
|
|
3941
|
-
/**
|
|
3942
|
-
* Restores a deleted draft post from the trash bin by the provided ID.
|
|
3943
|
-
* @param draftPostId - Draft post ID.
|
|
3944
|
-
* @public
|
|
3945
|
-
* @requiredField draftPostId
|
|
3946
|
-
* @permissionId BLOG.EDIT-DRAFT
|
|
3947
|
-
* @permissionScope Manage Blog
|
|
3948
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3949
|
-
* @applicableIdentity APP
|
|
3950
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RestoreFromTrashBin
|
|
3951
|
-
*/
|
|
3952
|
-
export declare function restoreFromTrashBin(draftPostId: string): Promise<RestoreFromTrashBinResponse & RestoreFromTrashBinResponseNonNullableFields>;
|
|
3953
|
-
/**
|
|
3954
|
-
* Creates a query to retrieve a list of up to 100 draft posts.
|
|
3955
|
-
*
|
|
3956
|
-
*
|
|
3957
|
-
* The `queryDraftPosts()` function builds a query to retrieve a list of up to 100 draft posts, and returns a `DraftPostsQueryBuilder` object.
|
|
3958
|
-
*
|
|
3959
|
-
* The returned object contains the query definition, which is typically used to run the query using the `find()` function.
|
|
3960
|
-
*
|
|
3961
|
-
* 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.
|
|
3962
|
-
*
|
|
3963
|
-
* `queryDraftPosts()` runs with these `DraftPostsQueryBuilder` defaults that can be overridden:
|
|
3964
|
-
* - `limit(50)`
|
|
3965
|
-
* - `ascending('_id')`
|
|
3966
|
-
*
|
|
3967
|
-
* 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`.
|
|
3968
|
-
* @public
|
|
3969
|
-
* @param options - Options for querying draft posts.
|
|
3970
|
-
* @permissionScope Manage Blog
|
|
3971
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
3972
|
-
* @permissionId BLOG.READ_DRAFT
|
|
3973
|
-
* @applicableIdentity APP
|
|
3974
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.QueryDraftPosts
|
|
3975
|
-
*/
|
|
3976
|
-
export declare function queryDraftPosts(options?: QueryDraftPostsOptions): DraftPostsQueryBuilder;
|
|
3977
|
-
export interface QueryDraftPostsOptions {
|
|
3337
|
+
interface QueryDraftPostsOptions {
|
|
3978
3338
|
/**
|
|
3979
3339
|
* List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
3980
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
|
|
@@ -3990,13 +3350,13 @@ interface QueryCursorResult {
|
|
|
3990
3350
|
length: number;
|
|
3991
3351
|
pageSize: number;
|
|
3992
3352
|
}
|
|
3993
|
-
|
|
3353
|
+
interface DraftPostsQueryResult extends QueryCursorResult {
|
|
3994
3354
|
items: DraftPost[];
|
|
3995
3355
|
query: DraftPostsQueryBuilder;
|
|
3996
3356
|
next: () => Promise<DraftPostsQueryResult>;
|
|
3997
3357
|
prev: () => Promise<DraftPostsQueryResult>;
|
|
3998
3358
|
}
|
|
3999
|
-
|
|
3359
|
+
interface DraftPostsQueryBuilder {
|
|
4000
3360
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4001
3361
|
* @param value - Value to compare against.
|
|
4002
3362
|
*/
|
|
@@ -4025,6 +3385,14 @@ export interface DraftPostsQueryBuilder {
|
|
|
4025
3385
|
* @param string - String to compare against. Case-insensitive.
|
|
4026
3386
|
*/
|
|
4027
3387
|
startsWith: (propertyName: 'title' | 'excerpt', value: string) => DraftPostsQueryBuilder;
|
|
3388
|
+
/** @param propertyName - Property whose value is compared with `values`.
|
|
3389
|
+
* @param values - List of values to compare against.
|
|
3390
|
+
*/
|
|
3391
|
+
hasSome: (propertyName: 'categoryIds' | 'hashtags' | 'tagIds' | 'pricingPlanIds', value: any[]) => DraftPostsQueryBuilder;
|
|
3392
|
+
/** @param propertyName - Property whose value is compared with `values`.
|
|
3393
|
+
* @param values - List of values to compare against.
|
|
3394
|
+
*/
|
|
3395
|
+
hasAll: (propertyName: 'categoryIds' | 'hashtags' | 'tagIds' | 'pricingPlanIds', value: any[]) => DraftPostsQueryBuilder;
|
|
4028
3396
|
in: (propertyName: '_id' | 'title' | 'excerpt' | 'minutesToRead' | 'translationId' | 'language' | 'status' | 'editedDate' | 'scheduledPublishDate', value: any) => DraftPostsQueryBuilder;
|
|
4029
3397
|
exists: (propertyName: 'title' | 'excerpt' | 'translationId' | 'language', value: boolean) => DraftPostsQueryBuilder;
|
|
4030
3398
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
@@ -4037,20 +3405,5 @@ export interface DraftPostsQueryBuilder {
|
|
|
4037
3405
|
skipTo: (cursor: string) => DraftPostsQueryBuilder;
|
|
4038
3406
|
find: () => Promise<DraftPostsQueryResult>;
|
|
4039
3407
|
}
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
* with the data from the draft post.
|
|
4043
|
-
*
|
|
4044
|
-
* If the draft post was already published, the published post will be updated with the latest values
|
|
4045
|
-
* from the draft post.
|
|
4046
|
-
* @param draftPostId - Draft post ID.
|
|
4047
|
-
* @public
|
|
4048
|
-
* @requiredField draftPostId
|
|
4049
|
-
* @permissionId BLOG.PUBLISH-POST
|
|
4050
|
-
* @permissionScope Manage Blog
|
|
4051
|
-
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
|
4052
|
-
* @applicableIdentity APP
|
|
4053
|
-
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.PublishDraftPost
|
|
4054
|
-
*/
|
|
4055
|
-
export declare function publishDraftPost(draftPostId: string): Promise<PublishDraftPostResponse & PublishDraftPostResponseNonNullableFields>;
|
|
4056
|
-
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 };
|