@wix/auto_sdk_events_forms 1.0.51 → 1.0.53

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.
@@ -260,6 +260,24 @@ interface TicketsUnavailableMessages {
260
260
  /** "Explore other events" call-to-action label text. */
261
261
  exploreEventsActionLabel?: string;
262
262
  }
263
+ interface FormInputControlAdded {
264
+ /** Event ID. */
265
+ eventId?: string;
266
+ /** Input control. */
267
+ inputControl?: InputControl;
268
+ }
269
+ interface FormInputControlUpdated {
270
+ /** Event ID. */
271
+ eventId?: string;
272
+ /** Input control. */
273
+ updatedInputControl?: InputControl;
274
+ }
275
+ interface FormInputControlDeleted {
276
+ /** Event ID. */
277
+ eventId?: string;
278
+ /** Input control. */
279
+ deletedInputControl?: InputControl;
280
+ }
263
281
  interface GetFormRequest {
264
282
  /**
265
283
  * Event ID to which the form belongs.
@@ -267,6 +285,13 @@ interface GetFormRequest {
267
285
  */
268
286
  eventId: string;
269
287
  }
288
+ declare enum RequestedFields {
289
+ UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
290
+ /** Include soft deleted input controls in the response. */
291
+ DELETED = "DELETED"
292
+ }
293
+ /** @enumType */
294
+ type RequestedFieldsWithLiterals = RequestedFields | 'UNKNOWN_REQUESTED_FIELD' | 'DELETED';
270
295
  interface GetFormResponse {
271
296
  /**
272
297
  * Event form.
@@ -607,15 +632,2803 @@ interface PublishDraftResponse {
607
632
  /** Event form. */
608
633
  form?: Form;
609
634
  }
610
- interface DiscardDraftRequest {
635
+ interface EventUpdated {
636
+ /** Event update timestamp in ISO UTC format. */
637
+ timestamp?: Date | null;
611
638
  /**
612
- * Event ID to which the form belongs.
639
+ * Event ID.
613
640
  * @format GUID
614
641
  */
615
- eventId: string;
642
+ eventId?: string;
643
+ /** Event location. */
644
+ location?: Location;
645
+ /** Event schedule configuration. */
646
+ scheduleConfig?: ScheduleConfig;
647
+ /** Event title. */
648
+ title?: string;
649
+ /**
650
+ * Whether schedule configuration was updated.
651
+ * @deprecated
652
+ */
653
+ scheduleConfigUpdated?: boolean;
654
+ /** Updated event */
655
+ event?: Event;
616
656
  }
617
- interface DiscardDraftResponse {
657
+ interface Location {
658
+ /**
659
+ * Location name.
660
+ * @maxLength 50
661
+ */
662
+ name?: string | null;
663
+ /** Location map coordinates. */
664
+ coordinates?: MapCoordinates;
665
+ /**
666
+ * Single line address representation.
667
+ * @maxLength 300
668
+ */
669
+ address?: string | null;
670
+ /** Location type. */
671
+ type?: LocationTypeWithLiterals;
672
+ /**
673
+ * Full address derived from formatted single line `address`.
674
+ * When `full_address` is used to create or update the event, deprecated `address` and `coordinates` are ignored.
675
+ * If provided `full_address` has empty `formatted_address` or `coordinates`, it will be auto-completed using Atlas service.
676
+ *
677
+ * Migration notes:
678
+ * - `full_address.formatted_address` is equivalent to `address`.
679
+ * - `full_address.geocode` is equivalent to `coordinates`.
680
+ */
681
+ fullAddress?: Address;
682
+ /**
683
+ * Defines event location as TBD (To Be Determined).
684
+ * When event location is not yet defined, `name` is displayed instead of location address.
685
+ * `coordinates`, `address`, `type` and `full_address` are not required when location is TBD.
686
+ */
687
+ tbd?: boolean | null;
688
+ }
689
+ interface MapCoordinates {
690
+ /**
691
+ * Latitude.
692
+ * @min -90
693
+ * @max 90
694
+ */
695
+ lat?: number;
696
+ /**
697
+ * Longitude.
698
+ * @min -180
699
+ * @max 180
700
+ */
701
+ lng?: number;
702
+ }
703
+ declare enum LocationType {
704
+ VENUE = "VENUE",
705
+ ONLINE = "ONLINE"
706
+ }
707
+ /** @enumType */
708
+ type LocationTypeWithLiterals = LocationType | 'VENUE' | 'ONLINE';
709
+ /** Physical address */
710
+ interface Address extends AddressStreetOneOf {
711
+ /** a break down of the street to number and street name */
712
+ streetAddress?: StreetAddress;
713
+ /** Main address line (usually street and number) as free text */
714
+ addressLine?: string | null;
715
+ /**
716
+ * country code
717
+ * @format COUNTRY
718
+ */
719
+ country?: string | null;
720
+ /** subdivision (usually state or region) code according to ISO 3166-2 */
721
+ subdivision?: string | null;
722
+ /** city name */
723
+ city?: string | null;
724
+ /** zip/postal code */
725
+ postalCode?: string | null;
726
+ /** Free text providing more detailed address info. Usually contains Apt, Suite, Floor */
727
+ addressLine2?: string | null;
728
+ /** A string containing the human-readable address of this location */
729
+ formattedAddress?: string | null;
730
+ /** Free text for human-to-human textual orientation aid purposes */
731
+ hint?: string | null;
732
+ /** coordinates of the physical address */
733
+ geocode?: AddressLocation;
734
+ /** country full-name */
735
+ countryFullname?: string | null;
736
+ /**
737
+ * multi-level subdivisions from top to bottom
738
+ * @maxSize 6
739
+ */
740
+ subdivisions?: Subdivision[];
741
+ }
742
+ /** @oneof */
743
+ interface AddressStreetOneOf {
744
+ /** a break down of the street to number and street name */
745
+ streetAddress?: StreetAddress;
746
+ /** Main address line (usually street and number) as free text */
747
+ addressLine?: string | null;
748
+ }
749
+ interface StreetAddress {
750
+ /** street number */
751
+ number?: string;
752
+ /** street name */
753
+ name?: string;
754
+ }
755
+ interface AddressLocation {
756
+ /**
757
+ * address latitude coordinates
758
+ * @min -90
759
+ * @max 90
760
+ */
761
+ latitude?: number | null;
762
+ /**
763
+ * address longitude coordinates
764
+ * @min -180
765
+ * @max 180
766
+ */
767
+ longitude?: number | null;
768
+ }
769
+ interface Subdivision {
770
+ /** subdivision short code */
771
+ code?: string;
772
+ /** subdivision full-name */
773
+ name?: string;
774
+ }
775
+ declare enum SubdivisionType {
776
+ UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
777
+ /** State */
778
+ ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
779
+ /** County */
780
+ ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
781
+ /** City/town */
782
+ ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
783
+ /** Neighborhood/quarter */
784
+ ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
785
+ /** Street/block */
786
+ ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
787
+ /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
788
+ COUNTRY = "COUNTRY"
789
+ }
790
+ /** @enumType */
791
+ type SubdivisionTypeWithLiterals = SubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
792
+ interface ScheduleConfig {
793
+ /**
794
+ * Defines event as TBD (To Be Determined) schedule.
795
+ * When event time is not yet defined, TBD message is displayed instead of event start and end times.
796
+ * `startDate`, `endDate` and `timeZoneId` are not required when schedule is TBD.
797
+ */
798
+ scheduleTbd?: boolean;
799
+ /**
800
+ * TBD message.
801
+ * @maxLength 100
802
+ */
803
+ scheduleTbdMessage?: string | null;
804
+ /** Event start timestamp. */
805
+ startDate?: Date | null;
806
+ /** Event end timestamp. */
807
+ endDate?: Date | null;
808
+ /**
809
+ * Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.
810
+ * @maxLength 100
811
+ */
812
+ timeZoneId?: string | null;
813
+ /** Whether end date is hidden in the formatted schedule. */
814
+ endDateHidden?: boolean;
815
+ /** Whether time zone is displayed in formatted schedule. */
816
+ showTimeZone?: boolean;
817
+ /** Event recurrences. */
818
+ recurrences?: Recurrences;
819
+ }
820
+ interface Recurrences {
821
+ /**
822
+ * Event occurrences.
823
+ * @maxSize 1000
824
+ */
825
+ occurrences?: Occurrence[];
826
+ /**
827
+ * Recurring event category ID.
828
+ * @readonly
829
+ */
830
+ categoryId?: string | null;
831
+ /**
832
+ * Recurrence status.
833
+ * @readonly
834
+ */
835
+ status?: StatusWithLiterals;
836
+ }
837
+ interface Occurrence {
838
+ /** Event start timestamp. */
839
+ startDate?: Date | null;
840
+ /** Event end timestamp. */
841
+ endDate?: Date | null;
842
+ /**
843
+ * Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.
844
+ * @maxLength 100
845
+ */
846
+ timeZoneId?: string | null;
847
+ /** Whether time zone is displayed in formatted schedule. */
848
+ showTimeZone?: boolean;
849
+ }
850
+ declare enum Status {
851
+ /** Event occurs only once. */
852
+ ONE_TIME = "ONE_TIME",
853
+ /** Event is recurring. */
854
+ RECURRING = "RECURRING",
855
+ /** Marks the next upcoming occurrence of the recurring event. */
856
+ RECURRING_NEXT = "RECURRING_NEXT",
857
+ /** Marks the most recent ended occurrence of the recurring event. */
858
+ RECURRING_LAST_ENDED = "RECURRING_LAST_ENDED",
859
+ /** Marks the most recent canceled occurrence of the recurring event. */
860
+ RECURRING_LAST_CANCELED = "RECURRING_LAST_CANCELED"
861
+ }
862
+ /** @enumType */
863
+ type StatusWithLiterals = Status | 'ONE_TIME' | 'RECURRING' | 'RECURRING_NEXT' | 'RECURRING_LAST_ENDED' | 'RECURRING_LAST_CANCELED';
864
+ interface Event {
865
+ /**
866
+ * Event ID.
867
+ * @format GUID
868
+ * @readonly
869
+ */
870
+ id?: string;
871
+ /** Event location. */
872
+ location?: Location;
873
+ /** Event scheduling. */
874
+ scheduling?: Scheduling;
875
+ /** Event title. */
876
+ title?: string;
877
+ /** Event description. */
878
+ description?: string;
879
+ /** Rich-text content that are displayed in a site's "About Event" section (HTML). */
880
+ about?: string;
881
+ /** Main event image. */
882
+ mainImage?: Image;
883
+ /** Event slug URL (generated from event title). */
884
+ slug?: string;
885
+ /** ISO 639-1 language code of the event (used in content translations). */
886
+ language?: string;
887
+ /** Event creation timestamp. */
888
+ created?: Date | null;
889
+ /** Event modified timestamp. */
890
+ modified?: Date | null;
891
+ /** Event status. */
892
+ status?: EventStatusWithLiterals;
893
+ /** RSVP or ticketing registration details. */
894
+ registration?: Registration;
895
+ /** "Add to calendar" URLs. */
896
+ calendarLinks?: CalendarLinks;
897
+ /** Event page URL components. */
898
+ eventPageUrl?: SiteUrl;
899
+ /** Event registration form. */
900
+ form?: Form;
901
+ /** Event dashboard summary of RSVP / ticket sales. */
902
+ dashboard?: Dashboard;
903
+ /** Instance ID of the site where event is hosted. */
904
+ instanceId?: string;
905
+ /** Guest list configuration. */
906
+ guestListConfig?: GuestListConfig;
907
+ /**
908
+ * Event creator user ID.
909
+ * @maxLength 36
910
+ */
911
+ userId?: string;
912
+ /** Event discussion feed. For internal use. */
913
+ feed?: Feed;
914
+ /** Online conferencing details. */
915
+ onlineConferencing?: OnlineConferencing;
916
+ /** SEO settings. */
917
+ seoSettings?: SeoSettings;
918
+ /** Assigned contacts label key. */
919
+ assignedContactsLabel?: string | null;
920
+ /** Agenda details. */
921
+ agenda?: Agenda;
922
+ /** Categories this event is assigned to. */
923
+ categories?: Category[];
924
+ /** Visual settings for event. */
925
+ eventDisplaySettings?: EventDisplaySettings;
926
+ /** Rich content that are displayed in a site's "About Event" section. Successor to `about` field. */
927
+ longDescription?: RichContent;
928
+ /**
929
+ * Event publish timestamp.
930
+ * @readonly
931
+ */
932
+ publishedDate?: Date | null;
933
+ }
934
+ interface Scheduling {
935
+ /** Schedule configuration. */
936
+ config?: ScheduleConfig;
937
+ /** Formatted schedule representation. */
938
+ formatted?: string;
939
+ /** Formatted start date of the event (empty for TBD schedules). */
940
+ startDateFormatted?: string;
941
+ /** Formatted start time of the event (empty for TBD schedules). */
942
+ startTimeFormatted?: string;
943
+ /** Formatted end date of the event (empty for TBD schedules or when end date is hidden). */
944
+ endDateFormatted?: string;
945
+ /** Formatted end time of the event (empty for TBD schedules or when end date is hidden). */
946
+ endTimeFormatted?: string;
947
+ }
948
+ interface Image {
949
+ /**
950
+ * WixMedia image ID.
951
+ * @minLength 1
952
+ * @maxLength 200
953
+ */
954
+ id?: string | null;
955
+ /** Image URL. */
956
+ url?: string;
957
+ /** Original image height. */
958
+ height?: number | null;
959
+ /** Original image width. */
960
+ width?: number | null;
961
+ /** Image alt text. Optional. */
962
+ altText?: string | null;
963
+ }
964
+ declare enum EventStatus {
965
+ /** Event is public and scheduled to start */
966
+ SCHEDULED = "SCHEDULED",
967
+ /** Event has started */
968
+ STARTED = "STARTED",
969
+ /** Event has ended */
970
+ ENDED = "ENDED",
971
+ /** Event was canceled */
972
+ CANCELED = "CANCELED"
973
+ }
974
+ /** @enumType */
975
+ type EventStatusWithLiterals = EventStatus | 'SCHEDULED' | 'STARTED' | 'ENDED' | 'CANCELED';
976
+ interface Registration {
977
+ /** Event type. */
978
+ type?: EventTypeWithLiterals;
979
+ /** Event registration status. */
980
+ status?: RegistrationStatusWithLiterals;
981
+ /** RSVP collection details. */
982
+ rsvpCollection?: RsvpCollection;
983
+ /** Ticketing details. */
984
+ ticketing?: Ticketing;
985
+ /** External registration details. */
986
+ external?: ExternalEvent;
987
+ /** Types of users allowed to register. */
988
+ restrictedTo?: VisitorTypeWithLiterals;
989
+ /** Initial event type which was set when creating an event. */
990
+ initialType?: EventTypeWithLiterals;
991
+ }
992
+ declare enum EventType {
993
+ /** Type not available for this request fieldset */
994
+ NA_EVENT_TYPE = "NA_EVENT_TYPE",
995
+ /** Registration via RSVP */
996
+ RSVP = "RSVP",
997
+ /** Registration via ticket purchase */
998
+ TICKETS = "TICKETS",
999
+ /** External registration */
1000
+ EXTERNAL = "EXTERNAL",
1001
+ /** Registration not available */
1002
+ NO_REGISTRATION = "NO_REGISTRATION"
1003
+ }
1004
+ /** @enumType */
1005
+ type EventTypeWithLiterals = EventType | 'NA_EVENT_TYPE' | 'RSVP' | 'TICKETS' | 'EXTERNAL' | 'NO_REGISTRATION';
1006
+ declare enum RegistrationStatus {
1007
+ /** Registration status is not applicable */
1008
+ NA_REGISTRATION_STATUS = "NA_REGISTRATION_STATUS",
1009
+ /** Registration to event is closed */
1010
+ CLOSED = "CLOSED",
1011
+ /** Registration to event is closed manually */
1012
+ CLOSED_MANUALLY = "CLOSED_MANUALLY",
1013
+ /** Registration is open via RSVP */
1014
+ OPEN_RSVP = "OPEN_RSVP",
1015
+ /** Registration to event waitlist is open via RSVP */
1016
+ OPEN_RSVP_WAITLIST = "OPEN_RSVP_WAITLIST",
1017
+ /** Registration is open via ticket purchase */
1018
+ OPEN_TICKETS = "OPEN_TICKETS",
1019
+ /** Registration is open via external URL */
1020
+ OPEN_EXTERNAL = "OPEN_EXTERNAL",
1021
+ /** Registration will be open via RSVP */
1022
+ SCHEDULED_RSVP = "SCHEDULED_RSVP"
1023
+ }
1024
+ /** @enumType */
1025
+ type RegistrationStatusWithLiterals = RegistrationStatus | 'NA_REGISTRATION_STATUS' | 'CLOSED' | 'CLOSED_MANUALLY' | 'OPEN_RSVP' | 'OPEN_RSVP_WAITLIST' | 'OPEN_TICKETS' | 'OPEN_EXTERNAL' | 'SCHEDULED_RSVP';
1026
+ interface RsvpCollection {
1027
+ /** RSVP collection configuration. */
1028
+ config?: RsvpCollectionConfig;
1029
+ }
1030
+ interface RsvpCollectionConfig {
1031
+ /** Defines the supported RSVP statuses. */
1032
+ rsvpStatusOptions?: RsvpStatusOptionsWithLiterals;
1033
+ /**
1034
+ * Total guest limit available to register to the event.
1035
+ * Additional guests per RSVP are counted towards total guests.
1036
+ */
1037
+ limit?: number | null;
1038
+ /** Whether a waitlist is opened when total guest limit is reached, allowing guests to create RSVP with WAITING RSVP status. */
1039
+ waitlist?: boolean;
1040
+ /** Registration start timestamp. */
1041
+ startDate?: Date | null;
1042
+ /** Registration end timestamp. */
1043
+ endDate?: Date | null;
1044
+ }
1045
+ declare enum RsvpStatusOptions {
1046
+ /** Only YES RSVP status is available for RSVP registration */
1047
+ YES_ONLY = "YES_ONLY",
1048
+ /** YES and NO RSVP status options are available for the registration */
1049
+ YES_AND_NO = "YES_AND_NO"
1050
+ }
1051
+ /** @enumType */
1052
+ type RsvpStatusOptionsWithLiterals = RsvpStatusOptions | 'YES_ONLY' | 'YES_AND_NO';
1053
+ interface RsvpConfirmationMessages {
1054
+ /** Messages displayed when an RSVP's `status` is set to `"YES"`. */
1055
+ positiveConfirmation?: RsvpConfirmationMessagesPositiveResponseConfirmation;
1056
+ /** Messages displayed when an RSVP's `status` is set to `"WAITLIST"`, for when the event is full and a waitlist is available). */
1057
+ waitlistMessages?: RsvpConfirmationMessagesPositiveResponseConfirmation;
1058
+ /** Messages displayed when an RSVP's `status` is set to `"NO"`. */
1059
+ negativeMessages?: RsvpConfirmationMessagesNegativeResponseConfirmation;
1060
+ }
1061
+ /** Confirmation shown after then registration when RSVP response is positive. */
1062
+ interface RsvpConfirmationMessagesPositiveResponseConfirmation {
1063
+ /**
1064
+ * Confirmation message title.
1065
+ * @maxLength 150
1066
+ */
1067
+ title?: string | null;
1068
+ /**
1069
+ * Confirmation message text.
1070
+ * @maxLength 350
1071
+ */
1072
+ message?: string | null;
1073
+ /**
1074
+ * "Add to calendar" call-to-action label text.
1075
+ * @maxLength 50
1076
+ */
1077
+ addToCalendarActionLabel?: string | null;
1078
+ /**
1079
+ * "Share event" call-to-action label text.
1080
+ * @maxLength 50
1081
+ */
1082
+ shareActionLabel?: string | null;
1083
+ }
1084
+ /** Confirmation shown after then registration when RSVP response is negative. */
1085
+ interface RsvpConfirmationMessagesNegativeResponseConfirmation {
1086
+ /**
1087
+ * Confirmation message title.
1088
+ * @maxLength 150
1089
+ */
1090
+ title?: string | null;
1091
+ /**
1092
+ * "Share event" call-to-action label text.
1093
+ * @maxLength 50
1094
+ */
1095
+ shareActionLabel?: string | null;
1096
+ }
1097
+ interface Ticketing {
1098
+ /**
1099
+ * Deprecated.
1100
+ * @deprecated
1101
+ */
1102
+ lowestPrice?: string | null;
1103
+ /**
1104
+ * Deprecated.
1105
+ * @deprecated
1106
+ */
1107
+ highestPrice?: string | null;
1108
+ /** Currency used in event transactions. */
1109
+ currency?: string | null;
1110
+ /** Ticketing configuration. */
1111
+ config?: TicketingConfig;
1112
+ /**
1113
+ * Price of lowest priced ticket.
1114
+ * @readonly
1115
+ */
1116
+ lowestTicketPrice?: Money;
1117
+ /**
1118
+ * Price of highest priced ticket.
1119
+ * @readonly
1120
+ */
1121
+ highestTicketPrice?: Money;
1122
+ /**
1123
+ * Formatted price of lowest priced ticket.
1124
+ * @readonly
1125
+ */
1126
+ lowestTicketPriceFormatted?: string | null;
1127
+ /**
1128
+ * Formatted price of highest priced ticket.
1129
+ * @readonly
1130
+ */
1131
+ highestTicketPriceFormatted?: string | null;
1132
+ /**
1133
+ * Whether all tickets are sold for this event.
1134
+ * @readonly
1135
+ */
1136
+ soldOut?: boolean | null;
1137
+ }
1138
+ interface TicketingConfig {
1139
+ /** Whether the form must be filled out separately for each ticket. */
1140
+ guestAssignedTickets?: boolean;
1141
+ /** Tax configuration. */
1142
+ taxConfig?: TaxConfig;
1143
+ /**
1144
+ * Limit of tickets that can be purchased per order, default 20.
1145
+ * @max 50
1146
+ */
1147
+ ticketLimitPerOrder?: number;
1148
+ /**
1149
+ * Duration for which the tickets being bought are reserved.
1150
+ * @min 5
1151
+ * @max 30
1152
+ */
1153
+ reservationDurationInMinutes?: number | null;
1154
+ }
1155
+ interface TaxConfig {
1156
+ /** Tax application settings. */
1157
+ type?: TaxTypeWithLiterals;
1158
+ /**
1159
+ * Tax name.
1160
+ * @minLength 1
1161
+ * @maxLength 10
1162
+ */
1163
+ name?: string | null;
1164
+ /**
1165
+ * Tax rate (e.g.,`21.55`).
1166
+ * @decimalValue options { gte:0.001, lte:100, maxScale:3 }
1167
+ */
1168
+ rate?: string | null;
1169
+ /** Applies taxes for donations, default true. */
1170
+ appliesToDonations?: boolean | null;
1171
+ }
1172
+ declare enum TaxType {
1173
+ /** Tax is included in the ticket price. */
1174
+ INCLUDED = "INCLUDED",
1175
+ /** Tax is added to the order at the checkout. */
1176
+ ADDED = "ADDED",
1177
+ /** Tax is added to the final total at the checkout. */
1178
+ ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
1179
+ }
1180
+ /** @enumType */
1181
+ type TaxTypeWithLiterals = TaxType | 'INCLUDED' | 'ADDED' | 'ADDED_AT_CHECKOUT';
1182
+ interface TicketsConfirmationMessages {
1183
+ /**
1184
+ * Confirmation message title.
1185
+ * @maxLength 150
1186
+ */
1187
+ title?: string | null;
1188
+ /**
1189
+ * Confirmation message text.
1190
+ * @maxLength 350
1191
+ */
1192
+ message?: string | null;
1193
+ /**
1194
+ * "Download tickets" call-to-action label text.
1195
+ * @maxLength 50
1196
+ */
1197
+ downloadTicketsLabel?: string | null;
1198
+ /**
1199
+ * "Add to calendar" call-to-action label text.
1200
+ * @maxLength 50
1201
+ */
1202
+ addToCalendarActionLabel?: string | null;
1203
+ /**
1204
+ * "Share event" call-to-action label text.
1205
+ * @maxLength 50
1206
+ */
1207
+ shareActionLabel?: string | null;
1208
+ }
1209
+ declare enum CheckoutType {
1210
+ UNKNOWN_CHECKOUT_TYPE = "UNKNOWN_CHECKOUT_TYPE",
1211
+ /** Checkout using Events App. */
1212
+ EVENTS_APP = "EVENTS_APP",
1213
+ /** Checkout using Ecomm Platform. */
1214
+ ECOMM_PLATFORM = "ECOMM_PLATFORM"
1215
+ }
1216
+ /** @enumType */
1217
+ type CheckoutTypeWithLiterals = CheckoutType | 'UNKNOWN_CHECKOUT_TYPE' | 'EVENTS_APP' | 'ECOMM_PLATFORM';
1218
+ interface Money {
1219
+ /**
1220
+ * *Deprecated:** Use `value` instead.
1221
+ * @format DECIMAL_VALUE
1222
+ * @deprecated
1223
+ */
1224
+ amount?: string;
1225
+ /**
1226
+ * 3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `USD`.
1227
+ * @format CURRENCY
1228
+ */
1229
+ currency?: string;
1230
+ /**
1231
+ * Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, starts with a single (-), to indicate that the amount is negative.
1232
+ * @format DECIMAL_VALUE
1233
+ */
1234
+ value?: string | null;
1235
+ }
1236
+ interface ExternalEvent {
1237
+ /** External event registration URL. */
1238
+ registration?: string;
1239
+ }
1240
+ declare enum VisitorType {
1241
+ /** Site visitor (including member) */
1242
+ VISITOR = "VISITOR",
1243
+ /** Site member */
1244
+ MEMBER = "MEMBER",
1245
+ /** Site visitor or member */
1246
+ VISITOR_OR_MEMBER = "VISITOR_OR_MEMBER"
1247
+ }
1248
+ /** @enumType */
1249
+ type VisitorTypeWithLiterals = VisitorType | 'VISITOR' | 'MEMBER' | 'VISITOR_OR_MEMBER';
1250
+ interface CalendarLinks {
1251
+ /** "Add to Google calendar" URL. */
1252
+ google?: string;
1253
+ /** "Download ICS calendar file" URL. */
1254
+ ics?: string;
1255
+ }
1256
+ /** Site URL components */
1257
+ interface SiteUrl {
1258
+ /**
1259
+ * Base URL. For premium sites, this will be the domain.
1260
+ * For free sites, this would be site URL (e.g `mysite.wixsite.com/mysite`)
1261
+ */
1262
+ base?: string;
1263
+ /** The path to that page - e.g `/my-events/weekly-meetup-2` */
1264
+ path?: string;
1265
+ }
1266
+ interface Dashboard {
1267
+ /** Guest RSVP summary. */
1268
+ rsvpSummary?: RsvpSummary;
1269
+ /**
1270
+ * Summary of revenue and tickets sold.
1271
+ * (Archived orders are not included).
1272
+ */
1273
+ ticketingSummary?: TicketingSummary;
1274
+ }
1275
+ interface RsvpSummary {
1276
+ /** Total number of RSVPs. */
1277
+ total?: number;
1278
+ /** Number of RSVPs with status `YES`. */
1279
+ yes?: number;
1280
+ /** Number of RSVPs with status `NO`. */
1281
+ no?: number;
1282
+ /** Number of RSVPs in waitlist. */
1283
+ waitlist?: number;
1284
+ }
1285
+ interface TicketingSummary {
1286
+ /** Number of tickets sold. */
1287
+ tickets?: number;
1288
+ /**
1289
+ * Total revenue, excluding fees.
1290
+ * (taxes and payment provider fees are not deducted.)
1291
+ */
1292
+ revenue?: Money;
1293
+ /** Whether currency is locked and cannot be changed (generally occurs after the first order in the specified currency has been created). */
1294
+ currencyLocked?: boolean;
1295
+ /** Number of orders placed. */
1296
+ orders?: number;
1297
+ /** Total balance of confirmed transactions. */
1298
+ totalSales?: Money;
1299
+ }
1300
+ interface GuestListConfig {
1301
+ /** Whether members can see other members attending the event (defaults to true). */
1302
+ publicGuestList?: boolean;
1303
+ }
1304
+ interface Feed {
1305
+ /** Event discussion feed token. */
1306
+ token?: string;
1307
+ }
1308
+ interface OnlineConferencing {
1309
+ config?: OnlineConferencingConfig;
1310
+ session?: OnlineConferencingSession;
618
1311
  }
1312
+ interface OnlineConferencingConfig {
1313
+ /**
1314
+ * Whether online conferencing is enabled (not supported for TBD schedules).
1315
+ * When enabled, links to join conferencing are generated and provided to guests.
1316
+ */
1317
+ enabled?: boolean;
1318
+ /**
1319
+ * Conferencing provider ID.
1320
+ * @format GUID
1321
+ */
1322
+ providerId?: string | null;
1323
+ /** Conference type */
1324
+ conferenceType?: ConferenceTypeWithLiterals;
1325
+ }
1326
+ declare enum ConferenceType {
1327
+ /** Everyone in the meeting can publish and subscribe video and audio. */
1328
+ MEETING = "MEETING",
1329
+ /** Guests can only subscribe to video and audio. */
1330
+ WEBINAR = "WEBINAR"
1331
+ }
1332
+ /** @enumType */
1333
+ type ConferenceTypeWithLiterals = ConferenceType | 'MEETING' | 'WEBINAR';
1334
+ interface OnlineConferencingSession {
1335
+ /**
1336
+ * Link for event host to start the online conference session.
1337
+ * @readonly
1338
+ */
1339
+ hostLink?: string;
1340
+ /**
1341
+ * Link for guests to join the online conference session.
1342
+ * @readonly
1343
+ */
1344
+ guestLink?: string;
1345
+ /**
1346
+ * The password required to join online conferencing session (when relevant).
1347
+ * @readonly
1348
+ */
1349
+ password?: string | null;
1350
+ /**
1351
+ * Indicates that session was created successfully on providers side.
1352
+ * @readonly
1353
+ */
1354
+ sessionCreated?: boolean | null;
1355
+ /**
1356
+ * Unique session id
1357
+ * @readonly
1358
+ */
1359
+ sessionId?: string | null;
1360
+ }
1361
+ interface SeoSettings {
1362
+ /**
1363
+ * URL slug
1364
+ * @maxLength 130
1365
+ */
1366
+ slug?: string;
1367
+ /** Advanced SEO data */
1368
+ advancedSeoData?: SeoSchema;
1369
+ /**
1370
+ * Hidden from SEO Site Map
1371
+ * @readonly
1372
+ */
1373
+ hidden?: boolean | null;
1374
+ }
1375
+ /**
1376
+ * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.
1377
+ * The search engines use this information for ranking purposes, or to display snippets in the search results.
1378
+ * This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.
1379
+ */
1380
+ interface SeoSchema {
1381
+ /** SEO tag information. */
1382
+ tags?: Tag[];
1383
+ /** SEO general settings. */
1384
+ settings?: Settings;
1385
+ }
1386
+ interface Keyword {
1387
+ /** Keyword value. */
1388
+ term?: string;
1389
+ /** Whether the keyword is the main focus keyword. */
1390
+ isMain?: boolean;
1391
+ /**
1392
+ * The source that added the keyword terms to the SEO settings.
1393
+ * @maxLength 1000
1394
+ */
1395
+ origin?: string | null;
1396
+ }
1397
+ interface Tag {
1398
+ /**
1399
+ * SEO tag type.
1400
+ *
1401
+ *
1402
+ * Supported values: `title`, `meta`, `script`, `link`.
1403
+ */
1404
+ type?: string;
1405
+ /**
1406
+ * A `{"key": "value"}` pair object where each SEO tag property (`"name"`, `"content"`, `"rel"`, `"href"`) contains a value.
1407
+ * For example: `{"name": "description", "content": "the description itself"}`.
1408
+ */
1409
+ props?: Record<string, any> | null;
1410
+ /** SEO tag metadata. For example, `{"height": 300, "width": 240}`. */
1411
+ meta?: Record<string, any> | null;
1412
+ /** SEO tag inner content. For example, `<title> inner content </title>`. */
1413
+ children?: string;
1414
+ /** Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages). */
1415
+ custom?: boolean;
1416
+ /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */
1417
+ disabled?: boolean;
1418
+ }
1419
+ interface Settings {
1420
+ /**
1421
+ * Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.
1422
+ *
1423
+ *
1424
+ * Default: `false` (automatical redirect is enabled).
1425
+ */
1426
+ preventAutoRedirect?: boolean;
1427
+ /**
1428
+ * User-selected keyword terms for a specific page.
1429
+ * @maxSize 5
1430
+ */
1431
+ keywords?: Keyword[];
1432
+ }
1433
+ interface Agenda {
1434
+ /** Whether the schedule is enabled for the event. */
1435
+ enabled?: boolean;
1436
+ /**
1437
+ * Agenda page URL.
1438
+ * @readonly
1439
+ */
1440
+ pageUrl?: SiteUrl;
1441
+ }
1442
+ /**
1443
+ * A Category is a classification object that groups related events on a site so you can organize and display them by themes, venues, or other facets.
1444
+ *
1445
+ * You can manage Categories, assign events to them, and use them to control the selection and order of events across different pages and widgets.
1446
+ *
1447
+ * Read more about [Categories](https://support.wix.com/en/article/creating-and-displaying-event-categories).
1448
+ */
1449
+ interface Category {
1450
+ /**
1451
+ * Category ID.
1452
+ * @format GUID
1453
+ * @readonly
1454
+ */
1455
+ id?: string;
1456
+ /**
1457
+ * Category name.
1458
+ * @minLength 1
1459
+ * @maxLength 30
1460
+ */
1461
+ name?: string;
1462
+ /**
1463
+ * Date and time when category was created.
1464
+ * @readonly
1465
+ */
1466
+ createdDate?: Date | null;
1467
+ /**
1468
+ * The total number of draft and published events assigned to the category.
1469
+ * @readonly
1470
+ */
1471
+ counts?: CategoryCounts;
1472
+ /**
1473
+ * Category state. Possible values:
1474
+ *
1475
+ * `MANUAL`: Category is created manually by the user.
1476
+ * `AUTO`: Category is created automatically.
1477
+ * `RECURRING_EVENT`: Category is created automatically when publishing recurring events.
1478
+ * `HIDDEN`: Category can't be seen.
1479
+ *
1480
+ * Default: `MANUAL`.
1481
+ *
1482
+ * **Note:** The WIX_EVENTS.MANAGE_AUTO_CATEGORIES permission scope is required to use states other than `MANUAL`.
1483
+ * @maxSize 3
1484
+ */
1485
+ states?: StateWithLiterals[];
1486
+ }
1487
+ interface CategoryCounts {
1488
+ /** Total number of draft events assigned to the category. */
1489
+ assignedEventsCount?: number | null;
1490
+ /** Total number of published events assigned to the category. Deleted events are excluded. */
1491
+ assignedDraftEventsCount?: number | null;
1492
+ }
1493
+ declare enum State {
1494
+ /** Created manually by the user. */
1495
+ MANUAL = "MANUAL",
1496
+ /** Created automatically. */
1497
+ AUTO = "AUTO",
1498
+ /** Created when publishing recurring events. */
1499
+ RECURRING_EVENT = "RECURRING_EVENT",
1500
+ /** Category is hidden. */
1501
+ HIDDEN = "HIDDEN"
1502
+ }
1503
+ /** @enumType */
1504
+ type StateWithLiterals = State | 'MANUAL' | 'AUTO' | 'RECURRING_EVENT' | 'HIDDEN';
1505
+ interface EventDisplaySettings {
1506
+ /** Whether event details button is hidden. Only available for events with no registration. */
1507
+ hideEventDetailsButton?: boolean | null;
1508
+ /** Disables event details page visibility. If event has an external registration configured visitors will be redirected from this page. */
1509
+ hideEventDetailsPage?: boolean | null;
1510
+ }
1511
+ interface LabellingSettings {
1512
+ }
1513
+ interface RichContent {
1514
+ /** Node objects representing a rich content document. */
1515
+ nodes?: Node[];
1516
+ /** Object metadata. */
1517
+ metadata?: Metadata;
1518
+ /** Global styling for header, paragraph, block quote, and code block nodes in the object. */
1519
+ documentStyle?: DocumentStyle;
1520
+ }
1521
+ interface Node extends NodeDataOneOf {
1522
+ /** Data for a button node. */
1523
+ buttonData?: ButtonData;
1524
+ /** Data for a code block node. */
1525
+ codeBlockData?: CodeBlockData;
1526
+ /** Data for a divider node. */
1527
+ dividerData?: DividerData;
1528
+ /** Data for a file node. */
1529
+ fileData?: FileData;
1530
+ /** Data for a gallery node. */
1531
+ galleryData?: GalleryData;
1532
+ /** Data for a GIF node. */
1533
+ gifData?: GIFData;
1534
+ /** Data for a heading node. */
1535
+ headingData?: HeadingData;
1536
+ /** Data for an embedded HTML node. */
1537
+ htmlData?: HTMLData;
1538
+ /** Data for an image node. */
1539
+ imageData?: ImageData;
1540
+ /** Data for a link preview node. */
1541
+ linkPreviewData?: LinkPreviewData;
1542
+ /** @deprecated */
1543
+ mapData?: MapData;
1544
+ /** Data for a paragraph node. */
1545
+ paragraphData?: ParagraphData;
1546
+ /** Data for a poll node. */
1547
+ pollData?: PollData;
1548
+ /** Data for a text node. Used to apply decorations to text. */
1549
+ textData?: TextData;
1550
+ /** Data for an app embed node. */
1551
+ appEmbedData?: AppEmbedData;
1552
+ /** Data for a video node. */
1553
+ videoData?: VideoData;
1554
+ /** Data for an oEmbed node. */
1555
+ embedData?: EmbedData;
1556
+ /** Data for a collapsible list node. */
1557
+ collapsibleListData?: CollapsibleListData;
1558
+ /** Data for a table node. */
1559
+ tableData?: TableData;
1560
+ /** Data for a table cell node. */
1561
+ tableCellData?: TableCellData;
1562
+ /** Data for a custom external node. */
1563
+ externalData?: Record<string, any> | null;
1564
+ /** Data for an audio node. */
1565
+ audioData?: AudioData;
1566
+ /** Data for an ordered list node. */
1567
+ orderedListData?: OrderedListData;
1568
+ /** Data for a bulleted list node. */
1569
+ bulletedListData?: BulletedListData;
1570
+ /** Data for a block quote node. */
1571
+ blockquoteData?: BlockquoteData;
1572
+ /** Data for a caption node. */
1573
+ captionData?: CaptionData;
1574
+ /** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
1575
+ layoutCellData?: LayoutCellData;
1576
+ /** 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. */
1577
+ type?: NodeTypeWithLiterals;
1578
+ /** Node ID. */
1579
+ id?: string;
1580
+ /** A list of child nodes. */
1581
+ nodes?: Node[];
1582
+ /** Padding and background color styling for the node. */
1583
+ style?: NodeStyle;
1584
+ }
1585
+ /** @oneof */
1586
+ interface NodeDataOneOf {
1587
+ /** Data for a button node. */
1588
+ buttonData?: ButtonData;
1589
+ /** Data for a code block node. */
1590
+ codeBlockData?: CodeBlockData;
1591
+ /** Data for a divider node. */
1592
+ dividerData?: DividerData;
1593
+ /** Data for a file node. */
1594
+ fileData?: FileData;
1595
+ /** Data for a gallery node. */
1596
+ galleryData?: GalleryData;
1597
+ /** Data for a GIF node. */
1598
+ gifData?: GIFData;
1599
+ /** Data for a heading node. */
1600
+ headingData?: HeadingData;
1601
+ /** Data for an embedded HTML node. */
1602
+ htmlData?: HTMLData;
1603
+ /** Data for an image node. */
1604
+ imageData?: ImageData;
1605
+ /** Data for a link preview node. */
1606
+ linkPreviewData?: LinkPreviewData;
1607
+ /** @deprecated */
1608
+ mapData?: MapData;
1609
+ /** Data for a paragraph node. */
1610
+ paragraphData?: ParagraphData;
1611
+ /** Data for a poll node. */
1612
+ pollData?: PollData;
1613
+ /** Data for a text node. Used to apply decorations to text. */
1614
+ textData?: TextData;
1615
+ /** Data for an app embed node. */
1616
+ appEmbedData?: AppEmbedData;
1617
+ /** Data for a video node. */
1618
+ videoData?: VideoData;
1619
+ /** Data for an oEmbed node. */
1620
+ embedData?: EmbedData;
1621
+ /** Data for a collapsible list node. */
1622
+ collapsibleListData?: CollapsibleListData;
1623
+ /** Data for a table node. */
1624
+ tableData?: TableData;
1625
+ /** Data for a table cell node. */
1626
+ tableCellData?: TableCellData;
1627
+ /** Data for a custom external node. */
1628
+ externalData?: Record<string, any> | null;
1629
+ /** Data for an audio node. */
1630
+ audioData?: AudioData;
1631
+ /** Data for an ordered list node. */
1632
+ orderedListData?: OrderedListData;
1633
+ /** Data for a bulleted list node. */
1634
+ bulletedListData?: BulletedListData;
1635
+ /** Data for a block quote node. */
1636
+ blockquoteData?: BlockquoteData;
1637
+ /** Data for a caption node. */
1638
+ captionData?: CaptionData;
1639
+ /** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
1640
+ layoutCellData?: LayoutCellData;
1641
+ }
1642
+ declare enum NodeType {
1643
+ PARAGRAPH = "PARAGRAPH",
1644
+ TEXT = "TEXT",
1645
+ HEADING = "HEADING",
1646
+ BULLETED_LIST = "BULLETED_LIST",
1647
+ ORDERED_LIST = "ORDERED_LIST",
1648
+ LIST_ITEM = "LIST_ITEM",
1649
+ BLOCKQUOTE = "BLOCKQUOTE",
1650
+ CODE_BLOCK = "CODE_BLOCK",
1651
+ VIDEO = "VIDEO",
1652
+ DIVIDER = "DIVIDER",
1653
+ FILE = "FILE",
1654
+ GALLERY = "GALLERY",
1655
+ GIF = "GIF",
1656
+ HTML = "HTML",
1657
+ IMAGE = "IMAGE",
1658
+ LINK_PREVIEW = "LINK_PREVIEW",
1659
+ /** @deprecated */
1660
+ MAP = "MAP",
1661
+ POLL = "POLL",
1662
+ APP_EMBED = "APP_EMBED",
1663
+ BUTTON = "BUTTON",
1664
+ COLLAPSIBLE_LIST = "COLLAPSIBLE_LIST",
1665
+ TABLE = "TABLE",
1666
+ EMBED = "EMBED",
1667
+ COLLAPSIBLE_ITEM = "COLLAPSIBLE_ITEM",
1668
+ COLLAPSIBLE_ITEM_TITLE = "COLLAPSIBLE_ITEM_TITLE",
1669
+ COLLAPSIBLE_ITEM_BODY = "COLLAPSIBLE_ITEM_BODY",
1670
+ TABLE_CELL = "TABLE_CELL",
1671
+ TABLE_ROW = "TABLE_ROW",
1672
+ EXTERNAL = "EXTERNAL",
1673
+ AUDIO = "AUDIO",
1674
+ CAPTION = "CAPTION",
1675
+ LAYOUT = "LAYOUT",
1676
+ LAYOUT_CELL = "LAYOUT_CELL"
1677
+ }
1678
+ /** @enumType */
1679
+ type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL';
1680
+ interface NodeStyle {
1681
+ /** The top padding value in pixels. */
1682
+ paddingTop?: string | null;
1683
+ /** The bottom padding value in pixels. */
1684
+ paddingBottom?: string | null;
1685
+ /** The background color as a hexadecimal value. */
1686
+ backgroundColor?: string | null;
1687
+ }
1688
+ interface ButtonData {
1689
+ /** Styling for the button's container. */
1690
+ containerData?: PluginContainerData;
1691
+ /** The button type. */
1692
+ type?: ButtonDataTypeWithLiterals;
1693
+ /** Styling for the button. */
1694
+ styles?: Styles;
1695
+ /** The text to display on the button. */
1696
+ text?: string | null;
1697
+ /** Button link details. */
1698
+ link?: Link;
1699
+ }
1700
+ interface Border {
1701
+ /**
1702
+ * Deprecated: Use `borderWidth` in `styles` instead.
1703
+ * @deprecated
1704
+ */
1705
+ width?: number | null;
1706
+ /**
1707
+ * Deprecated: Use `borderRadius` in `styles` instead.
1708
+ * @deprecated
1709
+ */
1710
+ radius?: number | null;
1711
+ }
1712
+ interface Colors {
1713
+ /**
1714
+ * Deprecated: Use `textColor` in `styles` instead.
1715
+ * @deprecated
1716
+ */
1717
+ text?: string | null;
1718
+ /**
1719
+ * Deprecated: Use `borderColor` in `styles` instead.
1720
+ * @deprecated
1721
+ */
1722
+ border?: string | null;
1723
+ /**
1724
+ * Deprecated: Use `backgroundColor` in `styles` instead.
1725
+ * @deprecated
1726
+ */
1727
+ background?: string | null;
1728
+ }
1729
+ interface PluginContainerData {
1730
+ /** The width of the node when it's displayed. */
1731
+ width?: PluginContainerDataWidth;
1732
+ /** The node's alignment within its container. */
1733
+ alignment?: PluginContainerDataAlignmentWithLiterals;
1734
+ /** Spoiler cover settings for the node. */
1735
+ spoiler?: Spoiler;
1736
+ /** The height of the node when it's displayed. */
1737
+ height?: Height;
1738
+ /** 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`. */
1739
+ textWrap?: boolean | null;
1740
+ }
1741
+ declare enum WidthType {
1742
+ /** Width matches the content width */
1743
+ CONTENT = "CONTENT",
1744
+ /** Small Width */
1745
+ SMALL = "SMALL",
1746
+ /** Width will match the original asset width */
1747
+ ORIGINAL = "ORIGINAL",
1748
+ /** coast-to-coast display */
1749
+ FULL_WIDTH = "FULL_WIDTH"
1750
+ }
1751
+ /** @enumType */
1752
+ type WidthTypeWithLiterals = WidthType | 'CONTENT' | 'SMALL' | 'ORIGINAL' | 'FULL_WIDTH';
1753
+ interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
1754
+ /**
1755
+ * One of the following predefined width options:
1756
+ * `CONTENT`: The width of the container matches the content width.
1757
+ * `SMALL`: A small width.
1758
+ * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
1759
+ * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
1760
+ */
1761
+ size?: WidthTypeWithLiterals;
1762
+ /** A custom width value in pixels. */
1763
+ custom?: string | null;
1764
+ }
1765
+ /** @oneof */
1766
+ interface PluginContainerDataWidthDataOneOf {
1767
+ /**
1768
+ * One of the following predefined width options:
1769
+ * `CONTENT`: The width of the container matches the content width.
1770
+ * `SMALL`: A small width.
1771
+ * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
1772
+ * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
1773
+ */
1774
+ size?: WidthTypeWithLiterals;
1775
+ /** A custom width value in pixels. */
1776
+ custom?: string | null;
1777
+ }
1778
+ declare enum PluginContainerDataAlignment {
1779
+ /** Center Alignment */
1780
+ CENTER = "CENTER",
1781
+ /** Left Alignment */
1782
+ LEFT = "LEFT",
1783
+ /** Right Alignment */
1784
+ RIGHT = "RIGHT"
1785
+ }
1786
+ /** @enumType */
1787
+ type PluginContainerDataAlignmentWithLiterals = PluginContainerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
1788
+ interface Spoiler {
1789
+ /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
1790
+ enabled?: boolean | null;
1791
+ /** The description displayed on top of the spoiler cover. */
1792
+ description?: string | null;
1793
+ /** The text for the button used to remove the spoiler cover. */
1794
+ buttonText?: string | null;
1795
+ }
1796
+ interface Height {
1797
+ /** A custom height value in pixels. */
1798
+ custom?: string | null;
1799
+ }
1800
+ declare enum ButtonDataType {
1801
+ /** Regular link button */
1802
+ LINK = "LINK",
1803
+ /** Triggers custom action that is defined in plugin configuration by the consumer */
1804
+ ACTION = "ACTION"
1805
+ }
1806
+ /** @enumType */
1807
+ type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';
1808
+ interface Styles {
1809
+ /**
1810
+ * Deprecated: Use `borderWidth` and `borderRadius` instead.
1811
+ * @deprecated
1812
+ */
1813
+ border?: Border;
1814
+ /**
1815
+ * Deprecated: Use `textColor`, `borderColor` and `backgroundColor` instead.
1816
+ * @deprecated
1817
+ */
1818
+ colors?: Colors;
1819
+ /** Border width in pixels. */
1820
+ borderWidth?: number | null;
1821
+ /**
1822
+ * Deprecated: Use `borderWidth` for normal/hover states instead.
1823
+ * @deprecated
1824
+ */
1825
+ borderWidthHover?: number | null;
1826
+ /** Border radius in pixels. */
1827
+ borderRadius?: number | null;
1828
+ /**
1829
+ * Border color as a hexadecimal value.
1830
+ * @format COLOR_HEX
1831
+ */
1832
+ borderColor?: string | null;
1833
+ /**
1834
+ * Border color as a hexadecimal value (hover state).
1835
+ * @format COLOR_HEX
1836
+ */
1837
+ borderColorHover?: string | null;
1838
+ /**
1839
+ * Text color as a hexadecimal value.
1840
+ * @format COLOR_HEX
1841
+ */
1842
+ textColor?: string | null;
1843
+ /**
1844
+ * Text color as a hexadecimal value (hover state).
1845
+ * @format COLOR_HEX
1846
+ */
1847
+ textColorHover?: string | null;
1848
+ /**
1849
+ * Background color as a hexadecimal value.
1850
+ * @format COLOR_HEX
1851
+ */
1852
+ backgroundColor?: string | null;
1853
+ /**
1854
+ * Background color as a hexadecimal value (hover state).
1855
+ * @format COLOR_HEX
1856
+ */
1857
+ backgroundColorHover?: string | null;
1858
+ /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
1859
+ buttonSize?: string | null;
1860
+ }
1861
+ interface Link extends LinkDataOneOf {
1862
+ /** The absolute URL for the linked document. */
1863
+ url?: string;
1864
+ /** The target node's ID. Used for linking to another node in this object. */
1865
+ anchor?: string;
1866
+ /**
1867
+ * he HTML `target` attribute value for the link. This property defines where the linked document opens as follows:
1868
+ * `SELF` - Default. Opens the linked document in the same frame as the link.
1869
+ * `BLANK` - Opens the linked document in a new browser tab or window.
1870
+ * `PARENT` - Opens the linked document in the link's parent frame.
1871
+ * `TOP` - Opens the linked document in the full body of the link's browser tab or window.
1872
+ */
1873
+ target?: TargetWithLiterals;
1874
+ /** The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document. */
1875
+ rel?: Rel;
1876
+ /** A serialized object used for a custom or external link panel. */
1877
+ customData?: string | null;
1878
+ }
1879
+ /** @oneof */
1880
+ interface LinkDataOneOf {
1881
+ /** The absolute URL for the linked document. */
1882
+ url?: string;
1883
+ /** The target node's ID. Used for linking to another node in this object. */
1884
+ anchor?: string;
1885
+ }
1886
+ declare enum Target {
1887
+ /** Opens the linked document in the same frame as it was clicked (this is default) */
1888
+ SELF = "SELF",
1889
+ /** Opens the linked document in a new window or tab */
1890
+ BLANK = "BLANK",
1891
+ /** Opens the linked document in the parent frame */
1892
+ PARENT = "PARENT",
1893
+ /** Opens the linked document in the full body of the window */
1894
+ TOP = "TOP"
1895
+ }
1896
+ /** @enumType */
1897
+ type TargetWithLiterals = Target | 'SELF' | 'BLANK' | 'PARENT' | 'TOP';
1898
+ interface Rel {
1899
+ /** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
1900
+ nofollow?: boolean | null;
1901
+ /** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
1902
+ sponsored?: boolean | null;
1903
+ /** 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`. */
1904
+ ugc?: boolean | null;
1905
+ /** Indicates that this link protect referral information from being passed to the target website. */
1906
+ noreferrer?: boolean | null;
1907
+ }
1908
+ interface CodeBlockData {
1909
+ /** Styling for the code block's text. */
1910
+ textStyle?: TextStyle;
1911
+ }
1912
+ interface TextStyle {
1913
+ /** Text alignment. Defaults to `AUTO`. */
1914
+ textAlignment?: TextAlignmentWithLiterals;
1915
+ /** 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. */
1916
+ lineHeight?: string | null;
1917
+ }
1918
+ declare enum TextAlignment {
1919
+ /** browser default, eqivalent to `initial` */
1920
+ AUTO = "AUTO",
1921
+ /** Left align */
1922
+ LEFT = "LEFT",
1923
+ /** Right align */
1924
+ RIGHT = "RIGHT",
1925
+ /** Center align */
1926
+ CENTER = "CENTER",
1927
+ /** 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 */
1928
+ JUSTIFY = "JUSTIFY"
1929
+ }
1930
+ /** @enumType */
1931
+ type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
1932
+ interface DividerData {
1933
+ /** Styling for the divider's container. */
1934
+ containerData?: PluginContainerData;
1935
+ /** Divider line style. */
1936
+ lineStyle?: LineStyleWithLiterals;
1937
+ /** Divider width. */
1938
+ width?: WidthWithLiterals;
1939
+ /** Divider alignment. */
1940
+ alignment?: DividerDataAlignmentWithLiterals;
1941
+ }
1942
+ declare enum LineStyle {
1943
+ /** Single Line */
1944
+ SINGLE = "SINGLE",
1945
+ /** Double Line */
1946
+ DOUBLE = "DOUBLE",
1947
+ /** Dashed Line */
1948
+ DASHED = "DASHED",
1949
+ /** Dotted Line */
1950
+ DOTTED = "DOTTED"
1951
+ }
1952
+ /** @enumType */
1953
+ type LineStyleWithLiterals = LineStyle | 'SINGLE' | 'DOUBLE' | 'DASHED' | 'DOTTED';
1954
+ declare enum Width {
1955
+ /** Large line */
1956
+ LARGE = "LARGE",
1957
+ /** Medium line */
1958
+ MEDIUM = "MEDIUM",
1959
+ /** Small line */
1960
+ SMALL = "SMALL"
1961
+ }
1962
+ /** @enumType */
1963
+ type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
1964
+ declare enum DividerDataAlignment {
1965
+ /** Center alignment */
1966
+ CENTER = "CENTER",
1967
+ /** Left alignment */
1968
+ LEFT = "LEFT",
1969
+ /** Right alignment */
1970
+ RIGHT = "RIGHT"
1971
+ }
1972
+ /** @enumType */
1973
+ type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
1974
+ interface FileData {
1975
+ /** Styling for the file's container. */
1976
+ containerData?: PluginContainerData;
1977
+ /** The source for the file's data. */
1978
+ src?: FileSource;
1979
+ /** File name. */
1980
+ name?: string | null;
1981
+ /** File type. */
1982
+ type?: string | null;
1983
+ /**
1984
+ * Use `sizeInKb` instead.
1985
+ * @deprecated
1986
+ */
1987
+ size?: number | null;
1988
+ /** Settings for PDF files. */
1989
+ pdfSettings?: PDFSettings;
1990
+ /** File MIME type. */
1991
+ mimeType?: string | null;
1992
+ /** File path. */
1993
+ path?: string | null;
1994
+ /** File size in KB. */
1995
+ sizeInKb?: string | null;
1996
+ }
1997
+ declare enum ViewMode {
1998
+ /** No PDF view */
1999
+ NONE = "NONE",
2000
+ /** Full PDF view */
2001
+ FULL = "FULL",
2002
+ /** Mini PDF view */
2003
+ MINI = "MINI"
2004
+ }
2005
+ /** @enumType */
2006
+ type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';
2007
+ interface FileSource extends FileSourceDataOneOf {
2008
+ /** The absolute URL for the file's source. */
2009
+ url?: string | null;
2010
+ /**
2011
+ * Custom ID. Use `id` instead.
2012
+ * @deprecated
2013
+ */
2014
+ custom?: string | null;
2015
+ /** An ID that's resolved to a URL by a resolver function. */
2016
+ id?: string | null;
2017
+ /** Indicates whether the file's source is private. Defaults to `false`. */
2018
+ private?: boolean | null;
2019
+ }
2020
+ /** @oneof */
2021
+ interface FileSourceDataOneOf {
2022
+ /** The absolute URL for the file's source. */
2023
+ url?: string | null;
2024
+ /**
2025
+ * Custom ID. Use `id` instead.
2026
+ * @deprecated
2027
+ */
2028
+ custom?: string | null;
2029
+ /** An ID that's resolved to a URL by a resolver function. */
2030
+ id?: string | null;
2031
+ }
2032
+ interface PDFSettings {
2033
+ /**
2034
+ * PDF view mode. One of the following:
2035
+ * `NONE` : The PDF isn't displayed.
2036
+ * `FULL` : A full page view of the PDF is displayed.
2037
+ * `MINI` : A mini view of the PDF is displayed.
2038
+ */
2039
+ viewMode?: ViewModeWithLiterals;
2040
+ /** Sets whether the PDF download button is disabled. Defaults to `false`. */
2041
+ disableDownload?: boolean | null;
2042
+ /** Sets whether the PDF print button is disabled. Defaults to `false`. */
2043
+ disablePrint?: boolean | null;
2044
+ }
2045
+ interface GalleryData {
2046
+ /** Styling for the gallery's container. */
2047
+ containerData?: PluginContainerData;
2048
+ /** The items in the gallery. */
2049
+ items?: Item[];
2050
+ /** Options for defining the gallery's appearance. */
2051
+ options?: GalleryOptions;
2052
+ /** Sets whether the gallery's expand button is disabled. Defaults to `false`. */
2053
+ disableExpand?: boolean | null;
2054
+ /** Sets whether the gallery's download button is disabled. Defaults to `false`. */
2055
+ disableDownload?: boolean | null;
2056
+ }
2057
+ interface Media {
2058
+ /** The source for the media's data. */
2059
+ src?: FileSource;
2060
+ /** Media width in pixels. */
2061
+ width?: number | null;
2062
+ /** Media height in pixels. */
2063
+ height?: number | null;
2064
+ /** Media duration in seconds. Only relevant for audio and video files. */
2065
+ duration?: number | null;
2066
+ }
2067
+ interface ItemImage {
2068
+ /** Image file details. */
2069
+ media?: Media;
2070
+ /** Link details for images that are links. */
2071
+ link?: Link;
2072
+ }
2073
+ interface Video {
2074
+ /** Video file details. */
2075
+ media?: Media;
2076
+ /** Video thumbnail file details. */
2077
+ thumbnail?: Media;
2078
+ }
2079
+ interface Item extends ItemDataOneOf {
2080
+ /** An image item. */
2081
+ image?: ItemImage;
2082
+ /** A video item. */
2083
+ video?: Video;
2084
+ /** Item title. */
2085
+ title?: string | null;
2086
+ /** Item's alternative text. */
2087
+ altText?: string | null;
2088
+ }
2089
+ /** @oneof */
2090
+ interface ItemDataOneOf {
2091
+ /** An image item. */
2092
+ image?: ItemImage;
2093
+ /** A video item. */
2094
+ video?: Video;
2095
+ }
2096
+ interface GalleryOptions {
2097
+ /** Gallery layout. */
2098
+ layout?: GalleryOptionsLayout;
2099
+ /** Styling for gallery items. */
2100
+ item?: ItemStyle;
2101
+ /** Styling for gallery thumbnail images. */
2102
+ thumbnails?: Thumbnails;
2103
+ }
2104
+ declare enum LayoutType {
2105
+ /** Collage type */
2106
+ COLLAGE = "COLLAGE",
2107
+ /** Masonry type */
2108
+ MASONRY = "MASONRY",
2109
+ /** Grid type */
2110
+ GRID = "GRID",
2111
+ /** Thumbnail type */
2112
+ THUMBNAIL = "THUMBNAIL",
2113
+ /** Slider type */
2114
+ SLIDER = "SLIDER",
2115
+ /** Slideshow type */
2116
+ SLIDESHOW = "SLIDESHOW",
2117
+ /** Panorama type */
2118
+ PANORAMA = "PANORAMA",
2119
+ /** Column type */
2120
+ COLUMN = "COLUMN",
2121
+ /** Magic type */
2122
+ MAGIC = "MAGIC",
2123
+ /** Fullsize images type */
2124
+ FULLSIZE = "FULLSIZE"
2125
+ }
2126
+ /** @enumType */
2127
+ type LayoutTypeWithLiterals = LayoutType | 'COLLAGE' | 'MASONRY' | 'GRID' | 'THUMBNAIL' | 'SLIDER' | 'SLIDESHOW' | 'PANORAMA' | 'COLUMN' | 'MAGIC' | 'FULLSIZE';
2128
+ declare enum Orientation {
2129
+ /** Rows Orientation */
2130
+ ROWS = "ROWS",
2131
+ /** Columns Orientation */
2132
+ COLUMNS = "COLUMNS"
2133
+ }
2134
+ /** @enumType */
2135
+ type OrientationWithLiterals = Orientation | 'ROWS' | 'COLUMNS';
2136
+ declare enum Crop {
2137
+ /** Crop to fill */
2138
+ FILL = "FILL",
2139
+ /** Crop to fit */
2140
+ FIT = "FIT"
2141
+ }
2142
+ /** @enumType */
2143
+ type CropWithLiterals = Crop | 'FILL' | 'FIT';
2144
+ declare enum ThumbnailsAlignment {
2145
+ /** Top alignment */
2146
+ TOP = "TOP",
2147
+ /** Right alignment */
2148
+ RIGHT = "RIGHT",
2149
+ /** Bottom alignment */
2150
+ BOTTOM = "BOTTOM",
2151
+ /** Left alignment */
2152
+ LEFT = "LEFT",
2153
+ /** No thumbnail */
2154
+ NONE = "NONE"
2155
+ }
2156
+ /** @enumType */
2157
+ type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
2158
+ interface GalleryOptionsLayout {
2159
+ /** Gallery layout type. */
2160
+ type?: LayoutTypeWithLiterals;
2161
+ /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
2162
+ horizontalScroll?: boolean | null;
2163
+ /** Gallery orientation. */
2164
+ orientation?: OrientationWithLiterals;
2165
+ /** The number of columns to display on full size screens. */
2166
+ numberOfColumns?: number | null;
2167
+ /** The number of columns to display on mobile screens. */
2168
+ mobileNumberOfColumns?: number | null;
2169
+ }
2170
+ interface ItemStyle {
2171
+ /** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */
2172
+ targetSize?: number | null;
2173
+ /** Item ratio */
2174
+ ratio?: number | null;
2175
+ /** Sets how item images are cropped. */
2176
+ crop?: CropWithLiterals;
2177
+ /** The spacing between items in pixels. */
2178
+ spacing?: number | null;
2179
+ }
2180
+ interface Thumbnails {
2181
+ /** Thumbnail alignment. */
2182
+ placement?: ThumbnailsAlignmentWithLiterals;
2183
+ /** Spacing between thumbnails in pixels. */
2184
+ spacing?: number | null;
2185
+ }
2186
+ interface GIFData {
2187
+ /** Styling for the GIF's container. */
2188
+ containerData?: PluginContainerData;
2189
+ /** The source of the full size GIF. */
2190
+ original?: GIF;
2191
+ /** The source of the downsized GIF. */
2192
+ downsized?: GIF;
2193
+ /** Height in pixels. */
2194
+ height?: number;
2195
+ /** Width in pixels. */
2196
+ width?: number;
2197
+ /** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
2198
+ gifType?: GIFTypeWithLiterals;
2199
+ }
2200
+ interface GIF {
2201
+ /**
2202
+ * GIF format URL.
2203
+ * @format WEB_URL
2204
+ */
2205
+ gif?: string | null;
2206
+ /**
2207
+ * MP4 format URL.
2208
+ * @format WEB_URL
2209
+ */
2210
+ mp4?: string | null;
2211
+ /**
2212
+ * Thumbnail URL.
2213
+ * @format WEB_URL
2214
+ */
2215
+ still?: string | null;
2216
+ }
2217
+ declare enum GIFType {
2218
+ NORMAL = "NORMAL",
2219
+ STICKER = "STICKER"
2220
+ }
2221
+ /** @enumType */
2222
+ type GIFTypeWithLiterals = GIFType | 'NORMAL' | 'STICKER';
2223
+ interface HeadingData {
2224
+ /** Heading level from 1-6. */
2225
+ level?: number;
2226
+ /** Styling for the heading text. */
2227
+ textStyle?: TextStyle;
2228
+ /** Indentation level from 1-4. */
2229
+ indentation?: number | null;
2230
+ }
2231
+ interface HTMLData extends HTMLDataDataOneOf {
2232
+ /** The URL for the HTML code for the node. */
2233
+ url?: string;
2234
+ /** The HTML code for the node. */
2235
+ html?: string;
2236
+ /**
2237
+ * Whether this is an AdSense element. Use `source` instead.
2238
+ * @deprecated
2239
+ */
2240
+ isAdsense?: boolean | null;
2241
+ /** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */
2242
+ containerData?: PluginContainerData;
2243
+ /** The type of HTML code. */
2244
+ source?: SourceWithLiterals;
2245
+ /** If container height is aligned with its content height. Defaults to `true`. */
2246
+ autoHeight?: boolean | null;
2247
+ }
2248
+ /** @oneof */
2249
+ interface HTMLDataDataOneOf {
2250
+ /** The URL for the HTML code for the node. */
2251
+ url?: string;
2252
+ /** The HTML code for the node. */
2253
+ html?: string;
2254
+ /**
2255
+ * Whether this is an AdSense element. Use `source` instead.
2256
+ * @deprecated
2257
+ */
2258
+ isAdsense?: boolean | null;
2259
+ }
2260
+ declare enum Source {
2261
+ HTML = "HTML",
2262
+ ADSENSE = "ADSENSE"
2263
+ }
2264
+ /** @enumType */
2265
+ type SourceWithLiterals = Source | 'HTML' | 'ADSENSE';
2266
+ interface ImageData {
2267
+ /** Styling for the image's container. */
2268
+ containerData?: PluginContainerData;
2269
+ /** Image file details. */
2270
+ image?: Media;
2271
+ /** Link details for images that are links. */
2272
+ link?: Link;
2273
+ /** Sets whether the image expands to full screen when clicked. Defaults to `false`. */
2274
+ disableExpand?: boolean | null;
2275
+ /** Image's alternative text. */
2276
+ altText?: string | null;
2277
+ /**
2278
+ * Deprecated: use Caption node instead.
2279
+ * @deprecated
2280
+ */
2281
+ caption?: string | null;
2282
+ /** Sets whether the image's download button is disabled. Defaults to `false`. */
2283
+ disableDownload?: boolean | null;
2284
+ /** Sets whether the image is decorative and does not need an explanation. Defaults to `false`. */
2285
+ decorative?: boolean | null;
2286
+ /** Styling for the image. */
2287
+ styles?: ImageDataStyles;
2288
+ }
2289
+ interface StylesBorder {
2290
+ /** Border width in pixels. */
2291
+ width?: number | null;
2292
+ /**
2293
+ * Border color as a hexadecimal value.
2294
+ * @format COLOR_HEX
2295
+ */
2296
+ color?: string | null;
2297
+ /** Border radius in pixels. */
2298
+ radius?: number | null;
2299
+ }
2300
+ interface ImageDataStyles {
2301
+ /** Border attributes. */
2302
+ border?: StylesBorder;
2303
+ }
2304
+ interface LinkPreviewData {
2305
+ /** Styling for the link preview's container. */
2306
+ containerData?: PluginContainerData;
2307
+ /** Link details. */
2308
+ link?: Link;
2309
+ /** Preview title. */
2310
+ title?: string | null;
2311
+ /** Preview thumbnail URL. */
2312
+ thumbnailUrl?: string | null;
2313
+ /** Preview description. */
2314
+ description?: string | null;
2315
+ /** The preview content as HTML. */
2316
+ html?: string | null;
2317
+ /** Styling for the link preview. */
2318
+ styles?: LinkPreviewDataStyles;
2319
+ }
2320
+ declare enum StylesPosition {
2321
+ /** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
2322
+ START = "START",
2323
+ /** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
2324
+ END = "END",
2325
+ /** Thumbnail positioned at the top */
2326
+ TOP = "TOP",
2327
+ /** Thumbnail hidden and not displayed */
2328
+ HIDDEN = "HIDDEN"
2329
+ }
2330
+ /** @enumType */
2331
+ type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HIDDEN';
2332
+ interface LinkPreviewDataStyles {
2333
+ /**
2334
+ * Background color as a hexadecimal value.
2335
+ * @format COLOR_HEX
2336
+ */
2337
+ backgroundColor?: string | null;
2338
+ /**
2339
+ * Title color as a hexadecimal value.
2340
+ * @format COLOR_HEX
2341
+ */
2342
+ titleColor?: string | null;
2343
+ /**
2344
+ * Subtitle color as a hexadecimal value.
2345
+ * @format COLOR_HEX
2346
+ */
2347
+ subtitleColor?: string | null;
2348
+ /**
2349
+ * Link color as a hexadecimal value.
2350
+ * @format COLOR_HEX
2351
+ */
2352
+ linkColor?: string | null;
2353
+ /** Border width in pixels. */
2354
+ borderWidth?: number | null;
2355
+ /** Border radius in pixels. */
2356
+ borderRadius?: number | null;
2357
+ /**
2358
+ * Border color as a hexadecimal value.
2359
+ * @format COLOR_HEX
2360
+ */
2361
+ borderColor?: string | null;
2362
+ /** Position of thumbnail. Defaults to `START`. */
2363
+ thumbnailPosition?: StylesPositionWithLiterals;
2364
+ }
2365
+ interface MapData {
2366
+ /** Styling for the map's container. */
2367
+ containerData?: PluginContainerData;
2368
+ /** Map settings. */
2369
+ mapSettings?: MapSettings;
2370
+ }
2371
+ interface MapSettings {
2372
+ /** The address to display on the map. */
2373
+ address?: string | null;
2374
+ /** Sets whether the map is draggable. */
2375
+ draggable?: boolean | null;
2376
+ /** Sets whether the location marker is visible. */
2377
+ marker?: boolean | null;
2378
+ /** Sets whether street view control is enabled. */
2379
+ streetViewControl?: boolean | null;
2380
+ /** Sets whether zoom control is enabled. */
2381
+ zoomControl?: boolean | null;
2382
+ /** Location latitude. */
2383
+ lat?: number | null;
2384
+ /** Location longitude. */
2385
+ lng?: number | null;
2386
+ /** Location name. */
2387
+ locationName?: string | null;
2388
+ /** Sets whether view mode control is enabled. */
2389
+ viewModeControl?: boolean | null;
2390
+ /** Initial zoom value. */
2391
+ initialZoom?: number | null;
2392
+ /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
2393
+ mapType?: MapTypeWithLiterals;
2394
+ }
2395
+ declare enum MapType {
2396
+ /** Roadmap map type */
2397
+ ROADMAP = "ROADMAP",
2398
+ /** Satellite map type */
2399
+ SATELITE = "SATELITE",
2400
+ /** Hybrid map type */
2401
+ HYBRID = "HYBRID",
2402
+ /** Terrain map type */
2403
+ TERRAIN = "TERRAIN"
2404
+ }
2405
+ /** @enumType */
2406
+ type MapTypeWithLiterals = MapType | 'ROADMAP' | 'SATELITE' | 'HYBRID' | 'TERRAIN';
2407
+ interface ParagraphData {
2408
+ /** Styling for the paragraph text. */
2409
+ textStyle?: TextStyle;
2410
+ /** Indentation level from 1-4. */
2411
+ indentation?: number | null;
2412
+ /** Paragraph level */
2413
+ level?: number | null;
2414
+ }
2415
+ interface PollData {
2416
+ /** Styling for the poll's container. */
2417
+ containerData?: PluginContainerData;
2418
+ /** Poll data. */
2419
+ poll?: Poll;
2420
+ /** Layout settings for the poll and voting options. */
2421
+ layout?: PollDataLayout;
2422
+ /** Styling for the poll and voting options. */
2423
+ design?: Design;
2424
+ }
2425
+ declare enum ViewRole {
2426
+ /** Only Poll creator can view the results */
2427
+ CREATOR = "CREATOR",
2428
+ /** Anyone who voted can see the results */
2429
+ VOTERS = "VOTERS",
2430
+ /** Anyone can see the results, even if one didn't vote */
2431
+ EVERYONE = "EVERYONE"
2432
+ }
2433
+ /** @enumType */
2434
+ type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';
2435
+ declare enum VoteRole {
2436
+ /** Logged in member */
2437
+ SITE_MEMBERS = "SITE_MEMBERS",
2438
+ /** Anyone */
2439
+ ALL = "ALL"
2440
+ }
2441
+ /** @enumType */
2442
+ type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';
2443
+ interface Permissions {
2444
+ /** Sets who can view the poll results. */
2445
+ view?: ViewRoleWithLiterals;
2446
+ /** Sets who can vote. */
2447
+ vote?: VoteRoleWithLiterals;
2448
+ /** Sets whether one voter can vote multiple times. Defaults to `false`. */
2449
+ allowMultipleVotes?: boolean | null;
2450
+ }
2451
+ interface Option {
2452
+ /** Option ID. */
2453
+ id?: string | null;
2454
+ /** Option title. */
2455
+ title?: string | null;
2456
+ /** The image displayed with the option. */
2457
+ image?: Media;
2458
+ }
2459
+ interface PollSettings {
2460
+ /** Permissions settings for voting. */
2461
+ permissions?: Permissions;
2462
+ /** Sets whether voters are displayed in the vote results. Defaults to `true`. */
2463
+ showVoters?: boolean | null;
2464
+ /** Sets whether the vote count is displayed. Defaults to `true`. */
2465
+ showVotesCount?: boolean | null;
2466
+ }
2467
+ declare enum PollLayoutType {
2468
+ /** List */
2469
+ LIST = "LIST",
2470
+ /** Grid */
2471
+ GRID = "GRID"
2472
+ }
2473
+ /** @enumType */
2474
+ type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';
2475
+ declare enum PollLayoutDirection {
2476
+ /** Left-to-right */
2477
+ LTR = "LTR",
2478
+ /** Right-to-left */
2479
+ RTL = "RTL"
2480
+ }
2481
+ /** @enumType */
2482
+ type PollLayoutDirectionWithLiterals = PollLayoutDirection | 'LTR' | 'RTL';
2483
+ interface PollLayout {
2484
+ /** The layout for displaying the voting options. */
2485
+ type?: PollLayoutTypeWithLiterals;
2486
+ /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
2487
+ direction?: PollLayoutDirectionWithLiterals;
2488
+ /** Sets whether to display the main poll image. Defaults to `false`. */
2489
+ enableImage?: boolean | null;
2490
+ }
2491
+ interface OptionLayout {
2492
+ /** Sets whether to display option images. Defaults to `false`. */
2493
+ enableImage?: boolean | null;
2494
+ }
2495
+ declare enum BackgroundType {
2496
+ /** Color background type */
2497
+ COLOR = "COLOR",
2498
+ /** Image background type */
2499
+ IMAGE = "IMAGE",
2500
+ /** Gradiant background type */
2501
+ GRADIENT = "GRADIENT"
2502
+ }
2503
+ /** @enumType */
2504
+ type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
2505
+ interface Gradient {
2506
+ /** The gradient angle in degrees. */
2507
+ angle?: number | null;
2508
+ /**
2509
+ * The start color as a hexademical value.
2510
+ * @format COLOR_HEX
2511
+ */
2512
+ startColor?: string | null;
2513
+ /**
2514
+ * The end color as a hexademical value.
2515
+ * @format COLOR_HEX
2516
+ */
2517
+ lastColor?: string | null;
2518
+ }
2519
+ interface Background extends BackgroundBackgroundOneOf {
2520
+ /**
2521
+ * The background color as a hexademical value.
2522
+ * @format COLOR_HEX
2523
+ */
2524
+ color?: string | null;
2525
+ /** An image to use for the background. */
2526
+ image?: Media;
2527
+ /** Details for a gradient background. */
2528
+ gradient?: Gradient;
2529
+ /** Background type. For each option, include the relevant details. */
2530
+ type?: BackgroundTypeWithLiterals;
2531
+ }
2532
+ /** @oneof */
2533
+ interface BackgroundBackgroundOneOf {
2534
+ /**
2535
+ * The background color as a hexademical value.
2536
+ * @format COLOR_HEX
2537
+ */
2538
+ color?: string | null;
2539
+ /** An image to use for the background. */
2540
+ image?: Media;
2541
+ /** Details for a gradient background. */
2542
+ gradient?: Gradient;
2543
+ }
2544
+ interface PollDesign {
2545
+ /** Background styling. */
2546
+ background?: Background;
2547
+ /** Border radius in pixels. */
2548
+ borderRadius?: number | null;
2549
+ }
2550
+ interface OptionDesign {
2551
+ /** Border radius in pixels. */
2552
+ borderRadius?: number | null;
2553
+ }
2554
+ interface Poll {
2555
+ /** Poll ID. */
2556
+ id?: string | null;
2557
+ /** Poll title. */
2558
+ title?: string | null;
2559
+ /** Poll creator ID. */
2560
+ creatorId?: string | null;
2561
+ /** Main poll image. */
2562
+ image?: Media;
2563
+ /** Voting options. */
2564
+ options?: Option[];
2565
+ /** The poll's permissions and display settings. */
2566
+ settings?: PollSettings;
2567
+ }
2568
+ interface PollDataLayout {
2569
+ /** Poll layout settings. */
2570
+ poll?: PollLayout;
2571
+ /** Voting otpions layout settings. */
2572
+ options?: OptionLayout;
2573
+ }
2574
+ interface Design {
2575
+ /** Styling for the poll. */
2576
+ poll?: PollDesign;
2577
+ /** Styling for voting options. */
2578
+ options?: OptionDesign;
2579
+ }
2580
+ interface TextData {
2581
+ /** The text to apply decorations to. */
2582
+ text?: string;
2583
+ /** The decorations to apply. */
2584
+ decorations?: Decoration[];
2585
+ }
2586
+ /** Adds appearence changes to text */
2587
+ interface Decoration extends DecorationDataOneOf {
2588
+ /** Data for an anchor link decoration. */
2589
+ anchorData?: AnchorData;
2590
+ /** Data for a color decoration. */
2591
+ colorData?: ColorData;
2592
+ /** Data for an external link decoration. */
2593
+ linkData?: LinkData;
2594
+ /** Data for a mention decoration. */
2595
+ mentionData?: MentionData;
2596
+ /** Data for a font size decoration. */
2597
+ fontSizeData?: FontSizeData;
2598
+ /** Font weight for a bold decoration. */
2599
+ fontWeightValue?: number | null;
2600
+ /** Data for an italic decoration. Defaults to `true`. */
2601
+ italicData?: boolean | null;
2602
+ /** Data for an underline decoration. Defaults to `true`. */
2603
+ underlineData?: boolean | null;
2604
+ /** Data for a spoiler decoration. */
2605
+ spoilerData?: SpoilerData;
2606
+ /** Data for a strikethrough decoration. Defaults to `true`. */
2607
+ strikethroughData?: boolean | null;
2608
+ /** Data for a superscript decoration. Defaults to `true`. */
2609
+ superscriptData?: boolean | null;
2610
+ /** Data for a subscript decoration. Defaults to `true`. */
2611
+ subscriptData?: boolean | null;
2612
+ /** The type of decoration to apply. */
2613
+ type?: DecorationTypeWithLiterals;
2614
+ }
2615
+ /** @oneof */
2616
+ interface DecorationDataOneOf {
2617
+ /** Data for an anchor link decoration. */
2618
+ anchorData?: AnchorData;
2619
+ /** Data for a color decoration. */
2620
+ colorData?: ColorData;
2621
+ /** Data for an external link decoration. */
2622
+ linkData?: LinkData;
2623
+ /** Data for a mention decoration. */
2624
+ mentionData?: MentionData;
2625
+ /** Data for a font size decoration. */
2626
+ fontSizeData?: FontSizeData;
2627
+ /** Font weight for a bold decoration. */
2628
+ fontWeightValue?: number | null;
2629
+ /** Data for an italic decoration. Defaults to `true`. */
2630
+ italicData?: boolean | null;
2631
+ /** Data for an underline decoration. Defaults to `true`. */
2632
+ underlineData?: boolean | null;
2633
+ /** Data for a spoiler decoration. */
2634
+ spoilerData?: SpoilerData;
2635
+ /** Data for a strikethrough decoration. Defaults to `true`. */
2636
+ strikethroughData?: boolean | null;
2637
+ /** Data for a superscript decoration. Defaults to `true`. */
2638
+ superscriptData?: boolean | null;
2639
+ /** Data for a subscript decoration. Defaults to `true`. */
2640
+ subscriptData?: boolean | null;
2641
+ }
2642
+ declare enum DecorationType {
2643
+ BOLD = "BOLD",
2644
+ ITALIC = "ITALIC",
2645
+ UNDERLINE = "UNDERLINE",
2646
+ SPOILER = "SPOILER",
2647
+ ANCHOR = "ANCHOR",
2648
+ MENTION = "MENTION",
2649
+ LINK = "LINK",
2650
+ COLOR = "COLOR",
2651
+ FONT_SIZE = "FONT_SIZE",
2652
+ EXTERNAL = "EXTERNAL",
2653
+ STRIKETHROUGH = "STRIKETHROUGH",
2654
+ SUPERSCRIPT = "SUPERSCRIPT",
2655
+ SUBSCRIPT = "SUBSCRIPT"
2656
+ }
2657
+ /** @enumType */
2658
+ type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT';
2659
+ interface AnchorData {
2660
+ /** The target node's ID. */
2661
+ anchor?: string;
2662
+ }
2663
+ interface ColorData {
2664
+ /** The text's background color as a hexadecimal value. */
2665
+ background?: string | null;
2666
+ /** The text's foreground color as a hexadecimal value. */
2667
+ foreground?: string | null;
2668
+ }
2669
+ interface LinkData {
2670
+ /** Link details. */
2671
+ link?: Link;
2672
+ }
2673
+ interface MentionData {
2674
+ /** The mentioned user's name. */
2675
+ name?: string;
2676
+ /** The version of the user's name that appears after the `@` character in the mention. */
2677
+ slug?: string;
2678
+ /** Mentioned user's ID. */
2679
+ id?: string | null;
2680
+ }
2681
+ interface FontSizeData {
2682
+ /** The units used for the font size. */
2683
+ unit?: FontTypeWithLiterals;
2684
+ /** Font size value. */
2685
+ value?: number | null;
2686
+ }
2687
+ declare enum FontType {
2688
+ PX = "PX",
2689
+ EM = "EM"
2690
+ }
2691
+ /** @enumType */
2692
+ type FontTypeWithLiterals = FontType | 'PX' | 'EM';
2693
+ interface SpoilerData {
2694
+ /** Spoiler ID. */
2695
+ id?: string | null;
2696
+ }
2697
+ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
2698
+ /** Data for embedded Wix Bookings content. */
2699
+ bookingData?: BookingData;
2700
+ /** Data for embedded Wix Events content. */
2701
+ eventData?: EventData;
2702
+ /** The type of Wix App content being embedded. */
2703
+ type?: AppTypeWithLiterals;
2704
+ /** The ID of the embedded content. */
2705
+ itemId?: string | null;
2706
+ /** The name of the embedded content. */
2707
+ name?: string | null;
2708
+ /**
2709
+ * Deprecated: Use `image` instead.
2710
+ * @deprecated
2711
+ */
2712
+ imageSrc?: string | null;
2713
+ /** The URL for the embedded content. */
2714
+ url?: string | null;
2715
+ /** An image for the embedded content. */
2716
+ image?: Media;
2717
+ /** Whether to hide the image. */
2718
+ hideImage?: boolean | null;
2719
+ /** Whether to hide the title. */
2720
+ hideTitle?: boolean | null;
2721
+ /** Whether to hide the price. */
2722
+ hidePrice?: boolean | null;
2723
+ /** Whether to hide the description (Event and Booking). */
2724
+ hideDescription?: boolean | null;
2725
+ /** Whether to hide the date and time (Event). */
2726
+ hideDateTime?: boolean | null;
2727
+ /** Whether to hide the location (Event). */
2728
+ hideLocation?: boolean | null;
2729
+ /** Whether to hide the duration (Booking). */
2730
+ hideDuration?: boolean | null;
2731
+ /** Whether to hide the button. */
2732
+ hideButton?: boolean | null;
2733
+ /** Whether to hide the ribbon. */
2734
+ hideRibbon?: boolean | null;
2735
+ /** Button styling options. */
2736
+ buttonStyles?: ButtonStyles;
2737
+ /** Image styling options. */
2738
+ imageStyles?: ImageStyles;
2739
+ /** Ribbon styling options. */
2740
+ ribbonStyles?: RibbonStyles;
2741
+ /** Card styling options. */
2742
+ cardStyles?: CardStyles;
2743
+ /** Styling for the app embed's container. */
2744
+ containerData?: PluginContainerData;
2745
+ /** Pricing data for embedded Wix App content. */
2746
+ pricingData?: PricingData;
2747
+ }
2748
+ /** @oneof */
2749
+ interface AppEmbedDataAppDataOneOf {
2750
+ /** Data for embedded Wix Bookings content. */
2751
+ bookingData?: BookingData;
2752
+ /** Data for embedded Wix Events content. */
2753
+ eventData?: EventData;
2754
+ }
2755
+ declare enum Position {
2756
+ /** Image positioned at the start (left in LTR layouts, right in RTL layouts) */
2757
+ START = "START",
2758
+ /** Image positioned at the end (right in LTR layouts, left in RTL layouts) */
2759
+ END = "END",
2760
+ /** Image positioned at the top */
2761
+ TOP = "TOP"
2762
+ }
2763
+ /** @enumType */
2764
+ type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';
2765
+ declare enum AspectRatio {
2766
+ /** 1:1 aspect ratio */
2767
+ SQUARE = "SQUARE",
2768
+ /** 16:9 aspect ratio */
2769
+ RECTANGLE = "RECTANGLE"
2770
+ }
2771
+ /** @enumType */
2772
+ type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';
2773
+ declare enum Resizing {
2774
+ /** Fill the container, may crop the image */
2775
+ FILL = "FILL",
2776
+ /** Fit the image within the container */
2777
+ FIT = "FIT"
2778
+ }
2779
+ /** @enumType */
2780
+ type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';
2781
+ declare enum Placement {
2782
+ /** Ribbon placed on the image */
2783
+ IMAGE = "IMAGE",
2784
+ /** Ribbon placed on the product information */
2785
+ PRODUCT_INFO = "PRODUCT_INFO"
2786
+ }
2787
+ /** @enumType */
2788
+ type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
2789
+ declare enum CardStylesType {
2790
+ /** Card with visible border and background */
2791
+ CONTAINED = "CONTAINED",
2792
+ /** Card without visible border */
2793
+ FRAMELESS = "FRAMELESS"
2794
+ }
2795
+ /** @enumType */
2796
+ type CardStylesTypeWithLiterals = CardStylesType | 'CONTAINED' | 'FRAMELESS';
2797
+ declare enum Alignment {
2798
+ /** Content aligned to start (left in LTR layouts, right in RTL layouts) */
2799
+ START = "START",
2800
+ /** Content centered */
2801
+ CENTER = "CENTER",
2802
+ /** Content aligned to end (right in LTR layouts, left in RTL layouts) */
2803
+ END = "END"
2804
+ }
2805
+ /** @enumType */
2806
+ type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';
2807
+ declare enum Layout {
2808
+ /** Elements stacked vertically */
2809
+ STACKED = "STACKED",
2810
+ /** Elements arranged horizontally */
2811
+ SIDE_BY_SIDE = "SIDE_BY_SIDE"
2812
+ }
2813
+ /** @enumType */
2814
+ type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';
2815
+ declare enum AppType {
2816
+ PRODUCT = "PRODUCT",
2817
+ EVENT = "EVENT",
2818
+ BOOKING = "BOOKING"
2819
+ }
2820
+ /** @enumType */
2821
+ type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';
2822
+ interface BookingData {
2823
+ /** Booking duration in minutes. */
2824
+ durations?: string | null;
2825
+ }
2826
+ interface EventData {
2827
+ /** Event schedule. */
2828
+ scheduling?: string | null;
2829
+ /** Event location. */
2830
+ location?: string | null;
2831
+ }
2832
+ interface ButtonStyles {
2833
+ /** Text to display on the button. */
2834
+ buttonText?: string | null;
2835
+ /** Border width in pixels. */
2836
+ borderWidth?: number | null;
2837
+ /** Border radius in pixels. */
2838
+ borderRadius?: number | null;
2839
+ /**
2840
+ * Border color as a hexadecimal value.
2841
+ * @format COLOR_HEX
2842
+ */
2843
+ borderColor?: string | null;
2844
+ /**
2845
+ * Text color as a hexadecimal value.
2846
+ * @format COLOR_HEX
2847
+ */
2848
+ textColor?: string | null;
2849
+ /**
2850
+ * Background color as a hexadecimal value.
2851
+ * @format COLOR_HEX
2852
+ */
2853
+ backgroundColor?: string | null;
2854
+ /**
2855
+ * Border color as a hexadecimal value (hover state).
2856
+ * @format COLOR_HEX
2857
+ */
2858
+ borderColorHover?: string | null;
2859
+ /**
2860
+ * Text color as a hexadecimal value (hover state).
2861
+ * @format COLOR_HEX
2862
+ */
2863
+ textColorHover?: string | null;
2864
+ /**
2865
+ * Background color as a hexadecimal value (hover state).
2866
+ * @format COLOR_HEX
2867
+ */
2868
+ backgroundColorHover?: string | null;
2869
+ /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
2870
+ buttonSize?: string | null;
2871
+ }
2872
+ interface ImageStyles {
2873
+ /** Whether to hide the image. */
2874
+ hideImage?: boolean | null;
2875
+ /** Position of image. Defaults to `START`. */
2876
+ imagePosition?: PositionWithLiterals;
2877
+ /** Aspect ratio for the image. Defaults to `SQUARE`. */
2878
+ aspectRatio?: AspectRatioWithLiterals;
2879
+ /** How the image should be resized. Defaults to `FILL`. */
2880
+ resizing?: ResizingWithLiterals;
2881
+ /**
2882
+ * Image border color as a hexadecimal value.
2883
+ * @format COLOR_HEX
2884
+ */
2885
+ borderColor?: string | null;
2886
+ /** Image border width in pixels. */
2887
+ borderWidth?: number | null;
2888
+ /** Image border radius in pixels. */
2889
+ borderRadius?: number | null;
2890
+ }
2891
+ interface RibbonStyles {
2892
+ /** Text to display on the ribbon. */
2893
+ ribbonText?: string | null;
2894
+ /**
2895
+ * Ribbon background color as a hexadecimal value.
2896
+ * @format COLOR_HEX
2897
+ */
2898
+ backgroundColor?: string | null;
2899
+ /**
2900
+ * Ribbon text color as a hexadecimal value.
2901
+ * @format COLOR_HEX
2902
+ */
2903
+ textColor?: string | null;
2904
+ /**
2905
+ * Ribbon border color as a hexadecimal value.
2906
+ * @format COLOR_HEX
2907
+ */
2908
+ borderColor?: string | null;
2909
+ /** Ribbon border width in pixels. */
2910
+ borderWidth?: number | null;
2911
+ /** Ribbon border radius in pixels. */
2912
+ borderRadius?: number | null;
2913
+ /** Placement of the ribbon. Defaults to `IMAGE`. */
2914
+ ribbonPlacement?: PlacementWithLiterals;
2915
+ }
2916
+ interface CardStyles {
2917
+ /**
2918
+ * Card background color as a hexadecimal value.
2919
+ * @format COLOR_HEX
2920
+ */
2921
+ backgroundColor?: string | null;
2922
+ /**
2923
+ * Card border color as a hexadecimal value.
2924
+ * @format COLOR_HEX
2925
+ */
2926
+ borderColor?: string | null;
2927
+ /** Card border width in pixels. */
2928
+ borderWidth?: number | null;
2929
+ /** Card border radius in pixels. */
2930
+ borderRadius?: number | null;
2931
+ /** Card type. Defaults to `CONTAINED`. */
2932
+ type?: CardStylesTypeWithLiterals;
2933
+ /** Content alignment. Defaults to `START`. */
2934
+ alignment?: AlignmentWithLiterals;
2935
+ /** Layout for title and price. Defaults to `STACKED`. */
2936
+ titlePriceLayout?: LayoutWithLiterals;
2937
+ /**
2938
+ * Title text color as a hexadecimal value.
2939
+ * @format COLOR_HEX
2940
+ */
2941
+ titleColor?: string | null;
2942
+ /**
2943
+ * Text color as a hexadecimal value.
2944
+ * @format COLOR_HEX
2945
+ */
2946
+ textColor?: string | null;
2947
+ }
2948
+ interface PricingData {
2949
+ /**
2950
+ * Minimum numeric price value as string (e.g., "10.99").
2951
+ * @decimalValue options { maxScale:2 }
2952
+ */
2953
+ valueFrom?: string | null;
2954
+ /**
2955
+ * Maximum numeric price value as string (e.g., "19.99").
2956
+ * @decimalValue options { maxScale:2 }
2957
+ */
2958
+ valueTo?: string | null;
2959
+ /**
2960
+ * Numeric price value as string after discount application (e.g., "15.99").
2961
+ * @decimalValue options { maxScale:2 }
2962
+ */
2963
+ discountedValue?: string | null;
2964
+ /**
2965
+ * Currency of the value in ISO 4217 format (e.g., "USD", "EUR").
2966
+ * @format CURRENCY
2967
+ */
2968
+ currency?: string | null;
2969
+ /**
2970
+ * Pricing plan ID.
2971
+ * @format GUID
2972
+ */
2973
+ pricingPlanId?: string | null;
2974
+ }
2975
+ interface VideoData {
2976
+ /** Styling for the video's container. */
2977
+ containerData?: PluginContainerData;
2978
+ /** Video details. */
2979
+ video?: Media;
2980
+ /** Video thumbnail details. */
2981
+ thumbnail?: Media;
2982
+ /** Sets whether the video's download button is disabled. Defaults to `false`. */
2983
+ disableDownload?: boolean | null;
2984
+ /** Video title. */
2985
+ title?: string | null;
2986
+ /** Video options. */
2987
+ options?: PlaybackOptions;
2988
+ }
2989
+ interface PlaybackOptions {
2990
+ /** Sets whether the media will automatically start playing. */
2991
+ autoPlay?: boolean | null;
2992
+ /** Sets whether media's will be looped. */
2993
+ playInLoop?: boolean | null;
2994
+ /** Sets whether media's controls will be shown. */
2995
+ showControls?: boolean | null;
2996
+ }
2997
+ interface EmbedData {
2998
+ /** Styling for the oEmbed node's container. */
2999
+ containerData?: PluginContainerData;
3000
+ /** An [oEmbed](https://www.oembed.com) object. */
3001
+ oembed?: Oembed;
3002
+ /** Origin asset source. */
3003
+ src?: string | null;
3004
+ }
3005
+ interface Oembed {
3006
+ /** The resource type. */
3007
+ type?: string | null;
3008
+ /** The width of the resource specified in the `url` property in pixels. */
3009
+ width?: number | null;
3010
+ /** The height of the resource specified in the `url` property in pixels. */
3011
+ height?: number | null;
3012
+ /** Resource title. */
3013
+ title?: string | null;
3014
+ /** The source URL for the resource. */
3015
+ url?: string | null;
3016
+ /** HTML for embedding a video player. The HTML should have no padding or margins. */
3017
+ html?: string | null;
3018
+ /** The name of the author or owner of the resource. */
3019
+ authorName?: string | null;
3020
+ /** The URL for the author or owner of the resource. */
3021
+ authorUrl?: string | null;
3022
+ /** The name of the resource provider. */
3023
+ providerName?: string | null;
3024
+ /** The URL for the resource provider. */
3025
+ providerUrl?: string | null;
3026
+ /** The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined. */
3027
+ thumbnailUrl?: string | null;
3028
+ /** The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined. */
3029
+ thumbnailWidth?: string | null;
3030
+ /** The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined. */
3031
+ thumbnailHeight?: string | null;
3032
+ /** The URL for an embedded viedo. */
3033
+ videoUrl?: string | null;
3034
+ /** The oEmbed version number. This value must be `1.0`. */
3035
+ version?: string | null;
3036
+ }
3037
+ interface CollapsibleListData {
3038
+ /** Styling for the collapsible list's container. */
3039
+ containerData?: PluginContainerData;
3040
+ /** If `true`, only one item can be expanded at a time. Defaults to `false`. */
3041
+ expandOnlyOne?: boolean | null;
3042
+ /** Sets which items are expanded when the page loads. */
3043
+ initialExpandedItems?: InitialExpandedItemsWithLiterals;
3044
+ /** The direction of the text in the list. Either left-to-right or right-to-left. */
3045
+ direction?: DirectionWithLiterals;
3046
+ /** If `true`, The collapsible item will appear in search results as an FAQ. */
3047
+ isQapageData?: boolean | null;
3048
+ }
3049
+ declare enum InitialExpandedItems {
3050
+ /** First item will be expended initally */
3051
+ FIRST = "FIRST",
3052
+ /** All items will expended initally */
3053
+ ALL = "ALL",
3054
+ /** All items collapsed initally */
3055
+ NONE = "NONE"
3056
+ }
3057
+ /** @enumType */
3058
+ type InitialExpandedItemsWithLiterals = InitialExpandedItems | 'FIRST' | 'ALL' | 'NONE';
3059
+ declare enum Direction {
3060
+ /** Left-to-right */
3061
+ LTR = "LTR",
3062
+ /** Right-to-left */
3063
+ RTL = "RTL"
3064
+ }
3065
+ /** @enumType */
3066
+ type DirectionWithLiterals = Direction | 'LTR' | 'RTL';
3067
+ interface TableData {
3068
+ /** Styling for the table's container. */
3069
+ containerData?: PluginContainerData;
3070
+ /** The table's dimensions. */
3071
+ dimensions?: Dimensions;
3072
+ /**
3073
+ * Deprecated: Use `rowHeader` and `columnHeader` instead.
3074
+ * @deprecated
3075
+ */
3076
+ header?: boolean | null;
3077
+ /** Sets whether the table's first row is a header. Defaults to `false`. */
3078
+ rowHeader?: boolean | null;
3079
+ /** Sets whether the table's first column is a header. Defaults to `false`. */
3080
+ columnHeader?: boolean | null;
3081
+ }
3082
+ interface Dimensions {
3083
+ /** An array representing relative width of each column in relation to the other columns. */
3084
+ colsWidthRatio?: number[];
3085
+ /** An array representing the height of each row in pixels. */
3086
+ rowsHeight?: number[];
3087
+ /** An array representing the minimum width of each column in pixels. */
3088
+ colsMinWidth?: number[];
3089
+ }
3090
+ interface TableCellData {
3091
+ /** Styling for the cell's background color and text alignment. */
3092
+ cellStyle?: CellStyle;
3093
+ /** The cell's border colors. */
3094
+ borderColors?: BorderColors;
3095
+ }
3096
+ declare enum VerticalAlignment {
3097
+ /** Top alignment */
3098
+ TOP = "TOP",
3099
+ /** Middle alignment */
3100
+ MIDDLE = "MIDDLE",
3101
+ /** Bottom alignment */
3102
+ BOTTOM = "BOTTOM"
3103
+ }
3104
+ /** @enumType */
3105
+ type VerticalAlignmentWithLiterals = VerticalAlignment | 'TOP' | 'MIDDLE' | 'BOTTOM';
3106
+ interface CellStyle {
3107
+ /** Vertical alignment for the cell's text. */
3108
+ verticalAlignment?: VerticalAlignmentWithLiterals;
3109
+ /**
3110
+ * Cell background color as a hexadecimal value.
3111
+ * @format COLOR_HEX
3112
+ */
3113
+ backgroundColor?: string | null;
3114
+ }
3115
+ interface BorderColors {
3116
+ /**
3117
+ * Left border color as a hexadecimal value.
3118
+ * @format COLOR_HEX
3119
+ */
3120
+ left?: string | null;
3121
+ /**
3122
+ * Right border color as a hexadecimal value.
3123
+ * @format COLOR_HEX
3124
+ */
3125
+ right?: string | null;
3126
+ /**
3127
+ * Top border color as a hexadecimal value.
3128
+ * @format COLOR_HEX
3129
+ */
3130
+ top?: string | null;
3131
+ /**
3132
+ * Bottom border color as a hexadecimal value.
3133
+ * @format COLOR_HEX
3134
+ */
3135
+ bottom?: string | null;
3136
+ }
3137
+ /**
3138
+ * `NullValue` is a singleton enumeration to represent the null value for the
3139
+ * `Value` type union.
3140
+ *
3141
+ * The JSON representation for `NullValue` is JSON `null`.
3142
+ */
3143
+ declare enum NullValue {
3144
+ /** Null value. */
3145
+ NULL_VALUE = "NULL_VALUE"
3146
+ }
3147
+ /** @enumType */
3148
+ type NullValueWithLiterals = NullValue | 'NULL_VALUE';
3149
+ /**
3150
+ * `ListValue` is a wrapper around a repeated field of values.
3151
+ *
3152
+ * The JSON representation for `ListValue` is JSON array.
3153
+ */
3154
+ interface ListValue {
3155
+ /** Repeated field of dynamically typed values. */
3156
+ values?: any[];
3157
+ }
3158
+ interface AudioData {
3159
+ /** Styling for the audio node's container. */
3160
+ containerData?: PluginContainerData;
3161
+ /** Audio file details. */
3162
+ audio?: Media;
3163
+ /** Sets whether the audio node's download button is disabled. Defaults to `false`. */
3164
+ disableDownload?: boolean | null;
3165
+ /** Cover image. */
3166
+ coverImage?: Media;
3167
+ /** Track name. */
3168
+ name?: string | null;
3169
+ /** Author name. */
3170
+ authorName?: string | null;
3171
+ /** An HTML version of the audio node. */
3172
+ html?: string | null;
3173
+ }
3174
+ interface OrderedListData {
3175
+ /** Indentation level from 0-4. */
3176
+ indentation?: number;
3177
+ /** Offset level from 0-4. */
3178
+ offset?: number | null;
3179
+ /** List start number. */
3180
+ start?: number | null;
3181
+ }
3182
+ interface BulletedListData {
3183
+ /** Indentation level from 0-4. */
3184
+ indentation?: number;
3185
+ /** Offset level from 0-4. */
3186
+ offset?: number | null;
3187
+ }
3188
+ interface BlockquoteData {
3189
+ /** Indentation level from 1-4. */
3190
+ indentation?: number;
3191
+ }
3192
+ interface CaptionData {
3193
+ textStyle?: TextStyle;
3194
+ }
3195
+ interface LayoutCellData {
3196
+ /** Size of the cell in 12 columns grid. */
3197
+ colSpan?: number | null;
3198
+ }
3199
+ interface Metadata {
3200
+ /** Schema version. */
3201
+ version?: number;
3202
+ /**
3203
+ * When the object was created.
3204
+ * @readonly
3205
+ * @deprecated
3206
+ */
3207
+ createdTimestamp?: Date | null;
3208
+ /**
3209
+ * When the object was most recently updated.
3210
+ * @deprecated
3211
+ */
3212
+ updatedTimestamp?: Date | null;
3213
+ /** Object ID. */
3214
+ id?: string | null;
3215
+ }
3216
+ interface DocumentStyle {
3217
+ /** Styling for H1 nodes. */
3218
+ headerOne?: TextNodeStyle;
3219
+ /** Styling for H2 nodes. */
3220
+ headerTwo?: TextNodeStyle;
3221
+ /** Styling for H3 nodes. */
3222
+ headerThree?: TextNodeStyle;
3223
+ /** Styling for H4 nodes. */
3224
+ headerFour?: TextNodeStyle;
3225
+ /** Styling for H5 nodes. */
3226
+ headerFive?: TextNodeStyle;
3227
+ /** Styling for H6 nodes. */
3228
+ headerSix?: TextNodeStyle;
3229
+ /** Styling for paragraph nodes. */
3230
+ paragraph?: TextNodeStyle;
3231
+ /** Styling for block quote nodes. */
3232
+ blockquote?: TextNodeStyle;
3233
+ /** Styling for code block nodes. */
3234
+ codeBlock?: TextNodeStyle;
3235
+ }
3236
+ interface TextNodeStyle {
3237
+ /** The decorations to apply to the node. */
3238
+ decorations?: Decoration[];
3239
+ /** Padding and background color for the node. */
3240
+ nodeStyle?: NodeStyle;
3241
+ /** Line height for text in the node. */
3242
+ lineHeight?: string | null;
3243
+ }
3244
+ interface Badge {
3245
+ /** Badge type. */
3246
+ type?: TypeWithLiterals;
3247
+ /**
3248
+ * Badge text.
3249
+ * @maxLength 50
3250
+ */
3251
+ text?: string | null;
3252
+ }
3253
+ declare enum Type {
3254
+ /** Unknown badge type. */
3255
+ UNKNOWN_BADGE_TYPE = "UNKNOWN_BADGE_TYPE",
3256
+ /** 1st priority badge type. */
3257
+ FIRST_PRIORITY = "FIRST_PRIORITY",
3258
+ /** 2nd priority badge type. */
3259
+ SECOND_PRIORITY = "SECOND_PRIORITY",
3260
+ /** 3rd priority badge type. */
3261
+ THIRD_PRIORITY = "THIRD_PRIORITY"
3262
+ }
3263
+ /** @enumType */
3264
+ type TypeWithLiterals = Type | 'UNKNOWN_BADGE_TYPE' | 'FIRST_PRIORITY' | 'SECOND_PRIORITY' | 'THIRD_PRIORITY';
3265
+ interface DiscardDraftRequest {
3266
+ /**
3267
+ * Event ID to which the form belongs.
3268
+ * @format GUID
3269
+ */
3270
+ eventId: string;
3271
+ }
3272
+ interface DiscardDraftResponse {
3273
+ }
3274
+ interface DomainEvent extends DomainEventBodyOneOf {
3275
+ createdEvent?: EntityCreatedEvent;
3276
+ updatedEvent?: EntityUpdatedEvent;
3277
+ deletedEvent?: EntityDeletedEvent;
3278
+ actionEvent?: ActionEvent;
3279
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
3280
+ id?: string;
3281
+ /**
3282
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
3283
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
3284
+ */
3285
+ entityFqdn?: string;
3286
+ /**
3287
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
3288
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
3289
+ */
3290
+ slug?: string;
3291
+ /** ID of the entity associated with the event. */
3292
+ entityId?: string;
3293
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
3294
+ eventTime?: Date | null;
3295
+ /**
3296
+ * Whether the event was triggered as a result of a privacy regulation application
3297
+ * (for example, GDPR).
3298
+ */
3299
+ triggeredByAnonymizeRequest?: boolean | null;
3300
+ /** If present, indicates the action that triggered the event. */
3301
+ originatedFrom?: string | null;
3302
+ /**
3303
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
3304
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
3305
+ */
3306
+ entityEventSequence?: string | null;
3307
+ }
3308
+ /** @oneof */
3309
+ interface DomainEventBodyOneOf {
3310
+ createdEvent?: EntityCreatedEvent;
3311
+ updatedEvent?: EntityUpdatedEvent;
3312
+ deletedEvent?: EntityDeletedEvent;
3313
+ actionEvent?: ActionEvent;
3314
+ }
3315
+ interface EntityCreatedEvent {
3316
+ entityAsJson?: string;
3317
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
3318
+ restoreInfo?: RestoreInfo;
3319
+ }
3320
+ interface RestoreInfo {
3321
+ deletedDate?: Date | null;
3322
+ }
3323
+ interface EntityUpdatedEvent {
3324
+ /**
3325
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
3326
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
3327
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
3328
+ */
3329
+ currentEntityAsJson?: string;
3330
+ }
3331
+ interface EntityDeletedEvent {
3332
+ /** Entity that was deleted. */
3333
+ deletedEntityAsJson?: string | null;
3334
+ }
3335
+ interface ActionEvent {
3336
+ bodyAsJson?: string;
3337
+ }
3338
+ interface MessageEnvelope {
3339
+ /**
3340
+ * App instance ID.
3341
+ * @format GUID
3342
+ */
3343
+ instanceId?: string | null;
3344
+ /**
3345
+ * Event type.
3346
+ * @maxLength 150
3347
+ */
3348
+ eventType?: string;
3349
+ /** The identification type and identity data. */
3350
+ identity?: IdentificationData;
3351
+ /** Stringify payload. */
3352
+ data?: string;
3353
+ }
3354
+ interface IdentificationData extends IdentificationDataIdOneOf {
3355
+ /**
3356
+ * ID of a site visitor that has not logged in to the site.
3357
+ * @format GUID
3358
+ */
3359
+ anonymousVisitorId?: string;
3360
+ /**
3361
+ * ID of a site visitor that has logged in to the site.
3362
+ * @format GUID
3363
+ */
3364
+ memberId?: string;
3365
+ /**
3366
+ * ID of a Wix user (site owner, contributor, etc.).
3367
+ * @format GUID
3368
+ */
3369
+ wixUserId?: string;
3370
+ /**
3371
+ * ID of an app.
3372
+ * @format GUID
3373
+ */
3374
+ appId?: string;
3375
+ /** @readonly */
3376
+ identityType?: WebhookIdentityTypeWithLiterals;
3377
+ }
3378
+ /** @oneof */
3379
+ interface IdentificationDataIdOneOf {
3380
+ /**
3381
+ * ID of a site visitor that has not logged in to the site.
3382
+ * @format GUID
3383
+ */
3384
+ anonymousVisitorId?: string;
3385
+ /**
3386
+ * ID of a site visitor that has logged in to the site.
3387
+ * @format GUID
3388
+ */
3389
+ memberId?: string;
3390
+ /**
3391
+ * ID of a Wix user (site owner, contributor, etc.).
3392
+ * @format GUID
3393
+ */
3394
+ wixUserId?: string;
3395
+ /**
3396
+ * ID of an app.
3397
+ * @format GUID
3398
+ */
3399
+ appId?: string;
3400
+ }
3401
+ declare enum WebhookIdentityType {
3402
+ UNKNOWN = "UNKNOWN",
3403
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
3404
+ MEMBER = "MEMBER",
3405
+ WIX_USER = "WIX_USER",
3406
+ APP = "APP"
3407
+ }
3408
+ /** @enumType */
3409
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
3410
+ /** @docsIgnore */
3411
+ type AddControlApplicationErrors = {
3412
+ code?: 'INVALID_EVENT_CONFIGURATION';
3413
+ description?: string;
3414
+ data?: Record<string, any>;
3415
+ };
3416
+ /** @docsIgnore */
3417
+ type UpdateControlApplicationErrors = {
3418
+ code?: 'INVALID_EVENT_CONFIGURATION';
3419
+ description?: string;
3420
+ data?: Record<string, any>;
3421
+ } | {
3422
+ code?: 'CONTROL_NOT_FOUND';
3423
+ description?: string;
3424
+ data?: Record<string, any>;
3425
+ };
3426
+ /** @docsIgnore */
3427
+ type DeleteControlApplicationErrors = {
3428
+ code?: 'CONTROL_NOT_FOUND';
3429
+ description?: string;
3430
+ data?: Record<string, any>;
3431
+ };
619
3432
 
620
3433
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
621
3434
  getUrl: (context: any) => string;
@@ -651,4 +3464,4 @@ declare function discardDraft(): __PublicMethodMetaInfo<'DELETE', {
651
3464
  eventId: string;
652
3465
  }, DiscardDraftRequest$1, DiscardDraftRequest, DiscardDraftResponse$1, DiscardDraftResponse>;
653
3466
 
654
- export { type __PublicMethodMetaInfo, addControl, deleteControl, discardDraft, getForm, publishDraft, updateControl, updateMessages };
3467
+ export { type ActionEvent as ActionEventOriginal, type AddControlApplicationErrors as AddControlApplicationErrorsOriginal, type AddControlRequestControlOneOf as AddControlRequestControlOneOfOriginal, type AddControlRequest as AddControlRequestOriginal, type AddControlResponse as AddControlResponseOriginal, type AdditionalGuestsControl as AdditionalGuestsControlOriginal, type AddressControlLabels as AddressControlLabelsOriginal, type AddressControl as AddressControlOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, type Agenda as AgendaOriginal, Alignment as AlignmentOriginal, type AlignmentWithLiterals as AlignmentWithLiteralsOriginal, type AnchorData as AnchorDataOriginal, type AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOfOriginal, type AppEmbedData as AppEmbedDataOriginal, AppType as AppTypeOriginal, type AppTypeWithLiterals as AppTypeWithLiteralsOriginal, AspectRatio as AspectRatioOriginal, type AspectRatioWithLiterals as AspectRatioWithLiteralsOriginal, type AudioData as AudioDataOriginal, type BackgroundBackgroundOneOf as BackgroundBackgroundOneOfOriginal, type Background as BackgroundOriginal, BackgroundType as BackgroundTypeOriginal, type BackgroundTypeWithLiterals as BackgroundTypeWithLiteralsOriginal, type Badge as BadgeOriginal, type BlockquoteData as BlockquoteDataOriginal, type BookingData as BookingDataOriginal, type BorderColors as BorderColorsOriginal, type Border as BorderOriginal, type BulletedListData as BulletedListDataOriginal, type ButtonData as ButtonDataOriginal, ButtonDataType as ButtonDataTypeOriginal, type ButtonDataTypeWithLiterals as ButtonDataTypeWithLiteralsOriginal, type ButtonStyles as ButtonStylesOriginal, type CalendarLinks as CalendarLinksOriginal, type CaptionData as CaptionDataOriginal, type CardStyles as CardStylesOriginal, CardStylesType as CardStylesTypeOriginal, type CardStylesTypeWithLiterals as CardStylesTypeWithLiteralsOriginal, type CategoryCounts as CategoryCountsOriginal, type Category as CategoryOriginal, type CellStyle as CellStyleOriginal, type CheckboxControl as CheckboxControlOriginal, type CheckoutFormMessages as CheckoutFormMessagesOriginal, CheckoutType as CheckoutTypeOriginal, type CheckoutTypeWithLiterals as CheckoutTypeWithLiteralsOriginal, type CodeBlockData as CodeBlockDataOriginal, type CollapsibleListData as CollapsibleListDataOriginal, type ColorData as ColorDataOriginal, type Colors as ColorsOriginal, ConferenceType as ConferenceTypeOriginal, type ConferenceTypeWithLiterals as ConferenceTypeWithLiteralsOriginal, Crop as CropOriginal, type CropWithLiterals as CropWithLiteralsOriginal, type Dashboard as DashboardOriginal, type DateControl as DateControlOriginal, type DecorationDataOneOf as DecorationDataOneOfOriginal, type Decoration as DecorationOriginal, DecorationType as DecorationTypeOriginal, type DecorationTypeWithLiterals as DecorationTypeWithLiteralsOriginal, type DeleteControlApplicationErrors as DeleteControlApplicationErrorsOriginal, type DeleteControlRequest as DeleteControlRequestOriginal, type DeleteControlResponse as DeleteControlResponseOriginal, type Design as DesignOriginal, type Dimensions as DimensionsOriginal, Direction as DirectionOriginal, type DirectionWithLiterals as DirectionWithLiteralsOriginal, type DiscardDraftRequest as DiscardDraftRequestOriginal, type DiscardDraftResponse as DiscardDraftResponseOriginal, DividerDataAlignment as DividerDataAlignmentOriginal, type DividerDataAlignmentWithLiterals as DividerDataAlignmentWithLiteralsOriginal, type DividerData as DividerDataOriginal, type DocumentStyle as DocumentStyleOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DropdownControl as DropdownControlOriginal, type EmailControl as EmailControlOriginal, type EmbedData as EmbedDataOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EventData as EventDataOriginal, type EventDisplaySettings as EventDisplaySettingsOriginal, type Event as EventOriginal, EventStatus as EventStatusOriginal, type EventStatusWithLiterals as EventStatusWithLiteralsOriginal, EventType as EventTypeOriginal, type EventTypeWithLiterals as EventTypeWithLiteralsOriginal, type EventUpdated as EventUpdatedOriginal, type ExternalEvent as ExternalEventOriginal, type Feed as FeedOriginal, type FileData as FileDataOriginal, type FileSourceDataOneOf as FileSourceDataOneOfOriginal, type FileSource as FileSourceOriginal, type FontSizeData as FontSizeDataOriginal, FontType as FontTypeOriginal, type FontTypeWithLiterals as FontTypeWithLiteralsOriginal, type FormInputControlAdded as FormInputControlAddedOriginal, type FormInputControlDeleted as FormInputControlDeletedOriginal, type FormInputControlUpdated as FormInputControlUpdatedOriginal, type FormMessages as FormMessagesOriginal, type Form as FormOriginal, type GIFData as GIFDataOriginal, type GIF as GIFOriginal, GIFType as GIFTypeOriginal, type GIFTypeWithLiterals as GIFTypeWithLiteralsOriginal, type GalleryData as GalleryDataOriginal, type GalleryOptionsLayout as GalleryOptionsLayoutOriginal, type GalleryOptions as GalleryOptionsOriginal, type GetFormRequest as GetFormRequestOriginal, type GetFormResponse as GetFormResponseOriginal, type Gradient as GradientOriginal, type GuestListConfig as GuestListConfigOriginal, type HTMLDataDataOneOf as HTMLDataDataOneOfOriginal, type HTMLData as HTMLDataOriginal, type HeadingData as HeadingDataOriginal, type Height as HeightOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageData as ImageDataOriginal, type ImageDataStyles as ImageDataStylesOriginal, type Image as ImageOriginal, type ImageStyles as ImageStylesOriginal, InitialExpandedItems as InitialExpandedItemsOriginal, type InitialExpandedItemsWithLiterals as InitialExpandedItemsWithLiteralsOriginal, type InputControl as InputControlOriginal, InputControlType as InputControlTypeOriginal, type InputControlTypeWithLiterals as InputControlTypeWithLiteralsOriginal, type Input as InputOriginal, type ItemDataOneOf as ItemDataOneOfOriginal, type ItemImage as ItemImageOriginal, type Item as ItemOriginal, type ItemStyle as ItemStyleOriginal, type Keyword as KeywordOriginal, type Label as LabelOriginal, type LabellingSettings as LabellingSettingsOriginal, type Labels as LabelsOriginal, type LayoutCellData as LayoutCellDataOriginal, Layout as LayoutOriginal, LayoutType as LayoutTypeOriginal, type LayoutTypeWithLiterals as LayoutTypeWithLiteralsOriginal, type LayoutWithLiterals as LayoutWithLiteralsOriginal, LineStyle as LineStyleOriginal, type LineStyleWithLiterals as LineStyleWithLiteralsOriginal, type LinkDataOneOf as LinkDataOneOfOriginal, type LinkData as LinkDataOriginal, type Link as LinkOriginal, type LinkPreviewData as LinkPreviewDataOriginal, type LinkPreviewDataStyles as LinkPreviewDataStylesOriginal, type ListValue as ListValueOriginal, type Location as LocationOriginal, LocationType as LocationTypeOriginal, type LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal, type MapCoordinates as MapCoordinatesOriginal, type MapData as MapDataOriginal, type MapSettings as MapSettingsOriginal, MapType as MapTypeOriginal, type MapTypeWithLiterals as MapTypeWithLiteralsOriginal, type Media as MediaOriginal, type MentionData as MentionDataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Metadata as MetadataOriginal, type Money as MoneyOriginal, type NameControlLabels as NameControlLabelsOriginal, type NameControl as NameControlOriginal, type Negative as NegativeOriginal, type NegativeResponseConfirmation as NegativeResponseConfirmationOriginal, type NodeDataOneOf as NodeDataOneOfOriginal, type Node as NodeOriginal, type NodeStyle as NodeStyleOriginal, NodeType as NodeTypeOriginal, type NodeTypeWithLiterals as NodeTypeWithLiteralsOriginal, NullValue as NullValueOriginal, type NullValueWithLiterals as NullValueWithLiteralsOriginal, type Occurrence as OccurrenceOriginal, type Oembed as OembedOriginal, type OnlineConferencingConfig as OnlineConferencingConfigOriginal, type OnlineConferencing as OnlineConferencingOriginal, type OnlineConferencingSession as OnlineConferencingSessionOriginal, type OptionDesign as OptionDesignOriginal, type OptionLayout as OptionLayoutOriginal, type Option as OptionOriginal, type OptionSelection as OptionSelectionOriginal, type OptionSelectionSelectedOptionOneOf as OptionSelectionSelectedOptionOneOfOriginal, type OrderedListData as OrderedListDataOriginal, Orientation as OrientationOriginal, type OrientationWithLiterals as OrientationWithLiteralsOriginal, type PDFSettings as PDFSettingsOriginal, type ParagraphData as ParagraphDataOriginal, type Permissions as PermissionsOriginal, type PhoneControl as PhoneControlOriginal, Placement as PlacementOriginal, type PlacementWithLiterals as PlacementWithLiteralsOriginal, type PlaybackOptions as PlaybackOptionsOriginal, PluginContainerDataAlignment as PluginContainerDataAlignmentOriginal, type PluginContainerDataAlignmentWithLiterals as PluginContainerDataAlignmentWithLiteralsOriginal, type PluginContainerData as PluginContainerDataOriginal, type PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOfOriginal, type PluginContainerDataWidth as PluginContainerDataWidthOriginal, type PollDataLayout as PollDataLayoutOriginal, type PollData as PollDataOriginal, type PollDesign as PollDesignOriginal, PollLayoutDirection as PollLayoutDirectionOriginal, type PollLayoutDirectionWithLiterals as PollLayoutDirectionWithLiteralsOriginal, type PollLayout as PollLayoutOriginal, PollLayoutType as PollLayoutTypeOriginal, type PollLayoutTypeWithLiterals as PollLayoutTypeWithLiteralsOriginal, type Poll as PollOriginal, type PollSettings as PollSettingsOriginal, Position as PositionOriginal, type PositionWithLiterals as PositionWithLiteralsOriginal, type Positive as PositiveOriginal, type PositiveResponseConfirmation as PositiveResponseConfirmationOriginal, type PricingData as PricingDataOriginal, type PublishDraftRequest as PublishDraftRequestOriginal, type PublishDraftResponse as PublishDraftResponseOriginal, type RadioButtonControl as RadioButtonControlOriginal, type Recurrences as RecurrencesOriginal, type RegistrationClosedMessages as RegistrationClosedMessagesOriginal, type Registration as RegistrationOriginal, RegistrationStatus as RegistrationStatusOriginal, type RegistrationStatusWithLiterals as RegistrationStatusWithLiteralsOriginal, type Rel as RelOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, Resizing as ResizingOriginal, type ResizingWithLiterals as ResizingWithLiteralsOriginal, type ResponseConfirmation as ResponseConfirmationOriginal, type RestoreInfo as RestoreInfoOriginal, type RibbonStyles as RibbonStylesOriginal, type RichContent as RichContentOriginal, type RsvpCollectionConfig as RsvpCollectionConfigOriginal, type RsvpCollection as RsvpCollectionOriginal, type RsvpConfirmationMessagesNegativeResponseConfirmation as RsvpConfirmationMessagesNegativeResponseConfirmationOriginal, type RsvpConfirmationMessages as RsvpConfirmationMessagesOriginal, type RsvpConfirmationMessagesPositiveResponseConfirmation as RsvpConfirmationMessagesPositiveResponseConfirmationOriginal, type RsvpFormMessages as RsvpFormMessagesOriginal, RsvpStatusOptions as RsvpStatusOptionsOriginal, type RsvpStatusOptionsWithLiterals as RsvpStatusOptionsWithLiteralsOriginal, type RsvpSummary as RsvpSummaryOriginal, type ScheduleConfig as ScheduleConfigOriginal, type Scheduling as SchedulingOriginal, type SeoSchema as SeoSchemaOriginal, type SeoSettings as SeoSettingsOriginal, type Settings as SettingsOriginal, type SiteUrl as SiteUrlOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, type SpoilerData as SpoilerDataOriginal, type Spoiler as SpoilerOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type StylesBorder as StylesBorderOriginal, type Styles as StylesOriginal, StylesPosition as StylesPositionOriginal, type StylesPositionWithLiterals as StylesPositionWithLiteralsOriginal, type Subdivision as SubdivisionOriginal, SubdivisionType as SubdivisionTypeOriginal, type SubdivisionTypeWithLiterals as SubdivisionTypeWithLiteralsOriginal, type TableCellData as TableCellDataOriginal, type TableData as TableDataOriginal, type Tag as TagOriginal, Target as TargetOriginal, type TargetWithLiterals as TargetWithLiteralsOriginal, type TaxConfig as TaxConfigOriginal, TaxType as TaxTypeOriginal, type TaxTypeWithLiterals as TaxTypeWithLiteralsOriginal, TextAlignment as TextAlignmentOriginal, type TextAlignmentWithLiterals as TextAlignmentWithLiteralsOriginal, type TextControl as TextControlOriginal, type TextData as TextDataOriginal, type TextNodeStyle as TextNodeStyleOriginal, type TextStyle as TextStyleOriginal, ThumbnailsAlignment as ThumbnailsAlignmentOriginal, type ThumbnailsAlignmentWithLiterals as ThumbnailsAlignmentWithLiteralsOriginal, type Thumbnails as ThumbnailsOriginal, type TicketingConfig as TicketingConfigOriginal, type Ticketing as TicketingOriginal, type TicketingSummary as TicketingSummaryOriginal, type TicketsConfirmationMessages as TicketsConfirmationMessagesOriginal, type TicketsUnavailableMessages as TicketsUnavailableMessagesOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UpdateControlApplicationErrors as UpdateControlApplicationErrorsOriginal, type UpdateControlRequestControlOneOf as UpdateControlRequestControlOneOfOriginal, type UpdateControlRequest as UpdateControlRequestOriginal, type UpdateControlResponse as UpdateControlResponseOriginal, type UpdateMessagesRequest as UpdateMessagesRequestOriginal, type UpdateMessagesResponse as UpdateMessagesResponseOriginal, ValueType as ValueTypeOriginal, type ValueTypeWithLiterals as ValueTypeWithLiteralsOriginal, VerticalAlignment as VerticalAlignmentOriginal, type VerticalAlignmentWithLiterals as VerticalAlignmentWithLiteralsOriginal, type VideoData as VideoDataOriginal, type Video as VideoOriginal, ViewMode as ViewModeOriginal, type ViewModeWithLiterals as ViewModeWithLiteralsOriginal, ViewRole as ViewRoleOriginal, type ViewRoleWithLiterals as ViewRoleWithLiteralsOriginal, VisitorType as VisitorTypeOriginal, type VisitorTypeWithLiterals as VisitorTypeWithLiteralsOriginal, VoteRole as VoteRoleOriginal, type VoteRoleWithLiterals as VoteRoleWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, Width as WidthOriginal, WidthType as WidthTypeOriginal, type WidthTypeWithLiterals as WidthTypeWithLiteralsOriginal, type WidthWithLiterals as WidthWithLiteralsOriginal, type __PublicMethodMetaInfo, addControl, deleteControl, discardDraft, getForm, publishDraft, updateControl, updateMessages };