@wix/auto_sdk_events_wix-events-v-2 1.0.113 → 1.0.115

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 (35) hide show
  1. package/build/cjs/index.js.map +1 -1
  2. package/build/cjs/index.typings.d.ts +13 -0
  3. package/build/cjs/index.typings.js.map +1 -1
  4. package/build/cjs/meta.d.ts +13 -0
  5. package/build/cjs/meta.js.map +1 -1
  6. package/build/cjs/schemas.js +2924 -2881
  7. package/build/cjs/schemas.js.map +1 -1
  8. package/build/es/index.mjs.map +1 -1
  9. package/build/es/index.typings.d.mts +13 -0
  10. package/build/es/index.typings.mjs.map +1 -1
  11. package/build/es/meta.d.mts +13 -0
  12. package/build/es/meta.mjs.map +1 -1
  13. package/build/es/schemas.mjs +2924 -2881
  14. package/build/es/schemas.mjs.map +1 -1
  15. package/build/internal/cjs/index.typings.d.ts +13 -0
  16. package/build/internal/cjs/meta.d.ts +13 -0
  17. package/build/internal/es/index.typings.d.mts +13 -0
  18. package/build/internal/es/meta.d.mts +13 -0
  19. package/package.json +2 -2
  20. package/build/internal/cjs/index.js +0 -4562
  21. package/build/internal/cjs/index.js.map +0 -1
  22. package/build/internal/cjs/index.typings.js +0 -3748
  23. package/build/internal/cjs/index.typings.js.map +0 -1
  24. package/build/internal/cjs/meta.js +0 -3305
  25. package/build/internal/cjs/meta.js.map +0 -1
  26. package/build/internal/cjs/schemas.js +0 -6673
  27. package/build/internal/cjs/schemas.js.map +0 -1
  28. package/build/internal/es/index.mjs +0 -4429
  29. package/build/internal/es/index.mjs.map +0 -1
  30. package/build/internal/es/index.typings.mjs +0 -3623
  31. package/build/internal/es/index.typings.mjs.map +0 -1
  32. package/build/internal/es/meta.mjs +0 -3179
  33. package/build/internal/es/meta.mjs.map +0 -1
  34. package/build/internal/es/schemas.mjs +0 -6611
  35. package/build/internal/es/schemas.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../../index.ts","../../src/events-v3-event-wix-events-v-2.public.ts","../../src/events-v3-event-wix-events-v-2.universal.ts","../../src/events-v3-event-wix-events-v-2.http.ts","../../src/events-v3-event-wix-events-v-2.context.ts"],"sourcesContent":["export * from './src/events-v3-event-wix-events-v-2.context.js';\n","import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { transformRESTAddressToSDKAddress } from '@wix/sdk-runtime/transformations/address';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTImageToSDKImage } from '@wix/sdk-runtime/transformations/image';\nimport { transformRESTPageURLToSDKPageURL } from '@wix/sdk-runtime/transformations/page-url';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { EventDefinition, HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n BulkCancelEventsByFilterOptions,\n BulkDeleteEventsByFilterOptions,\n CancelEventApplicationErrors,\n CancelEventOptions,\n CancelEventResponse,\n CloneEventOptions,\n CloneEventResponse,\n CountEventsByStatusApplicationErrors,\n CountEventsByStatusOptions,\n CountEventsByStatusResponse,\n CreateEventApplicationErrors,\n CreateEventOptions,\n CreateEventValidationErrors,\n DeleteEventResponse,\n Event,\n EventCanceledEnvelope,\n EventClonedEnvelope,\n EventCreatedEnvelope,\n EventDeletedEnvelope,\n EventEndedEnvelope,\n EventPublishedEnvelope,\n EventQuery,\n EventReminderEnvelope,\n EventStartedEnvelope,\n EventUpdatedEnvelope,\n EventsQueryBuilder,\n GetEventBySlugOptions,\n GetEventBySlugResponse,\n GetEventOptions,\n ListEventsByCategoryOptions,\n ListEventsByCategoryResponse,\n PublishDraftEventApplicationErrors,\n PublishDraftEventOptions,\n PublishDraftEventResponse,\n QueryEventsApplicationErrors,\n QueryEventsOptions,\n QueryEventsResponse,\n UpdateEventApplicationErrors,\n UpdateEventOptions,\n UpdateEventValidationErrors,\n bulkCancelEventsByFilter as universalBulkCancelEventsByFilter,\n bulkDeleteEventsByFilter as universalBulkDeleteEventsByFilter,\n cancelEvent as universalCancelEvent,\n cloneEvent as universalCloneEvent,\n countEventsByStatus as universalCountEventsByStatus,\n createEvent as universalCreateEvent,\n deleteEvent as universalDeleteEvent,\n getEvent as universalGetEvent,\n getEventBySlug as universalGetEventBySlug,\n listEventsByCategory as universalListEventsByCategory,\n publishDraftEvent as universalPublishDraftEvent,\n queryEvents as universalQueryEvents,\n typedQueryEvents as universalTypedQueryEvents,\n updateEvent as universalUpdateEvent,\n} from './events-v3-event-wix-events-v-2.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/events' };\n\nexport function createEvent(httpClient: HttpClient): CreateEventSignature {\n return (\n event: NonNullablePaths<\n Event,\n `dateAndTimeSettings` | `location` | `registration.initialType` | `title`,\n 3\n >,\n options?: CreateEventOptions\n ) =>\n universalCreateEvent(\n event,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CreateEventSignature {\n /**\n * Creates an event. <br> <br>\n * The event includes a default registration form in the selected language, which consists of input fields for first name, last name, and email. See the [Registration Form API](https://dev.wix.com/docs/rest/business-solutions/events/form/about-the-registration-form-api) for more information. <br> <br>\n * You can create the event as a draft by setting `draft` to `true`. Otherwise, the event is published right away. <br> <br>\n * To create a recurring event, set `individualEventDates` in the `dateAndTimeSettings.recurringEvents` object. <br> <br>\n * The event is automatically set up to send daily summary reports of new guests to your business email.\n * @param - Event data.\n * @param - Optional fields.\n * @returns Created event.\n */\n (\n event: NonNullablePaths<\n Event,\n `dateAndTimeSettings` | `location` | `registration.initialType` | `title`,\n 3\n >,\n options?: CreateEventOptions\n ): Promise<\n NonNullablePaths<\n Event,\n | `_id`\n | `location.type`\n | `location.address.streetAddress.number`\n | `location.address.streetAddress.name`\n | `dateAndTimeSettings.recurrenceStatus`\n | `dateAndTimeSettings.recurringEvents.individualEventDates`\n | `dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `slug`\n | `status`\n | `registration.type`\n | `registration.status`\n | `registration.rsvp.responseType`\n | `registration.rsvp.waitlistEnabled`\n | `registration.tickets.guestsAssignedSeparately`\n | `registration.tickets.ticketLimitPerOrder`\n | `registration.tickets.lowestPrice.value`\n | `registration.tickets.lowestPrice.currency`\n | `registration.tickets.taxSettings.type`\n | `registration.allowedGuestTypes`\n | `registration.initialType`\n | `registration.registrationPaused`\n | `registration.registrationDisabled`\n | `calendarUrls.google`\n | `calendarUrls.ics`\n | `form.controls`\n | `form.controls.${number}.type`\n | `form.controls.${number}.system`\n | `form.controls.${number}.name`\n | `form.controls.${number}.label`\n | `form.controls.${number}.orderIndex`\n | `form.controls.${number}._id`\n | `form.messages.rsvp.rsvpYesOption`\n | `form.messages.rsvp.rsvpNoOption`\n | `form.messages.rsvp.positiveMessages.title`\n | `form.messages.rsvp.positiveMessages.confirmation.title`\n | `form.messages.rsvp.positiveMessages.confirmation.message`\n | `form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.negativeMessages.title`\n | `form.messages.rsvp.negativeMessages.confirmation.title`\n | `form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.submitActionLabel`\n | `form.messages.checkout.title`\n | `form.messages.checkout.submitActionLabel`\n | `form.messages.checkout.confirmation.title`\n | `form.messages.checkout.confirmation.message`\n | `form.messages.checkout.confirmation.downloadTicketsLabel`\n | `form.messages.checkout.confirmation.addToCalendarLabel`\n | `form.messages.checkout.confirmation.shareEventLabel`\n | `form.messages.registrationClosed.message`\n | `form.messages.registrationClosed.exploreEventsActionLabel`\n | `form.messages.ticketsUnavailable.message`\n | `form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `summaries.rsvps.totalCount`\n | `summaries.rsvps.yesCount`\n | `summaries.rsvps.noCount`\n | `summaries.rsvps.waitlistCount`\n | `summaries.tickets.ticketsSold`\n | `summaries.tickets.revenue.amount`\n | `summaries.tickets.revenue.currency`\n | `summaries.tickets.currencyLocked`\n | `summaries.tickets.totalOrders`\n | `summaries.cancellation.actorType`\n | `summaries.cancellation.actorName`\n | `summaries.cancellation.actorEmail`\n | `instanceId`\n | `guestListSettings.displayedPublicly`\n | `userId`\n | `onlineConferencing.enabled`\n | `onlineConferencing.type`\n | `onlineConferencing.session.hostLink`\n | `onlineConferencing.session.guestLink`\n | `seoSettings.slug`\n | `seoSettings.advancedSeoData.tags`\n | `seoSettings.advancedSeoData.tags.${number}.type`\n | `seoSettings.advancedSeoData.tags.${number}.children`\n | `seoSettings.advancedSeoData.tags.${number}.custom`\n | `seoSettings.advancedSeoData.tags.${number}.disabled`\n | `seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `seoSettings.advancedSeoData.settings.keywords`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `agendaSettings.enabled`,\n 7\n > & {\n __applicationErrorsType?: CreateEventApplicationErrors;\n __validationErrorsType?: CreateEventValidationErrors;\n }\n >;\n}\n\nexport function cloneEvent(httpClient: HttpClient): CloneEventSignature {\n return (eventId: string, options?: CloneEventOptions) =>\n universalCloneEvent(\n eventId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CloneEventSignature {\n /**\n * Clones an event, including the registration form, notifications, multilingual translations and ticket configuration from the original event. <br> <br>\n * The new event's date is automatically set to 14 days from the original event date. <br> <br>\n * If an event with the same `title` already exists, the new event's `title` gets a sequence number. For example, if you clone an event named `\"Leather Crafting 101\"`, the new event's title is `\"Leather Crafting 101 (1)\"`. <br> <br>\n * You can change the required entity field values while cloning an event.\n * @param - Event ID.\n * @param - Optional fields.\n */\n (eventId: string, options?: CloneEventOptions): Promise<\n NonNullablePaths<\n CloneEventResponse,\n | `event._id`\n | `event.location.type`\n | `event.location.address.streetAddress.number`\n | `event.location.address.streetAddress.name`\n | `event.dateAndTimeSettings.recurrenceStatus`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `event.slug`\n | `event.status`\n | `event.registration.type`\n | `event.registration.status`\n | `event.registration.rsvp.responseType`\n | `event.registration.rsvp.waitlistEnabled`\n | `event.registration.tickets.guestsAssignedSeparately`\n | `event.registration.tickets.ticketLimitPerOrder`\n | `event.registration.tickets.lowestPrice.value`\n | `event.registration.tickets.lowestPrice.currency`\n | `event.registration.tickets.taxSettings.type`\n | `event.registration.allowedGuestTypes`\n | `event.registration.initialType`\n | `event.registration.registrationPaused`\n | `event.registration.registrationDisabled`\n | `event.calendarUrls.google`\n | `event.calendarUrls.ics`\n | `event.form.controls`\n | `event.form.controls.${number}.type`\n | `event.form.controls.${number}.system`\n | `event.form.controls.${number}.name`\n | `event.form.controls.${number}.label`\n | `event.form.controls.${number}.orderIndex`\n | `event.form.controls.${number}._id`\n | `event.form.messages.rsvp.rsvpYesOption`\n | `event.form.messages.rsvp.rsvpNoOption`\n | `event.form.messages.rsvp.positiveMessages.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.message`\n | `event.form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `event.form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.negativeMessages.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.submitActionLabel`\n | `event.form.messages.checkout.title`\n | `event.form.messages.checkout.submitActionLabel`\n | `event.form.messages.checkout.confirmation.title`\n | `event.form.messages.checkout.confirmation.message`\n | `event.form.messages.checkout.confirmation.downloadTicketsLabel`\n | `event.form.messages.checkout.confirmation.addToCalendarLabel`\n | `event.form.messages.checkout.confirmation.shareEventLabel`\n | `event.form.messages.registrationClosed.message`\n | `event.form.messages.registrationClosed.exploreEventsActionLabel`\n | `event.form.messages.ticketsUnavailable.message`\n | `event.form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `event.summaries.rsvps.totalCount`\n | `event.summaries.rsvps.yesCount`\n | `event.summaries.rsvps.noCount`\n | `event.summaries.rsvps.waitlistCount`\n | `event.summaries.tickets.ticketsSold`\n | `event.summaries.tickets.revenue.amount`\n | `event.summaries.tickets.revenue.currency`\n | `event.summaries.tickets.currencyLocked`\n | `event.summaries.tickets.totalOrders`\n | `event.summaries.cancellation.actorType`\n | `event.summaries.cancellation.actorName`\n | `event.summaries.cancellation.actorEmail`\n | `event.instanceId`\n | `event.guestListSettings.displayedPublicly`\n | `event.userId`\n | `event.onlineConferencing.enabled`\n | `event.onlineConferencing.type`\n | `event.onlineConferencing.session.hostLink`\n | `event.onlineConferencing.session.guestLink`\n | `event.seoSettings.slug`\n | `event.seoSettings.advancedSeoData.tags`\n | `event.seoSettings.advancedSeoData.tags.${number}.type`\n | `event.seoSettings.advancedSeoData.tags.${number}.children`\n | `event.seoSettings.advancedSeoData.tags.${number}.custom`\n | `event.seoSettings.advancedSeoData.tags.${number}.disabled`\n | `event.seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `event.seoSettings.advancedSeoData.settings.keywords`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `event.agendaSettings.enabled`,\n 8\n >\n >;\n}\n\nexport function updateEvent(httpClient: HttpClient): UpdateEventSignature {\n return (_id: string, options?: UpdateEventOptions) =>\n universalUpdateEvent(\n _id,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface UpdateEventSignature {\n /**\n * Updates an event.\n * @param - Event ID.\n * @param - Optional fields.\n * @returns Updated event.\n */\n (_id: string, options?: UpdateEventOptions): Promise<\n NonNullablePaths<\n Event,\n | `_id`\n | `location.type`\n | `location.address.streetAddress.number`\n | `location.address.streetAddress.name`\n | `dateAndTimeSettings.recurrenceStatus`\n | `dateAndTimeSettings.recurringEvents.individualEventDates`\n | `dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `slug`\n | `status`\n | `registration.type`\n | `registration.status`\n | `registration.rsvp.responseType`\n | `registration.rsvp.waitlistEnabled`\n | `registration.tickets.guestsAssignedSeparately`\n | `registration.tickets.ticketLimitPerOrder`\n | `registration.tickets.lowestPrice.value`\n | `registration.tickets.lowestPrice.currency`\n | `registration.tickets.taxSettings.type`\n | `registration.allowedGuestTypes`\n | `registration.initialType`\n | `registration.registrationPaused`\n | `registration.registrationDisabled`\n | `calendarUrls.google`\n | `calendarUrls.ics`\n | `form.controls`\n | `form.controls.${number}.type`\n | `form.controls.${number}.system`\n | `form.controls.${number}.name`\n | `form.controls.${number}.label`\n | `form.controls.${number}.orderIndex`\n | `form.controls.${number}._id`\n | `form.messages.rsvp.rsvpYesOption`\n | `form.messages.rsvp.rsvpNoOption`\n | `form.messages.rsvp.positiveMessages.title`\n | `form.messages.rsvp.positiveMessages.confirmation.title`\n | `form.messages.rsvp.positiveMessages.confirmation.message`\n | `form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.negativeMessages.title`\n | `form.messages.rsvp.negativeMessages.confirmation.title`\n | `form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.submitActionLabel`\n | `form.messages.checkout.title`\n | `form.messages.checkout.submitActionLabel`\n | `form.messages.checkout.confirmation.title`\n | `form.messages.checkout.confirmation.message`\n | `form.messages.checkout.confirmation.downloadTicketsLabel`\n | `form.messages.checkout.confirmation.addToCalendarLabel`\n | `form.messages.checkout.confirmation.shareEventLabel`\n | `form.messages.registrationClosed.message`\n | `form.messages.registrationClosed.exploreEventsActionLabel`\n | `form.messages.ticketsUnavailable.message`\n | `form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `summaries.rsvps.totalCount`\n | `summaries.rsvps.yesCount`\n | `summaries.rsvps.noCount`\n | `summaries.rsvps.waitlistCount`\n | `summaries.tickets.ticketsSold`\n | `summaries.tickets.revenue.amount`\n | `summaries.tickets.revenue.currency`\n | `summaries.tickets.currencyLocked`\n | `summaries.tickets.totalOrders`\n | `summaries.cancellation.actorType`\n | `summaries.cancellation.actorName`\n | `summaries.cancellation.actorEmail`\n | `instanceId`\n | `guestListSettings.displayedPublicly`\n | `userId`\n | `onlineConferencing.enabled`\n | `onlineConferencing.type`\n | `onlineConferencing.session.hostLink`\n | `onlineConferencing.session.guestLink`\n | `seoSettings.slug`\n | `seoSettings.advancedSeoData.tags`\n | `seoSettings.advancedSeoData.tags.${number}.type`\n | `seoSettings.advancedSeoData.tags.${number}.children`\n | `seoSettings.advancedSeoData.tags.${number}.custom`\n | `seoSettings.advancedSeoData.tags.${number}.disabled`\n | `seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `seoSettings.advancedSeoData.settings.keywords`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `agendaSettings.enabled`,\n 7\n > & {\n __applicationErrorsType?: UpdateEventApplicationErrors;\n __validationErrorsType?: UpdateEventValidationErrors;\n }\n >;\n}\n\nexport function publishDraftEvent(\n httpClient: HttpClient\n): PublishDraftEventSignature {\n return (eventId: string, options?: PublishDraftEventOptions) =>\n universalPublishDraftEvent(\n eventId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface PublishDraftEventSignature {\n /**\n * Publishes a draft event to your live site. Once published, the event's status changes from `\"DRAFT\"` to `\"UPCOMING\"`. <br> <br>\n * It's impossible to revert the `\"DRAFT\"` status after publishing. The only option is to clone the event, then delete the original.\n * @param - Event ID.\n * @param - Optional fields.\n */\n (eventId: string, options?: PublishDraftEventOptions): Promise<\n NonNullablePaths<\n PublishDraftEventResponse,\n | `event._id`\n | `event.location.type`\n | `event.location.address.streetAddress.number`\n | `event.location.address.streetAddress.name`\n | `event.dateAndTimeSettings.recurrenceStatus`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `event.slug`\n | `event.status`\n | `event.registration.type`\n | `event.registration.status`\n | `event.registration.rsvp.responseType`\n | `event.registration.rsvp.waitlistEnabled`\n | `event.registration.tickets.guestsAssignedSeparately`\n | `event.registration.tickets.ticketLimitPerOrder`\n | `event.registration.tickets.lowestPrice.value`\n | `event.registration.tickets.lowestPrice.currency`\n | `event.registration.tickets.taxSettings.type`\n | `event.registration.allowedGuestTypes`\n | `event.registration.initialType`\n | `event.registration.registrationPaused`\n | `event.registration.registrationDisabled`\n | `event.calendarUrls.google`\n | `event.calendarUrls.ics`\n | `event.form.controls`\n | `event.form.controls.${number}.type`\n | `event.form.controls.${number}.system`\n | `event.form.controls.${number}.name`\n | `event.form.controls.${number}.label`\n | `event.form.controls.${number}.orderIndex`\n | `event.form.controls.${number}._id`\n | `event.form.messages.rsvp.rsvpYesOption`\n | `event.form.messages.rsvp.rsvpNoOption`\n | `event.form.messages.rsvp.positiveMessages.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.message`\n | `event.form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `event.form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.negativeMessages.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.submitActionLabel`\n | `event.form.messages.checkout.title`\n | `event.form.messages.checkout.submitActionLabel`\n | `event.form.messages.checkout.confirmation.title`\n | `event.form.messages.checkout.confirmation.message`\n | `event.form.messages.checkout.confirmation.downloadTicketsLabel`\n | `event.form.messages.checkout.confirmation.addToCalendarLabel`\n | `event.form.messages.checkout.confirmation.shareEventLabel`\n | `event.form.messages.registrationClosed.message`\n | `event.form.messages.registrationClosed.exploreEventsActionLabel`\n | `event.form.messages.ticketsUnavailable.message`\n | `event.form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `event.summaries.rsvps.totalCount`\n | `event.summaries.rsvps.yesCount`\n | `event.summaries.rsvps.noCount`\n | `event.summaries.rsvps.waitlistCount`\n | `event.summaries.tickets.ticketsSold`\n | `event.summaries.tickets.revenue.amount`\n | `event.summaries.tickets.revenue.currency`\n | `event.summaries.tickets.currencyLocked`\n | `event.summaries.tickets.totalOrders`\n | `event.summaries.cancellation.actorType`\n | `event.summaries.cancellation.actorName`\n | `event.summaries.cancellation.actorEmail`\n | `event.instanceId`\n | `event.guestListSettings.displayedPublicly`\n | `event.userId`\n | `event.onlineConferencing.enabled`\n | `event.onlineConferencing.type`\n | `event.onlineConferencing.session.hostLink`\n | `event.onlineConferencing.session.guestLink`\n | `event.seoSettings.slug`\n | `event.seoSettings.advancedSeoData.tags`\n | `event.seoSettings.advancedSeoData.tags.${number}.type`\n | `event.seoSettings.advancedSeoData.tags.${number}.children`\n | `event.seoSettings.advancedSeoData.tags.${number}.custom`\n | `event.seoSettings.advancedSeoData.tags.${number}.disabled`\n | `event.seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `event.seoSettings.advancedSeoData.settings.keywords`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `event.agendaSettings.enabled`,\n 8\n > & {\n __applicationErrorsType?: PublishDraftEventApplicationErrors;\n }\n >;\n}\n\nexport function cancelEvent(httpClient: HttpClient): CancelEventSignature {\n return (eventId: string, options?: CancelEventOptions) =>\n universalCancelEvent(\n eventId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CancelEventSignature {\n /**\n * Cancels an event. <br> <br>\n * After cancellation, registration for an event is closed. To reuse the event, call Clone Event and Publish Event to publish it again. <br> <br>\n * If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.\n * @param - Event ID.\n * @param - Optional fields.\n */\n (eventId: string, options?: CancelEventOptions): Promise<\n NonNullablePaths<\n CancelEventResponse,\n | `event._id`\n | `event.location.type`\n | `event.location.address.streetAddress.number`\n | `event.location.address.streetAddress.name`\n | `event.dateAndTimeSettings.recurrenceStatus`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `event.slug`\n | `event.status`\n | `event.registration.type`\n | `event.registration.status`\n | `event.registration.rsvp.responseType`\n | `event.registration.rsvp.waitlistEnabled`\n | `event.registration.tickets.guestsAssignedSeparately`\n | `event.registration.tickets.ticketLimitPerOrder`\n | `event.registration.tickets.lowestPrice.value`\n | `event.registration.tickets.lowestPrice.currency`\n | `event.registration.tickets.taxSettings.type`\n | `event.registration.allowedGuestTypes`\n | `event.registration.initialType`\n | `event.registration.registrationPaused`\n | `event.registration.registrationDisabled`\n | `event.calendarUrls.google`\n | `event.calendarUrls.ics`\n | `event.form.controls`\n | `event.form.controls.${number}.type`\n | `event.form.controls.${number}.system`\n | `event.form.controls.${number}.name`\n | `event.form.controls.${number}.label`\n | `event.form.controls.${number}.orderIndex`\n | `event.form.controls.${number}._id`\n | `event.form.messages.rsvp.rsvpYesOption`\n | `event.form.messages.rsvp.rsvpNoOption`\n | `event.form.messages.rsvp.positiveMessages.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.message`\n | `event.form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `event.form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.negativeMessages.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.submitActionLabel`\n | `event.form.messages.checkout.title`\n | `event.form.messages.checkout.submitActionLabel`\n | `event.form.messages.checkout.confirmation.title`\n | `event.form.messages.checkout.confirmation.message`\n | `event.form.messages.checkout.confirmation.downloadTicketsLabel`\n | `event.form.messages.checkout.confirmation.addToCalendarLabel`\n | `event.form.messages.checkout.confirmation.shareEventLabel`\n | `event.form.messages.registrationClosed.message`\n | `event.form.messages.registrationClosed.exploreEventsActionLabel`\n | `event.form.messages.ticketsUnavailable.message`\n | `event.form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `event.summaries.rsvps.totalCount`\n | `event.summaries.rsvps.yesCount`\n | `event.summaries.rsvps.noCount`\n | `event.summaries.rsvps.waitlistCount`\n | `event.summaries.tickets.ticketsSold`\n | `event.summaries.tickets.revenue.amount`\n | `event.summaries.tickets.revenue.currency`\n | `event.summaries.tickets.currencyLocked`\n | `event.summaries.tickets.totalOrders`\n | `event.summaries.cancellation.actorType`\n | `event.summaries.cancellation.actorName`\n | `event.summaries.cancellation.actorEmail`\n | `event.instanceId`\n | `event.guestListSettings.displayedPublicly`\n | `event.userId`\n | `event.onlineConferencing.enabled`\n | `event.onlineConferencing.type`\n | `event.onlineConferencing.session.hostLink`\n | `event.onlineConferencing.session.guestLink`\n | `event.seoSettings.slug`\n | `event.seoSettings.advancedSeoData.tags`\n | `event.seoSettings.advancedSeoData.tags.${number}.type`\n | `event.seoSettings.advancedSeoData.tags.${number}.children`\n | `event.seoSettings.advancedSeoData.tags.${number}.custom`\n | `event.seoSettings.advancedSeoData.tags.${number}.disabled`\n | `event.seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `event.seoSettings.advancedSeoData.settings.keywords`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `event.agendaSettings.enabled`,\n 8\n > & {\n __applicationErrorsType?: CancelEventApplicationErrors;\n }\n >;\n}\n\nexport function bulkCancelEventsByFilter(\n httpClient: HttpClient\n): BulkCancelEventsByFilterSignature {\n return (\n options?: NonNullablePaths<\n BulkCancelEventsByFilterOptions,\n `filter.filter`,\n 3\n >\n ) =>\n universalBulkCancelEventsByFilter(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkCancelEventsByFilterSignature {\n /**\n * Cancels multiple events that meet the specified criteria. <br> <br>\n * After cancellation, registration for an event is closed. To reuse the event, call Clone Event and Publish Event to publish it again. <br> <br>\n * If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.\n * @param - Optional fields.\n */\n (\n options?: NonNullablePaths<\n BulkCancelEventsByFilterOptions,\n `filter.filter`,\n 3\n >\n ): Promise<void>;\n}\n\nexport function deleteEvent(httpClient: HttpClient): DeleteEventSignature {\n return (eventId: string) =>\n universalDeleteEvent(\n eventId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface DeleteEventSignature {\n /**\n * Deletes an event. <br> <br>\n * You can retrieve the deleted event through a GDPR access request.\n * @param - Event ID.\n */\n (eventId: string): Promise<\n NonNullablePaths<DeleteEventResponse, `eventId`, 2>\n >;\n}\n\nexport function bulkDeleteEventsByFilter(\n httpClient: HttpClient\n): BulkDeleteEventsByFilterSignature {\n return (\n options?: NonNullablePaths<\n BulkDeleteEventsByFilterOptions,\n `filter.filter`,\n 3\n >\n ) =>\n universalBulkDeleteEventsByFilter(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkDeleteEventsByFilterSignature {\n /**\n * Deletes multiple events that meet the specified criteria. <br> <br>\n * You can retrieve the deleted events through a GDPR access request.\n * @param - Optional fields.\n */\n (\n options?: NonNullablePaths<\n BulkDeleteEventsByFilterOptions,\n `filter.filter`,\n 3\n >\n ): Promise<void>;\n}\n\nexport function queryEvents(httpClient: HttpClient): QueryEventsSignature {\n return (options?: QueryEventsOptions) =>\n universalQueryEvents(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface QueryEventsSignature {\n /**\n * Creates a query to retrieve a list of events.\n *\n *\n * The `queryEvents()` method builds a query to retrieve a list of events and returns a [`EventsQueryBuilder`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder) object.\n *\n * The returned object contains the query definition, which is typically used to run the query using the [`find()`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/find) method.\n *\n * You can refine the query by chaining `EventsQueryBuilder` methods onto the query. `EventsQueryBuilder` methods enable you to sort, filter, and control the results `queryEvents()` returns.\n *\n * `queryEvents()` runs with these `EventsQueryBuilder` defaults, which you can override:\n *\n * - [`skip(0)`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/skip)\n * - [`limit(50)`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/limit)\n * - [`descending(\"_createdDate\")`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/descending)\n *\n * The methods that are chained to `queryEvents()` are applied in the order they're called. For example, if you apply `ascending('title')` and then `descending('status')`, the results are sorted first by the `title`, and then, if there are multiple results with the same `title`, the items are sorted by `status`.\n * @param - Optional fields.\n */\n (options?: QueryEventsOptions): EventsQueryBuilder;\n}\n\nexport function typedQueryEvents(\n httpClient: HttpClient\n): TypedQueryEventsSignature {\n return (query: EventQuery, options?: QueryEventsOptions) =>\n universalTypedQueryEvents(\n query,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface TypedQueryEventsSignature {\n /** */\n (query: EventQuery, options?: QueryEventsOptions): Promise<\n NonNullablePaths<\n QueryEventsResponse,\n | `events`\n | `events.${number}._id`\n | `events.${number}.location.type`\n | `events.${number}.dateAndTimeSettings.recurrenceStatus`\n | `events.${number}.slug`\n | `events.${number}.status`\n | `events.${number}.registration.type`\n | `events.${number}.registration.status`\n | `events.${number}.registration.rsvp.responseType`\n | `events.${number}.registration.rsvp.waitlistEnabled`\n | `events.${number}.registration.tickets.guestsAssignedSeparately`\n | `events.${number}.registration.tickets.ticketLimitPerOrder`\n | `events.${number}.registration.allowedGuestTypes`\n | `events.${number}.registration.initialType`\n | `events.${number}.registration.registrationPaused`\n | `events.${number}.registration.registrationDisabled`\n | `events.${number}.calendarUrls.google`\n | `events.${number}.calendarUrls.ics`\n | `events.${number}.summaries.rsvps.totalCount`\n | `events.${number}.summaries.rsvps.yesCount`\n | `events.${number}.summaries.rsvps.noCount`\n | `events.${number}.summaries.rsvps.waitlistCount`\n | `events.${number}.summaries.tickets.ticketsSold`\n | `events.${number}.summaries.tickets.currencyLocked`\n | `events.${number}.summaries.tickets.totalOrders`\n | `events.${number}.summaries.cancellation.actorType`\n | `events.${number}.summaries.cancellation.actorName`\n | `events.${number}.summaries.cancellation.actorEmail`\n | `events.${number}.instanceId`\n | `events.${number}.guestListSettings.displayedPublicly`\n | `events.${number}.userId`\n | `events.${number}.onlineConferencing.enabled`\n | `events.${number}.onlineConferencing.type`\n | `events.${number}.onlineConferencing.session.hostLink`\n | `events.${number}.onlineConferencing.session.guestLink`\n | `events.${number}.seoSettings.slug`\n | `events.${number}.agendaSettings.enabled`,\n 6\n > & {\n __applicationErrorsType?: QueryEventsApplicationErrors;\n }\n >;\n}\n\nexport function countEventsByStatus(\n httpClient: HttpClient\n): CountEventsByStatusSignature {\n return (options?: CountEventsByStatusOptions) =>\n universalCountEventsByStatus(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CountEventsByStatusSignature {\n /**\n * Counts events by status.\n * @param - Optional fields.\n */\n (options?: CountEventsByStatusOptions): Promise<\n CountEventsByStatusResponse & {\n __applicationErrorsType?: CountEventsByStatusApplicationErrors;\n }\n >;\n}\n\nexport function listEventsByCategory(\n httpClient: HttpClient\n): ListEventsByCategorySignature {\n return (categoryId: string, options?: ListEventsByCategoryOptions) =>\n universalListEventsByCategory(\n categoryId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface ListEventsByCategorySignature {\n /**\n * Retrieves a list of up to 100 events that belong to the same event category.\n * @param - Category ID.\n * @param - Optional fields.\n */\n (categoryId: string, options?: ListEventsByCategoryOptions): Promise<\n NonNullablePaths<\n ListEventsByCategoryResponse,\n | `events`\n | `events.${number}._id`\n | `events.${number}.location.type`\n | `events.${number}.dateAndTimeSettings.recurrenceStatus`\n | `events.${number}.slug`\n | `events.${number}.status`\n | `events.${number}.registration.type`\n | `events.${number}.registration.status`\n | `events.${number}.registration.rsvp.responseType`\n | `events.${number}.registration.rsvp.waitlistEnabled`\n | `events.${number}.registration.tickets.guestsAssignedSeparately`\n | `events.${number}.registration.tickets.ticketLimitPerOrder`\n | `events.${number}.registration.allowedGuestTypes`\n | `events.${number}.registration.initialType`\n | `events.${number}.registration.registrationPaused`\n | `events.${number}.registration.registrationDisabled`\n | `events.${number}.calendarUrls.google`\n | `events.${number}.calendarUrls.ics`\n | `events.${number}.summaries.rsvps.totalCount`\n | `events.${number}.summaries.rsvps.yesCount`\n | `events.${number}.summaries.rsvps.noCount`\n | `events.${number}.summaries.rsvps.waitlistCount`\n | `events.${number}.summaries.tickets.ticketsSold`\n | `events.${number}.summaries.tickets.currencyLocked`\n | `events.${number}.summaries.tickets.totalOrders`\n | `events.${number}.summaries.cancellation.actorType`\n | `events.${number}.summaries.cancellation.actorName`\n | `events.${number}.summaries.cancellation.actorEmail`\n | `events.${number}.instanceId`\n | `events.${number}.guestListSettings.displayedPublicly`\n | `events.${number}.userId`\n | `events.${number}.onlineConferencing.enabled`\n | `events.${number}.onlineConferencing.type`\n | `events.${number}.onlineConferencing.session.hostLink`\n | `events.${number}.onlineConferencing.session.guestLink`\n | `events.${number}.seoSettings.slug`\n | `events.${number}.agendaSettings.enabled`,\n 6\n >\n >;\n}\n\nexport function getEvent(httpClient: HttpClient): GetEventSignature {\n return (eventId: string, options?: GetEventOptions) =>\n universalGetEvent(\n eventId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetEventSignature {\n /**\n * Retrieves an event by ID.\n *\n * Specify `fields` to request specific fieldsets.\n * For example, `fields: [\"FORM\"]` includes the event's registration form definition in the response.\n * Use the returned input names, mandatory fields, and predefined options before\n * [creating an RSVP](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/create-rsvp).\n * @param - Event ID.\n * @param - Optional fields.\n * @returns Event.\n */\n (eventId: string, options?: GetEventOptions): Promise<\n NonNullablePaths<\n Event,\n | `_id`\n | `location.type`\n | `location.address.streetAddress.number`\n | `location.address.streetAddress.name`\n | `dateAndTimeSettings.recurrenceStatus`\n | `dateAndTimeSettings.recurringEvents.individualEventDates`\n | `dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `slug`\n | `status`\n | `registration.type`\n | `registration.status`\n | `registration.rsvp.responseType`\n | `registration.rsvp.waitlistEnabled`\n | `registration.tickets.guestsAssignedSeparately`\n | `registration.tickets.ticketLimitPerOrder`\n | `registration.tickets.lowestPrice.value`\n | `registration.tickets.lowestPrice.currency`\n | `registration.tickets.taxSettings.type`\n | `registration.allowedGuestTypes`\n | `registration.initialType`\n | `registration.registrationPaused`\n | `registration.registrationDisabled`\n | `calendarUrls.google`\n | `calendarUrls.ics`\n | `form.controls`\n | `form.controls.${number}.type`\n | `form.controls.${number}.system`\n | `form.controls.${number}.name`\n | `form.controls.${number}.label`\n | `form.controls.${number}.orderIndex`\n | `form.controls.${number}._id`\n | `form.messages.rsvp.rsvpYesOption`\n | `form.messages.rsvp.rsvpNoOption`\n | `form.messages.rsvp.positiveMessages.title`\n | `form.messages.rsvp.positiveMessages.confirmation.title`\n | `form.messages.rsvp.positiveMessages.confirmation.message`\n | `form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.negativeMessages.title`\n | `form.messages.rsvp.negativeMessages.confirmation.title`\n | `form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.submitActionLabel`\n | `form.messages.checkout.title`\n | `form.messages.checkout.submitActionLabel`\n | `form.messages.checkout.confirmation.title`\n | `form.messages.checkout.confirmation.message`\n | `form.messages.checkout.confirmation.downloadTicketsLabel`\n | `form.messages.checkout.confirmation.addToCalendarLabel`\n | `form.messages.checkout.confirmation.shareEventLabel`\n | `form.messages.registrationClosed.message`\n | `form.messages.registrationClosed.exploreEventsActionLabel`\n | `form.messages.ticketsUnavailable.message`\n | `form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `summaries.rsvps.totalCount`\n | `summaries.rsvps.yesCount`\n | `summaries.rsvps.noCount`\n | `summaries.rsvps.waitlistCount`\n | `summaries.tickets.ticketsSold`\n | `summaries.tickets.revenue.amount`\n | `summaries.tickets.revenue.currency`\n | `summaries.tickets.currencyLocked`\n | `summaries.tickets.totalOrders`\n | `summaries.cancellation.actorType`\n | `summaries.cancellation.actorName`\n | `summaries.cancellation.actorEmail`\n | `instanceId`\n | `guestListSettings.displayedPublicly`\n | `userId`\n | `onlineConferencing.enabled`\n | `onlineConferencing.type`\n | `onlineConferencing.session.hostLink`\n | `onlineConferencing.session.guestLink`\n | `seoSettings.slug`\n | `seoSettings.advancedSeoData.tags`\n | `seoSettings.advancedSeoData.tags.${number}.type`\n | `seoSettings.advancedSeoData.tags.${number}.children`\n | `seoSettings.advancedSeoData.tags.${number}.custom`\n | `seoSettings.advancedSeoData.tags.${number}.disabled`\n | `seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `seoSettings.advancedSeoData.settings.keywords`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `agendaSettings.enabled`,\n 7\n >\n >;\n}\n\nexport function getEventBySlug(\n httpClient: HttpClient\n): GetEventBySlugSignature {\n return (slug: string, options?: GetEventBySlugOptions) =>\n universalGetEventBySlug(\n slug,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetEventBySlugSignature {\n /**\n * Retrieves an event by the slug URL.\n *\n * The slug is the end of an event URL that refers to a specific event. For example, if an event's URL is `https://example.com/events/event/{my-event-slug}`, the slug is `my-event-slug`.\n * @param - URL slug.\n * @param - Optional fields.\n */\n (slug: string, options?: GetEventBySlugOptions): Promise<\n NonNullablePaths<\n GetEventBySlugResponse,\n | `event._id`\n | `event.location.type`\n | `event.location.address.streetAddress.number`\n | `event.location.address.streetAddress.name`\n | `event.dateAndTimeSettings.recurrenceStatus`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `event.slug`\n | `event.status`\n | `event.registration.type`\n | `event.registration.status`\n | `event.registration.rsvp.responseType`\n | `event.registration.rsvp.waitlistEnabled`\n | `event.registration.tickets.guestsAssignedSeparately`\n | `event.registration.tickets.ticketLimitPerOrder`\n | `event.registration.tickets.lowestPrice.value`\n | `event.registration.tickets.lowestPrice.currency`\n | `event.registration.tickets.taxSettings.type`\n | `event.registration.allowedGuestTypes`\n | `event.registration.initialType`\n | `event.registration.registrationPaused`\n | `event.registration.registrationDisabled`\n | `event.calendarUrls.google`\n | `event.calendarUrls.ics`\n | `event.form.controls`\n | `event.form.controls.${number}.type`\n | `event.form.controls.${number}.system`\n | `event.form.controls.${number}.name`\n | `event.form.controls.${number}.label`\n | `event.form.controls.${number}.orderIndex`\n | `event.form.controls.${number}._id`\n | `event.form.messages.rsvp.rsvpYesOption`\n | `event.form.messages.rsvp.rsvpNoOption`\n | `event.form.messages.rsvp.positiveMessages.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.message`\n | `event.form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `event.form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.negativeMessages.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.submitActionLabel`\n | `event.form.messages.checkout.title`\n | `event.form.messages.checkout.submitActionLabel`\n | `event.form.messages.checkout.confirmation.title`\n | `event.form.messages.checkout.confirmation.message`\n | `event.form.messages.checkout.confirmation.downloadTicketsLabel`\n | `event.form.messages.checkout.confirmation.addToCalendarLabel`\n | `event.form.messages.checkout.confirmation.shareEventLabel`\n | `event.form.messages.registrationClosed.message`\n | `event.form.messages.registrationClosed.exploreEventsActionLabel`\n | `event.form.messages.ticketsUnavailable.message`\n | `event.form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `event.summaries.rsvps.totalCount`\n | `event.summaries.rsvps.yesCount`\n | `event.summaries.rsvps.noCount`\n | `event.summaries.rsvps.waitlistCount`\n | `event.summaries.tickets.ticketsSold`\n | `event.summaries.tickets.revenue.amount`\n | `event.summaries.tickets.revenue.currency`\n | `event.summaries.tickets.currencyLocked`\n | `event.summaries.tickets.totalOrders`\n | `event.summaries.cancellation.actorType`\n | `event.summaries.cancellation.actorName`\n | `event.summaries.cancellation.actorEmail`\n | `event.instanceId`\n | `event.guestListSettings.displayedPublicly`\n | `event.userId`\n | `event.onlineConferencing.enabled`\n | `event.onlineConferencing.type`\n | `event.onlineConferencing.session.hostLink`\n | `event.onlineConferencing.session.guestLink`\n | `event.seoSettings.slug`\n | `event.seoSettings.advancedSeoData.tags`\n | `event.seoSettings.advancedSeoData.tags.${number}.type`\n | `event.seoSettings.advancedSeoData.tags.${number}.children`\n | `event.seoSettings.advancedSeoData.tags.${number}.custom`\n | `event.seoSettings.advancedSeoData.tags.${number}.disabled`\n | `event.seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `event.seoSettings.advancedSeoData.settings.keywords`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `event.agendaSettings.enabled`,\n 8\n >\n >;\n}\n\nexport const onEventCanceled = /*#__PURE__*/ EventDefinition(\n 'wix.events.v3.event_canceled',\n true,\n (event: EventCanceledEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'data.timestamp' }, { path: 'metadata.eventTime' }],\n },\n ])\n )\n)<EventCanceledEnvelope>();\nexport const onEventCloned = /*#__PURE__*/ EventDefinition(\n 'wix.events.v3.event_cloned',\n true,\n (event: EventClonedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'data.timestamp' },\n { path: 'data.dateAndTimeSettings.startDate' },\n { path: 'data.dateAndTimeSettings.endDate' },\n {\n path: 'data.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'data.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'data.location.address' }],\n },\n ])\n )\n)<EventClonedEnvelope>();\nexport const onEventCreated = /*#__PURE__*/ EventDefinition(\n 'wix.events.v3.event_created',\n true,\n (event: EventCreatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'entity.mainImage' }],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'entity.publishedDate' },\n { path: 'entity.dateAndTimeSettings.startDate' },\n { path: 'entity.dateAndTimeSettings.endDate' },\n {\n path: 'entity.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'entity.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'entity.registration.rsvp.startDate' },\n { path: 'entity.registration.rsvp.endDate' },\n { path: 'entity.summaries.cancellation.canceledDate' },\n { path: 'entity.categories.categories.createdDate' },\n { path: 'entity.description.metadata.createdTimestamp' },\n { path: 'entity.description.metadata.updatedTimestamp' },\n { path: 'entity.badges.badges.functionUpdateDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'entity.eventPageUrl' },\n { path: 'entity.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'entity.location.address' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'entity.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'entity.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'entity.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'entity.description.nodes.galleryData.options.item.ratio' },\n { path: 'entity.description.nodes.imageData.image.duration' },\n { path: 'entity.description.nodes.imageData.crop.x' },\n { path: 'entity.description.nodes.imageData.crop.y' },\n { path: 'entity.description.nodes.imageData.crop.width' },\n { path: 'entity.description.nodes.imageData.crop.height' },\n { path: 'entity.description.nodes.mapData.mapSettings.lat' },\n { path: 'entity.description.nodes.mapData.mapSettings.lng' },\n { path: 'entity.description.nodes.pollData.poll.image.duration' },\n {\n path: 'entity.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'entity.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'entity.description.nodes.appEmbedData.image.duration' },\n { path: 'entity.description.nodes.videoData.video.duration' },\n { path: 'entity.description.nodes.videoData.thumbnail.duration' },\n { path: 'entity.description.nodes.audioData.audio.duration' },\n { path: 'entity.description.nodes.audioData.coverImage.duration' },\n {\n path: 'entity.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'entity.description.nodes.shapeData.shape.duration' },\n {\n path: 'entity.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'entity.description.nodes.tocData.fontSize' },\n { path: 'entity.description.nodes.tocData.itemSpacing' },\n {\n path: 'entity.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ])\n )\n)<EventCreatedEnvelope>();\nexport const onEventDeleted = /*#__PURE__*/ EventDefinition(\n 'wix.events.v3.event_deleted',\n true,\n (event: EventDeletedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'undefined.mainImage' }],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'undefined.createdDate' },\n { path: 'undefined.updatedDate' },\n { path: 'undefined.publishedDate' },\n { path: 'undefined.dateAndTimeSettings.startDate' },\n { path: 'undefined.dateAndTimeSettings.endDate' },\n {\n path: 'undefined.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'undefined.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'undefined.registration.rsvp.startDate' },\n { path: 'undefined.registration.rsvp.endDate' },\n { path: 'undefined.summaries.cancellation.canceledDate' },\n { path: 'undefined.categories.categories.createdDate' },\n { path: 'undefined.description.metadata.createdTimestamp' },\n { path: 'undefined.description.metadata.updatedTimestamp' },\n { path: 'undefined.badges.badges.functionUpdateDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'undefined.eventPageUrl' },\n { path: 'undefined.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'undefined.location.address' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'undefined.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'undefined.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'undefined.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'undefined.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'undefined.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'undefined.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'undefined.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'undefined.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'undefined.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'undefined.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'undefined.description.nodes.imageData.image.duration' },\n { path: 'undefined.description.nodes.imageData.crop.x' },\n { path: 'undefined.description.nodes.imageData.crop.y' },\n { path: 'undefined.description.nodes.imageData.crop.width' },\n { path: 'undefined.description.nodes.imageData.crop.height' },\n { path: 'undefined.description.nodes.mapData.mapSettings.lat' },\n { path: 'undefined.description.nodes.mapData.mapSettings.lng' },\n {\n path: 'undefined.description.nodes.pollData.poll.image.duration',\n },\n {\n path: 'undefined.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'undefined.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'undefined.description.nodes.appEmbedData.image.duration' },\n { path: 'undefined.description.nodes.videoData.video.duration' },\n {\n path: 'undefined.description.nodes.videoData.thumbnail.duration',\n },\n { path: 'undefined.description.nodes.audioData.audio.duration' },\n {\n path: 'undefined.description.nodes.audioData.coverImage.duration',\n },\n {\n path: 'undefined.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'undefined.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'undefined.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'undefined.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'undefined.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'undefined.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'undefined.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'undefined.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'undefined.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'undefined.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'undefined.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'undefined.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'undefined.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'undefined.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'undefined.description.nodes.shapeData.shape.duration' },\n {\n path: 'undefined.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'undefined.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'undefined.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'undefined.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'undefined.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'undefined.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'undefined.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'undefined.description.nodes.tocData.fontSize' },\n { path: 'undefined.description.nodes.tocData.itemSpacing' },\n {\n path: 'undefined.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ])\n )\n)<EventDeletedEnvelope>();\nexport const onEventEnded = /*#__PURE__*/ EventDefinition(\n 'wix.events.v3.event_ended',\n true,\n (event: EventEndedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'data.timestamp' }, { path: 'metadata.eventTime' }],\n },\n ])\n )\n)<EventEndedEnvelope>();\nexport const onEventPublished = /*#__PURE__*/ EventDefinition(\n 'wix.events.v3.event_published',\n true,\n (event: EventPublishedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'data.timestamp' },\n { path: 'data.dateAndTimeSettings.startDate' },\n { path: 'data.dateAndTimeSettings.endDate' },\n {\n path: 'data.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'data.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'data.registration.rsvp.startDate' },\n { path: 'data.registration.rsvp.endDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'data.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'data.location.address' }],\n },\n ])\n )\n)<EventPublishedEnvelope>();\nexport const onEventReminder = /*#__PURE__*/ EventDefinition(\n 'wix.events.v3.event_reminder',\n true,\n (event: EventReminderEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'data.timestamp' },\n { path: 'data.dateAndTimeSettings.startDate' },\n { path: 'data.dateAndTimeSettings.endDate' },\n {\n path: 'data.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'data.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'data.location.address' }],\n },\n ])\n )\n)<EventReminderEnvelope>();\nexport const onEventStarted = /*#__PURE__*/ EventDefinition(\n 'wix.events.v3.event_started',\n true,\n (event: EventStartedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'data.timestamp' }, { path: 'metadata.eventTime' }],\n },\n ])\n )\n)<EventStartedEnvelope>();\nexport const onEventUpdated = /*#__PURE__*/ EventDefinition(\n 'wix.events.v3.event_updated',\n true,\n (event: EventUpdatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'entity.mainImage' }],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'entity.publishedDate' },\n { path: 'entity.dateAndTimeSettings.startDate' },\n { path: 'entity.dateAndTimeSettings.endDate' },\n {\n path: 'entity.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'entity.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'entity.registration.rsvp.startDate' },\n { path: 'entity.registration.rsvp.endDate' },\n { path: 'entity.summaries.cancellation.canceledDate' },\n { path: 'entity.categories.categories.createdDate' },\n { path: 'entity.description.metadata.createdTimestamp' },\n { path: 'entity.description.metadata.updatedTimestamp' },\n { path: 'entity.badges.badges.functionUpdateDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'entity.eventPageUrl' },\n { path: 'entity.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'entity.location.address' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'entity.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'entity.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'entity.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'entity.description.nodes.galleryData.options.item.ratio' },\n { path: 'entity.description.nodes.imageData.image.duration' },\n { path: 'entity.description.nodes.imageData.crop.x' },\n { path: 'entity.description.nodes.imageData.crop.y' },\n { path: 'entity.description.nodes.imageData.crop.width' },\n { path: 'entity.description.nodes.imageData.crop.height' },\n { path: 'entity.description.nodes.mapData.mapSettings.lat' },\n { path: 'entity.description.nodes.mapData.mapSettings.lng' },\n { path: 'entity.description.nodes.pollData.poll.image.duration' },\n {\n path: 'entity.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'entity.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'entity.description.nodes.appEmbedData.image.duration' },\n { path: 'entity.description.nodes.videoData.video.duration' },\n { path: 'entity.description.nodes.videoData.thumbnail.duration' },\n { path: 'entity.description.nodes.audioData.audio.duration' },\n { path: 'entity.description.nodes.audioData.coverImage.duration' },\n {\n path: 'entity.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'entity.description.nodes.shapeData.shape.duration' },\n {\n path: 'entity.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'entity.description.nodes.tocData.fontSize' },\n { path: 'entity.description.nodes.tocData.itemSpacing' },\n {\n path: 'entity.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ])\n )\n)<EventUpdatedEnvelope>();\n\nexport {\n AccountInfo,\n AccountInfoMetadata,\n ActionEvent,\n ActorType,\n Address,\n AddressLocation,\n AddressStreetOneOf,\n AgendaSettings,\n Alignment,\n AnchorData,\n Animation,\n AnimationType,\n AppEmbedData,\n AppEmbedDataAppDataOneOf,\n AppType,\n AspectRatio,\n AudioData,\n Backdrop,\n BackdropType,\n Background,\n BackgroundGradient,\n BackgroundImage,\n BackgroundType,\n Badge,\n BadgeList,\n BadgeTypeType,\n Banner,\n BannerPosition,\n BaseEventMetadata,\n BlockquoteData,\n BookingData,\n Border,\n BorderColors,\n BorderWidths,\n BulkCancelEventsByFilterOptions,\n BulkCancelEventsByFilterRequest,\n BulkCancelEventsByFilterResponse,\n BulkDeleteEventsByFilterOptions,\n BulkDeleteEventsByFilterRequest,\n BulkDeleteEventsByFilterResponse,\n BulletedListData,\n ButtonData,\n ButtonDataType,\n ButtonStyles,\n CalendarUrls,\n CancelEventOptions,\n CancelEventRequest,\n CancelEventResponse,\n Cancellation,\n CaptionData,\n CardData,\n CardDataBackground,\n CardDataBackgroundType,\n CardStyles,\n CardStylesType,\n CellStyle,\n CheckboxListData,\n CheckoutFormMessages,\n CheckoutType,\n CloneEventFromOtherSiteRequest,\n CloneEventFromOtherSiteResponse,\n CloneEventOptions,\n CloneEventRequest,\n CloneEventResponse,\n CodeBlockData,\n CollapsibleListData,\n ColorData,\n Colors,\n ColumnSize,\n CommonAddressLocation,\n CommonCursors,\n CommonPaging,\n CommonPagingMetadataV2,\n CommonQueryV2,\n CommonQueryV2PagingMethodOneOf,\n CommonSortOrder,\n CommonSorting,\n ConferenceTypeType,\n Content,\n ContentField,\n ContentFieldValueOneOf,\n CountEventsByStatusOptions,\n CountEventsByStatusRequest,\n CountEventsByStatusResponse,\n CreateEventOptions,\n CreateEventRequest,\n CreateEventResponse,\n Crop,\n CursorPaging,\n Cursors,\n DateAndTimeSettings,\n Decoration,\n DecorationDataOneOf,\n DecorationType,\n DeleteEventRequest,\n DeleteEventResponse,\n Design,\n DesignTarget,\n Dimensions,\n Direction,\n DividerData,\n DividerDataAlignment,\n DividerDataStyles,\n DocumentStyle,\n DomainEvent,\n DomainEventBodyOneOf,\n EmbedData,\n Empty,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n EntranceAnimation,\n EntranceEffect,\n EntranceEffectType,\n Event,\n EventCanceled,\n EventCanceledEnvelope,\n EventCategories,\n EventCategory,\n EventCloned,\n EventClonedEnvelope,\n EventCreatedEnvelope,\n EventData,\n EventDeletedEnvelope,\n EventDisplaySettings,\n EventEnded,\n EventEndedEnvelope,\n EventMetadata,\n EventPublished,\n EventPublishedEnvelope,\n EventQuerySpec,\n EventReminder,\n EventReminderEnvelope,\n EventStarted,\n EventStartedEnvelope,\n EventUpdatedEnvelope,\n EventsMoney,\n EventsQueryBuilder,\n EventsQueryResult,\n ExportEventsRequest,\n ExportEventsResponse,\n ExternalRegistration,\n FacetCounts,\n Feed,\n FileData,\n FileSource,\n FileSourceDataOneOf,\n FindEventRequest,\n FindEventRequestFindByOneOf,\n FindEventResponse,\n FontFamilyData,\n FontSizeData,\n FontType,\n Form,\n FormMessages,\n Formatted,\n GIF,\n GIFData,\n GIFType,\n GalleryData,\n GalleryOptions,\n GalleryOptionsLayout,\n GetEventBySlugOptions,\n GetEventBySlugRequest,\n GetEventBySlugResponse,\n GetEventOptions,\n GetEventRequest,\n GetEventResponse,\n GetEventTranslationsContentRequest,\n GetEventTranslationsContentResponse,\n Gradient,\n GradientType,\n GuestListSettings,\n GuestTypeType,\n HTMLData,\n HTMLDataDataOneOf,\n HeadingData,\n Height,\n IdentificationData,\n IdentificationDataIdOneOf,\n Image,\n ImageData,\n ImageDataCrop,\n ImageDataStyles,\n ImagePosition,\n ImagePositionPosition,\n ImageScalingScaling,\n ImageStyles,\n Indentation,\n InitialExpandedItems,\n InitialRegistrationTypeType,\n Input,\n InputControl,\n InputControlType,\n Item,\n ItemDataOneOf,\n ItemStyle,\n Keyword,\n Label,\n LabellingSettings,\n LayerEffect,\n Layers,\n Layout,\n LayoutCellData,\n LayoutData,\n LayoutDataBackground,\n LayoutDataBackgroundImage,\n LayoutDataBackgroundType,\n LayoutType,\n LineCap,\n LineStyle,\n Link,\n LinkData,\n LinkDataOneOf,\n LinkPreviewData,\n LinkPreviewDataStyles,\n ListEventsByCategoryOptions,\n ListEventsByCategoryRequest,\n ListEventsByCategoryResponse,\n ListItemNodeData,\n ListStyle,\n ListUserEventsRequest,\n ListUserEventsResponse,\n ListValue,\n Location,\n LocationType,\n LoopAnimation,\n LoopEffect,\n LoopEffectType,\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 NullValue,\n Occurrence,\n Oembed,\n OnlineConferencing,\n OnlineConferencingSession,\n Option,\n OptionDesign,\n OptionLayout,\n OptionSelection,\n OptionSelectionSelectedOptionOneOf,\n OrderedListData,\n Orientation,\n Origin,\n PDFSettings,\n Paging,\n PagingMetadataV2,\n ParagraphData,\n Permissions,\n Placement,\n PlaybackOptions,\n PluginContainerData,\n PluginContainerDataAlignment,\n PluginContainerDataWidth,\n PluginContainerDataWidthDataOneOf,\n PointerEffect,\n PointerEffectType,\n Poll,\n PollData,\n PollDataLayout,\n PollDesign,\n PollDesignBackground,\n PollDesignBackgroundBackgroundOneOf,\n PollDesignBackgroundType,\n PollLayout,\n PollLayoutDirection,\n PollLayoutType,\n PollSettings,\n Position,\n Positive,\n PositiveResponseConfirmation,\n PricingData,\n PublishDraftEventOptions,\n PublishDraftEventRequest,\n PublishDraftEventResponse,\n PublishStatus,\n QueryEventsOptions,\n QueryEventsRequest,\n QueryEventsResponse,\n QueryV2,\n QueryV2PagingMethodOneOf,\n RecurrenceStatusStatus,\n Recurrences,\n Registration,\n RegistrationClosedMessages,\n RegistrationStatusStatus,\n RegistrationTypeType,\n Rel,\n Relation,\n RequestedFields,\n Resizing,\n ResponseConfirmation,\n ResponseType,\n ResponsivenessBehaviour,\n RestoreInfo,\n RibbonStyles,\n RichContent,\n RsvpConfirmationMessages,\n RsvpFormMessages,\n RsvpFormMessagesNegativeResponseConfirmation,\n RsvpFormMessagesPositiveResponseConfirmation,\n RsvpRegistration,\n Rsvps,\n Scaling,\n SectionDivider,\n SeoSchema,\n SeoSettings,\n Settings,\n Shape,\n ShapeData,\n ShapeDataStyles,\n SketchData,\n SmartBlockCellData,\n SmartBlockData,\n SmartBlockDataType,\n SortOrder,\n Sorting,\n Source,\n Spoiler,\n SpoilerData,\n Status,\n Stop,\n StreetAddress,\n Styles,\n StylesBorder,\n StylesPosition,\n Subdivision,\n SubdivisionType,\n Summaries,\n TableCellData,\n TableData,\n Tag,\n Target,\n TaxSettings,\n TaxType,\n TextAlignment,\n TextData,\n TextNodeStyle,\n TextStyle,\n Thumbnails,\n ThumbnailsAlignment,\n Tickets,\n TicketsConfirmationMessages,\n TicketsRegistration,\n TicketsUnavailableMessages,\n TimeDuration,\n TocData,\n Type,\n UpdateEventOptions,\n UpdateEventRequest,\n UpdateEventResponse,\n UpdaterIdentity,\n UserFilter,\n ValueType,\n Variant,\n VerticalAlignment,\n VerticalAlignmentAlignment,\n Video,\n VideoData,\n VideoResolution,\n ViewMode,\n ViewRole,\n VoteRole,\n WebhookIdentityType,\n Width,\n WidthType,\n utils,\n} from './events-v3-event-wix-events-v-2.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport {\n HttpClient,\n HttpResponse,\n NonNullablePaths,\n QuerySpec,\n Query as QuerySdkType,\n} from '@wix/sdk-types';\nimport * as ambassadorWixEventsV3Event from './events-v3-event-wix-events-v-2.http.js';\n// @ts-ignore\nimport { transformSDKAddressToRESTAddress } from '@wix/sdk-runtime/transformations/address';\nimport { transformRESTAddressToSDKAddress } from '@wix/sdk-runtime/transformations/address';\nimport { transformSDKImageToRESTImage } from '@wix/sdk-runtime/transformations/image';\nimport { transformRESTImageToSDKImage } from '@wix/sdk-runtime/transformations/image';\nimport { transformSDKPageURLToRESTPageURL } from '@wix/sdk-runtime/transformations/page-url';\nimport { transformRESTPageURLToSDKPageURL } from '@wix/sdk-runtime/transformations/page-url';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { createQueryUtils } from '@wix/sdk-runtime/query-builder-utils';\n\n/**\n * An Event is a structured record of a scheduled gathering, including its title, location, date and time, registration settings, status, and related URLs.\n *\n * You can use it to model and display event details, configure how guests register, and manage visibility and calendars across the site or app.\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 date and time settings. */\n dateAndTimeSettings?: DateAndTimeSettings;\n /**\n * Event title.\n * @minLength 1\n * @maxLength 120\n */\n title?: string | null;\n /**\n * Short description that appears under the event title.\n * **Note:** This field is returned only when the `DETAILS` fieldset is included in the request.\n * @maxLength 500\n */\n shortDescription?: string | null;\n /**\n * Detailed description of an event.\n *\n * This field is deprecated.\n * @maxLength 50000\n * @deprecated Detailed description of an event.\n *\n * This field is deprecated.\n * @replacedBy description\n * @targetRemovalDate 2025-04-15\n */\n detailedDescription?: string | null;\n /**\n * Main event image. <br>\n * **Note:** This field is returned only when the `DETAILS` fieldset is included in the request.\n */\n mainImage?: string;\n /**\n * Unique identifier of the event page. The naming is the same as the event title written in kebab case. For example, if your event title is \"Leather Crafting 101\", then the slug is \"leather-crafting-101\".\n * @readonly\n */\n slug?: string;\n /**\n * Date and time when the event was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time when the event was updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Event status.\n * @readonly\n */\n status?: StatusWithLiterals;\n /**\n * RSVP or ticketing registration details. <br>\n * **Note:** This field is returned only when the `REGISTRATION` fieldset is included in the request.\n */\n registration?: Registration;\n /**\n * URLs that allow you to add an event to the Google calendar, or to download an [ICS calendar](https://icscalendar.com/) file. <br>\n * **Note:** This field is returned only when the `DETAILS` fieldset is included in the request.\n * @readonly\n */\n calendarUrls?: CalendarUrls;\n /**\n * Event page URL components. <br>\n * **Note:** This field is returned only when the `URLS` fieldset is included in the request.\n */\n eventPageUrl?: string;\n /**\n * Event registration form. <br>\n * **Note:** This field is returned only when the `FORM` fieldset is included in the request.\n */\n form?: Form;\n /**\n * Summary of RSVP or ticket sales. <br>\n * **Note:** This field is returned only when the `DASHBOARD` fieldset is included in the request and you have the \"WIX_EVENTS.READ_EVENT_DASHBOARD\" permissions.\n */\n summaries?: Summaries;\n /**\n * Instance ID of the site where the event is hosted.\n * @readonly\n */\n instanceId?: string;\n /** Guest list configuration. */\n guestListSettings?: GuestListSettings;\n /**\n * ID of the user who created the event.\n * @readonly\n * @format GUID\n */\n userId?: string;\n /**\n * Event discussion feed. For internal use.\n * @internal\n */\n feed?: Feed;\n /**\n * Online conferencing details. <br>\n * **Note:** This field is returned only when the `ONLINE_CONFERENCING_SESSION` fieldset is included in the request and you have the \"WIX_EVENTS.READ_ONLINE_CONFERENCING\" permissions.\n */\n onlineConferencing?: OnlineConferencing;\n /**\n * SEO settings. <br>\n * **Note:** This field is returned only when the `SEO_SETTINGS` fieldset is included in the request.\n */\n seoSettings?: SeoSettings;\n /**\n * Legacy contacts label key. <br>\n * **Note:** Populated only on events created before the migration to Contacts V5; new events aren't assigned a contacts label.\n * @readonly\n */\n contactLabel?: string | null;\n /**\n * Event schedule details. <br>\n * **Note:** This field is returned only when the `AGENDA` fieldset is included in the request.\n */\n agendaSettings?: AgendaSettings;\n /**\n * Event categories.\n * @internal\n */\n categories?: EventCategories;\n /** Visual settings for event. */\n eventDisplaySettings?: EventDisplaySettings;\n /**\n * True if ticket can be customised\n * @internal\n */\n customizableTickets?: boolean | null;\n /**\n * Labelling related data.\n * @internal\n */\n labellingSettings?: LabellingSettings;\n /** Event description. <widget src=\"https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component\" plugins=\"emoji,audio,codeBlock,collapsibleList,divider,emoji,file,gallery,giphy,hashtag,heading,html,image,indent,lineSpacing,link,linkPreview,spoiler,video\" exampleid=\"9b569a8d-0fc1-40f4-987f-8bd40ecc72d0\">Fallback Message for SSR and Error</widget> */\n description?: RichContent;\n /**\n * Event publish timestamp.\n * @readonly\n */\n publishedDate?: Date | null;\n /**\n * Event badges.\n * @internal\n */\n badges?: BadgeList;\n}\n\nexport interface Location {\n /**\n * Location name. This value is displayed instead of the address when the location is defined as TBD by setting the `locationTbd` property to `true`.\n * @maxLength 50\n */\n name?: string | null;\n /** Location type. */\n type?: LocationTypeWithLiterals;\n /** Exact location address. */\n address?: Address;\n /** Whether the event location is TBD. */\n locationTbd?: boolean | null;\n}\n\nexport enum LocationType {\n /** Event is on-site at a specific physical location. */\n VENUE = 'VENUE',\n /** Event is online, such as a virtual video conference. */\n ONLINE = 'ONLINE',\n}\n\n/** @enumType */\nexport type LocationTypeWithLiterals = LocationType | 'VENUE' | 'ONLINE';\n\n/** Physical address */\nexport interface Address extends AddressStreetOneOf {\n /** Street address. */\n streetAddress?: StreetAddress;\n /**\n * Primary address information (street and building number).\n * @maxLength 250\n */\n addressLine1?: string | null;\n /**\n * 2-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.\n * @format COUNTRY\n */\n country?: string | null;\n /**\n * Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2).\n * @maxLength 20\n */\n subdivision?: string | null;\n /**\n * City name.\n * @maxLength 100\n */\n city?: string | null;\n /**\n * Zip or postal code.\n * @maxLength 100\n */\n postalCode?: string | null;\n /**\n * Secondary address information (suite or apartment number and room number).\n * @maxLength 250\n */\n addressLine2?: string | null;\n /**\n * A string containing the full address of this location.\n * @internal\n * @maxLength 1000\n */\n formatted?: string | null;\n /**\n * Free text intended to help find the address.\n * @internal\n * @maxLength 1000\n */\n hint?: string | null;\n /**\n * Coordinates of the physical address.\n * @internal\n */\n location?: CommonAddressLocation;\n /**\n * Country full name.\n * @internal\n * @maxLength 100\n */\n countryFullname?: string | null;\n /**\n * Subdivision full name.\n * @internal\n * @maxLength 250\n */\n subdivisionFullname?: string | null;\n /**\n * Multi-level subdivisions from top to bottom.\n * @internal\n * @maxSize 6\n */\n subdivisions?: Subdivision[];\n}\n\n/** @oneof */\nexport interface AddressStreetOneOf {\n /** Street address. */\n streetAddress?: StreetAddress;\n /**\n * Primary address information (street and building number).\n * @maxLength 250\n */\n addressLine?: string | null;\n}\n\nexport interface StreetAddress {\n /**\n * Street number.\n * @maxLength 100\n */\n number?: string;\n /**\n * Street name.\n * @maxLength 250\n */\n name?: string;\n /**\n * Apartment number.\n * @internal\n * @maxLength 100\n */\n apt?: string;\n /**\n * Optional address line 1\n * @internal\n * @maxLength 1000\n */\n formattedAddressLine?: string | null;\n}\n\nexport interface CommonAddressLocation {\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 /**\n * Short subdivision code.\n * @maxLength 100\n */\n code?: string;\n /**\n * Subdivision full name.\n * @maxLength 250\n */\n name?: string;\n /**\n * Subdivision level\n * @internal\n */\n type?: SubdivisionTypeWithLiterals;\n /**\n * Free text description of subdivision type.\n * @internal\n * @maxLength 1000\n */\n typeInfo?: string | null;\n}\n\nexport enum SubdivisionType {\n UNKNOWN_SUBDIVISION_TYPE = 'UNKNOWN_SUBDIVISION_TYPE',\n /** State */\n ADMINISTRATIVE_AREA_LEVEL_1 = 'ADMINISTRATIVE_AREA_LEVEL_1',\n /** County */\n ADMINISTRATIVE_AREA_LEVEL_2 = 'ADMINISTRATIVE_AREA_LEVEL_2',\n /** City/town */\n ADMINISTRATIVE_AREA_LEVEL_3 = 'ADMINISTRATIVE_AREA_LEVEL_3',\n /** Neighborhood/quarter */\n ADMINISTRATIVE_AREA_LEVEL_4 = 'ADMINISTRATIVE_AREA_LEVEL_4',\n /** Street/block */\n ADMINISTRATIVE_AREA_LEVEL_5 = 'ADMINISTRATIVE_AREA_LEVEL_5',\n /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */\n COUNTRY = 'COUNTRY',\n}\n\n/** @enumType */\nexport type SubdivisionTypeWithLiterals =\n | SubdivisionType\n | 'UNKNOWN_SUBDIVISION_TYPE'\n | 'ADMINISTRATIVE_AREA_LEVEL_1'\n | 'ADMINISTRATIVE_AREA_LEVEL_2'\n | 'ADMINISTRATIVE_AREA_LEVEL_3'\n | 'ADMINISTRATIVE_AREA_LEVEL_4'\n | 'ADMINISTRATIVE_AREA_LEVEL_5'\n | 'COUNTRY';\n\nexport interface DateAndTimeSettings {\n /** Whether the event date and time are TBD. */\n dateAndTimeTbd?: boolean | null;\n /**\n * Message that is displayed when time and date is TBD.\n *\n * **Note:** This field is only used when the `dateAndTimeTbd` field value is `true`.\n * @maxLength 100\n */\n dateAndTimeTbdMessage?: string | null;\n /**\n * Event start date.\n *\n * **Note:** You need to write this field in the snake case, instead of a camel case. For example, `start_date`.\n */\n startDate?: Date | null;\n /**\n * Event end date.\n *\n * **Note:** You need to write this field in the snake case, instead of a camel case. For example, `end_date`.\n */\n endDate?: Date | null;\n /**\n * Event time zone ID in the TZ database format.\n *\n * **Note:** You need to write this field in the snake case, instead of a camel case. For example, `time_zone_id`.\n * @maxLength 100\n */\n timeZoneId?: string | null;\n /** Whether the end date is hidden in the formatted date and time. */\n hideEndDate?: boolean | null;\n /** Whether the time zone is displayed in the formatted schedule. */\n showTimeZone?: boolean | null;\n /**\n * Repeating event status.\n * @readonly\n */\n recurrenceStatus?: RecurrenceStatusStatusWithLiterals;\n /** Event repetitions. */\n recurringEvents?: Recurrences;\n /** Formatted date and time settings. */\n formatted?: Formatted;\n}\n\nexport enum RecurrenceStatusStatus {\n /** Event happens only once and can last multiple days. */\n ONE_TIME = 'ONE_TIME',\n /** A series of events that repeat. */\n RECURRING = 'RECURRING',\n /** Next event in a schedule of recurring events. */\n RECURRING_UPCOMING = 'RECURRING_UPCOMING',\n /** Latest event that ended in a schedule of recurring events. */\n RECURRING_RECENTLY_ENDED = 'RECURRING_RECENTLY_ENDED',\n /** Latest canceled event in a schedule of recurring events */\n RECURRING_RECENTLY_CANCELED = 'RECURRING_RECENTLY_CANCELED',\n}\n\n/** @enumType */\nexport type RecurrenceStatusStatusWithLiterals =\n | RecurrenceStatusStatus\n | 'ONE_TIME'\n | 'RECURRING'\n | 'RECURRING_UPCOMING'\n | 'RECURRING_RECENTLY_ENDED'\n | 'RECURRING_RECENTLY_CANCELED';\n\nexport interface Recurrences {\n /**\n * Individual event dates for recurring events.\n *\n * *Note:** Each date must be manually calculated and provided. There is no support for automatic generation using recurrence rules or patterns (for example, \"Weekly\").\n *\n * When you create a recurring event:\n * - Each occurrence is created as an independent event with its own unique ID.\n * - All occurrences in the series share the same `categoryId`, which allows you to identify all events in the recurring series.\n * - To retrieve all events in a recurring series, query events by `recurringEvents.categoryId`.\n * - Each event in the series can be independently updated or deleted using its individual event ID.\n * @maxSize 1000\n */\n individualEventDates?: Occurrence[];\n /**\n * Recurring event category ID.\n *\n * This read-only field is automatically generated and shared by all events in a recurring series. Use this ID to query and retrieve all occurrences of a recurring event.\n * @readonly\n * @maxLength 100\n */\n categoryId?: string | null;\n}\n\nexport interface Occurrence {\n /** Event start date. */\n startDate?: Date | null;\n /** Event end date. */\n endDate?: Date | null;\n /**\n * Event time zone ID in the [TZ database](https://www.iana.org/time-zones) format.\n * @maxLength 100\n */\n timeZoneId?: string | null;\n /** Whether the time zone is displayed in a formatted schedule. */\n showTimeZone?: boolean;\n}\n\nexport interface Formatted {\n /**\n * Formatted date and time representation. <br>\n * Example of formatting when an event lasts multiple days and is in the UTC time zone: `September 1, 2015 at 10:20 AM – September 5, 2015 at 12:14 PM`. <br>\n * Example of formatting when an event lasts 1 day and is in the GMT+2 time zone: `February 1, 2018, 12:10 – 2:50 PM GMT+2`.\n * @readonly\n * @maxLength 500\n */\n dateAndTime?: string | null;\n /**\n * Formatted start date of the event. Empty for TBD schedules.\n * @readonly\n * @maxLength 500\n */\n startDate?: string | null;\n /**\n * Formatted start time of the event. Empty for TBD schedules.\n * @readonly\n * @maxLength 500\n */\n startTime?: string | null;\n /**\n * Formatted end date of the event. Empty for TBD schedules or when the end date is hidden.\n * @readonly\n * @maxLength 500\n */\n endDate?: string | null;\n /**\n * Formatted end time of the event. Empty for TBD schedules or when the end date is hidden.\n * @readonly\n * @maxLength 500\n */\n endTime?: string | 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 enum Status {\n /** Event is published and scheduled to start. */\n UPCOMING = 'UPCOMING',\n /** Event has started. */\n STARTED = 'STARTED',\n /** Event has ended. */\n ENDED = 'ENDED',\n /** Event is canceled. */\n CANCELED = 'CANCELED',\n /** Event is not public. */\n DRAFT = 'DRAFT',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n | Status\n | 'UPCOMING'\n | 'STARTED'\n | 'ENDED'\n | 'CANCELED'\n | 'DRAFT';\n\nexport interface Registration {\n /**\n * Reflects the current state of the registration.\n * @readonly\n */\n type?: RegistrationTypeTypeWithLiterals;\n /**\n * Registration status.\n * @readonly\n */\n status?: RegistrationStatusStatusWithLiterals;\n /** RSVP registration details. */\n rsvp?: RsvpRegistration;\n /** Ticket registration details. */\n tickets?: TicketsRegistration;\n /** External registration details. */\n external?: ExternalRegistration;\n /** Types of guests allowed to register. */\n allowedGuestTypes?: GuestTypeTypeWithLiterals;\n /**\n * Initial registration type which is set when creating an event.\n *\n * Once set, this value is immutable. To change the type of registration, use the `registration.type` field:\n * - Events with `initialType` of `RSVP` or `TICKETING` can be changed to `EXTERNAL` or `NONE`.\n * - `RSVP` events can't become `TICKETING` events, and vice versa.\n * @immutable\n */\n initialType?: InitialRegistrationTypeTypeWithLiterals;\n /** Whether the registration is paused. */\n registrationPaused?: boolean;\n /** Whether the registration is disabled. */\n registrationDisabled?: boolean;\n}\n\nexport enum RegistrationTypeType {\n /** Guests register by RSVPing to the event. */\n RSVP = 'RSVP',\n /** Guests register by buying tickets. */\n TICKETING = 'TICKETING',\n /** Guests register externally using some other site or platform. */\n EXTERNAL = 'EXTERNAL',\n /** No registration is required, all guests can attend. This registration type is for only displaying the event details on a site. The property value can be changed from `RSVP` or `TICKETING `to `EXTERNAL` or `NONE` after the event is created, depending on any additional configurations applied to the event. */\n NONE = 'NONE',\n /**\n * Guests register by RSVPing to the event or by buying tickets.\n * @documentationMaturity preview\n * @internal\n */\n RSVP_AND_TICKETING = 'RSVP_AND_TICKETING',\n}\n\n/** @enumType */\nexport type RegistrationTypeTypeWithLiterals =\n | RegistrationTypeType\n | 'RSVP'\n | 'TICKETING'\n | 'EXTERNAL'\n | 'NONE';\n\nexport enum RegistrationStatusStatus {\n /** Registration status isn't applicable. */\n UNKNOWN_REGISTRATION_STATUS = 'UNKNOWN_REGISTRATION_STATUS',\n /** Registration is closed after tickets are sold out. */\n CLOSED_AUTOMATICALLY = 'CLOSED_AUTOMATICALLY',\n /** Registration is closed when the `registration.registrationDisabled` property is set to `true`. */\n CLOSED_MANUALLY = 'CLOSED_MANUALLY',\n /** Guests can start RSVPing to the event. */\n OPEN_RSVP = 'OPEN_RSVP',\n /** Guest list has reached the maximum, new guests are added to a waitlist. */\n OPEN_RSVP_WAITLIST_ONLY = 'OPEN_RSVP_WAITLIST_ONLY',\n /** Guests can buy tickets to the event. */\n OPEN_TICKETS = 'OPEN_TICKETS',\n /** Guests register on a different page or web address. */\n OPEN_EXTERNAL = 'OPEN_EXTERNAL',\n /** Registration via RSVP is scheduled for the future. */\n SCHEDULED_RSVP = 'SCHEDULED_RSVP',\n /**\n * Guests can RSVP and buy tickets to the event.\n * @documentationMaturity preview\n * @internal\n */\n OPEN_RSVP_AND_TICKETS = 'OPEN_RSVP_AND_TICKETS',\n}\n\n/** @enumType */\nexport type RegistrationStatusStatusWithLiterals =\n | RegistrationStatusStatus\n | 'UNKNOWN_REGISTRATION_STATUS'\n | 'CLOSED_AUTOMATICALLY'\n | 'CLOSED_MANUALLY'\n | 'OPEN_RSVP'\n | 'OPEN_RSVP_WAITLIST_ONLY'\n | 'OPEN_TICKETS'\n | 'OPEN_EXTERNAL'\n | 'SCHEDULED_RSVP';\n\nexport interface RsvpRegistration {\n /** Available answers for registration to an event. */\n responseType?: ResponseTypeWithLiterals;\n /** How many guests can RSVP to an event. */\n limit?: number | null;\n /** Whether a waitlist is opened when the total guest limit is reached. If `true`, guests can RSVP to an event and are automatically added to the waitlist with the `IN_WAITLIST` status. */\n waitlistEnabled?: boolean;\n /** Registration start date. */\n startDate?: Date | null;\n /** Registration end date. */\n endDate?: Date | null;\n /**\n * Confirmation messages shown after the registration.\n * @internal\n */\n confirmationMessages?: RsvpConfirmationMessages;\n /**\n * Form id. Present only for RSVP event.\n * @internal\n * @readonly\n * @format GUID\n */\n formId?: string | null;\n}\n\nexport enum ResponseType {\n /** Only a **Yes** answer is available to select when RSVP'ing to an event. */\n YES_ONLY = 'YES_ONLY',\n /** *Yes** and **No** answers are available to select when RSVP'ing to an event. */\n YES_AND_NO = 'YES_AND_NO',\n}\n\n/** @enumType */\nexport type ResponseTypeWithLiterals = ResponseType | 'YES_ONLY' | 'YES_AND_NO';\n\nexport interface RsvpConfirmationMessages {\n /** Messages displayed when an RSVP's `status` is set to `\"YES\"`. */\n positiveConfirmation?: PositiveResponseConfirmation;\n /** Messages displayed when an RSVP's `status` is set to `\"WAITLIST\"`, for when the event is full and a waitlist is available). */\n waitlistMessages?: PositiveResponseConfirmation;\n /** Messages displayed when an RSVP's `status` is set to `\"NO\"`. */\n negativeMessages?: NegativeResponseConfirmation;\n}\n\n/** Confirmation shown after then registration when RSVP response is positive. */\nexport interface PositiveResponseConfirmation {\n /**\n * Confirmation message title.\n * @maxLength 150\n */\n title?: string | null;\n /**\n * Confirmation message text.\n * @maxLength 350\n */\n message?: string | null;\n /**\n * \"Add to calendar\" call-to-action label text.\n * @maxLength 50\n */\n addToCalendarActionLabel?: string | null;\n /**\n * \"Share event\" call-to-action label text.\n * @maxLength 50\n */\n shareActionLabel?: string | null;\n}\n\n/** Confirmation shown after then registration when RSVP response is negative. */\nexport interface NegativeResponseConfirmation {\n /**\n * Confirmation message title.\n * @maxLength 150\n */\n title?: string | null;\n /**\n * \"Share event\" call-to-action label text.\n * @maxLength 50\n */\n shareActionLabel?: string | null;\n}\n\nexport interface TicketsRegistration {\n /** Whether the registration form must be filled out separately for each ticket. */\n guestsAssignedSeparately?: boolean;\n /**\n * Ticket limit per order. <br>\n * Default: 20 tickets.\n * @max 50\n */\n ticketLimitPerOrder?: number;\n /**\n * App ID for external ticket stock management.\n * The default ticket stock value is as defined in the `TicketDefinition` object. If the ticket stock is defined in the stock manager app, the default is ignored.\n * @internal\n * @format GUID\n */\n stockManagerAppId?: string | null;\n /** Ticket price currency. */\n currency?: string | null;\n /**\n * Lowest ticket price.\n * @readonly\n */\n lowestPrice?: Money;\n /**\n * Highest ticket price.\n * @readonly\n */\n highestPrice?: Money;\n /**\n * Whether all tickets are sold for the event.\n * @readonly\n */\n soldOut?: boolean | null;\n /** How tax is applied. */\n taxSettings?: TaxSettings;\n /**\n * Reservation duration in minutes.\n * @min 5\n * @max 30\n */\n reservationDurationInMinutes?: number | null;\n /**\n * Grace period in minutes.\n * @internal\n * @max 120\n */\n gracePeriodInMinutes?: number | null;\n /**\n * Confirmation messages shown after the registration.\n * @internal\n */\n confirmationMessages?: TicketsConfirmationMessages;\n /**\n * Buyer form id. Present only for ticketed event.\n * @internal\n * @readonly\n * @format GUID\n */\n buyerFormId?: string | null;\n /**\n * Ticket holder form id. Present only for ticketed event with assigned tickets enabled.\n * @internal\n * @readonly\n * @format GUID\n */\n ticketHolderFormId?: string | null;\n /**\n * Checkout type.\n * @internal\n * @readonly\n */\n checkoutType?: CheckoutTypeWithLiterals;\n /**\n * Inactive buyer form id. This is used when guest_assigned_tickets is false.\n * @internal\n * @readonly\n * @format GUID\n */\n inactiveBuyerFormId?: string | null;\n}\n\n/**\n * Money.\n * Default format to use. Sufficiently compliant with majority of standards: w3c, ISO 4217, ISO 20022, ISO 8583:2003.\n */\nexport interface Money {\n /**\n * Amount of money in decimal form. A period is used as a decimal separator (for example, `3.99`).\n * @format DECIMAL_VALUE\n */\n value?: string;\n /**\n * Currency code in 3-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.\n * @format CURRENCY\n */\n currency?: string;\n /**\n * Amount of money in decimal form. A period or comma are used as a decimal separator (for example, `1 000,30`).\n * @readonly\n */\n formattedValue?: string | null;\n}\n\nexport interface TaxSettings {\n /** Tax application settings. */\n type?: TaxTypeWithLiterals;\n /**\n * Tax name.\n * @minLength 1\n * @maxLength 10\n */\n name?: string | null;\n /**\n * Tax rate. For example, `21.55`.\n * @decimalValue options { gte:0.001, lte:100, maxScale:3 }\n */\n rate?: string | null;\n /** Apply tax to donations. */\n appliedToDonations?: boolean | null;\n}\n\n/** Tax application settings. */\nexport enum TaxType {\n /** Deduct the fee from the ticket price for a seller. For example, if you're selling tickets for $10, a ticket service fee of $0.25 is deducted from the price and you'll get $9.75. */\n INCLUDED_IN_PRICE = 'INCLUDED_IN_PRICE',\n /** Show the fee in addition to the ticket price at checkout and a guest pays the fee. For example, if you sell tickets for $10, a customer sees a ticket service fee of $0.25 and pays $10.25 in total. */\n ADDED_AT_CHECKOUT = 'ADDED_AT_CHECKOUT',\n}\n\n/** @enumType */\nexport type TaxTypeWithLiterals =\n | TaxType\n | 'INCLUDED_IN_PRICE'\n | 'ADDED_AT_CHECKOUT';\n\nexport interface TicketsConfirmationMessages {\n /**\n * Confirmation message title.\n * @maxLength 150\n */\n title?: string | null;\n /**\n * Confirmation message text.\n * @maxLength 350\n */\n message?: string | null;\n /**\n * \"Download tickets\" call-to-action label text.\n * @maxLength 50\n */\n downloadTicketsLabel?: string | null;\n /**\n * \"Add to calendar\" call-to-action label text.\n * @maxLength 50\n */\n addToCalendarActionLabel?: string | null;\n /**\n * \"Share event\" call-to-action label text.\n * @maxLength 50\n */\n shareActionLabel?: string | null;\n}\n\nexport enum CheckoutType {\n /** Checkout using Events App. */\n EVENTS_APP = 'EVENTS_APP',\n /** Checkout using Ecomm Platform. */\n ECOMM_PLATFORM = 'ECOMM_PLATFORM',\n}\n\n/** @enumType */\nexport type CheckoutTypeWithLiterals =\n | CheckoutType\n | 'EVENTS_APP'\n | 'ECOMM_PLATFORM';\n\nexport interface ExternalRegistration {\n /**\n * External event registration URL.\n * @format WEB_URL\n */\n url?: string | null;\n}\n\nexport enum GuestTypeType {\n /** All site visitors can RSVP to the event. */\n VISITOR_OR_MEMBER = 'VISITOR_OR_MEMBER',\n /** Only people who have signed up as members of your site are able to RSVP to the event. */\n MEMBER = 'MEMBER',\n}\n\n/** @enumType */\nexport type GuestTypeTypeWithLiterals =\n | GuestTypeType\n | 'VISITOR_OR_MEMBER'\n | 'MEMBER';\n\nexport enum InitialRegistrationTypeType {\n /** Guests register by RSVPing to the event. */\n RSVP = 'RSVP',\n /** Guests register by buying tickets. This property value never changes. */\n TICKETING = 'TICKETING',\n /**\n * Guests register by RSVPing to the event or by buying tickets.\n * @documentationMaturity preview\n * @internal\n */\n RSVP_AND_TICKETING = 'RSVP_AND_TICKETING',\n}\n\n/** @enumType */\nexport type InitialRegistrationTypeTypeWithLiterals =\n | InitialRegistrationTypeType\n | 'RSVP'\n | 'TICKETING';\n\nexport interface CalendarUrls {\n /**\n * \"Add to Google Calendar\" URL.\n * @readonly\n */\n google?: string;\n /**\n * \"Download ICS calendar file\" URL.\n * @readonly\n */\n ics?: string;\n}\n\n/**\n * The form defines which elements are displayed to a site visitor during the registration process (RSVP or checkout).\n * It also contains customizable messages and labels.\n *\n *\n * A form is an ordered list of controls (blocks), which accept guest information into a field input.\n *\n * Each control contains one or more nested inputs. For example, `Name` control has two inputs:\n * - First Name\n * - Last Name\n *\n * By default, name and email controls are always required and are pinned to the top of the form.\n */\nexport interface Form {\n /** Nested fields as an ordered list. */\n controls?: InputControl[];\n /**\n * Set of defined form messages displayed in the UI before, during, and after a registration flow.\n * Includes the configuration of form titles, response labels, \"thank you\" messages, and call-to-action texts.\n */\n messages?: FormMessages;\n}\n\n/**\n * A block of nested fields.\n * Used to aggregate similar inputs like First Name and Last Name.\n */\nexport interface InputControl {\n /** Field control type. */\n type?: InputControlTypeWithLiterals;\n /** Whether the control is mandatory (such as `name` & `email`). When `true`, only the label can be changed. */\n system?: boolean;\n /**\n * Deprecated: Use `id` or `_id`.\n * @deprecated\n */\n name?: string;\n /** Child inputs. */\n inputs?: Input[];\n /**\n * *Deprecated:** Use `controls.inputs.label`.\n * @deprecated\n */\n label?: string;\n /** Field controls are sorted by this value in ascending order. */\n orderIndex?: number;\n /** Unique control ID. */\n _id?: string;\n /**\n * Whether the input control is deleted.\n * @readonly\n */\n deleted?: boolean | null;\n}\n\nexport enum InputControlType {\n /** Single text value field. */\n INPUT = 'INPUT',\n /** Single text value field with multiple lines. */\n TEXTAREA = 'TEXTAREA',\n /** Single-choice field with predefined values. */\n DROPDOWN = 'DROPDOWN',\n /** Single-choice field with predefined values. */\n RADIO = 'RADIO',\n /** Multiple-choice field with predefined values. */\n CHECKBOX = 'CHECKBOX',\n /** Fields for entering first and last names. */\n NAME = 'NAME',\n /** Fields for additional guests and their respective names. */\n GUEST_CONTROL = 'GUEST_CONTROL',\n /** Single-line address field. */\n ADDRESS_SHORT = 'ADDRESS_SHORT',\n /** Full address field with multiple lines. */\n ADDRESS_FULL = 'ADDRESS_FULL',\n /** Fields for entering year, month, and day. */\n DATE = 'DATE',\n}\n\n/** @enumType */\nexport type InputControlTypeWithLiterals =\n | InputControlType\n | 'INPUT'\n | 'TEXTAREA'\n | 'DROPDOWN'\n | 'RADIO'\n | 'CHECKBOX'\n | 'NAME'\n | 'GUEST_CONTROL'\n | 'ADDRESS_SHORT'\n | 'ADDRESS_FULL'\n | 'DATE';\n\n/** Child inputs. */\nexport interface Input {\n /** Field name. */\n name?: string;\n /**\n * *Deprecated:** Use `controls.inputs.type.TEXT_ARRAY`.\n * @deprecated\n */\n array?: boolean;\n /** Main field label. */\n label?: string;\n /** Additional labels for multi-valued fields such as address. */\n additionalLabels?: Record<string, string>;\n /** Predefined choice options for fields, such as dropdown. */\n options?: string[];\n /** Whether field is mandatory. */\n mandatory?: boolean;\n /** Maximum number of accepted characters (relevant for text fields). */\n maxLength?: number;\n /**\n * Type which determines field format.\n * Used to validate submitted response.\n */\n type?: ValueTypeWithLiterals;\n /**\n * The maximum number of accepted values for array input.\n *\n * **Note:** Only applicable for `TEXT_ARRAY` input fields.\n */\n maxSize?: number | null;\n /**\n * Default option initially selected when an input has multiple choices.\n *\n * Defaults to first (0th) option, if not configured.\n * Currently only applicable for `type.dropdown`.\n */\n defaultOptionSelection?: OptionSelection;\n /**\n * Additional labels for multi-valued fields, such as address.\n * @readonly\n */\n labels?: Label[];\n}\n\nexport enum ValueType {\n TEXT = 'TEXT',\n NUMBER = 'NUMBER',\n TEXT_ARRAY = 'TEXT_ARRAY',\n DATE_TIME = 'DATE_TIME',\n ADDRESS = 'ADDRESS',\n}\n\n/** @enumType */\nexport type ValueTypeWithLiterals =\n | ValueType\n | 'TEXT'\n | 'NUMBER'\n | 'TEXT_ARRAY'\n | 'DATE_TIME'\n | 'ADDRESS';\n\n/**\n * Describes initially selected option when an input has multiple choices.\n * Defaults to first (0th) option if not configured.\n */\nexport interface OptionSelection extends OptionSelectionSelectedOptionOneOf {\n /**\n * 0-based index from predefined `controls.inputs.options` which is initial selection.\n * @max 199\n */\n optionIndex?: number;\n /**\n * Placeholder hint describing expected choices, such as \"Please select\".\n * Considered an empty choice.\n * @maxLength 200\n */\n placeholderText?: string;\n}\n\n/** @oneof */\nexport interface OptionSelectionSelectedOptionOneOf {\n /**\n * 0-based index from predefined `controls.inputs.options` which is initial selection.\n * @max 199\n */\n optionIndex?: number;\n /**\n * Placeholder hint describing expected choices, such as \"Please select\".\n * Considered an empty choice.\n * @maxLength 200\n */\n placeholderText?: string;\n}\n\nexport interface Label {\n /** Field name. */\n name?: string;\n /** Field label. */\n label?: string;\n}\n\n/**\n * Defines form messages shown in UI before, during, and after registration flow.\n * It enables configuration of form titles, response labels, \"thank you\" messages, and call-to-action texts.\n */\nexport interface FormMessages {\n /** [RSVP form](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/introduction) messages. */\n rsvp?: RsvpFormMessages;\n /** Checkout form messages. */\n checkout?: CheckoutFormMessages;\n /** Messages shown when event registration is closed. */\n registrationClosed?: RegistrationClosedMessages;\n /** Messages shown when event tickets are unavailable. */\n ticketsUnavailable?: TicketsUnavailableMessages;\n}\n\nexport interface RsvpFormMessages {\n /** Label text indicating RSVP's `status` is `\"YES\"`. */\n rsvpYesOption?: string;\n /** Label text indicating RSVP's `status` is `\"NO\"`. */\n rsvpNoOption?: string;\n /** Messages displayed when an RSVP's `status` is set to `\"YES\"`. */\n positiveMessages?: Positive;\n /** Messages displayed when an RSVP's `status` is set to `\"WAITLIST\"`, for when the event is full and a waitlist is available). */\n waitlistMessages?: Positive;\n /** Messages displayed when an RSVP's `status` is set to `\"NO\"`. */\n negativeMessages?: Negative;\n /** \"Submit form\" call-to-action label text. */\n submitActionLabel?: string;\n}\n\n/** Confirmation messages shown after registration. */\nexport interface RsvpFormMessagesPositiveResponseConfirmation {\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 RsvpFormMessagesNegativeResponseConfirmation {\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?: RsvpFormMessagesPositiveResponseConfirmation;\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?: RsvpFormMessagesNegativeResponseConfirmation;\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 Summaries {\n /** RSVP summary of guests. */\n rsvps?: Rsvps;\n /** Summary of revenue and sold tickets. Archived orders aren't included. */\n tickets?: Tickets;\n /** Who cancelled the event and when. Returned only for cancelled events. */\n cancellation?: Cancellation;\n}\n\nexport interface EventsMoney {\n /**\n * *Deprecated:** Use `value` instead.\n * @format DECIMAL_VALUE\n * @deprecated\n */\n amount?: string;\n /**\n * 3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `USD`.\n * @format CURRENCY\n */\n currency?: string;\n /**\n * Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, starts with a single (-), to indicate that the amount is negative.\n * @format DECIMAL_VALUE\n */\n value?: string | null;\n}\n\n/** The kind of actor that performed the cancellation. */\nexport enum ActorType {\n /** A Wix user — a collaborator or the site owner. */\n USER = 'USER',\n /** A third-party app acting via the API. */\n APP = 'APP',\n /** An automatic or internal process. */\n SYSTEM = 'SYSTEM',\n}\n\n/** @enumType */\nexport type ActorTypeWithLiterals = ActorType | 'USER' | 'APP' | 'SYSTEM';\n\nexport interface Rsvps {\n /**\n * Total number of RSVPs.\n * @readonly\n */\n totalCount?: number;\n /**\n * Number of RSVPs with status `YES`.\n * @readonly\n */\n yesCount?: number;\n /**\n * Number of RSVPs with status `NO`.\n * @readonly\n */\n noCount?: number;\n /**\n * Number of RSVPs in a waitlist.\n * @readonly\n */\n waitlistCount?: number;\n}\n\nexport interface Tickets {\n /**\n * Number of sold tickets.\n * @readonly\n */\n ticketsSold?: number;\n /**\n * Total revenue. Taxes and payment provider fees aren't deducted.\n * @readonly\n */\n revenue?: EventsMoney;\n /**\n * Whether the currency is locked and can't be changed.\n * @readonly\n */\n currencyLocked?: boolean;\n /**\n * Number of orders placed.\n * @readonly\n */\n totalOrders?: number;\n /**\n * Total balance of confirmed transactions.\n * @readonly\n */\n totalSales?: EventsMoney;\n}\n\n/** Who cancelled the event and when. Returned only for cancelled events; carries PII. */\nexport interface Cancellation {\n /**\n * When the event was cancelled.\n * @readonly\n */\n canceledDate?: Date | null;\n /**\n * Whether a user, an app, or the system performed the cancellation.\n * @readonly\n */\n actorType?: ActorTypeWithLiterals;\n /**\n * Display name of the canceller. Set only for user cancellations.\n * @readonly\n * @maxLength 200\n */\n actorName?: string;\n /**\n * Email of the canceller. Set only for user cancellations.\n * @readonly\n * @format EMAIL\n */\n actorEmail?: string;\n}\n\nexport interface GuestListSettings {\n /** Whether the guest list is displayed publicly to all guests. */\n displayedPublicly?: boolean;\n}\n\nexport interface Feed {\n /** Event discussion feed token. */\n token?: string;\n}\n\nexport interface OnlineConferencing {\n /** Whether online conferencing is enabled. Not applicable for events where date and time are TBD. When enabled, links to join the conference are generated and provided to guests. */\n enabled?: boolean;\n /**\n * Conference host ID.\n * @format GUID\n */\n providerId?: string | null;\n /**\n * Configured conferencing provider name.\n * @internal\n * @readonly\n */\n providerName?: string;\n /** Conference type. */\n type?: ConferenceTypeTypeWithLiterals;\n /** Online conferencing session information. */\n session?: OnlineConferencingSession;\n}\n\nexport enum ConferenceTypeType {\n /** Guests can do some actions during the conference, for example talk, turn on their camera and show their screen. */\n MEETING = 'MEETING',\n /** Guests can only watch the conference. */\n WEBINAR = 'WEBINAR',\n}\n\n/** @enumType */\nexport type ConferenceTypeTypeWithLiterals =\n | ConferenceTypeType\n | 'MEETING'\n | 'WEBINAR';\n\nexport interface OnlineConferencingSession {\n /**\n * Link for the 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 * Password required to join the online conferencing session (when relevant).\n * @readonly\n */\n password?: string | null;\n /**\n * Whether the session was created successfully on the event host 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 * Whether the slug is hidden from the SEO sitemap.\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 * Which of these an API actually accepts depends on where the tag is being set: this\n * list is not a blanket guarantee across every API that reuses this message. Site SEO\n * Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\n * `title`/`script`/`link` with a validation error even though they appear here —\n * check the field description of the specific `tags`-typed field you're writing to\n * for the types it actually supports and the error it returns.\n */\n type?: string;\n /**\n * A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\n * For example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.\n */\n props?: Record<string, any> | null;\n /** SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`. */\n meta?: Record<string, any> | null;\n /** SEO tag inner content. For example, `<title> inner content </title>`. */\n children?: string;\n /**\n * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\n * i.e. an entry from the site's Advanced/Custom Tags list.\n *\n * Note this is a separate restriction from Site SEO Tags' own type restriction on\n * `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\n * for site-wide structured data) unconditionally. There is currently no way to set\n * site-wide, every-page structured data through any of these APIs — write a per-page\n * `script` tag through the Item SEO Tags API instead.\n *\n * This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\n * (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\n * default/pattern — standard tags always resolve with `custom: false`, even when their content comes\n * from a page's manually saved SEO title/description override. Don't use this field to verify whether\n * a live page reflects a manual per-page SEO edit.\n *\n * Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\n * only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\n * or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\n * response entirely — there, `false` means this API could not tell, not that no custom tag exists.\n * Pass `seoData` explicitly to resolve against a known set of tags.\n */\n custom?: boolean;\n /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */\n disabled?: boolean;\n}\n\nexport interface Settings {\n /**\n * Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\n *\n *\n * Default: `false` (automatical redirect is enabled).\n */\n preventAutoRedirect?: boolean;\n /**\n * User-selected keyword terms for a specific page.\n * @maxSize 5\n */\n keywords?: Keyword[];\n}\n\nexport interface AgendaSettings {\n /** Whether the schedule is enabled for the event. */\n enabled?: boolean;\n /**\n * Schedule page URL.\n * @readonly\n */\n pageUrl?: string;\n}\n\nexport interface EventCategories {\n /**\n * Event categories.\n * @maxSize 10\n */\n categories?: EventCategory[];\n}\n\nexport interface EventCategory {\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 * Category creation timestamp.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Category is hidden.\n * @readonly\n */\n hidden?: boolean;\n /**\n * Category type.\n * @readonly\n */\n type?: TypeWithLiterals;\n}\n\nexport enum Type {\n /** Created manually by the user. */\n MANUAL = 'MANUAL',\n /** Created automatically when publishing recurring events. */\n RECURRING_EVENT = 'RECURRING_EVENT',\n /**\n * Created automatically and used to store component events.\n * @internal\n */\n COMPONENT = 'COMPONENT',\n}\n\n/** @enumType */\nexport type TypeWithLiterals = Type | 'MANUAL' | 'RECURRING_EVENT';\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 /**\n * @internal\n * @readonly\n * @maxLength 180\n */\n assignedContactsLegacyLabelId?: string | null;\n /**\n * @internal\n * @readonly\n */\n assignedContactsLabelDeleted?: boolean | null;\n}\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 /** Data for a layout node. Reserved for future use. */\n layoutData?: LayoutData;\n /** Data for a cell node. */\n layoutCellData?: LayoutCellData;\n /** Data for a shape node. */\n shapeData?: ShapeData;\n /** Data for a card node. */\n cardData?: CardData;\n /** Data for a table of contents node. */\n tocData?: TocData;\n /** Data for a smart block node. */\n smartBlockData?: SmartBlockData;\n /** Data for a smart block cell node. */\n smartBlockCellData?: SmartBlockCellData;\n /** Data for a checkbox list node. */\n checkboxListData?: CheckboxListData;\n /** Data for a list item node. */\n listItemData?: ListItemNodeData;\n /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */\n type?: NodeTypeWithLiterals;\n /** Node ID. */\n id?: string;\n /** A list of child nodes. */\n nodes?: Node[];\n /** Padding and background color styling for the node. */\n style?: NodeStyle;\n}\n\n/** @oneof */\nexport interface NodeDataOneOf {\n /** Data for a button node. */\n buttonData?: ButtonData;\n /** Data for a code block node. */\n codeBlockData?: CodeBlockData;\n /** Data for a divider node. */\n dividerData?: DividerData;\n /** Data for a file node. */\n fileData?: FileData;\n /** Data for a gallery node. */\n galleryData?: GalleryData;\n /** Data for a GIF node. */\n gifData?: GIFData;\n /** Data for a heading node. */\n headingData?: HeadingData;\n /** Data for an embedded HTML node. */\n htmlData?: HTMLData;\n /** Data for an image node. */\n imageData?: ImageData;\n /** Data for a link preview node. */\n linkPreviewData?: LinkPreviewData;\n /** @deprecated */\n mapData?: MapData;\n /** Data for a paragraph node. */\n paragraphData?: ParagraphData;\n /** Data for a poll node. */\n pollData?: PollData;\n /** Data for a text node. Used to apply decorations to text. */\n textData?: TextData;\n /** Data for an app embed node. */\n appEmbedData?: AppEmbedData;\n /** Data for a video node. */\n videoData?: VideoData;\n /** Data for an oEmbed node. */\n embedData?: EmbedData;\n /** Data for a collapsible list node. */\n collapsibleListData?: CollapsibleListData;\n /** Data for a table node. */\n tableData?: TableData;\n /** Data for a table cell node. */\n tableCellData?: TableCellData;\n /** Data for a custom external node. */\n externalData?: Record<string, any> | null;\n /** Data for an audio node. */\n audioData?: AudioData;\n /** Data for an ordered list node. */\n orderedListData?: OrderedListData;\n /** Data for a bulleted list node. */\n bulletedListData?: BulletedListData;\n /** Data for a block quote node. */\n blockquoteData?: BlockquoteData;\n /** Data for a caption node. */\n captionData?: CaptionData;\n /** Data for a layout node. Reserved for future use. */\n layoutData?: LayoutData;\n /** Data for a cell node. */\n layoutCellData?: LayoutCellData;\n /** Data for a shape node. */\n shapeData?: ShapeData;\n /** Data for a card node. */\n cardData?: CardData;\n /** Data for a table of contents node. */\n tocData?: TocData;\n /** Data for a smart block node. */\n smartBlockData?: SmartBlockData;\n /** Data for a smart block cell node. */\n smartBlockCellData?: SmartBlockCellData;\n /** Data for a checkbox list node. */\n checkboxListData?: CheckboxListData;\n /** Data for a list item node. */\n listItemData?: ListItemNodeData;\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 SHAPE = 'SHAPE',\n CARD = 'CARD',\n TOC = 'TOC',\n SMART_BLOCK = 'SMART_BLOCK',\n SMART_BLOCK_CELL = 'SMART_BLOCK_CELL',\n CHECKBOX_LIST = 'CHECKBOX_LIST',\n}\n\n/** @enumType */\nexport type NodeTypeWithLiterals =\n | NodeType\n | 'PARAGRAPH'\n | 'TEXT'\n | 'HEADING'\n | 'BULLETED_LIST'\n | 'ORDERED_LIST'\n | 'LIST_ITEM'\n | 'BLOCKQUOTE'\n | 'CODE_BLOCK'\n | 'VIDEO'\n | 'DIVIDER'\n | 'FILE'\n | 'GALLERY'\n | 'GIF'\n | 'HTML'\n | 'IMAGE'\n | 'LINK_PREVIEW'\n | 'MAP'\n | 'POLL'\n | 'APP_EMBED'\n | 'BUTTON'\n | 'COLLAPSIBLE_LIST'\n | 'TABLE'\n | 'EMBED'\n | 'COLLAPSIBLE_ITEM'\n | 'COLLAPSIBLE_ITEM_TITLE'\n | 'COLLAPSIBLE_ITEM_BODY'\n | 'TABLE_CELL'\n | 'TABLE_ROW'\n | 'EXTERNAL'\n | 'AUDIO'\n | 'CAPTION'\n | 'LAYOUT'\n | 'LAYOUT_CELL'\n | 'SHAPE'\n | 'CARD'\n | 'TOC'\n | 'SMART_BLOCK'\n | 'SMART_BLOCK_CELL'\n | 'CHECKBOX_LIST';\n\nexport interface NodeStyle {\n /** The top padding value in pixels. */\n paddingTop?: string | null;\n /** The bottom padding value in pixels. */\n paddingBottom?: string | null;\n /** The background color as a hexadecimal value. */\n backgroundColor?: string | null;\n}\n\nexport interface ButtonData {\n /** Styling for the button's container. */\n containerData?: PluginContainerData;\n /** The button type. */\n type?: ButtonDataTypeWithLiterals;\n /** Styling for the button. */\n styles?: Styles;\n /** The text to display on the button. */\n text?: string | null;\n /** Button link details. */\n link?: Link;\n /** Node animation. */\n animation?: Animation;\n}\n\n/** Background type */\nexport enum BackgroundType {\n /** Solid color background */\n COLOR = 'COLOR',\n /** Gradient background */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'GRADIENT';\n\nexport interface Gradient {\n /** Gradient type. */\n type?: GradientTypeWithLiterals;\n /**\n * Color stops for the gradient.\n * @maxSize 1000\n */\n stops?: Stop[];\n /** Angle in degrees for linear gradient (0-360). */\n angle?: number | null;\n /**\n * Horizontal center position for radial gradient (0-100).\n * @max 100\n */\n centerX?: number | null;\n /**\n * Vertical center position for radial gradient (0-100).\n * @max 100\n */\n centerY?: number | null;\n}\n\n/** Gradient type. */\nexport enum GradientType {\n /** Linear gradient. */\n LINEAR = 'LINEAR',\n /** Radial gradient. */\n RADIAL = 'RADIAL',\n}\n\n/** @enumType */\nexport type GradientTypeWithLiterals = GradientType | 'LINEAR' | 'RADIAL';\n\n/** A single color stop in the gradient. */\nexport interface Stop {\n /**\n * Stop color as hex value.\n * @maxLength 19\n */\n color?: string | null;\n /** Stop position (0-1). */\n position?: number | null;\n}\n\nexport interface Border {\n /**\n * Deprecated: Use `borderWidth` in `styles` instead.\n * @deprecated\n */\n width?: number | null;\n /**\n * Deprecated: Use `borderRadius` in `styles` instead.\n * @deprecated\n */\n radius?: number | null;\n}\n\nexport interface Colors {\n /**\n * Deprecated: Use `textColor` in `styles` instead.\n * @deprecated\n */\n text?: string | null;\n /**\n * Deprecated: Use `borderColor` in `styles` instead.\n * @deprecated\n */\n border?: string | null;\n /**\n * Deprecated: Use `backgroundColor` in `styles` instead.\n * @deprecated\n */\n background?: string | null;\n}\n\n/** Background styling (color or gradient) */\nexport interface Background {\n /** Background type. */\n type?: BackgroundTypeWithLiterals;\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Gradient configuration. */\n gradient?: Gradient;\n}\n\nexport interface PluginContainerData {\n /** The width of the node when it's displayed. */\n width?: PluginContainerDataWidth;\n /** The node's alignment within its container. */\n alignment?: PluginContainerDataAlignmentWithLiterals;\n /** Spoiler cover settings for the node. */\n spoiler?: Spoiler;\n /** The height of the node when it's displayed. */\n height?: Height;\n /** Sets whether text should wrap around this node when it's displayed. If `textWrap` is `false`, the node takes up the width of its container. Defaults to `true` for all node types except 'DIVIVDER' where it defaults to `false`. */\n textWrap?: boolean | null;\n}\n\nexport enum WidthType {\n /** Width matches the content width */\n CONTENT = 'CONTENT',\n /** Small Width */\n SMALL = 'SMALL',\n /** Width will match the original asset width */\n ORIGINAL = 'ORIGINAL',\n /** coast-to-coast display */\n FULL_WIDTH = 'FULL_WIDTH',\n}\n\n/** @enumType */\nexport type WidthTypeWithLiterals =\n | WidthType\n | 'CONTENT'\n | 'SMALL'\n | 'ORIGINAL'\n | 'FULL_WIDTH';\n\nexport interface PluginContainerDataWidth\n extends PluginContainerDataWidthDataOneOf {\n /**\n * One of the following predefined width options:\n * `CONTENT`: The width of the container matches the content width.\n * `SMALL`: A small width.\n * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.\n * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.\n */\n size?: WidthTypeWithLiterals;\n /** A custom width value in pixels. */\n custom?: string | null;\n}\n\n/** @oneof */\nexport interface PluginContainerDataWidthDataOneOf {\n /**\n * One of the following predefined width options:\n * `CONTENT`: The width of the container matches the content width.\n * `SMALL`: A small width.\n * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.\n * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.\n */\n size?: WidthTypeWithLiterals;\n /** A custom width value in pixels. */\n custom?: string | null;\n}\n\nexport enum PluginContainerDataAlignment {\n /** Center Alignment */\n CENTER = 'CENTER',\n /** Left Alignment */\n LEFT = 'LEFT',\n /** Right Alignment */\n RIGHT = 'RIGHT',\n}\n\n/** @enumType */\nexport type PluginContainerDataAlignmentWithLiterals =\n | PluginContainerDataAlignment\n | 'CENTER'\n | 'LEFT'\n | 'RIGHT';\n\nexport interface Spoiler {\n /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */\n enabled?: boolean | null;\n /** The description displayed on top of the spoiler cover. */\n description?: string | null;\n /** The text for the button used to remove the spoiler cover. */\n buttonText?: string | null;\n}\n\nexport interface Height {\n /** A custom height value in pixels. */\n custom?: string | null;\n}\n\nexport enum ButtonDataType {\n /** Regular link button */\n LINK = 'LINK',\n /** Triggers custom action that is defined in plugin configuration by the consumer */\n ACTION = 'ACTION',\n}\n\n/** @enumType */\nexport type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';\n\nexport interface Styles {\n /**\n * Deprecated: Use `borderWidth` and `borderRadius` instead.\n * @deprecated\n */\n border?: Border;\n /**\n * Deprecated: Use `textColor`, `borderColor` and `backgroundColor` instead.\n * @deprecated\n */\n colors?: Colors;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /**\n * Deprecated: Use `borderWidth` for normal/hover states instead.\n * @deprecated\n */\n borderWidthHover?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /**\n * Border color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n borderColorHover?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @maxLength 19\n */\n textColor?: string | null;\n /**\n * Text color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n textColorHover?: string | null;\n /**\n * Deprecated: Use `background` instead.\n * @maxLength 19\n * @deprecated\n */\n backgroundColor?: string | null;\n /**\n * Deprecated: Use `backgroundHover` instead.\n * @maxLength 19\n * @deprecated\n */\n backgroundColorHover?: string | null;\n /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */\n buttonSize?: string | null;\n /** Background styling (color or gradient). */\n background?: Background;\n /** Background styling for hover state (color or gradient). */\n backgroundHover?: Background;\n}\n\nexport interface Link extends LinkDataOneOf {\n /** The absolute URL for the linked document. */\n url?: string;\n /** The target node's ID. Used for linking to another node in this object. */\n anchor?: string;\n /**\n * he HTML `target` attribute value for the link. This property defines where the linked document opens as follows:\n * `SELF` - Default. Opens the linked document in the same frame as the link.\n * `BLANK` - Opens the linked document in a new browser tab or window.\n * `PARENT` - Opens the linked document in the link's parent frame.\n * `TOP` - Opens the linked document in the full body of the link's browser tab or window.\n */\n target?: TargetWithLiterals;\n /** The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document. */\n rel?: Rel;\n /** A serialized object used for a custom or external link panel. */\n customData?: string | null;\n}\n\n/** @oneof */\nexport interface LinkDataOneOf {\n /** The absolute URL for the linked document. */\n url?: string;\n /** The target node's ID. Used for linking to another node in this object. */\n anchor?: string;\n}\n\nexport enum Target {\n /** Opens the linked document in the same frame as it was clicked (this is default) */\n SELF = 'SELF',\n /** Opens the linked document in a new window or tab */\n BLANK = 'BLANK',\n /** Opens the linked document in the parent frame */\n PARENT = 'PARENT',\n /** Opens the linked document in the full body of the window */\n TOP = 'TOP',\n}\n\n/** @enumType */\nexport type TargetWithLiterals = Target | 'SELF' | 'BLANK' | 'PARENT' | 'TOP';\n\nexport interface Rel {\n /** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */\n nofollow?: boolean | null;\n /** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */\n sponsored?: boolean | null;\n /** Indicates that this link is user-generated content and isn't necessarily trusted or endorsed by the page’s author. For example, a link in a fourm post. Defaults to `false`. */\n ugc?: boolean | null;\n /** Indicates that this link protect referral information from being passed to the target website. */\n noreferrer?: boolean | null;\n}\n\nexport interface Animation {\n /** Animation kind. */\n type?: AnimationTypeWithLiterals;\n /** Entrance animation, played once when the node first enters the viewport (VIEW). */\n entrance?: EntranceAnimation;\n /** Looping animation, repeated indefinitely while the node is on the page. When combined with entrance, the loop starts after the entrance finishes (VIEW). */\n loop?: LoopAnimation;\n /**\n * POINTER carries its fields directly on the union member in the JTD wall, hence\n * flat fields here (ts-proto camelCase must equal the JTD property names). A future\n * kind that also needs an `effect` field would contend for this JSON name.\n */\n effect?: PointerEffect;\n /** How quickly the node settles toward the pointer, in milliseconds (POINTER). */\n transitionDuration?: number | null;\n}\n\nexport enum AnimationType {\n /** Animations that play while the node is in view. */\n VIEW = 'VIEW',\n /** Animations driven by the visitor's mouse position. */\n POINTER = 'POINTER',\n}\n\n/** @enumType */\nexport type AnimationTypeWithLiterals = AnimationType | 'VIEW' | 'POINTER';\n\nexport interface EntranceAnimation {\n /** The entrance effect to play. */\n effect?: EntranceEffect;\n /** Effect duration in milliseconds. Each effect has its own default. */\n duration?: number | null;\n /** Delay before the effect starts, in milliseconds. */\n delay?: number | null;\n}\n\nexport interface EntranceEffect {\n /** The entrance effect type. */\n type?: EntranceEffectTypeWithLiterals;\n /**\n * Direction the effect enters from. Allowed values depend on the effect type (e.g. TOP/RIGHT/BOTTOM/LEFT, the diagonals with or without CENTER, corners, HORIZONTAL/VERTICAL, CLOCKWISE/COUNTER_CLOCKWISE).\n * @maxLength 20\n */\n direction?: string | null;\n /**\n * Clip-path shape: ELLIPSE, CIRCLE, RECTANGLE, or DIAMOND (SHAPE).\n * @maxLength 12\n */\n shape?: string | null;\n /**\n * Motion style: GENTLE, MODERATE, or INTENSE. Only the effects that expose one accept it.\n * @maxLength 100\n */\n easing?: string | null;\n}\n\nexport enum EntranceEffectType {\n /** Fades in from fully transparent to fully opaque. */\n FADE = 'FADE',\n /** Enters along a 3D arc path. */\n ARC = 'ARC',\n /** Transitions from blurred to sharp. */\n BLUR = 'BLUR',\n /** Bounces into place with an elastic curve. */\n BOUNCE = 'BOUNCE',\n /** Shrinks down from a larger size. */\n DROP = 'DROP',\n /** Expands from a point, scaling to full size. */\n EXPAND = 'EXPAND',\n /** Flips into view with a 3D rotation. */\n FLIP = 'FLIP',\n /** Drifts gently into place. */\n FLOAT = 'FLOAT',\n /** Unfolds from an edge as if hinged. */\n FOLD = 'FOLD',\n /** Glides in smoothly from off-screen. */\n GLIDE = 'GLIDE',\n /** Progressively revealed by an expanding clip-path. */\n REVEAL = 'REVEAL',\n /** Appears through an expanding geometric clip-path shape. */\n SHAPE = 'SHAPE',\n /** Revealed through shutter-like strips. */\n SHUTTERS = 'SHUTTERS',\n /** Slides in from one side. */\n SLIDE = 'SLIDE',\n /** Spins into view while scaling up. */\n SPIN = 'SPIN',\n /** Tilts in from the side with 3D rotation. */\n TILT = 'TILT',\n /** Rotates into view around a corner pivot. */\n TURN = 'TURN',\n /** Expands from its horizontal or vertical center. */\n WINK = 'WINK',\n}\n\n/** @enumType */\nexport type EntranceEffectTypeWithLiterals =\n | EntranceEffectType\n | 'FADE'\n | 'ARC'\n | 'BLUR'\n | 'BOUNCE'\n | 'DROP'\n | 'EXPAND'\n | 'FLIP'\n | 'FLOAT'\n | 'FOLD'\n | 'GLIDE'\n | 'REVEAL'\n | 'SHAPE'\n | 'SHUTTERS'\n | 'SLIDE'\n | 'SPIN'\n | 'TILT'\n | 'TURN'\n | 'WINK';\n\nexport interface LoopAnimation {\n /** The looping effect to repeat. */\n effect?: LoopEffect;\n /** Duration of a single iteration in milliseconds. Each effect has its own default. */\n duration?: number | null;\n /** Pause between iterations in milliseconds. */\n iterationDelay?: number | null;\n}\n\nexport interface LoopEffect {\n /** The looping effect type. */\n type?: LoopEffectTypeWithLiterals;\n /**\n * Direction of the effect. Allowed values depend on the effect type (e.g. TOP/RIGHT/BOTTOM/LEFT, LEFT/RIGHT, HORIZONTAL/VERTICAL with or without CENTER, CLOCKWISE/COUNTER_CLOCKWISE).\n * @maxLength 20\n */\n direction?: string | null;\n /**\n * Motion style: GENTLE, MODERATE, or INTENSE. Only the effects that expose one accept it.\n * @maxLength 100\n */\n easing?: string | null;\n}\n\nexport enum LoopEffectType {\n /** Bounces up and down in place. */\n BOUNCE = 'BOUNCE',\n /** Scales gently in and out along an axis. */\n BREATHE = 'BREATHE',\n /** Drifts toward one side, then re-enters from the opposite side. */\n CROSS = 'CROSS',\n /** Fades out to fully transparent and back in. */\n FLASH = 'FLASH',\n /** Rotates a full turn around its horizontal or vertical axis. */\n FLIP = 'FLIP',\n /** Folds back and forth around a hinged edge. */\n FOLD = 'FOLD',\n /** Wobbles with a jelly-like skew. */\n JELLO = 'JELLO',\n /** Nudges repeatedly toward a direction. */\n POKE = 'POKE',\n /** Scales up and back down rhythmically. */\n PULSE = 'PULSE',\n /** Stretches and squashes like a rubber band. */\n RUBBER = 'RUBBER',\n /** Rotates continuously around its center. */\n SPIN = 'SPIN',\n /** Swings back and forth around an edge pivot. */\n SWING = 'SWING',\n /** Rocks side to side with an accumulating rotation. */\n WIGGLE = 'WIGGLE',\n}\n\n/** @enumType */\nexport type LoopEffectTypeWithLiterals =\n | LoopEffectType\n | 'BOUNCE'\n | 'BREATHE'\n | 'CROSS'\n | 'FLASH'\n | 'FLIP'\n | 'FOLD'\n | 'JELLO'\n | 'POKE'\n | 'PULSE'\n | 'RUBBER'\n | 'SPIN'\n | 'SWING'\n | 'WIGGLE';\n\nexport interface PointerEffect {\n /** The mouse effect type. */\n type?: PointerEffectTypeWithLiterals;\n /** Reacts away from the pointer instead of toward it. */\n inverted?: boolean | null;\n /**\n * One field, two value spaces (the effect type says which): the axis the movement is constrained to — HORIZONTAL, VERTICAL, or BOTH (AIRY, SCALE, SKEW, TRACK, TRACK_3D) — or the edge/center axis the node swivels around — TOP, BOTTOM, LEFT, RIGHT, CENTER_HORIZONTAL, or CENTER_VERTICAL (SWIVEL). Only the effects that expose one accept it.\n * @maxLength 20\n */\n axis?: string | null;\n /**\n * Whether the node grows or shrinks as the pointer nears: UP or DOWN (SCALE).\n * @maxLength 8\n */\n direction?: string | null;\n /**\n * Motion style: GENTLE, MODERATE, or INTENSE.\n * @maxLength 100\n */\n easing?: string | null;\n}\n\nexport enum PointerEffectType {\n /** Drifts loosely after the pointer with a light rotation. */\n AIRY = 'AIRY',\n /** Squashes and stretches toward the pointer. */\n BLOB = 'BLOB',\n /** Shifts after the pointer while blurring. */\n BLUR = 'BLUR',\n /** Scales as the pointer approaches. */\n SCALE = 'SCALE',\n /** Skews toward the pointer. */\n SKEW = 'SKEW',\n /** Rotates around a pivot edge or axis, following the pointer. */\n SWIVEL = 'SWIVEL',\n /** Tilts in 3D perspective toward the pointer. */\n TILT_3D = 'TILT_3D',\n /** Follows the pointer's position. */\n TRACK = 'TRACK',\n /** Follows the pointer with a 3D depth motion. */\n TRACK_3D = 'TRACK_3D',\n}\n\n/** @enumType */\nexport type PointerEffectTypeWithLiterals =\n | PointerEffectType\n | 'AIRY'\n | 'BLOB'\n | 'BLUR'\n | 'SCALE'\n | 'SKEW'\n | 'SWIVEL'\n | 'TILT_3D'\n | 'TRACK'\n | 'TRACK_3D';\n\nexport interface CodeBlockData {\n /** Styling for the code block's text. */\n textStyle?: TextStyle;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface TextStyle {\n /** Text alignment. Defaults to `AUTO`. */\n textAlignment?: TextAlignmentWithLiterals;\n /** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */\n lineHeight?: string | null;\n}\n\nexport enum TextAlignment {\n /** browser default, eqivalent to `initial` */\n AUTO = 'AUTO',\n /** Left align */\n LEFT = 'LEFT',\n /** Right align */\n RIGHT = 'RIGHT',\n /** Center align */\n CENTER = 'CENTER',\n /** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */\n JUSTIFY = 'JUSTIFY',\n}\n\n/** @enumType */\nexport type TextAlignmentWithLiterals =\n | TextAlignment\n | 'AUTO'\n | 'LEFT'\n | 'RIGHT'\n | 'CENTER'\n | 'JUSTIFY';\n\nexport interface DividerData {\n /** Styling for the divider's container. */\n containerData?: PluginContainerData;\n /** Divider line style. */\n lineStyle?: LineStyleWithLiterals;\n /** Divider width. */\n width?: WidthWithLiterals;\n /** Divider alignment. */\n alignment?: DividerDataAlignmentWithLiterals;\n /** Visual styling for the divider lines. */\n styles?: DividerDataStyles;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport enum LineCap {\n /** Square line endings. */\n SQUARE = 'SQUARE',\n /** Rounded line endings. */\n ROUND = 'ROUND',\n}\n\n/** @enumType */\nexport type LineCapWithLiterals = LineCap | 'SQUARE' | 'ROUND';\n\nexport enum LineStyle {\n /** Single Line */\n SINGLE = 'SINGLE',\n /** Double Line */\n DOUBLE = 'DOUBLE',\n /** Dashed Line */\n DASHED = 'DASHED',\n /** Dotted Line */\n DOTTED = 'DOTTED',\n}\n\n/** @enumType */\nexport type LineStyleWithLiterals =\n | LineStyle\n | 'SINGLE'\n | 'DOUBLE'\n | 'DASHED'\n | 'DOTTED';\n\nexport enum Width {\n /** Large line */\n LARGE = 'LARGE',\n /** Medium line */\n MEDIUM = 'MEDIUM',\n /** Small line */\n SMALL = 'SMALL',\n}\n\n/** @enumType */\nexport type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';\n\nexport enum DividerDataAlignment {\n /** Center alignment */\n CENTER = 'CENTER',\n /** Left alignment */\n LEFT = 'LEFT',\n /** Right alignment */\n RIGHT = 'RIGHT',\n}\n\n/** @enumType */\nexport type DividerDataAlignmentWithLiterals =\n | DividerDataAlignment\n | 'CENTER'\n | 'LEFT'\n | 'RIGHT';\n\nexport interface DividerDataStyles {\n /**\n * Divider color as a hexadecimal value. An alpha channel controls opacity.\n * @maxLength 19\n */\n color?: string | null;\n /** Divider line ending shape. */\n lineCap?: LineCapWithLiterals;\n /**\n * Line thicknesses in pixels, ordered from first line to last line.\n * @maxSize 10\n */\n lineThickness?: number[];\n /** Visible dash length for dashed dividers, in pixels. The pattern is snapped to a whole number of dashes so that the first and last dash touch the divider's edges - narrower containers show fewer dashes at the same size. */\n dashLength?: number | null;\n /** Visible gap between dashes or dots, in pixels. */\n dashGap?: number | null;\n /** Gap between divider lines in pixels. */\n lineGap?: number | null;\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 /** Node animation. */\n animation?: Animation;\n}\n\nexport enum ViewMode {\n /** No PDF view */\n NONE = 'NONE',\n /** Full PDF view */\n FULL = 'FULL',\n /** Mini PDF view */\n MINI = 'MINI',\n}\n\n/** @enumType */\nexport type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';\n\nexport interface FileSource extends FileSourceDataOneOf {\n /** The absolute URL for the file's source. */\n url?: string | null;\n /**\n * Custom ID. Use `id` instead.\n * @deprecated\n */\n custom?: string | null;\n /** An ID that's resolved to a URL by a resolver function. */\n id?: string | null;\n /** Indicates whether the file's source is private. Defaults to `false`. */\n private?: boolean | null;\n}\n\n/** @oneof */\nexport interface FileSourceDataOneOf {\n /** The absolute URL for the file's source. */\n url?: string | null;\n /**\n * Custom ID. Use `id` instead.\n * @deprecated\n */\n custom?: string | null;\n /** An ID that's resolved to a URL by a resolver function. */\n id?: string | null;\n}\n\nexport interface PDFSettings {\n /**\n * PDF view mode. One of the following:\n * `NONE` : The PDF isn't displayed.\n * `FULL` : A full page view of the PDF is displayed.\n * `MINI` : A mini view of the PDF is displayed.\n */\n viewMode?: ViewModeWithLiterals;\n /** Sets whether the PDF download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Sets whether the PDF print button is disabled. Defaults to `false`. */\n disablePrint?: boolean | null;\n}\n\nexport interface GalleryData {\n /** Styling for the gallery's container. */\n containerData?: PluginContainerData;\n /** The items in the gallery. */\n items?: Item[];\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 /** Node animation. */\n animation?: Animation;\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?: Link;\n}\n\nexport interface Video {\n /** Video file details. */\n media?: Media;\n /** Video thumbnail file details. */\n thumbnail?: Media;\n}\n\nexport interface Item extends ItemDataOneOf {\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 ItemDataOneOf {\n /** An image item. */\n image?: Image;\n /** A video item. */\n video?: Video;\n}\n\nexport interface GalleryOptions {\n /** Gallery layout. */\n layout?: GalleryOptionsLayout;\n /** Styling for gallery items. */\n item?: ItemStyle;\n /** Styling for gallery thumbnail images. */\n thumbnails?: Thumbnails;\n}\n\nexport enum LayoutType {\n /** Collage type */\n COLLAGE = 'COLLAGE',\n /** Masonry type */\n MASONRY = 'MASONRY',\n /** Grid type */\n GRID = 'GRID',\n /** Thumbnail type */\n THUMBNAIL = 'THUMBNAIL',\n /** Slider type */\n SLIDER = 'SLIDER',\n /** Slideshow type */\n SLIDESHOW = 'SLIDESHOW',\n /** Panorama type */\n PANORAMA = 'PANORAMA',\n /** Column type */\n COLUMN = 'COLUMN',\n /** Magic type */\n MAGIC = 'MAGIC',\n /** Fullsize images type */\n FULLSIZE = 'FULLSIZE',\n}\n\n/** @enumType */\nexport type LayoutTypeWithLiterals =\n | LayoutType\n | 'COLLAGE'\n | 'MASONRY'\n | 'GRID'\n | 'THUMBNAIL'\n | 'SLIDER'\n | 'SLIDESHOW'\n | 'PANORAMA'\n | 'COLUMN'\n | 'MAGIC'\n | 'FULLSIZE';\n\nexport enum Orientation {\n /** Rows Orientation */\n ROWS = 'ROWS',\n /** Columns Orientation */\n COLUMNS = 'COLUMNS',\n}\n\n/** @enumType */\nexport type OrientationWithLiterals = Orientation | 'ROWS' | 'COLUMNS';\n\nexport enum Crop {\n /** Crop to fill */\n FILL = 'FILL',\n /** Crop to fit */\n FIT = 'FIT',\n}\n\n/** @enumType */\nexport type CropWithLiterals = Crop | 'FILL' | 'FIT';\n\nexport enum ThumbnailsAlignment {\n /** Top alignment */\n TOP = 'TOP',\n /** Right alignment */\n RIGHT = 'RIGHT',\n /** Bottom alignment */\n BOTTOM = 'BOTTOM',\n /** Left alignment */\n LEFT = 'LEFT',\n /** No thumbnail */\n NONE = 'NONE',\n}\n\n/** @enumType */\nexport type ThumbnailsAlignmentWithLiterals =\n | ThumbnailsAlignment\n | 'TOP'\n | 'RIGHT'\n | 'BOTTOM'\n | 'LEFT'\n | 'NONE';\n\nexport interface GalleryOptionsLayout {\n /** Gallery layout type. */\n type?: LayoutTypeWithLiterals;\n /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */\n horizontalScroll?: boolean | null;\n /** Gallery orientation. */\n orientation?: OrientationWithLiterals;\n /** The number of columns to display on full size screens. */\n numberOfColumns?: number | null;\n /** The number of columns to display on mobile screens. */\n mobileNumberOfColumns?: number | null;\n}\n\nexport interface ItemStyle {\n /** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */\n targetSize?: number | null;\n /** Item ratio */\n ratio?: number | null;\n /** Sets how item images are cropped. */\n crop?: CropWithLiterals;\n /** The spacing between items in pixels. */\n spacing?: number | null;\n}\n\nexport interface Thumbnails {\n /** Thumbnail alignment. */\n placement?: ThumbnailsAlignmentWithLiterals;\n /** Spacing between thumbnails in pixels. */\n spacing?: number | null;\n}\n\nexport interface GIFData {\n /** Styling for the GIF's container. */\n containerData?: PluginContainerData;\n /** The source of the full size GIF. */\n original?: GIF;\n /** The source of the downsized GIF. */\n downsized?: GIF;\n /** Height in pixels. */\n height?: number;\n /** Width in pixels. */\n width?: number;\n /** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */\n gifType?: GIFTypeWithLiterals;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface GIF {\n /**\n * GIF format URL.\n * @format WEB_URL\n */\n gif?: string | null;\n /**\n * MP4 format URL.\n * @format WEB_URL\n */\n mp4?: string | null;\n /**\n * Thumbnail URL.\n * @format WEB_URL\n */\n still?: string | null;\n}\n\nexport enum GIFType {\n NORMAL = 'NORMAL',\n STICKER = 'STICKER',\n}\n\n/** @enumType */\nexport type GIFTypeWithLiterals = GIFType | 'NORMAL' | 'STICKER';\n\nexport interface HeadingData {\n /** Heading level from 1-6. */\n level?: number;\n /** Styling for the heading text. */\n textStyle?: TextStyle;\n /** Indentation level from 1-4. */\n indentation?: number | null;\n /** Rendered heading level for SEO/accessibility, overrides the HTML tag when set. */\n renderedLevel?: number | null;\n /** Node animation. */\n animation?: Animation;\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 /** The WixelWidget ID for AI_WIDGET source nodes. */\n widgetId?: string;\n /** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */\n containerData?: PluginContainerData;\n /** The type of HTML code. */\n source?: SourceWithLiterals;\n /** If container height is aligned with its content height. Defaults to `true`. */\n autoHeight?: boolean | null;\n /** Node animation. */\n animation?: Animation;\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 /** The WixelWidget ID for AI_WIDGET source nodes. */\n widgetId?: string;\n}\n\nexport enum Source {\n HTML = 'HTML',\n ADSENSE = 'ADSENSE',\n AI = 'AI',\n AI_WIDGET = 'AI_WIDGET',\n}\n\n/** @enumType */\nexport type SourceWithLiterals =\n | Source\n | 'HTML'\n | 'ADSENSE'\n | 'AI'\n | 'AI_WIDGET';\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?: Link;\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 /** Non-destructive crop rectangle, expressed as fractions (0-1) of the original image. When omitted, the full image is shown. */\n crop?: ImageDataCrop;\n /** Optional shape mask applied to the visible crop. Supported values: CIRCLE, OVAL, STAR, PENTAGON, HEXAGON, TRIANGLE, HEART, RHOMBUS, FLUID, WINDOW. */\n cropShape?: string | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface StylesBorder {\n /** Border width in pixels. */\n width?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @maxLength 19\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 ImageDataCrop {\n /** Left edge of the crop, as a fraction (0-1) of the original image width. */\n x?: number | null;\n /** Top edge of the crop, as a fraction (0-1) of the original image height. */\n y?: number | null;\n /** Visible width of the crop, as a fraction (0-1) of the original image width. */\n width?: number | null;\n /** Visible height of the crop, as a fraction (0-1) of the original image height. */\n height?: number | null;\n}\n\nexport interface LinkPreviewData {\n /** Styling for the link preview's container. */\n containerData?: PluginContainerData;\n /** Link details. */\n link?: Link;\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 /** Node animation. */\n animation?: Animation;\n}\n\nexport enum StylesPosition {\n /** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n /** Thumbnail positioned at the top */\n TOP = 'TOP',\n /** Thumbnail hidden and not displayed */\n HIDDEN = 'HIDDEN',\n}\n\n/** @enumType */\nexport type StylesPositionWithLiterals =\n | StylesPosition\n | 'START'\n | 'END'\n | 'TOP'\n | 'HIDDEN';\n\nexport interface LinkPreviewDataStyles {\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Title color as a hexadecimal value.\n * @maxLength 19\n */\n titleColor?: string | null;\n /**\n * Subtitle color as a hexadecimal value.\n * @maxLength 19\n */\n subtitleColor?: string | null;\n /**\n * Link color as a hexadecimal value.\n * @maxLength 19\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 * @maxLength 19\n */\n borderColor?: string | null;\n /** Position of thumbnail. Defaults to `START`. */\n thumbnailPosition?: StylesPositionWithLiterals;\n}\n\nexport interface MapData {\n /** Styling for the map's container. */\n containerData?: PluginContainerData;\n /** Map settings. */\n mapSettings?: MapSettings;\n}\n\nexport interface MapSettings {\n /** The address to display on the map. */\n address?: string | null;\n /** Sets whether the map is draggable. */\n draggable?: boolean | null;\n /** Sets whether the location marker is visible. */\n marker?: boolean | null;\n /** Sets whether street view control is enabled. */\n streetViewControl?: boolean | null;\n /** Sets whether zoom control is enabled. */\n zoomControl?: boolean | null;\n /** Location latitude. */\n lat?: number | null;\n /** Location longitude. */\n lng?: number | null;\n /** Location name. */\n locationName?: string | null;\n /** Sets whether view mode control is enabled. */\n viewModeControl?: boolean | null;\n /** Initial zoom value. */\n initialZoom?: number | null;\n /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */\n mapType?: MapTypeWithLiterals;\n}\n\nexport enum MapType {\n /** Roadmap map type */\n ROADMAP = 'ROADMAP',\n /** Satellite map type */\n SATELITE = 'SATELITE',\n /** Hybrid map type */\n HYBRID = 'HYBRID',\n /** Terrain map type */\n TERRAIN = 'TERRAIN',\n}\n\n/** @enumType */\nexport type MapTypeWithLiterals =\n | MapType\n | 'ROADMAP'\n | 'SATELITE'\n | 'HYBRID'\n | 'TERRAIN';\n\nexport interface ParagraphData {\n /** Styling for the paragraph text. */\n textStyle?: TextStyle;\n /** Indentation level from 1-4. */\n indentation?: number | null;\n /** Paragraph level */\n level?: number | null;\n /** Node animation. */\n animation?: Animation;\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 /** Node animation. */\n animation?: Animation;\n}\n\nexport enum ViewRole {\n /** Only Poll creator can view the results */\n CREATOR = 'CREATOR',\n /** Anyone who voted can see the results */\n VOTERS = 'VOTERS',\n /** Anyone can see the results, even if one didn't vote */\n EVERYONE = 'EVERYONE',\n}\n\n/** @enumType */\nexport type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';\n\nexport enum VoteRole {\n /** Logged in member */\n SITE_MEMBERS = 'SITE_MEMBERS',\n /** Anyone */\n ALL = 'ALL',\n}\n\n/** @enumType */\nexport type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';\n\nexport interface Permissions {\n /** Sets who can view the poll results. */\n view?: ViewRoleWithLiterals;\n /** Sets who can vote. */\n vote?: VoteRoleWithLiterals;\n /** Sets whether one voter can vote multiple times. Defaults to `false`. */\n allowMultipleVotes?: boolean | null;\n}\n\nexport interface Option {\n /** Option ID. */\n id?: string | null;\n /** Option title. */\n title?: string | null;\n /** The image displayed with the option. */\n image?: Media;\n}\n\nexport interface PollSettings {\n /** Permissions settings for voting. */\n permissions?: Permissions;\n /** Sets whether voters are displayed in the vote results. Defaults to `true`. */\n showVoters?: boolean | null;\n /** Sets whether the vote count is displayed. Defaults to `true`. */\n showVotesCount?: boolean | null;\n}\n\nexport enum PollLayoutType {\n /** List */\n LIST = 'LIST',\n /** Grid */\n GRID = 'GRID',\n}\n\n/** @enumType */\nexport type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';\n\nexport enum PollLayoutDirection {\n /** Left-to-right */\n LTR = 'LTR',\n /** Right-to-left */\n RTL = 'RTL',\n}\n\n/** @enumType */\nexport type PollLayoutDirectionWithLiterals =\n | PollLayoutDirection\n | 'LTR'\n | 'RTL';\n\nexport interface PollLayout {\n /** The layout for displaying the voting options. */\n type?: PollLayoutTypeWithLiterals;\n /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */\n direction?: PollLayoutDirectionWithLiterals;\n /** Sets whether to display the main poll image. Defaults to `false`. */\n enableImage?: boolean | null;\n}\n\nexport interface OptionLayout {\n /** Sets whether to display option images. Defaults to `false`. */\n enableImage?: boolean | null;\n}\n\nexport enum PollDesignBackgroundType {\n /** Color background type */\n COLOR = 'COLOR',\n /** Image background type */\n IMAGE = 'IMAGE',\n /** Gradiant background type */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type PollDesignBackgroundTypeWithLiterals =\n | PollDesignBackgroundType\n | 'COLOR'\n | 'IMAGE'\n | 'GRADIENT';\n\nexport interface BackgroundGradient {\n /** The gradient angle in degrees. */\n angle?: number | null;\n /**\n * The start color as a hexademical value.\n * @maxLength 19\n */\n startColor?: string | null;\n /**\n * The end color as a hexademical value.\n * @maxLength 19\n */\n lastColor?: string | null;\n}\n\nexport interface PollDesignBackground\n extends PollDesignBackgroundBackgroundOneOf {\n /**\n * The background color as a hexademical value.\n * @maxLength 19\n */\n color?: string | null;\n /** An image to use for the background. */\n image?: Media;\n /** Details for a gradient background. */\n gradient?: BackgroundGradient;\n /** Background type. For each option, include the relevant details. */\n type?: PollDesignBackgroundTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface PollDesignBackgroundBackgroundOneOf {\n /**\n * The background color as a hexademical value.\n * @maxLength 19\n */\n color?: string | null;\n /** An image to use for the background. */\n image?: Media;\n /** Details for a gradient background. */\n gradient?: BackgroundGradient;\n}\n\nexport interface PollDesign {\n /** Background styling. */\n background?: PollDesignBackground;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface OptionDesign {\n /** Border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface Poll {\n /** Poll ID. */\n id?: string | null;\n /** Poll title. */\n title?: string | null;\n /** Poll creator ID. */\n creatorId?: string | null;\n /** Main poll image. */\n image?: Media;\n /** Voting options. */\n options?: Option[];\n /** The poll's permissions and display settings. */\n settings?: PollSettings;\n}\n\nexport interface PollDataLayout {\n /** Poll layout settings. */\n poll?: PollLayout;\n /** Voting otpions layout settings. */\n options?: OptionLayout;\n}\n\nexport interface Design {\n /** Styling for the poll. */\n poll?: PollDesign;\n /** Styling for voting options. */\n options?: OptionDesign;\n}\n\nexport interface TextData {\n /** The text to apply decorations to. */\n text?: string;\n /** The decorations to apply. */\n decorations?: Decoration[];\n}\n\n/** Adds appearence changes to text */\nexport interface Decoration extends DecorationDataOneOf {\n /** Data for an anchor link decoration. */\n anchorData?: AnchorData;\n /** Data for a color decoration. */\n colorData?: ColorData;\n /** Data for an external link decoration. */\n linkData?: LinkData;\n /** Data for a mention decoration. */\n mentionData?: MentionData;\n /** Data for a font size decoration. */\n fontSizeData?: FontSizeData;\n /** Font weight for a bold decoration. */\n fontWeightValue?: number | null;\n /** Data for an italic decoration. Defaults to `true`. */\n italicData?: boolean | null;\n /** Data for an underline decoration. Defaults to `true`. */\n underlineData?: boolean | null;\n /** Data for a spoiler decoration. */\n spoilerData?: SpoilerData;\n /** Data for a strikethrough decoration. Defaults to `true`. */\n strikethroughData?: boolean | null;\n /** Data for a superscript decoration. Defaults to `true`. */\n superscriptData?: boolean | null;\n /** Data for a subscript decoration. Defaults to `true`. */\n subscriptData?: boolean | null;\n /** Data for a font family decoration. */\n fontFamilyData?: FontFamilyData;\n /** Data for a hand-drawn sketch annotation decoration. */\n sketchData?: SketchData;\n /** The type of decoration to apply. */\n type?: DecorationTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface DecorationDataOneOf {\n /** Data for an anchor link decoration. */\n anchorData?: AnchorData;\n /** Data for a color decoration. */\n colorData?: ColorData;\n /** Data for an external link decoration. */\n linkData?: LinkData;\n /** Data for a mention decoration. */\n mentionData?: MentionData;\n /** Data for a font size decoration. */\n fontSizeData?: FontSizeData;\n /** Font weight for a bold decoration. */\n fontWeightValue?: number | null;\n /** Data for an italic decoration. Defaults to `true`. */\n italicData?: boolean | null;\n /** Data for an underline decoration. Defaults to `true`. */\n underlineData?: boolean | null;\n /** Data for a spoiler decoration. */\n spoilerData?: SpoilerData;\n /** Data for a strikethrough decoration. Defaults to `true`. */\n strikethroughData?: boolean | null;\n /** Data for a superscript decoration. Defaults to `true`. */\n superscriptData?: boolean | null;\n /** Data for a subscript decoration. Defaults to `true`. */\n subscriptData?: boolean | null;\n /** Data for a font family decoration. */\n fontFamilyData?: FontFamilyData;\n /** Data for a hand-drawn sketch annotation decoration. */\n sketchData?: SketchData;\n}\n\nexport enum DecorationType {\n BOLD = 'BOLD',\n ITALIC = 'ITALIC',\n UNDERLINE = 'UNDERLINE',\n SPOILER = 'SPOILER',\n ANCHOR = 'ANCHOR',\n MENTION = 'MENTION',\n LINK = 'LINK',\n COLOR = 'COLOR',\n FONT_SIZE = 'FONT_SIZE',\n EXTERNAL = 'EXTERNAL',\n STRIKETHROUGH = 'STRIKETHROUGH',\n SUPERSCRIPT = 'SUPERSCRIPT',\n SUBSCRIPT = 'SUBSCRIPT',\n FONT_FAMILY = 'FONT_FAMILY',\n SKETCH = 'SKETCH',\n}\n\n/** @enumType */\nexport type DecorationTypeWithLiterals =\n | DecorationType\n | 'BOLD'\n | 'ITALIC'\n | 'UNDERLINE'\n | 'SPOILER'\n | 'ANCHOR'\n | 'MENTION'\n | 'LINK'\n | 'COLOR'\n | 'FONT_SIZE'\n | 'EXTERNAL'\n | 'STRIKETHROUGH'\n | 'SUPERSCRIPT'\n | 'SUBSCRIPT'\n | 'FONT_FAMILY'\n | 'SKETCH';\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?: Link;\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 /** The kind of entity the mention refers to. Any value is accepted, and it's usually used to mark a mention as a group mention (for example, `group`). When empty, the mention refers to a member. */\n type?: string | null;\n}\n\nexport interface FontSizeData {\n /** The units used for the font size. */\n unit?: FontTypeWithLiterals;\n /** Font size value. */\n value?: number | null;\n}\n\nexport enum FontType {\n PX = 'PX',\n EM = 'EM',\n}\n\n/** @enumType */\nexport type FontTypeWithLiterals = FontType | 'PX' | 'EM';\n\nexport interface SpoilerData {\n /** Spoiler ID. */\n id?: string | null;\n}\n\nexport interface FontFamilyData {\n /** @maxLength 1000 */\n value?: string | null;\n}\n\nexport interface SketchData {\n /** The sketch annotation variant to draw over the text. */\n variant?: VariantWithLiterals;\n /**\n * Annotation color. Defaults to the theme action color.\n * @maxLength 19\n */\n color?: string | null;\n /** Whether the annotation animates on first paint. Defaults to `true`. */\n animate?: boolean | null;\n}\n\nexport enum Variant {\n UNDERLINE = 'UNDERLINE',\n BOX = 'BOX',\n CIRCLE = 'CIRCLE',\n HIGHLIGHT = 'HIGHLIGHT',\n STRIKETHROUGH = 'STRIKETHROUGH',\n CROSSED_OFF = 'CROSSED_OFF',\n}\n\n/** @enumType */\nexport type VariantWithLiterals =\n | Variant\n | 'UNDERLINE'\n | 'BOX'\n | 'CIRCLE'\n | 'HIGHLIGHT'\n | 'STRIKETHROUGH'\n | 'CROSSED_OFF';\n\nexport interface AppEmbedData extends AppEmbedDataAppDataOneOf {\n /** Data for embedded Wix Bookings content. */\n bookingData?: BookingData;\n /** Data for embedded Wix Events content. */\n eventData?: EventData;\n /** The type of Wix App content being embedded. */\n type?: AppTypeWithLiterals;\n /** The ID of the embedded content. */\n itemId?: string | null;\n /** The name of the embedded content. */\n name?: string | null;\n /**\n * Deprecated: Use `image` instead.\n * @deprecated\n */\n imageSrc?: string | null;\n /** The URL for the embedded content. */\n url?: string | null;\n /** An image for the embedded content. */\n image?: Media;\n /** Whether to hide the image. */\n hideImage?: boolean | null;\n /** Whether to hide the title. */\n hideTitle?: boolean | null;\n /** Whether to hide the price. */\n hidePrice?: boolean | null;\n /** Whether to hide the description (Event and Booking). */\n hideDescription?: boolean | null;\n /** Whether to hide the date and time (Event). */\n hideDateTime?: boolean | null;\n /** Whether to hide the location (Event). */\n hideLocation?: boolean | null;\n /** Whether to hide the duration (Booking). */\n hideDuration?: boolean | null;\n /** Whether to hide the button. */\n hideButton?: boolean | null;\n /** Whether to hide the ribbon. */\n hideRibbon?: boolean | null;\n /** Button styling options. */\n buttonStyles?: ButtonStyles;\n /** Image styling options. */\n imageStyles?: ImageStyles;\n /** Ribbon styling options. */\n ribbonStyles?: RibbonStyles;\n /** Card styling options. */\n cardStyles?: CardStyles;\n /** Styling for the app embed's container. */\n containerData?: PluginContainerData;\n /** Pricing data for embedded Wix App content. */\n pricingData?: PricingData;\n /** Node animation. */\n animation?: Animation;\n}\n\n/** @oneof */\nexport interface AppEmbedDataAppDataOneOf {\n /** Data for embedded Wix Bookings content. */\n bookingData?: BookingData;\n /** Data for embedded Wix Events content. */\n eventData?: EventData;\n}\n\nexport enum Position {\n /** Image positioned at the start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Image positioned at the end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n /** Image positioned at the top */\n TOP = 'TOP',\n}\n\n/** @enumType */\nexport type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';\n\nexport enum AspectRatio {\n /** 1:1 aspect ratio */\n SQUARE = 'SQUARE',\n /** 16:9 aspect ratio */\n RECTANGLE = 'RECTANGLE',\n}\n\n/** @enumType */\nexport type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';\n\nexport enum Resizing {\n /** Fill the container, may crop the image */\n FILL = 'FILL',\n /** Fit the image within the container */\n FIT = 'FIT',\n}\n\n/** @enumType */\nexport type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';\n\nexport enum Placement {\n /** Ribbon placed on the image */\n IMAGE = 'IMAGE',\n /** Ribbon placed on the product information */\n PRODUCT_INFO = 'PRODUCT_INFO',\n}\n\n/** @enumType */\nexport type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';\n\nexport enum CardStylesType {\n /** Card with visible border and background */\n CONTAINED = 'CONTAINED',\n /** Card without visible border */\n FRAMELESS = 'FRAMELESS',\n}\n\n/** @enumType */\nexport type CardStylesTypeWithLiterals =\n | CardStylesType\n | 'CONTAINED'\n | 'FRAMELESS';\n\nexport enum Alignment {\n /** Content aligned to start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Content centered */\n CENTER = 'CENTER',\n /** Content aligned to end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n}\n\n/** @enumType */\nexport type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';\n\nexport enum Layout {\n /** Elements stacked vertically */\n STACKED = 'STACKED',\n /** Elements arranged horizontally */\n SIDE_BY_SIDE = 'SIDE_BY_SIDE',\n}\n\n/** @enumType */\nexport type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';\n\nexport enum AppType {\n PRODUCT = 'PRODUCT',\n EVENT = 'EVENT',\n BOOKING = 'BOOKING',\n}\n\n/** @enumType */\nexport type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';\n\nexport interface BookingData {\n /** Booking duration in minutes. */\n durations?: string | null;\n}\n\nexport interface EventData {\n /** Event schedule. */\n scheduling?: string | null;\n /** Event location. */\n location?: string | null;\n}\n\nexport interface ButtonStyles {\n /** Text to display on the button. */\n buttonText?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @maxLength 19\n */\n textColor?: string | null;\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Border color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n borderColorHover?: string | null;\n /**\n * Text color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n textColorHover?: string | null;\n /**\n * Background color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n backgroundColorHover?: string | null;\n /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */\n buttonSize?: string | null;\n}\n\nexport interface ImageStyles {\n /** Whether to hide the image. */\n hideImage?: boolean | null;\n /** Position of image. Defaults to `START`. */\n imagePosition?: PositionWithLiterals;\n /** Aspect ratio for the image. Defaults to `SQUARE`. */\n aspectRatio?: AspectRatioWithLiterals;\n /** How the image should be resized. Defaults to `FILL`. */\n resizing?: ResizingWithLiterals;\n /**\n * Image border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Image border width in pixels. */\n borderWidth?: number | null;\n /** Image border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface RibbonStyles {\n /** Text to display on the ribbon. */\n ribbonText?: string | null;\n /**\n * Ribbon background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Ribbon text color as a hexadecimal value.\n * @maxLength 19\n */\n textColor?: string | null;\n /**\n * Ribbon border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Ribbon border width in pixels. */\n borderWidth?: number | null;\n /** Ribbon border radius in pixels. */\n borderRadius?: number | null;\n /** Placement of the ribbon. Defaults to `IMAGE`. */\n ribbonPlacement?: PlacementWithLiterals;\n}\n\nexport interface CardStyles {\n /**\n * Card background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Card border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Card border width in pixels. */\n borderWidth?: number | null;\n /** Card border radius in pixels. */\n borderRadius?: number | null;\n /** Card type. Defaults to `CONTAINED`. */\n type?: CardStylesTypeWithLiterals;\n /** Content alignment. Defaults to `START`. */\n alignment?: AlignmentWithLiterals;\n /** Layout for title and price. Defaults to `STACKED`. */\n titlePriceLayout?: LayoutWithLiterals;\n /**\n * Title text color as a hexadecimal value.\n * @maxLength 19\n */\n titleColor?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @maxLength 19\n */\n textColor?: string | null;\n}\n\nexport interface PricingData {\n /**\n * Minimum numeric price value as string (e.g., \"10.99\").\n * @decimalValue options { maxScale:2 }\n */\n valueFrom?: string | null;\n /**\n * Maximum numeric price value as string (e.g., \"19.99\").\n * @decimalValue options { maxScale:2 }\n */\n valueTo?: string | null;\n /**\n * Numeric price value as string after discount application (e.g., \"15.99\").\n * @decimalValue options { maxScale:2 }\n */\n discountedValue?: string | null;\n /**\n * Currency of the value in ISO 4217 format (e.g., \"USD\", \"EUR\").\n * @format CURRENCY\n */\n currency?: string | null;\n /**\n * Pricing plan ID.\n * @format GUID\n */\n pricingPlanId?: string | null;\n}\n\nexport interface VideoData {\n /** Styling for the video's container. */\n containerData?: PluginContainerData;\n /** Video details. */\n video?: Media;\n /** Video thumbnail details. */\n thumbnail?: Media;\n /** Sets whether the video's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Video title. */\n title?: string | null;\n /** Video options. */\n options?: PlaybackOptions;\n /** Node animation. */\n animation?: Animation;\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 /** Node animation. */\n animation?: Animation;\n}\n\nexport interface Oembed {\n /** The resource type. */\n type?: string | null;\n /** The width of the resource specified in the `url` property in pixels. */\n width?: number | null;\n /** The height of the resource specified in the `url` property in pixels. */\n height?: number | null;\n /** Resource title. */\n title?: string | null;\n /** The source URL for the resource. */\n url?: string | null;\n /** HTML for embedding a video player. The HTML should have no padding or margins. */\n html?: string | null;\n /** The name of the author or owner of the resource. */\n authorName?: string | null;\n /** The URL for the author or owner of the resource. */\n authorUrl?: string | null;\n /** The name of the resource provider. */\n providerName?: string | null;\n /** The URL for the resource provider. */\n providerUrl?: string | null;\n /** The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined. */\n thumbnailUrl?: string | null;\n /** The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined. */\n thumbnailWidth?: string | null;\n /** The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined. */\n thumbnailHeight?: string | null;\n /** The URL for an embedded viedo. */\n videoUrl?: string | null;\n /** The oEmbed version number. This value must be `1.0`. */\n version?: string | null;\n}\n\nexport interface CollapsibleListData {\n /** Styling for the collapsible list's container. */\n containerData?: PluginContainerData;\n /** If `true`, only one item can be expanded at a time. Defaults to `false`. */\n expandOnlyOne?: boolean | null;\n /** Sets which items are expanded when the page loads. */\n initialExpandedItems?: InitialExpandedItemsWithLiterals;\n /** The direction of the text in the list. Either left-to-right or right-to-left. */\n direction?: DirectionWithLiterals;\n /** If `true`, The collapsible item will appear in search results as an FAQ. */\n isQapageData?: boolean | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport enum InitialExpandedItems {\n /** First item will be expended initally */\n FIRST = 'FIRST',\n /** All items will expended initally */\n ALL = 'ALL',\n /** All items collapsed initally */\n NONE = 'NONE',\n}\n\n/** @enumType */\nexport type InitialExpandedItemsWithLiterals =\n | InitialExpandedItems\n | 'FIRST'\n | 'ALL'\n | 'NONE';\n\nexport enum Direction {\n /** Left-to-right */\n LTR = 'LTR',\n /** Right-to-left */\n RTL = 'RTL',\n}\n\n/** @enumType */\nexport type DirectionWithLiterals = Direction | 'LTR' | 'RTL';\n\nexport interface TableData {\n /** Styling for the table's container. */\n containerData?: PluginContainerData;\n /** The table's dimensions. */\n dimensions?: Dimensions;\n /**\n * Deprecated: Use `rowHeader` and `columnHeader` instead.\n * @deprecated\n */\n header?: boolean | null;\n /** Sets whether the table's first row is a header. Defaults to `false`. */\n rowHeader?: boolean | null;\n /** Sets whether the table's first column is a header. Defaults to `false`. */\n columnHeader?: boolean | null;\n /** The spacing between cells in pixels. Defaults to `0`. */\n cellSpacing?: number | null;\n /**\n * Padding in pixels for cells. Follows CSS order: top, right, bottom, left.\n * @maxSize 4\n */\n cellPadding?: number[];\n /** Table's alternative text. */\n altText?: string | null;\n /** Node animation. */\n animation?: Animation;\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 /** Defines how many columns the cell spans. Default: 1. */\n colspan?: number | null;\n /** Defines how many rows the cell spans. Default: 1. */\n rowspan?: number | null;\n /** The cell's border widths. */\n borderWidths?: BorderWidths;\n}\n\nexport enum VerticalAlignment {\n /** Top alignment */\n TOP = 'TOP',\n /** Middle alignment */\n MIDDLE = 'MIDDLE',\n /** Bottom alignment */\n BOTTOM = 'BOTTOM',\n}\n\n/** @enumType */\nexport type VerticalAlignmentWithLiterals =\n | VerticalAlignment\n | 'TOP'\n | 'MIDDLE'\n | 'BOTTOM';\n\nexport interface CellStyle {\n /** Vertical alignment for the cell's text. */\n verticalAlignment?: VerticalAlignmentWithLiterals;\n /**\n * Cell background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n}\n\nexport interface BorderColors {\n /**\n * Left border color as a hexadecimal value.\n * @maxLength 19\n */\n left?: string | null;\n /**\n * Right border color as a hexadecimal value.\n * @maxLength 19\n */\n right?: string | null;\n /**\n * Top border color as a hexadecimal value.\n * @maxLength 19\n */\n top?: string | null;\n /**\n * Bottom border color as a hexadecimal value.\n * @maxLength 19\n */\n bottom?: string | null;\n}\n\nexport interface BorderWidths {\n /** Left border width in pixels. */\n left?: number | null;\n /** Right border width in pixels. */\n right?: number | null;\n /** Top border width in pixels. */\n top?: number | null;\n /** Bottom border width in pixels. */\n bottom?: number | null;\n}\n\n/**\n * `NullValue` is a singleton enumeration to represent the null value for the\n * `Value` type union.\n *\n * The JSON representation for `NullValue` is JSON `null`.\n */\nexport enum NullValue {\n /** Null value. */\n NULL_VALUE = 'NULL_VALUE',\n}\n\n/** @enumType */\nexport type NullValueWithLiterals = NullValue | 'NULL_VALUE';\n\n/**\n * `ListValue` is a wrapper around a repeated field of values.\n *\n * The JSON representation for `ListValue` is JSON array.\n */\nexport interface ListValue {\n /** Repeated field of dynamically typed values. */\n values?: any[];\n}\n\nexport interface AudioData {\n /** Styling for the audio node's container. */\n containerData?: PluginContainerData;\n /** Audio file details. */\n audio?: Media;\n /** Sets whether the audio node's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Cover image. */\n coverImage?: Media;\n /** Track name. */\n name?: string | null;\n /** Author name. */\n authorName?: string | null;\n /** An HTML version of the audio node. */\n html?: string | null;\n /** Node animation. */\n animation?: Animation;\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 /** Node animation. */\n animation?: Animation;\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 /** Node animation. */\n animation?: Animation;\n}\n\nexport interface BlockquoteData {\n /** Indentation level from 1-4. */\n indentation?: number;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface CaptionData {\n textStyle?: TextStyle;\n}\n\nexport interface LayoutData {\n /**\n * Deprecated: Use `background` instead.\n * @maxLength 19\n * @deprecated\n */\n backgroundColor?: string | null;\n /** Background image. */\n backgroundImage?: LayoutDataBackgroundImage;\n /**\n * Border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Deprecated: Use `backdrop` instead.\n * @maxLength 19\n * @deprecated\n */\n backdropColor?: string | null;\n /** Backdrop image. */\n backdropImage?: LayoutDataBackgroundImage;\n /** Backdrop top padding. */\n backdropPaddingTop?: number | null;\n /** Backdrop bottom padding */\n backdropPaddingBottom?: number | null;\n /** Horizontal and vertical gap between columns */\n gap?: number | null;\n /**\n * Padding in pixels for cells. Follows CSS order: top, right, bottom, left\n * @maxSize 4\n */\n cellPadding?: number[];\n /** Vertical alignment for the cell's items. */\n cellVerticalAlignment?: VerticalAlignmentAlignmentWithLiterals;\n /** Responsiveness behaviour of columns when responsiveness applies. Either stacks or wrappers. */\n responsivenessBehaviour?: ResponsivenessBehaviourWithLiterals;\n /** Size in pixels when responsiveness_behaviour applies */\n responsivenessBreakpoint?: number | null;\n /** Styling for the layout's container. */\n containerData?: PluginContainerData;\n /** Defines where selected design propertied applies to */\n designTarget?: DesignTargetWithLiterals;\n /** Banner configuration. When present, this layout is attached to a document edge (top or bottom). */\n banner?: Banner;\n /** Background styling (color or gradient). */\n background?: LayoutDataBackground;\n /** Backdrop styling (color or gradient). */\n backdrop?: Backdrop;\n /** Node animation. */\n animation?: Animation;\n /** Shape divider at the top edge of the layout. */\n topDivider?: SectionDivider;\n /** Shape divider at the bottom edge of the layout. */\n bottomDivider?: SectionDivider;\n}\n\nexport enum ImageScalingScaling {\n /** Auto image scaling */\n AUTO = 'AUTO',\n /** Contain image scaling */\n CONTAIN = 'CONTAIN',\n /** Cover image scaling */\n COVER = 'COVER',\n}\n\n/** @enumType */\nexport type ImageScalingScalingWithLiterals =\n | ImageScalingScaling\n | 'AUTO'\n | 'CONTAIN'\n | 'COVER';\n\nexport enum ImagePosition {\n /** Image positioned at the center */\n CENTER = 'CENTER',\n /** Image positioned on the left */\n CENTER_LEFT = 'CENTER_LEFT',\n /** Image positioned on the right */\n CENTER_RIGHT = 'CENTER_RIGHT',\n /** Image positioned at the center top */\n TOP = 'TOP',\n /** Image positioned at the top left */\n TOP_LEFT = 'TOP_LEFT',\n /** Image positioned at the top right */\n TOP_RIGHT = 'TOP_RIGHT',\n /** Image positioned at the center bottom */\n BOTTOM = 'BOTTOM',\n /** Image positioned at the bottom left */\n BOTTOM_LEFT = 'BOTTOM_LEFT',\n /** Image positioned at the bottom right */\n BOTTOM_RIGHT = 'BOTTOM_RIGHT',\n}\n\n/** @enumType */\nexport type ImagePositionWithLiterals =\n | ImagePosition\n | 'CENTER'\n | 'CENTER_LEFT'\n | 'CENTER_RIGHT'\n | 'TOP'\n | 'TOP_LEFT'\n | 'TOP_RIGHT'\n | 'BOTTOM'\n | 'BOTTOM_LEFT'\n | 'BOTTOM_RIGHT';\n\n/** Background styling (color or gradient) */\nexport interface LayoutDataBackground {\n /** Background type. */\n type?: LayoutDataBackgroundTypeWithLiterals;\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Gradient configuration. */\n gradient?: Gradient;\n}\n\n/** Background type */\nexport enum LayoutDataBackgroundType {\n /** Solid color background */\n COLOR = 'COLOR',\n /** Gradient background */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type LayoutDataBackgroundTypeWithLiterals =\n | LayoutDataBackgroundType\n | 'COLOR'\n | 'GRADIENT';\n\nexport enum Origin {\n /** Banner originated from an image */\n IMAGE = 'IMAGE',\n /** Banner originated from a layout */\n LAYOUT = 'LAYOUT',\n}\n\n/** @enumType */\nexport type OriginWithLiterals = Origin | 'IMAGE' | 'LAYOUT';\n\nexport enum BannerPosition {\n /** Attached to the top edge (banner) */\n TOP = 'TOP',\n /** Attached to the bottom edge (footer) */\n BOTTOM = 'BOTTOM',\n}\n\n/** @enumType */\nexport type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';\n\n/** How the stacked layers fade relative to the base shape. Named for a bottom divider; top dividers render mirrored, so the visual fade flips. */\nexport enum LayerEffect {\n /** Shape keeps its height, a solid filler bar pushes it away from the edge */\n CENTER = 'CENTER',\n /** Deeper (more transparent) layers shrink toward the edge inside the original band while a solid filler bar keeps its full height, so the faded copies hug the top of the band */\n FADE_TO_TOP = 'FADE_TO_TOP',\n /** Deeper (more transparent) layers stretch taller into the section, so the faded copies fan out above the base shape and descend to the layout edge */\n FADE_TO_BOTTOM = 'FADE_TO_BOTTOM',\n}\n\n/** @enumType */\nexport type LayerEffectWithLiterals =\n | LayerEffect\n | 'CENTER'\n | 'FADE_TO_TOP'\n | 'FADE_TO_BOTTOM';\n\n/** Divider shape preset */\nexport enum Shape {\n /** Ellipse shape */\n ELLIPSE = 'ELLIPSE',\n /** Tilt shape */\n TILT = 'TILT',\n /** Liquid shape */\n LIQUID = 'LIQUID',\n /** Left wave shape */\n LEFT_WAVE = 'LEFT_WAVE',\n /** Paint scribble shape */\n PAINT_SCRIBBLE = 'PAINT_SCRIBBLE',\n /** Inverted ellipse shape */\n INVERTED_ELLIPSE = 'INVERTED_ELLIPSE',\n /** Right wave shape */\n RIGHT_WAVE = 'RIGHT_WAVE',\n /** Dunes shape */\n DUNES = 'DUNES',\n /** Waves shape */\n WAVES = 'WAVES',\n /** Triangle shape */\n TRIANGLE = 'TRIANGLE',\n /** Semi-ellipse shape */\n SEMI_ELLIPSE = 'SEMI_ELLIPSE',\n /** Plants shape */\n PLANTS = 'PLANTS',\n /** Layered ellipse shape */\n LAYERED_ELLIPSE = 'LAYERED_ELLIPSE',\n /** Pixels shape */\n PIXELS = 'PIXELS',\n /** Paint shape */\n PAINT = 'PAINT',\n /** Clouds shape */\n CLOUDS = 'CLOUDS',\n /** Optical illusion shape */\n OPTICAL_ILLUSION = 'OPTICAL_ILLUSION',\n /** Stripes shape */\n STRIPES = 'STRIPES',\n /** Blobs shape */\n BLOBS = 'BLOBS',\n /** Semi-circles shape */\n SEMI_CIRCLES = 'SEMI_CIRCLES',\n /** Hill shape */\n HILL = 'HILL',\n /** Brush shape */\n BRUSH = 'BRUSH',\n /** Peaks shape */\n PEAKS = 'PEAKS',\n /** Angled triangle shape */\n ANGLED_TRIANGLE = 'ANGLED_TRIANGLE',\n}\n\n/** @enumType */\nexport type ShapeWithLiterals =\n | Shape\n | 'ELLIPSE'\n | 'TILT'\n | 'LIQUID'\n | 'LEFT_WAVE'\n | 'PAINT_SCRIBBLE'\n | 'INVERTED_ELLIPSE'\n | 'RIGHT_WAVE'\n | 'DUNES'\n | 'WAVES'\n | 'TRIANGLE'\n | 'SEMI_ELLIPSE'\n | 'PLANTS'\n | 'LAYERED_ELLIPSE'\n | 'PIXELS'\n | 'PAINT'\n | 'CLOUDS'\n | 'OPTICAL_ILLUSION'\n | 'STRIPES'\n | 'BLOBS'\n | 'SEMI_CIRCLES'\n | 'HILL'\n | 'BRUSH'\n | 'PEAKS'\n | 'ANGLED_TRIANGLE';\n\n/** Layers effect - stacked semi-transparent copies of the divider shape */\nexport interface Layers {\n /** Total number of layers including the base shape (1-4). Absent or 1 disables the effect. */\n count?: number | null;\n /** Vertical distance in pixels between the silhouettes of consecutive layers: each successive layer's silhouette is offset from the previous one by this amount. The divider's own `height` is unchanged. Defaults to 20. */\n offsetY?: number | null;\n /** How the stacked layers fade relative to the base shape. */\n layerEffect?: LayerEffectWithLiterals;\n /** Horizontal distance between consecutive layers in pixels. Defaults to 0. Only applies to shapes that support horizontal offset. */\n offsetX?: number | null;\n}\n\n/** Backdrop type */\nexport enum BackdropType {\n /** Solid color backdrop */\n COLOR = 'COLOR',\n /** Gradient backdrop */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';\n\nexport interface LayoutDataBackgroundImage {\n /** Background image. */\n media?: Media;\n /**\n * Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background`/`backdrop` color behind it.\n * @deprecated\n */\n opacity?: number | null;\n /** Background image scaling. */\n scaling?: ImageScalingScalingWithLiterals;\n /** Position of background. Defaults to `CENTER`. */\n position?: ImagePositionWithLiterals;\n /** Blur radius in pixels applied to the image layer. `0` (default) leaves the image unblurred; blur is independent of any color overlay and the two stack. */\n blur?: number | null;\n /** Color or gradient drawn on top of the image. When present, this is the authoritative overlay and `opacity` is ignored. Its presence also marks content as authored under the new overlay model (vs. the legacy `opacity`-based dimming on `background`/`backdrop`). */\n overlay?: LayoutDataBackground;\n}\n\nexport enum VerticalAlignmentAlignment {\n /** Top alignment */\n TOP = 'TOP',\n /** Middle alignment */\n MIDDLE = 'MIDDLE',\n /** Bottom alignment */\n BOTTOM = 'BOTTOM',\n}\n\n/** @enumType */\nexport type VerticalAlignmentAlignmentWithLiterals =\n | VerticalAlignmentAlignment\n | 'TOP'\n | 'MIDDLE'\n | 'BOTTOM';\n\nexport enum ResponsivenessBehaviour {\n /** Stacking of columns */\n STACK = 'STACK',\n /** Wrapping of columns */\n WRAP = 'WRAP',\n}\n\n/** @enumType */\nexport type ResponsivenessBehaviourWithLiterals =\n | ResponsivenessBehaviour\n | 'STACK'\n | 'WRAP';\n\nexport enum DesignTarget {\n /** Design applied to layout */\n LAYOUT = 'LAYOUT',\n /** Design applied to cells */\n CELL = 'CELL',\n}\n\n/** @enumType */\nexport type DesignTargetWithLiterals = DesignTarget | 'LAYOUT' | 'CELL';\n\nexport interface Banner {\n /** Origin of the banner */\n origin?: OriginWithLiterals;\n /** Position of the banner */\n position?: BannerPositionWithLiterals;\n}\n\n/** Backdrop styling (color or gradient) */\nexport interface Backdrop {\n /** Backdrop type. */\n type?: BackdropTypeWithLiterals;\n /**\n * Backdrop color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Gradient configuration. */\n gradient?: Gradient;\n}\n\n/** Decorative shape divider at a layout edge */\nexport interface SectionDivider {\n /** Divider shape preset. Determines which customization properties apply. */\n type?: ShapeWithLiterals;\n /**\n * Divider fill color as a hexadecimal value (may include alpha).\n * @maxLength 19\n */\n color?: string | null;\n /** Divider height in pixels. */\n height?: number | null;\n /** Horizontal offset in pixels. */\n offsetX?: number | null;\n /** Whether the shape is flipped horizontally. */\n flipped?: boolean | null;\n /** Layers effect - stacked semi-transparent copies of the divider shape. */\n layers?: Layers;\n}\n\nexport interface LayoutCellData {\n /** Size of the cell in 12 columns grid. */\n colSpan?: number | null;\n}\n\nexport interface ShapeData {\n /** Styling for the shape's container. */\n containerData?: PluginContainerData;\n /** Shape file details. */\n shape?: Media;\n /** Styling for the shape. */\n styles?: ShapeDataStyles;\n /** Node animation. */\n animation?: Animation;\n /** Link details for shapes that are links. */\n link?: Link;\n /**\n * Alternate text describing the link's purpose for accessibility. Applies only when `link` is set.\n * @maxLength 1000\n */\n altText?: string | null;\n}\n\nexport interface ShapeDataStyles {\n /**\n * Shape fill color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Map of original color keys to their new color values. */\n colors?: Record<string, string>;\n}\n\nexport interface CardData {\n /** Background styling (color or gradient). */\n background?: CardDataBackground;\n /** Background image. */\n backgroundImage?: BackgroundImage;\n}\n\nexport enum Scaling {\n /** Auto image scaling */\n AUTO = 'AUTO',\n /** Contain image scaling */\n CONTAIN = 'CONTAIN',\n /** Cover image scaling */\n COVER = 'COVER',\n}\n\n/** @enumType */\nexport type ScalingWithLiterals = Scaling | 'AUTO' | 'CONTAIN' | 'COVER';\n\nexport enum ImagePositionPosition {\n /** Image positioned at the center */\n CENTER = 'CENTER',\n /** Image positioned on the left */\n CENTER_LEFT = 'CENTER_LEFT',\n /** Image positioned on the right */\n CENTER_RIGHT = 'CENTER_RIGHT',\n /** Image positioned at the center top */\n TOP = 'TOP',\n /** Image positioned at the top left */\n TOP_LEFT = 'TOP_LEFT',\n /** Image positioned at the top right */\n TOP_RIGHT = 'TOP_RIGHT',\n /** Image positioned at the center bottom */\n BOTTOM = 'BOTTOM',\n /** Image positioned at the bottom left */\n BOTTOM_LEFT = 'BOTTOM_LEFT',\n /** Image positioned at the bottom right */\n BOTTOM_RIGHT = 'BOTTOM_RIGHT',\n}\n\n/** @enumType */\nexport type ImagePositionPositionWithLiterals =\n | ImagePositionPosition\n | 'CENTER'\n | 'CENTER_LEFT'\n | 'CENTER_RIGHT'\n | 'TOP'\n | 'TOP_LEFT'\n | 'TOP_RIGHT'\n | 'BOTTOM'\n | 'BOTTOM_LEFT'\n | 'BOTTOM_RIGHT';\n\n/** Background styling (color or gradient) */\nexport interface CardDataBackground {\n /** Background type. */\n type?: CardDataBackgroundTypeWithLiterals;\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Gradient configuration. */\n gradient?: Gradient;\n}\n\n/** Background type */\nexport enum CardDataBackgroundType {\n /** Solid color background */\n COLOR = 'COLOR',\n /** Gradient background */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type CardDataBackgroundTypeWithLiterals =\n | CardDataBackgroundType\n | 'COLOR'\n | 'GRADIENT';\n\nexport interface BackgroundImage {\n /** Background image. */\n media?: Media;\n /**\n * Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background` color behind it.\n * @deprecated\n */\n opacity?: number | null;\n /** Background image scaling. */\n scaling?: ScalingWithLiterals;\n /** Position of background. Defaults to `CENTER`. */\n position?: ImagePositionPositionWithLiterals;\n /** Color or gradient drawn on top of the image. When present, this is the authoritative overlay and `opacity` is ignored. Its presence also marks content as authored under the new overlay model (vs. the legacy `opacity`-based dimming on `background`). */\n overlay?: CardDataBackground;\n /** Blur radius in pixels applied to the image layer. `0` (default) leaves the image unblurred; blur is independent of any color overlay and the two stack. */\n blur?: number | null;\n}\n\nexport interface TocData {\n /** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */\n includedHeadings?: number[];\n /** List style. Default: PLAIN. */\n listStyle?: ListStyleWithLiterals;\n /** Optional override for the font size in pixels. */\n fontSize?: number | null;\n /** Optional override for the vertical spacing between items in pixels. */\n itemSpacing?: number | null;\n /**\n * Optional override for the text color.\n * @maxLength 19\n */\n color?: string | null;\n /** Indentation style. Default: NESTED. */\n indentation?: IndentationWithLiterals;\n /** Node animation. */\n animation?: Animation;\n}\n\n/** List style. */\nexport enum ListStyle {\n /** No markers (default) */\n PLAIN = 'PLAIN',\n /** Numbered list */\n NUMBERED = 'NUMBERED',\n /** Alphabetic letters */\n LETTERS = 'LETTERS',\n /** Roman numerals */\n ROMAN = 'ROMAN',\n /** Bulleted list */\n BULLETED = 'BULLETED',\n /** Alphabetical index */\n ALPHABETICAL_INDEX = 'ALPHABETICAL_INDEX',\n /** Alphabetical index (compact top-row only) */\n ALPHABETICAL_INDEX_COMPACT = 'ALPHABETICAL_INDEX_COMPACT',\n}\n\n/** @enumType */\nexport type ListStyleWithLiterals =\n | ListStyle\n | 'PLAIN'\n | 'NUMBERED'\n | 'LETTERS'\n | 'ROMAN'\n | 'BULLETED'\n | 'ALPHABETICAL_INDEX'\n | 'ALPHABETICAL_INDEX_COMPACT';\n\n/** Indentation style. */\nexport enum Indentation {\n /** Sub-headings indented under parents (default) */\n NESTED = 'NESTED',\n /** All items at the same level */\n FLAT = 'FLAT',\n}\n\n/** @enumType */\nexport type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';\n\n/** Data for a smart block node. */\nexport interface SmartBlockData {\n /** The type of the smart block. */\n type?: SmartBlockDataTypeWithLiterals;\n /** Layout orientation. HORIZONTAL or VERTICAL. Optional for variants with fixed orientation. */\n orientation?: string | null;\n /** Column size controlling cells per row. */\n columnSize?: ColumnSizeWithLiterals;\n /**\n * Border color (for SOLID_JOINED_BOXES variant).\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Border width in pixels (for SOLID_JOINED_BOXES variant). */\n borderWidth?: number | null;\n /** Border radius in pixels (for SOLID_JOINED_BOXES variant). */\n borderRadius?: number | null;\n /** Node animation. */\n animation?: Animation;\n}\n\n/** Layout type of the smart block */\nexport enum SmartBlockDataType {\n /** Grid-based layouts with solid box items containing title, body, and icon/image. */\n SOLID_BOXES = 'SOLID_BOXES',\n /** Numbered boxes. */\n NUMBERED_BOXES = 'NUMBERED_BOXES',\n /** Statistics display with large numbers/values. */\n STATS = 'STATS',\n /** Statistics with circular visual elements. */\n CIRCLE_STATS = 'CIRCLE_STATS',\n /** Staggered/zigzag grid layout with alternating box positions. */\n SOLID_BOXES_ALTERNATING = 'SOLID_BOXES_ALTERNATING',\n /** Grid layout with boxes visually joined (no gaps, shared container border). */\n SOLID_JOINED_BOXES = 'SOLID_JOINED_BOXES',\n /** Transparent cells with only a left side line. */\n SIDE_LINE_TEXT = 'SIDE_LINE_TEXT',\n /** Transparent cells with only a top line. */\n TOP_LINE_TEXT = 'TOP_LINE_TEXT',\n /** Outlined boxes with a numbered/icon circle at the top. */\n OUTLINE_BOXES_WITH_TOP_CIRCLE = 'OUTLINE_BOXES_WITH_TOP_CIRCLE',\n /** Large icon bullets with text content. */\n BIG_BULLETS = 'BIG_BULLETS',\n /** Small dot bullets with text content. */\n SMALL_BULLETS = 'SMALL_BULLETS',\n /** Arrow icon bullets with text content. */\n ARROW_BULLETS = 'ARROW_BULLETS',\n /** Process steps with numbered/icon labels above a horizontal line. */\n PROCESS_STEPS = 'PROCESS_STEPS',\n /** Statistics with bar visual elements. */\n BAR_STATS = 'BAR_STATS',\n /** Timeline layout with numbered chips on a connecting line; cells alternate around the line. */\n TIMELINE = 'TIMELINE',\n /** Timeline layout with plain dot indicators; no numbers or shapes; cells alternate around the line. */\n MINIMAL_TIMELINE = 'MINIMAL_TIMELINE',\n /** Numbered pill-shaped labels (stadium chips) with text content; supports HORIZONTAL (pill on top) and VERTICAL (pill on left) orientations. */\n PILLS = 'PILLS',\n /** Star rating display with stars and a numeric value per cell. */\n STAR_RATING = 'STAR_RATING',\n /** Outlined boxes with decorative quote glyphs at the top-left and bottom-right corners. */\n QUOTE_BOXES = 'QUOTE_BOXES',\n /** Donut/ring with numbered annular-sector segments; cell text labels sit outside the ring. */\n CIRCLE = 'CIRCLE',\n /** Hierarchical pyramid where each cell renders as a horizontal slice (apex at top, base at bottom) with the cell number or shape centered inside; text content sits beside (desktop) or below (mobile) the pyramid. */\n PYRAMID = 'PYRAMID',\n /** Cells render a horizontal bar whose width scales with cell index, creating a staircase pattern; bar carries the cell number or a custom shape. */\n STAIRCASE = 'STAIRCASE',\n /** Hierarchical funnel where each cell renders as a horizontal slice (wide at top, narrowing toward the bottom) with the cell number or shape centered inside; text content sits beside (desktop) or below (mobile) the funnel. */\n VERTICAL_FUNNEL = 'VERTICAL_FUNNEL',\n}\n\n/** @enumType */\nexport type SmartBlockDataTypeWithLiterals =\n | SmartBlockDataType\n | 'SOLID_BOXES'\n | 'NUMBERED_BOXES'\n | 'STATS'\n | 'CIRCLE_STATS'\n | 'SOLID_BOXES_ALTERNATING'\n | 'SOLID_JOINED_BOXES'\n | 'SIDE_LINE_TEXT'\n | 'TOP_LINE_TEXT'\n | 'OUTLINE_BOXES_WITH_TOP_CIRCLE'\n | 'BIG_BULLETS'\n | 'SMALL_BULLETS'\n | 'ARROW_BULLETS'\n | 'PROCESS_STEPS'\n | 'BAR_STATS'\n | 'TIMELINE'\n | 'MINIMAL_TIMELINE'\n | 'PILLS'\n | 'STAR_RATING'\n | 'QUOTE_BOXES'\n | 'CIRCLE'\n | 'PYRAMID'\n | 'STAIRCASE'\n | 'VERTICAL_FUNNEL';\n\n/** Column size controlling how many cells appear per row. */\nexport enum ColumnSize {\n /** Up to 4 cells in a row. */\n SMALL = 'SMALL',\n /** Up to 3 cells in a row (default). */\n MEDIUM = 'MEDIUM',\n /** Up to 2 cells in a row. */\n LARGE = 'LARGE',\n /** 1 cell in a row. */\n EXTRA_LARGE = 'EXTRA_LARGE',\n}\n\n/** @enumType */\nexport type ColumnSizeWithLiterals =\n | ColumnSize\n | 'SMALL'\n | 'MEDIUM'\n | 'LARGE'\n | 'EXTRA_LARGE';\n\n/** Data for a smart block cell node. */\nexport interface SmartBlockCellData {\n /** Optional label text for the cell (e.g., for stats variants). */\n label?: string | null;\n /** Shape file details. */\n shape?: Media;\n /**\n * Border color of the cell.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /** The type of the parent smart block (must match parent). */\n type?: SmartBlockDataTypeWithLiterals;\n /**\n * Accent color for non-background variants (e.g., line, bullet, label color).\n * @maxLength 19\n */\n accentColor?: string | null;\n /**\n * Background color for background-based variants (SOLID_BOXES, SOLID_BOXES_ALTERNATING, SOLID_JOINED_BOXES).\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Shape fill color as a hexadecimal value.\n * @maxLength 19\n */\n shapeColor?: string | null;\n}\n\nexport interface CheckboxListData {\n /** Indentation level from 0-4. */\n indentation?: number;\n /** Offset level from 0-4. */\n offset?: number | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface ListItemNodeData {\n /** Checkbox list item state. Defaults to `false`. */\n checked?: boolean | null;\n /** Node animation. */\n animation?: Animation;\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 BadgeList {\n /**\n * Events badges.\n * @maxSize 10\n */\n badges?: Badge[];\n}\n\nexport interface Badge {\n /** Badge type. */\n type?: BadgeTypeTypeWithLiterals;\n /**\n * Badge text.\n * @maxLength 50\n */\n text?: string | null;\n /**\n * The date when function that yielded this badge was last edited.\n * Used to resolve priority when 2 or more badges have the same type.\n * @internal\n */\n functionUpdateDate?: Date | null;\n}\n\nexport enum BadgeTypeType {\n /** 1st priority badge type. */\n FIRST_PRIORITY = 'FIRST_PRIORITY',\n /** 2nd priority badge type. */\n SECOND_PRIORITY = 'SECOND_PRIORITY',\n /** 3rd priority badge type. */\n THIRD_PRIORITY = 'THIRD_PRIORITY',\n}\n\n/** @enumType */\nexport type BadgeTypeTypeWithLiterals =\n | BadgeTypeType\n | 'FIRST_PRIORITY'\n | 'SECOND_PRIORITY'\n | 'THIRD_PRIORITY';\n\nexport interface EventStarted {\n /** Event schedule configuration. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Whether at least 1 guest is registered to the event with any attendance status. */\n hasGuests?: boolean | null;\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 /** Whether at least 1 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 dateAndTimeSettings?: DateAndTimeSettings;\n /**\n * Event title.\n * @minLength 1\n * @maxLength 120\n */\n title?: string;\n /**\n * ID of the user who created the event.\n * @format GUID\n */\n userId?: string | null;\n /** Time until the start of event. By default, the reminder letter is triggered 1 day before the start of event. */\n startsIn?: TimeDuration;\n /** Whether at least 1 guest is registered to the event with any attendance status. */\n hasGuests?: boolean | null;\n}\n\nexport interface EventPublished {\n /** Event publishing timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event status. */\n status?: StatusWithLiterals;\n /**\n * Event ID. Indicates the original event from which the current event was derived from.\n * Can be used to track the original event and add missing information.\n * @format GUID\n */\n derivedFromEventId?: string | null;\n /**\n * Event title.\n * @minLength 1\n * @maxLength 120\n */\n title?: string | null;\n /**\n * Short description that appears under the event title.\n * @maxLength 500\n */\n shortDescription?: string | null;\n /** Event location. */\n location?: Location;\n /** Event date and time settings. */\n dateAndTimeSettings?: DateAndTimeSettings;\n /** Event page URL components. */\n eventPageUrl?: string;\n /** RSVP or ticketing registration details. */\n registration?: Registration;\n}\n\nexport interface EventCloned {\n /** Event creation 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 date and time settings. */\n dateAndTimeSettings?: DateAndTimeSettings;\n /**\n * Event title.\n * @minLength 1\n * @maxLength 120\n */\n title?: string;\n /**\n * ID of the user who created the event.\n * @format GUID\n */\n userId?: string | null;\n /** Event status. */\n status?: StatusWithLiterals;\n /**\n * Instance ID. Indicates the original app instance from which current event was derived from.\n * @format GUID\n */\n derivedFromInstanceId?: string | null;\n /**\n * Event ID. Indicates the original event from which current event was derived from.\n * @format GUID\n */\n derivedFromEventId?: string | null;\n /**\n * Map of copied ticket definitions from the original event. <br>\n * Key represents ticket definition ID in the original event. <br>\n * Value represents ticket definition ID in the newly event.\n */\n ticketDefinitions?: Record<string, string>;\n}\n\nexport interface EventCanceled {\n /** Event cancellation timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /**\n * Event title.\n * @minLength 1\n * @maxLength 120\n */\n title?: string;\n /**\n * ID of the user who created the event.\n * @format GUID\n */\n userId?: string | null;\n /** Whether at least 1 guest is registered to the event with any attendance status. */\n hasGuests?: boolean | null;\n}\n\nexport interface CreateEventRequest {\n /** Event data. */\n event: Event;\n /** Whether to create the event as a draft. */\n draft?: boolean;\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport enum RequestedFields {\n /** Returns `shortDescription`, `mainImage` and `calendarUrls`. */\n DETAILS = 'DETAILS',\n /** Returns `description`. */\n TEXTS = 'TEXTS',\n /** Returns `registration`. */\n REGISTRATION = 'REGISTRATION',\n /** Returns `eventPageUrl`. */\n URLS = 'URLS',\n /** Returns `form`. */\n FORM = 'FORM',\n /** Returns `summaries`. */\n DASHBOARD = 'DASHBOARD',\n /** Returns `feed`. */\n FEED = 'FEED',\n /** Returns `onlineConferencing.session`. */\n ONLINE_CONFERENCING_SESSION = 'ONLINE_CONFERENCING_SESSION',\n /** Returns `seoSettings`. */\n SEO_SETTINGS = 'SEO_SETTINGS',\n /** Returns `agendaSettings`. */\n AGENDA = 'AGENDA',\n /** Returns `categories`. */\n CATEGORIES = 'CATEGORIES',\n /** @internal */\n CUSTOMIZABLE_TICKETS = 'CUSTOMIZABLE_TICKETS',\n /**\n * Returns badges. When using this fieldset, query or list methods limit can't exceed 100 items.\n * @internal\n */\n BADGES = 'BADGES',\n}\n\n/** @enumType */\nexport type RequestedFieldsWithLiterals =\n | RequestedFields\n | 'DETAILS'\n | 'TEXTS'\n | 'REGISTRATION'\n | 'URLS'\n | 'FORM'\n | 'DASHBOARD'\n | 'FEED'\n | 'ONLINE_CONFERENCING_SESSION'\n | 'SEO_SETTINGS'\n | 'AGENDA'\n | 'CATEGORIES';\n\nexport interface CreateEventResponse {\n /** Created event. */\n event?: Event;\n}\n\nexport interface CloneEventRequest {\n /**\n * Event ID.\n * @format GUID\n */\n eventId: string;\n /** Event info to change in the cloned event. */\n event?: Event;\n /**\n * Fields that are included in this parameter are updated, while all other fields stay the same. If paths are not defined, all field values from the `event` object are updated.\n * @internal\n */\n fieldmask?: string[];\n /** Whether to clone the event as a draft. */\n draft?: boolean;\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CloneEventResponse {\n /** Cloned event. */\n event?: Event;\n}\n\nexport interface CloneEventFromOtherSiteRequest {\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string | null;\n /**\n * Origin instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CloneEventFromOtherSiteResponse {\n /** Cloned event. */\n event?: Event;\n}\n\nexport interface GetEventTranslationsContentRequest {\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string | null;\n}\n\nexport interface GetEventTranslationsContentResponse {\n /** Translation content entries from the multilingual translation-content service. */\n contents?: Content[];\n}\n\nexport interface Content {\n /**\n * Translation content ID.\n * @readonly\n * @format GUID\n */\n _id?: string | null;\n /**\n * Translation schema ID.\n * @immutable\n * @format GUID\n */\n schemaId?: string;\n /**\n * A unique identifier defined by the app developer to differentiate translation content for various entities within the site. For example, if an app developer is creating translation content for blog posts, the `entityId` can be `'blog-posts-1'`.\n * @immutable\n * @minLength 1\n * @maxLength 100\n */\n entityId?: string;\n /**\n * Translation content locale.\n * @format LANGUAGE_TAG\n * @immutable\n */\n locale?: string;\n /**\n * List of fields for the translation content. This property uses a string to map to a `ContentField` (`Map<string, ContentField>`). The string serves as a key, which you'll need to access each field in the content and when referencing a translation schema.\n * @maxSize 2000\n */\n fields?: Record<string, ContentField>;\n /**\n * A reference to the parent content. For example, if the content is a menu item, this property would contain the `entityId` of the menu it belongs to.\n * @minLength 1\n * @maxLength 100\n */\n parentEntityId?: string | null;\n /**\n * The aggregated published status across all content fields.\n * @readonly\n */\n publishStatus?: PublishStatusWithLiterals;\n /**\n * Contains the value of the preview field if the schema defines one.\n * @readonly\n * @maxLength 20000\n */\n previewField?: string | null;\n /**\n * Date and time the translation content was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time the translation content was updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n}\n\nexport interface ContentField extends ContentFieldValueOneOf {\n /**\n * Plain text. Use this field if the corresponding schema `fields.type` is `SHORT_TEXT`, `LONG_TEXT`, `HTML`, or `IMAGE_LINK`.\n * @maxLength 100000\n */\n textValue?: string;\n /**\n * Translation Content rich content.\n *\n * <widget src=\"https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component\" exampleid=\"71a5e527-a334-49e6-bc2d-9f5b3e831fc5\">See Ricos document reference</widget>\n */\n richContent?: RichContent;\n /** Wix Media Manager image. */\n image?: string;\n /** Wix Media Manager video. */\n video?: string;\n /** Wix Media Manager document. */\n document?: string;\n /**\n * Field unique identifier. Validated according to Regex `^[A-Za-z0-9-_)(]+$`. Field IDs may contain parentheses to reference repeated items, such as images. These parentheses can't be nested and each opening parenthesis must be followed by a closing one. For example, `title()()` is valid, while `title)(` and `title(())` aren't valid. The value inside the parenthesis is validated according to Regex `^[^)(\\\\]\\\\[\\\\.]+$`.\n * @minLength 1\n * @maxLength 256\n * @readonly\n */\n _id?: string;\n /**\n * Whether to publish the translation content to the live site, making it visible to site visitors.\n *\n * Default: `false`\n */\n published?: boolean;\n /** **Required.** The source that updated the translation content. */\n updatedBy?: UpdaterIdentityWithLiterals;\n /**\n * Unique string identifier that links a specific content field to its corresponding field in the schema.\n * @readonly\n * @maxLength 100\n */\n schemaFieldKey?: string;\n /**\n * Field index. Used for cases where the order of the fields are relevant.\n * @readonly\n */\n index?: number;\n /**\n * Date and time the translation content field was updated.\n * @internal\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Number of words in the field. This property is only available for `text_value` and `rich_content` types.\n * @internal\n * @readonly\n */\n numberOfWords?: number | null;\n}\n\n/** @oneof */\nexport interface ContentFieldValueOneOf {\n /**\n * Plain text. Use this field if the corresponding schema `fields.type` is `SHORT_TEXT`, `LONG_TEXT`, `HTML`, or `IMAGE_LINK`.\n * @maxLength 100000\n */\n textValue?: string;\n /**\n * Translation Content rich content.\n *\n * <widget src=\"https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component\" exampleid=\"71a5e527-a334-49e6-bc2d-9f5b3e831fc5\">See Ricos document reference</widget>\n */\n richContent?: RichContent;\n /** Wix Media Manager image. */\n image?: string;\n /** Wix Media Manager video. */\n video?: string;\n /** Wix Media Manager document. */\n document?: string;\n}\n\nexport interface VideoResolution {\n /**\n * Video URL.\n * @maxLength 1000\n */\n url?: string;\n /** Video height. */\n height?: number;\n /** Video width. */\n width?: number;\n /**\n * Deprecated. Use the `posters` property in the parent entity instead.\n * @internal\n * @deprecated Deprecated. Use the `posters` property in the parent entity instead.\n * @targetRemovalDate 2029-08-01\n */\n poster?: string;\n /**\n * Video format for example, mp4, hls.\n * @maxLength 1000\n */\n format?: string;\n /**\n * Deprecated. Use the `urlExpirationDate` property in the parent entity instead.\n * @internal\n * @deprecated Deprecated. Use the `urlExpirationDate` property in the parent entity instead.\n * @targetRemovalDate 2029-08-01\n */\n urlExpirationDate?: Date | null;\n /**\n * Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution.\n * @internal\n * @format DECIMAL_VALUE\n * @deprecated Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution.\n * @targetRemovalDate 2029-08-01\n */\n sizeInBytes?: string | null;\n /**\n * Video quality. For example: 480p, 720p.\n * @internal\n * @maxLength 1000\n */\n quality?: string | null;\n /**\n * Video filename.\n * @internal\n * @maxLength 1000\n */\n filename?: string | null;\n /**\n * Video duration in seconds.\n * @internal\n * @readonly\n * @deprecated Video duration in seconds.\n * @replacedBy duration_in_milliseconds\n * @targetRemovalDate 2029-08-01\n */\n durationInSeconds?: number | null;\n /**\n * Video duration in milliseconds.\n * @internal\n * @readonly\n */\n durationInMilliseconds?: number | null;\n /**\n * When true, this is a protected asset, and calling the URL will return a 403 error.\n * In order to access private assets, make a request to:\n * `GenerateFileDownloadUrl` with the WixMedia id and specify the asset_key in the request\n * @internal\n * @readonly\n */\n private?: boolean | null;\n /**\n * Key to identify the video resolution's relationship to the original media in WixMedia.\n * Can be used to request a download for the specific video resolution.\n * For example: 480p.mp4, 720p.mp4, 1080p.mp4, trailer-720p.mp4, clip-720p.mp4\n * @internal\n * @readonly\n * @maxLength 1000\n */\n assetKey?: string | null;\n}\n\nexport enum UpdaterIdentity {\n /** Unknown updater. */\n UNKNOWN_UPDATER_IDENTITY = 'UNKNOWN_UPDATER_IDENTITY',\n /** The Wix user. */\n USER = 'USER',\n /** An external translation app. */\n EXTERNAL_APP = 'EXTERNAL_APP',\n /** Machine translation service. */\n MACHINE = 'MACHINE',\n}\n\n/** @enumType */\nexport type UpdaterIdentityWithLiterals =\n | UpdaterIdentity\n | 'UNKNOWN_UPDATER_IDENTITY'\n | 'USER'\n | 'EXTERNAL_APP'\n | 'MACHINE';\n\nexport enum PublishStatus {\n /** Unknown publish status. */\n UNKNOWN_PUBLISH_STATUS = 'UNKNOWN_PUBLISH_STATUS',\n /** None of the fields have been sent for publication. */\n UNPUBLISHED = 'UNPUBLISHED',\n /** Some of the fields have been sent for publication. */\n PARTIALLY_PUBLISHED = 'PARTIALLY_PUBLISHED',\n /** All of the fields have been sent for publication. */\n PUBLISHED = 'PUBLISHED',\n}\n\n/** @enumType */\nexport type PublishStatusWithLiterals =\n | PublishStatus\n | 'UNKNOWN_PUBLISH_STATUS'\n | 'UNPUBLISHED'\n | 'PARTIALLY_PUBLISHED'\n | 'PUBLISHED';\n\nexport interface UpdateEventRequest {\n /** Event info to update. */\n event?: Event;\n /**\n * Fields that are included in this parameter are updated, while all other fields stay the same. If paths are not defined, all field values from the `event` object are updated.\n * @internal\n */\n fieldmask?: string[];\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface UpdateEventResponse {\n /** Updated event. */\n event?: Event;\n}\n\nexport interface PublishDraftEventRequest {\n /**\n * Event ID.\n * @format GUID\n */\n eventId: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface PublishDraftEventResponse {\n /** Published event. */\n event?: Event;\n}\n\nexport interface CancelEventRequest {\n /**\n * Event ID.\n * @format GUID\n */\n eventId: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CancelEventResponse {\n /** Canceled event. */\n event?: Event;\n}\n\nexport interface BulkCancelEventsByFilterRequest {\n /** Filter. For supported filters, see the table in [Query Events](https://dev.wix.com/docs/sdk/backend-modules/events/wix-events-v2/query-events). */\n filter?: CommonQueryV2;\n}\n\nexport interface CommonQueryV2 extends CommonQueryV2PagingMethodOneOf {\n /** Paging options. Can't be used together with `cursorPaging`. */\n paging?: CommonPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 20\n */\n sort?: CommonSorting[];\n}\n\n/** @oneof */\nexport interface CommonQueryV2PagingMethodOneOf {\n /** Paging options. Can't be used together with `cursorPaging`. */\n paging?: CommonPaging;\n}\n\nexport interface CommonSorting {\n /**\n * Name of the field to sort by.\n * @maxLength 100\n */\n fieldName?: string;\n /**\n * Sort order.\n * Use `ASC` for ascending order or `DESC` for descending order.\n *\n * Default: `ASC`.\n */\n order?: CommonSortOrderWithLiterals;\n}\n\nexport enum CommonSortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type CommonSortOrderWithLiterals = CommonSortOrder | 'ASC' | 'DESC';\n\nexport interface CommonPaging {\n /**\n * Number of items to return. See [Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging#getting-started_sorting-and-paging_paging) for more information.\n * @max 1000\n */\n limit?: number | null;\n /** Number of items to skip in the current sort order. */\n offset?: number | null;\n}\n\nexport interface BulkCancelEventsByFilterResponse {}\n\nexport interface DeleteEventRequest {\n /**\n * Event ID.\n * @format GUID\n */\n eventId: string;\n}\n\nexport interface DeleteEventResponse {\n /**\n * Deleted event ID.\n * @format GUID\n */\n eventId?: string;\n}\n\nexport interface BulkDeleteEventsByFilterRequest {\n /** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */\n filter?: CommonQueryV2;\n}\n\nexport interface BulkDeleteEventsByFilterResponse {}\n\nexport interface QueryEventsRequest {\n /** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */\n query?: CommonQueryV2;\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n /**\n * Whether draft events should be returned in the response. <br>\n * **Note:** This parameter requires the `WIX_EVENTS.READ_DRAFT_EVENTS` permission.\n */\n includeDrafts?: boolean;\n}\n\nexport interface QueryEventsResponse {\n /** Metadata for the paginated results. */\n pagingMetadata?: CommonPagingMetadataV2;\n /** List of events. */\n events?: Event[];\n}\n\nexport interface CommonPagingMetadataV2 {\n /** Number of items to return. See [Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging#getting-started_sorting-and-paging_paging) for more information. */\n count?: number | null;\n /** Requested offset. */\n offset?: number | null;\n /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n total?: number | null;\n /** Flag that indicates the server failed to calculate the `total` field. */\n tooManyToCount?: boolean | null;\n /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n cursors?: CommonCursors;\n /**\n * Whether there are more results after the current page.\n * If `true`, another page of results can be retrieved.\n * If `false`, the current page is the final page.\n * @internal\n */\n hasNext?: boolean | null;\n}\n\nexport interface CommonCursors {\n /** Cursor pointing to the next page in the list of results. */\n next?: string | null;\n /** Cursor pointing to the previous page in the list of results. */\n prev?: string | null;\n}\n\nexport interface ExportEventsRequest {\n /** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */\n query?: QueryV2;\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n /** Paging options to limit and offset the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n */\n sort?: Sorting[];\n /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */\n fields?: string[];\n /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */\n fieldsets?: string[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n /** Paging options to limit and offset the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n /**\n * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by\n * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.\n *\n * If multiple filters are provided, they are combined with AND operator.\n *\n * Example:\n * Given we have document like {\"id\": \"1\", \"nestedField\": [{\"price\": 10, \"region\": \"EU\"}, {\"price\": 20, \"region\": \"US\"}]}\n * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be\n * { fieldName: \"nestedField.price\", \"select_items_by\": [{\"nestedField.region\": \"US\"}] }\n * @internal\n * @maxSize 10\n */\n selectItemsBy?: Record<string, any>[] | null;\n /**\n * Origin point for geo-distance sorting on a GEO field\n * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).\n */\n origin?: AddressLocation;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface AddressLocation {\n /** Address latitude. */\n latitude?: number | null;\n /** Address longitude. */\n longitude?: number | null;\n}\n\nexport interface Paging {\n /** Number of items to load. */\n limit?: number | null;\n /** Number of items to skip in the current sort order. */\n offset?: number | null;\n}\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface ExportEventsResponse {\n /** Metadata for the paginated results. */\n pagingMetadata?: PagingMetadataV2;\n /** List of events. */\n events?: Event[];\n}\n\nexport interface PagingMetadataV2 {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n offset?: number | null;\n /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n total?: number | null;\n /** Flag that indicates the server failed to calculate the `total` field. */\n tooManyToCount?: boolean | null;\n /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n cursors?: Cursors;\n /**\n * Indicates if there are more results after the current page.\n * If `true`, another page of results can be retrieved.\n * If `false`, this is the last page.\n * @internal\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface CountEventsByStatusRequest {\n /** Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\" }`. */\n filter?: Record<string, any> | null;\n /**\n * Parameters to count events by.\n * @maxLength 100\n * @maxSize 20\n */\n facet?: string[];\n /**\n * Whether draft events should be returned in the response. <br>\n * **Note:** This parameter requires the `WIX_EVENTS.READ_DRAFT_EVENTS` permission.\n */\n includeDrafts?: boolean;\n}\n\nexport interface CountEventsByStatusResponse {\n /** Metadata for the paginated results. */\n pagingMetadata?: CommonPagingMetadataV2;\n /** Filter facets. */\n facets?: Record<string, FacetCounts>;\n}\n\nexport interface FacetCounts {\n /** Facet counts aggregated per value */\n counts?: Record<string, number>;\n}\n\nexport interface ListUserEventsRequest {\n /** Paging options to limit and skip the number of items. */\n paging?: CommonPaging;\n /**\n * Sort order, defaults to `\"created:asc\"`.\n * See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-events).\n * @maxSize 20\n */\n sort?: CommonSorting[];\n /**\n * Event status.\n * @maxSize 20\n */\n status?: StatusWithLiterals[];\n /** Allows to filter events by user relation to the event among all wix sites. */\n userFilter?: UserFilter;\n /**\n * Filter facets to include in the response.\n * See [supported facets](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-events).\n * @maxLength 100\n * @maxSize 20\n */\n facet?: string[];\n /**\n * Predefined sets of fields to return. If both `fields` and `fieldsets` are sent in the request, the union of both lists is returned.\n * @internal\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface UserFilter {\n /**\n * User who is related to the event.\n * @format GUID\n */\n userId?: string;\n /**\n * Relation of user to the event.\n * @minSize 1\n * @maxSize 20\n */\n relation?: RelationWithLiterals[];\n}\n\nexport enum Relation {\n /** User is attending the event. The user RSVP'd with status of `YES` or has ordered tickets. */\n ATTENDING = 'ATTENDING',\n}\n\n/** @enumType */\nexport type RelationWithLiterals = Relation | 'ATTENDING';\n\nexport interface ListUserEventsResponse {\n /** Metadata for the paginated results. */\n pagingMetadata?: CommonPagingMetadataV2;\n /** List of events. */\n events?: Event[];\n /** Filter facets. */\n facets?: Record<string, FacetCounts>;\n}\n\nexport interface ListEventsByCategoryRequest {\n /**\n * Category ID.\n * @format GUID\n */\n categoryId: string;\n /** Paging options to limit and skip the number of items. */\n paging?: CommonPaging;\n /**\n * Predefined sets of fields to return. If both `fields` and `fieldsets` are sent in the request, the union of both lists is returned.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface ListEventsByCategoryResponse {\n /** Metadata for the paginated results. */\n pagingMetadata?: CommonPagingMetadataV2;\n /** List of events. */\n events?: Event[];\n}\n\nexport interface GetEventRequest {\n /**\n * Event ID.\n * @format GUID\n */\n eventId: string | null;\n /**\n * Predefined sets of fields to return. For example, specify `\"FORM\"` to include the event's registration form definition, including the input names, mandatory fields, and predefined options needed when [creating an RSVP](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/create-rsvp).\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n /**\n * Whether `fullAddress` should be resolved.\n * @internal\n */\n resolveFullAddress?: boolean;\n /**\n * Consistent read flag.\n * @internal\n */\n consistentRead?: boolean;\n}\n\nexport interface GetEventResponse {\n /** Event. */\n event?: Event;\n}\n\nexport interface GetEventBySlugRequest {\n /**\n * URL slug.\n * @minLength 1\n * @maxLength 130\n */\n slug: string | null;\n /** @maxSize 20 */\n fields?: RequestedFieldsWithLiterals[];\n /**\n * Whether `fullAddress` should be resolved.\n * @internal\n */\n resolveFullAddress?: boolean;\n}\n\nexport interface GetEventBySlugResponse {\n /** Event. */\n event?: Event;\n}\n\nexport interface FindEventRequest extends FindEventRequestFindByOneOf {\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string | null;\n /**\n * URL slug.\n * @minLength 1\n * @maxLength 130\n */\n slug?: string | null;\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/** @oneof */\nexport interface FindEventRequestFindByOneOf {\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string | null;\n /**\n * URL slug.\n * @minLength 1\n * @maxLength 130\n */\n slug?: string | null;\n}\n\nexport interface FindEventResponse {\n /** Event. */\n event?: Event;\n}\n\nexport interface Empty {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface 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 /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type CreateEventApplicationErrors =\n | {\n code?: 'INVALID_SLUG_FORMAT';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'EVENT_LIMIT_REACHED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'SLUG_ALREADY_IN_USE';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type CreateEventValidationErrors = {\n ruleName?: 'INVALID_EVENT_CONFIGURATION';\n};\n/** @docsIgnore */\nexport type UpdateEventApplicationErrors =\n | {\n code?: 'INVALID_EVENT_STATUS_TRANSITION';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_SLUG_FORMAT';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'SLUG_ALREADY_IN_USE';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type UpdateEventValidationErrors = {\n ruleName?: 'INVALID_EVENT_CONFIGURATION';\n};\n/** @docsIgnore */\nexport type PublishDraftEventApplicationErrors =\n | {\n code?: 'INVALID_EVENT_STATUS_TRANSITION';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'EVENT_ALREADY_PUBLISHED';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type CancelEventApplicationErrors = {\n code?: 'INVALID_EVENT_STATUS_TRANSITION';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type QueryEventsApplicationErrors = {\n code?: 'FILTER_PARSER_ERROR';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type CountEventsByStatusApplicationErrors = {\n code?: 'FILTER_PARSER_ERROR';\n description?: string;\n data?: Record<string, any>;\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 /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface EventMetadata extends BaseEventMetadata {\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n accountInfo?: AccountInfoMetadata;\n}\n\nexport interface AccountInfoMetadata {\n /** ID of the Wix account associated with the event */\n accountId: string;\n /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */\n siteId?: string;\n /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */\n parentAccountId?: string;\n}\n\nexport interface EventCanceledEnvelope {\n data: EventCanceled;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event is canceled.\n * @permissionScope Manage_Wix_Rentals_App_Forms_submissions\n * @permissionScopeId SCOPE.RENTALS.MANAGE\n * @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope View settlement reports and payouts\n * @permissionScopeId SCOPE.PAYMENTS.PAYOUTS-VIEW-FOR-SITE\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 Online Programs\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage Social Posts\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SOCIAL-POSTS\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope View Site Analytics\n * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-GOOGLE-ADS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionScope View google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.VIEW-GOOGLE-ADS\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @webhook\n * @eventType wix.events.v3.event_canceled\n * @slug canceled\n */\nexport declare function onEventCanceled(\n handler: (event: EventCanceledEnvelope) => void | Promise<void>\n): void;\n\nexport interface EventClonedEnvelope {\n data: EventCloned;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event is cloned.\n * @permissionScope Manage_Wix_Rentals_App_Forms_submissions\n * @permissionScopeId SCOPE.RENTALS.MANAGE\n * @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope View settlement reports and payouts\n * @permissionScopeId SCOPE.PAYMENTS.PAYOUTS-VIEW-FOR-SITE\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 Online Programs\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage Social Posts\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SOCIAL-POSTS\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope View Site Analytics\n * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-GOOGLE-ADS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionScope View google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.VIEW-GOOGLE-ADS\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @webhook\n * @eventType wix.events.v3.event_cloned\n * @slug cloned\n */\nexport declare function onEventCloned(\n handler: (event: EventClonedEnvelope) => void | Promise<void>\n): void;\n\nexport interface EventCreatedEnvelope {\n entity: Event;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event is created.\n * @permissionScope Manage_Wix_Rentals_App_Forms_submissions\n * @permissionScopeId SCOPE.RENTALS.MANAGE\n * @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope View settlement reports and payouts\n * @permissionScopeId SCOPE.PAYMENTS.PAYOUTS-VIEW-FOR-SITE\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 Online Programs\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage Social Posts\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SOCIAL-POSTS\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope View Site Analytics\n * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-GOOGLE-ADS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionScope View google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.VIEW-GOOGLE-ADS\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @webhook\n * @eventType wix.events.v3.event_created\n * @slug created\n */\nexport declare function onEventCreated(\n handler: (event: EventCreatedEnvelope) => void | Promise<void>\n): void;\n\nexport interface EventDeletedEnvelope {\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event is deleted.\n * @permissionScope Manage_Wix_Rentals_App_Forms_submissions\n * @permissionScopeId SCOPE.RENTALS.MANAGE\n * @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope View settlement reports and payouts\n * @permissionScopeId SCOPE.PAYMENTS.PAYOUTS-VIEW-FOR-SITE\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 Online Programs\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage Social Posts\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SOCIAL-POSTS\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope View Site Analytics\n * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-GOOGLE-ADS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionScope View google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.VIEW-GOOGLE-ADS\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @webhook\n * @eventType wix.events.v3.event_deleted\n * @slug deleted\n */\nexport declare function onEventDeleted(\n handler: (event: EventDeletedEnvelope) => void | Promise<void>\n): void;\n\nexport interface EventEndedEnvelope {\n data: EventEnded;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event has ended.\n * @permissionScope Manage_Wix_Rentals_App_Forms_submissions\n * @permissionScopeId SCOPE.RENTALS.MANAGE\n * @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope View settlement reports and payouts\n * @permissionScopeId SCOPE.PAYMENTS.PAYOUTS-VIEW-FOR-SITE\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 Online Programs\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage Social Posts\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SOCIAL-POSTS\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope View Site Analytics\n * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-GOOGLE-ADS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionScope View google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.VIEW-GOOGLE-ADS\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @webhook\n * @eventType wix.events.v3.event_ended\n * @slug ended\n */\nexport declare function onEventEnded(\n handler: (event: EventEndedEnvelope) => void | Promise<void>\n): void;\n\nexport interface EventPublishedEnvelope {\n data: EventPublished;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event is published.\n * @permissionScope Manage_Wix_Rentals_App_Forms_submissions\n * @permissionScopeId SCOPE.RENTALS.MANAGE\n * @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope View settlement reports and payouts\n * @permissionScopeId SCOPE.PAYMENTS.PAYOUTS-VIEW-FOR-SITE\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 Online Programs\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage Social Posts\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SOCIAL-POSTS\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope View Site Analytics\n * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-GOOGLE-ADS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionScope View google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.VIEW-GOOGLE-ADS\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @webhook\n * @eventType wix.events.v3.event_published\n * @slug published\n */\nexport declare function onEventPublished(\n handler: (event: EventPublishedEnvelope) => void | Promise<void>\n): void;\n\nexport interface EventReminderEnvelope {\n data: EventReminder;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a certain amount of time is left until the event. In total there are 6 reminders:\n * - 7 days\n * - 3 days\n * - 1 day\n * - 2 hours\n * - 1 hour\n * - 30 minutes\n * @permissionScope Manage_Wix_Rentals_App_Forms_submissions\n * @permissionScopeId SCOPE.RENTALS.MANAGE\n * @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope View settlement reports and payouts\n * @permissionScopeId SCOPE.PAYMENTS.PAYOUTS-VIEW-FOR-SITE\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 Online Programs\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage Social Posts\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SOCIAL-POSTS\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope View Site Analytics\n * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-GOOGLE-ADS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionScope View google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.VIEW-GOOGLE-ADS\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @webhook\n * @eventType wix.events.v3.event_reminder\n * @slug reminder\n */\nexport declare function onEventReminder(\n handler: (event: EventReminderEnvelope) => void | Promise<void>\n): void;\n\nexport interface EventStartedEnvelope {\n data: EventStarted;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event has started.\n * @permissionScope Manage_Wix_Rentals_App_Forms_submissions\n * @permissionScopeId SCOPE.RENTALS.MANAGE\n * @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope View settlement reports and payouts\n * @permissionScopeId SCOPE.PAYMENTS.PAYOUTS-VIEW-FOR-SITE\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 Online Programs\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage Social Posts\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SOCIAL-POSTS\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope View Site Analytics\n * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-GOOGLE-ADS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionScope View google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.VIEW-GOOGLE-ADS\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @webhook\n * @eventType wix.events.v3.event_started\n * @slug started\n */\nexport declare function onEventStarted(\n handler: (event: EventStartedEnvelope) => void | Promise<void>\n): void;\n\nexport interface EventUpdatedEnvelope {\n entity: Event;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event is updated.\n * @permissionScope Manage_Wix_Rentals_App_Forms_submissions\n * @permissionScopeId SCOPE.RENTALS.MANAGE\n * @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope View settlement reports and payouts\n * @permissionScopeId SCOPE.PAYMENTS.PAYOUTS-VIEW-FOR-SITE\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 Online Programs\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage Social Posts\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SOCIAL-POSTS\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope View Site Analytics\n * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-GOOGLE-ADS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionScope View google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.VIEW-GOOGLE-ADS\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @webhook\n * @eventType wix.events.v3.event_updated\n * @slug updated\n */\nexport declare function onEventUpdated(\n handler: (event: EventUpdatedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * Creates an event. <br> <br>\n * The event includes a default registration form in the selected language, which consists of input fields for first name, last name, and email. See the [Registration Form API](https://dev.wix.com/docs/rest/business-solutions/events/form/about-the-registration-form-api) for more information. <br> <br>\n * You can create the event as a draft by setting `draft` to `true`. Otherwise, the event is published right away. <br> <br>\n * To create a recurring event, set `individualEventDates` in the `dateAndTimeSettings.recurringEvents` object. <br> <br>\n * The event is automatically set up to send daily summary reports of new guests to your business email.\n * @param event - Event data.\n * @public\n * @requiredField event\n * @requiredField event.dateAndTimeSettings\n * @requiredField event.location\n * @requiredField event.registration.initialType\n * @requiredField event.title\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.MANAGE_EVENTS\n * @applicableIdentity APP\n * @returns Created event.\n * @fqn wix.events.events.v3.EventManagement.CreateEvent\n */\nexport async function createEvent(\n event: NonNullablePaths<\n Event,\n `dateAndTimeSettings` | `location` | `registration.initialType` | `title`,\n 3\n >,\n options?: CreateEventOptions\n): Promise<\n NonNullablePaths<\n Event,\n | `_id`\n | `location.type`\n | `location.address.streetAddress.number`\n | `location.address.streetAddress.name`\n | `dateAndTimeSettings.recurrenceStatus`\n | `dateAndTimeSettings.recurringEvents.individualEventDates`\n | `dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `slug`\n | `status`\n | `registration.type`\n | `registration.status`\n | `registration.rsvp.responseType`\n | `registration.rsvp.waitlistEnabled`\n | `registration.tickets.guestsAssignedSeparately`\n | `registration.tickets.ticketLimitPerOrder`\n | `registration.tickets.lowestPrice.value`\n | `registration.tickets.lowestPrice.currency`\n | `registration.tickets.taxSettings.type`\n | `registration.allowedGuestTypes`\n | `registration.initialType`\n | `registration.registrationPaused`\n | `registration.registrationDisabled`\n | `calendarUrls.google`\n | `calendarUrls.ics`\n | `form.controls`\n | `form.controls.${number}.type`\n | `form.controls.${number}.system`\n | `form.controls.${number}.name`\n | `form.controls.${number}.label`\n | `form.controls.${number}.orderIndex`\n | `form.controls.${number}._id`\n | `form.messages.rsvp.rsvpYesOption`\n | `form.messages.rsvp.rsvpNoOption`\n | `form.messages.rsvp.positiveMessages.title`\n | `form.messages.rsvp.positiveMessages.confirmation.title`\n | `form.messages.rsvp.positiveMessages.confirmation.message`\n | `form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.negativeMessages.title`\n | `form.messages.rsvp.negativeMessages.confirmation.title`\n | `form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.submitActionLabel`\n | `form.messages.checkout.title`\n | `form.messages.checkout.submitActionLabel`\n | `form.messages.checkout.confirmation.title`\n | `form.messages.checkout.confirmation.message`\n | `form.messages.checkout.confirmation.downloadTicketsLabel`\n | `form.messages.checkout.confirmation.addToCalendarLabel`\n | `form.messages.checkout.confirmation.shareEventLabel`\n | `form.messages.registrationClosed.message`\n | `form.messages.registrationClosed.exploreEventsActionLabel`\n | `form.messages.ticketsUnavailable.message`\n | `form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `summaries.rsvps.totalCount`\n | `summaries.rsvps.yesCount`\n | `summaries.rsvps.noCount`\n | `summaries.rsvps.waitlistCount`\n | `summaries.tickets.ticketsSold`\n | `summaries.tickets.revenue.amount`\n | `summaries.tickets.revenue.currency`\n | `summaries.tickets.currencyLocked`\n | `summaries.tickets.totalOrders`\n | `summaries.cancellation.actorType`\n | `summaries.cancellation.actorName`\n | `summaries.cancellation.actorEmail`\n | `instanceId`\n | `guestListSettings.displayedPublicly`\n | `userId`\n | `onlineConferencing.enabled`\n | `onlineConferencing.type`\n | `onlineConferencing.session.hostLink`\n | `onlineConferencing.session.guestLink`\n | `seoSettings.slug`\n | `seoSettings.advancedSeoData.tags`\n | `seoSettings.advancedSeoData.tags.${number}.type`\n | `seoSettings.advancedSeoData.tags.${number}.children`\n | `seoSettings.advancedSeoData.tags.${number}.custom`\n | `seoSettings.advancedSeoData.tags.${number}.disabled`\n | `seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `seoSettings.advancedSeoData.settings.keywords`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `agendaSettings.enabled`,\n 7\n > & {\n __applicationErrorsType?: CreateEventApplicationErrors;\n __validationErrorsType?: CreateEventValidationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest(\n { event: event, draft: options?.draft, fields: options?.fields },\n ['event.description']\n ),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformSDKPageURLToRESTPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformSDKAddressToRESTAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]\n );\n\n const reqOpts = ambassadorWixEventsV3Event.createEvent(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]),\n ['event.description']\n )?.event!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n event: '$[0]',\n draft: '$[1].draft',\n fields: '$[1].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['event', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CreateEventOptions {\n /** Whether to create the event as a draft. */\n draft?: boolean;\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Clones an event, including the registration form, notifications, multilingual translations and ticket configuration from the original event. <br> <br>\n * The new event's date is automatically set to 14 days from the original event date. <br> <br>\n * If an event with the same `title` already exists, the new event's `title` gets a sequence number. For example, if you clone an event named `\"Leather Crafting 101\"`, the new event's title is `\"Leather Crafting 101 (1)\"`. <br> <br>\n * You can change the required entity field values while cloning an event.\n * @param eventId - Event ID.\n * @public\n * @requiredField eventId\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.MANAGE_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.CloneEvent\n */\nexport async function cloneEvent(\n eventId: string,\n options?: CloneEventOptions\n): Promise<\n NonNullablePaths<\n CloneEventResponse,\n | `event._id`\n | `event.location.type`\n | `event.location.address.streetAddress.number`\n | `event.location.address.streetAddress.name`\n | `event.dateAndTimeSettings.recurrenceStatus`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `event.slug`\n | `event.status`\n | `event.registration.type`\n | `event.registration.status`\n | `event.registration.rsvp.responseType`\n | `event.registration.rsvp.waitlistEnabled`\n | `event.registration.tickets.guestsAssignedSeparately`\n | `event.registration.tickets.ticketLimitPerOrder`\n | `event.registration.tickets.lowestPrice.value`\n | `event.registration.tickets.lowestPrice.currency`\n | `event.registration.tickets.taxSettings.type`\n | `event.registration.allowedGuestTypes`\n | `event.registration.initialType`\n | `event.registration.registrationPaused`\n | `event.registration.registrationDisabled`\n | `event.calendarUrls.google`\n | `event.calendarUrls.ics`\n | `event.form.controls`\n | `event.form.controls.${number}.type`\n | `event.form.controls.${number}.system`\n | `event.form.controls.${number}.name`\n | `event.form.controls.${number}.label`\n | `event.form.controls.${number}.orderIndex`\n | `event.form.controls.${number}._id`\n | `event.form.messages.rsvp.rsvpYesOption`\n | `event.form.messages.rsvp.rsvpNoOption`\n | `event.form.messages.rsvp.positiveMessages.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.message`\n | `event.form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `event.form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.negativeMessages.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.submitActionLabel`\n | `event.form.messages.checkout.title`\n | `event.form.messages.checkout.submitActionLabel`\n | `event.form.messages.checkout.confirmation.title`\n | `event.form.messages.checkout.confirmation.message`\n | `event.form.messages.checkout.confirmation.downloadTicketsLabel`\n | `event.form.messages.checkout.confirmation.addToCalendarLabel`\n | `event.form.messages.checkout.confirmation.shareEventLabel`\n | `event.form.messages.registrationClosed.message`\n | `event.form.messages.registrationClosed.exploreEventsActionLabel`\n | `event.form.messages.ticketsUnavailable.message`\n | `event.form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `event.summaries.rsvps.totalCount`\n | `event.summaries.rsvps.yesCount`\n | `event.summaries.rsvps.noCount`\n | `event.summaries.rsvps.waitlistCount`\n | `event.summaries.tickets.ticketsSold`\n | `event.summaries.tickets.revenue.amount`\n | `event.summaries.tickets.revenue.currency`\n | `event.summaries.tickets.currencyLocked`\n | `event.summaries.tickets.totalOrders`\n | `event.summaries.cancellation.actorType`\n | `event.summaries.cancellation.actorName`\n | `event.summaries.cancellation.actorEmail`\n | `event.instanceId`\n | `event.guestListSettings.displayedPublicly`\n | `event.userId`\n | `event.onlineConferencing.enabled`\n | `event.onlineConferencing.type`\n | `event.onlineConferencing.session.hostLink`\n | `event.onlineConferencing.session.guestLink`\n | `event.seoSettings.slug`\n | `event.seoSettings.advancedSeoData.tags`\n | `event.seoSettings.advancedSeoData.tags.${number}.type`\n | `event.seoSettings.advancedSeoData.tags.${number}.children`\n | `event.seoSettings.advancedSeoData.tags.${number}.custom`\n | `event.seoSettings.advancedSeoData.tags.${number}.disabled`\n | `event.seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `event.seoSettings.advancedSeoData.settings.keywords`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `event.agendaSettings.enabled`,\n 8\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest(\n {\n eventId: eventId,\n event: options?.event,\n draft: options?.draft,\n fields: options?.fields,\n },\n ['event.description']\n ),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformSDKPageURLToRESTPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformSDKAddressToRESTAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]\n );\n\n const reqOpts = ambassadorWixEventsV3Event.cloneEvent(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]),\n ['event.description']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n eventId: '$[0]',\n event: '$[1].event',\n draft: '$[1].draft',\n fields: '$[1].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['eventId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CloneEventOptions {\n /** Event info to change in the cloned event. */\n event?: Event;\n /** Whether to clone the event as a draft. */\n draft?: boolean;\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Updates an event.\n * @param _id - Event ID.\n * @public\n * @requiredField _id\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.MANAGE_EVENTS\n * @applicableIdentity APP\n * @returns Updated event.\n * @fqn wix.events.events.v3.EventManagement.UpdateEvent\n */\nexport async function updateEvent(\n _id: string,\n options?: UpdateEventOptions\n): Promise<\n NonNullablePaths<\n Event,\n | `_id`\n | `location.type`\n | `location.address.streetAddress.number`\n | `location.address.streetAddress.name`\n | `dateAndTimeSettings.recurrenceStatus`\n | `dateAndTimeSettings.recurringEvents.individualEventDates`\n | `dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `slug`\n | `status`\n | `registration.type`\n | `registration.status`\n | `registration.rsvp.responseType`\n | `registration.rsvp.waitlistEnabled`\n | `registration.tickets.guestsAssignedSeparately`\n | `registration.tickets.ticketLimitPerOrder`\n | `registration.tickets.lowestPrice.value`\n | `registration.tickets.lowestPrice.currency`\n | `registration.tickets.taxSettings.type`\n | `registration.allowedGuestTypes`\n | `registration.initialType`\n | `registration.registrationPaused`\n | `registration.registrationDisabled`\n | `calendarUrls.google`\n | `calendarUrls.ics`\n | `form.controls`\n | `form.controls.${number}.type`\n | `form.controls.${number}.system`\n | `form.controls.${number}.name`\n | `form.controls.${number}.label`\n | `form.controls.${number}.orderIndex`\n | `form.controls.${number}._id`\n | `form.messages.rsvp.rsvpYesOption`\n | `form.messages.rsvp.rsvpNoOption`\n | `form.messages.rsvp.positiveMessages.title`\n | `form.messages.rsvp.positiveMessages.confirmation.title`\n | `form.messages.rsvp.positiveMessages.confirmation.message`\n | `form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.negativeMessages.title`\n | `form.messages.rsvp.negativeMessages.confirmation.title`\n | `form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.submitActionLabel`\n | `form.messages.checkout.title`\n | `form.messages.checkout.submitActionLabel`\n | `form.messages.checkout.confirmation.title`\n | `form.messages.checkout.confirmation.message`\n | `form.messages.checkout.confirmation.downloadTicketsLabel`\n | `form.messages.checkout.confirmation.addToCalendarLabel`\n | `form.messages.checkout.confirmation.shareEventLabel`\n | `form.messages.registrationClosed.message`\n | `form.messages.registrationClosed.exploreEventsActionLabel`\n | `form.messages.ticketsUnavailable.message`\n | `form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `summaries.rsvps.totalCount`\n | `summaries.rsvps.yesCount`\n | `summaries.rsvps.noCount`\n | `summaries.rsvps.waitlistCount`\n | `summaries.tickets.ticketsSold`\n | `summaries.tickets.revenue.amount`\n | `summaries.tickets.revenue.currency`\n | `summaries.tickets.currencyLocked`\n | `summaries.tickets.totalOrders`\n | `summaries.cancellation.actorType`\n | `summaries.cancellation.actorName`\n | `summaries.cancellation.actorEmail`\n | `instanceId`\n | `guestListSettings.displayedPublicly`\n | `userId`\n | `onlineConferencing.enabled`\n | `onlineConferencing.type`\n | `onlineConferencing.session.hostLink`\n | `onlineConferencing.session.guestLink`\n | `seoSettings.slug`\n | `seoSettings.advancedSeoData.tags`\n | `seoSettings.advancedSeoData.tags.${number}.type`\n | `seoSettings.advancedSeoData.tags.${number}.children`\n | `seoSettings.advancedSeoData.tags.${number}.custom`\n | `seoSettings.advancedSeoData.tags.${number}.disabled`\n | `seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `seoSettings.advancedSeoData.settings.keywords`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `agendaSettings.enabled`,\n 7\n > & {\n __applicationErrorsType?: UpdateEventApplicationErrors;\n __validationErrorsType?: UpdateEventValidationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest(\n { event: { ...options?.event, id: _id }, fields: options?.fields },\n ['event.description']\n ),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformSDKPageURLToRESTPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformSDKAddressToRESTAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]\n );\n\n const reqOpts = ambassadorWixEventsV3Event.updateEvent(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]),\n ['event.description']\n )?.event!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: { event: '$[1].event' },\n explicitPathsToArguments: { 'event.id': '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['_id', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdateEventOptions {\n event?: {\n /**\n * Event ID.\n * @format GUID\n * @readonly\n */\n _id?: string;\n /** Event location. */\n location?: Location;\n /** Event date and time settings. */\n dateAndTimeSettings?: DateAndTimeSettings;\n /**\n * Event title.\n * @minLength 1\n * @maxLength 120\n */\n title?: string | null;\n /**\n * Short description that appears under the event title.\n * **Note:** This field is returned only when the `DETAILS` fieldset is included in the request.\n * @maxLength 500\n */\n shortDescription?: string | null;\n /**\n * Detailed description of an event.\n *\n * This field is deprecated.\n * @maxLength 50000\n * @deprecated Detailed description of an event.\n *\n * This field is deprecated.\n * @replacedBy description\n * @targetRemovalDate 2025-04-15\n */\n detailedDescription?: string | null;\n /**\n * Main event image. <br>\n * **Note:** This field is returned only when the `DETAILS` fieldset is included in the request.\n */\n mainImage?: string;\n /**\n * Unique identifier of the event page. The naming is the same as the event title written in kebab case. For example, if your event title is \"Leather Crafting 101\", then the slug is \"leather-crafting-101\".\n * @readonly\n */\n slug?: string;\n /**\n * Date and time when the event was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time when the event was updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Event status.\n * @readonly\n */\n status?: StatusWithLiterals;\n /**\n * RSVP or ticketing registration details. <br>\n * **Note:** This field is returned only when the `REGISTRATION` fieldset is included in the request.\n */\n registration?: Registration;\n /**\n * URLs that allow you to add an event to the Google calendar, or to download an [ICS calendar](https://icscalendar.com/) file. <br>\n * **Note:** This field is returned only when the `DETAILS` fieldset is included in the request.\n * @readonly\n */\n calendarUrls?: CalendarUrls;\n /**\n * Event page URL components. <br>\n * **Note:** This field is returned only when the `URLS` fieldset is included in the request.\n */\n eventPageUrl?: string;\n /**\n * Event registration form. <br>\n * **Note:** This field is returned only when the `FORM` fieldset is included in the request.\n */\n form?: Form;\n /**\n * Summary of RSVP or ticket sales. <br>\n * **Note:** This field is returned only when the `DASHBOARD` fieldset is included in the request and you have the \"WIX_EVENTS.READ_EVENT_DASHBOARD\" permissions.\n */\n summaries?: Summaries;\n /**\n * Instance ID of the site where the event is hosted.\n * @readonly\n */\n instanceId?: string;\n /** Guest list configuration. */\n guestListSettings?: GuestListSettings;\n /**\n * ID of the user who created the event.\n * @readonly\n * @format GUID\n */\n userId?: string;\n /**\n * Event discussion feed. For internal use.\n * @internal\n */\n feed?: Feed;\n /**\n * Online conferencing details. <br>\n * **Note:** This field is returned only when the `ONLINE_CONFERENCING_SESSION` fieldset is included in the request and you have the \"WIX_EVENTS.READ_ONLINE_CONFERENCING\" permissions.\n */\n onlineConferencing?: OnlineConferencing;\n /**\n * SEO settings. <br>\n * **Note:** This field is returned only when the `SEO_SETTINGS` fieldset is included in the request.\n */\n seoSettings?: SeoSettings;\n /**\n * Legacy contacts label key. <br>\n * **Note:** Populated only on events created before the migration to Contacts V5; new events aren't assigned a contacts label.\n * @readonly\n */\n contactLabel?: string | null;\n /**\n * Event schedule details. <br>\n * **Note:** This field is returned only when the `AGENDA` fieldset is included in the request.\n */\n agendaSettings?: AgendaSettings;\n /**\n * Event categories.\n * @internal\n */\n categories?: EventCategories;\n /** Visual settings for event. */\n eventDisplaySettings?: EventDisplaySettings;\n /**\n * True if ticket can be customised\n * @internal\n */\n customizableTickets?: boolean | null;\n /**\n * Labelling related data.\n * @internal\n */\n labellingSettings?: LabellingSettings;\n /** Event description. <widget src=\"https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component\" plugins=\"emoji,audio,codeBlock,collapsibleList,divider,emoji,file,gallery,giphy,hashtag,heading,html,image,indent,lineSpacing,link,linkPreview,spoiler,video\" exampleid=\"9b569a8d-0fc1-40f4-987f-8bd40ecc72d0\">Fallback Message for SSR and Error</widget> */\n description?: RichContent;\n /**\n * Event publish timestamp.\n * @readonly\n */\n publishedDate?: Date | null;\n /**\n * Event badges.\n * @internal\n */\n badges?: BadgeList;\n };\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Publishes a draft event to your live site. Once published, the event's status changes from `\"DRAFT\"` to `\"UPCOMING\"`. <br> <br>\n * It's impossible to revert the `\"DRAFT\"` status after publishing. The only option is to clone the event, then delete the original.\n * @param eventId - Event ID.\n * @public\n * @requiredField eventId\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.MANAGE_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.PublishDraftEvent\n */\nexport async function publishDraftEvent(\n eventId: string,\n options?: PublishDraftEventOptions\n): Promise<\n NonNullablePaths<\n PublishDraftEventResponse,\n | `event._id`\n | `event.location.type`\n | `event.location.address.streetAddress.number`\n | `event.location.address.streetAddress.name`\n | `event.dateAndTimeSettings.recurrenceStatus`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `event.slug`\n | `event.status`\n | `event.registration.type`\n | `event.registration.status`\n | `event.registration.rsvp.responseType`\n | `event.registration.rsvp.waitlistEnabled`\n | `event.registration.tickets.guestsAssignedSeparately`\n | `event.registration.tickets.ticketLimitPerOrder`\n | `event.registration.tickets.lowestPrice.value`\n | `event.registration.tickets.lowestPrice.currency`\n | `event.registration.tickets.taxSettings.type`\n | `event.registration.allowedGuestTypes`\n | `event.registration.initialType`\n | `event.registration.registrationPaused`\n | `event.registration.registrationDisabled`\n | `event.calendarUrls.google`\n | `event.calendarUrls.ics`\n | `event.form.controls`\n | `event.form.controls.${number}.type`\n | `event.form.controls.${number}.system`\n | `event.form.controls.${number}.name`\n | `event.form.controls.${number}.label`\n | `event.form.controls.${number}.orderIndex`\n | `event.form.controls.${number}._id`\n | `event.form.messages.rsvp.rsvpYesOption`\n | `event.form.messages.rsvp.rsvpNoOption`\n | `event.form.messages.rsvp.positiveMessages.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.message`\n | `event.form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `event.form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.negativeMessages.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.submitActionLabel`\n | `event.form.messages.checkout.title`\n | `event.form.messages.checkout.submitActionLabel`\n | `event.form.messages.checkout.confirmation.title`\n | `event.form.messages.checkout.confirmation.message`\n | `event.form.messages.checkout.confirmation.downloadTicketsLabel`\n | `event.form.messages.checkout.confirmation.addToCalendarLabel`\n | `event.form.messages.checkout.confirmation.shareEventLabel`\n | `event.form.messages.registrationClosed.message`\n | `event.form.messages.registrationClosed.exploreEventsActionLabel`\n | `event.form.messages.ticketsUnavailable.message`\n | `event.form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `event.summaries.rsvps.totalCount`\n | `event.summaries.rsvps.yesCount`\n | `event.summaries.rsvps.noCount`\n | `event.summaries.rsvps.waitlistCount`\n | `event.summaries.tickets.ticketsSold`\n | `event.summaries.tickets.revenue.amount`\n | `event.summaries.tickets.revenue.currency`\n | `event.summaries.tickets.currencyLocked`\n | `event.summaries.tickets.totalOrders`\n | `event.summaries.cancellation.actorType`\n | `event.summaries.cancellation.actorName`\n | `event.summaries.cancellation.actorEmail`\n | `event.instanceId`\n | `event.guestListSettings.displayedPublicly`\n | `event.userId`\n | `event.onlineConferencing.enabled`\n | `event.onlineConferencing.type`\n | `event.onlineConferencing.session.hostLink`\n | `event.onlineConferencing.session.guestLink`\n | `event.seoSettings.slug`\n | `event.seoSettings.advancedSeoData.tags`\n | `event.seoSettings.advancedSeoData.tags.${number}.type`\n | `event.seoSettings.advancedSeoData.tags.${number}.children`\n | `event.seoSettings.advancedSeoData.tags.${number}.custom`\n | `event.seoSettings.advancedSeoData.tags.${number}.disabled`\n | `event.seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `event.seoSettings.advancedSeoData.settings.keywords`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `event.agendaSettings.enabled`,\n 8\n > & {\n __applicationErrorsType?: PublishDraftEventApplicationErrors;\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 { eventId: eventId, fields: options?.fields },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.publishDraftEvent(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]),\n ['event.description']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { eventId: '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['eventId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface PublishDraftEventOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Cancels an event. <br> <br>\n * After cancellation, registration for an event is closed. To reuse the event, call Clone Event and Publish Event to publish it again. <br> <br>\n * If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.\n * @param eventId - Event ID.\n * @public\n * @requiredField eventId\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.MANAGE_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.CancelEvent\n */\nexport async function cancelEvent(\n eventId: string,\n options?: CancelEventOptions\n): Promise<\n NonNullablePaths<\n CancelEventResponse,\n | `event._id`\n | `event.location.type`\n | `event.location.address.streetAddress.number`\n | `event.location.address.streetAddress.name`\n | `event.dateAndTimeSettings.recurrenceStatus`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `event.slug`\n | `event.status`\n | `event.registration.type`\n | `event.registration.status`\n | `event.registration.rsvp.responseType`\n | `event.registration.rsvp.waitlistEnabled`\n | `event.registration.tickets.guestsAssignedSeparately`\n | `event.registration.tickets.ticketLimitPerOrder`\n | `event.registration.tickets.lowestPrice.value`\n | `event.registration.tickets.lowestPrice.currency`\n | `event.registration.tickets.taxSettings.type`\n | `event.registration.allowedGuestTypes`\n | `event.registration.initialType`\n | `event.registration.registrationPaused`\n | `event.registration.registrationDisabled`\n | `event.calendarUrls.google`\n | `event.calendarUrls.ics`\n | `event.form.controls`\n | `event.form.controls.${number}.type`\n | `event.form.controls.${number}.system`\n | `event.form.controls.${number}.name`\n | `event.form.controls.${number}.label`\n | `event.form.controls.${number}.orderIndex`\n | `event.form.controls.${number}._id`\n | `event.form.messages.rsvp.rsvpYesOption`\n | `event.form.messages.rsvp.rsvpNoOption`\n | `event.form.messages.rsvp.positiveMessages.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.message`\n | `event.form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `event.form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.negativeMessages.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.submitActionLabel`\n | `event.form.messages.checkout.title`\n | `event.form.messages.checkout.submitActionLabel`\n | `event.form.messages.checkout.confirmation.title`\n | `event.form.messages.checkout.confirmation.message`\n | `event.form.messages.checkout.confirmation.downloadTicketsLabel`\n | `event.form.messages.checkout.confirmation.addToCalendarLabel`\n | `event.form.messages.checkout.confirmation.shareEventLabel`\n | `event.form.messages.registrationClosed.message`\n | `event.form.messages.registrationClosed.exploreEventsActionLabel`\n | `event.form.messages.ticketsUnavailable.message`\n | `event.form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `event.summaries.rsvps.totalCount`\n | `event.summaries.rsvps.yesCount`\n | `event.summaries.rsvps.noCount`\n | `event.summaries.rsvps.waitlistCount`\n | `event.summaries.tickets.ticketsSold`\n | `event.summaries.tickets.revenue.amount`\n | `event.summaries.tickets.revenue.currency`\n | `event.summaries.tickets.currencyLocked`\n | `event.summaries.tickets.totalOrders`\n | `event.summaries.cancellation.actorType`\n | `event.summaries.cancellation.actorName`\n | `event.summaries.cancellation.actorEmail`\n | `event.instanceId`\n | `event.guestListSettings.displayedPublicly`\n | `event.userId`\n | `event.onlineConferencing.enabled`\n | `event.onlineConferencing.type`\n | `event.onlineConferencing.session.hostLink`\n | `event.onlineConferencing.session.guestLink`\n | `event.seoSettings.slug`\n | `event.seoSettings.advancedSeoData.tags`\n | `event.seoSettings.advancedSeoData.tags.${number}.type`\n | `event.seoSettings.advancedSeoData.tags.${number}.children`\n | `event.seoSettings.advancedSeoData.tags.${number}.custom`\n | `event.seoSettings.advancedSeoData.tags.${number}.disabled`\n | `event.seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `event.seoSettings.advancedSeoData.settings.keywords`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `event.agendaSettings.enabled`,\n 8\n > & {\n __applicationErrorsType?: CancelEventApplicationErrors;\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 { eventId: eventId, fields: options?.fields },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.cancelEvent(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]),\n ['event.description']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { eventId: '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['eventId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CancelEventOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Cancels multiple events that meet the specified criteria. <br> <br>\n * After cancellation, registration for an event is closed. To reuse the event, call Clone Event and Publish Event to publish it again. <br> <br>\n * If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.\n * @public\n * @requiredField options.filter.filter\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.MANAGE_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.BulkCancelEventsByFilter\n */\nexport async function bulkCancelEventsByFilter(\n options?: NonNullablePaths<\n BulkCancelEventsByFilterOptions,\n `filter.filter`,\n 3\n >\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 { filter: options?.filter },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.bulkCancelEventsByFilter(payload);\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: { filter: '$[0].filter' },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkCancelEventsByFilterOptions {\n /** Filter.For supported filters, see the table in [Query Events](https://dev.wix.com/docs/sdk/backend-modules/events/wix-events-v2/query-events). */\n filter?: CommonQueryV2;\n}\n\n/**\n * Deletes an event. <br> <br>\n * You can retrieve the deleted event through a GDPR access request.\n * @param eventId - Event ID.\n * @public\n * @requiredField eventId\n * @permissionId WIX_EVENTS.MANAGE_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.DeleteEvent\n */\nexport async function deleteEvent(\n eventId: string\n): Promise<NonNullablePaths<DeleteEventResponse, `eventId`, 2>> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n { eventId: eventId },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.deleteEvent(payload);\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: { eventId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['eventId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Deletes multiple events that meet the specified criteria. <br> <br>\n * You can retrieve the deleted events through a GDPR access request.\n * @public\n * @requiredField options.filter.filter\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.MANAGE_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.BulkDeleteEventsByFilter\n */\nexport async function bulkDeleteEventsByFilter(\n options?: NonNullablePaths<\n BulkDeleteEventsByFilterOptions,\n `filter.filter`,\n 3\n >\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 { filter: options?.filter },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.bulkDeleteEventsByFilter(payload);\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: { filter: '$[0].filter' },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkDeleteEventsByFilterOptions {\n /** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */\n filter?: CommonQueryV2;\n}\n\n/**\n * Creates a query to retrieve a list of events.\n *\n *\n * The `queryEvents()` method builds a query to retrieve a list of events and returns a [`EventsQueryBuilder`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder) object.\n *\n * The returned object contains the query definition, which is typically used to run the query using the [`find()`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/find) method.\n *\n * You can refine the query by chaining `EventsQueryBuilder` methods onto the query. `EventsQueryBuilder` methods enable you to sort, filter, and control the results `queryEvents()` returns.\n *\n * `queryEvents()` runs with these `EventsQueryBuilder` defaults, which you can override:\n *\n * - [`skip(0)`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/skip)\n * - [`limit(50)`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/limit)\n * - [`descending(\"_createdDate\")`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/descending)\n *\n * The methods that are chained to `queryEvents()` are applied in the order they're called. For example, if you apply `ascending('title')` and then `descending('status')`, the results are sorted first by the `title`, and then, if there are multiple results with the same `title`, the items are sorted by `status`.\n * @public\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.QueryEvents\n */\nexport function queryEvents(options?: QueryEventsOptions): EventsQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<Event, 'OFFSET', QueryEventsRequest, QueryEventsResponse>(\n {\n func: async (payload: QueryEventsRequest) => {\n const reqOpts = ambassadorWixEventsV3Event.queryEvents({\n ...payload,\n ...(options ?? {}),\n });\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n return result;\n } catch (err) {\n sideEffects?.onError?.(err);\n throw err;\n }\n },\n requestTransformer: (query: QueryEventsRequest['query']) => {\n const args = [query, options] as [\n QueryEventsRequest['query'],\n QueryEventsOptions\n ];\n return renameKeysFromSDKRequestToRESTRequest(\n { ...args?.[1], query: args?.[0] },\n []\n );\n },\n responseTransformer: ({ data }: HttpResponse<QueryEventsResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'events.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'events.eventPageUrl' },\n { path: 'events.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'events.location.address' }],\n },\n ]),\n ['events.description']\n );\n\n return {\n items: transformedData?.events,\n pagingMetadata: transformedData?.pagingMetadata,\n };\n },\n errorTransformer: (err: unknown) => {\n const transformedError = sdkTransformError(err, {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n });\n\n throw transformedError;\n },\n pagingMethod: 'OFFSET',\n transformationPaths: {},\n }\n );\n}\n\nexport interface QueryEventsOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[] | undefined;\n /**\n * Whether draft events should be returned in the response. <br>\n * **Note:** This parameter requires the `WIX_EVENTS.READ_DRAFT_EVENTS` permission.\n */\n includeDrafts?: boolean | undefined;\n}\n\ninterface QueryOffsetResult {\n currentPage: number | undefined;\n totalPages: number | undefined;\n totalCount: number | undefined;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface EventsQueryResult extends QueryOffsetResult {\n items: Event[];\n query: EventsQueryBuilder;\n next: () => Promise<EventsQueryResult>;\n prev: () => Promise<EventsQueryResult>;\n}\n\nexport interface EventsQueryBuilder {\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n eq: (\n propertyName:\n | '_id'\n | 'dateAndTimeSettings.startDate'\n | 'dateAndTimeSettings.endDate'\n | 'title'\n | 'slug'\n | '_createdDate'\n | '_updatedDate'\n | 'status'\n | 'registration.initialType'\n | 'userId',\n value: any\n ) => EventsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n ne: (\n propertyName:\n | '_id'\n | 'dateAndTimeSettings.startDate'\n | 'dateAndTimeSettings.endDate'\n | 'title'\n | 'slug'\n | '_createdDate'\n | '_updatedDate'\n | 'status'\n | 'userId',\n value: any\n ) => EventsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n ge: (\n propertyName:\n | '_id'\n | 'dateAndTimeSettings.startDate'\n | 'dateAndTimeSettings.endDate'\n | 'title'\n | 'slug'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => EventsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n gt: (\n propertyName:\n | '_id'\n | 'dateAndTimeSettings.startDate'\n | 'dateAndTimeSettings.endDate'\n | 'title'\n | 'slug'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => EventsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n le: (\n propertyName:\n | '_id'\n | 'dateAndTimeSettings.startDate'\n | 'dateAndTimeSettings.endDate'\n | 'title'\n | 'slug'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => EventsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n lt: (\n propertyName:\n | '_id'\n | 'dateAndTimeSettings.startDate'\n | 'dateAndTimeSettings.endDate'\n | 'title'\n | 'slug'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => EventsQueryBuilder;\n in: (\n propertyName:\n | '_id'\n | 'dateAndTimeSettings.startDate'\n | 'dateAndTimeSettings.endDate'\n | 'title'\n | 'slug'\n | '_createdDate'\n | '_updatedDate'\n | 'status'\n | 'userId',\n value: any\n ) => EventsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */\n ascending: (\n ...propertyNames: Array<\n | '_id'\n | 'dateAndTimeSettings.startDate'\n | 'dateAndTimeSettings.endDate'\n | 'title'\n | 'slug'\n | '_createdDate'\n | '_updatedDate'\n >\n ) => EventsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */\n descending: (\n ...propertyNames: Array<\n | '_id'\n | 'dateAndTimeSettings.startDate'\n | 'dateAndTimeSettings.endDate'\n | 'title'\n | 'slug'\n | '_createdDate'\n | '_updatedDate'\n >\n ) => EventsQueryBuilder;\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object. */\n limit: (limit: number) => EventsQueryBuilder;\n /** @param skip - Number of items to skip in the query results before returning the results. */\n skip: (skip: number) => EventsQueryBuilder;\n find: () => Promise<EventsQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn wix.events.events.v3.EventManagement.QueryEvents\n * @requiredField query\n */\nexport async function typedQueryEvents(\n query: EventQuery,\n options?: QueryEventsOptions\n): Promise<\n NonNullablePaths<\n QueryEventsResponse,\n | `events`\n | `events.${number}._id`\n | `events.${number}.location.type`\n | `events.${number}.dateAndTimeSettings.recurrenceStatus`\n | `events.${number}.slug`\n | `events.${number}.status`\n | `events.${number}.registration.type`\n | `events.${number}.registration.status`\n | `events.${number}.registration.rsvp.responseType`\n | `events.${number}.registration.rsvp.waitlistEnabled`\n | `events.${number}.registration.tickets.guestsAssignedSeparately`\n | `events.${number}.registration.tickets.ticketLimitPerOrder`\n | `events.${number}.registration.allowedGuestTypes`\n | `events.${number}.registration.initialType`\n | `events.${number}.registration.registrationPaused`\n | `events.${number}.registration.registrationDisabled`\n | `events.${number}.calendarUrls.google`\n | `events.${number}.calendarUrls.ics`\n | `events.${number}.summaries.rsvps.totalCount`\n | `events.${number}.summaries.rsvps.yesCount`\n | `events.${number}.summaries.rsvps.noCount`\n | `events.${number}.summaries.rsvps.waitlistCount`\n | `events.${number}.summaries.tickets.ticketsSold`\n | `events.${number}.summaries.tickets.currencyLocked`\n | `events.${number}.summaries.tickets.totalOrders`\n | `events.${number}.summaries.cancellation.actorType`\n | `events.${number}.summaries.cancellation.actorName`\n | `events.${number}.summaries.cancellation.actorEmail`\n | `events.${number}.instanceId`\n | `events.${number}.guestListSettings.displayedPublicly`\n | `events.${number}.userId`\n | `events.${number}.onlineConferencing.enabled`\n | `events.${number}.onlineConferencing.type`\n | `events.${number}.onlineConferencing.session.hostLink`\n | `events.${number}.onlineConferencing.session.guestLink`\n | `events.${number}.seoSettings.slug`\n | `events.${number}.agendaSettings.enabled`,\n 6\n > & {\n __applicationErrorsType?: QueryEventsApplicationErrors;\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 { query: query, ...options },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.queryEvents(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'events.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'events.eventPageUrl' },\n { path: 'events.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'events.location.address' }],\n },\n ]),\n ['events.description']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['query', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface EventQuerySpec extends QuerySpec {\n paging: 'offset';\n wql: [\n {\n fields: ['registration.initialType'];\n operators: ['$eq'];\n sort: 'NONE';\n },\n {\n fields: [\n '_createdDate',\n '_updatedDate',\n 'dateAndTimeSettings.endDate',\n 'dateAndTimeSettings.startDate',\n 'slug',\n 'title'\n ];\n operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];\n sort: 'BOTH';\n },\n {\n fields: ['_id'];\n operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];\n sort: 'BOTH';\n },\n {\n fields: ['status', 'userId'];\n operators: ['$eq', '$in', '$ne'];\n sort: 'NONE';\n }\n ];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<Event, EventQuerySpec>;\nexport type EventQuery = {\n /** \n Paging options. Can't be used together with `cursorPaging`. \n */\n paging?: {\n /** \n Number of items to return. See [Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging#getting-started_sorting-and-paging_paging) for more information. \n @max: 1000 \n */\n limit?: NonNullable<CommonQueryWithEntityContext['paging']>['limit'] | null;\n /** \n Number of items to skip in the current sort order. \n */\n offset?:\n | NonNullable<CommonQueryWithEntityContext['paging']>['offset']\n | null;\n };\n /** \n Filter object in the following format:\n `\"filter\" : {\n \"fieldName1\": \"value1\",\n \"fieldName2\":{\"$operator\":\"value2\"}\n }` \n */\n filter?: CommonQueryWithEntityContext['filter'] | null;\n /** \n Sort object in the following format:\n `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]` \n @maxSize: 20 \n */\n sort?: {\n /** \n Name of the field to sort by. \n @maxLength: 100 \n */\n fieldName?: NonNullable<\n CommonQueryWithEntityContext['sort']\n >[number]['fieldName'];\n /** \n Sort order.\n Use `ASC` for ascending order or `DESC` for descending order.\n\n Default: `ASC`. \n */\n order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];\n }[];\n};\n\nexport const utils = {\n query: /*#__PURE__*/ createQueryUtils<Event, EventQuerySpec, EventQuery>(),\n};\n\n/**\n * Counts events by status.\n * @public\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.CountEventsByStatus\n */\nexport async function countEventsByStatus(\n options?: CountEventsByStatusOptions\n): Promise<\n CountEventsByStatusResponse & {\n __applicationErrorsType?: CountEventsByStatusApplicationErrors;\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 {\n filter: options?.filter,\n facet: options?.facet,\n includeDrafts: options?.includeDrafts,\n },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.countEventsByStatus(payload);\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: {\n filter: '$[0].filter',\n facet: '$[0].facet',\n includeDrafts: '$[0].includeDrafts',\n },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CountEventsByStatusOptions {\n /** Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\" }`. */\n filter?: Record<string, any> | null;\n /**\n * Parameters to count events by.\n * @maxLength 100\n * @maxSize 20\n */\n facet?: string[];\n /**\n * Whether draft events should be returned in the response. <br>\n * **Note:** This parameter requires the `WIX_EVENTS.READ_DRAFT_EVENTS` permission.\n */\n includeDrafts?: boolean;\n}\n\n/**\n * Retrieves a list of up to 100 events that belong to the same event category.\n * @param categoryId - Category ID.\n * @public\n * @requiredField categoryId\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.ListEventsByCategory\n */\nexport async function listEventsByCategory(\n categoryId: string,\n options?: ListEventsByCategoryOptions\n): Promise<\n NonNullablePaths<\n ListEventsByCategoryResponse,\n | `events`\n | `events.${number}._id`\n | `events.${number}.location.type`\n | `events.${number}.dateAndTimeSettings.recurrenceStatus`\n | `events.${number}.slug`\n | `events.${number}.status`\n | `events.${number}.registration.type`\n | `events.${number}.registration.status`\n | `events.${number}.registration.rsvp.responseType`\n | `events.${number}.registration.rsvp.waitlistEnabled`\n | `events.${number}.registration.tickets.guestsAssignedSeparately`\n | `events.${number}.registration.tickets.ticketLimitPerOrder`\n | `events.${number}.registration.allowedGuestTypes`\n | `events.${number}.registration.initialType`\n | `events.${number}.registration.registrationPaused`\n | `events.${number}.registration.registrationDisabled`\n | `events.${number}.calendarUrls.google`\n | `events.${number}.calendarUrls.ics`\n | `events.${number}.summaries.rsvps.totalCount`\n | `events.${number}.summaries.rsvps.yesCount`\n | `events.${number}.summaries.rsvps.noCount`\n | `events.${number}.summaries.rsvps.waitlistCount`\n | `events.${number}.summaries.tickets.ticketsSold`\n | `events.${number}.summaries.tickets.currencyLocked`\n | `events.${number}.summaries.tickets.totalOrders`\n | `events.${number}.summaries.cancellation.actorType`\n | `events.${number}.summaries.cancellation.actorName`\n | `events.${number}.summaries.cancellation.actorEmail`\n | `events.${number}.instanceId`\n | `events.${number}.guestListSettings.displayedPublicly`\n | `events.${number}.userId`\n | `events.${number}.onlineConferencing.enabled`\n | `events.${number}.onlineConferencing.type`\n | `events.${number}.onlineConferencing.session.hostLink`\n | `events.${number}.onlineConferencing.session.guestLink`\n | `events.${number}.seoSettings.slug`\n | `events.${number}.agendaSettings.enabled`,\n 6\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 {\n categoryId: categoryId,\n paging: options?.paging,\n fields: options?.fields,\n },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.listEventsByCategory(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'events.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'events.eventPageUrl' },\n { path: 'events.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'events.location.address' }],\n },\n ]),\n ['events.description']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n categoryId: '$[0]',\n paging: '$[1].paging',\n fields: '$[1].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['categoryId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface ListEventsByCategoryOptions {\n /** Paging options to limit and skip the number of items. */\n paging?: CommonPaging;\n /**\n * Predefined sets of fields to return. If both `fields` and `fieldsets` are sent in the request, the union of both lists is returned.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Retrieves an event by ID.\n *\n * Specify `fields` to request specific fieldsets.\n * For example, `fields: [\"FORM\"]` includes the event's registration form definition in the response.\n * Use the returned input names, mandatory fields, and predefined options before\n * [creating an RSVP](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/create-rsvp).\n * @param eventId - Event ID.\n * @public\n * @requiredField eventId\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @applicableIdentity APP\n * @returns Event.\n * @fqn wix.events.events.v3.EventManagement.GetEvent\n */\nexport async function getEvent(\n eventId: string,\n options?: GetEventOptions\n): Promise<\n NonNullablePaths<\n Event,\n | `_id`\n | `location.type`\n | `location.address.streetAddress.number`\n | `location.address.streetAddress.name`\n | `dateAndTimeSettings.recurrenceStatus`\n | `dateAndTimeSettings.recurringEvents.individualEventDates`\n | `dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `slug`\n | `status`\n | `registration.type`\n | `registration.status`\n | `registration.rsvp.responseType`\n | `registration.rsvp.waitlistEnabled`\n | `registration.tickets.guestsAssignedSeparately`\n | `registration.tickets.ticketLimitPerOrder`\n | `registration.tickets.lowestPrice.value`\n | `registration.tickets.lowestPrice.currency`\n | `registration.tickets.taxSettings.type`\n | `registration.allowedGuestTypes`\n | `registration.initialType`\n | `registration.registrationPaused`\n | `registration.registrationDisabled`\n | `calendarUrls.google`\n | `calendarUrls.ics`\n | `form.controls`\n | `form.controls.${number}.type`\n | `form.controls.${number}.system`\n | `form.controls.${number}.name`\n | `form.controls.${number}.label`\n | `form.controls.${number}.orderIndex`\n | `form.controls.${number}._id`\n | `form.messages.rsvp.rsvpYesOption`\n | `form.messages.rsvp.rsvpNoOption`\n | `form.messages.rsvp.positiveMessages.title`\n | `form.messages.rsvp.positiveMessages.confirmation.title`\n | `form.messages.rsvp.positiveMessages.confirmation.message`\n | `form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.negativeMessages.title`\n | `form.messages.rsvp.negativeMessages.confirmation.title`\n | `form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.submitActionLabel`\n | `form.messages.checkout.title`\n | `form.messages.checkout.submitActionLabel`\n | `form.messages.checkout.confirmation.title`\n | `form.messages.checkout.confirmation.message`\n | `form.messages.checkout.confirmation.downloadTicketsLabel`\n | `form.messages.checkout.confirmation.addToCalendarLabel`\n | `form.messages.checkout.confirmation.shareEventLabel`\n | `form.messages.registrationClosed.message`\n | `form.messages.registrationClosed.exploreEventsActionLabel`\n | `form.messages.ticketsUnavailable.message`\n | `form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `summaries.rsvps.totalCount`\n | `summaries.rsvps.yesCount`\n | `summaries.rsvps.noCount`\n | `summaries.rsvps.waitlistCount`\n | `summaries.tickets.ticketsSold`\n | `summaries.tickets.revenue.amount`\n | `summaries.tickets.revenue.currency`\n | `summaries.tickets.currencyLocked`\n | `summaries.tickets.totalOrders`\n | `summaries.cancellation.actorType`\n | `summaries.cancellation.actorName`\n | `summaries.cancellation.actorEmail`\n | `instanceId`\n | `guestListSettings.displayedPublicly`\n | `userId`\n | `onlineConferencing.enabled`\n | `onlineConferencing.type`\n | `onlineConferencing.session.hostLink`\n | `onlineConferencing.session.guestLink`\n | `seoSettings.slug`\n | `seoSettings.advancedSeoData.tags`\n | `seoSettings.advancedSeoData.tags.${number}.type`\n | `seoSettings.advancedSeoData.tags.${number}.children`\n | `seoSettings.advancedSeoData.tags.${number}.custom`\n | `seoSettings.advancedSeoData.tags.${number}.disabled`\n | `seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `seoSettings.advancedSeoData.settings.keywords`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `agendaSettings.enabled`,\n 7\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 { eventId: eventId, fields: options?.fields },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.getEvent(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]),\n ['event.description']\n )?.event!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { eventId: '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['eventId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface GetEventOptions {\n /**\n * Predefined sets of fields to return. For example, specify `\"FORM\"` to include the event's registration form definition, including the input names, mandatory fields, and predefined options needed when [creating an RSVP](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/create-rsvp).\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Retrieves an event by the slug URL.\n *\n * The slug is the end of an event URL that refers to a specific event. For example, if an event's URL is `https://example.com/events/event/{my-event-slug}`, the slug is `my-event-slug`.\n * @param slug - URL slug.\n * @public\n * @requiredField slug\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.GetEventBySlug\n */\nexport async function getEventBySlug(\n slug: string,\n options?: GetEventBySlugOptions\n): Promise<\n NonNullablePaths<\n GetEventBySlugResponse,\n | `event._id`\n | `event.location.type`\n | `event.location.address.streetAddress.number`\n | `event.location.address.streetAddress.name`\n | `event.dateAndTimeSettings.recurrenceStatus`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `event.slug`\n | `event.status`\n | `event.registration.type`\n | `event.registration.status`\n | `event.registration.rsvp.responseType`\n | `event.registration.rsvp.waitlistEnabled`\n | `event.registration.tickets.guestsAssignedSeparately`\n | `event.registration.tickets.ticketLimitPerOrder`\n | `event.registration.tickets.lowestPrice.value`\n | `event.registration.tickets.lowestPrice.currency`\n | `event.registration.tickets.taxSettings.type`\n | `event.registration.allowedGuestTypes`\n | `event.registration.initialType`\n | `event.registration.registrationPaused`\n | `event.registration.registrationDisabled`\n | `event.calendarUrls.google`\n | `event.calendarUrls.ics`\n | `event.form.controls`\n | `event.form.controls.${number}.type`\n | `event.form.controls.${number}.system`\n | `event.form.controls.${number}.name`\n | `event.form.controls.${number}.label`\n | `event.form.controls.${number}.orderIndex`\n | `event.form.controls.${number}._id`\n | `event.form.messages.rsvp.rsvpYesOption`\n | `event.form.messages.rsvp.rsvpNoOption`\n | `event.form.messages.rsvp.positiveMessages.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.message`\n | `event.form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `event.form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.negativeMessages.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.submitActionLabel`\n | `event.form.messages.checkout.title`\n | `event.form.messages.checkout.submitActionLabel`\n | `event.form.messages.checkout.confirmation.title`\n | `event.form.messages.checkout.confirmation.message`\n | `event.form.messages.checkout.confirmation.downloadTicketsLabel`\n | `event.form.messages.checkout.confirmation.addToCalendarLabel`\n | `event.form.messages.checkout.confirmation.shareEventLabel`\n | `event.form.messages.registrationClosed.message`\n | `event.form.messages.registrationClosed.exploreEventsActionLabel`\n | `event.form.messages.ticketsUnavailable.message`\n | `event.form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `event.summaries.rsvps.totalCount`\n | `event.summaries.rsvps.yesCount`\n | `event.summaries.rsvps.noCount`\n | `event.summaries.rsvps.waitlistCount`\n | `event.summaries.tickets.ticketsSold`\n | `event.summaries.tickets.revenue.amount`\n | `event.summaries.tickets.revenue.currency`\n | `event.summaries.tickets.currencyLocked`\n | `event.summaries.tickets.totalOrders`\n | `event.summaries.cancellation.actorType`\n | `event.summaries.cancellation.actorName`\n | `event.summaries.cancellation.actorEmail`\n | `event.instanceId`\n | `event.guestListSettings.displayedPublicly`\n | `event.userId`\n | `event.onlineConferencing.enabled`\n | `event.onlineConferencing.type`\n | `event.onlineConferencing.session.hostLink`\n | `event.onlineConferencing.session.guestLink`\n | `event.seoSettings.slug`\n | `event.seoSettings.advancedSeoData.tags`\n | `event.seoSettings.advancedSeoData.tags.${number}.type`\n | `event.seoSettings.advancedSeoData.tags.${number}.children`\n | `event.seoSettings.advancedSeoData.tags.${number}.custom`\n | `event.seoSettings.advancedSeoData.tags.${number}.disabled`\n | `event.seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `event.seoSettings.advancedSeoData.settings.keywords`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `event.agendaSettings.enabled`,\n 8\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 { slug: slug, fields: options?.fields },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.getEventBySlug(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]),\n ['event.description']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { slug: '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['slug', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface GetEventBySlugOptions {\n /** @maxSize 20 */\n fields?: RequestedFieldsWithLiterals[];\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\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 resolveWixEventsEventsV3EventManagementUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'www.wixapis.com': [\n {\n srcPath: '/events/v3/events',\n destPath: '/v3/events',\n },\n {\n srcPath: '/events/v3/bulk/events',\n destPath: '/v3/bulk/events',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/events-events-v3-adapter',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/events-events-v3-adapter',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/events-events-v3-adapter',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/events-events-v3-adapter',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/events-events-v3-adapter',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/events-events-v3-adapter',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/events-events-v3-adapter',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/events-events-v3-adapter',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_events_wix-events-v-2';\n\n/**\n * Creates an event. <br> <br>\n * The event includes a default registration form in the selected language, which consists of input fields for first name, last name, and email. See the [Registration Form API](https://dev.wix.com/docs/rest/business-solutions/events/form/about-the-registration-form-api) for more information. <br> <br>\n * You can create the event as a draft by setting `draft` to `true`. Otherwise, the event is published right away. <br> <br>\n * To create a recurring event, set `individualEventDates` in the `dateAndTimeSettings.recurringEvents` object. <br> <br>\n * The event is automatically set up to send daily summary reports of new guests to your business email.\n */\nexport function createEvent(payload: object): RequestOptionsFactory<any> {\n function __createEvent({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'event.description.nodes.galleryData.options.item.ratio' },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n { path: 'event.description.nodes.smartBlockCellData.shape.duration' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.CreateEvent',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'event.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n {\n path: 'event.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createEvent;\n}\n\n/**\n * Clones an event, including the registration form, notifications, multilingual translations and ticket configuration from the original event. <br> <br>\n * The new event's date is automatically set to 14 days from the original event date. <br> <br>\n * If an event with the same `title` already exists, the new event's `title` gets a sequence number. For example, if you clone an event named `\"Leather Crafting 101\"`, the new event's title is `\"Leather Crafting 101 (1)\"`. <br> <br>\n * You can change the required entity field values while cloning an event.\n */\nexport function cloneEvent(payload: object): RequestOptionsFactory<any> {\n function __cloneEvent({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldmask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'event.description.nodes.galleryData.options.item.ratio' },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n { path: 'event.description.nodes.smartBlockCellData.shape.duration' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.CloneEvent',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/{eventId}/clone',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'event.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n {\n path: 'event.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __cloneEvent;\n}\n\n/** Updates an event. */\nexport function updateEvent(payload: object): RequestOptionsFactory<any> {\n function __updateEvent({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldmask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'event.description.nodes.galleryData.options.item.ratio' },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n { path: 'event.description.nodes.smartBlockCellData.shape.duration' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'PATCH' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.UpdateEvent',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/{event.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: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'event.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n {\n path: 'event.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateEvent;\n}\n\n/**\n * Publishes a draft event to your live site. Once published, the event's status changes from `\"DRAFT\"` to `\"UPCOMING\"`. <br> <br>\n * It's impossible to revert the `\"DRAFT\"` status after publishing. The only option is to clone the event, then delete the original.\n */\nexport function publishDraftEvent(payload: object): RequestOptionsFactory<any> {\n function __publishDraftEvent({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.PublishDraftEvent',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/{eventId}/publish',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'event.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n {\n path: 'event.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __publishDraftEvent;\n}\n\n/**\n * Cancels an event. <br> <br>\n * After cancellation, registration for an event is closed. To reuse the event, call Clone Event and Publish Event to publish it again. <br> <br>\n * If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.\n */\nexport function cancelEvent(payload: object): RequestOptionsFactory<any> {\n function __cancelEvent({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.CancelEvent',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/{eventId}/cancel',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'event.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n {\n path: 'event.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __cancelEvent;\n}\n\n/**\n * Cancels multiple events that meet the specified criteria. <br> <br>\n * After cancellation, registration for an event is closed. To reuse the event, call Clone Event and Publish Event to publish it again. <br> <br>\n * If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.\n */\nexport function bulkCancelEventsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCancelEventsByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.events.v3.EventManagement.BulkCancelEventsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/bulk/events/cancel-by-filter',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkCancelEventsByFilter;\n}\n\n/**\n * Deletes an event. <br> <br>\n * You can retrieve the deleted event through a GDPR access request.\n */\nexport function deleteEvent(payload: object): RequestOptionsFactory<any> {\n function __deleteEvent({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'DELETE' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.DeleteEvent',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/{eventId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteEvent;\n}\n\n/**\n * Deletes multiple events that meet the specified criteria. <br> <br>\n * You can retrieve the deleted events through a GDPR access request.\n */\nexport function bulkDeleteEventsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteEventsByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.events.v3.EventManagement.BulkDeleteEventsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/bulk/events/delete-by-filter',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteEventsByFilter;\n}\n\n/**\n * Creates a query to retrieve a list of events.\n *\n *\n * The `queryEvents()` method builds a query to retrieve a list of events and returns a [`EventsQueryBuilder`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder) object.\n *\n * The returned object contains the query definition, which is typically used to run the query using the [`find()`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/find) method.\n *\n * You can refine the query by chaining `EventsQueryBuilder` methods onto the query. `EventsQueryBuilder` methods enable you to sort, filter, and control the results `queryEvents()` returns.\n *\n * `queryEvents()` runs with these `EventsQueryBuilder` defaults, which you can override:\n *\n * - [`skip(0)`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/skip)\n * - [`limit(50)`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/limit)\n * - [`descending(\"_createdDate\")`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/descending)\n *\n * The methods that are chained to `queryEvents()` are applied in the order they're called. For example, if you apply `ascending('title')` and then `descending('status')`, the results are sorted first by the `title`, and then, if there are multiple results with the same `title`, the items are sorted by `status`.\n */\nexport function queryEvents(payload: object): RequestOptionsFactory<any> {\n function __queryEvents({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.QueryEvents',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'events.createdDate' },\n { path: 'events.updatedDate' },\n { path: 'events.publishedDate' },\n { path: 'events.dateAndTimeSettings.startDate' },\n { path: 'events.dateAndTimeSettings.endDate' },\n {\n path: 'events.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'events.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'events.mainImage.urlExpirationDate' },\n { path: 'events.registration.rsvp.startDate' },\n { path: 'events.registration.rsvp.endDate' },\n { path: 'events.summaries.cancellation.canceledDate' },\n { path: 'events.categories.categories.createdDate' },\n { path: 'events.description.metadata.createdTimestamp' },\n { path: 'events.description.metadata.updatedTimestamp' },\n { path: 'events.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'events.location.address.geocode.latitude' },\n { path: 'events.location.address.geocode.longitude' },\n {\n path: 'events.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'events.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'events.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'events.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'events.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'events.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'events.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'events.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'events.description.nodes.imageData.image.duration' },\n { path: 'events.description.nodes.imageData.crop.x' },\n { path: 'events.description.nodes.imageData.crop.y' },\n { path: 'events.description.nodes.imageData.crop.width' },\n { path: 'events.description.nodes.imageData.crop.height' },\n { path: 'events.description.nodes.mapData.mapSettings.lat' },\n { path: 'events.description.nodes.mapData.mapSettings.lng' },\n { path: 'events.description.nodes.pollData.poll.image.duration' },\n {\n path: 'events.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'events.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'events.description.nodes.appEmbedData.image.duration' },\n { path: 'events.description.nodes.videoData.video.duration' },\n { path: 'events.description.nodes.videoData.thumbnail.duration' },\n { path: 'events.description.nodes.audioData.audio.duration' },\n {\n path: 'events.description.nodes.audioData.coverImage.duration',\n },\n {\n path: 'events.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'events.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'events.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'events.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'events.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'events.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'events.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'events.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'events.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'events.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'events.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'events.description.nodes.shapeData.shape.duration' },\n {\n path: 'events.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'events.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'events.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'events.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'events.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'events.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'events.description.nodes.tocData.fontSize' },\n { path: 'events.description.nodes.tocData.itemSpacing' },\n {\n path: 'events.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryEvents;\n}\n\n/** Counts events by status. */\nexport function countEventsByStatus(\n payload: object\n): RequestOptionsFactory<any> {\n function __countEventsByStatus({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.CountEventsByStatus',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/count-by-status',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __countEventsByStatus;\n}\n\n/** Retrieves a list of up to 100 events that belong to the same event category. */\nexport function listEventsByCategory(\n payload: object\n): RequestOptionsFactory<any> {\n function __listEventsByCategory({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'GET' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.ListEventsByCategory',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/category/{categoryId}',\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: 'events.createdDate' },\n { path: 'events.updatedDate' },\n { path: 'events.publishedDate' },\n { path: 'events.dateAndTimeSettings.startDate' },\n { path: 'events.dateAndTimeSettings.endDate' },\n {\n path: 'events.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'events.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'events.mainImage.urlExpirationDate' },\n { path: 'events.registration.rsvp.startDate' },\n { path: 'events.registration.rsvp.endDate' },\n { path: 'events.summaries.cancellation.canceledDate' },\n { path: 'events.categories.categories.createdDate' },\n { path: 'events.description.metadata.createdTimestamp' },\n { path: 'events.description.metadata.updatedTimestamp' },\n { path: 'events.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'events.location.address.geocode.latitude' },\n { path: 'events.location.address.geocode.longitude' },\n {\n path: 'events.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'events.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'events.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'events.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'events.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'events.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'events.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'events.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'events.description.nodes.imageData.image.duration' },\n { path: 'events.description.nodes.imageData.crop.x' },\n { path: 'events.description.nodes.imageData.crop.y' },\n { path: 'events.description.nodes.imageData.crop.width' },\n { path: 'events.description.nodes.imageData.crop.height' },\n { path: 'events.description.nodes.mapData.mapSettings.lat' },\n { path: 'events.description.nodes.mapData.mapSettings.lng' },\n { path: 'events.description.nodes.pollData.poll.image.duration' },\n {\n path: 'events.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'events.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'events.description.nodes.appEmbedData.image.duration' },\n { path: 'events.description.nodes.videoData.video.duration' },\n { path: 'events.description.nodes.videoData.thumbnail.duration' },\n { path: 'events.description.nodes.audioData.audio.duration' },\n {\n path: 'events.description.nodes.audioData.coverImage.duration',\n },\n {\n path: 'events.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'events.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'events.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'events.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'events.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'events.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'events.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'events.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'events.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'events.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'events.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'events.description.nodes.shapeData.shape.duration' },\n {\n path: 'events.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'events.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'events.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'events.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'events.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'events.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'events.description.nodes.tocData.fontSize' },\n { path: 'events.description.nodes.tocData.itemSpacing' },\n {\n path: 'events.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listEventsByCategory;\n}\n\n/**\n * Retrieves an event by ID.\n *\n * Specify `fields` to request specific fieldsets.\n * For example, `fields: [\"FORM\"]` includes the event's registration form definition in the response.\n * Use the returned input names, mandatory fields, and predefined options before\n * [creating an RSVP](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/create-rsvp).\n */\nexport function getEvent(payload: object): RequestOptionsFactory<any> {\n function __getEvent({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'GET' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.GetEvent',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/{eventId}',\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: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'event.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n {\n path: 'event.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getEvent;\n}\n\n/**\n * Retrieves an event by the slug URL.\n *\n * The slug is the end of an event URL that refers to a specific event. For example, if an event's URL is `https://example.com/events/event/{my-event-slug}`, the slug is `my-event-slug`.\n */\nexport function getEventBySlug(payload: object): RequestOptionsFactory<any> {\n function __getEventBySlug({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'GET' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.GetEventBySlug',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/slug/{slug}',\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: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'event.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n {\n path: 'event.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getEventBySlug;\n}\n","import {\n createEvent as publicCreateEvent,\n cloneEvent as publicCloneEvent,\n updateEvent as publicUpdateEvent,\n publishDraftEvent as publicPublishDraftEvent,\n cancelEvent as publicCancelEvent,\n bulkCancelEventsByFilter as publicBulkCancelEventsByFilter,\n deleteEvent as publicDeleteEvent,\n bulkDeleteEventsByFilter as publicBulkDeleteEventsByFilter,\n queryEvents as publicQueryEvents,\n typedQueryEvents as publicTypedQueryEvents,\n countEventsByStatus as publicCountEventsByStatus,\n listEventsByCategory as publicListEventsByCategory,\n getEvent as publicGetEvent,\n getEventBySlug as publicGetEventBySlug,\n} from './events-v3-event-wix-events-v-2.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { createEventModule } from '@wix/sdk-runtime/event-definition-modules';\nimport {\n BuildRESTFunction,\n MaybeContext,\n BuildEventDefinition,\n} from '@wix/sdk-types';\nimport { HttpClient } from '@wix/sdk-types';\nimport { createQueryOverloadRouter } from '@wix/sdk-runtime/query-method-router';\nimport {\n EventQuery,\n EventsQueryBuilder,\n QueryEventsOptions,\n typedQueryEvents as universalTypedQueryEvents,\n} from './events-v3-event-wix-events-v-2.universal.js';\nimport { onEventCanceled as publicOnEventCanceled } from './events-v3-event-wix-events-v-2.public.js';\nimport { onEventCloned as publicOnEventCloned } from './events-v3-event-wix-events-v-2.public.js';\nimport { onEventCreated as publicOnEventCreated } from './events-v3-event-wix-events-v-2.public.js';\nimport { onEventDeleted as publicOnEventDeleted } from './events-v3-event-wix-events-v-2.public.js';\nimport { onEventEnded as publicOnEventEnded } from './events-v3-event-wix-events-v-2.public.js';\nimport { onEventPublished as publicOnEventPublished } from './events-v3-event-wix-events-v-2.public.js';\nimport { onEventReminder as publicOnEventReminder } from './events-v3-event-wix-events-v-2.public.js';\nimport { onEventStarted as publicOnEventStarted } from './events-v3-event-wix-events-v-2.public.js';\nimport { onEventUpdated as publicOnEventUpdated } from './events-v3-event-wix-events-v-2.public.js';\n\nfunction customQueryEvents(httpClient: HttpClient) {\n const router = /*#__PURE__*/ createQueryOverloadRouter({\n builderQueryFunction: (options?: QueryEventsOptions) =>\n publicQueryEvents(httpClient)(options),\n typedQueryFunction: (query: EventQuery, options?: QueryEventsOptions) =>\n publicTypedQueryEvents(httpClient)(query, options),\n hasOptionsParameter: true,\n });\n\n function overloadedQuery(\n query: EventQuery,\n options?: QueryEventsOptions\n ): ReturnType<typeof universalTypedQueryEvents>;\n function overloadedQuery(options?: QueryEventsOptions): EventsQueryBuilder;\n function overloadedQuery(\n queryOrOptions?: EventQuery | QueryEventsOptions,\n options?: QueryEventsOptions\n ): any {\n return router(...arguments);\n }\n\n return overloadedQuery;\n}\n\nexport const createEvent: MaybeContext<\n BuildRESTFunction<typeof publicCreateEvent> & typeof publicCreateEvent\n> = /*#__PURE__*/ createRESTModule(publicCreateEvent);\nexport const cloneEvent: MaybeContext<\n BuildRESTFunction<typeof publicCloneEvent> & typeof publicCloneEvent\n> = /*#__PURE__*/ createRESTModule(publicCloneEvent);\nexport const updateEvent: MaybeContext<\n BuildRESTFunction<typeof publicUpdateEvent> & typeof publicUpdateEvent\n> = /*#__PURE__*/ createRESTModule(publicUpdateEvent);\nexport const publishDraftEvent: MaybeContext<\n BuildRESTFunction<typeof publicPublishDraftEvent> &\n typeof publicPublishDraftEvent\n> = /*#__PURE__*/ createRESTModule(publicPublishDraftEvent);\nexport const cancelEvent: MaybeContext<\n BuildRESTFunction<typeof publicCancelEvent> & typeof publicCancelEvent\n> = /*#__PURE__*/ createRESTModule(publicCancelEvent);\nexport const bulkCancelEventsByFilter: MaybeContext<\n BuildRESTFunction<typeof publicBulkCancelEventsByFilter> &\n typeof publicBulkCancelEventsByFilter\n> = /*#__PURE__*/ createRESTModule(publicBulkCancelEventsByFilter);\nexport const deleteEvent: MaybeContext<\n BuildRESTFunction<typeof publicDeleteEvent> & typeof publicDeleteEvent\n> = /*#__PURE__*/ createRESTModule(publicDeleteEvent);\nexport const bulkDeleteEventsByFilter: MaybeContext<\n BuildRESTFunction<typeof publicBulkDeleteEventsByFilter> &\n typeof publicBulkDeleteEventsByFilter\n> = /*#__PURE__*/ createRESTModule(publicBulkDeleteEventsByFilter);\nexport const countEventsByStatus: MaybeContext<\n BuildRESTFunction<typeof publicCountEventsByStatus> &\n typeof publicCountEventsByStatus\n> = /*#__PURE__*/ createRESTModule(publicCountEventsByStatus);\nexport const listEventsByCategory: MaybeContext<\n BuildRESTFunction<typeof publicListEventsByCategory> &\n typeof publicListEventsByCategory\n> = /*#__PURE__*/ createRESTModule(publicListEventsByCategory);\nexport const getEvent: MaybeContext<\n BuildRESTFunction<typeof publicGetEvent> & typeof publicGetEvent\n> = /*#__PURE__*/ createRESTModule(publicGetEvent);\nexport const getEventBySlug: MaybeContext<\n BuildRESTFunction<typeof publicGetEventBySlug> & typeof publicGetEventBySlug\n> = /*#__PURE__*/ createRESTModule(publicGetEventBySlug);\nexport const queryEvents: MaybeContext<\n BuildRESTFunction<typeof customQueryEvents> & typeof customQueryEvents\n> = /*#__PURE__*/ createRESTModule(customQueryEvents);\n/**\n * Triggered when an event is canceled.\n */\nexport const onEventCanceled: BuildEventDefinition<\n typeof publicOnEventCanceled\n> &\n typeof publicOnEventCanceled = /*#__PURE__*/ createEventModule(\n publicOnEventCanceled\n);\n/**\n * Triggered when an event is cloned.\n */\nexport const onEventCloned: BuildEventDefinition<typeof publicOnEventCloned> &\n typeof publicOnEventCloned =\n /*#__PURE__*/ createEventModule(publicOnEventCloned);\n/**\n * Triggered when an event is created.\n */\nexport const onEventCreated: BuildEventDefinition<typeof publicOnEventCreated> &\n typeof publicOnEventCreated =\n /*#__PURE__*/ createEventModule(publicOnEventCreated);\n/**\n * Triggered when an event is deleted.\n */\nexport const onEventDeleted: BuildEventDefinition<typeof publicOnEventDeleted> &\n typeof publicOnEventDeleted =\n /*#__PURE__*/ createEventModule(publicOnEventDeleted);\n/**\n * Triggered when an event has ended.\n */\nexport const onEventEnded: BuildEventDefinition<typeof publicOnEventEnded> &\n typeof publicOnEventEnded =\n /*#__PURE__*/ createEventModule(publicOnEventEnded);\n/**\n * Triggered when an event is published.\n */\nexport const onEventPublished: BuildEventDefinition<\n typeof publicOnEventPublished\n> &\n typeof publicOnEventPublished = /*#__PURE__*/ createEventModule(\n publicOnEventPublished\n);\n/**\n * Triggered when a certain amount of time is left until the event. In total there are 6 reminders:\n * - 7 days\n * - 3 days\n * - 1 day\n * - 2 hours\n * - 1 hour\n * - 30 minutes\n */\nexport const onEventReminder: BuildEventDefinition<\n typeof publicOnEventReminder\n> &\n typeof publicOnEventReminder = /*#__PURE__*/ createEventModule(\n publicOnEventReminder\n);\n/**\n * Triggered when an event has started.\n */\nexport const onEventStarted: BuildEventDefinition<typeof publicOnEventStarted> &\n typeof publicOnEventStarted =\n /*#__PURE__*/ createEventModule(publicOnEventStarted);\n/**\n * Triggered when an event is updated.\n */\nexport const onEventUpdated: BuildEventDefinition<typeof publicOnEventUpdated> &\n typeof publicOnEventUpdated =\n /*#__PURE__*/ createEventModule(publicOnEventUpdated);\n\nexport {\n LocationType,\n SubdivisionType,\n RecurrenceStatusStatus,\n Status,\n RegistrationTypeType,\n RegistrationStatusStatus,\n ResponseType,\n TaxType,\n CheckoutType,\n GuestTypeType,\n InitialRegistrationTypeType,\n InputControlType,\n ValueType,\n ActorType,\n ConferenceTypeType,\n Type,\n NodeType,\n BackgroundType,\n GradientType,\n WidthType,\n PluginContainerDataAlignment,\n ButtonDataType,\n Target,\n AnimationType,\n EntranceEffectType,\n LoopEffectType,\n PointerEffectType,\n TextAlignment,\n LineCap,\n LineStyle,\n Width,\n DividerDataAlignment,\n ViewMode,\n LayoutType,\n Orientation,\n Crop,\n ThumbnailsAlignment,\n GIFType,\n Source,\n StylesPosition,\n MapType,\n ViewRole,\n VoteRole,\n PollLayoutType,\n PollLayoutDirection,\n PollDesignBackgroundType,\n DecorationType,\n FontType,\n Variant,\n Position,\n AspectRatio,\n Resizing,\n Placement,\n CardStylesType,\n Alignment,\n Layout,\n AppType,\n InitialExpandedItems,\n Direction,\n VerticalAlignment,\n NullValue,\n ImageScalingScaling,\n ImagePosition,\n LayoutDataBackgroundType,\n Origin,\n BannerPosition,\n LayerEffect,\n Shape,\n BackdropType,\n VerticalAlignmentAlignment,\n ResponsivenessBehaviour,\n DesignTarget,\n Scaling,\n ImagePositionPosition,\n CardDataBackgroundType,\n ListStyle,\n Indentation,\n SmartBlockDataType,\n ColumnSize,\n BadgeTypeType,\n RequestedFields,\n UpdaterIdentity,\n PublishStatus,\n CommonSortOrder,\n SortOrder,\n Relation,\n WebhookIdentityType,\n} from './events-v3-event-wix-events-v-2.universal.js';\nexport {\n Event,\n Location,\n Address,\n AddressStreetOneOf,\n StreetAddress,\n CommonAddressLocation,\n Subdivision,\n DateAndTimeSettings,\n Recurrences,\n Occurrence,\n Formatted,\n TimeDuration,\n Registration,\n RsvpRegistration,\n RsvpConfirmationMessages,\n PositiveResponseConfirmation,\n NegativeResponseConfirmation,\n TicketsRegistration,\n Money,\n TaxSettings,\n TicketsConfirmationMessages,\n ExternalRegistration,\n CalendarUrls,\n Form,\n InputControl,\n Input,\n OptionSelection,\n OptionSelectionSelectedOptionOneOf,\n Label,\n FormMessages,\n RsvpFormMessages,\n RsvpFormMessagesPositiveResponseConfirmation,\n RsvpFormMessagesNegativeResponseConfirmation,\n Positive,\n Negative,\n CheckoutFormMessages,\n ResponseConfirmation,\n RegistrationClosedMessages,\n TicketsUnavailableMessages,\n Summaries,\n EventsMoney,\n Rsvps,\n Tickets,\n Cancellation,\n GuestListSettings,\n Feed,\n OnlineConferencing,\n OnlineConferencingSession,\n SeoSettings,\n SeoSchema,\n Keyword,\n Tag,\n Settings,\n AgendaSettings,\n EventCategories,\n EventCategory,\n EventDisplaySettings,\n LabellingSettings,\n RichContent,\n Node,\n NodeDataOneOf,\n NodeStyle,\n ButtonData,\n Gradient,\n Stop,\n Border,\n Colors,\n Background,\n PluginContainerData,\n PluginContainerDataWidth,\n PluginContainerDataWidthDataOneOf,\n Spoiler,\n Height,\n Styles,\n Link,\n LinkDataOneOf,\n Rel,\n Animation,\n EntranceAnimation,\n EntranceEffect,\n LoopAnimation,\n LoopEffect,\n PointerEffect,\n CodeBlockData,\n TextStyle,\n DividerData,\n DividerDataStyles,\n FileData,\n FileSource,\n FileSourceDataOneOf,\n PDFSettings,\n GalleryData,\n Media,\n Image,\n Video,\n Item,\n ItemDataOneOf,\n GalleryOptions,\n GalleryOptionsLayout,\n ItemStyle,\n Thumbnails,\n GIFData,\n GIF,\n HeadingData,\n HTMLData,\n HTMLDataDataOneOf,\n ImageData,\n StylesBorder,\n ImageDataStyles,\n ImageDataCrop,\n LinkPreviewData,\n LinkPreviewDataStyles,\n MapData,\n MapSettings,\n ParagraphData,\n PollData,\n Permissions,\n Option,\n PollSettings,\n PollLayout,\n OptionLayout,\n BackgroundGradient,\n PollDesignBackground,\n PollDesignBackgroundBackgroundOneOf,\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 FontFamilyData,\n SketchData,\n AppEmbedData,\n AppEmbedDataAppDataOneOf,\n BookingData,\n EventData,\n ButtonStyles,\n ImageStyles,\n RibbonStyles,\n CardStyles,\n PricingData,\n VideoData,\n PlaybackOptions,\n EmbedData,\n Oembed,\n CollapsibleListData,\n TableData,\n Dimensions,\n TableCellData,\n CellStyle,\n BorderColors,\n BorderWidths,\n ListValue,\n AudioData,\n OrderedListData,\n BulletedListData,\n BlockquoteData,\n CaptionData,\n LayoutData,\n LayoutDataBackground,\n Layers,\n LayoutDataBackgroundImage,\n Banner,\n Backdrop,\n SectionDivider,\n LayoutCellData,\n ShapeData,\n ShapeDataStyles,\n CardData,\n CardDataBackground,\n BackgroundImage,\n TocData,\n SmartBlockData,\n SmartBlockCellData,\n CheckboxListData,\n ListItemNodeData,\n Metadata,\n DocumentStyle,\n TextNodeStyle,\n BadgeList,\n Badge,\n EventStarted,\n EventEnded,\n EventReminder,\n EventPublished,\n EventCloned,\n EventCanceled,\n CreateEventRequest,\n CreateEventResponse,\n CloneEventRequest,\n CloneEventResponse,\n CloneEventFromOtherSiteRequest,\n CloneEventFromOtherSiteResponse,\n GetEventTranslationsContentRequest,\n GetEventTranslationsContentResponse,\n Content,\n ContentField,\n ContentFieldValueOneOf,\n VideoResolution,\n UpdateEventRequest,\n UpdateEventResponse,\n PublishDraftEventRequest,\n PublishDraftEventResponse,\n CancelEventRequest,\n CancelEventResponse,\n BulkCancelEventsByFilterRequest,\n CommonQueryV2,\n CommonQueryV2PagingMethodOneOf,\n CommonSorting,\n CommonPaging,\n BulkCancelEventsByFilterResponse,\n DeleteEventRequest,\n DeleteEventResponse,\n BulkDeleteEventsByFilterRequest,\n BulkDeleteEventsByFilterResponse,\n QueryEventsRequest,\n QueryEventsResponse,\n CommonPagingMetadataV2,\n CommonCursors,\n ExportEventsRequest,\n QueryV2,\n QueryV2PagingMethodOneOf,\n Sorting,\n AddressLocation,\n Paging,\n CursorPaging,\n ExportEventsResponse,\n PagingMetadataV2,\n Cursors,\n CountEventsByStatusRequest,\n CountEventsByStatusResponse,\n FacetCounts,\n ListUserEventsRequest,\n UserFilter,\n ListUserEventsResponse,\n ListEventsByCategoryRequest,\n ListEventsByCategoryResponse,\n GetEventRequest,\n GetEventResponse,\n GetEventBySlugRequest,\n GetEventBySlugResponse,\n FindEventRequest,\n FindEventRequestFindByOneOf,\n FindEventResponse,\n Empty,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n AccountInfo,\n BaseEventMetadata,\n EventMetadata,\n AccountInfoMetadata,\n EventCanceledEnvelope,\n EventClonedEnvelope,\n EventCreatedEnvelope,\n EventDeletedEnvelope,\n EventEndedEnvelope,\n EventPublishedEnvelope,\n EventReminderEnvelope,\n EventStartedEnvelope,\n EventUpdatedEnvelope,\n CreateEventOptions,\n CloneEventOptions,\n UpdateEventOptions,\n PublishDraftEventOptions,\n CancelEventOptions,\n BulkCancelEventsByFilterOptions,\n BulkDeleteEventsByFilterOptions,\n QueryEventsOptions,\n EventsQueryResult,\n EventsQueryBuilder,\n EventQuerySpec,\n CountEventsByStatusOptions,\n ListEventsByCategoryOptions,\n GetEventOptions,\n GetEventBySlugOptions,\n} from './events-v3-event-wix-events-v-2.universal.js';\nexport { utils } from './events-v3-event-wix-events-v-2.universal.js';\nexport {\n LocationTypeWithLiterals,\n SubdivisionTypeWithLiterals,\n RecurrenceStatusStatusWithLiterals,\n StatusWithLiterals,\n RegistrationTypeTypeWithLiterals,\n RegistrationStatusStatusWithLiterals,\n ResponseTypeWithLiterals,\n TaxTypeWithLiterals,\n CheckoutTypeWithLiterals,\n GuestTypeTypeWithLiterals,\n InitialRegistrationTypeTypeWithLiterals,\n InputControlTypeWithLiterals,\n ValueTypeWithLiterals,\n ActorTypeWithLiterals,\n ConferenceTypeTypeWithLiterals,\n TypeWithLiterals,\n NodeTypeWithLiterals,\n BackgroundTypeWithLiterals,\n GradientTypeWithLiterals,\n WidthTypeWithLiterals,\n PluginContainerDataAlignmentWithLiterals,\n ButtonDataTypeWithLiterals,\n TargetWithLiterals,\n AnimationTypeWithLiterals,\n EntranceEffectTypeWithLiterals,\n LoopEffectTypeWithLiterals,\n PointerEffectTypeWithLiterals,\n TextAlignmentWithLiterals,\n LineCapWithLiterals,\n LineStyleWithLiterals,\n WidthWithLiterals,\n DividerDataAlignmentWithLiterals,\n ViewModeWithLiterals,\n LayoutTypeWithLiterals,\n OrientationWithLiterals,\n CropWithLiterals,\n ThumbnailsAlignmentWithLiterals,\n GIFTypeWithLiterals,\n SourceWithLiterals,\n StylesPositionWithLiterals,\n MapTypeWithLiterals,\n ViewRoleWithLiterals,\n VoteRoleWithLiterals,\n PollLayoutTypeWithLiterals,\n PollLayoutDirectionWithLiterals,\n PollDesignBackgroundTypeWithLiterals,\n DecorationTypeWithLiterals,\n FontTypeWithLiterals,\n VariantWithLiterals,\n PositionWithLiterals,\n AspectRatioWithLiterals,\n ResizingWithLiterals,\n PlacementWithLiterals,\n CardStylesTypeWithLiterals,\n AlignmentWithLiterals,\n LayoutWithLiterals,\n AppTypeWithLiterals,\n InitialExpandedItemsWithLiterals,\n DirectionWithLiterals,\n VerticalAlignmentWithLiterals,\n NullValueWithLiterals,\n ImageScalingScalingWithLiterals,\n ImagePositionWithLiterals,\n LayoutDataBackgroundTypeWithLiterals,\n OriginWithLiterals,\n BannerPositionWithLiterals,\n LayerEffectWithLiterals,\n ShapeWithLiterals,\n BackdropTypeWithLiterals,\n VerticalAlignmentAlignmentWithLiterals,\n ResponsivenessBehaviourWithLiterals,\n DesignTargetWithLiterals,\n ScalingWithLiterals,\n ImagePositionPositionWithLiterals,\n CardDataBackgroundTypeWithLiterals,\n ListStyleWithLiterals,\n IndentationWithLiterals,\n SmartBlockDataTypeWithLiterals,\n ColumnSizeWithLiterals,\n BadgeTypeTypeWithLiterals,\n RequestedFieldsWithLiterals,\n UpdaterIdentityWithLiterals,\n PublishStatusWithLiterals,\n CommonSortOrderWithLiterals,\n SortOrderWithLiterals,\n RelationWithLiterals,\n WebhookIdentityTypeWithLiterals,\n CreateEventApplicationErrors,\n CreateEventValidationErrors,\n UpdateEventApplicationErrors,\n UpdateEventValidationErrors,\n PublishDraftEventApplicationErrors,\n CancelEventApplicationErrors,\n QueryEventsApplicationErrors,\n CountEventsByStatusApplicationErrors,\n CommonQueryWithEntityContext,\n EventQuery,\n} from './events-v3-event-wix-events-v-2.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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;AAC1D,IAAMC,uBAGK,2DAAiBA,oBAAyB;AACrD,IAAMC,wBAGK,2DAAiBA,qBAA0B;AACtD,IAAMC,YAEK,2DAAiBA,SAAc;AAC1C,IAAMC,kBAEK,2DAAiBA,eAAoB;AAChD,IAAMb,eAEK,2DAAiB,iBAAiB;AAI7C,IAAMc,mBAGkC;AAAA,EAC7C;AACF;AAIO,IAAMC,iBAEG,uEAAkB,aAAmB;AAI9C,IAAMC,kBAEG,uEAAkB,cAAoB;AAI/C,IAAMC,kBAEG,uEAAkB,cAAoB;AAI/C,IAAMC,gBAEG,uEAAkB,YAAkB;AAI7C,IAAMC,oBAGmC;AAAA,EAC9C;AACF;AAUO,IAAMC,mBAGkC;AAAA,EAC7C;AACF;AAIO,IAAMC,kBAEG,uEAAkB,cAAoB;AAI/C,IAAMC,kBAEG,uEAAkB,cAAoB;","names":["bulkCancelEventsByFilter","bulkDeleteEventsByFilter","cancelEvent","cloneEvent","countEventsByStatus","createEvent","deleteEvent","getEvent","getEventBySlug","listEventsByCategory","onEventCanceled","onEventCloned","onEventCreated","onEventDeleted","onEventEnded","onEventPublished","onEventReminder","onEventStarted","onEventUpdated","publishDraftEvent","queryEvents","updateEvent","import_rename_all_nested_keys","import_address","import_float","import_image","import_page_url","import_timestamp","import_transform_paths","import_float","import_timestamp","import_rest_modules","payload","import_address","import_image","import_page_url","import_transform_paths","LocationType","SubdivisionType","RecurrenceStatusStatus","Status","RegistrationTypeType","RegistrationStatusStatus","ResponseType","TaxType","CheckoutType","GuestTypeType","InitialRegistrationTypeType","InputControlType","ValueType","ActorType","ConferenceTypeType","Type","NodeType","BackgroundType","GradientType","WidthType","PluginContainerDataAlignment","ButtonDataType","Target","AnimationType","EntranceEffectType","LoopEffectType","PointerEffectType","TextAlignment","LineCap","LineStyle","Width","DividerDataAlignment","ViewMode","LayoutType","Orientation","Crop","ThumbnailsAlignment","GIFType","Source","StylesPosition","MapType","ViewRole","VoteRole","PollLayoutType","PollLayoutDirection","PollDesignBackgroundType","DecorationType","FontType","Variant","Position","AspectRatio","Resizing","Placement","CardStylesType","Alignment","Layout","AppType","InitialExpandedItems","Direction","VerticalAlignment","NullValue","ImageScalingScaling","ImagePosition","LayoutDataBackgroundType","Origin","BannerPosition","LayerEffect","Shape","BackdropType","VerticalAlignmentAlignment","ResponsivenessBehaviour","DesignTarget","Scaling","ImagePositionPosition","CardDataBackgroundType","ListStyle","Indentation","SmartBlockDataType","ColumnSize","BadgeTypeType","RequestedFields","UpdaterIdentity","PublishStatus","CommonSortOrder","SortOrder","Relation","WebhookIdentityType","createEvent","sdkTransformError","cloneEvent","updateEvent","publishDraftEvent","cancelEvent","bulkCancelEventsByFilter","deleteEvent","bulkDeleteEventsByFilter","queryEvents","countEventsByStatus","listEventsByCategory","getEvent","getEventBySlug","createEvent","cloneEvent","updateEvent","publishDraftEvent","cancelEvent","bulkCancelEventsByFilter","deleteEvent","bulkDeleteEventsByFilter","queryEvents","typedQueryEvents","countEventsByStatus","listEventsByCategory","getEvent","getEventBySlug","import_rest_modules","queryEvents","typedQueryEvents","createEvent","cloneEvent","updateEvent","publishDraftEvent","cancelEvent","bulkCancelEventsByFilter","deleteEvent","bulkDeleteEventsByFilter","countEventsByStatus","listEventsByCategory","getEvent","getEventBySlug","onEventCanceled","onEventCloned","onEventCreated","onEventDeleted","onEventEnded","onEventPublished","onEventReminder","onEventStarted","onEventUpdated"]}
1
+ {"version":3,"sources":["../../index.ts","../../src/events-v3-event-wix-events-v-2.public.ts","../../src/events-v3-event-wix-events-v-2.universal.ts","../../src/events-v3-event-wix-events-v-2.http.ts","../../src/events-v3-event-wix-events-v-2.context.ts"],"sourcesContent":["export * from './src/events-v3-event-wix-events-v-2.context.js';\n","import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { transformRESTAddressToSDKAddress } from '@wix/sdk-runtime/transformations/address';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTImageToSDKImage } from '@wix/sdk-runtime/transformations/image';\nimport { transformRESTPageURLToSDKPageURL } from '@wix/sdk-runtime/transformations/page-url';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { EventDefinition, HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n BulkCancelEventsByFilterOptions,\n BulkDeleteEventsByFilterOptions,\n CancelEventApplicationErrors,\n CancelEventOptions,\n CancelEventResponse,\n CloneEventOptions,\n CloneEventResponse,\n CountEventsByStatusApplicationErrors,\n CountEventsByStatusOptions,\n CountEventsByStatusResponse,\n CreateEventApplicationErrors,\n CreateEventOptions,\n CreateEventValidationErrors,\n DeleteEventResponse,\n Event,\n EventCanceledEnvelope,\n EventClonedEnvelope,\n EventCreatedEnvelope,\n EventDeletedEnvelope,\n EventEndedEnvelope,\n EventPublishedEnvelope,\n EventQuery,\n EventReminderEnvelope,\n EventStartedEnvelope,\n EventUpdatedEnvelope,\n EventsQueryBuilder,\n GetEventBySlugOptions,\n GetEventBySlugResponse,\n GetEventOptions,\n ListEventsByCategoryOptions,\n ListEventsByCategoryResponse,\n PublishDraftEventApplicationErrors,\n PublishDraftEventOptions,\n PublishDraftEventResponse,\n QueryEventsApplicationErrors,\n QueryEventsOptions,\n QueryEventsResponse,\n UpdateEventApplicationErrors,\n UpdateEventOptions,\n UpdateEventValidationErrors,\n bulkCancelEventsByFilter as universalBulkCancelEventsByFilter,\n bulkDeleteEventsByFilter as universalBulkDeleteEventsByFilter,\n cancelEvent as universalCancelEvent,\n cloneEvent as universalCloneEvent,\n countEventsByStatus as universalCountEventsByStatus,\n createEvent as universalCreateEvent,\n deleteEvent as universalDeleteEvent,\n getEvent as universalGetEvent,\n getEventBySlug as universalGetEventBySlug,\n listEventsByCategory as universalListEventsByCategory,\n publishDraftEvent as universalPublishDraftEvent,\n queryEvents as universalQueryEvents,\n typedQueryEvents as universalTypedQueryEvents,\n updateEvent as universalUpdateEvent,\n} from './events-v3-event-wix-events-v-2.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/events' };\n\nexport function createEvent(httpClient: HttpClient): CreateEventSignature {\n return (\n event: NonNullablePaths<\n Event,\n `dateAndTimeSettings` | `location` | `registration.initialType` | `title`,\n 3\n >,\n options?: CreateEventOptions\n ) =>\n universalCreateEvent(\n event,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CreateEventSignature {\n /**\n * Creates an event. <br> <br>\n * The event includes a default registration form in the selected language, which consists of input fields for first name, last name, and email. See the [Registration Form API](https://dev.wix.com/docs/rest/business-solutions/events/form/about-the-registration-form-api) for more information. <br> <br>\n * You can create the event as a draft by setting `draft` to `true`. Otherwise, the event is published right away. <br> <br>\n * To create a recurring event, set `individualEventDates` in the `dateAndTimeSettings.recurringEvents` object. <br> <br>\n * The event is automatically set up to send daily summary reports of new guests to your business email.\n * @param - Event data.\n * @param - Optional fields.\n * @returns Created event.\n */\n (\n event: NonNullablePaths<\n Event,\n `dateAndTimeSettings` | `location` | `registration.initialType` | `title`,\n 3\n >,\n options?: CreateEventOptions\n ): Promise<\n NonNullablePaths<\n Event,\n | `_id`\n | `location.type`\n | `location.address.streetAddress.number`\n | `location.address.streetAddress.name`\n | `dateAndTimeSettings.recurrenceStatus`\n | `dateAndTimeSettings.recurringEvents.individualEventDates`\n | `dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `slug`\n | `status`\n | `registration.type`\n | `registration.status`\n | `registration.rsvp.responseType`\n | `registration.rsvp.waitlistEnabled`\n | `registration.tickets.guestsAssignedSeparately`\n | `registration.tickets.ticketLimitPerOrder`\n | `registration.tickets.lowestPrice.value`\n | `registration.tickets.lowestPrice.currency`\n | `registration.tickets.taxSettings.type`\n | `registration.allowedGuestTypes`\n | `registration.initialType`\n | `registration.registrationPaused`\n | `registration.registrationDisabled`\n | `calendarUrls.google`\n | `calendarUrls.ics`\n | `form.controls`\n | `form.controls.${number}.type`\n | `form.controls.${number}.system`\n | `form.controls.${number}.name`\n | `form.controls.${number}.label`\n | `form.controls.${number}.orderIndex`\n | `form.controls.${number}._id`\n | `form.messages.rsvp.rsvpYesOption`\n | `form.messages.rsvp.rsvpNoOption`\n | `form.messages.rsvp.positiveMessages.title`\n | `form.messages.rsvp.positiveMessages.confirmation.title`\n | `form.messages.rsvp.positiveMessages.confirmation.message`\n | `form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.negativeMessages.title`\n | `form.messages.rsvp.negativeMessages.confirmation.title`\n | `form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.submitActionLabel`\n | `form.messages.checkout.title`\n | `form.messages.checkout.submitActionLabel`\n | `form.messages.checkout.confirmation.title`\n | `form.messages.checkout.confirmation.message`\n | `form.messages.checkout.confirmation.downloadTicketsLabel`\n | `form.messages.checkout.confirmation.addToCalendarLabel`\n | `form.messages.checkout.confirmation.shareEventLabel`\n | `form.messages.registrationClosed.message`\n | `form.messages.registrationClosed.exploreEventsActionLabel`\n | `form.messages.ticketsUnavailable.message`\n | `form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `summaries.rsvps.totalCount`\n | `summaries.rsvps.yesCount`\n | `summaries.rsvps.noCount`\n | `summaries.rsvps.waitlistCount`\n | `summaries.tickets.ticketsSold`\n | `summaries.tickets.revenue.amount`\n | `summaries.tickets.revenue.currency`\n | `summaries.tickets.currencyLocked`\n | `summaries.tickets.totalOrders`\n | `summaries.cancellation.actorType`\n | `summaries.cancellation.actorName`\n | `summaries.cancellation.actorEmail`\n | `instanceId`\n | `guestListSettings.displayedPublicly`\n | `userId`\n | `onlineConferencing.enabled`\n | `onlineConferencing.type`\n | `onlineConferencing.session.hostLink`\n | `onlineConferencing.session.guestLink`\n | `seoSettings.slug`\n | `seoSettings.advancedSeoData.tags`\n | `seoSettings.advancedSeoData.tags.${number}.type`\n | `seoSettings.advancedSeoData.tags.${number}.children`\n | `seoSettings.advancedSeoData.tags.${number}.custom`\n | `seoSettings.advancedSeoData.tags.${number}.disabled`\n | `seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `seoSettings.advancedSeoData.settings.keywords`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `agendaSettings.enabled`,\n 7\n > & {\n __applicationErrorsType?: CreateEventApplicationErrors;\n __validationErrorsType?: CreateEventValidationErrors;\n }\n >;\n}\n\nexport function cloneEvent(httpClient: HttpClient): CloneEventSignature {\n return (eventId: string, options?: CloneEventOptions) =>\n universalCloneEvent(\n eventId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CloneEventSignature {\n /**\n * Clones an event, including the registration form, notifications, multilingual translations and ticket configuration from the original event. <br> <br>\n * The new event's date is automatically set to 14 days from the original event date. <br> <br>\n * If an event with the same `title` already exists, the new event's `title` gets a sequence number. For example, if you clone an event named `\"Leather Crafting 101\"`, the new event's title is `\"Leather Crafting 101 (1)\"`. <br> <br>\n * You can change the required entity field values while cloning an event.\n * @param - Event ID.\n * @param - Optional fields.\n */\n (eventId: string, options?: CloneEventOptions): Promise<\n NonNullablePaths<\n CloneEventResponse,\n | `event._id`\n | `event.location.type`\n | `event.location.address.streetAddress.number`\n | `event.location.address.streetAddress.name`\n | `event.dateAndTimeSettings.recurrenceStatus`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `event.slug`\n | `event.status`\n | `event.registration.type`\n | `event.registration.status`\n | `event.registration.rsvp.responseType`\n | `event.registration.rsvp.waitlistEnabled`\n | `event.registration.tickets.guestsAssignedSeparately`\n | `event.registration.tickets.ticketLimitPerOrder`\n | `event.registration.tickets.lowestPrice.value`\n | `event.registration.tickets.lowestPrice.currency`\n | `event.registration.tickets.taxSettings.type`\n | `event.registration.allowedGuestTypes`\n | `event.registration.initialType`\n | `event.registration.registrationPaused`\n | `event.registration.registrationDisabled`\n | `event.calendarUrls.google`\n | `event.calendarUrls.ics`\n | `event.form.controls`\n | `event.form.controls.${number}.type`\n | `event.form.controls.${number}.system`\n | `event.form.controls.${number}.name`\n | `event.form.controls.${number}.label`\n | `event.form.controls.${number}.orderIndex`\n | `event.form.controls.${number}._id`\n | `event.form.messages.rsvp.rsvpYesOption`\n | `event.form.messages.rsvp.rsvpNoOption`\n | `event.form.messages.rsvp.positiveMessages.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.message`\n | `event.form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `event.form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.negativeMessages.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.submitActionLabel`\n | `event.form.messages.checkout.title`\n | `event.form.messages.checkout.submitActionLabel`\n | `event.form.messages.checkout.confirmation.title`\n | `event.form.messages.checkout.confirmation.message`\n | `event.form.messages.checkout.confirmation.downloadTicketsLabel`\n | `event.form.messages.checkout.confirmation.addToCalendarLabel`\n | `event.form.messages.checkout.confirmation.shareEventLabel`\n | `event.form.messages.registrationClosed.message`\n | `event.form.messages.registrationClosed.exploreEventsActionLabel`\n | `event.form.messages.ticketsUnavailable.message`\n | `event.form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `event.summaries.rsvps.totalCount`\n | `event.summaries.rsvps.yesCount`\n | `event.summaries.rsvps.noCount`\n | `event.summaries.rsvps.waitlistCount`\n | `event.summaries.tickets.ticketsSold`\n | `event.summaries.tickets.revenue.amount`\n | `event.summaries.tickets.revenue.currency`\n | `event.summaries.tickets.currencyLocked`\n | `event.summaries.tickets.totalOrders`\n | `event.summaries.cancellation.actorType`\n | `event.summaries.cancellation.actorName`\n | `event.summaries.cancellation.actorEmail`\n | `event.instanceId`\n | `event.guestListSettings.displayedPublicly`\n | `event.userId`\n | `event.onlineConferencing.enabled`\n | `event.onlineConferencing.type`\n | `event.onlineConferencing.session.hostLink`\n | `event.onlineConferencing.session.guestLink`\n | `event.seoSettings.slug`\n | `event.seoSettings.advancedSeoData.tags`\n | `event.seoSettings.advancedSeoData.tags.${number}.type`\n | `event.seoSettings.advancedSeoData.tags.${number}.children`\n | `event.seoSettings.advancedSeoData.tags.${number}.custom`\n | `event.seoSettings.advancedSeoData.tags.${number}.disabled`\n | `event.seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `event.seoSettings.advancedSeoData.settings.keywords`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `event.agendaSettings.enabled`,\n 8\n >\n >;\n}\n\nexport function updateEvent(httpClient: HttpClient): UpdateEventSignature {\n return (_id: string, options?: UpdateEventOptions) =>\n universalUpdateEvent(\n _id,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface UpdateEventSignature {\n /**\n * Updates an event.\n * @param - Event ID.\n * @param - Optional fields.\n * @returns Updated event.\n */\n (_id: string, options?: UpdateEventOptions): Promise<\n NonNullablePaths<\n Event,\n | `_id`\n | `location.type`\n | `location.address.streetAddress.number`\n | `location.address.streetAddress.name`\n | `dateAndTimeSettings.recurrenceStatus`\n | `dateAndTimeSettings.recurringEvents.individualEventDates`\n | `dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `slug`\n | `status`\n | `registration.type`\n | `registration.status`\n | `registration.rsvp.responseType`\n | `registration.rsvp.waitlistEnabled`\n | `registration.tickets.guestsAssignedSeparately`\n | `registration.tickets.ticketLimitPerOrder`\n | `registration.tickets.lowestPrice.value`\n | `registration.tickets.lowestPrice.currency`\n | `registration.tickets.taxSettings.type`\n | `registration.allowedGuestTypes`\n | `registration.initialType`\n | `registration.registrationPaused`\n | `registration.registrationDisabled`\n | `calendarUrls.google`\n | `calendarUrls.ics`\n | `form.controls`\n | `form.controls.${number}.type`\n | `form.controls.${number}.system`\n | `form.controls.${number}.name`\n | `form.controls.${number}.label`\n | `form.controls.${number}.orderIndex`\n | `form.controls.${number}._id`\n | `form.messages.rsvp.rsvpYesOption`\n | `form.messages.rsvp.rsvpNoOption`\n | `form.messages.rsvp.positiveMessages.title`\n | `form.messages.rsvp.positiveMessages.confirmation.title`\n | `form.messages.rsvp.positiveMessages.confirmation.message`\n | `form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.negativeMessages.title`\n | `form.messages.rsvp.negativeMessages.confirmation.title`\n | `form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.submitActionLabel`\n | `form.messages.checkout.title`\n | `form.messages.checkout.submitActionLabel`\n | `form.messages.checkout.confirmation.title`\n | `form.messages.checkout.confirmation.message`\n | `form.messages.checkout.confirmation.downloadTicketsLabel`\n | `form.messages.checkout.confirmation.addToCalendarLabel`\n | `form.messages.checkout.confirmation.shareEventLabel`\n | `form.messages.registrationClosed.message`\n | `form.messages.registrationClosed.exploreEventsActionLabel`\n | `form.messages.ticketsUnavailable.message`\n | `form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `summaries.rsvps.totalCount`\n | `summaries.rsvps.yesCount`\n | `summaries.rsvps.noCount`\n | `summaries.rsvps.waitlistCount`\n | `summaries.tickets.ticketsSold`\n | `summaries.tickets.revenue.amount`\n | `summaries.tickets.revenue.currency`\n | `summaries.tickets.currencyLocked`\n | `summaries.tickets.totalOrders`\n | `summaries.cancellation.actorType`\n | `summaries.cancellation.actorName`\n | `summaries.cancellation.actorEmail`\n | `instanceId`\n | `guestListSettings.displayedPublicly`\n | `userId`\n | `onlineConferencing.enabled`\n | `onlineConferencing.type`\n | `onlineConferencing.session.hostLink`\n | `onlineConferencing.session.guestLink`\n | `seoSettings.slug`\n | `seoSettings.advancedSeoData.tags`\n | `seoSettings.advancedSeoData.tags.${number}.type`\n | `seoSettings.advancedSeoData.tags.${number}.children`\n | `seoSettings.advancedSeoData.tags.${number}.custom`\n | `seoSettings.advancedSeoData.tags.${number}.disabled`\n | `seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `seoSettings.advancedSeoData.settings.keywords`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `agendaSettings.enabled`,\n 7\n > & {\n __applicationErrorsType?: UpdateEventApplicationErrors;\n __validationErrorsType?: UpdateEventValidationErrors;\n }\n >;\n}\n\nexport function publishDraftEvent(\n httpClient: HttpClient\n): PublishDraftEventSignature {\n return (eventId: string, options?: PublishDraftEventOptions) =>\n universalPublishDraftEvent(\n eventId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface PublishDraftEventSignature {\n /**\n * Publishes a draft event to your live site. Once published, the event's status changes from `\"DRAFT\"` to `\"UPCOMING\"`. <br> <br>\n * It's impossible to revert the `\"DRAFT\"` status after publishing. The only option is to clone the event, then delete the original.\n * @param - Event ID.\n * @param - Optional fields.\n */\n (eventId: string, options?: PublishDraftEventOptions): Promise<\n NonNullablePaths<\n PublishDraftEventResponse,\n | `event._id`\n | `event.location.type`\n | `event.location.address.streetAddress.number`\n | `event.location.address.streetAddress.name`\n | `event.dateAndTimeSettings.recurrenceStatus`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `event.slug`\n | `event.status`\n | `event.registration.type`\n | `event.registration.status`\n | `event.registration.rsvp.responseType`\n | `event.registration.rsvp.waitlistEnabled`\n | `event.registration.tickets.guestsAssignedSeparately`\n | `event.registration.tickets.ticketLimitPerOrder`\n | `event.registration.tickets.lowestPrice.value`\n | `event.registration.tickets.lowestPrice.currency`\n | `event.registration.tickets.taxSettings.type`\n | `event.registration.allowedGuestTypes`\n | `event.registration.initialType`\n | `event.registration.registrationPaused`\n | `event.registration.registrationDisabled`\n | `event.calendarUrls.google`\n | `event.calendarUrls.ics`\n | `event.form.controls`\n | `event.form.controls.${number}.type`\n | `event.form.controls.${number}.system`\n | `event.form.controls.${number}.name`\n | `event.form.controls.${number}.label`\n | `event.form.controls.${number}.orderIndex`\n | `event.form.controls.${number}._id`\n | `event.form.messages.rsvp.rsvpYesOption`\n | `event.form.messages.rsvp.rsvpNoOption`\n | `event.form.messages.rsvp.positiveMessages.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.message`\n | `event.form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `event.form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.negativeMessages.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.submitActionLabel`\n | `event.form.messages.checkout.title`\n | `event.form.messages.checkout.submitActionLabel`\n | `event.form.messages.checkout.confirmation.title`\n | `event.form.messages.checkout.confirmation.message`\n | `event.form.messages.checkout.confirmation.downloadTicketsLabel`\n | `event.form.messages.checkout.confirmation.addToCalendarLabel`\n | `event.form.messages.checkout.confirmation.shareEventLabel`\n | `event.form.messages.registrationClosed.message`\n | `event.form.messages.registrationClosed.exploreEventsActionLabel`\n | `event.form.messages.ticketsUnavailable.message`\n | `event.form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `event.summaries.rsvps.totalCount`\n | `event.summaries.rsvps.yesCount`\n | `event.summaries.rsvps.noCount`\n | `event.summaries.rsvps.waitlistCount`\n | `event.summaries.tickets.ticketsSold`\n | `event.summaries.tickets.revenue.amount`\n | `event.summaries.tickets.revenue.currency`\n | `event.summaries.tickets.currencyLocked`\n | `event.summaries.tickets.totalOrders`\n | `event.summaries.cancellation.actorType`\n | `event.summaries.cancellation.actorName`\n | `event.summaries.cancellation.actorEmail`\n | `event.instanceId`\n | `event.guestListSettings.displayedPublicly`\n | `event.userId`\n | `event.onlineConferencing.enabled`\n | `event.onlineConferencing.type`\n | `event.onlineConferencing.session.hostLink`\n | `event.onlineConferencing.session.guestLink`\n | `event.seoSettings.slug`\n | `event.seoSettings.advancedSeoData.tags`\n | `event.seoSettings.advancedSeoData.tags.${number}.type`\n | `event.seoSettings.advancedSeoData.tags.${number}.children`\n | `event.seoSettings.advancedSeoData.tags.${number}.custom`\n | `event.seoSettings.advancedSeoData.tags.${number}.disabled`\n | `event.seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `event.seoSettings.advancedSeoData.settings.keywords`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `event.agendaSettings.enabled`,\n 8\n > & {\n __applicationErrorsType?: PublishDraftEventApplicationErrors;\n }\n >;\n}\n\nexport function cancelEvent(httpClient: HttpClient): CancelEventSignature {\n return (eventId: string, options?: CancelEventOptions) =>\n universalCancelEvent(\n eventId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CancelEventSignature {\n /**\n * Cancels an event. <br> <br>\n * After cancellation, registration for an event is closed. To reuse the event, call Clone Event and Publish Event to publish it again. <br> <br>\n * If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.\n * @param - Event ID.\n * @param - Optional fields.\n */\n (eventId: string, options?: CancelEventOptions): Promise<\n NonNullablePaths<\n CancelEventResponse,\n | `event._id`\n | `event.location.type`\n | `event.location.address.streetAddress.number`\n | `event.location.address.streetAddress.name`\n | `event.dateAndTimeSettings.recurrenceStatus`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `event.slug`\n | `event.status`\n | `event.registration.type`\n | `event.registration.status`\n | `event.registration.rsvp.responseType`\n | `event.registration.rsvp.waitlistEnabled`\n | `event.registration.tickets.guestsAssignedSeparately`\n | `event.registration.tickets.ticketLimitPerOrder`\n | `event.registration.tickets.lowestPrice.value`\n | `event.registration.tickets.lowestPrice.currency`\n | `event.registration.tickets.taxSettings.type`\n | `event.registration.allowedGuestTypes`\n | `event.registration.initialType`\n | `event.registration.registrationPaused`\n | `event.registration.registrationDisabled`\n | `event.calendarUrls.google`\n | `event.calendarUrls.ics`\n | `event.form.controls`\n | `event.form.controls.${number}.type`\n | `event.form.controls.${number}.system`\n | `event.form.controls.${number}.name`\n | `event.form.controls.${number}.label`\n | `event.form.controls.${number}.orderIndex`\n | `event.form.controls.${number}._id`\n | `event.form.messages.rsvp.rsvpYesOption`\n | `event.form.messages.rsvp.rsvpNoOption`\n | `event.form.messages.rsvp.positiveMessages.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.message`\n | `event.form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `event.form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.negativeMessages.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.submitActionLabel`\n | `event.form.messages.checkout.title`\n | `event.form.messages.checkout.submitActionLabel`\n | `event.form.messages.checkout.confirmation.title`\n | `event.form.messages.checkout.confirmation.message`\n | `event.form.messages.checkout.confirmation.downloadTicketsLabel`\n | `event.form.messages.checkout.confirmation.addToCalendarLabel`\n | `event.form.messages.checkout.confirmation.shareEventLabel`\n | `event.form.messages.registrationClosed.message`\n | `event.form.messages.registrationClosed.exploreEventsActionLabel`\n | `event.form.messages.ticketsUnavailable.message`\n | `event.form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `event.summaries.rsvps.totalCount`\n | `event.summaries.rsvps.yesCount`\n | `event.summaries.rsvps.noCount`\n | `event.summaries.rsvps.waitlistCount`\n | `event.summaries.tickets.ticketsSold`\n | `event.summaries.tickets.revenue.amount`\n | `event.summaries.tickets.revenue.currency`\n | `event.summaries.tickets.currencyLocked`\n | `event.summaries.tickets.totalOrders`\n | `event.summaries.cancellation.actorType`\n | `event.summaries.cancellation.actorName`\n | `event.summaries.cancellation.actorEmail`\n | `event.instanceId`\n | `event.guestListSettings.displayedPublicly`\n | `event.userId`\n | `event.onlineConferencing.enabled`\n | `event.onlineConferencing.type`\n | `event.onlineConferencing.session.hostLink`\n | `event.onlineConferencing.session.guestLink`\n | `event.seoSettings.slug`\n | `event.seoSettings.advancedSeoData.tags`\n | `event.seoSettings.advancedSeoData.tags.${number}.type`\n | `event.seoSettings.advancedSeoData.tags.${number}.children`\n | `event.seoSettings.advancedSeoData.tags.${number}.custom`\n | `event.seoSettings.advancedSeoData.tags.${number}.disabled`\n | `event.seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `event.seoSettings.advancedSeoData.settings.keywords`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `event.agendaSettings.enabled`,\n 8\n > & {\n __applicationErrorsType?: CancelEventApplicationErrors;\n }\n >;\n}\n\nexport function bulkCancelEventsByFilter(\n httpClient: HttpClient\n): BulkCancelEventsByFilterSignature {\n return (\n options?: NonNullablePaths<\n BulkCancelEventsByFilterOptions,\n `filter.filter`,\n 3\n >\n ) =>\n universalBulkCancelEventsByFilter(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkCancelEventsByFilterSignature {\n /**\n * Cancels multiple events that meet the specified criteria. <br> <br>\n * After cancellation, registration for an event is closed. To reuse the event, call Clone Event and Publish Event to publish it again. <br> <br>\n * If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.\n * @param - Optional fields.\n */\n (\n options?: NonNullablePaths<\n BulkCancelEventsByFilterOptions,\n `filter.filter`,\n 3\n >\n ): Promise<void>;\n}\n\nexport function deleteEvent(httpClient: HttpClient): DeleteEventSignature {\n return (eventId: string) =>\n universalDeleteEvent(\n eventId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface DeleteEventSignature {\n /**\n * Deletes an event. <br> <br>\n * You can retrieve the deleted event through a GDPR access request.\n * @param - Event ID.\n */\n (eventId: string): Promise<\n NonNullablePaths<DeleteEventResponse, `eventId`, 2>\n >;\n}\n\nexport function bulkDeleteEventsByFilter(\n httpClient: HttpClient\n): BulkDeleteEventsByFilterSignature {\n return (\n options?: NonNullablePaths<\n BulkDeleteEventsByFilterOptions,\n `filter.filter`,\n 3\n >\n ) =>\n universalBulkDeleteEventsByFilter(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkDeleteEventsByFilterSignature {\n /**\n * Deletes multiple events that meet the specified criteria. <br> <br>\n * You can retrieve the deleted events through a GDPR access request.\n * @param - Optional fields.\n */\n (\n options?: NonNullablePaths<\n BulkDeleteEventsByFilterOptions,\n `filter.filter`,\n 3\n >\n ): Promise<void>;\n}\n\nexport function queryEvents(httpClient: HttpClient): QueryEventsSignature {\n return (options?: QueryEventsOptions) =>\n universalQueryEvents(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface QueryEventsSignature {\n /**\n * Creates a query to retrieve a list of events.\n *\n *\n * The `queryEvents()` method builds a query to retrieve a list of events and returns a [`EventsQueryBuilder`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder) object.\n *\n * The returned object contains the query definition, which is typically used to run the query using the [`find()`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/find) method.\n *\n * You can refine the query by chaining `EventsQueryBuilder` methods onto the query. `EventsQueryBuilder` methods enable you to sort, filter, and control the results `queryEvents()` returns.\n *\n * `queryEvents()` runs with these `EventsQueryBuilder` defaults, which you can override:\n *\n * - [`skip(0)`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/skip)\n * - [`limit(50)`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/limit)\n * - [`descending(\"_createdDate\")`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/descending)\n *\n * The methods that are chained to `queryEvents()` are applied in the order they're called. For example, if you apply `ascending('title')` and then `descending('status')`, the results are sorted first by the `title`, and then, if there are multiple results with the same `title`, the items are sorted by `status`.\n * @param - Optional fields.\n */\n (options?: QueryEventsOptions): EventsQueryBuilder;\n}\n\nexport function typedQueryEvents(\n httpClient: HttpClient\n): TypedQueryEventsSignature {\n return (query: EventQuery, options?: QueryEventsOptions) =>\n universalTypedQueryEvents(\n query,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface TypedQueryEventsSignature {\n /** */\n (query: EventQuery, options?: QueryEventsOptions): Promise<\n NonNullablePaths<\n QueryEventsResponse,\n | `events`\n | `events.${number}._id`\n | `events.${number}.location.type`\n | `events.${number}.dateAndTimeSettings.recurrenceStatus`\n | `events.${number}.slug`\n | `events.${number}.status`\n | `events.${number}.registration.type`\n | `events.${number}.registration.status`\n | `events.${number}.registration.rsvp.responseType`\n | `events.${number}.registration.rsvp.waitlistEnabled`\n | `events.${number}.registration.tickets.guestsAssignedSeparately`\n | `events.${number}.registration.tickets.ticketLimitPerOrder`\n | `events.${number}.registration.allowedGuestTypes`\n | `events.${number}.registration.initialType`\n | `events.${number}.registration.registrationPaused`\n | `events.${number}.registration.registrationDisabled`\n | `events.${number}.calendarUrls.google`\n | `events.${number}.calendarUrls.ics`\n | `events.${number}.summaries.rsvps.totalCount`\n | `events.${number}.summaries.rsvps.yesCount`\n | `events.${number}.summaries.rsvps.noCount`\n | `events.${number}.summaries.rsvps.waitlistCount`\n | `events.${number}.summaries.tickets.ticketsSold`\n | `events.${number}.summaries.tickets.currencyLocked`\n | `events.${number}.summaries.tickets.totalOrders`\n | `events.${number}.summaries.cancellation.actorType`\n | `events.${number}.summaries.cancellation.actorName`\n | `events.${number}.summaries.cancellation.actorEmail`\n | `events.${number}.instanceId`\n | `events.${number}.guestListSettings.displayedPublicly`\n | `events.${number}.userId`\n | `events.${number}.onlineConferencing.enabled`\n | `events.${number}.onlineConferencing.type`\n | `events.${number}.onlineConferencing.session.hostLink`\n | `events.${number}.onlineConferencing.session.guestLink`\n | `events.${number}.seoSettings.slug`\n | `events.${number}.agendaSettings.enabled`,\n 6\n > & {\n __applicationErrorsType?: QueryEventsApplicationErrors;\n }\n >;\n}\n\nexport function countEventsByStatus(\n httpClient: HttpClient\n): CountEventsByStatusSignature {\n return (options?: CountEventsByStatusOptions) =>\n universalCountEventsByStatus(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CountEventsByStatusSignature {\n /**\n * Counts events by status.\n * @param - Optional fields.\n */\n (options?: CountEventsByStatusOptions): Promise<\n CountEventsByStatusResponse & {\n __applicationErrorsType?: CountEventsByStatusApplicationErrors;\n }\n >;\n}\n\nexport function listEventsByCategory(\n httpClient: HttpClient\n): ListEventsByCategorySignature {\n return (categoryId: string, options?: ListEventsByCategoryOptions) =>\n universalListEventsByCategory(\n categoryId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface ListEventsByCategorySignature {\n /**\n * Retrieves a list of up to 100 events that belong to the same event category.\n * @param - Category ID.\n * @param - Optional fields.\n */\n (categoryId: string, options?: ListEventsByCategoryOptions): Promise<\n NonNullablePaths<\n ListEventsByCategoryResponse,\n | `events`\n | `events.${number}._id`\n | `events.${number}.location.type`\n | `events.${number}.dateAndTimeSettings.recurrenceStatus`\n | `events.${number}.slug`\n | `events.${number}.status`\n | `events.${number}.registration.type`\n | `events.${number}.registration.status`\n | `events.${number}.registration.rsvp.responseType`\n | `events.${number}.registration.rsvp.waitlistEnabled`\n | `events.${number}.registration.tickets.guestsAssignedSeparately`\n | `events.${number}.registration.tickets.ticketLimitPerOrder`\n | `events.${number}.registration.allowedGuestTypes`\n | `events.${number}.registration.initialType`\n | `events.${number}.registration.registrationPaused`\n | `events.${number}.registration.registrationDisabled`\n | `events.${number}.calendarUrls.google`\n | `events.${number}.calendarUrls.ics`\n | `events.${number}.summaries.rsvps.totalCount`\n | `events.${number}.summaries.rsvps.yesCount`\n | `events.${number}.summaries.rsvps.noCount`\n | `events.${number}.summaries.rsvps.waitlistCount`\n | `events.${number}.summaries.tickets.ticketsSold`\n | `events.${number}.summaries.tickets.currencyLocked`\n | `events.${number}.summaries.tickets.totalOrders`\n | `events.${number}.summaries.cancellation.actorType`\n | `events.${number}.summaries.cancellation.actorName`\n | `events.${number}.summaries.cancellation.actorEmail`\n | `events.${number}.instanceId`\n | `events.${number}.guestListSettings.displayedPublicly`\n | `events.${number}.userId`\n | `events.${number}.onlineConferencing.enabled`\n | `events.${number}.onlineConferencing.type`\n | `events.${number}.onlineConferencing.session.hostLink`\n | `events.${number}.onlineConferencing.session.guestLink`\n | `events.${number}.seoSettings.slug`\n | `events.${number}.agendaSettings.enabled`,\n 6\n >\n >;\n}\n\nexport function getEvent(httpClient: HttpClient): GetEventSignature {\n return (eventId: string, options?: GetEventOptions) =>\n universalGetEvent(\n eventId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetEventSignature {\n /**\n * Retrieves an event by ID.\n *\n * Specify `fields` to request specific fieldsets.\n * For example, `fields: [\"FORM\"]` includes the event's registration form definition in the response.\n * Use the returned input names, mandatory fields, and predefined options before\n * [creating an RSVP](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/create-rsvp).\n * @param - Event ID.\n * @param - Optional fields.\n * @returns Event.\n */\n (eventId: string, options?: GetEventOptions): Promise<\n NonNullablePaths<\n Event,\n | `_id`\n | `location.type`\n | `location.address.streetAddress.number`\n | `location.address.streetAddress.name`\n | `dateAndTimeSettings.recurrenceStatus`\n | `dateAndTimeSettings.recurringEvents.individualEventDates`\n | `dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `slug`\n | `status`\n | `registration.type`\n | `registration.status`\n | `registration.rsvp.responseType`\n | `registration.rsvp.waitlistEnabled`\n | `registration.tickets.guestsAssignedSeparately`\n | `registration.tickets.ticketLimitPerOrder`\n | `registration.tickets.lowestPrice.value`\n | `registration.tickets.lowestPrice.currency`\n | `registration.tickets.taxSettings.type`\n | `registration.allowedGuestTypes`\n | `registration.initialType`\n | `registration.registrationPaused`\n | `registration.registrationDisabled`\n | `calendarUrls.google`\n | `calendarUrls.ics`\n | `form.controls`\n | `form.controls.${number}.type`\n | `form.controls.${number}.system`\n | `form.controls.${number}.name`\n | `form.controls.${number}.label`\n | `form.controls.${number}.orderIndex`\n | `form.controls.${number}._id`\n | `form.messages.rsvp.rsvpYesOption`\n | `form.messages.rsvp.rsvpNoOption`\n | `form.messages.rsvp.positiveMessages.title`\n | `form.messages.rsvp.positiveMessages.confirmation.title`\n | `form.messages.rsvp.positiveMessages.confirmation.message`\n | `form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.negativeMessages.title`\n | `form.messages.rsvp.negativeMessages.confirmation.title`\n | `form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.submitActionLabel`\n | `form.messages.checkout.title`\n | `form.messages.checkout.submitActionLabel`\n | `form.messages.checkout.confirmation.title`\n | `form.messages.checkout.confirmation.message`\n | `form.messages.checkout.confirmation.downloadTicketsLabel`\n | `form.messages.checkout.confirmation.addToCalendarLabel`\n | `form.messages.checkout.confirmation.shareEventLabel`\n | `form.messages.registrationClosed.message`\n | `form.messages.registrationClosed.exploreEventsActionLabel`\n | `form.messages.ticketsUnavailable.message`\n | `form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `summaries.rsvps.totalCount`\n | `summaries.rsvps.yesCount`\n | `summaries.rsvps.noCount`\n | `summaries.rsvps.waitlistCount`\n | `summaries.tickets.ticketsSold`\n | `summaries.tickets.revenue.amount`\n | `summaries.tickets.revenue.currency`\n | `summaries.tickets.currencyLocked`\n | `summaries.tickets.totalOrders`\n | `summaries.cancellation.actorType`\n | `summaries.cancellation.actorName`\n | `summaries.cancellation.actorEmail`\n | `instanceId`\n | `guestListSettings.displayedPublicly`\n | `userId`\n | `onlineConferencing.enabled`\n | `onlineConferencing.type`\n | `onlineConferencing.session.hostLink`\n | `onlineConferencing.session.guestLink`\n | `seoSettings.slug`\n | `seoSettings.advancedSeoData.tags`\n | `seoSettings.advancedSeoData.tags.${number}.type`\n | `seoSettings.advancedSeoData.tags.${number}.children`\n | `seoSettings.advancedSeoData.tags.${number}.custom`\n | `seoSettings.advancedSeoData.tags.${number}.disabled`\n | `seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `seoSettings.advancedSeoData.settings.keywords`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `agendaSettings.enabled`,\n 7\n >\n >;\n}\n\nexport function getEventBySlug(\n httpClient: HttpClient\n): GetEventBySlugSignature {\n return (slug: string, options?: GetEventBySlugOptions) =>\n universalGetEventBySlug(\n slug,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetEventBySlugSignature {\n /**\n * Retrieves an event by the slug URL.\n *\n * The slug is the end of an event URL that refers to a specific event. For example, if an event's URL is `https://example.com/events/event/{my-event-slug}`, the slug is `my-event-slug`.\n * @param - URL slug.\n * @param - Optional fields.\n */\n (slug: string, options?: GetEventBySlugOptions): Promise<\n NonNullablePaths<\n GetEventBySlugResponse,\n | `event._id`\n | `event.location.type`\n | `event.location.address.streetAddress.number`\n | `event.location.address.streetAddress.name`\n | `event.dateAndTimeSettings.recurrenceStatus`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `event.slug`\n | `event.status`\n | `event.registration.type`\n | `event.registration.status`\n | `event.registration.rsvp.responseType`\n | `event.registration.rsvp.waitlistEnabled`\n | `event.registration.tickets.guestsAssignedSeparately`\n | `event.registration.tickets.ticketLimitPerOrder`\n | `event.registration.tickets.lowestPrice.value`\n | `event.registration.tickets.lowestPrice.currency`\n | `event.registration.tickets.taxSettings.type`\n | `event.registration.allowedGuestTypes`\n | `event.registration.initialType`\n | `event.registration.registrationPaused`\n | `event.registration.registrationDisabled`\n | `event.calendarUrls.google`\n | `event.calendarUrls.ics`\n | `event.form.controls`\n | `event.form.controls.${number}.type`\n | `event.form.controls.${number}.system`\n | `event.form.controls.${number}.name`\n | `event.form.controls.${number}.label`\n | `event.form.controls.${number}.orderIndex`\n | `event.form.controls.${number}._id`\n | `event.form.messages.rsvp.rsvpYesOption`\n | `event.form.messages.rsvp.rsvpNoOption`\n | `event.form.messages.rsvp.positiveMessages.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.message`\n | `event.form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `event.form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.negativeMessages.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.submitActionLabel`\n | `event.form.messages.checkout.title`\n | `event.form.messages.checkout.submitActionLabel`\n | `event.form.messages.checkout.confirmation.title`\n | `event.form.messages.checkout.confirmation.message`\n | `event.form.messages.checkout.confirmation.downloadTicketsLabel`\n | `event.form.messages.checkout.confirmation.addToCalendarLabel`\n | `event.form.messages.checkout.confirmation.shareEventLabel`\n | `event.form.messages.registrationClosed.message`\n | `event.form.messages.registrationClosed.exploreEventsActionLabel`\n | `event.form.messages.ticketsUnavailable.message`\n | `event.form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `event.summaries.rsvps.totalCount`\n | `event.summaries.rsvps.yesCount`\n | `event.summaries.rsvps.noCount`\n | `event.summaries.rsvps.waitlistCount`\n | `event.summaries.tickets.ticketsSold`\n | `event.summaries.tickets.revenue.amount`\n | `event.summaries.tickets.revenue.currency`\n | `event.summaries.tickets.currencyLocked`\n | `event.summaries.tickets.totalOrders`\n | `event.summaries.cancellation.actorType`\n | `event.summaries.cancellation.actorName`\n | `event.summaries.cancellation.actorEmail`\n | `event.instanceId`\n | `event.guestListSettings.displayedPublicly`\n | `event.userId`\n | `event.onlineConferencing.enabled`\n | `event.onlineConferencing.type`\n | `event.onlineConferencing.session.hostLink`\n | `event.onlineConferencing.session.guestLink`\n | `event.seoSettings.slug`\n | `event.seoSettings.advancedSeoData.tags`\n | `event.seoSettings.advancedSeoData.tags.${number}.type`\n | `event.seoSettings.advancedSeoData.tags.${number}.children`\n | `event.seoSettings.advancedSeoData.tags.${number}.custom`\n | `event.seoSettings.advancedSeoData.tags.${number}.disabled`\n | `event.seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `event.seoSettings.advancedSeoData.settings.keywords`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `event.agendaSettings.enabled`,\n 8\n >\n >;\n}\n\nexport const onEventCanceled = /*#__PURE__*/ EventDefinition(\n 'wix.events.v3.event_canceled',\n true,\n (event: EventCanceledEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'data.timestamp' }, { path: 'metadata.eventTime' }],\n },\n ])\n )\n)<EventCanceledEnvelope>();\nexport const onEventCloned = /*#__PURE__*/ EventDefinition(\n 'wix.events.v3.event_cloned',\n true,\n (event: EventClonedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'data.timestamp' },\n { path: 'data.dateAndTimeSettings.startDate' },\n { path: 'data.dateAndTimeSettings.endDate' },\n {\n path: 'data.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'data.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'data.location.address' }],\n },\n ])\n )\n)<EventClonedEnvelope>();\nexport const onEventCreated = /*#__PURE__*/ EventDefinition(\n 'wix.events.v3.event_created',\n true,\n (event: EventCreatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'entity.mainImage' }],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'entity.publishedDate' },\n { path: 'entity.dateAndTimeSettings.startDate' },\n { path: 'entity.dateAndTimeSettings.endDate' },\n {\n path: 'entity.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'entity.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'entity.registration.rsvp.startDate' },\n { path: 'entity.registration.rsvp.endDate' },\n { path: 'entity.summaries.cancellation.canceledDate' },\n { path: 'entity.categories.categories.createdDate' },\n { path: 'entity.description.metadata.createdTimestamp' },\n { path: 'entity.description.metadata.updatedTimestamp' },\n { path: 'entity.badges.badges.functionUpdateDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'entity.eventPageUrl' },\n { path: 'entity.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'entity.location.address' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'entity.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'entity.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'entity.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'entity.description.nodes.galleryData.options.item.ratio' },\n { path: 'entity.description.nodes.imageData.image.duration' },\n { path: 'entity.description.nodes.imageData.crop.x' },\n { path: 'entity.description.nodes.imageData.crop.y' },\n { path: 'entity.description.nodes.imageData.crop.width' },\n { path: 'entity.description.nodes.imageData.crop.height' },\n { path: 'entity.description.nodes.mapData.mapSettings.lat' },\n { path: 'entity.description.nodes.mapData.mapSettings.lng' },\n { path: 'entity.description.nodes.pollData.poll.image.duration' },\n {\n path: 'entity.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'entity.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'entity.description.nodes.appEmbedData.image.duration' },\n { path: 'entity.description.nodes.videoData.video.duration' },\n { path: 'entity.description.nodes.videoData.thumbnail.duration' },\n { path: 'entity.description.nodes.audioData.audio.duration' },\n { path: 'entity.description.nodes.audioData.coverImage.duration' },\n {\n path: 'entity.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'entity.description.nodes.shapeData.shape.duration' },\n {\n path: 'entity.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'entity.description.nodes.tocData.fontSize' },\n { path: 'entity.description.nodes.tocData.itemSpacing' },\n {\n path: 'entity.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ])\n )\n)<EventCreatedEnvelope>();\nexport const onEventDeleted = /*#__PURE__*/ EventDefinition(\n 'wix.events.v3.event_deleted',\n true,\n (event: EventDeletedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'undefined.mainImage' }],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'undefined.createdDate' },\n { path: 'undefined.updatedDate' },\n { path: 'undefined.publishedDate' },\n { path: 'undefined.dateAndTimeSettings.startDate' },\n { path: 'undefined.dateAndTimeSettings.endDate' },\n {\n path: 'undefined.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'undefined.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'undefined.registration.rsvp.startDate' },\n { path: 'undefined.registration.rsvp.endDate' },\n { path: 'undefined.summaries.cancellation.canceledDate' },\n { path: 'undefined.categories.categories.createdDate' },\n { path: 'undefined.description.metadata.createdTimestamp' },\n { path: 'undefined.description.metadata.updatedTimestamp' },\n { path: 'undefined.badges.badges.functionUpdateDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'undefined.eventPageUrl' },\n { path: 'undefined.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'undefined.location.address' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'undefined.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'undefined.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'undefined.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'undefined.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'undefined.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'undefined.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'undefined.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'undefined.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'undefined.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'undefined.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'undefined.description.nodes.imageData.image.duration' },\n { path: 'undefined.description.nodes.imageData.crop.x' },\n { path: 'undefined.description.nodes.imageData.crop.y' },\n { path: 'undefined.description.nodes.imageData.crop.width' },\n { path: 'undefined.description.nodes.imageData.crop.height' },\n { path: 'undefined.description.nodes.mapData.mapSettings.lat' },\n { path: 'undefined.description.nodes.mapData.mapSettings.lng' },\n {\n path: 'undefined.description.nodes.pollData.poll.image.duration',\n },\n {\n path: 'undefined.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'undefined.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'undefined.description.nodes.appEmbedData.image.duration' },\n { path: 'undefined.description.nodes.videoData.video.duration' },\n {\n path: 'undefined.description.nodes.videoData.thumbnail.duration',\n },\n { path: 'undefined.description.nodes.audioData.audio.duration' },\n {\n path: 'undefined.description.nodes.audioData.coverImage.duration',\n },\n {\n path: 'undefined.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'undefined.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'undefined.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'undefined.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'undefined.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'undefined.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'undefined.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'undefined.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'undefined.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'undefined.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'undefined.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'undefined.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'undefined.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'undefined.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'undefined.description.nodes.shapeData.shape.duration' },\n {\n path: 'undefined.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'undefined.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'undefined.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'undefined.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'undefined.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'undefined.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'undefined.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'undefined.description.nodes.tocData.fontSize' },\n { path: 'undefined.description.nodes.tocData.itemSpacing' },\n {\n path: 'undefined.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ])\n )\n)<EventDeletedEnvelope>();\nexport const onEventEnded = /*#__PURE__*/ EventDefinition(\n 'wix.events.v3.event_ended',\n true,\n (event: EventEndedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'data.timestamp' }, { path: 'metadata.eventTime' }],\n },\n ])\n )\n)<EventEndedEnvelope>();\nexport const onEventPublished = /*#__PURE__*/ EventDefinition(\n 'wix.events.v3.event_published',\n true,\n (event: EventPublishedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'data.timestamp' },\n { path: 'data.dateAndTimeSettings.startDate' },\n { path: 'data.dateAndTimeSettings.endDate' },\n {\n path: 'data.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'data.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'data.registration.rsvp.startDate' },\n { path: 'data.registration.rsvp.endDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'data.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'data.location.address' }],\n },\n ])\n )\n)<EventPublishedEnvelope>();\nexport const onEventReminder = /*#__PURE__*/ EventDefinition(\n 'wix.events.v3.event_reminder',\n true,\n (event: EventReminderEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'data.timestamp' },\n { path: 'data.dateAndTimeSettings.startDate' },\n { path: 'data.dateAndTimeSettings.endDate' },\n {\n path: 'data.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'data.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'data.location.address' }],\n },\n ])\n )\n)<EventReminderEnvelope>();\nexport const onEventStarted = /*#__PURE__*/ EventDefinition(\n 'wix.events.v3.event_started',\n true,\n (event: EventStartedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'data.timestamp' }, { path: 'metadata.eventTime' }],\n },\n ])\n )\n)<EventStartedEnvelope>();\nexport const onEventUpdated = /*#__PURE__*/ EventDefinition(\n 'wix.events.v3.event_updated',\n true,\n (event: EventUpdatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'entity.mainImage' }],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'entity.publishedDate' },\n { path: 'entity.dateAndTimeSettings.startDate' },\n { path: 'entity.dateAndTimeSettings.endDate' },\n {\n path: 'entity.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'entity.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'entity.registration.rsvp.startDate' },\n { path: 'entity.registration.rsvp.endDate' },\n { path: 'entity.summaries.cancellation.canceledDate' },\n { path: 'entity.categories.categories.createdDate' },\n { path: 'entity.description.metadata.createdTimestamp' },\n { path: 'entity.description.metadata.updatedTimestamp' },\n { path: 'entity.badges.badges.functionUpdateDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'entity.eventPageUrl' },\n { path: 'entity.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'entity.location.address' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'entity.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'entity.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'entity.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'entity.description.nodes.galleryData.options.item.ratio' },\n { path: 'entity.description.nodes.imageData.image.duration' },\n { path: 'entity.description.nodes.imageData.crop.x' },\n { path: 'entity.description.nodes.imageData.crop.y' },\n { path: 'entity.description.nodes.imageData.crop.width' },\n { path: 'entity.description.nodes.imageData.crop.height' },\n { path: 'entity.description.nodes.mapData.mapSettings.lat' },\n { path: 'entity.description.nodes.mapData.mapSettings.lng' },\n { path: 'entity.description.nodes.pollData.poll.image.duration' },\n {\n path: 'entity.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'entity.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'entity.description.nodes.appEmbedData.image.duration' },\n { path: 'entity.description.nodes.videoData.video.duration' },\n { path: 'entity.description.nodes.videoData.thumbnail.duration' },\n { path: 'entity.description.nodes.audioData.audio.duration' },\n { path: 'entity.description.nodes.audioData.coverImage.duration' },\n {\n path: 'entity.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'entity.description.nodes.shapeData.shape.duration' },\n {\n path: 'entity.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'entity.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'entity.description.nodes.tocData.fontSize' },\n { path: 'entity.description.nodes.tocData.itemSpacing' },\n {\n path: 'entity.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ])\n )\n)<EventUpdatedEnvelope>();\n\nexport {\n AccountInfo,\n AccountInfoMetadata,\n ActionEvent,\n ActorType,\n Address,\n AddressLocation,\n AddressStreetOneOf,\n AgendaSettings,\n Alignment,\n AnchorData,\n Animation,\n AnimationType,\n AppEmbedData,\n AppEmbedDataAppDataOneOf,\n AppType,\n AspectRatio,\n AudioData,\n Backdrop,\n BackdropType,\n Background,\n BackgroundGradient,\n BackgroundImage,\n BackgroundType,\n Badge,\n BadgeList,\n BadgeTypeType,\n Banner,\n BannerPosition,\n BaseEventMetadata,\n BlockquoteData,\n BookingData,\n Border,\n BorderColors,\n BorderWidths,\n BulkCancelEventsByFilterOptions,\n BulkCancelEventsByFilterRequest,\n BulkCancelEventsByFilterResponse,\n BulkDeleteEventsByFilterOptions,\n BulkDeleteEventsByFilterRequest,\n BulkDeleteEventsByFilterResponse,\n BulletedListData,\n ButtonData,\n ButtonDataType,\n ButtonStyles,\n CalendarUrls,\n CancelEventOptions,\n CancelEventRequest,\n CancelEventResponse,\n Cancellation,\n CaptionData,\n CardData,\n CardDataBackground,\n CardDataBackgroundType,\n CardStyles,\n CardStylesType,\n CellStyle,\n CheckboxListData,\n CheckoutFormMessages,\n CheckoutType,\n CloneEventFromOtherSiteRequest,\n CloneEventFromOtherSiteResponse,\n CloneEventOptions,\n CloneEventRequest,\n CloneEventResponse,\n CodeBlockData,\n CollapsibleListData,\n ColorData,\n Colors,\n ColumnSize,\n CommonAddressLocation,\n CommonCursors,\n CommonPaging,\n CommonPagingMetadataV2,\n CommonQueryV2,\n CommonQueryV2PagingMethodOneOf,\n CommonSortOrder,\n CommonSorting,\n ConferenceTypeType,\n Content,\n ContentField,\n ContentFieldValueOneOf,\n CountEventsByStatusOptions,\n CountEventsByStatusRequest,\n CountEventsByStatusResponse,\n CreateEventOptions,\n CreateEventRequest,\n CreateEventResponse,\n Crop,\n CursorPaging,\n Cursors,\n DateAndTimeSettings,\n Decoration,\n DecorationDataOneOf,\n DecorationType,\n DeleteEventRequest,\n DeleteEventResponse,\n Design,\n DesignTarget,\n Dimensions,\n Direction,\n DividerData,\n DividerDataAlignment,\n DividerDataStyles,\n DocumentStyle,\n DomainEvent,\n DomainEventBodyOneOf,\n EmbedData,\n Empty,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n EntranceAnimation,\n EntranceEffect,\n EntranceEffectType,\n Event,\n EventCanceled,\n EventCanceledEnvelope,\n EventCategories,\n EventCategory,\n EventCloned,\n EventClonedEnvelope,\n EventCreatedEnvelope,\n EventData,\n EventDeletedEnvelope,\n EventDisplaySettings,\n EventEnded,\n EventEndedEnvelope,\n EventMetadata,\n EventPublished,\n EventPublishedEnvelope,\n EventQuerySpec,\n EventReminder,\n EventReminderEnvelope,\n EventStarted,\n EventStartedEnvelope,\n EventUpdatedEnvelope,\n EventsMoney,\n EventsQueryBuilder,\n EventsQueryResult,\n ExportEventsRequest,\n ExportEventsResponse,\n ExternalRegistration,\n FacetCounts,\n Feed,\n FileData,\n FileSource,\n FileSourceDataOneOf,\n FindEventRequest,\n FindEventRequestFindByOneOf,\n FindEventResponse,\n FontFamilyData,\n FontSizeData,\n FontType,\n Form,\n FormMessages,\n Formatted,\n GIF,\n GIFData,\n GIFType,\n GalleryData,\n GalleryOptions,\n GalleryOptionsLayout,\n GetEventBySlugOptions,\n GetEventBySlugRequest,\n GetEventBySlugResponse,\n GetEventOptions,\n GetEventRequest,\n GetEventResponse,\n GetEventTranslationsContentRequest,\n GetEventTranslationsContentResponse,\n Gradient,\n GradientType,\n GuestListSettings,\n GuestTypeType,\n HTMLData,\n HTMLDataDataOneOf,\n HeadingData,\n Height,\n IdentificationData,\n IdentificationDataIdOneOf,\n Image,\n ImageData,\n ImageDataCrop,\n ImageDataStyles,\n ImagePosition,\n ImagePositionPosition,\n ImageScalingScaling,\n ImageStyles,\n Indentation,\n InitialExpandedItems,\n InitialRegistrationTypeType,\n Input,\n InputControl,\n InputControlType,\n Item,\n ItemDataOneOf,\n ItemStyle,\n Keyword,\n Label,\n LabellingSettings,\n LayerEffect,\n Layers,\n Layout,\n LayoutCellData,\n LayoutData,\n LayoutDataBackground,\n LayoutDataBackgroundImage,\n LayoutDataBackgroundType,\n LayoutType,\n LineCap,\n LineStyle,\n Link,\n LinkData,\n LinkDataOneOf,\n LinkPreviewData,\n LinkPreviewDataStyles,\n ListEventsByCategoryOptions,\n ListEventsByCategoryRequest,\n ListEventsByCategoryResponse,\n ListItemNodeData,\n ListStyle,\n ListUserEventsRequest,\n ListUserEventsResponse,\n ListValue,\n Location,\n LocationType,\n LoopAnimation,\n LoopEffect,\n LoopEffectType,\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 NullValue,\n Occurrence,\n Oembed,\n OnlineConferencing,\n OnlineConferencingSession,\n Option,\n OptionDesign,\n OptionLayout,\n OptionSelection,\n OptionSelectionSelectedOptionOneOf,\n OrderedListData,\n Orientation,\n Origin,\n PDFSettings,\n Paging,\n PagingMetadataV2,\n ParagraphData,\n Permissions,\n Placement,\n PlaybackOptions,\n PluginContainerData,\n PluginContainerDataAlignment,\n PluginContainerDataWidth,\n PluginContainerDataWidthDataOneOf,\n PointerEffect,\n PointerEffectType,\n Poll,\n PollData,\n PollDataLayout,\n PollDesign,\n PollDesignBackground,\n PollDesignBackgroundBackgroundOneOf,\n PollDesignBackgroundType,\n PollLayout,\n PollLayoutDirection,\n PollLayoutType,\n PollSettings,\n Position,\n Positive,\n PositiveResponseConfirmation,\n PricingData,\n PublishDraftEventOptions,\n PublishDraftEventRequest,\n PublishDraftEventResponse,\n PublishStatus,\n QueryEventsOptions,\n QueryEventsRequest,\n QueryEventsResponse,\n QueryV2,\n QueryV2PagingMethodOneOf,\n RecurrenceStatusStatus,\n Recurrences,\n Registration,\n RegistrationClosedMessages,\n RegistrationStatusStatus,\n RegistrationTypeType,\n Rel,\n Relation,\n RequestedFields,\n Resizing,\n ResponseConfirmation,\n ResponseType,\n ResponsivenessBehaviour,\n RestoreInfo,\n RibbonStyles,\n RichContent,\n RsvpConfirmationMessages,\n RsvpFormMessages,\n RsvpFormMessagesNegativeResponseConfirmation,\n RsvpFormMessagesPositiveResponseConfirmation,\n RsvpRegistration,\n Rsvps,\n Scaling,\n SectionDivider,\n SeoSchema,\n SeoSettings,\n Settings,\n Shape,\n ShapeData,\n ShapeDataStyles,\n SketchData,\n SmartBlockCellData,\n SmartBlockData,\n SmartBlockDataType,\n SortOrder,\n Sorting,\n Source,\n Spoiler,\n SpoilerData,\n Status,\n Stop,\n StreetAddress,\n Styles,\n StylesBorder,\n StylesPosition,\n Subdivision,\n SubdivisionType,\n Summaries,\n TableCellData,\n TableData,\n Tag,\n Target,\n TaxSettings,\n TaxType,\n TextAlignment,\n TextData,\n TextNodeStyle,\n TextStyle,\n Thumbnails,\n ThumbnailsAlignment,\n Tickets,\n TicketsConfirmationMessages,\n TicketsRegistration,\n TicketsUnavailableMessages,\n TimeDuration,\n TocData,\n Type,\n UpdateEventOptions,\n UpdateEventRequest,\n UpdateEventResponse,\n UpdaterIdentity,\n UserFilter,\n ValueType,\n Variant,\n VerticalAlignment,\n VerticalAlignmentAlignment,\n Video,\n VideoData,\n VideoResolution,\n ViewMode,\n ViewRole,\n VoteRole,\n WebhookIdentityType,\n Width,\n WidthType,\n utils,\n} from './events-v3-event-wix-events-v-2.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport {\n HttpClient,\n HttpResponse,\n NonNullablePaths,\n QuerySpec,\n Query as QuerySdkType,\n} from '@wix/sdk-types';\nimport * as ambassadorWixEventsV3Event from './events-v3-event-wix-events-v-2.http.js';\n// @ts-ignore\nimport { transformSDKAddressToRESTAddress } from '@wix/sdk-runtime/transformations/address';\nimport { transformRESTAddressToSDKAddress } from '@wix/sdk-runtime/transformations/address';\nimport { transformSDKImageToRESTImage } from '@wix/sdk-runtime/transformations/image';\nimport { transformRESTImageToSDKImage } from '@wix/sdk-runtime/transformations/image';\nimport { transformSDKPageURLToRESTPageURL } from '@wix/sdk-runtime/transformations/page-url';\nimport { transformRESTPageURLToSDKPageURL } from '@wix/sdk-runtime/transformations/page-url';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { createQueryUtils } from '@wix/sdk-runtime/query-builder-utils';\n\n/**\n * An Event is a structured record of a scheduled gathering, including its title, location, date and time, registration settings, status, and related URLs.\n *\n * You can use it to model and display event details, configure how guests register, and manage visibility and calendars across the site or app.\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 date and time settings. */\n dateAndTimeSettings?: DateAndTimeSettings;\n /**\n * Event title.\n * @minLength 1\n * @maxLength 120\n */\n title?: string | null;\n /**\n * Short description that appears under the event title.\n * **Note:** This field is returned only when the `DETAILS` fieldset is included in the request.\n * @maxLength 500\n */\n shortDescription?: string | null;\n /**\n * Detailed description of an event.\n *\n * This field is deprecated.\n * @maxLength 50000\n * @deprecated Detailed description of an event.\n *\n * This field is deprecated.\n * @replacedBy description\n * @targetRemovalDate 2025-04-15\n */\n detailedDescription?: string | null;\n /**\n * Main event image. <br>\n * **Note:** This field is returned only when the `DETAILS` fieldset is included in the request.\n */\n mainImage?: string;\n /**\n * Unique identifier of the event page. The naming is the same as the event title written in kebab case. For example, if your event title is \"Leather Crafting 101\", then the slug is \"leather-crafting-101\".\n * @readonly\n */\n slug?: string;\n /**\n * Date and time when the event was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time when the event was updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Event status.\n * @readonly\n */\n status?: StatusWithLiterals;\n /**\n * RSVP or ticketing registration details. <br>\n * **Note:** This field is returned only when the `REGISTRATION` fieldset is included in the request.\n */\n registration?: Registration;\n /**\n * URLs that allow you to add an event to the Google calendar, or to download an [ICS calendar](https://icscalendar.com/) file. <br>\n * **Note:** This field is returned only when the `DETAILS` fieldset is included in the request.\n * @readonly\n */\n calendarUrls?: CalendarUrls;\n /**\n * Event page URL components. <br>\n * **Note:** This field is returned only when the `URLS` fieldset is included in the request.\n */\n eventPageUrl?: string;\n /**\n * Event registration form. <br>\n * **Note:** This field is returned only when the `FORM` fieldset is included in the request.\n */\n form?: Form;\n /**\n * Summary of RSVP or ticket sales. <br>\n * **Note:** This field is returned only when the `DASHBOARD` fieldset is included in the request and you have the \"WIX_EVENTS.READ_EVENT_DASHBOARD\" permissions.\n */\n summaries?: Summaries;\n /**\n * Instance ID of the site where the event is hosted.\n * @readonly\n */\n instanceId?: string;\n /** Guest list configuration. */\n guestListSettings?: GuestListSettings;\n /**\n * ID of the user who created the event.\n * @readonly\n * @format GUID\n */\n userId?: string;\n /**\n * Event discussion feed. For internal use.\n * @internal\n */\n feed?: Feed;\n /**\n * Online conferencing details. <br>\n * **Note:** This field is returned only when the `ONLINE_CONFERENCING_SESSION` fieldset is included in the request and you have the \"WIX_EVENTS.READ_ONLINE_CONFERENCING\" permissions.\n */\n onlineConferencing?: OnlineConferencing;\n /**\n * SEO settings. <br>\n * **Note:** This field is returned only when the `SEO_SETTINGS` fieldset is included in the request.\n */\n seoSettings?: SeoSettings;\n /**\n * Legacy contacts label key. <br>\n * **Note:** Populated only on events created before the migration to Contacts V5; new events aren't assigned a contacts label.\n * @readonly\n */\n contactLabel?: string | null;\n /**\n * Event schedule details. <br>\n * **Note:** This field is returned only when the `AGENDA` fieldset is included in the request.\n */\n agendaSettings?: AgendaSettings;\n /**\n * Event categories.\n * @internal\n */\n categories?: EventCategories;\n /** Visual settings for event. */\n eventDisplaySettings?: EventDisplaySettings;\n /**\n * True if ticket can be customised\n * @internal\n */\n customizableTickets?: boolean | null;\n /**\n * Labelling related data.\n * @internal\n */\n labellingSettings?: LabellingSettings;\n /** Event description. <widget src=\"https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component\" plugins=\"emoji,audio,codeBlock,collapsibleList,divider,emoji,file,gallery,giphy,hashtag,heading,html,image,indent,lineSpacing,link,linkPreview,spoiler,video\" exampleid=\"9b569a8d-0fc1-40f4-987f-8bd40ecc72d0\">Fallback Message for SSR and Error</widget> */\n description?: RichContent;\n /**\n * Event publish timestamp.\n * @readonly\n */\n publishedDate?: Date | null;\n /**\n * Event badges.\n * @internal\n */\n badges?: BadgeList;\n}\n\nexport interface Location {\n /**\n * Location name. This value is displayed instead of the address when the location is defined as TBD by setting the `locationTbd` property to `true`.\n * @maxLength 50\n */\n name?: string | null;\n /** Location type. */\n type?: LocationTypeWithLiterals;\n /** Exact location address. */\n address?: Address;\n /** Whether the event location is TBD. */\n locationTbd?: boolean | null;\n}\n\nexport enum LocationType {\n /** Event is on-site at a specific physical location. */\n VENUE = 'VENUE',\n /** Event is online, such as a virtual video conference. */\n ONLINE = 'ONLINE',\n}\n\n/** @enumType */\nexport type LocationTypeWithLiterals = LocationType | 'VENUE' | 'ONLINE';\n\n/** Physical address */\nexport interface Address extends AddressStreetOneOf {\n /** Street address. */\n streetAddress?: StreetAddress;\n /**\n * Primary address information (street and building number).\n * @maxLength 250\n */\n addressLine1?: string | null;\n /**\n * 2-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.\n * @format COUNTRY\n */\n country?: string | null;\n /**\n * Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2).\n * @maxLength 20\n */\n subdivision?: string | null;\n /**\n * City name.\n * @maxLength 100\n */\n city?: string | null;\n /**\n * Zip or postal code.\n * @maxLength 100\n */\n postalCode?: string | null;\n /**\n * Secondary address information (suite or apartment number and room number).\n * @maxLength 250\n */\n addressLine2?: string | null;\n /**\n * A string containing the full address of this location.\n * @internal\n * @maxLength 1000\n */\n formatted?: string | null;\n /**\n * Free text intended to help find the address.\n * @internal\n * @maxLength 1000\n */\n hint?: string | null;\n /**\n * Coordinates of the physical address.\n * @internal\n */\n location?: CommonAddressLocation;\n /**\n * Country full name.\n * @internal\n * @maxLength 100\n */\n countryFullname?: string | null;\n /**\n * Subdivision full name.\n * @internal\n * @maxLength 250\n */\n subdivisionFullname?: string | null;\n /**\n * Multi-level subdivisions from top to bottom.\n * @internal\n * @maxSize 6\n */\n subdivisions?: Subdivision[];\n}\n\n/** @oneof */\nexport interface AddressStreetOneOf {\n /** Street address. */\n streetAddress?: StreetAddress;\n /**\n * Primary address information (street and building number).\n * @maxLength 250\n */\n addressLine?: string | null;\n}\n\nexport interface StreetAddress {\n /**\n * Street number.\n * @maxLength 100\n */\n number?: string;\n /**\n * Street name.\n * @maxLength 250\n */\n name?: string;\n /**\n * Apartment number.\n * @internal\n * @maxLength 100\n */\n apt?: string;\n /**\n * Optional address line 1\n * @internal\n * @maxLength 1000\n */\n formattedAddressLine?: string | null;\n}\n\nexport interface CommonAddressLocation {\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 /**\n * Short subdivision code.\n * @maxLength 100\n */\n code?: string;\n /**\n * Subdivision full name.\n * @maxLength 250\n */\n name?: string;\n /**\n * Subdivision level\n * @internal\n */\n type?: SubdivisionTypeWithLiterals;\n /**\n * Free text description of subdivision type.\n * @internal\n * @maxLength 1000\n */\n typeInfo?: string | null;\n}\n\nexport enum SubdivisionType {\n UNKNOWN_SUBDIVISION_TYPE = 'UNKNOWN_SUBDIVISION_TYPE',\n /** State */\n ADMINISTRATIVE_AREA_LEVEL_1 = 'ADMINISTRATIVE_AREA_LEVEL_1',\n /** County */\n ADMINISTRATIVE_AREA_LEVEL_2 = 'ADMINISTRATIVE_AREA_LEVEL_2',\n /** City/town */\n ADMINISTRATIVE_AREA_LEVEL_3 = 'ADMINISTRATIVE_AREA_LEVEL_3',\n /** Neighborhood/quarter */\n ADMINISTRATIVE_AREA_LEVEL_4 = 'ADMINISTRATIVE_AREA_LEVEL_4',\n /** Street/block */\n ADMINISTRATIVE_AREA_LEVEL_5 = 'ADMINISTRATIVE_AREA_LEVEL_5',\n /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */\n COUNTRY = 'COUNTRY',\n}\n\n/** @enumType */\nexport type SubdivisionTypeWithLiterals =\n | SubdivisionType\n | 'UNKNOWN_SUBDIVISION_TYPE'\n | 'ADMINISTRATIVE_AREA_LEVEL_1'\n | 'ADMINISTRATIVE_AREA_LEVEL_2'\n | 'ADMINISTRATIVE_AREA_LEVEL_3'\n | 'ADMINISTRATIVE_AREA_LEVEL_4'\n | 'ADMINISTRATIVE_AREA_LEVEL_5'\n | 'COUNTRY';\n\nexport interface DateAndTimeSettings {\n /** Whether the event date and time are TBD. */\n dateAndTimeTbd?: boolean | null;\n /**\n * Message that is displayed when time and date is TBD.\n *\n * **Note:** This field is only used when the `dateAndTimeTbd` field value is `true`.\n * @maxLength 100\n */\n dateAndTimeTbdMessage?: string | null;\n /**\n * Event start date.\n *\n * **Note:** You need to write this field in the snake case, instead of a camel case. For example, `start_date`.\n */\n startDate?: Date | null;\n /**\n * Event end date.\n *\n * **Note:** You need to write this field in the snake case, instead of a camel case. For example, `end_date`.\n */\n endDate?: Date | null;\n /**\n * Event time zone ID in the TZ database format.\n *\n * **Note:** You need to write this field in the snake case, instead of a camel case. For example, `time_zone_id`.\n * @maxLength 100\n */\n timeZoneId?: string | null;\n /** Whether the end date is hidden in the formatted date and time. */\n hideEndDate?: boolean | null;\n /** Whether the time zone is displayed in the formatted schedule. */\n showTimeZone?: boolean | null;\n /**\n * Repeating event status.\n * @readonly\n */\n recurrenceStatus?: RecurrenceStatusStatusWithLiterals;\n /** Event repetitions. */\n recurringEvents?: Recurrences;\n /** Formatted date and time settings. */\n formatted?: Formatted;\n}\n\nexport enum RecurrenceStatusStatus {\n /** Event happens only once and can last multiple days. */\n ONE_TIME = 'ONE_TIME',\n /** A series of events that repeat. */\n RECURRING = 'RECURRING',\n /** Next event in a schedule of recurring events. */\n RECURRING_UPCOMING = 'RECURRING_UPCOMING',\n /** Latest event that ended in a schedule of recurring events. */\n RECURRING_RECENTLY_ENDED = 'RECURRING_RECENTLY_ENDED',\n /** Latest canceled event in a schedule of recurring events */\n RECURRING_RECENTLY_CANCELED = 'RECURRING_RECENTLY_CANCELED',\n}\n\n/** @enumType */\nexport type RecurrenceStatusStatusWithLiterals =\n | RecurrenceStatusStatus\n | 'ONE_TIME'\n | 'RECURRING'\n | 'RECURRING_UPCOMING'\n | 'RECURRING_RECENTLY_ENDED'\n | 'RECURRING_RECENTLY_CANCELED';\n\nexport interface Recurrences {\n /**\n * Individual event dates for recurring events.\n *\n * *Note:** Each date must be manually calculated and provided. There is no support for automatic generation using recurrence rules or patterns (for example, \"Weekly\").\n *\n * When you create a recurring event:\n * - Each occurrence is created as an independent event with its own unique ID.\n * - All occurrences in the series share the same `categoryId`, which allows you to identify all events in the recurring series.\n * - To retrieve all events in a recurring series, query events by `recurringEvents.categoryId`.\n * - Each event in the series can be independently updated or deleted using its individual event ID.\n * @maxSize 1000\n */\n individualEventDates?: Occurrence[];\n /**\n * Recurring event category ID.\n *\n * This read-only field is automatically generated and shared by all events in a recurring series. Use this ID to query and retrieve all occurrences of a recurring event.\n * @readonly\n * @maxLength 100\n */\n categoryId?: string | null;\n}\n\nexport interface Occurrence {\n /** Event start date. */\n startDate?: Date | null;\n /** Event end date. */\n endDate?: Date | null;\n /**\n * Event time zone ID in the [TZ database](https://www.iana.org/time-zones) format.\n * @maxLength 100\n */\n timeZoneId?: string | null;\n /** Whether the time zone is displayed in a formatted schedule. */\n showTimeZone?: boolean;\n}\n\nexport interface Formatted {\n /**\n * Formatted date and time representation. <br>\n * Example of formatting when an event lasts multiple days and is in the UTC time zone: `September 1, 2015 at 10:20 AM – September 5, 2015 at 12:14 PM`. <br>\n * Example of formatting when an event lasts 1 day and is in the GMT+2 time zone: `February 1, 2018, 12:10 – 2:50 PM GMT+2`.\n * @readonly\n * @maxLength 500\n */\n dateAndTime?: string | null;\n /**\n * Formatted start date of the event. Empty for TBD schedules.\n * @readonly\n * @maxLength 500\n */\n startDate?: string | null;\n /**\n * Formatted start time of the event. Empty for TBD schedules.\n * @readonly\n * @maxLength 500\n */\n startTime?: string | null;\n /**\n * Formatted end date of the event. Empty for TBD schedules or when the end date is hidden.\n * @readonly\n * @maxLength 500\n */\n endDate?: string | null;\n /**\n * Formatted end time of the event. Empty for TBD schedules or when the end date is hidden.\n * @readonly\n * @maxLength 500\n */\n endTime?: string | 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 enum Status {\n /** Event is published and scheduled to start. */\n UPCOMING = 'UPCOMING',\n /** Event has started. */\n STARTED = 'STARTED',\n /** Event has ended. */\n ENDED = 'ENDED',\n /** Event is canceled. */\n CANCELED = 'CANCELED',\n /** Event is not public. */\n DRAFT = 'DRAFT',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n | Status\n | 'UPCOMING'\n | 'STARTED'\n | 'ENDED'\n | 'CANCELED'\n | 'DRAFT';\n\nexport interface Registration {\n /**\n * Reflects the current state of the registration.\n * @readonly\n */\n type?: RegistrationTypeTypeWithLiterals;\n /**\n * Registration status.\n * @readonly\n */\n status?: RegistrationStatusStatusWithLiterals;\n /** RSVP registration details. */\n rsvp?: RsvpRegistration;\n /** Ticket registration details. */\n tickets?: TicketsRegistration;\n /** External registration details. */\n external?: ExternalRegistration;\n /** Types of guests allowed to register. */\n allowedGuestTypes?: GuestTypeTypeWithLiterals;\n /**\n * Initial registration type which is set when creating an event.\n *\n * Once set, this value is immutable. To change the type of registration, use the `registration.type` field:\n * - Events with `initialType` of `RSVP` or `TICKETING` can be changed to `EXTERNAL` or `NONE`.\n * - `RSVP` events can't become `TICKETING` events, and vice versa.\n * @immutable\n */\n initialType?: InitialRegistrationTypeTypeWithLiterals;\n /** Whether the registration is paused. */\n registrationPaused?: boolean;\n /** Whether the registration is disabled. */\n registrationDisabled?: boolean;\n}\n\nexport enum RegistrationTypeType {\n /** Guests register by RSVPing to the event. */\n RSVP = 'RSVP',\n /** Guests register by buying tickets. */\n TICKETING = 'TICKETING',\n /** Guests register externally using some other site or platform. */\n EXTERNAL = 'EXTERNAL',\n /** No registration is required, all guests can attend. This registration type is for only displaying the event details on a site. The property value can be changed from `RSVP` or `TICKETING `to `EXTERNAL` or `NONE` after the event is created, depending on any additional configurations applied to the event. */\n NONE = 'NONE',\n /**\n * Guests register by RSVPing to the event or by buying tickets.\n * @documentationMaturity preview\n * @internal\n */\n RSVP_AND_TICKETING = 'RSVP_AND_TICKETING',\n}\n\n/** @enumType */\nexport type RegistrationTypeTypeWithLiterals =\n | RegistrationTypeType\n | 'RSVP'\n | 'TICKETING'\n | 'EXTERNAL'\n | 'NONE';\n\nexport enum RegistrationStatusStatus {\n /** Registration status isn't applicable. */\n UNKNOWN_REGISTRATION_STATUS = 'UNKNOWN_REGISTRATION_STATUS',\n /** Registration is closed after tickets are sold out. */\n CLOSED_AUTOMATICALLY = 'CLOSED_AUTOMATICALLY',\n /** Registration is closed when the `registration.registrationDisabled` property is set to `true`. */\n CLOSED_MANUALLY = 'CLOSED_MANUALLY',\n /** Guests can start RSVPing to the event. */\n OPEN_RSVP = 'OPEN_RSVP',\n /** Guest list has reached the maximum, new guests are added to a waitlist. */\n OPEN_RSVP_WAITLIST_ONLY = 'OPEN_RSVP_WAITLIST_ONLY',\n /** Guests can buy tickets to the event. */\n OPEN_TICKETS = 'OPEN_TICKETS',\n /** Guests register on a different page or web address. */\n OPEN_EXTERNAL = 'OPEN_EXTERNAL',\n /** Registration via RSVP is scheduled for the future. */\n SCHEDULED_RSVP = 'SCHEDULED_RSVP',\n /**\n * Guests can RSVP and buy tickets to the event.\n * @documentationMaturity preview\n * @internal\n */\n OPEN_RSVP_AND_TICKETS = 'OPEN_RSVP_AND_TICKETS',\n}\n\n/** @enumType */\nexport type RegistrationStatusStatusWithLiterals =\n | RegistrationStatusStatus\n | 'UNKNOWN_REGISTRATION_STATUS'\n | 'CLOSED_AUTOMATICALLY'\n | 'CLOSED_MANUALLY'\n | 'OPEN_RSVP'\n | 'OPEN_RSVP_WAITLIST_ONLY'\n | 'OPEN_TICKETS'\n | 'OPEN_EXTERNAL'\n | 'SCHEDULED_RSVP';\n\nexport interface RsvpRegistration {\n /** Available answers for registration to an event. */\n responseType?: ResponseTypeWithLiterals;\n /** How many guests can RSVP to an event. */\n limit?: number | null;\n /** Whether a waitlist is opened when the total guest limit is reached. If `true`, guests can RSVP to an event and are automatically added to the waitlist with the `IN_WAITLIST` status. */\n waitlistEnabled?: boolean;\n /** Registration start date. */\n startDate?: Date | null;\n /** Registration end date. */\n endDate?: Date | null;\n /**\n * Confirmation messages shown after the registration.\n * @internal\n */\n confirmationMessages?: RsvpConfirmationMessages;\n /**\n * Form id. Present only for RSVP event.\n * @internal\n * @readonly\n * @format GUID\n */\n formId?: string | null;\n}\n\nexport enum ResponseType {\n /** Only a **Yes** answer is available to select when RSVP'ing to an event. */\n YES_ONLY = 'YES_ONLY',\n /** *Yes** and **No** answers are available to select when RSVP'ing to an event. */\n YES_AND_NO = 'YES_AND_NO',\n}\n\n/** @enumType */\nexport type ResponseTypeWithLiterals = ResponseType | 'YES_ONLY' | 'YES_AND_NO';\n\nexport interface RsvpConfirmationMessages {\n /** Messages displayed when an RSVP's `status` is set to `\"YES\"`. */\n positiveConfirmation?: PositiveResponseConfirmation;\n /** Messages displayed when an RSVP's `status` is set to `\"WAITLIST\"`, for when the event is full and a waitlist is available). */\n waitlistMessages?: PositiveResponseConfirmation;\n /** Messages displayed when an RSVP's `status` is set to `\"NO\"`. */\n negativeMessages?: NegativeResponseConfirmation;\n}\n\n/** Confirmation shown after then registration when RSVP response is positive. */\nexport interface PositiveResponseConfirmation {\n /**\n * Confirmation message title.\n * @maxLength 150\n */\n title?: string | null;\n /**\n * Confirmation message text.\n * @maxLength 350\n */\n message?: string | null;\n /**\n * \"Add to calendar\" call-to-action label text.\n * @maxLength 50\n */\n addToCalendarActionLabel?: string | null;\n /**\n * \"Share event\" call-to-action label text.\n * @maxLength 50\n */\n shareActionLabel?: string | null;\n}\n\n/** Confirmation shown after then registration when RSVP response is negative. */\nexport interface NegativeResponseConfirmation {\n /**\n * Confirmation message title.\n * @maxLength 150\n */\n title?: string | null;\n /**\n * \"Share event\" call-to-action label text.\n * @maxLength 50\n */\n shareActionLabel?: string | null;\n}\n\nexport interface TicketsRegistration {\n /** Whether the registration form must be filled out separately for each ticket. */\n guestsAssignedSeparately?: boolean;\n /**\n * Ticket limit per order. <br>\n * Default: 20 tickets.\n * @max 50\n */\n ticketLimitPerOrder?: number;\n /**\n * App ID for external ticket stock management.\n * The default ticket stock value is as defined in the `TicketDefinition` object. If the ticket stock is defined in the stock manager app, the default is ignored.\n * @internal\n * @format GUID\n */\n stockManagerAppId?: string | null;\n /** Ticket price currency. */\n currency?: string | null;\n /**\n * Lowest ticket price.\n * @readonly\n */\n lowestPrice?: Money;\n /**\n * Highest ticket price.\n * @readonly\n */\n highestPrice?: Money;\n /**\n * Whether all tickets are sold for the event.\n * @readonly\n */\n soldOut?: boolean | null;\n /** How tax is applied. */\n taxSettings?: TaxSettings;\n /**\n * Reservation duration in minutes.\n * @min 5\n * @max 30\n */\n reservationDurationInMinutes?: number | null;\n /**\n * Grace period in minutes.\n * @internal\n * @max 120\n */\n gracePeriodInMinutes?: number | null;\n /**\n * Confirmation messages shown after the registration.\n * @internal\n */\n confirmationMessages?: TicketsConfirmationMessages;\n /**\n * Buyer form id. Present only for ticketed event.\n * @internal\n * @readonly\n * @format GUID\n */\n buyerFormId?: string | null;\n /**\n * Ticket holder form id. Present only for ticketed event with assigned tickets enabled.\n * @internal\n * @readonly\n * @format GUID\n */\n ticketHolderFormId?: string | null;\n /**\n * Checkout type.\n * @internal\n * @readonly\n */\n checkoutType?: CheckoutTypeWithLiterals;\n /**\n * Inactive buyer form id. This is used when guest_assigned_tickets is false.\n * @internal\n * @readonly\n * @format GUID\n */\n inactiveBuyerFormId?: string | null;\n}\n\n/**\n * Money.\n * Default format to use. Sufficiently compliant with majority of standards: w3c, ISO 4217, ISO 20022, ISO 8583:2003.\n */\nexport interface Money {\n /**\n * Amount of money in decimal form. A period is used as a decimal separator (for example, `3.99`).\n * @format DECIMAL_VALUE\n */\n value?: string;\n /**\n * Currency code in 3-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.\n * @format CURRENCY\n */\n currency?: string;\n /**\n * Amount of money in decimal form. A period or comma are used as a decimal separator (for example, `1 000,30`).\n * @readonly\n */\n formattedValue?: string | null;\n}\n\nexport interface TaxSettings {\n /** Tax application settings. */\n type?: TaxTypeWithLiterals;\n /**\n * Tax name.\n * @minLength 1\n * @maxLength 10\n */\n name?: string | null;\n /**\n * Tax rate. For example, `21.55`.\n * @decimalValue options { gte:0.001, lte:100, maxScale:3 }\n */\n rate?: string | null;\n /** Apply tax to donations. */\n appliedToDonations?: boolean | null;\n}\n\n/** Tax application settings. */\nexport enum TaxType {\n /** Deduct the fee from the ticket price for a seller. For example, if you're selling tickets for $10, a ticket service fee of $0.25 is deducted from the price and you'll get $9.75. */\n INCLUDED_IN_PRICE = 'INCLUDED_IN_PRICE',\n /** Show the fee in addition to the ticket price at checkout and a guest pays the fee. For example, if you sell tickets for $10, a customer sees a ticket service fee of $0.25 and pays $10.25 in total. */\n ADDED_AT_CHECKOUT = 'ADDED_AT_CHECKOUT',\n}\n\n/** @enumType */\nexport type TaxTypeWithLiterals =\n | TaxType\n | 'INCLUDED_IN_PRICE'\n | 'ADDED_AT_CHECKOUT';\n\nexport interface TicketsConfirmationMessages {\n /**\n * Confirmation message title.\n * @maxLength 150\n */\n title?: string | null;\n /**\n * Confirmation message text.\n * @maxLength 350\n */\n message?: string | null;\n /**\n * \"Download tickets\" call-to-action label text.\n * @maxLength 50\n */\n downloadTicketsLabel?: string | null;\n /**\n * \"Add to calendar\" call-to-action label text.\n * @maxLength 50\n */\n addToCalendarActionLabel?: string | null;\n /**\n * \"Share event\" call-to-action label text.\n * @maxLength 50\n */\n shareActionLabel?: string | null;\n}\n\nexport enum CheckoutType {\n /** Checkout using Events App. */\n EVENTS_APP = 'EVENTS_APP',\n /** Checkout using Ecomm Platform. */\n ECOMM_PLATFORM = 'ECOMM_PLATFORM',\n}\n\n/** @enumType */\nexport type CheckoutTypeWithLiterals =\n | CheckoutType\n | 'EVENTS_APP'\n | 'ECOMM_PLATFORM';\n\nexport interface ExternalRegistration {\n /**\n * External event registration URL.\n * @format WEB_URL\n */\n url?: string | null;\n}\n\nexport enum GuestTypeType {\n /** All site visitors can RSVP to the event. */\n VISITOR_OR_MEMBER = 'VISITOR_OR_MEMBER',\n /** Only people who have signed up as members of your site are able to RSVP to the event. */\n MEMBER = 'MEMBER',\n}\n\n/** @enumType */\nexport type GuestTypeTypeWithLiterals =\n | GuestTypeType\n | 'VISITOR_OR_MEMBER'\n | 'MEMBER';\n\nexport enum InitialRegistrationTypeType {\n /** Guests register by RSVPing to the event. */\n RSVP = 'RSVP',\n /** Guests register by buying tickets. This property value never changes. */\n TICKETING = 'TICKETING',\n /**\n * Guests register by RSVPing to the event or by buying tickets.\n * @documentationMaturity preview\n * @internal\n */\n RSVP_AND_TICKETING = 'RSVP_AND_TICKETING',\n}\n\n/** @enumType */\nexport type InitialRegistrationTypeTypeWithLiterals =\n | InitialRegistrationTypeType\n | 'RSVP'\n | 'TICKETING';\n\nexport interface CalendarUrls {\n /**\n * \"Add to Google Calendar\" URL.\n * @readonly\n */\n google?: string;\n /**\n * \"Download ICS calendar file\" URL.\n * @readonly\n */\n ics?: string;\n}\n\n/**\n * The form defines which elements are displayed to a site visitor during the registration process (RSVP or checkout).\n * It also contains customizable messages and labels.\n *\n *\n * A form is an ordered list of controls (blocks), which accept guest information into a field input.\n *\n * Each control contains one or more nested inputs. For example, `Name` control has two inputs:\n * - First Name\n * - Last Name\n *\n * By default, name and email controls are always required and are pinned to the top of the form.\n */\nexport interface Form {\n /** Nested fields as an ordered list. */\n controls?: InputControl[];\n /**\n * Set of defined form messages displayed in the UI before, during, and after a registration flow.\n * Includes the configuration of form titles, response labels, \"thank you\" messages, and call-to-action texts.\n */\n messages?: FormMessages;\n}\n\n/**\n * A block of nested fields.\n * Used to aggregate similar inputs like First Name and Last Name.\n */\nexport interface InputControl {\n /** Field control type. */\n type?: InputControlTypeWithLiterals;\n /** Whether the control is mandatory (such as `name` & `email`). When `true`, only the label can be changed. */\n system?: boolean;\n /**\n * Deprecated: Use `id` or `_id`.\n * @deprecated\n */\n name?: string;\n /** Child inputs. */\n inputs?: Input[];\n /**\n * *Deprecated:** Use `controls.inputs.label`.\n * @deprecated\n */\n label?: string;\n /** Field controls are sorted by this value in ascending order. */\n orderIndex?: number;\n /** Unique control ID. */\n _id?: string;\n /**\n * Whether the input control is deleted.\n * @readonly\n */\n deleted?: boolean | null;\n}\n\nexport enum InputControlType {\n /** Single text value field. */\n INPUT = 'INPUT',\n /** Single text value field with multiple lines. */\n TEXTAREA = 'TEXTAREA',\n /** Single-choice field with predefined values. */\n DROPDOWN = 'DROPDOWN',\n /** Single-choice field with predefined values. */\n RADIO = 'RADIO',\n /** Multiple-choice field with predefined values. */\n CHECKBOX = 'CHECKBOX',\n /** Fields for entering first and last names. */\n NAME = 'NAME',\n /** Fields for additional guests and their respective names. */\n GUEST_CONTROL = 'GUEST_CONTROL',\n /** Single-line address field. */\n ADDRESS_SHORT = 'ADDRESS_SHORT',\n /** Full address field with multiple lines. */\n ADDRESS_FULL = 'ADDRESS_FULL',\n /** Fields for entering year, month, and day. */\n DATE = 'DATE',\n}\n\n/** @enumType */\nexport type InputControlTypeWithLiterals =\n | InputControlType\n | 'INPUT'\n | 'TEXTAREA'\n | 'DROPDOWN'\n | 'RADIO'\n | 'CHECKBOX'\n | 'NAME'\n | 'GUEST_CONTROL'\n | 'ADDRESS_SHORT'\n | 'ADDRESS_FULL'\n | 'DATE';\n\n/** Child inputs. */\nexport interface Input {\n /** Field name. */\n name?: string;\n /**\n * *Deprecated:** Use `controls.inputs.type.TEXT_ARRAY`.\n * @deprecated\n */\n array?: boolean;\n /** Main field label. */\n label?: string;\n /** Additional labels for multi-valued fields such as address. */\n additionalLabels?: Record<string, string>;\n /** Predefined choice options for fields, such as dropdown. */\n options?: string[];\n /** Whether field is mandatory. */\n mandatory?: boolean;\n /** Maximum number of accepted characters (relevant for text fields). */\n maxLength?: number;\n /**\n * Type which determines field format.\n * Used to validate submitted response.\n */\n type?: ValueTypeWithLiterals;\n /**\n * The maximum number of accepted values for array input.\n *\n * **Note:** Only applicable for `TEXT_ARRAY` input fields.\n */\n maxSize?: number | null;\n /**\n * Default option initially selected when an input has multiple choices.\n *\n * Defaults to first (0th) option, if not configured.\n * Currently only applicable for `type.dropdown`.\n */\n defaultOptionSelection?: OptionSelection;\n /**\n * Additional labels for multi-valued fields, such as address.\n * @readonly\n */\n labels?: Label[];\n}\n\nexport enum ValueType {\n TEXT = 'TEXT',\n NUMBER = 'NUMBER',\n TEXT_ARRAY = 'TEXT_ARRAY',\n DATE_TIME = 'DATE_TIME',\n ADDRESS = 'ADDRESS',\n}\n\n/** @enumType */\nexport type ValueTypeWithLiterals =\n | ValueType\n | 'TEXT'\n | 'NUMBER'\n | 'TEXT_ARRAY'\n | 'DATE_TIME'\n | 'ADDRESS';\n\n/**\n * Describes initially selected option when an input has multiple choices.\n * Defaults to first (0th) option if not configured.\n */\nexport interface OptionSelection extends OptionSelectionSelectedOptionOneOf {\n /**\n * 0-based index from predefined `controls.inputs.options` which is initial selection.\n * @max 199\n */\n optionIndex?: number;\n /**\n * Placeholder hint describing expected choices, such as \"Please select\".\n * Considered an empty choice.\n * @maxLength 200\n */\n placeholderText?: string;\n}\n\n/** @oneof */\nexport interface OptionSelectionSelectedOptionOneOf {\n /**\n * 0-based index from predefined `controls.inputs.options` which is initial selection.\n * @max 199\n */\n optionIndex?: number;\n /**\n * Placeholder hint describing expected choices, such as \"Please select\".\n * Considered an empty choice.\n * @maxLength 200\n */\n placeholderText?: string;\n}\n\nexport interface Label {\n /** Field name. */\n name?: string;\n /** Field label. */\n label?: string;\n}\n\n/**\n * Defines form messages shown in UI before, during, and after registration flow.\n * It enables configuration of form titles, response labels, \"thank you\" messages, and call-to-action texts.\n */\nexport interface FormMessages {\n /** [RSVP form](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/introduction) messages. */\n rsvp?: RsvpFormMessages;\n /** Checkout form messages. */\n checkout?: CheckoutFormMessages;\n /** Messages shown when event registration is closed. */\n registrationClosed?: RegistrationClosedMessages;\n /** Messages shown when event tickets are unavailable. */\n ticketsUnavailable?: TicketsUnavailableMessages;\n}\n\nexport interface RsvpFormMessages {\n /** Label text indicating RSVP's `status` is `\"YES\"`. */\n rsvpYesOption?: string;\n /** Label text indicating RSVP's `status` is `\"NO\"`. */\n rsvpNoOption?: string;\n /** Messages displayed when an RSVP's `status` is set to `\"YES\"`. */\n positiveMessages?: Positive;\n /** Messages displayed when an RSVP's `status` is set to `\"WAITLIST\"`, for when the event is full and a waitlist is available). */\n waitlistMessages?: Positive;\n /** Messages displayed when an RSVP's `status` is set to `\"NO\"`. */\n negativeMessages?: Negative;\n /** \"Submit form\" call-to-action label text. */\n submitActionLabel?: string;\n}\n\n/** Confirmation messages shown after registration. */\nexport interface RsvpFormMessagesPositiveResponseConfirmation {\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 RsvpFormMessagesNegativeResponseConfirmation {\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?: RsvpFormMessagesPositiveResponseConfirmation;\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?: RsvpFormMessagesNegativeResponseConfirmation;\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 Summaries {\n /** RSVP summary of guests. */\n rsvps?: Rsvps;\n /** Summary of revenue and sold tickets. Archived orders aren't included. */\n tickets?: Tickets;\n /** Who cancelled the event and when. Returned only for cancelled events. */\n cancellation?: Cancellation;\n}\n\nexport interface EventsMoney {\n /**\n * *Deprecated:** Use `value` instead.\n * @format DECIMAL_VALUE\n * @deprecated\n */\n amount?: string;\n /**\n * 3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `USD`.\n * @format CURRENCY\n */\n currency?: string;\n /**\n * Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, starts with a single (-), to indicate that the amount is negative.\n * @format DECIMAL_VALUE\n */\n value?: string | null;\n}\n\n/** The kind of actor that performed the cancellation. */\nexport enum ActorType {\n /** A Wix user — a collaborator or the site owner. */\n USER = 'USER',\n /** A third-party app acting via the API. */\n APP = 'APP',\n /** An automatic or internal process. */\n SYSTEM = 'SYSTEM',\n}\n\n/** @enumType */\nexport type ActorTypeWithLiterals = ActorType | 'USER' | 'APP' | 'SYSTEM';\n\nexport interface Rsvps {\n /**\n * Total number of RSVPs.\n * @readonly\n */\n totalCount?: number;\n /**\n * Number of RSVPs with status `YES`.\n * @readonly\n */\n yesCount?: number;\n /**\n * Number of RSVPs with status `NO`.\n * @readonly\n */\n noCount?: number;\n /**\n * Number of RSVPs in a waitlist.\n * @readonly\n */\n waitlistCount?: number;\n}\n\nexport interface Tickets {\n /**\n * Number of sold tickets.\n * @readonly\n */\n ticketsSold?: number;\n /**\n * Total revenue. Taxes and payment provider fees aren't deducted.\n * @readonly\n */\n revenue?: EventsMoney;\n /**\n * Whether the currency is locked and can't be changed.\n * @readonly\n */\n currencyLocked?: boolean;\n /**\n * Number of orders placed.\n * @readonly\n */\n totalOrders?: number;\n /**\n * Total balance of confirmed transactions.\n * @readonly\n */\n totalSales?: EventsMoney;\n}\n\n/** Who cancelled the event and when. Returned only for cancelled events; carries PII. */\nexport interface Cancellation {\n /**\n * When the event was cancelled.\n * @readonly\n */\n canceledDate?: Date | null;\n /**\n * Whether a user, an app, or the system performed the cancellation.\n * @readonly\n */\n actorType?: ActorTypeWithLiterals;\n /**\n * Display name of the canceller. Set only for user cancellations.\n * @readonly\n * @maxLength 200\n */\n actorName?: string;\n /**\n * Email of the canceller. Set only for user cancellations.\n * @readonly\n * @format EMAIL\n */\n actorEmail?: string;\n}\n\nexport interface GuestListSettings {\n /** Whether the guest list is displayed publicly to all guests. */\n displayedPublicly?: boolean;\n}\n\nexport interface Feed {\n /** Event discussion feed token. */\n token?: string;\n}\n\nexport interface OnlineConferencing {\n /** Whether online conferencing is enabled. Not applicable for events where date and time are TBD. When enabled, links to join the conference are generated and provided to guests. */\n enabled?: boolean;\n /**\n * Conference host ID.\n * @format GUID\n */\n providerId?: string | null;\n /**\n * Configured conferencing provider name.\n * @internal\n * @readonly\n */\n providerName?: string;\n /** Conference type. */\n type?: ConferenceTypeTypeWithLiterals;\n /** Online conferencing session information. */\n session?: OnlineConferencingSession;\n}\n\nexport enum ConferenceTypeType {\n /** Guests can do some actions during the conference, for example talk, turn on their camera and show their screen. */\n MEETING = 'MEETING',\n /** Guests can only watch the conference. */\n WEBINAR = 'WEBINAR',\n}\n\n/** @enumType */\nexport type ConferenceTypeTypeWithLiterals =\n | ConferenceTypeType\n | 'MEETING'\n | 'WEBINAR';\n\nexport interface OnlineConferencingSession {\n /**\n * Link for the 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 * Password required to join the online conferencing session (when relevant).\n * @readonly\n */\n password?: string | null;\n /**\n * Whether the session was created successfully on the event host 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 * Whether the slug is hidden from the SEO sitemap.\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 * Which of these an API actually accepts depends on where the tag is being set: this\n * list is not a blanket guarantee across every API that reuses this message. Site SEO\n * Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\n * `title`/`script`/`link` with a validation error even though they appear here —\n * check the field description of the specific `tags`-typed field you're writing to\n * for the types it actually supports and the error it returns.\n *\n * Limitation: `title` and `script` (e.g. a `script` tag with `props.type`\n * `\"application/ld+json\"` carrying structured data) are supported only when\n * `custom` is unset or `false`. Setting `custom: true` on a `title` or `script`\n * tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the\n * write through the site's Advanced/Custom Tags list. To write structured data,\n * omit `custom` (or set it to `false`).\n */\n type?: string;\n /**\n * A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\n * For example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.\n */\n props?: Record<string, any> | null;\n /** SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`. */\n meta?: Record<string, any> | null;\n /** SEO tag inner content. For example, `<title> inner content </title>`. */\n children?: string;\n /**\n * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\n * i.e. an entry from the site's Advanced/Custom Tags list.\n *\n * Setting this to `true` on a write restricts which `type` values are accepted\n * — the same restriction the Advanced/Custom Tags UI enforces. `title` and\n * `script` tags (including JSON-LD structured data) must be sent with `custom`\n * omitted or `false`; sending them with `custom: true` is rejected with\n * `TAG_TYPE_NOT_ALLOWED`.\n *\n * Note this is a separate restriction from Site SEO Tags' own type restriction on\n * `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\n * for site-wide structured data) unconditionally. There is currently no way to set\n * site-wide, every-page structured data through any of these APIs — write a per-page\n * `script` tag through the Item SEO Tags API instead.\n *\n * This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\n * (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\n * default/pattern — standard tags always resolve with `custom: false`, even when their content comes\n * from a page's manually saved SEO title/description override. Don't use this field to verify whether\n * a live page reflects a manual per-page SEO edit.\n *\n * Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\n * only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\n * or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\n * response entirely — there, `false` means this API could not tell, not that no custom tag exists.\n * Pass `seoData` explicitly to resolve against a known set of tags.\n */\n custom?: boolean;\n /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */\n disabled?: boolean;\n}\n\nexport interface Settings {\n /**\n * Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\n *\n *\n * Default: `false` (automatical redirect is enabled).\n */\n preventAutoRedirect?: boolean;\n /**\n * User-selected keyword terms for a specific page.\n * @maxSize 5\n */\n keywords?: Keyword[];\n}\n\nexport interface AgendaSettings {\n /** Whether the schedule is enabled for the event. */\n enabled?: boolean;\n /**\n * Schedule page URL.\n * @readonly\n */\n pageUrl?: string;\n}\n\nexport interface EventCategories {\n /**\n * Event categories.\n * @maxSize 10\n */\n categories?: EventCategory[];\n}\n\nexport interface EventCategory {\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 * Category creation timestamp.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Category is hidden.\n * @readonly\n */\n hidden?: boolean;\n /**\n * Category type.\n * @readonly\n */\n type?: TypeWithLiterals;\n}\n\nexport enum Type {\n /** Created manually by the user. */\n MANUAL = 'MANUAL',\n /** Created automatically when publishing recurring events. */\n RECURRING_EVENT = 'RECURRING_EVENT',\n /**\n * Created automatically and used to store component events.\n * @internal\n */\n COMPONENT = 'COMPONENT',\n}\n\n/** @enumType */\nexport type TypeWithLiterals = Type | 'MANUAL' | 'RECURRING_EVENT';\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 /**\n * @internal\n * @readonly\n * @maxLength 180\n */\n assignedContactsLegacyLabelId?: string | null;\n /**\n * @internal\n * @readonly\n */\n assignedContactsLabelDeleted?: boolean | null;\n}\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 /** Data for a layout node. Reserved for future use. */\n layoutData?: LayoutData;\n /** Data for a cell node. */\n layoutCellData?: LayoutCellData;\n /** Data for a shape node. */\n shapeData?: ShapeData;\n /** Data for a card node. */\n cardData?: CardData;\n /** Data for a table of contents node. */\n tocData?: TocData;\n /** Data for a smart block node. */\n smartBlockData?: SmartBlockData;\n /** Data for a smart block cell node. */\n smartBlockCellData?: SmartBlockCellData;\n /** Data for a checkbox list node. */\n checkboxListData?: CheckboxListData;\n /** Data for a list item node. */\n listItemData?: ListItemNodeData;\n /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */\n type?: NodeTypeWithLiterals;\n /** Node ID. */\n id?: string;\n /** A list of child nodes. */\n nodes?: Node[];\n /** Padding and background color styling for the node. */\n style?: NodeStyle;\n}\n\n/** @oneof */\nexport interface NodeDataOneOf {\n /** Data for a button node. */\n buttonData?: ButtonData;\n /** Data for a code block node. */\n codeBlockData?: CodeBlockData;\n /** Data for a divider node. */\n dividerData?: DividerData;\n /** Data for a file node. */\n fileData?: FileData;\n /** Data for a gallery node. */\n galleryData?: GalleryData;\n /** Data for a GIF node. */\n gifData?: GIFData;\n /** Data for a heading node. */\n headingData?: HeadingData;\n /** Data for an embedded HTML node. */\n htmlData?: HTMLData;\n /** Data for an image node. */\n imageData?: ImageData;\n /** Data for a link preview node. */\n linkPreviewData?: LinkPreviewData;\n /** @deprecated */\n mapData?: MapData;\n /** Data for a paragraph node. */\n paragraphData?: ParagraphData;\n /** Data for a poll node. */\n pollData?: PollData;\n /** Data for a text node. Used to apply decorations to text. */\n textData?: TextData;\n /** Data for an app embed node. */\n appEmbedData?: AppEmbedData;\n /** Data for a video node. */\n videoData?: VideoData;\n /** Data for an oEmbed node. */\n embedData?: EmbedData;\n /** Data for a collapsible list node. */\n collapsibleListData?: CollapsibleListData;\n /** Data for a table node. */\n tableData?: TableData;\n /** Data for a table cell node. */\n tableCellData?: TableCellData;\n /** Data for a custom external node. */\n externalData?: Record<string, any> | null;\n /** Data for an audio node. */\n audioData?: AudioData;\n /** Data for an ordered list node. */\n orderedListData?: OrderedListData;\n /** Data for a bulleted list node. */\n bulletedListData?: BulletedListData;\n /** Data for a block quote node. */\n blockquoteData?: BlockquoteData;\n /** Data for a caption node. */\n captionData?: CaptionData;\n /** Data for a layout node. Reserved for future use. */\n layoutData?: LayoutData;\n /** Data for a cell node. */\n layoutCellData?: LayoutCellData;\n /** Data for a shape node. */\n shapeData?: ShapeData;\n /** Data for a card node. */\n cardData?: CardData;\n /** Data for a table of contents node. */\n tocData?: TocData;\n /** Data for a smart block node. */\n smartBlockData?: SmartBlockData;\n /** Data for a smart block cell node. */\n smartBlockCellData?: SmartBlockCellData;\n /** Data for a checkbox list node. */\n checkboxListData?: CheckboxListData;\n /** Data for a list item node. */\n listItemData?: ListItemNodeData;\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 SHAPE = 'SHAPE',\n CARD = 'CARD',\n TOC = 'TOC',\n SMART_BLOCK = 'SMART_BLOCK',\n SMART_BLOCK_CELL = 'SMART_BLOCK_CELL',\n CHECKBOX_LIST = 'CHECKBOX_LIST',\n}\n\n/** @enumType */\nexport type NodeTypeWithLiterals =\n | NodeType\n | 'PARAGRAPH'\n | 'TEXT'\n | 'HEADING'\n | 'BULLETED_LIST'\n | 'ORDERED_LIST'\n | 'LIST_ITEM'\n | 'BLOCKQUOTE'\n | 'CODE_BLOCK'\n | 'VIDEO'\n | 'DIVIDER'\n | 'FILE'\n | 'GALLERY'\n | 'GIF'\n | 'HTML'\n | 'IMAGE'\n | 'LINK_PREVIEW'\n | 'MAP'\n | 'POLL'\n | 'APP_EMBED'\n | 'BUTTON'\n | 'COLLAPSIBLE_LIST'\n | 'TABLE'\n | 'EMBED'\n | 'COLLAPSIBLE_ITEM'\n | 'COLLAPSIBLE_ITEM_TITLE'\n | 'COLLAPSIBLE_ITEM_BODY'\n | 'TABLE_CELL'\n | 'TABLE_ROW'\n | 'EXTERNAL'\n | 'AUDIO'\n | 'CAPTION'\n | 'LAYOUT'\n | 'LAYOUT_CELL'\n | 'SHAPE'\n | 'CARD'\n | 'TOC'\n | 'SMART_BLOCK'\n | 'SMART_BLOCK_CELL'\n | 'CHECKBOX_LIST';\n\nexport interface NodeStyle {\n /** The top padding value in pixels. */\n paddingTop?: string | null;\n /** The bottom padding value in pixels. */\n paddingBottom?: string | null;\n /** The background color as a hexadecimal value. */\n backgroundColor?: string | null;\n}\n\nexport interface ButtonData {\n /** Styling for the button's container. */\n containerData?: PluginContainerData;\n /** The button type. */\n type?: ButtonDataTypeWithLiterals;\n /** Styling for the button. */\n styles?: Styles;\n /** The text to display on the button. */\n text?: string | null;\n /** Button link details. */\n link?: Link;\n /** Node animation. */\n animation?: Animation;\n}\n\n/** Background type */\nexport enum BackgroundType {\n /** Solid color background */\n COLOR = 'COLOR',\n /** Gradient background */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'GRADIENT';\n\nexport interface Gradient {\n /** Gradient type. */\n type?: GradientTypeWithLiterals;\n /**\n * Color stops for the gradient.\n * @maxSize 1000\n */\n stops?: Stop[];\n /** Angle in degrees for linear gradient (0-360). */\n angle?: number | null;\n /**\n * Horizontal center position for radial gradient (0-100).\n * @max 100\n */\n centerX?: number | null;\n /**\n * Vertical center position for radial gradient (0-100).\n * @max 100\n */\n centerY?: number | null;\n}\n\n/** Gradient type. */\nexport enum GradientType {\n /** Linear gradient. */\n LINEAR = 'LINEAR',\n /** Radial gradient. */\n RADIAL = 'RADIAL',\n}\n\n/** @enumType */\nexport type GradientTypeWithLiterals = GradientType | 'LINEAR' | 'RADIAL';\n\n/** A single color stop in the gradient. */\nexport interface Stop {\n /**\n * Stop color as hex value.\n * @maxLength 19\n */\n color?: string | null;\n /** Stop position (0-1). */\n position?: number | null;\n}\n\nexport interface Border {\n /**\n * Deprecated: Use `borderWidth` in `styles` instead.\n * @deprecated\n */\n width?: number | null;\n /**\n * Deprecated: Use `borderRadius` in `styles` instead.\n * @deprecated\n */\n radius?: number | null;\n}\n\nexport interface Colors {\n /**\n * Deprecated: Use `textColor` in `styles` instead.\n * @deprecated\n */\n text?: string | null;\n /**\n * Deprecated: Use `borderColor` in `styles` instead.\n * @deprecated\n */\n border?: string | null;\n /**\n * Deprecated: Use `backgroundColor` in `styles` instead.\n * @deprecated\n */\n background?: string | null;\n}\n\n/** Background styling (color or gradient) */\nexport interface Background {\n /** Background type. */\n type?: BackgroundTypeWithLiterals;\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Gradient configuration. */\n gradient?: Gradient;\n}\n\nexport interface PluginContainerData {\n /** The width of the node when it's displayed. */\n width?: PluginContainerDataWidth;\n /** The node's alignment within its container. */\n alignment?: PluginContainerDataAlignmentWithLiterals;\n /** Spoiler cover settings for the node. */\n spoiler?: Spoiler;\n /** The height of the node when it's displayed. */\n height?: Height;\n /** Sets whether text should wrap around this node when it's displayed. If `textWrap` is `false`, the node takes up the width of its container. Defaults to `true` for all node types except 'DIVIVDER' where it defaults to `false`. */\n textWrap?: boolean | null;\n}\n\nexport enum WidthType {\n /** Width matches the content width */\n CONTENT = 'CONTENT',\n /** Small Width */\n SMALL = 'SMALL',\n /** Width will match the original asset width */\n ORIGINAL = 'ORIGINAL',\n /** coast-to-coast display */\n FULL_WIDTH = 'FULL_WIDTH',\n}\n\n/** @enumType */\nexport type WidthTypeWithLiterals =\n | WidthType\n | 'CONTENT'\n | 'SMALL'\n | 'ORIGINAL'\n | 'FULL_WIDTH';\n\nexport interface PluginContainerDataWidth\n extends PluginContainerDataWidthDataOneOf {\n /**\n * One of the following predefined width options:\n * `CONTENT`: The width of the container matches the content width.\n * `SMALL`: A small width.\n * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.\n * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.\n */\n size?: WidthTypeWithLiterals;\n /** A custom width value in pixels. */\n custom?: string | null;\n}\n\n/** @oneof */\nexport interface PluginContainerDataWidthDataOneOf {\n /**\n * One of the following predefined width options:\n * `CONTENT`: The width of the container matches the content width.\n * `SMALL`: A small width.\n * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.\n * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.\n */\n size?: WidthTypeWithLiterals;\n /** A custom width value in pixels. */\n custom?: string | null;\n}\n\nexport enum PluginContainerDataAlignment {\n /** Center Alignment */\n CENTER = 'CENTER',\n /** Left Alignment */\n LEFT = 'LEFT',\n /** Right Alignment */\n RIGHT = 'RIGHT',\n}\n\n/** @enumType */\nexport type PluginContainerDataAlignmentWithLiterals =\n | PluginContainerDataAlignment\n | 'CENTER'\n | 'LEFT'\n | 'RIGHT';\n\nexport interface Spoiler {\n /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */\n enabled?: boolean | null;\n /** The description displayed on top of the spoiler cover. */\n description?: string | null;\n /** The text for the button used to remove the spoiler cover. */\n buttonText?: string | null;\n}\n\nexport interface Height {\n /** A custom height value in pixels. */\n custom?: string | null;\n}\n\nexport enum ButtonDataType {\n /** Regular link button */\n LINK = 'LINK',\n /** Triggers custom action that is defined in plugin configuration by the consumer */\n ACTION = 'ACTION',\n}\n\n/** @enumType */\nexport type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';\n\nexport interface Styles {\n /**\n * Deprecated: Use `borderWidth` and `borderRadius` instead.\n * @deprecated\n */\n border?: Border;\n /**\n * Deprecated: Use `textColor`, `borderColor` and `backgroundColor` instead.\n * @deprecated\n */\n colors?: Colors;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /**\n * Deprecated: Use `borderWidth` for normal/hover states instead.\n * @deprecated\n */\n borderWidthHover?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /**\n * Border color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n borderColorHover?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @maxLength 19\n */\n textColor?: string | null;\n /**\n * Text color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n textColorHover?: string | null;\n /**\n * Deprecated: Use `background` instead.\n * @maxLength 19\n * @deprecated\n */\n backgroundColor?: string | null;\n /**\n * Deprecated: Use `backgroundHover` instead.\n * @maxLength 19\n * @deprecated\n */\n backgroundColorHover?: string | null;\n /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */\n buttonSize?: string | null;\n /** Background styling (color or gradient). */\n background?: Background;\n /** Background styling for hover state (color or gradient). */\n backgroundHover?: Background;\n}\n\nexport interface Link extends LinkDataOneOf {\n /** The absolute URL for the linked document. */\n url?: string;\n /** The target node's ID. Used for linking to another node in this object. */\n anchor?: string;\n /**\n * he HTML `target` attribute value for the link. This property defines where the linked document opens as follows:\n * `SELF` - Default. Opens the linked document in the same frame as the link.\n * `BLANK` - Opens the linked document in a new browser tab or window.\n * `PARENT` - Opens the linked document in the link's parent frame.\n * `TOP` - Opens the linked document in the full body of the link's browser tab or window.\n */\n target?: TargetWithLiterals;\n /** The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document. */\n rel?: Rel;\n /** A serialized object used for a custom or external link panel. */\n customData?: string | null;\n}\n\n/** @oneof */\nexport interface LinkDataOneOf {\n /** The absolute URL for the linked document. */\n url?: string;\n /** The target node's ID. Used for linking to another node in this object. */\n anchor?: string;\n}\n\nexport enum Target {\n /** Opens the linked document in the same frame as it was clicked (this is default) */\n SELF = 'SELF',\n /** Opens the linked document in a new window or tab */\n BLANK = 'BLANK',\n /** Opens the linked document in the parent frame */\n PARENT = 'PARENT',\n /** Opens the linked document in the full body of the window */\n TOP = 'TOP',\n}\n\n/** @enumType */\nexport type TargetWithLiterals = Target | 'SELF' | 'BLANK' | 'PARENT' | 'TOP';\n\nexport interface Rel {\n /** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */\n nofollow?: boolean | null;\n /** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */\n sponsored?: boolean | null;\n /** Indicates that this link is user-generated content and isn't necessarily trusted or endorsed by the page’s author. For example, a link in a fourm post. Defaults to `false`. */\n ugc?: boolean | null;\n /** Indicates that this link protect referral information from being passed to the target website. */\n noreferrer?: boolean | null;\n}\n\nexport interface Animation {\n /** Animation kind. */\n type?: AnimationTypeWithLiterals;\n /** Entrance animation, played once when the node first enters the viewport (VIEW). */\n entrance?: EntranceAnimation;\n /** Looping animation, repeated indefinitely while the node is on the page. When combined with entrance, the loop starts after the entrance finishes (VIEW). */\n loop?: LoopAnimation;\n /**\n * POINTER carries its fields directly on the union member in the JTD wall, hence\n * flat fields here (ts-proto camelCase must equal the JTD property names). A future\n * kind that also needs an `effect` field would contend for this JSON name.\n */\n effect?: PointerEffect;\n /** How quickly the node settles toward the pointer, in milliseconds (POINTER). */\n transitionDuration?: number | null;\n}\n\nexport enum AnimationType {\n /** Animations that play while the node is in view. */\n VIEW = 'VIEW',\n /** Animations driven by the visitor's mouse position. */\n POINTER = 'POINTER',\n}\n\n/** @enumType */\nexport type AnimationTypeWithLiterals = AnimationType | 'VIEW' | 'POINTER';\n\nexport interface EntranceAnimation {\n /** The entrance effect to play. */\n effect?: EntranceEffect;\n /** Effect duration in milliseconds. Each effect has its own default. */\n duration?: number | null;\n /** Delay before the effect starts, in milliseconds. */\n delay?: number | null;\n}\n\nexport interface EntranceEffect {\n /** The entrance effect type. */\n type?: EntranceEffectTypeWithLiterals;\n /**\n * Direction the effect enters from. Allowed values depend on the effect type (e.g. TOP/RIGHT/BOTTOM/LEFT, the diagonals with or without CENTER, corners, HORIZONTAL/VERTICAL, CLOCKWISE/COUNTER_CLOCKWISE).\n * @maxLength 20\n */\n direction?: string | null;\n /**\n * Clip-path shape: ELLIPSE, CIRCLE, RECTANGLE, or DIAMOND (SHAPE).\n * @maxLength 12\n */\n shape?: string | null;\n /**\n * Motion style: GENTLE, MODERATE, or INTENSE. Only the effects that expose one accept it.\n * @maxLength 100\n */\n easing?: string | null;\n}\n\nexport enum EntranceEffectType {\n /** Fades in from fully transparent to fully opaque. */\n FADE = 'FADE',\n /** Enters along a 3D arc path. */\n ARC = 'ARC',\n /** Transitions from blurred to sharp. */\n BLUR = 'BLUR',\n /** Bounces into place with an elastic curve. */\n BOUNCE = 'BOUNCE',\n /** Shrinks down from a larger size. */\n DROP = 'DROP',\n /** Expands from a point, scaling to full size. */\n EXPAND = 'EXPAND',\n /** Flips into view with a 3D rotation. */\n FLIP = 'FLIP',\n /** Drifts gently into place. */\n FLOAT = 'FLOAT',\n /** Unfolds from an edge as if hinged. */\n FOLD = 'FOLD',\n /** Glides in smoothly from off-screen. */\n GLIDE = 'GLIDE',\n /** Progressively revealed by an expanding clip-path. */\n REVEAL = 'REVEAL',\n /** Appears through an expanding geometric clip-path shape. */\n SHAPE = 'SHAPE',\n /** Revealed through shutter-like strips. */\n SHUTTERS = 'SHUTTERS',\n /** Slides in from one side. */\n SLIDE = 'SLIDE',\n /** Spins into view while scaling up. */\n SPIN = 'SPIN',\n /** Tilts in from the side with 3D rotation. */\n TILT = 'TILT',\n /** Rotates into view around a corner pivot. */\n TURN = 'TURN',\n /** Expands from its horizontal or vertical center. */\n WINK = 'WINK',\n}\n\n/** @enumType */\nexport type EntranceEffectTypeWithLiterals =\n | EntranceEffectType\n | 'FADE'\n | 'ARC'\n | 'BLUR'\n | 'BOUNCE'\n | 'DROP'\n | 'EXPAND'\n | 'FLIP'\n | 'FLOAT'\n | 'FOLD'\n | 'GLIDE'\n | 'REVEAL'\n | 'SHAPE'\n | 'SHUTTERS'\n | 'SLIDE'\n | 'SPIN'\n | 'TILT'\n | 'TURN'\n | 'WINK';\n\nexport interface LoopAnimation {\n /** The looping effect to repeat. */\n effect?: LoopEffect;\n /** Duration of a single iteration in milliseconds. Each effect has its own default. */\n duration?: number | null;\n /** Pause between iterations in milliseconds. */\n iterationDelay?: number | null;\n}\n\nexport interface LoopEffect {\n /** The looping effect type. */\n type?: LoopEffectTypeWithLiterals;\n /**\n * Direction of the effect. Allowed values depend on the effect type (e.g. TOP/RIGHT/BOTTOM/LEFT, LEFT/RIGHT, HORIZONTAL/VERTICAL with or without CENTER, CLOCKWISE/COUNTER_CLOCKWISE).\n * @maxLength 20\n */\n direction?: string | null;\n /**\n * Motion style: GENTLE, MODERATE, or INTENSE. Only the effects that expose one accept it.\n * @maxLength 100\n */\n easing?: string | null;\n}\n\nexport enum LoopEffectType {\n /** Bounces up and down in place. */\n BOUNCE = 'BOUNCE',\n /** Scales gently in and out along an axis. */\n BREATHE = 'BREATHE',\n /** Drifts toward one side, then re-enters from the opposite side. */\n CROSS = 'CROSS',\n /** Fades out to fully transparent and back in. */\n FLASH = 'FLASH',\n /** Rotates a full turn around its horizontal or vertical axis. */\n FLIP = 'FLIP',\n /** Folds back and forth around a hinged edge. */\n FOLD = 'FOLD',\n /** Wobbles with a jelly-like skew. */\n JELLO = 'JELLO',\n /** Nudges repeatedly toward a direction. */\n POKE = 'POKE',\n /** Scales up and back down rhythmically. */\n PULSE = 'PULSE',\n /** Stretches and squashes like a rubber band. */\n RUBBER = 'RUBBER',\n /** Rotates continuously around its center. */\n SPIN = 'SPIN',\n /** Swings back and forth around an edge pivot. */\n SWING = 'SWING',\n /** Rocks side to side with an accumulating rotation. */\n WIGGLE = 'WIGGLE',\n}\n\n/** @enumType */\nexport type LoopEffectTypeWithLiterals =\n | LoopEffectType\n | 'BOUNCE'\n | 'BREATHE'\n | 'CROSS'\n | 'FLASH'\n | 'FLIP'\n | 'FOLD'\n | 'JELLO'\n | 'POKE'\n | 'PULSE'\n | 'RUBBER'\n | 'SPIN'\n | 'SWING'\n | 'WIGGLE';\n\nexport interface PointerEffect {\n /** The mouse effect type. */\n type?: PointerEffectTypeWithLiterals;\n /** Reacts away from the pointer instead of toward it. */\n inverted?: boolean | null;\n /**\n * One field, two value spaces (the effect type says which): the axis the movement is constrained to — HORIZONTAL, VERTICAL, or BOTH (AIRY, SCALE, SKEW, TRACK, TRACK_3D) — or the edge/center axis the node swivels around — TOP, BOTTOM, LEFT, RIGHT, CENTER_HORIZONTAL, or CENTER_VERTICAL (SWIVEL). Only the effects that expose one accept it.\n * @maxLength 20\n */\n axis?: string | null;\n /**\n * Whether the node grows or shrinks as the pointer nears: UP or DOWN (SCALE).\n * @maxLength 8\n */\n direction?: string | null;\n /**\n * Motion style: GENTLE, MODERATE, or INTENSE.\n * @maxLength 100\n */\n easing?: string | null;\n}\n\nexport enum PointerEffectType {\n /** Drifts loosely after the pointer with a light rotation. */\n AIRY = 'AIRY',\n /** Squashes and stretches toward the pointer. */\n BLOB = 'BLOB',\n /** Shifts after the pointer while blurring. */\n BLUR = 'BLUR',\n /** Scales as the pointer approaches. */\n SCALE = 'SCALE',\n /** Skews toward the pointer. */\n SKEW = 'SKEW',\n /** Rotates around a pivot edge or axis, following the pointer. */\n SWIVEL = 'SWIVEL',\n /** Tilts in 3D perspective toward the pointer. */\n TILT_3D = 'TILT_3D',\n /** Follows the pointer's position. */\n TRACK = 'TRACK',\n /** Follows the pointer with a 3D depth motion. */\n TRACK_3D = 'TRACK_3D',\n}\n\n/** @enumType */\nexport type PointerEffectTypeWithLiterals =\n | PointerEffectType\n | 'AIRY'\n | 'BLOB'\n | 'BLUR'\n | 'SCALE'\n | 'SKEW'\n | 'SWIVEL'\n | 'TILT_3D'\n | 'TRACK'\n | 'TRACK_3D';\n\nexport interface CodeBlockData {\n /** Styling for the code block's text. */\n textStyle?: TextStyle;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface TextStyle {\n /** Text alignment. Defaults to `AUTO`. */\n textAlignment?: TextAlignmentWithLiterals;\n /** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */\n lineHeight?: string | null;\n}\n\nexport enum TextAlignment {\n /** browser default, eqivalent to `initial` */\n AUTO = 'AUTO',\n /** Left align */\n LEFT = 'LEFT',\n /** Right align */\n RIGHT = 'RIGHT',\n /** Center align */\n CENTER = 'CENTER',\n /** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */\n JUSTIFY = 'JUSTIFY',\n}\n\n/** @enumType */\nexport type TextAlignmentWithLiterals =\n | TextAlignment\n | 'AUTO'\n | 'LEFT'\n | 'RIGHT'\n | 'CENTER'\n | 'JUSTIFY';\n\nexport interface DividerData {\n /** Styling for the divider's container. */\n containerData?: PluginContainerData;\n /** Divider line style. */\n lineStyle?: LineStyleWithLiterals;\n /** Divider width. */\n width?: WidthWithLiterals;\n /** Divider alignment. */\n alignment?: DividerDataAlignmentWithLiterals;\n /** Visual styling for the divider lines. */\n styles?: DividerDataStyles;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport enum LineCap {\n /** Square line endings. */\n SQUARE = 'SQUARE',\n /** Rounded line endings. */\n ROUND = 'ROUND',\n}\n\n/** @enumType */\nexport type LineCapWithLiterals = LineCap | 'SQUARE' | 'ROUND';\n\nexport enum LineStyle {\n /** Single Line */\n SINGLE = 'SINGLE',\n /** Double Line */\n DOUBLE = 'DOUBLE',\n /** Dashed Line */\n DASHED = 'DASHED',\n /** Dotted Line */\n DOTTED = 'DOTTED',\n}\n\n/** @enumType */\nexport type LineStyleWithLiterals =\n | LineStyle\n | 'SINGLE'\n | 'DOUBLE'\n | 'DASHED'\n | 'DOTTED';\n\nexport enum Width {\n /** Large line */\n LARGE = 'LARGE',\n /** Medium line */\n MEDIUM = 'MEDIUM',\n /** Small line */\n SMALL = 'SMALL',\n}\n\n/** @enumType */\nexport type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';\n\nexport enum DividerDataAlignment {\n /** Center alignment */\n CENTER = 'CENTER',\n /** Left alignment */\n LEFT = 'LEFT',\n /** Right alignment */\n RIGHT = 'RIGHT',\n}\n\n/** @enumType */\nexport type DividerDataAlignmentWithLiterals =\n | DividerDataAlignment\n | 'CENTER'\n | 'LEFT'\n | 'RIGHT';\n\nexport interface DividerDataStyles {\n /**\n * Divider color as a hexadecimal value. An alpha channel controls opacity.\n * @maxLength 19\n */\n color?: string | null;\n /** Divider line ending shape. */\n lineCap?: LineCapWithLiterals;\n /**\n * Line thicknesses in pixels, ordered from first line to last line.\n * @maxSize 10\n */\n lineThickness?: number[];\n /** Visible dash length for dashed dividers, in pixels. The pattern is snapped to a whole number of dashes so that the first and last dash touch the divider's edges - narrower containers show fewer dashes at the same size. */\n dashLength?: number | null;\n /** Visible gap between dashes or dots, in pixels. */\n dashGap?: number | null;\n /** Gap between divider lines in pixels. */\n lineGap?: number | null;\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 /** Node animation. */\n animation?: Animation;\n}\n\nexport enum ViewMode {\n /** No PDF view */\n NONE = 'NONE',\n /** Full PDF view */\n FULL = 'FULL',\n /** Mini PDF view */\n MINI = 'MINI',\n}\n\n/** @enumType */\nexport type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';\n\nexport interface FileSource extends FileSourceDataOneOf {\n /** The absolute URL for the file's source. */\n url?: string | null;\n /**\n * Custom ID. Use `id` instead.\n * @deprecated\n */\n custom?: string | null;\n /** An ID that's resolved to a URL by a resolver function. */\n id?: string | null;\n /** Indicates whether the file's source is private. Defaults to `false`. */\n private?: boolean | null;\n}\n\n/** @oneof */\nexport interface FileSourceDataOneOf {\n /** The absolute URL for the file's source. */\n url?: string | null;\n /**\n * Custom ID. Use `id` instead.\n * @deprecated\n */\n custom?: string | null;\n /** An ID that's resolved to a URL by a resolver function. */\n id?: string | null;\n}\n\nexport interface PDFSettings {\n /**\n * PDF view mode. One of the following:\n * `NONE` : The PDF isn't displayed.\n * `FULL` : A full page view of the PDF is displayed.\n * `MINI` : A mini view of the PDF is displayed.\n */\n viewMode?: ViewModeWithLiterals;\n /** Sets whether the PDF download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Sets whether the PDF print button is disabled. Defaults to `false`. */\n disablePrint?: boolean | null;\n}\n\nexport interface GalleryData {\n /** Styling for the gallery's container. */\n containerData?: PluginContainerData;\n /** The items in the gallery. */\n items?: Item[];\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 /** Node animation. */\n animation?: Animation;\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?: Link;\n}\n\nexport interface Video {\n /** Video file details. */\n media?: Media;\n /** Video thumbnail file details. */\n thumbnail?: Media;\n}\n\nexport interface Item extends ItemDataOneOf {\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 ItemDataOneOf {\n /** An image item. */\n image?: Image;\n /** A video item. */\n video?: Video;\n}\n\nexport interface GalleryOptions {\n /** Gallery layout. */\n layout?: GalleryOptionsLayout;\n /** Styling for gallery items. */\n item?: ItemStyle;\n /** Styling for gallery thumbnail images. */\n thumbnails?: Thumbnails;\n}\n\nexport enum LayoutType {\n /** Collage type */\n COLLAGE = 'COLLAGE',\n /** Masonry type */\n MASONRY = 'MASONRY',\n /** Grid type */\n GRID = 'GRID',\n /** Thumbnail type */\n THUMBNAIL = 'THUMBNAIL',\n /** Slider type */\n SLIDER = 'SLIDER',\n /** Slideshow type */\n SLIDESHOW = 'SLIDESHOW',\n /** Panorama type */\n PANORAMA = 'PANORAMA',\n /** Column type */\n COLUMN = 'COLUMN',\n /** Magic type */\n MAGIC = 'MAGIC',\n /** Fullsize images type */\n FULLSIZE = 'FULLSIZE',\n}\n\n/** @enumType */\nexport type LayoutTypeWithLiterals =\n | LayoutType\n | 'COLLAGE'\n | 'MASONRY'\n | 'GRID'\n | 'THUMBNAIL'\n | 'SLIDER'\n | 'SLIDESHOW'\n | 'PANORAMA'\n | 'COLUMN'\n | 'MAGIC'\n | 'FULLSIZE';\n\nexport enum Orientation {\n /** Rows Orientation */\n ROWS = 'ROWS',\n /** Columns Orientation */\n COLUMNS = 'COLUMNS',\n}\n\n/** @enumType */\nexport type OrientationWithLiterals = Orientation | 'ROWS' | 'COLUMNS';\n\nexport enum Crop {\n /** Crop to fill */\n FILL = 'FILL',\n /** Crop to fit */\n FIT = 'FIT',\n}\n\n/** @enumType */\nexport type CropWithLiterals = Crop | 'FILL' | 'FIT';\n\nexport enum ThumbnailsAlignment {\n /** Top alignment */\n TOP = 'TOP',\n /** Right alignment */\n RIGHT = 'RIGHT',\n /** Bottom alignment */\n BOTTOM = 'BOTTOM',\n /** Left alignment */\n LEFT = 'LEFT',\n /** No thumbnail */\n NONE = 'NONE',\n}\n\n/** @enumType */\nexport type ThumbnailsAlignmentWithLiterals =\n | ThumbnailsAlignment\n | 'TOP'\n | 'RIGHT'\n | 'BOTTOM'\n | 'LEFT'\n | 'NONE';\n\nexport interface GalleryOptionsLayout {\n /** Gallery layout type. */\n type?: LayoutTypeWithLiterals;\n /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */\n horizontalScroll?: boolean | null;\n /** Gallery orientation. */\n orientation?: OrientationWithLiterals;\n /** The number of columns to display on full size screens. */\n numberOfColumns?: number | null;\n /** The number of columns to display on mobile screens. */\n mobileNumberOfColumns?: number | null;\n}\n\nexport interface ItemStyle {\n /** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */\n targetSize?: number | null;\n /** Item ratio */\n ratio?: number | null;\n /** Sets how item images are cropped. */\n crop?: CropWithLiterals;\n /** The spacing between items in pixels. */\n spacing?: number | null;\n}\n\nexport interface Thumbnails {\n /** Thumbnail alignment. */\n placement?: ThumbnailsAlignmentWithLiterals;\n /** Spacing between thumbnails in pixels. */\n spacing?: number | null;\n}\n\nexport interface GIFData {\n /** Styling for the GIF's container. */\n containerData?: PluginContainerData;\n /** The source of the full size GIF. */\n original?: GIF;\n /** The source of the downsized GIF. */\n downsized?: GIF;\n /** Height in pixels. */\n height?: number;\n /** Width in pixels. */\n width?: number;\n /** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */\n gifType?: GIFTypeWithLiterals;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface GIF {\n /**\n * GIF format URL.\n * @format WEB_URL\n */\n gif?: string | null;\n /**\n * MP4 format URL.\n * @format WEB_URL\n */\n mp4?: string | null;\n /**\n * Thumbnail URL.\n * @format WEB_URL\n */\n still?: string | null;\n}\n\nexport enum GIFType {\n NORMAL = 'NORMAL',\n STICKER = 'STICKER',\n}\n\n/** @enumType */\nexport type GIFTypeWithLiterals = GIFType | 'NORMAL' | 'STICKER';\n\nexport interface HeadingData {\n /** Heading level from 1-6. */\n level?: number;\n /** Styling for the heading text. */\n textStyle?: TextStyle;\n /** Indentation level from 1-4. */\n indentation?: number | null;\n /** Rendered heading level for SEO/accessibility, overrides the HTML tag when set. */\n renderedLevel?: number | null;\n /** Node animation. */\n animation?: Animation;\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 /** The WixelWidget ID for AI_WIDGET source nodes. */\n widgetId?: string;\n /** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */\n containerData?: PluginContainerData;\n /** The type of HTML code. */\n source?: SourceWithLiterals;\n /** If container height is aligned with its content height. Defaults to `true`. */\n autoHeight?: boolean | null;\n /** Node animation. */\n animation?: Animation;\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 /** The WixelWidget ID for AI_WIDGET source nodes. */\n widgetId?: string;\n}\n\nexport enum Source {\n HTML = 'HTML',\n ADSENSE = 'ADSENSE',\n AI = 'AI',\n AI_WIDGET = 'AI_WIDGET',\n}\n\n/** @enumType */\nexport type SourceWithLiterals =\n | Source\n | 'HTML'\n | 'ADSENSE'\n | 'AI'\n | 'AI_WIDGET';\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?: Link;\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 /** Non-destructive crop rectangle, expressed as fractions (0-1) of the original image. When omitted, the full image is shown. */\n crop?: ImageDataCrop;\n /** Optional shape mask applied to the visible crop. Supported values: CIRCLE, OVAL, STAR, PENTAGON, HEXAGON, TRIANGLE, HEART, RHOMBUS, FLUID, WINDOW. */\n cropShape?: string | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface StylesBorder {\n /** Border width in pixels. */\n width?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @maxLength 19\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 ImageDataCrop {\n /** Left edge of the crop, as a fraction (0-1) of the original image width. */\n x?: number | null;\n /** Top edge of the crop, as a fraction (0-1) of the original image height. */\n y?: number | null;\n /** Visible width of the crop, as a fraction (0-1) of the original image width. */\n width?: number | null;\n /** Visible height of the crop, as a fraction (0-1) of the original image height. */\n height?: number | null;\n}\n\nexport interface LinkPreviewData {\n /** Styling for the link preview's container. */\n containerData?: PluginContainerData;\n /** Link details. */\n link?: Link;\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 /** Node animation. */\n animation?: Animation;\n}\n\nexport enum StylesPosition {\n /** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n /** Thumbnail positioned at the top */\n TOP = 'TOP',\n /** Thumbnail hidden and not displayed */\n HIDDEN = 'HIDDEN',\n}\n\n/** @enumType */\nexport type StylesPositionWithLiterals =\n | StylesPosition\n | 'START'\n | 'END'\n | 'TOP'\n | 'HIDDEN';\n\nexport interface LinkPreviewDataStyles {\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Title color as a hexadecimal value.\n * @maxLength 19\n */\n titleColor?: string | null;\n /**\n * Subtitle color as a hexadecimal value.\n * @maxLength 19\n */\n subtitleColor?: string | null;\n /**\n * Link color as a hexadecimal value.\n * @maxLength 19\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 * @maxLength 19\n */\n borderColor?: string | null;\n /** Position of thumbnail. Defaults to `START`. */\n thumbnailPosition?: StylesPositionWithLiterals;\n}\n\nexport interface MapData {\n /** Styling for the map's container. */\n containerData?: PluginContainerData;\n /** Map settings. */\n mapSettings?: MapSettings;\n}\n\nexport interface MapSettings {\n /** The address to display on the map. */\n address?: string | null;\n /** Sets whether the map is draggable. */\n draggable?: boolean | null;\n /** Sets whether the location marker is visible. */\n marker?: boolean | null;\n /** Sets whether street view control is enabled. */\n streetViewControl?: boolean | null;\n /** Sets whether zoom control is enabled. */\n zoomControl?: boolean | null;\n /** Location latitude. */\n lat?: number | null;\n /** Location longitude. */\n lng?: number | null;\n /** Location name. */\n locationName?: string | null;\n /** Sets whether view mode control is enabled. */\n viewModeControl?: boolean | null;\n /** Initial zoom value. */\n initialZoom?: number | null;\n /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */\n mapType?: MapTypeWithLiterals;\n}\n\nexport enum MapType {\n /** Roadmap map type */\n ROADMAP = 'ROADMAP',\n /** Satellite map type */\n SATELITE = 'SATELITE',\n /** Hybrid map type */\n HYBRID = 'HYBRID',\n /** Terrain map type */\n TERRAIN = 'TERRAIN',\n}\n\n/** @enumType */\nexport type MapTypeWithLiterals =\n | MapType\n | 'ROADMAP'\n | 'SATELITE'\n | 'HYBRID'\n | 'TERRAIN';\n\nexport interface ParagraphData {\n /** Styling for the paragraph text. */\n textStyle?: TextStyle;\n /** Indentation level from 1-4. */\n indentation?: number | null;\n /** Paragraph level */\n level?: number | null;\n /** Node animation. */\n animation?: Animation;\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 /** Node animation. */\n animation?: Animation;\n}\n\nexport enum ViewRole {\n /** Only Poll creator can view the results */\n CREATOR = 'CREATOR',\n /** Anyone who voted can see the results */\n VOTERS = 'VOTERS',\n /** Anyone can see the results, even if one didn't vote */\n EVERYONE = 'EVERYONE',\n}\n\n/** @enumType */\nexport type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';\n\nexport enum VoteRole {\n /** Logged in member */\n SITE_MEMBERS = 'SITE_MEMBERS',\n /** Anyone */\n ALL = 'ALL',\n}\n\n/** @enumType */\nexport type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';\n\nexport interface Permissions {\n /** Sets who can view the poll results. */\n view?: ViewRoleWithLiterals;\n /** Sets who can vote. */\n vote?: VoteRoleWithLiterals;\n /** Sets whether one voter can vote multiple times. Defaults to `false`. */\n allowMultipleVotes?: boolean | null;\n}\n\nexport interface Option {\n /** Option ID. */\n id?: string | null;\n /** Option title. */\n title?: string | null;\n /** The image displayed with the option. */\n image?: Media;\n}\n\nexport interface PollSettings {\n /** Permissions settings for voting. */\n permissions?: Permissions;\n /** Sets whether voters are displayed in the vote results. Defaults to `true`. */\n showVoters?: boolean | null;\n /** Sets whether the vote count is displayed. Defaults to `true`. */\n showVotesCount?: boolean | null;\n}\n\nexport enum PollLayoutType {\n /** List */\n LIST = 'LIST',\n /** Grid */\n GRID = 'GRID',\n}\n\n/** @enumType */\nexport type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';\n\nexport enum PollLayoutDirection {\n /** Left-to-right */\n LTR = 'LTR',\n /** Right-to-left */\n RTL = 'RTL',\n}\n\n/** @enumType */\nexport type PollLayoutDirectionWithLiterals =\n | PollLayoutDirection\n | 'LTR'\n | 'RTL';\n\nexport interface PollLayout {\n /** The layout for displaying the voting options. */\n type?: PollLayoutTypeWithLiterals;\n /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */\n direction?: PollLayoutDirectionWithLiterals;\n /** Sets whether to display the main poll image. Defaults to `false`. */\n enableImage?: boolean | null;\n}\n\nexport interface OptionLayout {\n /** Sets whether to display option images. Defaults to `false`. */\n enableImage?: boolean | null;\n}\n\nexport enum PollDesignBackgroundType {\n /** Color background type */\n COLOR = 'COLOR',\n /** Image background type */\n IMAGE = 'IMAGE',\n /** Gradiant background type */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type PollDesignBackgroundTypeWithLiterals =\n | PollDesignBackgroundType\n | 'COLOR'\n | 'IMAGE'\n | 'GRADIENT';\n\nexport interface BackgroundGradient {\n /** The gradient angle in degrees. */\n angle?: number | null;\n /**\n * The start color as a hexademical value.\n * @maxLength 19\n */\n startColor?: string | null;\n /**\n * The end color as a hexademical value.\n * @maxLength 19\n */\n lastColor?: string | null;\n}\n\nexport interface PollDesignBackground\n extends PollDesignBackgroundBackgroundOneOf {\n /**\n * The background color as a hexademical value.\n * @maxLength 19\n */\n color?: string | null;\n /** An image to use for the background. */\n image?: Media;\n /** Details for a gradient background. */\n gradient?: BackgroundGradient;\n /** Background type. For each option, include the relevant details. */\n type?: PollDesignBackgroundTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface PollDesignBackgroundBackgroundOneOf {\n /**\n * The background color as a hexademical value.\n * @maxLength 19\n */\n color?: string | null;\n /** An image to use for the background. */\n image?: Media;\n /** Details for a gradient background. */\n gradient?: BackgroundGradient;\n}\n\nexport interface PollDesign {\n /** Background styling. */\n background?: PollDesignBackground;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface OptionDesign {\n /** Border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface Poll {\n /** Poll ID. */\n id?: string | null;\n /** Poll title. */\n title?: string | null;\n /** Poll creator ID. */\n creatorId?: string | null;\n /** Main poll image. */\n image?: Media;\n /** Voting options. */\n options?: Option[];\n /** The poll's permissions and display settings. */\n settings?: PollSettings;\n}\n\nexport interface PollDataLayout {\n /** Poll layout settings. */\n poll?: PollLayout;\n /** Voting otpions layout settings. */\n options?: OptionLayout;\n}\n\nexport interface Design {\n /** Styling for the poll. */\n poll?: PollDesign;\n /** Styling for voting options. */\n options?: OptionDesign;\n}\n\nexport interface TextData {\n /** The text to apply decorations to. */\n text?: string;\n /** The decorations to apply. */\n decorations?: Decoration[];\n}\n\n/** Adds appearence changes to text */\nexport interface Decoration extends DecorationDataOneOf {\n /** Data for an anchor link decoration. */\n anchorData?: AnchorData;\n /** Data for a color decoration. */\n colorData?: ColorData;\n /** Data for an external link decoration. */\n linkData?: LinkData;\n /** Data for a mention decoration. */\n mentionData?: MentionData;\n /** Data for a font size decoration. */\n fontSizeData?: FontSizeData;\n /** Font weight for a bold decoration. */\n fontWeightValue?: number | null;\n /** Data for an italic decoration. Defaults to `true`. */\n italicData?: boolean | null;\n /** Data for an underline decoration. Defaults to `true`. */\n underlineData?: boolean | null;\n /** Data for a spoiler decoration. */\n spoilerData?: SpoilerData;\n /** Data for a strikethrough decoration. Defaults to `true`. */\n strikethroughData?: boolean | null;\n /** Data for a superscript decoration. Defaults to `true`. */\n superscriptData?: boolean | null;\n /** Data for a subscript decoration. Defaults to `true`. */\n subscriptData?: boolean | null;\n /** Data for a font family decoration. */\n fontFamilyData?: FontFamilyData;\n /** Data for a hand-drawn sketch annotation decoration. */\n sketchData?: SketchData;\n /** The type of decoration to apply. */\n type?: DecorationTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface DecorationDataOneOf {\n /** Data for an anchor link decoration. */\n anchorData?: AnchorData;\n /** Data for a color decoration. */\n colorData?: ColorData;\n /** Data for an external link decoration. */\n linkData?: LinkData;\n /** Data for a mention decoration. */\n mentionData?: MentionData;\n /** Data for a font size decoration. */\n fontSizeData?: FontSizeData;\n /** Font weight for a bold decoration. */\n fontWeightValue?: number | null;\n /** Data for an italic decoration. Defaults to `true`. */\n italicData?: boolean | null;\n /** Data for an underline decoration. Defaults to `true`. */\n underlineData?: boolean | null;\n /** Data for a spoiler decoration. */\n spoilerData?: SpoilerData;\n /** Data for a strikethrough decoration. Defaults to `true`. */\n strikethroughData?: boolean | null;\n /** Data for a superscript decoration. Defaults to `true`. */\n superscriptData?: boolean | null;\n /** Data for a subscript decoration. Defaults to `true`. */\n subscriptData?: boolean | null;\n /** Data for a font family decoration. */\n fontFamilyData?: FontFamilyData;\n /** Data for a hand-drawn sketch annotation decoration. */\n sketchData?: SketchData;\n}\n\nexport enum DecorationType {\n BOLD = 'BOLD',\n ITALIC = 'ITALIC',\n UNDERLINE = 'UNDERLINE',\n SPOILER = 'SPOILER',\n ANCHOR = 'ANCHOR',\n MENTION = 'MENTION',\n LINK = 'LINK',\n COLOR = 'COLOR',\n FONT_SIZE = 'FONT_SIZE',\n EXTERNAL = 'EXTERNAL',\n STRIKETHROUGH = 'STRIKETHROUGH',\n SUPERSCRIPT = 'SUPERSCRIPT',\n SUBSCRIPT = 'SUBSCRIPT',\n FONT_FAMILY = 'FONT_FAMILY',\n SKETCH = 'SKETCH',\n}\n\n/** @enumType */\nexport type DecorationTypeWithLiterals =\n | DecorationType\n | 'BOLD'\n | 'ITALIC'\n | 'UNDERLINE'\n | 'SPOILER'\n | 'ANCHOR'\n | 'MENTION'\n | 'LINK'\n | 'COLOR'\n | 'FONT_SIZE'\n | 'EXTERNAL'\n | 'STRIKETHROUGH'\n | 'SUPERSCRIPT'\n | 'SUBSCRIPT'\n | 'FONT_FAMILY'\n | 'SKETCH';\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?: Link;\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 /** The kind of entity the mention refers to. Any value is accepted, and it's usually used to mark a mention as a group mention (for example, `group`). When empty, the mention refers to a member. */\n type?: string | null;\n}\n\nexport interface FontSizeData {\n /** The units used for the font size. */\n unit?: FontTypeWithLiterals;\n /** Font size value. */\n value?: number | null;\n}\n\nexport enum FontType {\n PX = 'PX',\n EM = 'EM',\n}\n\n/** @enumType */\nexport type FontTypeWithLiterals = FontType | 'PX' | 'EM';\n\nexport interface SpoilerData {\n /** Spoiler ID. */\n id?: string | null;\n}\n\nexport interface FontFamilyData {\n /** @maxLength 1000 */\n value?: string | null;\n}\n\nexport interface SketchData {\n /** The sketch annotation variant to draw over the text. */\n variant?: VariantWithLiterals;\n /**\n * Annotation color. Defaults to the theme action color.\n * @maxLength 19\n */\n color?: string | null;\n /** Whether the annotation animates on first paint. Defaults to `true`. */\n animate?: boolean | null;\n}\n\nexport enum Variant {\n UNDERLINE = 'UNDERLINE',\n BOX = 'BOX',\n CIRCLE = 'CIRCLE',\n HIGHLIGHT = 'HIGHLIGHT',\n STRIKETHROUGH = 'STRIKETHROUGH',\n CROSSED_OFF = 'CROSSED_OFF',\n}\n\n/** @enumType */\nexport type VariantWithLiterals =\n | Variant\n | 'UNDERLINE'\n | 'BOX'\n | 'CIRCLE'\n | 'HIGHLIGHT'\n | 'STRIKETHROUGH'\n | 'CROSSED_OFF';\n\nexport interface AppEmbedData extends AppEmbedDataAppDataOneOf {\n /** Data for embedded Wix Bookings content. */\n bookingData?: BookingData;\n /** Data for embedded Wix Events content. */\n eventData?: EventData;\n /** The type of Wix App content being embedded. */\n type?: AppTypeWithLiterals;\n /** The ID of the embedded content. */\n itemId?: string | null;\n /** The name of the embedded content. */\n name?: string | null;\n /**\n * Deprecated: Use `image` instead.\n * @deprecated\n */\n imageSrc?: string | null;\n /** The URL for the embedded content. */\n url?: string | null;\n /** An image for the embedded content. */\n image?: Media;\n /** Whether to hide the image. */\n hideImage?: boolean | null;\n /** Whether to hide the title. */\n hideTitle?: boolean | null;\n /** Whether to hide the price. */\n hidePrice?: boolean | null;\n /** Whether to hide the description (Event and Booking). */\n hideDescription?: boolean | null;\n /** Whether to hide the date and time (Event). */\n hideDateTime?: boolean | null;\n /** Whether to hide the location (Event). */\n hideLocation?: boolean | null;\n /** Whether to hide the duration (Booking). */\n hideDuration?: boolean | null;\n /** Whether to hide the button. */\n hideButton?: boolean | null;\n /** Whether to hide the ribbon. */\n hideRibbon?: boolean | null;\n /** Button styling options. */\n buttonStyles?: ButtonStyles;\n /** Image styling options. */\n imageStyles?: ImageStyles;\n /** Ribbon styling options. */\n ribbonStyles?: RibbonStyles;\n /** Card styling options. */\n cardStyles?: CardStyles;\n /** Styling for the app embed's container. */\n containerData?: PluginContainerData;\n /** Pricing data for embedded Wix App content. */\n pricingData?: PricingData;\n /** Node animation. */\n animation?: Animation;\n}\n\n/** @oneof */\nexport interface AppEmbedDataAppDataOneOf {\n /** Data for embedded Wix Bookings content. */\n bookingData?: BookingData;\n /** Data for embedded Wix Events content. */\n eventData?: EventData;\n}\n\nexport enum Position {\n /** Image positioned at the start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Image positioned at the end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n /** Image positioned at the top */\n TOP = 'TOP',\n}\n\n/** @enumType */\nexport type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';\n\nexport enum AspectRatio {\n /** 1:1 aspect ratio */\n SQUARE = 'SQUARE',\n /** 16:9 aspect ratio */\n RECTANGLE = 'RECTANGLE',\n}\n\n/** @enumType */\nexport type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';\n\nexport enum Resizing {\n /** Fill the container, may crop the image */\n FILL = 'FILL',\n /** Fit the image within the container */\n FIT = 'FIT',\n}\n\n/** @enumType */\nexport type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';\n\nexport enum Placement {\n /** Ribbon placed on the image */\n IMAGE = 'IMAGE',\n /** Ribbon placed on the product information */\n PRODUCT_INFO = 'PRODUCT_INFO',\n}\n\n/** @enumType */\nexport type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';\n\nexport enum CardStylesType {\n /** Card with visible border and background */\n CONTAINED = 'CONTAINED',\n /** Card without visible border */\n FRAMELESS = 'FRAMELESS',\n}\n\n/** @enumType */\nexport type CardStylesTypeWithLiterals =\n | CardStylesType\n | 'CONTAINED'\n | 'FRAMELESS';\n\nexport enum Alignment {\n /** Content aligned to start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Content centered */\n CENTER = 'CENTER',\n /** Content aligned to end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n}\n\n/** @enumType */\nexport type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';\n\nexport enum Layout {\n /** Elements stacked vertically */\n STACKED = 'STACKED',\n /** Elements arranged horizontally */\n SIDE_BY_SIDE = 'SIDE_BY_SIDE',\n}\n\n/** @enumType */\nexport type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';\n\nexport enum AppType {\n PRODUCT = 'PRODUCT',\n EVENT = 'EVENT',\n BOOKING = 'BOOKING',\n}\n\n/** @enumType */\nexport type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';\n\nexport interface BookingData {\n /** Booking duration in minutes. */\n durations?: string | null;\n}\n\nexport interface EventData {\n /** Event schedule. */\n scheduling?: string | null;\n /** Event location. */\n location?: string | null;\n}\n\nexport interface ButtonStyles {\n /** Text to display on the button. */\n buttonText?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @maxLength 19\n */\n textColor?: string | null;\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Border color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n borderColorHover?: string | null;\n /**\n * Text color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n textColorHover?: string | null;\n /**\n * Background color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n backgroundColorHover?: string | null;\n /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */\n buttonSize?: string | null;\n}\n\nexport interface ImageStyles {\n /** Whether to hide the image. */\n hideImage?: boolean | null;\n /** Position of image. Defaults to `START`. */\n imagePosition?: PositionWithLiterals;\n /** Aspect ratio for the image. Defaults to `SQUARE`. */\n aspectRatio?: AspectRatioWithLiterals;\n /** How the image should be resized. Defaults to `FILL`. */\n resizing?: ResizingWithLiterals;\n /**\n * Image border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Image border width in pixels. */\n borderWidth?: number | null;\n /** Image border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface RibbonStyles {\n /** Text to display on the ribbon. */\n ribbonText?: string | null;\n /**\n * Ribbon background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Ribbon text color as a hexadecimal value.\n * @maxLength 19\n */\n textColor?: string | null;\n /**\n * Ribbon border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Ribbon border width in pixels. */\n borderWidth?: number | null;\n /** Ribbon border radius in pixels. */\n borderRadius?: number | null;\n /** Placement of the ribbon. Defaults to `IMAGE`. */\n ribbonPlacement?: PlacementWithLiterals;\n}\n\nexport interface CardStyles {\n /**\n * Card background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Card border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Card border width in pixels. */\n borderWidth?: number | null;\n /** Card border radius in pixels. */\n borderRadius?: number | null;\n /** Card type. Defaults to `CONTAINED`. */\n type?: CardStylesTypeWithLiterals;\n /** Content alignment. Defaults to `START`. */\n alignment?: AlignmentWithLiterals;\n /** Layout for title and price. Defaults to `STACKED`. */\n titlePriceLayout?: LayoutWithLiterals;\n /**\n * Title text color as a hexadecimal value.\n * @maxLength 19\n */\n titleColor?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @maxLength 19\n */\n textColor?: string | null;\n}\n\nexport interface PricingData {\n /**\n * Minimum numeric price value as string (e.g., \"10.99\").\n * @decimalValue options { maxScale:2 }\n */\n valueFrom?: string | null;\n /**\n * Maximum numeric price value as string (e.g., \"19.99\").\n * @decimalValue options { maxScale:2 }\n */\n valueTo?: string | null;\n /**\n * Numeric price value as string after discount application (e.g., \"15.99\").\n * @decimalValue options { maxScale:2 }\n */\n discountedValue?: string | null;\n /**\n * Currency of the value in ISO 4217 format (e.g., \"USD\", \"EUR\").\n * @format CURRENCY\n */\n currency?: string | null;\n /**\n * Pricing plan ID.\n * @format GUID\n */\n pricingPlanId?: string | null;\n}\n\nexport interface VideoData {\n /** Styling for the video's container. */\n containerData?: PluginContainerData;\n /** Video details. */\n video?: Media;\n /** Video thumbnail details. */\n thumbnail?: Media;\n /** Sets whether the video's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Video title. */\n title?: string | null;\n /** Video options. */\n options?: PlaybackOptions;\n /** Node animation. */\n animation?: Animation;\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 /** Node animation. */\n animation?: Animation;\n}\n\nexport interface Oembed {\n /** The resource type. */\n type?: string | null;\n /** The width of the resource specified in the `url` property in pixels. */\n width?: number | null;\n /** The height of the resource specified in the `url` property in pixels. */\n height?: number | null;\n /** Resource title. */\n title?: string | null;\n /** The source URL for the resource. */\n url?: string | null;\n /** HTML for embedding a video player. The HTML should have no padding or margins. */\n html?: string | null;\n /** The name of the author or owner of the resource. */\n authorName?: string | null;\n /** The URL for the author or owner of the resource. */\n authorUrl?: string | null;\n /** The name of the resource provider. */\n providerName?: string | null;\n /** The URL for the resource provider. */\n providerUrl?: string | null;\n /** The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined. */\n thumbnailUrl?: string | null;\n /** The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined. */\n thumbnailWidth?: string | null;\n /** The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined. */\n thumbnailHeight?: string | null;\n /** The URL for an embedded viedo. */\n videoUrl?: string | null;\n /** The oEmbed version number. This value must be `1.0`. */\n version?: string | null;\n}\n\nexport interface CollapsibleListData {\n /** Styling for the collapsible list's container. */\n containerData?: PluginContainerData;\n /** If `true`, only one item can be expanded at a time. Defaults to `false`. */\n expandOnlyOne?: boolean | null;\n /** Sets which items are expanded when the page loads. */\n initialExpandedItems?: InitialExpandedItemsWithLiterals;\n /** The direction of the text in the list. Either left-to-right or right-to-left. */\n direction?: DirectionWithLiterals;\n /** If `true`, The collapsible item will appear in search results as an FAQ. */\n isQapageData?: boolean | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport enum InitialExpandedItems {\n /** First item will be expended initally */\n FIRST = 'FIRST',\n /** All items will expended initally */\n ALL = 'ALL',\n /** All items collapsed initally */\n NONE = 'NONE',\n}\n\n/** @enumType */\nexport type InitialExpandedItemsWithLiterals =\n | InitialExpandedItems\n | 'FIRST'\n | 'ALL'\n | 'NONE';\n\nexport enum Direction {\n /** Left-to-right */\n LTR = 'LTR',\n /** Right-to-left */\n RTL = 'RTL',\n}\n\n/** @enumType */\nexport type DirectionWithLiterals = Direction | 'LTR' | 'RTL';\n\nexport interface TableData {\n /** Styling for the table's container. */\n containerData?: PluginContainerData;\n /** The table's dimensions. */\n dimensions?: Dimensions;\n /**\n * Deprecated: Use `rowHeader` and `columnHeader` instead.\n * @deprecated\n */\n header?: boolean | null;\n /** Sets whether the table's first row is a header. Defaults to `false`. */\n rowHeader?: boolean | null;\n /** Sets whether the table's first column is a header. Defaults to `false`. */\n columnHeader?: boolean | null;\n /** The spacing between cells in pixels. Defaults to `0`. */\n cellSpacing?: number | null;\n /**\n * Padding in pixels for cells. Follows CSS order: top, right, bottom, left.\n * @maxSize 4\n */\n cellPadding?: number[];\n /** Table's alternative text. */\n altText?: string | null;\n /** Node animation. */\n animation?: Animation;\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 /** Defines how many columns the cell spans. Default: 1. */\n colspan?: number | null;\n /** Defines how many rows the cell spans. Default: 1. */\n rowspan?: number | null;\n /** The cell's border widths. */\n borderWidths?: BorderWidths;\n}\n\nexport enum VerticalAlignment {\n /** Top alignment */\n TOP = 'TOP',\n /** Middle alignment */\n MIDDLE = 'MIDDLE',\n /** Bottom alignment */\n BOTTOM = 'BOTTOM',\n}\n\n/** @enumType */\nexport type VerticalAlignmentWithLiterals =\n | VerticalAlignment\n | 'TOP'\n | 'MIDDLE'\n | 'BOTTOM';\n\nexport interface CellStyle {\n /** Vertical alignment for the cell's text. */\n verticalAlignment?: VerticalAlignmentWithLiterals;\n /**\n * Cell background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n}\n\nexport interface BorderColors {\n /**\n * Left border color as a hexadecimal value.\n * @maxLength 19\n */\n left?: string | null;\n /**\n * Right border color as a hexadecimal value.\n * @maxLength 19\n */\n right?: string | null;\n /**\n * Top border color as a hexadecimal value.\n * @maxLength 19\n */\n top?: string | null;\n /**\n * Bottom border color as a hexadecimal value.\n * @maxLength 19\n */\n bottom?: string | null;\n}\n\nexport interface BorderWidths {\n /** Left border width in pixels. */\n left?: number | null;\n /** Right border width in pixels. */\n right?: number | null;\n /** Top border width in pixels. */\n top?: number | null;\n /** Bottom border width in pixels. */\n bottom?: number | null;\n}\n\n/**\n * `NullValue` is a singleton enumeration to represent the null value for the\n * `Value` type union.\n *\n * The JSON representation for `NullValue` is JSON `null`.\n */\nexport enum NullValue {\n /** Null value. */\n NULL_VALUE = 'NULL_VALUE',\n}\n\n/** @enumType */\nexport type NullValueWithLiterals = NullValue | 'NULL_VALUE';\n\n/**\n * `ListValue` is a wrapper around a repeated field of values.\n *\n * The JSON representation for `ListValue` is JSON array.\n */\nexport interface ListValue {\n /** Repeated field of dynamically typed values. */\n values?: any[];\n}\n\nexport interface AudioData {\n /** Styling for the audio node's container. */\n containerData?: PluginContainerData;\n /** Audio file details. */\n audio?: Media;\n /** Sets whether the audio node's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Cover image. */\n coverImage?: Media;\n /** Track name. */\n name?: string | null;\n /** Author name. */\n authorName?: string | null;\n /** An HTML version of the audio node. */\n html?: string | null;\n /** Node animation. */\n animation?: Animation;\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 /** Node animation. */\n animation?: Animation;\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 /** Node animation. */\n animation?: Animation;\n}\n\nexport interface BlockquoteData {\n /** Indentation level from 1-4. */\n indentation?: number;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface CaptionData {\n textStyle?: TextStyle;\n}\n\nexport interface LayoutData {\n /**\n * Deprecated: Use `background` instead.\n * @maxLength 19\n * @deprecated\n */\n backgroundColor?: string | null;\n /** Background image. */\n backgroundImage?: LayoutDataBackgroundImage;\n /**\n * Border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Deprecated: Use `backdrop` instead.\n * @maxLength 19\n * @deprecated\n */\n backdropColor?: string | null;\n /** Backdrop image. */\n backdropImage?: LayoutDataBackgroundImage;\n /** Backdrop top padding. */\n backdropPaddingTop?: number | null;\n /** Backdrop bottom padding */\n backdropPaddingBottom?: number | null;\n /** Horizontal and vertical gap between columns */\n gap?: number | null;\n /**\n * Padding in pixels for cells. Follows CSS order: top, right, bottom, left\n * @maxSize 4\n */\n cellPadding?: number[];\n /** Vertical alignment for the cell's items. */\n cellVerticalAlignment?: VerticalAlignmentAlignmentWithLiterals;\n /** Responsiveness behaviour of columns when responsiveness applies. Either stacks or wrappers. */\n responsivenessBehaviour?: ResponsivenessBehaviourWithLiterals;\n /** Size in pixels when responsiveness_behaviour applies */\n responsivenessBreakpoint?: number | null;\n /** Styling for the layout's container. */\n containerData?: PluginContainerData;\n /** Defines where selected design propertied applies to */\n designTarget?: DesignTargetWithLiterals;\n /** Banner configuration. When present, this layout is attached to a document edge (top or bottom). */\n banner?: Banner;\n /** Background styling (color or gradient). */\n background?: LayoutDataBackground;\n /** Backdrop styling (color or gradient). */\n backdrop?: Backdrop;\n /** Node animation. */\n animation?: Animation;\n /** Shape divider at the top edge of the layout. */\n topDivider?: SectionDivider;\n /** Shape divider at the bottom edge of the layout. */\n bottomDivider?: SectionDivider;\n}\n\nexport enum ImageScalingScaling {\n /** Auto image scaling */\n AUTO = 'AUTO',\n /** Contain image scaling */\n CONTAIN = 'CONTAIN',\n /** Cover image scaling */\n COVER = 'COVER',\n}\n\n/** @enumType */\nexport type ImageScalingScalingWithLiterals =\n | ImageScalingScaling\n | 'AUTO'\n | 'CONTAIN'\n | 'COVER';\n\nexport enum ImagePosition {\n /** Image positioned at the center */\n CENTER = 'CENTER',\n /** Image positioned on the left */\n CENTER_LEFT = 'CENTER_LEFT',\n /** Image positioned on the right */\n CENTER_RIGHT = 'CENTER_RIGHT',\n /** Image positioned at the center top */\n TOP = 'TOP',\n /** Image positioned at the top left */\n TOP_LEFT = 'TOP_LEFT',\n /** Image positioned at the top right */\n TOP_RIGHT = 'TOP_RIGHT',\n /** Image positioned at the center bottom */\n BOTTOM = 'BOTTOM',\n /** Image positioned at the bottom left */\n BOTTOM_LEFT = 'BOTTOM_LEFT',\n /** Image positioned at the bottom right */\n BOTTOM_RIGHT = 'BOTTOM_RIGHT',\n}\n\n/** @enumType */\nexport type ImagePositionWithLiterals =\n | ImagePosition\n | 'CENTER'\n | 'CENTER_LEFT'\n | 'CENTER_RIGHT'\n | 'TOP'\n | 'TOP_LEFT'\n | 'TOP_RIGHT'\n | 'BOTTOM'\n | 'BOTTOM_LEFT'\n | 'BOTTOM_RIGHT';\n\n/** Background styling (color or gradient) */\nexport interface LayoutDataBackground {\n /** Background type. */\n type?: LayoutDataBackgroundTypeWithLiterals;\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Gradient configuration. */\n gradient?: Gradient;\n}\n\n/** Background type */\nexport enum LayoutDataBackgroundType {\n /** Solid color background */\n COLOR = 'COLOR',\n /** Gradient background */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type LayoutDataBackgroundTypeWithLiterals =\n | LayoutDataBackgroundType\n | 'COLOR'\n | 'GRADIENT';\n\nexport enum Origin {\n /** Banner originated from an image */\n IMAGE = 'IMAGE',\n /** Banner originated from a layout */\n LAYOUT = 'LAYOUT',\n}\n\n/** @enumType */\nexport type OriginWithLiterals = Origin | 'IMAGE' | 'LAYOUT';\n\nexport enum BannerPosition {\n /** Attached to the top edge (banner) */\n TOP = 'TOP',\n /** Attached to the bottom edge (footer) */\n BOTTOM = 'BOTTOM',\n}\n\n/** @enumType */\nexport type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';\n\n/** How the stacked layers fade relative to the base shape. Named for a bottom divider; top dividers render mirrored, so the visual fade flips. */\nexport enum LayerEffect {\n /** Shape keeps its height, a solid filler bar pushes it away from the edge */\n CENTER = 'CENTER',\n /** Deeper (more transparent) layers shrink toward the edge inside the original band while a solid filler bar keeps its full height, so the faded copies hug the top of the band */\n FADE_TO_TOP = 'FADE_TO_TOP',\n /** Deeper (more transparent) layers stretch taller into the section, so the faded copies fan out above the base shape and descend to the layout edge */\n FADE_TO_BOTTOM = 'FADE_TO_BOTTOM',\n}\n\n/** @enumType */\nexport type LayerEffectWithLiterals =\n | LayerEffect\n | 'CENTER'\n | 'FADE_TO_TOP'\n | 'FADE_TO_BOTTOM';\n\n/** Divider shape preset */\nexport enum Shape {\n /** Ellipse shape */\n ELLIPSE = 'ELLIPSE',\n /** Tilt shape */\n TILT = 'TILT',\n /** Liquid shape */\n LIQUID = 'LIQUID',\n /** Left wave shape */\n LEFT_WAVE = 'LEFT_WAVE',\n /** Paint scribble shape */\n PAINT_SCRIBBLE = 'PAINT_SCRIBBLE',\n /** Inverted ellipse shape */\n INVERTED_ELLIPSE = 'INVERTED_ELLIPSE',\n /** Right wave shape */\n RIGHT_WAVE = 'RIGHT_WAVE',\n /** Dunes shape */\n DUNES = 'DUNES',\n /** Waves shape */\n WAVES = 'WAVES',\n /** Triangle shape */\n TRIANGLE = 'TRIANGLE',\n /** Semi-ellipse shape */\n SEMI_ELLIPSE = 'SEMI_ELLIPSE',\n /** Plants shape */\n PLANTS = 'PLANTS',\n /** Layered ellipse shape */\n LAYERED_ELLIPSE = 'LAYERED_ELLIPSE',\n /** Pixels shape */\n PIXELS = 'PIXELS',\n /** Paint shape */\n PAINT = 'PAINT',\n /** Clouds shape */\n CLOUDS = 'CLOUDS',\n /** Optical illusion shape */\n OPTICAL_ILLUSION = 'OPTICAL_ILLUSION',\n /** Stripes shape */\n STRIPES = 'STRIPES',\n /** Blobs shape */\n BLOBS = 'BLOBS',\n /** Semi-circles shape */\n SEMI_CIRCLES = 'SEMI_CIRCLES',\n /** Hill shape */\n HILL = 'HILL',\n /** Brush shape */\n BRUSH = 'BRUSH',\n /** Peaks shape */\n PEAKS = 'PEAKS',\n /** Angled triangle shape */\n ANGLED_TRIANGLE = 'ANGLED_TRIANGLE',\n}\n\n/** @enumType */\nexport type ShapeWithLiterals =\n | Shape\n | 'ELLIPSE'\n | 'TILT'\n | 'LIQUID'\n | 'LEFT_WAVE'\n | 'PAINT_SCRIBBLE'\n | 'INVERTED_ELLIPSE'\n | 'RIGHT_WAVE'\n | 'DUNES'\n | 'WAVES'\n | 'TRIANGLE'\n | 'SEMI_ELLIPSE'\n | 'PLANTS'\n | 'LAYERED_ELLIPSE'\n | 'PIXELS'\n | 'PAINT'\n | 'CLOUDS'\n | 'OPTICAL_ILLUSION'\n | 'STRIPES'\n | 'BLOBS'\n | 'SEMI_CIRCLES'\n | 'HILL'\n | 'BRUSH'\n | 'PEAKS'\n | 'ANGLED_TRIANGLE';\n\n/** Layers effect - stacked semi-transparent copies of the divider shape */\nexport interface Layers {\n /** Total number of layers including the base shape (1-4). Absent or 1 disables the effect. */\n count?: number | null;\n /** Vertical distance in pixels between the silhouettes of consecutive layers: each successive layer's silhouette is offset from the previous one by this amount. The divider's own `height` is unchanged. Defaults to 20. */\n offsetY?: number | null;\n /** How the stacked layers fade relative to the base shape. */\n layerEffect?: LayerEffectWithLiterals;\n /** Horizontal distance between consecutive layers in pixels. Defaults to 0. Only applies to shapes that support horizontal offset. */\n offsetX?: number | null;\n}\n\n/** Backdrop type */\nexport enum BackdropType {\n /** Solid color backdrop */\n COLOR = 'COLOR',\n /** Gradient backdrop */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';\n\nexport interface LayoutDataBackgroundImage {\n /** Background image. */\n media?: Media;\n /**\n * Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background`/`backdrop` color behind it.\n * @deprecated\n */\n opacity?: number | null;\n /** Background image scaling. */\n scaling?: ImageScalingScalingWithLiterals;\n /** Position of background. Defaults to `CENTER`. */\n position?: ImagePositionWithLiterals;\n /** Blur radius in pixels applied to the image layer. `0` (default) leaves the image unblurred; blur is independent of any color overlay and the two stack. */\n blur?: number | null;\n /** Color or gradient drawn on top of the image. When present, this is the authoritative overlay and `opacity` is ignored. Its presence also marks content as authored under the new overlay model (vs. the legacy `opacity`-based dimming on `background`/`backdrop`). */\n overlay?: LayoutDataBackground;\n}\n\nexport enum VerticalAlignmentAlignment {\n /** Top alignment */\n TOP = 'TOP',\n /** Middle alignment */\n MIDDLE = 'MIDDLE',\n /** Bottom alignment */\n BOTTOM = 'BOTTOM',\n}\n\n/** @enumType */\nexport type VerticalAlignmentAlignmentWithLiterals =\n | VerticalAlignmentAlignment\n | 'TOP'\n | 'MIDDLE'\n | 'BOTTOM';\n\nexport enum ResponsivenessBehaviour {\n /** Stacking of columns */\n STACK = 'STACK',\n /** Wrapping of columns */\n WRAP = 'WRAP',\n}\n\n/** @enumType */\nexport type ResponsivenessBehaviourWithLiterals =\n | ResponsivenessBehaviour\n | 'STACK'\n | 'WRAP';\n\nexport enum DesignTarget {\n /** Design applied to layout */\n LAYOUT = 'LAYOUT',\n /** Design applied to cells */\n CELL = 'CELL',\n}\n\n/** @enumType */\nexport type DesignTargetWithLiterals = DesignTarget | 'LAYOUT' | 'CELL';\n\nexport interface Banner {\n /** Origin of the banner */\n origin?: OriginWithLiterals;\n /** Position of the banner */\n position?: BannerPositionWithLiterals;\n}\n\n/** Backdrop styling (color or gradient) */\nexport interface Backdrop {\n /** Backdrop type. */\n type?: BackdropTypeWithLiterals;\n /**\n * Backdrop color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Gradient configuration. */\n gradient?: Gradient;\n}\n\n/** Decorative shape divider at a layout edge */\nexport interface SectionDivider {\n /** Divider shape preset. Determines which customization properties apply. */\n type?: ShapeWithLiterals;\n /**\n * Divider fill color as a hexadecimal value (may include alpha).\n * @maxLength 19\n */\n color?: string | null;\n /** Divider height in pixels. */\n height?: number | null;\n /** Horizontal offset in pixels. */\n offsetX?: number | null;\n /** Whether the shape is flipped horizontally. */\n flipped?: boolean | null;\n /** Layers effect - stacked semi-transparent copies of the divider shape. */\n layers?: Layers;\n}\n\nexport interface LayoutCellData {\n /** Size of the cell in 12 columns grid. */\n colSpan?: number | null;\n}\n\nexport interface ShapeData {\n /** Styling for the shape's container. */\n containerData?: PluginContainerData;\n /** Shape file details. */\n shape?: Media;\n /** Styling for the shape. */\n styles?: ShapeDataStyles;\n /** Node animation. */\n animation?: Animation;\n /** Link details for shapes that are links. */\n link?: Link;\n /**\n * Alternate text describing the link's purpose for accessibility. Applies only when `link` is set.\n * @maxLength 1000\n */\n altText?: string | null;\n}\n\nexport interface ShapeDataStyles {\n /**\n * Shape fill color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Map of original color keys to their new color values. */\n colors?: Record<string, string>;\n}\n\nexport interface CardData {\n /** Background styling (color or gradient). */\n background?: CardDataBackground;\n /** Background image. */\n backgroundImage?: BackgroundImage;\n}\n\nexport enum Scaling {\n /** Auto image scaling */\n AUTO = 'AUTO',\n /** Contain image scaling */\n CONTAIN = 'CONTAIN',\n /** Cover image scaling */\n COVER = 'COVER',\n}\n\n/** @enumType */\nexport type ScalingWithLiterals = Scaling | 'AUTO' | 'CONTAIN' | 'COVER';\n\nexport enum ImagePositionPosition {\n /** Image positioned at the center */\n CENTER = 'CENTER',\n /** Image positioned on the left */\n CENTER_LEFT = 'CENTER_LEFT',\n /** Image positioned on the right */\n CENTER_RIGHT = 'CENTER_RIGHT',\n /** Image positioned at the center top */\n TOP = 'TOP',\n /** Image positioned at the top left */\n TOP_LEFT = 'TOP_LEFT',\n /** Image positioned at the top right */\n TOP_RIGHT = 'TOP_RIGHT',\n /** Image positioned at the center bottom */\n BOTTOM = 'BOTTOM',\n /** Image positioned at the bottom left */\n BOTTOM_LEFT = 'BOTTOM_LEFT',\n /** Image positioned at the bottom right */\n BOTTOM_RIGHT = 'BOTTOM_RIGHT',\n}\n\n/** @enumType */\nexport type ImagePositionPositionWithLiterals =\n | ImagePositionPosition\n | 'CENTER'\n | 'CENTER_LEFT'\n | 'CENTER_RIGHT'\n | 'TOP'\n | 'TOP_LEFT'\n | 'TOP_RIGHT'\n | 'BOTTOM'\n | 'BOTTOM_LEFT'\n | 'BOTTOM_RIGHT';\n\n/** Background styling (color or gradient) */\nexport interface CardDataBackground {\n /** Background type. */\n type?: CardDataBackgroundTypeWithLiterals;\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Gradient configuration. */\n gradient?: Gradient;\n}\n\n/** Background type */\nexport enum CardDataBackgroundType {\n /** Solid color background */\n COLOR = 'COLOR',\n /** Gradient background */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type CardDataBackgroundTypeWithLiterals =\n | CardDataBackgroundType\n | 'COLOR'\n | 'GRADIENT';\n\nexport interface BackgroundImage {\n /** Background image. */\n media?: Media;\n /**\n * Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background` color behind it.\n * @deprecated\n */\n opacity?: number | null;\n /** Background image scaling. */\n scaling?: ScalingWithLiterals;\n /** Position of background. Defaults to `CENTER`. */\n position?: ImagePositionPositionWithLiterals;\n /** Color or gradient drawn on top of the image. When present, this is the authoritative overlay and `opacity` is ignored. Its presence also marks content as authored under the new overlay model (vs. the legacy `opacity`-based dimming on `background`). */\n overlay?: CardDataBackground;\n /** Blur radius in pixels applied to the image layer. `0` (default) leaves the image unblurred; blur is independent of any color overlay and the two stack. */\n blur?: number | null;\n}\n\nexport interface TocData {\n /** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */\n includedHeadings?: number[];\n /** List style. Default: PLAIN. */\n listStyle?: ListStyleWithLiterals;\n /** Optional override for the font size in pixels. */\n fontSize?: number | null;\n /** Optional override for the vertical spacing between items in pixels. */\n itemSpacing?: number | null;\n /**\n * Optional override for the text color.\n * @maxLength 19\n */\n color?: string | null;\n /** Indentation style. Default: NESTED. */\n indentation?: IndentationWithLiterals;\n /** Node animation. */\n animation?: Animation;\n}\n\n/** List style. */\nexport enum ListStyle {\n /** No markers (default) */\n PLAIN = 'PLAIN',\n /** Numbered list */\n NUMBERED = 'NUMBERED',\n /** Alphabetic letters */\n LETTERS = 'LETTERS',\n /** Roman numerals */\n ROMAN = 'ROMAN',\n /** Bulleted list */\n BULLETED = 'BULLETED',\n /** Alphabetical index */\n ALPHABETICAL_INDEX = 'ALPHABETICAL_INDEX',\n /** Alphabetical index (compact top-row only) */\n ALPHABETICAL_INDEX_COMPACT = 'ALPHABETICAL_INDEX_COMPACT',\n}\n\n/** @enumType */\nexport type ListStyleWithLiterals =\n | ListStyle\n | 'PLAIN'\n | 'NUMBERED'\n | 'LETTERS'\n | 'ROMAN'\n | 'BULLETED'\n | 'ALPHABETICAL_INDEX'\n | 'ALPHABETICAL_INDEX_COMPACT';\n\n/** Indentation style. */\nexport enum Indentation {\n /** Sub-headings indented under parents (default) */\n NESTED = 'NESTED',\n /** All items at the same level */\n FLAT = 'FLAT',\n}\n\n/** @enumType */\nexport type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';\n\n/** Data for a smart block node. */\nexport interface SmartBlockData {\n /** The type of the smart block. */\n type?: SmartBlockDataTypeWithLiterals;\n /** Layout orientation. HORIZONTAL or VERTICAL. Optional for variants with fixed orientation. */\n orientation?: string | null;\n /** Column size controlling cells per row. */\n columnSize?: ColumnSizeWithLiterals;\n /**\n * Border color (for SOLID_JOINED_BOXES variant).\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Border width in pixels (for SOLID_JOINED_BOXES variant). */\n borderWidth?: number | null;\n /** Border radius in pixels (for SOLID_JOINED_BOXES variant). */\n borderRadius?: number | null;\n /** Node animation. */\n animation?: Animation;\n}\n\n/** Layout type of the smart block */\nexport enum SmartBlockDataType {\n /** Grid-based layouts with solid box items containing title, body, and icon/image. */\n SOLID_BOXES = 'SOLID_BOXES',\n /** Numbered boxes. */\n NUMBERED_BOXES = 'NUMBERED_BOXES',\n /** Statistics display with large numbers/values. */\n STATS = 'STATS',\n /** Statistics with circular visual elements. */\n CIRCLE_STATS = 'CIRCLE_STATS',\n /** Staggered/zigzag grid layout with alternating box positions. */\n SOLID_BOXES_ALTERNATING = 'SOLID_BOXES_ALTERNATING',\n /** Grid layout with boxes visually joined (no gaps, shared container border). */\n SOLID_JOINED_BOXES = 'SOLID_JOINED_BOXES',\n /** Transparent cells with only a left side line. */\n SIDE_LINE_TEXT = 'SIDE_LINE_TEXT',\n /** Transparent cells with only a top line. */\n TOP_LINE_TEXT = 'TOP_LINE_TEXT',\n /** Outlined boxes with a numbered/icon circle at the top. */\n OUTLINE_BOXES_WITH_TOP_CIRCLE = 'OUTLINE_BOXES_WITH_TOP_CIRCLE',\n /** Large icon bullets with text content. */\n BIG_BULLETS = 'BIG_BULLETS',\n /** Small dot bullets with text content. */\n SMALL_BULLETS = 'SMALL_BULLETS',\n /** Arrow icon bullets with text content. */\n ARROW_BULLETS = 'ARROW_BULLETS',\n /** Process steps with numbered/icon labels above a horizontal line. */\n PROCESS_STEPS = 'PROCESS_STEPS',\n /** Statistics with bar visual elements. */\n BAR_STATS = 'BAR_STATS',\n /** Timeline layout with numbered chips on a connecting line; cells alternate around the line. */\n TIMELINE = 'TIMELINE',\n /** Timeline layout with plain dot indicators; no numbers or shapes; cells alternate around the line. */\n MINIMAL_TIMELINE = 'MINIMAL_TIMELINE',\n /** Numbered pill-shaped labels (stadium chips) with text content; supports HORIZONTAL (pill on top) and VERTICAL (pill on left) orientations. */\n PILLS = 'PILLS',\n /** Star rating display with stars and a numeric value per cell. */\n STAR_RATING = 'STAR_RATING',\n /** Outlined boxes with decorative quote glyphs at the top-left and bottom-right corners. */\n QUOTE_BOXES = 'QUOTE_BOXES',\n /** Donut/ring with numbered annular-sector segments; cell text labels sit outside the ring. */\n CIRCLE = 'CIRCLE',\n /** Hierarchical pyramid where each cell renders as a horizontal slice (apex at top, base at bottom) with the cell number or shape centered inside; text content sits beside (desktop) or below (mobile) the pyramid. */\n PYRAMID = 'PYRAMID',\n /** Cells render a horizontal bar whose width scales with cell index, creating a staircase pattern; bar carries the cell number or a custom shape. */\n STAIRCASE = 'STAIRCASE',\n /** Hierarchical funnel where each cell renders as a horizontal slice (wide at top, narrowing toward the bottom) with the cell number or shape centered inside; text content sits beside (desktop) or below (mobile) the funnel. */\n VERTICAL_FUNNEL = 'VERTICAL_FUNNEL',\n}\n\n/** @enumType */\nexport type SmartBlockDataTypeWithLiterals =\n | SmartBlockDataType\n | 'SOLID_BOXES'\n | 'NUMBERED_BOXES'\n | 'STATS'\n | 'CIRCLE_STATS'\n | 'SOLID_BOXES_ALTERNATING'\n | 'SOLID_JOINED_BOXES'\n | 'SIDE_LINE_TEXT'\n | 'TOP_LINE_TEXT'\n | 'OUTLINE_BOXES_WITH_TOP_CIRCLE'\n | 'BIG_BULLETS'\n | 'SMALL_BULLETS'\n | 'ARROW_BULLETS'\n | 'PROCESS_STEPS'\n | 'BAR_STATS'\n | 'TIMELINE'\n | 'MINIMAL_TIMELINE'\n | 'PILLS'\n | 'STAR_RATING'\n | 'QUOTE_BOXES'\n | 'CIRCLE'\n | 'PYRAMID'\n | 'STAIRCASE'\n | 'VERTICAL_FUNNEL';\n\n/** Column size controlling how many cells appear per row. */\nexport enum ColumnSize {\n /** Up to 4 cells in a row. */\n SMALL = 'SMALL',\n /** Up to 3 cells in a row (default). */\n MEDIUM = 'MEDIUM',\n /** Up to 2 cells in a row. */\n LARGE = 'LARGE',\n /** 1 cell in a row. */\n EXTRA_LARGE = 'EXTRA_LARGE',\n}\n\n/** @enumType */\nexport type ColumnSizeWithLiterals =\n | ColumnSize\n | 'SMALL'\n | 'MEDIUM'\n | 'LARGE'\n | 'EXTRA_LARGE';\n\n/** Data for a smart block cell node. */\nexport interface SmartBlockCellData {\n /** Optional label text for the cell (e.g., for stats variants). */\n label?: string | null;\n /** Shape file details. */\n shape?: Media;\n /**\n * Border color of the cell.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /** The type of the parent smart block (must match parent). */\n type?: SmartBlockDataTypeWithLiterals;\n /**\n * Accent color for non-background variants (e.g., line, bullet, label color).\n * @maxLength 19\n */\n accentColor?: string | null;\n /**\n * Background color for background-based variants (SOLID_BOXES, SOLID_BOXES_ALTERNATING, SOLID_JOINED_BOXES).\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Shape fill color as a hexadecimal value.\n * @maxLength 19\n */\n shapeColor?: string | null;\n}\n\nexport interface CheckboxListData {\n /** Indentation level from 0-4. */\n indentation?: number;\n /** Offset level from 0-4. */\n offset?: number | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface ListItemNodeData {\n /** Checkbox list item state. Defaults to `false`. */\n checked?: boolean | null;\n /** Node animation. */\n animation?: Animation;\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 BadgeList {\n /**\n * Events badges.\n * @maxSize 10\n */\n badges?: Badge[];\n}\n\nexport interface Badge {\n /** Badge type. */\n type?: BadgeTypeTypeWithLiterals;\n /**\n * Badge text.\n * @maxLength 50\n */\n text?: string | null;\n /**\n * The date when function that yielded this badge was last edited.\n * Used to resolve priority when 2 or more badges have the same type.\n * @internal\n */\n functionUpdateDate?: Date | null;\n}\n\nexport enum BadgeTypeType {\n /** 1st priority badge type. */\n FIRST_PRIORITY = 'FIRST_PRIORITY',\n /** 2nd priority badge type. */\n SECOND_PRIORITY = 'SECOND_PRIORITY',\n /** 3rd priority badge type. */\n THIRD_PRIORITY = 'THIRD_PRIORITY',\n}\n\n/** @enumType */\nexport type BadgeTypeTypeWithLiterals =\n | BadgeTypeType\n | 'FIRST_PRIORITY'\n | 'SECOND_PRIORITY'\n | 'THIRD_PRIORITY';\n\nexport interface EventStarted {\n /** Event schedule configuration. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Whether at least 1 guest is registered to the event with any attendance status. */\n hasGuests?: boolean | null;\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 /** Whether at least 1 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 dateAndTimeSettings?: DateAndTimeSettings;\n /**\n * Event title.\n * @minLength 1\n * @maxLength 120\n */\n title?: string;\n /**\n * ID of the user who created the event.\n * @format GUID\n */\n userId?: string | null;\n /** Time until the start of event. By default, the reminder letter is triggered 1 day before the start of event. */\n startsIn?: TimeDuration;\n /** Whether at least 1 guest is registered to the event with any attendance status. */\n hasGuests?: boolean | null;\n}\n\nexport interface EventPublished {\n /** Event publishing timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event status. */\n status?: StatusWithLiterals;\n /**\n * Event ID. Indicates the original event from which the current event was derived from.\n * Can be used to track the original event and add missing information.\n * @format GUID\n */\n derivedFromEventId?: string | null;\n /**\n * Event title.\n * @minLength 1\n * @maxLength 120\n */\n title?: string | null;\n /**\n * Short description that appears under the event title.\n * @maxLength 500\n */\n shortDescription?: string | null;\n /** Event location. */\n location?: Location;\n /** Event date and time settings. */\n dateAndTimeSettings?: DateAndTimeSettings;\n /** Event page URL components. */\n eventPageUrl?: string;\n /** RSVP or ticketing registration details. */\n registration?: Registration;\n}\n\nexport interface EventCloned {\n /** Event creation 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 date and time settings. */\n dateAndTimeSettings?: DateAndTimeSettings;\n /**\n * Event title.\n * @minLength 1\n * @maxLength 120\n */\n title?: string;\n /**\n * ID of the user who created the event.\n * @format GUID\n */\n userId?: string | null;\n /** Event status. */\n status?: StatusWithLiterals;\n /**\n * Instance ID. Indicates the original app instance from which current event was derived from.\n * @format GUID\n */\n derivedFromInstanceId?: string | null;\n /**\n * Event ID. Indicates the original event from which current event was derived from.\n * @format GUID\n */\n derivedFromEventId?: string | null;\n /**\n * Map of copied ticket definitions from the original event. <br>\n * Key represents ticket definition ID in the original event. <br>\n * Value represents ticket definition ID in the newly event.\n */\n ticketDefinitions?: Record<string, string>;\n}\n\nexport interface EventCanceled {\n /** Event cancellation timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /**\n * Event title.\n * @minLength 1\n * @maxLength 120\n */\n title?: string;\n /**\n * ID of the user who created the event.\n * @format GUID\n */\n userId?: string | null;\n /** Whether at least 1 guest is registered to the event with any attendance status. */\n hasGuests?: boolean | null;\n}\n\nexport interface CreateEventRequest {\n /** Event data. */\n event: Event;\n /** Whether to create the event as a draft. */\n draft?: boolean;\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport enum RequestedFields {\n /** Returns `shortDescription`, `mainImage` and `calendarUrls`. */\n DETAILS = 'DETAILS',\n /** Returns `description`. */\n TEXTS = 'TEXTS',\n /** Returns `registration`. */\n REGISTRATION = 'REGISTRATION',\n /** Returns `eventPageUrl`. */\n URLS = 'URLS',\n /** Returns `form`. */\n FORM = 'FORM',\n /** Returns `summaries`. */\n DASHBOARD = 'DASHBOARD',\n /** Returns `feed`. */\n FEED = 'FEED',\n /** Returns `onlineConferencing.session`. */\n ONLINE_CONFERENCING_SESSION = 'ONLINE_CONFERENCING_SESSION',\n /** Returns `seoSettings`. */\n SEO_SETTINGS = 'SEO_SETTINGS',\n /** Returns `agendaSettings`. */\n AGENDA = 'AGENDA',\n /** Returns `categories`. */\n CATEGORIES = 'CATEGORIES',\n /** @internal */\n CUSTOMIZABLE_TICKETS = 'CUSTOMIZABLE_TICKETS',\n /**\n * Returns badges. When using this fieldset, query or list methods limit can't exceed 100 items.\n * @internal\n */\n BADGES = 'BADGES',\n}\n\n/** @enumType */\nexport type RequestedFieldsWithLiterals =\n | RequestedFields\n | 'DETAILS'\n | 'TEXTS'\n | 'REGISTRATION'\n | 'URLS'\n | 'FORM'\n | 'DASHBOARD'\n | 'FEED'\n | 'ONLINE_CONFERENCING_SESSION'\n | 'SEO_SETTINGS'\n | 'AGENDA'\n | 'CATEGORIES';\n\nexport interface CreateEventResponse {\n /** Created event. */\n event?: Event;\n}\n\nexport interface CloneEventRequest {\n /**\n * Event ID.\n * @format GUID\n */\n eventId: string;\n /** Event info to change in the cloned event. */\n event?: Event;\n /**\n * Fields that are included in this parameter are updated, while all other fields stay the same. If paths are not defined, all field values from the `event` object are updated.\n * @internal\n */\n fieldmask?: string[];\n /** Whether to clone the event as a draft. */\n draft?: boolean;\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CloneEventResponse {\n /** Cloned event. */\n event?: Event;\n}\n\nexport interface CloneEventFromOtherSiteRequest {\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string | null;\n /**\n * Origin instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CloneEventFromOtherSiteResponse {\n /** Cloned event. */\n event?: Event;\n}\n\nexport interface GetEventTranslationsContentRequest {\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string | null;\n}\n\nexport interface GetEventTranslationsContentResponse {\n /** Translation content entries from the multilingual translation-content service. */\n contents?: Content[];\n}\n\nexport interface Content {\n /**\n * Translation content ID.\n * @readonly\n * @format GUID\n */\n _id?: string | null;\n /**\n * Translation schema ID.\n * @immutable\n * @format GUID\n */\n schemaId?: string;\n /**\n * A unique identifier defined by the app developer to differentiate translation content for various entities within the site. For example, if an app developer is creating translation content for blog posts, the `entityId` can be `'blog-posts-1'`.\n * @immutable\n * @minLength 1\n * @maxLength 100\n */\n entityId?: string;\n /**\n * Translation content locale.\n * @format LANGUAGE_TAG\n * @immutable\n */\n locale?: string;\n /**\n * List of fields for the translation content. This property uses a string to map to a `ContentField` (`Map<string, ContentField>`). The string serves as a key, which you'll need to access each field in the content and when referencing a translation schema.\n * @maxSize 2000\n */\n fields?: Record<string, ContentField>;\n /**\n * A reference to the parent content. For example, if the content is a menu item, this property would contain the `entityId` of the menu it belongs to.\n * @minLength 1\n * @maxLength 100\n */\n parentEntityId?: string | null;\n /**\n * The aggregated published status across all content fields.\n * @readonly\n */\n publishStatus?: PublishStatusWithLiterals;\n /**\n * Contains the value of the preview field if the schema defines one.\n * @readonly\n * @maxLength 20000\n */\n previewField?: string | null;\n /**\n * Date and time the translation content was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time the translation content was updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n}\n\nexport interface ContentField extends ContentFieldValueOneOf {\n /**\n * Plain text. Use this field if the corresponding schema `fields.type` is `SHORT_TEXT`, `LONG_TEXT`, `HTML`, or `IMAGE_LINK`.\n * @maxLength 100000\n */\n textValue?: string;\n /**\n * Translation Content rich content.\n *\n * <widget src=\"https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component\" exampleid=\"71a5e527-a334-49e6-bc2d-9f5b3e831fc5\">See Ricos document reference</widget>\n */\n richContent?: RichContent;\n /** Wix Media Manager image. */\n image?: string;\n /** Wix Media Manager video. */\n video?: string;\n /** Wix Media Manager document. */\n document?: string;\n /**\n * Field unique identifier. Validated according to Regex `^[A-Za-z0-9-_)(]+$`. Field IDs may contain parentheses to reference repeated items, such as images. These parentheses can't be nested and each opening parenthesis must be followed by a closing one. For example, `title()()` is valid, while `title)(` and `title(())` aren't valid. The value inside the parenthesis is validated according to Regex `^[^)(\\\\]\\\\[\\\\.]+$`.\n * @minLength 1\n * @maxLength 256\n * @readonly\n */\n _id?: string;\n /**\n * Whether to publish the translation content to the live site, making it visible to site visitors.\n *\n * Default: `false`\n */\n published?: boolean;\n /** **Required.** The source that updated the translation content. */\n updatedBy?: UpdaterIdentityWithLiterals;\n /**\n * Unique string identifier that links a specific content field to its corresponding field in the schema.\n * @readonly\n * @maxLength 100\n */\n schemaFieldKey?: string;\n /**\n * Field index. Used for cases where the order of the fields are relevant.\n * @readonly\n */\n index?: number;\n /**\n * Date and time the translation content field was updated.\n * @internal\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Number of words in the field. This property is only available for `text_value` and `rich_content` types.\n * @internal\n * @readonly\n */\n numberOfWords?: number | null;\n}\n\n/** @oneof */\nexport interface ContentFieldValueOneOf {\n /**\n * Plain text. Use this field if the corresponding schema `fields.type` is `SHORT_TEXT`, `LONG_TEXT`, `HTML`, or `IMAGE_LINK`.\n * @maxLength 100000\n */\n textValue?: string;\n /**\n * Translation Content rich content.\n *\n * <widget src=\"https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component\" exampleid=\"71a5e527-a334-49e6-bc2d-9f5b3e831fc5\">See Ricos document reference</widget>\n */\n richContent?: RichContent;\n /** Wix Media Manager image. */\n image?: string;\n /** Wix Media Manager video. */\n video?: string;\n /** Wix Media Manager document. */\n document?: string;\n}\n\nexport interface VideoResolution {\n /**\n * Video URL.\n * @maxLength 1000\n */\n url?: string;\n /** Video height. */\n height?: number;\n /** Video width. */\n width?: number;\n /**\n * Deprecated. Use the `posters` property in the parent entity instead.\n * @internal\n * @deprecated Deprecated. Use the `posters` property in the parent entity instead.\n * @targetRemovalDate 2029-08-01\n */\n poster?: string;\n /**\n * Video format for example, mp4, hls.\n * @maxLength 1000\n */\n format?: string;\n /**\n * Deprecated. Use the `urlExpirationDate` property in the parent entity instead.\n * @internal\n * @deprecated Deprecated. Use the `urlExpirationDate` property in the parent entity instead.\n * @targetRemovalDate 2029-08-01\n */\n urlExpirationDate?: Date | null;\n /**\n * Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution.\n * @internal\n * @format DECIMAL_VALUE\n * @deprecated Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution.\n * @targetRemovalDate 2029-08-01\n */\n sizeInBytes?: string | null;\n /**\n * Video quality. For example: 480p, 720p.\n * @internal\n * @maxLength 1000\n */\n quality?: string | null;\n /**\n * Video filename.\n * @internal\n * @maxLength 1000\n */\n filename?: string | null;\n /**\n * Video duration in seconds.\n * @internal\n * @readonly\n * @deprecated Video duration in seconds.\n * @replacedBy duration_in_milliseconds\n * @targetRemovalDate 2029-08-01\n */\n durationInSeconds?: number | null;\n /**\n * Video duration in milliseconds.\n * @internal\n * @readonly\n */\n durationInMilliseconds?: number | null;\n /**\n * When true, this is a protected asset, and calling the URL will return a 403 error.\n * In order to access private assets, make a request to:\n * `GenerateFileDownloadUrl` with the WixMedia id and specify the asset_key in the request\n * @internal\n * @readonly\n */\n private?: boolean | null;\n /**\n * Key to identify the video resolution's relationship to the original media in WixMedia.\n * Can be used to request a download for the specific video resolution.\n * For example: 480p.mp4, 720p.mp4, 1080p.mp4, trailer-720p.mp4, clip-720p.mp4\n * @internal\n * @readonly\n * @maxLength 1000\n */\n assetKey?: string | null;\n}\n\nexport enum UpdaterIdentity {\n /** Unknown updater. */\n UNKNOWN_UPDATER_IDENTITY = 'UNKNOWN_UPDATER_IDENTITY',\n /** The Wix user. */\n USER = 'USER',\n /** An external translation app. */\n EXTERNAL_APP = 'EXTERNAL_APP',\n /** Machine translation service. */\n MACHINE = 'MACHINE',\n}\n\n/** @enumType */\nexport type UpdaterIdentityWithLiterals =\n | UpdaterIdentity\n | 'UNKNOWN_UPDATER_IDENTITY'\n | 'USER'\n | 'EXTERNAL_APP'\n | 'MACHINE';\n\nexport enum PublishStatus {\n /** Unknown publish status. */\n UNKNOWN_PUBLISH_STATUS = 'UNKNOWN_PUBLISH_STATUS',\n /** None of the fields have been sent for publication. */\n UNPUBLISHED = 'UNPUBLISHED',\n /** Some of the fields have been sent for publication. */\n PARTIALLY_PUBLISHED = 'PARTIALLY_PUBLISHED',\n /** All of the fields have been sent for publication. */\n PUBLISHED = 'PUBLISHED',\n}\n\n/** @enumType */\nexport type PublishStatusWithLiterals =\n | PublishStatus\n | 'UNKNOWN_PUBLISH_STATUS'\n | 'UNPUBLISHED'\n | 'PARTIALLY_PUBLISHED'\n | 'PUBLISHED';\n\nexport interface UpdateEventRequest {\n /** Event info to update. */\n event?: Event;\n /**\n * Fields that are included in this parameter are updated, while all other fields stay the same. If paths are not defined, all field values from the `event` object are updated.\n * @internal\n */\n fieldmask?: string[];\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface UpdateEventResponse {\n /** Updated event. */\n event?: Event;\n}\n\nexport interface PublishDraftEventRequest {\n /**\n * Event ID.\n * @format GUID\n */\n eventId: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface PublishDraftEventResponse {\n /** Published event. */\n event?: Event;\n}\n\nexport interface CancelEventRequest {\n /**\n * Event ID.\n * @format GUID\n */\n eventId: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CancelEventResponse {\n /** Canceled event. */\n event?: Event;\n}\n\nexport interface BulkCancelEventsByFilterRequest {\n /** Filter. For supported filters, see the table in [Query Events](https://dev.wix.com/docs/sdk/backend-modules/events/wix-events-v2/query-events). */\n filter?: CommonQueryV2;\n}\n\nexport interface CommonQueryV2 extends CommonQueryV2PagingMethodOneOf {\n /** Paging options. Can't be used together with `cursorPaging`. */\n paging?: CommonPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 20\n */\n sort?: CommonSorting[];\n}\n\n/** @oneof */\nexport interface CommonQueryV2PagingMethodOneOf {\n /** Paging options. Can't be used together with `cursorPaging`. */\n paging?: CommonPaging;\n}\n\nexport interface CommonSorting {\n /**\n * Name of the field to sort by.\n * @maxLength 100\n */\n fieldName?: string;\n /**\n * Sort order.\n * Use `ASC` for ascending order or `DESC` for descending order.\n *\n * Default: `ASC`.\n */\n order?: CommonSortOrderWithLiterals;\n}\n\nexport enum CommonSortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type CommonSortOrderWithLiterals = CommonSortOrder | 'ASC' | 'DESC';\n\nexport interface CommonPaging {\n /**\n * Number of items to return. See [Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging#getting-started_sorting-and-paging_paging) for more information.\n * @max 1000\n */\n limit?: number | null;\n /** Number of items to skip in the current sort order. */\n offset?: number | null;\n}\n\nexport interface BulkCancelEventsByFilterResponse {}\n\nexport interface DeleteEventRequest {\n /**\n * Event ID.\n * @format GUID\n */\n eventId: string;\n}\n\nexport interface DeleteEventResponse {\n /**\n * Deleted event ID.\n * @format GUID\n */\n eventId?: string;\n}\n\nexport interface BulkDeleteEventsByFilterRequest {\n /** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */\n filter?: CommonQueryV2;\n}\n\nexport interface BulkDeleteEventsByFilterResponse {}\n\nexport interface QueryEventsRequest {\n /** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */\n query?: CommonQueryV2;\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n /**\n * Whether draft events should be returned in the response. <br>\n * **Note:** This parameter requires the `WIX_EVENTS.READ_DRAFT_EVENTS` permission.\n */\n includeDrafts?: boolean;\n}\n\nexport interface QueryEventsResponse {\n /** Metadata for the paginated results. */\n pagingMetadata?: CommonPagingMetadataV2;\n /** List of events. */\n events?: Event[];\n}\n\nexport interface CommonPagingMetadataV2 {\n /** Number of items to return. See [Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging#getting-started_sorting-and-paging_paging) for more information. */\n count?: number | null;\n /** Requested offset. */\n offset?: number | null;\n /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n total?: number | null;\n /** Flag that indicates the server failed to calculate the `total` field. */\n tooManyToCount?: boolean | null;\n /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n cursors?: CommonCursors;\n /**\n * Whether there are more results after the current page.\n * If `true`, another page of results can be retrieved.\n * If `false`, the current page is the final page.\n * @internal\n */\n hasNext?: boolean | null;\n}\n\nexport interface CommonCursors {\n /** Cursor pointing to the next page in the list of results. */\n next?: string | null;\n /** Cursor pointing to the previous page in the list of results. */\n prev?: string | null;\n}\n\nexport interface ExportEventsRequest {\n /** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */\n query?: QueryV2;\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n /** Paging options to limit and offset the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n */\n sort?: Sorting[];\n /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */\n fields?: string[];\n /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */\n fieldsets?: string[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n /** Paging options to limit and offset the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n /**\n * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by\n * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.\n *\n * If multiple filters are provided, they are combined with AND operator.\n *\n * Example:\n * Given we have document like {\"id\": \"1\", \"nestedField\": [{\"price\": 10, \"region\": \"EU\"}, {\"price\": 20, \"region\": \"US\"}]}\n * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be\n * { fieldName: \"nestedField.price\", \"select_items_by\": [{\"nestedField.region\": \"US\"}] }\n * @internal\n * @maxSize 10\n */\n selectItemsBy?: Record<string, any>[] | null;\n /**\n * Origin point for geo-distance sorting on a GEO field\n * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).\n */\n origin?: AddressLocation;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface AddressLocation {\n /** Address latitude. */\n latitude?: number | null;\n /** Address longitude. */\n longitude?: number | null;\n}\n\nexport interface Paging {\n /** Number of items to load. */\n limit?: number | null;\n /** Number of items to skip in the current sort order. */\n offset?: number | null;\n}\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface ExportEventsResponse {\n /** Metadata for the paginated results. */\n pagingMetadata?: PagingMetadataV2;\n /** List of events. */\n events?: Event[];\n}\n\nexport interface PagingMetadataV2 {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n offset?: number | null;\n /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n total?: number | null;\n /** Flag that indicates the server failed to calculate the `total` field. */\n tooManyToCount?: boolean | null;\n /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n cursors?: Cursors;\n /**\n * Indicates if there are more results after the current page.\n * If `true`, another page of results can be retrieved.\n * If `false`, this is the last page.\n * @internal\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface CountEventsByStatusRequest {\n /** Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\" }`. */\n filter?: Record<string, any> | null;\n /**\n * Parameters to count events by.\n * @maxLength 100\n * @maxSize 20\n */\n facet?: string[];\n /**\n * Whether draft events should be returned in the response. <br>\n * **Note:** This parameter requires the `WIX_EVENTS.READ_DRAFT_EVENTS` permission.\n */\n includeDrafts?: boolean;\n}\n\nexport interface CountEventsByStatusResponse {\n /** Metadata for the paginated results. */\n pagingMetadata?: CommonPagingMetadataV2;\n /** Filter facets. */\n facets?: Record<string, FacetCounts>;\n}\n\nexport interface FacetCounts {\n /** Facet counts aggregated per value */\n counts?: Record<string, number>;\n}\n\nexport interface ListUserEventsRequest {\n /** Paging options to limit and skip the number of items. */\n paging?: CommonPaging;\n /**\n * Sort order, defaults to `\"created:asc\"`.\n * See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-events).\n * @maxSize 20\n */\n sort?: CommonSorting[];\n /**\n * Event status.\n * @maxSize 20\n */\n status?: StatusWithLiterals[];\n /** Allows to filter events by user relation to the event among all wix sites. */\n userFilter?: UserFilter;\n /**\n * Filter facets to include in the response.\n * See [supported facets](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-events).\n * @maxLength 100\n * @maxSize 20\n */\n facet?: string[];\n /**\n * Predefined sets of fields to return. If both `fields` and `fieldsets` are sent in the request, the union of both lists is returned.\n * @internal\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface UserFilter {\n /**\n * User who is related to the event.\n * @format GUID\n */\n userId?: string;\n /**\n * Relation of user to the event.\n * @minSize 1\n * @maxSize 20\n */\n relation?: RelationWithLiterals[];\n}\n\nexport enum Relation {\n /** User is attending the event. The user RSVP'd with status of `YES` or has ordered tickets. */\n ATTENDING = 'ATTENDING',\n}\n\n/** @enumType */\nexport type RelationWithLiterals = Relation | 'ATTENDING';\n\nexport interface ListUserEventsResponse {\n /** Metadata for the paginated results. */\n pagingMetadata?: CommonPagingMetadataV2;\n /** List of events. */\n events?: Event[];\n /** Filter facets. */\n facets?: Record<string, FacetCounts>;\n}\n\nexport interface ListEventsByCategoryRequest {\n /**\n * Category ID.\n * @format GUID\n */\n categoryId: string;\n /** Paging options to limit and skip the number of items. */\n paging?: CommonPaging;\n /**\n * Predefined sets of fields to return. If both `fields` and `fieldsets` are sent in the request, the union of both lists is returned.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface ListEventsByCategoryResponse {\n /** Metadata for the paginated results. */\n pagingMetadata?: CommonPagingMetadataV2;\n /** List of events. */\n events?: Event[];\n}\n\nexport interface GetEventRequest {\n /**\n * Event ID.\n * @format GUID\n */\n eventId: string | null;\n /**\n * Predefined sets of fields to return. For example, specify `\"FORM\"` to include the event's registration form definition, including the input names, mandatory fields, and predefined options needed when [creating an RSVP](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/create-rsvp).\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n /**\n * Whether `fullAddress` should be resolved.\n * @internal\n */\n resolveFullAddress?: boolean;\n /**\n * Consistent read flag.\n * @internal\n */\n consistentRead?: boolean;\n}\n\nexport interface GetEventResponse {\n /** Event. */\n event?: Event;\n}\n\nexport interface GetEventBySlugRequest {\n /**\n * URL slug.\n * @minLength 1\n * @maxLength 130\n */\n slug: string | null;\n /** @maxSize 20 */\n fields?: RequestedFieldsWithLiterals[];\n /**\n * Whether `fullAddress` should be resolved.\n * @internal\n */\n resolveFullAddress?: boolean;\n}\n\nexport interface GetEventBySlugResponse {\n /** Event. */\n event?: Event;\n}\n\nexport interface FindEventRequest extends FindEventRequestFindByOneOf {\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string | null;\n /**\n * URL slug.\n * @minLength 1\n * @maxLength 130\n */\n slug?: string | null;\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/** @oneof */\nexport interface FindEventRequestFindByOneOf {\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string | null;\n /**\n * URL slug.\n * @minLength 1\n * @maxLength 130\n */\n slug?: string | null;\n}\n\nexport interface FindEventResponse {\n /** Event. */\n event?: Event;\n}\n\nexport interface Empty {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface 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 /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type CreateEventApplicationErrors =\n | {\n code?: 'INVALID_SLUG_FORMAT';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'EVENT_LIMIT_REACHED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'SLUG_ALREADY_IN_USE';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type CreateEventValidationErrors = {\n ruleName?: 'INVALID_EVENT_CONFIGURATION';\n};\n/** @docsIgnore */\nexport type UpdateEventApplicationErrors =\n | {\n code?: 'INVALID_EVENT_STATUS_TRANSITION';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_SLUG_FORMAT';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'SLUG_ALREADY_IN_USE';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type UpdateEventValidationErrors = {\n ruleName?: 'INVALID_EVENT_CONFIGURATION';\n};\n/** @docsIgnore */\nexport type PublishDraftEventApplicationErrors =\n | {\n code?: 'INVALID_EVENT_STATUS_TRANSITION';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'EVENT_ALREADY_PUBLISHED';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type CancelEventApplicationErrors = {\n code?: 'INVALID_EVENT_STATUS_TRANSITION';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type QueryEventsApplicationErrors = {\n code?: 'FILTER_PARSER_ERROR';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type CountEventsByStatusApplicationErrors = {\n code?: 'FILTER_PARSER_ERROR';\n description?: string;\n data?: Record<string, any>;\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 /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface EventMetadata extends BaseEventMetadata {\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n accountInfo?: AccountInfoMetadata;\n}\n\nexport interface AccountInfoMetadata {\n /** ID of the Wix account associated with the event */\n accountId: string;\n /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */\n siteId?: string;\n /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */\n parentAccountId?: string;\n}\n\nexport interface EventCanceledEnvelope {\n data: EventCanceled;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event is canceled.\n * @permissionScope Manage_Wix_Rentals_App_Forms_submissions\n * @permissionScopeId SCOPE.RENTALS.MANAGE\n * @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope View settlement reports and payouts\n * @permissionScopeId SCOPE.PAYMENTS.PAYOUTS-VIEW-FOR-SITE\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 Online Programs\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage Social Posts\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SOCIAL-POSTS\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope View Site Analytics\n * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-GOOGLE-ADS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionScope View google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.VIEW-GOOGLE-ADS\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @webhook\n * @eventType wix.events.v3.event_canceled\n * @slug canceled\n */\nexport declare function onEventCanceled(\n handler: (event: EventCanceledEnvelope) => void | Promise<void>\n): void;\n\nexport interface EventClonedEnvelope {\n data: EventCloned;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event is cloned.\n * @permissionScope Manage_Wix_Rentals_App_Forms_submissions\n * @permissionScopeId SCOPE.RENTALS.MANAGE\n * @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope View settlement reports and payouts\n * @permissionScopeId SCOPE.PAYMENTS.PAYOUTS-VIEW-FOR-SITE\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 Online Programs\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage Social Posts\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SOCIAL-POSTS\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope View Site Analytics\n * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-GOOGLE-ADS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionScope View google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.VIEW-GOOGLE-ADS\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @webhook\n * @eventType wix.events.v3.event_cloned\n * @slug cloned\n */\nexport declare function onEventCloned(\n handler: (event: EventClonedEnvelope) => void | Promise<void>\n): void;\n\nexport interface EventCreatedEnvelope {\n entity: Event;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event is created.\n * @permissionScope Manage_Wix_Rentals_App_Forms_submissions\n * @permissionScopeId SCOPE.RENTALS.MANAGE\n * @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope View settlement reports and payouts\n * @permissionScopeId SCOPE.PAYMENTS.PAYOUTS-VIEW-FOR-SITE\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 Online Programs\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage Social Posts\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SOCIAL-POSTS\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope View Site Analytics\n * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-GOOGLE-ADS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionScope View google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.VIEW-GOOGLE-ADS\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @webhook\n * @eventType wix.events.v3.event_created\n * @slug created\n */\nexport declare function onEventCreated(\n handler: (event: EventCreatedEnvelope) => void | Promise<void>\n): void;\n\nexport interface EventDeletedEnvelope {\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event is deleted.\n * @permissionScope Manage_Wix_Rentals_App_Forms_submissions\n * @permissionScopeId SCOPE.RENTALS.MANAGE\n * @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope View settlement reports and payouts\n * @permissionScopeId SCOPE.PAYMENTS.PAYOUTS-VIEW-FOR-SITE\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 Online Programs\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage Social Posts\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SOCIAL-POSTS\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope View Site Analytics\n * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-GOOGLE-ADS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionScope View google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.VIEW-GOOGLE-ADS\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @webhook\n * @eventType wix.events.v3.event_deleted\n * @slug deleted\n */\nexport declare function onEventDeleted(\n handler: (event: EventDeletedEnvelope) => void | Promise<void>\n): void;\n\nexport interface EventEndedEnvelope {\n data: EventEnded;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event has ended.\n * @permissionScope Manage_Wix_Rentals_App_Forms_submissions\n * @permissionScopeId SCOPE.RENTALS.MANAGE\n * @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope View settlement reports and payouts\n * @permissionScopeId SCOPE.PAYMENTS.PAYOUTS-VIEW-FOR-SITE\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 Online Programs\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage Social Posts\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SOCIAL-POSTS\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope View Site Analytics\n * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-GOOGLE-ADS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionScope View google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.VIEW-GOOGLE-ADS\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @webhook\n * @eventType wix.events.v3.event_ended\n * @slug ended\n */\nexport declare function onEventEnded(\n handler: (event: EventEndedEnvelope) => void | Promise<void>\n): void;\n\nexport interface EventPublishedEnvelope {\n data: EventPublished;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event is published.\n * @permissionScope Manage_Wix_Rentals_App_Forms_submissions\n * @permissionScopeId SCOPE.RENTALS.MANAGE\n * @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope View settlement reports and payouts\n * @permissionScopeId SCOPE.PAYMENTS.PAYOUTS-VIEW-FOR-SITE\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 Online Programs\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage Social Posts\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SOCIAL-POSTS\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope View Site Analytics\n * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-GOOGLE-ADS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionScope View google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.VIEW-GOOGLE-ADS\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @webhook\n * @eventType wix.events.v3.event_published\n * @slug published\n */\nexport declare function onEventPublished(\n handler: (event: EventPublishedEnvelope) => void | Promise<void>\n): void;\n\nexport interface EventReminderEnvelope {\n data: EventReminder;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a certain amount of time is left until the event. In total there are 6 reminders:\n * - 7 days\n * - 3 days\n * - 1 day\n * - 2 hours\n * - 1 hour\n * - 30 minutes\n * @permissionScope Manage_Wix_Rentals_App_Forms_submissions\n * @permissionScopeId SCOPE.RENTALS.MANAGE\n * @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope View settlement reports and payouts\n * @permissionScopeId SCOPE.PAYMENTS.PAYOUTS-VIEW-FOR-SITE\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 Online Programs\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage Social Posts\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SOCIAL-POSTS\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope View Site Analytics\n * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-GOOGLE-ADS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionScope View google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.VIEW-GOOGLE-ADS\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @webhook\n * @eventType wix.events.v3.event_reminder\n * @slug reminder\n */\nexport declare function onEventReminder(\n handler: (event: EventReminderEnvelope) => void | Promise<void>\n): void;\n\nexport interface EventStartedEnvelope {\n data: EventStarted;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event has started.\n * @permissionScope Manage_Wix_Rentals_App_Forms_submissions\n * @permissionScopeId SCOPE.RENTALS.MANAGE\n * @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope View settlement reports and payouts\n * @permissionScopeId SCOPE.PAYMENTS.PAYOUTS-VIEW-FOR-SITE\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 Online Programs\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage Social Posts\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SOCIAL-POSTS\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope View Site Analytics\n * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-GOOGLE-ADS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionScope View google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.VIEW-GOOGLE-ADS\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @webhook\n * @eventType wix.events.v3.event_started\n * @slug started\n */\nexport declare function onEventStarted(\n handler: (event: EventStartedEnvelope) => void | Promise<void>\n): void;\n\nexport interface EventUpdatedEnvelope {\n entity: Event;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event is updated.\n * @permissionScope Manage_Wix_Rentals_App_Forms_submissions\n * @permissionScopeId SCOPE.RENTALS.MANAGE\n * @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope View settlement reports and payouts\n * @permissionScopeId SCOPE.PAYMENTS.PAYOUTS-VIEW-FOR-SITE\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 Online Programs\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage Social Posts\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SOCIAL-POSTS\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope View Site Analytics\n * @permissionScopeId SCOPE.MEDIA.VIEW-SITE-ANALYTICS\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Manage google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-GOOGLE-ADS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\n * @permissionScope View google ads campaigns\n * @permissionScopeId SCOPE.PROMOTE.VIEW-GOOGLE-ADS\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @webhook\n * @eventType wix.events.v3.event_updated\n * @slug updated\n */\nexport declare function onEventUpdated(\n handler: (event: EventUpdatedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * Creates an event. <br> <br>\n * The event includes a default registration form in the selected language, which consists of input fields for first name, last name, and email. See the [Registration Form API](https://dev.wix.com/docs/rest/business-solutions/events/form/about-the-registration-form-api) for more information. <br> <br>\n * You can create the event as a draft by setting `draft` to `true`. Otherwise, the event is published right away. <br> <br>\n * To create a recurring event, set `individualEventDates` in the `dateAndTimeSettings.recurringEvents` object. <br> <br>\n * The event is automatically set up to send daily summary reports of new guests to your business email.\n * @param event - Event data.\n * @public\n * @requiredField event\n * @requiredField event.dateAndTimeSettings\n * @requiredField event.location\n * @requiredField event.registration.initialType\n * @requiredField event.title\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.MANAGE_EVENTS\n * @applicableIdentity APP\n * @returns Created event.\n * @fqn wix.events.events.v3.EventManagement.CreateEvent\n */\nexport async function createEvent(\n event: NonNullablePaths<\n Event,\n `dateAndTimeSettings` | `location` | `registration.initialType` | `title`,\n 3\n >,\n options?: CreateEventOptions\n): Promise<\n NonNullablePaths<\n Event,\n | `_id`\n | `location.type`\n | `location.address.streetAddress.number`\n | `location.address.streetAddress.name`\n | `dateAndTimeSettings.recurrenceStatus`\n | `dateAndTimeSettings.recurringEvents.individualEventDates`\n | `dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `slug`\n | `status`\n | `registration.type`\n | `registration.status`\n | `registration.rsvp.responseType`\n | `registration.rsvp.waitlistEnabled`\n | `registration.tickets.guestsAssignedSeparately`\n | `registration.tickets.ticketLimitPerOrder`\n | `registration.tickets.lowestPrice.value`\n | `registration.tickets.lowestPrice.currency`\n | `registration.tickets.taxSettings.type`\n | `registration.allowedGuestTypes`\n | `registration.initialType`\n | `registration.registrationPaused`\n | `registration.registrationDisabled`\n | `calendarUrls.google`\n | `calendarUrls.ics`\n | `form.controls`\n | `form.controls.${number}.type`\n | `form.controls.${number}.system`\n | `form.controls.${number}.name`\n | `form.controls.${number}.label`\n | `form.controls.${number}.orderIndex`\n | `form.controls.${number}._id`\n | `form.messages.rsvp.rsvpYesOption`\n | `form.messages.rsvp.rsvpNoOption`\n | `form.messages.rsvp.positiveMessages.title`\n | `form.messages.rsvp.positiveMessages.confirmation.title`\n | `form.messages.rsvp.positiveMessages.confirmation.message`\n | `form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.negativeMessages.title`\n | `form.messages.rsvp.negativeMessages.confirmation.title`\n | `form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.submitActionLabel`\n | `form.messages.checkout.title`\n | `form.messages.checkout.submitActionLabel`\n | `form.messages.checkout.confirmation.title`\n | `form.messages.checkout.confirmation.message`\n | `form.messages.checkout.confirmation.downloadTicketsLabel`\n | `form.messages.checkout.confirmation.addToCalendarLabel`\n | `form.messages.checkout.confirmation.shareEventLabel`\n | `form.messages.registrationClosed.message`\n | `form.messages.registrationClosed.exploreEventsActionLabel`\n | `form.messages.ticketsUnavailable.message`\n | `form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `summaries.rsvps.totalCount`\n | `summaries.rsvps.yesCount`\n | `summaries.rsvps.noCount`\n | `summaries.rsvps.waitlistCount`\n | `summaries.tickets.ticketsSold`\n | `summaries.tickets.revenue.amount`\n | `summaries.tickets.revenue.currency`\n | `summaries.tickets.currencyLocked`\n | `summaries.tickets.totalOrders`\n | `summaries.cancellation.actorType`\n | `summaries.cancellation.actorName`\n | `summaries.cancellation.actorEmail`\n | `instanceId`\n | `guestListSettings.displayedPublicly`\n | `userId`\n | `onlineConferencing.enabled`\n | `onlineConferencing.type`\n | `onlineConferencing.session.hostLink`\n | `onlineConferencing.session.guestLink`\n | `seoSettings.slug`\n | `seoSettings.advancedSeoData.tags`\n | `seoSettings.advancedSeoData.tags.${number}.type`\n | `seoSettings.advancedSeoData.tags.${number}.children`\n | `seoSettings.advancedSeoData.tags.${number}.custom`\n | `seoSettings.advancedSeoData.tags.${number}.disabled`\n | `seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `seoSettings.advancedSeoData.settings.keywords`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `agendaSettings.enabled`,\n 7\n > & {\n __applicationErrorsType?: CreateEventApplicationErrors;\n __validationErrorsType?: CreateEventValidationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest(\n { event: event, draft: options?.draft, fields: options?.fields },\n ['event.description']\n ),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformSDKPageURLToRESTPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformSDKAddressToRESTAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]\n );\n\n const reqOpts = ambassadorWixEventsV3Event.createEvent(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]),\n ['event.description']\n )?.event!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n event: '$[0]',\n draft: '$[1].draft',\n fields: '$[1].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['event', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CreateEventOptions {\n /** Whether to create the event as a draft. */\n draft?: boolean;\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Clones an event, including the registration form, notifications, multilingual translations and ticket configuration from the original event. <br> <br>\n * The new event's date is automatically set to 14 days from the original event date. <br> <br>\n * If an event with the same `title` already exists, the new event's `title` gets a sequence number. For example, if you clone an event named `\"Leather Crafting 101\"`, the new event's title is `\"Leather Crafting 101 (1)\"`. <br> <br>\n * You can change the required entity field values while cloning an event.\n * @param eventId - Event ID.\n * @public\n * @requiredField eventId\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.MANAGE_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.CloneEvent\n */\nexport async function cloneEvent(\n eventId: string,\n options?: CloneEventOptions\n): Promise<\n NonNullablePaths<\n CloneEventResponse,\n | `event._id`\n | `event.location.type`\n | `event.location.address.streetAddress.number`\n | `event.location.address.streetAddress.name`\n | `event.dateAndTimeSettings.recurrenceStatus`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `event.slug`\n | `event.status`\n | `event.registration.type`\n | `event.registration.status`\n | `event.registration.rsvp.responseType`\n | `event.registration.rsvp.waitlistEnabled`\n | `event.registration.tickets.guestsAssignedSeparately`\n | `event.registration.tickets.ticketLimitPerOrder`\n | `event.registration.tickets.lowestPrice.value`\n | `event.registration.tickets.lowestPrice.currency`\n | `event.registration.tickets.taxSettings.type`\n | `event.registration.allowedGuestTypes`\n | `event.registration.initialType`\n | `event.registration.registrationPaused`\n | `event.registration.registrationDisabled`\n | `event.calendarUrls.google`\n | `event.calendarUrls.ics`\n | `event.form.controls`\n | `event.form.controls.${number}.type`\n | `event.form.controls.${number}.system`\n | `event.form.controls.${number}.name`\n | `event.form.controls.${number}.label`\n | `event.form.controls.${number}.orderIndex`\n | `event.form.controls.${number}._id`\n | `event.form.messages.rsvp.rsvpYesOption`\n | `event.form.messages.rsvp.rsvpNoOption`\n | `event.form.messages.rsvp.positiveMessages.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.message`\n | `event.form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `event.form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.negativeMessages.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.submitActionLabel`\n | `event.form.messages.checkout.title`\n | `event.form.messages.checkout.submitActionLabel`\n | `event.form.messages.checkout.confirmation.title`\n | `event.form.messages.checkout.confirmation.message`\n | `event.form.messages.checkout.confirmation.downloadTicketsLabel`\n | `event.form.messages.checkout.confirmation.addToCalendarLabel`\n | `event.form.messages.checkout.confirmation.shareEventLabel`\n | `event.form.messages.registrationClosed.message`\n | `event.form.messages.registrationClosed.exploreEventsActionLabel`\n | `event.form.messages.ticketsUnavailable.message`\n | `event.form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `event.summaries.rsvps.totalCount`\n | `event.summaries.rsvps.yesCount`\n | `event.summaries.rsvps.noCount`\n | `event.summaries.rsvps.waitlistCount`\n | `event.summaries.tickets.ticketsSold`\n | `event.summaries.tickets.revenue.amount`\n | `event.summaries.tickets.revenue.currency`\n | `event.summaries.tickets.currencyLocked`\n | `event.summaries.tickets.totalOrders`\n | `event.summaries.cancellation.actorType`\n | `event.summaries.cancellation.actorName`\n | `event.summaries.cancellation.actorEmail`\n | `event.instanceId`\n | `event.guestListSettings.displayedPublicly`\n | `event.userId`\n | `event.onlineConferencing.enabled`\n | `event.onlineConferencing.type`\n | `event.onlineConferencing.session.hostLink`\n | `event.onlineConferencing.session.guestLink`\n | `event.seoSettings.slug`\n | `event.seoSettings.advancedSeoData.tags`\n | `event.seoSettings.advancedSeoData.tags.${number}.type`\n | `event.seoSettings.advancedSeoData.tags.${number}.children`\n | `event.seoSettings.advancedSeoData.tags.${number}.custom`\n | `event.seoSettings.advancedSeoData.tags.${number}.disabled`\n | `event.seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `event.seoSettings.advancedSeoData.settings.keywords`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `event.agendaSettings.enabled`,\n 8\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest(\n {\n eventId: eventId,\n event: options?.event,\n draft: options?.draft,\n fields: options?.fields,\n },\n ['event.description']\n ),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformSDKPageURLToRESTPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformSDKAddressToRESTAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]\n );\n\n const reqOpts = ambassadorWixEventsV3Event.cloneEvent(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]),\n ['event.description']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n eventId: '$[0]',\n event: '$[1].event',\n draft: '$[1].draft',\n fields: '$[1].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['eventId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CloneEventOptions {\n /** Event info to change in the cloned event. */\n event?: Event;\n /** Whether to clone the event as a draft. */\n draft?: boolean;\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Updates an event.\n * @param _id - Event ID.\n * @public\n * @requiredField _id\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.MANAGE_EVENTS\n * @applicableIdentity APP\n * @returns Updated event.\n * @fqn wix.events.events.v3.EventManagement.UpdateEvent\n */\nexport async function updateEvent(\n _id: string,\n options?: UpdateEventOptions\n): Promise<\n NonNullablePaths<\n Event,\n | `_id`\n | `location.type`\n | `location.address.streetAddress.number`\n | `location.address.streetAddress.name`\n | `dateAndTimeSettings.recurrenceStatus`\n | `dateAndTimeSettings.recurringEvents.individualEventDates`\n | `dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `slug`\n | `status`\n | `registration.type`\n | `registration.status`\n | `registration.rsvp.responseType`\n | `registration.rsvp.waitlistEnabled`\n | `registration.tickets.guestsAssignedSeparately`\n | `registration.tickets.ticketLimitPerOrder`\n | `registration.tickets.lowestPrice.value`\n | `registration.tickets.lowestPrice.currency`\n | `registration.tickets.taxSettings.type`\n | `registration.allowedGuestTypes`\n | `registration.initialType`\n | `registration.registrationPaused`\n | `registration.registrationDisabled`\n | `calendarUrls.google`\n | `calendarUrls.ics`\n | `form.controls`\n | `form.controls.${number}.type`\n | `form.controls.${number}.system`\n | `form.controls.${number}.name`\n | `form.controls.${number}.label`\n | `form.controls.${number}.orderIndex`\n | `form.controls.${number}._id`\n | `form.messages.rsvp.rsvpYesOption`\n | `form.messages.rsvp.rsvpNoOption`\n | `form.messages.rsvp.positiveMessages.title`\n | `form.messages.rsvp.positiveMessages.confirmation.title`\n | `form.messages.rsvp.positiveMessages.confirmation.message`\n | `form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.negativeMessages.title`\n | `form.messages.rsvp.negativeMessages.confirmation.title`\n | `form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.submitActionLabel`\n | `form.messages.checkout.title`\n | `form.messages.checkout.submitActionLabel`\n | `form.messages.checkout.confirmation.title`\n | `form.messages.checkout.confirmation.message`\n | `form.messages.checkout.confirmation.downloadTicketsLabel`\n | `form.messages.checkout.confirmation.addToCalendarLabel`\n | `form.messages.checkout.confirmation.shareEventLabel`\n | `form.messages.registrationClosed.message`\n | `form.messages.registrationClosed.exploreEventsActionLabel`\n | `form.messages.ticketsUnavailable.message`\n | `form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `summaries.rsvps.totalCount`\n | `summaries.rsvps.yesCount`\n | `summaries.rsvps.noCount`\n | `summaries.rsvps.waitlistCount`\n | `summaries.tickets.ticketsSold`\n | `summaries.tickets.revenue.amount`\n | `summaries.tickets.revenue.currency`\n | `summaries.tickets.currencyLocked`\n | `summaries.tickets.totalOrders`\n | `summaries.cancellation.actorType`\n | `summaries.cancellation.actorName`\n | `summaries.cancellation.actorEmail`\n | `instanceId`\n | `guestListSettings.displayedPublicly`\n | `userId`\n | `onlineConferencing.enabled`\n | `onlineConferencing.type`\n | `onlineConferencing.session.hostLink`\n | `onlineConferencing.session.guestLink`\n | `seoSettings.slug`\n | `seoSettings.advancedSeoData.tags`\n | `seoSettings.advancedSeoData.tags.${number}.type`\n | `seoSettings.advancedSeoData.tags.${number}.children`\n | `seoSettings.advancedSeoData.tags.${number}.custom`\n | `seoSettings.advancedSeoData.tags.${number}.disabled`\n | `seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `seoSettings.advancedSeoData.settings.keywords`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `agendaSettings.enabled`,\n 7\n > & {\n __applicationErrorsType?: UpdateEventApplicationErrors;\n __validationErrorsType?: UpdateEventValidationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest(\n { event: { ...options?.event, id: _id }, fields: options?.fields },\n ['event.description']\n ),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformSDKPageURLToRESTPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformSDKAddressToRESTAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]\n );\n\n const reqOpts = ambassadorWixEventsV3Event.updateEvent(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]),\n ['event.description']\n )?.event!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: { event: '$[1].event' },\n explicitPathsToArguments: { 'event.id': '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['_id', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdateEventOptions {\n event?: {\n /**\n * Event ID.\n * @format GUID\n * @readonly\n */\n _id?: string;\n /** Event location. */\n location?: Location;\n /** Event date and time settings. */\n dateAndTimeSettings?: DateAndTimeSettings;\n /**\n * Event title.\n * @minLength 1\n * @maxLength 120\n */\n title?: string | null;\n /**\n * Short description that appears under the event title.\n * **Note:** This field is returned only when the `DETAILS` fieldset is included in the request.\n * @maxLength 500\n */\n shortDescription?: string | null;\n /**\n * Detailed description of an event.\n *\n * This field is deprecated.\n * @maxLength 50000\n * @deprecated Detailed description of an event.\n *\n * This field is deprecated.\n * @replacedBy description\n * @targetRemovalDate 2025-04-15\n */\n detailedDescription?: string | null;\n /**\n * Main event image. <br>\n * **Note:** This field is returned only when the `DETAILS` fieldset is included in the request.\n */\n mainImage?: string;\n /**\n * Unique identifier of the event page. The naming is the same as the event title written in kebab case. For example, if your event title is \"Leather Crafting 101\", then the slug is \"leather-crafting-101\".\n * @readonly\n */\n slug?: string;\n /**\n * Date and time when the event was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time when the event was updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Event status.\n * @readonly\n */\n status?: StatusWithLiterals;\n /**\n * RSVP or ticketing registration details. <br>\n * **Note:** This field is returned only when the `REGISTRATION` fieldset is included in the request.\n */\n registration?: Registration;\n /**\n * URLs that allow you to add an event to the Google calendar, or to download an [ICS calendar](https://icscalendar.com/) file. <br>\n * **Note:** This field is returned only when the `DETAILS` fieldset is included in the request.\n * @readonly\n */\n calendarUrls?: CalendarUrls;\n /**\n * Event page URL components. <br>\n * **Note:** This field is returned only when the `URLS` fieldset is included in the request.\n */\n eventPageUrl?: string;\n /**\n * Event registration form. <br>\n * **Note:** This field is returned only when the `FORM` fieldset is included in the request.\n */\n form?: Form;\n /**\n * Summary of RSVP or ticket sales. <br>\n * **Note:** This field is returned only when the `DASHBOARD` fieldset is included in the request and you have the \"WIX_EVENTS.READ_EVENT_DASHBOARD\" permissions.\n */\n summaries?: Summaries;\n /**\n * Instance ID of the site where the event is hosted.\n * @readonly\n */\n instanceId?: string;\n /** Guest list configuration. */\n guestListSettings?: GuestListSettings;\n /**\n * ID of the user who created the event.\n * @readonly\n * @format GUID\n */\n userId?: string;\n /**\n * Event discussion feed. For internal use.\n * @internal\n */\n feed?: Feed;\n /**\n * Online conferencing details. <br>\n * **Note:** This field is returned only when the `ONLINE_CONFERENCING_SESSION` fieldset is included in the request and you have the \"WIX_EVENTS.READ_ONLINE_CONFERENCING\" permissions.\n */\n onlineConferencing?: OnlineConferencing;\n /**\n * SEO settings. <br>\n * **Note:** This field is returned only when the `SEO_SETTINGS` fieldset is included in the request.\n */\n seoSettings?: SeoSettings;\n /**\n * Legacy contacts label key. <br>\n * **Note:** Populated only on events created before the migration to Contacts V5; new events aren't assigned a contacts label.\n * @readonly\n */\n contactLabel?: string | null;\n /**\n * Event schedule details. <br>\n * **Note:** This field is returned only when the `AGENDA` fieldset is included in the request.\n */\n agendaSettings?: AgendaSettings;\n /**\n * Event categories.\n * @internal\n */\n categories?: EventCategories;\n /** Visual settings for event. */\n eventDisplaySettings?: EventDisplaySettings;\n /**\n * True if ticket can be customised\n * @internal\n */\n customizableTickets?: boolean | null;\n /**\n * Labelling related data.\n * @internal\n */\n labellingSettings?: LabellingSettings;\n /** Event description. <widget src=\"https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component\" plugins=\"emoji,audio,codeBlock,collapsibleList,divider,emoji,file,gallery,giphy,hashtag,heading,html,image,indent,lineSpacing,link,linkPreview,spoiler,video\" exampleid=\"9b569a8d-0fc1-40f4-987f-8bd40ecc72d0\">Fallback Message for SSR and Error</widget> */\n description?: RichContent;\n /**\n * Event publish timestamp.\n * @readonly\n */\n publishedDate?: Date | null;\n /**\n * Event badges.\n * @internal\n */\n badges?: BadgeList;\n };\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Publishes a draft event to your live site. Once published, the event's status changes from `\"DRAFT\"` to `\"UPCOMING\"`. <br> <br>\n * It's impossible to revert the `\"DRAFT\"` status after publishing. The only option is to clone the event, then delete the original.\n * @param eventId - Event ID.\n * @public\n * @requiredField eventId\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.MANAGE_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.PublishDraftEvent\n */\nexport async function publishDraftEvent(\n eventId: string,\n options?: PublishDraftEventOptions\n): Promise<\n NonNullablePaths<\n PublishDraftEventResponse,\n | `event._id`\n | `event.location.type`\n | `event.location.address.streetAddress.number`\n | `event.location.address.streetAddress.name`\n | `event.dateAndTimeSettings.recurrenceStatus`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `event.slug`\n | `event.status`\n | `event.registration.type`\n | `event.registration.status`\n | `event.registration.rsvp.responseType`\n | `event.registration.rsvp.waitlistEnabled`\n | `event.registration.tickets.guestsAssignedSeparately`\n | `event.registration.tickets.ticketLimitPerOrder`\n | `event.registration.tickets.lowestPrice.value`\n | `event.registration.tickets.lowestPrice.currency`\n | `event.registration.tickets.taxSettings.type`\n | `event.registration.allowedGuestTypes`\n | `event.registration.initialType`\n | `event.registration.registrationPaused`\n | `event.registration.registrationDisabled`\n | `event.calendarUrls.google`\n | `event.calendarUrls.ics`\n | `event.form.controls`\n | `event.form.controls.${number}.type`\n | `event.form.controls.${number}.system`\n | `event.form.controls.${number}.name`\n | `event.form.controls.${number}.label`\n | `event.form.controls.${number}.orderIndex`\n | `event.form.controls.${number}._id`\n | `event.form.messages.rsvp.rsvpYesOption`\n | `event.form.messages.rsvp.rsvpNoOption`\n | `event.form.messages.rsvp.positiveMessages.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.message`\n | `event.form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `event.form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.negativeMessages.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.submitActionLabel`\n | `event.form.messages.checkout.title`\n | `event.form.messages.checkout.submitActionLabel`\n | `event.form.messages.checkout.confirmation.title`\n | `event.form.messages.checkout.confirmation.message`\n | `event.form.messages.checkout.confirmation.downloadTicketsLabel`\n | `event.form.messages.checkout.confirmation.addToCalendarLabel`\n | `event.form.messages.checkout.confirmation.shareEventLabel`\n | `event.form.messages.registrationClosed.message`\n | `event.form.messages.registrationClosed.exploreEventsActionLabel`\n | `event.form.messages.ticketsUnavailable.message`\n | `event.form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `event.summaries.rsvps.totalCount`\n | `event.summaries.rsvps.yesCount`\n | `event.summaries.rsvps.noCount`\n | `event.summaries.rsvps.waitlistCount`\n | `event.summaries.tickets.ticketsSold`\n | `event.summaries.tickets.revenue.amount`\n | `event.summaries.tickets.revenue.currency`\n | `event.summaries.tickets.currencyLocked`\n | `event.summaries.tickets.totalOrders`\n | `event.summaries.cancellation.actorType`\n | `event.summaries.cancellation.actorName`\n | `event.summaries.cancellation.actorEmail`\n | `event.instanceId`\n | `event.guestListSettings.displayedPublicly`\n | `event.userId`\n | `event.onlineConferencing.enabled`\n | `event.onlineConferencing.type`\n | `event.onlineConferencing.session.hostLink`\n | `event.onlineConferencing.session.guestLink`\n | `event.seoSettings.slug`\n | `event.seoSettings.advancedSeoData.tags`\n | `event.seoSettings.advancedSeoData.tags.${number}.type`\n | `event.seoSettings.advancedSeoData.tags.${number}.children`\n | `event.seoSettings.advancedSeoData.tags.${number}.custom`\n | `event.seoSettings.advancedSeoData.tags.${number}.disabled`\n | `event.seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `event.seoSettings.advancedSeoData.settings.keywords`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `event.agendaSettings.enabled`,\n 8\n > & {\n __applicationErrorsType?: PublishDraftEventApplicationErrors;\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 { eventId: eventId, fields: options?.fields },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.publishDraftEvent(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]),\n ['event.description']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { eventId: '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['eventId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface PublishDraftEventOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Cancels an event. <br> <br>\n * After cancellation, registration for an event is closed. To reuse the event, call Clone Event and Publish Event to publish it again. <br> <br>\n * If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.\n * @param eventId - Event ID.\n * @public\n * @requiredField eventId\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.MANAGE_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.CancelEvent\n */\nexport async function cancelEvent(\n eventId: string,\n options?: CancelEventOptions\n): Promise<\n NonNullablePaths<\n CancelEventResponse,\n | `event._id`\n | `event.location.type`\n | `event.location.address.streetAddress.number`\n | `event.location.address.streetAddress.name`\n | `event.dateAndTimeSettings.recurrenceStatus`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `event.slug`\n | `event.status`\n | `event.registration.type`\n | `event.registration.status`\n | `event.registration.rsvp.responseType`\n | `event.registration.rsvp.waitlistEnabled`\n | `event.registration.tickets.guestsAssignedSeparately`\n | `event.registration.tickets.ticketLimitPerOrder`\n | `event.registration.tickets.lowestPrice.value`\n | `event.registration.tickets.lowestPrice.currency`\n | `event.registration.tickets.taxSettings.type`\n | `event.registration.allowedGuestTypes`\n | `event.registration.initialType`\n | `event.registration.registrationPaused`\n | `event.registration.registrationDisabled`\n | `event.calendarUrls.google`\n | `event.calendarUrls.ics`\n | `event.form.controls`\n | `event.form.controls.${number}.type`\n | `event.form.controls.${number}.system`\n | `event.form.controls.${number}.name`\n | `event.form.controls.${number}.label`\n | `event.form.controls.${number}.orderIndex`\n | `event.form.controls.${number}._id`\n | `event.form.messages.rsvp.rsvpYesOption`\n | `event.form.messages.rsvp.rsvpNoOption`\n | `event.form.messages.rsvp.positiveMessages.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.message`\n | `event.form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `event.form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.negativeMessages.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.submitActionLabel`\n | `event.form.messages.checkout.title`\n | `event.form.messages.checkout.submitActionLabel`\n | `event.form.messages.checkout.confirmation.title`\n | `event.form.messages.checkout.confirmation.message`\n | `event.form.messages.checkout.confirmation.downloadTicketsLabel`\n | `event.form.messages.checkout.confirmation.addToCalendarLabel`\n | `event.form.messages.checkout.confirmation.shareEventLabel`\n | `event.form.messages.registrationClosed.message`\n | `event.form.messages.registrationClosed.exploreEventsActionLabel`\n | `event.form.messages.ticketsUnavailable.message`\n | `event.form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `event.summaries.rsvps.totalCount`\n | `event.summaries.rsvps.yesCount`\n | `event.summaries.rsvps.noCount`\n | `event.summaries.rsvps.waitlistCount`\n | `event.summaries.tickets.ticketsSold`\n | `event.summaries.tickets.revenue.amount`\n | `event.summaries.tickets.revenue.currency`\n | `event.summaries.tickets.currencyLocked`\n | `event.summaries.tickets.totalOrders`\n | `event.summaries.cancellation.actorType`\n | `event.summaries.cancellation.actorName`\n | `event.summaries.cancellation.actorEmail`\n | `event.instanceId`\n | `event.guestListSettings.displayedPublicly`\n | `event.userId`\n | `event.onlineConferencing.enabled`\n | `event.onlineConferencing.type`\n | `event.onlineConferencing.session.hostLink`\n | `event.onlineConferencing.session.guestLink`\n | `event.seoSettings.slug`\n | `event.seoSettings.advancedSeoData.tags`\n | `event.seoSettings.advancedSeoData.tags.${number}.type`\n | `event.seoSettings.advancedSeoData.tags.${number}.children`\n | `event.seoSettings.advancedSeoData.tags.${number}.custom`\n | `event.seoSettings.advancedSeoData.tags.${number}.disabled`\n | `event.seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `event.seoSettings.advancedSeoData.settings.keywords`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `event.agendaSettings.enabled`,\n 8\n > & {\n __applicationErrorsType?: CancelEventApplicationErrors;\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 { eventId: eventId, fields: options?.fields },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.cancelEvent(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]),\n ['event.description']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { eventId: '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['eventId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CancelEventOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Cancels multiple events that meet the specified criteria. <br> <br>\n * After cancellation, registration for an event is closed. To reuse the event, call Clone Event and Publish Event to publish it again. <br> <br>\n * If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.\n * @public\n * @requiredField options.filter.filter\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.MANAGE_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.BulkCancelEventsByFilter\n */\nexport async function bulkCancelEventsByFilter(\n options?: NonNullablePaths<\n BulkCancelEventsByFilterOptions,\n `filter.filter`,\n 3\n >\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 { filter: options?.filter },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.bulkCancelEventsByFilter(payload);\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: { filter: '$[0].filter' },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkCancelEventsByFilterOptions {\n /** Filter.For supported filters, see the table in [Query Events](https://dev.wix.com/docs/sdk/backend-modules/events/wix-events-v2/query-events). */\n filter?: CommonQueryV2;\n}\n\n/**\n * Deletes an event. <br> <br>\n * You can retrieve the deleted event through a GDPR access request.\n * @param eventId - Event ID.\n * @public\n * @requiredField eventId\n * @permissionId WIX_EVENTS.MANAGE_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.DeleteEvent\n */\nexport async function deleteEvent(\n eventId: string\n): Promise<NonNullablePaths<DeleteEventResponse, `eventId`, 2>> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n { eventId: eventId },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.deleteEvent(payload);\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: { eventId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['eventId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Deletes multiple events that meet the specified criteria. <br> <br>\n * You can retrieve the deleted events through a GDPR access request.\n * @public\n * @requiredField options.filter.filter\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.MANAGE_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.BulkDeleteEventsByFilter\n */\nexport async function bulkDeleteEventsByFilter(\n options?: NonNullablePaths<\n BulkDeleteEventsByFilterOptions,\n `filter.filter`,\n 3\n >\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 { filter: options?.filter },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.bulkDeleteEventsByFilter(payload);\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: { filter: '$[0].filter' },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkDeleteEventsByFilterOptions {\n /** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */\n filter?: CommonQueryV2;\n}\n\n/**\n * Creates a query to retrieve a list of events.\n *\n *\n * The `queryEvents()` method builds a query to retrieve a list of events and returns a [`EventsQueryBuilder`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder) object.\n *\n * The returned object contains the query definition, which is typically used to run the query using the [`find()`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/find) method.\n *\n * You can refine the query by chaining `EventsQueryBuilder` methods onto the query. `EventsQueryBuilder` methods enable you to sort, filter, and control the results `queryEvents()` returns.\n *\n * `queryEvents()` runs with these `EventsQueryBuilder` defaults, which you can override:\n *\n * - [`skip(0)`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/skip)\n * - [`limit(50)`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/limit)\n * - [`descending(\"_createdDate\")`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/descending)\n *\n * The methods that are chained to `queryEvents()` are applied in the order they're called. For example, if you apply `ascending('title')` and then `descending('status')`, the results are sorted first by the `title`, and then, if there are multiple results with the same `title`, the items are sorted by `status`.\n * @public\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.QueryEvents\n */\nexport function queryEvents(options?: QueryEventsOptions): EventsQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<Event, 'OFFSET', QueryEventsRequest, QueryEventsResponse>(\n {\n func: async (payload: QueryEventsRequest) => {\n const reqOpts = ambassadorWixEventsV3Event.queryEvents({\n ...payload,\n ...(options ?? {}),\n });\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n return result;\n } catch (err) {\n sideEffects?.onError?.(err);\n throw err;\n }\n },\n requestTransformer: (query: QueryEventsRequest['query']) => {\n const args = [query, options] as [\n QueryEventsRequest['query'],\n QueryEventsOptions\n ];\n return renameKeysFromSDKRequestToRESTRequest(\n { ...args?.[1], query: args?.[0] },\n []\n );\n },\n responseTransformer: ({ data }: HttpResponse<QueryEventsResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'events.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'events.eventPageUrl' },\n { path: 'events.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'events.location.address' }],\n },\n ]),\n ['events.description']\n );\n\n return {\n items: transformedData?.events,\n pagingMetadata: transformedData?.pagingMetadata,\n };\n },\n errorTransformer: (err: unknown) => {\n const transformedError = sdkTransformError(err, {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n });\n\n throw transformedError;\n },\n pagingMethod: 'OFFSET',\n transformationPaths: {},\n }\n );\n}\n\nexport interface QueryEventsOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[] | undefined;\n /**\n * Whether draft events should be returned in the response. <br>\n * **Note:** This parameter requires the `WIX_EVENTS.READ_DRAFT_EVENTS` permission.\n */\n includeDrafts?: boolean | undefined;\n}\n\ninterface QueryOffsetResult {\n currentPage: number | undefined;\n totalPages: number | undefined;\n totalCount: number | undefined;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface EventsQueryResult extends QueryOffsetResult {\n items: Event[];\n query: EventsQueryBuilder;\n next: () => Promise<EventsQueryResult>;\n prev: () => Promise<EventsQueryResult>;\n}\n\nexport interface EventsQueryBuilder {\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n eq: (\n propertyName:\n | '_id'\n | 'dateAndTimeSettings.startDate'\n | 'dateAndTimeSettings.endDate'\n | 'title'\n | 'slug'\n | '_createdDate'\n | '_updatedDate'\n | 'status'\n | 'registration.initialType'\n | 'userId',\n value: any\n ) => EventsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n ne: (\n propertyName:\n | '_id'\n | 'dateAndTimeSettings.startDate'\n | 'dateAndTimeSettings.endDate'\n | 'title'\n | 'slug'\n | '_createdDate'\n | '_updatedDate'\n | 'status'\n | 'userId',\n value: any\n ) => EventsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n ge: (\n propertyName:\n | '_id'\n | 'dateAndTimeSettings.startDate'\n | 'dateAndTimeSettings.endDate'\n | 'title'\n | 'slug'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => EventsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n gt: (\n propertyName:\n | '_id'\n | 'dateAndTimeSettings.startDate'\n | 'dateAndTimeSettings.endDate'\n | 'title'\n | 'slug'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => EventsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n le: (\n propertyName:\n | '_id'\n | 'dateAndTimeSettings.startDate'\n | 'dateAndTimeSettings.endDate'\n | 'title'\n | 'slug'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => EventsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n lt: (\n propertyName:\n | '_id'\n | 'dateAndTimeSettings.startDate'\n | 'dateAndTimeSettings.endDate'\n | 'title'\n | 'slug'\n | '_createdDate'\n | '_updatedDate',\n value: any\n ) => EventsQueryBuilder;\n in: (\n propertyName:\n | '_id'\n | 'dateAndTimeSettings.startDate'\n | 'dateAndTimeSettings.endDate'\n | 'title'\n | 'slug'\n | '_createdDate'\n | '_updatedDate'\n | 'status'\n | 'userId',\n value: any\n ) => EventsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */\n ascending: (\n ...propertyNames: Array<\n | '_id'\n | 'dateAndTimeSettings.startDate'\n | 'dateAndTimeSettings.endDate'\n | 'title'\n | 'slug'\n | '_createdDate'\n | '_updatedDate'\n >\n ) => EventsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */\n descending: (\n ...propertyNames: Array<\n | '_id'\n | 'dateAndTimeSettings.startDate'\n | 'dateAndTimeSettings.endDate'\n | 'title'\n | 'slug'\n | '_createdDate'\n | '_updatedDate'\n >\n ) => EventsQueryBuilder;\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object. */\n limit: (limit: number) => EventsQueryBuilder;\n /** @param skip - Number of items to skip in the query results before returning the results. */\n skip: (skip: number) => EventsQueryBuilder;\n find: () => Promise<EventsQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn wix.events.events.v3.EventManagement.QueryEvents\n * @requiredField query\n */\nexport async function typedQueryEvents(\n query: EventQuery,\n options?: QueryEventsOptions\n): Promise<\n NonNullablePaths<\n QueryEventsResponse,\n | `events`\n | `events.${number}._id`\n | `events.${number}.location.type`\n | `events.${number}.dateAndTimeSettings.recurrenceStatus`\n | `events.${number}.slug`\n | `events.${number}.status`\n | `events.${number}.registration.type`\n | `events.${number}.registration.status`\n | `events.${number}.registration.rsvp.responseType`\n | `events.${number}.registration.rsvp.waitlistEnabled`\n | `events.${number}.registration.tickets.guestsAssignedSeparately`\n | `events.${number}.registration.tickets.ticketLimitPerOrder`\n | `events.${number}.registration.allowedGuestTypes`\n | `events.${number}.registration.initialType`\n | `events.${number}.registration.registrationPaused`\n | `events.${number}.registration.registrationDisabled`\n | `events.${number}.calendarUrls.google`\n | `events.${number}.calendarUrls.ics`\n | `events.${number}.summaries.rsvps.totalCount`\n | `events.${number}.summaries.rsvps.yesCount`\n | `events.${number}.summaries.rsvps.noCount`\n | `events.${number}.summaries.rsvps.waitlistCount`\n | `events.${number}.summaries.tickets.ticketsSold`\n | `events.${number}.summaries.tickets.currencyLocked`\n | `events.${number}.summaries.tickets.totalOrders`\n | `events.${number}.summaries.cancellation.actorType`\n | `events.${number}.summaries.cancellation.actorName`\n | `events.${number}.summaries.cancellation.actorEmail`\n | `events.${number}.instanceId`\n | `events.${number}.guestListSettings.displayedPublicly`\n | `events.${number}.userId`\n | `events.${number}.onlineConferencing.enabled`\n | `events.${number}.onlineConferencing.type`\n | `events.${number}.onlineConferencing.session.hostLink`\n | `events.${number}.onlineConferencing.session.guestLink`\n | `events.${number}.seoSettings.slug`\n | `events.${number}.agendaSettings.enabled`,\n 6\n > & {\n __applicationErrorsType?: QueryEventsApplicationErrors;\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 { query: query, ...options },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.queryEvents(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'events.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'events.eventPageUrl' },\n { path: 'events.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'events.location.address' }],\n },\n ]),\n ['events.description']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['query', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface EventQuerySpec extends QuerySpec {\n paging: 'offset';\n wql: [\n {\n fields: ['registration.initialType'];\n operators: ['$eq'];\n sort: 'NONE';\n },\n {\n fields: [\n '_createdDate',\n '_updatedDate',\n 'dateAndTimeSettings.endDate',\n 'dateAndTimeSettings.startDate',\n 'slug',\n 'title'\n ];\n operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];\n sort: 'BOTH';\n },\n {\n fields: ['_id'];\n operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];\n sort: 'BOTH';\n },\n {\n fields: ['status', 'userId'];\n operators: ['$eq', '$in', '$ne'];\n sort: 'NONE';\n }\n ];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<Event, EventQuerySpec>;\nexport type EventQuery = {\n /** \n Paging options. Can't be used together with `cursorPaging`. \n */\n paging?: {\n /** \n Number of items to return. See [Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging#getting-started_sorting-and-paging_paging) for more information. \n @max: 1000 \n */\n limit?: NonNullable<CommonQueryWithEntityContext['paging']>['limit'] | null;\n /** \n Number of items to skip in the current sort order. \n */\n offset?:\n | NonNullable<CommonQueryWithEntityContext['paging']>['offset']\n | null;\n };\n /** \n Filter object in the following format:\n `\"filter\" : {\n \"fieldName1\": \"value1\",\n \"fieldName2\":{\"$operator\":\"value2\"}\n }` \n */\n filter?: CommonQueryWithEntityContext['filter'] | null;\n /** \n Sort object in the following format:\n `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]` \n @maxSize: 20 \n */\n sort?: {\n /** \n Name of the field to sort by. \n @maxLength: 100 \n */\n fieldName?: NonNullable<\n CommonQueryWithEntityContext['sort']\n >[number]['fieldName'];\n /** \n Sort order.\n Use `ASC` for ascending order or `DESC` for descending order.\n\n Default: `ASC`. \n */\n order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];\n }[];\n};\n\nexport const utils = {\n query: /*#__PURE__*/ createQueryUtils<Event, EventQuerySpec, EventQuery>(),\n};\n\n/**\n * Counts events by status.\n * @public\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.CountEventsByStatus\n */\nexport async function countEventsByStatus(\n options?: CountEventsByStatusOptions\n): Promise<\n CountEventsByStatusResponse & {\n __applicationErrorsType?: CountEventsByStatusApplicationErrors;\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 {\n filter: options?.filter,\n facet: options?.facet,\n includeDrafts: options?.includeDrafts,\n },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.countEventsByStatus(payload);\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: {\n filter: '$[0].filter',\n facet: '$[0].facet',\n includeDrafts: '$[0].includeDrafts',\n },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CountEventsByStatusOptions {\n /** Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\" }`. */\n filter?: Record<string, any> | null;\n /**\n * Parameters to count events by.\n * @maxLength 100\n * @maxSize 20\n */\n facet?: string[];\n /**\n * Whether draft events should be returned in the response. <br>\n * **Note:** This parameter requires the `WIX_EVENTS.READ_DRAFT_EVENTS` permission.\n */\n includeDrafts?: boolean;\n}\n\n/**\n * Retrieves a list of up to 100 events that belong to the same event category.\n * @param categoryId - Category ID.\n * @public\n * @requiredField categoryId\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.ListEventsByCategory\n */\nexport async function listEventsByCategory(\n categoryId: string,\n options?: ListEventsByCategoryOptions\n): Promise<\n NonNullablePaths<\n ListEventsByCategoryResponse,\n | `events`\n | `events.${number}._id`\n | `events.${number}.location.type`\n | `events.${number}.dateAndTimeSettings.recurrenceStatus`\n | `events.${number}.slug`\n | `events.${number}.status`\n | `events.${number}.registration.type`\n | `events.${number}.registration.status`\n | `events.${number}.registration.rsvp.responseType`\n | `events.${number}.registration.rsvp.waitlistEnabled`\n | `events.${number}.registration.tickets.guestsAssignedSeparately`\n | `events.${number}.registration.tickets.ticketLimitPerOrder`\n | `events.${number}.registration.allowedGuestTypes`\n | `events.${number}.registration.initialType`\n | `events.${number}.registration.registrationPaused`\n | `events.${number}.registration.registrationDisabled`\n | `events.${number}.calendarUrls.google`\n | `events.${number}.calendarUrls.ics`\n | `events.${number}.summaries.rsvps.totalCount`\n | `events.${number}.summaries.rsvps.yesCount`\n | `events.${number}.summaries.rsvps.noCount`\n | `events.${number}.summaries.rsvps.waitlistCount`\n | `events.${number}.summaries.tickets.ticketsSold`\n | `events.${number}.summaries.tickets.currencyLocked`\n | `events.${number}.summaries.tickets.totalOrders`\n | `events.${number}.summaries.cancellation.actorType`\n | `events.${number}.summaries.cancellation.actorName`\n | `events.${number}.summaries.cancellation.actorEmail`\n | `events.${number}.instanceId`\n | `events.${number}.guestListSettings.displayedPublicly`\n | `events.${number}.userId`\n | `events.${number}.onlineConferencing.enabled`\n | `events.${number}.onlineConferencing.type`\n | `events.${number}.onlineConferencing.session.hostLink`\n | `events.${number}.onlineConferencing.session.guestLink`\n | `events.${number}.seoSettings.slug`\n | `events.${number}.agendaSettings.enabled`,\n 6\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 {\n categoryId: categoryId,\n paging: options?.paging,\n fields: options?.fields,\n },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.listEventsByCategory(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'events.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'events.eventPageUrl' },\n { path: 'events.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'events.location.address' }],\n },\n ]),\n ['events.description']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n categoryId: '$[0]',\n paging: '$[1].paging',\n fields: '$[1].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['categoryId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface ListEventsByCategoryOptions {\n /** Paging options to limit and skip the number of items. */\n paging?: CommonPaging;\n /**\n * Predefined sets of fields to return. If both `fields` and `fieldsets` are sent in the request, the union of both lists is returned.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Retrieves an event by ID.\n *\n * Specify `fields` to request specific fieldsets.\n * For example, `fields: [\"FORM\"]` includes the event's registration form definition in the response.\n * Use the returned input names, mandatory fields, and predefined options before\n * [creating an RSVP](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/create-rsvp).\n * @param eventId - Event ID.\n * @public\n * @requiredField eventId\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @applicableIdentity APP\n * @returns Event.\n * @fqn wix.events.events.v3.EventManagement.GetEvent\n */\nexport async function getEvent(\n eventId: string,\n options?: GetEventOptions\n): Promise<\n NonNullablePaths<\n Event,\n | `_id`\n | `location.type`\n | `location.address.streetAddress.number`\n | `location.address.streetAddress.name`\n | `dateAndTimeSettings.recurrenceStatus`\n | `dateAndTimeSettings.recurringEvents.individualEventDates`\n | `dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `slug`\n | `status`\n | `registration.type`\n | `registration.status`\n | `registration.rsvp.responseType`\n | `registration.rsvp.waitlistEnabled`\n | `registration.tickets.guestsAssignedSeparately`\n | `registration.tickets.ticketLimitPerOrder`\n | `registration.tickets.lowestPrice.value`\n | `registration.tickets.lowestPrice.currency`\n | `registration.tickets.taxSettings.type`\n | `registration.allowedGuestTypes`\n | `registration.initialType`\n | `registration.registrationPaused`\n | `registration.registrationDisabled`\n | `calendarUrls.google`\n | `calendarUrls.ics`\n | `form.controls`\n | `form.controls.${number}.type`\n | `form.controls.${number}.system`\n | `form.controls.${number}.name`\n | `form.controls.${number}.label`\n | `form.controls.${number}.orderIndex`\n | `form.controls.${number}._id`\n | `form.messages.rsvp.rsvpYesOption`\n | `form.messages.rsvp.rsvpNoOption`\n | `form.messages.rsvp.positiveMessages.title`\n | `form.messages.rsvp.positiveMessages.confirmation.title`\n | `form.messages.rsvp.positiveMessages.confirmation.message`\n | `form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.negativeMessages.title`\n | `form.messages.rsvp.negativeMessages.confirmation.title`\n | `form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `form.messages.rsvp.submitActionLabel`\n | `form.messages.checkout.title`\n | `form.messages.checkout.submitActionLabel`\n | `form.messages.checkout.confirmation.title`\n | `form.messages.checkout.confirmation.message`\n | `form.messages.checkout.confirmation.downloadTicketsLabel`\n | `form.messages.checkout.confirmation.addToCalendarLabel`\n | `form.messages.checkout.confirmation.shareEventLabel`\n | `form.messages.registrationClosed.message`\n | `form.messages.registrationClosed.exploreEventsActionLabel`\n | `form.messages.ticketsUnavailable.message`\n | `form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `summaries.rsvps.totalCount`\n | `summaries.rsvps.yesCount`\n | `summaries.rsvps.noCount`\n | `summaries.rsvps.waitlistCount`\n | `summaries.tickets.ticketsSold`\n | `summaries.tickets.revenue.amount`\n | `summaries.tickets.revenue.currency`\n | `summaries.tickets.currencyLocked`\n | `summaries.tickets.totalOrders`\n | `summaries.cancellation.actorType`\n | `summaries.cancellation.actorName`\n | `summaries.cancellation.actorEmail`\n | `instanceId`\n | `guestListSettings.displayedPublicly`\n | `userId`\n | `onlineConferencing.enabled`\n | `onlineConferencing.type`\n | `onlineConferencing.session.hostLink`\n | `onlineConferencing.session.guestLink`\n | `seoSettings.slug`\n | `seoSettings.advancedSeoData.tags`\n | `seoSettings.advancedSeoData.tags.${number}.type`\n | `seoSettings.advancedSeoData.tags.${number}.children`\n | `seoSettings.advancedSeoData.tags.${number}.custom`\n | `seoSettings.advancedSeoData.tags.${number}.disabled`\n | `seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `seoSettings.advancedSeoData.settings.keywords`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `agendaSettings.enabled`,\n 7\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 { eventId: eventId, fields: options?.fields },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.getEvent(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]),\n ['event.description']\n )?.event!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { eventId: '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['eventId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface GetEventOptions {\n /**\n * Predefined sets of fields to return. For example, specify `\"FORM\"` to include the event's registration form definition, including the input names, mandatory fields, and predefined options needed when [creating an RSVP](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/create-rsvp).\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Retrieves an event by the slug URL.\n *\n * The slug is the end of an event URL that refers to a specific event. For example, if an event's URL is `https://example.com/events/event/{my-event-slug}`, the slug is `my-event-slug`.\n * @param slug - URL slug.\n * @public\n * @requiredField slug\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_EVENTS\n * @applicableIdentity APP\n * @fqn wix.events.events.v3.EventManagement.GetEventBySlug\n */\nexport async function getEventBySlug(\n slug: string,\n options?: GetEventBySlugOptions\n): Promise<\n NonNullablePaths<\n GetEventBySlugResponse,\n | `event._id`\n | `event.location.type`\n | `event.location.address.streetAddress.number`\n | `event.location.address.streetAddress.name`\n | `event.dateAndTimeSettings.recurrenceStatus`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `event.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `event.slug`\n | `event.status`\n | `event.registration.type`\n | `event.registration.status`\n | `event.registration.rsvp.responseType`\n | `event.registration.rsvp.waitlistEnabled`\n | `event.registration.tickets.guestsAssignedSeparately`\n | `event.registration.tickets.ticketLimitPerOrder`\n | `event.registration.tickets.lowestPrice.value`\n | `event.registration.tickets.lowestPrice.currency`\n | `event.registration.tickets.taxSettings.type`\n | `event.registration.allowedGuestTypes`\n | `event.registration.initialType`\n | `event.registration.registrationPaused`\n | `event.registration.registrationDisabled`\n | `event.calendarUrls.google`\n | `event.calendarUrls.ics`\n | `event.form.controls`\n | `event.form.controls.${number}.type`\n | `event.form.controls.${number}.system`\n | `event.form.controls.${number}.name`\n | `event.form.controls.${number}.label`\n | `event.form.controls.${number}.orderIndex`\n | `event.form.controls.${number}._id`\n | `event.form.messages.rsvp.rsvpYesOption`\n | `event.form.messages.rsvp.rsvpNoOption`\n | `event.form.messages.rsvp.positiveMessages.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.title`\n | `event.form.messages.rsvp.positiveMessages.confirmation.message`\n | `event.form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel`\n | `event.form.messages.rsvp.positiveMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.negativeMessages.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.title`\n | `event.form.messages.rsvp.negativeMessages.confirmation.shareActionLabel`\n | `event.form.messages.rsvp.submitActionLabel`\n | `event.form.messages.checkout.title`\n | `event.form.messages.checkout.submitActionLabel`\n | `event.form.messages.checkout.confirmation.title`\n | `event.form.messages.checkout.confirmation.message`\n | `event.form.messages.checkout.confirmation.downloadTicketsLabel`\n | `event.form.messages.checkout.confirmation.addToCalendarLabel`\n | `event.form.messages.checkout.confirmation.shareEventLabel`\n | `event.form.messages.registrationClosed.message`\n | `event.form.messages.registrationClosed.exploreEventsActionLabel`\n | `event.form.messages.ticketsUnavailable.message`\n | `event.form.messages.ticketsUnavailable.exploreEventsActionLabel`\n | `event.summaries.rsvps.totalCount`\n | `event.summaries.rsvps.yesCount`\n | `event.summaries.rsvps.noCount`\n | `event.summaries.rsvps.waitlistCount`\n | `event.summaries.tickets.ticketsSold`\n | `event.summaries.tickets.revenue.amount`\n | `event.summaries.tickets.revenue.currency`\n | `event.summaries.tickets.currencyLocked`\n | `event.summaries.tickets.totalOrders`\n | `event.summaries.cancellation.actorType`\n | `event.summaries.cancellation.actorName`\n | `event.summaries.cancellation.actorEmail`\n | `event.instanceId`\n | `event.guestListSettings.displayedPublicly`\n | `event.userId`\n | `event.onlineConferencing.enabled`\n | `event.onlineConferencing.type`\n | `event.onlineConferencing.session.hostLink`\n | `event.onlineConferencing.session.guestLink`\n | `event.seoSettings.slug`\n | `event.seoSettings.advancedSeoData.tags`\n | `event.seoSettings.advancedSeoData.tags.${number}.type`\n | `event.seoSettings.advancedSeoData.tags.${number}.children`\n | `event.seoSettings.advancedSeoData.tags.${number}.custom`\n | `event.seoSettings.advancedSeoData.tags.${number}.disabled`\n | `event.seoSettings.advancedSeoData.settings.preventAutoRedirect`\n | `event.seoSettings.advancedSeoData.settings.keywords`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.term`\n | `event.seoSettings.advancedSeoData.settings.keywords.${number}.isMain`\n | `event.agendaSettings.enabled`,\n 8\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 { slug: slug, fields: options?.fields },\n []\n );\n\n const reqOpts = ambassadorWixEventsV3Event.getEventBySlug(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'event.mainImage' }],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'event.eventPageUrl' },\n { path: 'event.agendaSettings.pageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'event.location.address' }],\n },\n ]),\n ['event.description']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { slug: '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['slug', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface GetEventBySlugOptions {\n /** @maxSize 20 */\n fields?: RequestedFieldsWithLiterals[];\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\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 resolveWixEventsEventsV3EventManagementUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'www.wixapis.com': [\n {\n srcPath: '/events/v3/events',\n destPath: '/v3/events',\n },\n {\n srcPath: '/events/v3/bulk/events',\n destPath: '/v3/bulk/events',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/events-events-v3-adapter',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/events-events-v3-adapter',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/events-events-v3-adapter',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/events-events-v3-adapter',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/events-events-v3-adapter',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/events-events-v3-adapter',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/events-events-v3-adapter',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/events-events-v3-adapter',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_events_wix-events-v-2';\n\n/**\n * Creates an event. <br> <br>\n * The event includes a default registration form in the selected language, which consists of input fields for first name, last name, and email. See the [Registration Form API](https://dev.wix.com/docs/rest/business-solutions/events/form/about-the-registration-form-api) for more information. <br> <br>\n * You can create the event as a draft by setting `draft` to `true`. Otherwise, the event is published right away. <br> <br>\n * To create a recurring event, set `individualEventDates` in the `dateAndTimeSettings.recurringEvents` object. <br> <br>\n * The event is automatically set up to send daily summary reports of new guests to your business email.\n */\nexport function createEvent(payload: object): RequestOptionsFactory<any> {\n function __createEvent({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'event.description.nodes.galleryData.options.item.ratio' },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n { path: 'event.description.nodes.smartBlockCellData.shape.duration' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.CreateEvent',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'event.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n {\n path: 'event.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createEvent;\n}\n\n/**\n * Clones an event, including the registration form, notifications, multilingual translations and ticket configuration from the original event. <br> <br>\n * The new event's date is automatically set to 14 days from the original event date. <br> <br>\n * If an event with the same `title` already exists, the new event's `title` gets a sequence number. For example, if you clone an event named `\"Leather Crafting 101\"`, the new event's title is `\"Leather Crafting 101 (1)\"`. <br> <br>\n * You can change the required entity field values while cloning an event.\n */\nexport function cloneEvent(payload: object): RequestOptionsFactory<any> {\n function __cloneEvent({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldmask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'event.description.nodes.galleryData.options.item.ratio' },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n { path: 'event.description.nodes.smartBlockCellData.shape.duration' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.CloneEvent',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/{eventId}/clone',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'event.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n {\n path: 'event.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __cloneEvent;\n}\n\n/** Updates an event. */\nexport function updateEvent(payload: object): RequestOptionsFactory<any> {\n function __updateEvent({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldmask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'event.description.nodes.galleryData.options.item.ratio' },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n { path: 'event.description.nodes.smartBlockCellData.shape.duration' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'PATCH' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.UpdateEvent',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/{event.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: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'event.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n {\n path: 'event.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateEvent;\n}\n\n/**\n * Publishes a draft event to your live site. Once published, the event's status changes from `\"DRAFT\"` to `\"UPCOMING\"`. <br> <br>\n * It's impossible to revert the `\"DRAFT\"` status after publishing. The only option is to clone the event, then delete the original.\n */\nexport function publishDraftEvent(payload: object): RequestOptionsFactory<any> {\n function __publishDraftEvent({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.PublishDraftEvent',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/{eventId}/publish',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'event.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n {\n path: 'event.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __publishDraftEvent;\n}\n\n/**\n * Cancels an event. <br> <br>\n * After cancellation, registration for an event is closed. To reuse the event, call Clone Event and Publish Event to publish it again. <br> <br>\n * If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.\n */\nexport function cancelEvent(payload: object): RequestOptionsFactory<any> {\n function __cancelEvent({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.CancelEvent',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/{eventId}/cancel',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'event.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n {\n path: 'event.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __cancelEvent;\n}\n\n/**\n * Cancels multiple events that meet the specified criteria. <br> <br>\n * After cancellation, registration for an event is closed. To reuse the event, call Clone Event and Publish Event to publish it again. <br> <br>\n * If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.\n */\nexport function bulkCancelEventsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCancelEventsByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.events.v3.EventManagement.BulkCancelEventsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/bulk/events/cancel-by-filter',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkCancelEventsByFilter;\n}\n\n/**\n * Deletes an event. <br> <br>\n * You can retrieve the deleted event through a GDPR access request.\n */\nexport function deleteEvent(payload: object): RequestOptionsFactory<any> {\n function __deleteEvent({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'DELETE' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.DeleteEvent',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/{eventId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteEvent;\n}\n\n/**\n * Deletes multiple events that meet the specified criteria. <br> <br>\n * You can retrieve the deleted events through a GDPR access request.\n */\nexport function bulkDeleteEventsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteEventsByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.events.v3.EventManagement.BulkDeleteEventsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/bulk/events/delete-by-filter',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteEventsByFilter;\n}\n\n/**\n * Creates a query to retrieve a list of events.\n *\n *\n * The `queryEvents()` method builds a query to retrieve a list of events and returns a [`EventsQueryBuilder`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder) object.\n *\n * The returned object contains the query definition, which is typically used to run the query using the [`find()`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/find) method.\n *\n * You can refine the query by chaining `EventsQueryBuilder` methods onto the query. `EventsQueryBuilder` methods enable you to sort, filter, and control the results `queryEvents()` returns.\n *\n * `queryEvents()` runs with these `EventsQueryBuilder` defaults, which you can override:\n *\n * - [`skip(0)`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/skip)\n * - [`limit(50)`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/limit)\n * - [`descending(\"_createdDate\")`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/descending)\n *\n * The methods that are chained to `queryEvents()` are applied in the order they're called. For example, if you apply `ascending('title')` and then `descending('status')`, the results are sorted first by the `title`, and then, if there are multiple results with the same `title`, the items are sorted by `status`.\n */\nexport function queryEvents(payload: object): RequestOptionsFactory<any> {\n function __queryEvents({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.QueryEvents',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'events.createdDate' },\n { path: 'events.updatedDate' },\n { path: 'events.publishedDate' },\n { path: 'events.dateAndTimeSettings.startDate' },\n { path: 'events.dateAndTimeSettings.endDate' },\n {\n path: 'events.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'events.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'events.mainImage.urlExpirationDate' },\n { path: 'events.registration.rsvp.startDate' },\n { path: 'events.registration.rsvp.endDate' },\n { path: 'events.summaries.cancellation.canceledDate' },\n { path: 'events.categories.categories.createdDate' },\n { path: 'events.description.metadata.createdTimestamp' },\n { path: 'events.description.metadata.updatedTimestamp' },\n { path: 'events.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'events.location.address.geocode.latitude' },\n { path: 'events.location.address.geocode.longitude' },\n {\n path: 'events.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'events.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'events.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'events.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'events.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'events.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'events.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'events.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'events.description.nodes.imageData.image.duration' },\n { path: 'events.description.nodes.imageData.crop.x' },\n { path: 'events.description.nodes.imageData.crop.y' },\n { path: 'events.description.nodes.imageData.crop.width' },\n { path: 'events.description.nodes.imageData.crop.height' },\n { path: 'events.description.nodes.mapData.mapSettings.lat' },\n { path: 'events.description.nodes.mapData.mapSettings.lng' },\n { path: 'events.description.nodes.pollData.poll.image.duration' },\n {\n path: 'events.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'events.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'events.description.nodes.appEmbedData.image.duration' },\n { path: 'events.description.nodes.videoData.video.duration' },\n { path: 'events.description.nodes.videoData.thumbnail.duration' },\n { path: 'events.description.nodes.audioData.audio.duration' },\n {\n path: 'events.description.nodes.audioData.coverImage.duration',\n },\n {\n path: 'events.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'events.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'events.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'events.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'events.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'events.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'events.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'events.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'events.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'events.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'events.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'events.description.nodes.shapeData.shape.duration' },\n {\n path: 'events.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'events.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'events.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'events.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'events.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'events.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'events.description.nodes.tocData.fontSize' },\n { path: 'events.description.nodes.tocData.itemSpacing' },\n {\n path: 'events.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryEvents;\n}\n\n/** Counts events by status. */\nexport function countEventsByStatus(\n payload: object\n): RequestOptionsFactory<any> {\n function __countEventsByStatus({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'POST' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.CountEventsByStatus',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/count-by-status',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __countEventsByStatus;\n}\n\n/** Retrieves a list of up to 100 events that belong to the same event category. */\nexport function listEventsByCategory(\n payload: object\n): RequestOptionsFactory<any> {\n function __listEventsByCategory({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'GET' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.ListEventsByCategory',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/category/{categoryId}',\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: 'events.createdDate' },\n { path: 'events.updatedDate' },\n { path: 'events.publishedDate' },\n { path: 'events.dateAndTimeSettings.startDate' },\n { path: 'events.dateAndTimeSettings.endDate' },\n {\n path: 'events.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'events.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'events.mainImage.urlExpirationDate' },\n { path: 'events.registration.rsvp.startDate' },\n { path: 'events.registration.rsvp.endDate' },\n { path: 'events.summaries.cancellation.canceledDate' },\n { path: 'events.categories.categories.createdDate' },\n { path: 'events.description.metadata.createdTimestamp' },\n { path: 'events.description.metadata.updatedTimestamp' },\n { path: 'events.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'events.location.address.geocode.latitude' },\n { path: 'events.location.address.geocode.longitude' },\n {\n path: 'events.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'events.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'events.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'events.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'events.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'events.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'events.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'events.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'events.description.nodes.imageData.image.duration' },\n { path: 'events.description.nodes.imageData.crop.x' },\n { path: 'events.description.nodes.imageData.crop.y' },\n { path: 'events.description.nodes.imageData.crop.width' },\n { path: 'events.description.nodes.imageData.crop.height' },\n { path: 'events.description.nodes.mapData.mapSettings.lat' },\n { path: 'events.description.nodes.mapData.mapSettings.lng' },\n { path: 'events.description.nodes.pollData.poll.image.duration' },\n {\n path: 'events.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'events.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'events.description.nodes.appEmbedData.image.duration' },\n { path: 'events.description.nodes.videoData.video.duration' },\n { path: 'events.description.nodes.videoData.thumbnail.duration' },\n { path: 'events.description.nodes.audioData.audio.duration' },\n {\n path: 'events.description.nodes.audioData.coverImage.duration',\n },\n {\n path: 'events.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'events.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'events.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'events.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'events.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'events.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'events.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'events.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'events.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'events.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'events.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'events.description.nodes.shapeData.shape.duration' },\n {\n path: 'events.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'events.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'events.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'events.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'events.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'events.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'events.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'events.description.nodes.tocData.fontSize' },\n { path: 'events.description.nodes.tocData.itemSpacing' },\n {\n path: 'events.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listEventsByCategory;\n}\n\n/**\n * Retrieves an event by ID.\n *\n * Specify `fields` to request specific fieldsets.\n * For example, `fields: [\"FORM\"]` includes the event's registration form definition in the response.\n * Use the returned input names, mandatory fields, and predefined options before\n * [creating an RSVP](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/create-rsvp).\n */\nexport function getEvent(payload: object): RequestOptionsFactory<any> {\n function __getEvent({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'GET' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.GetEvent',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/{eventId}',\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: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'event.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n {\n path: 'event.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getEvent;\n}\n\n/**\n * Retrieves an event by the slug URL.\n *\n * The slug is the end of an event URL that refers to a specific event. For example, if an event's URL is `https://example.com/events/event/{my-event-slug}`, the slug is `my-event-slug`.\n */\nexport function getEventBySlug(payload: object): RequestOptionsFactory<any> {\n function __getEventBySlug({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.event',\n method: 'GET' as any,\n methodFqn: 'wix.events.events.v3.EventManagement.GetEventBySlug',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsEventsV3EventManagementUrl({\n protoPath: '/v3/events/slug/{slug}',\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: 'event.createdDate' },\n { path: 'event.updatedDate' },\n { path: 'event.publishedDate' },\n { path: 'event.dateAndTimeSettings.startDate' },\n { path: 'event.dateAndTimeSettings.endDate' },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'event.mainImage.urlExpirationDate' },\n { path: 'event.registration.rsvp.startDate' },\n { path: 'event.registration.rsvp.endDate' },\n { path: 'event.summaries.cancellation.canceledDate' },\n { path: 'event.categories.categories.createdDate' },\n { path: 'event.description.metadata.createdTimestamp' },\n { path: 'event.description.metadata.updatedTimestamp' },\n { path: 'event.badges.badges.functionUpdateDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'event.location.address.geocode.latitude' },\n { path: 'event.location.address.geocode.longitude' },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'event.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'event.description.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'event.description.nodes.galleryData.options.item.ratio',\n },\n { path: 'event.description.nodes.imageData.image.duration' },\n { path: 'event.description.nodes.imageData.crop.x' },\n { path: 'event.description.nodes.imageData.crop.y' },\n { path: 'event.description.nodes.imageData.crop.width' },\n { path: 'event.description.nodes.imageData.crop.height' },\n { path: 'event.description.nodes.mapData.mapSettings.lat' },\n { path: 'event.description.nodes.mapData.mapSettings.lng' },\n { path: 'event.description.nodes.pollData.poll.image.duration' },\n {\n path: 'event.description.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'event.description.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'event.description.nodes.appEmbedData.image.duration' },\n { path: 'event.description.nodes.videoData.video.duration' },\n { path: 'event.description.nodes.videoData.thumbnail.duration' },\n { path: 'event.description.nodes.audioData.audio.duration' },\n { path: 'event.description.nodes.audioData.coverImage.duration' },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'event.description.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'event.description.nodes.shapeData.shape.duration' },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'event.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'event.description.nodes.tocData.fontSize' },\n { path: 'event.description.nodes.tocData.itemSpacing' },\n {\n path: 'event.description.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getEventBySlug;\n}\n","import {\n createEvent as publicCreateEvent,\n cloneEvent as publicCloneEvent,\n updateEvent as publicUpdateEvent,\n publishDraftEvent as publicPublishDraftEvent,\n cancelEvent as publicCancelEvent,\n bulkCancelEventsByFilter as publicBulkCancelEventsByFilter,\n deleteEvent as publicDeleteEvent,\n bulkDeleteEventsByFilter as publicBulkDeleteEventsByFilter,\n queryEvents as publicQueryEvents,\n typedQueryEvents as publicTypedQueryEvents,\n countEventsByStatus as publicCountEventsByStatus,\n listEventsByCategory as publicListEventsByCategory,\n getEvent as publicGetEvent,\n getEventBySlug as publicGetEventBySlug,\n} from './events-v3-event-wix-events-v-2.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { createEventModule } from '@wix/sdk-runtime/event-definition-modules';\nimport {\n BuildRESTFunction,\n MaybeContext,\n BuildEventDefinition,\n} from '@wix/sdk-types';\nimport { HttpClient } from '@wix/sdk-types';\nimport { createQueryOverloadRouter } from '@wix/sdk-runtime/query-method-router';\nimport {\n EventQuery,\n EventsQueryBuilder,\n QueryEventsOptions,\n typedQueryEvents as universalTypedQueryEvents,\n} from './events-v3-event-wix-events-v-2.universal.js';\nimport { onEventCanceled as publicOnEventCanceled } from './events-v3-event-wix-events-v-2.public.js';\nimport { onEventCloned as publicOnEventCloned } from './events-v3-event-wix-events-v-2.public.js';\nimport { onEventCreated as publicOnEventCreated } from './events-v3-event-wix-events-v-2.public.js';\nimport { onEventDeleted as publicOnEventDeleted } from './events-v3-event-wix-events-v-2.public.js';\nimport { onEventEnded as publicOnEventEnded } from './events-v3-event-wix-events-v-2.public.js';\nimport { onEventPublished as publicOnEventPublished } from './events-v3-event-wix-events-v-2.public.js';\nimport { onEventReminder as publicOnEventReminder } from './events-v3-event-wix-events-v-2.public.js';\nimport { onEventStarted as publicOnEventStarted } from './events-v3-event-wix-events-v-2.public.js';\nimport { onEventUpdated as publicOnEventUpdated } from './events-v3-event-wix-events-v-2.public.js';\n\nfunction customQueryEvents(httpClient: HttpClient) {\n const router = /*#__PURE__*/ createQueryOverloadRouter({\n builderQueryFunction: (options?: QueryEventsOptions) =>\n publicQueryEvents(httpClient)(options),\n typedQueryFunction: (query: EventQuery, options?: QueryEventsOptions) =>\n publicTypedQueryEvents(httpClient)(query, options),\n hasOptionsParameter: true,\n });\n\n function overloadedQuery(\n query: EventQuery,\n options?: QueryEventsOptions\n ): ReturnType<typeof universalTypedQueryEvents>;\n function overloadedQuery(options?: QueryEventsOptions): EventsQueryBuilder;\n function overloadedQuery(\n queryOrOptions?: EventQuery | QueryEventsOptions,\n options?: QueryEventsOptions\n ): any {\n return router(...arguments);\n }\n\n return overloadedQuery;\n}\n\nexport const createEvent: MaybeContext<\n BuildRESTFunction<typeof publicCreateEvent> & typeof publicCreateEvent\n> = /*#__PURE__*/ createRESTModule(publicCreateEvent);\nexport const cloneEvent: MaybeContext<\n BuildRESTFunction<typeof publicCloneEvent> & typeof publicCloneEvent\n> = /*#__PURE__*/ createRESTModule(publicCloneEvent);\nexport const updateEvent: MaybeContext<\n BuildRESTFunction<typeof publicUpdateEvent> & typeof publicUpdateEvent\n> = /*#__PURE__*/ createRESTModule(publicUpdateEvent);\nexport const publishDraftEvent: MaybeContext<\n BuildRESTFunction<typeof publicPublishDraftEvent> &\n typeof publicPublishDraftEvent\n> = /*#__PURE__*/ createRESTModule(publicPublishDraftEvent);\nexport const cancelEvent: MaybeContext<\n BuildRESTFunction<typeof publicCancelEvent> & typeof publicCancelEvent\n> = /*#__PURE__*/ createRESTModule(publicCancelEvent);\nexport const bulkCancelEventsByFilter: MaybeContext<\n BuildRESTFunction<typeof publicBulkCancelEventsByFilter> &\n typeof publicBulkCancelEventsByFilter\n> = /*#__PURE__*/ createRESTModule(publicBulkCancelEventsByFilter);\nexport const deleteEvent: MaybeContext<\n BuildRESTFunction<typeof publicDeleteEvent> & typeof publicDeleteEvent\n> = /*#__PURE__*/ createRESTModule(publicDeleteEvent);\nexport const bulkDeleteEventsByFilter: MaybeContext<\n BuildRESTFunction<typeof publicBulkDeleteEventsByFilter> &\n typeof publicBulkDeleteEventsByFilter\n> = /*#__PURE__*/ createRESTModule(publicBulkDeleteEventsByFilter);\nexport const countEventsByStatus: MaybeContext<\n BuildRESTFunction<typeof publicCountEventsByStatus> &\n typeof publicCountEventsByStatus\n> = /*#__PURE__*/ createRESTModule(publicCountEventsByStatus);\nexport const listEventsByCategory: MaybeContext<\n BuildRESTFunction<typeof publicListEventsByCategory> &\n typeof publicListEventsByCategory\n> = /*#__PURE__*/ createRESTModule(publicListEventsByCategory);\nexport const getEvent: MaybeContext<\n BuildRESTFunction<typeof publicGetEvent> & typeof publicGetEvent\n> = /*#__PURE__*/ createRESTModule(publicGetEvent);\nexport const getEventBySlug: MaybeContext<\n BuildRESTFunction<typeof publicGetEventBySlug> & typeof publicGetEventBySlug\n> = /*#__PURE__*/ createRESTModule(publicGetEventBySlug);\nexport const queryEvents: MaybeContext<\n BuildRESTFunction<typeof customQueryEvents> & typeof customQueryEvents\n> = /*#__PURE__*/ createRESTModule(customQueryEvents);\n/**\n * Triggered when an event is canceled.\n */\nexport const onEventCanceled: BuildEventDefinition<\n typeof publicOnEventCanceled\n> &\n typeof publicOnEventCanceled = /*#__PURE__*/ createEventModule(\n publicOnEventCanceled\n);\n/**\n * Triggered when an event is cloned.\n */\nexport const onEventCloned: BuildEventDefinition<typeof publicOnEventCloned> &\n typeof publicOnEventCloned =\n /*#__PURE__*/ createEventModule(publicOnEventCloned);\n/**\n * Triggered when an event is created.\n */\nexport const onEventCreated: BuildEventDefinition<typeof publicOnEventCreated> &\n typeof publicOnEventCreated =\n /*#__PURE__*/ createEventModule(publicOnEventCreated);\n/**\n * Triggered when an event is deleted.\n */\nexport const onEventDeleted: BuildEventDefinition<typeof publicOnEventDeleted> &\n typeof publicOnEventDeleted =\n /*#__PURE__*/ createEventModule(publicOnEventDeleted);\n/**\n * Triggered when an event has ended.\n */\nexport const onEventEnded: BuildEventDefinition<typeof publicOnEventEnded> &\n typeof publicOnEventEnded =\n /*#__PURE__*/ createEventModule(publicOnEventEnded);\n/**\n * Triggered when an event is published.\n */\nexport const onEventPublished: BuildEventDefinition<\n typeof publicOnEventPublished\n> &\n typeof publicOnEventPublished = /*#__PURE__*/ createEventModule(\n publicOnEventPublished\n);\n/**\n * Triggered when a certain amount of time is left until the event. In total there are 6 reminders:\n * - 7 days\n * - 3 days\n * - 1 day\n * - 2 hours\n * - 1 hour\n * - 30 minutes\n */\nexport const onEventReminder: BuildEventDefinition<\n typeof publicOnEventReminder\n> &\n typeof publicOnEventReminder = /*#__PURE__*/ createEventModule(\n publicOnEventReminder\n);\n/**\n * Triggered when an event has started.\n */\nexport const onEventStarted: BuildEventDefinition<typeof publicOnEventStarted> &\n typeof publicOnEventStarted =\n /*#__PURE__*/ createEventModule(publicOnEventStarted);\n/**\n * Triggered when an event is updated.\n */\nexport const onEventUpdated: BuildEventDefinition<typeof publicOnEventUpdated> &\n typeof publicOnEventUpdated =\n /*#__PURE__*/ createEventModule(publicOnEventUpdated);\n\nexport {\n LocationType,\n SubdivisionType,\n RecurrenceStatusStatus,\n Status,\n RegistrationTypeType,\n RegistrationStatusStatus,\n ResponseType,\n TaxType,\n CheckoutType,\n GuestTypeType,\n InitialRegistrationTypeType,\n InputControlType,\n ValueType,\n ActorType,\n ConferenceTypeType,\n Type,\n NodeType,\n BackgroundType,\n GradientType,\n WidthType,\n PluginContainerDataAlignment,\n ButtonDataType,\n Target,\n AnimationType,\n EntranceEffectType,\n LoopEffectType,\n PointerEffectType,\n TextAlignment,\n LineCap,\n LineStyle,\n Width,\n DividerDataAlignment,\n ViewMode,\n LayoutType,\n Orientation,\n Crop,\n ThumbnailsAlignment,\n GIFType,\n Source,\n StylesPosition,\n MapType,\n ViewRole,\n VoteRole,\n PollLayoutType,\n PollLayoutDirection,\n PollDesignBackgroundType,\n DecorationType,\n FontType,\n Variant,\n Position,\n AspectRatio,\n Resizing,\n Placement,\n CardStylesType,\n Alignment,\n Layout,\n AppType,\n InitialExpandedItems,\n Direction,\n VerticalAlignment,\n NullValue,\n ImageScalingScaling,\n ImagePosition,\n LayoutDataBackgroundType,\n Origin,\n BannerPosition,\n LayerEffect,\n Shape,\n BackdropType,\n VerticalAlignmentAlignment,\n ResponsivenessBehaviour,\n DesignTarget,\n Scaling,\n ImagePositionPosition,\n CardDataBackgroundType,\n ListStyle,\n Indentation,\n SmartBlockDataType,\n ColumnSize,\n BadgeTypeType,\n RequestedFields,\n UpdaterIdentity,\n PublishStatus,\n CommonSortOrder,\n SortOrder,\n Relation,\n WebhookIdentityType,\n} from './events-v3-event-wix-events-v-2.universal.js';\nexport {\n Event,\n Location,\n Address,\n AddressStreetOneOf,\n StreetAddress,\n CommonAddressLocation,\n Subdivision,\n DateAndTimeSettings,\n Recurrences,\n Occurrence,\n Formatted,\n TimeDuration,\n Registration,\n RsvpRegistration,\n RsvpConfirmationMessages,\n PositiveResponseConfirmation,\n NegativeResponseConfirmation,\n TicketsRegistration,\n Money,\n TaxSettings,\n TicketsConfirmationMessages,\n ExternalRegistration,\n CalendarUrls,\n Form,\n InputControl,\n Input,\n OptionSelection,\n OptionSelectionSelectedOptionOneOf,\n Label,\n FormMessages,\n RsvpFormMessages,\n RsvpFormMessagesPositiveResponseConfirmation,\n RsvpFormMessagesNegativeResponseConfirmation,\n Positive,\n Negative,\n CheckoutFormMessages,\n ResponseConfirmation,\n RegistrationClosedMessages,\n TicketsUnavailableMessages,\n Summaries,\n EventsMoney,\n Rsvps,\n Tickets,\n Cancellation,\n GuestListSettings,\n Feed,\n OnlineConferencing,\n OnlineConferencingSession,\n SeoSettings,\n SeoSchema,\n Keyword,\n Tag,\n Settings,\n AgendaSettings,\n EventCategories,\n EventCategory,\n EventDisplaySettings,\n LabellingSettings,\n RichContent,\n Node,\n NodeDataOneOf,\n NodeStyle,\n ButtonData,\n Gradient,\n Stop,\n Border,\n Colors,\n Background,\n PluginContainerData,\n PluginContainerDataWidth,\n PluginContainerDataWidthDataOneOf,\n Spoiler,\n Height,\n Styles,\n Link,\n LinkDataOneOf,\n Rel,\n Animation,\n EntranceAnimation,\n EntranceEffect,\n LoopAnimation,\n LoopEffect,\n PointerEffect,\n CodeBlockData,\n TextStyle,\n DividerData,\n DividerDataStyles,\n FileData,\n FileSource,\n FileSourceDataOneOf,\n PDFSettings,\n GalleryData,\n Media,\n Image,\n Video,\n Item,\n ItemDataOneOf,\n GalleryOptions,\n GalleryOptionsLayout,\n ItemStyle,\n Thumbnails,\n GIFData,\n GIF,\n HeadingData,\n HTMLData,\n HTMLDataDataOneOf,\n ImageData,\n StylesBorder,\n ImageDataStyles,\n ImageDataCrop,\n LinkPreviewData,\n LinkPreviewDataStyles,\n MapData,\n MapSettings,\n ParagraphData,\n PollData,\n Permissions,\n Option,\n PollSettings,\n PollLayout,\n OptionLayout,\n BackgroundGradient,\n PollDesignBackground,\n PollDesignBackgroundBackgroundOneOf,\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 FontFamilyData,\n SketchData,\n AppEmbedData,\n AppEmbedDataAppDataOneOf,\n BookingData,\n EventData,\n ButtonStyles,\n ImageStyles,\n RibbonStyles,\n CardStyles,\n PricingData,\n VideoData,\n PlaybackOptions,\n EmbedData,\n Oembed,\n CollapsibleListData,\n TableData,\n Dimensions,\n TableCellData,\n CellStyle,\n BorderColors,\n BorderWidths,\n ListValue,\n AudioData,\n OrderedListData,\n BulletedListData,\n BlockquoteData,\n CaptionData,\n LayoutData,\n LayoutDataBackground,\n Layers,\n LayoutDataBackgroundImage,\n Banner,\n Backdrop,\n SectionDivider,\n LayoutCellData,\n ShapeData,\n ShapeDataStyles,\n CardData,\n CardDataBackground,\n BackgroundImage,\n TocData,\n SmartBlockData,\n SmartBlockCellData,\n CheckboxListData,\n ListItemNodeData,\n Metadata,\n DocumentStyle,\n TextNodeStyle,\n BadgeList,\n Badge,\n EventStarted,\n EventEnded,\n EventReminder,\n EventPublished,\n EventCloned,\n EventCanceled,\n CreateEventRequest,\n CreateEventResponse,\n CloneEventRequest,\n CloneEventResponse,\n CloneEventFromOtherSiteRequest,\n CloneEventFromOtherSiteResponse,\n GetEventTranslationsContentRequest,\n GetEventTranslationsContentResponse,\n Content,\n ContentField,\n ContentFieldValueOneOf,\n VideoResolution,\n UpdateEventRequest,\n UpdateEventResponse,\n PublishDraftEventRequest,\n PublishDraftEventResponse,\n CancelEventRequest,\n CancelEventResponse,\n BulkCancelEventsByFilterRequest,\n CommonQueryV2,\n CommonQueryV2PagingMethodOneOf,\n CommonSorting,\n CommonPaging,\n BulkCancelEventsByFilterResponse,\n DeleteEventRequest,\n DeleteEventResponse,\n BulkDeleteEventsByFilterRequest,\n BulkDeleteEventsByFilterResponse,\n QueryEventsRequest,\n QueryEventsResponse,\n CommonPagingMetadataV2,\n CommonCursors,\n ExportEventsRequest,\n QueryV2,\n QueryV2PagingMethodOneOf,\n Sorting,\n AddressLocation,\n Paging,\n CursorPaging,\n ExportEventsResponse,\n PagingMetadataV2,\n Cursors,\n CountEventsByStatusRequest,\n CountEventsByStatusResponse,\n FacetCounts,\n ListUserEventsRequest,\n UserFilter,\n ListUserEventsResponse,\n ListEventsByCategoryRequest,\n ListEventsByCategoryResponse,\n GetEventRequest,\n GetEventResponse,\n GetEventBySlugRequest,\n GetEventBySlugResponse,\n FindEventRequest,\n FindEventRequestFindByOneOf,\n FindEventResponse,\n Empty,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n AccountInfo,\n BaseEventMetadata,\n EventMetadata,\n AccountInfoMetadata,\n EventCanceledEnvelope,\n EventClonedEnvelope,\n EventCreatedEnvelope,\n EventDeletedEnvelope,\n EventEndedEnvelope,\n EventPublishedEnvelope,\n EventReminderEnvelope,\n EventStartedEnvelope,\n EventUpdatedEnvelope,\n CreateEventOptions,\n CloneEventOptions,\n UpdateEventOptions,\n PublishDraftEventOptions,\n CancelEventOptions,\n BulkCancelEventsByFilterOptions,\n BulkDeleteEventsByFilterOptions,\n QueryEventsOptions,\n EventsQueryResult,\n EventsQueryBuilder,\n EventQuerySpec,\n CountEventsByStatusOptions,\n ListEventsByCategoryOptions,\n GetEventOptions,\n GetEventBySlugOptions,\n} from './events-v3-event-wix-events-v-2.universal.js';\nexport { utils } from './events-v3-event-wix-events-v-2.universal.js';\nexport {\n LocationTypeWithLiterals,\n SubdivisionTypeWithLiterals,\n RecurrenceStatusStatusWithLiterals,\n StatusWithLiterals,\n RegistrationTypeTypeWithLiterals,\n RegistrationStatusStatusWithLiterals,\n ResponseTypeWithLiterals,\n TaxTypeWithLiterals,\n CheckoutTypeWithLiterals,\n GuestTypeTypeWithLiterals,\n InitialRegistrationTypeTypeWithLiterals,\n InputControlTypeWithLiterals,\n ValueTypeWithLiterals,\n ActorTypeWithLiterals,\n ConferenceTypeTypeWithLiterals,\n TypeWithLiterals,\n NodeTypeWithLiterals,\n BackgroundTypeWithLiterals,\n GradientTypeWithLiterals,\n WidthTypeWithLiterals,\n PluginContainerDataAlignmentWithLiterals,\n ButtonDataTypeWithLiterals,\n TargetWithLiterals,\n AnimationTypeWithLiterals,\n EntranceEffectTypeWithLiterals,\n LoopEffectTypeWithLiterals,\n PointerEffectTypeWithLiterals,\n TextAlignmentWithLiterals,\n LineCapWithLiterals,\n LineStyleWithLiterals,\n WidthWithLiterals,\n DividerDataAlignmentWithLiterals,\n ViewModeWithLiterals,\n LayoutTypeWithLiterals,\n OrientationWithLiterals,\n CropWithLiterals,\n ThumbnailsAlignmentWithLiterals,\n GIFTypeWithLiterals,\n SourceWithLiterals,\n StylesPositionWithLiterals,\n MapTypeWithLiterals,\n ViewRoleWithLiterals,\n VoteRoleWithLiterals,\n PollLayoutTypeWithLiterals,\n PollLayoutDirectionWithLiterals,\n PollDesignBackgroundTypeWithLiterals,\n DecorationTypeWithLiterals,\n FontTypeWithLiterals,\n VariantWithLiterals,\n PositionWithLiterals,\n AspectRatioWithLiterals,\n ResizingWithLiterals,\n PlacementWithLiterals,\n CardStylesTypeWithLiterals,\n AlignmentWithLiterals,\n LayoutWithLiterals,\n AppTypeWithLiterals,\n InitialExpandedItemsWithLiterals,\n DirectionWithLiterals,\n VerticalAlignmentWithLiterals,\n NullValueWithLiterals,\n ImageScalingScalingWithLiterals,\n ImagePositionWithLiterals,\n LayoutDataBackgroundTypeWithLiterals,\n OriginWithLiterals,\n BannerPositionWithLiterals,\n LayerEffectWithLiterals,\n ShapeWithLiterals,\n BackdropTypeWithLiterals,\n VerticalAlignmentAlignmentWithLiterals,\n ResponsivenessBehaviourWithLiterals,\n DesignTargetWithLiterals,\n ScalingWithLiterals,\n ImagePositionPositionWithLiterals,\n CardDataBackgroundTypeWithLiterals,\n ListStyleWithLiterals,\n IndentationWithLiterals,\n SmartBlockDataTypeWithLiterals,\n ColumnSizeWithLiterals,\n BadgeTypeTypeWithLiterals,\n RequestedFieldsWithLiterals,\n UpdaterIdentityWithLiterals,\n PublishStatusWithLiterals,\n CommonSortOrderWithLiterals,\n SortOrderWithLiterals,\n RelationWithLiterals,\n WebhookIdentityTypeWithLiterals,\n CreateEventApplicationErrors,\n CreateEventValidationErrors,\n UpdateEventApplicationErrors,\n UpdateEventValidationErrors,\n PublishDraftEventApplicationErrors,\n CancelEventApplicationErrors,\n QueryEventsApplicationErrors,\n CountEventsByStatusApplicationErrors,\n CommonQueryWithEntityContext,\n EventQuery,\n} from './events-v3-event-wix-events-v-2.universal.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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DAAiBA,YAAiB;AAC7C,IAAMC,4BAGK,2DAAiBA,yBAA8B;AAC1D,IAAMC,uBAGK,2DAAiBA,oBAAyB;AACrD,IAAMC,wBAGK,2DAAiBA,qBAA0B;AACtD,IAAMC,YAEK,2DAAiBA,SAAc;AAC1C,IAAMC,kBAEK,2DAAiBA,eAAoB;AAChD,IAAMb,eAEK,2DAAiB,iBAAiB;AAI7C,IAAMc,mBAGkC;AAAA,EAC7C;AACF;AAIO,IAAMC,iBAEG,uEAAkB,aAAmB;AAI9C,IAAMC,kBAEG,uEAAkB,cAAoB;AAI/C,IAAMC,kBAEG,uEAAkB,cAAoB;AAI/C,IAAMC,gBAEG,uEAAkB,YAAkB;AAI7C,IAAMC,oBAGmC;AAAA,EAC9C;AACF;AAUO,IAAMC,mBAGkC;AAAA,EAC7C;AACF;AAIO,IAAMC,kBAEG,uEAAkB,cAAoB;AAI/C,IAAMC,kBAEG,uEAAkB,cAAoB;","names":["bulkCancelEventsByFilter","bulkDeleteEventsByFilter","cancelEvent","cloneEvent","countEventsByStatus","createEvent","deleteEvent","getEvent","getEventBySlug","listEventsByCategory","onEventCanceled","onEventCloned","onEventCreated","onEventDeleted","onEventEnded","onEventPublished","onEventReminder","onEventStarted","onEventUpdated","publishDraftEvent","queryEvents","updateEvent","import_rename_all_nested_keys","import_address","import_float","import_image","import_page_url","import_timestamp","import_transform_paths","import_float","import_timestamp","import_rest_modules","payload","import_address","import_image","import_page_url","import_transform_paths","LocationType","SubdivisionType","RecurrenceStatusStatus","Status","RegistrationTypeType","RegistrationStatusStatus","ResponseType","TaxType","CheckoutType","GuestTypeType","InitialRegistrationTypeType","InputControlType","ValueType","ActorType","ConferenceTypeType","Type","NodeType","BackgroundType","GradientType","WidthType","PluginContainerDataAlignment","ButtonDataType","Target","AnimationType","EntranceEffectType","LoopEffectType","PointerEffectType","TextAlignment","LineCap","LineStyle","Width","DividerDataAlignment","ViewMode","LayoutType","Orientation","Crop","ThumbnailsAlignment","GIFType","Source","StylesPosition","MapType","ViewRole","VoteRole","PollLayoutType","PollLayoutDirection","PollDesignBackgroundType","DecorationType","FontType","Variant","Position","AspectRatio","Resizing","Placement","CardStylesType","Alignment","Layout","AppType","InitialExpandedItems","Direction","VerticalAlignment","NullValue","ImageScalingScaling","ImagePosition","LayoutDataBackgroundType","Origin","BannerPosition","LayerEffect","Shape","BackdropType","VerticalAlignmentAlignment","ResponsivenessBehaviour","DesignTarget","Scaling","ImagePositionPosition","CardDataBackgroundType","ListStyle","Indentation","SmartBlockDataType","ColumnSize","BadgeTypeType","RequestedFields","UpdaterIdentity","PublishStatus","CommonSortOrder","SortOrder","Relation","WebhookIdentityType","createEvent","sdkTransformError","cloneEvent","updateEvent","publishDraftEvent","cancelEvent","bulkCancelEventsByFilter","deleteEvent","bulkDeleteEventsByFilter","queryEvents","countEventsByStatus","listEventsByCategory","getEvent","getEventBySlug","createEvent","cloneEvent","updateEvent","publishDraftEvent","cancelEvent","bulkCancelEventsByFilter","deleteEvent","bulkDeleteEventsByFilter","queryEvents","typedQueryEvents","countEventsByStatus","listEventsByCategory","getEvent","getEventBySlug","import_rest_modules","queryEvents","typedQueryEvents","createEvent","cloneEvent","updateEvent","publishDraftEvent","cancelEvent","bulkCancelEventsByFilter","deleteEvent","bulkDeleteEventsByFilter","countEventsByStatus","listEventsByCategory","getEvent","getEventBySlug","onEventCanceled","onEventCloned","onEventCreated","onEventDeleted","onEventEnded","onEventPublished","onEventReminder","onEventStarted","onEventUpdated"]}