@wix/auto_sdk_events_ticket-definitions-v-2 1.0.82 → 1.0.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../index.ts","../../../src/events-v3-ticket-definition-ticket-definitions-v-2.public.ts","../../../src/events-v3-ticket-definition-ticket-definitions-v-2.universal.ts","../../../src/events-v3-ticket-definition-ticket-definitions-v-2.http.ts","../../../src/events-v3-ticket-definition-ticket-definitions-v-2.context.ts"],"sourcesContent":["export * from './src/events-v3-ticket-definition-ticket-definitions-v-2.context.js';\n","import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { transformRESTAddressToSDKAddress } from '@wix/sdk-runtime/transformations/address';\nimport { transformRESTPageURLToSDKPageURL } from '@wix/sdk-runtime/transformations/page-url';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { EventDefinition, HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n ChangeCurrencyApplicationErrors,\n ChangeCurrencyOptions,\n CountAvailableTicketDefinitionsApplicationErrors,\n CountAvailableTicketDefinitionsOptions,\n CountAvailableTicketDefinitionsResponse,\n CountTicketDefinitionsApplicationErrors,\n CountTicketDefinitionsOptions,\n CountTicketDefinitionsResponse,\n CreateTicketDefinitionApplicationErrors,\n CreateTicketDefinitionOptions,\n GetTicketDefinitionOptions,\n QueryAvailableTicketDefinitionsOptions,\n QueryAvailableTicketDefinitionsResponse,\n QueryTicketDefinitionsOptions,\n QueryTicketDefinitionsResponse,\n QueryV2,\n ReorderTicketDefinitionsApplicationErrors,\n ReorderTicketDefinitionsOptions,\n TicketDefinition,\n TicketDefinitionCreatedEnvelope,\n TicketDefinitionDeletedEnvelope,\n TicketDefinitionQuery,\n TicketDefinitionSaleEndedEnvelope,\n TicketDefinitionSalePeriodUpdatedEnvelope,\n TicketDefinitionSaleStartedEnvelope,\n TicketDefinitionUpdatedEnvelope,\n TicketDefinitionsQueryBuilder,\n UpdateTicketDefinition,\n UpdateTicketDefinitionApplicationErrors,\n UpdateTicketDefinitionOptions,\n bulkDeleteTicketDefinitionsByFilter as universalBulkDeleteTicketDefinitionsByFilter,\n changeCurrency as universalChangeCurrency,\n countAvailableTicketDefinitions as universalCountAvailableTicketDefinitions,\n countTicketDefinitions as universalCountTicketDefinitions,\n createTicketDefinition as universalCreateTicketDefinition,\n deleteTicketDefinition as universalDeleteTicketDefinition,\n getTicketDefinition as universalGetTicketDefinition,\n queryAvailableTicketDefinitions as universalQueryAvailableTicketDefinitions,\n queryTicketDefinitions as universalQueryTicketDefinitions,\n reorderTicketDefinitions as universalReorderTicketDefinitions,\n typedQueryTicketDefinitions as universalTypedQueryTicketDefinitions,\n updateTicketDefinition as universalUpdateTicketDefinition,\n} from './events-v3-ticket-definition-ticket-definitions-v-2.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/events' };\n\nexport function createTicketDefinition(\n httpClient: HttpClient\n): CreateTicketDefinitionSignature {\n return (\n ticketDefinition: NonNullablePaths<\n TicketDefinition,\n `eventId` | `feeType` | `name` | `pricingMethod`,\n 2\n >,\n options?: CreateTicketDefinitionOptions\n ) =>\n universalCreateTicketDefinition(\n ticketDefinition,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CreateTicketDefinitionSignature {\n /**\n * Creates a ticket definition.\n *\n * You may create up to 100 definitions per event.\n * @param - Ticket definition info.\n * @param - Currency info.\n * @returns Created ticket definition.\n */\n (\n ticketDefinition: NonNullablePaths<\n TicketDefinition,\n `eventId` | `feeType` | `name` | `pricingMethod`,\n 2\n >,\n options?: CreateTicketDefinitionOptions\n ): Promise<\n NonNullablePaths<\n TicketDefinition,\n | `hidden`\n | `limited`\n | `pricingMethod.fixedPrice.value`\n | `pricingMethod.fixedPrice.currency`\n | `pricingMethod.pricingOptions.optionDetails`\n | `pricingMethod.pricingType`\n | `pricingMethod.free`\n | `feeType`\n | `salePeriod.displayNotOnSale`\n | `saleStatus`\n | `eventDetails.location.type`\n | `eventDetails.location.address.streetAddress.number`\n | `eventDetails.location.address.streetAddress.name`\n | `eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `eventDetails.status`\n | `seatingDetails.places`\n | `seatingDetails.places.${number}.placeId`\n | `seatingDetails.places.${number}.label`\n | `seatingDetails.places.${number}.availableCapacity`,\n 7\n > & {\n __applicationErrorsType?: CreateTicketDefinitionApplicationErrors;\n }\n >;\n}\n\nexport function updateTicketDefinition(\n httpClient: HttpClient\n): UpdateTicketDefinitionSignature {\n return (\n _id: string,\n ticketDefinition: NonNullablePaths<UpdateTicketDefinition, `revision`, 2>,\n options?: UpdateTicketDefinitionOptions\n ) =>\n universalUpdateTicketDefinition(\n _id,\n ticketDefinition,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface UpdateTicketDefinitionSignature {\n /**\n * Updates a ticket definition.\n *\n * Each time the ticket definition is updated, `revision` increments by 1. The existing `revision` must be included when updating the ticket definition. This ensures you're working with the latest ticket definition and prevents unintended overwrites.\n * @param - Ticket definition ID.\n * @param - Optional fields.\n * @param - Ticket definition to update.\n * @returns The updated ticket definition.\n */\n (\n _id: string,\n ticketDefinition: NonNullablePaths<UpdateTicketDefinition, `revision`, 2>,\n options?: UpdateTicketDefinitionOptions\n ): Promise<\n NonNullablePaths<\n TicketDefinition,\n | `hidden`\n | `limited`\n | `pricingMethod.fixedPrice.value`\n | `pricingMethod.fixedPrice.currency`\n | `pricingMethod.pricingOptions.optionDetails`\n | `pricingMethod.pricingType`\n | `pricingMethod.free`\n | `feeType`\n | `salePeriod.displayNotOnSale`\n | `saleStatus`\n | `eventDetails.location.type`\n | `eventDetails.location.address.streetAddress.number`\n | `eventDetails.location.address.streetAddress.name`\n | `eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `eventDetails.status`\n | `seatingDetails.places`\n | `seatingDetails.places.${number}.placeId`\n | `seatingDetails.places.${number}.label`\n | `seatingDetails.places.${number}.availableCapacity`,\n 7\n > & {\n __applicationErrorsType?: UpdateTicketDefinitionApplicationErrors;\n }\n >;\n}\n\nexport function getTicketDefinition(\n httpClient: HttpClient\n): GetTicketDefinitionSignature {\n return (ticketDefinitionId: string, options?: GetTicketDefinitionOptions) =>\n universalGetTicketDefinition(\n ticketDefinitionId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetTicketDefinitionSignature {\n /**\n * Retrieves a ticket definition.\n * @param - Ticket definition ID.\n * @param - Optional fields.\n * @returns The requested ticket definition.\n */\n (ticketDefinitionId: string, options?: GetTicketDefinitionOptions): Promise<\n NonNullablePaths<\n TicketDefinition,\n | `hidden`\n | `limited`\n | `pricingMethod.fixedPrice.value`\n | `pricingMethod.fixedPrice.currency`\n | `pricingMethod.pricingOptions.optionDetails`\n | `pricingMethod.pricingType`\n | `pricingMethod.free`\n | `feeType`\n | `salePeriod.displayNotOnSale`\n | `saleStatus`\n | `eventDetails.location.type`\n | `eventDetails.location.address.streetAddress.number`\n | `eventDetails.location.address.streetAddress.name`\n | `eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `eventDetails.status`\n | `seatingDetails.places`\n | `seatingDetails.places.${number}.placeId`\n | `seatingDetails.places.${number}.label`\n | `seatingDetails.places.${number}.availableCapacity`,\n 7\n >\n >;\n}\n\nexport function deleteTicketDefinition(\n httpClient: HttpClient\n): DeleteTicketDefinitionSignature {\n return (ticketDefinitionId: string) =>\n universalDeleteTicketDefinition(\n ticketDefinitionId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface DeleteTicketDefinitionSignature {\n /**\n * Deletes a ticket definition.\n * @param - ID of the ticket definition to delete.\n */\n (ticketDefinitionId: string): Promise<void>;\n}\n\nexport function reorderTicketDefinitions(\n httpClient: HttpClient\n): ReorderTicketDefinitionsSignature {\n return (\n eventId: string,\n options?: NonNullablePaths<\n ReorderTicketDefinitionsOptions,\n `ticketDefinitionId`,\n 2\n >\n ) =>\n universalReorderTicketDefinitions(\n eventId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface ReorderTicketDefinitionsSignature {\n /**\n * Adjusts the order in which ticket definitions display in an event dashboard, as well as the order of available tickets displayed in the ticket picker.\n * > **Note:** You may use both `beforeTicketDefinitionId` and `afterTicketDefinitionId` but only the last one provided takes effect.\n * @param - Event ID.\n * @param - Optional fields.\n */\n (\n eventId: string,\n options?: NonNullablePaths<\n ReorderTicketDefinitionsOptions,\n `ticketDefinitionId`,\n 2\n >\n ): Promise<\n void & {\n __applicationErrorsType?: ReorderTicketDefinitionsApplicationErrors;\n }\n >;\n}\n\nexport function queryTicketDefinitions(\n httpClient: HttpClient\n): QueryTicketDefinitionsSignature {\n return (options?: QueryTicketDefinitionsOptions) =>\n universalQueryTicketDefinitions(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface QueryTicketDefinitionsSignature {\n /**\n * Retrieves a list of ticket definitions, given the provided paging, filtering, and sorting.\n * Query Ticket Definitions runs with these defaults, which you can override:\n * - `createdDate` is sorted in `ASC` order\n * - `paging.limit` is `100`\n * - `paging.offset` is `0`\n * @param - Optional fields.\n */\n (options?: QueryTicketDefinitionsOptions): TicketDefinitionsQueryBuilder;\n}\n\nexport function typedQueryTicketDefinitions(\n httpClient: HttpClient\n): TypedQueryTicketDefinitionsSignature {\n return (\n query: TicketDefinitionQuery,\n options?: QueryTicketDefinitionsOptions\n ) =>\n universalTypedQueryTicketDefinitions(\n query,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface TypedQueryTicketDefinitionsSignature {\n /** */\n (\n query: TicketDefinitionQuery,\n options?: QueryTicketDefinitionsOptions\n ): Promise<\n NonNullablePaths<\n QueryTicketDefinitionsResponse,\n | `ticketDefinitions`\n | `ticketDefinitions.${number}.hidden`\n | `ticketDefinitions.${number}.limited`\n | `ticketDefinitions.${number}.pricingMethod.fixedPrice.value`\n | `ticketDefinitions.${number}.pricingMethod.fixedPrice.currency`\n | `ticketDefinitions.${number}.pricingMethod.pricingType`\n | `ticketDefinitions.${number}.pricingMethod.free`\n | `ticketDefinitions.${number}.feeType`\n | `ticketDefinitions.${number}.salePeriod.displayNotOnSale`\n | `ticketDefinitions.${number}.saleStatus`\n | `ticketDefinitions.${number}.eventDetails.location.type`\n | `ticketDefinitions.${number}.eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `ticketDefinitions.${number}.eventDetails.status`,\n 6\n >\n >;\n}\n\nexport function queryAvailableTicketDefinitions(\n httpClient: HttpClient\n): QueryAvailableTicketDefinitionsSignature {\n return (query: QueryV2, options?: QueryAvailableTicketDefinitionsOptions) =>\n universalQueryAvailableTicketDefinitions(\n query,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface QueryAvailableTicketDefinitionsSignature {\n /**\n * Retrieves a list of available ticket definitions with the specified paging, filtering, and sorting.\n *\n * This method retrieves ticket definitions that aren't in the `hidden` state. The available ticket definitions can be retrieved by site visitors.\n *\n * > **Note:** You need the `WIX_EVENTS.READ_TICKET_DEFINITIONS` permission to get the `salesDetails` field values.\n *\n * Query Available Ticket Definitions runs with these defaults, which you can override:\n * - `createdDate` is sorted in `ASC` order\n * - `paging.limit` is `100`\n * - `paging.offset` is `0`\n *\n * For field support for filters and sorting, see [Ticket Definitions: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/events/ticket-definition-v3/filter-and-sort).\n * To learn about working with _Query_ methods, see [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language).\n * @param - Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details.\n * @param - Optional fields.\n */\n (query: QueryV2, options?: QueryAvailableTicketDefinitionsOptions): Promise<\n NonNullablePaths<\n QueryAvailableTicketDefinitionsResponse,\n | `ticketDefinitions`\n | `ticketDefinitions.${number}.hidden`\n | `ticketDefinitions.${number}.limited`\n | `ticketDefinitions.${number}.pricingMethod.fixedPrice.value`\n | `ticketDefinitions.${number}.pricingMethod.fixedPrice.currency`\n | `ticketDefinitions.${number}.pricingMethod.pricingType`\n | `ticketDefinitions.${number}.pricingMethod.free`\n | `ticketDefinitions.${number}.feeType`\n | `ticketDefinitions.${number}.salePeriod.displayNotOnSale`\n | `ticketDefinitions.${number}.saleStatus`\n | `ticketDefinitions.${number}.eventDetails.location.type`\n | `ticketDefinitions.${number}.eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `ticketDefinitions.${number}.eventDetails.status`,\n 6\n >\n >;\n}\n\nexport function countTicketDefinitions(\n httpClient: HttpClient\n): CountTicketDefinitionsSignature {\n return (options?: CountTicketDefinitionsOptions) =>\n universalCountTicketDefinitions(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CountTicketDefinitionsSignature {\n /**\n * Counts ticket definitions by the `saleStatus` field, including those with the `hidden` status.\n * @param - Optional fields.\n */\n (options?: CountTicketDefinitionsOptions): Promise<\n CountTicketDefinitionsResponse & {\n __applicationErrorsType?: CountTicketDefinitionsApplicationErrors;\n }\n >;\n}\n\nexport function countAvailableTicketDefinitions(\n httpClient: HttpClient\n): CountAvailableTicketDefinitionsSignature {\n return (options?: CountAvailableTicketDefinitionsOptions) =>\n universalCountAvailableTicketDefinitions(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CountAvailableTicketDefinitionsSignature {\n /**\n * Counts ticket definitions by the `saleStatus`, excluding those with the `hidden` status.\n * @param - Optional fields.\n */\n (options?: CountAvailableTicketDefinitionsOptions): Promise<\n CountAvailableTicketDefinitionsResponse & {\n __applicationErrorsType?: CountAvailableTicketDefinitionsApplicationErrors;\n }\n >;\n}\n\nexport function bulkDeleteTicketDefinitionsByFilter(\n httpClient: HttpClient\n): BulkDeleteTicketDefinitionsByFilterSignature {\n return (filter: Record<string, any>) =>\n universalBulkDeleteTicketDefinitionsByFilter(\n filter,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkDeleteTicketDefinitionsByFilterSignature {\n /**\n * Deletes multiple ticket definitions.\n *\n * All ticket definitions that meet the specified `filter` criteria are deleted.\n * @param - Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\" }`. <br/> <br/> **Example:** <br/> `\"filter\" : { \"eventId\": \"3d3d5c04-ece0-45a8-85f0-11a58edaa192\" }`\n */\n (filter: Record<string, any>): Promise<void>;\n}\n\nexport function changeCurrency(\n httpClient: HttpClient\n): ChangeCurrencySignature {\n return (\n eventId: string,\n options: NonNullablePaths<ChangeCurrencyOptions, `currency`, 2>\n ) =>\n universalChangeCurrency(\n eventId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface ChangeCurrencySignature {\n /**\n * Changes ticket price currency per event.\n * @param - Event ID.\n * @param - Optional fields.\n */\n (\n eventId: string,\n options: NonNullablePaths<ChangeCurrencyOptions, `currency`, 2>\n ): Promise<\n void & {\n __applicationErrorsType?: ChangeCurrencyApplicationErrors;\n }\n >;\n}\n\nexport const onTicketDefinitionCreated = EventDefinition(\n 'wix.events.v3.ticket_definition_created',\n true,\n (event: TicketDefinitionCreatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'entity.eventCreatedDate' },\n { path: 'entity.salePeriod.startDate' },\n { path: 'entity.salePeriod.endDate' },\n { path: 'entity.eventDetails.dateAndTimeSettings.startDate' },\n { path: 'entity.eventDetails.dateAndTimeSettings.endDate' },\n {\n path: 'entity.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'entity.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'entity.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'entity.eventDetails.location.address' }],\n },\n ])\n )\n)<TicketDefinitionCreatedEnvelope>();\nexport const onTicketDefinitionDeleted = EventDefinition(\n 'wix.events.v3.ticket_definition_deleted',\n true,\n (event: TicketDefinitionDeletedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'entity.eventCreatedDate' },\n { path: 'entity.salePeriod.startDate' },\n { path: 'entity.salePeriod.endDate' },\n { path: 'entity.eventDetails.dateAndTimeSettings.startDate' },\n { path: 'entity.eventDetails.dateAndTimeSettings.endDate' },\n {\n path: 'entity.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'entity.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'entity.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'entity.eventDetails.location.address' }],\n },\n ])\n )\n)<TicketDefinitionDeletedEnvelope>();\nexport const onTicketDefinitionSaleEnded = EventDefinition(\n 'wix.events.v3.ticket_definition_sale_ended',\n true,\n (event: TicketDefinitionSaleEndedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'data.ticketDefinition.createdDate' },\n { path: 'data.ticketDefinition.updatedDate' },\n { path: 'data.ticketDefinition.eventCreatedDate' },\n { path: 'data.ticketDefinition.salePeriod.startDate' },\n { path: 'data.ticketDefinition.salePeriod.endDate' },\n {\n path: 'data.ticketDefinition.eventDetails.dateAndTimeSettings.startDate',\n },\n {\n path: 'data.ticketDefinition.eventDetails.dateAndTimeSettings.endDate',\n },\n {\n path: 'data.ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'data.ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'data.ticketDefinition.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [\n { path: 'data.ticketDefinition.eventDetails.location.address' },\n ],\n },\n ])\n )\n)<TicketDefinitionSaleEndedEnvelope>();\nexport const onTicketDefinitionSalePeriodUpdated = EventDefinition(\n 'wix.events.v3.ticket_definition_sale_period_updated',\n true,\n (event: TicketDefinitionSalePeriodUpdatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'data.afterUpdate.startDate' },\n { path: 'data.afterUpdate.endDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n ])\n )\n)<TicketDefinitionSalePeriodUpdatedEnvelope>();\nexport const onTicketDefinitionSaleStarted = EventDefinition(\n 'wix.events.v3.ticket_definition_sale_started',\n true,\n (event: TicketDefinitionSaleStartedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'data.ticketDefinition.createdDate' },\n { path: 'data.ticketDefinition.updatedDate' },\n { path: 'data.ticketDefinition.eventCreatedDate' },\n { path: 'data.ticketDefinition.salePeriod.startDate' },\n { path: 'data.ticketDefinition.salePeriod.endDate' },\n {\n path: 'data.ticketDefinition.eventDetails.dateAndTimeSettings.startDate',\n },\n {\n path: 'data.ticketDefinition.eventDetails.dateAndTimeSettings.endDate',\n },\n {\n path: 'data.ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'data.ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'data.ticketDefinition.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [\n { path: 'data.ticketDefinition.eventDetails.location.address' },\n ],\n },\n ])\n )\n)<TicketDefinitionSaleStartedEnvelope>();\nexport const onTicketDefinitionUpdated = EventDefinition(\n 'wix.events.v3.ticket_definition_updated',\n true,\n (event: TicketDefinitionUpdatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'entity.eventCreatedDate' },\n { path: 'entity.salePeriod.startDate' },\n { path: 'entity.salePeriod.endDate' },\n { path: 'entity.eventDetails.dateAndTimeSettings.startDate' },\n { path: 'entity.eventDetails.dateAndTimeSettings.endDate' },\n {\n path: 'entity.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'entity.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'metadata.eventTime' },\n { path: 'modifiedFields.createdDate' },\n { path: 'modifiedFields.updatedDate' },\n { path: 'modifiedFields.eventCreatedDate' },\n { path: 'modifiedFields.salePeriod.startDate' },\n { path: 'modifiedFields.salePeriod.endDate' },\n {\n path: 'modifiedFields.eventDetails.dateAndTimeSettings.startDate',\n },\n { path: 'modifiedFields.eventDetails.dateAndTimeSettings.endDate' },\n {\n path: 'modifiedFields.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'modifiedFields.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'entity.eventDetails.eventPageUrl' },\n { path: 'modifiedFields.eventDetails.eventPageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [\n { path: 'entity.eventDetails.location.address' },\n { path: 'modifiedFields.eventDetails.location.address' },\n ],\n },\n ])\n )\n)<TicketDefinitionUpdatedEnvelope>();\n\nexport {\n AccountInfo,\n ActionEvent,\n Address,\n AddressLocation,\n AddressStreetOneOf,\n Agenda,\n Alignment,\n AnchorData,\n App,\n AppEmbedData,\n AppEmbedDataAppDataOneOf,\n AppType,\n AspectRatio,\n Asset,\n AudioData,\n AvailablePlace,\n Background,\n BackgroundBackgroundOneOf,\n BackgroundImage,\n BackgroundType,\n Badge,\n BaseEventMetadata,\n BlockquoteData,\n BookingData,\n Border,\n BorderColors,\n BorderWidths,\n BulkCopyTicketDefinitionsByEventIdRequest,\n BulkCopyTicketDefinitionsByEventIdResponse,\n BulkDeleteTicketDefinitionsByFilterRequest,\n BulkDeleteTicketDefinitionsByFilterResponse,\n BulletedListData,\n ButtonData,\n ButtonDataType,\n ButtonStyles,\n CalendarLinks,\n CaptionData,\n CardStyles,\n CardStylesType,\n Category,\n CategoryCounts,\n CategoryDetails,\n CategoryStateState,\n CellStyle,\n ChangeCurrencyOptions,\n ChangeCurrencyRequest,\n ChangeCurrencyResponse,\n CheckoutFormMessages,\n CheckoutType,\n CodeBlockData,\n CollapsibleListData,\n ColorData,\n Colors,\n CommonAddress,\n CommonAddressLocation,\n CommonAddressStreetOneOf,\n CommonMoney,\n CommonStreetAddress,\n CommonSubdivision,\n ConferenceType,\n CopiedTicketDefinition,\n CountAvailableTicketDefinitionsOptions,\n CountAvailableTicketDefinitionsRequest,\n CountAvailableTicketDefinitionsResponse,\n CountTicketDefinitionsOptions,\n CountTicketDefinitionsRequest,\n CountTicketDefinitionsResponse,\n CreateTicketDefinitionOptions,\n CreateTicketDefinitionRequest,\n CreateTicketDefinitionResponse,\n Crop,\n CursorPaging,\n Cursors,\n CustomTag,\n Dashboard,\n DateAndTimeSettings,\n Decoration,\n DecorationDataOneOf,\n DecorationType,\n DeleteContext,\n DeleteStatus,\n DeleteTicketDefinitionRequest,\n DeleteTicketDefinitionResponse,\n Design,\n DesignTarget,\n Dimensions,\n Direction,\n DividerData,\n DividerDataAlignment,\n DocumentStyle,\n DomainEvent,\n DomainEventBodyOneOf,\n EmbedData,\n Empty,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n Event,\n EventCanceled,\n EventCreated,\n EventData,\n EventDeleted,\n EventDetails,\n EventDisplaySettings,\n EventEnded,\n EventMetadata,\n EventStatus,\n EventTicketingSummary,\n EventType,\n EventUpdated,\n EventsLocation,\n EventsOccurrence,\n EventsRecurrenceStatusStatus,\n EventsRecurrences,\n ExtendedFields,\n ExternalEvent,\n FacetCounts,\n FeeTypeEnumType,\n Feed,\n Field,\n File,\n FileData,\n FileSource,\n FileSourceDataOneOf,\n FontFamilyData,\n FontSizeData,\n FontType,\n Form,\n FormMessages,\n Formatted,\n GIF,\n GIFData,\n GIFType,\n GalleryData,\n GalleryOptions,\n GalleryOptionsLayout,\n GetTicketDefinitionFromTrashBinRequest,\n GetTicketDefinitionFromTrashBinResponse,\n GetTicketDefinitionOptions,\n GetTicketDefinitionRequest,\n GetTicketDefinitionResponse,\n GetTicketDefinitionSummaryRequest,\n GetTicketDefinitionSummaryResponse,\n Gradient,\n GuestListConfig,\n HTMLData,\n HTMLDataDataOneOf,\n HeadingData,\n Height,\n IdentificationData,\n IdentificationDataIdOneOf,\n Image,\n ImageData,\n ImageDataStyles,\n ImagePosition,\n ImageStyles,\n InitialExpandedItems,\n Input,\n InputControl,\n InputControlType,\n InvalidateCache,\n InvalidateCacheGetByOneOf,\n Item,\n ItemDataOneOf,\n ItemStyle,\n Keyword,\n Label,\n LabellingSettings,\n Layout,\n LayoutCellData,\n LayoutData,\n LayoutType,\n LineStyle,\n Link,\n LinkData,\n LinkDataOneOf,\n LinkPreviewData,\n LinkPreviewDataStyles,\n ListEventTicketingSummaryRequest,\n ListEventTicketingSummaryResponse,\n ListValue,\n Location,\n LocationLocationType,\n LocationType,\n MapCoordinates,\n MapData,\n MapSettings,\n MapType,\n Media,\n MentionData,\n MessageEnvelope,\n MetaSiteSpecialEvent,\n MetaSiteSpecialEventPayloadOneOf,\n Metadata,\n Money,\n Namespace,\n NamespaceChanged,\n Negative,\n NegativeResponseConfirmation,\n Node,\n NodeDataOneOf,\n NodeStyle,\n NodeType,\n NullValue,\n Occurrence,\n OdeditorAssigned,\n OdeditorUnassigned,\n Oembed,\n OnlineConferencing,\n OnlineConferencingConfig,\n OnlineConferencingSession,\n Option,\n OptionDesign,\n OptionDetails,\n OptionLayout,\n OptionSelection,\n OptionSelectionSelectedOptionOneOf,\n OrderedListData,\n Orientation,\n PDFSettings,\n Page,\n Paging,\n PagingMetadataV2,\n ParagraphData,\n Permissions,\n PicassoAssigned,\n PicassoUnassigned,\n Placement,\n PlaybackOptions,\n PluginContainerData,\n PluginContainerDataAlignment,\n PluginContainerDataWidth,\n PluginContainerDataWidthDataOneOf,\n Poll,\n PollData,\n PollDataLayout,\n PollDesign,\n PollLayout,\n PollLayoutDirection,\n PollLayoutType,\n PollSettings,\n Position,\n Positive,\n PositiveResponseConfirmation,\n PricingData,\n PricingMethod,\n PricingMethodPriceOneOf,\n PricingOptions,\n PricingTypeEnumType,\n QueryAvailableTicketDefinitionsOptions,\n QueryAvailableTicketDefinitionsRequest,\n QueryAvailableTicketDefinitionsResponse,\n QueryTicketDefinitionsOptions,\n QueryTicketDefinitionsRequest,\n QueryTicketDefinitionsResponse,\n QueryV2,\n QueryV2PagingMethodOneOf,\n RecurrenceStatusStatus,\n Recurrences,\n Registration,\n RegistrationClosedMessages,\n RegistrationStatus,\n Rel,\n ReorderTicketDefinitionsOptions,\n ReorderTicketDefinitionsOptionsReferenceDefinitionOneOf,\n ReorderTicketDefinitionsRequest,\n ReorderTicketDefinitionsRequestReferenceDefinitionOneOf,\n ReorderTicketDefinitionsResponse,\n Resizing,\n ResponseConfirmation,\n ResponsivenessBehaviour,\n RestoreInfo,\n RibbonStyles,\n RichContent,\n RsvpCollection,\n RsvpCollectionConfig,\n RsvpConfirmationMessages,\n RsvpConfirmationMessagesNegativeResponseConfirmation,\n RsvpConfirmationMessagesPositiveResponseConfirmation,\n RsvpFormMessages,\n RsvpStatusOptions,\n RsvpSummary,\n SalePeriod,\n SalePeriodUpdated,\n SaleStatusEnumStatus,\n SalesDetails,\n Scaling,\n ScheduleConfig,\n ScheduleLegacyTimeCapsuleTaskRequest,\n Scheduling,\n SeatingDetails,\n SeatingPlanCategoriesSummaryUpdated,\n SeoSchema,\n SeoSettings,\n ServiceProvisioned,\n ServiceRemoved,\n Settings,\n SiteCreated,\n SiteCreatedContext,\n SiteDeleted,\n SiteHardDeleted,\n SiteMarkedAsTemplate,\n SiteMarkedAsWixSite,\n SitePublished,\n SitePurgedExternally,\n SiteRenamed,\n SiteTransferred,\n SiteUndeleted,\n SiteUnpublished,\n SiteUrl,\n SiteUrlChanged,\n SortOrder,\n Sorting,\n Source,\n Spoiler,\n SpoilerData,\n State,\n Status,\n StreetAddress,\n StudioAssigned,\n StudioTwoAssigned,\n StudioTwoUnassigned,\n StudioUnassigned,\n Styles,\n StylesBorder,\n StylesPosition,\n Subdivision,\n SubdivisionSubdivisionType,\n SubdivisionType,\n TableCellData,\n TableData,\n Tag,\n Target,\n TaxConfig,\n TaxType,\n TextAlignment,\n TextData,\n TextNodeStyle,\n TextStyle,\n Thumbnails,\n ThumbnailsAlignment,\n TicketDefinition,\n TicketDefinitionCreatedEnvelope,\n TicketDefinitionDeletedEnvelope,\n TicketDefinitionQuerySpec,\n TicketDefinitionSaleEnded,\n TicketDefinitionSaleEndedEnvelope,\n TicketDefinitionSalePeriodUpdatedEnvelope,\n TicketDefinitionSaleStarted,\n TicketDefinitionSaleStartedEnvelope,\n TicketDefinitionSummary,\n TicketDefinitionUpdatedEnvelope,\n TicketDefinitionsQueryBuilder,\n TicketDefinitionsQueryResult,\n Ticketing,\n TicketingConfig,\n TicketingSummary,\n TicketsConfirmationMessages,\n TicketsUnavailableMessages,\n Type,\n URI,\n UpdateEventTicketingSummaryRequest,\n UpdateEventTicketingSummaryResponse,\n UpdateFeeTypesBasedOnSettingsRequest,\n UpdateFeeTypesBasedOnSettingsResponse,\n UpdateTicketDefinition,\n UpdateTicketDefinitionOptions,\n UpdateTicketDefinitionRequest,\n UpdateTicketDefinitionResponse,\n UpdateTicketDefinitionSortIndexRequest,\n UpdateTicketDefinitionSortIndexResponse,\n ValueType,\n VerticalAlignment,\n VerticalAlignmentAlignment,\n Video,\n VideoData,\n ViewMode,\n ViewRole,\n VisitorType,\n VoteRole,\n WebhookIdentityType,\n Width,\n WidthType,\n WixelAssigned,\n WixelUnassigned,\n} from './events-v3-ticket-definition-ticket-definitions-v-2.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport {\n HttpClient,\n HttpResponse,\n NonNullablePaths,\n QuerySpec,\n Query as QuerySdkType,\n} from '@wix/sdk-types';\nimport * as ambassadorWixEventsV3TicketDefinition from './events-v3-ticket-definition-ticket-definitions-v-2.http.js';\n// @ts-ignore\nimport { transformSDKAddressToRESTAddress } from '@wix/sdk-runtime/transformations/address';\nimport { transformRESTAddressToSDKAddress } from '@wix/sdk-runtime/transformations/address';\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 * A Ticket Definition is a reusable configuration for an event that specifies ticket settings such as pricing, service fee handling, availability limits, and sale period.\n *\n * You can use Ticket Definitions to define and manage ticket types, control inventory and sale windows, and automate updates via the API.\n *\n * Read more about [Ticket Definitions](https://support.wix.com/en/article/creating-tickets-for-your-event).\n */\nexport interface TicketDefinition {\n /**\n * Ticket definition ID.\n * @format GUID\n * @readonly\n */\n _id?: string | null;\n /**\n * Event ID to which the ticket definition belongs.\n * @format GUID\n * @immutable\n */\n eventId?: string | null;\n /**\n * Revision number, which increments by 1 each time the ticket definition is updated. To prevent conflicting changes, the existing `revision` must be used when updating a ticket definition.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the ticket definition was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time the ticket definition was updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Ticket definition name.\n * @minLength 1\n * @maxLength 30\n */\n name?: string | null;\n /**\n * Ticket definition description.\n * @maxLength 500\n */\n description?: string | null;\n /**\n * Ticket definition policy.\n * @maxLength 1000\n */\n policyText?: string | null;\n /** Whether this ticket definition is hidden from site visitors and can't be purchased. */\n hidden?: boolean;\n /**\n * Whether the ticket has a limited maximum quantity.\n * @readonly\n */\n limited?: boolean;\n /** The maximum number of tickets that can be sold for the event when first defining the event. If a seating map is defined after you created a ticket definition, this property is ignored and `actualLimit` is used instead. */\n initialLimit?: number | null;\n /**\n * The maximum number of tickets that can be sold for the event after adding a seating map to the event. If no seating map is defined, this property is the same as `initialLimit`.\n * @readonly\n */\n actualLimit?: number | null;\n /** Ticket pricing method. */\n pricingMethod?: PricingMethod;\n /** Type of ticket service fee to collect. */\n feeType?: FeeTypeEnumTypeWithLiterals;\n /** Ticket sale period. */\n salePeriod?: SalePeriod;\n /**\n * Ticket sale status.\n * @readonly\n */\n saleStatus?: SaleStatusEnumStatusWithLiterals;\n /**\n * Ticket sales information. <br> <br>\n * **Note:** This field is only returned when `SALES_DETAILS` is specified in `field` in the request.\n * @readonly\n */\n salesDetails?: SalesDetails;\n /**\n * Number of tickets that can be purchased per checkout. <br> <br>\n * **Note:** If the `actualLimit` or `salesDetails.unsoldCount` field value is smaller than `limitPerCheckout`, then it overrides this field.\n * @readonly\n * @max 50\n */\n limitPerCheckout?: number | null;\n /** Data extensions. */\n extendedFields?: ExtendedFields;\n /**\n * Information about the even the ticket is for. <br>\n * **Note:** This field is only returned when `EVENT_DETAILS` is specified in `field` in the request.\n * @readonly\n */\n eventDetails?: EventDetails;\n /**\n * Seating information including available seats and areas for this ticket definition. <br>\n * **Note:** This field is only returned when `SEATING_DETAILS` is specified in `field` in the request, and when the event has a [seating plan](https://support.wix.com/en/article/wix-events-creating-a-seating-map).\n * @readonly\n */\n seatingDetails?: SeatingDetails;\n}\n\nexport interface SalePeriod {\n /** Date and time the ticket sale starts. */\n startDate?: Date | null;\n /** Date and time the ticket sale ends. */\n endDate?: Date | null;\n /** Whether to display the ticket if it's not available to buy. */\n displayNotOnSale?: boolean;\n}\n\nexport interface PricingMethod extends PricingMethodPriceOneOf {\n /** Same ticket price for everyone. */\n fixedPrice?: CommonMoney;\n /** Guests choose how much they'd like to pay for the ticket. You can set the minimum price, or specify `\"0\"` in the request to make the ticket free. The price can be updated to a higher amount by a guest during the checkout. */\n guestPrice?: CommonMoney;\n /** Sets of various ticket prices. For example, you can charge different prices for children and adults. */\n pricingOptions?: PricingOptions;\n /**\n * Ticket price type.\n * @readonly\n */\n pricingType?: PricingTypeEnumTypeWithLiterals;\n /**\n * Whether the ticket is free. To create a free ticket, enter `\"0\"` in `pricingMethod.fixedPrice.value`.\n * @readonly\n */\n free?: boolean;\n}\n\n/** @oneof */\nexport interface PricingMethodPriceOneOf {\n /** Same ticket price for everyone. */\n fixedPrice?: CommonMoney;\n /** Guests choose how much they'd like to pay for the ticket. You can set the minimum price, or specify `\"0\"` in the request to make the ticket free. The price can be updated to a higher amount by a guest during the checkout. */\n guestPrice?: CommonMoney;\n /** Sets of various ticket prices. For example, you can charge different prices for children and adults. */\n pricingOptions?: PricingOptions;\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 CommonMoney {\n /**\n * Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, a single (-), to indicate that the amount is negative.\n * @format DECIMAL_VALUE\n */\n value?: string;\n /**\n * Currency code. Must be a valid [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code (e.g., USD).\n * @format CURRENCY\n */\n currency?: string;\n}\n\nexport interface PricingOptions {\n /**\n * Ticket price options.\n * @maxSize 100\n */\n optionDetails?: OptionDetails[];\n}\n\nexport interface OptionDetails {\n /**\n * Ticket price option ID.\n * @format GUID\n */\n optionId?: string | null;\n /**\n * Ticket price option name, such as \"Child Ticket\".\n * @minLength 1\n * @maxLength 200\n */\n name?: string | null;\n /** Ticket price. */\n price?: CommonMoney;\n}\n\nexport enum PricingTypeEnumType {\n /** Undefined pricing type. */\n UNKNOWN_PRICING_TYPE = 'UNKNOWN_PRICING_TYPE',\n /** All money goes to a seller. Applies to all ticket pricing methods except for `guestPrice`. */\n STANDARD = 'STANDARD',\n /** All collected money is a donation. This pricing type is automatically assigned when you select the `guestPrice` pricing method. */\n DONATION = 'DONATION',\n}\n\n/** @enumType */\nexport type PricingTypeEnumTypeWithLiterals =\n | PricingTypeEnumType\n | 'UNKNOWN_PRICING_TYPE'\n | 'STANDARD'\n | 'DONATION';\n\nexport enum FeeTypeEnumType {\n /** Unknown fee type. */\n UNKNOWN_FEE_TYPE = 'UNKNOWN_FEE_TYPE',\n /** The fee is deducted from the ticket price for a seller. <br><br> For example, if you're selling tickets for $10, then a ticket service fee of $0.25 will be deducted from the price and you'll get $9.75. */\n FEE_INCLUDED = 'FEE_INCLUDED',\n /** The fee is shown in addition to the ticket price at checkout and a guest pays the fee. <br><br> For example, if you sell tickets for $10, a customer will see a ticket service fee of $0.25 and will pay $10.25 in total. */\n FEE_ADDED_AT_CHECKOUT = 'FEE_ADDED_AT_CHECKOUT',\n /** Ticket service fee isn't collected. Available only for free tickets and legacy Wix users. */\n NO_FEE = 'NO_FEE',\n}\n\n/** @enumType */\nexport type FeeTypeEnumTypeWithLiterals =\n | FeeTypeEnumType\n | 'UNKNOWN_FEE_TYPE'\n | 'FEE_INCLUDED'\n | 'FEE_ADDED_AT_CHECKOUT'\n | 'NO_FEE';\n\nexport enum SaleStatusEnumStatus {\n /** Undefined sale status. */\n UNKNOWN_SALE_STATUS = 'UNKNOWN_SALE_STATUS',\n /** Tickets aren't on sale yet. */\n SALE_SCHEDULED = 'SALE_SCHEDULED',\n /** Tickets are on sale. */\n SALE_STARTED = 'SALE_STARTED',\n /** Tickets are no longer on sale. */\n SALE_ENDED = 'SALE_ENDED',\n}\n\n/** @enumType */\nexport type SaleStatusEnumStatusWithLiterals =\n | SaleStatusEnumStatus\n | 'UNKNOWN_SALE_STATUS'\n | 'SALE_SCHEDULED'\n | 'SALE_STARTED'\n | 'SALE_ENDED';\n\nexport interface SalesDetails {\n /**\n * Number of tickets that haven't been purchased yet. The field is `null` if the ticket quantity is unlimited.\n * @readonly\n */\n unsoldCount?: number | null;\n /**\n * Number of purchased tickets.\n * @readonly\n */\n soldCount?: number | null;\n /**\n * Number of reserved tickets.\n * @readonly\n */\n reservedCount?: number | null;\n /**\n * Whether the tickets are sold out.\n * @readonly\n */\n soldOut?: boolean | null;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface EventDetails {\n /**\n * Event title.\n * @minLength 1\n * @maxLength 120\n * @readonly\n */\n title?: string | null;\n /**\n * Short description of the event.\n * @maxLength 500\n * @readonly\n */\n shortDescription?: string | null;\n /**\n * Event location.\n * @readonly\n */\n location?: Location;\n /**\n * Event date and time settings.\n * @readonly\n */\n dateAndTimeSettings?: DateAndTimeSettings;\n /**\n * Event page URL components.\n * @readonly\n */\n eventPageUrl?: string;\n /**\n * Event status.\n * @readonly\n */\n status?: StatusWithLiterals;\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?: CommonAddress;\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 CommonAddress extends CommonAddressStreetOneOf {\n /** Street address. */\n streetAddress?: CommonStreetAddress;\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 CommonAddressStreetOneOf {\n /** Street address. */\n streetAddress?: CommonStreetAddress;\n /**\n * Primary address information (street and building number).\n * @maxLength 250\n */\n addressLine?: string | null;\n}\n\nexport interface CommonStreetAddress {\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 CommonAddressLocation {\n /**\n * Address latitude coordinates.\n * @min -90\n * @max 90\n */\n latitude?: number | null;\n /**\n * Address longitude coordinates.\n * @min -180\n * @max 180\n */\n longitude?: number | null;\n}\n\nexport interface CommonSubdivision {\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 SubdivisionSubdivisionType {\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 SubdivisionSubdivisionTypeWithLiterals =\n | SubdivisionSubdivisionType\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:** This field is only returned when the `dateAndTimeTbd` field value is `false`.\n */\n startDate?: Date | null;\n /**\n * Event end date.\n *\n * **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.\n */\n endDate?: Date | null;\n /**\n * Event time zone ID in the [TZ database](https://www.iana.org/time-zones) format.\n *\n * **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.\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\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 SeatingDetails {\n /**\n * List of available places.\n * @maxSize 50000\n */\n places?: AvailablePlace[];\n}\n\nexport interface AvailablePlace {\n /**\n * Place ID in the format `{sectionId}-{elementId}-{label}`. For example, `0-1-A5`.\n * @minLength 1\n * @maxLength 20\n * @readonly\n */\n placeId?: string;\n /**\n * Human-readable label for this place, such as `A1`, `12`, or `VIP1`.\n * @minLength 1\n * @maxLength 4\n * @readonly\n */\n label?: string;\n /**\n * High-level division of the venue, where the place is located, such as `Orchestra`, `Balcony`, or `VIP Section`.\n * @minLength 1\n * @maxLength 20\n * @readonly\n */\n sectionLabel?: string | null;\n /**\n * Seating element within the section, such as `Row`, `Table`, or `General Admission`.\n * @minLength 1\n * @maxLength 50\n * @readonly\n */\n elementLabel?: string | null;\n /**\n * Available capacity at this place.\n *\n * For general seating type returns the number of remaining spots.\n *\n * For other types returns `1`. For example, if a table has 5 chairs, each chair is treated as a separate place, which has a capacity of 1.\n * @max 50000\n * @readonly\n */\n availableCapacity?: number;\n}\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /**\n * tell us why you're invalidating the cache. You don't need to add your app name\n * @maxLength 256\n */\n reason?: string | null;\n /** Is local DS */\n localDc?: boolean;\n hardPurge?: boolean;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n}\n\nexport interface App {\n /**\n * The AppDefId\n * @minLength 1\n */\n appDefId?: string;\n /**\n * The instance Id\n * @format GUID\n */\n instanceId?: string;\n}\n\nexport interface Page {\n /**\n * the msid the page is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Page ID\n * @minLength 1\n */\n pageId?: string;\n}\n\nexport interface URI {\n /**\n * the msid the URI is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @minLength 1\n */\n uriPath?: string;\n}\n\nexport interface File {\n /**\n * the msid the file is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by filename (for media files such as PDFs)\n * @minLength 1\n * @maxLength 256\n */\n fileName?: string;\n}\n\nexport interface CustomTag {\n /**\n * the msid the tag is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Tag to invalidate by\n * @minLength 1\n * @maxLength 256\n */\n tag?: string;\n}\n\nexport interface SalePeriodUpdated {\n /** Ticket definition sale period after update. */\n afterUpdate?: SalePeriod;\n}\n\nexport interface TicketDefinitionSaleStarted {\n /** Ticket definition. */\n ticketDefinition?: TicketDefinition;\n}\n\nexport interface TicketDefinitionSaleEnded {\n /** Ticket definition. */\n ticketDefinition?: TicketDefinition;\n}\n\nexport interface CreateTicketDefinitionRequest {\n /** Ticket definition info. */\n ticketDefinition: TicketDefinition;\n /**\n * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\nexport enum Field {\n /** Unknown requested field. */\n UNKNOWN_REQUESTED_FIELD = 'UNKNOWN_REQUESTED_FIELD',\n /** Returns `salesDetails` in the response. */\n SALES_DETAILS = 'SALES_DETAILS',\n /** Returns `eventDetails` in the response. */\n EVENT_DETAILS = 'EVENT_DETAILS',\n /** Returns `seatingDetails` with available seats in the response. */\n SEATING_DETAILS = 'SEATING_DETAILS',\n}\n\n/** @enumType */\nexport type FieldWithLiterals =\n | Field\n | 'UNKNOWN_REQUESTED_FIELD'\n | 'SALES_DETAILS'\n | 'EVENT_DETAILS'\n | 'SEATING_DETAILS';\n\nexport interface CreateTicketDefinitionResponse {\n /** Created ticket definition. */\n ticketDefinition?: TicketDefinition;\n}\n\nexport interface UpdateTicketDefinitionRequest {\n /** Ticket definition to update. */\n ticketDefinition: TicketDefinition;\n /**\n * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\nexport interface UpdateTicketDefinitionResponse {\n /** The updated ticket definition. */\n ticketDefinition?: TicketDefinition;\n}\n\nexport interface GetTicketDefinitionRequest {\n /**\n * Ticket definition ID.\n * @format GUID\n */\n ticketDefinitionId: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\nexport interface GetTicketDefinitionResponse {\n /** The requested ticket definition. */\n ticketDefinition?: TicketDefinition;\n}\n\nexport interface DeleteTicketDefinitionRequest {\n /**\n * ID of the ticket definition to delete.\n * @format GUID\n */\n ticketDefinitionId: string;\n}\n\nexport interface DeleteTicketDefinitionResponse {}\n\nexport interface ReorderTicketDefinitionsRequest\n extends ReorderTicketDefinitionsRequestReferenceDefinitionOneOf {\n /**\n * Move the given `definitionId` before the referenced ticket definition.\n * @format GUID\n */\n beforeDefinitionId?: string;\n /**\n * Move the given `definitionId` after the referenced ticket definition.\n * @format GUID\n */\n afterDefinitionId?: string;\n /**\n * Event ID.\n * @format GUID\n */\n eventId: string;\n /**\n * Ticket definition ID.\n * @format GUID\n */\n ticketDefinitionId: string;\n}\n\n/** @oneof */\nexport interface ReorderTicketDefinitionsRequestReferenceDefinitionOneOf {\n /**\n * Move the given `definitionId` before the referenced ticket definition.\n * @format GUID\n */\n beforeDefinitionId?: string;\n /**\n * Move the given `definitionId` after the referenced ticket definition.\n * @format GUID\n */\n afterDefinitionId?: string;\n}\n\nexport interface ReorderTicketDefinitionsResponse {}\n\nexport interface UpdateTicketDefinitionSortIndexRequest {\n /**\n * Ticket definition ID\n * @format GUID\n */\n ticketDefinitionId?: string;\n /** The revision of the ticket definition */\n revision?: string;\n /** the sort index of a ticket definition to set */\n sortIndex?: number;\n /**\n * Requested fields.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\nexport interface UpdateTicketDefinitionSortIndexResponse {\n /** the updated ticket definition */\n ticketDefinition?: TicketDefinition;\n}\n\nexport interface QueryTicketDefinitionsRequest {\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 * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n /** Paging options to limit and skip 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` parameters. */\n cursorPaging?: CursorPaging;\n /** Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\", \"fieldName2\":{\"$operator\":\"value2\"} }`. <br/> <br/> **Example:** <br/> `\"filter\" : { \"id\": \"2224a9d1-79e6-4549-a5c5-bf7ce5aac1a5\", \"revision\": {\"$ne\":\"1\"} }` */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format: <br/> `[{\"fieldName\":\"sortField1\"},{\"fieldName\":\"sortField2\",\"direction\":\"DESC\"}]` <br/> <br/> **Example:** <br/> `[{\"fieldName\":\"createdDate\",\"direction\":\"DESC\"}]` <br/> <br/> See [supported fields](https://dev.wix.com/api/rest/wix-events/policy-v2/filter-and-sort) for more information.\n * @maxSize 10\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n /** Paging options to limit and skip 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` parameters. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 100\n */\n fieldName?: string;\n /** Defaults to `ASC` */\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 per page. */\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 * Number of items to load per page.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n * You can get the relevant cursor token\n * 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 QueryTicketDefinitionsResponse {\n /** List of ticket definitions. */\n ticketDefinitions?: TicketDefinition[];\n /** Metadata for the paginated results. */\n metadata?: PagingMetadataV2;\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 pointing to next page in the list of results.\n * @maxLength 36\n */\n next?: string | null;\n /**\n * Cursor pointing to previous page in the list of results.\n * @maxLength 36\n */\n prev?: string | null;\n}\n\nexport interface QueryAvailableTicketDefinitionsRequest {\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 * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\nexport interface QueryAvailableTicketDefinitionsResponse {\n /** List of ticket definitions. */\n ticketDefinitions?: TicketDefinition[];\n /** Metadata for the paginated results. */\n metadata?: PagingMetadataV2;\n}\n\nexport interface CountTicketDefinitionsRequest {\n /** Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\" }`. */\n filter?: Record<string, any> | null;\n /**\n * Parameters to count ticket definitions by.\n *\n * - Max: 20 facets.\n * @maxLength 100\n * @maxSize 20\n */\n facet?: string[];\n}\n\nexport interface CountTicketDefinitionsResponse {\n /** Metadata for the paginated results. */\n metadata?: PagingMetadataV2;\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 CountAvailableTicketDefinitionsRequest {\n /** Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\" }`. */\n filter?: Record<string, any> | null;\n}\n\nexport interface CountAvailableTicketDefinitionsResponse {\n /** Metadata for the paginated results. */\n metadata?: PagingMetadataV2;\n}\n\nexport interface BulkDeleteTicketDefinitionsByFilterRequest {\n /** Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\" }`. <br/> <br/> **Example:** <br/> `\"filter\" : { \"eventId\": \"3d3d5c04-ece0-45a8-85f0-11a58edaa192\" }` */\n filter: Record<string, any> | null;\n}\n\nexport interface BulkDeleteTicketDefinitionsByFilterResponse {}\n\nexport interface ChangeCurrencyRequest {\n /**\n * Event ID.\n * @format GUID\n */\n eventId: string;\n /**\n * Ticket price currency in 3-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.\n * @minLength 3\n * @maxLength 3\n */\n currency: string;\n}\n\nexport interface ChangeCurrencyResponse {}\n\nexport interface BulkCopyTicketDefinitionsByEventIdRequest {\n /**\n * Origin instance ID.\n * @format GUID\n */\n originInstanceId?: string | null;\n /**\n * Origin Event ID.\n * @format GUID\n */\n originEventId?: string;\n /**\n * Target Event ID.\n * @format GUID\n */\n targetEventId?: string;\n}\n\nexport interface BulkCopyTicketDefinitionsByEventIdResponse {\n /** Copied ticket definitions. */\n definitions?: CopiedTicketDefinition[];\n}\n\nexport interface CopiedTicketDefinition {\n /**\n * Origin Ticket definition ID.\n * @format GUID\n */\n originTicketDefinitionId?: string;\n /**\n * Ticket definition ID.\n * @format GUID\n */\n ticketDefinitionId?: string;\n}\n\nexport interface UpdateFeeTypesBasedOnSettingsRequest {\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 UpdateFeeTypesBasedOnSettingsResponse {}\n\nexport interface EventDeleted {\n /** Event deleted timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event title. */\n title?: string;\n /**\n * Event creator user ID.\n * @format GUID\n */\n userId?: string | null;\n}\n\nexport interface Empty {}\n\nexport interface EventCanceled {\n /** Event canceled timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event title */\n title?: string;\n /**\n * Event creator user ID.\n * @format GUID\n */\n userId?: string | null;\n /** True if at least one guest is registered to the event with any attendance status. */\n hasGuests?: boolean | null;\n}\n\nexport interface EventEnded {\n /** Event end timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** True if at least one guest is registered to the event with any attendance status. */\n hasGuests?: boolean | null;\n}\n\nexport interface EventCreated {\n /** Event created timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event location. */\n location?: EventsLocation;\n /** Event schedule configuration. */\n scheduleConfig?: ScheduleConfig;\n /** Event title. */\n title?: string;\n /**\n * Event creator user ID.\n * @maxLength 36\n */\n userId?: string | null;\n /** Event status. */\n status?: EventStatusWithLiterals;\n /**\n * Instance ID. Indicates the original app instance which current event was derived from.\n * @format GUID\n */\n derivedFromInstanceId?: string | null;\n /**\n * Event ID. Indicates the original event which current event was derived from.\n * @format GUID\n */\n derivedFromEventId?: string | null;\n /** Event that was created. */\n event?: Event;\n}\n\nexport interface EventsLocation {\n /**\n * Location name.\n * @maxLength 50\n */\n name?: string | null;\n /** Location map coordinates. */\n coordinates?: MapCoordinates;\n /**\n * Single line address representation.\n * @maxLength 300\n */\n address?: string | null;\n /** Location type. */\n type?: LocationLocationTypeWithLiterals;\n /**\n * Full address derived from formatted single line `address`.\n * When `full_address` is used to create or update the event, deprecated `address` and `coordinates` are ignored.\n * If provided `full_address` has empty `formatted_address` or `coordinates`, it will be auto-completed using Atlas service.\n *\n * Migration notes:\n * - `full_address.formatted_address` is equivalent to `address`.\n * - `full_address.geocode` is equivalent to `coordinates`.\n */\n fullAddress?: Address;\n /**\n * Defines event location as TBD (To Be Determined).\n * When event location is not yet defined, `name` is displayed instead of location address.\n * `coordinates`, `address`, `type` and `full_address` are not required when location is TBD.\n */\n tbd?: boolean | null;\n}\n\nexport interface MapCoordinates {\n /**\n * Latitude.\n * @min -90\n * @max 90\n */\n lat?: number;\n /**\n * Longitude.\n * @min -180\n * @max 180\n */\n lng?: number;\n}\n\nexport enum LocationLocationType {\n VENUE = 'VENUE',\n ONLINE = 'ONLINE',\n}\n\n/** @enumType */\nexport type LocationLocationTypeWithLiterals =\n | LocationLocationType\n | 'VENUE'\n | 'ONLINE';\n\n/** Physical address */\nexport interface Address extends AddressStreetOneOf {\n /** a break down of the street to number and street name */\n streetAddress?: StreetAddress;\n /** Main address line (usually street and number) as free text */\n addressLine1?: string | null;\n /**\n * country code\n * @format COUNTRY\n */\n country?: string | null;\n /** subdivision (usually state or region) code according to ISO 3166-2 */\n subdivision?: string | null;\n /** city name */\n city?: string | null;\n /** zip/postal code */\n postalCode?: string | null;\n /** Free text providing more detailed address info. Usually contains Apt, Suite, Floor */\n addressLine2?: string | null;\n /** A string containing the human-readable address of this location */\n formatted?: string | null;\n /** Free text for human-to-human textual orientation aid purposes */\n hint?: string | null;\n /** coordinates of the physical address */\n location?: AddressLocation;\n /** country full-name */\n countryFullname?: string | null;\n /**\n * multi-level subdivisions from top to bottom\n * @maxSize 6\n */\n subdivisions?: Subdivision[];\n}\n\n/** @oneof */\nexport interface AddressStreetOneOf {\n /** a break down of the street to number and street name */\n streetAddress?: StreetAddress;\n /** Main address line (usually street and number) as free text */\n addressLine?: string | null;\n}\n\nexport interface StreetAddress {\n /** street number */\n number?: string;\n /** street name */\n name?: string;\n}\n\nexport interface AddressLocation {\n /**\n * address latitude coordinates\n * @min -90\n * @max 90\n */\n latitude?: number | null;\n /**\n * address longitude coordinates\n * @min -180\n * @max 180\n */\n longitude?: number | null;\n}\n\nexport interface Subdivision {\n /** subdivision short code */\n code?: string;\n /** subdivision full-name */\n name?: string;\n}\n\nexport enum SubdivisionType {\n UNKNOWN_SUBDIVISION_TYPE = 'UNKNOWN_SUBDIVISION_TYPE',\n /** State */\n ADMINISTRATIVE_AREA_LEVEL_1 = 'ADMINISTRATIVE_AREA_LEVEL_1',\n /** County */\n ADMINISTRATIVE_AREA_LEVEL_2 = 'ADMINISTRATIVE_AREA_LEVEL_2',\n /** City/town */\n ADMINISTRATIVE_AREA_LEVEL_3 = 'ADMINISTRATIVE_AREA_LEVEL_3',\n /** Neighborhood/quarter */\n ADMINISTRATIVE_AREA_LEVEL_4 = 'ADMINISTRATIVE_AREA_LEVEL_4',\n /** Street/block */\n ADMINISTRATIVE_AREA_LEVEL_5 = 'ADMINISTRATIVE_AREA_LEVEL_5',\n /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */\n COUNTRY = 'COUNTRY',\n}\n\n/** @enumType */\nexport type SubdivisionTypeWithLiterals =\n | SubdivisionType\n | 'UNKNOWN_SUBDIVISION_TYPE'\n | 'ADMINISTRATIVE_AREA_LEVEL_1'\n | 'ADMINISTRATIVE_AREA_LEVEL_2'\n | 'ADMINISTRATIVE_AREA_LEVEL_3'\n | 'ADMINISTRATIVE_AREA_LEVEL_4'\n | 'ADMINISTRATIVE_AREA_LEVEL_5'\n | 'COUNTRY';\n\nexport interface ScheduleConfig {\n /**\n * Defines event as TBD (To Be Determined) schedule.\n * When event time is not yet defined, TBD message is displayed instead of event start and end times.\n * `startDate`, `endDate` and `timeZoneId` are not required when schedule is TBD.\n */\n scheduleTbd?: boolean;\n /**\n * TBD message.\n * @maxLength 100\n */\n scheduleTbdMessage?: string | null;\n /** Event start timestamp. */\n startDate?: Date | null;\n /** Event end timestamp. */\n endDate?: Date | null;\n /**\n * Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.\n * @maxLength 100\n */\n timeZoneId?: string | null;\n /** Whether end date is hidden in the formatted schedule. */\n endDateHidden?: boolean;\n /** Whether time zone is displayed in formatted schedule. */\n showTimeZone?: boolean;\n /** Event recurrences. */\n recurrences?: EventsRecurrences;\n}\n\nexport interface EventsRecurrences {\n /**\n * Event occurrences.\n * @maxSize 1000\n */\n occurrences?: EventsOccurrence[];\n /**\n * Recurring event category ID.\n * @readonly\n */\n categoryId?: string | null;\n /**\n * Recurrence status.\n * @readonly\n */\n status?: EventsRecurrenceStatusStatusWithLiterals;\n}\n\nexport interface EventsOccurrence {\n /** Event start timestamp. */\n startDate?: Date | null;\n /** Event end timestamp. */\n endDate?: Date | null;\n /**\n * Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.\n * @maxLength 100\n */\n timeZoneId?: string | null;\n /** Whether time zone is displayed in formatted schedule. */\n showTimeZone?: boolean;\n}\n\nexport enum EventsRecurrenceStatusStatus {\n /** Event occurs only once. */\n ONE_TIME = 'ONE_TIME',\n /** Event is recurring. */\n RECURRING = 'RECURRING',\n /** Marks the next upcoming occurrence of the recurring event. */\n RECURRING_NEXT = 'RECURRING_NEXT',\n /** Marks the most recent ended occurrence of the recurring event. */\n RECURRING_LAST_ENDED = 'RECURRING_LAST_ENDED',\n /** Marks the most recent canceled occurrence of the recurring event. */\n RECURRING_LAST_CANCELED = 'RECURRING_LAST_CANCELED',\n}\n\n/** @enumType */\nexport type EventsRecurrenceStatusStatusWithLiterals =\n | EventsRecurrenceStatusStatus\n | 'ONE_TIME'\n | 'RECURRING'\n | 'RECURRING_NEXT'\n | 'RECURRING_LAST_ENDED'\n | 'RECURRING_LAST_CANCELED';\n\nexport enum EventStatus {\n /** Event is public and scheduled to start */\n SCHEDULED = 'SCHEDULED',\n /** Event has started */\n STARTED = 'STARTED',\n /** Event has ended */\n ENDED = 'ENDED',\n /** Event was canceled */\n CANCELED = 'CANCELED',\n}\n\n/** @enumType */\nexport type EventStatusWithLiterals =\n | EventStatus\n | 'SCHEDULED'\n | 'STARTED'\n | 'ENDED'\n | 'CANCELED';\n\nexport interface Event {\n /**\n * Event ID.\n * @format GUID\n * @readonly\n */\n _id?: string;\n /** Event location. */\n location?: EventsLocation;\n /** Event scheduling. */\n scheduling?: Scheduling;\n /** Event title. */\n title?: string;\n /** Event description. */\n description?: string;\n /** Rich-text content that are displayed in a site's \"About Event\" section (HTML). */\n about?: string;\n /** Main event image. */\n mainImage?: string;\n /** Event slug URL (generated from event title). */\n slug?: string;\n /** ISO 639-1 language code of the event (used in content translations). */\n language?: string;\n /** Event creation timestamp. */\n created?: Date | null;\n /** Event modified timestamp. */\n modified?: Date | null;\n /** Event status. */\n status?: EventStatusWithLiterals;\n /** RSVP or ticketing registration details. */\n registration?: Registration;\n /** \"Add to calendar\" URLs. */\n calendarLinks?: CalendarLinks;\n /** Event page URL components. */\n eventPageUrl?: SiteUrl;\n /** Event registration form. */\n form?: Form;\n /** Event dashboard summary of RSVP / ticket sales. */\n dashboard?: Dashboard;\n /** Instance ID of the site where event is hosted. */\n instanceId?: string;\n /** Guest list configuration. */\n guestListConfig?: GuestListConfig;\n /**\n * Event creator user ID.\n * @maxLength 36\n */\n userId?: string;\n /** Event discussion feed. For internal use. */\n feed?: Feed;\n /** Online conferencing details. */\n onlineConferencing?: OnlineConferencing;\n /** SEO settings. */\n seoSettings?: SeoSettings;\n /** Assigned contacts label key. */\n assignedContactsLabel?: string | null;\n /** Agenda details. */\n agenda?: Agenda;\n /** Categories this event is assigned to. */\n categories?: Category[];\n /** Visual settings for event. */\n eventDisplaySettings?: EventDisplaySettings;\n /** Rich content that are displayed in a site's \"About Event\" section. Successor to `about` field. */\n longDescription?: RichContent;\n /**\n * Event publish timestamp.\n * @readonly\n */\n publishedDate?: Date | null;\n}\n\nexport interface Scheduling {\n /** Schedule configuration. */\n config?: ScheduleConfig;\n /** Formatted schedule representation. */\n formatted?: string;\n /** Formatted start date of the event (empty for TBD schedules). */\n startDateFormatted?: string;\n /** Formatted start time of the event (empty for TBD schedules). */\n startTimeFormatted?: string;\n /** Formatted end date of the event (empty for TBD schedules or when end date is hidden). */\n endDateFormatted?: string;\n /** Formatted end time of the event (empty for TBD schedules or when end date is hidden). */\n endTimeFormatted?: string;\n}\n\nexport interface Registration {\n /** Event type. */\n type?: EventTypeWithLiterals;\n /** Event registration status. */\n status?: RegistrationStatusWithLiterals;\n /** RSVP collection details. */\n rsvpCollection?: RsvpCollection;\n /** Ticketing details. */\n ticketing?: Ticketing;\n /** External registration details. */\n external?: ExternalEvent;\n /** Types of users allowed to register. */\n restrictedTo?: VisitorTypeWithLiterals;\n /** Initial event type which was set when creating an event. */\n initialType?: EventTypeWithLiterals;\n}\n\nexport enum EventType {\n /** Type not available for this request fieldset */\n NA_EVENT_TYPE = 'NA_EVENT_TYPE',\n /** Registration via RSVP */\n RSVP = 'RSVP',\n /** Registration via ticket purchase */\n TICKETS = 'TICKETS',\n /** External registration */\n EXTERNAL = 'EXTERNAL',\n /** Registration not available */\n NO_REGISTRATION = 'NO_REGISTRATION',\n}\n\n/** @enumType */\nexport type EventTypeWithLiterals =\n | EventType\n | 'NA_EVENT_TYPE'\n | 'RSVP'\n | 'TICKETS'\n | 'EXTERNAL'\n | 'NO_REGISTRATION';\n\nexport enum RegistrationStatus {\n /** Registration status is not applicable */\n NA_REGISTRATION_STATUS = 'NA_REGISTRATION_STATUS',\n /** Registration to event is closed */\n CLOSED = 'CLOSED',\n /** Registration to event is closed manually */\n CLOSED_MANUALLY = 'CLOSED_MANUALLY',\n /** Registration is open via RSVP */\n OPEN_RSVP = 'OPEN_RSVP',\n /** Registration to event waitlist is open via RSVP */\n OPEN_RSVP_WAITLIST = 'OPEN_RSVP_WAITLIST',\n /** Registration is open via ticket purchase */\n OPEN_TICKETS = 'OPEN_TICKETS',\n /** Registration is open via external URL */\n OPEN_EXTERNAL = 'OPEN_EXTERNAL',\n /** Registration will be open via RSVP */\n SCHEDULED_RSVP = 'SCHEDULED_RSVP',\n}\n\n/** @enumType */\nexport type RegistrationStatusWithLiterals =\n | RegistrationStatus\n | 'NA_REGISTRATION_STATUS'\n | 'CLOSED'\n | 'CLOSED_MANUALLY'\n | 'OPEN_RSVP'\n | 'OPEN_RSVP_WAITLIST'\n | 'OPEN_TICKETS'\n | 'OPEN_EXTERNAL'\n | 'SCHEDULED_RSVP';\n\nexport interface RsvpCollection {\n /** RSVP collection configuration. */\n config?: RsvpCollectionConfig;\n}\n\nexport interface RsvpCollectionConfig {\n /** Defines the supported RSVP statuses. */\n rsvpStatusOptions?: RsvpStatusOptionsWithLiterals;\n /**\n * Total guest limit available to register to the event.\n * Additional guests per RSVP are counted towards total guests.\n */\n limit?: number | null;\n /** Whether a waitlist is opened when total guest limit is reached, allowing guests to create RSVP with WAITING RSVP status. */\n waitlist?: boolean;\n /** Registration start timestamp. */\n startDate?: Date | null;\n /** Registration end timestamp. */\n endDate?: Date | null;\n}\n\nexport enum RsvpStatusOptions {\n /** Only YES RSVP status is available for RSVP registration */\n YES_ONLY = 'YES_ONLY',\n /** YES and NO RSVP status options are available for the registration */\n YES_AND_NO = 'YES_AND_NO',\n}\n\n/** @enumType */\nexport type RsvpStatusOptionsWithLiterals =\n | RsvpStatusOptions\n | 'YES_ONLY'\n | 'YES_AND_NO';\n\nexport interface RsvpConfirmationMessages {\n /** Messages displayed when an RSVP's `status` is set to `\"YES\"`. */\n positiveConfirmation?: RsvpConfirmationMessagesPositiveResponseConfirmation;\n /** Messages displayed when an RSVP's `status` is set to `\"WAITLIST\"`, for when the event is full and a waitlist is available). */\n waitlistMessages?: RsvpConfirmationMessagesPositiveResponseConfirmation;\n /** Messages displayed when an RSVP's `status` is set to `\"NO\"`. */\n negativeMessages?: RsvpConfirmationMessagesNegativeResponseConfirmation;\n}\n\n/** Confirmation shown after then registration when RSVP response is positive. */\nexport interface RsvpConfirmationMessagesPositiveResponseConfirmation {\n /**\n * Confirmation message title.\n * @maxLength 150\n */\n title?: string | null;\n /**\n * Confirmation message text.\n * @maxLength 350\n */\n message?: string | null;\n /**\n * \"Add to calendar\" call-to-action label text.\n * @maxLength 50\n */\n addToCalendarActionLabel?: string | null;\n /**\n * \"Share event\" call-to-action label text.\n * @maxLength 50\n */\n shareActionLabel?: string | null;\n}\n\n/** Confirmation shown after then registration when RSVP response is negative. */\nexport interface RsvpConfirmationMessagesNegativeResponseConfirmation {\n /**\n * Confirmation message title.\n * @maxLength 150\n */\n title?: string | null;\n /**\n * \"Share event\" call-to-action label text.\n * @maxLength 50\n */\n shareActionLabel?: string | null;\n}\n\nexport interface Ticketing {\n /**\n * Deprecated.\n * @deprecated\n */\n lowestPrice?: string | null;\n /**\n * Deprecated.\n * @deprecated\n */\n highestPrice?: string | null;\n /** Currency used in event transactions. */\n currency?: string | null;\n /** Ticketing configuration. */\n config?: TicketingConfig;\n /**\n * Price of lowest priced ticket.\n * @readonly\n */\n lowestTicketPrice?: Money;\n /**\n * Price of highest priced ticket.\n * @readonly\n */\n highestTicketPrice?: Money;\n /**\n * Formatted price of lowest priced ticket.\n * @readonly\n */\n lowestTicketPriceFormatted?: string | null;\n /**\n * Formatted price of highest priced ticket.\n * @readonly\n */\n highestTicketPriceFormatted?: string | null;\n /**\n * Whether all tickets are sold for this event.\n * @readonly\n */\n soldOut?: boolean | null;\n}\n\nexport interface TicketingConfig {\n /** Whether the form must be filled out separately for each ticket. */\n guestAssignedTickets?: boolean;\n /** Tax configuration. */\n taxConfig?: TaxConfig;\n /**\n * Limit of tickets that can be purchased per order, default 20.\n * @max 50\n */\n ticketLimitPerOrder?: number;\n /**\n * Duration for which the tickets being bought are reserved.\n * @min 5\n * @max 30\n */\n reservationDurationInMinutes?: number | null;\n}\n\nexport interface TaxConfig {\n /** Tax application settings. */\n type?: TaxTypeWithLiterals;\n /**\n * Tax name.\n * @minLength 1\n * @maxLength 10\n */\n name?: string | null;\n /**\n * Tax rate (e.g.,`21.55`).\n * @decimalValue options { gte:0.001, lte:100, maxScale:3 }\n */\n rate?: string | null;\n /** Applies taxes for donations, default true. */\n appliesToDonations?: boolean | null;\n}\n\nexport enum TaxType {\n /** Tax is included in the ticket price. */\n INCLUDED = 'INCLUDED',\n /** Tax is added to the order at the checkout. */\n ADDED = 'ADDED',\n /** Tax is added to the final total at the checkout. */\n ADDED_AT_CHECKOUT = 'ADDED_AT_CHECKOUT',\n}\n\n/** @enumType */\nexport type TaxTypeWithLiterals =\n | TaxType\n | 'INCLUDED'\n | 'ADDED'\n | 'ADDED_AT_CHECKOUT';\n\nexport interface TicketsConfirmationMessages {\n /**\n * Confirmation message title.\n * @maxLength 150\n */\n title?: string | null;\n /**\n * Confirmation message text.\n * @maxLength 350\n */\n message?: string | null;\n /**\n * \"Download tickets\" call-to-action label text.\n * @maxLength 50\n */\n downloadTicketsLabel?: string | null;\n /**\n * \"Add to calendar\" call-to-action label text.\n * @maxLength 50\n */\n addToCalendarActionLabel?: string | null;\n /**\n * \"Share event\" call-to-action label text.\n * @maxLength 50\n */\n shareActionLabel?: string | null;\n}\n\nexport 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 Money {\n /**\n * *Deprecated:** Use `value` instead.\n * @format DECIMAL_VALUE\n * @deprecated\n */\n amount?: string;\n /**\n * 3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `USD`.\n * @format CURRENCY\n */\n currency?: string;\n /**\n * Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, starts with a single (-), to indicate that the amount is negative.\n * @format DECIMAL_VALUE\n */\n value?: string | null;\n}\n\nexport interface ExternalEvent {\n /** External event registration URL. */\n registration?: string;\n}\n\nexport enum VisitorType {\n /** Site visitor (including member) */\n VISITOR = 'VISITOR',\n /** Site member */\n MEMBER = 'MEMBER',\n /** Site visitor or member */\n VISITOR_OR_MEMBER = 'VISITOR_OR_MEMBER',\n}\n\n/** @enumType */\nexport type VisitorTypeWithLiterals =\n | VisitorType\n | 'VISITOR'\n | 'MEMBER'\n | 'VISITOR_OR_MEMBER';\n\nexport interface CalendarLinks {\n /** \"Add to Google calendar\" URL. */\n google?: string;\n /** \"Download ICS calendar file\" URL. */\n ics?: string;\n}\n\n/** Site URL components */\nexport interface SiteUrl {\n /**\n * Base URL. For premium sites, this will be the domain.\n * For free sites, this would be site URL (e.g `mysite.wixsite.com/mysite`)\n */\n base?: string;\n /** The path to that page - e.g `/my-events/weekly-meetup-2` */\n path?: string;\n}\n\n/**\n * The form defines which elements are displayed to a site visitor during the registration process (RSVP or checkout).\n * It also contains customizable messages and labels.\n *\n *\n * A form is an ordered list of controls (blocks), which accept guest information into a field input.\n *\n * Each control contains one or more nested inputs. For example, `Name` control has two inputs:\n * - First Name\n * - Last Name\n *\n * By default, name and email controls are always required and are pinned to the top of the form.\n */\nexport interface Form {\n /** Nested fields as an ordered list. */\n controls?: InputControl[];\n /**\n * Set of defined form messages displayed in the UI before, during, and after a registration flow.\n * Includes the configuration of form titles, response labels, \"thank you\" messages, and call-to-action texts.\n */\n messages?: FormMessages;\n}\n\n/**\n * A block of nested fields.\n * Used to aggregate similar inputs like First Name and Last Name.\n */\nexport interface InputControl {\n /** Field control type. */\n type?: InputControlTypeWithLiterals;\n /** Whether the control is mandatory (such as `name` & `email`). When `true`, only the label can be changed. */\n system?: boolean;\n /**\n * Deprecated: Use `id` or `_id`.\n * @deprecated\n */\n name?: string;\n /** Child inputs. */\n inputs?: Input[];\n /**\n * *Deprecated:** Use `controls.inputs.label`.\n * @deprecated\n */\n label?: string;\n /** Field controls are sorted by this value in ascending order. */\n orderIndex?: number;\n /** Unique control ID. */\n _id?: string;\n /**\n * Whether the input control is deleted.\n * @readonly\n */\n deleted?: boolean | null;\n}\n\nexport enum InputControlType {\n /** Single text value field. */\n INPUT = 'INPUT',\n /** Single text value field with multiple lines. */\n TEXTAREA = 'TEXTAREA',\n /** Single-choice field with predefined values. */\n DROPDOWN = 'DROPDOWN',\n /** Single-choice field with predefined values. */\n RADIO = 'RADIO',\n /** Multiple-choice field with predefined values. */\n CHECKBOX = 'CHECKBOX',\n /** Fields for entering first and last names. */\n NAME = 'NAME',\n /** Fields for additional guests and their respective names. */\n GUEST_CONTROL = 'GUEST_CONTROL',\n /** Single-line address field. */\n ADDRESS_SHORT = 'ADDRESS_SHORT',\n /** Full address field with multiple lines. */\n ADDRESS_FULL = 'ADDRESS_FULL',\n /** Fields for entering year, month, and day. */\n DATE = 'DATE',\n}\n\n/** @enumType */\nexport type InputControlTypeWithLiterals =\n | InputControlType\n | 'INPUT'\n | 'TEXTAREA'\n | 'DROPDOWN'\n | 'RADIO'\n | 'CHECKBOX'\n | 'NAME'\n | 'GUEST_CONTROL'\n | 'ADDRESS_SHORT'\n | 'ADDRESS_FULL'\n | 'DATE';\n\n/** Child inputs. */\nexport interface Input {\n /** Field name. */\n name?: string;\n /**\n * *Deprecated:** Use `controls.inputs.type.TEXT_ARRAY`.\n * @deprecated\n */\n array?: boolean;\n /** Main field label. */\n label?: string;\n /** Additional labels for multi-valued fields such as address. */\n additionalLabels?: Record<string, string>;\n /** Predefined choice options for fields, such as dropdown. */\n options?: string[];\n /** Whether field is mandatory. */\n mandatory?: boolean;\n /** Maximum number of accepted characters (relevant for text fields). */\n maxLength?: number;\n /**\n * Type which determines field format.\n * Used to validate submitted response.\n */\n type?: ValueTypeWithLiterals;\n /**\n * The maximum number of accepted values for array input.\n *\n * **Note:** Only applicable for `TEXT_ARRAY` input fields.\n */\n maxSize?: number | null;\n /**\n * Default option initially selected when an input has multiple choices.\n *\n * Defaults to first (0th) option, if not configured.\n * Currently only applicable for `type.dropdown`.\n */\n defaultOptionSelection?: OptionSelection;\n /**\n * Additional labels for multi-valued fields, such as address.\n * @readonly\n */\n labels?: Label[];\n}\n\nexport enum ValueType {\n TEXT = 'TEXT',\n NUMBER = 'NUMBER',\n TEXT_ARRAY = 'TEXT_ARRAY',\n DATE_TIME = 'DATE_TIME',\n ADDRESS = 'ADDRESS',\n}\n\n/** @enumType */\nexport type ValueTypeWithLiterals =\n | ValueType\n | 'TEXT'\n | 'NUMBER'\n | 'TEXT_ARRAY'\n | 'DATE_TIME'\n | 'ADDRESS';\n\n/**\n * Describes initially selected option when an input has multiple choices.\n * Defaults to first (0th) option if not configured.\n */\nexport interface OptionSelection extends OptionSelectionSelectedOptionOneOf {\n /**\n * 0-based index from predefined `controls.inputs.options` which is initial selection.\n * @max 199\n */\n optionIndex?: number;\n /**\n * Placeholder hint describing expected choices, such as \"Please select\".\n * Considered an empty choice.\n * @maxLength 200\n */\n placeholderText?: string;\n}\n\n/** @oneof */\nexport interface OptionSelectionSelectedOptionOneOf {\n /**\n * 0-based index from predefined `controls.inputs.options` which is initial selection.\n * @max 199\n */\n optionIndex?: number;\n /**\n * Placeholder hint describing expected choices, such as \"Please select\".\n * Considered an empty choice.\n * @maxLength 200\n */\n placeholderText?: string;\n}\n\nexport interface Label {\n /** Field name. */\n name?: string;\n /** Field label. */\n label?: string;\n}\n\n/**\n * Defines form messages shown in UI before, during, and after registration flow.\n * It enables configuration of form titles, response labels, \"thank you\" messages, and call-to-action texts.\n */\nexport interface FormMessages {\n /** [RSVP form](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/introduction) messages. */\n rsvp?: RsvpFormMessages;\n /** Checkout form messages. */\n checkout?: CheckoutFormMessages;\n /** Messages shown when event registration is closed. */\n registrationClosed?: RegistrationClosedMessages;\n /** Messages shown when event tickets are unavailable. */\n ticketsUnavailable?: TicketsUnavailableMessages;\n}\n\nexport interface RsvpFormMessages {\n /** Label text indicating RSVP's `status` is `\"YES\"`. */\n rsvpYesOption?: string;\n /** Label text indicating RSVP's `status` is `\"NO\"`. */\n rsvpNoOption?: string;\n /** Messages displayed when an RSVP's `status` is set to `\"YES\"`. */\n positiveMessages?: Positive;\n /** Messages displayed when an RSVP's `status` is set to `\"WAITLIST\"`, for when the event is full and a waitlist is available). */\n waitlistMessages?: Positive;\n /** Messages displayed when an RSVP's `status` is set to `\"NO\"`. */\n negativeMessages?: Negative;\n /** \"Submit form\" call-to-action label text. */\n submitActionLabel?: string;\n}\n\n/** Confirmation messages shown after registration. */\nexport interface PositiveResponseConfirmation {\n /** Confirmation message title. */\n title?: string;\n /** Confirmation message text. */\n message?: string;\n /** \"Add to calendar\" call-to-action label text. */\n addToCalendarActionLabel?: string;\n /** \"Share event\" call-to-action label text. */\n shareActionLabel?: string;\n}\n\n/** Confirmation messages shown after registration. */\nexport interface NegativeResponseConfirmation {\n /** Confirmation message title. */\n title?: string;\n /** \"Share event\" call-to-action label text. */\n shareActionLabel?: string;\n}\n\n/** Set of messages shown during registration when RSVP response is positive. */\nexport interface Positive {\n /** Main form title for positive response. */\n title?: string;\n /** Confirmation messages shown after registration. */\n confirmation?: PositiveResponseConfirmation;\n}\n\n/** A set of messages shown during registration with negative response */\nexport interface Negative {\n /** Main form title for negative response. */\n title?: string;\n /** Confirmation messages shown after registration. */\n confirmation?: NegativeResponseConfirmation;\n}\n\nexport interface CheckoutFormMessages {\n /** Main form title for response. */\n title?: string;\n /** Submit form call-to-action label text. */\n submitActionLabel?: string;\n /** Confirmation messages shown after checkout. */\n confirmation?: ResponseConfirmation;\n}\n\n/** Confirmation messages shown after checkout. */\nexport interface ResponseConfirmation {\n /** Confirmation message title. */\n title?: string;\n /** Confirmation message text. */\n message?: string;\n /** \"Download tickets\" call-to-action label text. */\n downloadTicketsLabel?: string;\n /** \"Add to calendar\" call-to-action label text. */\n addToCalendarLabel?: string;\n /** \"Share event\" call-to-action label text. */\n shareEventLabel?: string;\n}\n\nexport interface RegistrationClosedMessages {\n /** Message shown when event registration is closed. */\n message?: string;\n /** \"Explore other events\" call-to-action label text. */\n exploreEventsActionLabel?: string;\n}\n\nexport interface TicketsUnavailableMessages {\n /** Message shown when event tickets are unavailable. */\n message?: string;\n /** \"Explore other events\" call-to-action label text. */\n exploreEventsActionLabel?: string;\n}\n\nexport interface Dashboard {\n /** Guest RSVP summary. */\n rsvpSummary?: RsvpSummary;\n /**\n * Summary of revenue and tickets sold.\n * (Archived orders are not included).\n */\n ticketingSummary?: TicketingSummary;\n}\n\nexport interface RsvpSummary {\n /** Total number of RSVPs. */\n total?: number;\n /** Number of RSVPs with status `YES`. */\n yes?: number;\n /** Number of RSVPs with status `NO`. */\n no?: number;\n /** Number of RSVPs in waitlist. */\n waitlist?: number;\n}\n\nexport interface TicketingSummary {\n /** Number of tickets sold. */\n tickets?: number;\n /**\n * Total revenue, excluding fees.\n * (taxes and payment provider fees are not deducted.)\n */\n revenue?: Money;\n /** Whether currency is locked and cannot be changed (generally occurs after the first order in the specified currency has been created). */\n currencyLocked?: boolean;\n /** Number of orders placed. */\n orders?: number;\n /** Total balance of confirmed transactions. */\n totalSales?: Money;\n}\n\nexport interface GuestListConfig {\n /** Whether members can see other members attending the event (defaults to true). */\n publicGuestList?: boolean;\n}\n\nexport interface Feed {\n /** Event discussion feed token. */\n token?: string;\n}\n\nexport interface OnlineConferencing {\n config?: OnlineConferencingConfig;\n session?: OnlineConferencingSession;\n}\n\nexport interface OnlineConferencingConfig {\n /**\n * Whether online conferencing is enabled (not supported for TBD schedules).\n * When enabled, links to join conferencing are generated and provided to guests.\n */\n enabled?: boolean;\n /**\n * Conferencing provider ID.\n * @format GUID\n */\n providerId?: string | null;\n /** Conference type */\n conferenceType?: ConferenceTypeWithLiterals;\n}\n\nexport enum ConferenceType {\n /** Everyone in the meeting can publish and subscribe video and audio. */\n MEETING = 'MEETING',\n /** Guests can only subscribe to video and audio. */\n WEBINAR = 'WEBINAR',\n}\n\n/** @enumType */\nexport type ConferenceTypeWithLiterals = ConferenceType | 'MEETING' | 'WEBINAR';\n\nexport interface OnlineConferencingSession {\n /**\n * Link for event host to start the online conference session.\n * @readonly\n */\n hostLink?: string;\n /**\n * Link for guests to join the online conference session.\n * @readonly\n */\n guestLink?: string;\n /**\n * The password required to join online conferencing session (when relevant).\n * @readonly\n */\n password?: string | null;\n /**\n * Indicates that session was created successfully on providers side.\n * @readonly\n */\n sessionCreated?: boolean | null;\n /**\n * Unique session id\n * @readonly\n */\n sessionId?: string | null;\n}\n\nexport interface SeoSettings {\n /**\n * URL slug\n * @maxLength 130\n */\n slug?: string;\n /** Advanced SEO data */\n advancedSeoData?: SeoSchema;\n /**\n * Hidden from SEO Site Map\n * @readonly\n */\n hidden?: boolean | null;\n}\n\n/**\n * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.\n * The search engines use this information for ranking purposes, or to display snippets in the search results.\n * This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.\n */\nexport interface SeoSchema {\n /** SEO tag information. */\n tags?: Tag[];\n /** SEO general settings. */\n settings?: Settings;\n}\n\nexport interface Keyword {\n /** Keyword value. */\n term?: string;\n /** Whether the keyword is the main focus keyword. */\n isMain?: boolean;\n /**\n * The source that added the keyword terms to the SEO settings.\n * @maxLength 1000\n */\n origin?: string | null;\n}\n\nexport interface Tag {\n /**\n * SEO tag type.\n *\n *\n * Supported values: `title`, `meta`, `script`, `link`.\n */\n type?: string;\n /**\n * A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\n * For example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.\n */\n props?: Record<string, any> | null;\n /** SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`. */\n meta?: Record<string, any> | null;\n /** SEO tag inner content. For example, `<title> inner content </title>`. */\n children?: string;\n /** Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages). */\n custom?: boolean;\n /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */\n disabled?: boolean;\n}\n\nexport interface Settings {\n /**\n * Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\n *\n *\n * Default: `false` (automatical redirect is enabled).\n */\n preventAutoRedirect?: boolean;\n /**\n * User-selected keyword terms for a specific page.\n * @maxSize 5\n */\n keywords?: Keyword[];\n}\n\nexport interface Agenda {\n /** Whether the schedule is enabled for the event. */\n enabled?: boolean;\n /**\n * Agenda page URL.\n * @readonly\n */\n pageUrl?: SiteUrl;\n}\n\n/**\n * A Category is a classification object that groups related events on a site so you can organize and display them by themes, venues, or other facets.\n *\n * You can manage Categories, assign events to them, and use them to control the selection and order of events across different pages and widgets.\n *\n * Read more about [Categories](https://support.wix.com/en/article/creating-and-displaying-event-categories).\n */\nexport interface Category {\n /**\n * Category ID.\n * @format GUID\n * @readonly\n */\n _id?: string;\n /**\n * Category name.\n * @minLength 1\n * @maxLength 30\n */\n name?: string;\n /**\n * Date and time when category was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * The total number of draft and published events assigned to the category.\n * @readonly\n */\n counts?: CategoryCounts;\n /**\n * Category state.\n *\n * Default: `MANUAL`.\n *\n * **Note:** The WIX_EVENTS.MANAGE_AUTO_CATEGORIES permission scope is required to use states other than `MANUAL`.\n * @maxSize 3\n */\n states?: CategoryStateStateWithLiterals[];\n}\n\nexport interface CategoryCounts {\n /** Total number of draft events assigned to the category. */\n assignedEventsCount?: number | null;\n /** Total number of published events assigned to the category. Deleted events are excluded. */\n assignedDraftEventsCount?: number | null;\n}\n\nexport enum CategoryStateState {\n /** Categoty is created manually by the user. */\n MANUAL = 'MANUAL',\n /** Category is created automatically. */\n AUTO = 'AUTO',\n /** Category is created automatically when publishing recurring events. */\n RECURRING_EVENT = 'RECURRING_EVENT',\n /** Category is hidden. */\n HIDDEN = 'HIDDEN',\n}\n\n/** @enumType */\nexport type CategoryStateStateWithLiterals =\n | CategoryStateState\n | 'MANUAL'\n | 'AUTO'\n | 'RECURRING_EVENT'\n | 'HIDDEN';\n\nexport interface EventDisplaySettings {\n /** Whether event details button is hidden. Only available for events with no registration. */\n hideEventDetailsButton?: boolean | null;\n /** Disables event details page visibility. If event has an external registration configured visitors will be redirected from this page. */\n hideEventDetailsPage?: boolean | null;\n}\n\nexport interface LabellingSettings {}\n\nexport interface RichContent {\n /** Node objects representing a rich content document. */\n nodes?: Node[];\n /** Object metadata. */\n metadata?: Metadata;\n /** Global styling for header, paragraph, block quote, and code block nodes in the object. */\n documentStyle?: DocumentStyle;\n}\n\nexport interface Node extends NodeDataOneOf {\n /** Data for a button node. */\n buttonData?: ButtonData;\n /** Data for a code block node. */\n codeBlockData?: CodeBlockData;\n /** Data for a divider node. */\n dividerData?: DividerData;\n /** Data for a file node. */\n fileData?: FileData;\n /** Data for a gallery node. */\n galleryData?: GalleryData;\n /** Data for a GIF node. */\n gifData?: GIFData;\n /** Data for a heading node. */\n headingData?: HeadingData;\n /** Data for an embedded HTML node. */\n htmlData?: HTMLData;\n /** Data for an image node. */\n imageData?: ImageData;\n /** Data for a link preview node. */\n linkPreviewData?: LinkPreviewData;\n /** @deprecated */\n mapData?: MapData;\n /** Data for a paragraph node. */\n paragraphData?: ParagraphData;\n /** Data for a poll node. */\n pollData?: PollData;\n /** Data for a text node. Used to apply decorations to text. */\n textData?: TextData;\n /** Data for an app embed node. */\n appEmbedData?: AppEmbedData;\n /** Data for a video node. */\n videoData?: VideoData;\n /** Data for an oEmbed node. */\n embedData?: EmbedData;\n /** Data for a collapsible list node. */\n collapsibleListData?: CollapsibleListData;\n /** Data for a table node. */\n tableData?: TableData;\n /** Data for a table cell node. */\n tableCellData?: TableCellData;\n /** Data for a custom external node. */\n externalData?: Record<string, any> | null;\n /** Data for an audio node. */\n audioData?: AudioData;\n /** Data for an ordered list node. */\n orderedListData?: OrderedListData;\n /** Data for a bulleted list node. */\n bulletedListData?: BulletedListData;\n /** Data for a block quote node. */\n blockquoteData?: BlockquoteData;\n /** Data for a caption node. */\n captionData?: CaptionData;\n /** 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 /** Defines where selected design propertied applies to */\n designTarget?: DesignTargetWithLiterals;\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 enum DesignTarget {\n /** Design applied to layout */\n LAYOUT = 'LAYOUT',\n /** Design applied to cells */\n CELL = 'CELL',\n}\n\n/** @enumType */\nexport type DesignTargetWithLiterals = DesignTarget | 'LAYOUT' | 'CELL';\n\nexport interface LayoutCellData {\n /** Size of the cell in 12 columns grid. */\n colSpan?: number | null;\n}\n\nexport interface Metadata {\n /** Schema version. */\n version?: number;\n /**\n * When the object was created.\n * @readonly\n * @deprecated\n */\n createdTimestamp?: Date | null;\n /**\n * When the object was most recently updated.\n * @deprecated\n */\n updatedTimestamp?: Date | null;\n /** Object ID. */\n _id?: string | null;\n}\n\nexport interface DocumentStyle {\n /** Styling for H1 nodes. */\n headerOne?: TextNodeStyle;\n /** Styling for H2 nodes. */\n headerTwo?: TextNodeStyle;\n /** Styling for H3 nodes. */\n headerThree?: TextNodeStyle;\n /** Styling for H4 nodes. */\n headerFour?: TextNodeStyle;\n /** Styling for H5 nodes. */\n headerFive?: TextNodeStyle;\n /** Styling for H6 nodes. */\n headerSix?: TextNodeStyle;\n /** Styling for paragraph nodes. */\n paragraph?: TextNodeStyle;\n /** Styling for block quote nodes. */\n blockquote?: TextNodeStyle;\n /** Styling for code block nodes. */\n codeBlock?: TextNodeStyle;\n}\n\nexport interface TextNodeStyle {\n /** The decorations to apply to the node. */\n decorations?: Decoration[];\n /** Padding and background color for the node. */\n nodeStyle?: NodeStyle;\n /** Line height for text in the node. */\n lineHeight?: string | null;\n}\n\nexport interface Badge {\n /** Badge type. */\n type?: TypeWithLiterals;\n /**\n * Badge text.\n * @maxLength 50\n */\n text?: string | null;\n}\n\nexport enum Type {\n /** Unknown badge type. */\n UNKNOWN_BADGE_TYPE = 'UNKNOWN_BADGE_TYPE',\n /** 1st priority badge type. */\n FIRST_PRIORITY = 'FIRST_PRIORITY',\n /** 2nd priority badge type. */\n SECOND_PRIORITY = 'SECOND_PRIORITY',\n /** 3rd priority badge type. */\n THIRD_PRIORITY = 'THIRD_PRIORITY',\n}\n\n/** @enumType */\nexport type TypeWithLiterals =\n | Type\n | 'UNKNOWN_BADGE_TYPE'\n | 'FIRST_PRIORITY'\n | 'SECOND_PRIORITY'\n | 'THIRD_PRIORITY';\n\nexport interface EventUpdated {\n /** Event update timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event location. */\n location?: EventsLocation;\n /** Event schedule configuration. */\n scheduleConfig?: ScheduleConfig;\n /** Event title. */\n title?: string;\n /**\n * Whether schedule configuration was updated.\n * @deprecated\n */\n scheduleConfigUpdated?: boolean;\n /** Updated event */\n event?: Event;\n}\n\n/** Triggers when seating plan category summaries are updated. */\nexport interface SeatingPlanCategoriesSummaryUpdated {\n /**\n * Seating plan ID.\n * @format GUID\n */\n seatingPlanId?: string;\n /** External seating plan ID. */\n externalSeatingPlanId?: string | null;\n /**\n * Updated category capacity and reservation counts.\n * @maxSize 100\n */\n categories?: CategoryDetails[];\n /**\n * Summary revision number for cache invalidation.\n * @readonly\n */\n revision?: string | null;\n}\n\n/** Category capacity and reservation summary. */\nexport interface CategoryDetails {\n /**\n * Seating Plan ID.\n * @format GUID\n * @readonly\n */\n seatingPlanId?: string | null;\n /**\n * External Seating Plan ID used for integration with third-party systems.\n * @minLength 1\n * @maxLength 100\n * @readonly\n */\n externalSeatingPlanId?: string | null;\n /**\n * External Category ID used for mapping to venue-specific category names. For example, `VIP` or `ORCHESTRA`.\n * @minLength 1\n * @maxLength 100\n * @readonly\n */\n externalCategoryId?: string | null;\n /**\n * Total seating capacity available in category.\n * @readonly\n */\n totalCapacity?: number | null;\n /**\n * Number of seats currently reserved in category.\n * @readonly\n */\n reserved?: number | null;\n}\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 MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\n /**\n * A meta site id.\n * @format GUID\n */\n metaSiteId?: string;\n /** A meta site version. Monotonically increasing. */\n version?: string;\n /** A timestamp of the event. */\n timestamp?: string;\n /**\n * TODO(meta-site): Change validation once validations are disabled for consumers\n * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659\n * @maxSize 4000\n */\n assets?: Asset[];\n}\n\n/** @oneof */\nexport interface MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\n}\n\nexport interface Asset {\n /**\n * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * An instance id. For legacy reasons may be UUID or a string.\n * @maxLength 200\n */\n instanceId?: string;\n /** An application state. */\n state?: StateWithLiterals;\n}\n\nexport enum State {\n UNKNOWN = 'UNKNOWN',\n ENABLED = 'ENABLED',\n DISABLED = 'DISABLED',\n PENDING = 'PENDING',\n DEMO = 'DEMO',\n}\n\n/** @enumType */\nexport type StateWithLiterals =\n | State\n | 'UNKNOWN'\n | 'ENABLED'\n | 'DISABLED'\n | 'PENDING'\n | 'DEMO';\n\nexport interface SiteCreated {\n /**\n * A template identifier (empty if not created from a template).\n * @maxLength 36\n */\n originTemplateId?: string;\n /**\n * An account id of the owner.\n * @format GUID\n */\n ownerId?: string;\n /** A context in which meta site was created. */\n context?: SiteCreatedContextWithLiterals;\n /**\n * A meta site id from which this site was created.\n *\n * In case of a creation from a template it's a template id.\n * In case of a site duplication (\"Save As\" in dashboard or duplicate in UM) it's an id of a source site.\n * @format GUID\n */\n originMetaSiteId?: string | null;\n /**\n * A meta site name (URL slug).\n * @maxLength 20\n */\n siteName?: string;\n /** A namespace. */\n namespace?: NamespaceWithLiterals;\n}\n\nexport enum SiteCreatedContext {\n /** A valid option, we don't expose all reasons why site might be created. */\n OTHER = 'OTHER',\n /** A meta site was created from template. */\n FROM_TEMPLATE = 'FROM_TEMPLATE',\n /** A meta site was created by copying of the transfferred meta site. */\n DUPLICATE_BY_SITE_TRANSFER = 'DUPLICATE_BY_SITE_TRANSFER',\n /** A copy of existing meta site. */\n DUPLICATE = 'DUPLICATE',\n /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */\n OLD_SITE_TRANSFER = 'OLD_SITE_TRANSFER',\n /** deprecated A meta site was created for Flash editor. */\n FLASH = 'FLASH',\n}\n\n/** @enumType */\nexport type SiteCreatedContextWithLiterals =\n | SiteCreatedContext\n | 'OTHER'\n | 'FROM_TEMPLATE'\n | 'DUPLICATE_BY_SITE_TRANSFER'\n | 'DUPLICATE'\n | 'OLD_SITE_TRANSFER'\n | 'FLASH';\n\nexport enum Namespace {\n UNKNOWN_NAMESPACE = 'UNKNOWN_NAMESPACE',\n /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */\n WIX = 'WIX',\n /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n SHOUT_OUT = 'SHOUT_OUT',\n /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ALBUMS = 'ALBUMS',\n /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n WIX_STORES_TEST_DRIVE = 'WIX_STORES_TEST_DRIVE',\n /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n HOTELS = 'HOTELS',\n /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n CLUBS = 'CLUBS',\n /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ONBOARDING_DRAFT = 'ONBOARDING_DRAFT',\n /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_SITE = 'DEV_SITE',\n /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n LOGOS = 'LOGOS',\n /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n VIDEO_MAKER = 'VIDEO_MAKER',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n PARTNER_DASHBOARD = 'PARTNER_DASHBOARD',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_CENTER_COMPANY = 'DEV_CENTER_COMPANY',\n /**\n * A draft created by HTML editor on open. Upon \"first save\" it will be moved to be of WIX domain.\n *\n * Meta site with this namespace will *not* be shown in a user's site list by default.\n */\n HTML_DRAFT = 'HTML_DRAFT',\n /**\n * the user-journey for Fitness users who want to start from managing their business instead of designing their website.\n * Will be accessible from Site List and will not have a website app.\n * Once the user attaches a site, the site will become a regular wixsite.\n */\n SITELESS_BUSINESS = 'SITELESS_BUSINESS',\n /** Belongs to \"strategic products\" company. Supports new product in the creator's economy space. */\n CREATOR_ECONOMY = 'CREATOR_ECONOMY',\n /** It is to be used in the Business First efforts. */\n DASHBOARD_FIRST = 'DASHBOARD_FIRST',\n /** Bookings business flow with no site. */\n ANYWHERE = 'ANYWHERE',\n /** Namespace for Headless Backoffice with no editor */\n HEADLESS = 'HEADLESS',\n /**\n * Namespace for master site that will exist in parent account that will be referenced by subaccounts\n * The site will be used for account level CSM feature for enterprise\n */\n ACCOUNT_MASTER_CMS = 'ACCOUNT_MASTER_CMS',\n /** Rise.ai Siteless account management for Gift Cards and Store Credit. */\n RISE = 'RISE',\n /**\n * As part of the branded app new funnel, users now can create a meta site that will be branded app first.\n * There's a blank site behind the scene but it's blank).\n * The Mobile company will be the owner of this namespace.\n */\n BRANDED_FIRST = 'BRANDED_FIRST',\n /** Nownia.com Siteless account management for Ai Scheduling Assistant. */\n NOWNIA = 'NOWNIA',\n /**\n * UGC Templates are templates that are created by users for personal use and to sale to other users.\n * The Partners company owns this namespace.\n */\n UGC_TEMPLATE = 'UGC_TEMPLATE',\n /** Codux Headless Sites */\n CODUX = 'CODUX',\n /** Bobb - AI Design Creator. */\n MEDIA_DESIGN_CREATOR = 'MEDIA_DESIGN_CREATOR',\n /**\n * Shared Blog Site is a unique single site across Enterprise account,\n * This site will hold all Blog posts related to the Marketing product.\n */\n SHARED_BLOG_ENTERPRISE = 'SHARED_BLOG_ENTERPRISE',\n /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_FORMS = 'STANDALONE_FORMS',\n /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_EVENTS = 'STANDALONE_EVENTS',\n /** MIMIR - Siteless account for MIMIR Ai Job runner. */\n MIMIR = 'MIMIR',\n /** Wix Twins platform. */\n TWINS = 'TWINS',\n /** Wix Nano. */\n NANO = 'NANO',\n /** Base44 headless sites. */\n BASE44 = 'BASE44',\n}\n\n/** @enumType */\nexport type NamespaceWithLiterals =\n | Namespace\n | 'UNKNOWN_NAMESPACE'\n | 'WIX'\n | 'SHOUT_OUT'\n | 'ALBUMS'\n | 'WIX_STORES_TEST_DRIVE'\n | 'HOTELS'\n | 'CLUBS'\n | 'ONBOARDING_DRAFT'\n | 'DEV_SITE'\n | 'LOGOS'\n | 'VIDEO_MAKER'\n | 'PARTNER_DASHBOARD'\n | 'DEV_CENTER_COMPANY'\n | 'HTML_DRAFT'\n | 'SITELESS_BUSINESS'\n | 'CREATOR_ECONOMY'\n | 'DASHBOARD_FIRST'\n | 'ANYWHERE'\n | 'HEADLESS'\n | 'ACCOUNT_MASTER_CMS'\n | 'RISE'\n | 'BRANDED_FIRST'\n | 'NOWNIA'\n | 'UGC_TEMPLATE'\n | 'CODUX'\n | 'MEDIA_DESIGN_CREATOR'\n | 'SHARED_BLOG_ENTERPRISE'\n | 'STANDALONE_FORMS'\n | 'STANDALONE_EVENTS'\n | 'MIMIR'\n | 'TWINS'\n | 'NANO'\n | 'BASE44';\n\n/** Site transferred to another user. */\nexport interface SiteTransferred {\n /**\n * A previous owner id (user that transfers meta site).\n * @format GUID\n */\n oldOwnerId?: string;\n /**\n * A new owner id (user that accepts meta site).\n * @format GUID\n */\n newOwnerId?: string;\n}\n\n/** Soft deletion of the meta site. Could be restored. */\nexport interface SiteDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface DeleteContext {\n /** When the meta site was deleted. */\n dateDeleted?: Date | null;\n /** A status. */\n deleteStatus?: DeleteStatusWithLiterals;\n /**\n * A reason (flow).\n * @maxLength 255\n */\n deleteOrigin?: string;\n /**\n * A service that deleted it.\n * @maxLength 255\n */\n initiatorId?: string | null;\n}\n\nexport enum DeleteStatus {\n UNKNOWN = 'UNKNOWN',\n TRASH = 'TRASH',\n DELETED = 'DELETED',\n PENDING_PURGE = 'PENDING_PURGE',\n PURGED_EXTERNALLY = 'PURGED_EXTERNALLY',\n}\n\n/** @enumType */\nexport type DeleteStatusWithLiterals =\n | DeleteStatus\n | 'UNKNOWN'\n | 'TRASH'\n | 'DELETED'\n | 'PENDING_PURGE'\n | 'PURGED_EXTERNALLY';\n\n/** Restoration of the meta site. */\nexport interface SiteUndeleted {}\n\n/** First publish of a meta site. Or subsequent publish after unpublish. */\nexport interface SitePublished {}\n\nexport interface SiteUnpublished {\n /**\n * A list of URLs previously associated with the meta site.\n * @maxLength 4000\n * @maxSize 10000\n */\n urls?: string[];\n}\n\nexport interface SiteMarkedAsTemplate {}\n\nexport interface SiteMarkedAsWixSite {}\n\n/**\n * Represents a service provisioned a site.\n *\n * Note on `origin_instance_id`:\n * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.\n * This is because of the following scenario:\n *\n * Imagine you have a template where a third-party application (TPA) includes some stub data,\n * such as a product catalog. When you create a site from this template, you inherit this\n * default product catalog. However, if the template's product catalog is modified,\n * your site will retain the catalog as it was at the time of site creation. This ensures that\n * your site remains consistent with what you initially received and does not include any\n * changes made to the original template afterward.\n * To ensure this, the TPA on the template gets a new instance_id.\n */\nexport interface ServiceProvisioned {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * An instance id from which this instance is originated.\n * @maxLength 36\n */\n originInstanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n /**\n * The origin meta site id\n * @format GUID\n */\n originMetaSiteId?: string | null;\n}\n\nexport interface ServiceRemoved {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n}\n\n/** Rename of the site. Meaning, free public url has been changed as well. */\nexport interface SiteRenamed {\n /**\n * A new meta site name (URL slug).\n * @maxLength 20\n */\n newSiteName?: string;\n /**\n * A previous meta site name (URL slug).\n * @maxLength 255\n */\n oldSiteName?: string;\n}\n\n/**\n * Hard deletion of the meta site.\n *\n * Could not be restored. Therefore it's desirable to cleanup data.\n */\nexport interface SiteHardDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface NamespaceChanged {\n /** A previous namespace. */\n oldNamespace?: NamespaceWithLiterals;\n /** A new namespace. */\n newNamespace?: NamespaceWithLiterals;\n}\n\n/** Assigned Studio editor */\nexport interface StudioAssigned {}\n\n/** Unassigned Studio editor */\nexport interface StudioUnassigned {}\n\n/**\n * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.\n *\n * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up\n * with sites and its urls, you need to listen to another topic/event. Read about it:\n *\n * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service\n */\nexport interface SiteUrlChanged {}\n\n/**\n * Used at the end of the deletion flow for both draft sites and when a user deletes a site.\n * Consumed by other teams to remove relevant data.\n */\nexport interface SitePurgedExternally {\n /**\n * @maxLength 2048\n * @maxSize 100\n * @deprecated\n * @targetRemovalDate 2025-04-15\n */\n appDefId?: string[];\n}\n\n/** Assigned Odeditor */\nexport interface OdeditorAssigned {}\n\n/** Unassigned Odeditor */\nexport interface OdeditorUnassigned {}\n\n/** Assigned Picasso editor */\nexport interface PicassoAssigned {}\n\n/** Unassigned Picasso */\nexport interface PicassoUnassigned {}\n\n/** Assigned Wixel */\nexport interface WixelAssigned {}\n\n/** Unassigned Wixel */\nexport interface WixelUnassigned {}\n\n/** Assigned StudioTwo */\nexport interface StudioTwoAssigned {}\n\n/** Unassigned StudioTwo */\nexport interface StudioTwoUnassigned {}\n\nexport interface GetTicketDefinitionFromTrashBinRequest {\n /**\n * Ticket definition ID.\n * @format GUID\n */\n ticketDefinitionId?: string;\n /**\n * Requested fields. Not implemented.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\nexport interface GetTicketDefinitionFromTrashBinResponse {\n /** The requested ticket definition. */\n ticketDefinition?: TicketDefinition;\n}\n\nexport interface ScheduleLegacyTimeCapsuleTaskRequest {\n /**\n * Definition ID.\n * @format GUID\n */\n ticketDefinitionId?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\nexport interface GetTicketDefinitionSummaryRequest {\n /**\n * Ticket definition id.\n * @format GUID\n */\n ticketDefinitionId?: string | null;\n}\n\nexport interface GetTicketDefinitionSummaryResponse {\n /** Summary. */\n summary?: TicketDefinitionSummary;\n}\n\nexport interface TicketDefinitionSummary {\n /**\n * Ticket definition ID.\n * @format GUID\n * @readonly\n */\n definitionId?: string | null;\n /**\n * Event ID to which the ticket definition summary belongs.\n * @format GUID\n * @readonly\n */\n eventId?: string | null;\n /**\n * Date and time of the ticket definition summary latest update in `yyyy-mm-ddThh:mm:sssZ` format.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Reserved count.\n * @readonly\n */\n reservedCount?: number;\n /**\n * Sold count.\n * @readonly\n */\n soldCount?: number;\n /**\n * Paid exists.\n * @readonly\n */\n paidExists?: boolean;\n}\n\nexport interface ListEventTicketingSummaryRequest {\n /**\n * Event ID.\n * @format GUID\n * @minSize 1\n * @maxSize 1000\n */\n eventId?: string[];\n}\n\nexport interface ListEventTicketingSummaryResponse {\n /** Ticketing summaries. */\n summaries?: EventTicketingSummary[];\n}\n\nexport interface EventTicketingSummary {\n /**\n * Event ID to which the ticketing summary belongs.\n * @format GUID\n * @readonly\n */\n eventId?: string | null;\n /**\n * Date and time of the ticketing summary latest update in `yyyy-mm-ddThh:mm:sssZ` format.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Whether all tickets are sold out for this event.\n * @readonly\n */\n soldOut?: boolean | null;\n /**\n * Price of lowest priced ticket.\n * @readonly\n */\n lowestTicketPrice?: CommonMoney;\n /**\n * Price of highest priced ticket.\n * @readonly\n */\n highestTicketPrice?: CommonMoney;\n /**\n * Currency used in event transactions.\n * @minLength 3\n * @maxLength 3\n * @readonly\n */\n currency?: string | null;\n /**\n * Formatted price of lowest priced ticket.\n * @maxLength 50\n * @readonly\n */\n lowestTicketPriceFormatted?: string | null;\n /**\n * Formatted price of highest priced ticket.\n * @maxLength 50\n * @readonly\n */\n highestTicketPriceFormatted?: string | null;\n}\n\nexport interface UpdateEventTicketingSummaryRequest {\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n}\n\nexport interface UpdateEventTicketingSummaryResponse {}\n\n/** @docsIgnore */\nexport type CreateTicketDefinitionApplicationErrors =\n | {\n code?: 'INVALID_EVENT_TYPE';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'TICKET_DEFINITIONS_LIMIT_REACHED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_SALE_PERIOD';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type UpdateTicketDefinitionApplicationErrors = {\n code?: 'INVALID_SALE_PERIOD';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type ReorderTicketDefinitionsApplicationErrors = {\n code?: 'INVALID_REORDER_INSTRUCTION';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type CountTicketDefinitionsApplicationErrors = {\n code?: 'FILTER_PARSER_ERROR';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type CountAvailableTicketDefinitionsApplicationErrors = {\n code?: 'FILTER_PARSER_ERROR';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type ChangeCurrencyApplicationErrors = {\n code?: 'CURRENCY_LOCKED';\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 TicketDefinitionCreatedEnvelope {\n entity: TicketDefinition;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a ticket definition is created.\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Orders\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-ORDERS\n * @permissionScope Manage Ticket Definitions\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-TICKET-DEF\n * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS\n * @webhook\n * @eventType wix.events.v3.ticket_definition_created\n * @slug created\n */\nexport declare function onTicketDefinitionCreated(\n handler: (event: TicketDefinitionCreatedEnvelope) => void | Promise<void>\n): void;\n\nexport interface TicketDefinitionDeletedEnvelope {\n entity: TicketDefinition;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a ticket definition is deleted.\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Orders\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-ORDERS\n * @permissionScope Manage Ticket Definitions\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-TICKET-DEF\n * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS\n * @webhook\n * @eventType wix.events.v3.ticket_definition_deleted\n * @slug deleted\n */\nexport declare function onTicketDefinitionDeleted(\n handler: (event: TicketDefinitionDeletedEnvelope) => void | Promise<void>\n): void;\n\nexport interface TicketDefinitionSaleEndedEnvelope {\n data: TicketDefinitionSaleEnded;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a ticket sale ends. Sales details aren't included in the response.\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Orders\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-ORDERS\n * @permissionScope Manage Ticket Definitions\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-TICKET-DEF\n * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS\n * @webhook\n * @eventType wix.events.v3.ticket_definition_sale_ended\n * @slug sale_ended\n */\nexport declare function onTicketDefinitionSaleEnded(\n handler: (event: TicketDefinitionSaleEndedEnvelope) => void | Promise<void>\n): void;\n\nexport interface TicketDefinitionSalePeriodUpdatedEnvelope {\n data: SalePeriodUpdated;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a sale period is updated.\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Orders\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-ORDERS\n * @permissionScope Manage Ticket Definitions\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-TICKET-DEF\n * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS\n * @webhook\n * @eventType wix.events.v3.ticket_definition_sale_period_updated\n * @slug sale_period_updated\n */\nexport declare function onTicketDefinitionSalePeriodUpdated(\n handler: (\n event: TicketDefinitionSalePeriodUpdatedEnvelope\n ) => void | Promise<void>\n): void;\n\nexport interface TicketDefinitionSaleStartedEnvelope {\n data: TicketDefinitionSaleStarted;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a ticket sale starts. Sales details aren't included in the response.\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Orders\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-ORDERS\n * @permissionScope Manage Ticket Definitions\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-TICKET-DEF\n * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS\n * @webhook\n * @eventType wix.events.v3.ticket_definition_sale_started\n * @slug sale_started\n */\nexport declare function onTicketDefinitionSaleStarted(\n handler: (event: TicketDefinitionSaleStartedEnvelope) => void | Promise<void>\n): void;\n\nexport interface TicketDefinitionUpdatedEnvelope {\n entity: TicketDefinition;\n metadata: EventMetadata;\n /** @hidden */\n modifiedFields: Record<string, any>;\n}\n\n/**\n * Triggered when a ticket definition is updated.\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Orders\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-ORDERS\n * @permissionScope Manage Ticket Definitions\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-TICKET-DEF\n * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS\n * @webhook\n * @eventType wix.events.v3.ticket_definition_updated\n * @slug updated\n */\nexport declare function onTicketDefinitionUpdated(\n handler: (event: TicketDefinitionUpdatedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * Creates a ticket definition.\n *\n * You may create up to 100 definitions per event.\n * @param ticketDefinition - Ticket definition info.\n * @public\n * @requiredField ticketDefinition\n * @requiredField ticketDefinition.eventId\n * @requiredField ticketDefinition.feeType\n * @requiredField ticketDefinition.name\n * @requiredField ticketDefinition.pricingMethod\n * @param options - Currency info.\n * @permissionId WIX_EVENTS.MANAGE_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @returns Created ticket definition.\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.CreateTicketDefinition\n */\nexport async function createTicketDefinition(\n ticketDefinition: NonNullablePaths<\n TicketDefinition,\n `eventId` | `feeType` | `name` | `pricingMethod`,\n 2\n >,\n options?: CreateTicketDefinitionOptions\n): Promise<\n NonNullablePaths<\n TicketDefinition,\n | `hidden`\n | `limited`\n | `pricingMethod.fixedPrice.value`\n | `pricingMethod.fixedPrice.currency`\n | `pricingMethod.pricingOptions.optionDetails`\n | `pricingMethod.pricingType`\n | `pricingMethod.free`\n | `feeType`\n | `salePeriod.displayNotOnSale`\n | `saleStatus`\n | `eventDetails.location.type`\n | `eventDetails.location.address.streetAddress.number`\n | `eventDetails.location.address.streetAddress.name`\n | `eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `eventDetails.status`\n | `seatingDetails.places`\n | `seatingDetails.places.${number}.placeId`\n | `seatingDetails.places.${number}.label`\n | `seatingDetails.places.${number}.availableCapacity`,\n 7\n > & {\n __applicationErrorsType?: CreateTicketDefinitionApplicationErrors;\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 ticketDefinition: ticketDefinition,\n fields: options?.fields,\n }),\n [\n {\n transformFn: transformSDKPageURLToRESTPageURL,\n paths: [{ path: 'ticketDefinition.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformSDKAddressToRESTAddress,\n paths: [{ path: 'ticketDefinition.eventDetails.location.address' }],\n },\n ]\n );\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.createTicketDefinition(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: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'ticketDefinition.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'ticketDefinition.eventDetails.location.address' }],\n },\n ])\n )?.ticketDefinition!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n ticketDefinition: '$[0]',\n fields: '$[1].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['ticketDefinition', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CreateTicketDefinitionOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\n/**\n * Updates a ticket definition.\n *\n * Each time the ticket definition is updated, `revision` increments by 1. The existing `revision` must be included when updating the ticket definition. This ensures you're working with the latest ticket definition and prevents unintended overwrites.\n * @param _id - Ticket definition ID.\n * @public\n * @requiredField _id\n * @requiredField ticketDefinition\n * @requiredField ticketDefinition.revision\n * @param options - Optional fields.\n * @param ticketDefinition - Ticket definition to update.\n * @permissionId WIX_EVENTS.MANAGE_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @returns The updated ticket definition.\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.UpdateTicketDefinition\n */\nexport async function updateTicketDefinition(\n _id: string,\n ticketDefinition: NonNullablePaths<UpdateTicketDefinition, `revision`, 2>,\n options?: UpdateTicketDefinitionOptions\n): Promise<\n NonNullablePaths<\n TicketDefinition,\n | `hidden`\n | `limited`\n | `pricingMethod.fixedPrice.value`\n | `pricingMethod.fixedPrice.currency`\n | `pricingMethod.pricingOptions.optionDetails`\n | `pricingMethod.pricingType`\n | `pricingMethod.free`\n | `feeType`\n | `salePeriod.displayNotOnSale`\n | `saleStatus`\n | `eventDetails.location.type`\n | `eventDetails.location.address.streetAddress.number`\n | `eventDetails.location.address.streetAddress.name`\n | `eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `eventDetails.status`\n | `seatingDetails.places`\n | `seatingDetails.places.${number}.placeId`\n | `seatingDetails.places.${number}.label`\n | `seatingDetails.places.${number}.availableCapacity`,\n 7\n > & {\n __applicationErrorsType?: UpdateTicketDefinitionApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[3] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest({\n ticketDefinition: { ...ticketDefinition, id: _id },\n fields: options?.fields,\n }),\n [\n {\n transformFn: transformSDKPageURLToRESTPageURL,\n paths: [{ path: 'ticketDefinition.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformSDKAddressToRESTAddress,\n paths: [{ path: 'ticketDefinition.eventDetails.location.address' }],\n },\n ]\n );\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.updateTicketDefinition(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: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'ticketDefinition.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'ticketDefinition.eventDetails.location.address' }],\n },\n ])\n )?.ticketDefinition!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: { ticketDefinition: '$[1]' },\n explicitPathsToArguments: {\n 'ticketDefinition.id': '$[0]',\n fields: '$[2].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['_id', 'ticketDefinition', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdateTicketDefinition {\n /**\n * Ticket definition ID.\n * @format GUID\n * @readonly\n */\n _id?: string | null;\n /**\n * Event ID to which the ticket definition belongs.\n * @format GUID\n * @immutable\n */\n eventId?: string | null;\n /**\n * Revision number, which increments by 1 each time the ticket definition is updated. To prevent conflicting changes, the existing `revision` must be used when updating a ticket definition.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the ticket definition was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time the ticket definition was updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Ticket definition name.\n * @minLength 1\n * @maxLength 30\n */\n name?: string | null;\n /**\n * Ticket definition description.\n * @maxLength 500\n */\n description?: string | null;\n /**\n * Ticket definition policy.\n * @maxLength 1000\n */\n policyText?: string | null;\n /** Whether this ticket definition is hidden from site visitors and can't be purchased. */\n hidden?: boolean;\n /**\n * Whether the ticket has a limited maximum quantity.\n * @readonly\n */\n limited?: boolean;\n /** The maximum number of tickets that can be sold for the event when first defining the event. If a seating map is defined after you created a ticket definition, this property is ignored and `actualLimit` is used instead. */\n initialLimit?: number | null;\n /**\n * The maximum number of tickets that can be sold for the event after adding a seating map to the event. If no seating map is defined, this property is the same as `initialLimit`.\n * @readonly\n */\n actualLimit?: number | null;\n /** Ticket pricing method. */\n pricingMethod?: PricingMethod;\n /** Type of ticket service fee to collect. */\n feeType?: FeeTypeEnumTypeWithLiterals;\n /** Ticket sale period. */\n salePeriod?: SalePeriod;\n /**\n * Ticket sale status.\n * @readonly\n */\n saleStatus?: SaleStatusEnumStatusWithLiterals;\n /**\n * Ticket sales information. <br> <br>\n * **Note:** This field is only returned when `SALES_DETAILS` is specified in `field` in the request.\n * @readonly\n */\n salesDetails?: SalesDetails;\n /**\n * Number of tickets that can be purchased per checkout. <br> <br>\n * **Note:** If the `actualLimit` or `salesDetails.unsoldCount` field value is smaller than `limitPerCheckout`, then it overrides this field.\n * @readonly\n * @max 50\n */\n limitPerCheckout?: number | null;\n /** Data extensions. */\n extendedFields?: ExtendedFields;\n /**\n * Information about the even the ticket is for. <br>\n * **Note:** This field is only returned when `EVENT_DETAILS` is specified in `field` in the request.\n * @readonly\n */\n eventDetails?: EventDetails;\n /**\n * Seating information including available seats and areas for this ticket definition. <br>\n * **Note:** This field is only returned when `SEATING_DETAILS` is specified in `field` in the request, and when the event has a [seating plan](https://support.wix.com/en/article/wix-events-creating-a-seating-map).\n * @readonly\n */\n seatingDetails?: SeatingDetails;\n}\n\nexport interface UpdateTicketDefinitionOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\n/**\n * Retrieves a ticket definition.\n * @param ticketDefinitionId - Ticket definition ID.\n * @public\n * @requiredField ticketDefinitionId\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @returns The requested ticket definition.\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.GetTicketDefinition\n */\nexport async function getTicketDefinition(\n ticketDefinitionId: string,\n options?: GetTicketDefinitionOptions\n): Promise<\n NonNullablePaths<\n TicketDefinition,\n | `hidden`\n | `limited`\n | `pricingMethod.fixedPrice.value`\n | `pricingMethod.fixedPrice.currency`\n | `pricingMethod.pricingOptions.optionDetails`\n | `pricingMethod.pricingType`\n | `pricingMethod.free`\n | `feeType`\n | `salePeriod.displayNotOnSale`\n | `saleStatus`\n | `eventDetails.location.type`\n | `eventDetails.location.address.streetAddress.number`\n | `eventDetails.location.address.streetAddress.name`\n | `eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `eventDetails.status`\n | `seatingDetails.places`\n | `seatingDetails.places.${number}.placeId`\n | `seatingDetails.places.${number}.label`\n | `seatingDetails.places.${number}.availableCapacity`,\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 ticketDefinitionId: ticketDefinitionId,\n fields: options?.fields,\n });\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.getTicketDefinition(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: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'ticketDefinition.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'ticketDefinition.eventDetails.location.address' }],\n },\n ])\n )?.ticketDefinition!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n ticketDefinitionId: '$[0]',\n fields: '$[1].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['ticketDefinitionId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface GetTicketDefinitionOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\n/**\n * Deletes a ticket definition.\n * @param ticketDefinitionId - ID of the ticket definition to delete.\n * @public\n * @requiredField ticketDefinitionId\n * @permissionId WIX_EVENTS.MANAGE_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.DeleteTicketDefinition\n */\nexport async function deleteTicketDefinition(\n ticketDefinitionId: string\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 ticketDefinitionId: ticketDefinitionId,\n });\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.deleteTicketDefinition(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: { ticketDefinitionId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['ticketDefinitionId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Adjusts the order in which ticket definitions display in an event dashboard, as well as the order of available tickets displayed in the ticket picker.\n * > **Note:** You may use both `beforeTicketDefinitionId` and `afterTicketDefinitionId` but only the last one provided takes effect.\n * @param eventId - Event ID.\n * @public\n * @requiredField eventId\n * @requiredField options.ticketDefinitionId\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.MANAGE_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.ReorderTicketDefinitions\n */\nexport async function reorderTicketDefinitions(\n eventId: string,\n options?: NonNullablePaths<\n ReorderTicketDefinitionsOptions,\n `ticketDefinitionId`,\n 2\n >\n): Promise<\n void & {\n __applicationErrorsType?: ReorderTicketDefinitionsApplicationErrors;\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,\n ticketDefinitionId: options?.ticketDefinitionId,\n beforeDefinitionId: options?.beforeDefinitionId,\n afterDefinitionId: options?.afterDefinitionId,\n });\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.reorderTicketDefinitions(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 eventId: '$[0]',\n ticketDefinitionId: '$[1].ticketDefinitionId',\n beforeDefinitionId: '$[1].beforeDefinitionId',\n afterDefinitionId: '$[1].afterDefinitionId',\n },\n singleArgumentUnchanged: false,\n },\n ['eventId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface ReorderTicketDefinitionsOptions\n extends ReorderTicketDefinitionsOptionsReferenceDefinitionOneOf {\n /**\n * Ticket definition ID.\n * @format GUID\n */\n ticketDefinitionId: string;\n /**\n * Move the given `definitionId` before the referenced ticket definition.\n * @format GUID\n */\n beforeDefinitionId?: string;\n /**\n * Move the given `definitionId` after the referenced ticket definition.\n * @format GUID\n */\n afterDefinitionId?: string;\n}\n\n/** @oneof */\nexport interface ReorderTicketDefinitionsOptionsReferenceDefinitionOneOf {\n /**\n * Move the given `definitionId` before the referenced ticket definition.\n * @format GUID\n */\n beforeDefinitionId?: string;\n /**\n * Move the given `definitionId` after the referenced ticket definition.\n * @format GUID\n */\n afterDefinitionId?: string;\n}\n\n/**\n * Retrieves a list of ticket definitions, given the provided paging, filtering, and sorting.\n * Query Ticket Definitions runs with these defaults, which you can override:\n * - `createdDate` is sorted in `ASC` order\n * - `paging.limit` is `100`\n * - `paging.offset` is `0`\n * @public\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.QueryTicketDefinitions\n */\nexport function queryTicketDefinitions(\n options?: QueryTicketDefinitionsOptions\n): TicketDefinitionsQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n TicketDefinition,\n 'CURSOR',\n QueryTicketDefinitionsRequest,\n QueryTicketDefinitionsResponse\n >({\n func: async (payload: QueryTicketDefinitionsRequest) => {\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.queryTicketDefinitions({\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: QueryTicketDefinitionsRequest['query']) => {\n const args = [query, options] as [\n QueryTicketDefinitionsRequest['query'],\n QueryTicketDefinitionsOptions\n ];\n return renameKeysFromSDKRequestToRESTRequest({\n ...args?.[1],\n query: args?.[0],\n });\n },\n responseTransformer: ({\n data,\n }: HttpResponse<QueryTicketDefinitionsResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'ticketDefinitions.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [\n { path: 'ticketDefinitions.eventDetails.location.address' },\n ],\n },\n ])\n );\n\n return {\n items: transformedData?.ticketDefinitions,\n pagingMetadata: transformedData?.metadata,\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: 'CURSOR',\n transformationPaths: {},\n });\n}\n\nexport interface QueryTicketDefinitionsOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[] | undefined;\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface TicketDefinitionsQueryResult extends QueryCursorResult {\n items: TicketDefinition[];\n query: TicketDefinitionsQueryBuilder;\n next: () => Promise<TicketDefinitionsQueryResult>;\n prev: () => Promise<TicketDefinitionsQueryResult>;\n}\n\nexport interface TicketDefinitionsQueryBuilder {\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 | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'hidden'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency'\n | 'pricingMethod.pricingType'\n | 'pricingMethod.free'\n | 'feeType'\n | 'saleStatus',\n value: any\n ) => TicketDefinitionsQueryBuilder;\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 | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'hidden'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency'\n | 'pricingMethod.pricingType'\n | 'pricingMethod.free'\n | 'feeType'\n | 'saleStatus',\n value: any\n ) => TicketDefinitionsQueryBuilder;\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 | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency',\n value: any\n ) => TicketDefinitionsQueryBuilder;\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 | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency',\n value: any\n ) => TicketDefinitionsQueryBuilder;\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 | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency',\n value: any\n ) => TicketDefinitionsQueryBuilder;\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 | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency',\n value: any\n ) => TicketDefinitionsQueryBuilder;\n in: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'hidden'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency'\n | 'pricingMethod.pricingType'\n | 'pricingMethod.free'\n | 'feeType'\n | 'saleStatus',\n value: any\n ) => TicketDefinitionsQueryBuilder;\n exists: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'hidden'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency'\n | 'pricingMethod.pricingType'\n | 'pricingMethod.free'\n | 'feeType'\n | 'saleStatus',\n value: boolean\n ) => TicketDefinitionsQueryBuilder;\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 | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'hidden'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency'\n | 'pricingMethod.pricingType'\n | 'pricingMethod.free'\n | 'feeType'\n | 'saleStatus'\n >\n ) => TicketDefinitionsQueryBuilder;\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 | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'hidden'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency'\n | 'pricingMethod.pricingType'\n | 'pricingMethod.free'\n | 'feeType'\n | 'saleStatus'\n >\n ) => TicketDefinitionsQueryBuilder;\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object. */\n limit: (limit: number) => TicketDefinitionsQueryBuilder;\n /** @param cursor - A pointer to specific record */\n skipTo: (cursor: string) => TicketDefinitionsQueryBuilder;\n find: () => Promise<TicketDefinitionsQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.QueryTicketDefinitions\n * @requiredField query\n */\nexport async function typedQueryTicketDefinitions(\n query: TicketDefinitionQuery,\n options?: QueryTicketDefinitionsOptions\n): Promise<\n NonNullablePaths<\n QueryTicketDefinitionsResponse,\n | `ticketDefinitions`\n | `ticketDefinitions.${number}.hidden`\n | `ticketDefinitions.${number}.limited`\n | `ticketDefinitions.${number}.pricingMethod.fixedPrice.value`\n | `ticketDefinitions.${number}.pricingMethod.fixedPrice.currency`\n | `ticketDefinitions.${number}.pricingMethod.pricingType`\n | `ticketDefinitions.${number}.pricingMethod.free`\n | `ticketDefinitions.${number}.feeType`\n | `ticketDefinitions.${number}.salePeriod.displayNotOnSale`\n | `ticketDefinitions.${number}.saleStatus`\n | `ticketDefinitions.${number}.eventDetails.location.type`\n | `ticketDefinitions.${number}.eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `ticketDefinitions.${number}.eventDetails.status`,\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 query: query,\n ...options,\n });\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.queryTicketDefinitions(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: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'ticketDefinitions.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'ticketDefinitions.eventDetails.location.address' }],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['query', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface TicketDefinitionQuerySpec extends QuerySpec {\n paging: 'cursor';\n wql: [\n {\n fields: [\n '_createdDate',\n '_id',\n '_updatedDate',\n 'description',\n 'eventId',\n 'initialLimit',\n 'name',\n 'pricingMethod.fixedPrice.currency',\n 'pricingMethod.fixedPrice.value',\n 'revision'\n ];\n operators: [\n '$eq',\n '$exists',\n '$gt',\n '$gte',\n '$in',\n '$lt',\n '$lte',\n '$ne',\n '$nin'\n ];\n sort: 'BOTH';\n },\n {\n fields: [\n 'feeType',\n 'hidden',\n 'pricingMethod.free',\n 'pricingMethod.pricingType',\n 'saleStatus'\n ];\n operators: ['$eq', '$exists', '$in', '$ne', '$nin'];\n sort: 'BOTH';\n }\n ];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<\n TicketDefinition,\n TicketDefinitionQuerySpec\n>;\nexport type TicketDefinitionQuery = {\n /** \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` parameters. \n */\n cursorPaging?: {\n /** \n Number of items to load per page. \n @max: 100 \n */\n limit?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit']\n | null;\n /** \n Pointer to the next or previous page in the list of results.\n You can get the relevant cursor token\n from the `pagingMetadata` object in the previous call's response.\n Not relevant for the first request. \n @maxLength: 16000 \n */\n cursor?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor']\n | null;\n };\n /** \n Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\", \"fieldName2\":{\"$operator\":\"value2\"} }`. <br/> <br/> **Example:** <br/> `\"filter\" : { \"id\": \"2224a9d1-79e6-4549-a5c5-bf7ce5aac1a5\", \"revision\": {\"$ne\":\"1\"} }` \n */\n filter?: CommonQueryWithEntityContext['filter'] | null;\n /** \n Sort object in the following format: <br/> `[{\"fieldName\":\"sortField1\"},{\"fieldName\":\"sortField2\",\"direction\":\"DESC\"}]` <br/> <br/> **Example:** <br/> `[{\"fieldName\":\"createdDate\",\"direction\":\"DESC\"}]` <br/> <br/> See [supported fields](https://dev.wix.com/api/rest/wix-events/policy-v2/filter-and-sort) for more information. \n @maxSize: 10 \n */\n sort?: {\n /** \n Name of the field to sort by. \n @maxLength: 100 \n */\n fieldName?: NonNullable<\n CommonQueryWithEntityContext['sort']\n >[number]['fieldName'];\n /** \n Defaults to `ASC` \n */\n order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];\n }[];\n};\n\n/**\n * Retrieves a list of available ticket definitions with the specified paging, filtering, and sorting.\n *\n * This method retrieves ticket definitions that aren't in the `hidden` state. The available ticket definitions can be retrieved by site visitors.\n *\n * > **Note:** You need the `WIX_EVENTS.READ_TICKET_DEFINITIONS` permission to get the `salesDetails` field values.\n *\n * Query Available Ticket Definitions runs with these defaults, which you can override:\n * - `createdDate` is sorted in `ASC` order\n * - `paging.limit` is `100`\n * - `paging.offset` is `0`\n *\n * For field support for filters and sorting, see [Ticket Definitions: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/events/ticket-definition-v3/filter-and-sort).\n * To learn about working with _Query_ methods, see [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language).\n * @param query - Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details.\n * @public\n * @requiredField query\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_AVAILABLE_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.QueryAvailableTicketDefinitions\n */\nexport async function queryAvailableTicketDefinitions(\n query: QueryV2,\n options?: QueryAvailableTicketDefinitionsOptions\n): Promise<\n NonNullablePaths<\n QueryAvailableTicketDefinitionsResponse,\n | `ticketDefinitions`\n | `ticketDefinitions.${number}.hidden`\n | `ticketDefinitions.${number}.limited`\n | `ticketDefinitions.${number}.pricingMethod.fixedPrice.value`\n | `ticketDefinitions.${number}.pricingMethod.fixedPrice.currency`\n | `ticketDefinitions.${number}.pricingMethod.pricingType`\n | `ticketDefinitions.${number}.pricingMethod.free`\n | `ticketDefinitions.${number}.feeType`\n | `ticketDefinitions.${number}.salePeriod.displayNotOnSale`\n | `ticketDefinitions.${number}.saleStatus`\n | `ticketDefinitions.${number}.eventDetails.location.type`\n | `ticketDefinitions.${number}.eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `ticketDefinitions.${number}.eventDetails.status`,\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 query: query,\n fields: options?.fields,\n });\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.queryAvailableTicketDefinitions(\n payload\n );\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: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'ticketDefinitions.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'ticketDefinitions.eventDetails.location.address' }],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['query', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface QueryAvailableTicketDefinitionsOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\n/**\n * Counts ticket definitions by the `saleStatus` field, including those with the `hidden` status.\n * @public\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.CountTicketDefinitions\n */\nexport async function countTicketDefinitions(\n options?: CountTicketDefinitionsOptions\n): Promise<\n CountTicketDefinitionsResponse & {\n __applicationErrorsType?: CountTicketDefinitionsApplicationErrors;\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 filter: options?.filter,\n facet: options?.facet,\n });\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.countTicketDefinitions(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 },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CountTicketDefinitionsOptions {\n /** Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\" }`. */\n filter?: Record<string, any> | null;\n /**\n * Parameters to count ticket definitions by.\n *\n * - Max: 20 facets.\n * @maxLength 100\n * @maxSize 20\n */\n facet?: string[];\n}\n\n/**\n * Counts ticket definitions by the `saleStatus`, excluding those with the `hidden` status.\n * @public\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_AVAILABLE_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.CountAvailableTicketDefinitions\n */\nexport async function countAvailableTicketDefinitions(\n options?: CountAvailableTicketDefinitionsOptions\n): Promise<\n CountAvailableTicketDefinitionsResponse & {\n __applicationErrorsType?: CountAvailableTicketDefinitionsApplicationErrors;\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 filter: options?.filter,\n });\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.countAvailableTicketDefinitions(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { filter: '$[0].filter' },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CountAvailableTicketDefinitionsOptions {\n /** Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\" }`. */\n filter?: Record<string, any> | null;\n}\n\n/**\n * Deletes multiple ticket definitions.\n *\n * All ticket definitions that meet the specified `filter` criteria are deleted.\n * @param filter - Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\" }`. <br/> <br/> **Example:** <br/> `\"filter\" : { \"eventId\": \"3d3d5c04-ece0-45a8-85f0-11a58edaa192\" }`\n * @public\n * @requiredField filter\n * @permissionId WIX_EVENTS.MANAGE_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.BulkDeleteTicketDefinitionsByFilter\n */\nexport async function bulkDeleteTicketDefinitionsByFilter(\n filter: Record<string, any>\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({ filter: filter });\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.bulkDeleteTicketDefinitionsByFilter(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { filter: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['filter']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Changes ticket price currency per event.\n * @param eventId - Event ID.\n * @public\n * @requiredField eventId\n * @requiredField options\n * @requiredField options.currency\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.MANAGE_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.ChangeCurrency\n */\nexport async function changeCurrency(\n eventId: string,\n options: NonNullablePaths<ChangeCurrencyOptions, `currency`, 2>\n): Promise<\n void & {\n __applicationErrorsType?: ChangeCurrencyApplicationErrors;\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,\n currency: options?.currency,\n });\n\n const reqOpts = ambassadorWixEventsV3TicketDefinition.changeCurrency(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 eventId: '$[0]',\n currency: '$[1].currency',\n },\n singleArgumentUnchanged: false,\n },\n ['eventId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface ChangeCurrencyOptions {\n /**\n * Ticket price currency in 3-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.\n * @minLength 3\n * @maxLength 3\n */\n currency: string;\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 resolveWixEventsTicketdefV3TicketDefinitionManagementUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/events-ticket-definitions',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/events-ticket-definitions',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/events-ticket-definitions',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/events-ticket-definitions',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/events-ticket-definitions',\n destPath: '',\n },\n {\n srcPath: '/events/v3/ticket-definitions',\n destPath: '/v3/ticket-definitions',\n },\n {\n srcPath: '/events/v3/bulk/ticket-definitions',\n destPath: '/v3/bulk/ticket-definitions',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/events-ticket-definitions',\n destPath: '',\n },\n ],\n 'events.wixapps.net': [\n {\n srcPath: '/_api/events-ticket-definitions',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/events-ticket-definitions',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_events_ticket-definitions-v-2';\n\n/**\n * Creates a ticket definition.\n *\n * You may create up to 100 definitions per event.\n */\nexport function createTicketDefinition(\n payload: object\n): RequestOptionsFactory<any> {\n function __createTicketDefinition({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'ticketDefinition.createdDate' },\n { path: 'ticketDefinition.updatedDate' },\n { path: 'ticketDefinition.eventCreatedDate' },\n { path: 'ticketDefinition.salePeriod.startDate' },\n { path: 'ticketDefinition.salePeriod.endDate' },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.startDate',\n },\n { path: 'ticketDefinition.eventDetails.dateAndTimeSettings.endDate' },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.latitude',\n },\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.longitude',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.CreateTicketDefinition',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'ticketDefinition.createdDate' },\n { path: 'ticketDefinition.updatedDate' },\n { path: 'ticketDefinition.eventCreatedDate' },\n { path: 'ticketDefinition.salePeriod.startDate' },\n { path: 'ticketDefinition.salePeriod.endDate' },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.startDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.endDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.latitude',\n },\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createTicketDefinition;\n}\n\n/**\n * Updates a ticket definition.\n *\n * Each time the ticket definition is updated, `revision` increments by 1. The existing `revision` must be included when updating the ticket definition. This ensures you're working with the latest ticket definition and prevents unintended overwrites.\n */\nexport function updateTicketDefinition(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateTicketDefinition({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'mask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'ticketDefinition.createdDate' },\n { path: 'ticketDefinition.updatedDate' },\n { path: 'ticketDefinition.eventCreatedDate' },\n { path: 'ticketDefinition.salePeriod.startDate' },\n { path: 'ticketDefinition.salePeriod.endDate' },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.startDate',\n },\n { path: 'ticketDefinition.eventDetails.dateAndTimeSettings.endDate' },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.latitude',\n },\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.longitude',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.UpdateTicketDefinition',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions/{ticketDefinition.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: 'ticketDefinition.createdDate' },\n { path: 'ticketDefinition.updatedDate' },\n { path: 'ticketDefinition.eventCreatedDate' },\n { path: 'ticketDefinition.salePeriod.startDate' },\n { path: 'ticketDefinition.salePeriod.endDate' },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.startDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.endDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.latitude',\n },\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateTicketDefinition;\n}\n\n/** Retrieves a ticket definition. */\nexport function getTicketDefinition(\n payload: object\n): RequestOptionsFactory<any> {\n function __getTicketDefinition({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'GET' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.GetTicketDefinition',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions/{ticketDefinitionId}',\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: 'ticketDefinition.createdDate' },\n { path: 'ticketDefinition.updatedDate' },\n { path: 'ticketDefinition.eventCreatedDate' },\n { path: 'ticketDefinition.salePeriod.startDate' },\n { path: 'ticketDefinition.salePeriod.endDate' },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.startDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.endDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.latitude',\n },\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getTicketDefinition;\n}\n\n/** Deletes a ticket definition. */\nexport function deleteTicketDefinition(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteTicketDefinition({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.DeleteTicketDefinition',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions/{ticketDefinitionId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteTicketDefinition;\n}\n\n/**\n * Adjusts the order in which ticket definitions display in an event dashboard, as well as the order of available tickets displayed in the ticket picker.\n * > **Note:** You may use both `beforeTicketDefinitionId` and `afterTicketDefinitionId` but only the last one provided takes effect.\n */\nexport function reorderTicketDefinitions(\n payload: object\n): RequestOptionsFactory<any> {\n function __reorderTicketDefinitions({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.ReorderTicketDefinitions',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions/reorder',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __reorderTicketDefinitions;\n}\n\n/**\n * Retrieves a list of ticket definitions, given the provided paging, filtering, and sorting.\n * Query Ticket Definitions runs with these defaults, which you can override:\n * - `createdDate` is sorted in `ASC` order\n * - `paging.limit` is `100`\n * - `paging.offset` is `0`\n */\nexport function queryTicketDefinitions(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryTicketDefinitions({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.QueryTicketDefinitions',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions/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: 'ticketDefinitions.createdDate' },\n { path: 'ticketDefinitions.updatedDate' },\n { path: 'ticketDefinitions.eventCreatedDate' },\n { path: 'ticketDefinitions.salePeriod.startDate' },\n { path: 'ticketDefinitions.salePeriod.endDate' },\n {\n path: 'ticketDefinitions.eventDetails.dateAndTimeSettings.startDate',\n },\n {\n path: 'ticketDefinitions.eventDetails.dateAndTimeSettings.endDate',\n },\n {\n path: 'ticketDefinitions.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'ticketDefinitions.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'ticketDefinitions.eventDetails.location.address.geocode.latitude',\n },\n {\n path: 'ticketDefinitions.eventDetails.location.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryTicketDefinitions;\n}\n\n/**\n * Retrieves a list of available ticket definitions with the specified paging, filtering, and sorting.\n *\n * This method retrieves ticket definitions that aren't in the `hidden` state. The available ticket definitions can be retrieved by site visitors.\n *\n * > **Note:** You need the `WIX_EVENTS.READ_TICKET_DEFINITIONS` permission to get the `salesDetails` field values.\n *\n * Query Available Ticket Definitions runs with these defaults, which you can override:\n * - `createdDate` is sorted in `ASC` order\n * - `paging.limit` is `100`\n * - `paging.offset` is `0`\n *\n * For field support for filters and sorting, see [Ticket Definitions: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/events/ticket-definition-v3/filter-and-sort).\n * To learn about working with _Query_ methods, see [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language).\n */\nexport function queryAvailableTicketDefinitions(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryAvailableTicketDefinitions({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.QueryAvailableTicketDefinitions',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions/available/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: 'ticketDefinitions.createdDate' },\n { path: 'ticketDefinitions.updatedDate' },\n { path: 'ticketDefinitions.eventCreatedDate' },\n { path: 'ticketDefinitions.salePeriod.startDate' },\n { path: 'ticketDefinitions.salePeriod.endDate' },\n {\n path: 'ticketDefinitions.eventDetails.dateAndTimeSettings.startDate',\n },\n {\n path: 'ticketDefinitions.eventDetails.dateAndTimeSettings.endDate',\n },\n {\n path: 'ticketDefinitions.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'ticketDefinitions.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'ticketDefinitions.eventDetails.location.address.geocode.latitude',\n },\n {\n path: 'ticketDefinitions.eventDetails.location.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryAvailableTicketDefinitions;\n}\n\n/** Counts ticket definitions by the `saleStatus` field, including those with the `hidden` status. */\nexport function countTicketDefinitions(\n payload: object\n): RequestOptionsFactory<any> {\n function __countTicketDefinitions({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.CountTicketDefinitions',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions/count',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __countTicketDefinitions;\n}\n\n/** Counts ticket definitions by the `saleStatus`, excluding those with the `hidden` status. */\nexport function countAvailableTicketDefinitions(\n payload: object\n): RequestOptionsFactory<any> {\n function __countAvailableTicketDefinitions({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.CountAvailableTicketDefinitions',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions/available/count',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __countAvailableTicketDefinitions;\n}\n\n/**\n * Deletes multiple ticket definitions.\n *\n * All ticket definitions that meet the specified `filter` criteria are deleted.\n */\nexport function bulkDeleteTicketDefinitionsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteTicketDefinitionsByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.BulkDeleteTicketDefinitionsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/bulk/ticket-definitions/delete',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteTicketDefinitionsByFilter;\n}\n\n/** Changes ticket price currency per event. */\nexport function changeCurrency(payload: object): RequestOptionsFactory<any> {\n function __changeCurrency({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.ChangeCurrency',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions/currency',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __changeCurrency;\n}\n","import {\n createTicketDefinition as publicCreateTicketDefinition,\n updateTicketDefinition as publicUpdateTicketDefinition,\n getTicketDefinition as publicGetTicketDefinition,\n deleteTicketDefinition as publicDeleteTicketDefinition,\n reorderTicketDefinitions as publicReorderTicketDefinitions,\n queryTicketDefinitions as publicQueryTicketDefinitions,\n typedQueryTicketDefinitions as publicTypedQueryTicketDefinitions,\n queryAvailableTicketDefinitions as publicQueryAvailableTicketDefinitions,\n countTicketDefinitions as publicCountTicketDefinitions,\n countAvailableTicketDefinitions as publicCountAvailableTicketDefinitions,\n bulkDeleteTicketDefinitionsByFilter as publicBulkDeleteTicketDefinitionsByFilter,\n changeCurrency as publicChangeCurrency,\n} from './events-v3-ticket-definition-ticket-definitions-v-2.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { createEventModule } from '@wix/sdk-runtime/event-definition-modules';\nimport {\n BuildRESTFunction,\n MaybeContext,\n BuildEventDefinition,\n} from '@wix/sdk-types';\nimport { HttpClient } from '@wix/sdk-types';\nimport { createQueryOverloadRouter } from '@wix/sdk-runtime/query-method-router';\nimport {\n QueryTicketDefinitionsOptions,\n TicketDefinitionQuery,\n TicketDefinitionsQueryBuilder,\n typedQueryTicketDefinitions as universalTypedQueryTicketDefinitions,\n} from './events-v3-ticket-definition-ticket-definitions-v-2.universal.js';\nimport { onTicketDefinitionCreated as publicOnTicketDefinitionCreated } from './events-v3-ticket-definition-ticket-definitions-v-2.public.js';\nimport { onTicketDefinitionDeleted as publicOnTicketDefinitionDeleted } from './events-v3-ticket-definition-ticket-definitions-v-2.public.js';\nimport { onTicketDefinitionSaleEnded as publicOnTicketDefinitionSaleEnded } from './events-v3-ticket-definition-ticket-definitions-v-2.public.js';\nimport { onTicketDefinitionSalePeriodUpdated as publicOnTicketDefinitionSalePeriodUpdated } from './events-v3-ticket-definition-ticket-definitions-v-2.public.js';\nimport { onTicketDefinitionSaleStarted as publicOnTicketDefinitionSaleStarted } from './events-v3-ticket-definition-ticket-definitions-v-2.public.js';\nimport { onTicketDefinitionUpdated as publicOnTicketDefinitionUpdated } from './events-v3-ticket-definition-ticket-definitions-v-2.public.js';\n\nfunction customQueryTicketDefinitions(httpClient: HttpClient) {\n const router = createQueryOverloadRouter({\n builderQueryFunction: (options?: QueryTicketDefinitionsOptions) =>\n publicQueryTicketDefinitions(httpClient)(options),\n typedQueryFunction: (\n query: TicketDefinitionQuery,\n options?: QueryTicketDefinitionsOptions\n ) => publicTypedQueryTicketDefinitions(httpClient)(query, options),\n hasOptionsParameter: true,\n });\n\n function overloadedQuery(\n query: TicketDefinitionQuery,\n options?: QueryTicketDefinitionsOptions\n ): ReturnType<typeof universalTypedQueryTicketDefinitions>;\n function overloadedQuery(\n options?: QueryTicketDefinitionsOptions\n ): TicketDefinitionsQueryBuilder;\n function overloadedQuery(\n queryOrOptions?: TicketDefinitionQuery | QueryTicketDefinitionsOptions,\n options?: QueryTicketDefinitionsOptions\n ): any {\n return router(...arguments);\n }\n\n return overloadedQuery;\n}\n\nexport const createTicketDefinition: MaybeContext<\n BuildRESTFunction<typeof publicCreateTicketDefinition> &\n typeof publicCreateTicketDefinition\n> = /*#__PURE__*/ createRESTModule(publicCreateTicketDefinition);\nexport const updateTicketDefinition: MaybeContext<\n BuildRESTFunction<typeof publicUpdateTicketDefinition> &\n typeof publicUpdateTicketDefinition\n> = /*#__PURE__*/ createRESTModule(publicUpdateTicketDefinition);\nexport const getTicketDefinition: MaybeContext<\n BuildRESTFunction<typeof publicGetTicketDefinition> &\n typeof publicGetTicketDefinition\n> = /*#__PURE__*/ createRESTModule(publicGetTicketDefinition);\nexport const deleteTicketDefinition: MaybeContext<\n BuildRESTFunction<typeof publicDeleteTicketDefinition> &\n typeof publicDeleteTicketDefinition\n> = /*#__PURE__*/ createRESTModule(publicDeleteTicketDefinition);\nexport const reorderTicketDefinitions: MaybeContext<\n BuildRESTFunction<typeof publicReorderTicketDefinitions> &\n typeof publicReorderTicketDefinitions\n> = /*#__PURE__*/ createRESTModule(publicReorderTicketDefinitions);\nexport const queryAvailableTicketDefinitions: MaybeContext<\n BuildRESTFunction<typeof publicQueryAvailableTicketDefinitions> &\n typeof publicQueryAvailableTicketDefinitions\n> = /*#__PURE__*/ createRESTModule(publicQueryAvailableTicketDefinitions);\nexport const countTicketDefinitions: MaybeContext<\n BuildRESTFunction<typeof publicCountTicketDefinitions> &\n typeof publicCountTicketDefinitions\n> = /*#__PURE__*/ createRESTModule(publicCountTicketDefinitions);\nexport const countAvailableTicketDefinitions: MaybeContext<\n BuildRESTFunction<typeof publicCountAvailableTicketDefinitions> &\n typeof publicCountAvailableTicketDefinitions\n> = /*#__PURE__*/ createRESTModule(publicCountAvailableTicketDefinitions);\nexport const bulkDeleteTicketDefinitionsByFilter: MaybeContext<\n BuildRESTFunction<typeof publicBulkDeleteTicketDefinitionsByFilter> &\n typeof publicBulkDeleteTicketDefinitionsByFilter\n> = /*#__PURE__*/ createRESTModule(publicBulkDeleteTicketDefinitionsByFilter);\nexport const changeCurrency: MaybeContext<\n BuildRESTFunction<typeof publicChangeCurrency> & typeof publicChangeCurrency\n> = /*#__PURE__*/ createRESTModule(publicChangeCurrency);\nexport const queryTicketDefinitions: MaybeContext<\n BuildRESTFunction<typeof customQueryTicketDefinitions> &\n typeof customQueryTicketDefinitions\n> = /*#__PURE__*/ createRESTModule(customQueryTicketDefinitions);\n/**\n * Triggered when a ticket definition is created.\n */\nexport const onTicketDefinitionCreated: BuildEventDefinition<\n typeof publicOnTicketDefinitionCreated\n> &\n typeof publicOnTicketDefinitionCreated = createEventModule(\n publicOnTicketDefinitionCreated\n);\n/**\n * Triggered when a ticket definition is deleted.\n */\nexport const onTicketDefinitionDeleted: BuildEventDefinition<\n typeof publicOnTicketDefinitionDeleted\n> &\n typeof publicOnTicketDefinitionDeleted = createEventModule(\n publicOnTicketDefinitionDeleted\n);\n/**\n * Triggered when a ticket sale ends. Sales details aren't included in the response.\n */\nexport const onTicketDefinitionSaleEnded: BuildEventDefinition<\n typeof publicOnTicketDefinitionSaleEnded\n> &\n typeof publicOnTicketDefinitionSaleEnded = createEventModule(\n publicOnTicketDefinitionSaleEnded\n);\n/**\n * Triggered when a sale period is updated.\n */\nexport const onTicketDefinitionSalePeriodUpdated: BuildEventDefinition<\n typeof publicOnTicketDefinitionSalePeriodUpdated\n> &\n typeof publicOnTicketDefinitionSalePeriodUpdated = createEventModule(\n publicOnTicketDefinitionSalePeriodUpdated\n);\n/**\n * Triggered when a ticket sale starts. Sales details aren't included in the response.\n */\nexport const onTicketDefinitionSaleStarted: BuildEventDefinition<\n typeof publicOnTicketDefinitionSaleStarted\n> &\n typeof publicOnTicketDefinitionSaleStarted = createEventModule(\n publicOnTicketDefinitionSaleStarted\n);\n/**\n * Triggered when a ticket definition is updated.\n */\nexport const onTicketDefinitionUpdated: BuildEventDefinition<\n typeof publicOnTicketDefinitionUpdated\n> &\n typeof publicOnTicketDefinitionUpdated = createEventModule(\n publicOnTicketDefinitionUpdated\n);\n\nexport {\n PricingTypeEnumType,\n FeeTypeEnumType,\n SaleStatusEnumStatus,\n LocationType,\n SubdivisionSubdivisionType,\n RecurrenceStatusStatus,\n Status,\n Field,\n SortOrder,\n LocationLocationType,\n SubdivisionType,\n EventsRecurrenceStatusStatus,\n EventStatus,\n EventType,\n RegistrationStatus,\n RsvpStatusOptions,\n TaxType,\n CheckoutType,\n VisitorType,\n InputControlType,\n ValueType,\n ConferenceType,\n CategoryStateState,\n NodeType,\n WidthType,\n PluginContainerDataAlignment,\n ButtonDataType,\n Target,\n TextAlignment,\n LineStyle,\n Width,\n DividerDataAlignment,\n ViewMode,\n LayoutType,\n Orientation,\n Crop,\n ThumbnailsAlignment,\n GIFType,\n Source,\n StylesPosition,\n MapType,\n ViewRole,\n VoteRole,\n PollLayoutType,\n PollLayoutDirection,\n BackgroundType,\n DecorationType,\n FontType,\n Position,\n AspectRatio,\n Resizing,\n Placement,\n CardStylesType,\n Alignment,\n Layout,\n AppType,\n InitialExpandedItems,\n Direction,\n VerticalAlignment,\n NullValue,\n Scaling,\n ImagePosition,\n VerticalAlignmentAlignment,\n ResponsivenessBehaviour,\n DesignTarget,\n Type,\n State,\n SiteCreatedContext,\n Namespace,\n DeleteStatus,\n WebhookIdentityType,\n} from './events-v3-ticket-definition-ticket-definitions-v-2.universal.js';\nexport {\n TicketDefinition,\n SalePeriod,\n PricingMethod,\n PricingMethodPriceOneOf,\n CommonMoney,\n PricingOptions,\n OptionDetails,\n SalesDetails,\n ExtendedFields,\n EventDetails,\n Location,\n CommonAddress,\n CommonAddressStreetOneOf,\n CommonStreetAddress,\n CommonAddressLocation,\n CommonSubdivision,\n DateAndTimeSettings,\n Recurrences,\n Occurrence,\n Formatted,\n SeatingDetails,\n AvailablePlace,\n InvalidateCache,\n InvalidateCacheGetByOneOf,\n App,\n Page,\n URI,\n File,\n CustomTag,\n SalePeriodUpdated,\n TicketDefinitionSaleStarted,\n TicketDefinitionSaleEnded,\n CreateTicketDefinitionRequest,\n CreateTicketDefinitionResponse,\n UpdateTicketDefinitionRequest,\n UpdateTicketDefinitionResponse,\n GetTicketDefinitionRequest,\n GetTicketDefinitionResponse,\n DeleteTicketDefinitionRequest,\n DeleteTicketDefinitionResponse,\n ReorderTicketDefinitionsRequest,\n ReorderTicketDefinitionsRequestReferenceDefinitionOneOf,\n ReorderTicketDefinitionsResponse,\n UpdateTicketDefinitionSortIndexRequest,\n UpdateTicketDefinitionSortIndexResponse,\n QueryTicketDefinitionsRequest,\n QueryV2,\n QueryV2PagingMethodOneOf,\n Sorting,\n Paging,\n CursorPaging,\n QueryTicketDefinitionsResponse,\n PagingMetadataV2,\n Cursors,\n QueryAvailableTicketDefinitionsRequest,\n QueryAvailableTicketDefinitionsResponse,\n CountTicketDefinitionsRequest,\n CountTicketDefinitionsResponse,\n FacetCounts,\n CountAvailableTicketDefinitionsRequest,\n CountAvailableTicketDefinitionsResponse,\n BulkDeleteTicketDefinitionsByFilterRequest,\n BulkDeleteTicketDefinitionsByFilterResponse,\n ChangeCurrencyRequest,\n ChangeCurrencyResponse,\n BulkCopyTicketDefinitionsByEventIdRequest,\n BulkCopyTicketDefinitionsByEventIdResponse,\n CopiedTicketDefinition,\n UpdateFeeTypesBasedOnSettingsRequest,\n UpdateFeeTypesBasedOnSettingsResponse,\n EventDeleted,\n Empty,\n EventCanceled,\n EventEnded,\n EventCreated,\n EventsLocation,\n MapCoordinates,\n Address,\n AddressStreetOneOf,\n StreetAddress,\n AddressLocation,\n Subdivision,\n ScheduleConfig,\n EventsRecurrences,\n EventsOccurrence,\n Event,\n Scheduling,\n Registration,\n RsvpCollection,\n RsvpCollectionConfig,\n RsvpConfirmationMessages,\n RsvpConfirmationMessagesPositiveResponseConfirmation,\n RsvpConfirmationMessagesNegativeResponseConfirmation,\n Ticketing,\n TicketingConfig,\n TaxConfig,\n TicketsConfirmationMessages,\n Money,\n ExternalEvent,\n CalendarLinks,\n SiteUrl,\n Form,\n InputControl,\n Input,\n OptionSelection,\n OptionSelectionSelectedOptionOneOf,\n Label,\n FormMessages,\n RsvpFormMessages,\n PositiveResponseConfirmation,\n NegativeResponseConfirmation,\n Positive,\n Negative,\n CheckoutFormMessages,\n ResponseConfirmation,\n RegistrationClosedMessages,\n TicketsUnavailableMessages,\n Dashboard,\n RsvpSummary,\n TicketingSummary,\n GuestListConfig,\n Feed,\n OnlineConferencing,\n OnlineConferencingConfig,\n OnlineConferencingSession,\n SeoSettings,\n SeoSchema,\n Keyword,\n Tag,\n Settings,\n Agenda,\n Category,\n CategoryCounts,\n EventDisplaySettings,\n LabellingSettings,\n RichContent,\n Node,\n NodeDataOneOf,\n NodeStyle,\n ButtonData,\n Border,\n Colors,\n PluginContainerData,\n PluginContainerDataWidth,\n PluginContainerDataWidthDataOneOf,\n Spoiler,\n Height,\n Styles,\n Link,\n LinkDataOneOf,\n Rel,\n CodeBlockData,\n TextStyle,\n DividerData,\n FileData,\n FileSource,\n FileSourceDataOneOf,\n PDFSettings,\n GalleryData,\n Media,\n Image,\n Video,\n Item,\n ItemDataOneOf,\n GalleryOptions,\n GalleryOptionsLayout,\n ItemStyle,\n Thumbnails,\n GIFData,\n GIF,\n HeadingData,\n HTMLData,\n HTMLDataDataOneOf,\n ImageData,\n StylesBorder,\n ImageDataStyles,\n LinkPreviewData,\n LinkPreviewDataStyles,\n MapData,\n MapSettings,\n ParagraphData,\n PollData,\n Permissions,\n Option,\n PollSettings,\n PollLayout,\n OptionLayout,\n Gradient,\n Background,\n BackgroundBackgroundOneOf,\n PollDesign,\n OptionDesign,\n Poll,\n PollDataLayout,\n Design,\n TextData,\n Decoration,\n DecorationDataOneOf,\n AnchorData,\n ColorData,\n LinkData,\n MentionData,\n FontSizeData,\n SpoilerData,\n FontFamilyData,\n AppEmbedData,\n AppEmbedDataAppDataOneOf,\n BookingData,\n EventData,\n ButtonStyles,\n ImageStyles,\n RibbonStyles,\n CardStyles,\n PricingData,\n VideoData,\n PlaybackOptions,\n EmbedData,\n Oembed,\n CollapsibleListData,\n TableData,\n Dimensions,\n TableCellData,\n CellStyle,\n BorderColors,\n BorderWidths,\n ListValue,\n AudioData,\n OrderedListData,\n BulletedListData,\n BlockquoteData,\n CaptionData,\n LayoutData,\n BackgroundImage,\n LayoutCellData,\n Metadata,\n DocumentStyle,\n TextNodeStyle,\n Badge,\n EventUpdated,\n SeatingPlanCategoriesSummaryUpdated,\n CategoryDetails,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n MetaSiteSpecialEvent,\n MetaSiteSpecialEventPayloadOneOf,\n Asset,\n SiteCreated,\n SiteTransferred,\n SiteDeleted,\n DeleteContext,\n SiteUndeleted,\n SitePublished,\n SiteUnpublished,\n SiteMarkedAsTemplate,\n SiteMarkedAsWixSite,\n ServiceProvisioned,\n ServiceRemoved,\n SiteRenamed,\n SiteHardDeleted,\n NamespaceChanged,\n StudioAssigned,\n StudioUnassigned,\n SiteUrlChanged,\n SitePurgedExternally,\n OdeditorAssigned,\n OdeditorUnassigned,\n PicassoAssigned,\n PicassoUnassigned,\n WixelAssigned,\n WixelUnassigned,\n StudioTwoAssigned,\n StudioTwoUnassigned,\n GetTicketDefinitionFromTrashBinRequest,\n GetTicketDefinitionFromTrashBinResponse,\n ScheduleLegacyTimeCapsuleTaskRequest,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n AccountInfo,\n GetTicketDefinitionSummaryRequest,\n GetTicketDefinitionSummaryResponse,\n TicketDefinitionSummary,\n ListEventTicketingSummaryRequest,\n ListEventTicketingSummaryResponse,\n EventTicketingSummary,\n UpdateEventTicketingSummaryRequest,\n UpdateEventTicketingSummaryResponse,\n BaseEventMetadata,\n EventMetadata,\n TicketDefinitionCreatedEnvelope,\n TicketDefinitionDeletedEnvelope,\n TicketDefinitionSaleEndedEnvelope,\n TicketDefinitionSalePeriodUpdatedEnvelope,\n TicketDefinitionSaleStartedEnvelope,\n TicketDefinitionUpdatedEnvelope,\n CreateTicketDefinitionOptions,\n UpdateTicketDefinition,\n UpdateTicketDefinitionOptions,\n GetTicketDefinitionOptions,\n ReorderTicketDefinitionsOptions,\n ReorderTicketDefinitionsOptionsReferenceDefinitionOneOf,\n QueryTicketDefinitionsOptions,\n TicketDefinitionsQueryResult,\n TicketDefinitionsQueryBuilder,\n TicketDefinitionQuerySpec,\n QueryAvailableTicketDefinitionsOptions,\n CountTicketDefinitionsOptions,\n CountAvailableTicketDefinitionsOptions,\n ChangeCurrencyOptions,\n} from './events-v3-ticket-definition-ticket-definitions-v-2.universal.js';\nexport {\n PricingTypeEnumTypeWithLiterals,\n FeeTypeEnumTypeWithLiterals,\n SaleStatusEnumStatusWithLiterals,\n LocationTypeWithLiterals,\n SubdivisionSubdivisionTypeWithLiterals,\n RecurrenceStatusStatusWithLiterals,\n StatusWithLiterals,\n FieldWithLiterals,\n SortOrderWithLiterals,\n LocationLocationTypeWithLiterals,\n SubdivisionTypeWithLiterals,\n EventsRecurrenceStatusStatusWithLiterals,\n EventStatusWithLiterals,\n EventTypeWithLiterals,\n RegistrationStatusWithLiterals,\n RsvpStatusOptionsWithLiterals,\n TaxTypeWithLiterals,\n CheckoutTypeWithLiterals,\n VisitorTypeWithLiterals,\n InputControlTypeWithLiterals,\n ValueTypeWithLiterals,\n ConferenceTypeWithLiterals,\n CategoryStateStateWithLiterals,\n NodeTypeWithLiterals,\n WidthTypeWithLiterals,\n PluginContainerDataAlignmentWithLiterals,\n ButtonDataTypeWithLiterals,\n TargetWithLiterals,\n TextAlignmentWithLiterals,\n LineStyleWithLiterals,\n WidthWithLiterals,\n DividerDataAlignmentWithLiterals,\n ViewModeWithLiterals,\n LayoutTypeWithLiterals,\n OrientationWithLiterals,\n CropWithLiterals,\n ThumbnailsAlignmentWithLiterals,\n GIFTypeWithLiterals,\n SourceWithLiterals,\n StylesPositionWithLiterals,\n MapTypeWithLiterals,\n ViewRoleWithLiterals,\n VoteRoleWithLiterals,\n PollLayoutTypeWithLiterals,\n PollLayoutDirectionWithLiterals,\n BackgroundTypeWithLiterals,\n DecorationTypeWithLiterals,\n FontTypeWithLiterals,\n PositionWithLiterals,\n AspectRatioWithLiterals,\n ResizingWithLiterals,\n PlacementWithLiterals,\n CardStylesTypeWithLiterals,\n AlignmentWithLiterals,\n LayoutWithLiterals,\n AppTypeWithLiterals,\n InitialExpandedItemsWithLiterals,\n DirectionWithLiterals,\n VerticalAlignmentWithLiterals,\n NullValueWithLiterals,\n ScalingWithLiterals,\n ImagePositionWithLiterals,\n VerticalAlignmentAlignmentWithLiterals,\n ResponsivenessBehaviourWithLiterals,\n DesignTargetWithLiterals,\n TypeWithLiterals,\n StateWithLiterals,\n SiteCreatedContextWithLiterals,\n NamespaceWithLiterals,\n DeleteStatusWithLiterals,\n WebhookIdentityTypeWithLiterals,\n CreateTicketDefinitionApplicationErrors,\n UpdateTicketDefinitionApplicationErrors,\n ReorderTicketDefinitionsApplicationErrors,\n CountTicketDefinitionsApplicationErrors,\n CountAvailableTicketDefinitionsApplicationErrors,\n ChangeCurrencyApplicationErr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,0BAGK,2DAAiBA,uBAA4B;AACxD,IAAMC,mCAGK,2DAAiBA,gCAAqC;AACjE,IAAMC,uCAGK,2DAAiBA,oCAAyC;AACrE,IAAMC,kBAEK,2DAAiBA,eAAoB;AAChD,IAAMX,0BAGK,2DAAiB,4BAA4B;AAIxD,IAAMY,iCAG8B;AAAA,EACzC;AACF;AAIO,IAAMC,iCAG8B;AAAA,EACzC;AACF;AAIO,IAAMC,mCAGgC;AAAA,EAC3C;AACF;AAIO,IAAMC,2CAGwC;AAAA,EACnD;AACF;AAIO,IAAMC,qCAGkC;AAAA,EAC7C;AACF;AAIO,IAAMC,iCAG8B;AAAA,EACzC;AACF;","names":["bulkDeleteTicketDefinitionsByFilter","changeCurrency","countAvailableTicketDefinitions","countTicketDefinitions","createTicketDefinition","deleteTicketDefinition","getTicketDefinition","onTicketDefinitionCreated","onTicketDefinitionDeleted","onTicketDefinitionSaleEnded","onTicketDefinitionSalePeriodUpdated","onTicketDefinitionSaleStarted","onTicketDefinitionUpdated","queryAvailableTicketDefinitions","queryTicketDefinitions","reorderTicketDefinitions","updateTicketDefinition","import_rename_all_nested_keys","import_address","import_page_url","import_timestamp","import_transform_paths","import_float","import_timestamp","import_rest_modules","payload","import_address","import_page_url","import_transform_paths","PricingTypeEnumType","FeeTypeEnumType","SaleStatusEnumStatus","LocationType","SubdivisionSubdivisionType","RecurrenceStatusStatus","Status","Field","SortOrder","LocationLocationType","SubdivisionType","EventsRecurrenceStatusStatus","EventStatus","EventType","RegistrationStatus","RsvpStatusOptions","TaxType","CheckoutType","VisitorType","InputControlType","ValueType","ConferenceType","CategoryStateState","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","DesignTarget","Type","State","SiteCreatedContext","Namespace","DeleteStatus","WebhookIdentityType","createTicketDefinition","sdkTransformError","updateTicketDefinition","getTicketDefinition","deleteTicketDefinition","reorderTicketDefinitions","queryTicketDefinitions","queryAvailableTicketDefinitions","countTicketDefinitions","countAvailableTicketDefinitions","bulkDeleteTicketDefinitionsByFilter","changeCurrency","createTicketDefinition","updateTicketDefinition","getTicketDefinition","deleteTicketDefinition","reorderTicketDefinitions","queryTicketDefinitions","typedQueryTicketDefinitions","queryAvailableTicketDefinitions","countTicketDefinitions","countAvailableTicketDefinitions","bulkDeleteTicketDefinitionsByFilter","changeCurrency","import_rest_modules","queryTicketDefinitions","typedQueryTicketDefinitions","createTicketDefinition","updateTicketDefinition","getTicketDefinition","deleteTicketDefinition","reorderTicketDefinitions","queryAvailableTicketDefinitions","countTicketDefinitions","countAvailableTicketDefinitions","bulkDeleteTicketDefinitionsByFilter","changeCurrency","onTicketDefinitionCreated","onTicketDefinitionDeleted","onTicketDefinitionSaleEnded","onTicketDefinitionSalePeriodUpdated","onTicketDefinitionSaleStarted","onTicketDefinitionUpdated"]}
1
+ {"version":3,"sources":["../../../index.ts","../../../src/events-v3-ticket-definition-ticket-definitions-v-2.public.ts","../../../src/events-v3-ticket-definition-ticket-definitions-v-2.universal.ts","../../../src/events-v3-ticket-definition-ticket-definitions-v-2.http.ts","../../../src/events-v3-ticket-definition-ticket-definitions-v-2.context.ts"],"sourcesContent":["export * from './src/events-v3-ticket-definition-ticket-definitions-v-2.context.js';\n","import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { transformRESTAddressToSDKAddress } from '@wix/sdk-runtime/transformations/address';\nimport { transformRESTPageURLToSDKPageURL } from '@wix/sdk-runtime/transformations/page-url';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { EventDefinition, HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n ChangeCurrencyApplicationErrors,\n ChangeCurrencyOptions,\n CountAvailableTicketDefinitionsApplicationErrors,\n CountAvailableTicketDefinitionsOptions,\n CountAvailableTicketDefinitionsResponse,\n CountTicketDefinitionsApplicationErrors,\n CountTicketDefinitionsOptions,\n CountTicketDefinitionsResponse,\n CreateTicketDefinitionApplicationErrors,\n CreateTicketDefinitionOptions,\n GetTicketDefinitionOptions,\n QueryAvailableTicketDefinitionsOptions,\n QueryAvailableTicketDefinitionsResponse,\n QueryTicketDefinitionsOptions,\n QueryTicketDefinitionsResponse,\n QueryV2,\n ReorderTicketDefinitionsApplicationErrors,\n ReorderTicketDefinitionsOptions,\n TicketDefinition,\n TicketDefinitionCreatedEnvelope,\n TicketDefinitionDeletedEnvelope,\n TicketDefinitionQuery,\n TicketDefinitionSaleEndedEnvelope,\n TicketDefinitionSalePeriodUpdatedEnvelope,\n TicketDefinitionSaleStartedEnvelope,\n TicketDefinitionUpdatedEnvelope,\n TicketDefinitionsQueryBuilder,\n UpdateTicketDefinition,\n UpdateTicketDefinitionApplicationErrors,\n UpdateTicketDefinitionOptions,\n bulkDeleteTicketDefinitionsByFilter as universalBulkDeleteTicketDefinitionsByFilter,\n changeCurrency as universalChangeCurrency,\n countAvailableTicketDefinitions as universalCountAvailableTicketDefinitions,\n countTicketDefinitions as universalCountTicketDefinitions,\n createTicketDefinition as universalCreateTicketDefinition,\n deleteTicketDefinition as universalDeleteTicketDefinition,\n getTicketDefinition as universalGetTicketDefinition,\n queryAvailableTicketDefinitions as universalQueryAvailableTicketDefinitions,\n queryTicketDefinitions as universalQueryTicketDefinitions,\n reorderTicketDefinitions as universalReorderTicketDefinitions,\n typedQueryTicketDefinitions as universalTypedQueryTicketDefinitions,\n updateTicketDefinition as universalUpdateTicketDefinition,\n} from './events-v3-ticket-definition-ticket-definitions-v-2.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/events' };\n\nexport function createTicketDefinition(\n httpClient: HttpClient\n): CreateTicketDefinitionSignature {\n return (\n ticketDefinition: NonNullablePaths<\n TicketDefinition,\n `eventId` | `feeType` | `name` | `pricingMethod`,\n 2\n >,\n options?: CreateTicketDefinitionOptions\n ) =>\n universalCreateTicketDefinition(\n ticketDefinition,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CreateTicketDefinitionSignature {\n /**\n * Creates a ticket definition.\n *\n * You may create up to 100 definitions per event.\n * @param - Ticket definition info.\n * @param - Currency info.\n * @returns Created ticket definition.\n */\n (\n ticketDefinition: NonNullablePaths<\n TicketDefinition,\n `eventId` | `feeType` | `name` | `pricingMethod`,\n 2\n >,\n options?: CreateTicketDefinitionOptions\n ): Promise<\n NonNullablePaths<\n TicketDefinition,\n | `hidden`\n | `limited`\n | `pricingMethod.fixedPrice.value`\n | `pricingMethod.fixedPrice.currency`\n | `pricingMethod.pricingOptions.optionDetails`\n | `pricingMethod.pricingType`\n | `pricingMethod.free`\n | `feeType`\n | `salePeriod.displayNotOnSale`\n | `saleStatus`\n | `eventDetails.location.type`\n | `eventDetails.location.address.streetAddress.number`\n | `eventDetails.location.address.streetAddress.name`\n | `eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `eventDetails.status`\n | `seatingDetails.places`\n | `seatingDetails.places.${number}.placeId`\n | `seatingDetails.places.${number}.label`\n | `seatingDetails.places.${number}.availableCapacity`,\n 7\n > & {\n __applicationErrorsType?: CreateTicketDefinitionApplicationErrors;\n }\n >;\n}\n\nexport function updateTicketDefinition(\n httpClient: HttpClient\n): UpdateTicketDefinitionSignature {\n return (\n _id: string,\n ticketDefinition: NonNullablePaths<UpdateTicketDefinition, `revision`, 2>,\n options?: UpdateTicketDefinitionOptions\n ) =>\n universalUpdateTicketDefinition(\n _id,\n ticketDefinition,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface UpdateTicketDefinitionSignature {\n /**\n * Updates a ticket definition.\n *\n * Each time the ticket definition is updated, `revision` increments by 1. The existing `revision` must be included when updating the ticket definition. This ensures you're working with the latest ticket definition and prevents unintended overwrites.\n * @param - Ticket definition ID.\n * @param - Optional fields.\n * @param - Ticket definition to update.\n * @returns The updated ticket definition.\n */\n (\n _id: string,\n ticketDefinition: NonNullablePaths<UpdateTicketDefinition, `revision`, 2>,\n options?: UpdateTicketDefinitionOptions\n ): Promise<\n NonNullablePaths<\n TicketDefinition,\n | `hidden`\n | `limited`\n | `pricingMethod.fixedPrice.value`\n | `pricingMethod.fixedPrice.currency`\n | `pricingMethod.pricingOptions.optionDetails`\n | `pricingMethod.pricingType`\n | `pricingMethod.free`\n | `feeType`\n | `salePeriod.displayNotOnSale`\n | `saleStatus`\n | `eventDetails.location.type`\n | `eventDetails.location.address.streetAddress.number`\n | `eventDetails.location.address.streetAddress.name`\n | `eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `eventDetails.status`\n | `seatingDetails.places`\n | `seatingDetails.places.${number}.placeId`\n | `seatingDetails.places.${number}.label`\n | `seatingDetails.places.${number}.availableCapacity`,\n 7\n > & {\n __applicationErrorsType?: UpdateTicketDefinitionApplicationErrors;\n }\n >;\n}\n\nexport function getTicketDefinition(\n httpClient: HttpClient\n): GetTicketDefinitionSignature {\n return (ticketDefinitionId: string, options?: GetTicketDefinitionOptions) =>\n universalGetTicketDefinition(\n ticketDefinitionId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetTicketDefinitionSignature {\n /**\n * Retrieves a ticket definition.\n * @param - Ticket definition ID.\n * @param - Optional fields.\n * @returns The requested ticket definition.\n */\n (ticketDefinitionId: string, options?: GetTicketDefinitionOptions): Promise<\n NonNullablePaths<\n TicketDefinition,\n | `hidden`\n | `limited`\n | `pricingMethod.fixedPrice.value`\n | `pricingMethod.fixedPrice.currency`\n | `pricingMethod.pricingOptions.optionDetails`\n | `pricingMethod.pricingType`\n | `pricingMethod.free`\n | `feeType`\n | `salePeriod.displayNotOnSale`\n | `saleStatus`\n | `eventDetails.location.type`\n | `eventDetails.location.address.streetAddress.number`\n | `eventDetails.location.address.streetAddress.name`\n | `eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `eventDetails.status`\n | `seatingDetails.places`\n | `seatingDetails.places.${number}.placeId`\n | `seatingDetails.places.${number}.label`\n | `seatingDetails.places.${number}.availableCapacity`,\n 7\n >\n >;\n}\n\nexport function deleteTicketDefinition(\n httpClient: HttpClient\n): DeleteTicketDefinitionSignature {\n return (ticketDefinitionId: string) =>\n universalDeleteTicketDefinition(\n ticketDefinitionId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface DeleteTicketDefinitionSignature {\n /**\n * Deletes a ticket definition.\n * @param - ID of the ticket definition to delete.\n */\n (ticketDefinitionId: string): Promise<void>;\n}\n\nexport function reorderTicketDefinitions(\n httpClient: HttpClient\n): ReorderTicketDefinitionsSignature {\n return (\n eventId: string,\n options?: NonNullablePaths<\n ReorderTicketDefinitionsOptions,\n `ticketDefinitionId`,\n 2\n >\n ) =>\n universalReorderTicketDefinitions(\n eventId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface ReorderTicketDefinitionsSignature {\n /**\n * Adjusts the order in which ticket definitions display in an event dashboard, as well as the order of available tickets displayed in the ticket picker.\n * > **Note:** You may use both `beforeTicketDefinitionId` and `afterTicketDefinitionId` but only the last one provided takes effect.\n * @param - Event ID.\n * @param - Optional fields.\n */\n (\n eventId: string,\n options?: NonNullablePaths<\n ReorderTicketDefinitionsOptions,\n `ticketDefinitionId`,\n 2\n >\n ): Promise<\n void & {\n __applicationErrorsType?: ReorderTicketDefinitionsApplicationErrors;\n }\n >;\n}\n\nexport function queryTicketDefinitions(\n httpClient: HttpClient\n): QueryTicketDefinitionsSignature {\n return (options?: QueryTicketDefinitionsOptions) =>\n universalQueryTicketDefinitions(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface QueryTicketDefinitionsSignature {\n /**\n * Retrieves a list of ticket definitions, given the provided paging, filtering, and sorting.\n * Query Ticket Definitions runs with these defaults, which you can override:\n * - `createdDate` is sorted in `ASC` order\n * - `paging.limit` is `100`\n * - `paging.offset` is `0`\n * @param - Optional fields.\n */\n (options?: QueryTicketDefinitionsOptions): TicketDefinitionsQueryBuilder;\n}\n\nexport function typedQueryTicketDefinitions(\n httpClient: HttpClient\n): TypedQueryTicketDefinitionsSignature {\n return (\n query: TicketDefinitionQuery,\n options?: QueryTicketDefinitionsOptions\n ) =>\n universalTypedQueryTicketDefinitions(\n query,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface TypedQueryTicketDefinitionsSignature {\n /** */\n (\n query: TicketDefinitionQuery,\n options?: QueryTicketDefinitionsOptions\n ): Promise<\n NonNullablePaths<\n QueryTicketDefinitionsResponse,\n | `ticketDefinitions`\n | `ticketDefinitions.${number}.hidden`\n | `ticketDefinitions.${number}.limited`\n | `ticketDefinitions.${number}.pricingMethod.fixedPrice.value`\n | `ticketDefinitions.${number}.pricingMethod.fixedPrice.currency`\n | `ticketDefinitions.${number}.pricingMethod.pricingType`\n | `ticketDefinitions.${number}.pricingMethod.free`\n | `ticketDefinitions.${number}.feeType`\n | `ticketDefinitions.${number}.salePeriod.displayNotOnSale`\n | `ticketDefinitions.${number}.saleStatus`\n | `ticketDefinitions.${number}.eventDetails.location.type`\n | `ticketDefinitions.${number}.eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `ticketDefinitions.${number}.eventDetails.status`,\n 6\n >\n >;\n}\n\nexport function queryAvailableTicketDefinitions(\n httpClient: HttpClient\n): QueryAvailableTicketDefinitionsSignature {\n return (query: QueryV2, options?: QueryAvailableTicketDefinitionsOptions) =>\n universalQueryAvailableTicketDefinitions(\n query,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface QueryAvailableTicketDefinitionsSignature {\n /**\n * Retrieves a list of available ticket definitions with the specified paging, filtering, and sorting.\n *\n * This method retrieves ticket definitions that aren't in the `hidden` state. The available ticket definitions can be retrieved by site visitors.\n *\n * > **Note:** You need the `WIX_EVENTS.READ_TICKET_DEFINITIONS` permission to get the `salesDetails` field values.\n *\n * Query Available Ticket Definitions runs with these defaults, which you can override:\n * - `createdDate` is sorted in `ASC` order\n * - `paging.limit` is `100`\n * - `paging.offset` is `0`\n *\n * For field support for filters and sorting, see [Ticket Definitions: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/events/ticket-definition-v3/filter-and-sort).\n * To learn about working with _Query_ methods, see [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language).\n * @param - Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details.\n * @param - Optional fields.\n */\n (query: QueryV2, options?: QueryAvailableTicketDefinitionsOptions): Promise<\n NonNullablePaths<\n QueryAvailableTicketDefinitionsResponse,\n | `ticketDefinitions`\n | `ticketDefinitions.${number}.hidden`\n | `ticketDefinitions.${number}.limited`\n | `ticketDefinitions.${number}.pricingMethod.fixedPrice.value`\n | `ticketDefinitions.${number}.pricingMethod.fixedPrice.currency`\n | `ticketDefinitions.${number}.pricingMethod.pricingType`\n | `ticketDefinitions.${number}.pricingMethod.free`\n | `ticketDefinitions.${number}.feeType`\n | `ticketDefinitions.${number}.salePeriod.displayNotOnSale`\n | `ticketDefinitions.${number}.saleStatus`\n | `ticketDefinitions.${number}.eventDetails.location.type`\n | `ticketDefinitions.${number}.eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `ticketDefinitions.${number}.eventDetails.status`,\n 6\n >\n >;\n}\n\nexport function countTicketDefinitions(\n httpClient: HttpClient\n): CountTicketDefinitionsSignature {\n return (options?: CountTicketDefinitionsOptions) =>\n universalCountTicketDefinitions(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CountTicketDefinitionsSignature {\n /**\n * Counts ticket definitions by the `saleStatus` field, including those with the `hidden` status.\n * @param - Optional fields.\n */\n (options?: CountTicketDefinitionsOptions): Promise<\n CountTicketDefinitionsResponse & {\n __applicationErrorsType?: CountTicketDefinitionsApplicationErrors;\n }\n >;\n}\n\nexport function countAvailableTicketDefinitions(\n httpClient: HttpClient\n): CountAvailableTicketDefinitionsSignature {\n return (options?: CountAvailableTicketDefinitionsOptions) =>\n universalCountAvailableTicketDefinitions(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CountAvailableTicketDefinitionsSignature {\n /**\n * Counts ticket definitions by the `saleStatus`, excluding those with the `hidden` status.\n * @param - Optional fields.\n */\n (options?: CountAvailableTicketDefinitionsOptions): Promise<\n CountAvailableTicketDefinitionsResponse & {\n __applicationErrorsType?: CountAvailableTicketDefinitionsApplicationErrors;\n }\n >;\n}\n\nexport function bulkDeleteTicketDefinitionsByFilter(\n httpClient: HttpClient\n): BulkDeleteTicketDefinitionsByFilterSignature {\n return (filter: Record<string, any>) =>\n universalBulkDeleteTicketDefinitionsByFilter(\n filter,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkDeleteTicketDefinitionsByFilterSignature {\n /**\n * Deletes multiple ticket definitions.\n *\n * All ticket definitions that meet the specified `filter` criteria are deleted.\n * @param - Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\" }`. <br/> <br/> **Example:** <br/> `\"filter\" : { \"eventId\": \"3d3d5c04-ece0-45a8-85f0-11a58edaa192\" }`\n */\n (filter: Record<string, any>): Promise<void>;\n}\n\nexport function changeCurrency(\n httpClient: HttpClient\n): ChangeCurrencySignature {\n return (\n eventId: string,\n options: NonNullablePaths<ChangeCurrencyOptions, `currency`, 2>\n ) =>\n universalChangeCurrency(\n eventId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface ChangeCurrencySignature {\n /**\n * Changes ticket price currency per event.\n * @param - Event ID.\n * @param - Optional fields.\n */\n (\n eventId: string,\n options: NonNullablePaths<ChangeCurrencyOptions, `currency`, 2>\n ): Promise<\n void & {\n __applicationErrorsType?: ChangeCurrencyApplicationErrors;\n }\n >;\n}\n\nexport const onTicketDefinitionCreated = EventDefinition(\n 'wix.events.v3.ticket_definition_created',\n true,\n (event: TicketDefinitionCreatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'entity.eventCreatedDate' },\n { path: 'entity.salePeriod.startDate' },\n { path: 'entity.salePeriod.endDate' },\n { path: 'entity.eventDetails.dateAndTimeSettings.startDate' },\n { path: 'entity.eventDetails.dateAndTimeSettings.endDate' },\n {\n path: 'entity.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'entity.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'entity.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'entity.eventDetails.location.address' }],\n },\n ])\n )\n)<TicketDefinitionCreatedEnvelope>();\nexport const onTicketDefinitionDeleted = EventDefinition(\n 'wix.events.v3.ticket_definition_deleted',\n true,\n (event: TicketDefinitionDeletedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'entity.eventCreatedDate' },\n { path: 'entity.salePeriod.startDate' },\n { path: 'entity.salePeriod.endDate' },\n { path: 'entity.eventDetails.dateAndTimeSettings.startDate' },\n { path: 'entity.eventDetails.dateAndTimeSettings.endDate' },\n {\n path: 'entity.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'entity.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'entity.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'entity.eventDetails.location.address' }],\n },\n ])\n )\n)<TicketDefinitionDeletedEnvelope>();\nexport const onTicketDefinitionSaleEnded = EventDefinition(\n 'wix.events.v3.ticket_definition_sale_ended',\n true,\n (event: TicketDefinitionSaleEndedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'data.ticketDefinition.createdDate' },\n { path: 'data.ticketDefinition.updatedDate' },\n { path: 'data.ticketDefinition.eventCreatedDate' },\n { path: 'data.ticketDefinition.salePeriod.startDate' },\n { path: 'data.ticketDefinition.salePeriod.endDate' },\n {\n path: 'data.ticketDefinition.eventDetails.dateAndTimeSettings.startDate',\n },\n {\n path: 'data.ticketDefinition.eventDetails.dateAndTimeSettings.endDate',\n },\n {\n path: 'data.ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'data.ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'data.ticketDefinition.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [\n { path: 'data.ticketDefinition.eventDetails.location.address' },\n ],\n },\n ])\n )\n)<TicketDefinitionSaleEndedEnvelope>();\nexport const onTicketDefinitionSalePeriodUpdated = EventDefinition(\n 'wix.events.v3.ticket_definition_sale_period_updated',\n true,\n (event: TicketDefinitionSalePeriodUpdatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'data.afterUpdate.startDate' },\n { path: 'data.afterUpdate.endDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n ])\n )\n)<TicketDefinitionSalePeriodUpdatedEnvelope>();\nexport const onTicketDefinitionSaleStarted = EventDefinition(\n 'wix.events.v3.ticket_definition_sale_started',\n true,\n (event: TicketDefinitionSaleStartedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'data.ticketDefinition.createdDate' },\n { path: 'data.ticketDefinition.updatedDate' },\n { path: 'data.ticketDefinition.eventCreatedDate' },\n { path: 'data.ticketDefinition.salePeriod.startDate' },\n { path: 'data.ticketDefinition.salePeriod.endDate' },\n {\n path: 'data.ticketDefinition.eventDetails.dateAndTimeSettings.startDate',\n },\n {\n path: 'data.ticketDefinition.eventDetails.dateAndTimeSettings.endDate',\n },\n {\n path: 'data.ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'data.ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'data.ticketDefinition.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [\n { path: 'data.ticketDefinition.eventDetails.location.address' },\n ],\n },\n ])\n )\n)<TicketDefinitionSaleStartedEnvelope>();\nexport const onTicketDefinitionUpdated = EventDefinition(\n 'wix.events.v3.ticket_definition_updated',\n true,\n (event: TicketDefinitionUpdatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'entity.eventCreatedDate' },\n { path: 'entity.salePeriod.startDate' },\n { path: 'entity.salePeriod.endDate' },\n { path: 'entity.eventDetails.dateAndTimeSettings.startDate' },\n { path: 'entity.eventDetails.dateAndTimeSettings.endDate' },\n {\n path: 'entity.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'entity.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n { path: 'metadata.eventTime' },\n { path: 'modifiedFields.createdDate' },\n { path: 'modifiedFields.updatedDate' },\n { path: 'modifiedFields.eventCreatedDate' },\n { path: 'modifiedFields.salePeriod.startDate' },\n { path: 'modifiedFields.salePeriod.endDate' },\n {\n path: 'modifiedFields.eventDetails.dateAndTimeSettings.startDate',\n },\n { path: 'modifiedFields.eventDetails.dateAndTimeSettings.endDate' },\n {\n path: 'modifiedFields.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'modifiedFields.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'entity.eventDetails.eventPageUrl' },\n { path: 'modifiedFields.eventDetails.eventPageUrl' },\n ],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [\n { path: 'entity.eventDetails.location.address' },\n { path: 'modifiedFields.eventDetails.location.address' },\n ],\n },\n ])\n )\n)<TicketDefinitionUpdatedEnvelope>();\n\nexport {\n AccountInfo,\n ActionEvent,\n Address,\n AddressLocation,\n AddressStreetOneOf,\n Agenda,\n Alignment,\n AnchorData,\n App,\n AppEmbedData,\n AppEmbedDataAppDataOneOf,\n AppType,\n AspectRatio,\n Asset,\n AudioData,\n AvailablePlace,\n Background,\n BackgroundBackgroundOneOf,\n BackgroundImage,\n BackgroundType,\n Badge,\n BaseEventMetadata,\n BlockquoteData,\n BookingData,\n Border,\n BorderColors,\n BorderWidths,\n BulkCopyTicketDefinitionsByEventIdRequest,\n BulkCopyTicketDefinitionsByEventIdResponse,\n BulkDeleteTicketDefinitionsByFilterRequest,\n BulkDeleteTicketDefinitionsByFilterResponse,\n BulletedListData,\n ButtonData,\n ButtonDataType,\n ButtonStyles,\n CalendarLinks,\n CaptionData,\n CardStyles,\n CardStylesType,\n Category,\n CategoryCounts,\n CategoryDetails,\n CategoryStateState,\n CellStyle,\n ChangeCurrencyOptions,\n ChangeCurrencyRequest,\n ChangeCurrencyResponse,\n CheckoutFormMessages,\n CheckoutType,\n CodeBlockData,\n CollapsibleListData,\n ColorData,\n Colors,\n CommonAddress,\n CommonAddressLocation,\n CommonAddressStreetOneOf,\n CommonMoney,\n CommonStreetAddress,\n CommonSubdivision,\n ConferenceType,\n CopiedTicketDefinition,\n CountAvailableTicketDefinitionsOptions,\n CountAvailableTicketDefinitionsRequest,\n CountAvailableTicketDefinitionsResponse,\n CountTicketDefinitionsOptions,\n CountTicketDefinitionsRequest,\n CountTicketDefinitionsResponse,\n CreateTicketDefinitionOptions,\n CreateTicketDefinitionRequest,\n CreateTicketDefinitionResponse,\n Crop,\n CursorPaging,\n Cursors,\n CustomTag,\n Dashboard,\n DateAndTimeSettings,\n Decoration,\n DecorationDataOneOf,\n DecorationType,\n DeleteContext,\n DeleteStatus,\n DeleteTicketDefinitionRequest,\n DeleteTicketDefinitionResponse,\n Design,\n DesignTarget,\n Dimensions,\n Direction,\n DividerData,\n DividerDataAlignment,\n DocumentStyle,\n DomainEvent,\n DomainEventBodyOneOf,\n EmbedData,\n Empty,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n Event,\n EventCanceled,\n EventCreated,\n EventData,\n EventDeleted,\n EventDetails,\n EventDisplaySettings,\n EventEnded,\n EventMetadata,\n EventStatus,\n EventTicketingSummary,\n EventType,\n EventUpdated,\n EventsLocation,\n EventsOccurrence,\n EventsRecurrenceStatusStatus,\n EventsRecurrences,\n ExtendedFields,\n ExternalEvent,\n FacetCounts,\n FeeTypeEnumType,\n Feed,\n Field,\n File,\n FileData,\n FileSource,\n FileSourceDataOneOf,\n FontFamilyData,\n FontSizeData,\n FontType,\n Form,\n FormMessages,\n Formatted,\n GIF,\n GIFData,\n GIFType,\n GalleryData,\n GalleryOptions,\n GalleryOptionsLayout,\n GetTicketDefinitionFromTrashBinRequest,\n GetTicketDefinitionFromTrashBinResponse,\n GetTicketDefinitionOptions,\n GetTicketDefinitionRequest,\n GetTicketDefinitionResponse,\n GetTicketDefinitionSummaryRequest,\n GetTicketDefinitionSummaryResponse,\n Gradient,\n GuestListConfig,\n HTMLData,\n HTMLDataDataOneOf,\n HeadingData,\n Height,\n IdentificationData,\n IdentificationDataIdOneOf,\n Image,\n ImageData,\n ImageDataStyles,\n ImagePosition,\n ImageStyles,\n InitialExpandedItems,\n Input,\n InputControl,\n InputControlType,\n InvalidateCache,\n InvalidateCacheGetByOneOf,\n Item,\n ItemDataOneOf,\n ItemStyle,\n Keyword,\n Label,\n LabellingSettings,\n Layout,\n LayoutCellData,\n LayoutData,\n LayoutType,\n LineStyle,\n Link,\n LinkData,\n LinkDataOneOf,\n LinkPreviewData,\n LinkPreviewDataStyles,\n ListEventTicketingSummaryRequest,\n ListEventTicketingSummaryResponse,\n ListValue,\n Location,\n LocationLocationType,\n LocationType,\n MapCoordinates,\n MapData,\n MapSettings,\n MapType,\n Media,\n MentionData,\n MessageEnvelope,\n MetaSiteSpecialEvent,\n MetaSiteSpecialEventPayloadOneOf,\n Metadata,\n Money,\n Namespace,\n NamespaceChanged,\n Negative,\n NegativeResponseConfirmation,\n Node,\n NodeDataOneOf,\n NodeStyle,\n NodeType,\n NullValue,\n Occurrence,\n OdeditorAssigned,\n OdeditorUnassigned,\n Oembed,\n OnlineConferencing,\n OnlineConferencingConfig,\n OnlineConferencingSession,\n Option,\n OptionDesign,\n OptionDetails,\n OptionLayout,\n OptionSelection,\n OptionSelectionSelectedOptionOneOf,\n OrderedListData,\n Orientation,\n PDFSettings,\n Page,\n Paging,\n PagingMetadataV2,\n ParagraphData,\n Permissions,\n PicassoAssigned,\n PicassoUnassigned,\n Placement,\n PlaybackOptions,\n PluginContainerData,\n PluginContainerDataAlignment,\n PluginContainerDataWidth,\n PluginContainerDataWidthDataOneOf,\n Poll,\n PollData,\n PollDataLayout,\n PollDesign,\n PollLayout,\n PollLayoutDirection,\n PollLayoutType,\n PollSettings,\n Position,\n Positive,\n PositiveResponseConfirmation,\n PricingData,\n PricingMethod,\n PricingMethodPriceOneOf,\n PricingOptions,\n PricingTypeEnumType,\n QueryAvailableTicketDefinitionsOptions,\n QueryAvailableTicketDefinitionsRequest,\n QueryAvailableTicketDefinitionsResponse,\n QueryTicketDefinitionsOptions,\n QueryTicketDefinitionsRequest,\n QueryTicketDefinitionsResponse,\n QueryV2,\n QueryV2PagingMethodOneOf,\n RecurrenceStatusStatus,\n Recurrences,\n Registration,\n RegistrationClosedMessages,\n RegistrationStatus,\n Rel,\n ReorderTicketDefinitionsOptions,\n ReorderTicketDefinitionsOptionsReferenceDefinitionOneOf,\n ReorderTicketDefinitionsRequest,\n ReorderTicketDefinitionsRequestReferenceDefinitionOneOf,\n ReorderTicketDefinitionsResponse,\n Resizing,\n ResponseConfirmation,\n ResponsivenessBehaviour,\n RestoreInfo,\n RibbonStyles,\n RichContent,\n RsvpCollection,\n RsvpCollectionConfig,\n RsvpConfirmationMessages,\n RsvpConfirmationMessagesNegativeResponseConfirmation,\n RsvpConfirmationMessagesPositiveResponseConfirmation,\n RsvpFormMessages,\n RsvpStatusOptions,\n RsvpSummary,\n SalePeriod,\n SalePeriodUpdated,\n SaleStatusEnumStatus,\n SalesDetails,\n Scaling,\n ScheduleConfig,\n ScheduleLegacyTimeCapsuleTaskRequest,\n Scheduling,\n SeatingDetails,\n SeatingPlanCategoriesSummaryUpdated,\n SeoSchema,\n SeoSettings,\n ServiceProvisioned,\n ServiceRemoved,\n Settings,\n SiteCreated,\n SiteCreatedContext,\n SiteDeleted,\n SiteHardDeleted,\n SiteMarkedAsTemplate,\n SiteMarkedAsWixSite,\n SitePublished,\n SitePurgedExternally,\n SiteRenamed,\n SiteTransferred,\n SiteUndeleted,\n SiteUnpublished,\n SiteUrl,\n SiteUrlChanged,\n SortOrder,\n Sorting,\n Source,\n Spoiler,\n SpoilerData,\n State,\n Status,\n StreetAddress,\n StudioAssigned,\n StudioTwoAssigned,\n StudioTwoUnassigned,\n StudioUnassigned,\n Styles,\n StylesBorder,\n StylesPosition,\n Subdivision,\n SubdivisionSubdivisionType,\n SubdivisionType,\n TableCellData,\n TableData,\n Tag,\n Target,\n TaxConfig,\n TaxType,\n TextAlignment,\n TextData,\n TextNodeStyle,\n TextStyle,\n Thumbnails,\n ThumbnailsAlignment,\n TicketDefinition,\n TicketDefinitionCreatedEnvelope,\n TicketDefinitionDeletedEnvelope,\n TicketDefinitionQuerySpec,\n TicketDefinitionSaleEnded,\n TicketDefinitionSaleEndedEnvelope,\n TicketDefinitionSalePeriodUpdatedEnvelope,\n TicketDefinitionSaleStarted,\n TicketDefinitionSaleStartedEnvelope,\n TicketDefinitionSummary,\n TicketDefinitionUpdatedEnvelope,\n TicketDefinitionsQueryBuilder,\n TicketDefinitionsQueryResult,\n Ticketing,\n TicketingConfig,\n TicketingSummary,\n TicketsConfirmationMessages,\n TicketsUnavailableMessages,\n Type,\n URI,\n UpdateEventTicketingSummaryRequest,\n UpdateEventTicketingSummaryResponse,\n UpdateFeeTypesBasedOnSettingsRequest,\n UpdateFeeTypesBasedOnSettingsResponse,\n UpdateTicketDefinition,\n UpdateTicketDefinitionOptions,\n UpdateTicketDefinitionRequest,\n UpdateTicketDefinitionResponse,\n UpdateTicketDefinitionSortIndexRequest,\n UpdateTicketDefinitionSortIndexResponse,\n ValueType,\n VerticalAlignment,\n VerticalAlignmentAlignment,\n Video,\n VideoData,\n ViewMode,\n ViewRole,\n VisitorType,\n VoteRole,\n WebhookIdentityType,\n Width,\n WidthType,\n WixelAssigned,\n WixelUnassigned,\n} from './events-v3-ticket-definition-ticket-definitions-v-2.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport {\n HttpClient,\n HttpResponse,\n NonNullablePaths,\n QuerySpec,\n Query as QuerySdkType,\n} from '@wix/sdk-types';\nimport * as ambassadorWixEventsV3TicketDefinition from './events-v3-ticket-definition-ticket-definitions-v-2.http.js';\n// @ts-ignore\nimport { transformSDKAddressToRESTAddress } from '@wix/sdk-runtime/transformations/address';\nimport { transformRESTAddressToSDKAddress } from '@wix/sdk-runtime/transformations/address';\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 * A Ticket Definition is a reusable configuration for an event that specifies ticket settings such as pricing, service fee handling, availability limits, and sale period.\n *\n * You can use Ticket Definitions to define and manage ticket types, control inventory and sale windows, and automate updates via the API.\n *\n * Read more about [Ticket Definitions](https://support.wix.com/en/article/creating-tickets-for-your-event).\n */\nexport interface TicketDefinition {\n /**\n * Ticket definition ID.\n * @format GUID\n * @readonly\n */\n _id?: string | null;\n /**\n * Event ID to which the ticket definition belongs.\n * @format GUID\n * @immutable\n */\n eventId?: string | null;\n /**\n * Revision number, which increments by 1 each time the ticket definition is updated. To prevent conflicting changes, the existing `revision` must be used when updating a ticket definition.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the ticket definition was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time the ticket definition was updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Ticket definition name.\n * @minLength 1\n * @maxLength 30\n */\n name?: string | null;\n /**\n * Ticket definition description.\n * @maxLength 500\n */\n description?: string | null;\n /**\n * Ticket definition policy.\n * @maxLength 1000\n */\n policyText?: string | null;\n /** Whether this ticket definition is hidden from site visitors and can't be purchased. */\n hidden?: boolean;\n /**\n * Whether the ticket has a limited maximum quantity.\n * @readonly\n */\n limited?: boolean;\n /** The maximum number of tickets that can be sold for the event when first defining the event. If a seating map is defined after you created a ticket definition, this property is ignored and `actualLimit` is used instead. */\n initialLimit?: number | null;\n /**\n * The maximum number of tickets that can be sold for the event after adding a seating map to the event. If no seating map is defined, this property is the same as `initialLimit`.\n * @readonly\n */\n actualLimit?: number | null;\n /** Ticket pricing method. */\n pricingMethod?: PricingMethod;\n /** Type of ticket service fee to collect. */\n feeType?: FeeTypeEnumTypeWithLiterals;\n /** Ticket sale period. */\n salePeriod?: SalePeriod;\n /**\n * Ticket sale status.\n * @readonly\n */\n saleStatus?: SaleStatusEnumStatusWithLiterals;\n /**\n * Ticket sales information. <br> <br>\n * **Note:** This field is only returned when `SALES_DETAILS` is specified in `field` in the request.\n * @readonly\n */\n salesDetails?: SalesDetails;\n /**\n * Number of tickets that can be purchased per checkout. <br> <br>\n * **Note:** If the `actualLimit` or `salesDetails.unsoldCount` field value is smaller than `limitPerCheckout`, then it overrides this field.\n * @readonly\n * @max 50\n */\n limitPerCheckout?: number | null;\n /** Data extensions. */\n extendedFields?: ExtendedFields;\n /**\n * Information about the even the ticket is for. <br>\n * **Note:** This field is only returned when `EVENT_DETAILS` is specified in `field` in the request.\n * @readonly\n */\n eventDetails?: EventDetails;\n /**\n * Seating information including available seats and areas for this ticket definition. <br>\n * **Note:** This field is only returned when `SEATING_DETAILS` is specified in `field` in the request, and when the event has a [seating plan](https://support.wix.com/en/article/wix-events-creating-a-seating-map).\n * @readonly\n */\n seatingDetails?: SeatingDetails;\n}\n\nexport interface SalePeriod {\n /** Date and time the ticket sale starts. */\n startDate?: Date | null;\n /** Date and time the ticket sale ends. */\n endDate?: Date | null;\n /** Whether to display the ticket if it's not available to buy. */\n displayNotOnSale?: boolean;\n}\n\nexport interface PricingMethod extends PricingMethodPriceOneOf {\n /** Same ticket price for everyone. */\n fixedPrice?: CommonMoney;\n /** Guests choose how much they'd like to pay for the ticket. You can set the minimum price, or specify `\"0\"` in the request to make the ticket free. The price can be updated to a higher amount by a guest during the checkout. */\n guestPrice?: CommonMoney;\n /** Sets of various ticket prices. For example, you can charge different prices for children and adults. */\n pricingOptions?: PricingOptions;\n /**\n * Ticket price type.\n * @readonly\n */\n pricingType?: PricingTypeEnumTypeWithLiterals;\n /**\n * Whether the ticket is free. To create a free ticket, enter `\"0\"` in `pricingMethod.fixedPrice.value`.\n * @readonly\n */\n free?: boolean;\n}\n\n/** @oneof */\nexport interface PricingMethodPriceOneOf {\n /** Same ticket price for everyone. */\n fixedPrice?: CommonMoney;\n /** Guests choose how much they'd like to pay for the ticket. You can set the minimum price, or specify `\"0\"` in the request to make the ticket free. The price can be updated to a higher amount by a guest during the checkout. */\n guestPrice?: CommonMoney;\n /** Sets of various ticket prices. For example, you can charge different prices for children and adults. */\n pricingOptions?: PricingOptions;\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 CommonMoney {\n /**\n * Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, a single (-), to indicate that the amount is negative.\n * @format DECIMAL_VALUE\n */\n value?: string;\n /**\n * Currency code. Must be a valid [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code (e.g., USD).\n * @format CURRENCY\n */\n currency?: string;\n}\n\nexport interface PricingOptions {\n /**\n * Ticket price options.\n * @maxSize 100\n */\n optionDetails?: OptionDetails[];\n}\n\nexport interface OptionDetails {\n /**\n * Ticket price option ID.\n * @format GUID\n */\n optionId?: string | null;\n /**\n * Ticket price option name, such as \"Child Ticket\".\n * @minLength 1\n * @maxLength 200\n */\n name?: string | null;\n /** Ticket price. */\n price?: CommonMoney;\n}\n\nexport enum PricingTypeEnumType {\n /** Undefined pricing type. */\n UNKNOWN_PRICING_TYPE = 'UNKNOWN_PRICING_TYPE',\n /** All money goes to a seller. Applies to all ticket pricing methods except for `guestPrice`. */\n STANDARD = 'STANDARD',\n /** All collected money is a donation. This pricing type is automatically assigned when you select the `guestPrice` pricing method. */\n DONATION = 'DONATION',\n}\n\n/** @enumType */\nexport type PricingTypeEnumTypeWithLiterals =\n | PricingTypeEnumType\n | 'UNKNOWN_PRICING_TYPE'\n | 'STANDARD'\n | 'DONATION';\n\nexport enum FeeTypeEnumType {\n /** Unknown fee type. */\n UNKNOWN_FEE_TYPE = 'UNKNOWN_FEE_TYPE',\n /** The fee is deducted from the ticket price for a seller. <br><br> For example, if you're selling tickets for $10, then a ticket service fee of $0.25 will be deducted from the price and you'll get $9.75. */\n FEE_INCLUDED = 'FEE_INCLUDED',\n /** The fee is shown in addition to the ticket price at checkout and a guest pays the fee. <br><br> For example, if you sell tickets for $10, a customer will see a ticket service fee of $0.25 and will pay $10.25 in total. */\n FEE_ADDED_AT_CHECKOUT = 'FEE_ADDED_AT_CHECKOUT',\n /** Ticket service fee isn't collected. Available only for free tickets and legacy Wix users. */\n NO_FEE = 'NO_FEE',\n}\n\n/** @enumType */\nexport type FeeTypeEnumTypeWithLiterals =\n | FeeTypeEnumType\n | 'UNKNOWN_FEE_TYPE'\n | 'FEE_INCLUDED'\n | 'FEE_ADDED_AT_CHECKOUT'\n | 'NO_FEE';\n\nexport enum SaleStatusEnumStatus {\n /** Undefined sale status. */\n UNKNOWN_SALE_STATUS = 'UNKNOWN_SALE_STATUS',\n /** Tickets aren't on sale yet. */\n SALE_SCHEDULED = 'SALE_SCHEDULED',\n /** Tickets are on sale. */\n SALE_STARTED = 'SALE_STARTED',\n /** Tickets are no longer on sale. */\n SALE_ENDED = 'SALE_ENDED',\n}\n\n/** @enumType */\nexport type SaleStatusEnumStatusWithLiterals =\n | SaleStatusEnumStatus\n | 'UNKNOWN_SALE_STATUS'\n | 'SALE_SCHEDULED'\n | 'SALE_STARTED'\n | 'SALE_ENDED';\n\nexport interface SalesDetails {\n /**\n * Number of tickets that haven't been purchased yet. The field is `null` if the ticket quantity is unlimited.\n * @readonly\n */\n unsoldCount?: number | null;\n /**\n * Number of purchased tickets.\n * @readonly\n */\n soldCount?: number | null;\n /**\n * Number of reserved tickets.\n * @readonly\n */\n reservedCount?: number | null;\n /**\n * Whether the tickets are sold out.\n * @readonly\n */\n soldOut?: boolean | null;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface EventDetails {\n /**\n * Event title.\n * @minLength 1\n * @maxLength 120\n * @readonly\n */\n title?: string | null;\n /**\n * Short description of the event.\n * @maxLength 500\n * @readonly\n */\n shortDescription?: string | null;\n /**\n * Event location.\n * @readonly\n */\n location?: Location;\n /**\n * Event date and time settings.\n * @readonly\n */\n dateAndTimeSettings?: DateAndTimeSettings;\n /**\n * Event page URL components.\n * @readonly\n */\n eventPageUrl?: string;\n /**\n * Event status.\n * @readonly\n */\n status?: StatusWithLiterals;\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?: CommonAddress;\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 CommonAddress extends CommonAddressStreetOneOf {\n /** Street address. */\n streetAddress?: CommonStreetAddress;\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 CommonAddressStreetOneOf {\n /** Street address. */\n streetAddress?: CommonStreetAddress;\n /**\n * Primary address information (street and building number).\n * @maxLength 250\n */\n addressLine?: string | null;\n}\n\nexport interface CommonStreetAddress {\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 CommonAddressLocation {\n /**\n * Address latitude coordinates.\n * @min -90\n * @max 90\n */\n latitude?: number | null;\n /**\n * Address longitude coordinates.\n * @min -180\n * @max 180\n */\n longitude?: number | null;\n}\n\nexport interface CommonSubdivision {\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 SubdivisionSubdivisionType {\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 SubdivisionSubdivisionTypeWithLiterals =\n | SubdivisionSubdivisionType\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:** This field is only returned when the `dateAndTimeTbd` field value is `false`.\n */\n startDate?: Date | null;\n /**\n * Event end date.\n *\n * **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.\n */\n endDate?: Date | null;\n /**\n * Event time zone ID in the [TZ database](https://www.iana.org/time-zones) format.\n *\n * **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.\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\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 SeatingDetails {\n /**\n * List of available places.\n * @maxSize 50000\n */\n places?: AvailablePlace[];\n}\n\nexport interface AvailablePlace {\n /**\n * Place ID in the format `{sectionId}-{elementId}-{label}`. For example, `0-1-A5`.\n * @minLength 1\n * @maxLength 20\n * @readonly\n */\n placeId?: string;\n /**\n * Human-readable label for this place, such as `A1`, `12`, or `VIP1`.\n * @minLength 1\n * @maxLength 4\n * @readonly\n */\n label?: string;\n /**\n * High-level division of the venue, where the place is located, such as `Orchestra`, `Balcony`, or `VIP Section`.\n * @minLength 1\n * @maxLength 20\n * @readonly\n */\n sectionLabel?: string | null;\n /**\n * Seating element within the section, such as `Row`, `Table`, or `General Admission`.\n * @minLength 1\n * @maxLength 50\n * @readonly\n */\n elementLabel?: string | null;\n /**\n * Available capacity at this place.\n *\n * For general seating type returns the number of remaining spots.\n *\n * For other types returns `1`. For example, if a table has 5 chairs, each chair is treated as a separate place, which has a capacity of 1.\n * @max 50000\n * @readonly\n */\n availableCapacity?: number;\n}\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /**\n * tell us why you're invalidating the cache. You don't need to add your app name\n * @maxLength 256\n */\n reason?: string | null;\n /** Is local DS */\n localDc?: boolean;\n hardPurge?: boolean;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n}\n\nexport interface App {\n /**\n * The AppDefId\n * @minLength 1\n */\n appDefId?: string;\n /**\n * The instance Id\n * @format GUID\n */\n instanceId?: string;\n}\n\nexport interface Page {\n /**\n * the msid the page is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Page ID\n * @minLength 1\n */\n pageId?: string;\n}\n\nexport interface URI {\n /**\n * the msid the URI is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @minLength 1\n */\n uriPath?: string;\n}\n\nexport interface File {\n /**\n * the msid the file is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by filename (for media files such as PDFs)\n * @minLength 1\n * @maxLength 256\n */\n fileName?: string;\n}\n\nexport interface CustomTag {\n /**\n * the msid the tag is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Tag to invalidate by\n * @minLength 1\n * @maxLength 256\n */\n tag?: string;\n}\n\nexport interface SalePeriodUpdated {\n /** Ticket definition sale period after update. */\n afterUpdate?: SalePeriod;\n}\n\nexport interface TicketDefinitionSaleStarted {\n /** Ticket definition. */\n ticketDefinition?: TicketDefinition;\n}\n\nexport interface TicketDefinitionSaleEnded {\n /** Ticket definition. */\n ticketDefinition?: TicketDefinition;\n}\n\nexport interface CreateTicketDefinitionRequest {\n /** Ticket definition info. */\n ticketDefinition: TicketDefinition;\n /**\n * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\nexport enum Field {\n /** Unknown requested field. */\n UNKNOWN_REQUESTED_FIELD = 'UNKNOWN_REQUESTED_FIELD',\n /** Returns `salesDetails` in the response. */\n SALES_DETAILS = 'SALES_DETAILS',\n /** Returns `eventDetails` in the response. */\n EVENT_DETAILS = 'EVENT_DETAILS',\n /** Returns `seatingDetails` with available seats in the response. */\n SEATING_DETAILS = 'SEATING_DETAILS',\n}\n\n/** @enumType */\nexport type FieldWithLiterals =\n | Field\n | 'UNKNOWN_REQUESTED_FIELD'\n | 'SALES_DETAILS'\n | 'EVENT_DETAILS'\n | 'SEATING_DETAILS';\n\nexport interface CreateTicketDefinitionResponse {\n /** Created ticket definition. */\n ticketDefinition?: TicketDefinition;\n}\n\nexport interface UpdateTicketDefinitionRequest {\n /** Ticket definition to update. */\n ticketDefinition: TicketDefinition;\n /**\n * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\nexport interface UpdateTicketDefinitionResponse {\n /** The updated ticket definition. */\n ticketDefinition?: TicketDefinition;\n}\n\nexport interface GetTicketDefinitionRequest {\n /**\n * Ticket definition ID.\n * @format GUID\n */\n ticketDefinitionId: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\nexport interface GetTicketDefinitionResponse {\n /** The requested ticket definition. */\n ticketDefinition?: TicketDefinition;\n}\n\nexport interface DeleteTicketDefinitionRequest {\n /**\n * ID of the ticket definition to delete.\n * @format GUID\n */\n ticketDefinitionId: string;\n}\n\nexport interface DeleteTicketDefinitionResponse {}\n\nexport interface ReorderTicketDefinitionsRequest\n extends ReorderTicketDefinitionsRequestReferenceDefinitionOneOf {\n /**\n * Move the given `definitionId` before the referenced ticket definition.\n * @format GUID\n */\n beforeDefinitionId?: string;\n /**\n * Move the given `definitionId` after the referenced ticket definition.\n * @format GUID\n */\n afterDefinitionId?: string;\n /**\n * Event ID.\n * @format GUID\n */\n eventId: string;\n /**\n * Ticket definition ID.\n * @format GUID\n */\n ticketDefinitionId: string;\n}\n\n/** @oneof */\nexport interface ReorderTicketDefinitionsRequestReferenceDefinitionOneOf {\n /**\n * Move the given `definitionId` before the referenced ticket definition.\n * @format GUID\n */\n beforeDefinitionId?: string;\n /**\n * Move the given `definitionId` after the referenced ticket definition.\n * @format GUID\n */\n afterDefinitionId?: string;\n}\n\nexport interface ReorderTicketDefinitionsResponse {}\n\nexport interface UpdateTicketDefinitionSortIndexRequest {\n /**\n * Ticket definition ID\n * @format GUID\n */\n ticketDefinitionId?: string;\n /** The revision of the ticket definition */\n revision?: string;\n /** the sort index of a ticket definition to set */\n sortIndex?: number;\n /**\n * Requested fields.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\nexport interface UpdateTicketDefinitionSortIndexResponse {\n /** the updated ticket definition */\n ticketDefinition?: TicketDefinition;\n}\n\nexport interface QueryTicketDefinitionsRequest {\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 * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n /** Paging options to limit and skip 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` parameters. */\n cursorPaging?: CursorPaging;\n /** Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\", \"fieldName2\":{\"$operator\":\"value2\"} }`. <br/> <br/> **Example:** <br/> `\"filter\" : { \"id\": \"2224a9d1-79e6-4549-a5c5-bf7ce5aac1a5\", \"revision\": {\"$ne\":\"1\"} }` */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format: <br/> `[{\"fieldName\":\"sortField1\"},{\"fieldName\":\"sortField2\",\"direction\":\"DESC\"}]` <br/> <br/> **Example:** <br/> `[{\"fieldName\":\"createdDate\",\"direction\":\"DESC\"}]` <br/> <br/> See [supported fields](https://dev.wix.com/api/rest/wix-events/policy-v2/filter-and-sort) for more information.\n * @maxSize 10\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n /** Paging options to limit and skip 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` parameters. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 100\n */\n fieldName?: string;\n /** Defaults to `ASC` */\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 per page. */\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 * Number of items to load per page.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n * You can get the relevant cursor token\n * 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 QueryTicketDefinitionsResponse {\n /** List of ticket definitions. */\n ticketDefinitions?: TicketDefinition[];\n /** Metadata for the paginated results. */\n metadata?: PagingMetadataV2;\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 pointing to next page in the list of results.\n * @maxLength 36\n */\n next?: string | null;\n /**\n * Cursor pointing to previous page in the list of results.\n * @maxLength 36\n */\n prev?: string | null;\n}\n\nexport interface QueryAvailableTicketDefinitionsRequest {\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 * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\nexport interface QueryAvailableTicketDefinitionsResponse {\n /** List of ticket definitions. */\n ticketDefinitions?: TicketDefinition[];\n /** Metadata for the paginated results. */\n metadata?: PagingMetadataV2;\n}\n\nexport interface CountTicketDefinitionsRequest {\n /** Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\" }`. */\n filter?: Record<string, any> | null;\n /**\n * Parameters to count ticket definitions by.\n *\n * - Max: 20 facets.\n * @maxLength 100\n * @maxSize 20\n */\n facet?: string[];\n}\n\nexport interface CountTicketDefinitionsResponse {\n /** Metadata for the paginated results. */\n metadata?: PagingMetadataV2;\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 CountAvailableTicketDefinitionsRequest {\n /** Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\" }`. */\n filter?: Record<string, any> | null;\n}\n\nexport interface CountAvailableTicketDefinitionsResponse {\n /** Metadata for the paginated results. */\n metadata?: PagingMetadataV2;\n}\n\nexport interface BulkDeleteTicketDefinitionsByFilterRequest {\n /** Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\" }`. <br/> <br/> **Example:** <br/> `\"filter\" : { \"eventId\": \"3d3d5c04-ece0-45a8-85f0-11a58edaa192\" }` */\n filter: Record<string, any> | null;\n}\n\nexport interface BulkDeleteTicketDefinitionsByFilterResponse {}\n\nexport interface ChangeCurrencyRequest {\n /**\n * Event ID.\n * @format GUID\n */\n eventId: string;\n /**\n * Ticket price currency in 3-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.\n * @minLength 3\n * @maxLength 3\n */\n currency: string;\n}\n\nexport interface ChangeCurrencyResponse {}\n\nexport interface BulkCopyTicketDefinitionsByEventIdRequest {\n /**\n * Origin instance ID.\n * @format GUID\n */\n originInstanceId?: string | null;\n /**\n * Origin Event ID.\n * @format GUID\n */\n originEventId?: string;\n /**\n * Target Event ID.\n * @format GUID\n */\n targetEventId?: string;\n}\n\nexport interface BulkCopyTicketDefinitionsByEventIdResponse {\n /** Copied ticket definitions. */\n definitions?: CopiedTicketDefinition[];\n}\n\nexport interface CopiedTicketDefinition {\n /**\n * Origin Ticket definition ID.\n * @format GUID\n */\n originTicketDefinitionId?: string;\n /**\n * Ticket definition ID.\n * @format GUID\n */\n ticketDefinitionId?: string;\n}\n\nexport interface UpdateFeeTypesBasedOnSettingsRequest {\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 UpdateFeeTypesBasedOnSettingsResponse {}\n\nexport interface EventDeleted {\n /** Event deleted timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event title. */\n title?: string;\n /**\n * Event creator user ID.\n * @format GUID\n */\n userId?: string | null;\n}\n\nexport interface Empty {}\n\nexport interface EventCanceled {\n /** Event canceled timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event title */\n title?: string;\n /**\n * Event creator user ID.\n * @format GUID\n */\n userId?: string | null;\n /** True if at least one guest is registered to the event with any attendance status. */\n hasGuests?: boolean | null;\n}\n\nexport interface EventEnded {\n /** Event end timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** True if at least one guest is registered to the event with any attendance status. */\n hasGuests?: boolean | null;\n}\n\nexport interface EventCreated {\n /** Event created timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event location. */\n location?: EventsLocation;\n /** Event schedule configuration. */\n scheduleConfig?: ScheduleConfig;\n /** Event title. */\n title?: string;\n /**\n * Event creator user ID.\n * @maxLength 36\n */\n userId?: string | null;\n /** Event status. */\n status?: EventStatusWithLiterals;\n /**\n * Instance ID. Indicates the original app instance which current event was derived from.\n * @format GUID\n */\n derivedFromInstanceId?: string | null;\n /**\n * Event ID. Indicates the original event which current event was derived from.\n * @format GUID\n */\n derivedFromEventId?: string | null;\n /** Event that was created. */\n event?: Event;\n}\n\nexport interface EventsLocation {\n /**\n * Location name.\n * @maxLength 50\n */\n name?: string | null;\n /** Location map coordinates. */\n coordinates?: MapCoordinates;\n /**\n * Single line address representation.\n * @maxLength 300\n */\n address?: string | null;\n /** Location type. */\n type?: LocationLocationTypeWithLiterals;\n /**\n * Full address derived from formatted single line `address`.\n * When `full_address` is used to create or update the event, deprecated `address` and `coordinates` are ignored.\n * If provided `full_address` has empty `formatted_address` or `coordinates`, it will be auto-completed using Atlas service.\n *\n * Migration notes:\n * - `full_address.formatted_address` is equivalent to `address`.\n * - `full_address.geocode` is equivalent to `coordinates`.\n */\n fullAddress?: Address;\n /**\n * Defines event location as TBD (To Be Determined).\n * When event location is not yet defined, `name` is displayed instead of location address.\n * `coordinates`, `address`, `type` and `full_address` are not required when location is TBD.\n */\n tbd?: boolean | null;\n}\n\nexport interface MapCoordinates {\n /**\n * Latitude.\n * @min -90\n * @max 90\n */\n lat?: number;\n /**\n * Longitude.\n * @min -180\n * @max 180\n */\n lng?: number;\n}\n\nexport enum LocationLocationType {\n VENUE = 'VENUE',\n ONLINE = 'ONLINE',\n}\n\n/** @enumType */\nexport type LocationLocationTypeWithLiterals =\n | LocationLocationType\n | 'VENUE'\n | 'ONLINE';\n\n/** Physical address */\nexport interface Address extends AddressStreetOneOf {\n /** a break down of the street to number and street name */\n streetAddress?: StreetAddress;\n /** Main address line (usually street and number) as free text */\n addressLine1?: string | null;\n /**\n * country code\n * @format COUNTRY\n */\n country?: string | null;\n /** subdivision (usually state or region) code according to ISO 3166-2 */\n subdivision?: string | null;\n /** city name */\n city?: string | null;\n /** zip/postal code */\n postalCode?: string | null;\n /** Free text providing more detailed address info. Usually contains Apt, Suite, Floor */\n addressLine2?: string | null;\n /** A string containing the human-readable address of this location */\n formatted?: string | null;\n /** Free text for human-to-human textual orientation aid purposes */\n hint?: string | null;\n /** coordinates of the physical address */\n location?: AddressLocation;\n /** country full-name */\n countryFullname?: string | null;\n /**\n * multi-level subdivisions from top to bottom\n * @maxSize 6\n */\n subdivisions?: Subdivision[];\n}\n\n/** @oneof */\nexport interface AddressStreetOneOf {\n /** a break down of the street to number and street name */\n streetAddress?: StreetAddress;\n /** Main address line (usually street and number) as free text */\n addressLine?: string | null;\n}\n\nexport interface StreetAddress {\n /** street number */\n number?: string;\n /** street name */\n name?: string;\n}\n\nexport interface AddressLocation {\n /**\n * address latitude coordinates\n * @min -90\n * @max 90\n */\n latitude?: number | null;\n /**\n * address longitude coordinates\n * @min -180\n * @max 180\n */\n longitude?: number | null;\n}\n\nexport interface Subdivision {\n /** subdivision short code */\n code?: string;\n /** subdivision full-name */\n name?: string;\n}\n\nexport enum SubdivisionType {\n UNKNOWN_SUBDIVISION_TYPE = 'UNKNOWN_SUBDIVISION_TYPE',\n /** State */\n ADMINISTRATIVE_AREA_LEVEL_1 = 'ADMINISTRATIVE_AREA_LEVEL_1',\n /** County */\n ADMINISTRATIVE_AREA_LEVEL_2 = 'ADMINISTRATIVE_AREA_LEVEL_2',\n /** City/town */\n ADMINISTRATIVE_AREA_LEVEL_3 = 'ADMINISTRATIVE_AREA_LEVEL_3',\n /** Neighborhood/quarter */\n ADMINISTRATIVE_AREA_LEVEL_4 = 'ADMINISTRATIVE_AREA_LEVEL_4',\n /** Street/block */\n ADMINISTRATIVE_AREA_LEVEL_5 = 'ADMINISTRATIVE_AREA_LEVEL_5',\n /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */\n COUNTRY = 'COUNTRY',\n}\n\n/** @enumType */\nexport type SubdivisionTypeWithLiterals =\n | SubdivisionType\n | 'UNKNOWN_SUBDIVISION_TYPE'\n | 'ADMINISTRATIVE_AREA_LEVEL_1'\n | 'ADMINISTRATIVE_AREA_LEVEL_2'\n | 'ADMINISTRATIVE_AREA_LEVEL_3'\n | 'ADMINISTRATIVE_AREA_LEVEL_4'\n | 'ADMINISTRATIVE_AREA_LEVEL_5'\n | 'COUNTRY';\n\nexport interface ScheduleConfig {\n /**\n * Defines event as TBD (To Be Determined) schedule.\n * When event time is not yet defined, TBD message is displayed instead of event start and end times.\n * `startDate`, `endDate` and `timeZoneId` are not required when schedule is TBD.\n */\n scheduleTbd?: boolean;\n /**\n * TBD message.\n * @maxLength 100\n */\n scheduleTbdMessage?: string | null;\n /** Event start timestamp. */\n startDate?: Date | null;\n /** Event end timestamp. */\n endDate?: Date | null;\n /**\n * Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.\n * @maxLength 100\n */\n timeZoneId?: string | null;\n /** Whether end date is hidden in the formatted schedule. */\n endDateHidden?: boolean;\n /** Whether time zone is displayed in formatted schedule. */\n showTimeZone?: boolean;\n /** Event recurrences. */\n recurrences?: EventsRecurrences;\n}\n\nexport interface EventsRecurrences {\n /**\n * Event occurrences.\n * @maxSize 1000\n */\n occurrences?: EventsOccurrence[];\n /**\n * Recurring event category ID.\n * @readonly\n */\n categoryId?: string | null;\n /**\n * Recurrence status.\n * @readonly\n */\n status?: EventsRecurrenceStatusStatusWithLiterals;\n}\n\nexport interface EventsOccurrence {\n /** Event start timestamp. */\n startDate?: Date | null;\n /** Event end timestamp. */\n endDate?: Date | null;\n /**\n * Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.\n * @maxLength 100\n */\n timeZoneId?: string | null;\n /** Whether time zone is displayed in formatted schedule. */\n showTimeZone?: boolean;\n}\n\nexport enum EventsRecurrenceStatusStatus {\n /** Event occurs only once. */\n ONE_TIME = 'ONE_TIME',\n /** Event is recurring. */\n RECURRING = 'RECURRING',\n /** Marks the next upcoming occurrence of the recurring event. */\n RECURRING_NEXT = 'RECURRING_NEXT',\n /** Marks the most recent ended occurrence of the recurring event. */\n RECURRING_LAST_ENDED = 'RECURRING_LAST_ENDED',\n /** Marks the most recent canceled occurrence of the recurring event. */\n RECURRING_LAST_CANCELED = 'RECURRING_LAST_CANCELED',\n}\n\n/** @enumType */\nexport type EventsRecurrenceStatusStatusWithLiterals =\n | EventsRecurrenceStatusStatus\n | 'ONE_TIME'\n | 'RECURRING'\n | 'RECURRING_NEXT'\n | 'RECURRING_LAST_ENDED'\n | 'RECURRING_LAST_CANCELED';\n\nexport enum EventStatus {\n /** Event is public and scheduled to start */\n SCHEDULED = 'SCHEDULED',\n /** Event has started */\n STARTED = 'STARTED',\n /** Event has ended */\n ENDED = 'ENDED',\n /** Event was canceled */\n CANCELED = 'CANCELED',\n}\n\n/** @enumType */\nexport type EventStatusWithLiterals =\n | EventStatus\n | 'SCHEDULED'\n | 'STARTED'\n | 'ENDED'\n | 'CANCELED';\n\nexport interface Event {\n /**\n * Event ID.\n * @format GUID\n * @readonly\n */\n _id?: string;\n /** Event location. */\n location?: EventsLocation;\n /** Event scheduling. */\n scheduling?: Scheduling;\n /** Event title. */\n title?: string;\n /** Event description. */\n description?: string;\n /** Rich-text content that are displayed in a site's \"About Event\" section (HTML). */\n about?: string;\n /** Main event image. */\n mainImage?: string;\n /** Event slug URL (generated from event title). */\n slug?: string;\n /** ISO 639-1 language code of the event (used in content translations). */\n language?: string;\n /** Event creation timestamp. */\n created?: Date | null;\n /** Event modified timestamp. */\n modified?: Date | null;\n /** Event status. */\n status?: EventStatusWithLiterals;\n /** RSVP or ticketing registration details. */\n registration?: Registration;\n /** \"Add to calendar\" URLs. */\n calendarLinks?: CalendarLinks;\n /** Event page URL components. */\n eventPageUrl?: SiteUrl;\n /** Event registration form. */\n form?: Form;\n /** Event dashboard summary of RSVP / ticket sales. */\n dashboard?: Dashboard;\n /** Instance ID of the site where event is hosted. */\n instanceId?: string;\n /** Guest list configuration. */\n guestListConfig?: GuestListConfig;\n /**\n * Event creator user ID.\n * @maxLength 36\n */\n userId?: string;\n /** Event discussion feed. For internal use. */\n feed?: Feed;\n /** Online conferencing details. */\n onlineConferencing?: OnlineConferencing;\n /** SEO settings. */\n seoSettings?: SeoSettings;\n /** Assigned contacts label key. */\n assignedContactsLabel?: string | null;\n /** Agenda details. */\n agenda?: Agenda;\n /** Categories this event is assigned to. */\n categories?: Category[];\n /** Visual settings for event. */\n eventDisplaySettings?: EventDisplaySettings;\n /** Rich content that are displayed in a site's \"About Event\" section. Successor to `about` field. */\n longDescription?: RichContent;\n /**\n * Event publish timestamp.\n * @readonly\n */\n publishedDate?: Date | null;\n}\n\nexport interface Scheduling {\n /** Schedule configuration. */\n config?: ScheduleConfig;\n /** Formatted schedule representation. */\n formatted?: string;\n /** Formatted start date of the event (empty for TBD schedules). */\n startDateFormatted?: string;\n /** Formatted start time of the event (empty for TBD schedules). */\n startTimeFormatted?: string;\n /** Formatted end date of the event (empty for TBD schedules or when end date is hidden). */\n endDateFormatted?: string;\n /** Formatted end time of the event (empty for TBD schedules or when end date is hidden). */\n endTimeFormatted?: string;\n}\n\nexport interface Registration {\n /** Event type. */\n type?: EventTypeWithLiterals;\n /** Event registration status. */\n status?: RegistrationStatusWithLiterals;\n /** RSVP collection details. */\n rsvpCollection?: RsvpCollection;\n /** Ticketing details. */\n ticketing?: Ticketing;\n /** External registration details. */\n external?: ExternalEvent;\n /** Types of users allowed to register. */\n restrictedTo?: VisitorTypeWithLiterals;\n /** Initial event type which was set when creating an event. */\n initialType?: EventTypeWithLiterals;\n}\n\nexport enum EventType {\n /** Type not available for this request fieldset */\n NA_EVENT_TYPE = 'NA_EVENT_TYPE',\n /** Registration via RSVP */\n RSVP = 'RSVP',\n /** Registration via ticket purchase */\n TICKETS = 'TICKETS',\n /** External registration */\n EXTERNAL = 'EXTERNAL',\n /** Registration not available */\n NO_REGISTRATION = 'NO_REGISTRATION',\n}\n\n/** @enumType */\nexport type EventTypeWithLiterals =\n | EventType\n | 'NA_EVENT_TYPE'\n | 'RSVP'\n | 'TICKETS'\n | 'EXTERNAL'\n | 'NO_REGISTRATION';\n\nexport enum RegistrationStatus {\n /** Registration status is not applicable */\n NA_REGISTRATION_STATUS = 'NA_REGISTRATION_STATUS',\n /** Registration to event is closed */\n CLOSED = 'CLOSED',\n /** Registration to event is closed manually */\n CLOSED_MANUALLY = 'CLOSED_MANUALLY',\n /** Registration is open via RSVP */\n OPEN_RSVP = 'OPEN_RSVP',\n /** Registration to event waitlist is open via RSVP */\n OPEN_RSVP_WAITLIST = 'OPEN_RSVP_WAITLIST',\n /** Registration is open via ticket purchase */\n OPEN_TICKETS = 'OPEN_TICKETS',\n /** Registration is open via external URL */\n OPEN_EXTERNAL = 'OPEN_EXTERNAL',\n /** Registration will be open via RSVP */\n SCHEDULED_RSVP = 'SCHEDULED_RSVP',\n}\n\n/** @enumType */\nexport type RegistrationStatusWithLiterals =\n | RegistrationStatus\n | 'NA_REGISTRATION_STATUS'\n | 'CLOSED'\n | 'CLOSED_MANUALLY'\n | 'OPEN_RSVP'\n | 'OPEN_RSVP_WAITLIST'\n | 'OPEN_TICKETS'\n | 'OPEN_EXTERNAL'\n | 'SCHEDULED_RSVP';\n\nexport interface RsvpCollection {\n /** RSVP collection configuration. */\n config?: RsvpCollectionConfig;\n}\n\nexport interface RsvpCollectionConfig {\n /** Defines the supported RSVP statuses. */\n rsvpStatusOptions?: RsvpStatusOptionsWithLiterals;\n /**\n * Total guest limit available to register to the event.\n * Additional guests per RSVP are counted towards total guests.\n */\n limit?: number | null;\n /** Whether a waitlist is opened when total guest limit is reached, allowing guests to create RSVP with WAITING RSVP status. */\n waitlist?: boolean;\n /** Registration start timestamp. */\n startDate?: Date | null;\n /** Registration end timestamp. */\n endDate?: Date | null;\n}\n\nexport enum RsvpStatusOptions {\n /** Only YES RSVP status is available for RSVP registration */\n YES_ONLY = 'YES_ONLY',\n /** YES and NO RSVP status options are available for the registration */\n YES_AND_NO = 'YES_AND_NO',\n}\n\n/** @enumType */\nexport type RsvpStatusOptionsWithLiterals =\n | RsvpStatusOptions\n | 'YES_ONLY'\n | 'YES_AND_NO';\n\nexport interface RsvpConfirmationMessages {\n /** Messages displayed when an RSVP's `status` is set to `\"YES\"`. */\n positiveConfirmation?: RsvpConfirmationMessagesPositiveResponseConfirmation;\n /** Messages displayed when an RSVP's `status` is set to `\"WAITLIST\"`, for when the event is full and a waitlist is available). */\n waitlistMessages?: RsvpConfirmationMessagesPositiveResponseConfirmation;\n /** Messages displayed when an RSVP's `status` is set to `\"NO\"`. */\n negativeMessages?: RsvpConfirmationMessagesNegativeResponseConfirmation;\n}\n\n/** Confirmation shown after then registration when RSVP response is positive. */\nexport interface RsvpConfirmationMessagesPositiveResponseConfirmation {\n /**\n * Confirmation message title.\n * @maxLength 150\n */\n title?: string | null;\n /**\n * Confirmation message text.\n * @maxLength 350\n */\n message?: string | null;\n /**\n * \"Add to calendar\" call-to-action label text.\n * @maxLength 50\n */\n addToCalendarActionLabel?: string | null;\n /**\n * \"Share event\" call-to-action label text.\n * @maxLength 50\n */\n shareActionLabel?: string | null;\n}\n\n/** Confirmation shown after then registration when RSVP response is negative. */\nexport interface RsvpConfirmationMessagesNegativeResponseConfirmation {\n /**\n * Confirmation message title.\n * @maxLength 150\n */\n title?: string | null;\n /**\n * \"Share event\" call-to-action label text.\n * @maxLength 50\n */\n shareActionLabel?: string | null;\n}\n\nexport interface Ticketing {\n /**\n * Deprecated.\n * @deprecated\n */\n lowestPrice?: string | null;\n /**\n * Deprecated.\n * @deprecated\n */\n highestPrice?: string | null;\n /** Currency used in event transactions. */\n currency?: string | null;\n /** Ticketing configuration. */\n config?: TicketingConfig;\n /**\n * Price of lowest priced ticket.\n * @readonly\n */\n lowestTicketPrice?: Money;\n /**\n * Price of highest priced ticket.\n * @readonly\n */\n highestTicketPrice?: Money;\n /**\n * Formatted price of lowest priced ticket.\n * @readonly\n */\n lowestTicketPriceFormatted?: string | null;\n /**\n * Formatted price of highest priced ticket.\n * @readonly\n */\n highestTicketPriceFormatted?: string | null;\n /**\n * Whether all tickets are sold for this event.\n * @readonly\n */\n soldOut?: boolean | null;\n}\n\nexport interface TicketingConfig {\n /** Whether the form must be filled out separately for each ticket. */\n guestAssignedTickets?: boolean;\n /** Tax configuration. */\n taxConfig?: TaxConfig;\n /**\n * Limit of tickets that can be purchased per order, default 20.\n * @max 50\n */\n ticketLimitPerOrder?: number;\n /**\n * Duration for which the tickets being bought are reserved.\n * @min 5\n * @max 30\n */\n reservationDurationInMinutes?: number | null;\n}\n\nexport interface TaxConfig {\n /** Tax application settings. */\n type?: TaxTypeWithLiterals;\n /**\n * Tax name.\n * @minLength 1\n * @maxLength 10\n */\n name?: string | null;\n /**\n * Tax rate (e.g.,`21.55`).\n * @decimalValue options { gte:0.001, lte:100, maxScale:3 }\n */\n rate?: string | null;\n /** Applies taxes for donations, default true. */\n appliesToDonations?: boolean | null;\n}\n\nexport enum TaxType {\n /** Tax is included in the ticket price. */\n INCLUDED = 'INCLUDED',\n /** Tax is added to the order at the checkout. */\n ADDED = 'ADDED',\n /** Tax is added to the final total at the checkout. */\n ADDED_AT_CHECKOUT = 'ADDED_AT_CHECKOUT',\n}\n\n/** @enumType */\nexport type TaxTypeWithLiterals =\n | TaxType\n | 'INCLUDED'\n | 'ADDED'\n | 'ADDED_AT_CHECKOUT';\n\nexport interface TicketsConfirmationMessages {\n /**\n * Confirmation message title.\n * @maxLength 150\n */\n title?: string | null;\n /**\n * Confirmation message text.\n * @maxLength 350\n */\n message?: string | null;\n /**\n * \"Download tickets\" call-to-action label text.\n * @maxLength 50\n */\n downloadTicketsLabel?: string | null;\n /**\n * \"Add to calendar\" call-to-action label text.\n * @maxLength 50\n */\n addToCalendarActionLabel?: string | null;\n /**\n * \"Share event\" call-to-action label text.\n * @maxLength 50\n */\n shareActionLabel?: string | null;\n}\n\nexport 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 Money {\n /**\n * *Deprecated:** Use `value` instead.\n * @format DECIMAL_VALUE\n * @deprecated\n */\n amount?: string;\n /**\n * 3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `USD`.\n * @format CURRENCY\n */\n currency?: string;\n /**\n * Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, starts with a single (-), to indicate that the amount is negative.\n * @format DECIMAL_VALUE\n */\n value?: string | null;\n}\n\nexport interface ExternalEvent {\n /** External event registration URL. */\n registration?: string;\n}\n\nexport enum VisitorType {\n /** Site visitor (including member) */\n VISITOR = 'VISITOR',\n /** Site member */\n MEMBER = 'MEMBER',\n /** Site visitor or member */\n VISITOR_OR_MEMBER = 'VISITOR_OR_MEMBER',\n}\n\n/** @enumType */\nexport type VisitorTypeWithLiterals =\n | VisitorType\n | 'VISITOR'\n | 'MEMBER'\n | 'VISITOR_OR_MEMBER';\n\nexport interface CalendarLinks {\n /** \"Add to Google calendar\" URL. */\n google?: string;\n /** \"Download ICS calendar file\" URL. */\n ics?: string;\n}\n\n/** Site URL components */\nexport interface SiteUrl {\n /**\n * Base URL. For premium sites, this will be the domain.\n * For free sites, this would be site URL (e.g `mysite.wixsite.com/mysite`)\n */\n base?: string;\n /** The path to that page - e.g `/my-events/weekly-meetup-2` */\n path?: string;\n}\n\n/**\n * The form defines which elements are displayed to a site visitor during the registration process (RSVP or checkout).\n * It also contains customizable messages and labels.\n *\n *\n * A form is an ordered list of controls (blocks), which accept guest information into a field input.\n *\n * Each control contains one or more nested inputs. For example, `Name` control has two inputs:\n * - First Name\n * - Last Name\n *\n * By default, name and email controls are always required and are pinned to the top of the form.\n */\nexport interface Form {\n /** Nested fields as an ordered list. */\n controls?: InputControl[];\n /**\n * Set of defined form messages displayed in the UI before, during, and after a registration flow.\n * Includes the configuration of form titles, response labels, \"thank you\" messages, and call-to-action texts.\n */\n messages?: FormMessages;\n}\n\n/**\n * A block of nested fields.\n * Used to aggregate similar inputs like First Name and Last Name.\n */\nexport interface InputControl {\n /** Field control type. */\n type?: InputControlTypeWithLiterals;\n /** Whether the control is mandatory (such as `name` & `email`). When `true`, only the label can be changed. */\n system?: boolean;\n /**\n * Deprecated: Use `id` or `_id`.\n * @deprecated\n */\n name?: string;\n /** Child inputs. */\n inputs?: Input[];\n /**\n * *Deprecated:** Use `controls.inputs.label`.\n * @deprecated\n */\n label?: string;\n /** Field controls are sorted by this value in ascending order. */\n orderIndex?: number;\n /** Unique control ID. */\n _id?: string;\n /**\n * Whether the input control is deleted.\n * @readonly\n */\n deleted?: boolean | null;\n}\n\nexport enum InputControlType {\n /** Single text value field. */\n INPUT = 'INPUT',\n /** Single text value field with multiple lines. */\n TEXTAREA = 'TEXTAREA',\n /** Single-choice field with predefined values. */\n DROPDOWN = 'DROPDOWN',\n /** Single-choice field with predefined values. */\n RADIO = 'RADIO',\n /** Multiple-choice field with predefined values. */\n CHECKBOX = 'CHECKBOX',\n /** Fields for entering first and last names. */\n NAME = 'NAME',\n /** Fields for additional guests and their respective names. */\n GUEST_CONTROL = 'GUEST_CONTROL',\n /** Single-line address field. */\n ADDRESS_SHORT = 'ADDRESS_SHORT',\n /** Full address field with multiple lines. */\n ADDRESS_FULL = 'ADDRESS_FULL',\n /** Fields for entering year, month, and day. */\n DATE = 'DATE',\n}\n\n/** @enumType */\nexport type InputControlTypeWithLiterals =\n | InputControlType\n | 'INPUT'\n | 'TEXTAREA'\n | 'DROPDOWN'\n | 'RADIO'\n | 'CHECKBOX'\n | 'NAME'\n | 'GUEST_CONTROL'\n | 'ADDRESS_SHORT'\n | 'ADDRESS_FULL'\n | 'DATE';\n\n/** Child inputs. */\nexport interface Input {\n /** Field name. */\n name?: string;\n /**\n * *Deprecated:** Use `controls.inputs.type.TEXT_ARRAY`.\n * @deprecated\n */\n array?: boolean;\n /** Main field label. */\n label?: string;\n /** Additional labels for multi-valued fields such as address. */\n additionalLabels?: Record<string, string>;\n /** Predefined choice options for fields, such as dropdown. */\n options?: string[];\n /** Whether field is mandatory. */\n mandatory?: boolean;\n /** Maximum number of accepted characters (relevant for text fields). */\n maxLength?: number;\n /**\n * Type which determines field format.\n * Used to validate submitted response.\n */\n type?: ValueTypeWithLiterals;\n /**\n * The maximum number of accepted values for array input.\n *\n * **Note:** Only applicable for `TEXT_ARRAY` input fields.\n */\n maxSize?: number | null;\n /**\n * Default option initially selected when an input has multiple choices.\n *\n * Defaults to first (0th) option, if not configured.\n * Currently only applicable for `type.dropdown`.\n */\n defaultOptionSelection?: OptionSelection;\n /**\n * Additional labels for multi-valued fields, such as address.\n * @readonly\n */\n labels?: Label[];\n}\n\nexport enum ValueType {\n TEXT = 'TEXT',\n NUMBER = 'NUMBER',\n TEXT_ARRAY = 'TEXT_ARRAY',\n DATE_TIME = 'DATE_TIME',\n ADDRESS = 'ADDRESS',\n}\n\n/** @enumType */\nexport type ValueTypeWithLiterals =\n | ValueType\n | 'TEXT'\n | 'NUMBER'\n | 'TEXT_ARRAY'\n | 'DATE_TIME'\n | 'ADDRESS';\n\n/**\n * Describes initially selected option when an input has multiple choices.\n * Defaults to first (0th) option if not configured.\n */\nexport interface OptionSelection extends OptionSelectionSelectedOptionOneOf {\n /**\n * 0-based index from predefined `controls.inputs.options` which is initial selection.\n * @max 199\n */\n optionIndex?: number;\n /**\n * Placeholder hint describing expected choices, such as \"Please select\".\n * Considered an empty choice.\n * @maxLength 200\n */\n placeholderText?: string;\n}\n\n/** @oneof */\nexport interface OptionSelectionSelectedOptionOneOf {\n /**\n * 0-based index from predefined `controls.inputs.options` which is initial selection.\n * @max 199\n */\n optionIndex?: number;\n /**\n * Placeholder hint describing expected choices, such as \"Please select\".\n * Considered an empty choice.\n * @maxLength 200\n */\n placeholderText?: string;\n}\n\nexport interface Label {\n /** Field name. */\n name?: string;\n /** Field label. */\n label?: string;\n}\n\n/**\n * Defines form messages shown in UI before, during, and after registration flow.\n * It enables configuration of form titles, response labels, \"thank you\" messages, and call-to-action texts.\n */\nexport interface FormMessages {\n /** [RSVP form](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/introduction) messages. */\n rsvp?: RsvpFormMessages;\n /** Checkout form messages. */\n checkout?: CheckoutFormMessages;\n /** Messages shown when event registration is closed. */\n registrationClosed?: RegistrationClosedMessages;\n /** Messages shown when event tickets are unavailable. */\n ticketsUnavailable?: TicketsUnavailableMessages;\n}\n\nexport interface RsvpFormMessages {\n /** Label text indicating RSVP's `status` is `\"YES\"`. */\n rsvpYesOption?: string;\n /** Label text indicating RSVP's `status` is `\"NO\"`. */\n rsvpNoOption?: string;\n /** Messages displayed when an RSVP's `status` is set to `\"YES\"`. */\n positiveMessages?: Positive;\n /** Messages displayed when an RSVP's `status` is set to `\"WAITLIST\"`, for when the event is full and a waitlist is available). */\n waitlistMessages?: Positive;\n /** Messages displayed when an RSVP's `status` is set to `\"NO\"`. */\n negativeMessages?: Negative;\n /** \"Submit form\" call-to-action label text. */\n submitActionLabel?: string;\n}\n\n/** Confirmation messages shown after registration. */\nexport interface PositiveResponseConfirmation {\n /** Confirmation message title. */\n title?: string;\n /** Confirmation message text. */\n message?: string;\n /** \"Add to calendar\" call-to-action label text. */\n addToCalendarActionLabel?: string;\n /** \"Share event\" call-to-action label text. */\n shareActionLabel?: string;\n}\n\n/** Confirmation messages shown after registration. */\nexport interface NegativeResponseConfirmation {\n /** Confirmation message title. */\n title?: string;\n /** \"Share event\" call-to-action label text. */\n shareActionLabel?: string;\n}\n\n/** Set of messages shown during registration when RSVP response is positive. */\nexport interface Positive {\n /** Main form title for positive response. */\n title?: string;\n /** Confirmation messages shown after registration. */\n confirmation?: PositiveResponseConfirmation;\n}\n\n/** A set of messages shown during registration with negative response */\nexport interface Negative {\n /** Main form title for negative response. */\n title?: string;\n /** Confirmation messages shown after registration. */\n confirmation?: NegativeResponseConfirmation;\n}\n\nexport interface CheckoutFormMessages {\n /** Main form title for response. */\n title?: string;\n /** Submit form call-to-action label text. */\n submitActionLabel?: string;\n /** Confirmation messages shown after checkout. */\n confirmation?: ResponseConfirmation;\n}\n\n/** Confirmation messages shown after checkout. */\nexport interface ResponseConfirmation {\n /** Confirmation message title. */\n title?: string;\n /** Confirmation message text. */\n message?: string;\n /** \"Download tickets\" call-to-action label text. */\n downloadTicketsLabel?: string;\n /** \"Add to calendar\" call-to-action label text. */\n addToCalendarLabel?: string;\n /** \"Share event\" call-to-action label text. */\n shareEventLabel?: string;\n}\n\nexport interface RegistrationClosedMessages {\n /** Message shown when event registration is closed. */\n message?: string;\n /** \"Explore other events\" call-to-action label text. */\n exploreEventsActionLabel?: string;\n}\n\nexport interface TicketsUnavailableMessages {\n /** Message shown when event tickets are unavailable. */\n message?: string;\n /** \"Explore other events\" call-to-action label text. */\n exploreEventsActionLabel?: string;\n}\n\nexport interface Dashboard {\n /** Guest RSVP summary. */\n rsvpSummary?: RsvpSummary;\n /**\n * Summary of revenue and tickets sold.\n * (Archived orders are not included).\n */\n ticketingSummary?: TicketingSummary;\n}\n\nexport interface RsvpSummary {\n /** Total number of RSVPs. */\n total?: number;\n /** Number of RSVPs with status `YES`. */\n yes?: number;\n /** Number of RSVPs with status `NO`. */\n no?: number;\n /** Number of RSVPs in waitlist. */\n waitlist?: number;\n}\n\nexport interface TicketingSummary {\n /** Number of tickets sold. */\n tickets?: number;\n /**\n * Total revenue, excluding fees.\n * (taxes and payment provider fees are not deducted.)\n */\n revenue?: Money;\n /** Whether currency is locked and cannot be changed (generally occurs after the first order in the specified currency has been created). */\n currencyLocked?: boolean;\n /** Number of orders placed. */\n orders?: number;\n /** Total balance of confirmed transactions. */\n totalSales?: Money;\n}\n\nexport interface GuestListConfig {\n /** Whether members can see other members attending the event (defaults to true). */\n publicGuestList?: boolean;\n}\n\nexport interface Feed {\n /** Event discussion feed token. */\n token?: string;\n}\n\nexport interface OnlineConferencing {\n config?: OnlineConferencingConfig;\n session?: OnlineConferencingSession;\n}\n\nexport interface OnlineConferencingConfig {\n /**\n * Whether online conferencing is enabled (not supported for TBD schedules).\n * When enabled, links to join conferencing are generated and provided to guests.\n */\n enabled?: boolean;\n /**\n * Conferencing provider ID.\n * @format GUID\n */\n providerId?: string | null;\n /** Conference type */\n conferenceType?: ConferenceTypeWithLiterals;\n}\n\nexport enum ConferenceType {\n /** Everyone in the meeting can publish and subscribe video and audio. */\n MEETING = 'MEETING',\n /** Guests can only subscribe to video and audio. */\n WEBINAR = 'WEBINAR',\n}\n\n/** @enumType */\nexport type ConferenceTypeWithLiterals = ConferenceType | 'MEETING' | 'WEBINAR';\n\nexport interface OnlineConferencingSession {\n /**\n * Link for event host to start the online conference session.\n * @readonly\n */\n hostLink?: string;\n /**\n * Link for guests to join the online conference session.\n * @readonly\n */\n guestLink?: string;\n /**\n * The password required to join online conferencing session (when relevant).\n * @readonly\n */\n password?: string | null;\n /**\n * Indicates that session was created successfully on providers side.\n * @readonly\n */\n sessionCreated?: boolean | null;\n /**\n * Unique session id\n * @readonly\n */\n sessionId?: string | null;\n}\n\nexport interface SeoSettings {\n /**\n * URL slug\n * @maxLength 130\n */\n slug?: string;\n /** Advanced SEO data */\n advancedSeoData?: SeoSchema;\n /**\n * Hidden from SEO Site Map\n * @readonly\n */\n hidden?: boolean | null;\n}\n\n/**\n * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.\n * The search engines use this information for ranking purposes, or to display snippets in the search results.\n * This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.\n */\nexport interface SeoSchema {\n /** SEO tag information. */\n tags?: Tag[];\n /** SEO general settings. */\n settings?: Settings;\n}\n\nexport interface Keyword {\n /** Keyword value. */\n term?: string;\n /** Whether the keyword is the main focus keyword. */\n isMain?: boolean;\n /**\n * The source that added the keyword terms to the SEO settings.\n * @maxLength 1000\n */\n origin?: string | null;\n}\n\nexport interface Tag {\n /**\n * SEO tag type.\n *\n *\n * Supported values: `title`, `meta`, `script`, `link`.\n */\n type?: string;\n /**\n * A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\n * For example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.\n */\n props?: Record<string, any> | null;\n /** SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`. */\n meta?: Record<string, any> | null;\n /** SEO tag inner content. For example, `<title> inner content </title>`. */\n children?: string;\n /** Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages). */\n custom?: boolean;\n /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */\n disabled?: boolean;\n}\n\nexport interface Settings {\n /**\n * Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\n *\n *\n * Default: `false` (automatical redirect is enabled).\n */\n preventAutoRedirect?: boolean;\n /**\n * User-selected keyword terms for a specific page.\n * @maxSize 5\n */\n keywords?: Keyword[];\n}\n\nexport interface Agenda {\n /** Whether the schedule is enabled for the event. */\n enabled?: boolean;\n /**\n * Agenda page URL.\n * @readonly\n */\n pageUrl?: SiteUrl;\n}\n\n/**\n * A Category is a classification object that groups related events on a site so you can organize and display them by themes, venues, or other facets.\n *\n * You can manage Categories, assign events to them, and use them to control the selection and order of events across different pages and widgets.\n *\n * Read more about [Categories](https://support.wix.com/en/article/creating-and-displaying-event-categories).\n */\nexport interface Category {\n /**\n * Category ID.\n * @format GUID\n * @readonly\n */\n _id?: string;\n /**\n * Category name.\n * @minLength 1\n * @maxLength 30\n */\n name?: string;\n /**\n * Date and time when category was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * The total number of draft and published events assigned to the category.\n * @readonly\n */\n counts?: CategoryCounts;\n /**\n * Category state.\n *\n * Default: `MANUAL`.\n *\n * **Note:** The WIX_EVENTS.MANAGE_AUTO_CATEGORIES permission scope is required to use states other than `MANUAL`.\n * @maxSize 3\n */\n states?: CategoryStateStateWithLiterals[];\n}\n\nexport interface CategoryCounts {\n /** Total number of draft events assigned to the category. */\n assignedEventsCount?: number | null;\n /** Total number of published events assigned to the category. Deleted events are excluded. */\n assignedDraftEventsCount?: number | null;\n}\n\nexport enum CategoryStateState {\n /** Categoty is created manually by the user. */\n MANUAL = 'MANUAL',\n /** Category is created automatically. */\n AUTO = 'AUTO',\n /** Category is created automatically when publishing recurring events. */\n RECURRING_EVENT = 'RECURRING_EVENT',\n /** Category is hidden. */\n HIDDEN = 'HIDDEN',\n}\n\n/** @enumType */\nexport type CategoryStateStateWithLiterals =\n | CategoryStateState\n | 'MANUAL'\n | 'AUTO'\n | 'RECURRING_EVENT'\n | 'HIDDEN';\n\nexport interface EventDisplaySettings {\n /** Whether event details button is hidden. Only available for events with no registration. */\n hideEventDetailsButton?: boolean | null;\n /** Disables event details page visibility. If event has an external registration configured visitors will be redirected from this page. */\n hideEventDetailsPage?: boolean | null;\n}\n\nexport interface LabellingSettings {}\n\nexport interface RichContent {\n /** Node objects representing a rich content document. */\n nodes?: Node[];\n /** Object metadata. */\n metadata?: Metadata;\n /** Global styling for header, paragraph, block quote, and code block nodes in the object. */\n documentStyle?: DocumentStyle;\n}\n\nexport interface Node extends NodeDataOneOf {\n /** Data for a button node. */\n buttonData?: ButtonData;\n /** Data for a code block node. */\n codeBlockData?: CodeBlockData;\n /** Data for a divider node. */\n dividerData?: DividerData;\n /** Data for a file node. */\n fileData?: FileData;\n /** Data for a gallery node. */\n galleryData?: GalleryData;\n /** Data for a GIF node. */\n gifData?: GIFData;\n /** Data for a heading node. */\n headingData?: HeadingData;\n /** Data for an embedded HTML node. */\n htmlData?: HTMLData;\n /** Data for an image node. */\n imageData?: ImageData;\n /** Data for a link preview node. */\n linkPreviewData?: LinkPreviewData;\n /** @deprecated */\n mapData?: MapData;\n /** Data for a paragraph node. */\n paragraphData?: ParagraphData;\n /** Data for a poll node. */\n pollData?: PollData;\n /** Data for a text node. Used to apply decorations to text. */\n textData?: TextData;\n /** Data for an app embed node. */\n appEmbedData?: AppEmbedData;\n /** Data for a video node. */\n videoData?: VideoData;\n /** Data for an oEmbed node. */\n embedData?: EmbedData;\n /** Data for a collapsible list node. */\n collapsibleListData?: CollapsibleListData;\n /** Data for a table node. */\n tableData?: TableData;\n /** Data for a table cell node. */\n tableCellData?: TableCellData;\n /** Data for a custom external node. */\n externalData?: Record<string, any> | null;\n /** Data for an audio node. */\n audioData?: AudioData;\n /** Data for an ordered list node. */\n orderedListData?: OrderedListData;\n /** Data for a bulleted list node. */\n bulletedListData?: BulletedListData;\n /** Data for a block quote node. */\n blockquoteData?: BlockquoteData;\n /** Data for a caption node. */\n captionData?: CaptionData;\n /** 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 /** Defines where selected design propertied applies to */\n designTarget?: DesignTargetWithLiterals;\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 enum DesignTarget {\n /** Design applied to layout */\n LAYOUT = 'LAYOUT',\n /** Design applied to cells */\n CELL = 'CELL',\n}\n\n/** @enumType */\nexport type DesignTargetWithLiterals = DesignTarget | 'LAYOUT' | 'CELL';\n\nexport interface LayoutCellData {\n /** Size of the cell in 12 columns grid. */\n colSpan?: number | null;\n}\n\nexport interface Metadata {\n /** Schema version. */\n version?: number;\n /**\n * When the object was created.\n * @readonly\n * @deprecated\n */\n createdTimestamp?: Date | null;\n /**\n * When the object was most recently updated.\n * @deprecated\n */\n updatedTimestamp?: Date | null;\n /** Object ID. */\n _id?: string | null;\n}\n\nexport interface DocumentStyle {\n /** Styling for H1 nodes. */\n headerOne?: TextNodeStyle;\n /** Styling for H2 nodes. */\n headerTwo?: TextNodeStyle;\n /** Styling for H3 nodes. */\n headerThree?: TextNodeStyle;\n /** Styling for H4 nodes. */\n headerFour?: TextNodeStyle;\n /** Styling for H5 nodes. */\n headerFive?: TextNodeStyle;\n /** Styling for H6 nodes. */\n headerSix?: TextNodeStyle;\n /** Styling for paragraph nodes. */\n paragraph?: TextNodeStyle;\n /** Styling for block quote nodes. */\n blockquote?: TextNodeStyle;\n /** Styling for code block nodes. */\n codeBlock?: TextNodeStyle;\n}\n\nexport interface TextNodeStyle {\n /** The decorations to apply to the node. */\n decorations?: Decoration[];\n /** Padding and background color for the node. */\n nodeStyle?: NodeStyle;\n /** Line height for text in the node. */\n lineHeight?: string | null;\n}\n\nexport interface Badge {\n /** Badge type. */\n type?: TypeWithLiterals;\n /**\n * Badge text.\n * @maxLength 50\n */\n text?: string | null;\n}\n\nexport enum Type {\n /** Unknown badge type. */\n UNKNOWN_BADGE_TYPE = 'UNKNOWN_BADGE_TYPE',\n /** 1st priority badge type. */\n FIRST_PRIORITY = 'FIRST_PRIORITY',\n /** 2nd priority badge type. */\n SECOND_PRIORITY = 'SECOND_PRIORITY',\n /** 3rd priority badge type. */\n THIRD_PRIORITY = 'THIRD_PRIORITY',\n}\n\n/** @enumType */\nexport type TypeWithLiterals =\n | Type\n | 'UNKNOWN_BADGE_TYPE'\n | 'FIRST_PRIORITY'\n | 'SECOND_PRIORITY'\n | 'THIRD_PRIORITY';\n\nexport interface EventUpdated {\n /** Event update timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event location. */\n location?: EventsLocation;\n /** Event schedule configuration. */\n scheduleConfig?: ScheduleConfig;\n /** Event title. */\n title?: string;\n /**\n * Whether schedule configuration was updated.\n * @deprecated\n */\n scheduleConfigUpdated?: boolean;\n /** Updated event */\n event?: Event;\n}\n\n/** Triggers when seating plan category summaries are updated. */\nexport interface SeatingPlanCategoriesSummaryUpdated {\n /**\n * Seating plan ID.\n * @format GUID\n */\n seatingPlanId?: string;\n /** External seating plan ID. */\n externalSeatingPlanId?: string | null;\n /**\n * Updated category capacity and reservation counts.\n * @maxSize 100\n */\n categories?: CategoryDetails[];\n /**\n * Summary revision number for cache invalidation.\n * @readonly\n */\n revision?: string | null;\n}\n\n/** Category capacity and reservation summary. */\nexport interface CategoryDetails {\n /**\n * Seating Plan ID.\n * @format GUID\n * @readonly\n */\n seatingPlanId?: string | null;\n /**\n * External Seating Plan ID used for integration with third-party systems.\n * @minLength 1\n * @maxLength 100\n * @readonly\n */\n externalSeatingPlanId?: string | null;\n /**\n * External Category ID used for mapping to venue-specific category names. For example, `VIP` or `ORCHESTRA`.\n * @minLength 1\n * @maxLength 100\n * @readonly\n */\n externalCategoryId?: string | null;\n /**\n * Total seating capacity available in category.\n * @readonly\n */\n totalCapacity?: number | null;\n /**\n * Number of seats currently reserved in category.\n * @readonly\n */\n reserved?: number | null;\n}\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 MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\n /**\n * A meta site id.\n * @format GUID\n */\n metaSiteId?: string;\n /** A meta site version. Monotonically increasing. */\n version?: string;\n /** A timestamp of the event. */\n timestamp?: string;\n /**\n * TODO(meta-site): Change validation once validations are disabled for consumers\n * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659\n * @maxSize 4000\n */\n assets?: Asset[];\n}\n\n/** @oneof */\nexport interface MetaSiteSpecialEventPayloadOneOf {\n /** Emitted on a meta site creation. */\n siteCreated?: SiteCreated;\n /** Emitted on a meta site transfer completion. */\n siteTransferred?: SiteTransferred;\n /** Emitted on a meta site deletion. */\n siteDeleted?: SiteDeleted;\n /** Emitted on a meta site restoration. */\n siteUndeleted?: SiteUndeleted;\n /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n sitePublished?: SitePublished;\n /** Emitted on a meta site unpublish. */\n siteUnpublished?: SiteUnpublished;\n /** Emitted when meta site is marked as template. */\n siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n /** Emitted when meta site is marked as a WixSite. */\n siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n /** Emitted when an application is provisioned (installed). */\n serviceProvisioned?: ServiceProvisioned;\n /** Emitted when an application is removed (uninstalled). */\n serviceRemoved?: ServiceRemoved;\n /** Emitted when meta site name (URL slug) is changed. */\n siteRenamedPayload?: SiteRenamed;\n /** Emitted when meta site was permanently deleted. */\n hardDeleted?: SiteHardDeleted;\n /** Emitted on a namespace change. */\n namespaceChanged?: NamespaceChanged;\n /** Emitted when Studio is attached. */\n studioAssigned?: StudioAssigned;\n /** Emitted when Studio is detached. */\n studioUnassigned?: StudioUnassigned;\n /**\n * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n * the actual URL.\n *\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n */\n urlChanged?: SiteUrlChanged;\n /** Site is marked as PurgedExternally */\n sitePurgedExternally?: SitePurgedExternally;\n /** Emitted when Odeditor is attached. */\n odeditorAssigned?: OdeditorAssigned;\n /** Emitted when Odeditor is detached. */\n odeditorUnassigned?: OdeditorUnassigned;\n /** Emitted when Picasso is attached. */\n picassoAssigned?: PicassoAssigned;\n /** Emitted when Picasso is detached. */\n picassoUnassigned?: PicassoUnassigned;\n /** Emitted when Wixel is attached. */\n wixelAssigned?: WixelAssigned;\n /** Emitted when Wixel is detached. */\n wixelUnassigned?: WixelUnassigned;\n /** Emitted when StudioTwo is attached. */\n studioTwoAssigned?: StudioTwoAssigned;\n /** Emitted when StudioTwo is detached. */\n studioTwoUnassigned?: StudioTwoUnassigned;\n}\n\nexport interface Asset {\n /**\n * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * An instance id. For legacy reasons may be UUID or a string.\n * @maxLength 200\n */\n instanceId?: string;\n /** An application state. */\n state?: StateWithLiterals;\n}\n\nexport enum State {\n UNKNOWN = 'UNKNOWN',\n ENABLED = 'ENABLED',\n DISABLED = 'DISABLED',\n PENDING = 'PENDING',\n DEMO = 'DEMO',\n}\n\n/** @enumType */\nexport type StateWithLiterals =\n | State\n | 'UNKNOWN'\n | 'ENABLED'\n | 'DISABLED'\n | 'PENDING'\n | 'DEMO';\n\nexport interface SiteCreated {\n /**\n * A template identifier (empty if not created from a template).\n * @maxLength 36\n */\n originTemplateId?: string;\n /**\n * An account id of the owner.\n * @format GUID\n */\n ownerId?: string;\n /** A context in which meta site was created. */\n context?: SiteCreatedContextWithLiterals;\n /**\n * A meta site id from which this site was created.\n *\n * In case of a creation from a template it's a template id.\n * In case of a site duplication (\"Save As\" in dashboard or duplicate in UM) it's an id of a source site.\n * @format GUID\n */\n originMetaSiteId?: string | null;\n /**\n * A meta site name (URL slug).\n * @maxLength 20\n */\n siteName?: string;\n /** A namespace. */\n namespace?: NamespaceWithLiterals;\n}\n\nexport enum SiteCreatedContext {\n /** A valid option, we don't expose all reasons why site might be created. */\n OTHER = 'OTHER',\n /** A meta site was created from template. */\n FROM_TEMPLATE = 'FROM_TEMPLATE',\n /** A meta site was created by copying of the transfferred meta site. */\n DUPLICATE_BY_SITE_TRANSFER = 'DUPLICATE_BY_SITE_TRANSFER',\n /** A copy of existing meta site. */\n DUPLICATE = 'DUPLICATE',\n /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */\n OLD_SITE_TRANSFER = 'OLD_SITE_TRANSFER',\n /** deprecated A meta site was created for Flash editor. */\n FLASH = 'FLASH',\n}\n\n/** @enumType */\nexport type SiteCreatedContextWithLiterals =\n | SiteCreatedContext\n | 'OTHER'\n | 'FROM_TEMPLATE'\n | 'DUPLICATE_BY_SITE_TRANSFER'\n | 'DUPLICATE'\n | 'OLD_SITE_TRANSFER'\n | 'FLASH';\n\nexport enum Namespace {\n UNKNOWN_NAMESPACE = 'UNKNOWN_NAMESPACE',\n /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */\n WIX = 'WIX',\n /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n SHOUT_OUT = 'SHOUT_OUT',\n /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ALBUMS = 'ALBUMS',\n /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n WIX_STORES_TEST_DRIVE = 'WIX_STORES_TEST_DRIVE',\n /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n HOTELS = 'HOTELS',\n /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n CLUBS = 'CLUBS',\n /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n ONBOARDING_DRAFT = 'ONBOARDING_DRAFT',\n /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_SITE = 'DEV_SITE',\n /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n LOGOS = 'LOGOS',\n /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n VIDEO_MAKER = 'VIDEO_MAKER',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n PARTNER_DASHBOARD = 'PARTNER_DASHBOARD',\n /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n DEV_CENTER_COMPANY = 'DEV_CENTER_COMPANY',\n /**\n * A draft created by HTML editor on open. Upon \"first save\" it will be moved to be of WIX domain.\n *\n * Meta site with this namespace will *not* be shown in a user's site list by default.\n */\n HTML_DRAFT = 'HTML_DRAFT',\n /**\n * the user-journey for Fitness users who want to start from managing their business instead of designing their website.\n * Will be accessible from Site List and will not have a website app.\n * Once the user attaches a site, the site will become a regular wixsite.\n */\n SITELESS_BUSINESS = 'SITELESS_BUSINESS',\n /** Belongs to \"strategic products\" company. Supports new product in the creator's economy space. */\n CREATOR_ECONOMY = 'CREATOR_ECONOMY',\n /** It is to be used in the Business First efforts. */\n DASHBOARD_FIRST = 'DASHBOARD_FIRST',\n /** Bookings business flow with no site. */\n ANYWHERE = 'ANYWHERE',\n /** Namespace for Headless Backoffice with no editor */\n HEADLESS = 'HEADLESS',\n /**\n * Namespace for master site that will exist in parent account that will be referenced by subaccounts\n * The site will be used for account level CSM feature for enterprise\n */\n ACCOUNT_MASTER_CMS = 'ACCOUNT_MASTER_CMS',\n /** Rise.ai Siteless account management for Gift Cards and Store Credit. */\n RISE = 'RISE',\n /**\n * As part of the branded app new funnel, users now can create a meta site that will be branded app first.\n * There's a blank site behind the scene but it's blank).\n * The Mobile company will be the owner of this namespace.\n */\n BRANDED_FIRST = 'BRANDED_FIRST',\n /** Nownia.com Siteless account management for Ai Scheduling Assistant. */\n NOWNIA = 'NOWNIA',\n /**\n * UGC Templates are templates that are created by users for personal use and to sale to other users.\n * The Partners company owns this namespace.\n */\n UGC_TEMPLATE = 'UGC_TEMPLATE',\n /** Codux Headless Sites */\n CODUX = 'CODUX',\n /** Bobb - AI Design Creator. */\n MEDIA_DESIGN_CREATOR = 'MEDIA_DESIGN_CREATOR',\n /**\n * Shared Blog Site is a unique single site across Enterprise account,\n * This site will hold all Blog posts related to the Marketing product.\n */\n SHARED_BLOG_ENTERPRISE = 'SHARED_BLOG_ENTERPRISE',\n /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_FORMS = 'STANDALONE_FORMS',\n /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n STANDALONE_EVENTS = 'STANDALONE_EVENTS',\n /** MIMIR - Siteless account for MIMIR Ai Job runner. */\n MIMIR = 'MIMIR',\n /** Wix Twins platform. */\n TWINS = 'TWINS',\n /** Wix Nano. */\n NANO = 'NANO',\n /** Base44 headless sites. */\n BASE44 = 'BASE44',\n}\n\n/** @enumType */\nexport type NamespaceWithLiterals =\n | Namespace\n | 'UNKNOWN_NAMESPACE'\n | 'WIX'\n | 'SHOUT_OUT'\n | 'ALBUMS'\n | 'WIX_STORES_TEST_DRIVE'\n | 'HOTELS'\n | 'CLUBS'\n | 'ONBOARDING_DRAFT'\n | 'DEV_SITE'\n | 'LOGOS'\n | 'VIDEO_MAKER'\n | 'PARTNER_DASHBOARD'\n | 'DEV_CENTER_COMPANY'\n | 'HTML_DRAFT'\n | 'SITELESS_BUSINESS'\n | 'CREATOR_ECONOMY'\n | 'DASHBOARD_FIRST'\n | 'ANYWHERE'\n | 'HEADLESS'\n | 'ACCOUNT_MASTER_CMS'\n | 'RISE'\n | 'BRANDED_FIRST'\n | 'NOWNIA'\n | 'UGC_TEMPLATE'\n | 'CODUX'\n | 'MEDIA_DESIGN_CREATOR'\n | 'SHARED_BLOG_ENTERPRISE'\n | 'STANDALONE_FORMS'\n | 'STANDALONE_EVENTS'\n | 'MIMIR'\n | 'TWINS'\n | 'NANO'\n | 'BASE44';\n\n/** Site transferred to another user. */\nexport interface SiteTransferred {\n /**\n * A previous owner id (user that transfers meta site).\n * @format GUID\n */\n oldOwnerId?: string;\n /**\n * A new owner id (user that accepts meta site).\n * @format GUID\n */\n newOwnerId?: string;\n}\n\n/** Soft deletion of the meta site. Could be restored. */\nexport interface SiteDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface DeleteContext {\n /** When the meta site was deleted. */\n dateDeleted?: Date | null;\n /** A status. */\n deleteStatus?: DeleteStatusWithLiterals;\n /**\n * A reason (flow).\n * @maxLength 255\n */\n deleteOrigin?: string;\n /**\n * A service that deleted it.\n * @maxLength 255\n */\n initiatorId?: string | null;\n}\n\nexport enum DeleteStatus {\n UNKNOWN = 'UNKNOWN',\n TRASH = 'TRASH',\n DELETED = 'DELETED',\n PENDING_PURGE = 'PENDING_PURGE',\n PURGED_EXTERNALLY = 'PURGED_EXTERNALLY',\n}\n\n/** @enumType */\nexport type DeleteStatusWithLiterals =\n | DeleteStatus\n | 'UNKNOWN'\n | 'TRASH'\n | 'DELETED'\n | 'PENDING_PURGE'\n | 'PURGED_EXTERNALLY';\n\n/** Restoration of the meta site. */\nexport interface SiteUndeleted {}\n\n/** First publish of a meta site. Or subsequent publish after unpublish. */\nexport interface SitePublished {}\n\nexport interface SiteUnpublished {\n /**\n * A list of URLs previously associated with the meta site.\n * @maxLength 4000\n * @maxSize 10000\n */\n urls?: string[];\n}\n\nexport interface SiteMarkedAsTemplate {}\n\nexport interface SiteMarkedAsWixSite {}\n\n/**\n * Represents a service provisioned a site.\n *\n * Note on `origin_instance_id`:\n * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.\n * This is because of the following scenario:\n *\n * Imagine you have a template where a third-party application (TPA) includes some stub data,\n * such as a product catalog. When you create a site from this template, you inherit this\n * default product catalog. However, if the template's product catalog is modified,\n * your site will retain the catalog as it was at the time of site creation. This ensures that\n * your site remains consistent with what you initially received and does not include any\n * changes made to the original template afterward.\n * To ensure this, the TPA on the template gets a new instance_id.\n */\nexport interface ServiceProvisioned {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * An instance id from which this instance is originated.\n * @maxLength 36\n */\n originInstanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n /**\n * The origin meta site id\n * @format GUID\n */\n originMetaSiteId?: string | null;\n}\n\nexport interface ServiceRemoved {\n /**\n * Either UUID or EmbeddedServiceType.\n * @maxLength 36\n */\n appDefId?: string;\n /**\n * Not only UUID. Something here could be something weird.\n * @maxLength 36\n */\n instanceId?: string;\n /**\n * A version.\n * @maxLength 500\n */\n version?: string | null;\n}\n\n/** Rename of the site. Meaning, free public url has been changed as well. */\nexport interface SiteRenamed {\n /**\n * A new meta site name (URL slug).\n * @maxLength 20\n */\n newSiteName?: string;\n /**\n * A previous meta site name (URL slug).\n * @maxLength 255\n */\n oldSiteName?: string;\n}\n\n/**\n * Hard deletion of the meta site.\n *\n * Could not be restored. Therefore it's desirable to cleanup data.\n */\nexport interface SiteHardDeleted {\n /** A deletion context. */\n deleteContext?: DeleteContext;\n}\n\nexport interface NamespaceChanged {\n /** A previous namespace. */\n oldNamespace?: NamespaceWithLiterals;\n /** A new namespace. */\n newNamespace?: NamespaceWithLiterals;\n}\n\n/** Assigned Studio editor */\nexport interface StudioAssigned {}\n\n/** Unassigned Studio editor */\nexport interface StudioUnassigned {}\n\n/**\n * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.\n *\n * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up\n * with sites and its urls, you need to listen to another topic/event. Read about it:\n *\n * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service\n */\nexport interface SiteUrlChanged {}\n\n/**\n * Used at the end of the deletion flow for both draft sites and when a user deletes a site.\n * Consumed by other teams to remove relevant data.\n */\nexport interface SitePurgedExternally {\n /**\n * @maxLength 2048\n * @maxSize 100\n * @deprecated\n * @targetRemovalDate 2025-04-15\n */\n appDefId?: string[];\n}\n\n/** Assigned Odeditor */\nexport interface OdeditorAssigned {}\n\n/** Unassigned Odeditor */\nexport interface OdeditorUnassigned {}\n\n/** Assigned Picasso editor */\nexport interface PicassoAssigned {}\n\n/** Unassigned Picasso */\nexport interface PicassoUnassigned {}\n\n/** Assigned Wixel */\nexport interface WixelAssigned {}\n\n/** Unassigned Wixel */\nexport interface WixelUnassigned {}\n\n/** Assigned StudioTwo */\nexport interface StudioTwoAssigned {}\n\n/** Unassigned StudioTwo */\nexport interface StudioTwoUnassigned {}\n\nexport interface GetTicketDefinitionFromTrashBinRequest {\n /**\n * Ticket definition ID.\n * @format GUID\n */\n ticketDefinitionId?: string;\n /**\n * Requested fields. Not implemented.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\nexport interface GetTicketDefinitionFromTrashBinResponse {\n /** The requested ticket definition. */\n ticketDefinition?: TicketDefinition;\n}\n\nexport interface ScheduleLegacyTimeCapsuleTaskRequest {\n /**\n * Definition ID.\n * @format GUID\n */\n ticketDefinitionId?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\nexport interface GetTicketDefinitionSummaryRequest {\n /**\n * Ticket definition id.\n * @format GUID\n */\n ticketDefinitionId?: string | null;\n}\n\nexport interface GetTicketDefinitionSummaryResponse {\n /** Summary. */\n summary?: TicketDefinitionSummary;\n}\n\nexport interface TicketDefinitionSummary {\n /**\n * Ticket definition ID.\n * @format GUID\n * @readonly\n */\n definitionId?: string | null;\n /**\n * Event ID to which the ticket definition summary belongs.\n * @format GUID\n * @readonly\n */\n eventId?: string | null;\n /**\n * Date and time of the ticket definition summary latest update in `yyyy-mm-ddThh:mm:sssZ` format.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Reserved count.\n * @readonly\n */\n reservedCount?: number;\n /**\n * Sold count.\n * @readonly\n */\n soldCount?: number;\n /**\n * Paid exists.\n * @readonly\n */\n paidExists?: boolean;\n}\n\nexport interface ListEventTicketingSummaryRequest {\n /**\n * Event ID.\n * @format GUID\n * @minSize 1\n * @maxSize 1000\n */\n eventId?: string[];\n}\n\nexport interface ListEventTicketingSummaryResponse {\n /** Ticketing summaries. */\n summaries?: EventTicketingSummary[];\n}\n\nexport interface EventTicketingSummary {\n /**\n * Event ID to which the ticketing summary belongs.\n * @format GUID\n * @readonly\n */\n eventId?: string | null;\n /**\n * Date and time of the ticketing summary latest update in `yyyy-mm-ddThh:mm:sssZ` format.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Whether all tickets are sold out for this event.\n * @readonly\n */\n soldOut?: boolean | null;\n /**\n * Price of lowest priced ticket.\n * @readonly\n */\n lowestTicketPrice?: CommonMoney;\n /**\n * Price of highest priced ticket.\n * @readonly\n */\n highestTicketPrice?: CommonMoney;\n /**\n * Currency used in event transactions.\n * @minLength 3\n * @maxLength 3\n * @readonly\n */\n currency?: string | null;\n /**\n * Formatted price of lowest priced ticket.\n * @maxLength 50\n * @readonly\n */\n lowestTicketPriceFormatted?: string | null;\n /**\n * Formatted price of highest priced ticket.\n * @maxLength 50\n * @readonly\n */\n highestTicketPriceFormatted?: string | null;\n}\n\nexport interface UpdateEventTicketingSummaryRequest {\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n}\n\nexport interface UpdateEventTicketingSummaryResponse {}\n\n/** @docsIgnore */\nexport type CreateTicketDefinitionApplicationErrors =\n | {\n code?: 'INVALID_EVENT_TYPE';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'TICKET_DEFINITIONS_LIMIT_REACHED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_SALE_PERIOD';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type UpdateTicketDefinitionApplicationErrors = {\n code?: 'INVALID_SALE_PERIOD';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type ReorderTicketDefinitionsApplicationErrors = {\n code?: 'INVALID_REORDER_INSTRUCTION';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type CountTicketDefinitionsApplicationErrors = {\n code?: 'FILTER_PARSER_ERROR';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type CountAvailableTicketDefinitionsApplicationErrors = {\n code?: 'FILTER_PARSER_ERROR';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type ChangeCurrencyApplicationErrors = {\n code?: 'CURRENCY_LOCKED';\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 accountInfo?: AccountInfoMetadata;\n}\n\ninterface AccountInfoMetadata {\n /** ID of the Wix account associated with the event */\n accountId: string;\n /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */\n siteId?: string;\n /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */\n parentAccountId?: string;\n}\n\nexport interface TicketDefinitionCreatedEnvelope {\n entity: TicketDefinition;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a ticket definition is created.\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Orders\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-ORDERS\n * @permissionScope Manage Ticket Definitions\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-TICKET-DEF\n * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS\n * @webhook\n * @eventType wix.events.v3.ticket_definition_created\n * @slug created\n */\nexport declare function onTicketDefinitionCreated(\n handler: (event: TicketDefinitionCreatedEnvelope) => void | Promise<void>\n): void;\n\nexport interface TicketDefinitionDeletedEnvelope {\n entity: TicketDefinition;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a ticket definition is deleted.\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Orders\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-ORDERS\n * @permissionScope Manage Ticket Definitions\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-TICKET-DEF\n * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS\n * @webhook\n * @eventType wix.events.v3.ticket_definition_deleted\n * @slug deleted\n */\nexport declare function onTicketDefinitionDeleted(\n handler: (event: TicketDefinitionDeletedEnvelope) => void | Promise<void>\n): void;\n\nexport interface TicketDefinitionSaleEndedEnvelope {\n data: TicketDefinitionSaleEnded;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a ticket sale ends. Sales details aren't included in the response.\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Orders\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-ORDERS\n * @permissionScope Manage Ticket Definitions\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-TICKET-DEF\n * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS\n * @webhook\n * @eventType wix.events.v3.ticket_definition_sale_ended\n * @slug sale_ended\n */\nexport declare function onTicketDefinitionSaleEnded(\n handler: (event: TicketDefinitionSaleEndedEnvelope) => void | Promise<void>\n): void;\n\nexport interface TicketDefinitionSalePeriodUpdatedEnvelope {\n data: SalePeriodUpdated;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a sale period is updated.\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Orders\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-ORDERS\n * @permissionScope Manage Ticket Definitions\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-TICKET-DEF\n * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS\n * @webhook\n * @eventType wix.events.v3.ticket_definition_sale_period_updated\n * @slug sale_period_updated\n */\nexport declare function onTicketDefinitionSalePeriodUpdated(\n handler: (\n event: TicketDefinitionSalePeriodUpdatedEnvelope\n ) => void | Promise<void>\n): void;\n\nexport interface TicketDefinitionSaleStartedEnvelope {\n data: TicketDefinitionSaleStarted;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a ticket sale starts. Sales details aren't included in the response.\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Orders\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-ORDERS\n * @permissionScope Manage Ticket Definitions\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-TICKET-DEF\n * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS\n * @webhook\n * @eventType wix.events.v3.ticket_definition_sale_started\n * @slug sale_started\n */\nexport declare function onTicketDefinitionSaleStarted(\n handler: (event: TicketDefinitionSaleStartedEnvelope) => void | Promise<void>\n): void;\n\nexport interface TicketDefinitionUpdatedEnvelope {\n entity: TicketDefinition;\n metadata: EventMetadata;\n /** @hidden */\n modifiedFields: Record<string, any>;\n}\n\n/**\n * Triggered when a ticket definition is updated.\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Orders\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-ORDERS\n * @permissionScope Manage Ticket Definitions\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-TICKET-DEF\n * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS\n * @webhook\n * @eventType wix.events.v3.ticket_definition_updated\n * @slug updated\n */\nexport declare function onTicketDefinitionUpdated(\n handler: (event: TicketDefinitionUpdatedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * Creates a ticket definition.\n *\n * You may create up to 100 definitions per event.\n * @param ticketDefinition - Ticket definition info.\n * @public\n * @requiredField ticketDefinition\n * @requiredField ticketDefinition.eventId\n * @requiredField ticketDefinition.feeType\n * @requiredField ticketDefinition.name\n * @requiredField ticketDefinition.pricingMethod\n * @param options - Currency info.\n * @permissionId WIX_EVENTS.MANAGE_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @returns Created ticket definition.\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.CreateTicketDefinition\n */\nexport async function createTicketDefinition(\n ticketDefinition: NonNullablePaths<\n TicketDefinition,\n `eventId` | `feeType` | `name` | `pricingMethod`,\n 2\n >,\n options?: CreateTicketDefinitionOptions\n): Promise<\n NonNullablePaths<\n TicketDefinition,\n | `hidden`\n | `limited`\n | `pricingMethod.fixedPrice.value`\n | `pricingMethod.fixedPrice.currency`\n | `pricingMethod.pricingOptions.optionDetails`\n | `pricingMethod.pricingType`\n | `pricingMethod.free`\n | `feeType`\n | `salePeriod.displayNotOnSale`\n | `saleStatus`\n | `eventDetails.location.type`\n | `eventDetails.location.address.streetAddress.number`\n | `eventDetails.location.address.streetAddress.name`\n | `eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `eventDetails.status`\n | `seatingDetails.places`\n | `seatingDetails.places.${number}.placeId`\n | `seatingDetails.places.${number}.label`\n | `seatingDetails.places.${number}.availableCapacity`,\n 7\n > & {\n __applicationErrorsType?: CreateTicketDefinitionApplicationErrors;\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 ticketDefinition: ticketDefinition,\n fields: options?.fields,\n }),\n [\n {\n transformFn: transformSDKPageURLToRESTPageURL,\n paths: [{ path: 'ticketDefinition.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformSDKAddressToRESTAddress,\n paths: [{ path: 'ticketDefinition.eventDetails.location.address' }],\n },\n ]\n );\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.createTicketDefinition(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: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'ticketDefinition.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'ticketDefinition.eventDetails.location.address' }],\n },\n ])\n )?.ticketDefinition!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n ticketDefinition: '$[0]',\n fields: '$[1].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['ticketDefinition', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CreateTicketDefinitionOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\n/**\n * Updates a ticket definition.\n *\n * Each time the ticket definition is updated, `revision` increments by 1. The existing `revision` must be included when updating the ticket definition. This ensures you're working with the latest ticket definition and prevents unintended overwrites.\n * @param _id - Ticket definition ID.\n * @public\n * @requiredField _id\n * @requiredField ticketDefinition\n * @requiredField ticketDefinition.revision\n * @param options - Optional fields.\n * @param ticketDefinition - Ticket definition to update.\n * @permissionId WIX_EVENTS.MANAGE_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @returns The updated ticket definition.\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.UpdateTicketDefinition\n */\nexport async function updateTicketDefinition(\n _id: string,\n ticketDefinition: NonNullablePaths<UpdateTicketDefinition, `revision`, 2>,\n options?: UpdateTicketDefinitionOptions\n): Promise<\n NonNullablePaths<\n TicketDefinition,\n | `hidden`\n | `limited`\n | `pricingMethod.fixedPrice.value`\n | `pricingMethod.fixedPrice.currency`\n | `pricingMethod.pricingOptions.optionDetails`\n | `pricingMethod.pricingType`\n | `pricingMethod.free`\n | `feeType`\n | `salePeriod.displayNotOnSale`\n | `saleStatus`\n | `eventDetails.location.type`\n | `eventDetails.location.address.streetAddress.number`\n | `eventDetails.location.address.streetAddress.name`\n | `eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `eventDetails.status`\n | `seatingDetails.places`\n | `seatingDetails.places.${number}.placeId`\n | `seatingDetails.places.${number}.label`\n | `seatingDetails.places.${number}.availableCapacity`,\n 7\n > & {\n __applicationErrorsType?: UpdateTicketDefinitionApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[3] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest({\n ticketDefinition: { ...ticketDefinition, id: _id },\n fields: options?.fields,\n }),\n [\n {\n transformFn: transformSDKPageURLToRESTPageURL,\n paths: [{ path: 'ticketDefinition.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformSDKAddressToRESTAddress,\n paths: [{ path: 'ticketDefinition.eventDetails.location.address' }],\n },\n ]\n );\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.updateTicketDefinition(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: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'ticketDefinition.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'ticketDefinition.eventDetails.location.address' }],\n },\n ])\n )?.ticketDefinition!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: { ticketDefinition: '$[1]' },\n explicitPathsToArguments: {\n 'ticketDefinition.id': '$[0]',\n fields: '$[2].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['_id', 'ticketDefinition', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdateTicketDefinition {\n /**\n * Ticket definition ID.\n * @format GUID\n * @readonly\n */\n _id?: string | null;\n /**\n * Event ID to which the ticket definition belongs.\n * @format GUID\n * @immutable\n */\n eventId?: string | null;\n /**\n * Revision number, which increments by 1 each time the ticket definition is updated. To prevent conflicting changes, the existing `revision` must be used when updating a ticket definition.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the ticket definition was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time the ticket definition was updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Ticket definition name.\n * @minLength 1\n * @maxLength 30\n */\n name?: string | null;\n /**\n * Ticket definition description.\n * @maxLength 500\n */\n description?: string | null;\n /**\n * Ticket definition policy.\n * @maxLength 1000\n */\n policyText?: string | null;\n /** Whether this ticket definition is hidden from site visitors and can't be purchased. */\n hidden?: boolean;\n /**\n * Whether the ticket has a limited maximum quantity.\n * @readonly\n */\n limited?: boolean;\n /** The maximum number of tickets that can be sold for the event when first defining the event. If a seating map is defined after you created a ticket definition, this property is ignored and `actualLimit` is used instead. */\n initialLimit?: number | null;\n /**\n * The maximum number of tickets that can be sold for the event after adding a seating map to the event. If no seating map is defined, this property is the same as `initialLimit`.\n * @readonly\n */\n actualLimit?: number | null;\n /** Ticket pricing method. */\n pricingMethod?: PricingMethod;\n /** Type of ticket service fee to collect. */\n feeType?: FeeTypeEnumTypeWithLiterals;\n /** Ticket sale period. */\n salePeriod?: SalePeriod;\n /**\n * Ticket sale status.\n * @readonly\n */\n saleStatus?: SaleStatusEnumStatusWithLiterals;\n /**\n * Ticket sales information. <br> <br>\n * **Note:** This field is only returned when `SALES_DETAILS` is specified in `field` in the request.\n * @readonly\n */\n salesDetails?: SalesDetails;\n /**\n * Number of tickets that can be purchased per checkout. <br> <br>\n * **Note:** If the `actualLimit` or `salesDetails.unsoldCount` field value is smaller than `limitPerCheckout`, then it overrides this field.\n * @readonly\n * @max 50\n */\n limitPerCheckout?: number | null;\n /** Data extensions. */\n extendedFields?: ExtendedFields;\n /**\n * Information about the even the ticket is for. <br>\n * **Note:** This field is only returned when `EVENT_DETAILS` is specified in `field` in the request.\n * @readonly\n */\n eventDetails?: EventDetails;\n /**\n * Seating information including available seats and areas for this ticket definition. <br>\n * **Note:** This field is only returned when `SEATING_DETAILS` is specified in `field` in the request, and when the event has a [seating plan](https://support.wix.com/en/article/wix-events-creating-a-seating-map).\n * @readonly\n */\n seatingDetails?: SeatingDetails;\n}\n\nexport interface UpdateTicketDefinitionOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\n/**\n * Retrieves a ticket definition.\n * @param ticketDefinitionId - Ticket definition ID.\n * @public\n * @requiredField ticketDefinitionId\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @returns The requested ticket definition.\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.GetTicketDefinition\n */\nexport async function getTicketDefinition(\n ticketDefinitionId: string,\n options?: GetTicketDefinitionOptions\n): Promise<\n NonNullablePaths<\n TicketDefinition,\n | `hidden`\n | `limited`\n | `pricingMethod.fixedPrice.value`\n | `pricingMethod.fixedPrice.currency`\n | `pricingMethod.pricingOptions.optionDetails`\n | `pricingMethod.pricingType`\n | `pricingMethod.free`\n | `feeType`\n | `salePeriod.displayNotOnSale`\n | `saleStatus`\n | `eventDetails.location.type`\n | `eventDetails.location.address.streetAddress.number`\n | `eventDetails.location.address.streetAddress.name`\n | `eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates`\n | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone`\n | `eventDetails.status`\n | `seatingDetails.places`\n | `seatingDetails.places.${number}.placeId`\n | `seatingDetails.places.${number}.label`\n | `seatingDetails.places.${number}.availableCapacity`,\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 ticketDefinitionId: ticketDefinitionId,\n fields: options?.fields,\n });\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.getTicketDefinition(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: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'ticketDefinition.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'ticketDefinition.eventDetails.location.address' }],\n },\n ])\n )?.ticketDefinition!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n ticketDefinitionId: '$[0]',\n fields: '$[1].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['ticketDefinitionId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface GetTicketDefinitionOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\n/**\n * Deletes a ticket definition.\n * @param ticketDefinitionId - ID of the ticket definition to delete.\n * @public\n * @requiredField ticketDefinitionId\n * @permissionId WIX_EVENTS.MANAGE_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.DeleteTicketDefinition\n */\nexport async function deleteTicketDefinition(\n ticketDefinitionId: string\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 ticketDefinitionId: ticketDefinitionId,\n });\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.deleteTicketDefinition(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: { ticketDefinitionId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['ticketDefinitionId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Adjusts the order in which ticket definitions display in an event dashboard, as well as the order of available tickets displayed in the ticket picker.\n * > **Note:** You may use both `beforeTicketDefinitionId` and `afterTicketDefinitionId` but only the last one provided takes effect.\n * @param eventId - Event ID.\n * @public\n * @requiredField eventId\n * @requiredField options.ticketDefinitionId\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.MANAGE_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.ReorderTicketDefinitions\n */\nexport async function reorderTicketDefinitions(\n eventId: string,\n options?: NonNullablePaths<\n ReorderTicketDefinitionsOptions,\n `ticketDefinitionId`,\n 2\n >\n): Promise<\n void & {\n __applicationErrorsType?: ReorderTicketDefinitionsApplicationErrors;\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,\n ticketDefinitionId: options?.ticketDefinitionId,\n beforeDefinitionId: options?.beforeDefinitionId,\n afterDefinitionId: options?.afterDefinitionId,\n });\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.reorderTicketDefinitions(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 eventId: '$[0]',\n ticketDefinitionId: '$[1].ticketDefinitionId',\n beforeDefinitionId: '$[1].beforeDefinitionId',\n afterDefinitionId: '$[1].afterDefinitionId',\n },\n singleArgumentUnchanged: false,\n },\n ['eventId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface ReorderTicketDefinitionsOptions\n extends ReorderTicketDefinitionsOptionsReferenceDefinitionOneOf {\n /**\n * Ticket definition ID.\n * @format GUID\n */\n ticketDefinitionId: string;\n /**\n * Move the given `definitionId` before the referenced ticket definition.\n * @format GUID\n */\n beforeDefinitionId?: string;\n /**\n * Move the given `definitionId` after the referenced ticket definition.\n * @format GUID\n */\n afterDefinitionId?: string;\n}\n\n/** @oneof */\nexport interface ReorderTicketDefinitionsOptionsReferenceDefinitionOneOf {\n /**\n * Move the given `definitionId` before the referenced ticket definition.\n * @format GUID\n */\n beforeDefinitionId?: string;\n /**\n * Move the given `definitionId` after the referenced ticket definition.\n * @format GUID\n */\n afterDefinitionId?: string;\n}\n\n/**\n * Retrieves a list of ticket definitions, given the provided paging, filtering, and sorting.\n * Query Ticket Definitions runs with these defaults, which you can override:\n * - `createdDate` is sorted in `ASC` order\n * - `paging.limit` is `100`\n * - `paging.offset` is `0`\n * @public\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.QueryTicketDefinitions\n */\nexport function queryTicketDefinitions(\n options?: QueryTicketDefinitionsOptions\n): TicketDefinitionsQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n TicketDefinition,\n 'CURSOR',\n QueryTicketDefinitionsRequest,\n QueryTicketDefinitionsResponse\n >({\n func: async (payload: QueryTicketDefinitionsRequest) => {\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.queryTicketDefinitions({\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: QueryTicketDefinitionsRequest['query']) => {\n const args = [query, options] as [\n QueryTicketDefinitionsRequest['query'],\n QueryTicketDefinitionsOptions\n ];\n return renameKeysFromSDKRequestToRESTRequest({\n ...args?.[1],\n query: args?.[0],\n });\n },\n responseTransformer: ({\n data,\n }: HttpResponse<QueryTicketDefinitionsResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'ticketDefinitions.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [\n { path: 'ticketDefinitions.eventDetails.location.address' },\n ],\n },\n ])\n );\n\n return {\n items: transformedData?.ticketDefinitions,\n pagingMetadata: transformedData?.metadata,\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: 'CURSOR',\n transformationPaths: {},\n });\n}\n\nexport interface QueryTicketDefinitionsOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[] | undefined;\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface TicketDefinitionsQueryResult extends QueryCursorResult {\n items: TicketDefinition[];\n query: TicketDefinitionsQueryBuilder;\n next: () => Promise<TicketDefinitionsQueryResult>;\n prev: () => Promise<TicketDefinitionsQueryResult>;\n}\n\nexport interface TicketDefinitionsQueryBuilder {\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 | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'hidden'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency'\n | 'pricingMethod.pricingType'\n | 'pricingMethod.free'\n | 'feeType'\n | 'saleStatus',\n value: any\n ) => TicketDefinitionsQueryBuilder;\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 | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'hidden'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency'\n | 'pricingMethod.pricingType'\n | 'pricingMethod.free'\n | 'feeType'\n | 'saleStatus',\n value: any\n ) => TicketDefinitionsQueryBuilder;\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 | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency',\n value: any\n ) => TicketDefinitionsQueryBuilder;\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 | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency',\n value: any\n ) => TicketDefinitionsQueryBuilder;\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 | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency',\n value: any\n ) => TicketDefinitionsQueryBuilder;\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 | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency',\n value: any\n ) => TicketDefinitionsQueryBuilder;\n in: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'hidden'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency'\n | 'pricingMethod.pricingType'\n | 'pricingMethod.free'\n | 'feeType'\n | 'saleStatus',\n value: any\n ) => TicketDefinitionsQueryBuilder;\n exists: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'hidden'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency'\n | 'pricingMethod.pricingType'\n | 'pricingMethod.free'\n | 'feeType'\n | 'saleStatus',\n value: boolean\n ) => TicketDefinitionsQueryBuilder;\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 | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'hidden'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency'\n | 'pricingMethod.pricingType'\n | 'pricingMethod.free'\n | 'feeType'\n | 'saleStatus'\n >\n ) => TicketDefinitionsQueryBuilder;\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 | 'eventId'\n | 'revision'\n | '_createdDate'\n | '_updatedDate'\n | 'name'\n | 'description'\n | 'hidden'\n | 'initialLimit'\n | 'pricingMethod.fixedPrice.value'\n | 'pricingMethod.fixedPrice.currency'\n | 'pricingMethod.pricingType'\n | 'pricingMethod.free'\n | 'feeType'\n | 'saleStatus'\n >\n ) => TicketDefinitionsQueryBuilder;\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object. */\n limit: (limit: number) => TicketDefinitionsQueryBuilder;\n /** @param cursor - A pointer to specific record */\n skipTo: (cursor: string) => TicketDefinitionsQueryBuilder;\n find: () => Promise<TicketDefinitionsQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.QueryTicketDefinitions\n * @requiredField query\n */\nexport async function typedQueryTicketDefinitions(\n query: TicketDefinitionQuery,\n options?: QueryTicketDefinitionsOptions\n): Promise<\n NonNullablePaths<\n QueryTicketDefinitionsResponse,\n | `ticketDefinitions`\n | `ticketDefinitions.${number}.hidden`\n | `ticketDefinitions.${number}.limited`\n | `ticketDefinitions.${number}.pricingMethod.fixedPrice.value`\n | `ticketDefinitions.${number}.pricingMethod.fixedPrice.currency`\n | `ticketDefinitions.${number}.pricingMethod.pricingType`\n | `ticketDefinitions.${number}.pricingMethod.free`\n | `ticketDefinitions.${number}.feeType`\n | `ticketDefinitions.${number}.salePeriod.displayNotOnSale`\n | `ticketDefinitions.${number}.saleStatus`\n | `ticketDefinitions.${number}.eventDetails.location.type`\n | `ticketDefinitions.${number}.eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `ticketDefinitions.${number}.eventDetails.status`,\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 query: query,\n ...options,\n });\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.queryTicketDefinitions(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: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'ticketDefinitions.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'ticketDefinitions.eventDetails.location.address' }],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['query', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface TicketDefinitionQuerySpec extends QuerySpec {\n paging: 'cursor';\n wql: [\n {\n fields: [\n '_createdDate',\n '_id',\n '_updatedDate',\n 'description',\n 'eventId',\n 'initialLimit',\n 'name',\n 'pricingMethod.fixedPrice.currency',\n 'pricingMethod.fixedPrice.value',\n 'revision'\n ];\n operators: [\n '$eq',\n '$exists',\n '$gt',\n '$gte',\n '$in',\n '$lt',\n '$lte',\n '$ne',\n '$nin'\n ];\n sort: 'BOTH';\n },\n {\n fields: [\n 'feeType',\n 'hidden',\n 'pricingMethod.free',\n 'pricingMethod.pricingType',\n 'saleStatus'\n ];\n operators: ['$eq', '$exists', '$in', '$ne', '$nin'];\n sort: 'BOTH';\n }\n ];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<\n TicketDefinition,\n TicketDefinitionQuerySpec\n>;\nexport type TicketDefinitionQuery = {\n /** \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` parameters. \n */\n cursorPaging?: {\n /** \n Number of items to load per page. \n @max: 100 \n */\n limit?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit']\n | null;\n /** \n Pointer to the next or previous page in the list of results.\n You can get the relevant cursor token\n from the `pagingMetadata` object in the previous call's response.\n Not relevant for the first request. \n @maxLength: 16000 \n */\n cursor?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor']\n | null;\n };\n /** \n Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\", \"fieldName2\":{\"$operator\":\"value2\"} }`. <br/> <br/> **Example:** <br/> `\"filter\" : { \"id\": \"2224a9d1-79e6-4549-a5c5-bf7ce5aac1a5\", \"revision\": {\"$ne\":\"1\"} }` \n */\n filter?: CommonQueryWithEntityContext['filter'] | null;\n /** \n Sort object in the following format: <br/> `[{\"fieldName\":\"sortField1\"},{\"fieldName\":\"sortField2\",\"direction\":\"DESC\"}]` <br/> <br/> **Example:** <br/> `[{\"fieldName\":\"createdDate\",\"direction\":\"DESC\"}]` <br/> <br/> See [supported fields](https://dev.wix.com/api/rest/wix-events/policy-v2/filter-and-sort) for more information. \n @maxSize: 10 \n */\n sort?: {\n /** \n Name of the field to sort by. \n @maxLength: 100 \n */\n fieldName?: NonNullable<\n CommonQueryWithEntityContext['sort']\n >[number]['fieldName'];\n /** \n Defaults to `ASC` \n */\n order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];\n }[];\n};\n\n/**\n * Retrieves a list of available ticket definitions with the specified paging, filtering, and sorting.\n *\n * This method retrieves ticket definitions that aren't in the `hidden` state. The available ticket definitions can be retrieved by site visitors.\n *\n * > **Note:** You need the `WIX_EVENTS.READ_TICKET_DEFINITIONS` permission to get the `salesDetails` field values.\n *\n * Query Available Ticket Definitions runs with these defaults, which you can override:\n * - `createdDate` is sorted in `ASC` order\n * - `paging.limit` is `100`\n * - `paging.offset` is `0`\n *\n * For field support for filters and sorting, see [Ticket Definitions: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/events/ticket-definition-v3/filter-and-sort).\n * To learn about working with _Query_ methods, see [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language).\n * @param query - Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details.\n * @public\n * @requiredField query\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_AVAILABLE_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.QueryAvailableTicketDefinitions\n */\nexport async function queryAvailableTicketDefinitions(\n query: QueryV2,\n options?: QueryAvailableTicketDefinitionsOptions\n): Promise<\n NonNullablePaths<\n QueryAvailableTicketDefinitionsResponse,\n | `ticketDefinitions`\n | `ticketDefinitions.${number}.hidden`\n | `ticketDefinitions.${number}.limited`\n | `ticketDefinitions.${number}.pricingMethod.fixedPrice.value`\n | `ticketDefinitions.${number}.pricingMethod.fixedPrice.currency`\n | `ticketDefinitions.${number}.pricingMethod.pricingType`\n | `ticketDefinitions.${number}.pricingMethod.free`\n | `ticketDefinitions.${number}.feeType`\n | `ticketDefinitions.${number}.salePeriod.displayNotOnSale`\n | `ticketDefinitions.${number}.saleStatus`\n | `ticketDefinitions.${number}.eventDetails.location.type`\n | `ticketDefinitions.${number}.eventDetails.dateAndTimeSettings.recurrenceStatus`\n | `ticketDefinitions.${number}.eventDetails.status`,\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 query: query,\n fields: options?.fields,\n });\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.queryAvailableTicketDefinitions(\n payload\n );\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: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'ticketDefinitions.eventDetails.eventPageUrl' }],\n },\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [{ path: 'ticketDefinitions.eventDetails.location.address' }],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['query', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface QueryAvailableTicketDefinitionsOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 5\n */\n fields?: FieldWithLiterals[];\n}\n\n/**\n * Counts ticket definitions by the `saleStatus` field, including those with the `hidden` status.\n * @public\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.CountTicketDefinitions\n */\nexport async function countTicketDefinitions(\n options?: CountTicketDefinitionsOptions\n): Promise<\n CountTicketDefinitionsResponse & {\n __applicationErrorsType?: CountTicketDefinitionsApplicationErrors;\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 filter: options?.filter,\n facet: options?.facet,\n });\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.countTicketDefinitions(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 },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CountTicketDefinitionsOptions {\n /** Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\" }`. */\n filter?: Record<string, any> | null;\n /**\n * Parameters to count ticket definitions by.\n *\n * - Max: 20 facets.\n * @maxLength 100\n * @maxSize 20\n */\n facet?: string[];\n}\n\n/**\n * Counts ticket definitions by the `saleStatus`, excluding those with the `hidden` status.\n * @public\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.READ_AVAILABLE_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.CountAvailableTicketDefinitions\n */\nexport async function countAvailableTicketDefinitions(\n options?: CountAvailableTicketDefinitionsOptions\n): Promise<\n CountAvailableTicketDefinitionsResponse & {\n __applicationErrorsType?: CountAvailableTicketDefinitionsApplicationErrors;\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 filter: options?.filter,\n });\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.countAvailableTicketDefinitions(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { filter: '$[0].filter' },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CountAvailableTicketDefinitionsOptions {\n /** Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\" }`. */\n filter?: Record<string, any> | null;\n}\n\n/**\n * Deletes multiple ticket definitions.\n *\n * All ticket definitions that meet the specified `filter` criteria are deleted.\n * @param filter - Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\" }`. <br/> <br/> **Example:** <br/> `\"filter\" : { \"eventId\": \"3d3d5c04-ece0-45a8-85f0-11a58edaa192\" }`\n * @public\n * @requiredField filter\n * @permissionId WIX_EVENTS.MANAGE_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.BulkDeleteTicketDefinitionsByFilter\n */\nexport async function bulkDeleteTicketDefinitionsByFilter(\n filter: Record<string, any>\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({ filter: filter });\n\n const reqOpts =\n ambassadorWixEventsV3TicketDefinition.bulkDeleteTicketDefinitionsByFilter(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { filter: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['filter']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Changes ticket price currency per event.\n * @param eventId - Event ID.\n * @public\n * @requiredField eventId\n * @requiredField options\n * @requiredField options.currency\n * @param options - Optional fields.\n * @permissionId WIX_EVENTS.MANAGE_TICKET_DEFINITIONS\n * @applicableIdentity APP\n * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.ChangeCurrency\n */\nexport async function changeCurrency(\n eventId: string,\n options: NonNullablePaths<ChangeCurrencyOptions, `currency`, 2>\n): Promise<\n void & {\n __applicationErrorsType?: ChangeCurrencyApplicationErrors;\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,\n currency: options?.currency,\n });\n\n const reqOpts = ambassadorWixEventsV3TicketDefinition.changeCurrency(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 eventId: '$[0]',\n currency: '$[1].currency',\n },\n singleArgumentUnchanged: false,\n },\n ['eventId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface ChangeCurrencyOptions {\n /**\n * Ticket price currency in 3-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.\n * @minLength 3\n * @maxLength 3\n */\n currency: string;\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 resolveWixEventsTicketdefV3TicketDefinitionManagementUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/events-ticket-definitions',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/events-ticket-definitions',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/events-ticket-definitions',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/events-ticket-definitions',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/events-ticket-definitions',\n destPath: '',\n },\n {\n srcPath: '/events/v3/ticket-definitions',\n destPath: '/v3/ticket-definitions',\n },\n {\n srcPath: '/events/v3/bulk/ticket-definitions',\n destPath: '/v3/bulk/ticket-definitions',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/events-ticket-definitions',\n destPath: '',\n },\n ],\n 'events.wixapps.net': [\n {\n srcPath: '/_api/events-ticket-definitions',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/events-ticket-definitions',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_events_ticket-definitions-v-2';\n\n/**\n * Creates a ticket definition.\n *\n * You may create up to 100 definitions per event.\n */\nexport function createTicketDefinition(\n payload: object\n): RequestOptionsFactory<any> {\n function __createTicketDefinition({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'ticketDefinition.createdDate' },\n { path: 'ticketDefinition.updatedDate' },\n { path: 'ticketDefinition.eventCreatedDate' },\n { path: 'ticketDefinition.salePeriod.startDate' },\n { path: 'ticketDefinition.salePeriod.endDate' },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.startDate',\n },\n { path: 'ticketDefinition.eventDetails.dateAndTimeSettings.endDate' },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.latitude',\n },\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.longitude',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.CreateTicketDefinition',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'ticketDefinition.createdDate' },\n { path: 'ticketDefinition.updatedDate' },\n { path: 'ticketDefinition.eventCreatedDate' },\n { path: 'ticketDefinition.salePeriod.startDate' },\n { path: 'ticketDefinition.salePeriod.endDate' },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.startDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.endDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.latitude',\n },\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createTicketDefinition;\n}\n\n/**\n * Updates a ticket definition.\n *\n * Each time the ticket definition is updated, `revision` increments by 1. The existing `revision` must be included when updating the ticket definition. This ensures you're working with the latest ticket definition and prevents unintended overwrites.\n */\nexport function updateTicketDefinition(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateTicketDefinition({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'mask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'ticketDefinition.createdDate' },\n { path: 'ticketDefinition.updatedDate' },\n { path: 'ticketDefinition.eventCreatedDate' },\n { path: 'ticketDefinition.salePeriod.startDate' },\n { path: 'ticketDefinition.salePeriod.endDate' },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.startDate',\n },\n { path: 'ticketDefinition.eventDetails.dateAndTimeSettings.endDate' },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.latitude',\n },\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.longitude',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.UpdateTicketDefinition',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions/{ticketDefinition.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: 'ticketDefinition.createdDate' },\n { path: 'ticketDefinition.updatedDate' },\n { path: 'ticketDefinition.eventCreatedDate' },\n { path: 'ticketDefinition.salePeriod.startDate' },\n { path: 'ticketDefinition.salePeriod.endDate' },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.startDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.endDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.latitude',\n },\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateTicketDefinition;\n}\n\n/** Retrieves a ticket definition. */\nexport function getTicketDefinition(\n payload: object\n): RequestOptionsFactory<any> {\n function __getTicketDefinition({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'GET' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.GetTicketDefinition',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions/{ticketDefinitionId}',\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: 'ticketDefinition.createdDate' },\n { path: 'ticketDefinition.updatedDate' },\n { path: 'ticketDefinition.eventCreatedDate' },\n { path: 'ticketDefinition.salePeriod.startDate' },\n { path: 'ticketDefinition.salePeriod.endDate' },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.startDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.endDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'ticketDefinition.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.latitude',\n },\n {\n path: 'ticketDefinition.eventDetails.location.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getTicketDefinition;\n}\n\n/** Deletes a ticket definition. */\nexport function deleteTicketDefinition(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteTicketDefinition({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.DeleteTicketDefinition',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions/{ticketDefinitionId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteTicketDefinition;\n}\n\n/**\n * Adjusts the order in which ticket definitions display in an event dashboard, as well as the order of available tickets displayed in the ticket picker.\n * > **Note:** You may use both `beforeTicketDefinitionId` and `afterTicketDefinitionId` but only the last one provided takes effect.\n */\nexport function reorderTicketDefinitions(\n payload: object\n): RequestOptionsFactory<any> {\n function __reorderTicketDefinitions({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.ReorderTicketDefinitions',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions/reorder',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __reorderTicketDefinitions;\n}\n\n/**\n * Retrieves a list of ticket definitions, given the provided paging, filtering, and sorting.\n * Query Ticket Definitions runs with these defaults, which you can override:\n * - `createdDate` is sorted in `ASC` order\n * - `paging.limit` is `100`\n * - `paging.offset` is `0`\n */\nexport function queryTicketDefinitions(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryTicketDefinitions({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.QueryTicketDefinitions',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions/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: 'ticketDefinitions.createdDate' },\n { path: 'ticketDefinitions.updatedDate' },\n { path: 'ticketDefinitions.eventCreatedDate' },\n { path: 'ticketDefinitions.salePeriod.startDate' },\n { path: 'ticketDefinitions.salePeriod.endDate' },\n {\n path: 'ticketDefinitions.eventDetails.dateAndTimeSettings.startDate',\n },\n {\n path: 'ticketDefinitions.eventDetails.dateAndTimeSettings.endDate',\n },\n {\n path: 'ticketDefinitions.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'ticketDefinitions.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'ticketDefinitions.eventDetails.location.address.geocode.latitude',\n },\n {\n path: 'ticketDefinitions.eventDetails.location.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryTicketDefinitions;\n}\n\n/**\n * Retrieves a list of available ticket definitions with the specified paging, filtering, and sorting.\n *\n * This method retrieves ticket definitions that aren't in the `hidden` state. The available ticket definitions can be retrieved by site visitors.\n *\n * > **Note:** You need the `WIX_EVENTS.READ_TICKET_DEFINITIONS` permission to get the `salesDetails` field values.\n *\n * Query Available Ticket Definitions runs with these defaults, which you can override:\n * - `createdDate` is sorted in `ASC` order\n * - `paging.limit` is `100`\n * - `paging.offset` is `0`\n *\n * For field support for filters and sorting, see [Ticket Definitions: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/events/ticket-definition-v3/filter-and-sort).\n * To learn about working with _Query_ methods, see [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language).\n */\nexport function queryAvailableTicketDefinitions(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryAvailableTicketDefinitions({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.QueryAvailableTicketDefinitions',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions/available/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: 'ticketDefinitions.createdDate' },\n { path: 'ticketDefinitions.updatedDate' },\n { path: 'ticketDefinitions.eventCreatedDate' },\n { path: 'ticketDefinitions.salePeriod.startDate' },\n { path: 'ticketDefinitions.salePeriod.endDate' },\n {\n path: 'ticketDefinitions.eventDetails.dateAndTimeSettings.startDate',\n },\n {\n path: 'ticketDefinitions.eventDetails.dateAndTimeSettings.endDate',\n },\n {\n path: 'ticketDefinitions.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.startDate',\n },\n {\n path: 'ticketDefinitions.eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.endDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'ticketDefinitions.eventDetails.location.address.geocode.latitude',\n },\n {\n path: 'ticketDefinitions.eventDetails.location.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryAvailableTicketDefinitions;\n}\n\n/** Counts ticket definitions by the `saleStatus` field, including those with the `hidden` status. */\nexport function countTicketDefinitions(\n payload: object\n): RequestOptionsFactory<any> {\n function __countTicketDefinitions({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.CountTicketDefinitions',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions/count',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __countTicketDefinitions;\n}\n\n/** Counts ticket definitions by the `saleStatus`, excluding those with the `hidden` status. */\nexport function countAvailableTicketDefinitions(\n payload: object\n): RequestOptionsFactory<any> {\n function __countAvailableTicketDefinitions({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.CountAvailableTicketDefinitions',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions/available/count',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __countAvailableTicketDefinitions;\n}\n\n/**\n * Deletes multiple ticket definitions.\n *\n * All ticket definitions that meet the specified `filter` criteria are deleted.\n */\nexport function bulkDeleteTicketDefinitionsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteTicketDefinitionsByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.BulkDeleteTicketDefinitionsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/bulk/ticket-definitions/delete',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteTicketDefinitionsByFilter;\n}\n\n/** Changes ticket price currency per event. */\nexport function changeCurrency(payload: object): RequestOptionsFactory<any> {\n function __changeCurrency({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v3.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketdef.v3.TicketDefinitionManagement.ChangeCurrency',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({\n protoPath: '/v3/ticket-definitions/currency',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __changeCurrency;\n}\n","import {\n createTicketDefinition as publicCreateTicketDefinition,\n updateTicketDefinition as publicUpdateTicketDefinition,\n getTicketDefinition as publicGetTicketDefinition,\n deleteTicketDefinition as publicDeleteTicketDefinition,\n reorderTicketDefinitions as publicReorderTicketDefinitions,\n queryTicketDefinitions as publicQueryTicketDefinitions,\n typedQueryTicketDefinitions as publicTypedQueryTicketDefinitions,\n queryAvailableTicketDefinitions as publicQueryAvailableTicketDefinitions,\n countTicketDefinitions as publicCountTicketDefinitions,\n countAvailableTicketDefinitions as publicCountAvailableTicketDefinitions,\n bulkDeleteTicketDefinitionsByFilter as publicBulkDeleteTicketDefinitionsByFilter,\n changeCurrency as publicChangeCurrency,\n} from './events-v3-ticket-definition-ticket-definitions-v-2.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { createEventModule } from '@wix/sdk-runtime/event-definition-modules';\nimport {\n BuildRESTFunction,\n MaybeContext,\n BuildEventDefinition,\n} from '@wix/sdk-types';\nimport { HttpClient } from '@wix/sdk-types';\nimport { createQueryOverloadRouter } from '@wix/sdk-runtime/query-method-router';\nimport {\n QueryTicketDefinitionsOptions,\n TicketDefinitionQuery,\n TicketDefinitionsQueryBuilder,\n typedQueryTicketDefinitions as universalTypedQueryTicketDefinitions,\n} from './events-v3-ticket-definition-ticket-definitions-v-2.universal.js';\nimport { onTicketDefinitionCreated as publicOnTicketDefinitionCreated } from './events-v3-ticket-definition-ticket-definitions-v-2.public.js';\nimport { onTicketDefinitionDeleted as publicOnTicketDefinitionDeleted } from './events-v3-ticket-definition-ticket-definitions-v-2.public.js';\nimport { onTicketDefinitionSaleEnded as publicOnTicketDefinitionSaleEnded } from './events-v3-ticket-definition-ticket-definitions-v-2.public.js';\nimport { onTicketDefinitionSalePeriodUpdated as publicOnTicketDefinitionSalePeriodUpdated } from './events-v3-ticket-definition-ticket-definitions-v-2.public.js';\nimport { onTicketDefinitionSaleStarted as publicOnTicketDefinitionSaleStarted } from './events-v3-ticket-definition-ticket-definitions-v-2.public.js';\nimport { onTicketDefinitionUpdated as publicOnTicketDefinitionUpdated } from './events-v3-ticket-definition-ticket-definitions-v-2.public.js';\n\nfunction customQueryTicketDefinitions(httpClient: HttpClient) {\n const router = createQueryOverloadRouter({\n builderQueryFunction: (options?: QueryTicketDefinitionsOptions) =>\n publicQueryTicketDefinitions(httpClient)(options),\n typedQueryFunction: (\n query: TicketDefinitionQuery,\n options?: QueryTicketDefinitionsOptions\n ) => publicTypedQueryTicketDefinitions(httpClient)(query, options),\n hasOptionsParameter: true,\n });\n\n function overloadedQuery(\n query: TicketDefinitionQuery,\n options?: QueryTicketDefinitionsOptions\n ): ReturnType<typeof universalTypedQueryTicketDefinitions>;\n function overloadedQuery(\n options?: QueryTicketDefinitionsOptions\n ): TicketDefinitionsQueryBuilder;\n function overloadedQuery(\n queryOrOptions?: TicketDefinitionQuery | QueryTicketDefinitionsOptions,\n options?: QueryTicketDefinitionsOptions\n ): any {\n return router(...arguments);\n }\n\n return overloadedQuery;\n}\n\nexport const createTicketDefinition: MaybeContext<\n BuildRESTFunction<typeof publicCreateTicketDefinition> &\n typeof publicCreateTicketDefinition\n> = /*#__PURE__*/ createRESTModule(publicCreateTicketDefinition);\nexport const updateTicketDefinition: MaybeContext<\n BuildRESTFunction<typeof publicUpdateTicketDefinition> &\n typeof publicUpdateTicketDefinition\n> = /*#__PURE__*/ createRESTModule(publicUpdateTicketDefinition);\nexport const getTicketDefinition: MaybeContext<\n BuildRESTFunction<typeof publicGetTicketDefinition> &\n typeof publicGetTicketDefinition\n> = /*#__PURE__*/ createRESTModule(publicGetTicketDefinition);\nexport const deleteTicketDefinition: MaybeContext<\n BuildRESTFunction<typeof publicDeleteTicketDefinition> &\n typeof publicDeleteTicketDefinition\n> = /*#__PURE__*/ createRESTModule(publicDeleteTicketDefinition);\nexport const reorderTicketDefinitions: MaybeContext<\n BuildRESTFunction<typeof publicReorderTicketDefinitions> &\n typeof publicReorderTicketDefinitions\n> = /*#__PURE__*/ createRESTModule(publicReorderTicketDefinitions);\nexport const queryAvailableTicketDefinitions: MaybeContext<\n BuildRESTFunction<typeof publicQueryAvailableTicketDefinitions> &\n typeof publicQueryAvailableTicketDefinitions\n> = /*#__PURE__*/ createRESTModule(publicQueryAvailableTicketDefinitions);\nexport const countTicketDefinitions: MaybeContext<\n BuildRESTFunction<typeof publicCountTicketDefinitions> &\n typeof publicCountTicketDefinitions\n> = /*#__PURE__*/ createRESTModule(publicCountTicketDefinitions);\nexport const countAvailableTicketDefinitions: MaybeContext<\n BuildRESTFunction<typeof publicCountAvailableTicketDefinitions> &\n typeof publicCountAvailableTicketDefinitions\n> = /*#__PURE__*/ createRESTModule(publicCountAvailableTicketDefinitions);\nexport const bulkDeleteTicketDefinitionsByFilter: MaybeContext<\n BuildRESTFunction<typeof publicBulkDeleteTicketDefinitionsByFilter> &\n typeof publicBulkDeleteTicketDefinitionsByFilter\n> = /*#__PURE__*/ createRESTModule(publicBulkDeleteTicketDefinitionsByFilter);\nexport const changeCurrency: MaybeContext<\n BuildRESTFunction<typeof publicChangeCurrency> & typeof publicChangeCurrency\n> = /*#__PURE__*/ createRESTModule(publicChangeCurrency);\nexport const queryTicketDefinitions: MaybeContext<\n BuildRESTFunction<typeof customQueryTicketDefinitions> &\n typeof customQueryTicketDefinitions\n> = /*#__PURE__*/ createRESTModule(customQueryTicketDefinitions);\n/**\n * Triggered when a ticket definition is created.\n */\nexport const onTicketDefinitionCreated: BuildEventDefinition<\n typeof publicOnTicketDefinitionCreated\n> &\n typeof publicOnTicketDefinitionCreated = createEventModule(\n publicOnTicketDefinitionCreated\n);\n/**\n * Triggered when a ticket definition is deleted.\n */\nexport const onTicketDefinitionDeleted: BuildEventDefinition<\n typeof publicOnTicketDefinitionDeleted\n> &\n typeof publicOnTicketDefinitionDeleted = createEventModule(\n publicOnTicketDefinitionDeleted\n);\n/**\n * Triggered when a ticket sale ends. Sales details aren't included in the response.\n */\nexport const onTicketDefinitionSaleEnded: BuildEventDefinition<\n typeof publicOnTicketDefinitionSaleEnded\n> &\n typeof publicOnTicketDefinitionSaleEnded = createEventModule(\n publicOnTicketDefinitionSaleEnded\n);\n/**\n * Triggered when a sale period is updated.\n */\nexport const onTicketDefinitionSalePeriodUpdated: BuildEventDefinition<\n typeof publicOnTicketDefinitionSalePeriodUpdated\n> &\n typeof publicOnTicketDefinitionSalePeriodUpdated = createEventModule(\n publicOnTicketDefinitionSalePeriodUpdated\n);\n/**\n * Triggered when a ticket sale starts. Sales details aren't included in the response.\n */\nexport const onTicketDefinitionSaleStarted: BuildEventDefinition<\n typeof publicOnTicketDefinitionSaleStarted\n> &\n typeof publicOnTicketDefinitionSaleStarted = createEventModule(\n publicOnTicketDefinitionSaleStarted\n);\n/**\n * Triggered when a ticket definition is updated.\n */\nexport const onTicketDefinitionUpdated: BuildEventDefinition<\n typeof publicOnTicketDefinitionUpdated\n> &\n typeof publicOnTicketDefinitionUpdated = createEventModule(\n publicOnTicketDefinitionUpdated\n);\n\nexport {\n PricingTypeEnumType,\n FeeTypeEnumType,\n SaleStatusEnumStatus,\n LocationType,\n SubdivisionSubdivisionType,\n RecurrenceStatusStatus,\n Status,\n Field,\n SortOrder,\n LocationLocationType,\n SubdivisionType,\n EventsRecurrenceStatusStatus,\n EventStatus,\n EventType,\n RegistrationStatus,\n RsvpStatusOptions,\n TaxType,\n CheckoutType,\n VisitorType,\n InputControlType,\n ValueType,\n ConferenceType,\n CategoryStateState,\n NodeType,\n WidthType,\n PluginContainerDataAlignment,\n ButtonDataType,\n Target,\n TextAlignment,\n LineStyle,\n Width,\n DividerDataAlignment,\n ViewMode,\n LayoutType,\n Orientation,\n Crop,\n ThumbnailsAlignment,\n GIFType,\n Source,\n StylesPosition,\n MapType,\n ViewRole,\n VoteRole,\n PollLayoutType,\n PollLayoutDirection,\n BackgroundType,\n DecorationType,\n FontType,\n Position,\n AspectRatio,\n Resizing,\n Placement,\n CardStylesType,\n Alignment,\n Layout,\n AppType,\n InitialExpandedItems,\n Direction,\n VerticalAlignment,\n NullValue,\n Scaling,\n ImagePosition,\n VerticalAlignmentAlignment,\n ResponsivenessBehaviour,\n DesignTarget,\n Type,\n State,\n SiteCreatedContext,\n Namespace,\n DeleteStatus,\n WebhookIdentityType,\n} from './events-v3-ticket-definition-ticket-definitions-v-2.universal.js';\nexport {\n TicketDefinition,\n SalePeriod,\n PricingMethod,\n PricingMethodPriceOneOf,\n CommonMoney,\n PricingOptions,\n OptionDetails,\n SalesDetails,\n ExtendedFields,\n EventDetails,\n Location,\n CommonAddress,\n CommonAddressStreetOneOf,\n CommonStreetAddress,\n CommonAddressLocation,\n CommonSubdivision,\n DateAndTimeSettings,\n Recurrences,\n Occurrence,\n Formatted,\n SeatingDetails,\n AvailablePlace,\n InvalidateCache,\n InvalidateCacheGetByOneOf,\n App,\n Page,\n URI,\n File,\n CustomTag,\n SalePeriodUpdated,\n TicketDefinitionSaleStarted,\n TicketDefinitionSaleEnded,\n CreateTicketDefinitionRequest,\n CreateTicketDefinitionResponse,\n UpdateTicketDefinitionRequest,\n UpdateTicketDefinitionResponse,\n GetTicketDefinitionRequest,\n GetTicketDefinitionResponse,\n DeleteTicketDefinitionRequest,\n DeleteTicketDefinitionResponse,\n ReorderTicketDefinitionsRequest,\n ReorderTicketDefinitionsRequestReferenceDefinitionOneOf,\n ReorderTicketDefinitionsResponse,\n UpdateTicketDefinitionSortIndexRequest,\n UpdateTicketDefinitionSortIndexResponse,\n QueryTicketDefinitionsRequest,\n QueryV2,\n QueryV2PagingMethodOneOf,\n Sorting,\n Paging,\n CursorPaging,\n QueryTicketDefinitionsResponse,\n PagingMetadataV2,\n Cursors,\n QueryAvailableTicketDefinitionsRequest,\n QueryAvailableTicketDefinitionsResponse,\n CountTicketDefinitionsRequest,\n CountTicketDefinitionsResponse,\n FacetCounts,\n CountAvailableTicketDefinitionsRequest,\n CountAvailableTicketDefinitionsResponse,\n BulkDeleteTicketDefinitionsByFilterRequest,\n BulkDeleteTicketDefinitionsByFilterResponse,\n ChangeCurrencyRequest,\n ChangeCurrencyResponse,\n BulkCopyTicketDefinitionsByEventIdRequest,\n BulkCopyTicketDefinitionsByEventIdResponse,\n CopiedTicketDefinition,\n UpdateFeeTypesBasedOnSettingsRequest,\n UpdateFeeTypesBasedOnSettingsResponse,\n EventDeleted,\n Empty,\n EventCanceled,\n EventEnded,\n EventCreated,\n EventsLocation,\n MapCoordinates,\n Address,\n AddressStreetOneOf,\n StreetAddress,\n AddressLocation,\n Subdivision,\n ScheduleConfig,\n EventsRecurrences,\n EventsOccurrence,\n Event,\n Scheduling,\n Registration,\n RsvpCollection,\n RsvpCollectionConfig,\n RsvpConfirmationMessages,\n RsvpConfirmationMessagesPositiveResponseConfirmation,\n RsvpConfirmationMessagesNegativeResponseConfirmation,\n Ticketing,\n TicketingConfig,\n TaxConfig,\n TicketsConfirmationMessages,\n Money,\n ExternalEvent,\n CalendarLinks,\n SiteUrl,\n Form,\n InputControl,\n Input,\n OptionSelection,\n OptionSelectionSelectedOptionOneOf,\n Label,\n FormMessages,\n RsvpFormMessages,\n PositiveResponseConfirmation,\n NegativeResponseConfirmation,\n Positive,\n Negative,\n CheckoutFormMessages,\n ResponseConfirmation,\n RegistrationClosedMessages,\n TicketsUnavailableMessages,\n Dashboard,\n RsvpSummary,\n TicketingSummary,\n GuestListConfig,\n Feed,\n OnlineConferencing,\n OnlineConferencingConfig,\n OnlineConferencingSession,\n SeoSettings,\n SeoSchema,\n Keyword,\n Tag,\n Settings,\n Agenda,\n Category,\n CategoryCounts,\n EventDisplaySettings,\n LabellingSettings,\n RichContent,\n Node,\n NodeDataOneOf,\n NodeStyle,\n ButtonData,\n Border,\n Colors,\n PluginContainerData,\n PluginContainerDataWidth,\n PluginContainerDataWidthDataOneOf,\n Spoiler,\n Height,\n Styles,\n Link,\n LinkDataOneOf,\n Rel,\n CodeBlockData,\n TextStyle,\n DividerData,\n FileData,\n FileSource,\n FileSourceDataOneOf,\n PDFSettings,\n GalleryData,\n Media,\n Image,\n Video,\n Item,\n ItemDataOneOf,\n GalleryOptions,\n GalleryOptionsLayout,\n ItemStyle,\n Thumbnails,\n GIFData,\n GIF,\n HeadingData,\n HTMLData,\n HTMLDataDataOneOf,\n ImageData,\n StylesBorder,\n ImageDataStyles,\n LinkPreviewData,\n LinkPreviewDataStyles,\n MapData,\n MapSettings,\n ParagraphData,\n PollData,\n Permissions,\n Option,\n PollSettings,\n PollLayout,\n OptionLayout,\n Gradient,\n Background,\n BackgroundBackgroundOneOf,\n PollDesign,\n OptionDesign,\n Poll,\n PollDataLayout,\n Design,\n TextData,\n Decoration,\n DecorationDataOneOf,\n AnchorData,\n ColorData,\n LinkData,\n MentionData,\n FontSizeData,\n SpoilerData,\n FontFamilyData,\n AppEmbedData,\n AppEmbedDataAppDataOneOf,\n BookingData,\n EventData,\n ButtonStyles,\n ImageStyles,\n RibbonStyles,\n CardStyles,\n PricingData,\n VideoData,\n PlaybackOptions,\n EmbedData,\n Oembed,\n CollapsibleListData,\n TableData,\n Dimensions,\n TableCellData,\n CellStyle,\n BorderColors,\n BorderWidths,\n ListValue,\n AudioData,\n OrderedListData,\n BulletedListData,\n BlockquoteData,\n CaptionData,\n LayoutData,\n BackgroundImage,\n LayoutCellData,\n Metadata,\n DocumentStyle,\n TextNodeStyle,\n Badge,\n EventUpdated,\n SeatingPlanCategoriesSummaryUpdated,\n CategoryDetails,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n MetaSiteSpecialEvent,\n MetaSiteSpecialEventPayloadOneOf,\n Asset,\n SiteCreated,\n SiteTransferred,\n SiteDeleted,\n DeleteContext,\n SiteUndeleted,\n SitePublished,\n SiteUnpublished,\n SiteMarkedAsTemplate,\n SiteMarkedAsWixSite,\n ServiceProvisioned,\n ServiceRemoved,\n SiteRenamed,\n SiteHardDeleted,\n NamespaceChanged,\n StudioAssigned,\n StudioUnassigned,\n SiteUrlChanged,\n SitePurgedExternally,\n OdeditorAssigned,\n OdeditorUnassigned,\n PicassoAssigned,\n PicassoUnassigned,\n WixelAssigned,\n WixelUnassigned,\n StudioTwoAssigned,\n StudioTwoUnassigned,\n GetTicketDefinitionFromTrashBinRequest,\n GetTicketDefinitionFromTrashBinResponse,\n ScheduleLegacyTimeCapsuleTaskRequest,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n AccountInfo,\n GetTicketDefinitionSummaryRequest,\n GetTicketDefinitionSummaryResponse,\n TicketDefinitionSummary,\n ListEventTicketingSummaryRequest,\n ListEventTicketingSummaryResponse,\n EventTicketingSummary,\n UpdateEventTicketingSummaryRequest,\n UpdateEventTicketingSummaryResponse,\n BaseEventMetadata,\n EventMetadata,\n TicketDefinitionCreatedEnvelope,\n TicketDefinitionDeletedEnvelope,\n TicketDefinitionSaleEndedEnvelope,\n TicketDefinitionSalePeriodUpdatedEnvelope,\n TicketDefinitionSaleStartedEnvelope,\n TicketDefinitionUpdatedEnvelope,\n CreateTicketDefinitionOptions,\n UpdateTicketDefinition,\n UpdateTicketDefinitionOptions,\n GetTicketDefinitionOptions,\n ReorderTicketDefinitionsOptions,\n ReorderTicketDefinitionsOptionsReferenceDefinitionOneOf,\n QueryTicketDefinitionsOptions,\n TicketDefinitionsQueryResult,\n TicketDefinitionsQueryBuilder,\n TicketDefinitionQuerySpec,\n QueryAvailableTicketDefinitionsOptions,\n CountTicketDefinitionsOptions,\n CountAvailableTicketDefinitionsOptions,\n ChangeCurrencyOptions,\n} from './events-v3-ticket-definition-ticket-definitions-v-2.universal.js';\nexport {\n PricingTypeEnumTypeWithLiterals,\n FeeTypeEnumTypeWithLiterals,\n SaleStatusEnumStatusWithLiterals,\n LocationTypeWithLiterals,\n SubdivisionSubdivisionTypeWithLiterals,\n RecurrenceStatusStatusWithLiterals,\n StatusWithLiterals,\n FieldWithLiterals,\n SortOrderWithLiterals,\n LocationLocationTypeWithLiterals,\n SubdivisionTypeWithLiterals,\n EventsRecurrenceStatusStatusWithLiterals,\n EventStatusWithLiterals,\n EventTypeWithLiterals,\n RegistrationStatusWithLiterals,\n RsvpStatusOptionsWithLiterals,\n TaxTypeWithLiterals,\n CheckoutTypeWithLiterals,\n VisitorTypeWithLiterals,\n InputControlTypeWithLiterals,\n ValueTypeWithLiterals,\n ConferenceTypeWithLiterals,\n CategoryStateStateWithLiterals,\n NodeTypeWithLiterals,\n WidthTypeWithLiterals,\n PluginContainerDataAlignmentWithLiterals,\n ButtonDataTypeWithLiterals,\n TargetWithLiterals,\n TextAlignmentWithLiterals,\n LineStyleWithLiterals,\n WidthWithLiterals,\n DividerDataAlignmentWithLiterals,\n ViewModeWithLiterals,\n LayoutTypeWithLiterals,\n OrientationWithLiterals,\n CropWithLiterals,\n ThumbnailsAlignmentWithLiterals,\n GIFTypeWithLiterals,\n SourceWithLiterals,\n StylesPositionWithLiterals,\n MapTypeWithLiterals,\n ViewRoleWithLiterals,\n VoteRoleWithLiterals,\n PollLayoutTypeWithLiterals,\n PollLayoutDirectionWithLiterals,\n BackgroundTypeWithLiterals,\n DecorationTypeWithLiterals,\n FontTypeWithLiterals,\n PositionWithLiterals,\n AspectRatioWithLiterals,\n ResizingWithLiterals,\n PlacementWithLiterals,\n CardStylesTypeWithLiterals,\n AlignmentWithLiterals,\n LayoutWithLiterals,\n AppTypeWithLiterals,\n InitialExpandedItemsWithLiterals,\n DirectionWithLiterals,\n VerticalAlignmentWithLiterals,\n NullValueWithLiterals,\n ScalingWithLiterals,\n ImagePositionWithLiterals,\n VerticalAlignmentAlignmentWithLiterals,\n ResponsivenessBehaviourWithLiterals,\n DesignTargetWithLiterals,\n TypeWithLiterals,\n StateWithLiterals,\n SiteCreatedContextWithLiterals,\n NamespaceWithLiterals,\n DeleteStatusWithLiterals,\n WebhookIdentityTypeWithLiterals,\n CreateTicketDefinitionApplicationErrors,\n UpdateTicketDefinitionApplicationErrors,\n ReorderTicketDefinitionsApplicationErrors,\n CountTicketDefinitionsApplicationErrors,\n CountAvailableTicketDefinitionsApplicationErrors,\n ChangeCurrencyApplicationErrors,\n CommonQueryWithEntityContext,\n TicketDefinitionQuery,\n} from './events-v3-ticket-definition-ticket-definitions-v-2.universal.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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","names":["bulkDeleteTicketDefinitionsByFilter","changeCurrency","countAvailableTicketDefinitions","countTicketDefinitions","createTicketDefinition","deleteTicketDefinition","getTicketDefinition","onTicketDefinitionCreated","onTicketDefinitionDeleted","onTicketDefinitionSaleEnded","onTicketDefinitionSalePeriodUpdated","onTicketDefinitionSaleStarted","onTicketDefinitionUpdated","queryAvailableTicketDefinitions","queryTicketDefinitions","reorderTicketDefinitions","updateTicketDefinition","import_rename_all_nested_keys","import_address","import_page_url","import_timestamp","import_transform_paths","import_float","import_timestamp","import_rest_modules","payload","import_address","import_page_url","import_transform_paths","PricingTypeEnumType","FeeTypeEnumType","SaleStatusEnumStatus","LocationType","SubdivisionSubdivisionType","RecurrenceStatusStatus","Status","Field","SortOrder","LocationLocationType","SubdivisionType","EventsRecurrenceStatusStatus","EventStatus","EventType","RegistrationStatus","RsvpStatusOptions","TaxType","CheckoutType","VisitorType","InputControlType","ValueType","ConferenceType","CategoryStateState","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","DesignTarget","Type","State","SiteCreatedContext","Namespace","DeleteStatus","WebhookIdentityType","createTicketDefinition","sdkTransformError","updateTicketDefinition","getTicketDefinition","deleteTicketDefinition","reorderTicketDefinitions","queryTicketDefinitions","queryAvailableTicketDefinitions","countTicketDefinitions","countAvailableTicketDefinitions","bulkDeleteTicketDefinitionsByFilter","changeCurrency","createTicketDefinition","updateTicketDefinition","getTicketDefinition","deleteTicketDefinition","reorderTicketDefinitions","queryTicketDefinitions","typedQueryTicketDefinitions","queryAvailableTicketDefinitions","countTicketDefinitions","countAvailableTicketDefinitions","bulkDeleteTicketDefinitionsByFilter","changeCurrency","import_rest_modules","queryTicketDefinitions","typedQueryTicketDefinitions","createTicketDefinition","updateTicketDefinition","getTicketDefinition","deleteTicketDefinition","reorderTicketDefinitions","queryAvailableTicketDefinitions","countTicketDefinitions","countAvailableTicketDefinitions","bulkDeleteTicketDefinitionsByFilter","changeCurrency","onTicketDefinitionCreated","onTicketDefinitionDeleted","onTicketDefinitionSaleEnded","onTicketDefinitionSalePeriodUpdated","onTicketDefinitionSaleStarted","onTicketDefinitionUpdated"]}