@wix/auto_sdk_events_notifications 1.0.12 → 1.0.14

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.
Files changed (134) hide show
  1. package/build/{internal/cjs/src/events-notifications-v2-notification-config-notifications.universal.d.ts → events-notifications-v2-notification-config-notifications.universal-DIjek3EA.d.mts} +277 -390
  2. package/build/{cjs/src/events-notifications-v2-notification-config-notifications.universal.d.ts → events-notifications-v2-notification-config-notifications.universal-DIjek3EA.d.ts} +277 -390
  3. package/build/index.d.mts +38 -0
  4. package/build/index.d.ts +38 -0
  5. package/build/index.js +857 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +778 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/internal/{es/src/events-notifications-v2-notification-config-notifications.universal.d.ts → events-notifications-v2-notification-config-notifications.universal-DIjek3EA.d.mts} +277 -390
  10. package/build/{es/src/events-notifications-v2-notification-config-notifications.universal.d.ts → internal/events-notifications-v2-notification-config-notifications.universal-DIjek3EA.d.ts} +277 -390
  11. package/build/internal/index.d.mts +38 -0
  12. package/build/internal/index.d.ts +38 -0
  13. package/build/internal/index.js +857 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +778 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +261 -0
  18. package/build/internal/meta.d.ts +261 -0
  19. package/build/internal/meta.js +258 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +229 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +261 -0
  24. package/build/meta.d.ts +261 -0
  25. package/build/meta.js +258 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +229 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +14 -13
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/events-notifications-v2-notification-config-notifications.context.d.ts +0 -14
  40. package/build/cjs/src/events-notifications-v2-notification-config-notifications.context.js +0 -69
  41. package/build/cjs/src/events-notifications-v2-notification-config-notifications.context.js.map +0 -1
  42. package/build/cjs/src/events-notifications-v2-notification-config-notifications.http.d.ts +0 -7
  43. package/build/cjs/src/events-notifications-v2-notification-config-notifications.http.js +0 -168
  44. package/build/cjs/src/events-notifications-v2-notification-config-notifications.http.js.map +0 -1
  45. package/build/cjs/src/events-notifications-v2-notification-config-notifications.meta.d.ts +0 -19
  46. package/build/cjs/src/events-notifications-v2-notification-config-notifications.meta.js +0 -87
  47. package/build/cjs/src/events-notifications-v2-notification-config-notifications.meta.js.map +0 -1
  48. package/build/cjs/src/events-notifications-v2-notification-config-notifications.public.d.ts +0 -31
  49. package/build/cjs/src/events-notifications-v2-notification-config-notifications.public.js +0 -101
  50. package/build/cjs/src/events-notifications-v2-notification-config-notifications.public.js.map +0 -1
  51. package/build/cjs/src/events-notifications-v2-notification-config-notifications.types.d.ts +0 -3588
  52. package/build/cjs/src/events-notifications-v2-notification-config-notifications.types.js +0 -570
  53. package/build/cjs/src/events-notifications-v2-notification-config-notifications.types.js.map +0 -1
  54. package/build/cjs/src/events-notifications-v2-notification-config-notifications.universal.js +0 -730
  55. package/build/cjs/src/events-notifications-v2-notification-config-notifications.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/events-notifications-v2-notification-config-notifications.context.d.ts +0 -14
  67. package/build/es/src/events-notifications-v2-notification-config-notifications.context.js +0 -14
  68. package/build/es/src/events-notifications-v2-notification-config-notifications.context.js.map +0 -1
  69. package/build/es/src/events-notifications-v2-notification-config-notifications.http.d.ts +0 -7
  70. package/build/es/src/events-notifications-v2-notification-config-notifications.http.js +0 -162
  71. package/build/es/src/events-notifications-v2-notification-config-notifications.http.js.map +0 -1
  72. package/build/es/src/events-notifications-v2-notification-config-notifications.meta.d.ts +0 -19
  73. package/build/es/src/events-notifications-v2-notification-config-notifications.meta.js +0 -58
  74. package/build/es/src/events-notifications-v2-notification-config-notifications.meta.js.map +0 -1
  75. package/build/es/src/events-notifications-v2-notification-config-notifications.public.d.ts +0 -31
  76. package/build/es/src/events-notifications-v2-notification-config-notifications.public.js +0 -43
  77. package/build/es/src/events-notifications-v2-notification-config-notifications.public.js.map +0 -1
  78. package/build/es/src/events-notifications-v2-notification-config-notifications.types.d.ts +0 -3588
  79. package/build/es/src/events-notifications-v2-notification-config-notifications.types.js +0 -566
  80. package/build/es/src/events-notifications-v2-notification-config-notifications.types.js.map +0 -1
  81. package/build/es/src/events-notifications-v2-notification-config-notifications.universal.js +0 -700
  82. package/build/es/src/events-notifications-v2-notification-config-notifications.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.context.d.ts +0 -14
  93. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.context.js +0 -69
  94. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.context.js.map +0 -1
  95. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.http.d.ts +0 -7
  96. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.http.js +0 -168
  97. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.http.js.map +0 -1
  98. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.meta.d.ts +0 -19
  99. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.meta.js +0 -87
  100. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.meta.js.map +0 -1
  101. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.public.d.ts +0 -31
  102. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.public.js +0 -101
  103. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.public.js.map +0 -1
  104. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.types.d.ts +0 -3588
  105. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.types.js +0 -570
  106. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.types.js.map +0 -1
  107. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.universal.js +0 -730
  108. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.context.d.ts +0 -14
  119. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.context.js +0 -14
  120. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.context.js.map +0 -1
  121. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.http.d.ts +0 -7
  122. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.http.js +0 -162
  123. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.http.js.map +0 -1
  124. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.meta.d.ts +0 -19
  125. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.meta.js +0 -58
  126. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.meta.js.map +0 -1
  127. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.public.d.ts +0 -31
  128. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.public.js +0 -43
  129. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.public.js.map +0 -1
  130. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.types.d.ts +0 -3588
  131. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.types.js +0 -566
  132. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.types.js.map +0 -1
  133. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.universal.js +0 -700
  134. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.universal.js.map +0 -1
@@ -0,0 +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 } 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 | undefined): 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<ResolveNotificationConfigResponse>;\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 (\n _id: string,\n notificationConfig: UpsertNotificationConfig\n ): Promise<UpsertNotificationConfigResponse>;\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 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 CalendarLinks,\n CaptionData,\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 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 Gradient,\n GuestListConfig,\n HTMLData,\n HTMLDataDataOneOf,\n HeadingData,\n Height,\n IdentificationData,\n IdentificationDataIdOneOf,\n Image,\n ImageData,\n ImageDataStyles,\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 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 PushNotificationType,\n Recurrences,\n Registration,\n RegistrationClosedMessages,\n RegistrationStatus,\n Rel,\n ResolveEmailNotificationConfigRequest,\n ResolveEmailNotificationConfigResponse,\n ResolveNotificationConfigRequest,\n ResolveNotificationConfigResponse,\n ResponseConfirmation,\n RestoreInfo,\n RichContent,\n RsvpCollection,\n RsvpCollectionConfig,\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 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 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?: EmailNotificationType;\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?: EmailNotificationReminderTime;\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\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\nexport interface TriggerNotificationRequest\n extends TriggerNotificationRequestNotificationOneOf,\n TriggerNotificationRequestGuestsOneOf {\n /** Email notification type */\n emailNotificationType?: EmailNotificationType;\n /** Push notification type */\n pushNotificationType?: PushNotificationType;\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?: EmailNotificationType;\n /** Push notification type */\n pushNotificationType?: PushNotificationType;\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/** 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 /**\n * Unique event ID.\n * Allows clients to ignore duplicate webhooks.\n */\n _id?: string;\n /**\n * Assumes actions are also always typed to an entity_type\n * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction\n */\n entityFqdn?: string;\n /**\n * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)\n * This is although the created/updated/deleted notion is duplication of the oneof types\n * 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 defining the order of updates to the underlying entity.\n * For example, given that some entity was updated at 16:00 and than again at 16:01,\n * it is guaranteed that the sequence number of the second update is strictly higher than the first.\n * As the consumer, you can use this value to ensure that you handle messages in the correct order.\n * To do so, you will need to persist this number on your end, and compare the sequence number from the\n * message against the one you have stored. Given that the stored number is higher, you should ignore the message.\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?: LocationType;\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/** 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\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?: Status;\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\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 displayed in Wix UI - \"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?: EventStatus;\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 displayed in Wix UI - \"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\nexport interface Registration {\n /** Event type. */\n type?: EventType;\n /** Event registration status. */\n status?: RegistrationStatus;\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?: VisitorType;\n /** Initial event type which was set when creating an event. */\n initialType?: EventType;\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\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\nexport interface RsvpCollection {\n /** RSVP collection configuration. */\n config?: RsvpCollectionConfig;\n}\n\nexport interface RsvpCollectionConfig {\n /** Defines the supported RSVP statuses. */\n rsvpStatusOptions?: RsvpStatusOptions;\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\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?: TaxType;\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\nexport interface Money {\n /**\n * *Deprecated:** Use `value` instead.\n * @format DECIMAL_VALUE\n * @deprecated\n */\n amount?: string;\n /**\n * ISO 4217 format of the currency e.g., `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\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 rendered in the Wix UI 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 /** Set of configured form messages. */\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?: InputControlType;\n /** Whether control is mandatory (such as name & email). When true, only label can be changed. */\n system?: boolean;\n /**\n * Deprecated: Use `id`.\n * @deprecated\n */\n name?: string;\n /** Child inputs. */\n inputs?: Input[];\n /**\n * Deprecated: use `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 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. */\n TEXTAREA = 'TEXTAREA',\n /** Single-choice field of predefined values. */\n DROPDOWN = 'DROPDOWN',\n /** Single-choice field of predefined values. */\n RADIO = 'RADIO',\n /** Multiple-choice field of predefined values. */\n CHECKBOX = 'CHECKBOX',\n /** First and last name fields. */\n NAME = 'NAME',\n /** Additional guests and respective guest names fields. */\n GUEST_CONTROL = 'GUEST_CONTROL',\n /** Single-line address field. */\n ADDRESS_SHORT = 'ADDRESS_SHORT',\n /** Full address field. */\n ADDRESS_FULL = 'ADDRESS_FULL',\n /** Year, month and day fields. */\n DATE = 'DATE',\n}\n\n/** An input of one or multiple text values */\nexport interface Input {\n /** Field name. */\n name?: string;\n /**\n * Deprecated: use `ValueType.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?: ValueType;\n /**\n * A maximum accepted values for array input.\n * Only applicable for inputs of valueType: TEXT_ARRAY.\n */\n maxSize?: number | null;\n /**\n * Preselected option.\n * Currently only applicable for 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/**\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 `input.options` which is selected initially.\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 `input.options` which is selected initially.\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 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 `YES` response. */\n rsvpYesOption?: string;\n /** Label text indicating RSVP `NO` response. */\n rsvpNoOption?: string;\n /** Messages shown for RSVP = `YES`. */\n positiveMessages?: Positive;\n /** Messages shown for RSVP = `WAITING` (when event is full and waitlist is available). */\n waitlistMessages?: Positive;\n /** Messages shown for RSVP = `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?: ConferenceType;\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\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 meta data. 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. */\n custom?: boolean;\n /** Whether the tag is disabled. */\n disabled?: boolean;\n}\n\nexport interface Settings {\n /**\n * Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.\n *\n *\n * Default: `false` (Auto 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?: State[];\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\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?: NodeType;\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\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?: ButtonDataType;\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 /** Border width in pixels. */\n width?: number | null;\n /** Border radius in pixels. */\n radius?: number | null;\n}\n\nexport interface Colors {\n /** The text color as a hexadecimal value. */\n text?: string | null;\n /** The border color as a hexadecimal value. */\n border?: string | null;\n /** The background color as a hexadecimal value. */\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?: PluginContainerDataAlignment;\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\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?: WidthType;\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?: WidthType;\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\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\nexport interface Styles {\n /** Border attributes. */\n border?: Border;\n /** Color attributes. */\n colors?: Colors;\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?: Target;\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\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?: TextAlignment;\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\nexport interface DividerData {\n /** Styling for the divider's container. */\n containerData?: PluginContainerData;\n /** Divider line style. */\n lineStyle?: LineStyle;\n /** Divider width. */\n width?: Width;\n /** Divider alignment. */\n alignment?: Alignment;\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\nexport enum Width {\n /** Large line */\n LARGE = 'LARGE',\n /** Medium line */\n MEDIUM = 'MEDIUM',\n /** Small line */\n SMALL = 'SMALL',\n}\n\nexport enum Alignment {\n /** Center alignment */\n CENTER = 'CENTER',\n /** Left alignment */\n LEFT = 'LEFT',\n /** Right alignment */\n RIGHT = 'RIGHT',\n}\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\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?: ViewMode;\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?: Layout;\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\nexport enum Orientation {\n /** Rows Orientation */\n ROWS = 'ROWS',\n /** Columns Orientation */\n COLUMNS = 'COLUMNS',\n}\n\nexport enum Crop {\n /** Crop to fill */\n FILL = 'FILL',\n /** Crop to fit */\n FIT = 'FIT',\n}\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\nexport interface Layout {\n /** Gallery layout type. */\n type?: LayoutType;\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?: Orientation;\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?: Crop;\n /** The spacing between items in pixels. */\n spacing?: number | null;\n}\n\nexport interface Thumbnails {\n /** Thumbnail alignment. */\n placement?: ThumbnailsAlignment;\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?: GIFType;\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\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?: Source;\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\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 Position {\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\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?: Position;\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?: MapType;\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\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\nexport enum VoteRole {\n /** Logged in member */\n SITE_MEMBERS = 'SITE_MEMBERS',\n /** Anyone */\n ALL = 'ALL',\n}\n\nexport interface Permissions {\n /** Sets who can view the poll results. */\n view?: ViewRole;\n /** Sets who can vote. */\n vote?: VoteRole;\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\nexport enum PollLayoutDirection {\n /** Left-to-right */\n LTR = 'LTR',\n /** Right-to-left */\n RTL = 'RTL',\n}\n\nexport interface PollLayout {\n /** The layout for displaying the voting options. */\n type?: PollLayoutType;\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?: PollLayoutDirection;\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\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?: BackgroundType;\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 /** The type of decoration to apply. */\n type?: DecorationType;\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}\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}\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?: FontType;\n /** Font size value. */\n value?: number | null;\n}\n\nexport enum FontType {\n PX = 'PX',\n EM = 'EM',\n}\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?: AppType;\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}\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 AppType {\n PRODUCT = 'PRODUCT',\n EVENT = 'EVENT',\n BOOKING = 'BOOKING',\n}\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 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?: InitialExpandedItems;\n /** The direction of the text in the list. Either left-to-right or right-to-left. */\n direction?: Direction;\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\nexport enum Direction {\n /** Left-to-right */\n LTR = 'LTR',\n /** Right-to-left */\n RTL = 'RTL',\n}\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\nexport interface CellStyle {\n /** Vertical alignment for the cell's text. */\n verticalAlignment?: VerticalAlignment;\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/**\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?: Type;\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 /** Urgent badge type. */\n URGENT = 'URGENT',\n /** Informational badge type. */\n INFO = 'INFO',\n /** General badge type. */\n GENERAL = 'GENERAL',\n}\n\nexport interface OrderConfirmed {\n /** Order confirmation timestamp in ISO UTC. */\n timestamp?: Date | null;\n /**\n * Site language when Order 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 Order was created.\n * @format LANGUAGE_TAG\n */\n locale?: string | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Unique order number. */\n orderNumber?: string;\n /** Contact ID associated with this order. */\n contactId?: string;\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 /** 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?: OrderStatus;\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 this order. */\n reservationId?: string;\n}\n\nexport interface FormResponse {\n /**\n * Input values entered when filling the form.\n * @maxSize 200\n */\n inputValues?: InputValue[];\n}\n\nexport interface InputValue {\n /**\n * Input field name.\n * @maxLength 100\n */\n inputName?: string;\n /**\n * Text entered into the input field.\n * @maxLength 5000\n */\n value?: string;\n /**\n * Multiple selection values. For example, the array is filled if several checkboxes are ticked.\n * @maxSize 100\n * @maxLength 5000\n */\n values?: string[];\n}\n\nexport interface FormattedAddress {\n /**\n * One line address representation.\n * @maxLength 200\n */\n formatted?: string;\n /** Address components (optional). */\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 not available for this request fieldset. */\n NA_ORDER_STATUS = 'NA_ORDER_STATUS',\n /** Order is confirmed and payment isn't required. */\n FREE = 'FREE',\n /** Order is paid for but the payment gateway has suspended the payment. */\n PENDING = 'PENDING',\n /** Order is paid via a payment gateway. */\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 awaiting 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\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 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 cart. */\n discount?: Discount;\n /** Tax applied to cart. */\n tax?: Tax;\n /** Total cart amount before discount, tax, and fees. */\n subTotal?: Money;\n /**\n * Total amount of 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 are not deducted). */\n revenue?: Money;\n /** URL to invoice preview. Returned only if 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 charge after applied 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. */\n name?: string;\n /** Discount coupon code. */\n code?: string;\n /** Discount coupon ID. */\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?: TaxType;\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?: FeeName;\n /** How fee is calculated. */\n type?: FeeType;\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\nexport enum FeeType {\n /** Fee is added to the ticket price at checkout. */\n FEE_ADDED = 'FEE_ADDED',\n /** Seller absorbs the fee. It is 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/** 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?: OrderStatus;\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}\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\nexport interface OrderPaid {\n /** Order paid timestamp in ISO UTC. */\n timestamp?: Date | null;\n /**\n * Site language when Order 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 Order was created.\n * @format LANGUAGE_TAG\n */\n locale?: string | null;\n /**\n * Event ID.\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 * Order created timestamp\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?: OrderStatus;\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\nexport interface OrderCanceled {\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 * Reservation ID associated with this order.\n * @format GUID\n */\n reservationId?: string;\n /**\n * Contact ID associated with this 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?: EmailNotificationType;\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?: EventStatus;\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?: WebhookIdentityType;\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\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 /**\n * Unique event ID.\n * Allows clients to ignore duplicate webhooks.\n */\n _id?: string;\n /**\n * Assumes actions are also always typed to an entity_type\n * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction\n */\n entityFqdn?: string;\n /**\n * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)\n * This is although the created/updated/deleted notion is duplication of the oneof types\n * 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 defining the order of updates to the underlying entity.\n * For example, given that some entity was updated at 16:00 and than again at 16:01,\n * it is guaranteed that the sequence number of the second update is strictly higher than the first.\n * As the consumer, you can use this value to ensure that you handle messages in the correct order.\n * To do so, you will need to persist this number on your end, and compare the sequence number from the\n * message against the one you have stored. Given that the stored number is higher, you should ignore the message.\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\ntype NotificationConfigNonNullablePaths =\n | `rsvpConfirmation.notificationType`\n | `rsvpConfirmation.reminderTime`\n | `newSpotsAvailable.notificationType`\n | `newSpotsAvailable.reminderTime`\n | `eventCancelation.notificationType`\n | `eventCancelation.reminderTime`\n | `upcomingEventReminder.notificationType`\n | `upcomingEventReminder.reminderTime`\n | `orderConfirmation.notificationType`\n | `orderConfirmation.reminderTime`\n | `ticketConfirmation.notificationType`\n | `ticketConfirmation.reminderTime`\n | `invoice.notificationType`\n | `invoice.reminderTime`\n | `orderConfirmationWithTicketsLink.notificationType`\n | `orderConfirmationWithTicketsLink.reminderTime`;\n\n/**\n * Triggers notification\n * @public\n * @documentationMaturity preview\n * @requiredField guests\n * @requiredField notification\n * @permissionId WIX_EVENTS.MANAGE\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\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?: EmailNotificationType;\n /** Push notification type */\n pushNotificationType?: PushNotificationType;\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?: EmailNotificationType;\n /** Push notification type */\n pushNotificationType?: PushNotificationType;\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 * @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 * @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 {\n [P in NotificationConfigNonNullablePaths]: `notificationConfig.${P}`;\n }[NotificationConfigNonNullablePaths]\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 * @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 Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 {\n [P in NotificationConfigNonNullablePaths]: `notificationConfig.${P}`;\n }[NotificationConfigNonNullablePaths]\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 { BuildRESTFunction, MaybeContext } 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: ReturnType<\n typeof createEventModule<typeof publicOnNotificationConfigCreated>\n> = createEventModule(publicOnNotificationConfigCreated);\n/** */\nexport const onNotificationConfigUpdated: ReturnType<\n typeof createEventModule<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 Alignment,\n ViewMode,\n LayoutType,\n Orientation,\n Crop,\n ThumbnailsAlignment,\n GIFType,\n Source,\n Position,\n MapType,\n ViewRole,\n VoteRole,\n PollLayoutType,\n PollLayoutDirection,\n BackgroundType,\n DecorationType,\n FontType,\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 Ticketing,\n TicketingConfig,\n TaxConfig,\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 Layout,\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 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';\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,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,uBAA4C;;;ACH5C,6BAAoD;AACpD,oCAGO;;;ACJP,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,+DACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ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kB,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","Alignment","ViewMode","LayoutType","Orientation","Crop","ThumbnailsAlignment","GIFType","Source","Position","MapType","ViewRole","VoteRole","PollLayoutType","PollLayoutDirection","BackgroundType","DecorationType","FontType","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"]}