@wix/auto_sdk_events_wix-events-v-2 1.0.65 → 1.0.66
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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +37 -3
- package/build/cjs/index.typings.js +1 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +37 -3
- package/build/cjs/meta.js +1 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +1 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +37 -3
- package/build/es/index.typings.mjs +1 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +37 -3
- package/build/es/meta.mjs +1 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +1 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +37 -3
- package/build/internal/cjs/index.typings.js +1 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +37 -3
- package/build/internal/cjs/meta.js +1 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +1 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +37 -3
- package/build/internal/es/index.typings.mjs +1 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +37 -3
- package/build/internal/es/meta.mjs +1 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../index.typings.ts","../../src/events-v3-event-wix-events-v-2.universal.ts","../../src/events-v3-event-wix-events-v-2.http.ts"],"sourcesContent":["export * from './src/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 { HttpClient, HttpResponse, NonNullablePaths } 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';\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 * 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 * Assigned contacts label key.\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 /** Visual settings for event. */\n eventDisplaySettings?: EventDisplaySettings;\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\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 /** Unknown location type. */\n UNKNOWN_LOCATION = 'UNKNOWN_LOCATION',\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 =\n | LocationType\n | 'UNKNOWN_LOCATION'\n | 'VENUE'\n | '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\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\nexport interface AddressLocation {\n /**\n * Address latitude coordinates.\n * @min -90\n * @max 90\n */\n latitude?: number | null;\n /**\n * Address longitude coordinates.\n * @min -180\n * @max 180\n */\n longitude?: number | null;\n}\n\nexport interface Subdivision {\n /**\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\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 /** Unknown recurrance status. */\n UNKNOWN_STATUS = 'UNKNOWN_STATUS',\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 | 'UNKNOWN_STATUS'\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.\n * @maxSize 1000\n */\n individualEventDates?: Occurrence[];\n /**\n * Recurring event category ID.\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 /** Unknown event status. */\n UNKNOWN_EVENT_STATUS = 'UNKNOWN_EVENT_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 | 'UNKNOWN_EVENT_STATUS'\n | 'UPCOMING'\n | 'STARTED'\n | 'ENDED'\n | 'CANCELED'\n | 'DRAFT';\n\nexport interface Registration {\n /**\n * Current registration type.\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 event type which is set when creating an event.\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 /** Unknown registration type. */\n UNKNOWN_REGISTRATION_TYPE = 'UNKNOWN_REGISTRATION_TYPE',\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\n/** @enumType */\nexport type RegistrationTypeTypeWithLiterals =\n | RegistrationTypeType\n | 'UNKNOWN_REGISTRATION_TYPE'\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\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\nexport enum ResponseType {\n /** Unknown response type. */\n UNKNOWN_RESPONSE_TYPE = 'UNKNOWN_RESPONSE_TYPE',\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 =\n | ResponseType\n | 'UNKNOWN_RESPONSE_TYPE'\n | 'YES_ONLY'\n | 'YES_AND_NO';\n\nexport interface RsvpConfirmationMessages {\n /** Messages displayed when an RSVP's `status` is set to `\"YES\"`. */\n positiveConfirmation?: 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 /** 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\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 /** Unknown tax type. */\n UNKNOWN_TAX_TYPE = 'UNKNOWN_TAX_TYPE',\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 | 'UNKNOWN_TAX_TYPE'\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 UNKNOWN_CHECKOUT_TYPE = 'UNKNOWN_CHECKOUT_TYPE',\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 | 'UNKNOWN_CHECKOUT_TYPE'\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 /** Unknown guest type. */\n UNKNOWN_GUEST_TYPE = 'UNKNOWN_GUEST_TYPE',\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 | 'UNKNOWN_GUEST_TYPE'\n | 'VISITOR_OR_MEMBER'\n | 'MEMBER';\n\nexport enum InitialRegistrationTypeType {\n /** Unknown initial registration type. */\n UNKNOWN_INITIAL_REGISTRATION_TYPE = 'UNKNOWN_INITIAL_REGISTRATION_TYPE',\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\n/** @enumType */\nexport type InitialRegistrationTypeTypeWithLiterals =\n | InitialRegistrationTypeType\n | 'UNKNOWN_INITIAL_REGISTRATION_TYPE'\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}\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\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\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 /** Conference type. */\n type?: ConferenceTypeTypeWithLiterals;\n /** Online conferencing session information. */\n session?: OnlineConferencingSession;\n}\n\nexport enum ConferenceTypeType {\n /** Default value. This value is unused */\n UNKNOWN_CONFERENCE_TYPE = 'UNKNOWN_CONFERENCE_TYPE',\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 | 'UNKNOWN_CONFERENCE_TYPE'\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 type?: string;\n /**\n * A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\n * For example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.\n */\n props?: Record<string, any> | null;\n /** SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`. */\n meta?: Record<string, any> | null;\n /** SEO tag inner content. For example, `<title> inner content </title>`. */\n children?: string;\n /** Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages). */\n custom?: boolean;\n /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */\n disabled?: boolean;\n}\n\nexport interface Settings {\n /**\n * Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\n *\n *\n * Default: `false` (automatical redirect is enabled).\n */\n preventAutoRedirect?: boolean;\n /**\n * User-selected keyword terms for a specific page.\n * @maxSize 5\n */\n keywords?: Keyword[];\n}\n\nexport interface 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\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\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 /** 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}\n\nexport enum NodeType {\n PARAGRAPH = 'PARAGRAPH',\n TEXT = 'TEXT',\n HEADING = 'HEADING',\n BULLETED_LIST = 'BULLETED_LIST',\n ORDERED_LIST = 'ORDERED_LIST',\n LIST_ITEM = 'LIST_ITEM',\n BLOCKQUOTE = 'BLOCKQUOTE',\n CODE_BLOCK = 'CODE_BLOCK',\n VIDEO = 'VIDEO',\n DIVIDER = 'DIVIDER',\n FILE = 'FILE',\n GALLERY = 'GALLERY',\n GIF = 'GIF',\n HTML = 'HTML',\n IMAGE = 'IMAGE',\n LINK_PREVIEW = 'LINK_PREVIEW',\n /** @deprecated */\n MAP = 'MAP',\n POLL = 'POLL',\n APP_EMBED = 'APP_EMBED',\n BUTTON = 'BUTTON',\n COLLAPSIBLE_LIST = 'COLLAPSIBLE_LIST',\n TABLE = 'TABLE',\n EMBED = 'EMBED',\n COLLAPSIBLE_ITEM = 'COLLAPSIBLE_ITEM',\n COLLAPSIBLE_ITEM_TITLE = 'COLLAPSIBLE_ITEM_TITLE',\n COLLAPSIBLE_ITEM_BODY = 'COLLAPSIBLE_ITEM_BODY',\n TABLE_CELL = 'TABLE_CELL',\n TABLE_ROW = 'TABLE_ROW',\n EXTERNAL = 'EXTERNAL',\n AUDIO = 'AUDIO',\n CAPTION = 'CAPTION',\n LAYOUT = 'LAYOUT',\n LAYOUT_CELL = 'LAYOUT_CELL',\n}\n\n/** @enumType */\nexport type NodeTypeWithLiterals =\n | NodeType\n | 'PARAGRAPH'\n | 'TEXT'\n | 'HEADING'\n | 'BULLETED_LIST'\n | 'ORDERED_LIST'\n | 'LIST_ITEM'\n | 'BLOCKQUOTE'\n | 'CODE_BLOCK'\n | 'VIDEO'\n | 'DIVIDER'\n | 'FILE'\n | 'GALLERY'\n | 'GIF'\n | 'HTML'\n | 'IMAGE'\n | 'LINK_PREVIEW'\n | 'MAP'\n | 'POLL'\n | 'APP_EMBED'\n | 'BUTTON'\n | 'COLLAPSIBLE_LIST'\n | 'TABLE'\n | 'EMBED'\n | 'COLLAPSIBLE_ITEM'\n | 'COLLAPSIBLE_ITEM_TITLE'\n | 'COLLAPSIBLE_ITEM_BODY'\n | 'TABLE_CELL'\n | 'TABLE_ROW'\n | 'EXTERNAL'\n | 'AUDIO'\n | 'CAPTION'\n | 'LAYOUT'\n | 'LAYOUT_CELL';\n\nexport interface NodeStyle {\n /** The top padding value in pixels. */\n paddingTop?: string | null;\n /** The bottom padding value in pixels. */\n paddingBottom?: string | null;\n /** The background color as a hexadecimal value. */\n backgroundColor?: string | null;\n}\n\nexport interface ButtonData {\n /** Styling for the button's container. */\n containerData?: PluginContainerData;\n /** The button type. */\n type?: ButtonDataTypeWithLiterals;\n /** Styling for the button. */\n styles?: Styles;\n /** The text to display on the button. */\n text?: string | null;\n /** Button link details. */\n link?: Link;\n}\n\nexport interface Border {\n /**\n * Deprecated: Use `borderWidth` in `styles` instead.\n * @deprecated\n */\n width?: number | null;\n /**\n * Deprecated: Use `borderRadius` in `styles` instead.\n * @deprecated\n */\n radius?: number | null;\n}\n\nexport interface Colors {\n /**\n * Deprecated: Use `textColor` in `styles` instead.\n * @deprecated\n */\n text?: string | null;\n /**\n * Deprecated: Use `borderColor` in `styles` instead.\n * @deprecated\n */\n border?: string | null;\n /**\n * Deprecated: Use `backgroundColor` in `styles` instead.\n * @deprecated\n */\n background?: string | null;\n}\n\nexport interface PluginContainerData {\n /** The width of the node when it's displayed. */\n width?: PluginContainerDataWidth;\n /** The node's alignment within its container. */\n alignment?: PluginContainerDataAlignmentWithLiterals;\n /** Spoiler cover settings for the node. */\n spoiler?: Spoiler;\n /** The height of the node when it's displayed. */\n height?: Height;\n /** Sets whether text should wrap around this node when it's displayed. If `textWrap` is `false`, the node takes up the width of its container. Defaults to `true` for all node types except 'DIVIVDER' where it defaults to `false`. */\n textWrap?: boolean | null;\n}\n\nexport enum WidthType {\n /** Width matches the content width */\n CONTENT = 'CONTENT',\n /** Small Width */\n SMALL = 'SMALL',\n /** Width will match the original asset width */\n ORIGINAL = 'ORIGINAL',\n /** coast-to-coast display */\n FULL_WIDTH = 'FULL_WIDTH',\n}\n\n/** @enumType */\nexport type WidthTypeWithLiterals =\n | WidthType\n | 'CONTENT'\n | 'SMALL'\n | 'ORIGINAL'\n | 'FULL_WIDTH';\n\nexport interface PluginContainerDataWidth\n extends PluginContainerDataWidthDataOneOf {\n /**\n * One of the following predefined width options:\n * `CONTENT`: The width of the container matches the content width.\n * `SMALL`: A small width.\n * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.\n * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.\n */\n size?: WidthTypeWithLiterals;\n /** A custom width value in pixels. */\n custom?: string | null;\n}\n\n/** @oneof */\nexport interface PluginContainerDataWidthDataOneOf {\n /**\n * One of the following predefined width options:\n * `CONTENT`: The width of the container matches the content width.\n * `SMALL`: A small width.\n * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.\n * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.\n */\n size?: WidthTypeWithLiterals;\n /** A custom width value in pixels. */\n custom?: string | null;\n}\n\nexport enum PluginContainerDataAlignment {\n /** Center Alignment */\n CENTER = 'CENTER',\n /** Left Alignment */\n LEFT = 'LEFT',\n /** Right Alignment */\n RIGHT = 'RIGHT',\n}\n\n/** @enumType */\nexport type PluginContainerDataAlignmentWithLiterals =\n | PluginContainerDataAlignment\n | 'CENTER'\n | 'LEFT'\n | 'RIGHT';\n\nexport interface Spoiler {\n /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */\n enabled?: boolean | null;\n /** The description displayed on top of the spoiler cover. */\n description?: string | null;\n /** The text for the button used to remove the spoiler cover. */\n buttonText?: string | null;\n}\n\nexport interface Height {\n /** A custom height value in pixels. */\n custom?: string | null;\n}\n\nexport enum ButtonDataType {\n /** Regular link button */\n LINK = 'LINK',\n /** Triggers custom action that is defined in plugin configuration by the consumer */\n ACTION = 'ACTION',\n}\n\n/** @enumType */\nexport type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';\n\nexport interface Styles {\n /**\n * Deprecated: Use `borderWidth` and `borderRadius` instead.\n * @deprecated\n */\n border?: Border;\n /**\n * Deprecated: Use `textColor`, `borderColor` and `backgroundColor` instead.\n * @deprecated\n */\n colors?: Colors;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /**\n * Deprecated: Use `borderWidth` for normal/hover states instead.\n * @deprecated\n */\n borderWidthHover?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /**\n * Border color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n borderColorHover?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n textColor?: string | null;\n /**\n * Text color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n textColorHover?: string | null;\n /**\n * Background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Background color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n backgroundColorHover?: string | null;\n /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */\n buttonSize?: string | null;\n}\n\nexport interface 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 CodeBlockData {\n /** Styling for the code block's text. */\n textStyle?: TextStyle;\n}\n\nexport interface TextStyle {\n /** Text alignment. Defaults to `AUTO`. */\n textAlignment?: TextAlignmentWithLiterals;\n /** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */\n lineHeight?: string | null;\n}\n\nexport enum TextAlignment {\n /** browser default, eqivalent to `initial` */\n AUTO = 'AUTO',\n /** Left align */\n LEFT = 'LEFT',\n /** Right align */\n RIGHT = 'RIGHT',\n /** Center align */\n CENTER = 'CENTER',\n /** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */\n JUSTIFY = 'JUSTIFY',\n}\n\n/** @enumType */\nexport type TextAlignmentWithLiterals =\n | TextAlignment\n | 'AUTO'\n | 'LEFT'\n | 'RIGHT'\n | 'CENTER'\n | 'JUSTIFY';\n\nexport interface DividerData {\n /** Styling for the divider's container. */\n containerData?: PluginContainerData;\n /** Divider line style. */\n lineStyle?: LineStyleWithLiterals;\n /** Divider width. */\n width?: WidthWithLiterals;\n /** Divider alignment. */\n alignment?: DividerDataAlignmentWithLiterals;\n}\n\nexport enum LineStyle {\n /** Single Line */\n SINGLE = 'SINGLE',\n /** Double Line */\n DOUBLE = 'DOUBLE',\n /** Dashed Line */\n DASHED = 'DASHED',\n /** Dotted Line */\n DOTTED = 'DOTTED',\n}\n\n/** @enumType */\nexport type LineStyleWithLiterals =\n | LineStyle\n | 'SINGLE'\n | 'DOUBLE'\n | 'DASHED'\n | 'DOTTED';\n\nexport enum Width {\n /** Large line */\n LARGE = 'LARGE',\n /** Medium line */\n MEDIUM = 'MEDIUM',\n /** Small line */\n SMALL = 'SMALL',\n}\n\n/** @enumType */\nexport type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';\n\nexport enum DividerDataAlignment {\n /** Center alignment */\n CENTER = 'CENTER',\n /** Left alignment */\n LEFT = 'LEFT',\n /** Right alignment */\n RIGHT = 'RIGHT',\n}\n\n/** @enumType */\nexport type DividerDataAlignmentWithLiterals =\n | DividerDataAlignment\n | 'CENTER'\n | 'LEFT'\n | 'RIGHT';\n\nexport interface FileData {\n /** Styling for the file's container. */\n containerData?: PluginContainerData;\n /** The source for the file's data. */\n src?: FileSource;\n /** File name. */\n name?: string | null;\n /** File type. */\n type?: string | null;\n /**\n * Use `sizeInKb` instead.\n * @deprecated\n */\n size?: number | null;\n /** Settings for PDF files. */\n pdfSettings?: PDFSettings;\n /** File MIME type. */\n mimeType?: string | null;\n /** File path. */\n path?: string | null;\n /** File size in KB. */\n sizeInKb?: string | null;\n}\n\nexport enum ViewMode {\n /** No PDF view */\n NONE = 'NONE',\n /** Full PDF view */\n FULL = 'FULL',\n /** Mini PDF view */\n MINI = 'MINI',\n}\n\n/** @enumType */\nexport type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';\n\nexport interface FileSource extends FileSourceDataOneOf {\n /** The absolute URL for the file's source. */\n url?: string | null;\n /**\n * Custom ID. Use `id` instead.\n * @deprecated\n */\n custom?: string | null;\n /** An ID that's resolved to a URL by a resolver function. */\n id?: string | null;\n /** Indicates whether the file's source is private. Defaults to `false`. */\n private?: boolean | null;\n}\n\n/** @oneof */\nexport interface FileSourceDataOneOf {\n /** The absolute URL for the file's source. */\n url?: string | null;\n /**\n * Custom ID. Use `id` instead.\n * @deprecated\n */\n custom?: string | null;\n /** An ID that's resolved to a URL by a resolver function. */\n id?: string | null;\n}\n\nexport interface PDFSettings {\n /**\n * PDF view mode. One of the following:\n * `NONE` : The PDF isn't displayed.\n * `FULL` : A full page view of the PDF is displayed.\n * `MINI` : A mini view of the PDF is displayed.\n */\n viewMode?: ViewModeWithLiterals;\n /** Sets whether the PDF download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Sets whether the PDF print button is disabled. Defaults to `false`. */\n disablePrint?: boolean | null;\n}\n\nexport interface GalleryData {\n /** Styling for the gallery's container. */\n containerData?: PluginContainerData;\n /** The items in the gallery. */\n items?: 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}\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}\n\nexport interface GIF {\n /**\n * GIF format URL.\n * @format WEB_URL\n */\n gif?: string | null;\n /**\n * MP4 format URL.\n * @format WEB_URL\n */\n mp4?: string | null;\n /**\n * Thumbnail URL.\n * @format WEB_URL\n */\n still?: string | null;\n}\n\nexport enum GIFType {\n NORMAL = 'NORMAL',\n STICKER = 'STICKER',\n}\n\n/** @enumType */\nexport type GIFTypeWithLiterals = GIFType | 'NORMAL' | 'STICKER';\n\nexport interface HeadingData {\n /** Heading level from 1-6. */\n level?: number;\n /** Styling for the heading text. */\n textStyle?: TextStyle;\n /** Indentation level from 1-4. */\n indentation?: number | null;\n}\n\nexport interface HTMLData extends HTMLDataDataOneOf {\n /** The URL for the HTML code for the node. */\n url?: string;\n /** The HTML code for the node. */\n html?: string;\n /**\n * Whether this is an AdSense element. Use `source` instead.\n * @deprecated\n */\n isAdsense?: boolean | null;\n /** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */\n containerData?: PluginContainerData;\n /** The type of HTML code. */\n source?: SourceWithLiterals;\n /** If container height is aligned with its content height. Defaults to `true`. */\n autoHeight?: boolean | null;\n}\n\n/** @oneof */\nexport interface HTMLDataDataOneOf {\n /** The URL for the HTML code for the node. */\n url?: string;\n /** The HTML code for the node. */\n html?: string;\n /**\n * Whether this is an AdSense element. Use `source` instead.\n * @deprecated\n */\n isAdsense?: boolean | null;\n}\n\nexport enum Source {\n HTML = 'HTML',\n ADSENSE = 'ADSENSE',\n AI = 'AI',\n}\n\n/** @enumType */\nexport type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI';\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}\n\nexport interface StylesBorder {\n /** Border width in pixels. */\n width?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n color?: string | null;\n /** Border radius in pixels. */\n radius?: number | null;\n}\n\nexport interface ImageDataStyles {\n /** Border attributes. */\n border?: StylesBorder;\n}\n\nexport interface LinkPreviewData {\n /** Styling for the link preview's container. */\n containerData?: PluginContainerData;\n /** Link details. */\n link?: 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}\n\nexport enum StylesPosition {\n /** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n /** Thumbnail positioned at the top */\n TOP = 'TOP',\n /** Thumbnail hidden and not displayed */\n HIDDEN = 'HIDDEN',\n}\n\n/** @enumType */\nexport type StylesPositionWithLiterals =\n | StylesPosition\n | 'START'\n | 'END'\n | 'TOP'\n | 'HIDDEN';\n\nexport interface LinkPreviewDataStyles {\n /**\n * Background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Title color as a hexadecimal value.\n * @format COLOR_HEX\n */\n titleColor?: string | null;\n /**\n * Subtitle color as a hexadecimal value.\n * @format COLOR_HEX\n */\n subtitleColor?: string | null;\n /**\n * Link color as a hexadecimal value.\n * @format COLOR_HEX\n */\n linkColor?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /** Position of thumbnail. Defaults to `START`. */\n thumbnailPosition?: StylesPositionWithLiterals;\n}\n\nexport interface MapData {\n /** Styling for the map's container. */\n containerData?: PluginContainerData;\n /** Map settings. */\n mapSettings?: MapSettings;\n}\n\nexport interface MapSettings {\n /** The address to display on the map. */\n address?: string | null;\n /** Sets whether the map is draggable. */\n draggable?: boolean | null;\n /** Sets whether the location marker is visible. */\n marker?: boolean | null;\n /** Sets whether street view control is enabled. */\n streetViewControl?: boolean | null;\n /** Sets whether zoom control is enabled. */\n zoomControl?: boolean | null;\n /** Location latitude. */\n lat?: number | null;\n /** Location longitude. */\n lng?: number | null;\n /** Location name. */\n locationName?: string | null;\n /** Sets whether view mode control is enabled. */\n viewModeControl?: boolean | null;\n /** Initial zoom value. */\n initialZoom?: number | null;\n /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */\n mapType?: MapTypeWithLiterals;\n}\n\nexport enum MapType {\n /** Roadmap map type */\n ROADMAP = 'ROADMAP',\n /** Satellite map type */\n SATELITE = 'SATELITE',\n /** Hybrid map type */\n HYBRID = 'HYBRID',\n /** Terrain map type */\n TERRAIN = 'TERRAIN',\n}\n\n/** @enumType */\nexport type MapTypeWithLiterals =\n | MapType\n | 'ROADMAP'\n | 'SATELITE'\n | 'HYBRID'\n | 'TERRAIN';\n\nexport interface ParagraphData {\n /** Styling for the paragraph text. */\n textStyle?: TextStyle;\n /** Indentation level from 1-4. */\n indentation?: number | null;\n /** Paragraph level */\n level?: number | null;\n}\n\nexport interface PollData {\n /** Styling for the poll's container. */\n containerData?: PluginContainerData;\n /** Poll data. */\n poll?: Poll;\n /** Layout settings for the poll and voting options. */\n layout?: PollDataLayout;\n /** Styling for the poll and voting options. */\n design?: Design;\n}\n\nexport enum ViewRole {\n /** Only Poll creator can view the results */\n CREATOR = 'CREATOR',\n /** Anyone who voted can see the results */\n VOTERS = 'VOTERS',\n /** Anyone can see the results, even if one didn't vote */\n EVERYONE = 'EVERYONE',\n}\n\n/** @enumType */\nexport type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';\n\nexport enum VoteRole {\n /** Logged in member */\n SITE_MEMBERS = 'SITE_MEMBERS',\n /** Anyone */\n ALL = 'ALL',\n}\n\n/** @enumType */\nexport type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';\n\nexport interface Permissions {\n /** Sets who can view the poll results. */\n view?: ViewRoleWithLiterals;\n /** Sets who can vote. */\n vote?: VoteRoleWithLiterals;\n /** Sets whether one voter can vote multiple times. Defaults to `false`. */\n allowMultipleVotes?: boolean | null;\n}\n\nexport interface Option {\n /** Option ID. */\n id?: string | null;\n /** Option title. */\n title?: string | null;\n /** The image displayed with the option. */\n image?: Media;\n}\n\nexport interface PollSettings {\n /** Permissions settings for voting. */\n permissions?: Permissions;\n /** Sets whether voters are displayed in the vote results. Defaults to `true`. */\n showVoters?: boolean | null;\n /** Sets whether the vote count is displayed. Defaults to `true`. */\n showVotesCount?: boolean | null;\n}\n\nexport enum PollLayoutType {\n /** List */\n LIST = 'LIST',\n /** Grid */\n GRID = 'GRID',\n}\n\n/** @enumType */\nexport type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';\n\nexport enum PollLayoutDirection {\n /** Left-to-right */\n LTR = 'LTR',\n /** Right-to-left */\n RTL = 'RTL',\n}\n\n/** @enumType */\nexport type PollLayoutDirectionWithLiterals =\n | PollLayoutDirection\n | 'LTR'\n | 'RTL';\n\nexport interface PollLayout {\n /** The layout for displaying the voting options. */\n type?: PollLayoutTypeWithLiterals;\n /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */\n direction?: PollLayoutDirectionWithLiterals;\n /** Sets whether to display the main poll image. Defaults to `false`. */\n enableImage?: boolean | null;\n}\n\nexport interface OptionLayout {\n /** Sets whether to display option images. Defaults to `false`. */\n enableImage?: boolean | null;\n}\n\nexport enum BackgroundType {\n /** Color background type */\n COLOR = 'COLOR',\n /** Image background type */\n IMAGE = 'IMAGE',\n /** Gradiant background type */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type BackgroundTypeWithLiterals =\n | BackgroundType\n | 'COLOR'\n | 'IMAGE'\n | 'GRADIENT';\n\nexport interface Gradient {\n /** The gradient angle in degrees. */\n angle?: number | null;\n /**\n * The start color as a hexademical value.\n * @format COLOR_HEX\n */\n startColor?: string | null;\n /**\n * The end color as a hexademical value.\n * @format COLOR_HEX\n */\n lastColor?: string | null;\n}\n\nexport interface Background extends BackgroundBackgroundOneOf {\n /**\n * The background color as a hexademical value.\n * @format COLOR_HEX\n */\n color?: string | null;\n /** An image to use for the background. */\n image?: Media;\n /** Details for a gradient background. */\n gradient?: Gradient;\n /** Background type. For each option, include the relevant details. */\n type?: BackgroundTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface BackgroundBackgroundOneOf {\n /**\n * The background color as a hexademical value.\n * @format COLOR_HEX\n */\n color?: string | null;\n /** An image to use for the background. */\n image?: Media;\n /** Details for a gradient background. */\n gradient?: Gradient;\n}\n\nexport interface PollDesign {\n /** Background styling. */\n background?: Background;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface OptionDesign {\n /** Border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface Poll {\n /** Poll ID. */\n id?: string | null;\n /** Poll title. */\n title?: string | null;\n /** Poll creator ID. */\n creatorId?: string | null;\n /** Main poll image. */\n image?: Media;\n /** Voting options. */\n options?: Option[];\n /** The poll's permissions and display settings. */\n settings?: PollSettings;\n}\n\nexport interface PollDataLayout {\n /** Poll layout settings. */\n poll?: PollLayout;\n /** Voting otpions layout settings. */\n options?: OptionLayout;\n}\n\nexport interface Design {\n /** Styling for the poll. */\n poll?: PollDesign;\n /** Styling for voting options. */\n options?: OptionDesign;\n}\n\nexport interface TextData {\n /** The text to apply decorations to. */\n text?: string;\n /** The decorations to apply. */\n decorations?: Decoration[];\n}\n\n/** Adds appearence changes to text */\nexport interface Decoration extends DecorationDataOneOf {\n /** Data for an anchor link decoration. */\n anchorData?: AnchorData;\n /** Data for a color decoration. */\n colorData?: ColorData;\n /** Data for an external link decoration. */\n linkData?: LinkData;\n /** Data for a mention decoration. */\n mentionData?: MentionData;\n /** Data for a font size decoration. */\n fontSizeData?: FontSizeData;\n /** Font weight for a bold decoration. */\n fontWeightValue?: number | null;\n /** Data for an italic decoration. Defaults to `true`. */\n italicData?: boolean | null;\n /** Data for an underline decoration. Defaults to `true`. */\n underlineData?: boolean | null;\n /** Data for a spoiler decoration. */\n spoilerData?: SpoilerData;\n /** Data for a strikethrough decoration. Defaults to `true`. */\n strikethroughData?: boolean | null;\n /** Data for a superscript decoration. Defaults to `true`. */\n superscriptData?: boolean | null;\n /** Data for a subscript decoration. Defaults to `true`. */\n subscriptData?: boolean | null;\n /** The type of decoration to apply. */\n type?: DecorationTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface DecorationDataOneOf {\n /** Data for an anchor link decoration. */\n anchorData?: AnchorData;\n /** Data for a color decoration. */\n colorData?: ColorData;\n /** Data for an external link decoration. */\n linkData?: LinkData;\n /** Data for a mention decoration. */\n mentionData?: MentionData;\n /** Data for a font size decoration. */\n fontSizeData?: FontSizeData;\n /** Font weight for a bold decoration. */\n fontWeightValue?: number | null;\n /** Data for an italic decoration. Defaults to `true`. */\n italicData?: boolean | null;\n /** Data for an underline decoration. Defaults to `true`. */\n underlineData?: boolean | null;\n /** Data for a spoiler decoration. */\n spoilerData?: SpoilerData;\n /** Data for a strikethrough decoration. Defaults to `true`. */\n strikethroughData?: boolean | null;\n /** Data for a superscript decoration. Defaults to `true`. */\n superscriptData?: boolean | null;\n /** Data for a subscript decoration. Defaults to `true`. */\n subscriptData?: boolean | null;\n}\n\nexport enum DecorationType {\n BOLD = 'BOLD',\n ITALIC = 'ITALIC',\n UNDERLINE = 'UNDERLINE',\n SPOILER = 'SPOILER',\n ANCHOR = 'ANCHOR',\n MENTION = 'MENTION',\n LINK = 'LINK',\n COLOR = 'COLOR',\n FONT_SIZE = 'FONT_SIZE',\n EXTERNAL = 'EXTERNAL',\n STRIKETHROUGH = 'STRIKETHROUGH',\n SUPERSCRIPT = 'SUPERSCRIPT',\n SUBSCRIPT = 'SUBSCRIPT',\n}\n\n/** @enumType */\nexport type DecorationTypeWithLiterals =\n | DecorationType\n | 'BOLD'\n | 'ITALIC'\n | 'UNDERLINE'\n | 'SPOILER'\n | 'ANCHOR'\n | 'MENTION'\n | 'LINK'\n | 'COLOR'\n | 'FONT_SIZE'\n | 'EXTERNAL'\n | 'STRIKETHROUGH'\n | 'SUPERSCRIPT'\n | 'SUBSCRIPT';\n\nexport interface AnchorData {\n /** The target node's ID. */\n anchor?: string;\n}\n\nexport interface ColorData {\n /** The text's background color as a hexadecimal value. */\n background?: string | null;\n /** The text's foreground color as a hexadecimal value. */\n foreground?: string | null;\n}\n\nexport interface LinkData {\n /** Link details. */\n link?: 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}\n\nexport interface FontSizeData {\n /** The units used for the font size. */\n unit?: FontTypeWithLiterals;\n /** Font size value. */\n value?: number | null;\n}\n\nexport enum FontType {\n PX = 'PX',\n EM = 'EM',\n}\n\n/** @enumType */\nexport type FontTypeWithLiterals = FontType | 'PX' | 'EM';\n\nexport interface SpoilerData {\n /** Spoiler ID. */\n id?: string | null;\n}\n\nexport interface AppEmbedData extends AppEmbedDataAppDataOneOf {\n /** Data for embedded Wix Bookings content. */\n bookingData?: BookingData;\n /** Data for embedded Wix Events content. */\n eventData?: EventData;\n /** The type of Wix App content being embedded. */\n type?: AppTypeWithLiterals;\n /** The ID of the embedded content. */\n itemId?: string | null;\n /** The name of the embedded content. */\n name?: string | null;\n /**\n * Deprecated: Use `image` instead.\n * @deprecated\n */\n imageSrc?: string | null;\n /** The URL for the embedded content. */\n url?: string | null;\n /** An image for the embedded content. */\n image?: Media;\n /** Whether to hide the image. */\n hideImage?: boolean | null;\n /** Whether to hide the title. */\n hideTitle?: boolean | null;\n /** Whether to hide the price. */\n hidePrice?: boolean | null;\n /** Whether to hide the description (Event and Booking). */\n hideDescription?: boolean | null;\n /** Whether to hide the date and time (Event). */\n hideDateTime?: boolean | null;\n /** Whether to hide the location (Event). */\n hideLocation?: boolean | null;\n /** Whether to hide the duration (Booking). */\n hideDuration?: boolean | null;\n /** Whether to hide the button. */\n hideButton?: boolean | null;\n /** Whether to hide the ribbon. */\n hideRibbon?: boolean | null;\n /** Button styling options. */\n buttonStyles?: ButtonStyles;\n /** Image styling options. */\n imageStyles?: ImageStyles;\n /** Ribbon styling options. */\n ribbonStyles?: RibbonStyles;\n /** Card styling options. */\n cardStyles?: CardStyles;\n /** Styling for the app embed's container. */\n containerData?: PluginContainerData;\n /** Pricing data for embedded Wix App content. */\n pricingData?: PricingData;\n}\n\n/** @oneof */\nexport interface AppEmbedDataAppDataOneOf {\n /** Data for embedded Wix Bookings content. */\n bookingData?: BookingData;\n /** Data for embedded Wix Events content. */\n eventData?: EventData;\n}\n\nexport enum Position {\n /** Image positioned at the start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Image positioned at the end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n /** Image positioned at the top */\n TOP = 'TOP',\n}\n\n/** @enumType */\nexport type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';\n\nexport enum AspectRatio {\n /** 1:1 aspect ratio */\n SQUARE = 'SQUARE',\n /** 16:9 aspect ratio */\n RECTANGLE = 'RECTANGLE',\n}\n\n/** @enumType */\nexport type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';\n\nexport enum Resizing {\n /** Fill the container, may crop the image */\n FILL = 'FILL',\n /** Fit the image within the container */\n FIT = 'FIT',\n}\n\n/** @enumType */\nexport type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';\n\nexport enum Placement {\n /** Ribbon placed on the image */\n IMAGE = 'IMAGE',\n /** Ribbon placed on the product information */\n PRODUCT_INFO = 'PRODUCT_INFO',\n}\n\n/** @enumType */\nexport type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';\n\nexport enum CardStylesType {\n /** Card with visible border and background */\n CONTAINED = 'CONTAINED',\n /** Card without visible border */\n FRAMELESS = 'FRAMELESS',\n}\n\n/** @enumType */\nexport type CardStylesTypeWithLiterals =\n | CardStylesType\n | 'CONTAINED'\n | 'FRAMELESS';\n\nexport enum Alignment {\n /** Content aligned to start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Content centered */\n CENTER = 'CENTER',\n /** Content aligned to end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n}\n\n/** @enumType */\nexport type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';\n\nexport enum Layout {\n /** Elements stacked vertically */\n STACKED = 'STACKED',\n /** Elements arranged horizontally */\n SIDE_BY_SIDE = 'SIDE_BY_SIDE',\n}\n\n/** @enumType */\nexport type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';\n\nexport enum AppType {\n PRODUCT = 'PRODUCT',\n EVENT = 'EVENT',\n BOOKING = 'BOOKING',\n}\n\n/** @enumType */\nexport type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';\n\nexport interface BookingData {\n /** Booking duration in minutes. */\n durations?: string | null;\n}\n\nexport interface EventData {\n /** Event schedule. */\n scheduling?: string | null;\n /** Event location. */\n location?: string | null;\n}\n\nexport interface ButtonStyles {\n /** Text to display on the button. */\n buttonText?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n textColor?: string | null;\n /**\n * Background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Border color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n borderColorHover?: string | null;\n /**\n * Text color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n textColorHover?: string | null;\n /**\n * Background color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n backgroundColorHover?: string | null;\n /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */\n buttonSize?: string | null;\n}\n\nexport interface ImageStyles {\n /** Whether to hide the image. */\n hideImage?: boolean | null;\n /** Position of image. Defaults to `START`. */\n imagePosition?: PositionWithLiterals;\n /** Aspect ratio for the image. Defaults to `SQUARE`. */\n aspectRatio?: AspectRatioWithLiterals;\n /** How the image should be resized. Defaults to `FILL`. */\n resizing?: ResizingWithLiterals;\n /**\n * Image border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /** Image border width in pixels. */\n borderWidth?: number | null;\n /** Image border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface RibbonStyles {\n /** Text to display on the ribbon. */\n ribbonText?: string | null;\n /**\n * Ribbon background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Ribbon text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n textColor?: string | null;\n /**\n * Ribbon border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /** Ribbon border width in pixels. */\n borderWidth?: number | null;\n /** Ribbon border radius in pixels. */\n borderRadius?: number | null;\n /** Placement of the ribbon. Defaults to `IMAGE`. */\n ribbonPlacement?: PlacementWithLiterals;\n}\n\nexport interface CardStyles {\n /**\n * Card background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Card border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /** Card border width in pixels. */\n borderWidth?: number | null;\n /** Card border radius in pixels. */\n borderRadius?: number | null;\n /** Card type. Defaults to `CONTAINED`. */\n type?: CardStylesTypeWithLiterals;\n /** Content alignment. Defaults to `START`. */\n alignment?: AlignmentWithLiterals;\n /** Layout for title and price. Defaults to `STACKED`. */\n titlePriceLayout?: LayoutWithLiterals;\n /**\n * Title text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n titleColor?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n textColor?: string | null;\n}\n\nexport interface PricingData {\n /**\n * Minimum numeric price value as string (e.g., \"10.99\").\n * @decimalValue options { maxScale:2 }\n */\n valueFrom?: string | null;\n /**\n * Maximum numeric price value as string (e.g., \"19.99\").\n * @decimalValue options { maxScale:2 }\n */\n valueTo?: string | null;\n /**\n * Numeric price value as string after discount application (e.g., \"15.99\").\n * @decimalValue options { maxScale:2 }\n */\n discountedValue?: string | null;\n /**\n * Currency of the value in ISO 4217 format (e.g., \"USD\", \"EUR\").\n * @format CURRENCY\n */\n currency?: string | null;\n /**\n * Pricing plan ID.\n * @format GUID\n */\n pricingPlanId?: string | null;\n}\n\nexport interface VideoData {\n /** Styling for the video's container. */\n containerData?: PluginContainerData;\n /** Video details. */\n video?: Media;\n /** Video thumbnail details. */\n thumbnail?: Media;\n /** Sets whether the video's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Video title. */\n title?: string | null;\n /** Video options. */\n options?: PlaybackOptions;\n}\n\nexport interface PlaybackOptions {\n /** Sets whether the media will automatically start playing. */\n autoPlay?: boolean | null;\n /** Sets whether media's will be looped. */\n playInLoop?: boolean | null;\n /** Sets whether media's controls will be shown. */\n showControls?: boolean | null;\n}\n\nexport interface EmbedData {\n /** Styling for the oEmbed node's container. */\n containerData?: PluginContainerData;\n /** An [oEmbed](https://www.oembed.com) object. */\n oembed?: Oembed;\n /** Origin asset source. */\n src?: string | null;\n}\n\nexport interface Oembed {\n /** The resource type. */\n type?: string | null;\n /** The width of the resource specified in the `url` property in pixels. */\n width?: number | null;\n /** The height of the resource specified in the `url` property in pixels. */\n height?: number | null;\n /** Resource title. */\n title?: string | null;\n /** The source URL for the resource. */\n url?: string | null;\n /** HTML for embedding a video player. The HTML should have no padding or margins. */\n html?: string | null;\n /** The name of the author or owner of the resource. */\n authorName?: string | null;\n /** The URL for the author or owner of the resource. */\n authorUrl?: string | null;\n /** The name of the resource provider. */\n providerName?: string | null;\n /** The URL for the resource provider. */\n providerUrl?: string | null;\n /** The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined. */\n thumbnailUrl?: string | null;\n /** The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined. */\n thumbnailWidth?: string | null;\n /** The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined. */\n thumbnailHeight?: string | null;\n /** The URL for an embedded viedo. */\n videoUrl?: string | null;\n /** The oEmbed version number. This value must be `1.0`. */\n version?: string | null;\n}\n\nexport interface CollapsibleListData {\n /** Styling for the collapsible list's container. */\n containerData?: PluginContainerData;\n /** If `true`, only one item can be expanded at a time. Defaults to `false`. */\n expandOnlyOne?: boolean | null;\n /** Sets which items are expanded when the page loads. */\n initialExpandedItems?: InitialExpandedItemsWithLiterals;\n /** The direction of the text in the list. Either left-to-right or right-to-left. */\n direction?: DirectionWithLiterals;\n /** If `true`, The collapsible item will appear in search results as an FAQ. */\n isQapageData?: boolean | null;\n}\n\nexport enum InitialExpandedItems {\n /** First item will be expended initally */\n FIRST = 'FIRST',\n /** All items will expended initally */\n ALL = 'ALL',\n /** All items collapsed initally */\n NONE = 'NONE',\n}\n\n/** @enumType */\nexport type InitialExpandedItemsWithLiterals =\n | InitialExpandedItems\n | 'FIRST'\n | 'ALL'\n | 'NONE';\n\nexport enum Direction {\n /** Left-to-right */\n LTR = 'LTR',\n /** Right-to-left */\n RTL = 'RTL',\n}\n\n/** @enumType */\nexport type DirectionWithLiterals = Direction | 'LTR' | 'RTL';\n\nexport interface TableData {\n /** Styling for the table's container. */\n containerData?: PluginContainerData;\n /** The table's dimensions. */\n dimensions?: Dimensions;\n /**\n * Deprecated: Use `rowHeader` and `columnHeader` instead.\n * @deprecated\n */\n header?: boolean | null;\n /** Sets whether the table's first row is a header. Defaults to `false`. */\n rowHeader?: boolean | null;\n /** Sets whether the table's first column is a header. Defaults to `false`. */\n columnHeader?: boolean | null;\n}\n\nexport interface Dimensions {\n /** An array representing relative width of each column in relation to the other columns. */\n colsWidthRatio?: number[];\n /** An array representing the height of each row in pixels. */\n rowsHeight?: number[];\n /** An array representing the minimum width of each column in pixels. */\n colsMinWidth?: number[];\n}\n\nexport interface TableCellData {\n /** Styling for the cell's background color and text alignment. */\n cellStyle?: CellStyle;\n /** The cell's border colors. */\n borderColors?: BorderColors;\n}\n\nexport enum VerticalAlignment {\n /** Top alignment */\n TOP = 'TOP',\n /** Middle alignment */\n MIDDLE = 'MIDDLE',\n /** Bottom alignment */\n BOTTOM = 'BOTTOM',\n}\n\n/** @enumType */\nexport type VerticalAlignmentWithLiterals =\n | VerticalAlignment\n | 'TOP'\n | 'MIDDLE'\n | 'BOTTOM';\n\nexport interface CellStyle {\n /** Vertical alignment for the cell's text. */\n verticalAlignment?: VerticalAlignmentWithLiterals;\n /**\n * Cell background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n}\n\nexport interface BorderColors {\n /**\n * Left border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n left?: string | null;\n /**\n * Right border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n right?: string | null;\n /**\n * Top border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n top?: string | null;\n /**\n * Bottom border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n bottom?: string | null;\n}\n\n/**\n * `NullValue` is a singleton enumeration to represent the null value for the\n * `Value` type union.\n *\n * The JSON representation for `NullValue` is JSON `null`.\n */\nexport enum NullValue {\n /** Null value. */\n NULL_VALUE = 'NULL_VALUE',\n}\n\n/** @enumType */\nexport type NullValueWithLiterals = NullValue | 'NULL_VALUE';\n\n/**\n * `ListValue` is a wrapper around a repeated field of values.\n *\n * The JSON representation for `ListValue` is JSON array.\n */\nexport interface ListValue {\n /** Repeated field of dynamically typed values. */\n values?: any[];\n}\n\nexport interface AudioData {\n /** Styling for the audio node's container. */\n containerData?: PluginContainerData;\n /** Audio file details. */\n audio?: Media;\n /** Sets whether the audio node's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Cover image. */\n coverImage?: Media;\n /** Track name. */\n name?: string | null;\n /** Author name. */\n authorName?: string | null;\n /** An HTML version of the audio node. */\n html?: string | null;\n}\n\nexport interface OrderedListData {\n /** Indentation level from 0-4. */\n indentation?: number;\n /** Offset level from 0-4. */\n offset?: number | null;\n /** List start number. */\n start?: number | null;\n}\n\nexport interface BulletedListData {\n /** Indentation level from 0-4. */\n indentation?: number;\n /** Offset level from 0-4. */\n offset?: number | null;\n}\n\nexport interface BlockquoteData {\n /** Indentation level from 1-4. */\n indentation?: number;\n}\n\nexport interface CaptionData {\n textStyle?: TextStyle;\n}\n\nexport interface LayoutData {\n /**\n * Background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /** Background image. */\n backgroundImage?: BackgroundImage;\n /**\n * Border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border */\n borderRadius?: number | null;\n /**\n * Backdrop color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backdropColor?: string | null;\n /** Backdrop image.radius in pixels. */\n backdropImage?: BackgroundImage;\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}\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 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\nexport interface BackgroundImage {\n /** Background image. */\n media?: Media;\n /** Background image opacity. */\n opacity?: number | null;\n /** Background image scaling. */\n scaling?: ScalingWithLiterals;\n /** Position of background. Defaults to `CENTER`. */\n position?: ImagePositionWithLiterals;\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 interface LayoutCellData {\n /** Size of the cell in 12 columns grid. */\n colSpan?: number | null;\n}\n\nexport interface Metadata {\n /** Schema version. */\n version?: number;\n /**\n * When the object was created.\n * @readonly\n * @deprecated\n */\n createdTimestamp?: Date | null;\n /**\n * When the object was most recently updated.\n * @deprecated\n */\n updatedTimestamp?: Date | null;\n /** Object ID. */\n _id?: string | null;\n}\n\nexport interface DocumentStyle {\n /** Styling for H1 nodes. */\n headerOne?: TextNodeStyle;\n /** Styling for H2 nodes. */\n headerTwo?: TextNodeStyle;\n /** Styling for H3 nodes. */\n headerThree?: TextNodeStyle;\n /** Styling for H4 nodes. */\n headerFour?: TextNodeStyle;\n /** Styling for H5 nodes. */\n headerFive?: TextNodeStyle;\n /** Styling for H6 nodes. */\n headerSix?: TextNodeStyle;\n /** Styling for paragraph nodes. */\n paragraph?: TextNodeStyle;\n /** Styling for block quote nodes. */\n blockquote?: TextNodeStyle;\n /** Styling for code block nodes. */\n codeBlock?: TextNodeStyle;\n}\n\nexport interface TextNodeStyle {\n /** The decorations to apply to the node. */\n decorations?: Decoration[];\n /** Padding and background color for the node. */\n nodeStyle?: NodeStyle;\n /** Line height for text in the node. */\n lineHeight?: string | null;\n}\n\nexport interface 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\nexport enum BadgeTypeType {\n /** Unknown badge type. */\n UNKNOWN_BADGE_TYPE = 'UNKNOWN_BADGE_TYPE',\n /** 1st priority badge type. */\n FIRST_PRIORITY = 'FIRST_PRIORITY',\n /** 2nd priority badge type. */\n SECOND_PRIORITY = 'SECOND_PRIORITY',\n /** 3rd priority badge type. */\n THIRD_PRIORITY = 'THIRD_PRIORITY',\n}\n\n/** @enumType */\nexport type BadgeTypeTypeWithLiterals =\n | BadgeTypeType\n | 'UNKNOWN_BADGE_TYPE'\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 /** Unknown requested field. */\n UNKNOWN_REQUESTED_FIELD = 'UNKNOWN_REQUESTED_FIELD',\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}\n\n/** @enumType */\nexport type RequestedFieldsWithLiterals =\n | RequestedFields\n | 'UNKNOWN_REQUESTED_FIELD'\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 /** 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 UpdateEventRequest {\n /** Event info to update. */\n event?: Event;\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\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\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\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\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\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.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\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\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}\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/** @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}\n\nexport interface EventMetadata extends BaseEventMetadata {\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\nexport interface EventCanceledEnvelope {\n data: EventCanceled;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event is canceled.\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 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 Challenges\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 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 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 Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 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 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 Challenges\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 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 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 Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 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 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 Challenges\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 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 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 Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 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 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 Challenges\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 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 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 Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 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 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 Challenges\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 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 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 Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 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 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 Challenges\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 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 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 Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 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 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 Challenges\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 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 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 Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 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 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 Challenges\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 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 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 Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 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 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 Challenges\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 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 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 Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 | `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.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 | `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 * 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 * Assigned contacts label key.\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 /** Visual settings for event. */\n eventDisplaySettings?: EventDisplaySettings;\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 /**\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.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.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: CommonQueryV2,\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}.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\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 * @documentationMaturity preview\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}.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 * @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 | `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.\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.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.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.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.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.backdropImage.media.duration',\n },\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.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.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.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.backdropImage.media.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.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.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.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.backdropImage.media.duration',\n },\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.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.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.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.backdropImage.media.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.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.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.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.backdropImage.media.duration',\n },\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.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.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.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.backdropImage.media.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.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.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.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.backdropImage.media.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.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.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.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.backdropImage.media.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.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.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.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.backdropImage.media.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.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.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.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.backdropImage.media.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listEventsByCategory;\n}\n\n/** Retrieves an event by ID. */\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.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.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.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.backdropImage.media.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.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.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.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.backdropImage.media.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getEventBySlug;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCAAAA;AAAA,EAAA,gCAAAC;AAAA,EAAA,mBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,mBAAAC;AAAA,EAAA,mBAAAC;AAAA,EAAA,gBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,yBAAAC;AAAA,EAAA,mBAAAC;AAAA,EAAA;AAAA,qBAAAC;AAAA;AAAA;;;ACAA,6BAAoD;AACp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AAM,yBAAyB,CAAC;AAAA,QAC5C;AAAA,MACF,CAAC;AAAA,MACD,CAAC,mBAAmB;AAAA,IACtB;AAAA,EACF,SAAS,KAAU;AACjB,UAAM,uBAAmB,uBAAAZ;AAAA,MACvB;AAAA,MACA;AAAA,QACE,wBAAwB,CAAC;AAAA,QACzB,0BAA0B,EAAE,MAAM,QAAQ,QAAQ,cAAc;AAAA,QAChE,yBAAyB;AAAA,MAC3B;AAAA,MACA,CAAC,QAAQ,SAAS;AAAA,IACpB;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;","names":["bulkCancelEventsByFilter","bulkDeleteEventsByFilter","cancelEvent","cloneEvent","countEventsByStatus","createEvent","deleteEvent","getEvent","getEventBySlug","listEventsByCategory","publishDraftEvent","queryEvents","updateEvent","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","ConferenceTypeType","Type","NodeType","WidthType","PluginContainerDataAlignment","ButtonDataType","Target","TextAlignment","LineStyle","Width","DividerDataAlignment","ViewMode","LayoutType","Orientation","Crop","ThumbnailsAlignment","GIFType","Source","StylesPosition","MapType","ViewRole","VoteRole","PollLayoutType","PollLayoutDirection","BackgroundType","DecorationType","FontType","Position","AspectRatio","Resizing","Placement","CardStylesType","Alignment","Layout","AppType","InitialExpandedItems","Direction","VerticalAlignment","NullValue","Scaling","ImagePosition","VerticalAlignmentAlignment","ResponsivenessBehaviour","BadgeTypeType","RequestedFields","CommonSortOrder","SortOrder","Relation","WebhookIdentityType","createEvent","sdkTransformError","cloneEvent","updateEvent","publishDraftEvent","cancelEvent","bulkCancelEventsByFilter","deleteEvent","bulkDeleteEventsByFilter","queryEvents","countEventsByStatus","listEventsByCategory","getEvent","getEventBySlug"]}
|
|
1
|
+
{"version":3,"sources":["../../index.typings.ts","../../src/events-v3-event-wix-events-v-2.universal.ts","../../src/events-v3-event-wix-events-v-2.http.ts"],"sourcesContent":["export * from './src/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 { HttpClient, HttpResponse, NonNullablePaths } 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';\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 * 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 * Assigned contacts label key.\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 /** Visual settings for event. */\n eventDisplaySettings?: EventDisplaySettings;\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\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 /** Unknown location type. */\n UNKNOWN_LOCATION = 'UNKNOWN_LOCATION',\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 =\n | LocationType\n | 'UNKNOWN_LOCATION'\n | 'VENUE'\n | '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\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\nexport interface AddressLocation {\n /**\n * Address latitude coordinates.\n * @min -90\n * @max 90\n */\n latitude?: number | null;\n /**\n * Address longitude coordinates.\n * @min -180\n * @max 180\n */\n longitude?: number | null;\n}\n\nexport interface Subdivision {\n /**\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\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 /** Unknown recurrance status. */\n UNKNOWN_STATUS = 'UNKNOWN_STATUS',\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 | 'UNKNOWN_STATUS'\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.\n * @maxSize 1000\n */\n individualEventDates?: Occurrence[];\n /**\n * Recurring event category ID.\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 /** Unknown event status. */\n UNKNOWN_EVENT_STATUS = 'UNKNOWN_EVENT_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 | 'UNKNOWN_EVENT_STATUS'\n | 'UPCOMING'\n | 'STARTED'\n | 'ENDED'\n | 'CANCELED'\n | 'DRAFT';\n\nexport interface Registration {\n /**\n * Current registration type.\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 event type which is set when creating an event.\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 /** Unknown registration type. */\n UNKNOWN_REGISTRATION_TYPE = 'UNKNOWN_REGISTRATION_TYPE',\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\n/** @enumType */\nexport type RegistrationTypeTypeWithLiterals =\n | RegistrationTypeType\n | 'UNKNOWN_REGISTRATION_TYPE'\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\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\nexport enum ResponseType {\n /** Unknown response type. */\n UNKNOWN_RESPONSE_TYPE = 'UNKNOWN_RESPONSE_TYPE',\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 =\n | ResponseType\n | 'UNKNOWN_RESPONSE_TYPE'\n | 'YES_ONLY'\n | 'YES_AND_NO';\n\nexport interface RsvpConfirmationMessages {\n /** Messages displayed when an RSVP's `status` is set to `\"YES\"`. */\n positiveConfirmation?: 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 /** 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\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 /** Unknown tax type. */\n UNKNOWN_TAX_TYPE = 'UNKNOWN_TAX_TYPE',\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 | 'UNKNOWN_TAX_TYPE'\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 UNKNOWN_CHECKOUT_TYPE = 'UNKNOWN_CHECKOUT_TYPE',\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 | 'UNKNOWN_CHECKOUT_TYPE'\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 /** Unknown guest type. */\n UNKNOWN_GUEST_TYPE = 'UNKNOWN_GUEST_TYPE',\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 | 'UNKNOWN_GUEST_TYPE'\n | 'VISITOR_OR_MEMBER'\n | 'MEMBER';\n\nexport enum InitialRegistrationTypeType {\n /** Unknown initial registration type. */\n UNKNOWN_INITIAL_REGISTRATION_TYPE = 'UNKNOWN_INITIAL_REGISTRATION_TYPE',\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\n/** @enumType */\nexport type InitialRegistrationTypeTypeWithLiterals =\n | InitialRegistrationTypeType\n | 'UNKNOWN_INITIAL_REGISTRATION_TYPE'\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}\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\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\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 /** Conference type. */\n type?: ConferenceTypeTypeWithLiterals;\n /** Online conferencing session information. */\n session?: OnlineConferencingSession;\n}\n\nexport enum ConferenceTypeType {\n /** Default value. This value is unused */\n UNKNOWN_CONFERENCE_TYPE = 'UNKNOWN_CONFERENCE_TYPE',\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 | 'UNKNOWN_CONFERENCE_TYPE'\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 type?: string;\n /**\n * A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\n * For example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.\n */\n props?: Record<string, any> | null;\n /** SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`. */\n meta?: Record<string, any> | null;\n /** SEO tag inner content. For example, `<title> inner content </title>`. */\n children?: string;\n /** Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages). */\n custom?: boolean;\n /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */\n disabled?: boolean;\n}\n\nexport interface Settings {\n /**\n * Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\n *\n *\n * Default: `false` (automatical redirect is enabled).\n */\n preventAutoRedirect?: boolean;\n /**\n * User-selected keyword terms for a specific page.\n * @maxSize 5\n */\n keywords?: Keyword[];\n}\n\nexport interface 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\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\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 /** 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}\n\nexport enum NodeType {\n PARAGRAPH = 'PARAGRAPH',\n TEXT = 'TEXT',\n HEADING = 'HEADING',\n BULLETED_LIST = 'BULLETED_LIST',\n ORDERED_LIST = 'ORDERED_LIST',\n LIST_ITEM = 'LIST_ITEM',\n BLOCKQUOTE = 'BLOCKQUOTE',\n CODE_BLOCK = 'CODE_BLOCK',\n VIDEO = 'VIDEO',\n DIVIDER = 'DIVIDER',\n FILE = 'FILE',\n GALLERY = 'GALLERY',\n GIF = 'GIF',\n HTML = 'HTML',\n IMAGE = 'IMAGE',\n LINK_PREVIEW = 'LINK_PREVIEW',\n /** @deprecated */\n MAP = 'MAP',\n POLL = 'POLL',\n APP_EMBED = 'APP_EMBED',\n BUTTON = 'BUTTON',\n COLLAPSIBLE_LIST = 'COLLAPSIBLE_LIST',\n TABLE = 'TABLE',\n EMBED = 'EMBED',\n COLLAPSIBLE_ITEM = 'COLLAPSIBLE_ITEM',\n COLLAPSIBLE_ITEM_TITLE = 'COLLAPSIBLE_ITEM_TITLE',\n COLLAPSIBLE_ITEM_BODY = 'COLLAPSIBLE_ITEM_BODY',\n TABLE_CELL = 'TABLE_CELL',\n TABLE_ROW = 'TABLE_ROW',\n EXTERNAL = 'EXTERNAL',\n AUDIO = 'AUDIO',\n CAPTION = 'CAPTION',\n LAYOUT = 'LAYOUT',\n LAYOUT_CELL = 'LAYOUT_CELL',\n}\n\n/** @enumType */\nexport type NodeTypeWithLiterals =\n | NodeType\n | 'PARAGRAPH'\n | 'TEXT'\n | 'HEADING'\n | 'BULLETED_LIST'\n | 'ORDERED_LIST'\n | 'LIST_ITEM'\n | 'BLOCKQUOTE'\n | 'CODE_BLOCK'\n | 'VIDEO'\n | 'DIVIDER'\n | 'FILE'\n | 'GALLERY'\n | 'GIF'\n | 'HTML'\n | 'IMAGE'\n | 'LINK_PREVIEW'\n | 'MAP'\n | 'POLL'\n | 'APP_EMBED'\n | 'BUTTON'\n | 'COLLAPSIBLE_LIST'\n | 'TABLE'\n | 'EMBED'\n | 'COLLAPSIBLE_ITEM'\n | 'COLLAPSIBLE_ITEM_TITLE'\n | 'COLLAPSIBLE_ITEM_BODY'\n | 'TABLE_CELL'\n | 'TABLE_ROW'\n | 'EXTERNAL'\n | 'AUDIO'\n | 'CAPTION'\n | 'LAYOUT'\n | 'LAYOUT_CELL';\n\nexport interface NodeStyle {\n /** The top padding value in pixels. */\n paddingTop?: string | null;\n /** The bottom padding value in pixels. */\n paddingBottom?: string | null;\n /** The background color as a hexadecimal value. */\n backgroundColor?: string | null;\n}\n\nexport interface ButtonData {\n /** Styling for the button's container. */\n containerData?: PluginContainerData;\n /** The button type. */\n type?: ButtonDataTypeWithLiterals;\n /** Styling for the button. */\n styles?: Styles;\n /** The text to display on the button. */\n text?: string | null;\n /** Button link details. */\n link?: Link;\n}\n\nexport interface Border {\n /**\n * Deprecated: Use `borderWidth` in `styles` instead.\n * @deprecated\n */\n width?: number | null;\n /**\n * Deprecated: Use `borderRadius` in `styles` instead.\n * @deprecated\n */\n radius?: number | null;\n}\n\nexport interface Colors {\n /**\n * Deprecated: Use `textColor` in `styles` instead.\n * @deprecated\n */\n text?: string | null;\n /**\n * Deprecated: Use `borderColor` in `styles` instead.\n * @deprecated\n */\n border?: string | null;\n /**\n * Deprecated: Use `backgroundColor` in `styles` instead.\n * @deprecated\n */\n background?: string | null;\n}\n\nexport interface PluginContainerData {\n /** The width of the node when it's displayed. */\n width?: PluginContainerDataWidth;\n /** The node's alignment within its container. */\n alignment?: PluginContainerDataAlignmentWithLiterals;\n /** Spoiler cover settings for the node. */\n spoiler?: Spoiler;\n /** The height of the node when it's displayed. */\n height?: Height;\n /** Sets whether text should wrap around this node when it's displayed. If `textWrap` is `false`, the node takes up the width of its container. Defaults to `true` for all node types except 'DIVIVDER' where it defaults to `false`. */\n textWrap?: boolean | null;\n}\n\nexport enum WidthType {\n /** Width matches the content width */\n CONTENT = 'CONTENT',\n /** Small Width */\n SMALL = 'SMALL',\n /** Width will match the original asset width */\n ORIGINAL = 'ORIGINAL',\n /** coast-to-coast display */\n FULL_WIDTH = 'FULL_WIDTH',\n}\n\n/** @enumType */\nexport type WidthTypeWithLiterals =\n | WidthType\n | 'CONTENT'\n | 'SMALL'\n | 'ORIGINAL'\n | 'FULL_WIDTH';\n\nexport interface PluginContainerDataWidth\n extends PluginContainerDataWidthDataOneOf {\n /**\n * One of the following predefined width options:\n * `CONTENT`: The width of the container matches the content width.\n * `SMALL`: A small width.\n * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.\n * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.\n */\n size?: WidthTypeWithLiterals;\n /** A custom width value in pixels. */\n custom?: string | null;\n}\n\n/** @oneof */\nexport interface PluginContainerDataWidthDataOneOf {\n /**\n * One of the following predefined width options:\n * `CONTENT`: The width of the container matches the content width.\n * `SMALL`: A small width.\n * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.\n * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.\n */\n size?: WidthTypeWithLiterals;\n /** A custom width value in pixels. */\n custom?: string | null;\n}\n\nexport enum PluginContainerDataAlignment {\n /** Center Alignment */\n CENTER = 'CENTER',\n /** Left Alignment */\n LEFT = 'LEFT',\n /** Right Alignment */\n RIGHT = 'RIGHT',\n}\n\n/** @enumType */\nexport type PluginContainerDataAlignmentWithLiterals =\n | PluginContainerDataAlignment\n | 'CENTER'\n | 'LEFT'\n | 'RIGHT';\n\nexport interface Spoiler {\n /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */\n enabled?: boolean | null;\n /** The description displayed on top of the spoiler cover. */\n description?: string | null;\n /** The text for the button used to remove the spoiler cover. */\n buttonText?: string | null;\n}\n\nexport interface Height {\n /** A custom height value in pixels. */\n custom?: string | null;\n}\n\nexport enum ButtonDataType {\n /** Regular link button */\n LINK = 'LINK',\n /** Triggers custom action that is defined in plugin configuration by the consumer */\n ACTION = 'ACTION',\n}\n\n/** @enumType */\nexport type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';\n\nexport interface Styles {\n /**\n * Deprecated: Use `borderWidth` and `borderRadius` instead.\n * @deprecated\n */\n border?: Border;\n /**\n * Deprecated: Use `textColor`, `borderColor` and `backgroundColor` instead.\n * @deprecated\n */\n colors?: Colors;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /**\n * Deprecated: Use `borderWidth` for normal/hover states instead.\n * @deprecated\n */\n borderWidthHover?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /**\n * Border color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n borderColorHover?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n textColor?: string | null;\n /**\n * Text color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n textColorHover?: string | null;\n /**\n * Background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Background color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n backgroundColorHover?: string | null;\n /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */\n buttonSize?: string | null;\n}\n\nexport interface 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 CodeBlockData {\n /** Styling for the code block's text. */\n textStyle?: TextStyle;\n}\n\nexport interface TextStyle {\n /** Text alignment. Defaults to `AUTO`. */\n textAlignment?: TextAlignmentWithLiterals;\n /** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */\n lineHeight?: string | null;\n}\n\nexport enum TextAlignment {\n /** browser default, eqivalent to `initial` */\n AUTO = 'AUTO',\n /** Left align */\n LEFT = 'LEFT',\n /** Right align */\n RIGHT = 'RIGHT',\n /** Center align */\n CENTER = 'CENTER',\n /** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */\n JUSTIFY = 'JUSTIFY',\n}\n\n/** @enumType */\nexport type TextAlignmentWithLiterals =\n | TextAlignment\n | 'AUTO'\n | 'LEFT'\n | 'RIGHT'\n | 'CENTER'\n | 'JUSTIFY';\n\nexport interface DividerData {\n /** Styling for the divider's container. */\n containerData?: PluginContainerData;\n /** Divider line style. */\n lineStyle?: LineStyleWithLiterals;\n /** Divider width. */\n width?: WidthWithLiterals;\n /** Divider alignment. */\n alignment?: DividerDataAlignmentWithLiterals;\n}\n\nexport enum LineStyle {\n /** Single Line */\n SINGLE = 'SINGLE',\n /** Double Line */\n DOUBLE = 'DOUBLE',\n /** Dashed Line */\n DASHED = 'DASHED',\n /** Dotted Line */\n DOTTED = 'DOTTED',\n}\n\n/** @enumType */\nexport type LineStyleWithLiterals =\n | LineStyle\n | 'SINGLE'\n | 'DOUBLE'\n | 'DASHED'\n | 'DOTTED';\n\nexport enum Width {\n /** Large line */\n LARGE = 'LARGE',\n /** Medium line */\n MEDIUM = 'MEDIUM',\n /** Small line */\n SMALL = 'SMALL',\n}\n\n/** @enumType */\nexport type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';\n\nexport enum DividerDataAlignment {\n /** Center alignment */\n CENTER = 'CENTER',\n /** Left alignment */\n LEFT = 'LEFT',\n /** Right alignment */\n RIGHT = 'RIGHT',\n}\n\n/** @enumType */\nexport type DividerDataAlignmentWithLiterals =\n | DividerDataAlignment\n | 'CENTER'\n | 'LEFT'\n | 'RIGHT';\n\nexport interface FileData {\n /** Styling for the file's container. */\n containerData?: PluginContainerData;\n /** The source for the file's data. */\n src?: FileSource;\n /** File name. */\n name?: string | null;\n /** File type. */\n type?: string | null;\n /**\n * Use `sizeInKb` instead.\n * @deprecated\n */\n size?: number | null;\n /** Settings for PDF files. */\n pdfSettings?: PDFSettings;\n /** File MIME type. */\n mimeType?: string | null;\n /** File path. */\n path?: string | null;\n /** File size in KB. */\n sizeInKb?: string | null;\n}\n\nexport enum ViewMode {\n /** No PDF view */\n NONE = 'NONE',\n /** Full PDF view */\n FULL = 'FULL',\n /** Mini PDF view */\n MINI = 'MINI',\n}\n\n/** @enumType */\nexport type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';\n\nexport interface FileSource extends FileSourceDataOneOf {\n /** The absolute URL for the file's source. */\n url?: string | null;\n /**\n * Custom ID. Use `id` instead.\n * @deprecated\n */\n custom?: string | null;\n /** An ID that's resolved to a URL by a resolver function. */\n id?: string | null;\n /** Indicates whether the file's source is private. Defaults to `false`. */\n private?: boolean | null;\n}\n\n/** @oneof */\nexport interface FileSourceDataOneOf {\n /** The absolute URL for the file's source. */\n url?: string | null;\n /**\n * Custom ID. Use `id` instead.\n * @deprecated\n */\n custom?: string | null;\n /** An ID that's resolved to a URL by a resolver function. */\n id?: string | null;\n}\n\nexport interface PDFSettings {\n /**\n * PDF view mode. One of the following:\n * `NONE` : The PDF isn't displayed.\n * `FULL` : A full page view of the PDF is displayed.\n * `MINI` : A mini view of the PDF is displayed.\n */\n viewMode?: ViewModeWithLiterals;\n /** Sets whether the PDF download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Sets whether the PDF print button is disabled. Defaults to `false`. */\n disablePrint?: boolean | null;\n}\n\nexport interface GalleryData {\n /** Styling for the gallery's container. */\n containerData?: PluginContainerData;\n /** The items in the gallery. */\n items?: 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}\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}\n\nexport interface GIF {\n /**\n * GIF format URL.\n * @format WEB_URL\n */\n gif?: string | null;\n /**\n * MP4 format URL.\n * @format WEB_URL\n */\n mp4?: string | null;\n /**\n * Thumbnail URL.\n * @format WEB_URL\n */\n still?: string | null;\n}\n\nexport enum GIFType {\n NORMAL = 'NORMAL',\n STICKER = 'STICKER',\n}\n\n/** @enumType */\nexport type GIFTypeWithLiterals = GIFType | 'NORMAL' | 'STICKER';\n\nexport interface HeadingData {\n /** Heading level from 1-6. */\n level?: number;\n /** Styling for the heading text. */\n textStyle?: TextStyle;\n /** Indentation level from 1-4. */\n indentation?: number | null;\n}\n\nexport interface HTMLData extends HTMLDataDataOneOf {\n /** The URL for the HTML code for the node. */\n url?: string;\n /** The HTML code for the node. */\n html?: string;\n /**\n * Whether this is an AdSense element. Use `source` instead.\n * @deprecated\n */\n isAdsense?: boolean | null;\n /** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */\n containerData?: PluginContainerData;\n /** The type of HTML code. */\n source?: SourceWithLiterals;\n /** If container height is aligned with its content height. Defaults to `true`. */\n autoHeight?: boolean | null;\n}\n\n/** @oneof */\nexport interface HTMLDataDataOneOf {\n /** The URL for the HTML code for the node. */\n url?: string;\n /** The HTML code for the node. */\n html?: string;\n /**\n * Whether this is an AdSense element. Use `source` instead.\n * @deprecated\n */\n isAdsense?: boolean | null;\n}\n\nexport enum Source {\n HTML = 'HTML',\n ADSENSE = 'ADSENSE',\n AI = 'AI',\n}\n\n/** @enumType */\nexport type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI';\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}\n\nexport interface StylesBorder {\n /** Border width in pixels. */\n width?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n color?: string | null;\n /** Border radius in pixels. */\n radius?: number | null;\n}\n\nexport interface ImageDataStyles {\n /** Border attributes. */\n border?: StylesBorder;\n}\n\nexport interface LinkPreviewData {\n /** Styling for the link preview's container. */\n containerData?: PluginContainerData;\n /** Link details. */\n link?: 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}\n\nexport enum StylesPosition {\n /** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n /** Thumbnail positioned at the top */\n TOP = 'TOP',\n /** Thumbnail hidden and not displayed */\n HIDDEN = 'HIDDEN',\n}\n\n/** @enumType */\nexport type StylesPositionWithLiterals =\n | StylesPosition\n | 'START'\n | 'END'\n | 'TOP'\n | 'HIDDEN';\n\nexport interface LinkPreviewDataStyles {\n /**\n * Background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Title color as a hexadecimal value.\n * @format COLOR_HEX\n */\n titleColor?: string | null;\n /**\n * Subtitle color as a hexadecimal value.\n * @format COLOR_HEX\n */\n subtitleColor?: string | null;\n /**\n * Link color as a hexadecimal value.\n * @format COLOR_HEX\n */\n linkColor?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /** Position of thumbnail. Defaults to `START`. */\n thumbnailPosition?: StylesPositionWithLiterals;\n}\n\nexport interface MapData {\n /** Styling for the map's container. */\n containerData?: PluginContainerData;\n /** Map settings. */\n mapSettings?: MapSettings;\n}\n\nexport interface MapSettings {\n /** The address to display on the map. */\n address?: string | null;\n /** Sets whether the map is draggable. */\n draggable?: boolean | null;\n /** Sets whether the location marker is visible. */\n marker?: boolean | null;\n /** Sets whether street view control is enabled. */\n streetViewControl?: boolean | null;\n /** Sets whether zoom control is enabled. */\n zoomControl?: boolean | null;\n /** Location latitude. */\n lat?: number | null;\n /** Location longitude. */\n lng?: number | null;\n /** Location name. */\n locationName?: string | null;\n /** Sets whether view mode control is enabled. */\n viewModeControl?: boolean | null;\n /** Initial zoom value. */\n initialZoom?: number | null;\n /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */\n mapType?: MapTypeWithLiterals;\n}\n\nexport enum MapType {\n /** Roadmap map type */\n ROADMAP = 'ROADMAP',\n /** Satellite map type */\n SATELITE = 'SATELITE',\n /** Hybrid map type */\n HYBRID = 'HYBRID',\n /** Terrain map type */\n TERRAIN = 'TERRAIN',\n}\n\n/** @enumType */\nexport type MapTypeWithLiterals =\n | MapType\n | 'ROADMAP'\n | 'SATELITE'\n | 'HYBRID'\n | 'TERRAIN';\n\nexport interface ParagraphData {\n /** Styling for the paragraph text. */\n textStyle?: TextStyle;\n /** Indentation level from 1-4. */\n indentation?: number | null;\n /** Paragraph level */\n level?: number | null;\n}\n\nexport interface PollData {\n /** Styling for the poll's container. */\n containerData?: PluginContainerData;\n /** Poll data. */\n poll?: Poll;\n /** Layout settings for the poll and voting options. */\n layout?: PollDataLayout;\n /** Styling for the poll and voting options. */\n design?: Design;\n}\n\nexport enum ViewRole {\n /** Only Poll creator can view the results */\n CREATOR = 'CREATOR',\n /** Anyone who voted can see the results */\n VOTERS = 'VOTERS',\n /** Anyone can see the results, even if one didn't vote */\n EVERYONE = 'EVERYONE',\n}\n\n/** @enumType */\nexport type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';\n\nexport enum VoteRole {\n /** Logged in member */\n SITE_MEMBERS = 'SITE_MEMBERS',\n /** Anyone */\n ALL = 'ALL',\n}\n\n/** @enumType */\nexport type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';\n\nexport interface Permissions {\n /** Sets who can view the poll results. */\n view?: ViewRoleWithLiterals;\n /** Sets who can vote. */\n vote?: VoteRoleWithLiterals;\n /** Sets whether one voter can vote multiple times. Defaults to `false`. */\n allowMultipleVotes?: boolean | null;\n}\n\nexport interface Option {\n /** Option ID. */\n id?: string | null;\n /** Option title. */\n title?: string | null;\n /** The image displayed with the option. */\n image?: Media;\n}\n\nexport interface PollSettings {\n /** Permissions settings for voting. */\n permissions?: Permissions;\n /** Sets whether voters are displayed in the vote results. Defaults to `true`. */\n showVoters?: boolean | null;\n /** Sets whether the vote count is displayed. Defaults to `true`. */\n showVotesCount?: boolean | null;\n}\n\nexport enum PollLayoutType {\n /** List */\n LIST = 'LIST',\n /** Grid */\n GRID = 'GRID',\n}\n\n/** @enumType */\nexport type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';\n\nexport enum PollLayoutDirection {\n /** Left-to-right */\n LTR = 'LTR',\n /** Right-to-left */\n RTL = 'RTL',\n}\n\n/** @enumType */\nexport type PollLayoutDirectionWithLiterals =\n | PollLayoutDirection\n | 'LTR'\n | 'RTL';\n\nexport interface PollLayout {\n /** The layout for displaying the voting options. */\n type?: PollLayoutTypeWithLiterals;\n /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */\n direction?: PollLayoutDirectionWithLiterals;\n /** Sets whether to display the main poll image. Defaults to `false`. */\n enableImage?: boolean | null;\n}\n\nexport interface OptionLayout {\n /** Sets whether to display option images. Defaults to `false`. */\n enableImage?: boolean | null;\n}\n\nexport enum BackgroundType {\n /** Color background type */\n COLOR = 'COLOR',\n /** Image background type */\n IMAGE = 'IMAGE',\n /** Gradiant background type */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type BackgroundTypeWithLiterals =\n | BackgroundType\n | 'COLOR'\n | 'IMAGE'\n | 'GRADIENT';\n\nexport interface Gradient {\n /** The gradient angle in degrees. */\n angle?: number | null;\n /**\n * The start color as a hexademical value.\n * @format COLOR_HEX\n */\n startColor?: string | null;\n /**\n * The end color as a hexademical value.\n * @format COLOR_HEX\n */\n lastColor?: string | null;\n}\n\nexport interface Background extends BackgroundBackgroundOneOf {\n /**\n * The background color as a hexademical value.\n * @format COLOR_HEX\n */\n color?: string | null;\n /** An image to use for the background. */\n image?: Media;\n /** Details for a gradient background. */\n gradient?: Gradient;\n /** Background type. For each option, include the relevant details. */\n type?: BackgroundTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface BackgroundBackgroundOneOf {\n /**\n * The background color as a hexademical value.\n * @format COLOR_HEX\n */\n color?: string | null;\n /** An image to use for the background. */\n image?: Media;\n /** Details for a gradient background. */\n gradient?: Gradient;\n}\n\nexport interface PollDesign {\n /** Background styling. */\n background?: Background;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface OptionDesign {\n /** Border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface Poll {\n /** Poll ID. */\n id?: string | null;\n /** Poll title. */\n title?: string | null;\n /** Poll creator ID. */\n creatorId?: string | null;\n /** Main poll image. */\n image?: Media;\n /** Voting options. */\n options?: Option[];\n /** The poll's permissions and display settings. */\n settings?: PollSettings;\n}\n\nexport interface PollDataLayout {\n /** Poll layout settings. */\n poll?: PollLayout;\n /** Voting otpions layout settings. */\n options?: OptionLayout;\n}\n\nexport interface Design {\n /** Styling for the poll. */\n poll?: PollDesign;\n /** Styling for voting options. */\n options?: OptionDesign;\n}\n\nexport interface TextData {\n /** The text to apply decorations to. */\n text?: string;\n /** The decorations to apply. */\n decorations?: Decoration[];\n}\n\n/** Adds appearence changes to text */\nexport interface Decoration extends DecorationDataOneOf {\n /** Data for an anchor link decoration. */\n anchorData?: AnchorData;\n /** Data for a color decoration. */\n colorData?: ColorData;\n /** Data for an external link decoration. */\n linkData?: LinkData;\n /** Data for a mention decoration. */\n mentionData?: MentionData;\n /** Data for a font size decoration. */\n fontSizeData?: FontSizeData;\n /** Font weight for a bold decoration. */\n fontWeightValue?: number | null;\n /** Data for an italic decoration. Defaults to `true`. */\n italicData?: boolean | null;\n /** Data for an underline decoration. Defaults to `true`. */\n underlineData?: boolean | null;\n /** Data for a spoiler decoration. */\n spoilerData?: SpoilerData;\n /** Data for a strikethrough decoration. Defaults to `true`. */\n strikethroughData?: boolean | null;\n /** Data for a superscript decoration. Defaults to `true`. */\n superscriptData?: boolean | null;\n /** Data for a subscript decoration. Defaults to `true`. */\n subscriptData?: boolean | null;\n /** Data for a font family decoration. */\n fontFamilyData?: FontFamilyData;\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}\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}\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\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}\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 AppEmbedData extends AppEmbedDataAppDataOneOf {\n /** Data for embedded Wix Bookings content. */\n bookingData?: BookingData;\n /** Data for embedded Wix Events content. */\n eventData?: EventData;\n /** The type of Wix App content being embedded. */\n type?: AppTypeWithLiterals;\n /** The ID of the embedded content. */\n itemId?: string | null;\n /** The name of the embedded content. */\n name?: string | null;\n /**\n * Deprecated: Use `image` instead.\n * @deprecated\n */\n imageSrc?: string | null;\n /** The URL for the embedded content. */\n url?: string | null;\n /** An image for the embedded content. */\n image?: Media;\n /** Whether to hide the image. */\n hideImage?: boolean | null;\n /** Whether to hide the title. */\n hideTitle?: boolean | null;\n /** Whether to hide the price. */\n hidePrice?: boolean | null;\n /** Whether to hide the description (Event and Booking). */\n hideDescription?: boolean | null;\n /** Whether to hide the date and time (Event). */\n hideDateTime?: boolean | null;\n /** Whether to hide the location (Event). */\n hideLocation?: boolean | null;\n /** Whether to hide the duration (Booking). */\n hideDuration?: boolean | null;\n /** Whether to hide the button. */\n hideButton?: boolean | null;\n /** Whether to hide the ribbon. */\n hideRibbon?: boolean | null;\n /** Button styling options. */\n buttonStyles?: ButtonStyles;\n /** Image styling options. */\n imageStyles?: ImageStyles;\n /** Ribbon styling options. */\n ribbonStyles?: RibbonStyles;\n /** Card styling options. */\n cardStyles?: CardStyles;\n /** Styling for the app embed's container. */\n containerData?: PluginContainerData;\n /** Pricing data for embedded Wix App content. */\n pricingData?: PricingData;\n}\n\n/** @oneof */\nexport interface AppEmbedDataAppDataOneOf {\n /** Data for embedded Wix Bookings content. */\n bookingData?: BookingData;\n /** Data for embedded Wix Events content. */\n eventData?: EventData;\n}\n\nexport enum Position {\n /** Image positioned at the start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Image positioned at the end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n /** Image positioned at the top */\n TOP = 'TOP',\n}\n\n/** @enumType */\nexport type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';\n\nexport enum AspectRatio {\n /** 1:1 aspect ratio */\n SQUARE = 'SQUARE',\n /** 16:9 aspect ratio */\n RECTANGLE = 'RECTANGLE',\n}\n\n/** @enumType */\nexport type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';\n\nexport enum Resizing {\n /** Fill the container, may crop the image */\n FILL = 'FILL',\n /** Fit the image within the container */\n FIT = 'FIT',\n}\n\n/** @enumType */\nexport type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';\n\nexport enum Placement {\n /** Ribbon placed on the image */\n IMAGE = 'IMAGE',\n /** Ribbon placed on the product information */\n PRODUCT_INFO = 'PRODUCT_INFO',\n}\n\n/** @enumType */\nexport type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';\n\nexport enum CardStylesType {\n /** Card with visible border and background */\n CONTAINED = 'CONTAINED',\n /** Card without visible border */\n FRAMELESS = 'FRAMELESS',\n}\n\n/** @enumType */\nexport type CardStylesTypeWithLiterals =\n | CardStylesType\n | 'CONTAINED'\n | 'FRAMELESS';\n\nexport enum Alignment {\n /** Content aligned to start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Content centered */\n CENTER = 'CENTER',\n /** Content aligned to end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n}\n\n/** @enumType */\nexport type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';\n\nexport enum Layout {\n /** Elements stacked vertically */\n STACKED = 'STACKED',\n /** Elements arranged horizontally */\n SIDE_BY_SIDE = 'SIDE_BY_SIDE',\n}\n\n/** @enumType */\nexport type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';\n\nexport enum AppType {\n PRODUCT = 'PRODUCT',\n EVENT = 'EVENT',\n BOOKING = 'BOOKING',\n}\n\n/** @enumType */\nexport type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';\n\nexport interface BookingData {\n /** Booking duration in minutes. */\n durations?: string | null;\n}\n\nexport interface EventData {\n /** Event schedule. */\n scheduling?: string | null;\n /** Event location. */\n location?: string | null;\n}\n\nexport interface ButtonStyles {\n /** Text to display on the button. */\n buttonText?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n textColor?: string | null;\n /**\n * Background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Border color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n borderColorHover?: string | null;\n /**\n * Text color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n textColorHover?: string | null;\n /**\n * Background color as a hexadecimal value (hover state).\n * @format COLOR_HEX\n */\n backgroundColorHover?: string | null;\n /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */\n buttonSize?: string | null;\n}\n\nexport interface ImageStyles {\n /** Whether to hide the image. */\n hideImage?: boolean | null;\n /** Position of image. Defaults to `START`. */\n imagePosition?: PositionWithLiterals;\n /** Aspect ratio for the image. Defaults to `SQUARE`. */\n aspectRatio?: AspectRatioWithLiterals;\n /** How the image should be resized. Defaults to `FILL`. */\n resizing?: ResizingWithLiterals;\n /**\n * Image border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /** Image border width in pixels. */\n borderWidth?: number | null;\n /** Image border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface RibbonStyles {\n /** Text to display on the ribbon. */\n ribbonText?: string | null;\n /**\n * Ribbon background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Ribbon text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n textColor?: string | null;\n /**\n * Ribbon border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /** Ribbon border width in pixels. */\n borderWidth?: number | null;\n /** Ribbon border radius in pixels. */\n borderRadius?: number | null;\n /** Placement of the ribbon. Defaults to `IMAGE`. */\n ribbonPlacement?: PlacementWithLiterals;\n}\n\nexport interface CardStyles {\n /**\n * Card background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /**\n * Card border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /** Card border width in pixels. */\n borderWidth?: number | null;\n /** Card border radius in pixels. */\n borderRadius?: number | null;\n /** Card type. Defaults to `CONTAINED`. */\n type?: CardStylesTypeWithLiterals;\n /** Content alignment. Defaults to `START`. */\n alignment?: AlignmentWithLiterals;\n /** Layout for title and price. Defaults to `STACKED`. */\n titlePriceLayout?: LayoutWithLiterals;\n /**\n * Title text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n titleColor?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @format COLOR_HEX\n */\n textColor?: string | null;\n}\n\nexport interface PricingData {\n /**\n * Minimum numeric price value as string (e.g., \"10.99\").\n * @decimalValue options { maxScale:2 }\n */\n valueFrom?: string | null;\n /**\n * Maximum numeric price value as string (e.g., \"19.99\").\n * @decimalValue options { maxScale:2 }\n */\n valueTo?: string | null;\n /**\n * Numeric price value as string after discount application (e.g., \"15.99\").\n * @decimalValue options { maxScale:2 }\n */\n discountedValue?: string | null;\n /**\n * Currency of the value in ISO 4217 format (e.g., \"USD\", \"EUR\").\n * @format CURRENCY\n */\n currency?: string | null;\n /**\n * Pricing plan ID.\n * @format GUID\n */\n pricingPlanId?: string | null;\n}\n\nexport interface VideoData {\n /** Styling for the video's container. */\n containerData?: PluginContainerData;\n /** Video details. */\n video?: Media;\n /** Video thumbnail details. */\n thumbnail?: Media;\n /** Sets whether the video's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Video title. */\n title?: string | null;\n /** Video options. */\n options?: PlaybackOptions;\n}\n\nexport interface PlaybackOptions {\n /** Sets whether the media will automatically start playing. */\n autoPlay?: boolean | null;\n /** Sets whether media's will be looped. */\n playInLoop?: boolean | null;\n /** Sets whether media's controls will be shown. */\n showControls?: boolean | null;\n}\n\nexport interface EmbedData {\n /** Styling for the oEmbed node's container. */\n containerData?: PluginContainerData;\n /** An [oEmbed](https://www.oembed.com) object. */\n oembed?: Oembed;\n /** Origin asset source. */\n src?: string | null;\n}\n\nexport interface Oembed {\n /** The resource type. */\n type?: string | null;\n /** The width of the resource specified in the `url` property in pixels. */\n width?: number | null;\n /** The height of the resource specified in the `url` property in pixels. */\n height?: number | null;\n /** Resource title. */\n title?: string | null;\n /** The source URL for the resource. */\n url?: string | null;\n /** HTML for embedding a video player. The HTML should have no padding or margins. */\n html?: string | null;\n /** The name of the author or owner of the resource. */\n authorName?: string | null;\n /** The URL for the author or owner of the resource. */\n authorUrl?: string | null;\n /** The name of the resource provider. */\n providerName?: string | null;\n /** The URL for the resource provider. */\n providerUrl?: string | null;\n /** The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined. */\n thumbnailUrl?: string | null;\n /** The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined. */\n thumbnailWidth?: string | null;\n /** The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined. */\n thumbnailHeight?: string | null;\n /** The URL for an embedded viedo. */\n videoUrl?: string | null;\n /** The oEmbed version number. This value must be `1.0`. */\n version?: string | null;\n}\n\nexport interface CollapsibleListData {\n /** Styling for the collapsible list's container. */\n containerData?: PluginContainerData;\n /** If `true`, only one item can be expanded at a time. Defaults to `false`. */\n expandOnlyOne?: boolean | null;\n /** Sets which items are expanded when the page loads. */\n initialExpandedItems?: InitialExpandedItemsWithLiterals;\n /** The direction of the text in the list. Either left-to-right or right-to-left. */\n direction?: DirectionWithLiterals;\n /** If `true`, The collapsible item will appear in search results as an FAQ. */\n isQapageData?: boolean | null;\n}\n\nexport enum InitialExpandedItems {\n /** First item will be expended initally */\n FIRST = 'FIRST',\n /** All items will expended initally */\n ALL = 'ALL',\n /** All items collapsed initally */\n NONE = 'NONE',\n}\n\n/** @enumType */\nexport type InitialExpandedItemsWithLiterals =\n | InitialExpandedItems\n | 'FIRST'\n | 'ALL'\n | 'NONE';\n\nexport enum Direction {\n /** Left-to-right */\n LTR = 'LTR',\n /** Right-to-left */\n RTL = 'RTL',\n}\n\n/** @enumType */\nexport type DirectionWithLiterals = Direction | 'LTR' | 'RTL';\n\nexport interface TableData {\n /** Styling for the table's container. */\n containerData?: PluginContainerData;\n /** The table's dimensions. */\n dimensions?: Dimensions;\n /**\n * Deprecated: Use `rowHeader` and `columnHeader` instead.\n * @deprecated\n */\n header?: boolean | null;\n /** Sets whether the table's first row is a header. Defaults to `false`. */\n rowHeader?: boolean | null;\n /** Sets whether the table's first column is a header. Defaults to `false`. */\n columnHeader?: boolean | null;\n /** 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}\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 * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n}\n\nexport interface BorderColors {\n /**\n * Left border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n left?: string | null;\n /**\n * Right border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n right?: string | null;\n /**\n * Top border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n top?: string | null;\n /**\n * Bottom border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n bottom?: string | null;\n}\n\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}\n\nexport interface OrderedListData {\n /** Indentation level from 0-4. */\n indentation?: number;\n /** Offset level from 0-4. */\n offset?: number | null;\n /** List start number. */\n start?: number | null;\n}\n\nexport interface BulletedListData {\n /** Indentation level from 0-4. */\n indentation?: number;\n /** Offset level from 0-4. */\n offset?: number | null;\n}\n\nexport interface BlockquoteData {\n /** Indentation level from 1-4. */\n indentation?: number;\n}\n\nexport interface CaptionData {\n textStyle?: TextStyle;\n}\n\nexport interface LayoutData {\n /**\n * Background color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backgroundColor?: string | null;\n /** Background image. */\n backgroundImage?: BackgroundImage;\n /**\n * Border color as a hexadecimal value.\n * @format COLOR_HEX\n */\n borderColor?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border */\n borderRadius?: number | null;\n /**\n * Backdrop color as a hexadecimal value.\n * @format COLOR_HEX\n */\n backdropColor?: string | null;\n /** Backdrop image.radius in pixels. */\n backdropImage?: BackgroundImage;\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}\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 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\nexport interface BackgroundImage {\n /** Background image. */\n media?: Media;\n /** Background image opacity. */\n opacity?: number | null;\n /** Background image scaling. */\n scaling?: ScalingWithLiterals;\n /** Position of background. Defaults to `CENTER`. */\n position?: ImagePositionWithLiterals;\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 interface LayoutCellData {\n /** Size of the cell in 12 columns grid. */\n colSpan?: number | null;\n}\n\nexport interface Metadata {\n /** Schema version. */\n version?: number;\n /**\n * When the object was created.\n * @readonly\n * @deprecated\n */\n createdTimestamp?: Date | null;\n /**\n * When the object was most recently updated.\n * @deprecated\n */\n updatedTimestamp?: Date | null;\n /** Object ID. */\n _id?: string | null;\n}\n\nexport interface DocumentStyle {\n /** Styling for H1 nodes. */\n headerOne?: TextNodeStyle;\n /** Styling for H2 nodes. */\n headerTwo?: TextNodeStyle;\n /** Styling for H3 nodes. */\n headerThree?: TextNodeStyle;\n /** Styling for H4 nodes. */\n headerFour?: TextNodeStyle;\n /** Styling for H5 nodes. */\n headerFive?: TextNodeStyle;\n /** Styling for H6 nodes. */\n headerSix?: TextNodeStyle;\n /** Styling for paragraph nodes. */\n paragraph?: TextNodeStyle;\n /** Styling for block quote nodes. */\n blockquote?: TextNodeStyle;\n /** Styling for code block nodes. */\n codeBlock?: TextNodeStyle;\n}\n\nexport interface TextNodeStyle {\n /** The decorations to apply to the node. */\n decorations?: Decoration[];\n /** Padding and background color for the node. */\n nodeStyle?: NodeStyle;\n /** Line height for text in the node. */\n lineHeight?: string | null;\n}\n\nexport interface 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\nexport enum BadgeTypeType {\n /** Unknown badge type. */\n UNKNOWN_BADGE_TYPE = 'UNKNOWN_BADGE_TYPE',\n /** 1st priority badge type. */\n FIRST_PRIORITY = 'FIRST_PRIORITY',\n /** 2nd priority badge type. */\n SECOND_PRIORITY = 'SECOND_PRIORITY',\n /** 3rd priority badge type. */\n THIRD_PRIORITY = 'THIRD_PRIORITY',\n}\n\n/** @enumType */\nexport type BadgeTypeTypeWithLiterals =\n | BadgeTypeType\n | 'UNKNOWN_BADGE_TYPE'\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 /** Unknown requested field. */\n UNKNOWN_REQUESTED_FIELD = 'UNKNOWN_REQUESTED_FIELD',\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}\n\n/** @enumType */\nexport type RequestedFieldsWithLiterals =\n | RequestedFields\n | 'UNKNOWN_REQUESTED_FIELD'\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 /** 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 UpdateEventRequest {\n /** Event info to update. */\n event?: Event;\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\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\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\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\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\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.\n * @maxSize 20\n */\n fields?: RequestedFieldsWithLiterals[];\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\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}\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/** @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}\n\nexport interface EventMetadata extends BaseEventMetadata {\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\nexport interface EventCanceledEnvelope {\n data: EventCanceled;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event is canceled.\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 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 Challenges\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 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 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 Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 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 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 Challenges\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 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 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 Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 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 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 Challenges\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 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 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 Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 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 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 Challenges\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 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 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 Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 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 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 Challenges\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 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 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 Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 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 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 Challenges\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 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 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 Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 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 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 Challenges\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 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 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 Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 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 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 Challenges\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 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 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 Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 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 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 Challenges\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 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 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 Events\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS\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 | `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.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 | `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 * 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 * Assigned contacts label key.\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 /** Visual settings for event. */\n eventDisplaySettings?: EventDisplaySettings;\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 /**\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.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.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: CommonQueryV2,\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}.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\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 * @documentationMaturity preview\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}.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 * @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 | `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.\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.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.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.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.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.backdropImage.media.duration',\n },\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.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.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.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.backdropImage.media.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.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.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.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.backdropImage.media.duration',\n },\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.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.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.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.backdropImage.media.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.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.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.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.backdropImage.media.duration',\n },\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.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.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.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.backdropImage.media.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.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.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.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.backdropImage.media.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.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.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.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.backdropImage.media.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.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.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.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.backdropImage.media.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.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.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.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.backdropImage.media.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listEventsByCategory;\n}\n\n/** Retrieves an event by ID. */\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.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.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.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.backdropImage.media.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.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.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.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.backdropImage.media.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getEventBySlug;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;A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AC,WAAW,SAAS;AAAA,IACvB;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;AAsBA,eAAsBY,gBACpB,MACA,SAsFA;AAEA,QAAM,EAAE,YAAY,YAAY,IAAI,UAAU,CAAC;AAK/C,QAAM,cAAU;AAAA,IACd,EAAE,MAAY,QAAQ,SAAS,OAAO;AAAA,IACtC,CAAC;AAAA,EACH;AAEA,QAAM,UAAqC,eAAe,OAAO;AAEjE,eAAa,aAAa;AAC1B,MAAI;AACF,UAAM,SAAS,MAAM,WAAW,QAAQ,OAAO;AAC/C,iBAAa,YAAY,MAAM;AAE/B,eAAO;AAAA,UACL,wCAAe,OAAO,MAAM;AAAA,QAC1B;AAAA,UACE,aAAa;AAAA,UACb,OAAO,CAAC,EAAE,MAAM,kBAAkB,CAAC;AAAA,QACrC;AAAA,QACA;AAAA,UACE,aAAa;AAAA,UACb,OAAO;AAAA,YACL,EAAE,MAAM,qBAAqB;AAAA,YAC7B,EAAE,MAAM,+BAA+B;AAAA,UACzC;AAAA,QACF;AAAA,QACA;AAAA,UACE,aAAa;AAAA,UACb,OAAO,CAAC,EAAE,MAAM,yBAAyB,CAAC;AAAA,QAC5C;AAAA,MACF,CAAC;AAAA,MACD,CAAC,mBAAmB;AAAA,IACtB;AAAA,EACF,SAAS,KAAU;AACjB,UAAM,uBAAmB,uBAAAZ;AAAA,MACvB;AAAA,MACA;AAAA,QACE,wBAAwB,CAAC;AAAA,QACzB,0BAA0B,EAAE,MAAM,QAAQ,QAAQ,cAAc;AAAA,QAChE,yBAAyB;AAAA,MAC3B;AAAA,MACA,CAAC,QAAQ,SAAS;AAAA,IACpB;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;","names":["bulkCancelEventsByFilter","bulkDeleteEventsByFilter","cancelEvent","cloneEvent","countEventsByStatus","createEvent","deleteEvent","getEvent","getEventBySlug","listEventsByCategory","publishDraftEvent","queryEvents","updateEvent","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","ConferenceTypeType","Type","NodeType","WidthType","PluginContainerDataAlignment","ButtonDataType","Target","TextAlignment","LineStyle","Width","DividerDataAlignment","ViewMode","LayoutType","Orientation","Crop","ThumbnailsAlignment","GIFType","Source","StylesPosition","MapType","ViewRole","VoteRole","PollLayoutType","PollLayoutDirection","BackgroundType","DecorationType","FontType","Position","AspectRatio","Resizing","Placement","CardStylesType","Alignment","Layout","AppType","InitialExpandedItems","Direction","VerticalAlignment","NullValue","Scaling","ImagePosition","VerticalAlignmentAlignment","ResponsivenessBehaviour","BadgeTypeType","RequestedFields","CommonSortOrder","SortOrder","Relation","WebhookIdentityType","createEvent","sdkTransformError","cloneEvent","updateEvent","publishDraftEvent","cancelEvent","bulkCancelEventsByFilter","deleteEvent","bulkDeleteEventsByFilter","queryEvents","countEventsByStatus","listEventsByCategory","getEvent","getEventBySlug"]}
|