@wix/multilingual 1.0.26 → 1.0.27

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.
@@ -103,11 +103,11 @@ interface SequencePath {
103
103
  }
104
104
  interface Empty$2 {
105
105
  }
106
- interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
107
- createdEvent?: EntityCreatedEvent$2;
108
- updatedEvent?: EntityUpdatedEvent$2;
109
- deletedEvent?: EntityDeletedEvent$2;
110
- actionEvent?: ActionEvent$2;
106
+ interface DomainEvent$3 extends DomainEventBodyOneOf$3 {
107
+ createdEvent?: EntityCreatedEvent$3;
108
+ updatedEvent?: EntityUpdatedEvent$3;
109
+ deletedEvent?: EntityDeletedEvent$3;
110
+ actionEvent?: ActionEvent$3;
111
111
  /**
112
112
  * Unique event ID.
113
113
  * Allows clients to ignore duplicate webhooks.
@@ -146,19 +146,19 @@ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
146
146
  entityEventSequence?: string | null;
147
147
  }
148
148
  /** @oneof */
149
- interface DomainEventBodyOneOf$2 {
150
- createdEvent?: EntityCreatedEvent$2;
151
- updatedEvent?: EntityUpdatedEvent$2;
152
- deletedEvent?: EntityDeletedEvent$2;
153
- actionEvent?: ActionEvent$2;
149
+ interface DomainEventBodyOneOf$3 {
150
+ createdEvent?: EntityCreatedEvent$3;
151
+ updatedEvent?: EntityUpdatedEvent$3;
152
+ deletedEvent?: EntityDeletedEvent$3;
153
+ actionEvent?: ActionEvent$3;
154
154
  }
155
- interface EntityCreatedEvent$2 {
155
+ interface EntityCreatedEvent$3 {
156
156
  entity?: string;
157
157
  }
158
- interface RestoreInfo$2 {
158
+ interface RestoreInfo$3 {
159
159
  deletedDate?: Date;
160
160
  }
161
- interface EntityUpdatedEvent$2 {
161
+ interface EntityUpdatedEvent$3 {
162
162
  /**
163
163
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
164
164
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
@@ -166,11 +166,11 @@ interface EntityUpdatedEvent$2 {
166
166
  */
167
167
  currentEntity?: string;
168
168
  }
169
- interface EntityDeletedEvent$2 {
169
+ interface EntityDeletedEvent$3 {
170
170
  /** Entity that was deleted */
171
171
  deletedEntity?: string | null;
172
172
  }
173
- interface ActionEvent$2 {
173
+ interface ActionEvent$3 {
174
174
  body?: string;
175
175
  }
176
176
  interface LocalizedPublishedLanguageContentChanged {
@@ -193,19 +193,19 @@ interface LocalizedPublishedContent {
193
193
  }
194
194
  interface LocalizedContentKey {
195
195
  /** Schema unique key identifier */
196
- schemaKey?: SchemaKey$1;
196
+ schemaKey?: SchemaKey$2;
197
197
  /** Unique identifier that represents a specific entity in the app */
198
198
  entityId?: string;
199
199
  }
200
- interface SchemaKey$1 {
200
+ interface SchemaKey$2 {
201
201
  /** ID of app that created the schema. */
202
202
  appId?: string;
203
203
  /** Unique name defined by the creator app, used to distinguish between different entities in the the app domain. */
204
204
  entityType?: string;
205
205
  /** Scope schema is defined in (Global/Site) */
206
- scope?: SchemaScope$1;
206
+ scope?: SchemaScope$2;
207
207
  }
208
- declare enum SchemaScope$1 {
208
+ declare enum SchemaScope$2 {
209
209
  /** Global schema, relevant to all sites */
210
210
  GLOBAL = "GLOBAL",
211
211
  /** Site schema, relevant to specific site only */
@@ -250,7 +250,7 @@ interface MediaItemMediaOneOf {
250
250
  /** Document media item */
251
251
  document?: string;
252
252
  }
253
- interface VideoResolution$1 {
253
+ interface VideoResolution$2 {
254
254
  /** Video URL. */
255
255
  url?: string;
256
256
  /** Video height. */
@@ -321,17 +321,17 @@ interface GetSubscribedTopicsResponse {
321
321
  /** List of subscribed topics */
322
322
  topics?: string[];
323
323
  }
324
- interface MessageEnvelope$2 {
324
+ interface MessageEnvelope$3 {
325
325
  /** App instance ID. */
326
326
  instanceId?: string | null;
327
327
  /** Event type. */
328
328
  eventType?: string;
329
329
  /** The identification type and identity data. */
330
- identity?: IdentificationData$2;
330
+ identity?: IdentificationData$3;
331
331
  /** Stringify payload. */
332
332
  data?: string;
333
333
  }
334
- interface IdentificationData$2 extends IdentificationDataIdOneOf$2 {
334
+ interface IdentificationData$3 extends IdentificationDataIdOneOf$3 {
335
335
  /** ID of a site visitor that has not logged in to the site. */
336
336
  anonymousVisitorId?: string;
337
337
  /** ID of a site visitor that has logged in to the site. */
@@ -341,10 +341,10 @@ interface IdentificationData$2 extends IdentificationDataIdOneOf$2 {
341
341
  /** ID of an app. */
342
342
  appId?: string;
343
343
  /** @readonly */
344
- identityType?: WebhookIdentityType$2;
344
+ identityType?: WebhookIdentityType$3;
345
345
  }
346
346
  /** @oneof */
347
- interface IdentificationDataIdOneOf$2 {
347
+ interface IdentificationDataIdOneOf$3 {
348
348
  /** ID of a site visitor that has not logged in to the site. */
349
349
  anonymousVisitorId?: string;
350
350
  /** ID of a site visitor that has logged in to the site. */
@@ -354,7 +354,7 @@ interface IdentificationDataIdOneOf$2 {
354
354
  /** ID of an app. */
355
355
  appId?: string;
356
356
  }
357
- declare enum WebhookIdentityType$2 {
357
+ declare enum WebhookIdentityType$3 {
358
358
  UNKNOWN = "UNKNOWN",
359
359
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
360
360
  MEMBER = "MEMBER",
@@ -462,58 +462,1928 @@ interface SyncEditorDataOptions {
462
462
 
463
463
  declare function syncEditorData$1(httpClient: HttpClient): (options?: SyncEditorDataOptions) => Promise<void>;
464
464
 
465
- declare function createRESTModule$4<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
465
+ declare function createRESTModule$5<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
466
466
 
467
467
  type _publicSyncEditorDataType = typeof syncEditorData$1;
468
- declare const syncEditorData: ReturnType<typeof createRESTModule$4<_publicSyncEditorDataType>>;
468
+ declare const syncEditorData: ReturnType<typeof createRESTModule$5<_publicSyncEditorDataType>>;
469
+
470
+ type context$5_ChangedPages = ChangedPages;
471
+ type context$5_CreateOrUpdateAction = CreateOrUpdateAction;
472
+ type context$5_CreateOrUpdateMapperRequest = CreateOrUpdateMapperRequest;
473
+ type context$5_CreateOrUpdateMapperResponse = CreateOrUpdateMapperResponse;
474
+ type context$5_DeleteAction = DeleteAction;
475
+ type context$5_DeleteEntityMapperRequest = DeleteEntityMapperRequest;
476
+ type context$5_DeleteEntityMapperResponse = DeleteEntityMapperResponse;
477
+ type context$5_DeleteMapperRequest = DeleteMapperRequest;
478
+ type context$5_DeleteMapperResponse = DeleteMapperResponse;
479
+ type context$5_FieldSequence = FieldSequence;
480
+ type context$5_GetEntityMapperRequest = GetEntityMapperRequest;
481
+ type context$5_GetEntityMapperResponse = GetEntityMapperResponse;
482
+ type context$5_GetMapperRequest = GetMapperRequest;
483
+ type context$5_GetMapperResponse = GetMapperResponse;
484
+ type context$5_GetSubscribedTopicsRequest = GetSubscribedTopicsRequest;
485
+ type context$5_GetSubscribedTopicsResponse = GetSubscribedTopicsResponse;
486
+ type context$5_HtmlNewRevisionSavedMessage = HtmlNewRevisionSavedMessage;
487
+ type context$5_ListMappersRequest = ListMappersRequest;
488
+ type context$5_ListMappersResponse = ListMappersResponse;
489
+ type context$5_LocalizationPublicAction = LocalizationPublicAction;
490
+ type context$5_LocalizationPublicActionActionOneOf = LocalizationPublicActionActionOneOf;
491
+ type context$5_LocalizedContentKey = LocalizedContentKey;
492
+ type context$5_LocalizedPublishedContent = LocalizedPublishedContent;
493
+ type context$5_LocalizedPublishedContentField = LocalizedPublishedContentField;
494
+ type context$5_LocalizedPublishedContentFieldValueOneOf = LocalizedPublishedContentFieldValueOneOf;
495
+ type context$5_LocalizedPublishedLanguageContentChanged = LocalizedPublishedLanguageContentChanged;
496
+ type context$5_Mapper = Mapper;
497
+ type context$5_MapperField = MapperField;
498
+ type context$5_MediaItem = MediaItem;
499
+ type context$5_MediaItemMediaOneOf = MediaItemMediaOneOf;
500
+ type context$5_Page = Page;
501
+ type context$5_PublishSiteTranslationsRequest = PublishSiteTranslationsRequest;
502
+ type context$5_PublishSiteTranslationsResponse = PublishSiteTranslationsResponse;
503
+ type context$5_RevisionInfo = RevisionInfo;
504
+ type context$5_SequencePath = SequencePath;
505
+ type context$5_StressDMRequest = StressDMRequest;
506
+ type context$5_StressDMResponse = StressDMResponse;
507
+ type context$5_SyncEditorDataOptions = SyncEditorDataOptions;
508
+ type context$5_SyncEditorDataRequest = SyncEditorDataRequest;
509
+ type context$5_SyncEditorDataResponse = SyncEditorDataResponse;
510
+ type context$5_SyncFilter = SyncFilter;
511
+ type context$5_V1CreateOrUpdateMapperRequest = V1CreateOrUpdateMapperRequest;
512
+ type context$5_V1CreateOrUpdateMapperResponse = V1CreateOrUpdateMapperResponse;
513
+ type context$5__publicSyncEditorDataType = _publicSyncEditorDataType;
514
+ declare const context$5_syncEditorData: typeof syncEditorData;
515
+ declare namespace context$5 {
516
+ export { type ActionEvent$3 as ActionEvent, type context$5_ChangedPages as ChangedPages, type context$5_CreateOrUpdateAction as CreateOrUpdateAction, type context$5_CreateOrUpdateMapperRequest as CreateOrUpdateMapperRequest, type context$5_CreateOrUpdateMapperResponse as CreateOrUpdateMapperResponse, type context$5_DeleteAction as DeleteAction, type context$5_DeleteEntityMapperRequest as DeleteEntityMapperRequest, type context$5_DeleteEntityMapperResponse as DeleteEntityMapperResponse, type context$5_DeleteMapperRequest as DeleteMapperRequest, type context$5_DeleteMapperResponse as DeleteMapperResponse, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type Empty$2 as Empty, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type context$5_FieldSequence as FieldSequence, FieldType$1 as FieldType, type context$5_GetEntityMapperRequest as GetEntityMapperRequest, type context$5_GetEntityMapperResponse as GetEntityMapperResponse, type context$5_GetMapperRequest as GetMapperRequest, type context$5_GetMapperResponse as GetMapperResponse, type context$5_GetSubscribedTopicsRequest as GetSubscribedTopicsRequest, type context$5_GetSubscribedTopicsResponse as GetSubscribedTopicsResponse, type context$5_HtmlNewRevisionSavedMessage as HtmlNewRevisionSavedMessage, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type context$5_ListMappersRequest as ListMappersRequest, type context$5_ListMappersResponse as ListMappersResponse, type context$5_LocalizationPublicAction as LocalizationPublicAction, type context$5_LocalizationPublicActionActionOneOf as LocalizationPublicActionActionOneOf, type context$5_LocalizedContentKey as LocalizedContentKey, type context$5_LocalizedPublishedContent as LocalizedPublishedContent, type context$5_LocalizedPublishedContentField as LocalizedPublishedContentField, type context$5_LocalizedPublishedContentFieldValueOneOf as LocalizedPublishedContentFieldValueOneOf, type context$5_LocalizedPublishedLanguageContentChanged as LocalizedPublishedLanguageContentChanged, type context$5_Mapper as Mapper, type context$5_MapperField as MapperField, type context$5_MediaItem as MediaItem, type context$5_MediaItemMediaOneOf as MediaItemMediaOneOf, type MessageEnvelope$3 as MessageEnvelope, type context$5_Page as Page, type context$5_PublishSiteTranslationsRequest as PublishSiteTranslationsRequest, type context$5_PublishSiteTranslationsResponse as PublishSiteTranslationsResponse, type RestoreInfo$3 as RestoreInfo, type context$5_RevisionInfo as RevisionInfo, type SchemaKey$2 as SchemaKey, SchemaScope$2 as SchemaScope, type context$5_SequencePath as SequencePath, type context$5_StressDMRequest as StressDMRequest, type context$5_StressDMResponse as StressDMResponse, type context$5_SyncEditorDataOptions as SyncEditorDataOptions, type context$5_SyncEditorDataRequest as SyncEditorDataRequest, type context$5_SyncEditorDataResponse as SyncEditorDataResponse, type context$5_SyncFilter as SyncFilter, type context$5_V1CreateOrUpdateMapperRequest as V1CreateOrUpdateMapperRequest, type context$5_V1CreateOrUpdateMapperResponse as V1CreateOrUpdateMapperResponse, type VideoResolution$2 as VideoResolution, WebhookIdentityType$3 as WebhookIdentityType, type context$5__publicSyncEditorDataType as _publicSyncEditorDataType, context$5_syncEditorData as syncEditorData };
517
+ }
518
+
519
+ /** Represents a content of an entity with its published translations */
520
+ interface PublishedContent {
521
+ /**
522
+ * Content ID.
523
+ * @readonly
524
+ */
525
+ _id?: string | null;
526
+ /** Schema key of the content. */
527
+ schemaKey?: SchemaKey$1;
528
+ /**
529
+ * Unique identifier that represents a specific entity under the schema key
530
+ * @readonly
531
+ */
532
+ entityId?: string;
533
+ /**
534
+ * Indicates the locale of this content
535
+ * @readonly
536
+ */
537
+ locale?: string;
538
+ /** List of fields localized in the given locale */
539
+ fields?: PublishedContentField[];
540
+ /** Optional field for the ID of the parent of this entity. */
541
+ parentEntityId?: string | null;
542
+ extendedFields?: ExtendedFields;
543
+ }
544
+ interface SchemaKey$1 {
545
+ /**
546
+ * ID of app that created the schema.
547
+ * @readonly
548
+ */
549
+ appId?: string;
550
+ /** Unique name defined by the creator app, used to distinguish between different entities in the the app domain. */
551
+ entityType?: string;
552
+ /** Scope schema is defined in (Global/Site) */
553
+ scope?: SchemaScope$1;
554
+ }
555
+ declare enum SchemaScope$1 {
556
+ UNKNOWN_SCOPE = "UNKNOWN_SCOPE",
557
+ /** Global schema, relevant to all sites */
558
+ GLOBAL = "GLOBAL",
559
+ /** Site schema, relevant to specific site only */
560
+ SITE = "SITE"
561
+ }
562
+ interface PublishedContentField extends PublishedContentFieldValueOneOf {
563
+ /** Plain text value */
564
+ textValue?: string;
565
+ /** Rich content value */
566
+ richContent?: RichContent$2;
567
+ /** Image media item */
568
+ image?: string;
569
+ /** Video media item */
570
+ video?: string;
571
+ /** Document media item */
572
+ document?: string;
573
+ /**
574
+ * The corresponding field key in the schema in a clean format (nothing between the parenthesis)
575
+ * @readonly
576
+ */
577
+ schemaFieldKey?: string;
578
+ /** In case of a repeated field, this will hold the IDs of the messages drilling down to this field. */
579
+ sequenceIds?: string[];
580
+ }
581
+ /** @oneof */
582
+ interface PublishedContentFieldValueOneOf {
583
+ /** Plain text value */
584
+ textValue?: string;
585
+ /** Rich content value */
586
+ richContent?: RichContent$2;
587
+ /** Image media item */
588
+ image?: string;
589
+ /** Video media item */
590
+ video?: string;
591
+ /** Document media item */
592
+ document?: string;
593
+ }
594
+ interface RichContent$2 {
595
+ /** Node objects representing a rich content document. */
596
+ nodes?: Node$2[];
597
+ /** Object metadata. */
598
+ metadata?: Metadata$2;
599
+ /** Global styling for header, paragraph, block quote, and code block nodes in the object. */
600
+ documentStyle?: DocumentStyle$2;
601
+ }
602
+ interface Node$2 extends NodeDataOneOf$2 {
603
+ /** Data for a button node. */
604
+ buttonData?: ButtonData$2;
605
+ /** Data for a code block node. */
606
+ codeBlockData?: CodeBlockData$2;
607
+ /** Data for a divider node. */
608
+ dividerData?: DividerData$2;
609
+ /** Data for a file node. */
610
+ fileData?: FileData$2;
611
+ /** Data for a gallery node. */
612
+ galleryData?: GalleryData$2;
613
+ /** Data for a GIF node. */
614
+ gifData?: GIFData$2;
615
+ /** Data for a heading node. */
616
+ headingData?: HeadingData$2;
617
+ /** Data for an embedded HTML node. */
618
+ htmlData?: HTMLData$2;
619
+ /** Data for an image node. */
620
+ imageData?: ImageData$2;
621
+ /** Data for a link preview node. */
622
+ linkPreviewData?: LinkPreviewData$2;
623
+ /** Data for a map node. */
624
+ mapData?: MapData$2;
625
+ /** Data for a paragraph node. */
626
+ paragraphData?: ParagraphData$2;
627
+ /** Data for a poll node. */
628
+ pollData?: PollData$2;
629
+ /** Data for a text node. Used to apply decorations to text. */
630
+ textData?: TextData$2;
631
+ /** Data for an app embed node. */
632
+ appEmbedData?: AppEmbedData$2;
633
+ /** Data for a video node. */
634
+ videoData?: VideoData$2;
635
+ /** Data for an oEmbed node. */
636
+ embedData?: EmbedData$2;
637
+ /** Data for a collapsible list node. */
638
+ collapsibleListData?: CollapsibleListData$2;
639
+ /** Data for a table node. */
640
+ tableData?: TableData$2;
641
+ /** Data for a table cell node. */
642
+ tableCellData?: TableCellData$2;
643
+ /** Data for a custom external node. */
644
+ externalData?: Record<string, any> | null;
645
+ /** Data for an audio node. */
646
+ audioData?: AudioData$2;
647
+ /** Data for an ordered list node. */
648
+ orderedListData?: OrderedListData$2;
649
+ /** Data for a bulleted list node. */
650
+ bulletedListData?: BulletedListData$2;
651
+ /** Data for a block quote node. */
652
+ blockquoteData?: BlockquoteData$2;
653
+ /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
654
+ type?: NodeType$2;
655
+ /** Node ID. */
656
+ _id?: string;
657
+ /** A list of child nodes. */
658
+ nodes?: Node$2[];
659
+ /** Padding and background color styling for the node. */
660
+ style?: NodeStyle$2;
661
+ }
662
+ /** @oneof */
663
+ interface NodeDataOneOf$2 {
664
+ /** Data for a button node. */
665
+ buttonData?: ButtonData$2;
666
+ /** Data for a code block node. */
667
+ codeBlockData?: CodeBlockData$2;
668
+ /** Data for a divider node. */
669
+ dividerData?: DividerData$2;
670
+ /** Data for a file node. */
671
+ fileData?: FileData$2;
672
+ /** Data for a gallery node. */
673
+ galleryData?: GalleryData$2;
674
+ /** Data for a GIF node. */
675
+ gifData?: GIFData$2;
676
+ /** Data for a heading node. */
677
+ headingData?: HeadingData$2;
678
+ /** Data for an embedded HTML node. */
679
+ htmlData?: HTMLData$2;
680
+ /** Data for an image node. */
681
+ imageData?: ImageData$2;
682
+ /** Data for a link preview node. */
683
+ linkPreviewData?: LinkPreviewData$2;
684
+ /** Data for a map node. */
685
+ mapData?: MapData$2;
686
+ /** Data for a paragraph node. */
687
+ paragraphData?: ParagraphData$2;
688
+ /** Data for a poll node. */
689
+ pollData?: PollData$2;
690
+ /** Data for a text node. Used to apply decorations to text. */
691
+ textData?: TextData$2;
692
+ /** Data for an app embed node. */
693
+ appEmbedData?: AppEmbedData$2;
694
+ /** Data for a video node. */
695
+ videoData?: VideoData$2;
696
+ /** Data for an oEmbed node. */
697
+ embedData?: EmbedData$2;
698
+ /** Data for a collapsible list node. */
699
+ collapsibleListData?: CollapsibleListData$2;
700
+ /** Data for a table node. */
701
+ tableData?: TableData$2;
702
+ /** Data for a table cell node. */
703
+ tableCellData?: TableCellData$2;
704
+ /** Data for a custom external node. */
705
+ externalData?: Record<string, any> | null;
706
+ /** Data for an audio node. */
707
+ audioData?: AudioData$2;
708
+ /** Data for an ordered list node. */
709
+ orderedListData?: OrderedListData$2;
710
+ /** Data for a bulleted list node. */
711
+ bulletedListData?: BulletedListData$2;
712
+ /** Data for a block quote node. */
713
+ blockquoteData?: BlockquoteData$2;
714
+ }
715
+ declare enum NodeType$2 {
716
+ PARAGRAPH = "PARAGRAPH",
717
+ TEXT = "TEXT",
718
+ HEADING = "HEADING",
719
+ BULLETED_LIST = "BULLETED_LIST",
720
+ ORDERED_LIST = "ORDERED_LIST",
721
+ LIST_ITEM = "LIST_ITEM",
722
+ BLOCKQUOTE = "BLOCKQUOTE",
723
+ CODE_BLOCK = "CODE_BLOCK",
724
+ VIDEO = "VIDEO",
725
+ DIVIDER = "DIVIDER",
726
+ FILE = "FILE",
727
+ GALLERY = "GALLERY",
728
+ GIF = "GIF",
729
+ HTML = "HTML",
730
+ IMAGE = "IMAGE",
731
+ LINK_PREVIEW = "LINK_PREVIEW",
732
+ MAP = "MAP",
733
+ POLL = "POLL",
734
+ APP_EMBED = "APP_EMBED",
735
+ BUTTON = "BUTTON",
736
+ COLLAPSIBLE_LIST = "COLLAPSIBLE_LIST",
737
+ TABLE = "TABLE",
738
+ EMBED = "EMBED",
739
+ COLLAPSIBLE_ITEM = "COLLAPSIBLE_ITEM",
740
+ COLLAPSIBLE_ITEM_TITLE = "COLLAPSIBLE_ITEM_TITLE",
741
+ COLLAPSIBLE_ITEM_BODY = "COLLAPSIBLE_ITEM_BODY",
742
+ TABLE_CELL = "TABLE_CELL",
743
+ TABLE_ROW = "TABLE_ROW",
744
+ EXTERNAL = "EXTERNAL",
745
+ AUDIO = "AUDIO"
746
+ }
747
+ interface NodeStyle$2 {
748
+ /** The top padding value in pixels. */
749
+ paddingTop?: string | null;
750
+ /** The bottom padding value in pixels. */
751
+ paddingBottom?: string | null;
752
+ /** The background color as a hexadecimal value. */
753
+ backgroundColor?: string | null;
754
+ }
755
+ interface ButtonData$2 {
756
+ /** Styling for the button's container. */
757
+ containerData?: PluginContainerData$2;
758
+ /** The button type. */
759
+ type?: Type$2;
760
+ /** Styling for the button. */
761
+ styles?: Styles$2;
762
+ /** The text to display on the button. */
763
+ text?: string | null;
764
+ /** Button link details. */
765
+ link?: Link$2;
766
+ }
767
+ interface Border$2 {
768
+ /** Border width in pixels. */
769
+ width?: number | null;
770
+ /** Border radius in pixels. */
771
+ radius?: number | null;
772
+ }
773
+ interface Colors$2 {
774
+ /** The text color as a hexadecimal value. */
775
+ text?: string | null;
776
+ /** The border color as a hexadecimal value. */
777
+ border?: string | null;
778
+ /** The background color as a hexadecimal value. */
779
+ background?: string | null;
780
+ }
781
+ interface PluginContainerData$2 {
782
+ /** The width of the node when it's displayed. */
783
+ width?: PluginContainerDataWidth$2;
784
+ /** The node's alignment within its container. */
785
+ alignment?: PluginContainerDataAlignment$2;
786
+ /** Spoiler cover settings for the node. */
787
+ spoiler?: Spoiler$2;
788
+ /** The height of the node when it's displayed. */
789
+ height?: Height$2;
790
+ /** 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`. */
791
+ textWrap?: boolean | null;
792
+ }
793
+ declare enum WidthType$2 {
794
+ /** Width matches the content width */
795
+ CONTENT = "CONTENT",
796
+ /** Small Width */
797
+ SMALL = "SMALL",
798
+ /** Width will match the original asset width */
799
+ ORIGINAL = "ORIGINAL",
800
+ /** coast-to-coast display */
801
+ FULL_WIDTH = "FULL_WIDTH"
802
+ }
803
+ interface PluginContainerDataWidth$2 extends PluginContainerDataWidthDataOneOf$2 {
804
+ /**
805
+ * One of the following predefined width options:
806
+ * `CONTENT`: The width of the container matches the content width.
807
+ * `SMALL`: A small width.
808
+ * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
809
+ * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
810
+ */
811
+ size?: WidthType$2;
812
+ /** A custom width value in pixels. */
813
+ custom?: string | null;
814
+ }
815
+ /** @oneof */
816
+ interface PluginContainerDataWidthDataOneOf$2 {
817
+ /**
818
+ * One of the following predefined width options:
819
+ * `CONTENT`: The width of the container matches the content width.
820
+ * `SMALL`: A small width.
821
+ * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
822
+ * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
823
+ */
824
+ size?: WidthType$2;
825
+ /** A custom width value in pixels. */
826
+ custom?: string | null;
827
+ }
828
+ declare enum PluginContainerDataAlignment$2 {
829
+ /** Center Alignment */
830
+ CENTER = "CENTER",
831
+ /** Left Alignment */
832
+ LEFT = "LEFT",
833
+ /** Right Alignment */
834
+ RIGHT = "RIGHT"
835
+ }
836
+ interface Spoiler$2 {
837
+ /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
838
+ enabled?: boolean | null;
839
+ /** The description displayed on top of the spoiler cover. */
840
+ description?: string | null;
841
+ /** The text for the button used to remove the spoiler cover. */
842
+ buttonText?: string | null;
843
+ }
844
+ interface Height$2 {
845
+ /** A custom height value in pixels. */
846
+ custom?: string | null;
847
+ }
848
+ declare enum Type$2 {
849
+ /** Regular link button */
850
+ LINK = "LINK",
851
+ /** Triggers custom action that is defined in plugin configuration by the consumer */
852
+ ACTION = "ACTION"
853
+ }
854
+ interface Styles$2 {
855
+ /** Border attributes. */
856
+ border?: Border$2;
857
+ /** Color attributes. */
858
+ colors?: Colors$2;
859
+ }
860
+ interface Link$2 extends LinkDataOneOf$2 {
861
+ /** The absolute URL for the linked document. */
862
+ url?: string;
863
+ /** The target node's ID. Used for linking to another node in this object. */
864
+ anchor?: string;
865
+ /**
866
+ * he HTML `target` attribute value for the link. This property defines where the linked document opens as follows:
867
+ * `SELF` - Default. Opens the linked document in the same frame as the link.
868
+ * `BLANK` - Opens the linked document in a new browser tab or window.
869
+ * `PARENT` - Opens the linked document in the link's parent frame.
870
+ * `TOP` - Opens the linked document in the full body of the link's browser tab or window.
871
+ */
872
+ target?: Target$2;
873
+ /** The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document. */
874
+ rel?: Rel$2;
875
+ /** A serialized object used for a custom or external link panel. */
876
+ customData?: string | null;
877
+ }
878
+ /** @oneof */
879
+ interface LinkDataOneOf$2 {
880
+ /** The absolute URL for the linked document. */
881
+ url?: string;
882
+ /** The target node's ID. Used for linking to another node in this object. */
883
+ anchor?: string;
884
+ }
885
+ declare enum Target$2 {
886
+ /** Opens the linked document in the same frame as it was clicked (this is default) */
887
+ SELF = "SELF",
888
+ /** Opens the linked document in a new window or tab */
889
+ BLANK = "BLANK",
890
+ /** Opens the linked document in the parent frame */
891
+ PARENT = "PARENT",
892
+ /** Opens the linked document in the full body of the window */
893
+ TOP = "TOP"
894
+ }
895
+ interface Rel$2 {
896
+ /** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
897
+ nofollow?: boolean | null;
898
+ /** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
899
+ sponsored?: boolean | null;
900
+ /** Indicates that this link is user-generated content and isn't necessarily trusted or endorsed by the page’s author. For example, a link in a fourm post. Defaults to `false`. */
901
+ ugc?: boolean | null;
902
+ /** Indicates that this link protect referral information from being passed to the target website. */
903
+ noreferrer?: boolean | null;
904
+ }
905
+ interface CodeBlockData$2 {
906
+ /** Styling for the code block's text. */
907
+ textStyle?: TextStyle$2;
908
+ }
909
+ interface TextStyle$2 {
910
+ /** Text alignment. Defaults to `AUTO`. */
911
+ textAlignment?: TextAlignment$2;
912
+ /** 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. */
913
+ lineHeight?: string | null;
914
+ }
915
+ declare enum TextAlignment$2 {
916
+ /** browser default, eqivalent to `initial` */
917
+ AUTO = "AUTO",
918
+ /** Left align */
919
+ LEFT = "LEFT",
920
+ /** Right align */
921
+ RIGHT = "RIGHT",
922
+ /** Center align */
923
+ CENTER = "CENTER",
924
+ /** 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 */
925
+ JUSTIFY = "JUSTIFY"
926
+ }
927
+ interface DividerData$2 {
928
+ /** Styling for the divider's container. */
929
+ containerData?: PluginContainerData$2;
930
+ /** Divider line style. */
931
+ lineStyle?: LineStyle$2;
932
+ /** Divider width. */
933
+ width?: Width$2;
934
+ /** Divider alignment. */
935
+ alignment?: Alignment$2;
936
+ }
937
+ declare enum LineStyle$2 {
938
+ /** Single Line */
939
+ SINGLE = "SINGLE",
940
+ /** Double Line */
941
+ DOUBLE = "DOUBLE",
942
+ /** Dashed Line */
943
+ DASHED = "DASHED",
944
+ /** Dotted Line */
945
+ DOTTED = "DOTTED"
946
+ }
947
+ declare enum Width$2 {
948
+ /** Large line */
949
+ LARGE = "LARGE",
950
+ /** Medium line */
951
+ MEDIUM = "MEDIUM",
952
+ /** Small line */
953
+ SMALL = "SMALL"
954
+ }
955
+ declare enum Alignment$2 {
956
+ /** Center alignment */
957
+ CENTER = "CENTER",
958
+ /** Left alignment */
959
+ LEFT = "LEFT",
960
+ /** Right alignment */
961
+ RIGHT = "RIGHT"
962
+ }
963
+ interface FileData$2 {
964
+ /** Styling for the file's container. */
965
+ containerData?: PluginContainerData$2;
966
+ /** The source for the file's data. */
967
+ src?: FileSource$2;
968
+ /** File name. */
969
+ name?: string | null;
970
+ /** File type. */
971
+ type?: string | null;
972
+ /**
973
+ * Use `sizeInKb` instead.
974
+ * @deprecated
975
+ */
976
+ size?: number | null;
977
+ /** Settings for PDF files. */
978
+ pdfSettings?: PDFSettings$2;
979
+ /** File MIME type. */
980
+ mimeType?: string | null;
981
+ /** File path. */
982
+ path?: string | null;
983
+ /** File size in KB. */
984
+ sizeInKb?: string | null;
985
+ }
986
+ declare enum ViewMode$2 {
987
+ /** No PDF view */
988
+ NONE = "NONE",
989
+ /** Full PDF view */
990
+ FULL = "FULL",
991
+ /** Mini PDF view */
992
+ MINI = "MINI"
993
+ }
994
+ interface FileSource$2 extends FileSourceDataOneOf$2 {
995
+ /** The absolute URL for the file's source. */
996
+ url?: string | null;
997
+ /**
998
+ * Custom ID. Use `id` instead.
999
+ * @deprecated
1000
+ */
1001
+ custom?: string | null;
1002
+ /** An ID that's resolved to a URL by a resolver function. */
1003
+ _id?: string | null;
1004
+ /** Indicates whether the file's source is private. Defaults to `false`. */
1005
+ private?: boolean | null;
1006
+ }
1007
+ /** @oneof */
1008
+ interface FileSourceDataOneOf$2 {
1009
+ /** The absolute URL for the file's source. */
1010
+ url?: string | null;
1011
+ /**
1012
+ * Custom ID. Use `id` instead.
1013
+ * @deprecated
1014
+ */
1015
+ custom?: string | null;
1016
+ /** An ID that's resolved to a URL by a resolver function. */
1017
+ _id?: string | null;
1018
+ }
1019
+ interface PDFSettings$2 {
1020
+ /**
1021
+ * PDF view mode. One of the following:
1022
+ * `NONE` : The PDF isn't displayed.
1023
+ * `FULL` : A full page view of the PDF is displayed.
1024
+ * `MINI` : A mini view of the PDF is displayed.
1025
+ */
1026
+ viewMode?: ViewMode$2;
1027
+ /** Sets whether the PDF download button is disabled. Defaults to `false`. */
1028
+ disableDownload?: boolean | null;
1029
+ /** Sets whether the PDF print button is disabled. Defaults to `false`. */
1030
+ disablePrint?: boolean | null;
1031
+ }
1032
+ interface GalleryData$2 {
1033
+ /** Styling for the gallery's container. */
1034
+ containerData?: PluginContainerData$2;
1035
+ /** The items in the gallery. */
1036
+ items?: Item$2[];
1037
+ /** Options for defining the gallery's appearance. */
1038
+ options?: GalleryOptions$2;
1039
+ /** Sets whether the gallery's expand button is disabled. Defaults to `false`. */
1040
+ disableExpand?: boolean | null;
1041
+ /** Sets whether the gallery's download button is disabled. Defaults to `false`. */
1042
+ disableDownload?: boolean | null;
1043
+ }
1044
+ interface Media$2 {
1045
+ /** The source for the media's data. */
1046
+ src?: FileSource$2;
1047
+ /** Media width in pixels. */
1048
+ width?: number | null;
1049
+ /** Media height in pixels. */
1050
+ height?: number | null;
1051
+ /** Media duration in seconds. Only relevant for audio and video files. */
1052
+ duration?: number | null;
1053
+ }
1054
+ interface Image$2 {
1055
+ /** Image file details. */
1056
+ media?: Media$2;
1057
+ /** Link details for images that are links. */
1058
+ link?: Link$2;
1059
+ }
1060
+ interface Video$2 {
1061
+ /** Video file details. */
1062
+ media?: Media$2;
1063
+ /** Video thumbnail file details. */
1064
+ thumbnail?: Media$2;
1065
+ }
1066
+ interface Item$2 extends ItemDataOneOf$2 {
1067
+ /** An image item. */
1068
+ image?: Image$2;
1069
+ /** A video item. */
1070
+ video?: Video$2;
1071
+ /** Item title. */
1072
+ title?: string | null;
1073
+ /** Item's alternative text. */
1074
+ altText?: string | null;
1075
+ }
1076
+ /** @oneof */
1077
+ interface ItemDataOneOf$2 {
1078
+ /** An image item. */
1079
+ image?: Image$2;
1080
+ /** A video item. */
1081
+ video?: Video$2;
1082
+ }
1083
+ interface GalleryOptions$2 {
1084
+ /** Gallery layout. */
1085
+ layout?: Layout$2;
1086
+ /** Styling for gallery items. */
1087
+ item?: ItemStyle$2;
1088
+ /** Styling for gallery thumbnail images. */
1089
+ thumbnails?: Thumbnails$2;
1090
+ }
1091
+ declare enum LayoutType$2 {
1092
+ /** Collage type */
1093
+ COLLAGE = "COLLAGE",
1094
+ /** Masonry type */
1095
+ MASONRY = "MASONRY",
1096
+ /** Grid type */
1097
+ GRID = "GRID",
1098
+ /** Thumbnail type */
1099
+ THUMBNAIL = "THUMBNAIL",
1100
+ /** Slider type */
1101
+ SLIDER = "SLIDER",
1102
+ /** Slideshow type */
1103
+ SLIDESHOW = "SLIDESHOW",
1104
+ /** Panorama type */
1105
+ PANORAMA = "PANORAMA",
1106
+ /** Column type */
1107
+ COLUMN = "COLUMN",
1108
+ /** Magic type */
1109
+ MAGIC = "MAGIC",
1110
+ /** Fullsize images type */
1111
+ FULLSIZE = "FULLSIZE"
1112
+ }
1113
+ declare enum Orientation$2 {
1114
+ /** Rows Orientation */
1115
+ ROWS = "ROWS",
1116
+ /** Columns Orientation */
1117
+ COLUMNS = "COLUMNS"
1118
+ }
1119
+ declare enum Crop$2 {
1120
+ /** Crop to fill */
1121
+ FILL = "FILL",
1122
+ /** Crop to fit */
1123
+ FIT = "FIT"
1124
+ }
1125
+ declare enum ThumbnailsAlignment$2 {
1126
+ /** Top alignment */
1127
+ TOP = "TOP",
1128
+ /** Right alignment */
1129
+ RIGHT = "RIGHT",
1130
+ /** Bottom alignment */
1131
+ BOTTOM = "BOTTOM",
1132
+ /** Left alignment */
1133
+ LEFT = "LEFT",
1134
+ /** No thumbnail */
1135
+ NONE = "NONE"
1136
+ }
1137
+ interface Layout$2 {
1138
+ /** Gallery layout type. */
1139
+ type?: LayoutType$2;
1140
+ /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
1141
+ horizontalScroll?: boolean | null;
1142
+ /** Gallery orientation. */
1143
+ orientation?: Orientation$2;
1144
+ /** The number of columns to display on full size screens. */
1145
+ numberOfColumns?: number | null;
1146
+ /** The number of columns to display on mobile screens. */
1147
+ mobileNumberOfColumns?: number | null;
1148
+ }
1149
+ interface ItemStyle$2 {
1150
+ /** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */
1151
+ targetSize?: number | null;
1152
+ /** Item ratio */
1153
+ ratio?: number | null;
1154
+ /** Sets how item images are cropped. */
1155
+ crop?: Crop$2;
1156
+ /** The spacing between items in pixels. */
1157
+ spacing?: number | null;
1158
+ }
1159
+ interface Thumbnails$2 {
1160
+ /** Thumbnail alignment. */
1161
+ placement?: ThumbnailsAlignment$2;
1162
+ /** Spacing between thumbnails in pixels. */
1163
+ spacing?: number | null;
1164
+ }
1165
+ interface GIFData$2 {
1166
+ /** Styling for the GIF's container. */
1167
+ containerData?: PluginContainerData$2;
1168
+ /** The source of the full size GIF. */
1169
+ original?: GIF$2;
1170
+ /** The source of the downsized GIF. */
1171
+ downsized?: GIF$2;
1172
+ /** Height in pixels. */
1173
+ height?: number;
1174
+ /** Width in pixels. */
1175
+ width?: number;
1176
+ }
1177
+ interface GIF$2 {
1178
+ /** GIF format URL. */
1179
+ gif?: string | null;
1180
+ /** MP4 format URL. */
1181
+ mp4?: string | null;
1182
+ /** Thumbnail URL. */
1183
+ still?: string | null;
1184
+ }
1185
+ interface HeadingData$2 {
1186
+ /** Heading level from 1-6. */
1187
+ level?: number;
1188
+ /** Styling for the heading text. */
1189
+ textStyle?: TextStyle$2;
1190
+ /** Indentation level from 1-4. */
1191
+ indentation?: number | null;
1192
+ }
1193
+ interface HTMLData$2 extends HTMLDataDataOneOf$2 {
1194
+ /** The URL for the HTML code for the node. */
1195
+ url?: string;
1196
+ /** The HTML code for the node. */
1197
+ html?: string;
1198
+ /**
1199
+ * Whether this is an AdSense element. Use `source` instead.
1200
+ * @deprecated
1201
+ */
1202
+ isAdsense?: boolean | null;
1203
+ /** Styling for the HTML node's container. */
1204
+ containerData?: PluginContainerData$2;
1205
+ /** The type of HTML code. */
1206
+ source?: Source$2;
1207
+ }
1208
+ /** @oneof */
1209
+ interface HTMLDataDataOneOf$2 {
1210
+ /** The URL for the HTML code for the node. */
1211
+ url?: string;
1212
+ /** The HTML code for the node. */
1213
+ html?: string;
1214
+ /**
1215
+ * Whether this is an AdSense element. Use `source` instead.
1216
+ * @deprecated
1217
+ */
1218
+ isAdsense?: boolean | null;
1219
+ }
1220
+ declare enum Source$2 {
1221
+ HTML = "HTML",
1222
+ ADSENSE = "ADSENSE"
1223
+ }
1224
+ interface ImageData$2 {
1225
+ /** Styling for the image's container. */
1226
+ containerData?: PluginContainerData$2;
1227
+ /** Image file details. */
1228
+ image?: Media$2;
1229
+ /** Link details for images that are links. */
1230
+ link?: Link$2;
1231
+ /** Sets whether the image expands to full screen when clicked. Defaults to `false`. */
1232
+ disableExpand?: boolean | null;
1233
+ /** Image's alternative text. */
1234
+ altText?: string | null;
1235
+ /** Image caption. */
1236
+ caption?: string | null;
1237
+ /** Sets whether the image's download button is disabled. Defaults to `false`. */
1238
+ disableDownload?: boolean | null;
1239
+ }
1240
+ interface LinkPreviewData$2 {
1241
+ /** Styling for the link preview's container. */
1242
+ containerData?: PluginContainerData$2;
1243
+ /** Link details. */
1244
+ link?: Link$2;
1245
+ /** Preview title. */
1246
+ title?: string | null;
1247
+ /** Preview thumbnail URL. */
1248
+ thumbnailUrl?: string | null;
1249
+ /** Preview description. */
1250
+ description?: string | null;
1251
+ /** The preview content as HTML. */
1252
+ html?: string | null;
1253
+ }
1254
+ interface MapData$2 {
1255
+ /** Styling for the map's container. */
1256
+ containerData?: PluginContainerData$2;
1257
+ /** Map settings. */
1258
+ mapSettings?: MapSettings$2;
1259
+ }
1260
+ interface MapSettings$2 {
1261
+ /** The address to display on the map. */
1262
+ address?: string | null;
1263
+ /** Sets whether the map is draggable. */
1264
+ draggable?: boolean | null;
1265
+ /** Sets whether the location marker is visible. */
1266
+ marker?: boolean | null;
1267
+ /** Sets whether street view control is enabled. */
1268
+ streetViewControl?: boolean | null;
1269
+ /** Sets whether zoom control is enabled. */
1270
+ zoomControl?: boolean | null;
1271
+ /** Location latitude. */
1272
+ lat?: number | null;
1273
+ /** Location longitude. */
1274
+ lng?: number | null;
1275
+ /** Location name. */
1276
+ locationName?: string | null;
1277
+ /** Sets whether view mode control is enabled. */
1278
+ viewModeControl?: boolean | null;
1279
+ /** Initial zoom value. */
1280
+ initialZoom?: number | null;
1281
+ /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
1282
+ mapType?: MapType$2;
1283
+ }
1284
+ declare enum MapType$2 {
1285
+ /** Roadmap map type */
1286
+ ROADMAP = "ROADMAP",
1287
+ /** Satellite map type */
1288
+ SATELITE = "SATELITE",
1289
+ /** Hybrid map type */
1290
+ HYBRID = "HYBRID",
1291
+ /** Terrain map type */
1292
+ TERRAIN = "TERRAIN"
1293
+ }
1294
+ interface ParagraphData$2 {
1295
+ /** Styling for the paragraph text. */
1296
+ textStyle?: TextStyle$2;
1297
+ /** Indentation level from 1-4. */
1298
+ indentation?: number | null;
1299
+ /** Paragraph level */
1300
+ level?: number | null;
1301
+ }
1302
+ interface PollData$2 {
1303
+ /** Styling for the poll's container. */
1304
+ containerData?: PluginContainerData$2;
1305
+ /** Poll data. */
1306
+ poll?: Poll$2;
1307
+ /** Layout settings for the poll and voting options. */
1308
+ layout?: PollDataLayout$2;
1309
+ /** Styling for the poll and voting options. */
1310
+ design?: Design$2;
1311
+ }
1312
+ declare enum ViewRole$2 {
1313
+ /** Only Poll creator can view the results */
1314
+ CREATOR = "CREATOR",
1315
+ /** Anyone who voted can see the results */
1316
+ VOTERS = "VOTERS",
1317
+ /** Anyone can see the results, even if one didn't vote */
1318
+ EVERYONE = "EVERYONE"
1319
+ }
1320
+ declare enum VoteRole$2 {
1321
+ /** Logged in member */
1322
+ SITE_MEMBERS = "SITE_MEMBERS",
1323
+ /** Anyone */
1324
+ ALL = "ALL"
1325
+ }
1326
+ interface Permissions$2 {
1327
+ /** Sets who can view the poll results. */
1328
+ view?: ViewRole$2;
1329
+ /** Sets who can vote. */
1330
+ vote?: VoteRole$2;
1331
+ /** Sets whether one voter can vote multiple times. Defaults to `false`. */
1332
+ allowMultipleVotes?: boolean | null;
1333
+ }
1334
+ interface Option$2 {
1335
+ /** Option ID. */
1336
+ _id?: string | null;
1337
+ /** Option title. */
1338
+ title?: string | null;
1339
+ /** The image displayed with the option. */
1340
+ image?: Media$2;
1341
+ }
1342
+ interface Settings$2 {
1343
+ /** Permissions settings for voting. */
1344
+ permissions?: Permissions$2;
1345
+ /** Sets whether voters are displayed in the vote results. Defaults to `true`. */
1346
+ showVoters?: boolean | null;
1347
+ /** Sets whether the vote count is displayed. Defaults to `true`. */
1348
+ showVotesCount?: boolean | null;
1349
+ }
1350
+ declare enum PollLayoutType$2 {
1351
+ /** List */
1352
+ LIST = "LIST",
1353
+ /** Grid */
1354
+ GRID = "GRID"
1355
+ }
1356
+ declare enum PollLayoutDirection$2 {
1357
+ /** Left-to-right */
1358
+ LTR = "LTR",
1359
+ /** Right-to-left */
1360
+ RTL = "RTL"
1361
+ }
1362
+ interface PollLayout$2 {
1363
+ /** The layout for displaying the voting options. */
1364
+ type?: PollLayoutType$2;
1365
+ /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
1366
+ direction?: PollLayoutDirection$2;
1367
+ /** Sets whether to display the main poll image. Defaults to `false`. */
1368
+ enableImage?: boolean | null;
1369
+ }
1370
+ interface OptionLayout$2 {
1371
+ /** Sets whether to display option images. Defaults to `false`. */
1372
+ enableImage?: boolean | null;
1373
+ }
1374
+ declare enum BackgroundType$2 {
1375
+ /** Color background type */
1376
+ COLOR = "COLOR",
1377
+ /** Image background type */
1378
+ IMAGE = "IMAGE",
1379
+ /** Gradiant background type */
1380
+ GRADIENT = "GRADIENT"
1381
+ }
1382
+ interface Gradient$2 {
1383
+ /** The gradient angle in degrees. */
1384
+ angle?: number | null;
1385
+ /** The start color as a hexademical value. */
1386
+ startColor?: string | null;
1387
+ /** The end color as a hexademical value. */
1388
+ lastColor?: string | null;
1389
+ }
1390
+ interface Background$2 extends BackgroundBackgroundOneOf$2 {
1391
+ /** The background color as a hexademical value. */
1392
+ color?: string | null;
1393
+ /** An image to use for the background. */
1394
+ image?: Media$2;
1395
+ /** Details for a gradient background. */
1396
+ gradient?: Gradient$2;
1397
+ /** Background type. For each option, include the relevant details. */
1398
+ type?: BackgroundType$2;
1399
+ }
1400
+ /** @oneof */
1401
+ interface BackgroundBackgroundOneOf$2 {
1402
+ /** The background color as a hexademical value. */
1403
+ color?: string | null;
1404
+ /** An image to use for the background. */
1405
+ image?: Media$2;
1406
+ /** Details for a gradient background. */
1407
+ gradient?: Gradient$2;
1408
+ }
1409
+ interface PollDesign$2 {
1410
+ /** Background styling. */
1411
+ background?: Background$2;
1412
+ /** Border radius in pixels. */
1413
+ borderRadius?: number | null;
1414
+ }
1415
+ interface OptionDesign$2 {
1416
+ /** Border radius in pixels. */
1417
+ borderRadius?: number | null;
1418
+ }
1419
+ interface Poll$2 {
1420
+ /** Poll ID. */
1421
+ _id?: string | null;
1422
+ /** Poll title. */
1423
+ title?: string | null;
1424
+ /** Poll creator ID. */
1425
+ creatorId?: string | null;
1426
+ /** Main poll image. */
1427
+ image?: Media$2;
1428
+ /** Voting options. */
1429
+ options?: Option$2[];
1430
+ /** The poll's permissions and display settings. */
1431
+ settings?: Settings$2;
1432
+ }
1433
+ interface PollDataLayout$2 {
1434
+ /** Poll layout settings. */
1435
+ poll?: PollLayout$2;
1436
+ /** Voting otpions layout settings. */
1437
+ options?: OptionLayout$2;
1438
+ }
1439
+ interface Design$2 {
1440
+ /** Styling for the poll. */
1441
+ poll?: PollDesign$2;
1442
+ /** Styling for voting options. */
1443
+ options?: OptionDesign$2;
1444
+ }
1445
+ interface TextData$2 {
1446
+ /** The text to apply decorations to. */
1447
+ text?: string;
1448
+ /** The decorations to apply. */
1449
+ decorations?: Decoration$2[];
1450
+ }
1451
+ /** Adds appearence changes to text */
1452
+ interface Decoration$2 extends DecorationDataOneOf$2 {
1453
+ /** Data for an anchor link decoration. */
1454
+ anchorData?: AnchorData$2;
1455
+ /** Data for a color decoration. */
1456
+ colorData?: ColorData$2;
1457
+ /** Data for an external link decoration. */
1458
+ linkData?: LinkData$2;
1459
+ /** Data for a mention decoration. */
1460
+ mentionData?: MentionData$2;
1461
+ /** Data for a font size decoration. */
1462
+ fontSizeData?: FontSizeData$2;
1463
+ /** Font weight for a bold decoration. */
1464
+ fontWeightValue?: number | null;
1465
+ /** Data for an italic decoration. Defaults to `true`. */
1466
+ italicData?: boolean | null;
1467
+ /** Data for an underline decoration. Defaults to `true`. */
1468
+ underlineData?: boolean | null;
1469
+ /** Data for a spoiler decoration. */
1470
+ spoilerData?: SpoilerData$2;
1471
+ /** The type of decoration to apply. */
1472
+ type?: DecorationType$2;
1473
+ }
1474
+ /** @oneof */
1475
+ interface DecorationDataOneOf$2 {
1476
+ /** Data for an anchor link decoration. */
1477
+ anchorData?: AnchorData$2;
1478
+ /** Data for a color decoration. */
1479
+ colorData?: ColorData$2;
1480
+ /** Data for an external link decoration. */
1481
+ linkData?: LinkData$2;
1482
+ /** Data for a mention decoration. */
1483
+ mentionData?: MentionData$2;
1484
+ /** Data for a font size decoration. */
1485
+ fontSizeData?: FontSizeData$2;
1486
+ /** Font weight for a bold decoration. */
1487
+ fontWeightValue?: number | null;
1488
+ /** Data for an italic decoration. Defaults to `true`. */
1489
+ italicData?: boolean | null;
1490
+ /** Data for an underline decoration. Defaults to `true`. */
1491
+ underlineData?: boolean | null;
1492
+ /** Data for a spoiler decoration. */
1493
+ spoilerData?: SpoilerData$2;
1494
+ }
1495
+ declare enum DecorationType$2 {
1496
+ BOLD = "BOLD",
1497
+ ITALIC = "ITALIC",
1498
+ UNDERLINE = "UNDERLINE",
1499
+ SPOILER = "SPOILER",
1500
+ ANCHOR = "ANCHOR",
1501
+ MENTION = "MENTION",
1502
+ LINK = "LINK",
1503
+ COLOR = "COLOR",
1504
+ FONT_SIZE = "FONT_SIZE",
1505
+ EXTERNAL = "EXTERNAL"
1506
+ }
1507
+ interface AnchorData$2 {
1508
+ /** The target node's ID. */
1509
+ anchor?: string;
1510
+ }
1511
+ interface ColorData$2 {
1512
+ /** The text's background color as a hexadecimal value. */
1513
+ background?: string | null;
1514
+ /** The text's foreground color as a hexadecimal value. */
1515
+ foreground?: string | null;
1516
+ }
1517
+ interface LinkData$2 {
1518
+ /** Link details. */
1519
+ link?: Link$2;
1520
+ }
1521
+ interface MentionData$2 {
1522
+ /** The mentioned user's name. */
1523
+ name?: string;
1524
+ /** The version of the user's name that appears after the `@` character in the mention. */
1525
+ slug?: string;
1526
+ /** Mentioned user's ID. */
1527
+ _id?: string | null;
1528
+ }
1529
+ interface FontSizeData$2 {
1530
+ /** The units used for the font size. */
1531
+ unit?: FontType$2;
1532
+ /** Font size value. */
1533
+ value?: number | null;
1534
+ }
1535
+ declare enum FontType$2 {
1536
+ PX = "PX",
1537
+ EM = "EM"
1538
+ }
1539
+ interface SpoilerData$2 {
1540
+ /** Spoiler ID. */
1541
+ _id?: string | null;
1542
+ }
1543
+ interface AppEmbedData$2 extends AppEmbedDataAppDataOneOf$2 {
1544
+ /** Data for embedded Wix Bookings content. */
1545
+ bookingData?: BookingData$2;
1546
+ /** Data for embedded Wix Events content. */
1547
+ eventData?: EventData$2;
1548
+ /** The type of Wix App content being embedded. */
1549
+ type?: AppType$2;
1550
+ /** The ID of the embedded content. */
1551
+ itemId?: string | null;
1552
+ /** The name of the embedded content. */
1553
+ name?: string | null;
1554
+ /**
1555
+ * Deprecated: Use `image` instead.
1556
+ * @deprecated
1557
+ */
1558
+ imageSrc?: string | null;
1559
+ /** The URL for the embedded content. */
1560
+ url?: string | null;
1561
+ /** An image for the embedded content. */
1562
+ image?: Media$2;
1563
+ }
1564
+ /** @oneof */
1565
+ interface AppEmbedDataAppDataOneOf$2 {
1566
+ /** Data for embedded Wix Bookings content. */
1567
+ bookingData?: BookingData$2;
1568
+ /** Data for embedded Wix Events content. */
1569
+ eventData?: EventData$2;
1570
+ }
1571
+ declare enum AppType$2 {
1572
+ PRODUCT = "PRODUCT",
1573
+ EVENT = "EVENT",
1574
+ BOOKING = "BOOKING"
1575
+ }
1576
+ interface BookingData$2 {
1577
+ /** Booking duration in minutes. */
1578
+ durations?: string | null;
1579
+ }
1580
+ interface EventData$2 {
1581
+ /** Event schedule. */
1582
+ scheduling?: string | null;
1583
+ /** Event location. */
1584
+ location?: string | null;
1585
+ }
1586
+ interface VideoData$2 {
1587
+ /** Styling for the video's container. */
1588
+ containerData?: PluginContainerData$2;
1589
+ /** Video details. */
1590
+ video?: Media$2;
1591
+ /** Video thumbnail details. */
1592
+ thumbnail?: Media$2;
1593
+ /** Sets whether the video's download button is disabled. Defaults to `false`. */
1594
+ disableDownload?: boolean | null;
1595
+ /** Video title. */
1596
+ title?: string | null;
1597
+ /** Video options. */
1598
+ options?: PlaybackOptions$2;
1599
+ }
1600
+ interface PlaybackOptions$2 {
1601
+ /** Sets whether the media will automatically start playing. */
1602
+ autoPlay?: boolean | null;
1603
+ /** Sets whether media's will be looped. */
1604
+ playInLoop?: boolean | null;
1605
+ /** Sets whether media's controls will be shown. */
1606
+ showControls?: boolean | null;
1607
+ }
1608
+ interface EmbedData$2 {
1609
+ /** Styling for the oEmbed node's container. */
1610
+ containerData?: PluginContainerData$2;
1611
+ /** An [oEmbed](https://www.oembed.com) object. */
1612
+ oembed?: Oembed$2;
1613
+ /** Origin asset source. */
1614
+ src?: string | null;
1615
+ }
1616
+ interface Oembed$2 {
1617
+ /** The resource type. */
1618
+ type?: string | null;
1619
+ /** The width of the resource specified in the `url` property in pixels. */
1620
+ width?: number | null;
1621
+ /** The height of the resource specified in the `url` property in pixels. */
1622
+ height?: number | null;
1623
+ /** Resource title. */
1624
+ title?: string | null;
1625
+ /** The source URL for the resource. */
1626
+ url?: string | null;
1627
+ /** HTML for embedding a video player. The HTML should have no padding or margins. */
1628
+ html?: string | null;
1629
+ /** The name of the author or owner of the resource. */
1630
+ authorName?: string | null;
1631
+ /** The URL for the author or owner of the resource. */
1632
+ authorUrl?: string | null;
1633
+ /** The name of the resource provider. */
1634
+ providerName?: string | null;
1635
+ /** The URL for the resource provider. */
1636
+ providerUrl?: string | null;
1637
+ /** The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined. */
1638
+ thumbnailUrl?: string | null;
1639
+ /** The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined. */
1640
+ thumbnailWidth?: string | null;
1641
+ /** The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined. */
1642
+ thumbnailHeight?: string | null;
1643
+ /** The URL for an embedded viedo. */
1644
+ videoUrl?: string | null;
1645
+ /** The oEmbed version number. This value must be `1.0`. */
1646
+ version?: string | null;
1647
+ }
1648
+ interface CollapsibleListData$2 {
1649
+ /** Styling for the collapsible list's container. */
1650
+ containerData?: PluginContainerData$2;
1651
+ /** If `true`, only one item can be expanded at a time. Defaults to `false`. */
1652
+ expandOnlyOne?: boolean | null;
1653
+ /** Sets which items are expanded when the page loads. */
1654
+ initialExpandedItems?: InitialExpandedItems$2;
1655
+ /** The direction of the text in the list. Either left-to-right or right-to-left. */
1656
+ direction?: Direction$2;
1657
+ /** If `true`, The collapsible item will appear in search results as an FAQ. */
1658
+ isQapageData?: boolean | null;
1659
+ }
1660
+ declare enum InitialExpandedItems$2 {
1661
+ /** First item will be expended initally */
1662
+ FIRST = "FIRST",
1663
+ /** All items will expended initally */
1664
+ ALL = "ALL",
1665
+ /** All items collapsed initally */
1666
+ NONE = "NONE"
1667
+ }
1668
+ declare enum Direction$2 {
1669
+ /** Left-to-right */
1670
+ LTR = "LTR",
1671
+ /** Right-to-left */
1672
+ RTL = "RTL"
1673
+ }
1674
+ interface TableData$2 {
1675
+ /** Styling for the table's container. */
1676
+ containerData?: PluginContainerData$2;
1677
+ /** The table's dimensions. */
1678
+ dimensions?: Dimensions$2;
1679
+ /**
1680
+ * Deprecated: Use `rowHeader` and `columnHeader` instead.
1681
+ * @deprecated
1682
+ */
1683
+ header?: boolean | null;
1684
+ /** Sets whether the table's first row is a header. Defaults to `false`. */
1685
+ rowHeader?: boolean | null;
1686
+ /** Sets whether the table's first column is a header. Defaults to `false`. */
1687
+ columnHeader?: boolean | null;
1688
+ }
1689
+ interface Dimensions$2 {
1690
+ /** An array representing relative width of each column in relation to the other columns. */
1691
+ colsWidthRatio?: number[];
1692
+ /** An array representing the height of each row in pixels. */
1693
+ rowsHeight?: number[];
1694
+ /** An array representing the minimum width of each column in pixels. */
1695
+ colsMinWidth?: number[];
1696
+ }
1697
+ interface TableCellData$2 {
1698
+ /** Styling for the cell's background color and text alignment. */
1699
+ cellStyle?: CellStyle$2;
1700
+ /** The cell's border colors. */
1701
+ borderColors?: BorderColors$2;
1702
+ }
1703
+ declare enum VerticalAlignment$2 {
1704
+ /** Top alignment */
1705
+ TOP = "TOP",
1706
+ /** Middle alignment */
1707
+ MIDDLE = "MIDDLE",
1708
+ /** Bottom alignment */
1709
+ BOTTOM = "BOTTOM"
1710
+ }
1711
+ interface CellStyle$2 {
1712
+ /** Vertical alignment for the cell's text. */
1713
+ verticalAlignment?: VerticalAlignment$2;
1714
+ /** Cell background color as a hexadecimal value. */
1715
+ backgroundColor?: string | null;
1716
+ }
1717
+ interface BorderColors$2 {
1718
+ /** Left border color as a hexadecimal value. */
1719
+ left?: string | null;
1720
+ /** Right border color as a hexadecimal value. */
1721
+ right?: string | null;
1722
+ /** Top border color as a hexadecimal value. */
1723
+ top?: string | null;
1724
+ /** Bottom border color as a hexadecimal value. */
1725
+ bottom?: string | null;
1726
+ }
1727
+ /**
1728
+ * `NullValue` is a singleton enumeration to represent the null value for the
1729
+ * `Value` type union.
1730
+ *
1731
+ * The JSON representation for `NullValue` is JSON `null`.
1732
+ */
1733
+ declare enum NullValue$2 {
1734
+ /** Null value. */
1735
+ NULL_VALUE = "NULL_VALUE"
1736
+ }
1737
+ /**
1738
+ * `ListValue` is a wrapper around a repeated field of values.
1739
+ *
1740
+ * The JSON representation for `ListValue` is JSON array.
1741
+ */
1742
+ interface ListValue$2 {
1743
+ /** Repeated field of dynamically typed values. */
1744
+ values?: any[];
1745
+ }
1746
+ interface AudioData$2 {
1747
+ /** Styling for the audio node's container. */
1748
+ containerData?: PluginContainerData$2;
1749
+ /** Audio file details. */
1750
+ audio?: Media$2;
1751
+ /** Sets whether the audio node's download button is disabled. Defaults to `false`. */
1752
+ disableDownload?: boolean | null;
1753
+ /** Cover image. */
1754
+ coverImage?: Media$2;
1755
+ /** Track name. */
1756
+ name?: string | null;
1757
+ /** Author name. */
1758
+ authorName?: string | null;
1759
+ /** An HTML version of the audio node. */
1760
+ html?: string | null;
1761
+ }
1762
+ interface OrderedListData$2 {
1763
+ /** Indentation level from 0-4. */
1764
+ indentation?: number;
1765
+ /** Offset level from 0-4. */
1766
+ offset?: number | null;
1767
+ }
1768
+ interface BulletedListData$2 {
1769
+ /** Indentation level from 0-4. */
1770
+ indentation?: number;
1771
+ /** Offset level from 0-4. */
1772
+ offset?: number | null;
1773
+ }
1774
+ interface BlockquoteData$2 {
1775
+ /** Indentation level from 1-4. */
1776
+ indentation?: number;
1777
+ }
1778
+ interface Metadata$2 {
1779
+ /** Schema version. */
1780
+ version?: number;
1781
+ /**
1782
+ * When the object was created.
1783
+ * @readonly
1784
+ * @deprecated
1785
+ */
1786
+ createdTimestamp?: Date;
1787
+ /**
1788
+ * When the object was most recently updated.
1789
+ * @deprecated
1790
+ */
1791
+ updatedTimestamp?: Date;
1792
+ /** Object ID. */
1793
+ _id?: string | null;
1794
+ }
1795
+ interface DocumentStyle$2 {
1796
+ /** Styling for H1 nodes. */
1797
+ headerOne?: TextNodeStyle$2;
1798
+ /** Styling for H2 nodes. */
1799
+ headerTwo?: TextNodeStyle$2;
1800
+ /** Styling for H3 nodes. */
1801
+ headerThree?: TextNodeStyle$2;
1802
+ /** Styling for H4 nodes. */
1803
+ headerFour?: TextNodeStyle$2;
1804
+ /** Styling for H5 nodes. */
1805
+ headerFive?: TextNodeStyle$2;
1806
+ /** Styling for H6 nodes. */
1807
+ headerSix?: TextNodeStyle$2;
1808
+ /** Styling for paragraph nodes. */
1809
+ paragraph?: TextNodeStyle$2;
1810
+ /** Styling for block quote nodes. */
1811
+ blockquote?: TextNodeStyle$2;
1812
+ /** Styling for code block nodes. */
1813
+ codeBlock?: TextNodeStyle$2;
1814
+ }
1815
+ interface TextNodeStyle$2 {
1816
+ /** The decorations to apply to the node. */
1817
+ decorations?: Decoration$2[];
1818
+ /** Padding and background color for the node. */
1819
+ nodeStyle?: NodeStyle$2;
1820
+ /** Line height for text in the node. */
1821
+ lineHeight?: string | null;
1822
+ }
1823
+ interface VideoResolution$1 {
1824
+ /** Video URL. */
1825
+ url?: string;
1826
+ /** Video height. */
1827
+ height?: number;
1828
+ /** Video width. */
1829
+ width?: number;
1830
+ /** Video format for example, mp4, hls. */
1831
+ format?: string;
1832
+ }
1833
+ interface ExtendedFields {
1834
+ /**
1835
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
1836
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
1837
+ *
1838
+ * You can only access fields for which you have the appropriate permissions.
1839
+ *
1840
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
1841
+ */
1842
+ namespaces?: Record<string, Record<string, any>>;
1843
+ }
1844
+ interface GetPublishedContentRequest {
1845
+ /** The ID of the published content */
1846
+ contentId?: string;
1847
+ }
1848
+ interface GetPublishedContentResponse {
1849
+ /** The published content */
1850
+ publishedContent?: PublishedContent;
1851
+ }
1852
+ interface QueryPublishedContentRequest {
1853
+ /** The query to filter the published content */
1854
+ query: CursorQuery$2;
1855
+ }
1856
+ interface CursorQuery$2 extends CursorQueryPagingMethodOneOf$2 {
1857
+ /**
1858
+ * Cursor paging options.
1859
+ *
1860
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
1861
+ */
1862
+ cursorPaging?: CursorPaging$2;
1863
+ /**
1864
+ * Filter object.
1865
+ *
1866
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
1867
+ */
1868
+ filter?: Record<string, any> | null;
1869
+ /**
1870
+ * Sort object.
1871
+ *
1872
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
1873
+ */
1874
+ sort?: Sorting$2[];
1875
+ }
1876
+ /** @oneof */
1877
+ interface CursorQueryPagingMethodOneOf$2 {
1878
+ /**
1879
+ * Cursor paging options.
1880
+ *
1881
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
1882
+ */
1883
+ cursorPaging?: CursorPaging$2;
1884
+ }
1885
+ interface Sorting$2 {
1886
+ /** Name of the field to sort by. */
1887
+ fieldName?: string;
1888
+ /** Sort order. */
1889
+ order?: SortOrder$2;
1890
+ }
1891
+ declare enum SortOrder$2 {
1892
+ ASC = "ASC",
1893
+ DESC = "DESC"
1894
+ }
1895
+ interface CursorPaging$2 {
1896
+ /** Maximum number of items to return in the results. */
1897
+ limit?: number | null;
1898
+ /**
1899
+ * Pointer to the next or previous page in the list of results.
1900
+ *
1901
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
1902
+ * Not relevant for the first request.
1903
+ */
1904
+ cursor?: string | null;
1905
+ }
1906
+ interface QueryPublishedContentResponse {
1907
+ /** The published content */
1908
+ publishedContent?: PublishedContent[];
1909
+ /** Paging information */
1910
+ pagingMetadata?: CursorPagingMetadata$2;
1911
+ }
1912
+ interface CursorPagingMetadata$2 {
1913
+ /** Number of items returned in current page. */
1914
+ count?: number | null;
1915
+ /** Cursor strings that point to the next page, previous page, or both. */
1916
+ cursors?: Cursors$2;
1917
+ /**
1918
+ * Whether there are more pages to retrieve following the current page.
1919
+ *
1920
+ * + `true`: Another page of results can be retrieved.
1921
+ * + `false`: This is the last page.
1922
+ */
1923
+ hasNext?: boolean | null;
1924
+ }
1925
+ interface Cursors$2 {
1926
+ /** Cursor string pointing to the next page in the list of results. */
1927
+ next?: string | null;
1928
+ /** Cursor pointing to the previous page in the list of results. */
1929
+ prev?: string | null;
1930
+ }
1931
+ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
1932
+ createdEvent?: EntityCreatedEvent$2;
1933
+ updatedEvent?: EntityUpdatedEvent$2;
1934
+ deletedEvent?: EntityDeletedEvent$2;
1935
+ actionEvent?: ActionEvent$2;
1936
+ /**
1937
+ * Unique event ID.
1938
+ * Allows clients to ignore duplicate webhooks.
1939
+ */
1940
+ _id?: string;
1941
+ /**
1942
+ * Assumes actions are also always typed to an entity_type
1943
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1944
+ */
1945
+ entityFqdn?: string;
1946
+ /**
1947
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1948
+ * This is although the created/updated/deleted notion is duplication of the oneof types
1949
+ * Example: created/updated/deleted/started/completed/email_opened
1950
+ */
1951
+ slug?: string;
1952
+ /** ID of the entity associated with the event. */
1953
+ entityId?: string;
1954
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1955
+ eventTime?: Date;
1956
+ /**
1957
+ * Whether the event was triggered as a result of a privacy regulation application
1958
+ * (for example, GDPR).
1959
+ */
1960
+ triggeredByAnonymizeRequest?: boolean | null;
1961
+ /** If present, indicates the action that triggered the event. */
1962
+ originatedFrom?: string | null;
1963
+ /**
1964
+ * A sequence number defining the order of updates to the underlying entity.
1965
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
1966
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1967
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1968
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
1969
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1970
+ */
1971
+ entityEventSequence?: string | null;
1972
+ }
1973
+ /** @oneof */
1974
+ interface DomainEventBodyOneOf$2 {
1975
+ createdEvent?: EntityCreatedEvent$2;
1976
+ updatedEvent?: EntityUpdatedEvent$2;
1977
+ deletedEvent?: EntityDeletedEvent$2;
1978
+ actionEvent?: ActionEvent$2;
1979
+ }
1980
+ interface EntityCreatedEvent$2 {
1981
+ entity?: string;
1982
+ }
1983
+ interface RestoreInfo$2 {
1984
+ deletedDate?: Date;
1985
+ }
1986
+ interface EntityUpdatedEvent$2 {
1987
+ /**
1988
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1989
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1990
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1991
+ */
1992
+ currentEntity?: string;
1993
+ }
1994
+ interface EntityDeletedEvent$2 {
1995
+ /** Entity that was deleted */
1996
+ deletedEntity?: string | null;
1997
+ }
1998
+ interface ActionEvent$2 {
1999
+ body?: string;
2000
+ }
2001
+ interface MessageEnvelope$2 {
2002
+ /** App instance ID. */
2003
+ instanceId?: string | null;
2004
+ /** Event type. */
2005
+ eventType?: string;
2006
+ /** The identification type and identity data. */
2007
+ identity?: IdentificationData$2;
2008
+ /** Stringify payload. */
2009
+ data?: string;
2010
+ }
2011
+ interface IdentificationData$2 extends IdentificationDataIdOneOf$2 {
2012
+ /** ID of a site visitor that has not logged in to the site. */
2013
+ anonymousVisitorId?: string;
2014
+ /** ID of a site visitor that has logged in to the site. */
2015
+ memberId?: string;
2016
+ /** ID of a Wix user (site owner, contributor, etc.). */
2017
+ wixUserId?: string;
2018
+ /** ID of an app. */
2019
+ appId?: string;
2020
+ /** @readonly */
2021
+ identityType?: WebhookIdentityType$2;
2022
+ }
2023
+ /** @oneof */
2024
+ interface IdentificationDataIdOneOf$2 {
2025
+ /** ID of a site visitor that has not logged in to the site. */
2026
+ anonymousVisitorId?: string;
2027
+ /** ID of a site visitor that has logged in to the site. */
2028
+ memberId?: string;
2029
+ /** ID of a Wix user (site owner, contributor, etc.). */
2030
+ wixUserId?: string;
2031
+ /** ID of an app. */
2032
+ appId?: string;
2033
+ }
2034
+ declare enum WebhookIdentityType$2 {
2035
+ UNKNOWN = "UNKNOWN",
2036
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
2037
+ MEMBER = "MEMBER",
2038
+ WIX_USER = "WIX_USER",
2039
+ APP = "APP"
2040
+ }
2041
+ interface SchemaKeyNonNullableFields$1 {
2042
+ appId: string;
2043
+ entityType: string;
2044
+ scope: SchemaScope$1;
2045
+ }
2046
+ interface PluginContainerDataWidthNonNullableFields$1 {
2047
+ size: WidthType$2;
2048
+ }
2049
+ interface PluginContainerDataNonNullableFields$1 {
2050
+ width?: PluginContainerDataWidthNonNullableFields$1;
2051
+ alignment: PluginContainerDataAlignment$2;
2052
+ }
2053
+ interface LinkNonNullableFields$1 {
2054
+ url: string;
2055
+ anchor: string;
2056
+ target: Target$2;
2057
+ }
2058
+ interface ButtonDataNonNullableFields$1 {
2059
+ containerData?: PluginContainerDataNonNullableFields$1;
2060
+ type: Type$2;
2061
+ link?: LinkNonNullableFields$1;
2062
+ }
2063
+ interface TextStyleNonNullableFields$1 {
2064
+ textAlignment: TextAlignment$2;
2065
+ }
2066
+ interface CodeBlockDataNonNullableFields$1 {
2067
+ textStyle?: TextStyleNonNullableFields$1;
2068
+ }
2069
+ interface DividerDataNonNullableFields$1 {
2070
+ containerData?: PluginContainerDataNonNullableFields$1;
2071
+ lineStyle: LineStyle$2;
2072
+ width: Width$2;
2073
+ alignment: Alignment$2;
2074
+ }
2075
+ interface PDFSettingsNonNullableFields$1 {
2076
+ viewMode: ViewMode$2;
2077
+ }
2078
+ interface FileDataNonNullableFields$1 {
2079
+ containerData?: PluginContainerDataNonNullableFields$1;
2080
+ pdfSettings?: PDFSettingsNonNullableFields$1;
2081
+ }
2082
+ interface ImageNonNullableFields$1 {
2083
+ link?: LinkNonNullableFields$1;
2084
+ }
2085
+ interface ItemNonNullableFields$1 {
2086
+ image?: ImageNonNullableFields$1;
2087
+ }
2088
+ interface LayoutNonNullableFields$1 {
2089
+ type: LayoutType$2;
2090
+ orientation: Orientation$2;
2091
+ }
2092
+ interface ItemStyleNonNullableFields$1 {
2093
+ crop: Crop$2;
2094
+ }
2095
+ interface ThumbnailsNonNullableFields$1 {
2096
+ placement: ThumbnailsAlignment$2;
2097
+ }
2098
+ interface GalleryOptionsNonNullableFields$1 {
2099
+ layout?: LayoutNonNullableFields$1;
2100
+ item?: ItemStyleNonNullableFields$1;
2101
+ thumbnails?: ThumbnailsNonNullableFields$1;
2102
+ }
2103
+ interface GalleryDataNonNullableFields$1 {
2104
+ containerData?: PluginContainerDataNonNullableFields$1;
2105
+ items: ItemNonNullableFields$1[];
2106
+ options?: GalleryOptionsNonNullableFields$1;
2107
+ }
2108
+ interface GIFDataNonNullableFields$1 {
2109
+ containerData?: PluginContainerDataNonNullableFields$1;
2110
+ height: number;
2111
+ width: number;
2112
+ }
2113
+ interface HeadingDataNonNullableFields$1 {
2114
+ level: number;
2115
+ textStyle?: TextStyleNonNullableFields$1;
2116
+ }
2117
+ interface HTMLDataNonNullableFields$1 {
2118
+ url: string;
2119
+ html: string;
2120
+ containerData?: PluginContainerDataNonNullableFields$1;
2121
+ source: Source$2;
2122
+ }
2123
+ interface ImageDataNonNullableFields$1 {
2124
+ containerData?: PluginContainerDataNonNullableFields$1;
2125
+ link?: LinkNonNullableFields$1;
2126
+ }
2127
+ interface LinkPreviewDataNonNullableFields$1 {
2128
+ containerData?: PluginContainerDataNonNullableFields$1;
2129
+ link?: LinkNonNullableFields$1;
2130
+ }
2131
+ interface MapSettingsNonNullableFields$1 {
2132
+ mapType: MapType$2;
2133
+ }
2134
+ interface MapDataNonNullableFields$1 {
2135
+ containerData?: PluginContainerDataNonNullableFields$1;
2136
+ mapSettings?: MapSettingsNonNullableFields$1;
2137
+ }
2138
+ interface ParagraphDataNonNullableFields$1 {
2139
+ textStyle?: TextStyleNonNullableFields$1;
2140
+ }
2141
+ interface PermissionsNonNullableFields$1 {
2142
+ view: ViewRole$2;
2143
+ vote: VoteRole$2;
2144
+ }
2145
+ interface SettingsNonNullableFields$1 {
2146
+ permissions?: PermissionsNonNullableFields$1;
2147
+ }
2148
+ interface PollNonNullableFields$1 {
2149
+ settings?: SettingsNonNullableFields$1;
2150
+ }
2151
+ interface PollLayoutNonNullableFields$1 {
2152
+ type: PollLayoutType$2;
2153
+ direction: PollLayoutDirection$2;
2154
+ }
2155
+ interface PollDataLayoutNonNullableFields$1 {
2156
+ poll?: PollLayoutNonNullableFields$1;
2157
+ }
2158
+ interface BackgroundNonNullableFields$1 {
2159
+ type: BackgroundType$2;
2160
+ }
2161
+ interface PollDesignNonNullableFields$1 {
2162
+ background?: BackgroundNonNullableFields$1;
2163
+ }
2164
+ interface DesignNonNullableFields$1 {
2165
+ poll?: PollDesignNonNullableFields$1;
2166
+ }
2167
+ interface PollDataNonNullableFields$1 {
2168
+ containerData?: PluginContainerDataNonNullableFields$1;
2169
+ poll?: PollNonNullableFields$1;
2170
+ layout?: PollDataLayoutNonNullableFields$1;
2171
+ design?: DesignNonNullableFields$1;
2172
+ }
2173
+ interface AnchorDataNonNullableFields$1 {
2174
+ anchor: string;
2175
+ }
2176
+ interface LinkDataNonNullableFields$1 {
2177
+ link?: LinkNonNullableFields$1;
2178
+ }
2179
+ interface MentionDataNonNullableFields$1 {
2180
+ name: string;
2181
+ slug: string;
2182
+ }
2183
+ interface FontSizeDataNonNullableFields$1 {
2184
+ unit: FontType$2;
2185
+ }
2186
+ interface DecorationNonNullableFields$1 {
2187
+ anchorData?: AnchorDataNonNullableFields$1;
2188
+ linkData?: LinkDataNonNullableFields$1;
2189
+ mentionData?: MentionDataNonNullableFields$1;
2190
+ fontSizeData?: FontSizeDataNonNullableFields$1;
2191
+ type: DecorationType$2;
2192
+ }
2193
+ interface TextDataNonNullableFields$1 {
2194
+ text: string;
2195
+ decorations: DecorationNonNullableFields$1[];
2196
+ }
2197
+ interface AppEmbedDataNonNullableFields$1 {
2198
+ type: AppType$2;
2199
+ }
2200
+ interface VideoDataNonNullableFields$1 {
2201
+ containerData?: PluginContainerDataNonNullableFields$1;
2202
+ }
2203
+ interface EmbedDataNonNullableFields$1 {
2204
+ containerData?: PluginContainerDataNonNullableFields$1;
2205
+ }
2206
+ interface CollapsibleListDataNonNullableFields$1 {
2207
+ containerData?: PluginContainerDataNonNullableFields$1;
2208
+ initialExpandedItems: InitialExpandedItems$2;
2209
+ direction: Direction$2;
2210
+ }
2211
+ interface DimensionsNonNullableFields$1 {
2212
+ colsWidthRatio: number[];
2213
+ rowsHeight: number[];
2214
+ colsMinWidth: number[];
2215
+ }
2216
+ interface TableDataNonNullableFields$1 {
2217
+ containerData?: PluginContainerDataNonNullableFields$1;
2218
+ dimensions?: DimensionsNonNullableFields$1;
2219
+ }
2220
+ interface CellStyleNonNullableFields$1 {
2221
+ verticalAlignment: VerticalAlignment$2;
2222
+ }
2223
+ interface TableCellDataNonNullableFields$1 {
2224
+ cellStyle?: CellStyleNonNullableFields$1;
2225
+ }
2226
+ interface AudioDataNonNullableFields$1 {
2227
+ containerData?: PluginContainerDataNonNullableFields$1;
2228
+ }
2229
+ interface OrderedListDataNonNullableFields$1 {
2230
+ indentation: number;
2231
+ }
2232
+ interface BulletedListDataNonNullableFields$1 {
2233
+ indentation: number;
2234
+ }
2235
+ interface BlockquoteDataNonNullableFields$1 {
2236
+ indentation: number;
2237
+ }
2238
+ interface NodeNonNullableFields$1 {
2239
+ buttonData?: ButtonDataNonNullableFields$1;
2240
+ codeBlockData?: CodeBlockDataNonNullableFields$1;
2241
+ dividerData?: DividerDataNonNullableFields$1;
2242
+ fileData?: FileDataNonNullableFields$1;
2243
+ galleryData?: GalleryDataNonNullableFields$1;
2244
+ gifData?: GIFDataNonNullableFields$1;
2245
+ headingData?: HeadingDataNonNullableFields$1;
2246
+ htmlData?: HTMLDataNonNullableFields$1;
2247
+ imageData?: ImageDataNonNullableFields$1;
2248
+ linkPreviewData?: LinkPreviewDataNonNullableFields$1;
2249
+ mapData?: MapDataNonNullableFields$1;
2250
+ paragraphData?: ParagraphDataNonNullableFields$1;
2251
+ pollData?: PollDataNonNullableFields$1;
2252
+ textData?: TextDataNonNullableFields$1;
2253
+ appEmbedData?: AppEmbedDataNonNullableFields$1;
2254
+ videoData?: VideoDataNonNullableFields$1;
2255
+ embedData?: EmbedDataNonNullableFields$1;
2256
+ collapsibleListData?: CollapsibleListDataNonNullableFields$1;
2257
+ tableData?: TableDataNonNullableFields$1;
2258
+ tableCellData?: TableCellDataNonNullableFields$1;
2259
+ audioData?: AudioDataNonNullableFields$1;
2260
+ orderedListData?: OrderedListDataNonNullableFields$1;
2261
+ bulletedListData?: BulletedListDataNonNullableFields$1;
2262
+ blockquoteData?: BlockquoteDataNonNullableFields$1;
2263
+ type: NodeType$2;
2264
+ _id: string;
2265
+ nodes: NodeNonNullableFields$1[];
2266
+ }
2267
+ interface MetadataNonNullableFields$1 {
2268
+ version: number;
2269
+ }
2270
+ interface TextNodeStyleNonNullableFields$1 {
2271
+ decorations: DecorationNonNullableFields$1[];
2272
+ }
2273
+ interface DocumentStyleNonNullableFields$1 {
2274
+ headerOne?: TextNodeStyleNonNullableFields$1;
2275
+ headerTwo?: TextNodeStyleNonNullableFields$1;
2276
+ headerThree?: TextNodeStyleNonNullableFields$1;
2277
+ headerFour?: TextNodeStyleNonNullableFields$1;
2278
+ headerFive?: TextNodeStyleNonNullableFields$1;
2279
+ headerSix?: TextNodeStyleNonNullableFields$1;
2280
+ paragraph?: TextNodeStyleNonNullableFields$1;
2281
+ blockquote?: TextNodeStyleNonNullableFields$1;
2282
+ codeBlock?: TextNodeStyleNonNullableFields$1;
2283
+ }
2284
+ interface RichContentNonNullableFields$1 {
2285
+ nodes: NodeNonNullableFields$1[];
2286
+ metadata?: MetadataNonNullableFields$1;
2287
+ documentStyle?: DocumentStyleNonNullableFields$1;
2288
+ }
2289
+ interface PublishedContentFieldNonNullableFields {
2290
+ textValue: string;
2291
+ richContent?: RichContentNonNullableFields$1;
2292
+ image: string;
2293
+ video: string;
2294
+ document: string;
2295
+ schemaFieldKey: string;
2296
+ sequenceIds: string[];
2297
+ }
2298
+ interface PublishedContentNonNullableFields {
2299
+ schemaKey?: SchemaKeyNonNullableFields$1;
2300
+ entityId: string;
2301
+ locale: string;
2302
+ fields: PublishedContentFieldNonNullableFields[];
2303
+ }
2304
+ interface QueryPublishedContentResponseNonNullableFields {
2305
+ publishedContent: PublishedContentNonNullableFields[];
2306
+ }
2307
+ interface QueryCursorResult$2 {
2308
+ cursors: Cursors$2;
2309
+ hasNext: () => boolean;
2310
+ hasPrev: () => boolean;
2311
+ length: number;
2312
+ pageSize: number;
2313
+ }
2314
+ interface PublishedContentQueryResult extends QueryCursorResult$2 {
2315
+ items: PublishedContent[];
2316
+ query: PublishedContentQueryBuilder;
2317
+ next: () => Promise<PublishedContentQueryResult>;
2318
+ prev: () => Promise<PublishedContentQueryResult>;
2319
+ }
2320
+ interface PublishedContentQueryBuilder {
2321
+ /** @param propertyName - Property whose value is compared with `value`.
2322
+ * @param value - Value to compare against.
2323
+ * @documentationMaturity preview
2324
+ */
2325
+ eq: (propertyName: '_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId', value: any) => PublishedContentQueryBuilder;
2326
+ /** @param propertyName - Property whose value is compared with `value`.
2327
+ * @param value - Value to compare against.
2328
+ * @documentationMaturity preview
2329
+ */
2330
+ ne: (propertyName: '_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId', value: any) => PublishedContentQueryBuilder;
2331
+ /** @param propertyName - Property whose value is compared with `string`.
2332
+ * @param string - String to compare against. Case-insensitive.
2333
+ * @documentationMaturity preview
2334
+ */
2335
+ startsWith: (propertyName: '_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'entityId' | 'locale' | 'parentEntityId', value: string) => PublishedContentQueryBuilder;
2336
+ /** @param propertyName - Property whose value is compared with `values`.
2337
+ * @param values - List of values to compare against.
2338
+ * @documentationMaturity preview
2339
+ */
2340
+ hasSome: (propertyName: '_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId', value: any[]) => PublishedContentQueryBuilder;
2341
+ /** @documentationMaturity preview */
2342
+ in: (propertyName: '_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId', value: any) => PublishedContentQueryBuilder;
2343
+ /** @documentationMaturity preview */
2344
+ exists: (propertyName: '_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId', value: boolean) => PublishedContentQueryBuilder;
2345
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
2346
+ * @documentationMaturity preview
2347
+ */
2348
+ ascending: (...propertyNames: Array<'_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId'>) => PublishedContentQueryBuilder;
2349
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
2350
+ * @documentationMaturity preview
2351
+ */
2352
+ descending: (...propertyNames: Array<'_id' | 'schemaKey.appId' | 'schemaKey.entityType' | 'schemaKey.scope' | 'entityId' | 'locale' | 'parentEntityId'>) => PublishedContentQueryBuilder;
2353
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
2354
+ * @documentationMaturity preview
2355
+ */
2356
+ limit: (limit: number) => PublishedContentQueryBuilder;
2357
+ /** @param cursor - A pointer to specific record
2358
+ * @documentationMaturity preview
2359
+ */
2360
+ skipTo: (cursor: string) => PublishedContentQueryBuilder;
2361
+ /** @documentationMaturity preview */
2362
+ find: () => Promise<PublishedContentQueryResult>;
2363
+ }
2364
+
2365
+ declare function queryPublishedContent$1(httpClient: HttpClient): () => PublishedContentQueryBuilder;
2366
+
2367
+ declare function createRESTModule$4<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
2368
+
2369
+ type _publicQueryPublishedContentType = typeof queryPublishedContent$1;
2370
+ declare const queryPublishedContent: ReturnType<typeof createRESTModule$4<_publicQueryPublishedContentType>>;
469
2371
 
470
- type context$4_ChangedPages = ChangedPages;
471
- type context$4_CreateOrUpdateAction = CreateOrUpdateAction;
472
- type context$4_CreateOrUpdateMapperRequest = CreateOrUpdateMapperRequest;
473
- type context$4_CreateOrUpdateMapperResponse = CreateOrUpdateMapperResponse;
474
- type context$4_DeleteAction = DeleteAction;
475
- type context$4_DeleteEntityMapperRequest = DeleteEntityMapperRequest;
476
- type context$4_DeleteEntityMapperResponse = DeleteEntityMapperResponse;
477
- type context$4_DeleteMapperRequest = DeleteMapperRequest;
478
- type context$4_DeleteMapperResponse = DeleteMapperResponse;
479
- type context$4_FieldSequence = FieldSequence;
480
- type context$4_GetEntityMapperRequest = GetEntityMapperRequest;
481
- type context$4_GetEntityMapperResponse = GetEntityMapperResponse;
482
- type context$4_GetMapperRequest = GetMapperRequest;
483
- type context$4_GetMapperResponse = GetMapperResponse;
484
- type context$4_GetSubscribedTopicsRequest = GetSubscribedTopicsRequest;
485
- type context$4_GetSubscribedTopicsResponse = GetSubscribedTopicsResponse;
486
- type context$4_HtmlNewRevisionSavedMessage = HtmlNewRevisionSavedMessage;
487
- type context$4_ListMappersRequest = ListMappersRequest;
488
- type context$4_ListMappersResponse = ListMappersResponse;
489
- type context$4_LocalizationPublicAction = LocalizationPublicAction;
490
- type context$4_LocalizationPublicActionActionOneOf = LocalizationPublicActionActionOneOf;
491
- type context$4_LocalizedContentKey = LocalizedContentKey;
492
- type context$4_LocalizedPublishedContent = LocalizedPublishedContent;
493
- type context$4_LocalizedPublishedContentField = LocalizedPublishedContentField;
494
- type context$4_LocalizedPublishedContentFieldValueOneOf = LocalizedPublishedContentFieldValueOneOf;
495
- type context$4_LocalizedPublishedLanguageContentChanged = LocalizedPublishedLanguageContentChanged;
496
- type context$4_Mapper = Mapper;
497
- type context$4_MapperField = MapperField;
498
- type context$4_MediaItem = MediaItem;
499
- type context$4_MediaItemMediaOneOf = MediaItemMediaOneOf;
500
- type context$4_Page = Page;
501
- type context$4_PublishSiteTranslationsRequest = PublishSiteTranslationsRequest;
502
- type context$4_PublishSiteTranslationsResponse = PublishSiteTranslationsResponse;
503
- type context$4_RevisionInfo = RevisionInfo;
504
- type context$4_SequencePath = SequencePath;
505
- type context$4_StressDMRequest = StressDMRequest;
506
- type context$4_StressDMResponse = StressDMResponse;
507
- type context$4_SyncEditorDataOptions = SyncEditorDataOptions;
508
- type context$4_SyncEditorDataRequest = SyncEditorDataRequest;
509
- type context$4_SyncEditorDataResponse = SyncEditorDataResponse;
510
- type context$4_SyncFilter = SyncFilter;
511
- type context$4_V1CreateOrUpdateMapperRequest = V1CreateOrUpdateMapperRequest;
512
- type context$4_V1CreateOrUpdateMapperResponse = V1CreateOrUpdateMapperResponse;
513
- type context$4__publicSyncEditorDataType = _publicSyncEditorDataType;
514
- declare const context$4_syncEditorData: typeof syncEditorData;
2372
+ type context$4_ExtendedFields = ExtendedFields;
2373
+ type context$4_GetPublishedContentRequest = GetPublishedContentRequest;
2374
+ type context$4_GetPublishedContentResponse = GetPublishedContentResponse;
2375
+ type context$4_PublishedContent = PublishedContent;
2376
+ type context$4_PublishedContentField = PublishedContentField;
2377
+ type context$4_PublishedContentFieldValueOneOf = PublishedContentFieldValueOneOf;
2378
+ type context$4_PublishedContentQueryBuilder = PublishedContentQueryBuilder;
2379
+ type context$4_PublishedContentQueryResult = PublishedContentQueryResult;
2380
+ type context$4_QueryPublishedContentRequest = QueryPublishedContentRequest;
2381
+ type context$4_QueryPublishedContentResponse = QueryPublishedContentResponse;
2382
+ type context$4_QueryPublishedContentResponseNonNullableFields = QueryPublishedContentResponseNonNullableFields;
2383
+ type context$4__publicQueryPublishedContentType = _publicQueryPublishedContentType;
2384
+ declare const context$4_queryPublishedContent: typeof queryPublishedContent;
515
2385
  declare namespace context$4 {
516
- export { type ActionEvent$2 as ActionEvent, type context$4_ChangedPages as ChangedPages, type context$4_CreateOrUpdateAction as CreateOrUpdateAction, type context$4_CreateOrUpdateMapperRequest as CreateOrUpdateMapperRequest, type context$4_CreateOrUpdateMapperResponse as CreateOrUpdateMapperResponse, type context$4_DeleteAction as DeleteAction, type context$4_DeleteEntityMapperRequest as DeleteEntityMapperRequest, type context$4_DeleteEntityMapperResponse as DeleteEntityMapperResponse, type context$4_DeleteMapperRequest as DeleteMapperRequest, type context$4_DeleteMapperResponse as DeleteMapperResponse, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$2 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type context$4_FieldSequence as FieldSequence, FieldType$1 as FieldType, type context$4_GetEntityMapperRequest as GetEntityMapperRequest, type context$4_GetEntityMapperResponse as GetEntityMapperResponse, type context$4_GetMapperRequest as GetMapperRequest, type context$4_GetMapperResponse as GetMapperResponse, type context$4_GetSubscribedTopicsRequest as GetSubscribedTopicsRequest, type context$4_GetSubscribedTopicsResponse as GetSubscribedTopicsResponse, type context$4_HtmlNewRevisionSavedMessage as HtmlNewRevisionSavedMessage, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type context$4_ListMappersRequest as ListMappersRequest, type context$4_ListMappersResponse as ListMappersResponse, type context$4_LocalizationPublicAction as LocalizationPublicAction, type context$4_LocalizationPublicActionActionOneOf as LocalizationPublicActionActionOneOf, type context$4_LocalizedContentKey as LocalizedContentKey, type context$4_LocalizedPublishedContent as LocalizedPublishedContent, type context$4_LocalizedPublishedContentField as LocalizedPublishedContentField, type context$4_LocalizedPublishedContentFieldValueOneOf as LocalizedPublishedContentFieldValueOneOf, type context$4_LocalizedPublishedLanguageContentChanged as LocalizedPublishedLanguageContentChanged, type context$4_Mapper as Mapper, type context$4_MapperField as MapperField, type context$4_MediaItem as MediaItem, type context$4_MediaItemMediaOneOf as MediaItemMediaOneOf, type MessageEnvelope$2 as MessageEnvelope, type context$4_Page as Page, type context$4_PublishSiteTranslationsRequest as PublishSiteTranslationsRequest, type context$4_PublishSiteTranslationsResponse as PublishSiteTranslationsResponse, type RestoreInfo$2 as RestoreInfo, type context$4_RevisionInfo as RevisionInfo, type SchemaKey$1 as SchemaKey, SchemaScope$1 as SchemaScope, type context$4_SequencePath as SequencePath, type context$4_StressDMRequest as StressDMRequest, type context$4_StressDMResponse as StressDMResponse, type context$4_SyncEditorDataOptions as SyncEditorDataOptions, type context$4_SyncEditorDataRequest as SyncEditorDataRequest, type context$4_SyncEditorDataResponse as SyncEditorDataResponse, type context$4_SyncFilter as SyncFilter, type context$4_V1CreateOrUpdateMapperRequest as V1CreateOrUpdateMapperRequest, type context$4_V1CreateOrUpdateMapperResponse as V1CreateOrUpdateMapperResponse, type VideoResolution$1 as VideoResolution, WebhookIdentityType$2 as WebhookIdentityType, type context$4__publicSyncEditorDataType as _publicSyncEditorDataType, context$4_syncEditorData as syncEditorData };
2386
+ export { type ActionEvent$2 as ActionEvent, Alignment$2 as Alignment, type AnchorData$2 as AnchorData, type AppEmbedData$2 as AppEmbedData, type AppEmbedDataAppDataOneOf$2 as AppEmbedDataAppDataOneOf, AppType$2 as AppType, type AudioData$2 as AudioData, type Background$2 as Background, type BackgroundBackgroundOneOf$2 as BackgroundBackgroundOneOf, BackgroundType$2 as BackgroundType, type BlockquoteData$2 as BlockquoteData, type BookingData$2 as BookingData, type Border$2 as Border, type BorderColors$2 as BorderColors, type BulletedListData$2 as BulletedListData, type ButtonData$2 as ButtonData, type CellStyle$2 as CellStyle, type CodeBlockData$2 as CodeBlockData, type CollapsibleListData$2 as CollapsibleListData, type ColorData$2 as ColorData, type Colors$2 as Colors, Crop$2 as Crop, type CursorPaging$2 as CursorPaging, type CursorPagingMetadata$2 as CursorPagingMetadata, type CursorQuery$2 as CursorQuery, type CursorQueryPagingMethodOneOf$2 as CursorQueryPagingMethodOneOf, type Cursors$2 as Cursors, type Decoration$2 as Decoration, type DecorationDataOneOf$2 as DecorationDataOneOf, DecorationType$2 as DecorationType, type Design$2 as Design, type Dimensions$2 as Dimensions, Direction$2 as Direction, type DividerData$2 as DividerData, type DocumentStyle$2 as DocumentStyle, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type EmbedData$2 as EmbedData, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventData$2 as EventData, type context$4_ExtendedFields as ExtendedFields, type FileData$2 as FileData, type FileSource$2 as FileSource, type FileSourceDataOneOf$2 as FileSourceDataOneOf, type FontSizeData$2 as FontSizeData, FontType$2 as FontType, type GIF$2 as GIF, type GIFData$2 as GIFData, type GalleryData$2 as GalleryData, type GalleryOptions$2 as GalleryOptions, type context$4_GetPublishedContentRequest as GetPublishedContentRequest, type context$4_GetPublishedContentResponse as GetPublishedContentResponse, type Gradient$2 as Gradient, type HTMLData$2 as HTMLData, type HTMLDataDataOneOf$2 as HTMLDataDataOneOf, type HeadingData$2 as HeadingData, type Height$2 as Height, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type Image$2 as Image, type ImageData$2 as ImageData, InitialExpandedItems$2 as InitialExpandedItems, type Item$2 as Item, type ItemDataOneOf$2 as ItemDataOneOf, type ItemStyle$2 as ItemStyle, type Layout$2 as Layout, LayoutType$2 as LayoutType, LineStyle$2 as LineStyle, type Link$2 as Link, type LinkData$2 as LinkData, type LinkDataOneOf$2 as LinkDataOneOf, type LinkPreviewData$2 as LinkPreviewData, type ListValue$2 as ListValue, type MapData$2 as MapData, type MapSettings$2 as MapSettings, MapType$2 as MapType, type Media$2 as Media, type MentionData$2 as MentionData, type MessageEnvelope$2 as MessageEnvelope, type Metadata$2 as Metadata, type Node$2 as Node, type NodeDataOneOf$2 as NodeDataOneOf, type NodeStyle$2 as NodeStyle, NodeType$2 as NodeType, NullValue$2 as NullValue, type Oembed$2 as Oembed, type Option$2 as Option, type OptionDesign$2 as OptionDesign, type OptionLayout$2 as OptionLayout, type OrderedListData$2 as OrderedListData, Orientation$2 as Orientation, type PDFSettings$2 as PDFSettings, type ParagraphData$2 as ParagraphData, type Permissions$2 as Permissions, type PlaybackOptions$2 as PlaybackOptions, type PluginContainerData$2 as PluginContainerData, PluginContainerDataAlignment$2 as PluginContainerDataAlignment, type PluginContainerDataWidth$2 as PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf$2 as PluginContainerDataWidthDataOneOf, type Poll$2 as Poll, type PollData$2 as PollData, type PollDataLayout$2 as PollDataLayout, type PollDesign$2 as PollDesign, type PollLayout$2 as PollLayout, PollLayoutDirection$2 as PollLayoutDirection, PollLayoutType$2 as PollLayoutType, type context$4_PublishedContent as PublishedContent, type context$4_PublishedContentField as PublishedContentField, type context$4_PublishedContentFieldValueOneOf as PublishedContentFieldValueOneOf, type context$4_PublishedContentQueryBuilder as PublishedContentQueryBuilder, type context$4_PublishedContentQueryResult as PublishedContentQueryResult, type context$4_QueryPublishedContentRequest as QueryPublishedContentRequest, type context$4_QueryPublishedContentResponse as QueryPublishedContentResponse, type context$4_QueryPublishedContentResponseNonNullableFields as QueryPublishedContentResponseNonNullableFields, type Rel$2 as Rel, type RestoreInfo$2 as RestoreInfo, type RichContent$2 as RichContent, type SchemaKey$1 as SchemaKey, SchemaScope$1 as SchemaScope, type Settings$2 as Settings, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, Source$2 as Source, type Spoiler$2 as Spoiler, type SpoilerData$2 as SpoilerData, type Styles$2 as Styles, type TableCellData$2 as TableCellData, type TableData$2 as TableData, Target$2 as Target, TextAlignment$2 as TextAlignment, type TextData$2 as TextData, type TextNodeStyle$2 as TextNodeStyle, type TextStyle$2 as TextStyle, type Thumbnails$2 as Thumbnails, ThumbnailsAlignment$2 as ThumbnailsAlignment, Type$2 as Type, VerticalAlignment$2 as VerticalAlignment, type Video$2 as Video, type VideoData$2 as VideoData, type VideoResolution$1 as VideoResolution, ViewMode$2 as ViewMode, ViewRole$2 as ViewRole, VoteRole$2 as VoteRole, WebhookIdentityType$2 as WebhookIdentityType, Width$2 as Width, WidthType$2 as WidthType, type context$4__publicQueryPublishedContentType as _publicQueryPublishedContentType, context$4_queryPublishedContent as queryPublishedContent };
517
2387
  }
518
2388
 
519
2389
  /**
@@ -6703,4 +8573,4 @@ declare namespace context {
6703
8573
  export { type context_ActionEvent as ActionEvent, type context_Asset as Asset, type context_BaseEventMetadata as BaseEventMetadata, type context_CreateSchemaRequest as CreateSchemaRequest, type context_CreateSchemaResponse as CreateSchemaResponse, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_Cursors as Cursors, type context_DeleteContext as DeleteContext, type context_DeleteSchemaRequest as DeleteSchemaRequest, type context_DeleteSchemaResponse as DeleteSchemaResponse, context_DeleteStatus as DeleteStatus, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, context_FieldType as FieldType, type context_GetSchemaByKey as GetSchemaByKey, type context_GetSchemaByKeyIdentifiers as GetSchemaByKeyIdentifiers, type context_GetSchemaByKeyRequest as GetSchemaByKeyRequest, type context_GetSchemaByKeyResponse as GetSchemaByKeyResponse, type context_GetSchemaByKeyResponseNonNullableFields as GetSchemaByKeyResponseNonNullableFields, type context_GetSchemaRequest as GetSchemaRequest, type context_GetSchemaResponse as GetSchemaResponse, type context_GetSchemaResponseNonNullableFields as GetSchemaResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_ListSiteSchemasOptions as ListSiteSchemasOptions, type context_ListSiteSchemasRequest as ListSiteSchemasRequest, type context_ListSiteSchemasResponse as ListSiteSchemasResponse, type context_ListSiteSchemasResponseNonNullableFields as ListSiteSchemasResponseNonNullableFields, type context_MessageEnvelope as MessageEnvelope, type context_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, context_Namespace as Namespace, type context_NamespaceChanged as NamespaceChanged, type context_PreviewFields as PreviewFields, type context_QuerySchemasOptions as QuerySchemasOptions, type context_QuerySchemasRequest as QuerySchemasRequest, type context_QuerySchemasResponse as QuerySchemasResponse, type context_QuerySchemasResponseNonNullableFields as QuerySchemasResponseNonNullableFields, type context_RestoreInfo as RestoreInfo, type context_Schema as Schema, type context_SchemaCreatedEnvelope as SchemaCreatedEnvelope, type context_SchemaDeletedEnvelope as SchemaDeletedEnvelope, type context_SchemaField as SchemaField, type context_SchemaKey as SchemaKey, type context_SchemaNonNullableFields as SchemaNonNullableFields, context_SchemaScope as SchemaScope, type context_SchemaUpdatedEnvelope as SchemaUpdatedEnvelope, type context_SchemasQueryBuilder as SchemasQueryBuilder, type context_SchemasQueryResult as SchemasQueryResult, type context_ServiceProvisioned as ServiceProvisioned, type context_ServiceRemoved as ServiceRemoved, type context_SiteCreated as SiteCreated, context_SiteCreatedContext as SiteCreatedContext, type context_SiteDeleted as SiteDeleted, type context_SiteHardDeleted as SiteHardDeleted, type context_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context_SitePublished as SitePublished, type context_SiteRenamed as SiteRenamed, type context_SiteTransferred as SiteTransferred, type context_SiteUndeleted as SiteUndeleted, type context_SiteUnpublished as SiteUnpublished, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_State as State, type context_StudioAssigned as StudioAssigned, type context_StudioUnassigned as StudioUnassigned, type context_UpdateSchemaRequest as UpdateSchemaRequest, type context_UpdateSchemaResponse as UpdateSchemaResponse, context_WebhookIdentityType as WebhookIdentityType, type context__publicGetSchemaByKeyType as _publicGetSchemaByKeyType, type context__publicGetSchemaType as _publicGetSchemaType, type context__publicListSiteSchemasType as _publicListSiteSchemasType, type context__publicOnSchemaCreatedType as _publicOnSchemaCreatedType, type context__publicOnSchemaDeletedType as _publicOnSchemaDeletedType, type context__publicOnSchemaUpdatedType as _publicOnSchemaUpdatedType, type context__publicQuerySchemasType as _publicQuerySchemasType, context_getSchema as getSchema, context_getSchemaByKey as getSchemaByKey, context_listSiteSchemas as listSiteSchemas, context_onSchemaCreated as onSchemaCreated, context_onSchemaDeleted as onSchemaDeleted, context_onSchemaUpdated as onSchemaUpdated, onSchemaCreated$1 as publicOnSchemaCreated, onSchemaDeleted$1 as publicOnSchemaDeleted, onSchemaUpdated$1 as publicOnSchemaUpdated, context_querySchemas as querySchemas };
6704
8574
  }
6705
8575
 
6706
- export { context$4 as entityMapper, context$3 as machineTranslation, context$2 as siteTranslator, context$1 as translationContents, context as translationSchemas };
8576
+ export { context$5 as entityMapper, context$3 as machineTranslation, context$2 as siteTranslator, context$1 as translationContents, context$4 as translationPublishedContents, context as translationSchemas };