@wix/auto_sdk_events_notifications 1.0.38 → 1.0.39

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.
@@ -1 +1 @@
1
- {"version":3,"sources":["../../index.ts","../../src/events-notifications-v2-notification-config-notifications.public.ts","../../src/events-notifications-v2-notification-config-notifications.universal.ts","../../src/events-notifications-v2-notification-config-notifications.http.ts","../../src/events-notifications-v2-notification-config-notifications.context.ts"],"sourcesContent":["export * from './src/events-notifications-v2-notification-config-notifications.context.js';\n","import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { EventDefinition, HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n NotificationConfigCreatedEnvelope,\n NotificationConfigUpdatedEnvelope,\n ResolveNotificationConfigResponse,\n TriggerNotificationOptions,\n UpsertNotificationConfig,\n UpsertNotificationConfigResponse,\n resolveNotificationConfig as universalResolveNotificationConfig,\n triggerNotification as universalTriggerNotification,\n upsertNotificationConfig as universalUpsertNotificationConfig,\n} from './events-notifications-v2-notification-config-notifications.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/events' };\n\nexport function triggerNotification(\n httpClient: HttpClient\n): TriggerNotificationSignature {\n return (options: TriggerNotificationOptions) =>\n universalTriggerNotification(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface TriggerNotificationSignature {\n /**\n * Triggers notification\n */\n (options: TriggerNotificationOptions): Promise<void>;\n}\n\nexport function resolveNotificationConfig(\n httpClient: HttpClient\n): ResolveNotificationConfigSignature {\n return (notificationConfigId: string) =>\n universalResolveNotificationConfig(\n notificationConfigId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface ResolveNotificationConfigSignature {\n /**\n * Resolves a NotificationConfig by id. Returns saved value or default value if not saved yet.\n * @param - Id of the NotificationConfig to retrieve\n */\n (notificationConfigId: string): Promise<\n NonNullablePaths<\n ResolveNotificationConfigResponse,\n | `notificationConfig.rsvpConfirmation.notificationType`\n | `notificationConfig.rsvpConfirmation.reminderTime`,\n 4\n >\n >;\n}\n\nexport function upsertNotificationConfig(\n httpClient: HttpClient\n): UpsertNotificationConfigSignature {\n return (_id: string, notificationConfig: UpsertNotificationConfig) =>\n universalUpsertNotificationConfig(\n _id,\n notificationConfig,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface UpsertNotificationConfigSignature {\n /**\n * Upsert a NotificationConfig\n * @param - Event ID.\n */\n (_id: string, notificationConfig: UpsertNotificationConfig): Promise<\n NonNullablePaths<\n UpsertNotificationConfigResponse,\n | `notificationConfig.rsvpConfirmation.notificationType`\n | `notificationConfig.rsvpConfirmation.reminderTime`,\n 4\n >\n >;\n}\n\nexport const onNotificationConfigCreated = EventDefinition(\n 'wix.events.notifications.v2.notification_config_created',\n true,\n (event: NotificationConfigCreatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n ])\n )\n)<NotificationConfigCreatedEnvelope>();\nexport const onNotificationConfigUpdated = EventDefinition(\n 'wix.events.notifications.v2.notification_config_updated',\n true,\n (event: NotificationConfigUpdatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n ])\n )\n)<NotificationConfigUpdatedEnvelope>();\n\nexport {\n ActionEvent,\n Address,\n AddressLocation,\n AddressStreetOneOf,\n Agenda,\n Alignment,\n AnchorData,\n AppEmbedData,\n AppEmbedDataAppDataOneOf,\n AppType,\n AspectRatio,\n AudioData,\n Background,\n BackgroundBackgroundOneOf,\n BackgroundType,\n Badge,\n BaseEventMetadata,\n BlockquoteData,\n BookingData,\n Border,\n BorderColors,\n BulletedListData,\n ButtonData,\n ButtonDataType,\n ButtonStyles,\n CalendarLinks,\n CaptionData,\n CardStyles,\n CardStylesType,\n Category,\n CategoryCounts,\n CellStyle,\n CheckIn,\n CheckoutFormMessages,\n CodeBlockData,\n CollapsibleListData,\n ColorData,\n Colors,\n CommonAddress,\n CommonAddressLocation,\n CommonAddressStreetOneOf,\n CommonStreetAddress,\n CommonSubdivision,\n ConferenceType,\n CouponDiscount,\n Crop,\n Dashboard,\n Decoration,\n DecorationDataOneOf,\n DecorationType,\n Design,\n Dimensions,\n Direction,\n Discount,\n DiscountItem,\n DiscountItemDiscountOneOf,\n DividerData,\n DividerDataAlignment,\n DocumentStyle,\n DomainEvent,\n DomainEventBodyOneOf,\n EmailNotificationConfig,\n EmailNotificationReminderTime,\n EmailNotificationType,\n EmailTemplate,\n EmbedData,\n Empty,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n Event,\n EventCanceled,\n EventCopied,\n EventData,\n EventDeleted,\n EventDisplaySettings,\n EventEnded,\n EventGuests,\n EventMetadata,\n EventReminder,\n EventStarted,\n EventStatus,\n EventType,\n EventUpdated,\n ExternalEvent,\n Fee,\n FeeName,\n FeeType,\n Feed,\n FileData,\n FileSource,\n FileSourceDataOneOf,\n FontSizeData,\n FontType,\n Form,\n FormMessages,\n FormResponse,\n FormattedAddress,\n GIF,\n GIFData,\n GIFType,\n GalleryData,\n GalleryDataItem,\n GalleryDataItemDataOneOf,\n GalleryOptions,\n GalleryOptionsLayout,\n Gradient,\n GuestListConfig,\n HTMLData,\n HTMLDataDataOneOf,\n HeadingData,\n Height,\n IdentificationData,\n IdentificationDataIdOneOf,\n Image,\n ImageData,\n ImageDataStyles,\n ImageStyles,\n InitialExpandedItems,\n Input,\n InputControl,\n InputControlType,\n InputValue,\n Invoice,\n Item,\n ItemStyle,\n Keyword,\n Label,\n LabellingSettings,\n Layout,\n LayoutCellData,\n LayoutType,\n LineStyle,\n Link,\n LinkData,\n LinkPreviewData,\n LinkPreviewDataStyles,\n ListValue,\n Location,\n LocationType,\n MapCoordinates,\n MapData,\n MapSettings,\n MapType,\n Media,\n MentionData,\n MessageEnvelope,\n Metadata,\n Money,\n Negative,\n NegativeResponseConfirmation,\n Node,\n NodeDataOneOf,\n NodeStyle,\n NodeType,\n NotificationConfig,\n NotificationConfigCreatedEnvelope,\n NotificationConfigUpdatedEnvelope,\n NullValue,\n Occurrence,\n Oembed,\n OnlineConferencing,\n OnlineConferencingConfig,\n OnlineConferencingLogin,\n OnlineConferencingSession,\n Option,\n OptionDesign,\n OptionLayout,\n OptionSelection,\n OptionSelectionSelectedOptionOneOf,\n OrderCanceled,\n OrderConfirmed,\n OrderEmailAdded,\n OrderGuest,\n OrderPaid,\n OrderStatus,\n OrderedListData,\n Orientation,\n PDFSettings,\n PaidPlanDiscount,\n PaidPlanDiscountDiscountOneOf,\n ParagraphData,\n PercentDiscount,\n Permissions,\n Placement,\n PlaybackOptions,\n PluginContainerData,\n PluginContainerDataAlignment,\n PluginContainerDataWidth,\n PluginContainerDataWidthDataOneOf,\n Poll,\n PollData,\n PollDataLayout,\n PollDesign,\n PollLayout,\n PollLayoutDirection,\n PollLayoutType,\n PollSettings,\n Position,\n Positive,\n PositiveResponseConfirmation,\n PricingData,\n PushNotificationType,\n Recurrences,\n Registration,\n RegistrationClosedMessages,\n RegistrationStatus,\n Rel,\n Resizing,\n ResolveEmailNotificationConfigRequest,\n ResolveEmailNotificationConfigResponse,\n ResolveNotificationConfigRequest,\n ResolveNotificationConfigResponse,\n ResponseConfirmation,\n RestoreInfo,\n RibbonStyles,\n RichContent,\n RsvpCollection,\n RsvpCollectionConfig,\n RsvpConfirmationMessages,\n RsvpConfirmationMessagesNegativeResponseConfirmation,\n RsvpConfirmationMessagesPositiveResponseConfirmation,\n RsvpFormMessages,\n RsvpGuest,\n RsvpStatusOptions,\n RsvpSummary,\n ScheduleConfig,\n Scheduling,\n SeoSchema,\n SeoSettings,\n Settings,\n SiteUrl,\n Source,\n Spoiler,\n SpoilerData,\n StandardDetails,\n State,\n Status,\n StreetAddress,\n Styles,\n StylesBorder,\n StylesPosition,\n Subdivision,\n SubdivisionType,\n TableCellData,\n TableData,\n Tag,\n Target,\n Tax,\n TaxConfig,\n TaxType,\n TextAlignment,\n TextData,\n TextNodeStyle,\n TextStyle,\n Thumbnails,\n ThumbnailsAlignment,\n Ticket,\n TicketGuest,\n TicketPdfResolveDelayed,\n TicketPdfResolved,\n Ticketing,\n TicketingConfig,\n TicketingSummary,\n TicketsConfirmationMessages,\n TicketsUnavailableMessages,\n TimeDuration,\n TriggerNotificationOptions,\n TriggerNotificationOptionsGuestsOneOf,\n TriggerNotificationOptionsNotificationOneOf,\n TriggerNotificationRequest,\n TriggerNotificationRequestGuestsOneOf,\n TriggerNotificationRequestNotificationOneOf,\n TriggerNotificationResponse,\n Type,\n UpsertNotificationConfig,\n UpsertNotificationConfigRequest,\n UpsertNotificationConfigResponse,\n V1Link,\n V1LinkDataOneOf,\n ValueType,\n VerticalAlignment,\n Video,\n VideoData,\n ViewMode,\n ViewRole,\n VisitorType,\n VoteRole,\n WebhookIdentityType,\n Width,\n WidthType,\n} from './events-notifications-v2-notification-config-notifications.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixEventsNotificationsV2NotificationConfig from './events-notifications-v2-notification-config-notifications.http.js';\n\nexport interface NotificationConfig {\n /**\n * Event ID.\n * @format GUID\n * @immutable\n */\n _id?: string | null;\n /**\n * Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision.\n * @immutable\n */\n revision?: string | null;\n /**\n * Represents the time this NotificationConfig was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Represents the time this NotificationConfig was last updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /** Rsvp confirmation. */\n rsvpConfirmation?: EmailNotificationConfig;\n /** New spots available. */\n newSpotsAvailable?: EmailNotificationConfig;\n /** Event cancelation. */\n eventCancelation?: EmailNotificationConfig;\n /** Event reminder. */\n upcomingEventReminder?: EmailNotificationConfig;\n /** Order confirmation. */\n orderConfirmation?: EmailNotificationConfig;\n /** Ticket confirmation. */\n ticketConfirmation?: EmailNotificationConfig;\n /** Invoice. */\n invoice?: EmailNotificationConfig;\n /** Order confirmation with tickets link. */\n orderConfirmationWithTicketsLink?: EmailNotificationConfig;\n}\n\nexport interface EmailNotificationConfig {\n /**\n * Predefined id of the notification type.\n * @readonly\n */\n notificationType?: EmailNotificationTypeWithLiterals;\n /** Email template values. */\n template?: EmailTemplate;\n /**\n * Desired timing of the notification in hours respectfully to event start time.\n * For example if value is 0 then notification is sent at the start of the event.\n */\n reminderTime?: EmailNotificationReminderTimeWithLiterals;\n /** When true the notification will be sent when certain trigger occurs. */\n sendingEnabled?: boolean | null;\n}\n\nexport enum EmailNotificationType {\n /** Default value. This value is unused. */\n UNKNOWN_NOTIFICATION_TYPE = 'UNKNOWN_NOTIFICATION_TYPE',\n /** Triggered when site user RSVP to the event. */\n EMAIL_RSVP_CONFIRMATION = 'EMAIL_RSVP_CONFIRMATION',\n /** Triggered for waiting guests when additional RSVP spots appears in the fully booked event. */\n EMAIL_NEW_SPOTS_AVAILABLE = 'EMAIL_NEW_SPOTS_AVAILABLE',\n /** Triggered when event is canceled. */\n EMAIL_EVENT_CANCELATION = 'EMAIL_EVENT_CANCELATION',\n /** Triggered before the event start time. */\n EMAIL_UPCOMING_EVENT_REMINDER = 'EMAIL_UPCOMING_EVENT_REMINDER',\n /** Triggered when site user creates Order. */\n EMAIL_ORDER_CONFIRMATION = 'EMAIL_ORDER_CONFIRMATION',\n /** Triggered when resending ticket to ticket holder. */\n EMAIL_TICKET_CONFIRMATION = 'EMAIL_TICKET_CONFIRMATION',\n /** Triggered when sending invoice. Currently only `enabled` flag update is supported. */\n EMAIL_INVOICE = 'EMAIL_INVOICE',\n}\n\n/** @enumType */\nexport type EmailNotificationTypeWithLiterals =\n | EmailNotificationType\n | 'UNKNOWN_NOTIFICATION_TYPE'\n | 'EMAIL_RSVP_CONFIRMATION'\n | 'EMAIL_NEW_SPOTS_AVAILABLE'\n | 'EMAIL_EVENT_CANCELATION'\n | 'EMAIL_UPCOMING_EVENT_REMINDER'\n | 'EMAIL_ORDER_CONFIRMATION'\n | 'EMAIL_TICKET_CONFIRMATION'\n | 'EMAIL_INVOICE';\n\nexport interface EmailTemplate {\n /**\n * Email subject.\n * @minLength 1\n * @maxLength 100\n */\n subject?: string | null;\n /**\n * Plain text message body.\n * @minLength 1\n * @maxLength 1000\n */\n body?: string | null;\n /** Description link visibility and display text */\n descriptionLink?: Link;\n /** Calendar link visibility and display text */\n calendarLink?: Link;\n /** Online conferencing link visibility and display text */\n onlineConferencingLink?: Link;\n /** When true the tickets are attached to the order confirmation email. */\n includeTickets?: boolean | null;\n}\n\nexport interface Link {\n /** When true the link is added to the email. */\n display?: boolean | null;\n /**\n * Text of the link.\n * @maxLength 60\n */\n linkText?: string | null;\n}\n\nexport enum EmailNotificationReminderTime {\n /** Default value. This value is unused. */\n UNKNOWN_REMINDER_TIME = 'UNKNOWN_REMINDER_TIME',\n /** Notification is sent instantly */\n INSTANT = 'INSTANT',\n /** 24 hours prior */\n BEFORE_1_DAY = 'BEFORE_1_DAY',\n /** 3 days prior */\n BEFORE_3_DAYS = 'BEFORE_3_DAYS',\n /** 7 days prior */\n BEFORE_1_WEEK = 'BEFORE_1_WEEK',\n /** 1 hour prior */\n BEFORE_1_HOUR = 'BEFORE_1_HOUR',\n /** 30 minutes prior */\n BEFORE_30_MINUTES = 'BEFORE_30_MINUTES',\n}\n\n/** @enumType */\nexport type EmailNotificationReminderTimeWithLiterals =\n | EmailNotificationReminderTime\n | 'UNKNOWN_REMINDER_TIME'\n | 'INSTANT'\n | 'BEFORE_1_DAY'\n | 'BEFORE_3_DAYS'\n | 'BEFORE_1_WEEK'\n | 'BEFORE_1_HOUR'\n | 'BEFORE_30_MINUTES';\n\nexport interface TriggerNotificationRequest\n extends TriggerNotificationRequestNotificationOneOf,\n TriggerNotificationRequestGuestsOneOf {\n /** Email notification type */\n emailNotificationType?: EmailNotificationTypeWithLiterals;\n /** Push notification type */\n pushNotificationType?: PushNotificationTypeWithLiterals;\n /** Rsvp guest info */\n rsvpGuest?: RsvpGuest;\n /** Order guest info */\n orderGuest?: OrderGuest;\n /** Event guests info */\n eventGuests?: EventGuests;\n /** Ticket guests info */\n ticketGuest?: TicketGuest;\n}\n\n/** @oneof */\nexport interface TriggerNotificationRequestNotificationOneOf {\n /** Email notification type */\n emailNotificationType?: EmailNotificationTypeWithLiterals;\n /** Push notification type */\n pushNotificationType?: PushNotificationTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface TriggerNotificationRequestGuestsOneOf {\n /** Rsvp guest info */\n rsvpGuest?: RsvpGuest;\n /** Order guest info */\n orderGuest?: OrderGuest;\n /** Event guests info */\n eventGuests?: EventGuests;\n /** Ticket guests info */\n ticketGuest?: TicketGuest;\n}\n\nexport enum PushNotificationType {\n /** This is default value. This value is unused. */\n UNKNOWN_PUSH_TYPE = 'UNKNOWN_PUSH_TYPE',\n /** Triggered when event is updated. */\n PUSH_EVENT_UPDATED = 'PUSH_EVENT_UPDATED',\n /** Triggered when event is canceled. */\n PUSH_EVENT_CANCELATION = 'PUSH_EVENT_CANCELATION',\n /** Triggered before the event start time. */\n PUSH_UPCOMING_EVENT_REMINDER = 'PUSH_UPCOMING_EVENT_REMINDER',\n /** Triggered when event is created. */\n PUSH_EVENT_CREATED = 'PUSH_EVENT_CREATED',\n}\n\n/** @enumType */\nexport type PushNotificationTypeWithLiterals =\n | PushNotificationType\n | 'UNKNOWN_PUSH_TYPE'\n | 'PUSH_EVENT_UPDATED'\n | 'PUSH_EVENT_CANCELATION'\n | 'PUSH_UPCOMING_EVENT_REMINDER'\n | 'PUSH_EVENT_CREATED';\n\n/** Single guest associated to the RSVP */\nexport interface RsvpGuest {\n /**\n * Event id\n * @format GUID\n */\n eventId?: string;\n /**\n * Rsvp id\n * @format GUID\n */\n rsvpId?: string;\n}\n\n/** Single guest associated to the Order */\nexport interface OrderGuest {\n /**\n * Event id\n * @format GUID\n */\n eventId?: string;\n /**\n * Order number\n * @maxLength 36\n */\n orderNumber?: string;\n}\n\n/** All event guest from RSVPs and Orders */\nexport interface EventGuests {\n /**\n * Event id\n * @format GUID\n */\n eventId?: string;\n}\n\n/** Multiple guests associated to Tickets */\nexport interface TicketGuest {\n /**\n * Event id\n * @format GUID\n */\n eventId?: string;\n /**\n * Order number\n * @maxLength 36\n */\n orderNumber?: string | null;\n /**\n * Ticket numbers must be from the same order only.\n * @minSize 1\n * @maxSize 100\n * @maxLength 36\n */\n ticketNumber?: string[];\n}\n\nexport interface TriggerNotificationResponse {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * 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.\n * 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.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface Empty {}\n\nexport interface EventUpdated {\n /** Event update timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event location. */\n location?: Location;\n /** Event schedule configuration. */\n scheduleConfig?: ScheduleConfig;\n /** Event title. */\n title?: string;\n /**\n * Whether schedule configuration was updated.\n * @deprecated\n */\n scheduleConfigUpdated?: boolean;\n /** Updated event */\n event?: Event;\n}\n\nexport interface Location {\n /**\n * Location name.\n * @maxLength 50\n */\n name?: string | null;\n /** Location map coordinates. */\n coordinates?: MapCoordinates;\n /**\n * Single line address representation.\n * @maxLength 300\n */\n address?: string | null;\n /** Location type. */\n type?: LocationTypeWithLiterals;\n /**\n * Full address derived from formatted single line `address`.\n * When `full_address` is used to create or update the event, deprecated `address` and `coordinates` are ignored.\n * If provided `full_address` has empty `formatted_address` or `coordinates`, it will be auto-completed using Atlas service.\n *\n * Migration notes:\n * - `full_address.formatted_address` is equivalent to `address`.\n * - `full_address.geocode` is equivalent to `coordinates`.\n */\n fullAddress?: Address;\n /**\n * Defines event location as TBD (To Be Determined).\n * When event location is not yet defined, `name` is displayed instead of location address.\n * `coordinates`, `address`, `type` and `full_address` are not required when location is TBD.\n */\n tbd?: boolean | null;\n}\n\nexport interface MapCoordinates {\n /**\n * Latitude.\n * @min -90\n * @max 90\n */\n lat?: number;\n /**\n * Longitude.\n * @min -180\n * @max 180\n */\n lng?: number;\n}\n\nexport enum LocationType {\n VENUE = 'VENUE',\n ONLINE = 'ONLINE',\n}\n\n/** @enumType */\nexport type LocationTypeWithLiterals = LocationType | 'VENUE' | 'ONLINE';\n\n/** Physical address */\nexport interface Address extends AddressStreetOneOf {\n /** a break down of the street to number and street name */\n streetAddress?: StreetAddress;\n /** Main address line (usually street and number) as free text */\n addressLine1?: string | null;\n /**\n * country code\n * @format COUNTRY\n */\n country?: string | null;\n /** subdivision (usually state or region) code according to ISO 3166-2 */\n subdivision?: string | null;\n /** city name */\n city?: string | null;\n /** zip/postal code */\n postalCode?: string | null;\n /** Free text providing more detailed address info. Usually contains Apt, Suite, Floor */\n addressLine2?: string | null;\n /** A string containing the human-readable address of this location */\n formatted?: string | null;\n /** coordinates of the physical address */\n location?: AddressLocation;\n /** country full-name */\n countryFullname?: string | null;\n /**\n * multi-level subdivisions from top to bottom\n * @maxSize 6\n */\n subdivisions?: Subdivision[];\n}\n\n/** @oneof */\nexport interface AddressStreetOneOf {\n /** a break down of the street to number and street name */\n streetAddress?: StreetAddress;\n /** Main address line (usually street and number) as free text */\n addressLine?: string | null;\n}\n\nexport interface StreetAddress {\n /** street number */\n number?: string;\n /** street name */\n name?: string;\n}\n\nexport interface AddressLocation {\n /**\n * address latitude coordinates\n * @min -90\n * @max 90\n */\n latitude?: number | null;\n /**\n * address longitude coordinates\n * @min -180\n * @max 180\n */\n longitude?: number | null;\n}\n\nexport interface Subdivision {\n /** subdivision short code */\n code?: string;\n /** subdivision full-name */\n name?: string;\n}\n\nexport enum SubdivisionType {\n UNKNOWN_SUBDIVISION_TYPE = 'UNKNOWN_SUBDIVISION_TYPE',\n /** State */\n ADMINISTRATIVE_AREA_LEVEL_1 = 'ADMINISTRATIVE_AREA_LEVEL_1',\n /** County */\n ADMINISTRATIVE_AREA_LEVEL_2 = 'ADMINISTRATIVE_AREA_LEVEL_2',\n /** City/town */\n ADMINISTRATIVE_AREA_LEVEL_3 = 'ADMINISTRATIVE_AREA_LEVEL_3',\n /** Neighborhood/quarter */\n ADMINISTRATIVE_AREA_LEVEL_4 = 'ADMINISTRATIVE_AREA_LEVEL_4',\n /** Street/block */\n ADMINISTRATIVE_AREA_LEVEL_5 = 'ADMINISTRATIVE_AREA_LEVEL_5',\n /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */\n COUNTRY = 'COUNTRY',\n}\n\n/** @enumType */\nexport type SubdivisionTypeWithLiterals =\n | SubdivisionType\n | 'UNKNOWN_SUBDIVISION_TYPE'\n | 'ADMINISTRATIVE_AREA_LEVEL_1'\n | 'ADMINISTRATIVE_AREA_LEVEL_2'\n | 'ADMINISTRATIVE_AREA_LEVEL_3'\n | 'ADMINISTRATIVE_AREA_LEVEL_4'\n | 'ADMINISTRATIVE_AREA_LEVEL_5'\n | 'COUNTRY';\n\nexport interface ScheduleConfig {\n /**\n * Defines event as TBD (To Be Determined) schedule.\n * When event time is not yet defined, TBD message is displayed instead of event start and end times.\n * `startDate`, `endDate` and `timeZoneId` are not required when schedule is TBD.\n */\n scheduleTbd?: boolean;\n /**\n * TBD message.\n * @maxLength 100\n */\n scheduleTbdMessage?: string | null;\n /** Event start timestamp. */\n startDate?: Date | null;\n /** Event end timestamp. */\n endDate?: Date | null;\n /**\n * Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.\n * @maxLength 100\n */\n timeZoneId?: string | null;\n /** Whether end date is hidden in the formatted schedule. */\n endDateHidden?: boolean;\n /** Whether time zone is displayed in formatted schedule. */\n showTimeZone?: boolean;\n /** Event recurrences. */\n recurrences?: Recurrences;\n}\n\nexport interface Recurrences {\n /**\n * Event occurrences.\n * @maxSize 1000\n */\n occurrences?: Occurrence[];\n /**\n * Recurring event category ID.\n * @readonly\n */\n categoryId?: string | null;\n /**\n * Recurrence status.\n * @readonly\n */\n status?: StatusWithLiterals;\n}\n\nexport interface Occurrence {\n /** Event start timestamp. */\n startDate?: Date | null;\n /** Event end timestamp. */\n endDate?: Date | null;\n /**\n * Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.\n * @maxLength 100\n */\n timeZoneId?: string | null;\n /** Whether time zone is displayed in formatted schedule. */\n showTimeZone?: boolean;\n}\n\nexport enum Status {\n /** Event occurs only once. */\n ONE_TIME = 'ONE_TIME',\n /** Event is recurring. */\n RECURRING = 'RECURRING',\n /** Marks the next upcoming occurrence of the recurring event. */\n RECURRING_NEXT = 'RECURRING_NEXT',\n /** Marks the most recent ended occurrence of the recurring event. */\n RECURRING_LAST_ENDED = 'RECURRING_LAST_ENDED',\n /** Marks the most recent canceled occurrence of the recurring event. */\n RECURRING_LAST_CANCELED = 'RECURRING_LAST_CANCELED',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n | Status\n | 'ONE_TIME'\n | 'RECURRING'\n | 'RECURRING_NEXT'\n | 'RECURRING_LAST_ENDED'\n | 'RECURRING_LAST_CANCELED';\n\nexport interface Event {\n /**\n * Event ID.\n * @format GUID\n * @readonly\n */\n _id?: string;\n /** Event location. */\n location?: Location;\n /** Event scheduling. */\n scheduling?: Scheduling;\n /** Event title. */\n title?: string;\n /** Event description. */\n description?: string;\n /** Rich-text content that are displayed in a site's \"About Event\" section (HTML). */\n about?: string;\n /** Main event image. */\n mainImage?: string;\n /** Event slug URL (generated from event title). */\n slug?: string;\n /** ISO 639-1 language code of the event (used in content translations). */\n language?: string;\n /** Event creation timestamp. */\n created?: Date | null;\n /** Event modified timestamp. */\n modified?: Date | null;\n /** Event status. */\n status?: EventStatusWithLiterals;\n /** RSVP or ticketing registration details. */\n registration?: Registration;\n /** \"Add to calendar\" URLs. */\n calendarLinks?: CalendarLinks;\n /** Event page URL components. */\n eventPageUrl?: SiteUrl;\n /** Event registration form. */\n form?: Form;\n /** Event dashboard summary of RSVP / ticket sales. */\n dashboard?: Dashboard;\n /** Instance ID of the site where event is hosted. */\n instanceId?: string;\n /** Guest list configuration. */\n guestListConfig?: GuestListConfig;\n /**\n * Event creator user ID.\n * @maxLength 36\n */\n userId?: string;\n /** Event discussion feed. For internal use. */\n feed?: Feed;\n /** Online conferencing details. */\n onlineConferencing?: OnlineConferencing;\n /** SEO settings. */\n seoSettings?: SeoSettings;\n /** Assigned contacts label key. */\n assignedContactsLabel?: string | null;\n /** Agenda details. */\n agenda?: Agenda;\n /** Categories this event is assigned to. */\n categories?: Category[];\n /** Visual settings for event. */\n eventDisplaySettings?: EventDisplaySettings;\n /** Rich content that are displayed in a site's \"About Event\" section. Successor to `about` field. */\n longDescription?: RichContent;\n /**\n * Event publish timestamp.\n * @readonly\n */\n publishedDate?: Date | null;\n}\n\nexport interface Scheduling {\n /** Schedule configuration. */\n config?: ScheduleConfig;\n /** Formatted schedule representation. */\n formatted?: string;\n /** Formatted start date of the event (empty for TBD schedules). */\n startDateFormatted?: string;\n /** Formatted start time of the event (empty for TBD schedules). */\n startTimeFormatted?: string;\n /** Formatted end date of the event (empty for TBD schedules or when end date is hidden). */\n endDateFormatted?: string;\n /** Formatted end time of the event (empty for TBD schedules or when end date is hidden). */\n endTimeFormatted?: string;\n}\n\nexport enum EventStatus {\n /** Event is public and scheduled to start */\n SCHEDULED = 'SCHEDULED',\n /** Event has started */\n STARTED = 'STARTED',\n /** Event has ended */\n ENDED = 'ENDED',\n /** Event was canceled */\n CANCELED = 'CANCELED',\n}\n\n/** @enumType */\nexport type EventStatusWithLiterals =\n | EventStatus\n | 'SCHEDULED'\n | 'STARTED'\n | 'ENDED'\n | 'CANCELED';\n\nexport interface Registration {\n /** Event type. */\n type?: EventTypeWithLiterals;\n /** Event registration status. */\n status?: RegistrationStatusWithLiterals;\n /** RSVP collection details. */\n rsvpCollection?: RsvpCollection;\n /** Ticketing details. */\n ticketing?: Ticketing;\n /** External registration details. */\n external?: ExternalEvent;\n /** Types of users allowed to register. */\n restrictedTo?: VisitorTypeWithLiterals;\n /** Initial event type which was set when creating an event. */\n initialType?: EventTypeWithLiterals;\n}\n\nexport enum EventType {\n /** Type not available for this request fieldset */\n NA_EVENT_TYPE = 'NA_EVENT_TYPE',\n /** Registration via RSVP */\n RSVP = 'RSVP',\n /** Registration via ticket purchase */\n TICKETS = 'TICKETS',\n /** External registration */\n EXTERNAL = 'EXTERNAL',\n /** Registration not available */\n NO_REGISTRATION = 'NO_REGISTRATION',\n}\n\n/** @enumType */\nexport type EventTypeWithLiterals =\n | EventType\n | 'NA_EVENT_TYPE'\n | 'RSVP'\n | 'TICKETS'\n | 'EXTERNAL'\n | 'NO_REGISTRATION';\n\nexport enum RegistrationStatus {\n /** Registration status is not applicable */\n NA_REGISTRATION_STATUS = 'NA_REGISTRATION_STATUS',\n /** Registration to event is closed */\n CLOSED = 'CLOSED',\n /** Registration to event is closed manually */\n CLOSED_MANUALLY = 'CLOSED_MANUALLY',\n /** Registration is open via RSVP */\n OPEN_RSVP = 'OPEN_RSVP',\n /** Registration to event waitlist is open via RSVP */\n OPEN_RSVP_WAITLIST = 'OPEN_RSVP_WAITLIST',\n /** Registration is open via ticket purchase */\n OPEN_TICKETS = 'OPEN_TICKETS',\n /** Registration is open via external URL */\n OPEN_EXTERNAL = 'OPEN_EXTERNAL',\n /** Registration will be open via RSVP */\n SCHEDULED_RSVP = 'SCHEDULED_RSVP',\n}\n\n/** @enumType */\nexport type RegistrationStatusWithLiterals =\n | RegistrationStatus\n | 'NA_REGISTRATION_STATUS'\n | 'CLOSED'\n | 'CLOSED_MANUALLY'\n | 'OPEN_RSVP'\n | 'OPEN_RSVP_WAITLIST'\n | 'OPEN_TICKETS'\n | 'OPEN_EXTERNAL'\n | 'SCHEDULED_RSVP';\n\nexport interface RsvpCollection {\n /** RSVP collection configuration. */\n config?: RsvpCollectionConfig;\n}\n\nexport interface RsvpCollectionConfig {\n /** Defines the supported RSVP statuses. */\n rsvpStatusOptions?: RsvpStatusOptionsWithLiterals;\n /**\n * Total guest limit available to register to the event.\n * Additional guests per RSVP are counted towards total guests.\n */\n limit?: number | null;\n /** Whether a waitlist is opened when total guest limit is reached, allowing guests to create RSVP with WAITING RSVP status. */\n waitlist?: boolean;\n /** Registration start timestamp. */\n startDate?: Date | null;\n /** Registration end timestamp. */\n endDate?: Date | null;\n}\n\nexport enum RsvpStatusOptions {\n /** Only YES RSVP status is available for RSVP registration */\n YES_ONLY = 'YES_ONLY',\n /** YES and NO RSVP status options are available for the registration */\n YES_AND_NO = 'YES_AND_NO',\n}\n\n/** @enumType */\nexport type RsvpStatusOptionsWithLiterals =\n | RsvpStatusOptions\n | 'YES_ONLY'\n | 'YES_AND_NO';\n\nexport interface RsvpConfirmationMessages {\n /** Messages displayed when an RSVP's `status` is set to `\"YES\"`. */\n positiveConfirmation?: RsvpConfirmationMessagesPositiveResponseConfirmation;\n /** Messages displayed when an RSVP's `status` is set to `\"WAITLIST\"`, for when the event is full and a waitlist is available). */\n waitlistMessages?: RsvpConfirmationMessagesPositiveResponseConfirmation;\n /** Messages displayed when an RSVP's `status` is set to `\"NO\"`. */\n negativeMessages?: RsvpConfirmationMessagesNegativeResponseConfirmation;\n}\n\n/** Confirmation shown after then registration when RSVP response is positive. */\nexport interface RsvpConfirmationMessagesPositiveResponseConfirmation {\n /**\n * Confirmation message title.\n * @maxLength 150\n */\n title?: string | null;\n /**\n * Confirmation message text.\n * @maxLength 350\n */\n message?: string | null;\n /**\n * \"Add to calendar\" call-to-action label text.\n * @maxLength 50\n */\n addToCalendarActionLabel?: string | null;\n /**\n * \"Share event\" call-to-action label text.\n * @maxLength 50\n */\n shareActionLabel?: string | null;\n}\n\n/** Confirmation shown after then registration when RSVP response is negative. */\nexport interface RsvpConfirmationMessagesNegativeResponseConfirmation {\n /**\n * Confirmation message title.\n * @maxLength 150\n */\n title?: string | null;\n /**\n * \"Share event\" call-to-action label text.\n * @maxLength 50\n */\n shareActionLabel?: string | null;\n}\n\nexport interface Ticketing {\n /**\n * Deprecated.\n * @deprecated\n */\n lowestPrice?: string | null;\n /**\n * Deprecated.\n * @deprecated\n */\n highestPrice?: string | null;\n /** Currency used in event transactions. */\n currency?: string | null;\n /** Ticketing configuration. */\n config?: TicketingConfig;\n /**\n * Price of lowest priced ticket.\n * @readonly\n */\n lowestTicketPrice?: Money;\n /**\n * Price of highest priced ticket.\n * @readonly\n */\n highestTicketPrice?: Money;\n /**\n * Formatted price of lowest priced ticket.\n * @readonly\n */\n lowestTicketPriceFormatted?: string | null;\n /**\n * Formatted price of highest priced ticket.\n * @readonly\n */\n highestTicketPriceFormatted?: string | null;\n /**\n * Whether all tickets are sold for this event.\n * @readonly\n */\n soldOut?: boolean | null;\n}\n\nexport interface TicketingConfig {\n /** Whether the form must be filled out separately for each ticket. */\n guestAssignedTickets?: boolean;\n /** Tax configuration. */\n taxConfig?: TaxConfig;\n /**\n * Limit of tickets that can be purchased per order, default 20.\n * @max 50\n */\n ticketLimitPerOrder?: number;\n /**\n * Duration for which the tickets being bought are reserved.\n * @min 5\n * @max 30\n */\n reservationDurationInMinutes?: number | null;\n}\n\nexport interface TaxConfig {\n /** Tax application settings. */\n type?: TaxTypeWithLiterals;\n /**\n * Tax name.\n * @minLength 1\n * @maxLength 10\n */\n name?: string | null;\n /**\n * Tax rate (e.g.,`21.55`).\n * @decimalValue options { gte:0.001, lte:100, maxScale:3 }\n */\n rate?: string | null;\n /** Applies taxes for donations, default true. */\n appliesToDonations?: boolean | null;\n}\n\nexport enum TaxType {\n /** Tax is included in the ticket price. */\n INCLUDED = 'INCLUDED',\n /** Tax is added to the order at the checkout. */\n ADDED = 'ADDED',\n /** Tax is added to the final total at the checkout. */\n ADDED_AT_CHECKOUT = 'ADDED_AT_CHECKOUT',\n}\n\n/** @enumType */\nexport type TaxTypeWithLiterals =\n | TaxType\n | 'INCLUDED'\n | 'ADDED'\n | 'ADDED_AT_CHECKOUT';\n\nexport interface TicketsConfirmationMessages {\n /**\n * Confirmation message title.\n * @maxLength 150\n */\n title?: string | null;\n /**\n * Confirmation message text.\n * @maxLength 350\n */\n message?: string | null;\n /**\n * \"Download tickets\" call-to-action label text.\n * @maxLength 50\n */\n downloadTicketsLabel?: string | null;\n /**\n * \"Add to calendar\" call-to-action label text.\n * @maxLength 50\n */\n addToCalendarActionLabel?: string | null;\n /**\n * \"Share event\" call-to-action label text.\n * @maxLength 50\n */\n shareActionLabel?: string | null;\n}\n\nexport interface Money {\n /**\n * *Deprecated:** Use `value` instead.\n * @format DECIMAL_VALUE\n * @deprecated\n */\n amount?: string;\n /**\n * 3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `USD`.\n * @format CURRENCY\n */\n currency?: string;\n /**\n * 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.\n * @format DECIMAL_VALUE\n */\n value?: string | null;\n}\n\nexport interface ExternalEvent {\n /** External event registration URL. */\n registration?: string;\n}\n\nexport enum VisitorType {\n /** Site visitor (including member) */\n VISITOR = 'VISITOR',\n /** Site member */\n MEMBER = 'MEMBER',\n /** Site visitor or member */\n VISITOR_OR_MEMBER = 'VISITOR_OR_MEMBER',\n}\n\n/** @enumType */\nexport type VisitorTypeWithLiterals =\n | VisitorType\n | 'VISITOR'\n | 'MEMBER'\n | 'VISITOR_OR_MEMBER';\n\nexport interface CalendarLinks {\n /** \"Add to Google calendar\" URL. */\n google?: string;\n /** \"Download ICS calendar file\" URL. */\n ics?: string;\n}\n\n/** Site URL components */\nexport interface SiteUrl {\n /**\n * Base URL. For premium sites, this will be the domain.\n * For free sites, this would be site URL (e.g `mysite.wixsite.com/mysite`)\n */\n base?: string;\n /** The path to that page - e.g `/my-events/weekly-meetup-2` */\n path?: string;\n}\n\n/**\n * The form defines which elements are displayed to a site visitor during the registration process (RSVP or checkout).\n * It also contains customizable messages and labels.\n *\n *\n * A form is an ordered list of controls (blocks), which accept guest information into a field input.\n *\n * Each control contains one or more nested inputs. For example, `Name` control has two inputs:\n * - First Name\n * - Last Name\n *\n * By default, name and email controls are always required and are pinned to the top of the form.\n */\nexport interface Form {\n /** Nested fields as an ordered list. */\n controls?: InputControl[];\n /**\n * Set of defined form messages displayed in the UI before, during, and after a registration flow.\n * Includes the configuration of form titles, response labels, \"thank you\" messages, and call-to-action texts.\n */\n messages?: FormMessages;\n}\n\n/**\n * A block of nested fields.\n * Used to aggregate similar inputs like First Name and Last Name.\n */\nexport interface InputControl {\n /** Field control type. */\n type?: InputControlTypeWithLiterals;\n /** Whether the control is mandatory (such as `name` & `email`). When `true`, only the label can be changed. */\n system?: boolean;\n /**\n * Deprecated: Use `id` or `_id`.\n * @deprecated\n */\n name?: string;\n /** Child inputs. */\n inputs?: Input[];\n /**\n * *Deprecated:** Use `controls.inputs.label`.\n * @deprecated\n */\n label?: string;\n /** Field controls are sorted by this value in ascending order. */\n orderIndex?: number;\n /** Unique control ID. */\n _id?: string;\n /**\n * Whether the input control is deleted.\n * @readonly\n */\n deleted?: boolean | null;\n}\n\nexport enum InputControlType {\n /** Single text value field. */\n INPUT = 'INPUT',\n /** Single text value field with multiple lines. */\n TEXTAREA = 'TEXTAREA',\n /** Single-choice field with predefined values. */\n DROPDOWN = 'DROPDOWN',\n /** Single-choice field with predefined values. */\n RADIO = 'RADIO',\n /** Multiple-choice field with predefined values. */\n CHECKBOX = 'CHECKBOX',\n /** Fields for entering first and last names. */\n NAME = 'NAME',\n /** Fields for additional guests and their respective names. */\n GUEST_CONTROL = 'GUEST_CONTROL',\n /** Single-line address field. */\n ADDRESS_SHORT = 'ADDRESS_SHORT',\n /** Full address field with multiple lines. */\n ADDRESS_FULL = 'ADDRESS_FULL',\n /** Fields for entering year, month, and day. */\n DATE = 'DATE',\n}\n\n/** @enumType */\nexport type InputControlTypeWithLiterals =\n | InputControlType\n | 'INPUT'\n | 'TEXTAREA'\n | 'DROPDOWN'\n | 'RADIO'\n | 'CHECKBOX'\n | 'NAME'\n | 'GUEST_CONTROL'\n | 'ADDRESS_SHORT'\n | 'ADDRESS_FULL'\n | 'DATE';\n\n/** Child inputs. */\nexport interface Input {\n /** Field name. */\n name?: string;\n /**\n * *Deprecated:** Use `controls.inputs.type.TEXT_ARRAY`.\n * @deprecated\n */\n array?: boolean;\n /** Main field label. */\n label?: string;\n /** Additional labels for multi-valued fields such as address. */\n additionalLabels?: Record<string, string>;\n /** Predefined choice options for fields, such as dropdown. */\n options?: string[];\n /** Whether field is mandatory. */\n mandatory?: boolean;\n /** Maximum number of accepted characters (relevant for text fields). */\n maxLength?: number;\n /**\n * Type which determines field format.\n * Used to validate submitted response.\n */\n type?: ValueTypeWithLiterals;\n /**\n * The maximum number of accepted values for array input.\n *\n * **Note:** Only applicable for `TEXT_ARRAY` input fields.\n */\n maxSize?: number | null;\n /**\n * Default option initially selected when an input has multiple choices.\n *\n * Defaults to first (0th) option, if not configured.\n * Currently only applicable for `type.dropdown`.\n */\n defaultOptionSelection?: OptionSelection;\n /**\n * Additional labels for multi-valued fields, such as address.\n * @readonly\n */\n labels?: Label[];\n}\n\nexport enum ValueType {\n TEXT = 'TEXT',\n NUMBER = 'NUMBER',\n TEXT_ARRAY = 'TEXT_ARRAY',\n DATE_TIME = 'DATE_TIME',\n ADDRESS = 'ADDRESS',\n}\n\n/** @enumType */\nexport type ValueTypeWithLiterals =\n | ValueType\n | 'TEXT'\n | 'NUMBER'\n | 'TEXT_ARRAY'\n | 'DATE_TIME'\n | 'ADDRESS';\n\n/**\n * Describes initially selected option when an input has multiple choices.\n * Defaults to first (0th) option if not configured.\n */\nexport interface OptionSelection extends OptionSelectionSelectedOptionOneOf {\n /**\n * 0-based index from predefined `controls.inputs.options` which is initial selection.\n * @max 199\n */\n optionIndex?: number;\n /**\n * Placeholder hint describing expected choices, such as \"Please select\".\n * Considered an empty choice.\n * @maxLength 200\n */\n placeholderText?: string;\n}\n\n/** @oneof */\nexport interface OptionSelectionSelectedOptionOneOf {\n /**\n * 0-based index from predefined `controls.inputs.options` which is initial selection.\n * @max 199\n */\n optionIndex?: number;\n /**\n * Placeholder hint describing expected choices, such as \"Please select\".\n * Considered an empty choice.\n * @maxLength 200\n */\n placeholderText?: string;\n}\n\nexport interface Label {\n /** Field name. */\n name?: string;\n /** Field label. */\n label?: string;\n}\n\n/**\n * Defines form messages shown in UI before, during, and after registration flow.\n * It enables configuration of form titles, response labels, \"thank you\" messages, and call-to-action texts.\n */\nexport interface FormMessages {\n /** RSVP form ([SDK](https://dev.wix.com/docs/sdk/backend-modules/events/rsvp-v2/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/introduction)) messages. */\n rsvp?: RsvpFormMessages;\n /** Checkout form messages. */\n checkout?: CheckoutFormMessages;\n /** Messages shown when event registration is closed. */\n registrationClosed?: RegistrationClosedMessages;\n /** Messages shown when event tickets are unavailable. */\n ticketsUnavailable?: TicketsUnavailableMessages;\n}\n\nexport interface RsvpFormMessages {\n /** Label text indicating RSVP's `status` is `\"YES\"`. */\n rsvpYesOption?: string;\n /** Label text indicating RSVP's `status` is `\"NO\"`. */\n rsvpNoOption?: string;\n /** Messages displayed when an RSVP's `status` is set to `\"YES\"`. */\n positiveMessages?: Positive;\n /** Messages displayed when an RSVP's `status` is set to `\"WAITLIST\"`, for when the event is full and a waitlist is available). */\n waitlistMessages?: Positive;\n /** Messages displayed when an RSVP's `status` is set to `\"NO\"`. */\n negativeMessages?: Negative;\n /** \"Submit form\" call-to-action label text. */\n submitActionLabel?: string;\n}\n\n/** Confirmation messages shown after registration. */\nexport interface PositiveResponseConfirmation {\n /** Confirmation message title. */\n title?: string;\n /** Confirmation message text. */\n message?: string;\n /** \"Add to calendar\" call-to-action label text. */\n addToCalendarActionLabel?: string;\n /** \"Share event\" call-to-action label text. */\n shareActionLabel?: string;\n}\n\n/** Confirmation messages shown after registration. */\nexport interface NegativeResponseConfirmation {\n /** Confirmation message title. */\n title?: string;\n /** \"Share event\" call-to-action label text. */\n shareActionLabel?: string;\n}\n\n/** Set of messages shown during registration when RSVP response is positive. */\nexport interface Positive {\n /** Main form title for positive response. */\n title?: string;\n /** Confirmation messages shown after registration. */\n confirmation?: PositiveResponseConfirmation;\n}\n\n/** A set of messages shown during registration with negative response */\nexport interface Negative {\n /** Main form title for negative response. */\n title?: string;\n /** Confirmation messages shown after registration. */\n confirmation?: NegativeResponseConfirmation;\n}\n\nexport interface CheckoutFormMessages {\n /** Main form title for response. */\n title?: string;\n /** Submit form call-to-action label text. */\n submitActionLabel?: string;\n /** Confirmation messages shown after checkout. */\n confirmation?: ResponseConfirmation;\n}\n\n/** Confirmation messages shown after checkout. */\nexport interface ResponseConfirmation {\n /** Confirmation message title. */\n title?: string;\n /** Confirmation message text. */\n message?: string;\n /** \"Download tickets\" call-to-action label text. */\n downloadTicketsLabel?: string;\n /** \"Add to calendar\" call-to-action label text. */\n addToCalendarLabel?: string;\n /** \"Share event\" call-to-action label text. */\n shareEventLabel?: string;\n}\n\nexport interface RegistrationClosedMessages {\n /** Message shown when event registration is closed. */\n message?: string;\n /** \"Explore other events\" call-to-action label text. */\n exploreEventsActionLabel?: string;\n}\n\nexport interface TicketsUnavailableMessages {\n /** Message shown when event tickets are unavailable. */\n message?: string;\n /** \"Explore other events\" call-to-action label text. */\n exploreEventsActionLabel?: string;\n}\n\nexport interface Dashboard {\n /** Guest RSVP summary. */\n rsvpSummary?: RsvpSummary;\n /**\n * Summary of revenue and tickets sold.\n * (Archived orders are not included).\n */\n ticketingSummary?: TicketingSummary;\n}\n\nexport interface RsvpSummary {\n /** Total number of RSVPs. */\n total?: number;\n /** Number of RSVPs with status `YES`. */\n yes?: number;\n /** Number of RSVPs with status `NO`. */\n no?: number;\n /** Number of RSVPs in waitlist. */\n waitlist?: number;\n}\n\nexport interface TicketingSummary {\n /** Number of tickets sold. */\n tickets?: number;\n /**\n * Total revenue, excluding fees.\n * (taxes and payment provider fees are not deducted.)\n */\n revenue?: Money;\n /** Whether currency is locked and cannot be changed (generally occurs after the first order in the specified currency has been created). */\n currencyLocked?: boolean;\n /** Number of orders placed. */\n orders?: number;\n /** Total balance of confirmed transactions. */\n totalSales?: Money;\n}\n\nexport interface GuestListConfig {\n /** Whether members can see other members attending the event (defaults to true). */\n publicGuestList?: boolean;\n}\n\nexport interface Feed {\n /** Event discussion feed token. */\n token?: string;\n}\n\nexport interface OnlineConferencing {\n config?: OnlineConferencingConfig;\n session?: OnlineConferencingSession;\n}\n\nexport interface OnlineConferencingConfig {\n /**\n * Whether online conferencing is enabled (not supported for TBD schedules).\n * When enabled, links to join conferencing are generated and provided to guests.\n */\n enabled?: boolean;\n /**\n * Conferencing provider ID.\n * @format GUID\n */\n providerId?: string | null;\n /** Conference type */\n conferenceType?: ConferenceTypeWithLiterals;\n}\n\nexport enum ConferenceType {\n /** Everyone in the meeting can publish and subscribe video and audio. */\n MEETING = 'MEETING',\n /** Guests can only subscribe to video and audio. */\n WEBINAR = 'WEBINAR',\n}\n\n/** @enumType */\nexport type ConferenceTypeWithLiterals = ConferenceType | 'MEETING' | 'WEBINAR';\n\nexport interface OnlineConferencingSession {\n /**\n * Link for event host to start the online conference session.\n * @readonly\n */\n hostLink?: string;\n /**\n * Link for guests to join the online conference session.\n * @readonly\n */\n guestLink?: string;\n /**\n * The password required to join online conferencing session (when relevant).\n * @readonly\n */\n password?: string | null;\n /**\n * Indicates that session was created successfully on providers side.\n * @readonly\n */\n sessionCreated?: boolean | null;\n /**\n * Unique session id\n * @readonly\n */\n sessionId?: string | null;\n}\n\nexport interface SeoSettings {\n /**\n * URL slug\n * @maxLength 130\n */\n slug?: string;\n /** Advanced SEO data */\n advancedSeoData?: SeoSchema;\n /**\n * Hidden from SEO Site Map\n * @readonly\n */\n hidden?: boolean | null;\n}\n\n/**\n * 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.\n * The search engines use this information for ranking purposes, or to display snippets in the search results.\n * 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.\n */\nexport interface SeoSchema {\n /** SEO tag information. */\n tags?: Tag[];\n /** SEO general settings. */\n settings?: Settings;\n}\n\nexport interface Keyword {\n /** Keyword value. */\n term?: string;\n /** Whether the keyword is the main focus keyword. */\n isMain?: boolean;\n /**\n * The source that added the keyword terms to the SEO settings.\n * @maxLength 1000\n */\n origin?: string | null;\n}\n\nexport interface Tag {\n /**\n * SEO tag type.\n *\n *\n * Supported values: `title`, `meta`, `script`, `link`.\n */\n type?: string;\n /**\n * A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\n * For example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.\n */\n props?: Record<string, any> | null;\n /** SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`. */\n meta?: Record<string, any> | null;\n /** SEO tag inner content. For example, `<title> inner content </title>`. */\n children?: string;\n /** Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages). */\n custom?: boolean;\n /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */\n disabled?: boolean;\n}\n\nexport interface Settings {\n /**\n * 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.\n *\n *\n * Default: `false` (automatical redirect is enabled).\n */\n preventAutoRedirect?: boolean;\n /**\n * User-selected keyword terms for a specific page.\n * @maxSize 5\n */\n keywords?: Keyword[];\n}\n\nexport interface Agenda {\n /** Whether the schedule is enabled for the event. */\n enabled?: boolean;\n /**\n * Agenda page URL.\n * @readonly\n */\n pageUrl?: SiteUrl;\n}\n\nexport interface Category {\n /**\n * Category ID.\n * @format GUID\n * @readonly\n */\n _id?: string;\n /**\n * Category name.\n * @minLength 1\n * @maxLength 30\n */\n name?: string;\n /**\n * Date and time when category was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * The total number of draft and published events assigned to the category.\n * @readonly\n */\n counts?: CategoryCounts;\n /**\n * Category state. Possible values:\n *\n * `MANUAL`: Category is created manually by the user.\n * `AUTO`: Category is created automatically.\n * `RECURRING_EVENT`: Category is created automatically when publishing recurring events.\n * `HIDDEN`: Category can't be seen.\n *\n * Default: `MANUAL`.\n *\n * **Note:** The WIX_EVENTS.MANAGE_AUTO_CATEGORIES permission scope is required to use states other than `MANUAL`.\n * @maxSize 3\n */\n states?: StateWithLiterals[];\n}\n\nexport interface CategoryCounts {\n /** Total number of draft events assigned to the category. */\n assignedEventsCount?: number | null;\n /** Total number of published events assigned to the category. Deleted events are excluded. */\n assignedDraftEventsCount?: number | null;\n}\n\nexport enum State {\n /** Created manually by the user. */\n MANUAL = 'MANUAL',\n /** Created automatically. */\n AUTO = 'AUTO',\n /** Created when publishing recurring events. */\n RECURRING_EVENT = 'RECURRING_EVENT',\n /** Category is hidden. */\n HIDDEN = 'HIDDEN',\n}\n\n/** @enumType */\nexport type StateWithLiterals =\n | State\n | 'MANUAL'\n | 'AUTO'\n | 'RECURRING_EVENT'\n | 'HIDDEN';\n\nexport interface EventDisplaySettings {\n /** Whether event details button is hidden. Only available for events with no registration. */\n hideEventDetailsButton?: boolean | null;\n /** Disables event details page visibility. If event has an external registration configured visitors will be redirected from this page. */\n hideEventDetailsPage?: boolean | null;\n}\n\nexport interface LabellingSettings {}\n\nexport interface RichContent {\n /** Node objects representing a rich content document. */\n nodes?: Node[];\n /** Object metadata. */\n metadata?: Metadata;\n /** Global styling for header, paragraph, block quote, and code block nodes in the object. */\n documentStyle?: DocumentStyle;\n}\n\nexport interface Node extends NodeDataOneOf {\n /** Data for a button node. */\n buttonData?: ButtonData;\n /** Data for a code block node. */\n codeBlockData?: CodeBlockData;\n /** Data for a divider node. */\n dividerData?: DividerData;\n /** Data for a file node. */\n fileData?: FileData;\n /** Data for a gallery node. */\n galleryData?: GalleryData;\n /** Data for a GIF node. */\n gifData?: GIFData;\n /** Data for a heading node. */\n headingData?: HeadingData;\n /** Data for an embedded HTML node. */\n htmlData?: HTMLData;\n /** Data for an image node. */\n imageData?: ImageData;\n /** Data for a link preview node. */\n linkPreviewData?: LinkPreviewData;\n /** @deprecated */\n mapData?: MapData;\n /** Data for a paragraph node. */\n paragraphData?: ParagraphData;\n /** Data for a poll node. */\n pollData?: PollData;\n /** Data for a text node. Used to apply decorations to text. */\n textData?: TextData;\n /** Data for an app embed node. */\n appEmbedData?: AppEmbedData;\n /** Data for a video node. */\n videoData?: VideoData;\n /** Data for an oEmbed node. */\n embedData?: EmbedData;\n /** Data for a collapsible list node. */\n collapsibleListData?: CollapsibleListData;\n /** Data for a table node. */\n tableData?: TableData;\n /** Data for a table cell node. */\n tableCellData?: TableCellData;\n /** Data for a custom external node. */\n externalData?: Record<string, any> | null;\n /** Data for an audio node. */\n audioData?: AudioData;\n /** Data for an ordered list node. */\n orderedListData?: OrderedListData;\n /** Data for a bulleted list node. */\n bulletedListData?: BulletedListData;\n /** Data for a block quote node. */\n blockquoteData?: BlockquoteData;\n /** Data for a caption node. */\n captionData?: CaptionData;\n /** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */\n layoutCellData?: LayoutCellData;\n /** 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. */\n type?: NodeTypeWithLiterals;\n /** Node ID. */\n id?: string;\n /** A list of child nodes. */\n nodes?: Node[];\n /** Padding and background color styling for the node. */\n style?: NodeStyle;\n}\n\n/** @oneof */\nexport interface NodeDataOneOf {\n /** Data for a button node. */\n buttonData?: ButtonData;\n /** Data for a code block node. */\n codeBlockData?: CodeBlockData;\n /** Data for a divider node. */\n dividerData?: DividerData;\n /** Data for a file node. */\n fileData?: FileData;\n /** Data for a gallery node. */\n galleryData?: GalleryData;\n /** Data for a GIF node. */\n gifData?: GIFData;\n /** Data for a heading node. */\n headingData?: HeadingData;\n /** Data for an embedded HTML node. */\n htmlData?: HTMLData;\n /** Data for an image node. */\n imageData?: ImageData;\n /** Data for a link preview node. */\n linkPreviewData?: LinkPreviewData;\n /** @deprecated */\n mapData?: MapData;\n /** Data for a paragraph node. */\n paragraphData?: ParagraphData;\n /** Data for a poll node. */\n pollData?: PollData;\n /** Data for a text node. Used to apply decorations to text. */\n textData?: TextData;\n /** Data for an app embed node. */\n appEmbedData?: AppEmbedData;\n /** Data for a video node. */\n videoData?: VideoData;\n /** Data for an oEmbed node. */\n embedData?: EmbedData;\n /** Data for a collapsible list node. */\n collapsibleListData?: CollapsibleListData;\n /** Data for a table node. */\n tableData?: TableData;\n /** Data for a table cell node. */\n tableCellData?: TableCellData;\n /** Data for a custom external node. */\n externalData?: Record<string, any> | null;\n /** Data for an audio node. */\n audioData?: AudioData;\n /** Data for an ordered list node. */\n orderedListData?: OrderedListData;\n /** Data for a bulleted list node. */\n bulletedListData?: BulletedListData;\n /** Data for a block quote node. */\n blockquoteData?: BlockquoteData;\n /** Data for a caption node. */\n captionData?: CaptionData;\n /** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */\n layoutCellData?: LayoutCellData;\n}\n\nexport enum NodeType {\n PARAGRAPH = 'PARAGRAPH',\n TEXT = 'TEXT',\n HEADING = 'HEADING',\n BULLETED_LIST = 'BULLETED_LIST',\n ORDERED_LIST = 'ORDERED_LIST',\n LIST_ITEM = 'LIST_ITEM',\n BLOCKQUOTE = 'BLOCKQUOTE',\n CODE_BLOCK = 'CODE_BLOCK',\n VIDEO = 'VIDEO',\n DIVIDER = 'DIVIDER',\n FILE = 'FILE',\n GALLERY = 'GALLERY',\n GIF = 'GIF',\n HTML = 'HTML',\n IMAGE = 'IMAGE',\n LINK_PREVIEW = 'LINK_PREVIEW',\n /** @deprecated */\n MAP = 'MAP',\n POLL = 'POLL',\n APP_EMBED = 'APP_EMBED',\n BUTTON = 'BUTTON',\n COLLAPSIBLE_LIST = 'COLLAPSIBLE_LIST',\n TABLE = 'TABLE',\n EMBED = 'EMBED',\n COLLAPSIBLE_ITEM = 'COLLAPSIBLE_ITEM',\n COLLAPSIBLE_ITEM_TITLE = 'COLLAPSIBLE_ITEM_TITLE',\n COLLAPSIBLE_ITEM_BODY = 'COLLAPSIBLE_ITEM_BODY',\n TABLE_CELL = 'TABLE_CELL',\n TABLE_ROW = 'TABLE_ROW',\n EXTERNAL = 'EXTERNAL',\n AUDIO = 'AUDIO',\n CAPTION = 'CAPTION',\n LAYOUT = 'LAYOUT',\n LAYOUT_CELL = 'LAYOUT_CELL',\n}\n\n/** @enumType */\nexport type NodeTypeWithLiterals =\n | NodeType\n | 'PARAGRAPH'\n | 'TEXT'\n | 'HEADING'\n | 'BULLETED_LIST'\n | 'ORDERED_LIST'\n | 'LIST_ITEM'\n | 'BLOCKQUOTE'\n | 'CODE_BLOCK'\n | 'VIDEO'\n | 'DIVIDER'\n | 'FILE'\n | 'GALLERY'\n | 'GIF'\n | 'HTML'\n | 'IMAGE'\n | 'LINK_PREVIEW'\n | 'MAP'\n | 'POLL'\n | 'APP_EMBED'\n | 'BUTTON'\n | 'COLLAPSIBLE_LIST'\n | 'TABLE'\n | 'EMBED'\n | 'COLLAPSIBLE_ITEM'\n | 'COLLAPSIBLE_ITEM_TITLE'\n | 'COLLAPSIBLE_ITEM_BODY'\n | 'TABLE_CELL'\n | 'TABLE_ROW'\n | 'EXTERNAL'\n | 'AUDIO'\n | 'CAPTION'\n | 'LAYOUT'\n | 'LAYOUT_CELL';\n\nexport interface NodeStyle {\n /** The top padding value in pixels. */\n paddingTop?: string | null;\n /** The bottom padding value in pixels. */\n paddingBottom?: string | null;\n /** The background color as a hexadecimal value. */\n backgroundColor?: string | null;\n}\n\nexport interface ButtonData {\n /** Styling for the button's container. */\n containerData?: PluginContainerData;\n /** The button type. */\n type?: ButtonDataTypeWithLiterals;\n /** Styling for the button. */\n styles?: Styles;\n /** The text to display on the button. */\n text?: string | null;\n /** Button link details. */\n link?: V1Link;\n}\n\nexport interface Border {\n /**\n * Deprecated: Use `borderWidth` in `styles` instead.\n * @deprecated\n */\n width?: number | null;\n /**\n * Deprecated: Use `borderRadius` in `styles` instead.\n * @deprecated\n */\n radius?: number | null;\n}\n\nexport interface Colors {\n /**\n * Deprecated: Use `textColor` in `styles` instead.\n * @deprecated\n */\n text?: string | null;\n /**\n * Deprecated: Use `borderColor` in `styles` instead.\n * @deprecated\n */\n border?: string | null;\n /**\n * Deprecated: Use `backgroundColor` in `styles` instead.\n * @deprecated\n */\n background?: string | null;\n}\n\nexport interface PluginContainerData {\n /** The width of the node when it's displayed. */\n width?: PluginContainerDataWidth;\n /** The node's alignment within its container. */\n alignment?: PluginContainerDataAlignmentWithLiterals;\n /** Spoiler cover settings for the node. */\n spoiler?: Spoiler;\n /** The height of the node when it's displayed. */\n height?: Height;\n /** 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`. */\n textWrap?: boolean | null;\n}\n\nexport enum WidthType {\n /** Width matches the content width */\n CONTENT = 'CONTENT',\n /** Small Width */\n SMALL = 'SMALL',\n /** Width will match the original asset width */\n ORIGINAL = 'ORIGINAL',\n /** coast-to-coast display */\n FULL_WIDTH = 'FULL_WIDTH',\n}\n\n/** @enumType */\nexport type WidthTypeWithLiterals =\n | WidthType\n | 'CONTENT'\n | 'SMALL'\n | 'ORIGINAL'\n | 'FULL_WIDTH';\n\nexport interface PluginContainerDataWidth\n extends PluginContainerDataWidthDataOneOf {\n /**\n * One of the following predefined width options:\n * `CONTENT`: The width of the container matches the content width.\n * `SMALL`: A small width.\n * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.\n * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.\n */\n size?: WidthTypeWithLiterals;\n /** A custom width value in pixels. */\n custom?: string | null;\n}\n\n/** @oneof */\nexport interface PluginContainerDataWidthDataOneOf {\n /**\n * One of the following predefined width options:\n * `CONTENT`: The width of the container matches the content width.\n * `SMALL`: A small width.\n * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.\n * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.\n */\n size?: WidthTypeWithLiterals;\n /** A custom width value in pixels. */\n custom?: string | null;\n}\n\nexport enum PluginContainerDataAlignment {\n /** Center Alignment */\n CENTER = 'CENTER',\n /** Left Alignment */\n LEFT = 'LEFT',\n /** Right Alignment */\n RIGHT = 'RIGHT',\n}\n\n/** @enumType */\nexport type PluginContainerDataAlignmentWithLiterals =\n | PluginContainerDataAlignment\n | 'CENTER'\n | 'LEFT'\n | 'RIGHT';\n\nexport interface Spoiler {\n /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */\n enabled?: boolean | null;\n /** The description displayed on top of the spoiler cover. */\n description?: string | null;\n /** The text for the button used to remove the spoiler cover. */\n buttonText?: string | null;\n}\n\nexport interface Height {\n /** A custom height value in pixels. */\n custom?: string | null;\n}\n\nexport enum ButtonDataType {\n /** Regular link button */\n LINK = 'LINK',\n /** Triggers custom action that is defined in plugin configuration by the consumer */\n ACTION = 'ACTION',\n}\n\n/** @enumType */\nexport type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';\n\nexport interface Styles {\n /**\n * Deprecated: Use `borderWidth` and `borderRadius` instead.\n * @deprecated\n */\n border?: Border;\n /**\n * Deprecated: Use `textColor`, `borderColor` and `backgroundColor` instead.\n * @deprecated\n */\n colors?: Colors;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /**\n * Deprecated: Use `borderWidth` for normal/hover states instead.\n * @deprecated\n */\n borderWidthHover?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /**\n * Border color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n borderColorHover?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n textColor?: string | null;\n /**\n * Text color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n textColorHover?: string | null;\n /**\n * Background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Background color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n backgroundColorHover?: string | null;\n /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */\n buttonSize?: string | null;\n}\n\nexport interface V1Link extends V1LinkDataOneOf {\n /** The absolute URL for the linked document. */\n url?: string;\n /** The target node's ID. Used for linking to another node in this object. */\n anchor?: string;\n /**\n * he HTML `target` attribute value for the link. This property defines where the linked document opens as follows:\n * `SELF` - Default. Opens the linked document in the same frame as the link.\n * `BLANK` - Opens the linked document in a new browser tab or window.\n * `PARENT` - Opens the linked document in the link's parent frame.\n * `TOP` - Opens the linked document in the full body of the link's browser tab or window.\n */\n target?: TargetWithLiterals;\n /** The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document. */\n rel?: Rel;\n /** A serialized object used for a custom or external link panel. */\n customData?: string | null;\n}\n\n/** @oneof */\nexport interface V1LinkDataOneOf {\n /** The absolute URL for the linked document. */\n url?: string;\n /** The target node's ID. Used for linking to another node in this object. */\n anchor?: string;\n}\n\nexport enum Target {\n /** Opens the linked document in the same frame as it was clicked (this is default) */\n SELF = 'SELF',\n /** Opens the linked document in a new window or tab */\n BLANK = 'BLANK',\n /** Opens the linked document in the parent frame */\n PARENT = 'PARENT',\n /** Opens the linked document in the full body of the window */\n TOP = 'TOP',\n}\n\n/** @enumType */\nexport type TargetWithLiterals = Target | 'SELF' | 'BLANK' | 'PARENT' | 'TOP';\n\nexport interface Rel {\n /** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */\n nofollow?: boolean | null;\n /** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */\n sponsored?: boolean | null;\n /** 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`. */\n ugc?: boolean | null;\n /** Indicates that this link protect referral information from being passed to the target website. */\n noreferrer?: boolean | null;\n}\n\nexport interface CodeBlockData {\n /** Styling for the code block's text. */\n textStyle?: TextStyle;\n}\n\nexport interface TextStyle {\n /** Text alignment. Defaults to `AUTO`. */\n textAlignment?: TextAlignmentWithLiterals;\n /** 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. */\n lineHeight?: string | null;\n}\n\nexport enum TextAlignment {\n /** browser default, eqivalent to `initial` */\n AUTO = 'AUTO',\n /** Left align */\n LEFT = 'LEFT',\n /** Right align */\n RIGHT = 'RIGHT',\n /** Center align */\n CENTER = 'CENTER',\n /** 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 */\n JUSTIFY = 'JUSTIFY',\n}\n\n/** @enumType */\nexport type TextAlignmentWithLiterals =\n | TextAlignment\n | 'AUTO'\n | 'LEFT'\n | 'RIGHT'\n | 'CENTER'\n | 'JUSTIFY';\n\nexport interface DividerData {\n /** Styling for the divider's container. */\n containerData?: PluginContainerData;\n /** Divider line style. */\n lineStyle?: LineStyleWithLiterals;\n /** Divider width. */\n width?: WidthWithLiterals;\n /** Divider alignment. */\n alignment?: DividerDataAlignmentWithLiterals;\n}\n\nexport enum LineStyle {\n /** Single Line */\n SINGLE = 'SINGLE',\n /** Double Line */\n DOUBLE = 'DOUBLE',\n /** Dashed Line */\n DASHED = 'DASHED',\n /** Dotted Line */\n DOTTED = 'DOTTED',\n}\n\n/** @enumType */\nexport type LineStyleWithLiterals =\n | LineStyle\n | 'SINGLE'\n | 'DOUBLE'\n | 'DASHED'\n | 'DOTTED';\n\nexport enum Width {\n /** Large line */\n LARGE = 'LARGE',\n /** Medium line */\n MEDIUM = 'MEDIUM',\n /** Small line */\n SMALL = 'SMALL',\n}\n\n/** @enumType */\nexport type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';\n\nexport enum DividerDataAlignment {\n /** Center alignment */\n CENTER = 'CENTER',\n /** Left alignment */\n LEFT = 'LEFT',\n /** Right alignment */\n RIGHT = 'RIGHT',\n}\n\n/** @enumType */\nexport type DividerDataAlignmentWithLiterals =\n | DividerDataAlignment\n | 'CENTER'\n | 'LEFT'\n | 'RIGHT';\n\nexport interface FileData {\n /** Styling for the file's container. */\n containerData?: PluginContainerData;\n /** The source for the file's data. */\n src?: FileSource;\n /** File name. */\n name?: string | null;\n /** File type. */\n type?: string | null;\n /**\n * Use `sizeInKb` instead.\n * @deprecated\n */\n size?: number | null;\n /** Settings for PDF files. */\n pdfSettings?: PDFSettings;\n /** File MIME type. */\n mimeType?: string | null;\n /** File path. */\n path?: string | null;\n /** File size in KB. */\n sizeInKb?: string | null;\n}\n\nexport enum ViewMode {\n /** No PDF view */\n NONE = 'NONE',\n /** Full PDF view */\n FULL = 'FULL',\n /** Mini PDF view */\n MINI = 'MINI',\n}\n\n/** @enumType */\nexport type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';\n\nexport interface FileSource extends FileSourceDataOneOf {\n /** The absolute URL for the file's source. */\n url?: string | null;\n /**\n * Custom ID. Use `id` instead.\n * @deprecated\n */\n custom?: string | null;\n /** An ID that's resolved to a URL by a resolver function. */\n id?: string | null;\n /** Indicates whether the file's source is private. Defaults to `false`. */\n private?: boolean | null;\n}\n\n/** @oneof */\nexport interface FileSourceDataOneOf {\n /** The absolute URL for the file's source. */\n url?: string | null;\n /**\n * Custom ID. Use `id` instead.\n * @deprecated\n */\n custom?: string | null;\n /** An ID that's resolved to a URL by a resolver function. */\n id?: string | null;\n}\n\nexport interface PDFSettings {\n /**\n * PDF view mode. One of the following:\n * `NONE` : The PDF isn't displayed.\n * `FULL` : A full page view of the PDF is displayed.\n * `MINI` : A mini view of the PDF is displayed.\n */\n viewMode?: ViewModeWithLiterals;\n /** Sets whether the PDF download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Sets whether the PDF print button is disabled. Defaults to `false`. */\n disablePrint?: boolean | null;\n}\n\nexport interface GalleryData {\n /** Styling for the gallery's container. */\n containerData?: PluginContainerData;\n /** The items in the gallery. */\n items?: GalleryDataItem[];\n /** Options for defining the gallery's appearance. */\n options?: GalleryOptions;\n /** Sets whether the gallery's expand button is disabled. Defaults to `false`. */\n disableExpand?: boolean | null;\n /** Sets whether the gallery's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n}\n\nexport interface Media {\n /** The source for the media's data. */\n src?: FileSource;\n /** Media width in pixels. */\n width?: number | null;\n /** Media height in pixels. */\n height?: number | null;\n /** Media duration in seconds. Only relevant for audio and video files. */\n duration?: number | null;\n}\n\nexport interface Image {\n /** Image file details. */\n media?: Media;\n /** Link details for images that are links. */\n link?: V1Link;\n}\n\nexport interface Video {\n /** Video file details. */\n media?: Media;\n /** Video thumbnail file details. */\n thumbnail?: Media;\n}\n\nexport interface GalleryDataItem extends GalleryDataItemDataOneOf {\n /** An image item. */\n image?: Image;\n /** A video item. */\n video?: Video;\n /** Item title. */\n title?: string | null;\n /** Item's alternative text. */\n altText?: string | null;\n}\n\n/** @oneof */\nexport interface GalleryDataItemDataOneOf {\n /** An image item. */\n image?: Image;\n /** A video item. */\n video?: Video;\n}\n\nexport interface GalleryOptions {\n /** Gallery layout. */\n layout?: GalleryOptionsLayout;\n /** Styling for gallery items. */\n item?: ItemStyle;\n /** Styling for gallery thumbnail images. */\n thumbnails?: Thumbnails;\n}\n\nexport enum LayoutType {\n /** Collage type */\n COLLAGE = 'COLLAGE',\n /** Masonry type */\n MASONRY = 'MASONRY',\n /** Grid type */\n GRID = 'GRID',\n /** Thumbnail type */\n THUMBNAIL = 'THUMBNAIL',\n /** Slider type */\n SLIDER = 'SLIDER',\n /** Slideshow type */\n SLIDESHOW = 'SLIDESHOW',\n /** Panorama type */\n PANORAMA = 'PANORAMA',\n /** Column type */\n COLUMN = 'COLUMN',\n /** Magic type */\n MAGIC = 'MAGIC',\n /** Fullsize images type */\n FULLSIZE = 'FULLSIZE',\n}\n\n/** @enumType */\nexport type LayoutTypeWithLiterals =\n | LayoutType\n | 'COLLAGE'\n | 'MASONRY'\n | 'GRID'\n | 'THUMBNAIL'\n | 'SLIDER'\n | 'SLIDESHOW'\n | 'PANORAMA'\n | 'COLUMN'\n | 'MAGIC'\n | 'FULLSIZE';\n\nexport enum Orientation {\n /** Rows Orientation */\n ROWS = 'ROWS',\n /** Columns Orientation */\n COLUMNS = 'COLUMNS',\n}\n\n/** @enumType */\nexport type OrientationWithLiterals = Orientation | 'ROWS' | 'COLUMNS';\n\nexport enum Crop {\n /** Crop to fill */\n FILL = 'FILL',\n /** Crop to fit */\n FIT = 'FIT',\n}\n\n/** @enumType */\nexport type CropWithLiterals = Crop | 'FILL' | 'FIT';\n\nexport enum ThumbnailsAlignment {\n /** Top alignment */\n TOP = 'TOP',\n /** Right alignment */\n RIGHT = 'RIGHT',\n /** Bottom alignment */\n BOTTOM = 'BOTTOM',\n /** Left alignment */\n LEFT = 'LEFT',\n /** No thumbnail */\n NONE = 'NONE',\n}\n\n/** @enumType */\nexport type ThumbnailsAlignmentWithLiterals =\n | ThumbnailsAlignment\n | 'TOP'\n | 'RIGHT'\n | 'BOTTOM'\n | 'LEFT'\n | 'NONE';\n\nexport interface GalleryOptionsLayout {\n /** Gallery layout type. */\n type?: LayoutTypeWithLiterals;\n /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */\n horizontalScroll?: boolean | null;\n /** Gallery orientation. */\n orientation?: OrientationWithLiterals;\n /** The number of columns to display on full size screens. */\n numberOfColumns?: number | null;\n /** The number of columns to display on mobile screens. */\n mobileNumberOfColumns?: number | null;\n}\n\nexport interface ItemStyle {\n /** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */\n targetSize?: number | null;\n /** Item ratio */\n ratio?: number | null;\n /** Sets how item images are cropped. */\n crop?: CropWithLiterals;\n /** The spacing between items in pixels. */\n spacing?: number | null;\n}\n\nexport interface Thumbnails {\n /** Thumbnail alignment. */\n placement?: ThumbnailsAlignmentWithLiterals;\n /** Spacing between thumbnails in pixels. */\n spacing?: number | null;\n}\n\nexport interface GIFData {\n /** Styling for the GIF's container. */\n containerData?: PluginContainerData;\n /** The source of the full size GIF. */\n original?: GIF;\n /** The source of the downsized GIF. */\n downsized?: GIF;\n /** Height in pixels. */\n height?: number;\n /** Width in pixels. */\n width?: number;\n /** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */\n gifType?: GIFTypeWithLiterals;\n}\n\nexport interface GIF {\n /**\n * GIF format URL.\n * @format WEB_URL\n */\n gif?: string | null;\n /**\n * MP4 format URL.\n * @format WEB_URL\n */\n mp4?: string | null;\n /**\n * Thumbnail URL.\n * @format WEB_URL\n */\n still?: string | null;\n}\n\nexport enum GIFType {\n NORMAL = 'NORMAL',\n STICKER = 'STICKER',\n}\n\n/** @enumType */\nexport type GIFTypeWithLiterals = GIFType | 'NORMAL' | 'STICKER';\n\nexport interface HeadingData {\n /** Heading level from 1-6. */\n level?: number;\n /** Styling for the heading text. */\n textStyle?: TextStyle;\n /** Indentation level from 1-4. */\n indentation?: number | null;\n}\n\nexport interface HTMLData extends HTMLDataDataOneOf {\n /** The URL for the HTML code for the node. */\n url?: string;\n /** The HTML code for the node. */\n html?: string;\n /**\n * Whether this is an AdSense element. Use `source` instead.\n * @deprecated\n */\n isAdsense?: boolean | null;\n /** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */\n containerData?: PluginContainerData;\n /** The type of HTML code. */\n source?: SourceWithLiterals;\n /** If container height is aligned with its content height. Defaults to `true`. */\n autoHeight?: boolean | null;\n}\n\n/** @oneof */\nexport interface HTMLDataDataOneOf {\n /** The URL for the HTML code for the node. */\n url?: string;\n /** The HTML code for the node. */\n html?: string;\n /**\n * Whether this is an AdSense element. Use `source` instead.\n * @deprecated\n */\n isAdsense?: boolean | null;\n}\n\nexport enum Source {\n HTML = 'HTML',\n ADSENSE = 'ADSENSE',\n}\n\n/** @enumType */\nexport type SourceWithLiterals = Source | 'HTML' | 'ADSENSE';\n\nexport interface ImageData {\n /** Styling for the image's container. */\n containerData?: PluginContainerData;\n /** Image file details. */\n image?: Media;\n /** Link details for images that are links. */\n link?: V1Link;\n /** Sets whether the image expands to full screen when clicked. Defaults to `false`. */\n disableExpand?: boolean | null;\n /** Image's alternative text. */\n altText?: string | null;\n /**\n * Deprecated: use Caption node instead.\n * @deprecated\n */\n caption?: string | null;\n /** Sets whether the image's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Sets whether the image is decorative and does not need an explanation. Defaults to `false`. */\n decorative?: boolean | null;\n /** Styling for the image. */\n styles?: ImageDataStyles;\n}\n\nexport interface StylesBorder {\n /** Border width in pixels. */\n width?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n color?: string | null;\n /** Border radius in pixels. */\n radius?: number | null;\n}\n\nexport interface ImageDataStyles {\n /** Border attributes. */\n border?: StylesBorder;\n}\n\nexport interface LinkPreviewData {\n /** Styling for the link preview's container. */\n containerData?: PluginContainerData;\n /** Link details. */\n link?: V1Link;\n /** Preview title. */\n title?: string | null;\n /** Preview thumbnail URL. */\n thumbnailUrl?: string | null;\n /** Preview description. */\n description?: string | null;\n /** The preview content as HTML. */\n html?: string | null;\n /** Styling for the link preview. */\n styles?: LinkPreviewDataStyles;\n}\n\nexport enum StylesPosition {\n /** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n /** Thumbnail positioned at the top */\n TOP = 'TOP',\n /** Thumbnail hidden and not displayed */\n HIDDEN = 'HIDDEN',\n}\n\n/** @enumType */\nexport type StylesPositionWithLiterals =\n | StylesPosition\n | 'START'\n | 'END'\n | 'TOP'\n | 'HIDDEN';\n\nexport interface LinkPreviewDataStyles {\n /**\n * Background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Title color as a hexadecimal value.\n * @format COLOR_HEX\n */\n titleColor?: string | null;\n /**\n * Subtitle color as a hexadecimal value.\n * @format COLOR_HEX\n */\n subtitleColor?: string | null;\n /**\n * Link color as a hexadecimal value.\n * @format COLOR_HEX\n */\n linkColor?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /** Position of thumbnail. Defaults to `START`. */\n thumbnailPosition?: StylesPositionWithLiterals;\n}\n\nexport interface MapData {\n /** Styling for the map's container. */\n containerData?: PluginContainerData;\n /** Map settings. */\n mapSettings?: MapSettings;\n}\n\nexport interface MapSettings {\n /** The address to display on the map. */\n address?: string | null;\n /** Sets whether the map is draggable. */\n draggable?: boolean | null;\n /** Sets whether the location marker is visible. */\n marker?: boolean | null;\n /** Sets whether street view control is enabled. */\n streetViewControl?: boolean | null;\n /** Sets whether zoom control is enabled. */\n zoomControl?: boolean | null;\n /** Location latitude. */\n lat?: number | null;\n /** Location longitude. */\n lng?: number | null;\n /** Location name. */\n locationName?: string | null;\n /** Sets whether view mode control is enabled. */\n viewModeControl?: boolean | null;\n /** Initial zoom value. */\n initialZoom?: number | null;\n /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */\n mapType?: MapTypeWithLiterals;\n}\n\nexport enum MapType {\n /** Roadmap map type */\n ROADMAP = 'ROADMAP',\n /** Satellite map type */\n SATELITE = 'SATELITE',\n /** Hybrid map type */\n HYBRID = 'HYBRID',\n /** Terrain map type */\n TERRAIN = 'TERRAIN',\n}\n\n/** @enumType */\nexport type MapTypeWithLiterals =\n | MapType\n | 'ROADMAP'\n | 'SATELITE'\n | 'HYBRID'\n | 'TERRAIN';\n\nexport interface ParagraphData {\n /** Styling for the paragraph text. */\n textStyle?: TextStyle;\n /** Indentation level from 1-4. */\n indentation?: number | null;\n /** Paragraph level */\n level?: number | null;\n}\n\nexport interface PollData {\n /** Styling for the poll's container. */\n containerData?: PluginContainerData;\n /** Poll data. */\n poll?: Poll;\n /** Layout settings for the poll and voting options. */\n layout?: PollDataLayout;\n /** Styling for the poll and voting options. */\n design?: Design;\n}\n\nexport enum ViewRole {\n /** Only Poll creator can view the results */\n CREATOR = 'CREATOR',\n /** Anyone who voted can see the results */\n VOTERS = 'VOTERS',\n /** Anyone can see the results, even if one didn't vote */\n EVERYONE = 'EVERYONE',\n}\n\n/** @enumType */\nexport type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';\n\nexport enum VoteRole {\n /** Logged in member */\n SITE_MEMBERS = 'SITE_MEMBERS',\n /** Anyone */\n ALL = 'ALL',\n}\n\n/** @enumType */\nexport type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';\n\nexport interface Permissions {\n /** Sets who can view the poll results. */\n view?: ViewRoleWithLiterals;\n /** Sets who can vote. */\n vote?: VoteRoleWithLiterals;\n /** Sets whether one voter can vote multiple times. Defaults to `false`. */\n allowMultipleVotes?: boolean | null;\n}\n\nexport interface Option {\n /** Option ID. */\n id?: string | null;\n /** Option title. */\n title?: string | null;\n /** The image displayed with the option. */\n image?: Media;\n}\n\nexport interface PollSettings {\n /** Permissions settings for voting. */\n permissions?: Permissions;\n /** Sets whether voters are displayed in the vote results. Defaults to `true`. */\n showVoters?: boolean | null;\n /** Sets whether the vote count is displayed. Defaults to `true`. */\n showVotesCount?: boolean | null;\n}\n\nexport enum PollLayoutType {\n /** List */\n LIST = 'LIST',\n /** Grid */\n GRID = 'GRID',\n}\n\n/** @enumType */\nexport type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';\n\nexport enum PollLayoutDirection {\n /** Left-to-right */\n LTR = 'LTR',\n /** Right-to-left */\n RTL = 'RTL',\n}\n\n/** @enumType */\nexport type PollLayoutDirectionWithLiterals =\n | PollLayoutDirection\n | 'LTR'\n | 'RTL';\n\nexport interface PollLayout {\n /** The layout for displaying the voting options. */\n type?: PollLayoutTypeWithLiterals;\n /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */\n direction?: PollLayoutDirectionWithLiterals;\n /** Sets whether to display the main poll image. Defaults to `false`. */\n enableImage?: boolean | null;\n}\n\nexport interface OptionLayout {\n /** Sets whether to display option images. Defaults to `false`. */\n enableImage?: boolean | null;\n}\n\nexport enum BackgroundType {\n /** Color background type */\n COLOR = 'COLOR',\n /** Image background type */\n IMAGE = 'IMAGE',\n /** Gradiant background type */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type BackgroundTypeWithLiterals =\n | BackgroundType\n | 'COLOR'\n | 'IMAGE'\n | 'GRADIENT';\n\nexport interface Gradient {\n /** The gradient angle in degrees. */\n angle?: number | null;\n /**\n * The start color as a hexademical value.\n * @format COLOR_HEX\n */\n startColor?: string | null;\n /**\n * The end color as a hexademical value.\n * @format COLOR_HEX\n */\n lastColor?: string | null;\n}\n\nexport interface Background extends BackgroundBackgroundOneOf {\n /**\n * The background color as a hexademical value.\n * @format COLOR_HEX\n */\n color?: string | null;\n /** An image to use for the background. */\n image?: Media;\n /** Details for a gradient background. */\n gradient?: Gradient;\n /** Background type. For each option, include the relevant details. */\n type?: BackgroundTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface BackgroundBackgroundOneOf {\n /**\n * The background color as a hexademical value.\n * @format COLOR_HEX\n */\n color?: string | null;\n /** An image to use for the background. */\n image?: Media;\n /** Details for a gradient background. */\n gradient?: Gradient;\n}\n\nexport interface PollDesign {\n /** Background styling. */\n background?: Background;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface OptionDesign {\n /** Border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface Poll {\n /** Poll ID. */\n id?: string | null;\n /** Poll title. */\n title?: string | null;\n /** Poll creator ID. */\n creatorId?: string | null;\n /** Main poll image. */\n image?: Media;\n /** Voting options. */\n options?: Option[];\n /** The poll's permissions and display settings. */\n settings?: PollSettings;\n}\n\nexport interface PollDataLayout {\n /** Poll layout settings. */\n poll?: PollLayout;\n /** Voting otpions layout settings. */\n options?: OptionLayout;\n}\n\nexport interface Design {\n /** Styling for the poll. */\n poll?: PollDesign;\n /** Styling for voting options. */\n options?: OptionDesign;\n}\n\nexport interface TextData {\n /** The text to apply decorations to. */\n text?: string;\n /** The decorations to apply. */\n decorations?: Decoration[];\n}\n\n/** Adds appearence changes to text */\nexport interface Decoration extends DecorationDataOneOf {\n /** Data for an anchor link decoration. */\n anchorData?: AnchorData;\n /** Data for a color decoration. */\n colorData?: ColorData;\n /** Data for an external link decoration. */\n linkData?: LinkData;\n /** Data for a mention decoration. */\n mentionData?: MentionData;\n /** Data for a font size decoration. */\n fontSizeData?: FontSizeData;\n /** Font weight for a bold decoration. */\n fontWeightValue?: number | null;\n /** Data for an italic decoration. Defaults to `true`. */\n italicData?: boolean | null;\n /** Data for an underline decoration. Defaults to `true`. */\n underlineData?: boolean | null;\n /** Data for a spoiler decoration. */\n spoilerData?: SpoilerData;\n /** Data for a strikethrough decoration. Defaults to `true`. */\n strikethroughData?: boolean | null;\n /** Data for a superscript decoration. Defaults to `true`. */\n superscriptData?: boolean | null;\n /** Data for a subscript decoration. Defaults to `true`. */\n subscriptData?: boolean | null;\n /** The type of decoration to apply. */\n type?: DecorationTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface DecorationDataOneOf {\n /** Data for an anchor link decoration. */\n anchorData?: AnchorData;\n /** Data for a color decoration. */\n colorData?: ColorData;\n /** Data for an external link decoration. */\n linkData?: LinkData;\n /** Data for a mention decoration. */\n mentionData?: MentionData;\n /** Data for a font size decoration. */\n fontSizeData?: FontSizeData;\n /** Font weight for a bold decoration. */\n fontWeightValue?: number | null;\n /** Data for an italic decoration. Defaults to `true`. */\n italicData?: boolean | null;\n /** Data for an underline decoration. Defaults to `true`. */\n underlineData?: boolean | null;\n /** Data for a spoiler decoration. */\n spoilerData?: SpoilerData;\n /** Data for a strikethrough decoration. Defaults to `true`. */\n strikethroughData?: boolean | null;\n /** Data for a superscript decoration. Defaults to `true`. */\n superscriptData?: boolean | null;\n /** Data for a subscript decoration. Defaults to `true`. */\n subscriptData?: boolean | null;\n}\n\nexport enum DecorationType {\n BOLD = 'BOLD',\n ITALIC = 'ITALIC',\n UNDERLINE = 'UNDERLINE',\n SPOILER = 'SPOILER',\n ANCHOR = 'ANCHOR',\n MENTION = 'MENTION',\n LINK = 'LINK',\n COLOR = 'COLOR',\n FONT_SIZE = 'FONT_SIZE',\n EXTERNAL = 'EXTERNAL',\n STRIKETHROUGH = 'STRIKETHROUGH',\n SUPERSCRIPT = 'SUPERSCRIPT',\n SUBSCRIPT = 'SUBSCRIPT',\n}\n\n/** @enumType */\nexport type DecorationTypeWithLiterals =\n | DecorationType\n | 'BOLD'\n | 'ITALIC'\n | 'UNDERLINE'\n | 'SPOILER'\n | 'ANCHOR'\n | 'MENTION'\n | 'LINK'\n | 'COLOR'\n | 'FONT_SIZE'\n | 'EXTERNAL'\n | 'STRIKETHROUGH'\n | 'SUPERSCRIPT'\n | 'SUBSCRIPT';\n\nexport interface AnchorData {\n /** The target node's ID. */\n anchor?: string;\n}\n\nexport interface ColorData {\n /** The text's background color as a hexadecimal value. */\n background?: string | null;\n /** The text's foreground color as a hexadecimal value. */\n foreground?: string | null;\n}\n\nexport interface LinkData {\n /** Link details. */\n link?: V1Link;\n}\n\nexport interface MentionData {\n /** The mentioned user's name. */\n name?: string;\n /** The version of the user's name that appears after the `@` character in the mention. */\n slug?: string;\n /** Mentioned user's ID. */\n id?: string | null;\n}\n\nexport interface FontSizeData {\n /** The units used for the font size. */\n unit?: FontTypeWithLiterals;\n /** Font size value. */\n value?: number | null;\n}\n\nexport enum FontType {\n PX = 'PX',\n EM = 'EM',\n}\n\n/** @enumType */\nexport type FontTypeWithLiterals = FontType | 'PX' | 'EM';\n\nexport interface SpoilerData {\n /** Spoiler ID. */\n id?: string | null;\n}\n\nexport interface AppEmbedData extends AppEmbedDataAppDataOneOf {\n /** Data for embedded Wix Bookings content. */\n bookingData?: BookingData;\n /** Data for embedded Wix Events content. */\n eventData?: EventData;\n /** The type of Wix App content being embedded. */\n type?: AppTypeWithLiterals;\n /** The ID of the embedded content. */\n itemId?: string | null;\n /** The name of the embedded content. */\n name?: string | null;\n /**\n * Deprecated: Use `image` instead.\n * @deprecated\n */\n imageSrc?: string | null;\n /** The URL for the embedded content. */\n url?: string | null;\n /** An image for the embedded content. */\n image?: Media;\n /** Whether to hide the image. */\n hideImage?: boolean | null;\n /** Whether to hide the title. */\n hideTitle?: boolean | null;\n /** Whether to hide the price. */\n hidePrice?: boolean | null;\n /** Whether to hide the description (Event and Booking). */\n hideDescription?: boolean | null;\n /** Whether to hide the date and time (Event). */\n hideDateTime?: boolean | null;\n /** Whether to hide the location (Event). */\n hideLocation?: boolean | null;\n /** Whether to hide the duration (Booking). */\n hideDuration?: boolean | null;\n /** Whether to hide the button. */\n hideButton?: boolean | null;\n /** Whether to hide the ribbon. */\n hideRibbon?: boolean | null;\n /** Button styling options. */\n buttonStyles?: ButtonStyles;\n /** Image styling options. */\n imageStyles?: ImageStyles;\n /** Ribbon styling options. */\n ribbonStyles?: RibbonStyles;\n /** Card styling options. */\n cardStyles?: CardStyles;\n /** Styling for the app embed's container. */\n containerData?: PluginContainerData;\n /** Pricing data for embedded Wix App content. */\n pricingData?: PricingData;\n}\n\n/** @oneof */\nexport interface AppEmbedDataAppDataOneOf {\n /** Data for embedded Wix Bookings content. */\n bookingData?: BookingData;\n /** Data for embedded Wix Events content. */\n eventData?: EventData;\n}\n\nexport enum Position {\n /** Image positioned at the start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Image positioned at the end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n /** Image positioned at the top */\n TOP = 'TOP',\n}\n\n/** @enumType */\nexport type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';\n\nexport enum AspectRatio {\n /** 1:1 aspect ratio */\n SQUARE = 'SQUARE',\n /** 16:9 aspect ratio */\n RECTANGLE = 'RECTANGLE',\n}\n\n/** @enumType */\nexport type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';\n\nexport enum Resizing {\n /** Fill the container, may crop the image */\n FILL = 'FILL',\n /** Fit the image within the container */\n FIT = 'FIT',\n}\n\n/** @enumType */\nexport type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';\n\nexport enum Placement {\n /** Ribbon placed on the image */\n IMAGE = 'IMAGE',\n /** Ribbon placed on the product information */\n PRODUCT_INFO = 'PRODUCT_INFO',\n}\n\n/** @enumType */\nexport type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';\n\nexport enum CardStylesType {\n /** Card with visible border and background */\n CONTAINED = 'CONTAINED',\n /** Card without visible border */\n FRAMELESS = 'FRAMELESS',\n}\n\n/** @enumType */\nexport type CardStylesTypeWithLiterals =\n | CardStylesType\n | 'CONTAINED'\n | 'FRAMELESS';\n\nexport enum Alignment {\n /** Content aligned to start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Content centered */\n CENTER = 'CENTER',\n /** Content aligned to end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n}\n\n/** @enumType */\nexport type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';\n\nexport enum Layout {\n /** Elements stacked vertically */\n STACKED = 'STACKED',\n /** Elements arranged horizontally */\n SIDE_BY_SIDE = 'SIDE_BY_SIDE',\n}\n\n/** @enumType */\nexport type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';\n\nexport enum AppType {\n PRODUCT = 'PRODUCT',\n EVENT = 'EVENT',\n BOOKING = 'BOOKING',\n}\n\n/** @enumType */\nexport type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';\n\nexport interface BookingData {\n /** Booking duration in minutes. */\n durations?: string | null;\n}\n\nexport interface EventData {\n /** Event schedule. */\n scheduling?: string | null;\n /** Event location. */\n location?: string | null;\n}\n\nexport interface ButtonStyles {\n /** Text to display on the button. */\n buttonText?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n textColor?: string | null;\n /**\n * Background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Border color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n borderColorHover?: string | null;\n /**\n * Text color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n textColorHover?: string | null;\n /**\n * Background color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n backgroundColorHover?: string | null;\n /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */\n buttonSize?: string | null;\n}\n\nexport interface ImageStyles {\n /** Whether to hide the image. */\n hideImage?: boolean | null;\n /** Position of image. Defaults to `START`. */\n imagePosition?: PositionWithLiterals;\n /** Aspect ratio for the image. Defaults to `SQUARE`. */\n aspectRatio?: AspectRatioWithLiterals;\n /** How the image should be resized. Defaults to `FILL`. */\n resizing?: ResizingWithLiterals;\n /**\n * Image border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /** Image border width in pixels. */\n borderWidth?: number | null;\n /** Image border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface RibbonStyles {\n /** Text to display on the ribbon. */\n ribbonText?: string | null;\n /**\n * Ribbon background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Ribbon text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n textColor?: string | null;\n /**\n * Ribbon border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /** Ribbon border width in pixels. */\n borderWidth?: number | null;\n /** Ribbon border radius in pixels. */\n borderRadius?: number | null;\n /** Placement of the ribbon. Defaults to `IMAGE`. */\n ribbonPlacement?: PlacementWithLiterals;\n}\n\nexport interface CardStyles {\n /**\n * Card background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Card border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /** Card border width in pixels. */\n borderWidth?: number | null;\n /** Card border radius in pixels. */\n borderRadius?: number | null;\n /** Card type. Defaults to `CONTAINED`. */\n type?: CardStylesTypeWithLiterals;\n /** Content alignment. Defaults to `START`. */\n alignment?: AlignmentWithLiterals;\n /** Layout for title and price. Defaults to `STACKED`. */\n titlePriceLayout?: LayoutWithLiterals;\n /**\n * Title text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n titleColor?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n textColor?: string | null;\n}\n\nexport interface PricingData {\n /**\n * Minimum numeric price value as string (e.g., \"10.99\").\n * @decimalValue options { maxScale:2 }\n */\n valueFrom?: string | null;\n /**\n * Maximum numeric price value as string (e.g., \"19.99\").\n * @decimalValue options { maxScale:2 }\n */\n valueTo?: string | null;\n /**\n * Numeric price value as string after discount application (e.g., \"15.99\").\n * @decimalValue options { maxScale:2 }\n */\n discountedValue?: string | null;\n /**\n * Currency of the value in ISO 4217 format (e.g., \"USD\", \"EUR\").\n * @format CURRENCY\n */\n currency?: string | null;\n /**\n * Pricing plan ID.\n * @format GUID\n */\n pricingPlanId?: string | null;\n}\n\nexport interface VideoData {\n /** Styling for the video's container. */\n containerData?: PluginContainerData;\n /** Video details. */\n video?: Media;\n /** Video thumbnail details. */\n thumbnail?: Media;\n /** Sets whether the video's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Video title. */\n title?: string | null;\n /** Video options. */\n options?: PlaybackOptions;\n}\n\nexport interface PlaybackOptions {\n /** Sets whether the media will automatically start playing. */\n autoPlay?: boolean | null;\n /** Sets whether media's will be looped. */\n playInLoop?: boolean | null;\n /** Sets whether media's controls will be shown. */\n showControls?: boolean | null;\n}\n\nexport interface EmbedData {\n /** Styling for the oEmbed node's container. */\n containerData?: PluginContainerData;\n /** An [oEmbed](https://www.oembed.com) object. */\n oembed?: Oembed;\n /** Origin asset source. */\n src?: string | null;\n}\n\nexport interface Oembed {\n /** The resource type. */\n type?: string | null;\n /** The width of the resource specified in the `url` property in pixels. */\n width?: number | null;\n /** The height of the resource specified in the `url` property in pixels. */\n height?: number | null;\n /** Resource title. */\n title?: string | null;\n /** The source URL for the resource. */\n url?: string | null;\n /** HTML for embedding a video player. The HTML should have no padding or margins. */\n html?: string | null;\n /** The name of the author or owner of the resource. */\n authorName?: string | null;\n /** The URL for the author or owner of the resource. */\n authorUrl?: string | null;\n /** The name of the resource provider. */\n providerName?: string | null;\n /** The URL for the resource provider. */\n providerUrl?: string | null;\n /** The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined. */\n thumbnailUrl?: string | null;\n /** The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined. */\n thumbnailWidth?: string | null;\n /** The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined. */\n thumbnailHeight?: string | null;\n /** The URL for an embedded viedo. */\n videoUrl?: string | null;\n /** The oEmbed version number. This value must be `1.0`. */\n version?: string | null;\n}\n\nexport interface CollapsibleListData {\n /** Styling for the collapsible list's container. */\n containerData?: PluginContainerData;\n /** If `true`, only one item can be expanded at a time. Defaults to `false`. */\n expandOnlyOne?: boolean | null;\n /** Sets which items are expanded when the page loads. */\n initialExpandedItems?: InitialExpandedItemsWithLiterals;\n /** The direction of the text in the list. Either left-to-right or right-to-left. */\n direction?: DirectionWithLiterals;\n /** If `true`, The collapsible item will appear in search results as an FAQ. */\n isQapageData?: boolean | null;\n}\n\nexport enum InitialExpandedItems {\n /** First item will be expended initally */\n FIRST = 'FIRST',\n /** All items will expended initally */\n ALL = 'ALL',\n /** All items collapsed initally */\n NONE = 'NONE',\n}\n\n/** @enumType */\nexport type InitialExpandedItemsWithLiterals =\n | InitialExpandedItems\n | 'FIRST'\n | 'ALL'\n | 'NONE';\n\nexport enum Direction {\n /** Left-to-right */\n LTR = 'LTR',\n /** Right-to-left */\n RTL = 'RTL',\n}\n\n/** @enumType */\nexport type DirectionWithLiterals = Direction | 'LTR' | 'RTL';\n\nexport interface TableData {\n /** Styling for the table's container. */\n containerData?: PluginContainerData;\n /** The table's dimensions. */\n dimensions?: Dimensions;\n /**\n * Deprecated: Use `rowHeader` and `columnHeader` instead.\n * @deprecated\n */\n header?: boolean | null;\n /** Sets whether the table's first row is a header. Defaults to `false`. */\n rowHeader?: boolean | null;\n /** Sets whether the table's first column is a header. Defaults to `false`. */\n columnHeader?: boolean | null;\n}\n\nexport interface Dimensions {\n /** An array representing relative width of each column in relation to the other columns. */\n colsWidthRatio?: number[];\n /** An array representing the height of each row in pixels. */\n rowsHeight?: number[];\n /** An array representing the minimum width of each column in pixels. */\n colsMinWidth?: number[];\n}\n\nexport interface TableCellData {\n /** Styling for the cell's background color and text alignment. */\n cellStyle?: CellStyle;\n /** The cell's border colors. */\n borderColors?: BorderColors;\n}\n\nexport enum VerticalAlignment {\n /** Top alignment */\n TOP = 'TOP',\n /** Middle alignment */\n MIDDLE = 'MIDDLE',\n /** Bottom alignment */\n BOTTOM = 'BOTTOM',\n}\n\n/** @enumType */\nexport type VerticalAlignmentWithLiterals =\n | VerticalAlignment\n | 'TOP'\n | 'MIDDLE'\n | 'BOTTOM';\n\nexport interface CellStyle {\n /** Vertical alignment for the cell's text. */\n verticalAlignment?: VerticalAlignmentWithLiterals;\n /**\n * Cell background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n}\n\nexport interface BorderColors {\n /**\n * Left border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n left?: string | null;\n /**\n * Right border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n right?: string | null;\n /**\n * Top border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n top?: string | null;\n /**\n * Bottom border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n bottom?: string | null;\n}\n\n/**\n * `NullValue` is a singleton enumeration to represent the null value for the\n * `Value` type union.\n *\n * The JSON representation for `NullValue` is JSON `null`.\n */\nexport enum NullValue {\n /** Null value. */\n NULL_VALUE = 'NULL_VALUE',\n}\n\n/** @enumType */\nexport type NullValueWithLiterals = NullValue | 'NULL_VALUE';\n\n/**\n * `ListValue` is a wrapper around a repeated field of values.\n *\n * The JSON representation for `ListValue` is JSON array.\n */\nexport interface ListValue {\n /** Repeated field of dynamically typed values. */\n values?: any[];\n}\n\nexport interface AudioData {\n /** Styling for the audio node's container. */\n containerData?: PluginContainerData;\n /** Audio file details. */\n audio?: Media;\n /** Sets whether the audio node's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Cover image. */\n coverImage?: Media;\n /** Track name. */\n name?: string | null;\n /** Author name. */\n authorName?: string | null;\n /** An HTML version of the audio node. */\n html?: string | null;\n}\n\nexport interface OrderedListData {\n /** Indentation level from 0-4. */\n indentation?: number;\n /** Offset level from 0-4. */\n offset?: number | null;\n /** List start number. */\n start?: number | null;\n}\n\nexport interface BulletedListData {\n /** Indentation level from 0-4. */\n indentation?: number;\n /** Offset level from 0-4. */\n offset?: number | null;\n}\n\nexport interface BlockquoteData {\n /** Indentation level from 1-4. */\n indentation?: number;\n}\n\nexport interface CaptionData {\n textStyle?: TextStyle;\n}\n\nexport interface LayoutCellData {\n /** Size of the cell in 12 columns grid. */\n colSpan?: number | null;\n}\n\nexport interface Metadata {\n /** Schema version. */\n version?: number;\n /**\n * When the object was created.\n * @readonly\n * @deprecated\n */\n createdTimestamp?: Date | null;\n /**\n * When the object was most recently updated.\n * @deprecated\n */\n updatedTimestamp?: Date | null;\n /** Object ID. */\n _id?: string | null;\n}\n\nexport interface DocumentStyle {\n /** Styling for H1 nodes. */\n headerOne?: TextNodeStyle;\n /** Styling for H2 nodes. */\n headerTwo?: TextNodeStyle;\n /** Styling for H3 nodes. */\n headerThree?: TextNodeStyle;\n /** Styling for H4 nodes. */\n headerFour?: TextNodeStyle;\n /** Styling for H5 nodes. */\n headerFive?: TextNodeStyle;\n /** Styling for H6 nodes. */\n headerSix?: TextNodeStyle;\n /** Styling for paragraph nodes. */\n paragraph?: TextNodeStyle;\n /** Styling for block quote nodes. */\n blockquote?: TextNodeStyle;\n /** Styling for code block nodes. */\n codeBlock?: TextNodeStyle;\n}\n\nexport interface TextNodeStyle {\n /** The decorations to apply to the node. */\n decorations?: Decoration[];\n /** Padding and background color for the node. */\n nodeStyle?: NodeStyle;\n /** Line height for text in the node. */\n lineHeight?: string | null;\n}\n\nexport interface Badge {\n /** Badge type. */\n type?: TypeWithLiterals;\n /**\n * Badge text.\n * @maxLength 50\n */\n text?: string | null;\n}\n\nexport enum Type {\n /** Unknown badge type. */\n UNKNOWN_BADGE_TYPE = 'UNKNOWN_BADGE_TYPE',\n /** 1st priority badge type. */\n FIRST_PRIORITY = 'FIRST_PRIORITY',\n /** 2nd priority badge type. */\n SECOND_PRIORITY = 'SECOND_PRIORITY',\n /** 3rd priority badge type. */\n THIRD_PRIORITY = 'THIRD_PRIORITY',\n}\n\n/** @enumType */\nexport type TypeWithLiterals =\n | Type\n | 'UNKNOWN_BADGE_TYPE'\n | 'FIRST_PRIORITY'\n | 'SECOND_PRIORITY'\n | 'THIRD_PRIORITY';\n\n/** Triggered when an order is confirmed. */\nexport interface OrderConfirmed {\n /** Date and time the order was confirmed. */\n timestamp?: Date | null;\n /**\n * Site language when the order was initiated.\n * @format LANGUAGE\n */\n language?: string | null;\n /** Notifications silenced for this domain event. */\n silent?: boolean | null;\n /**\n * Locale in which the order was created.\n * @format LANGUAGE_TAG\n */\n locale?: string | null;\n /**\n * Event ID to which the order belongs.\n * @format GUID\n */\n eventId?: string;\n /** Unique order number. */\n orderNumber?: string;\n /** Contact ID associated with the order. */\n contactId?: string;\n /**\n * Member ID associated with the order.\n * @format GUID\n */\n memberId?: string | null;\n /**\n * Date and time the order was created.\n * @readonly\n */\n created?: Date | null;\n /** Buyer first name. */\n firstName?: string;\n /** Buyer last name. */\n lastName?: string;\n /** Buyer email address. */\n email?: string;\n /** Checkout form response. */\n checkoutForm?: FormResponse;\n /** Order status. */\n status?: OrderStatusWithLiterals;\n /** Payment method used for paid tickets purchase, i.e. \"payPal\", \"creditCard\", etc. */\n method?: string | null;\n /** Tickets (generated after payment). */\n tickets?: Ticket[];\n /** Invoice. */\n invoice?: Invoice;\n /** Reservation ID associated with the order. */\n reservationId?: string;\n}\n\nexport interface FormResponse {\n /**\n * Form field inputs.\n * @maxSize 200\n */\n inputValues?: InputValue[];\n}\n\nexport interface InputValue {\n /**\n * Form field input name.\n * @maxLength 100\n */\n inputName?: string;\n /**\n * Form field value.\n * @maxLength 5000\n */\n value?: string;\n /**\n * Form field values.\n * @maxSize 100\n * @maxLength 5000\n */\n values?: string[];\n}\n\nexport interface FormattedAddress {\n /**\n * 1-line address representation.\n * @maxLength 200\n */\n formatted?: string;\n /** Address components. */\n address?: CommonAddress;\n}\n\n/** Physical address */\nexport interface CommonAddress extends CommonAddressStreetOneOf {\n /** Street name and number. */\n streetAddress?: CommonStreetAddress;\n /** Main address line, usually street and number as free text. */\n addressLine1?: string | null;\n /**\n * Country code.\n * @format COUNTRY\n */\n country?: string | null;\n /** Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY */\n subdivision?: string | null;\n /** City name. */\n city?: string | null;\n /** Zip/postal code. */\n postalCode?: string | null;\n /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */\n addressLine2?: string | null;\n}\n\n/** @oneof */\nexport interface CommonAddressStreetOneOf {\n /** Street name and number. */\n streetAddress?: CommonStreetAddress;\n /** Main address line, usually street and number as free text. */\n addressLine?: string | null;\n}\n\nexport interface CommonStreetAddress {\n /** Street number. */\n number?: string;\n /** Street name. */\n name?: string;\n}\n\nexport interface CommonAddressLocation {\n /** Address latitude. */\n latitude?: number | null;\n /** Address longitude. */\n longitude?: number | null;\n}\n\nexport interface CommonSubdivision {\n /** Short subdivision code. */\n code?: string;\n /** Subdivision full name. */\n name?: string;\n}\n\n/** Subdivision Concordance values */\nexport interface StandardDetails {\n /**\n * subdivision iso-3166-2 code according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). e.g. US-NY, GB-SCT, NO-30\n * @maxLength 20\n */\n iso31662?: string | null;\n}\n\nexport enum OrderStatus {\n /** Order status isn't available for this request fieldset. */\n NA_ORDER_STATUS = 'NA_ORDER_STATUS',\n /** Order is confirmed, no payment is required. */\n FREE = 'FREE',\n /** Order was paid, but the payment gateway suspended the payment. */\n PENDING = 'PENDING',\n /** Order is paid. */\n PAID = 'PAID',\n /** Order is confirmed but must be paid via offline payment. Status needs to be manually updated to `\"PAID\"`. */\n OFFLINE_PENDING = 'OFFLINE_PENDING',\n /** Order is waiting for payment at the cashier. */\n INITIATED = 'INITIATED',\n /** Order is canceled. */\n CANCELED = 'CANCELED',\n /** Order payment is declined. */\n DECLINED = 'DECLINED',\n /** Order payment is authorized. */\n AUTHORIZED = 'AUTHORIZED',\n /** Order payment is voided. */\n VOIDED = 'VOIDED',\n /** Order is partially paid with less than the total amount. */\n PARTIALLY_PAID = 'PARTIALLY_PAID',\n}\n\n/** @enumType */\nexport type OrderStatusWithLiterals =\n | OrderStatus\n | 'NA_ORDER_STATUS'\n | 'FREE'\n | 'PENDING'\n | 'PAID'\n | 'OFFLINE_PENDING'\n | 'INITIATED'\n | 'CANCELED'\n | 'DECLINED'\n | 'AUTHORIZED'\n | 'VOIDED'\n | 'PARTIALLY_PAID';\n\nexport interface Ticket {\n /** Unique issued ticket number. */\n ticketNumber?: string;\n /**\n * Ticket definition ID.\n * @format GUID\n */\n ticketDefinitionId?: string;\n /** Ticket check-in. */\n checkIn?: CheckIn;\n /** Ticket price. */\n price?: Money;\n /** Whether ticket is archived. */\n archived?: boolean;\n /** Guest first name. */\n firstName?: string | null;\n /** Guest last name. */\n lastName?: string | null;\n /** Guest email. */\n email?: string | null;\n /**\n * Contact ID associated with this ticket.\n * @format GUID\n */\n contactId?: string | null;\n /** Whether ticket is confirmed */\n confirmed?: boolean;\n /**\n * Member ID associated with this ticket.\n * @format GUID\n */\n memberId?: string | null;\n /** Ticket form response (only assigned tickets contain separate forms). */\n form?: FormResponse;\n /** Ticket name. */\n ticketName?: string;\n /** Anonymized tickets no longer contain personally identifiable information (PII). */\n anonymized?: boolean;\n /** URL and password to online conference */\n onlineConferencingLogin?: OnlineConferencingLogin;\n /**\n * Seat ID associated with this ticket.\n * @maxLength 36\n */\n seatId?: string | null;\n /** Whether ticket is canceled. */\n canceled?: boolean | null;\n}\n\nexport interface CheckIn {\n /** Time of a ticket's check-in. */\n created?: Date | null;\n}\n\nexport interface OnlineConferencingLogin {\n /**\n * Link URL to the online conference.\n * @format WEB_URL\n * @readonly\n */\n link?: string;\n /**\n * Password for the online conference.\n * @readonly\n */\n password?: string | null;\n}\n\nexport interface Invoice {\n items?: Item[];\n /**\n * Total cart amount.\n * @deprecated\n */\n total?: Money;\n /** Discount applied to a cart. */\n discount?: Discount;\n /** Tax applied to a cart. */\n tax?: Tax;\n /** Total cart amount before discount, tax, and fees. */\n subTotal?: Money;\n /**\n * Total amount of a cart after discount, tax, and fees.\n * Grand total is calculated in the following order:\n * 1. Total prices of all items in the cart are calculated.\n * 2. Discount is subtracted from the cart, if applicable.\n * 3. Tax is added, if applicable.\n * 4. Wix ticket service fee is added.\n */\n grandTotal?: Money;\n /**\n * Fees applied to the cart.\n * @readonly\n */\n fees?: Fee[];\n /** Total revenue, excluding fees. Taxes and payment provider fees aren't deducted. */\n revenue?: Money;\n /** Invoice preview URL. Only returned if the order is paid. */\n previewUrl?: string | null;\n}\n\nexport interface Item {\n /**\n * Unique line item ID.\n * @format GUID\n */\n _id?: string;\n /**\n * Line item quantity.\n * @min 1\n * @max 50\n */\n quantity?: number;\n /** Line item name. */\n name?: string;\n /** Line item price. */\n price?: Money;\n /** Total price for line items. Always equal to price * quantity. */\n total?: Money;\n /** Discount applied to the line item. */\n discount?: Discount;\n /** Tax applied to the item. */\n tax?: Tax;\n /**\n * Fees applied to the item.\n * @readonly\n */\n fees?: Fee[];\n}\n\nexport interface Discount {\n /** Total discount amount. */\n amount?: Money;\n /** Total sum after the discount. */\n afterDiscount?: Money;\n /**\n * Discount coupon code.\n * @deprecated\n */\n code?: string;\n /**\n * Discount coupon name.\n * @deprecated\n */\n name?: string;\n /**\n * Discount coupon ID.\n * @deprecated\n */\n couponId?: string;\n /** Discount items. */\n discounts?: DiscountItem[];\n}\n\nexport interface DiscountItem extends DiscountItemDiscountOneOf {\n /** Coupon discount. */\n coupon?: CouponDiscount;\n /** Pricing plan discount. */\n paidPlan?: PaidPlanDiscount;\n /** Total discount amount. */\n amount?: Money;\n}\n\n/** @oneof */\nexport interface DiscountItemDiscountOneOf {\n /** Coupon discount. */\n coupon?: CouponDiscount;\n /** Pricing plan discount. */\n paidPlan?: PaidPlanDiscount;\n}\n\nexport interface CouponDiscount {\n /** Discount coupon name. **Deprecated:** Use `invoice.discounts.coupon.name` instead. */\n name?: string;\n /** Discount coupon code. **Deprecated:** Use `invoice.discounts.coupon.code` instead. */\n code?: string;\n /** Discount coupon ID. **Deprecated:** Use `invoice.discounts.coupon.couponId` instead. */\n couponId?: string;\n}\n\nexport interface PaidPlanDiscount extends PaidPlanDiscountDiscountOneOf {\n /** Discount by percentage applied to tickets. */\n percentDiscount?: PercentDiscount;\n /** Name of pricing plan. */\n name?: string;\n}\n\n/** @oneof */\nexport interface PaidPlanDiscountDiscountOneOf {\n /** Discount by percentage applied to tickets. */\n percentDiscount?: PercentDiscount;\n}\n\nexport interface PercentDiscount {\n /**\n * Percent rate.\n * @decimalValue options { gte:0.01, lte:100, maxScale:2 }\n */\n rate?: string;\n /** Number of discounted tickets. */\n quantityDiscounted?: number;\n}\n\nexport interface Tax {\n /** Tax type. */\n type?: TaxTypeWithLiterals;\n /**\n * Tax name.\n * @readonly\n */\n name?: string;\n /**\n * Tax rate.\n * @format DECIMAL_VALUE\n */\n rate?: string;\n /** Taxable amount. */\n taxable?: Money;\n /** Total tax amount. */\n amount?: Money;\n}\n\nexport interface Fee {\n /** Fee identifier. */\n name?: FeeNameWithLiterals;\n /** How fee is calculated. */\n type?: FeeTypeWithLiterals;\n /**\n * Fee rate.\n * @format DECIMAL_VALUE\n * @readonly\n */\n rate?: string;\n /** Total amount of fee charges. */\n amount?: Money;\n}\n\nexport enum FeeName {\n /** Wix ticket service fee charges applied to the line item. */\n WIX_FEE = 'WIX_FEE',\n}\n\n/** @enumType */\nexport type FeeNameWithLiterals = FeeName | 'WIX_FEE';\n\nexport enum FeeType {\n /** Fee is added to the ticket price at checkout. */\n FEE_ADDED = 'FEE_ADDED',\n /** Seller absorbs the fee. It's deducted from the ticket price. */\n FEE_INCLUDED = 'FEE_INCLUDED',\n /** Fee is added to the ticket price at checkout. */\n FEE_ADDED_AT_CHECKOUT = 'FEE_ADDED_AT_CHECKOUT',\n}\n\n/** @enumType */\nexport type FeeTypeWithLiterals =\n | FeeType\n | 'FEE_ADDED'\n | 'FEE_INCLUDED'\n | 'FEE_ADDED_AT_CHECKOUT';\n\n/** Produced if a buyer email was added to the existing order */\nexport interface OrderEmailAdded {\n /** Order updated timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Site language when Order initiated\n * @format LANGUAGE\n */\n language?: string | null;\n /**\n * Locale in which Order was created.\n * @format LANGUAGE_TAG\n */\n locale?: string | null;\n /** Notifications silenced for this domain event. */\n silent?: boolean | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /**\n * Unique order number.\n * @maxLength 36\n */\n orderNumber?: string;\n /**\n * Contact ID associated with this order.\n * @format GUID\n */\n contactId?: string | null;\n /**\n * Member ID associated with this order.\n * @format GUID\n */\n memberId?: string | null;\n /**\n * Order created timestamp.\n * @readonly\n */\n created?: Date | null;\n /**\n * Order updated timestamp.\n * @readonly\n */\n updated?: Date | null;\n /**\n * Buyer first name.\n * @maxLength 255\n */\n firstName?: string | null;\n /**\n * Buyer last name.\n * @maxLength 255\n */\n lastName?: string | null;\n /**\n * Buyer email.\n * @format EMAIL\n */\n email?: string | null;\n /** Checkout form response. */\n checkoutForm?: FormResponse;\n /** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */\n confirmed?: boolean;\n /** Order status. */\n status?: OrderStatusWithLiterals;\n /**\n * Payment method used for paid tickets purchase, i.e. \"payPal\", \"creditCard\", etc.\n * @maxLength 100\n */\n method?: string | null;\n /**\n * Tickets generated after payment.\n * @maxSize 50\n */\n tickets?: Ticket[];\n /** Whether order was archived and excluded from results. */\n archived?: boolean;\n /**\n * Reservation ID associated with this order.\n * @format GUID\n */\n reservationId?: string;\n /** Whether marketing consent was given. */\n marketingConsent?: boolean | null;\n}\n\nexport interface EventCanceled {\n /** Event canceled timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event title */\n title?: string;\n /**\n * Event creator user ID.\n * @format GUID\n */\n userId?: string | null;\n /** True if at least one guest is registered to the event with any attendance status. */\n hasGuests?: boolean | null;\n}\n\nexport interface EventReminder {\n /** Reminder timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event location. */\n location?: Location;\n /** Event schedule configuration. */\n scheduleConfig?: ScheduleConfig;\n /** Event title. */\n title?: string;\n /**\n * Event creator user ID.\n * @format GUID\n */\n userId?: string | null;\n /** Time until the event starts (currently, reminder is triggered 1 day before event starts). */\n startsIn?: TimeDuration;\n /** True if at least one guest is registered to the event with any attendance status. */\n hasGuests?: boolean | null;\n}\n\n/**\n * A coarse-grained representation of time duration divided into whole constituting components of days, hours, and minutes.\n * For example, 25.5 hours duration is represented as `{ days: 1, hours: 1, minutes: 30 }`.\n */\nexport interface TimeDuration {\n /** Number of days. */\n days?: number;\n /**\n * Number of hours.\n * @max 24\n */\n hours?: number;\n /**\n * Number of minutes.\n * @max 60\n */\n minutes?: number;\n}\n\n/** Triggered when an order is paid. */\nexport interface OrderPaid {\n /** Date and time the order was paid. */\n timestamp?: Date | null;\n /**\n * Site language when the order was initiated.\n * @format LANGUAGE\n */\n language?: string | null;\n /** Notifications silenced for this domain event. */\n silent?: boolean | null;\n /**\n * Locale in which the order was created.\n * @format LANGUAGE_TAG\n */\n locale?: string | null;\n /**\n * Event ID to which the order belongs.\n * @format GUID\n */\n eventId?: string;\n /** Unique order number. */\n orderNumber?: string;\n /** Reservation ID associated with this order. */\n reservationId?: string;\n /**\n * Contact ID associated with this order.\n * @maxLength 36\n */\n contactId?: string;\n /**\n * Member ID associated with this order.\n * @format GUID\n */\n memberId?: string | null;\n /**\n * Date and time the order was created.\n * @readonly\n */\n created?: Date | null;\n /**\n * Buyer first name.\n * @maxLength 255\n */\n firstName?: string;\n /**\n * Buyer last name.\n * @maxLength 255\n */\n lastName?: string;\n /**\n * Buyer email address.\n * @maxLength 255\n */\n email?: string;\n /** Checkout form response. */\n checkoutForm?: FormResponse;\n /** Order status. */\n status?: OrderStatusWithLiterals;\n /**\n * Payment method used for paid tickets purchase, i.e. \"payPal\", \"creditCard\", etc.\n * @maxLength 255\n */\n method?: string | null;\n /**\n * Tickets (generated after payment).\n * @maxSize 50\n */\n tickets?: Ticket[];\n /** Invoice. */\n invoice?: Invoice;\n}\n\nexport interface TicketPdfResolved {\n /**\n * Optional order number\n * @maxLength 36\n */\n orderNumber?: string | null;\n /**\n * Optional ticket number\n * @maxLength 36\n */\n ticketNumber?: string | null;\n /**\n * Resolved download url\n * @format WEB_URL\n */\n downloadUrl?: string | null;\n /** Resolve status */\n resolveFailed?: boolean | null;\n /**\n * Papyrus document id\n * @format GUID\n */\n documentId?: string | null;\n}\n\nexport interface TicketPdfResolveDelayed {\n /**\n * Optional order number\n * @maxLength 36\n */\n orderNumber?: string | null;\n /**\n * Optional ticket number\n * @maxLength 36\n */\n ticketNumber?: string | null;\n /**\n * Papyrus document id\n * @format GUID\n */\n documentId?: string | null;\n}\n\n/** Triggered when an order is canceled. */\nexport interface OrderCanceled {\n /**\n * Event ID to which the order belongs.\n * @format GUID\n */\n eventId?: string;\n /**\n * Unique order number.\n * @maxLength 36\n */\n orderNumber?: string;\n /**\n * Reservation ID associated with the order.\n * @format GUID\n */\n reservationId?: string;\n /**\n * Contact ID associated with the order.\n * @maxLength 36\n */\n contactId?: string;\n /**\n * Buyer first name.\n * @maxLength 50\n */\n firstName?: string | null;\n /**\n * Buyer last name.\n * @maxLength 50\n */\n lastName?: string | null;\n /**\n * Buyer email address.\n * @maxLength 255\n */\n email?: string | null;\n /** Checkout form response. */\n checkoutForm?: FormResponse;\n /** Invoice. */\n invoice?: Invoice;\n}\n\nexport interface EventEnded {\n /** Event end timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** True if at least one guest is registered to the event with any attendance status. */\n hasGuests?: boolean | null;\n}\n\nexport interface EventStarted {\n /** Event start timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** True if at least one guest is registered to the event with any attendance status. */\n hasGuests?: boolean | null;\n}\n\nexport interface ResolveNotificationConfigRequest {\n /**\n * Id of the NotificationConfig to retrieve\n * @format GUID\n */\n notificationConfigId: string;\n}\n\nexport interface ResolveNotificationConfigResponse {\n /** The retrieved NotificationConfig */\n notificationConfig?: NotificationConfig;\n}\n\nexport interface UpsertNotificationConfigRequest {\n /** NotificationConfig to be upserted */\n notificationConfig: NotificationConfig;\n}\n\nexport interface UpsertNotificationConfigResponse {\n /** The upserted NotificationConfig */\n notificationConfig?: NotificationConfig;\n}\n\nexport interface ResolveEmailNotificationConfigRequest {\n /**\n * Id of the NotificationConfig to retrieve\n * @format GUID\n */\n notificationConfigId?: string;\n /** Notification type */\n notificationType?: EmailNotificationTypeWithLiterals;\n}\n\nexport interface ResolveEmailNotificationConfigResponse {\n /** The retrieved EmailNotificationConfig */\n emailNotificationConfig?: EmailNotificationConfig;\n}\n\nexport interface EventDeleted {\n /** Event deleted timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event title. */\n title?: string;\n /**\n * Event creator user ID.\n * @format GUID\n */\n userId?: string | null;\n}\n\nexport interface EventCopied {\n /** Event created timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event location. */\n location?: Location;\n /** Event schedule configuration. */\n scheduleConfig?: ScheduleConfig;\n /** Event title. */\n title?: string;\n /**\n * Event creator user ID.\n * @format GUID\n */\n userId?: string | null;\n /** Event status. */\n status?: EventStatusWithLiterals;\n /**\n * Instance ID. Indicates the original app instance which current event was derived from.\n * @format GUID\n */\n derivedFromInstanceId?: string | null;\n /**\n * Event ID. Indicates the original event which current event was derived from.\n * @format GUID\n */\n derivedFromEventId?: string | null;\n /**\n * Map of copied ticket definitions from original event.\n * Key represents ticket def id in the original event.\n * Value represents ticket def id in the newly created event.\n */\n ticketDefinitions?: Record<string, string>;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface BaseEventMetadata {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n}\n\nexport interface EventMetadata extends BaseEventMetadata {\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * 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.\n * 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.\n */\n entityEventSequence?: string | null;\n}\n\nexport interface NotificationConfigCreatedEnvelope {\n entity: NotificationConfig;\n metadata: EventMetadata;\n}\n\n/** @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Read Events\n * @permissionScopeId SCOPE.DC-EVENTS.READ-EVENTS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionId WIX_EVENTS.READ_NOTIFICATION_CONFIG\n * @webhook\n * @eventType wix.events.notifications.v2.notification_config_created\n * @serviceIdentifier wix.events.notifications.v2.NotificationConfigManagement\n * @slug created\n * @documentationMaturity preview\n */\nexport declare function onNotificationConfigCreated(\n handler: (event: NotificationConfigCreatedEnvelope) => void | Promise<void>\n): void;\n\nexport interface NotificationConfigUpdatedEnvelope {\n entity: NotificationConfig;\n metadata: EventMetadata;\n}\n\n/** @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Read Events\n * @permissionScopeId SCOPE.DC-EVENTS.READ-EVENTS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionId WIX_EVENTS.READ_NOTIFICATION_CONFIG\n * @webhook\n * @eventType wix.events.notifications.v2.notification_config_updated\n * @serviceIdentifier wix.events.notifications.v2.NotificationConfigManagement\n * @slug updated\n * @documentationMaturity preview\n */\nexport declare function onNotificationConfigUpdated(\n handler: (event: NotificationConfigUpdatedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * Triggers notification\n * @public\n * @documentationMaturity preview\n * @requiredField options\n * @requiredField options.guests\n * @requiredField options.notification\n * @permissionId WIX_EVENTS.MANAGE\n * @applicableIdentity APP\n * @fqn wix.events.notifications.v2.NotificationService.TriggerNotification\n */\nexport async function triggerNotification(\n options: TriggerNotificationOptions\n): Promise<void> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n emailNotificationType: options?.emailNotificationType,\n pushNotificationType: options?.pushNotificationType,\n rsvpGuest: options?.rsvpGuest,\n orderGuest: options?.orderGuest,\n eventGuests: options?.eventGuests,\n ticketGuest: options?.ticketGuest,\n });\n\n const reqOpts =\n ambassadorWixEventsNotificationsV2NotificationConfig.triggerNotification(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n emailNotificationType: '$[0].emailNotificationType',\n pushNotificationType: '$[0].pushNotificationType',\n rsvpGuest: '$[0].rsvpGuest',\n orderGuest: '$[0].orderGuest',\n eventGuests: '$[0].eventGuests',\n ticketGuest: '$[0].ticketGuest',\n },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface TriggerNotificationOptions\n extends TriggerNotificationOptionsNotificationOneOf,\n TriggerNotificationOptionsGuestsOneOf {\n /** Email notification type */\n emailNotificationType?: EmailNotificationTypeWithLiterals;\n /** Push notification type */\n pushNotificationType?: PushNotificationTypeWithLiterals;\n /** Rsvp guest info */\n rsvpGuest?: RsvpGuest;\n /** Order guest info */\n orderGuest?: OrderGuest;\n /** Event guests info */\n eventGuests?: EventGuests;\n /** Ticket guests info */\n ticketGuest?: TicketGuest;\n}\n\n/** @oneof */\nexport interface TriggerNotificationOptionsNotificationOneOf {\n /** Email notification type */\n emailNotificationType?: EmailNotificationTypeWithLiterals;\n /** Push notification type */\n pushNotificationType?: PushNotificationTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface TriggerNotificationOptionsGuestsOneOf {\n /** Rsvp guest info */\n rsvpGuest?: RsvpGuest;\n /** Order guest info */\n orderGuest?: OrderGuest;\n /** Event guests info */\n eventGuests?: EventGuests;\n /** Ticket guests info */\n ticketGuest?: TicketGuest;\n}\n\n/**\n * Resolves a NotificationConfig by id. Returns saved value or default value if not saved yet.\n * @param notificationConfigId - Id of the NotificationConfig to retrieve\n * @public\n * @documentationMaturity preview\n * @requiredField notificationConfigId\n * @permissionId WIX_EVENTS.READ_NOTIFICATION_CONFIG\n * @applicableIdentity APP\n * @fqn wix.events.notifications.v2.NotificationConfigManagement.ResolveNotificationConfig\n */\nexport async function resolveNotificationConfig(\n notificationConfigId: string\n): Promise<\n NonNullablePaths<\n ResolveNotificationConfigResponse,\n | `notificationConfig.rsvpConfirmation.notificationType`\n | `notificationConfig.rsvpConfirmation.reminderTime`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n notificationConfigId: notificationConfigId,\n });\n\n const reqOpts =\n ambassadorWixEventsNotificationsV2NotificationConfig.resolveNotificationConfig(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { notificationConfigId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['notificationConfigId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Upsert a NotificationConfig\n * @param _id - Event ID.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @requiredField notificationConfig\n * @permissionId WIX_EVENTS.UPDATE_NOTIFICATION_CONFIG\n * @applicableIdentity APP\n * @fqn wix.events.notifications.v2.NotificationConfigManagement.UpsertNotificationConfig\n */\nexport async function upsertNotificationConfig(\n _id: string,\n notificationConfig: UpsertNotificationConfig\n): Promise<\n NonNullablePaths<\n UpsertNotificationConfigResponse,\n | `notificationConfig.rsvpConfirmation.notificationType`\n | `notificationConfig.rsvpConfirmation.reminderTime`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n notificationConfig: { ...notificationConfig, id: _id },\n });\n\n const reqOpts =\n ambassadorWixEventsNotificationsV2NotificationConfig.upsertNotificationConfig(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: { notificationConfig: '$[1]' },\n explicitPathsToArguments: { 'notificationConfig.id': '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['_id', 'notificationConfig']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpsertNotificationConfig {\n /**\n * Event ID.\n * @format GUID\n * @immutable\n */\n _id?: string | null;\n /**\n * Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision.\n * @immutable\n */\n revision?: string | null;\n /**\n * Represents the time this NotificationConfig was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Represents the time this NotificationConfig was last updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /** Rsvp confirmation. */\n rsvpConfirmation?: EmailNotificationConfig;\n /** New spots available. */\n newSpotsAvailable?: EmailNotificationConfig;\n /** Event cancelation. */\n eventCancelation?: EmailNotificationConfig;\n /** Event reminder. */\n upcomingEventReminder?: EmailNotificationConfig;\n /** Order confirmation. */\n orderConfirmation?: EmailNotificationConfig;\n /** Ticket confirmation. */\n ticketConfirmation?: EmailNotificationConfig;\n /** Invoice. */\n invoice?: EmailNotificationConfig;\n /** Order confirmation with tickets link. */\n orderConfirmationWithTicketsLink?: EmailNotificationConfig;\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixEventsNotificationsV2NotificationConfigManagementUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'api._api_base_domain_': [\n {\n srcPath: '/events-notifications',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/events-notifications',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/events-notifications',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/events-notifications',\n destPath: '',\n },\n {\n srcPath: '/events/v2/notifications',\n destPath: '/v2/notifications',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveWixEventsNotificationsV2NotificationServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'api._api_base_domain_': [\n {\n srcPath: '/events-notifications',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/events-notifications',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/events-notifications',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/events-notifications',\n destPath: '',\n },\n {\n srcPath: '/events/v2/notifications',\n destPath: '/v2/notifications',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_events_notifications';\n\n/** Triggers notification */\nexport function triggerNotification(\n payload: object\n): RequestOptionsFactory<any> {\n function __triggerNotification({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.notifications.v2.notification_config',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.notifications.v2.NotificationService.TriggerNotification',\n packageName: PACKAGE_NAME,\n url: resolveWixEventsNotificationsV2NotificationServiceUrl({\n protoPath: '/v2/notifications/trigger',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __triggerNotification;\n}\n\n/** Resolves a NotificationConfig by id. Returns saved value or default value if not saved yet. */\nexport function resolveNotificationConfig(\n payload: object\n): RequestOptionsFactory<any> {\n function __resolveNotificationConfig({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.notifications.v2.notification_config',\n method: 'GET' as any,\n methodFqn:\n 'wix.events.notifications.v2.NotificationConfigManagement.ResolveNotificationConfig',\n packageName: PACKAGE_NAME,\n url: resolveWixEventsNotificationsV2NotificationConfigManagementUrl({\n protoPath: '/v2/notification-configs/resolve/{notificationConfigId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'notificationConfig.createdDate' },\n { path: 'notificationConfig.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __resolveNotificationConfig;\n}\n\n/** Upsert a NotificationConfig */\nexport function upsertNotificationConfig(\n payload: object\n): RequestOptionsFactory<any> {\n function __upsertNotificationConfig({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'notificationConfig.createdDate' },\n { path: 'notificationConfig.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.events.notifications.v2.notification_config',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.notifications.v2.NotificationConfigManagement.UpsertNotificationConfig',\n packageName: PACKAGE_NAME,\n url: resolveWixEventsNotificationsV2NotificationConfigManagementUrl({\n protoPath: '/v2/notification-configs/{notificationConfig.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'notificationConfig.createdDate' },\n { path: 'notificationConfig.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __upsertNotificationConfig;\n}\n","import {\n triggerNotification as publicTriggerNotification,\n resolveNotificationConfig as publicResolveNotificationConfig,\n upsertNotificationConfig as publicUpsertNotificationConfig,\n} from './events-notifications-v2-notification-config-notifications.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { createEventModule } from '@wix/sdk-runtime/event-definition-modules';\nimport {\n BuildRESTFunction,\n MaybeContext,\n BuildEventDefinition,\n} from '@wix/sdk-types';\nimport { onNotificationConfigCreated as publicOnNotificationConfigCreated } from './events-notifications-v2-notification-config-notifications.public.js';\nimport { onNotificationConfigUpdated as publicOnNotificationConfigUpdated } from './events-notifications-v2-notification-config-notifications.public.js';\n\nexport const triggerNotification: MaybeContext<\n BuildRESTFunction<typeof publicTriggerNotification> &\n typeof publicTriggerNotification\n> = /*#__PURE__*/ createRESTModule(publicTriggerNotification);\nexport const resolveNotificationConfig: MaybeContext<\n BuildRESTFunction<typeof publicResolveNotificationConfig> &\n typeof publicResolveNotificationConfig\n> = /*#__PURE__*/ createRESTModule(publicResolveNotificationConfig);\nexport const upsertNotificationConfig: MaybeContext<\n BuildRESTFunction<typeof publicUpsertNotificationConfig> &\n typeof publicUpsertNotificationConfig\n> = /*#__PURE__*/ createRESTModule(publicUpsertNotificationConfig);\n/** */\nexport const onNotificationConfigCreated: BuildEventDefinition<\n typeof publicOnNotificationConfigCreated\n> = createEventModule(publicOnNotificationConfigCreated);\n/** */\nexport const onNotificationConfigUpdated: BuildEventDefinition<\n typeof publicOnNotificationConfigUpdated\n> = createEventModule(publicOnNotificationConfigUpdated);\n\nexport {\n EmailNotificationType,\n EmailNotificationReminderTime,\n PushNotificationType,\n LocationType,\n SubdivisionType,\n Status,\n EventStatus,\n EventType,\n RegistrationStatus,\n RsvpStatusOptions,\n TaxType,\n VisitorType,\n InputControlType,\n ValueType,\n ConferenceType,\n State,\n NodeType,\n WidthType,\n PluginContainerDataAlignment,\n ButtonDataType,\n Target,\n TextAlignment,\n LineStyle,\n Width,\n DividerDataAlignment,\n ViewMode,\n LayoutType,\n Orientation,\n Crop,\n ThumbnailsAlignment,\n GIFType,\n Source,\n StylesPosition,\n MapType,\n ViewRole,\n VoteRole,\n PollLayoutType,\n PollLayoutDirection,\n BackgroundType,\n DecorationType,\n FontType,\n Position,\n AspectRatio,\n Resizing,\n Placement,\n CardStylesType,\n Alignment,\n Layout,\n AppType,\n InitialExpandedItems,\n Direction,\n VerticalAlignment,\n NullValue,\n Type,\n OrderStatus,\n FeeName,\n FeeType,\n WebhookIdentityType,\n} from './events-notifications-v2-notification-config-notifications.universal.js';\nexport {\n NotificationConfig,\n EmailNotificationConfig,\n EmailTemplate,\n Link,\n TriggerNotificationRequest,\n TriggerNotificationRequestNotificationOneOf,\n TriggerNotificationRequestGuestsOneOf,\n RsvpGuest,\n OrderGuest,\n EventGuests,\n TicketGuest,\n TriggerNotificationResponse,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n Empty,\n EventUpdated,\n Location,\n MapCoordinates,\n Address,\n AddressStreetOneOf,\n StreetAddress,\n AddressLocation,\n Subdivision,\n ScheduleConfig,\n Recurrences,\n Occurrence,\n Event,\n Scheduling,\n Registration,\n RsvpCollection,\n RsvpCollectionConfig,\n RsvpConfirmationMessages,\n RsvpConfirmationMessagesPositiveResponseConfirmation,\n RsvpConfirmationMessagesNegativeResponseConfirmation,\n Ticketing,\n TicketingConfig,\n TaxConfig,\n TicketsConfirmationMessages,\n Money,\n ExternalEvent,\n CalendarLinks,\n SiteUrl,\n Form,\n InputControl,\n Input,\n OptionSelection,\n OptionSelectionSelectedOptionOneOf,\n Label,\n FormMessages,\n RsvpFormMessages,\n PositiveResponseConfirmation,\n NegativeResponseConfirmation,\n Positive,\n Negative,\n CheckoutFormMessages,\n ResponseConfirmation,\n RegistrationClosedMessages,\n TicketsUnavailableMessages,\n Dashboard,\n RsvpSummary,\n TicketingSummary,\n GuestListConfig,\n Feed,\n OnlineConferencing,\n OnlineConferencingConfig,\n OnlineConferencingSession,\n SeoSettings,\n SeoSchema,\n Keyword,\n Tag,\n Settings,\n Agenda,\n Category,\n CategoryCounts,\n EventDisplaySettings,\n LabellingSettings,\n RichContent,\n Node,\n NodeDataOneOf,\n NodeStyle,\n ButtonData,\n Border,\n Colors,\n PluginContainerData,\n PluginContainerDataWidth,\n PluginContainerDataWidthDataOneOf,\n Spoiler,\n Height,\n Styles,\n V1Link,\n V1LinkDataOneOf,\n Rel,\n CodeBlockData,\n TextStyle,\n DividerData,\n FileData,\n FileSource,\n FileSourceDataOneOf,\n PDFSettings,\n GalleryData,\n Media,\n Image,\n Video,\n GalleryDataItem,\n GalleryDataItemDataOneOf,\n GalleryOptions,\n GalleryOptionsLayout,\n ItemStyle,\n Thumbnails,\n GIFData,\n GIF,\n HeadingData,\n HTMLData,\n HTMLDataDataOneOf,\n ImageData,\n StylesBorder,\n ImageDataStyles,\n LinkPreviewData,\n LinkPreviewDataStyles,\n MapData,\n MapSettings,\n ParagraphData,\n PollData,\n Permissions,\n Option,\n PollSettings,\n PollLayout,\n OptionLayout,\n Gradient,\n Background,\n BackgroundBackgroundOneOf,\n PollDesign,\n OptionDesign,\n Poll,\n PollDataLayout,\n Design,\n TextData,\n Decoration,\n DecorationDataOneOf,\n AnchorData,\n ColorData,\n LinkData,\n MentionData,\n FontSizeData,\n SpoilerData,\n AppEmbedData,\n AppEmbedDataAppDataOneOf,\n BookingData,\n EventData,\n ButtonStyles,\n ImageStyles,\n RibbonStyles,\n CardStyles,\n PricingData,\n VideoData,\n PlaybackOptions,\n EmbedData,\n Oembed,\n CollapsibleListData,\n TableData,\n Dimensions,\n TableCellData,\n CellStyle,\n BorderColors,\n ListValue,\n AudioData,\n OrderedListData,\n BulletedListData,\n BlockquoteData,\n CaptionData,\n LayoutCellData,\n Metadata,\n DocumentStyle,\n TextNodeStyle,\n Badge,\n OrderConfirmed,\n FormResponse,\n InputValue,\n FormattedAddress,\n CommonAddress,\n CommonAddressStreetOneOf,\n CommonStreetAddress,\n CommonAddressLocation,\n CommonSubdivision,\n StandardDetails,\n Ticket,\n CheckIn,\n OnlineConferencingLogin,\n Invoice,\n Item,\n Discount,\n DiscountItem,\n DiscountItemDiscountOneOf,\n CouponDiscount,\n PaidPlanDiscount,\n PaidPlanDiscountDiscountOneOf,\n PercentDiscount,\n Tax,\n Fee,\n OrderEmailAdded,\n EventCanceled,\n EventReminder,\n TimeDuration,\n OrderPaid,\n TicketPdfResolved,\n TicketPdfResolveDelayed,\n OrderCanceled,\n EventEnded,\n EventStarted,\n ResolveNotificationConfigRequest,\n ResolveNotificationConfigResponse,\n UpsertNotificationConfigRequest,\n UpsertNotificationConfigResponse,\n ResolveEmailNotificationConfigRequest,\n ResolveEmailNotificationConfigResponse,\n EventDeleted,\n EventCopied,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n BaseEventMetadata,\n EventMetadata,\n NotificationConfigCreatedEnvelope,\n NotificationConfigUpdatedEnvelope,\n TriggerNotificationOptions,\n TriggerNotificationOptionsNotificationOneOf,\n TriggerNotificationOptionsGuestsOneOf,\n UpsertNotificationConfig,\n} from './events-notifications-v2-notification-config-notifications.universal.js';\nexport {\n EmailNotificationTypeWithLiterals,\n EmailNotificationReminderTimeWithLiterals,\n PushNotificationTypeWithLiterals,\n LocationTypeWithLiterals,\n SubdivisionTypeWithLiterals,\n StatusWithLiterals,\n EventStatusWithLiterals,\n EventTypeWithLiterals,\n RegistrationStatusWithLiterals,\n RsvpStatusOptionsWithLiterals,\n TaxTypeWithLiterals,\n VisitorTypeWithLiterals,\n InputControlTypeWithLiterals,\n ValueTypeWithLiterals,\n ConferenceTypeWithLiterals,\n StateWithLiterals,\n NodeTypeWithLiterals,\n WidthTypeWithLiterals,\n PluginContainerDataAlignmentWithLiterals,\n ButtonDataTypeWithLiterals,\n TargetWithLiterals,\n TextAlignmentWithLiterals,\n LineStyleWithLiterals,\n WidthWithLiterals,\n DividerDataAlignmentWithLiterals,\n ViewModeWithLiterals,\n LayoutTypeWithLiterals,\n OrientationWithLiterals,\n CropWithLiterals,\n ThumbnailsAlignmentWithLiterals,\n GIFTypeWithLiterals,\n SourceWithLiterals,\n StylesPositionWithLiterals,\n MapTypeWithLiterals,\n ViewRoleWithLiterals,\n VoteRoleWithLiterals,\n PollLayoutTypeWithLiterals,\n PollLayoutDirectionWithLiterals,\n BackgroundTypeWithLiterals,\n DecorationTypeWithLiterals,\n FontTypeWithLiterals,\n PositionWithLiterals,\n AspectRatioWithLiterals,\n ResizingWithLiterals,\n PlacementWithLiterals,\n CardStylesTypeWithLiterals,\n AlignmentWithLiterals,\n LayoutWithLiterals,\n AppTypeWithLiterals,\n InitialExpandedItemsWithLiterals,\n DirectionWithLiterals,\n VerticalAlignmentWithLiterals,\n NullValueWithLiterals,\n TypeWithLiterals,\n OrderStatusWithLiterals,\n FeeNameWithLiterals,\n FeeTypeWithLiterals,\n WebhookIdentityTypeWithLiterals,\n} from './events-notifications-v2-notification-config-notifications.universal.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qCAAAA;AAAA,EAAA,mCAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,gCAAAC;AAAA;AAAA;;;ACAA,IAAAC,iCAAwD;AACxD,IAAAC,oBAAqD;AACrD,IAAAC,0BAA+B;AAC/B,uBAA8D;;;ACH9D,6BAAoD;AACpD,oCAGO;;;ACJP,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;A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;;ADhzJO,SAASG,qBACd,YAC8B;AAC9B,SAAO,CAAC,YACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AASO,SAASC,2BACd,YACoC;AACpC,SAAO,CAAC,yBACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAiBO,SAASC,0BACd,YACmC;AACnC,SAAO,CAAC,KAAa,uBACnBA;AAAA,IACE;AAAA,IACA;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAiBO,IAAM,kCAA8B;AAAA,EACzC;AAAA,EACA;AAAA,EACA,CAAC,cACC;AAAA,QACE,wCAAe,OAAO;AAAA,MACpB;AAAA,QACE,aAAa;AAAA,QACb,OAAO;AAAA,UACL,EAAE,MAAM,qBAAqB;AAAA,UAC7B,EAAE,MAAM,qBAAqB;AAAA,UAC7B,EAAE,MAAM,qBAAqB;AAAA,QAC/B;AAAA,MACF;AAAA,IACF,CAAC;AAAA,EACH;AACJ,EAAqC;AAC9B,IAAM,kCAA8B;AAAA,EACzC;AAAA,EACA;AAAA,EACA,CAAC,cACC;AAAA,QACE,wCAAe,OAAO;AAAA,MACpB;AAAA,QACE,aAAa;AAAA,QACb,OAAO;AAAA,UACL,EAAE,MAAM,qBAAqB;AAAA,UAC7B,EAAE,MAAM,qBAAqB;AAAA,UAC7B,EAAE,MAAM,qBAAqB;AAAA,QAC/B;AAAA,MACF;AAAA,IACF,CAAC;AAAA,EACH;AACJ,EAAqC;;;AGrHrC,IAAAC,uBAAiC;AACjC,sCAAkC;AAS3B,IAAMC,uBAGK,2DAAiBA,oBAAyB;AACrD,IAAMC,6BAGK,2DAAiBA,0BAA+B;AAC3D,IAAMC,4BAGK,2DAAiBA,yBAA8B;AAE1D,IAAMC,mCAET,mDAAkB,2BAAiC;AAEhD,IAAMC,mCAET,mDAAkB,2BAAiC;","names":["onNotificationConfigCreated","onNotificationConfigUpdated","resolveNotificationConfig","triggerNotification","upsertNotificationConfig","import_rename_all_nested_keys","import_timestamp","import_transform_paths","import_timestamp","import_rest_modules","payload","EmailNotificationType","EmailNotificationReminderTime","PushNotificationType","LocationType","SubdivisionType","Status","EventStatus","EventType","RegistrationStatus","RsvpStatusOptions","TaxType","VisitorType","InputControlType","ValueType","ConferenceType","State","NodeType","WidthType","PluginContainerDataAlignment","ButtonDataType","Target","TextAlignment","LineStyle","Width","DividerDataAlignment","ViewMode","LayoutType","Orientation","Crop","ThumbnailsAlignment","GIFType","Source","StylesPosition","MapType","ViewRole","VoteRole","PollLayoutType","PollLayoutDirection","BackgroundType","DecorationType","FontType","Position","AspectRatio","Resizing","Placement","CardStylesType","Alignment","Layout","AppType","InitialExpandedItems","Direction","VerticalAlignment","NullValue","Type","OrderStatus","FeeName","FeeType","WebhookIdentityType","triggerNotification","sdkTransformError","resolveNotificationConfig","upsertNotificationConfig","triggerNotification","resolveNotificationConfig","upsertNotificationConfig","import_rest_modules","triggerNotification","resolveNotificationConfig","upsertNotificationConfig","onNotificationConfigCreated","onNotificationConfigUpdated"]}
1
+ {"version":3,"sources":["../../index.ts","../../src/events-notifications-v2-notification-config-notifications.public.ts","../../src/events-notifications-v2-notification-config-notifications.universal.ts","../../src/events-notifications-v2-notification-config-notifications.http.ts","../../src/events-notifications-v2-notification-config-notifications.context.ts"],"sourcesContent":["export * from './src/events-notifications-v2-notification-config-notifications.context.js';\n","import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { EventDefinition, HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n NotificationConfigCreatedEnvelope,\n NotificationConfigUpdatedEnvelope,\n ResolveNotificationConfigResponse,\n TriggerNotificationOptions,\n UpsertNotificationConfig,\n UpsertNotificationConfigResponse,\n resolveNotificationConfig as universalResolveNotificationConfig,\n triggerNotification as universalTriggerNotification,\n upsertNotificationConfig as universalUpsertNotificationConfig,\n} from './events-notifications-v2-notification-config-notifications.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/events' };\n\nexport function triggerNotification(\n httpClient: HttpClient\n): TriggerNotificationSignature {\n return (options: TriggerNotificationOptions) =>\n universalTriggerNotification(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface TriggerNotificationSignature {\n /**\n * Triggers notification\n */\n (options: TriggerNotificationOptions): Promise<void>;\n}\n\nexport function resolveNotificationConfig(\n httpClient: HttpClient\n): ResolveNotificationConfigSignature {\n return (notificationConfigId: string) =>\n universalResolveNotificationConfig(\n notificationConfigId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface ResolveNotificationConfigSignature {\n /**\n * Resolves a NotificationConfig by id. Returns saved value or default value if not saved yet.\n * @param - Id of the NotificationConfig to retrieve\n */\n (notificationConfigId: string): Promise<\n NonNullablePaths<\n ResolveNotificationConfigResponse,\n | `notificationConfig.rsvpConfirmation.notificationType`\n | `notificationConfig.rsvpConfirmation.reminderTime`,\n 4\n >\n >;\n}\n\nexport function upsertNotificationConfig(\n httpClient: HttpClient\n): UpsertNotificationConfigSignature {\n return (_id: string, notificationConfig: UpsertNotificationConfig) =>\n universalUpsertNotificationConfig(\n _id,\n notificationConfig,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface UpsertNotificationConfigSignature {\n /**\n * Upsert a NotificationConfig\n * @param - Event ID.\n */\n (_id: string, notificationConfig: UpsertNotificationConfig): Promise<\n NonNullablePaths<\n UpsertNotificationConfigResponse,\n | `notificationConfig.rsvpConfirmation.notificationType`\n | `notificationConfig.rsvpConfirmation.reminderTime`,\n 4\n >\n >;\n}\n\nexport const onNotificationConfigCreated = EventDefinition(\n 'wix.events.notifications.v2.notification_config_created',\n true,\n (event: NotificationConfigCreatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n ])\n )\n)<NotificationConfigCreatedEnvelope>();\nexport const onNotificationConfigUpdated = EventDefinition(\n 'wix.events.notifications.v2.notification_config_updated',\n true,\n (event: NotificationConfigUpdatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n ])\n )\n)<NotificationConfigUpdatedEnvelope>();\n\nexport {\n ActionEvent,\n Address,\n AddressLocation,\n AddressStreetOneOf,\n Agenda,\n Alignment,\n AnchorData,\n AppEmbedData,\n AppEmbedDataAppDataOneOf,\n AppType,\n AspectRatio,\n AudioData,\n Background,\n BackgroundBackgroundOneOf,\n BackgroundType,\n Badge,\n BaseEventMetadata,\n BlockquoteData,\n BookingData,\n Border,\n BorderColors,\n BulletedListData,\n ButtonData,\n ButtonDataType,\n ButtonStyles,\n CalendarLinks,\n CaptionData,\n CardStyles,\n CardStylesType,\n Category,\n CategoryCounts,\n CellStyle,\n CheckIn,\n CheckoutFormMessages,\n CodeBlockData,\n CollapsibleListData,\n ColorData,\n Colors,\n CommonAddress,\n CommonAddressLocation,\n CommonAddressStreetOneOf,\n CommonStreetAddress,\n CommonSubdivision,\n ConferenceType,\n CouponDiscount,\n Crop,\n Dashboard,\n Decoration,\n DecorationDataOneOf,\n DecorationType,\n Design,\n Dimensions,\n Direction,\n Discount,\n DiscountItem,\n DiscountItemDiscountOneOf,\n DividerData,\n DividerDataAlignment,\n DocumentStyle,\n DomainEvent,\n DomainEventBodyOneOf,\n EmailNotificationConfig,\n EmailNotificationReminderTime,\n EmailNotificationType,\n EmailTemplate,\n EmbedData,\n Empty,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n Event,\n EventCanceled,\n EventCopied,\n EventData,\n EventDeleted,\n EventDisplaySettings,\n EventEnded,\n EventGuests,\n EventMetadata,\n EventReminder,\n EventStarted,\n EventStatus,\n EventType,\n EventUpdated,\n ExternalEvent,\n Fee,\n FeeName,\n FeeType,\n Feed,\n FileData,\n FileSource,\n FileSourceDataOneOf,\n FontSizeData,\n FontType,\n Form,\n FormMessages,\n FormResponse,\n FormattedAddress,\n GIF,\n GIFData,\n GIFType,\n GalleryData,\n GalleryDataItem,\n GalleryDataItemDataOneOf,\n GalleryOptions,\n GalleryOptionsLayout,\n Gradient,\n GuestListConfig,\n HTMLData,\n HTMLDataDataOneOf,\n HeadingData,\n Height,\n IdentificationData,\n IdentificationDataIdOneOf,\n Image,\n ImageData,\n ImageDataStyles,\n ImageStyles,\n InitialExpandedItems,\n Input,\n InputControl,\n InputControlType,\n InputValue,\n Invoice,\n Item,\n ItemStyle,\n Keyword,\n Label,\n LabellingSettings,\n Layout,\n LayoutCellData,\n LayoutType,\n LineStyle,\n Link,\n LinkData,\n LinkPreviewData,\n LinkPreviewDataStyles,\n ListValue,\n Location,\n LocationType,\n MapCoordinates,\n MapData,\n MapSettings,\n MapType,\n Media,\n MentionData,\n MessageEnvelope,\n Metadata,\n Money,\n Negative,\n NegativeResponseConfirmation,\n Node,\n NodeDataOneOf,\n NodeStyle,\n NodeType,\n NotificationConfig,\n NotificationConfigCreatedEnvelope,\n NotificationConfigUpdatedEnvelope,\n NullValue,\n Occurrence,\n Oembed,\n OnlineConferencing,\n OnlineConferencingConfig,\n OnlineConferencingLogin,\n OnlineConferencingSession,\n Option,\n OptionDesign,\n OptionLayout,\n OptionSelection,\n OptionSelectionSelectedOptionOneOf,\n OrderCanceled,\n OrderConfirmed,\n OrderEmailAdded,\n OrderGuest,\n OrderPaid,\n OrderStatus,\n OrderedListData,\n Orientation,\n PDFSettings,\n PaidPlanDiscount,\n PaidPlanDiscountDiscountOneOf,\n ParagraphData,\n PercentDiscount,\n Permissions,\n Placement,\n PlaybackOptions,\n PluginContainerData,\n PluginContainerDataAlignment,\n PluginContainerDataWidth,\n PluginContainerDataWidthDataOneOf,\n Poll,\n PollData,\n PollDataLayout,\n PollDesign,\n PollLayout,\n PollLayoutDirection,\n PollLayoutType,\n PollSettings,\n Position,\n Positive,\n PositiveResponseConfirmation,\n PricingData,\n PushNotificationType,\n Recurrences,\n Registration,\n RegistrationClosedMessages,\n RegistrationStatus,\n Rel,\n Resizing,\n ResolveEmailNotificationConfigRequest,\n ResolveEmailNotificationConfigResponse,\n ResolveNotificationConfigRequest,\n ResolveNotificationConfigResponse,\n ResponseConfirmation,\n RestoreInfo,\n RibbonStyles,\n RichContent,\n RsvpCollection,\n RsvpCollectionConfig,\n RsvpConfirmationMessages,\n RsvpConfirmationMessagesNegativeResponseConfirmation,\n RsvpConfirmationMessagesPositiveResponseConfirmation,\n RsvpFormMessages,\n RsvpGuest,\n RsvpStatusOptions,\n RsvpSummary,\n ScheduleConfig,\n Scheduling,\n SeoSchema,\n SeoSettings,\n Settings,\n SiteUrl,\n Source,\n Spoiler,\n SpoilerData,\n StandardDetails,\n State,\n Status,\n StreetAddress,\n Styles,\n StylesBorder,\n StylesPosition,\n Subdivision,\n SubdivisionType,\n TableCellData,\n TableData,\n Tag,\n Target,\n Tax,\n TaxConfig,\n TaxType,\n TextAlignment,\n TextData,\n TextNodeStyle,\n TextStyle,\n Thumbnails,\n ThumbnailsAlignment,\n Ticket,\n TicketGuest,\n TicketPdfResolveDelayed,\n TicketPdfResolved,\n Ticketing,\n TicketingConfig,\n TicketingSummary,\n TicketsConfirmationMessages,\n TicketsUnavailableMessages,\n TimeDuration,\n TriggerNotificationOptions,\n TriggerNotificationOptionsGuestsOneOf,\n TriggerNotificationOptionsNotificationOneOf,\n TriggerNotificationRequest,\n TriggerNotificationRequestGuestsOneOf,\n TriggerNotificationRequestNotificationOneOf,\n TriggerNotificationResponse,\n Type,\n UpsertNotificationConfig,\n UpsertNotificationConfigRequest,\n UpsertNotificationConfigResponse,\n V1Link,\n V1LinkDataOneOf,\n ValueType,\n VerticalAlignment,\n Video,\n VideoData,\n ViewMode,\n ViewRole,\n VisitorType,\n VoteRole,\n WebhookIdentityType,\n Width,\n WidthType,\n} from './events-notifications-v2-notification-config-notifications.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixEventsNotificationsV2NotificationConfig from './events-notifications-v2-notification-config-notifications.http.js';\n\nexport interface NotificationConfig {\n /**\n * Event ID.\n * @format GUID\n * @immutable\n */\n _id?: string | null;\n /**\n * Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision.\n * @immutable\n */\n revision?: string | null;\n /**\n * Represents the time this NotificationConfig was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Represents the time this NotificationConfig was last updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /** Rsvp confirmation. */\n rsvpConfirmation?: EmailNotificationConfig;\n /** New spots available. */\n newSpotsAvailable?: EmailNotificationConfig;\n /** Event cancelation. */\n eventCancelation?: EmailNotificationConfig;\n /** Event reminder. */\n upcomingEventReminder?: EmailNotificationConfig;\n /** Order confirmation. */\n orderConfirmation?: EmailNotificationConfig;\n /** Ticket confirmation. */\n ticketConfirmation?: EmailNotificationConfig;\n /** Invoice. */\n invoice?: EmailNotificationConfig;\n /** Order confirmation with tickets link. */\n orderConfirmationWithTicketsLink?: EmailNotificationConfig;\n}\n\nexport interface EmailNotificationConfig {\n /**\n * Predefined id of the notification type.\n * @readonly\n */\n notificationType?: EmailNotificationTypeWithLiterals;\n /** Email template values. */\n template?: EmailTemplate;\n /**\n * Desired timing of the notification in hours respectfully to event start time.\n * For example if value is 0 then notification is sent at the start of the event.\n */\n reminderTime?: EmailNotificationReminderTimeWithLiterals;\n /** When true the notification will be sent when certain trigger occurs. */\n sendingEnabled?: boolean | null;\n}\n\nexport enum EmailNotificationType {\n /** Default value. This value is unused. */\n UNKNOWN_NOTIFICATION_TYPE = 'UNKNOWN_NOTIFICATION_TYPE',\n /** Triggered when site user RSVP to the event. */\n EMAIL_RSVP_CONFIRMATION = 'EMAIL_RSVP_CONFIRMATION',\n /** Triggered for waiting guests when additional RSVP spots appears in the fully booked event. */\n EMAIL_NEW_SPOTS_AVAILABLE = 'EMAIL_NEW_SPOTS_AVAILABLE',\n /** Triggered when event is canceled. */\n EMAIL_EVENT_CANCELATION = 'EMAIL_EVENT_CANCELATION',\n /** Triggered before the event start time. */\n EMAIL_UPCOMING_EVENT_REMINDER = 'EMAIL_UPCOMING_EVENT_REMINDER',\n /** Triggered when site user creates Order. */\n EMAIL_ORDER_CONFIRMATION = 'EMAIL_ORDER_CONFIRMATION',\n /** Triggered when resending ticket to ticket holder. */\n EMAIL_TICKET_CONFIRMATION = 'EMAIL_TICKET_CONFIRMATION',\n /** Triggered when sending invoice. Currently only `enabled` flag update is supported. */\n EMAIL_INVOICE = 'EMAIL_INVOICE',\n}\n\n/** @enumType */\nexport type EmailNotificationTypeWithLiterals =\n | EmailNotificationType\n | 'UNKNOWN_NOTIFICATION_TYPE'\n | 'EMAIL_RSVP_CONFIRMATION'\n | 'EMAIL_NEW_SPOTS_AVAILABLE'\n | 'EMAIL_EVENT_CANCELATION'\n | 'EMAIL_UPCOMING_EVENT_REMINDER'\n | 'EMAIL_ORDER_CONFIRMATION'\n | 'EMAIL_TICKET_CONFIRMATION'\n | 'EMAIL_INVOICE';\n\nexport interface EmailTemplate {\n /**\n * Email subject.\n * @minLength 1\n * @maxLength 100\n */\n subject?: string | null;\n /**\n * Plain text message body.\n * @minLength 1\n * @maxLength 1000\n */\n body?: string | null;\n /** Description link visibility and display text */\n descriptionLink?: Link;\n /** Calendar link visibility and display text */\n calendarLink?: Link;\n /** Online conferencing link visibility and display text */\n onlineConferencingLink?: Link;\n /** When true the tickets are attached to the order confirmation email. */\n includeTickets?: boolean | null;\n}\n\nexport interface Link {\n /** When true the link is added to the email. */\n display?: boolean | null;\n /**\n * Text of the link.\n * @maxLength 60\n */\n linkText?: string | null;\n}\n\nexport enum EmailNotificationReminderTime {\n /** Default value. This value is unused. */\n UNKNOWN_REMINDER_TIME = 'UNKNOWN_REMINDER_TIME',\n /** Notification is sent instantly */\n INSTANT = 'INSTANT',\n /** 24 hours prior */\n BEFORE_1_DAY = 'BEFORE_1_DAY',\n /** 3 days prior */\n BEFORE_3_DAYS = 'BEFORE_3_DAYS',\n /** 7 days prior */\n BEFORE_1_WEEK = 'BEFORE_1_WEEK',\n /** 1 hour prior */\n BEFORE_1_HOUR = 'BEFORE_1_HOUR',\n /** 30 minutes prior */\n BEFORE_30_MINUTES = 'BEFORE_30_MINUTES',\n}\n\n/** @enumType */\nexport type EmailNotificationReminderTimeWithLiterals =\n | EmailNotificationReminderTime\n | 'UNKNOWN_REMINDER_TIME'\n | 'INSTANT'\n | 'BEFORE_1_DAY'\n | 'BEFORE_3_DAYS'\n | 'BEFORE_1_WEEK'\n | 'BEFORE_1_HOUR'\n | 'BEFORE_30_MINUTES';\n\nexport interface TriggerNotificationRequest\n extends TriggerNotificationRequestNotificationOneOf,\n TriggerNotificationRequestGuestsOneOf {\n /** Email notification type */\n emailNotificationType?: EmailNotificationTypeWithLiterals;\n /** Push notification type */\n pushNotificationType?: PushNotificationTypeWithLiterals;\n /** Rsvp guest info */\n rsvpGuest?: RsvpGuest;\n /** Order guest info */\n orderGuest?: OrderGuest;\n /** Event guests info */\n eventGuests?: EventGuests;\n /** Ticket guests info */\n ticketGuest?: TicketGuest;\n}\n\n/** @oneof */\nexport interface TriggerNotificationRequestNotificationOneOf {\n /** Email notification type */\n emailNotificationType?: EmailNotificationTypeWithLiterals;\n /** Push notification type */\n pushNotificationType?: PushNotificationTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface TriggerNotificationRequestGuestsOneOf {\n /** Rsvp guest info */\n rsvpGuest?: RsvpGuest;\n /** Order guest info */\n orderGuest?: OrderGuest;\n /** Event guests info */\n eventGuests?: EventGuests;\n /** Ticket guests info */\n ticketGuest?: TicketGuest;\n}\n\nexport enum PushNotificationType {\n /** This is default value. This value is unused. */\n UNKNOWN_PUSH_TYPE = 'UNKNOWN_PUSH_TYPE',\n /** Triggered when event is updated. */\n PUSH_EVENT_UPDATED = 'PUSH_EVENT_UPDATED',\n /** Triggered when event is canceled. */\n PUSH_EVENT_CANCELATION = 'PUSH_EVENT_CANCELATION',\n /** Triggered before the event start time. */\n PUSH_UPCOMING_EVENT_REMINDER = 'PUSH_UPCOMING_EVENT_REMINDER',\n /** Triggered when event is created. */\n PUSH_EVENT_CREATED = 'PUSH_EVENT_CREATED',\n}\n\n/** @enumType */\nexport type PushNotificationTypeWithLiterals =\n | PushNotificationType\n | 'UNKNOWN_PUSH_TYPE'\n | 'PUSH_EVENT_UPDATED'\n | 'PUSH_EVENT_CANCELATION'\n | 'PUSH_UPCOMING_EVENT_REMINDER'\n | 'PUSH_EVENT_CREATED';\n\n/** Single guest associated to the RSVP */\nexport interface RsvpGuest {\n /**\n * Event id\n * @format GUID\n */\n eventId?: string;\n /**\n * Rsvp id\n * @format GUID\n */\n rsvpId?: string;\n}\n\n/** Single guest associated to the Order */\nexport interface OrderGuest {\n /**\n * Event id\n * @format GUID\n */\n eventId?: string;\n /**\n * Order number\n * @maxLength 36\n */\n orderNumber?: string;\n}\n\n/** All event guest from RSVPs and Orders */\nexport interface EventGuests {\n /**\n * Event id\n * @format GUID\n */\n eventId?: string;\n}\n\n/** Multiple guests associated to Tickets */\nexport interface TicketGuest {\n /**\n * Event id\n * @format GUID\n */\n eventId?: string;\n /**\n * Order number\n * @maxLength 36\n */\n orderNumber?: string | null;\n /**\n * Ticket numbers must be from the same order only.\n * @minSize 1\n * @maxSize 100\n * @maxLength 36\n */\n ticketNumber?: string[];\n}\n\nexport interface TriggerNotificationResponse {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * 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.\n * 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.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface Empty {}\n\nexport interface EventUpdated {\n /** Event update timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event location. */\n location?: Location;\n /** Event schedule configuration. */\n scheduleConfig?: ScheduleConfig;\n /** Event title. */\n title?: string;\n /**\n * Whether schedule configuration was updated.\n * @deprecated\n */\n scheduleConfigUpdated?: boolean;\n /** Updated event */\n event?: Event;\n}\n\nexport interface Location {\n /**\n * Location name.\n * @maxLength 50\n */\n name?: string | null;\n /** Location map coordinates. */\n coordinates?: MapCoordinates;\n /**\n * Single line address representation.\n * @maxLength 300\n */\n address?: string | null;\n /** Location type. */\n type?: LocationTypeWithLiterals;\n /**\n * Full address derived from formatted single line `address`.\n * When `full_address` is used to create or update the event, deprecated `address` and `coordinates` are ignored.\n * If provided `full_address` has empty `formatted_address` or `coordinates`, it will be auto-completed using Atlas service.\n *\n * Migration notes:\n * - `full_address.formatted_address` is equivalent to `address`.\n * - `full_address.geocode` is equivalent to `coordinates`.\n */\n fullAddress?: Address;\n /**\n * Defines event location as TBD (To Be Determined).\n * When event location is not yet defined, `name` is displayed instead of location address.\n * `coordinates`, `address`, `type` and `full_address` are not required when location is TBD.\n */\n tbd?: boolean | null;\n}\n\nexport interface MapCoordinates {\n /**\n * Latitude.\n * @min -90\n * @max 90\n */\n lat?: number;\n /**\n * Longitude.\n * @min -180\n * @max 180\n */\n lng?: number;\n}\n\nexport enum LocationType {\n VENUE = 'VENUE',\n ONLINE = 'ONLINE',\n}\n\n/** @enumType */\nexport type LocationTypeWithLiterals = LocationType | 'VENUE' | 'ONLINE';\n\n/** Physical address */\nexport interface Address extends AddressStreetOneOf {\n /** a break down of the street to number and street name */\n streetAddress?: StreetAddress;\n /** Main address line (usually street and number) as free text */\n addressLine1?: string | null;\n /**\n * country code\n * @format COUNTRY\n */\n country?: string | null;\n /** subdivision (usually state or region) code according to ISO 3166-2 */\n subdivision?: string | null;\n /** city name */\n city?: string | null;\n /** zip/postal code */\n postalCode?: string | null;\n /** Free text providing more detailed address info. Usually contains Apt, Suite, Floor */\n addressLine2?: string | null;\n /** A string containing the human-readable address of this location */\n formatted?: string | null;\n /** coordinates of the physical address */\n location?: AddressLocation;\n /** country full-name */\n countryFullname?: string | null;\n /**\n * multi-level subdivisions from top to bottom\n * @maxSize 6\n */\n subdivisions?: Subdivision[];\n}\n\n/** @oneof */\nexport interface AddressStreetOneOf {\n /** a break down of the street to number and street name */\n streetAddress?: StreetAddress;\n /** Main address line (usually street and number) as free text */\n addressLine?: string | null;\n}\n\nexport interface StreetAddress {\n /** street number */\n number?: string;\n /** street name */\n name?: string;\n}\n\nexport interface AddressLocation {\n /**\n * address latitude coordinates\n * @min -90\n * @max 90\n */\n latitude?: number | null;\n /**\n * address longitude coordinates\n * @min -180\n * @max 180\n */\n longitude?: number | null;\n}\n\nexport interface Subdivision {\n /** subdivision short code */\n code?: string;\n /** subdivision full-name */\n name?: string;\n}\n\nexport enum SubdivisionType {\n UNKNOWN_SUBDIVISION_TYPE = 'UNKNOWN_SUBDIVISION_TYPE',\n /** State */\n ADMINISTRATIVE_AREA_LEVEL_1 = 'ADMINISTRATIVE_AREA_LEVEL_1',\n /** County */\n ADMINISTRATIVE_AREA_LEVEL_2 = 'ADMINISTRATIVE_AREA_LEVEL_2',\n /** City/town */\n ADMINISTRATIVE_AREA_LEVEL_3 = 'ADMINISTRATIVE_AREA_LEVEL_3',\n /** Neighborhood/quarter */\n ADMINISTRATIVE_AREA_LEVEL_4 = 'ADMINISTRATIVE_AREA_LEVEL_4',\n /** Street/block */\n ADMINISTRATIVE_AREA_LEVEL_5 = 'ADMINISTRATIVE_AREA_LEVEL_5',\n /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */\n COUNTRY = 'COUNTRY',\n}\n\n/** @enumType */\nexport type SubdivisionTypeWithLiterals =\n | SubdivisionType\n | 'UNKNOWN_SUBDIVISION_TYPE'\n | 'ADMINISTRATIVE_AREA_LEVEL_1'\n | 'ADMINISTRATIVE_AREA_LEVEL_2'\n | 'ADMINISTRATIVE_AREA_LEVEL_3'\n | 'ADMINISTRATIVE_AREA_LEVEL_4'\n | 'ADMINISTRATIVE_AREA_LEVEL_5'\n | 'COUNTRY';\n\nexport interface ScheduleConfig {\n /**\n * Defines event as TBD (To Be Determined) schedule.\n * When event time is not yet defined, TBD message is displayed instead of event start and end times.\n * `startDate`, `endDate` and `timeZoneId` are not required when schedule is TBD.\n */\n scheduleTbd?: boolean;\n /**\n * TBD message.\n * @maxLength 100\n */\n scheduleTbdMessage?: string | null;\n /** Event start timestamp. */\n startDate?: Date | null;\n /** Event end timestamp. */\n endDate?: Date | null;\n /**\n * Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.\n * @maxLength 100\n */\n timeZoneId?: string | null;\n /** Whether end date is hidden in the formatted schedule. */\n endDateHidden?: boolean;\n /** Whether time zone is displayed in formatted schedule. */\n showTimeZone?: boolean;\n /** Event recurrences. */\n recurrences?: Recurrences;\n}\n\nexport interface Recurrences {\n /**\n * Event occurrences.\n * @maxSize 1000\n */\n occurrences?: Occurrence[];\n /**\n * Recurring event category ID.\n * @readonly\n */\n categoryId?: string | null;\n /**\n * Recurrence status.\n * @readonly\n */\n status?: StatusWithLiterals;\n}\n\nexport interface Occurrence {\n /** Event start timestamp. */\n startDate?: Date | null;\n /** Event end timestamp. */\n endDate?: Date | null;\n /**\n * Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.\n * @maxLength 100\n */\n timeZoneId?: string | null;\n /** Whether time zone is displayed in formatted schedule. */\n showTimeZone?: boolean;\n}\n\nexport enum Status {\n /** Event occurs only once. */\n ONE_TIME = 'ONE_TIME',\n /** Event is recurring. */\n RECURRING = 'RECURRING',\n /** Marks the next upcoming occurrence of the recurring event. */\n RECURRING_NEXT = 'RECURRING_NEXT',\n /** Marks the most recent ended occurrence of the recurring event. */\n RECURRING_LAST_ENDED = 'RECURRING_LAST_ENDED',\n /** Marks the most recent canceled occurrence of the recurring event. */\n RECURRING_LAST_CANCELED = 'RECURRING_LAST_CANCELED',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n | Status\n | 'ONE_TIME'\n | 'RECURRING'\n | 'RECURRING_NEXT'\n | 'RECURRING_LAST_ENDED'\n | 'RECURRING_LAST_CANCELED';\n\nexport interface Event {\n /**\n * Event ID.\n * @format GUID\n * @readonly\n */\n _id?: string;\n /** Event location. */\n location?: Location;\n /** Event scheduling. */\n scheduling?: Scheduling;\n /** Event title. */\n title?: string;\n /** Event description. */\n description?: string;\n /** Rich-text content that are displayed in a site's \"About Event\" section (HTML). */\n about?: string;\n /** Main event image. */\n mainImage?: string;\n /** Event slug URL (generated from event title). */\n slug?: string;\n /** ISO 639-1 language code of the event (used in content translations). */\n language?: string;\n /** Event creation timestamp. */\n created?: Date | null;\n /** Event modified timestamp. */\n modified?: Date | null;\n /** Event status. */\n status?: EventStatusWithLiterals;\n /** RSVP or ticketing registration details. */\n registration?: Registration;\n /** \"Add to calendar\" URLs. */\n calendarLinks?: CalendarLinks;\n /** Event page URL components. */\n eventPageUrl?: SiteUrl;\n /** Event registration form. */\n form?: Form;\n /** Event dashboard summary of RSVP / ticket sales. */\n dashboard?: Dashboard;\n /** Instance ID of the site where event is hosted. */\n instanceId?: string;\n /** Guest list configuration. */\n guestListConfig?: GuestListConfig;\n /**\n * Event creator user ID.\n * @maxLength 36\n */\n userId?: string;\n /** Event discussion feed. For internal use. */\n feed?: Feed;\n /** Online conferencing details. */\n onlineConferencing?: OnlineConferencing;\n /** SEO settings. */\n seoSettings?: SeoSettings;\n /** Assigned contacts label key. */\n assignedContactsLabel?: string | null;\n /** Agenda details. */\n agenda?: Agenda;\n /** Categories this event is assigned to. */\n categories?: Category[];\n /** Visual settings for event. */\n eventDisplaySettings?: EventDisplaySettings;\n /** Rich content that are displayed in a site's \"About Event\" section. Successor to `about` field. */\n longDescription?: RichContent;\n /**\n * Event publish timestamp.\n * @readonly\n */\n publishedDate?: Date | null;\n}\n\nexport interface Scheduling {\n /** Schedule configuration. */\n config?: ScheduleConfig;\n /** Formatted schedule representation. */\n formatted?: string;\n /** Formatted start date of the event (empty for TBD schedules). */\n startDateFormatted?: string;\n /** Formatted start time of the event (empty for TBD schedules). */\n startTimeFormatted?: string;\n /** Formatted end date of the event (empty for TBD schedules or when end date is hidden). */\n endDateFormatted?: string;\n /** Formatted end time of the event (empty for TBD schedules or when end date is hidden). */\n endTimeFormatted?: string;\n}\n\nexport enum EventStatus {\n /** Event is public and scheduled to start */\n SCHEDULED = 'SCHEDULED',\n /** Event has started */\n STARTED = 'STARTED',\n /** Event has ended */\n ENDED = 'ENDED',\n /** Event was canceled */\n CANCELED = 'CANCELED',\n}\n\n/** @enumType */\nexport type EventStatusWithLiterals =\n | EventStatus\n | 'SCHEDULED'\n | 'STARTED'\n | 'ENDED'\n | 'CANCELED';\n\nexport interface Registration {\n /** Event type. */\n type?: EventTypeWithLiterals;\n /** Event registration status. */\n status?: RegistrationStatusWithLiterals;\n /** RSVP collection details. */\n rsvpCollection?: RsvpCollection;\n /** Ticketing details. */\n ticketing?: Ticketing;\n /** External registration details. */\n external?: ExternalEvent;\n /** Types of users allowed to register. */\n restrictedTo?: VisitorTypeWithLiterals;\n /** Initial event type which was set when creating an event. */\n initialType?: EventTypeWithLiterals;\n}\n\nexport enum EventType {\n /** Type not available for this request fieldset */\n NA_EVENT_TYPE = 'NA_EVENT_TYPE',\n /** Registration via RSVP */\n RSVP = 'RSVP',\n /** Registration via ticket purchase */\n TICKETS = 'TICKETS',\n /** External registration */\n EXTERNAL = 'EXTERNAL',\n /** Registration not available */\n NO_REGISTRATION = 'NO_REGISTRATION',\n}\n\n/** @enumType */\nexport type EventTypeWithLiterals =\n | EventType\n | 'NA_EVENT_TYPE'\n | 'RSVP'\n | 'TICKETS'\n | 'EXTERNAL'\n | 'NO_REGISTRATION';\n\nexport enum RegistrationStatus {\n /** Registration status is not applicable */\n NA_REGISTRATION_STATUS = 'NA_REGISTRATION_STATUS',\n /** Registration to event is closed */\n CLOSED = 'CLOSED',\n /** Registration to event is closed manually */\n CLOSED_MANUALLY = 'CLOSED_MANUALLY',\n /** Registration is open via RSVP */\n OPEN_RSVP = 'OPEN_RSVP',\n /** Registration to event waitlist is open via RSVP */\n OPEN_RSVP_WAITLIST = 'OPEN_RSVP_WAITLIST',\n /** Registration is open via ticket purchase */\n OPEN_TICKETS = 'OPEN_TICKETS',\n /** Registration is open via external URL */\n OPEN_EXTERNAL = 'OPEN_EXTERNAL',\n /** Registration will be open via RSVP */\n SCHEDULED_RSVP = 'SCHEDULED_RSVP',\n}\n\n/** @enumType */\nexport type RegistrationStatusWithLiterals =\n | RegistrationStatus\n | 'NA_REGISTRATION_STATUS'\n | 'CLOSED'\n | 'CLOSED_MANUALLY'\n | 'OPEN_RSVP'\n | 'OPEN_RSVP_WAITLIST'\n | 'OPEN_TICKETS'\n | 'OPEN_EXTERNAL'\n | 'SCHEDULED_RSVP';\n\nexport interface RsvpCollection {\n /** RSVP collection configuration. */\n config?: RsvpCollectionConfig;\n}\n\nexport interface RsvpCollectionConfig {\n /** Defines the supported RSVP statuses. */\n rsvpStatusOptions?: RsvpStatusOptionsWithLiterals;\n /**\n * Total guest limit available to register to the event.\n * Additional guests per RSVP are counted towards total guests.\n */\n limit?: number | null;\n /** Whether a waitlist is opened when total guest limit is reached, allowing guests to create RSVP with WAITING RSVP status. */\n waitlist?: boolean;\n /** Registration start timestamp. */\n startDate?: Date | null;\n /** Registration end timestamp. */\n endDate?: Date | null;\n}\n\nexport enum RsvpStatusOptions {\n /** Only YES RSVP status is available for RSVP registration */\n YES_ONLY = 'YES_ONLY',\n /** YES and NO RSVP status options are available for the registration */\n YES_AND_NO = 'YES_AND_NO',\n}\n\n/** @enumType */\nexport type RsvpStatusOptionsWithLiterals =\n | RsvpStatusOptions\n | 'YES_ONLY'\n | 'YES_AND_NO';\n\nexport interface RsvpConfirmationMessages {\n /** Messages displayed when an RSVP's `status` is set to `\"YES\"`. */\n positiveConfirmation?: RsvpConfirmationMessagesPositiveResponseConfirmation;\n /** Messages displayed when an RSVP's `status` is set to `\"WAITLIST\"`, for when the event is full and a waitlist is available). */\n waitlistMessages?: RsvpConfirmationMessagesPositiveResponseConfirmation;\n /** Messages displayed when an RSVP's `status` is set to `\"NO\"`. */\n negativeMessages?: RsvpConfirmationMessagesNegativeResponseConfirmation;\n}\n\n/** Confirmation shown after then registration when RSVP response is positive. */\nexport interface RsvpConfirmationMessagesPositiveResponseConfirmation {\n /**\n * Confirmation message title.\n * @maxLength 150\n */\n title?: string | null;\n /**\n * Confirmation message text.\n * @maxLength 350\n */\n message?: string | null;\n /**\n * \"Add to calendar\" call-to-action label text.\n * @maxLength 50\n */\n addToCalendarActionLabel?: string | null;\n /**\n * \"Share event\" call-to-action label text.\n * @maxLength 50\n */\n shareActionLabel?: string | null;\n}\n\n/** Confirmation shown after then registration when RSVP response is negative. */\nexport interface RsvpConfirmationMessagesNegativeResponseConfirmation {\n /**\n * Confirmation message title.\n * @maxLength 150\n */\n title?: string | null;\n /**\n * \"Share event\" call-to-action label text.\n * @maxLength 50\n */\n shareActionLabel?: string | null;\n}\n\nexport interface Ticketing {\n /**\n * Deprecated.\n * @deprecated\n */\n lowestPrice?: string | null;\n /**\n * Deprecated.\n * @deprecated\n */\n highestPrice?: string | null;\n /** Currency used in event transactions. */\n currency?: string | null;\n /** Ticketing configuration. */\n config?: TicketingConfig;\n /**\n * Price of lowest priced ticket.\n * @readonly\n */\n lowestTicketPrice?: Money;\n /**\n * Price of highest priced ticket.\n * @readonly\n */\n highestTicketPrice?: Money;\n /**\n * Formatted price of lowest priced ticket.\n * @readonly\n */\n lowestTicketPriceFormatted?: string | null;\n /**\n * Formatted price of highest priced ticket.\n * @readonly\n */\n highestTicketPriceFormatted?: string | null;\n /**\n * Whether all tickets are sold for this event.\n * @readonly\n */\n soldOut?: boolean | null;\n}\n\nexport interface TicketingConfig {\n /** Whether the form must be filled out separately for each ticket. */\n guestAssignedTickets?: boolean;\n /** Tax configuration. */\n taxConfig?: TaxConfig;\n /**\n * Limit of tickets that can be purchased per order, default 20.\n * @max 50\n */\n ticketLimitPerOrder?: number;\n /**\n * Duration for which the tickets being bought are reserved.\n * @min 5\n * @max 30\n */\n reservationDurationInMinutes?: number | null;\n}\n\nexport interface TaxConfig {\n /** Tax application settings. */\n type?: TaxTypeWithLiterals;\n /**\n * Tax name.\n * @minLength 1\n * @maxLength 10\n */\n name?: string | null;\n /**\n * Tax rate (e.g.,`21.55`).\n * @decimalValue options { gte:0.001, lte:100, maxScale:3 }\n */\n rate?: string | null;\n /** Applies taxes for donations, default true. */\n appliesToDonations?: boolean | null;\n}\n\nexport enum TaxType {\n /** Tax is included in the ticket price. */\n INCLUDED = 'INCLUDED',\n /** Tax is added to the order at the checkout. */\n ADDED = 'ADDED',\n /** Tax is added to the final total at the checkout. */\n ADDED_AT_CHECKOUT = 'ADDED_AT_CHECKOUT',\n}\n\n/** @enumType */\nexport type TaxTypeWithLiterals =\n | TaxType\n | 'INCLUDED'\n | 'ADDED'\n | 'ADDED_AT_CHECKOUT';\n\nexport interface TicketsConfirmationMessages {\n /**\n * Confirmation message title.\n * @maxLength 150\n */\n title?: string | null;\n /**\n * Confirmation message text.\n * @maxLength 350\n */\n message?: string | null;\n /**\n * \"Download tickets\" call-to-action label text.\n * @maxLength 50\n */\n downloadTicketsLabel?: string | null;\n /**\n * \"Add to calendar\" call-to-action label text.\n * @maxLength 50\n */\n addToCalendarActionLabel?: string | null;\n /**\n * \"Share event\" call-to-action label text.\n * @maxLength 50\n */\n shareActionLabel?: string | null;\n}\n\nexport interface Money {\n /**\n * *Deprecated:** Use `value` instead.\n * @format DECIMAL_VALUE\n * @deprecated\n */\n amount?: string;\n /**\n * 3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `USD`.\n * @format CURRENCY\n */\n currency?: string;\n /**\n * 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.\n * @format DECIMAL_VALUE\n */\n value?: string | null;\n}\n\nexport interface ExternalEvent {\n /** External event registration URL. */\n registration?: string;\n}\n\nexport enum VisitorType {\n /** Site visitor (including member) */\n VISITOR = 'VISITOR',\n /** Site member */\n MEMBER = 'MEMBER',\n /** Site visitor or member */\n VISITOR_OR_MEMBER = 'VISITOR_OR_MEMBER',\n}\n\n/** @enumType */\nexport type VisitorTypeWithLiterals =\n | VisitorType\n | 'VISITOR'\n | 'MEMBER'\n | 'VISITOR_OR_MEMBER';\n\nexport interface CalendarLinks {\n /** \"Add to Google calendar\" URL. */\n google?: string;\n /** \"Download ICS calendar file\" URL. */\n ics?: string;\n}\n\n/** Site URL components */\nexport interface SiteUrl {\n /**\n * Base URL. For premium sites, this will be the domain.\n * For free sites, this would be site URL (e.g `mysite.wixsite.com/mysite`)\n */\n base?: string;\n /** The path to that page - e.g `/my-events/weekly-meetup-2` */\n path?: string;\n}\n\n/**\n * The form defines which elements are displayed to a site visitor during the registration process (RSVP or checkout).\n * It also contains customizable messages and labels.\n *\n *\n * A form is an ordered list of controls (blocks), which accept guest information into a field input.\n *\n * Each control contains one or more nested inputs. For example, `Name` control has two inputs:\n * - First Name\n * - Last Name\n *\n * By default, name and email controls are always required and are pinned to the top of the form.\n */\nexport interface Form {\n /** Nested fields as an ordered list. */\n controls?: InputControl[];\n /**\n * Set of defined form messages displayed in the UI before, during, and after a registration flow.\n * Includes the configuration of form titles, response labels, \"thank you\" messages, and call-to-action texts.\n */\n messages?: FormMessages;\n}\n\n/**\n * A block of nested fields.\n * Used to aggregate similar inputs like First Name and Last Name.\n */\nexport interface InputControl {\n /** Field control type. */\n type?: InputControlTypeWithLiterals;\n /** Whether the control is mandatory (such as `name` & `email`). When `true`, only the label can be changed. */\n system?: boolean;\n /**\n * Deprecated: Use `id` or `_id`.\n * @deprecated\n */\n name?: string;\n /** Child inputs. */\n inputs?: Input[];\n /**\n * *Deprecated:** Use `controls.inputs.label`.\n * @deprecated\n */\n label?: string;\n /** Field controls are sorted by this value in ascending order. */\n orderIndex?: number;\n /** Unique control ID. */\n _id?: string;\n /**\n * Whether the input control is deleted.\n * @readonly\n */\n deleted?: boolean | null;\n}\n\nexport enum InputControlType {\n /** Single text value field. */\n INPUT = 'INPUT',\n /** Single text value field with multiple lines. */\n TEXTAREA = 'TEXTAREA',\n /** Single-choice field with predefined values. */\n DROPDOWN = 'DROPDOWN',\n /** Single-choice field with predefined values. */\n RADIO = 'RADIO',\n /** Multiple-choice field with predefined values. */\n CHECKBOX = 'CHECKBOX',\n /** Fields for entering first and last names. */\n NAME = 'NAME',\n /** Fields for additional guests and their respective names. */\n GUEST_CONTROL = 'GUEST_CONTROL',\n /** Single-line address field. */\n ADDRESS_SHORT = 'ADDRESS_SHORT',\n /** Full address field with multiple lines. */\n ADDRESS_FULL = 'ADDRESS_FULL',\n /** Fields for entering year, month, and day. */\n DATE = 'DATE',\n}\n\n/** @enumType */\nexport type InputControlTypeWithLiterals =\n | InputControlType\n | 'INPUT'\n | 'TEXTAREA'\n | 'DROPDOWN'\n | 'RADIO'\n | 'CHECKBOX'\n | 'NAME'\n | 'GUEST_CONTROL'\n | 'ADDRESS_SHORT'\n | 'ADDRESS_FULL'\n | 'DATE';\n\n/** Child inputs. */\nexport interface Input {\n /** Field name. */\n name?: string;\n /**\n * *Deprecated:** Use `controls.inputs.type.TEXT_ARRAY`.\n * @deprecated\n */\n array?: boolean;\n /** Main field label. */\n label?: string;\n /** Additional labels for multi-valued fields such as address. */\n additionalLabels?: Record<string, string>;\n /** Predefined choice options for fields, such as dropdown. */\n options?: string[];\n /** Whether field is mandatory. */\n mandatory?: boolean;\n /** Maximum number of accepted characters (relevant for text fields). */\n maxLength?: number;\n /**\n * Type which determines field format.\n * Used to validate submitted response.\n */\n type?: ValueTypeWithLiterals;\n /**\n * The maximum number of accepted values for array input.\n *\n * **Note:** Only applicable for `TEXT_ARRAY` input fields.\n */\n maxSize?: number | null;\n /**\n * Default option initially selected when an input has multiple choices.\n *\n * Defaults to first (0th) option, if not configured.\n * Currently only applicable for `type.dropdown`.\n */\n defaultOptionSelection?: OptionSelection;\n /**\n * Additional labels for multi-valued fields, such as address.\n * @readonly\n */\n labels?: Label[];\n}\n\nexport enum ValueType {\n TEXT = 'TEXT',\n NUMBER = 'NUMBER',\n TEXT_ARRAY = 'TEXT_ARRAY',\n DATE_TIME = 'DATE_TIME',\n ADDRESS = 'ADDRESS',\n}\n\n/** @enumType */\nexport type ValueTypeWithLiterals =\n | ValueType\n | 'TEXT'\n | 'NUMBER'\n | 'TEXT_ARRAY'\n | 'DATE_TIME'\n | 'ADDRESS';\n\n/**\n * Describes initially selected option when an input has multiple choices.\n * Defaults to first (0th) option if not configured.\n */\nexport interface OptionSelection extends OptionSelectionSelectedOptionOneOf {\n /**\n * 0-based index from predefined `controls.inputs.options` which is initial selection.\n * @max 199\n */\n optionIndex?: number;\n /**\n * Placeholder hint describing expected choices, such as \"Please select\".\n * Considered an empty choice.\n * @maxLength 200\n */\n placeholderText?: string;\n}\n\n/** @oneof */\nexport interface OptionSelectionSelectedOptionOneOf {\n /**\n * 0-based index from predefined `controls.inputs.options` which is initial selection.\n * @max 199\n */\n optionIndex?: number;\n /**\n * Placeholder hint describing expected choices, such as \"Please select\".\n * Considered an empty choice.\n * @maxLength 200\n */\n placeholderText?: string;\n}\n\nexport interface Label {\n /** Field name. */\n name?: string;\n /** Field label. */\n label?: string;\n}\n\n/**\n * Defines form messages shown in UI before, during, and after registration flow.\n * It enables configuration of form titles, response labels, \"thank you\" messages, and call-to-action texts.\n */\nexport interface FormMessages {\n /** RSVP form ([SDK](https://dev.wix.com/docs/sdk/backend-modules/events/rsvp-v2/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/introduction)) messages. */\n rsvp?: RsvpFormMessages;\n /** Checkout form messages. */\n checkout?: CheckoutFormMessages;\n /** Messages shown when event registration is closed. */\n registrationClosed?: RegistrationClosedMessages;\n /** Messages shown when event tickets are unavailable. */\n ticketsUnavailable?: TicketsUnavailableMessages;\n}\n\nexport interface RsvpFormMessages {\n /** Label text indicating RSVP's `status` is `\"YES\"`. */\n rsvpYesOption?: string;\n /** Label text indicating RSVP's `status` is `\"NO\"`. */\n rsvpNoOption?: string;\n /** Messages displayed when an RSVP's `status` is set to `\"YES\"`. */\n positiveMessages?: Positive;\n /** Messages displayed when an RSVP's `status` is set to `\"WAITLIST\"`, for when the event is full and a waitlist is available). */\n waitlistMessages?: Positive;\n /** Messages displayed when an RSVP's `status` is set to `\"NO\"`. */\n negativeMessages?: Negative;\n /** \"Submit form\" call-to-action label text. */\n submitActionLabel?: string;\n}\n\n/** Confirmation messages shown after registration. */\nexport interface PositiveResponseConfirmation {\n /** Confirmation message title. */\n title?: string;\n /** Confirmation message text. */\n message?: string;\n /** \"Add to calendar\" call-to-action label text. */\n addToCalendarActionLabel?: string;\n /** \"Share event\" call-to-action label text. */\n shareActionLabel?: string;\n}\n\n/** Confirmation messages shown after registration. */\nexport interface NegativeResponseConfirmation {\n /** Confirmation message title. */\n title?: string;\n /** \"Share event\" call-to-action label text. */\n shareActionLabel?: string;\n}\n\n/** Set of messages shown during registration when RSVP response is positive. */\nexport interface Positive {\n /** Main form title for positive response. */\n title?: string;\n /** Confirmation messages shown after registration. */\n confirmation?: PositiveResponseConfirmation;\n}\n\n/** A set of messages shown during registration with negative response */\nexport interface Negative {\n /** Main form title for negative response. */\n title?: string;\n /** Confirmation messages shown after registration. */\n confirmation?: NegativeResponseConfirmation;\n}\n\nexport interface CheckoutFormMessages {\n /** Main form title for response. */\n title?: string;\n /** Submit form call-to-action label text. */\n submitActionLabel?: string;\n /** Confirmation messages shown after checkout. */\n confirmation?: ResponseConfirmation;\n}\n\n/** Confirmation messages shown after checkout. */\nexport interface ResponseConfirmation {\n /** Confirmation message title. */\n title?: string;\n /** Confirmation message text. */\n message?: string;\n /** \"Download tickets\" call-to-action label text. */\n downloadTicketsLabel?: string;\n /** \"Add to calendar\" call-to-action label text. */\n addToCalendarLabel?: string;\n /** \"Share event\" call-to-action label text. */\n shareEventLabel?: string;\n}\n\nexport interface RegistrationClosedMessages {\n /** Message shown when event registration is closed. */\n message?: string;\n /** \"Explore other events\" call-to-action label text. */\n exploreEventsActionLabel?: string;\n}\n\nexport interface TicketsUnavailableMessages {\n /** Message shown when event tickets are unavailable. */\n message?: string;\n /** \"Explore other events\" call-to-action label text. */\n exploreEventsActionLabel?: string;\n}\n\nexport interface Dashboard {\n /** Guest RSVP summary. */\n rsvpSummary?: RsvpSummary;\n /**\n * Summary of revenue and tickets sold.\n * (Archived orders are not included).\n */\n ticketingSummary?: TicketingSummary;\n}\n\nexport interface RsvpSummary {\n /** Total number of RSVPs. */\n total?: number;\n /** Number of RSVPs with status `YES`. */\n yes?: number;\n /** Number of RSVPs with status `NO`. */\n no?: number;\n /** Number of RSVPs in waitlist. */\n waitlist?: number;\n}\n\nexport interface TicketingSummary {\n /** Number of tickets sold. */\n tickets?: number;\n /**\n * Total revenue, excluding fees.\n * (taxes and payment provider fees are not deducted.)\n */\n revenue?: Money;\n /** Whether currency is locked and cannot be changed (generally occurs after the first order in the specified currency has been created). */\n currencyLocked?: boolean;\n /** Number of orders placed. */\n orders?: number;\n /** Total balance of confirmed transactions. */\n totalSales?: Money;\n}\n\nexport interface GuestListConfig {\n /** Whether members can see other members attending the event (defaults to true). */\n publicGuestList?: boolean;\n}\n\nexport interface Feed {\n /** Event discussion feed token. */\n token?: string;\n}\n\nexport interface OnlineConferencing {\n config?: OnlineConferencingConfig;\n session?: OnlineConferencingSession;\n}\n\nexport interface OnlineConferencingConfig {\n /**\n * Whether online conferencing is enabled (not supported for TBD schedules).\n * When enabled, links to join conferencing are generated and provided to guests.\n */\n enabled?: boolean;\n /**\n * Conferencing provider ID.\n * @format GUID\n */\n providerId?: string | null;\n /** Conference type */\n conferenceType?: ConferenceTypeWithLiterals;\n}\n\nexport enum ConferenceType {\n /** Everyone in the meeting can publish and subscribe video and audio. */\n MEETING = 'MEETING',\n /** Guests can only subscribe to video and audio. */\n WEBINAR = 'WEBINAR',\n}\n\n/** @enumType */\nexport type ConferenceTypeWithLiterals = ConferenceType | 'MEETING' | 'WEBINAR';\n\nexport interface OnlineConferencingSession {\n /**\n * Link for event host to start the online conference session.\n * @readonly\n */\n hostLink?: string;\n /**\n * Link for guests to join the online conference session.\n * @readonly\n */\n guestLink?: string;\n /**\n * The password required to join online conferencing session (when relevant).\n * @readonly\n */\n password?: string | null;\n /**\n * Indicates that session was created successfully on providers side.\n * @readonly\n */\n sessionCreated?: boolean | null;\n /**\n * Unique session id\n * @readonly\n */\n sessionId?: string | null;\n}\n\nexport interface SeoSettings {\n /**\n * URL slug\n * @maxLength 130\n */\n slug?: string;\n /** Advanced SEO data */\n advancedSeoData?: SeoSchema;\n /**\n * Hidden from SEO Site Map\n * @readonly\n */\n hidden?: boolean | null;\n}\n\n/**\n * 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.\n * The search engines use this information for ranking purposes, or to display snippets in the search results.\n * 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.\n */\nexport interface SeoSchema {\n /** SEO tag information. */\n tags?: Tag[];\n /** SEO general settings. */\n settings?: Settings;\n}\n\nexport interface Keyword {\n /** Keyword value. */\n term?: string;\n /** Whether the keyword is the main focus keyword. */\n isMain?: boolean;\n /**\n * The source that added the keyword terms to the SEO settings.\n * @maxLength 1000\n */\n origin?: string | null;\n}\n\nexport interface Tag {\n /**\n * SEO tag type.\n *\n *\n * Supported values: `title`, `meta`, `script`, `link`.\n */\n type?: string;\n /**\n * A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\n * For example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.\n */\n props?: Record<string, any> | null;\n /** SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`. */\n meta?: Record<string, any> | null;\n /** SEO tag inner content. For example, `<title> inner content </title>`. */\n children?: string;\n /** Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages). */\n custom?: boolean;\n /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */\n disabled?: boolean;\n}\n\nexport interface Settings {\n /**\n * 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.\n *\n *\n * Default: `false` (automatical redirect is enabled).\n */\n preventAutoRedirect?: boolean;\n /**\n * User-selected keyword terms for a specific page.\n * @maxSize 5\n */\n keywords?: Keyword[];\n}\n\nexport interface Agenda {\n /** Whether the schedule is enabled for the event. */\n enabled?: boolean;\n /**\n * Agenda page URL.\n * @readonly\n */\n pageUrl?: SiteUrl;\n}\n\nexport interface Category {\n /**\n * Category ID.\n * @format GUID\n * @readonly\n */\n _id?: string;\n /**\n * Category name.\n * @minLength 1\n * @maxLength 30\n */\n name?: string;\n /**\n * Date and time when category was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * The total number of draft and published events assigned to the category.\n * @readonly\n */\n counts?: CategoryCounts;\n /**\n * Category state. Possible values:\n *\n * `MANUAL`: Category is created manually by the user.\n * `AUTO`: Category is created automatically.\n * `RECURRING_EVENT`: Category is created automatically when publishing recurring events.\n * `HIDDEN`: Category can't be seen.\n *\n * Default: `MANUAL`.\n *\n * **Note:** The WIX_EVENTS.MANAGE_AUTO_CATEGORIES permission scope is required to use states other than `MANUAL`.\n * @maxSize 3\n */\n states?: StateWithLiterals[];\n}\n\nexport interface CategoryCounts {\n /** Total number of draft events assigned to the category. */\n assignedEventsCount?: number | null;\n /** Total number of published events assigned to the category. Deleted events are excluded. */\n assignedDraftEventsCount?: number | null;\n}\n\nexport enum State {\n /** Created manually by the user. */\n MANUAL = 'MANUAL',\n /** Created automatically. */\n AUTO = 'AUTO',\n /** Created when publishing recurring events. */\n RECURRING_EVENT = 'RECURRING_EVENT',\n /** Category is hidden. */\n HIDDEN = 'HIDDEN',\n}\n\n/** @enumType */\nexport type StateWithLiterals =\n | State\n | 'MANUAL'\n | 'AUTO'\n | 'RECURRING_EVENT'\n | 'HIDDEN';\n\nexport interface EventDisplaySettings {\n /** Whether event details button is hidden. Only available for events with no registration. */\n hideEventDetailsButton?: boolean | null;\n /** Disables event details page visibility. If event has an external registration configured visitors will be redirected from this page. */\n hideEventDetailsPage?: boolean | null;\n}\n\nexport interface LabellingSettings {}\n\nexport interface RichContent {\n /** Node objects representing a rich content document. */\n nodes?: Node[];\n /** Object metadata. */\n metadata?: Metadata;\n /** Global styling for header, paragraph, block quote, and code block nodes in the object. */\n documentStyle?: DocumentStyle;\n}\n\nexport interface Node extends NodeDataOneOf {\n /** Data for a button node. */\n buttonData?: ButtonData;\n /** Data for a code block node. */\n codeBlockData?: CodeBlockData;\n /** Data for a divider node. */\n dividerData?: DividerData;\n /** Data for a file node. */\n fileData?: FileData;\n /** Data for a gallery node. */\n galleryData?: GalleryData;\n /** Data for a GIF node. */\n gifData?: GIFData;\n /** Data for a heading node. */\n headingData?: HeadingData;\n /** Data for an embedded HTML node. */\n htmlData?: HTMLData;\n /** Data for an image node. */\n imageData?: ImageData;\n /** Data for a link preview node. */\n linkPreviewData?: LinkPreviewData;\n /** @deprecated */\n mapData?: MapData;\n /** Data for a paragraph node. */\n paragraphData?: ParagraphData;\n /** Data for a poll node. */\n pollData?: PollData;\n /** Data for a text node. Used to apply decorations to text. */\n textData?: TextData;\n /** Data for an app embed node. */\n appEmbedData?: AppEmbedData;\n /** Data for a video node. */\n videoData?: VideoData;\n /** Data for an oEmbed node. */\n embedData?: EmbedData;\n /** Data for a collapsible list node. */\n collapsibleListData?: CollapsibleListData;\n /** Data for a table node. */\n tableData?: TableData;\n /** Data for a table cell node. */\n tableCellData?: TableCellData;\n /** Data for a custom external node. */\n externalData?: Record<string, any> | null;\n /** Data for an audio node. */\n audioData?: AudioData;\n /** Data for an ordered list node. */\n orderedListData?: OrderedListData;\n /** Data for a bulleted list node. */\n bulletedListData?: BulletedListData;\n /** Data for a block quote node. */\n blockquoteData?: BlockquoteData;\n /** Data for a caption node. */\n captionData?: CaptionData;\n /** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */\n layoutCellData?: LayoutCellData;\n /** 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. */\n type?: NodeTypeWithLiterals;\n /** Node ID. */\n id?: string;\n /** A list of child nodes. */\n nodes?: Node[];\n /** Padding and background color styling for the node. */\n style?: NodeStyle;\n}\n\n/** @oneof */\nexport interface NodeDataOneOf {\n /** Data for a button node. */\n buttonData?: ButtonData;\n /** Data for a code block node. */\n codeBlockData?: CodeBlockData;\n /** Data for a divider node. */\n dividerData?: DividerData;\n /** Data for a file node. */\n fileData?: FileData;\n /** Data for a gallery node. */\n galleryData?: GalleryData;\n /** Data for a GIF node. */\n gifData?: GIFData;\n /** Data for a heading node. */\n headingData?: HeadingData;\n /** Data for an embedded HTML node. */\n htmlData?: HTMLData;\n /** Data for an image node. */\n imageData?: ImageData;\n /** Data for a link preview node. */\n linkPreviewData?: LinkPreviewData;\n /** @deprecated */\n mapData?: MapData;\n /** Data for a paragraph node. */\n paragraphData?: ParagraphData;\n /** Data for a poll node. */\n pollData?: PollData;\n /** Data for a text node. Used to apply decorations to text. */\n textData?: TextData;\n /** Data for an app embed node. */\n appEmbedData?: AppEmbedData;\n /** Data for a video node. */\n videoData?: VideoData;\n /** Data for an oEmbed node. */\n embedData?: EmbedData;\n /** Data for a collapsible list node. */\n collapsibleListData?: CollapsibleListData;\n /** Data for a table node. */\n tableData?: TableData;\n /** Data for a table cell node. */\n tableCellData?: TableCellData;\n /** Data for a custom external node. */\n externalData?: Record<string, any> | null;\n /** Data for an audio node. */\n audioData?: AudioData;\n /** Data for an ordered list node. */\n orderedListData?: OrderedListData;\n /** Data for a bulleted list node. */\n bulletedListData?: BulletedListData;\n /** Data for a block quote node. */\n blockquoteData?: BlockquoteData;\n /** Data for a caption node. */\n captionData?: CaptionData;\n /** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */\n layoutCellData?: LayoutCellData;\n}\n\nexport enum NodeType {\n PARAGRAPH = 'PARAGRAPH',\n TEXT = 'TEXT',\n HEADING = 'HEADING',\n BULLETED_LIST = 'BULLETED_LIST',\n ORDERED_LIST = 'ORDERED_LIST',\n LIST_ITEM = 'LIST_ITEM',\n BLOCKQUOTE = 'BLOCKQUOTE',\n CODE_BLOCK = 'CODE_BLOCK',\n VIDEO = 'VIDEO',\n DIVIDER = 'DIVIDER',\n FILE = 'FILE',\n GALLERY = 'GALLERY',\n GIF = 'GIF',\n HTML = 'HTML',\n IMAGE = 'IMAGE',\n LINK_PREVIEW = 'LINK_PREVIEW',\n /** @deprecated */\n MAP = 'MAP',\n POLL = 'POLL',\n APP_EMBED = 'APP_EMBED',\n BUTTON = 'BUTTON',\n COLLAPSIBLE_LIST = 'COLLAPSIBLE_LIST',\n TABLE = 'TABLE',\n EMBED = 'EMBED',\n COLLAPSIBLE_ITEM = 'COLLAPSIBLE_ITEM',\n COLLAPSIBLE_ITEM_TITLE = 'COLLAPSIBLE_ITEM_TITLE',\n COLLAPSIBLE_ITEM_BODY = 'COLLAPSIBLE_ITEM_BODY',\n TABLE_CELL = 'TABLE_CELL',\n TABLE_ROW = 'TABLE_ROW',\n EXTERNAL = 'EXTERNAL',\n AUDIO = 'AUDIO',\n CAPTION = 'CAPTION',\n LAYOUT = 'LAYOUT',\n LAYOUT_CELL = 'LAYOUT_CELL',\n}\n\n/** @enumType */\nexport type NodeTypeWithLiterals =\n | NodeType\n | 'PARAGRAPH'\n | 'TEXT'\n | 'HEADING'\n | 'BULLETED_LIST'\n | 'ORDERED_LIST'\n | 'LIST_ITEM'\n | 'BLOCKQUOTE'\n | 'CODE_BLOCK'\n | 'VIDEO'\n | 'DIVIDER'\n | 'FILE'\n | 'GALLERY'\n | 'GIF'\n | 'HTML'\n | 'IMAGE'\n | 'LINK_PREVIEW'\n | 'MAP'\n | 'POLL'\n | 'APP_EMBED'\n | 'BUTTON'\n | 'COLLAPSIBLE_LIST'\n | 'TABLE'\n | 'EMBED'\n | 'COLLAPSIBLE_ITEM'\n | 'COLLAPSIBLE_ITEM_TITLE'\n | 'COLLAPSIBLE_ITEM_BODY'\n | 'TABLE_CELL'\n | 'TABLE_ROW'\n | 'EXTERNAL'\n | 'AUDIO'\n | 'CAPTION'\n | 'LAYOUT'\n | 'LAYOUT_CELL';\n\nexport interface NodeStyle {\n /** The top padding value in pixels. */\n paddingTop?: string | null;\n /** The bottom padding value in pixels. */\n paddingBottom?: string | null;\n /** The background color as a hexadecimal value. */\n backgroundColor?: string | null;\n}\n\nexport interface ButtonData {\n /** Styling for the button's container. */\n containerData?: PluginContainerData;\n /** The button type. */\n type?: ButtonDataTypeWithLiterals;\n /** Styling for the button. */\n styles?: Styles;\n /** The text to display on the button. */\n text?: string | null;\n /** Button link details. */\n link?: V1Link;\n}\n\nexport interface Border {\n /**\n * Deprecated: Use `borderWidth` in `styles` instead.\n * @deprecated\n */\n width?: number | null;\n /**\n * Deprecated: Use `borderRadius` in `styles` instead.\n * @deprecated\n */\n radius?: number | null;\n}\n\nexport interface Colors {\n /**\n * Deprecated: Use `textColor` in `styles` instead.\n * @deprecated\n */\n text?: string | null;\n /**\n * Deprecated: Use `borderColor` in `styles` instead.\n * @deprecated\n */\n border?: string | null;\n /**\n * Deprecated: Use `backgroundColor` in `styles` instead.\n * @deprecated\n */\n background?: string | null;\n}\n\nexport interface PluginContainerData {\n /** The width of the node when it's displayed. */\n width?: PluginContainerDataWidth;\n /** The node's alignment within its container. */\n alignment?: PluginContainerDataAlignmentWithLiterals;\n /** Spoiler cover settings for the node. */\n spoiler?: Spoiler;\n /** The height of the node when it's displayed. */\n height?: Height;\n /** 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`. */\n textWrap?: boolean | null;\n}\n\nexport enum WidthType {\n /** Width matches the content width */\n CONTENT = 'CONTENT',\n /** Small Width */\n SMALL = 'SMALL',\n /** Width will match the original asset width */\n ORIGINAL = 'ORIGINAL',\n /** coast-to-coast display */\n FULL_WIDTH = 'FULL_WIDTH',\n}\n\n/** @enumType */\nexport type WidthTypeWithLiterals =\n | WidthType\n | 'CONTENT'\n | 'SMALL'\n | 'ORIGINAL'\n | 'FULL_WIDTH';\n\nexport interface PluginContainerDataWidth\n extends PluginContainerDataWidthDataOneOf {\n /**\n * One of the following predefined width options:\n * `CONTENT`: The width of the container matches the content width.\n * `SMALL`: A small width.\n * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.\n * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.\n */\n size?: WidthTypeWithLiterals;\n /** A custom width value in pixels. */\n custom?: string | null;\n}\n\n/** @oneof */\nexport interface PluginContainerDataWidthDataOneOf {\n /**\n * One of the following predefined width options:\n * `CONTENT`: The width of the container matches the content width.\n * `SMALL`: A small width.\n * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.\n * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.\n */\n size?: WidthTypeWithLiterals;\n /** A custom width value in pixels. */\n custom?: string | null;\n}\n\nexport enum PluginContainerDataAlignment {\n /** Center Alignment */\n CENTER = 'CENTER',\n /** Left Alignment */\n LEFT = 'LEFT',\n /** Right Alignment */\n RIGHT = 'RIGHT',\n}\n\n/** @enumType */\nexport type PluginContainerDataAlignmentWithLiterals =\n | PluginContainerDataAlignment\n | 'CENTER'\n | 'LEFT'\n | 'RIGHT';\n\nexport interface Spoiler {\n /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */\n enabled?: boolean | null;\n /** The description displayed on top of the spoiler cover. */\n description?: string | null;\n /** The text for the button used to remove the spoiler cover. */\n buttonText?: string | null;\n}\n\nexport interface Height {\n /** A custom height value in pixels. */\n custom?: string | null;\n}\n\nexport enum ButtonDataType {\n /** Regular link button */\n LINK = 'LINK',\n /** Triggers custom action that is defined in plugin configuration by the consumer */\n ACTION = 'ACTION',\n}\n\n/** @enumType */\nexport type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';\n\nexport interface Styles {\n /**\n * Deprecated: Use `borderWidth` and `borderRadius` instead.\n * @deprecated\n */\n border?: Border;\n /**\n * Deprecated: Use `textColor`, `borderColor` and `backgroundColor` instead.\n * @deprecated\n */\n colors?: Colors;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /**\n * Deprecated: Use `borderWidth` for normal/hover states instead.\n * @deprecated\n */\n borderWidthHover?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /**\n * Border color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n borderColorHover?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n textColor?: string | null;\n /**\n * Text color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n textColorHover?: string | null;\n /**\n * Background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Background color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n backgroundColorHover?: string | null;\n /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */\n buttonSize?: string | null;\n}\n\nexport interface V1Link extends V1LinkDataOneOf {\n /** The absolute URL for the linked document. */\n url?: string;\n /** The target node's ID. Used for linking to another node in this object. */\n anchor?: string;\n /**\n * he HTML `target` attribute value for the link. This property defines where the linked document opens as follows:\n * `SELF` - Default. Opens the linked document in the same frame as the link.\n * `BLANK` - Opens the linked document in a new browser tab or window.\n * `PARENT` - Opens the linked document in the link's parent frame.\n * `TOP` - Opens the linked document in the full body of the link's browser tab or window.\n */\n target?: TargetWithLiterals;\n /** The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document. */\n rel?: Rel;\n /** A serialized object used for a custom or external link panel. */\n customData?: string | null;\n}\n\n/** @oneof */\nexport interface V1LinkDataOneOf {\n /** The absolute URL for the linked document. */\n url?: string;\n /** The target node's ID. Used for linking to another node in this object. */\n anchor?: string;\n}\n\nexport enum Target {\n /** Opens the linked document in the same frame as it was clicked (this is default) */\n SELF = 'SELF',\n /** Opens the linked document in a new window or tab */\n BLANK = 'BLANK',\n /** Opens the linked document in the parent frame */\n PARENT = 'PARENT',\n /** Opens the linked document in the full body of the window */\n TOP = 'TOP',\n}\n\n/** @enumType */\nexport type TargetWithLiterals = Target | 'SELF' | 'BLANK' | 'PARENT' | 'TOP';\n\nexport interface Rel {\n /** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */\n nofollow?: boolean | null;\n /** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */\n sponsored?: boolean | null;\n /** 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`. */\n ugc?: boolean | null;\n /** Indicates that this link protect referral information from being passed to the target website. */\n noreferrer?: boolean | null;\n}\n\nexport interface CodeBlockData {\n /** Styling for the code block's text. */\n textStyle?: TextStyle;\n}\n\nexport interface TextStyle {\n /** Text alignment. Defaults to `AUTO`. */\n textAlignment?: TextAlignmentWithLiterals;\n /** 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. */\n lineHeight?: string | null;\n}\n\nexport enum TextAlignment {\n /** browser default, eqivalent to `initial` */\n AUTO = 'AUTO',\n /** Left align */\n LEFT = 'LEFT',\n /** Right align */\n RIGHT = 'RIGHT',\n /** Center align */\n CENTER = 'CENTER',\n /** 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 */\n JUSTIFY = 'JUSTIFY',\n}\n\n/** @enumType */\nexport type TextAlignmentWithLiterals =\n | TextAlignment\n | 'AUTO'\n | 'LEFT'\n | 'RIGHT'\n | 'CENTER'\n | 'JUSTIFY';\n\nexport interface DividerData {\n /** Styling for the divider's container. */\n containerData?: PluginContainerData;\n /** Divider line style. */\n lineStyle?: LineStyleWithLiterals;\n /** Divider width. */\n width?: WidthWithLiterals;\n /** Divider alignment. */\n alignment?: DividerDataAlignmentWithLiterals;\n}\n\nexport enum LineStyle {\n /** Single Line */\n SINGLE = 'SINGLE',\n /** Double Line */\n DOUBLE = 'DOUBLE',\n /** Dashed Line */\n DASHED = 'DASHED',\n /** Dotted Line */\n DOTTED = 'DOTTED',\n}\n\n/** @enumType */\nexport type LineStyleWithLiterals =\n | LineStyle\n | 'SINGLE'\n | 'DOUBLE'\n | 'DASHED'\n | 'DOTTED';\n\nexport enum Width {\n /** Large line */\n LARGE = 'LARGE',\n /** Medium line */\n MEDIUM = 'MEDIUM',\n /** Small line */\n SMALL = 'SMALL',\n}\n\n/** @enumType */\nexport type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';\n\nexport enum DividerDataAlignment {\n /** Center alignment */\n CENTER = 'CENTER',\n /** Left alignment */\n LEFT = 'LEFT',\n /** Right alignment */\n RIGHT = 'RIGHT',\n}\n\n/** @enumType */\nexport type DividerDataAlignmentWithLiterals =\n | DividerDataAlignment\n | 'CENTER'\n | 'LEFT'\n | 'RIGHT';\n\nexport interface FileData {\n /** Styling for the file's container. */\n containerData?: PluginContainerData;\n /** The source for the file's data. */\n src?: FileSource;\n /** File name. */\n name?: string | null;\n /** File type. */\n type?: string | null;\n /**\n * Use `sizeInKb` instead.\n * @deprecated\n */\n size?: number | null;\n /** Settings for PDF files. */\n pdfSettings?: PDFSettings;\n /** File MIME type. */\n mimeType?: string | null;\n /** File path. */\n path?: string | null;\n /** File size in KB. */\n sizeInKb?: string | null;\n}\n\nexport enum ViewMode {\n /** No PDF view */\n NONE = 'NONE',\n /** Full PDF view */\n FULL = 'FULL',\n /** Mini PDF view */\n MINI = 'MINI',\n}\n\n/** @enumType */\nexport type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';\n\nexport interface FileSource extends FileSourceDataOneOf {\n /** The absolute URL for the file's source. */\n url?: string | null;\n /**\n * Custom ID. Use `id` instead.\n * @deprecated\n */\n custom?: string | null;\n /** An ID that's resolved to a URL by a resolver function. */\n id?: string | null;\n /** Indicates whether the file's source is private. Defaults to `false`. */\n private?: boolean | null;\n}\n\n/** @oneof */\nexport interface FileSourceDataOneOf {\n /** The absolute URL for the file's source. */\n url?: string | null;\n /**\n * Custom ID. Use `id` instead.\n * @deprecated\n */\n custom?: string | null;\n /** An ID that's resolved to a URL by a resolver function. */\n id?: string | null;\n}\n\nexport interface PDFSettings {\n /**\n * PDF view mode. One of the following:\n * `NONE` : The PDF isn't displayed.\n * `FULL` : A full page view of the PDF is displayed.\n * `MINI` : A mini view of the PDF is displayed.\n */\n viewMode?: ViewModeWithLiterals;\n /** Sets whether the PDF download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Sets whether the PDF print button is disabled. Defaults to `false`. */\n disablePrint?: boolean | null;\n}\n\nexport interface GalleryData {\n /** Styling for the gallery's container. */\n containerData?: PluginContainerData;\n /** The items in the gallery. */\n items?: GalleryDataItem[];\n /** Options for defining the gallery's appearance. */\n options?: GalleryOptions;\n /** Sets whether the gallery's expand button is disabled. Defaults to `false`. */\n disableExpand?: boolean | null;\n /** Sets whether the gallery's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n}\n\nexport interface Media {\n /** The source for the media's data. */\n src?: FileSource;\n /** Media width in pixels. */\n width?: number | null;\n /** Media height in pixels. */\n height?: number | null;\n /** Media duration in seconds. Only relevant for audio and video files. */\n duration?: number | null;\n}\n\nexport interface Image {\n /** Image file details. */\n media?: Media;\n /** Link details for images that are links. */\n link?: V1Link;\n}\n\nexport interface Video {\n /** Video file details. */\n media?: Media;\n /** Video thumbnail file details. */\n thumbnail?: Media;\n}\n\nexport interface GalleryDataItem extends GalleryDataItemDataOneOf {\n /** An image item. */\n image?: Image;\n /** A video item. */\n video?: Video;\n /** Item title. */\n title?: string | null;\n /** Item's alternative text. */\n altText?: string | null;\n}\n\n/** @oneof */\nexport interface GalleryDataItemDataOneOf {\n /** An image item. */\n image?: Image;\n /** A video item. */\n video?: Video;\n}\n\nexport interface GalleryOptions {\n /** Gallery layout. */\n layout?: GalleryOptionsLayout;\n /** Styling for gallery items. */\n item?: ItemStyle;\n /** Styling for gallery thumbnail images. */\n thumbnails?: Thumbnails;\n}\n\nexport enum LayoutType {\n /** Collage type */\n COLLAGE = 'COLLAGE',\n /** Masonry type */\n MASONRY = 'MASONRY',\n /** Grid type */\n GRID = 'GRID',\n /** Thumbnail type */\n THUMBNAIL = 'THUMBNAIL',\n /** Slider type */\n SLIDER = 'SLIDER',\n /** Slideshow type */\n SLIDESHOW = 'SLIDESHOW',\n /** Panorama type */\n PANORAMA = 'PANORAMA',\n /** Column type */\n COLUMN = 'COLUMN',\n /** Magic type */\n MAGIC = 'MAGIC',\n /** Fullsize images type */\n FULLSIZE = 'FULLSIZE',\n}\n\n/** @enumType */\nexport type LayoutTypeWithLiterals =\n | LayoutType\n | 'COLLAGE'\n | 'MASONRY'\n | 'GRID'\n | 'THUMBNAIL'\n | 'SLIDER'\n | 'SLIDESHOW'\n | 'PANORAMA'\n | 'COLUMN'\n | 'MAGIC'\n | 'FULLSIZE';\n\nexport enum Orientation {\n /** Rows Orientation */\n ROWS = 'ROWS',\n /** Columns Orientation */\n COLUMNS = 'COLUMNS',\n}\n\n/** @enumType */\nexport type OrientationWithLiterals = Orientation | 'ROWS' | 'COLUMNS';\n\nexport enum Crop {\n /** Crop to fill */\n FILL = 'FILL',\n /** Crop to fit */\n FIT = 'FIT',\n}\n\n/** @enumType */\nexport type CropWithLiterals = Crop | 'FILL' | 'FIT';\n\nexport enum ThumbnailsAlignment {\n /** Top alignment */\n TOP = 'TOP',\n /** Right alignment */\n RIGHT = 'RIGHT',\n /** Bottom alignment */\n BOTTOM = 'BOTTOM',\n /** Left alignment */\n LEFT = 'LEFT',\n /** No thumbnail */\n NONE = 'NONE',\n}\n\n/** @enumType */\nexport type ThumbnailsAlignmentWithLiterals =\n | ThumbnailsAlignment\n | 'TOP'\n | 'RIGHT'\n | 'BOTTOM'\n | 'LEFT'\n | 'NONE';\n\nexport interface GalleryOptionsLayout {\n /** Gallery layout type. */\n type?: LayoutTypeWithLiterals;\n /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */\n horizontalScroll?: boolean | null;\n /** Gallery orientation. */\n orientation?: OrientationWithLiterals;\n /** The number of columns to display on full size screens. */\n numberOfColumns?: number | null;\n /** The number of columns to display on mobile screens. */\n mobileNumberOfColumns?: number | null;\n}\n\nexport interface ItemStyle {\n /** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */\n targetSize?: number | null;\n /** Item ratio */\n ratio?: number | null;\n /** Sets how item images are cropped. */\n crop?: CropWithLiterals;\n /** The spacing between items in pixels. */\n spacing?: number | null;\n}\n\nexport interface Thumbnails {\n /** Thumbnail alignment. */\n placement?: ThumbnailsAlignmentWithLiterals;\n /** Spacing between thumbnails in pixels. */\n spacing?: number | null;\n}\n\nexport interface GIFData {\n /** Styling for the GIF's container. */\n containerData?: PluginContainerData;\n /** The source of the full size GIF. */\n original?: GIF;\n /** The source of the downsized GIF. */\n downsized?: GIF;\n /** Height in pixels. */\n height?: number;\n /** Width in pixels. */\n width?: number;\n /** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */\n gifType?: GIFTypeWithLiterals;\n}\n\nexport interface GIF {\n /**\n * GIF format URL.\n * @format WEB_URL\n */\n gif?: string | null;\n /**\n * MP4 format URL.\n * @format WEB_URL\n */\n mp4?: string | null;\n /**\n * Thumbnail URL.\n * @format WEB_URL\n */\n still?: string | null;\n}\n\nexport enum GIFType {\n NORMAL = 'NORMAL',\n STICKER = 'STICKER',\n}\n\n/** @enumType */\nexport type GIFTypeWithLiterals = GIFType | 'NORMAL' | 'STICKER';\n\nexport interface HeadingData {\n /** Heading level from 1-6. */\n level?: number;\n /** Styling for the heading text. */\n textStyle?: TextStyle;\n /** Indentation level from 1-4. */\n indentation?: number | null;\n}\n\nexport interface HTMLData extends HTMLDataDataOneOf {\n /** The URL for the HTML code for the node. */\n url?: string;\n /** The HTML code for the node. */\n html?: string;\n /**\n * Whether this is an AdSense element. Use `source` instead.\n * @deprecated\n */\n isAdsense?: boolean | null;\n /** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */\n containerData?: PluginContainerData;\n /** The type of HTML code. */\n source?: SourceWithLiterals;\n /** If container height is aligned with its content height. Defaults to `true`. */\n autoHeight?: boolean | null;\n}\n\n/** @oneof */\nexport interface HTMLDataDataOneOf {\n /** The URL for the HTML code for the node. */\n url?: string;\n /** The HTML code for the node. */\n html?: string;\n /**\n * Whether this is an AdSense element. Use `source` instead.\n * @deprecated\n */\n isAdsense?: boolean | null;\n}\n\nexport enum Source {\n HTML = 'HTML',\n ADSENSE = 'ADSENSE',\n}\n\n/** @enumType */\nexport type SourceWithLiterals = Source | 'HTML' | 'ADSENSE';\n\nexport interface ImageData {\n /** Styling for the image's container. */\n containerData?: PluginContainerData;\n /** Image file details. */\n image?: Media;\n /** Link details for images that are links. */\n link?: V1Link;\n /** Sets whether the image expands to full screen when clicked. Defaults to `false`. */\n disableExpand?: boolean | null;\n /** Image's alternative text. */\n altText?: string | null;\n /**\n * Deprecated: use Caption node instead.\n * @deprecated\n */\n caption?: string | null;\n /** Sets whether the image's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Sets whether the image is decorative and does not need an explanation. Defaults to `false`. */\n decorative?: boolean | null;\n /** Styling for the image. */\n styles?: ImageDataStyles;\n}\n\nexport interface StylesBorder {\n /** Border width in pixels. */\n width?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n color?: string | null;\n /** Border radius in pixels. */\n radius?: number | null;\n}\n\nexport interface ImageDataStyles {\n /** Border attributes. */\n border?: StylesBorder;\n}\n\nexport interface LinkPreviewData {\n /** Styling for the link preview's container. */\n containerData?: PluginContainerData;\n /** Link details. */\n link?: V1Link;\n /** Preview title. */\n title?: string | null;\n /** Preview thumbnail URL. */\n thumbnailUrl?: string | null;\n /** Preview description. */\n description?: string | null;\n /** The preview content as HTML. */\n html?: string | null;\n /** Styling for the link preview. */\n styles?: LinkPreviewDataStyles;\n}\n\nexport enum StylesPosition {\n /** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n /** Thumbnail positioned at the top */\n TOP = 'TOP',\n /** Thumbnail hidden and not displayed */\n HIDDEN = 'HIDDEN',\n}\n\n/** @enumType */\nexport type StylesPositionWithLiterals =\n | StylesPosition\n | 'START'\n | 'END'\n | 'TOP'\n | 'HIDDEN';\n\nexport interface LinkPreviewDataStyles {\n /**\n * Background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Title color as a hexadecimal value.\n * @format COLOR_HEX\n */\n titleColor?: string | null;\n /**\n * Subtitle color as a hexadecimal value.\n * @format COLOR_HEX\n */\n subtitleColor?: string | null;\n /**\n * Link color as a hexadecimal value.\n * @format COLOR_HEX\n */\n linkColor?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /** Position of thumbnail. Defaults to `START`. */\n thumbnailPosition?: StylesPositionWithLiterals;\n}\n\nexport interface MapData {\n /** Styling for the map's container. */\n containerData?: PluginContainerData;\n /** Map settings. */\n mapSettings?: MapSettings;\n}\n\nexport interface MapSettings {\n /** The address to display on the map. */\n address?: string | null;\n /** Sets whether the map is draggable. */\n draggable?: boolean | null;\n /** Sets whether the location marker is visible. */\n marker?: boolean | null;\n /** Sets whether street view control is enabled. */\n streetViewControl?: boolean | null;\n /** Sets whether zoom control is enabled. */\n zoomControl?: boolean | null;\n /** Location latitude. */\n lat?: number | null;\n /** Location longitude. */\n lng?: number | null;\n /** Location name. */\n locationName?: string | null;\n /** Sets whether view mode control is enabled. */\n viewModeControl?: boolean | null;\n /** Initial zoom value. */\n initialZoom?: number | null;\n /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */\n mapType?: MapTypeWithLiterals;\n}\n\nexport enum MapType {\n /** Roadmap map type */\n ROADMAP = 'ROADMAP',\n /** Satellite map type */\n SATELITE = 'SATELITE',\n /** Hybrid map type */\n HYBRID = 'HYBRID',\n /** Terrain map type */\n TERRAIN = 'TERRAIN',\n}\n\n/** @enumType */\nexport type MapTypeWithLiterals =\n | MapType\n | 'ROADMAP'\n | 'SATELITE'\n | 'HYBRID'\n | 'TERRAIN';\n\nexport interface ParagraphData {\n /** Styling for the paragraph text. */\n textStyle?: TextStyle;\n /** Indentation level from 1-4. */\n indentation?: number | null;\n /** Paragraph level */\n level?: number | null;\n}\n\nexport interface PollData {\n /** Styling for the poll's container. */\n containerData?: PluginContainerData;\n /** Poll data. */\n poll?: Poll;\n /** Layout settings for the poll and voting options. */\n layout?: PollDataLayout;\n /** Styling for the poll and voting options. */\n design?: Design;\n}\n\nexport enum ViewRole {\n /** Only Poll creator can view the results */\n CREATOR = 'CREATOR',\n /** Anyone who voted can see the results */\n VOTERS = 'VOTERS',\n /** Anyone can see the results, even if one didn't vote */\n EVERYONE = 'EVERYONE',\n}\n\n/** @enumType */\nexport type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';\n\nexport enum VoteRole {\n /** Logged in member */\n SITE_MEMBERS = 'SITE_MEMBERS',\n /** Anyone */\n ALL = 'ALL',\n}\n\n/** @enumType */\nexport type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';\n\nexport interface Permissions {\n /** Sets who can view the poll results. */\n view?: ViewRoleWithLiterals;\n /** Sets who can vote. */\n vote?: VoteRoleWithLiterals;\n /** Sets whether one voter can vote multiple times. Defaults to `false`. */\n allowMultipleVotes?: boolean | null;\n}\n\nexport interface Option {\n /** Option ID. */\n id?: string | null;\n /** Option title. */\n title?: string | null;\n /** The image displayed with the option. */\n image?: Media;\n}\n\nexport interface PollSettings {\n /** Permissions settings for voting. */\n permissions?: Permissions;\n /** Sets whether voters are displayed in the vote results. Defaults to `true`. */\n showVoters?: boolean | null;\n /** Sets whether the vote count is displayed. Defaults to `true`. */\n showVotesCount?: boolean | null;\n}\n\nexport enum PollLayoutType {\n /** List */\n LIST = 'LIST',\n /** Grid */\n GRID = 'GRID',\n}\n\n/** @enumType */\nexport type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';\n\nexport enum PollLayoutDirection {\n /** Left-to-right */\n LTR = 'LTR',\n /** Right-to-left */\n RTL = 'RTL',\n}\n\n/** @enumType */\nexport type PollLayoutDirectionWithLiterals =\n | PollLayoutDirection\n | 'LTR'\n | 'RTL';\n\nexport interface PollLayout {\n /** The layout for displaying the voting options. */\n type?: PollLayoutTypeWithLiterals;\n /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */\n direction?: PollLayoutDirectionWithLiterals;\n /** Sets whether to display the main poll image. Defaults to `false`. */\n enableImage?: boolean | null;\n}\n\nexport interface OptionLayout {\n /** Sets whether to display option images. Defaults to `false`. */\n enableImage?: boolean | null;\n}\n\nexport enum BackgroundType {\n /** Color background type */\n COLOR = 'COLOR',\n /** Image background type */\n IMAGE = 'IMAGE',\n /** Gradiant background type */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type BackgroundTypeWithLiterals =\n | BackgroundType\n | 'COLOR'\n | 'IMAGE'\n | 'GRADIENT';\n\nexport interface Gradient {\n /** The gradient angle in degrees. */\n angle?: number | null;\n /**\n * The start color as a hexademical value.\n * @format COLOR_HEX\n */\n startColor?: string | null;\n /**\n * The end color as a hexademical value.\n * @format COLOR_HEX\n */\n lastColor?: string | null;\n}\n\nexport interface Background extends BackgroundBackgroundOneOf {\n /**\n * The background color as a hexademical value.\n * @format COLOR_HEX\n */\n color?: string | null;\n /** An image to use for the background. */\n image?: Media;\n /** Details for a gradient background. */\n gradient?: Gradient;\n /** Background type. For each option, include the relevant details. */\n type?: BackgroundTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface BackgroundBackgroundOneOf {\n /**\n * The background color as a hexademical value.\n * @format COLOR_HEX\n */\n color?: string | null;\n /** An image to use for the background. */\n image?: Media;\n /** Details for a gradient background. */\n gradient?: Gradient;\n}\n\nexport interface PollDesign {\n /** Background styling. */\n background?: Background;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface OptionDesign {\n /** Border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface Poll {\n /** Poll ID. */\n id?: string | null;\n /** Poll title. */\n title?: string | null;\n /** Poll creator ID. */\n creatorId?: string | null;\n /** Main poll image. */\n image?: Media;\n /** Voting options. */\n options?: Option[];\n /** The poll's permissions and display settings. */\n settings?: PollSettings;\n}\n\nexport interface PollDataLayout {\n /** Poll layout settings. */\n poll?: PollLayout;\n /** Voting otpions layout settings. */\n options?: OptionLayout;\n}\n\nexport interface Design {\n /** Styling for the poll. */\n poll?: PollDesign;\n /** Styling for voting options. */\n options?: OptionDesign;\n}\n\nexport interface TextData {\n /** The text to apply decorations to. */\n text?: string;\n /** The decorations to apply. */\n decorations?: Decoration[];\n}\n\n/** Adds appearence changes to text */\nexport interface Decoration extends DecorationDataOneOf {\n /** Data for an anchor link decoration. */\n anchorData?: AnchorData;\n /** Data for a color decoration. */\n colorData?: ColorData;\n /** Data for an external link decoration. */\n linkData?: LinkData;\n /** Data for a mention decoration. */\n mentionData?: MentionData;\n /** Data for a font size decoration. */\n fontSizeData?: FontSizeData;\n /** Font weight for a bold decoration. */\n fontWeightValue?: number | null;\n /** Data for an italic decoration. Defaults to `true`. */\n italicData?: boolean | null;\n /** Data for an underline decoration. Defaults to `true`. */\n underlineData?: boolean | null;\n /** Data for a spoiler decoration. */\n spoilerData?: SpoilerData;\n /** Data for a strikethrough decoration. Defaults to `true`. */\n strikethroughData?: boolean | null;\n /** Data for a superscript decoration. Defaults to `true`. */\n superscriptData?: boolean | null;\n /** Data for a subscript decoration. Defaults to `true`. */\n subscriptData?: boolean | null;\n /** The type of decoration to apply. */\n type?: DecorationTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface DecorationDataOneOf {\n /** Data for an anchor link decoration. */\n anchorData?: AnchorData;\n /** Data for a color decoration. */\n colorData?: ColorData;\n /** Data for an external link decoration. */\n linkData?: LinkData;\n /** Data for a mention decoration. */\n mentionData?: MentionData;\n /** Data for a font size decoration. */\n fontSizeData?: FontSizeData;\n /** Font weight for a bold decoration. */\n fontWeightValue?: number | null;\n /** Data for an italic decoration. Defaults to `true`. */\n italicData?: boolean | null;\n /** Data for an underline decoration. Defaults to `true`. */\n underlineData?: boolean | null;\n /** Data for a spoiler decoration. */\n spoilerData?: SpoilerData;\n /** Data for a strikethrough decoration. Defaults to `true`. */\n strikethroughData?: boolean | null;\n /** Data for a superscript decoration. Defaults to `true`. */\n superscriptData?: boolean | null;\n /** Data for a subscript decoration. Defaults to `true`. */\n subscriptData?: boolean | null;\n}\n\nexport enum DecorationType {\n BOLD = 'BOLD',\n ITALIC = 'ITALIC',\n UNDERLINE = 'UNDERLINE',\n SPOILER = 'SPOILER',\n ANCHOR = 'ANCHOR',\n MENTION = 'MENTION',\n LINK = 'LINK',\n COLOR = 'COLOR',\n FONT_SIZE = 'FONT_SIZE',\n EXTERNAL = 'EXTERNAL',\n STRIKETHROUGH = 'STRIKETHROUGH',\n SUPERSCRIPT = 'SUPERSCRIPT',\n SUBSCRIPT = 'SUBSCRIPT',\n}\n\n/** @enumType */\nexport type DecorationTypeWithLiterals =\n | DecorationType\n | 'BOLD'\n | 'ITALIC'\n | 'UNDERLINE'\n | 'SPOILER'\n | 'ANCHOR'\n | 'MENTION'\n | 'LINK'\n | 'COLOR'\n | 'FONT_SIZE'\n | 'EXTERNAL'\n | 'STRIKETHROUGH'\n | 'SUPERSCRIPT'\n | 'SUBSCRIPT';\n\nexport interface AnchorData {\n /** The target node's ID. */\n anchor?: string;\n}\n\nexport interface ColorData {\n /** The text's background color as a hexadecimal value. */\n background?: string | null;\n /** The text's foreground color as a hexadecimal value. */\n foreground?: string | null;\n}\n\nexport interface LinkData {\n /** Link details. */\n link?: V1Link;\n}\n\nexport interface MentionData {\n /** The mentioned user's name. */\n name?: string;\n /** The version of the user's name that appears after the `@` character in the mention. */\n slug?: string;\n /** Mentioned user's ID. */\n id?: string | null;\n}\n\nexport interface FontSizeData {\n /** The units used for the font size. */\n unit?: FontTypeWithLiterals;\n /** Font size value. */\n value?: number | null;\n}\n\nexport enum FontType {\n PX = 'PX',\n EM = 'EM',\n}\n\n/** @enumType */\nexport type FontTypeWithLiterals = FontType | 'PX' | 'EM';\n\nexport interface SpoilerData {\n /** Spoiler ID. */\n id?: string | null;\n}\n\nexport interface AppEmbedData extends AppEmbedDataAppDataOneOf {\n /** Data for embedded Wix Bookings content. */\n bookingData?: BookingData;\n /** Data for embedded Wix Events content. */\n eventData?: EventData;\n /** The type of Wix App content being embedded. */\n type?: AppTypeWithLiterals;\n /** The ID of the embedded content. */\n itemId?: string | null;\n /** The name of the embedded content. */\n name?: string | null;\n /**\n * Deprecated: Use `image` instead.\n * @deprecated\n */\n imageSrc?: string | null;\n /** The URL for the embedded content. */\n url?: string | null;\n /** An image for the embedded content. */\n image?: Media;\n /** Whether to hide the image. */\n hideImage?: boolean | null;\n /** Whether to hide the title. */\n hideTitle?: boolean | null;\n /** Whether to hide the price. */\n hidePrice?: boolean | null;\n /** Whether to hide the description (Event and Booking). */\n hideDescription?: boolean | null;\n /** Whether to hide the date and time (Event). */\n hideDateTime?: boolean | null;\n /** Whether to hide the location (Event). */\n hideLocation?: boolean | null;\n /** Whether to hide the duration (Booking). */\n hideDuration?: boolean | null;\n /** Whether to hide the button. */\n hideButton?: boolean | null;\n /** Whether to hide the ribbon. */\n hideRibbon?: boolean | null;\n /** Button styling options. */\n buttonStyles?: ButtonStyles;\n /** Image styling options. */\n imageStyles?: ImageStyles;\n /** Ribbon styling options. */\n ribbonStyles?: RibbonStyles;\n /** Card styling options. */\n cardStyles?: CardStyles;\n /** Styling for the app embed's container. */\n containerData?: PluginContainerData;\n /** Pricing data for embedded Wix App content. */\n pricingData?: PricingData;\n}\n\n/** @oneof */\nexport interface AppEmbedDataAppDataOneOf {\n /** Data for embedded Wix Bookings content. */\n bookingData?: BookingData;\n /** Data for embedded Wix Events content. */\n eventData?: EventData;\n}\n\nexport enum Position {\n /** Image positioned at the start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Image positioned at the end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n /** Image positioned at the top */\n TOP = 'TOP',\n}\n\n/** @enumType */\nexport type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';\n\nexport enum AspectRatio {\n /** 1:1 aspect ratio */\n SQUARE = 'SQUARE',\n /** 16:9 aspect ratio */\n RECTANGLE = 'RECTANGLE',\n}\n\n/** @enumType */\nexport type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';\n\nexport enum Resizing {\n /** Fill the container, may crop the image */\n FILL = 'FILL',\n /** Fit the image within the container */\n FIT = 'FIT',\n}\n\n/** @enumType */\nexport type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';\n\nexport enum Placement {\n /** Ribbon placed on the image */\n IMAGE = 'IMAGE',\n /** Ribbon placed on the product information */\n PRODUCT_INFO = 'PRODUCT_INFO',\n}\n\n/** @enumType */\nexport type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';\n\nexport enum CardStylesType {\n /** Card with visible border and background */\n CONTAINED = 'CONTAINED',\n /** Card without visible border */\n FRAMELESS = 'FRAMELESS',\n}\n\n/** @enumType */\nexport type CardStylesTypeWithLiterals =\n | CardStylesType\n | 'CONTAINED'\n | 'FRAMELESS';\n\nexport enum Alignment {\n /** Content aligned to start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Content centered */\n CENTER = 'CENTER',\n /** Content aligned to end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n}\n\n/** @enumType */\nexport type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';\n\nexport enum Layout {\n /** Elements stacked vertically */\n STACKED = 'STACKED',\n /** Elements arranged horizontally */\n SIDE_BY_SIDE = 'SIDE_BY_SIDE',\n}\n\n/** @enumType */\nexport type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';\n\nexport enum AppType {\n PRODUCT = 'PRODUCT',\n EVENT = 'EVENT',\n BOOKING = 'BOOKING',\n}\n\n/** @enumType */\nexport type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';\n\nexport interface BookingData {\n /** Booking duration in minutes. */\n durations?: string | null;\n}\n\nexport interface EventData {\n /** Event schedule. */\n scheduling?: string | null;\n /** Event location. */\n location?: string | null;\n}\n\nexport interface ButtonStyles {\n /** Text to display on the button. */\n buttonText?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n textColor?: string | null;\n /**\n * Background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Border color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n borderColorHover?: string | null;\n /**\n * Text color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n textColorHover?: string | null;\n /**\n * Background color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n backgroundColorHover?: string | null;\n /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */\n buttonSize?: string | null;\n}\n\nexport interface ImageStyles {\n /** Whether to hide the image. */\n hideImage?: boolean | null;\n /** Position of image. Defaults to `START`. */\n imagePosition?: PositionWithLiterals;\n /** Aspect ratio for the image. Defaults to `SQUARE`. */\n aspectRatio?: AspectRatioWithLiterals;\n /** How the image should be resized. Defaults to `FILL`. */\n resizing?: ResizingWithLiterals;\n /**\n * Image border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /** Image border width in pixels. */\n borderWidth?: number | null;\n /** Image border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface RibbonStyles {\n /** Text to display on the ribbon. */\n ribbonText?: string | null;\n /**\n * Ribbon background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Ribbon text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n textColor?: string | null;\n /**\n * Ribbon border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /** Ribbon border width in pixels. */\n borderWidth?: number | null;\n /** Ribbon border radius in pixels. */\n borderRadius?: number | null;\n /** Placement of the ribbon. Defaults to `IMAGE`. */\n ribbonPlacement?: PlacementWithLiterals;\n}\n\nexport interface CardStyles {\n /**\n * Card background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Card border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /** Card border width in pixels. */\n borderWidth?: number | null;\n /** Card border radius in pixels. */\n borderRadius?: number | null;\n /** Card type. Defaults to `CONTAINED`. */\n type?: CardStylesTypeWithLiterals;\n /** Content alignment. Defaults to `START`. */\n alignment?: AlignmentWithLiterals;\n /** Layout for title and price. Defaults to `STACKED`. */\n titlePriceLayout?: LayoutWithLiterals;\n /**\n * Title text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n titleColor?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n textColor?: string | null;\n}\n\nexport interface PricingData {\n /**\n * Minimum numeric price value as string (e.g., \"10.99\").\n * @decimalValue options { maxScale:2 }\n */\n valueFrom?: string | null;\n /**\n * Maximum numeric price value as string (e.g., \"19.99\").\n * @decimalValue options { maxScale:2 }\n */\n valueTo?: string | null;\n /**\n * Numeric price value as string after discount application (e.g., \"15.99\").\n * @decimalValue options { maxScale:2 }\n */\n discountedValue?: string | null;\n /**\n * Currency of the value in ISO 4217 format (e.g., \"USD\", \"EUR\").\n * @format CURRENCY\n */\n currency?: string | null;\n /**\n * Pricing plan ID.\n * @format GUID\n */\n pricingPlanId?: string | null;\n}\n\nexport interface VideoData {\n /** Styling for the video's container. */\n containerData?: PluginContainerData;\n /** Video details. */\n video?: Media;\n /** Video thumbnail details. */\n thumbnail?: Media;\n /** Sets whether the video's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Video title. */\n title?: string | null;\n /** Video options. */\n options?: PlaybackOptions;\n}\n\nexport interface PlaybackOptions {\n /** Sets whether the media will automatically start playing. */\n autoPlay?: boolean | null;\n /** Sets whether media's will be looped. */\n playInLoop?: boolean | null;\n /** Sets whether media's controls will be shown. */\n showControls?: boolean | null;\n}\n\nexport interface EmbedData {\n /** Styling for the oEmbed node's container. */\n containerData?: PluginContainerData;\n /** An [oEmbed](https://www.oembed.com) object. */\n oembed?: Oembed;\n /** Origin asset source. */\n src?: string | null;\n}\n\nexport interface Oembed {\n /** The resource type. */\n type?: string | null;\n /** The width of the resource specified in the `url` property in pixels. */\n width?: number | null;\n /** The height of the resource specified in the `url` property in pixels. */\n height?: number | null;\n /** Resource title. */\n title?: string | null;\n /** The source URL for the resource. */\n url?: string | null;\n /** HTML for embedding a video player. The HTML should have no padding or margins. */\n html?: string | null;\n /** The name of the author or owner of the resource. */\n authorName?: string | null;\n /** The URL for the author or owner of the resource. */\n authorUrl?: string | null;\n /** The name of the resource provider. */\n providerName?: string | null;\n /** The URL for the resource provider. */\n providerUrl?: string | null;\n /** The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined. */\n thumbnailUrl?: string | null;\n /** The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined. */\n thumbnailWidth?: string | null;\n /** The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined. */\n thumbnailHeight?: string | null;\n /** The URL for an embedded viedo. */\n videoUrl?: string | null;\n /** The oEmbed version number. This value must be `1.0`. */\n version?: string | null;\n}\n\nexport interface CollapsibleListData {\n /** Styling for the collapsible list's container. */\n containerData?: PluginContainerData;\n /** If `true`, only one item can be expanded at a time. Defaults to `false`. */\n expandOnlyOne?: boolean | null;\n /** Sets which items are expanded when the page loads. */\n initialExpandedItems?: InitialExpandedItemsWithLiterals;\n /** The direction of the text in the list. Either left-to-right or right-to-left. */\n direction?: DirectionWithLiterals;\n /** If `true`, The collapsible item will appear in search results as an FAQ. */\n isQapageData?: boolean | null;\n}\n\nexport enum InitialExpandedItems {\n /** First item will be expended initally */\n FIRST = 'FIRST',\n /** All items will expended initally */\n ALL = 'ALL',\n /** All items collapsed initally */\n NONE = 'NONE',\n}\n\n/** @enumType */\nexport type InitialExpandedItemsWithLiterals =\n | InitialExpandedItems\n | 'FIRST'\n | 'ALL'\n | 'NONE';\n\nexport enum Direction {\n /** Left-to-right */\n LTR = 'LTR',\n /** Right-to-left */\n RTL = 'RTL',\n}\n\n/** @enumType */\nexport type DirectionWithLiterals = Direction | 'LTR' | 'RTL';\n\nexport interface TableData {\n /** Styling for the table's container. */\n containerData?: PluginContainerData;\n /** The table's dimensions. */\n dimensions?: Dimensions;\n /**\n * Deprecated: Use `rowHeader` and `columnHeader` instead.\n * @deprecated\n */\n header?: boolean | null;\n /** Sets whether the table's first row is a header. Defaults to `false`. */\n rowHeader?: boolean | null;\n /** Sets whether the table's first column is a header. Defaults to `false`. */\n columnHeader?: boolean | null;\n}\n\nexport interface Dimensions {\n /** An array representing relative width of each column in relation to the other columns. */\n colsWidthRatio?: number[];\n /** An array representing the height of each row in pixels. */\n rowsHeight?: number[];\n /** An array representing the minimum width of each column in pixels. */\n colsMinWidth?: number[];\n}\n\nexport interface TableCellData {\n /** Styling for the cell's background color and text alignment. */\n cellStyle?: CellStyle;\n /** The cell's border colors. */\n borderColors?: BorderColors;\n}\n\nexport enum VerticalAlignment {\n /** Top alignment */\n TOP = 'TOP',\n /** Middle alignment */\n MIDDLE = 'MIDDLE',\n /** Bottom alignment */\n BOTTOM = 'BOTTOM',\n}\n\n/** @enumType */\nexport type VerticalAlignmentWithLiterals =\n | VerticalAlignment\n | 'TOP'\n | 'MIDDLE'\n | 'BOTTOM';\n\nexport interface CellStyle {\n /** Vertical alignment for the cell's text. */\n verticalAlignment?: VerticalAlignmentWithLiterals;\n /**\n * Cell background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n}\n\nexport interface BorderColors {\n /**\n * Left border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n left?: string | null;\n /**\n * Right border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n right?: string | null;\n /**\n * Top border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n top?: string | null;\n /**\n * Bottom border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n bottom?: string | null;\n}\n\n/**\n * `NullValue` is a singleton enumeration to represent the null value for the\n * `Value` type union.\n *\n * The JSON representation for `NullValue` is JSON `null`.\n */\nexport enum NullValue {\n /** Null value. */\n NULL_VALUE = 'NULL_VALUE',\n}\n\n/** @enumType */\nexport type NullValueWithLiterals = NullValue | 'NULL_VALUE';\n\n/**\n * `ListValue` is a wrapper around a repeated field of values.\n *\n * The JSON representation for `ListValue` is JSON array.\n */\nexport interface ListValue {\n /** Repeated field of dynamically typed values. */\n values?: any[];\n}\n\nexport interface AudioData {\n /** Styling for the audio node's container. */\n containerData?: PluginContainerData;\n /** Audio file details. */\n audio?: Media;\n /** Sets whether the audio node's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Cover image. */\n coverImage?: Media;\n /** Track name. */\n name?: string | null;\n /** Author name. */\n authorName?: string | null;\n /** An HTML version of the audio node. */\n html?: string | null;\n}\n\nexport interface OrderedListData {\n /** Indentation level from 0-4. */\n indentation?: number;\n /** Offset level from 0-4. */\n offset?: number | null;\n /** List start number. */\n start?: number | null;\n}\n\nexport interface BulletedListData {\n /** Indentation level from 0-4. */\n indentation?: number;\n /** Offset level from 0-4. */\n offset?: number | null;\n}\n\nexport interface BlockquoteData {\n /** Indentation level from 1-4. */\n indentation?: number;\n}\n\nexport interface CaptionData {\n textStyle?: TextStyle;\n}\n\nexport interface LayoutCellData {\n /** Size of the cell in 12 columns grid. */\n colSpan?: number | null;\n}\n\nexport interface Metadata {\n /** Schema version. */\n version?: number;\n /**\n * When the object was created.\n * @readonly\n * @deprecated\n */\n createdTimestamp?: Date | null;\n /**\n * When the object was most recently updated.\n * @deprecated\n */\n updatedTimestamp?: Date | null;\n /** Object ID. */\n _id?: string | null;\n}\n\nexport interface DocumentStyle {\n /** Styling for H1 nodes. */\n headerOne?: TextNodeStyle;\n /** Styling for H2 nodes. */\n headerTwo?: TextNodeStyle;\n /** Styling for H3 nodes. */\n headerThree?: TextNodeStyle;\n /** Styling for H4 nodes. */\n headerFour?: TextNodeStyle;\n /** Styling for H5 nodes. */\n headerFive?: TextNodeStyle;\n /** Styling for H6 nodes. */\n headerSix?: TextNodeStyle;\n /** Styling for paragraph nodes. */\n paragraph?: TextNodeStyle;\n /** Styling for block quote nodes. */\n blockquote?: TextNodeStyle;\n /** Styling for code block nodes. */\n codeBlock?: TextNodeStyle;\n}\n\nexport interface TextNodeStyle {\n /** The decorations to apply to the node. */\n decorations?: Decoration[];\n /** Padding and background color for the node. */\n nodeStyle?: NodeStyle;\n /** Line height for text in the node. */\n lineHeight?: string | null;\n}\n\nexport interface Badge {\n /** Badge type. */\n type?: TypeWithLiterals;\n /**\n * Badge text.\n * @maxLength 50\n */\n text?: string | null;\n}\n\nexport enum Type {\n /** Unknown badge type. */\n UNKNOWN_BADGE_TYPE = 'UNKNOWN_BADGE_TYPE',\n /** 1st priority badge type. */\n FIRST_PRIORITY = 'FIRST_PRIORITY',\n /** 2nd priority badge type. */\n SECOND_PRIORITY = 'SECOND_PRIORITY',\n /** 3rd priority badge type. */\n THIRD_PRIORITY = 'THIRD_PRIORITY',\n}\n\n/** @enumType */\nexport type TypeWithLiterals =\n | Type\n | 'UNKNOWN_BADGE_TYPE'\n | 'FIRST_PRIORITY'\n | 'SECOND_PRIORITY'\n | 'THIRD_PRIORITY';\n\n/** Triggered when an order is confirmed. */\nexport interface OrderConfirmed {\n /** Date and time the order was confirmed. */\n timestamp?: Date | null;\n /**\n * Site language when the order was initiated.\n * @format LANGUAGE\n */\n language?: string | null;\n /** Notifications silenced for this domain event. */\n silent?: boolean | null;\n /**\n * Locale in which the order was created.\n * @format LANGUAGE_TAG\n */\n locale?: string | null;\n /**\n * Event ID to which the order belongs.\n * @format GUID\n */\n eventId?: string;\n /** Unique order number. */\n orderNumber?: string;\n /** Contact ID associated with the order. */\n contactId?: string;\n /**\n * Member ID associated with the order.\n * @format GUID\n */\n memberId?: string | null;\n /**\n * Date and time the order was created.\n * @readonly\n */\n created?: Date | null;\n /** Buyer first name. */\n firstName?: string;\n /** Buyer last name. */\n lastName?: string;\n /** Buyer email address. */\n email?: string;\n /** Checkout form response. */\n checkoutForm?: FormResponse;\n /** Order status. */\n status?: OrderStatusWithLiterals;\n /** Payment method used for paid tickets purchase, i.e. \"payPal\", \"creditCard\", etc. */\n method?: string | null;\n /** Tickets (generated after payment). */\n tickets?: Ticket[];\n /** Invoice. */\n invoice?: Invoice;\n /** Reservation ID associated with the order. */\n reservationId?: string;\n}\n\nexport interface FormResponse {\n /**\n * Form field inputs.\n * @maxSize 200\n */\n inputValues?: InputValue[];\n}\n\nexport interface InputValue {\n /**\n * Form field input name.\n * @maxLength 100\n */\n inputName?: string;\n /**\n * Form field value.\n * @maxLength 5000\n */\n value?: string;\n /**\n * Form field values.\n * @maxSize 100\n * @maxLength 5000\n */\n values?: string[];\n}\n\nexport interface FormattedAddress {\n /**\n * 1-line address representation.\n * @maxLength 200\n */\n formatted?: string;\n /** Address components. */\n address?: CommonAddress;\n}\n\n/** Physical address */\nexport interface CommonAddress extends CommonAddressStreetOneOf {\n /** Street name and number. */\n streetAddress?: CommonStreetAddress;\n /** Main address line, usually street and number as free text. */\n addressLine1?: string | null;\n /**\n * Country code.\n * @format COUNTRY\n */\n country?: string | null;\n /** Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY */\n subdivision?: string | null;\n /** City name. */\n city?: string | null;\n /** Zip/postal code. */\n postalCode?: string | null;\n /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */\n addressLine2?: string | null;\n}\n\n/** @oneof */\nexport interface CommonAddressStreetOneOf {\n /** Street name and number. */\n streetAddress?: CommonStreetAddress;\n /** Main address line, usually street and number as free text. */\n addressLine?: string | null;\n}\n\nexport interface CommonStreetAddress {\n /** Street number. */\n number?: string;\n /** Street name. */\n name?: string;\n}\n\nexport interface CommonAddressLocation {\n /** Address latitude. */\n latitude?: number | null;\n /** Address longitude. */\n longitude?: number | null;\n}\n\nexport interface CommonSubdivision {\n /** Short subdivision code. */\n code?: string;\n /** Subdivision full name. */\n name?: string;\n}\n\n/** Subdivision Concordance values */\nexport interface StandardDetails {\n /**\n * subdivision iso-3166-2 code according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). e.g. US-NY, GB-SCT, NO-30\n * @maxLength 20\n */\n iso31662?: string | null;\n}\n\nexport enum OrderStatus {\n /** Order status isn't available for this request fieldset. */\n NA_ORDER_STATUS = 'NA_ORDER_STATUS',\n /** Order is confirmed, no payment is required. */\n FREE = 'FREE',\n /** Order was paid, but the payment gateway suspended the payment. */\n PENDING = 'PENDING',\n /** Order is paid. */\n PAID = 'PAID',\n /** Order is confirmed but must be paid via offline payment. Status needs to be manually updated to `\"PAID\"`. */\n OFFLINE_PENDING = 'OFFLINE_PENDING',\n /** Order is waiting for payment at the cashier. */\n INITIATED = 'INITIATED',\n /** Order is canceled. */\n CANCELED = 'CANCELED',\n /** Order payment is declined. */\n DECLINED = 'DECLINED',\n /** Order payment is authorized. */\n AUTHORIZED = 'AUTHORIZED',\n /** Order payment is voided. */\n VOIDED = 'VOIDED',\n /** Order is partially paid with less than the total amount. */\n PARTIALLY_PAID = 'PARTIALLY_PAID',\n}\n\n/** @enumType */\nexport type OrderStatusWithLiterals =\n | OrderStatus\n | 'NA_ORDER_STATUS'\n | 'FREE'\n | 'PENDING'\n | 'PAID'\n | 'OFFLINE_PENDING'\n | 'INITIATED'\n | 'CANCELED'\n | 'DECLINED'\n | 'AUTHORIZED'\n | 'VOIDED'\n | 'PARTIALLY_PAID';\n\nexport interface Ticket {\n /** Unique issued ticket number. */\n ticketNumber?: string;\n /**\n * Ticket definition ID.\n * @format GUID\n */\n ticketDefinitionId?: string;\n /** Ticket check-in. */\n checkIn?: CheckIn;\n /** Ticket price. */\n price?: Money;\n /** Whether ticket is archived. */\n archived?: boolean;\n /** Guest first name. */\n firstName?: string | null;\n /** Guest last name. */\n lastName?: string | null;\n /** Guest email. */\n email?: string | null;\n /**\n * Contact ID associated with this ticket.\n * @format GUID\n */\n contactId?: string | null;\n /** Whether ticket is confirmed */\n confirmed?: boolean;\n /**\n * Member ID associated with this ticket.\n * @format GUID\n */\n memberId?: string | null;\n /** Ticket form response (only assigned tickets contain separate forms). */\n form?: FormResponse;\n /** Ticket name. */\n ticketName?: string;\n /** Anonymized tickets no longer contain personally identifiable information (PII). */\n anonymized?: boolean;\n /** URL and password to online conference */\n onlineConferencingLogin?: OnlineConferencingLogin;\n /**\n * Seat ID associated with this ticket.\n * @maxLength 36\n */\n seatId?: string | null;\n /** Whether ticket is canceled. */\n canceled?: boolean | null;\n}\n\nexport interface CheckIn {\n /** Time of a ticket's check-in. */\n created?: Date | null;\n}\n\nexport interface OnlineConferencingLogin {\n /**\n * Link URL to the online conference.\n * @format WEB_URL\n * @readonly\n */\n link?: string;\n /**\n * Password for the online conference.\n * @readonly\n */\n password?: string | null;\n}\n\nexport interface Invoice {\n items?: Item[];\n /**\n * Total cart amount.\n * @deprecated\n */\n total?: Money;\n /** Discount applied to a cart. */\n discount?: Discount;\n /** Tax applied to a cart. */\n tax?: Tax;\n /** Total cart amount before discount, tax, and fees. */\n subTotal?: Money;\n /**\n * Total amount of a cart after discount, tax, and fees.\n * Grand total is calculated in the following order:\n * 1. Total prices of all items in the cart are calculated.\n * 2. Discount is subtracted from the cart, if applicable.\n * 3. Tax is added, if applicable.\n * 4. Wix ticket service fee is added.\n */\n grandTotal?: Money;\n /**\n * Fees applied to the cart.\n * @readonly\n */\n fees?: Fee[];\n /** Total revenue, excluding fees. Taxes and payment provider fees aren't deducted. */\n revenue?: Money;\n /** Invoice preview URL. Only returned if the order is paid. */\n previewUrl?: string | null;\n}\n\nexport interface Item {\n /**\n * Unique line item ID.\n * @format GUID\n */\n _id?: string;\n /**\n * Line item quantity.\n * @min 1\n * @max 50\n */\n quantity?: number;\n /** Line item name. */\n name?: string;\n /** Line item price. */\n price?: Money;\n /** Total price for line items. Always equal to price * quantity. */\n total?: Money;\n /** Discount applied to the line item. */\n discount?: Discount;\n /** Tax applied to the item. */\n tax?: Tax;\n /**\n * Fees applied to the item.\n * @readonly\n */\n fees?: Fee[];\n}\n\nexport interface Discount {\n /** Total discount amount. */\n amount?: Money;\n /** Total sum after the discount. */\n afterDiscount?: Money;\n /**\n * Discount coupon code.\n * @deprecated\n */\n code?: string;\n /**\n * Discount coupon name.\n * @deprecated\n */\n name?: string;\n /**\n * Discount coupon ID.\n * @deprecated\n */\n couponId?: string;\n /** Discount items. */\n discounts?: DiscountItem[];\n}\n\nexport interface DiscountItem extends DiscountItemDiscountOneOf {\n /** Coupon discount. */\n coupon?: CouponDiscount;\n /** Pricing plan discount. */\n paidPlan?: PaidPlanDiscount;\n /** Total discount amount. */\n amount?: Money;\n}\n\n/** @oneof */\nexport interface DiscountItemDiscountOneOf {\n /** Coupon discount. */\n coupon?: CouponDiscount;\n /** Pricing plan discount. */\n paidPlan?: PaidPlanDiscount;\n}\n\nexport interface CouponDiscount {\n /** Discount coupon name. **Deprecated:** Use `invoice.discounts.coupon.name` instead. */\n name?: string;\n /** Discount coupon code. **Deprecated:** Use `invoice.discounts.coupon.code` instead. */\n code?: string;\n /** Discount coupon ID. **Deprecated:** Use `invoice.discounts.coupon.couponId` instead. */\n couponId?: string;\n}\n\nexport interface PaidPlanDiscount extends PaidPlanDiscountDiscountOneOf {\n /** Discount by percentage applied to tickets. */\n percentDiscount?: PercentDiscount;\n /** Name of pricing plan. */\n name?: string;\n}\n\n/** @oneof */\nexport interface PaidPlanDiscountDiscountOneOf {\n /** Discount by percentage applied to tickets. */\n percentDiscount?: PercentDiscount;\n}\n\nexport interface PercentDiscount {\n /**\n * Percent rate.\n * @decimalValue options { gte:0.01, lte:100, maxScale:2 }\n */\n rate?: string;\n /** Number of discounted tickets. */\n quantityDiscounted?: number;\n}\n\nexport interface Tax {\n /** Tax type. */\n type?: TaxTypeWithLiterals;\n /**\n * Tax name.\n * @readonly\n */\n name?: string;\n /**\n * Tax rate.\n * @format DECIMAL_VALUE\n */\n rate?: string;\n /** Taxable amount. */\n taxable?: Money;\n /** Total tax amount. */\n amount?: Money;\n}\n\nexport interface Fee {\n /** Fee identifier. */\n name?: FeeNameWithLiterals;\n /** How fee is calculated. */\n type?: FeeTypeWithLiterals;\n /**\n * Fee rate.\n * @format DECIMAL_VALUE\n * @readonly\n */\n rate?: string;\n /** Total amount of fee charges. */\n amount?: Money;\n}\n\nexport enum FeeName {\n /** Wix ticket service fee charges applied to the line item. */\n WIX_FEE = 'WIX_FEE',\n}\n\n/** @enumType */\nexport type FeeNameWithLiterals = FeeName | 'WIX_FEE';\n\nexport enum FeeType {\n /** Fee is added to the ticket price at checkout. */\n FEE_ADDED = 'FEE_ADDED',\n /** Seller absorbs the fee. It's deducted from the ticket price. */\n FEE_INCLUDED = 'FEE_INCLUDED',\n /** Fee is added to the ticket price at checkout. */\n FEE_ADDED_AT_CHECKOUT = 'FEE_ADDED_AT_CHECKOUT',\n}\n\n/** @enumType */\nexport type FeeTypeWithLiterals =\n | FeeType\n | 'FEE_ADDED'\n | 'FEE_INCLUDED'\n | 'FEE_ADDED_AT_CHECKOUT';\n\n/** Produced if a buyer email was added to the existing order */\nexport interface OrderEmailAdded {\n /** Order updated timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Site language when Order initiated\n * @format LANGUAGE\n */\n language?: string | null;\n /**\n * Locale in which Order was created.\n * @format LANGUAGE_TAG\n */\n locale?: string | null;\n /** Notifications silenced for this domain event. */\n silent?: boolean | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /**\n * Unique order number.\n * @maxLength 36\n */\n orderNumber?: string;\n /**\n * Contact ID associated with this order.\n * @format GUID\n */\n contactId?: string | null;\n /**\n * Member ID associated with this order.\n * @format GUID\n */\n memberId?: string | null;\n /**\n * Order created timestamp.\n * @readonly\n */\n created?: Date | null;\n /**\n * Order updated timestamp.\n * @readonly\n */\n updated?: Date | null;\n /**\n * Buyer first name.\n * @maxLength 255\n */\n firstName?: string | null;\n /**\n * Buyer last name.\n * @maxLength 255\n */\n lastName?: string | null;\n /**\n * Buyer email.\n * @format EMAIL\n */\n email?: string | null;\n /** Checkout form response. */\n checkoutForm?: FormResponse;\n /** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */\n confirmed?: boolean;\n /** Order status. */\n status?: OrderStatusWithLiterals;\n /**\n * Payment method used for paid tickets purchase, i.e. \"payPal\", \"creditCard\", etc.\n * @maxLength 100\n */\n method?: string | null;\n /**\n * Tickets generated after payment.\n * @maxSize 50\n */\n tickets?: Ticket[];\n /** Whether order was archived and excluded from results. */\n archived?: boolean;\n /**\n * Reservation ID associated with this order.\n * @format GUID\n */\n reservationId?: string;\n /** Whether marketing consent was given. */\n marketingConsent?: boolean | null;\n}\n\nexport interface EventCanceled {\n /** Event canceled timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event title */\n title?: string;\n /**\n * Event creator user ID.\n * @format GUID\n */\n userId?: string | null;\n /** True if at least one guest is registered to the event with any attendance status. */\n hasGuests?: boolean | null;\n}\n\nexport interface EventReminder {\n /** Reminder timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event location. */\n location?: Location;\n /** Event schedule configuration. */\n scheduleConfig?: ScheduleConfig;\n /** Event title. */\n title?: string;\n /**\n * Event creator user ID.\n * @format GUID\n */\n userId?: string | null;\n /** Time until the event starts (currently, reminder is triggered 1 day before event starts). */\n startsIn?: TimeDuration;\n /** True if at least one guest is registered to the event with any attendance status. */\n hasGuests?: boolean | null;\n}\n\n/**\n * A coarse-grained representation of time duration divided into whole constituting components of days, hours, and minutes.\n * For example, 25.5 hours duration is represented as `{ days: 1, hours: 1, minutes: 30 }`.\n */\nexport interface TimeDuration {\n /** Number of days. */\n days?: number;\n /**\n * Number of hours.\n * @max 24\n */\n hours?: number;\n /**\n * Number of minutes.\n * @max 60\n */\n minutes?: number;\n}\n\n/** Triggered when an order is paid. */\nexport interface OrderPaid {\n /** Date and time the order was paid. */\n timestamp?: Date | null;\n /**\n * Site language when the order was initiated.\n * @format LANGUAGE\n */\n language?: string | null;\n /** Notifications silenced for this domain event. */\n silent?: boolean | null;\n /**\n * Locale in which the order was created.\n * @format LANGUAGE_TAG\n */\n locale?: string | null;\n /**\n * Event ID to which the order belongs.\n * @format GUID\n */\n eventId?: string;\n /** Unique order number. */\n orderNumber?: string;\n /** Reservation ID associated with this order. */\n reservationId?: string;\n /**\n * Contact ID associated with this order.\n * @maxLength 36\n */\n contactId?: string;\n /**\n * Member ID associated with this order.\n * @format GUID\n */\n memberId?: string | null;\n /**\n * Date and time the order was created.\n * @readonly\n */\n created?: Date | null;\n /**\n * Buyer first name.\n * @maxLength 255\n */\n firstName?: string;\n /**\n * Buyer last name.\n * @maxLength 255\n */\n lastName?: string;\n /**\n * Buyer email address.\n * @maxLength 255\n */\n email?: string;\n /** Checkout form response. */\n checkoutForm?: FormResponse;\n /** Order status. */\n status?: OrderStatusWithLiterals;\n /**\n * Payment method used for paid tickets purchase, i.e. \"payPal\", \"creditCard\", etc.\n * @maxLength 255\n */\n method?: string | null;\n /**\n * Tickets (generated after payment).\n * @maxSize 50\n */\n tickets?: Ticket[];\n /** Invoice. */\n invoice?: Invoice;\n}\n\nexport interface TicketPdfResolved {\n /**\n * Optional order number\n * @maxLength 36\n */\n orderNumber?: string | null;\n /**\n * Optional ticket number\n * @maxLength 36\n */\n ticketNumber?: string | null;\n /**\n * Resolved download url\n * @format WEB_URL\n */\n downloadUrl?: string | null;\n /** Resolve status */\n resolveFailed?: boolean | null;\n /**\n * Papyrus document id\n * @format GUID\n */\n documentId?: string | null;\n}\n\nexport interface TicketPdfResolveDelayed {\n /**\n * Optional order number\n * @maxLength 36\n */\n orderNumber?: string | null;\n /**\n * Optional ticket number\n * @maxLength 36\n */\n ticketNumber?: string | null;\n /**\n * Papyrus document id\n * @format GUID\n */\n documentId?: string | null;\n}\n\n/** Triggered when an order is canceled. */\nexport interface OrderCanceled {\n /**\n * Event ID to which the order belongs.\n * @format GUID\n */\n eventId?: string;\n /**\n * Unique order number.\n * @maxLength 36\n */\n orderNumber?: string;\n /**\n * Reservation ID associated with the order.\n * @format GUID\n */\n reservationId?: string;\n /**\n * Contact ID associated with the order.\n * @maxLength 36\n */\n contactId?: string;\n /**\n * Buyer first name.\n * @maxLength 50\n */\n firstName?: string | null;\n /**\n * Buyer last name.\n * @maxLength 50\n */\n lastName?: string | null;\n /**\n * Buyer email address.\n * @maxLength 255\n */\n email?: string | null;\n /** Checkout form response. */\n checkoutForm?: FormResponse;\n /** Invoice. */\n invoice?: Invoice;\n}\n\nexport interface EventEnded {\n /** Event end timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** True if at least one guest is registered to the event with any attendance status. */\n hasGuests?: boolean | null;\n}\n\nexport interface EventStarted {\n /** Event start timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** True if at least one guest is registered to the event with any attendance status. */\n hasGuests?: boolean | null;\n}\n\nexport interface ResolveNotificationConfigRequest {\n /**\n * Id of the NotificationConfig to retrieve\n * @format GUID\n */\n notificationConfigId: string;\n}\n\nexport interface ResolveNotificationConfigResponse {\n /** The retrieved NotificationConfig */\n notificationConfig?: NotificationConfig;\n}\n\nexport interface UpsertNotificationConfigRequest {\n /** NotificationConfig to be upserted */\n notificationConfig: NotificationConfig;\n}\n\nexport interface UpsertNotificationConfigResponse {\n /** The upserted NotificationConfig */\n notificationConfig?: NotificationConfig;\n}\n\nexport interface ResolveEmailNotificationConfigRequest {\n /**\n * Id of the NotificationConfig to retrieve\n * @format GUID\n */\n notificationConfigId?: string;\n /** Notification type */\n notificationType?: EmailNotificationTypeWithLiterals;\n}\n\nexport interface ResolveEmailNotificationConfigResponse {\n /** The retrieved EmailNotificationConfig */\n emailNotificationConfig?: EmailNotificationConfig;\n}\n\nexport interface EventDeleted {\n /** Event deleted timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event title. */\n title?: string;\n /**\n * Event creator user ID.\n * @format GUID\n */\n userId?: string | null;\n}\n\nexport interface EventCopied {\n /** Event created timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event location. */\n location?: Location;\n /** Event schedule configuration. */\n scheduleConfig?: ScheduleConfig;\n /** Event title. */\n title?: string;\n /**\n * Event creator user ID.\n * @format GUID\n */\n userId?: string | null;\n /** Event status. */\n status?: EventStatusWithLiterals;\n /**\n * Instance ID. Indicates the original app instance which current event was derived from.\n * @format GUID\n */\n derivedFromInstanceId?: string | null;\n /**\n * Event ID. Indicates the original event which current event was derived from.\n * @format GUID\n */\n derivedFromEventId?: string | null;\n /**\n * Map of copied ticket definitions from original event.\n * Key represents ticket def id in the original event.\n * Value represents ticket def id in the newly created event.\n */\n ticketDefinitions?: Record<string, string>;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface BaseEventMetadata {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n}\n\nexport interface EventMetadata extends BaseEventMetadata {\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * 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.\n * 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.\n */\n entityEventSequence?: string | null;\n}\n\nexport interface NotificationConfigCreatedEnvelope {\n entity: NotificationConfig;\n metadata: EventMetadata;\n}\n\n/** @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Read Events\n * @permissionScopeId SCOPE.DC-EVENTS.READ-EVENTS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionId WIX_EVENTS.READ_NOTIFICATION_CONFIG\n * @webhook\n * @eventType wix.events.notifications.v2.notification_config_created\n * @serviceIdentifier wix.events.notifications.v2.NotificationConfigManagement\n * @slug created\n * @documentationMaturity preview\n */\nexport declare function onNotificationConfigCreated(\n handler: (event: NotificationConfigCreatedEnvelope) => void | Promise<void>\n): void;\n\nexport interface NotificationConfigUpdatedEnvelope {\n entity: NotificationConfig;\n metadata: EventMetadata;\n}\n\n/** @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Read Events\n * @permissionScopeId SCOPE.DC-EVENTS.READ-EVENTS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionId WIX_EVENTS.READ_NOTIFICATION_CONFIG\n * @webhook\n * @eventType wix.events.notifications.v2.notification_config_updated\n * @serviceIdentifier wix.events.notifications.v2.NotificationConfigManagement\n * @slug updated\n * @documentationMaturity preview\n */\nexport declare function onNotificationConfigUpdated(\n handler: (event: NotificationConfigUpdatedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * Triggers notification\n * @public\n * @documentationMaturity preview\n * @requiredField options\n * @requiredField options.guests\n * @requiredField options.notification\n * @permissionId WIX_EVENTS.MANAGE\n * @applicableIdentity APP\n * @fqn wix.events.notifications.v2.NotificationService.TriggerNotification\n */\nexport async function triggerNotification(\n options: TriggerNotificationOptions\n): Promise<void> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n emailNotificationType: options?.emailNotificationType,\n pushNotificationType: options?.pushNotificationType,\n rsvpGuest: options?.rsvpGuest,\n orderGuest: options?.orderGuest,\n eventGuests: options?.eventGuests,\n ticketGuest: options?.ticketGuest,\n });\n\n const reqOpts =\n ambassadorWixEventsNotificationsV2NotificationConfig.triggerNotification(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n emailNotificationType: '$[0].emailNotificationType',\n pushNotificationType: '$[0].pushNotificationType',\n rsvpGuest: '$[0].rsvpGuest',\n orderGuest: '$[0].orderGuest',\n eventGuests: '$[0].eventGuests',\n ticketGuest: '$[0].ticketGuest',\n },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface TriggerNotificationOptions\n extends TriggerNotificationOptionsNotificationOneOf,\n TriggerNotificationOptionsGuestsOneOf {\n /** Email notification type */\n emailNotificationType?: EmailNotificationTypeWithLiterals;\n /** Push notification type */\n pushNotificationType?: PushNotificationTypeWithLiterals;\n /** Rsvp guest info */\n rsvpGuest?: RsvpGuest;\n /** Order guest info */\n orderGuest?: OrderGuest;\n /** Event guests info */\n eventGuests?: EventGuests;\n /** Ticket guests info */\n ticketGuest?: TicketGuest;\n}\n\n/** @oneof */\nexport interface TriggerNotificationOptionsNotificationOneOf {\n /** Email notification type */\n emailNotificationType?: EmailNotificationTypeWithLiterals;\n /** Push notification type */\n pushNotificationType?: PushNotificationTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface TriggerNotificationOptionsGuestsOneOf {\n /** Rsvp guest info */\n rsvpGuest?: RsvpGuest;\n /** Order guest info */\n orderGuest?: OrderGuest;\n /** Event guests info */\n eventGuests?: EventGuests;\n /** Ticket guests info */\n ticketGuest?: TicketGuest;\n}\n\n/**\n * Resolves a NotificationConfig by id. Returns saved value or default value if not saved yet.\n * @param notificationConfigId - Id of the NotificationConfig to retrieve\n * @public\n * @documentationMaturity preview\n * @requiredField notificationConfigId\n * @permissionId WIX_EVENTS.READ_NOTIFICATION_CONFIG\n * @applicableIdentity APP\n * @fqn wix.events.notifications.v2.NotificationConfigManagement.ResolveNotificationConfig\n */\nexport async function resolveNotificationConfig(\n notificationConfigId: string\n): Promise<\n NonNullablePaths<\n ResolveNotificationConfigResponse,\n | `notificationConfig.rsvpConfirmation.notificationType`\n | `notificationConfig.rsvpConfirmation.reminderTime`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n notificationConfigId: notificationConfigId,\n });\n\n const reqOpts =\n ambassadorWixEventsNotificationsV2NotificationConfig.resolveNotificationConfig(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { notificationConfigId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['notificationConfigId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Upsert a NotificationConfig\n * @param _id - Event ID.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @requiredField notificationConfig\n * @permissionId WIX_EVENTS.UPDATE_NOTIFICATION_CONFIG\n * @applicableIdentity APP\n * @fqn wix.events.notifications.v2.NotificationConfigManagement.UpsertNotificationConfig\n */\nexport async function upsertNotificationConfig(\n _id: string,\n notificationConfig: UpsertNotificationConfig\n): Promise<\n NonNullablePaths<\n UpsertNotificationConfigResponse,\n | `notificationConfig.rsvpConfirmation.notificationType`\n | `notificationConfig.rsvpConfirmation.reminderTime`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n notificationConfig: { ...notificationConfig, id: _id },\n });\n\n const reqOpts =\n ambassadorWixEventsNotificationsV2NotificationConfig.upsertNotificationConfig(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: { notificationConfig: '$[1]' },\n explicitPathsToArguments: { 'notificationConfig.id': '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['_id', 'notificationConfig']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpsertNotificationConfig {\n /**\n * Event ID.\n * @format GUID\n * @immutable\n */\n _id?: string | null;\n /**\n * Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision.\n * @immutable\n */\n revision?: string | null;\n /**\n * Represents the time this NotificationConfig was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Represents the time this NotificationConfig was last updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /** Rsvp confirmation. */\n rsvpConfirmation?: EmailNotificationConfig;\n /** New spots available. */\n newSpotsAvailable?: EmailNotificationConfig;\n /** Event cancelation. */\n eventCancelation?: EmailNotificationConfig;\n /** Event reminder. */\n upcomingEventReminder?: EmailNotificationConfig;\n /** Order confirmation. */\n orderConfirmation?: EmailNotificationConfig;\n /** Ticket confirmation. */\n ticketConfirmation?: EmailNotificationConfig;\n /** Invoice. */\n invoice?: EmailNotificationConfig;\n /** Order confirmation with tickets link. */\n orderConfirmationWithTicketsLink?: EmailNotificationConfig;\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixEventsNotificationsV2NotificationConfigManagementUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'api._api_base_domain_': [\n {\n srcPath: '/events-notifications',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/events-notifications',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/events-notifications',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/events-notifications',\n destPath: '',\n },\n {\n srcPath: '/events/v2/notifications',\n destPath: '/v2/notifications',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveWixEventsNotificationsV2NotificationServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'api._api_base_domain_': [\n {\n srcPath: '/events-notifications',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/events-notifications',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/events-notifications',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/events-notifications',\n destPath: '',\n },\n {\n srcPath: '/events/v2/notifications',\n destPath: '/v2/notifications',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_events_notifications';\n\n/** Triggers notification */\nexport function triggerNotification(\n payload: object\n): RequestOptionsFactory<any> {\n function __triggerNotification({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.notifications.v2.notification_config',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.notifications.v2.NotificationService.TriggerNotification',\n packageName: PACKAGE_NAME,\n url: resolveWixEventsNotificationsV2NotificationServiceUrl({\n protoPath: '/v2/notifications/trigger',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __triggerNotification;\n}\n\n/** Resolves a NotificationConfig by id. Returns saved value or default value if not saved yet. */\nexport function resolveNotificationConfig(\n payload: object\n): RequestOptionsFactory<any> {\n function __resolveNotificationConfig({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.notifications.v2.notification_config',\n method: 'GET' as any,\n methodFqn:\n 'wix.events.notifications.v2.NotificationConfigManagement.ResolveNotificationConfig',\n packageName: PACKAGE_NAME,\n url: resolveWixEventsNotificationsV2NotificationConfigManagementUrl({\n protoPath: '/v2/notification-configs/resolve/{notificationConfigId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'notificationConfig.createdDate' },\n { path: 'notificationConfig.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __resolveNotificationConfig;\n}\n\n/** Upsert a NotificationConfig */\nexport function upsertNotificationConfig(\n payload: object\n): RequestOptionsFactory<any> {\n function __upsertNotificationConfig({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'notificationConfig.createdDate' },\n { path: 'notificationConfig.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.events.notifications.v2.notification_config',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.notifications.v2.NotificationConfigManagement.UpsertNotificationConfig',\n packageName: PACKAGE_NAME,\n url: resolveWixEventsNotificationsV2NotificationConfigManagementUrl({\n protoPath: '/v2/notification-configs/{notificationConfig.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'notificationConfig.createdDate' },\n { path: 'notificationConfig.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __upsertNotificationConfig;\n}\n","import {\n triggerNotification as publicTriggerNotification,\n resolveNotificationConfig as publicResolveNotificationConfig,\n upsertNotificationConfig as publicUpsertNotificationConfig,\n} from './events-notifications-v2-notification-config-notifications.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { createEventModule } from '@wix/sdk-runtime/event-definition-modules';\nimport {\n BuildRESTFunction,\n MaybeContext,\n BuildEventDefinition,\n} from '@wix/sdk-types';\nimport { onNotificationConfigCreated as publicOnNotificationConfigCreated } from './events-notifications-v2-notification-config-notifications.public.js';\nimport { onNotificationConfigUpdated as publicOnNotificationConfigUpdated } from './events-notifications-v2-notification-config-notifications.public.js';\n\nexport const triggerNotification: MaybeContext<\n BuildRESTFunction<typeof publicTriggerNotification> &\n typeof publicTriggerNotification\n> = /*#__PURE__*/ createRESTModule(publicTriggerNotification);\nexport const resolveNotificationConfig: MaybeContext<\n BuildRESTFunction<typeof publicResolveNotificationConfig> &\n typeof publicResolveNotificationConfig\n> = /*#__PURE__*/ createRESTModule(publicResolveNotificationConfig);\nexport const upsertNotificationConfig: MaybeContext<\n BuildRESTFunction<typeof publicUpsertNotificationConfig> &\n typeof publicUpsertNotificationConfig\n> = /*#__PURE__*/ createRESTModule(publicUpsertNotificationConfig);\n/** */\nexport const onNotificationConfigCreated: BuildEventDefinition<\n typeof publicOnNotificationConfigCreated\n> &\n typeof publicOnNotificationConfigCreated = createEventModule(\n publicOnNotificationConfigCreated\n);\n/** */\nexport const onNotificationConfigUpdated: BuildEventDefinition<\n typeof publicOnNotificationConfigUpdated\n> &\n typeof publicOnNotificationConfigUpdated = createEventModule(\n publicOnNotificationConfigUpdated\n);\n\nexport {\n EmailNotificationType,\n EmailNotificationReminderTime,\n PushNotificationType,\n LocationType,\n SubdivisionType,\n Status,\n EventStatus,\n EventType,\n RegistrationStatus,\n RsvpStatusOptions,\n TaxType,\n VisitorType,\n InputControlType,\n ValueType,\n ConferenceType,\n State,\n NodeType,\n WidthType,\n PluginContainerDataAlignment,\n ButtonDataType,\n Target,\n TextAlignment,\n LineStyle,\n Width,\n DividerDataAlignment,\n ViewMode,\n LayoutType,\n Orientation,\n Crop,\n ThumbnailsAlignment,\n GIFType,\n Source,\n StylesPosition,\n MapType,\n ViewRole,\n VoteRole,\n PollLayoutType,\n PollLayoutDirection,\n BackgroundType,\n DecorationType,\n FontType,\n Position,\n AspectRatio,\n Resizing,\n Placement,\n CardStylesType,\n Alignment,\n Layout,\n AppType,\n InitialExpandedItems,\n Direction,\n VerticalAlignment,\n NullValue,\n Type,\n OrderStatus,\n FeeName,\n FeeType,\n WebhookIdentityType,\n} from './events-notifications-v2-notification-config-notifications.universal.js';\nexport {\n NotificationConfig,\n EmailNotificationConfig,\n EmailTemplate,\n Link,\n TriggerNotificationRequest,\n TriggerNotificationRequestNotificationOneOf,\n TriggerNotificationRequestGuestsOneOf,\n RsvpGuest,\n OrderGuest,\n EventGuests,\n TicketGuest,\n TriggerNotificationResponse,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n Empty,\n EventUpdated,\n Location,\n MapCoordinates,\n Address,\n AddressStreetOneOf,\n StreetAddress,\n AddressLocation,\n Subdivision,\n ScheduleConfig,\n Recurrences,\n Occurrence,\n Event,\n Scheduling,\n Registration,\n RsvpCollection,\n RsvpCollectionConfig,\n RsvpConfirmationMessages,\n RsvpConfirmationMessagesPositiveResponseConfirmation,\n RsvpConfirmationMessagesNegativeResponseConfirmation,\n Ticketing,\n TicketingConfig,\n TaxConfig,\n TicketsConfirmationMessages,\n Money,\n ExternalEvent,\n CalendarLinks,\n SiteUrl,\n Form,\n InputControl,\n Input,\n OptionSelection,\n OptionSelectionSelectedOptionOneOf,\n Label,\n FormMessages,\n RsvpFormMessages,\n PositiveResponseConfirmation,\n NegativeResponseConfirmation,\n Positive,\n Negative,\n CheckoutFormMessages,\n ResponseConfirmation,\n RegistrationClosedMessages,\n TicketsUnavailableMessages,\n Dashboard,\n RsvpSummary,\n TicketingSummary,\n GuestListConfig,\n Feed,\n OnlineConferencing,\n OnlineConferencingConfig,\n OnlineConferencingSession,\n SeoSettings,\n SeoSchema,\n Keyword,\n Tag,\n Settings,\n Agenda,\n Category,\n CategoryCounts,\n EventDisplaySettings,\n LabellingSettings,\n RichContent,\n Node,\n NodeDataOneOf,\n NodeStyle,\n ButtonData,\n Border,\n Colors,\n PluginContainerData,\n PluginContainerDataWidth,\n PluginContainerDataWidthDataOneOf,\n Spoiler,\n Height,\n Styles,\n V1Link,\n V1LinkDataOneOf,\n Rel,\n CodeBlockData,\n TextStyle,\n DividerData,\n FileData,\n FileSource,\n FileSourceDataOneOf,\n PDFSettings,\n GalleryData,\n Media,\n Image,\n Video,\n GalleryDataItem,\n GalleryDataItemDataOneOf,\n GalleryOptions,\n GalleryOptionsLayout,\n ItemStyle,\n Thumbnails,\n GIFData,\n GIF,\n HeadingData,\n HTMLData,\n HTMLDataDataOneOf,\n ImageData,\n StylesBorder,\n ImageDataStyles,\n LinkPreviewData,\n LinkPreviewDataStyles,\n MapData,\n MapSettings,\n ParagraphData,\n PollData,\n Permissions,\n Option,\n PollSettings,\n PollLayout,\n OptionLayout,\n Gradient,\n Background,\n BackgroundBackgroundOneOf,\n PollDesign,\n OptionDesign,\n Poll,\n PollDataLayout,\n Design,\n TextData,\n Decoration,\n DecorationDataOneOf,\n AnchorData,\n ColorData,\n LinkData,\n MentionData,\n FontSizeData,\n SpoilerData,\n AppEmbedData,\n AppEmbedDataAppDataOneOf,\n BookingData,\n EventData,\n ButtonStyles,\n ImageStyles,\n RibbonStyles,\n CardStyles,\n PricingData,\n VideoData,\n PlaybackOptions,\n EmbedData,\n Oembed,\n CollapsibleListData,\n TableData,\n Dimensions,\n TableCellData,\n CellStyle,\n BorderColors,\n ListValue,\n AudioData,\n OrderedListData,\n BulletedListData,\n BlockquoteData,\n CaptionData,\n LayoutCellData,\n Metadata,\n DocumentStyle,\n TextNodeStyle,\n Badge,\n OrderConfirmed,\n FormResponse,\n InputValue,\n FormattedAddress,\n CommonAddress,\n CommonAddressStreetOneOf,\n CommonStreetAddress,\n CommonAddressLocation,\n CommonSubdivision,\n StandardDetails,\n Ticket,\n CheckIn,\n OnlineConferencingLogin,\n Invoice,\n Item,\n Discount,\n DiscountItem,\n DiscountItemDiscountOneOf,\n CouponDiscount,\n PaidPlanDiscount,\n PaidPlanDiscountDiscountOneOf,\n PercentDiscount,\n Tax,\n Fee,\n OrderEmailAdded,\n EventCanceled,\n EventReminder,\n TimeDuration,\n OrderPaid,\n TicketPdfResolved,\n TicketPdfResolveDelayed,\n OrderCanceled,\n EventEnded,\n EventStarted,\n ResolveNotificationConfigRequest,\n ResolveNotificationConfigResponse,\n UpsertNotificationConfigRequest,\n UpsertNotificationConfigResponse,\n ResolveEmailNotificationConfigRequest,\n ResolveEmailNotificationConfigResponse,\n EventDeleted,\n EventCopied,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n BaseEventMetadata,\n EventMetadata,\n NotificationConfigCreatedEnvelope,\n NotificationConfigUpdatedEnvelope,\n TriggerNotificationOptions,\n TriggerNotificationOptionsNotificationOneOf,\n TriggerNotificationOptionsGuestsOneOf,\n UpsertNotificationConfig,\n} from './events-notifications-v2-notification-config-notifications.universal.js';\nexport {\n EmailNotificationTypeWithLiterals,\n EmailNotificationReminderTimeWithLiterals,\n PushNotificationTypeWithLiterals,\n LocationTypeWithLiterals,\n SubdivisionTypeWithLiterals,\n StatusWithLiterals,\n EventStatusWithLiterals,\n EventTypeWithLiterals,\n RegistrationStatusWithLiterals,\n RsvpStatusOptionsWithLiterals,\n TaxTypeWithLiterals,\n VisitorTypeWithLiterals,\n InputControlTypeWithLiterals,\n ValueTypeWithLiterals,\n ConferenceTypeWithLiterals,\n StateWithLiterals,\n NodeTypeWithLiterals,\n WidthTypeWithLiterals,\n PluginContainerDataAlignmentWithLiterals,\n ButtonDataTypeWithLiterals,\n TargetWithLiterals,\n TextAlignmentWithLiterals,\n LineStyleWithLiterals,\n WidthWithLiterals,\n DividerDataAlignmentWithLiterals,\n ViewModeWithLiterals,\n LayoutTypeWithLiterals,\n OrientationWithLiterals,\n CropWithLiterals,\n ThumbnailsAlignmentWithLiterals,\n GIFTypeWithLiterals,\n SourceWithLiterals,\n StylesPositionWithLiterals,\n MapTypeWithLiterals,\n ViewRoleWithLiterals,\n VoteRoleWithLiterals,\n PollLayoutTypeWithLiterals,\n PollLayoutDirectionWithLiterals,\n BackgroundTypeWithLiterals,\n DecorationTypeWithLiterals,\n FontTypeWithLiterals,\n PositionWithLiterals,\n AspectRatioWithLiterals,\n ResizingWithLiterals,\n PlacementWithLiterals,\n CardStylesTypeWithLiterals,\n AlignmentWithLiterals,\n LayoutWithLiterals,\n AppTypeWithLiterals,\n InitialExpandedItemsWithLiterals,\n DirectionWithLiterals,\n VerticalAlignmentWithLiterals,\n NullValueWithLiterals,\n TypeWithLiterals,\n OrderStatusWithLiterals,\n FeeNameWithLiterals,\n FeeTypeWithLiterals,\n WebhookIdentityTypeWithLiterals,\n} from './events-notifications-v2-notification-config-notifications.universal.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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qC;AAC9B,IAAM,kCAA8B;AAAA,EACzC;AAAA,EACA;AAAA,EACA,CAAC,cACC;AAAA,QACE,wCAAe,OAAO;AAAA,MACpB;AAAA,QACE,aAAa;AAAA,QACb,OAAO;AAAA,UACL,EAAE,MAAM,qBAAqB;AAAA,UAC7B,EAAE,MAAM,qBAAqB;AAAA,UAC7B,EAAE,MAAM,qBAAqB;AAAA,QAC/B;AAAA,MACF;AAAA,IACF,CAAC;AAAA,EACH;AACJ,EAAqC;;;AGrHrC,IAAAC,uBAAiC;AACjC,sCAAkC;AAS3B,IAAMC,uBAGK,2DAAiBA,oBAAyB;AACrD,IAAMC,6BAGK,2DAAiBA,0BAA+B;AAC3D,IAAMC,4BAGK,2DAAiBA,yBAA8B;AAE1D,IAAMC,mCAGgC;AAAA,EAC3C;AACF;AAEO,IAAMC,mCAGgC;AAAA,EAC3C;AACF;","names":["onNotificationConfigCreated","onNotificationConfigUpdated","resolveNotificationConfig","triggerNotification","upsertNotificationConfig","import_rename_all_nested_keys","import_timestamp","import_transform_paths","import_timestamp","import_rest_modules","payload","EmailNotificationType","EmailNotificationReminderTime","PushNotificationType","LocationType","SubdivisionType","Status","EventStatus","EventType","RegistrationStatus","RsvpStatusOptions","TaxType","VisitorType","InputControlType","ValueType","ConferenceType","State","NodeType","WidthType","PluginContainerDataAlignment","ButtonDataType","Target","TextAlignment","LineStyle","Width","DividerDataAlignment","ViewMode","LayoutType","Orientation","Crop","ThumbnailsAlignment","GIFType","Source","StylesPosition","MapType","ViewRole","VoteRole","PollLayoutType","PollLayoutDirection","BackgroundType","DecorationType","FontType","Position","AspectRatio","Resizing","Placement","CardStylesType","Alignment","Layout","AppType","InitialExpandedItems","Direction","VerticalAlignment","NullValue","Type","OrderStatus","FeeName","FeeType","WebhookIdentityType","triggerNotification","sdkTransformError","resolveNotificationConfig","upsertNotificationConfig","triggerNotification","resolveNotificationConfig","upsertNotificationConfig","import_rest_modules","triggerNotification","resolveNotificationConfig","upsertNotificationConfig","onNotificationConfigCreated","onNotificationConfigUpdated"]}