import { CreateTicketDefinitionRequest as CreateTicketDefinitionRequest$1, CreateTicketDefinitionResponse as CreateTicketDefinitionResponse$1, UpdateTicketDefinitionRequest as UpdateTicketDefinitionRequest$1, UpdateTicketDefinitionResponse as UpdateTicketDefinitionResponse$1, GetTicketDefinitionRequest as GetTicketDefinitionRequest$1, GetTicketDefinitionResponse as GetTicketDefinitionResponse$1, DeleteTicketDefinitionRequest as DeleteTicketDefinitionRequest$1, DeleteTicketDefinitionResponse as DeleteTicketDefinitionResponse$1, ReorderTicketDefinitionsRequest as ReorderTicketDefinitionsRequest$1, ReorderTicketDefinitionsResponse as ReorderTicketDefinitionsResponse$1, QueryTicketDefinitionsRequest as QueryTicketDefinitionsRequest$1, QueryTicketDefinitionsResponse as QueryTicketDefinitionsResponse$1, QueryAvailableTicketDefinitionsRequest as QueryAvailableTicketDefinitionsRequest$1, QueryAvailableTicketDefinitionsResponse as QueryAvailableTicketDefinitionsResponse$1, CountTicketDefinitionsRequest as CountTicketDefinitionsRequest$1, CountTicketDefinitionsResponse as CountTicketDefinitionsResponse$1, CountAvailableTicketDefinitionsRequest as CountAvailableTicketDefinitionsRequest$1, CountAvailableTicketDefinitionsResponse as CountAvailableTicketDefinitionsResponse$1, BulkDeleteTicketDefinitionsByFilterRequest as BulkDeleteTicketDefinitionsByFilterRequest$1, BulkDeleteTicketDefinitionsByFilterResponse as BulkDeleteTicketDefinitionsByFilterResponse$1, ChangeCurrencyRequest as ChangeCurrencyRequest$1, ChangeCurrencyResponse as ChangeCurrencyResponse$1 } from './index.typings.js';
import '@wix/sdk-types';
/**
* 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.
*
* You can use Ticket Definitions to define and manage ticket types, control inventory and sale windows, and automate updates via the API.
*
* Read more about [Ticket Definitions](https://support.wix.com/en/article/creating-tickets-for-your-event).
*/
interface TicketDefinition {
/**
* Ticket definition ID.
* @format GUID
* @readonly
*/
id?: string | null;
/**
* Event ID to which the ticket definition belongs.
* @format GUID
* @immutable
*/
eventId?: string | null;
/**
* 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.
* @readonly
*/
revision?: string | null;
/**
* Date and time the ticket definition was created.
* @readonly
*/
createdDate?: Date | null;
/**
* Date and time the ticket definition was updated.
* @readonly
*/
updatedDate?: Date | null;
/**
* Ticket definition name.
* @minLength 1
* @maxLength 30
*/
name?: string | null;
/**
* Ticket definition description.
* @maxLength 500
*/
description?: string | null;
/**
* Ticket definition policy.
* @maxLength 1000
*/
policyText?: string | null;
/** Whether this ticket definition is hidden from site visitors and can't be purchased. */
hidden?: boolean;
/**
* Whether the ticket has a limited maximum quantity.
* @readonly
*/
limited?: boolean;
/** 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. To create unlimited tickets, skip this field in the request. */
initialLimit?: number | null;
/**
* 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`.
* @readonly
*/
actualLimit?: number | null;
/** Ticket pricing method. */
pricingMethod?: PricingMethod;
/** Type of ticket service fee to collect. */
feeType?: FeeTypeEnumTypeWithLiterals;
/** Ticket sale period. */
salePeriod?: SalePeriod;
/**
* Ticket sale status.
* @readonly
*/
saleStatus?: SaleStatusEnumStatusWithLiterals;
/**
* Ticket sales information.
* **Note:** This field is only returned when `SALES_DETAILS` is specified in `field` in the request.
* @readonly
*/
salesDetails?: SalesDetails;
/**
* Number of tickets that can be purchased per checkout.
* **Note:** If the `actualLimit` or `salesDetails.unsoldCount` field value is smaller than `limitPerCheckout`, then it overrides this field.
* @readonly
* @max 50
*/
limitPerCheckout?: number | null;
/** Data extensions. */
extendedFields?: ExtendedFields;
/**
* Information about the even the ticket is for.
* **Note:** This field is only returned when `EVENT_DETAILS` is specified in `field` in the request.
* @readonly
*/
eventDetails?: EventDetails;
/**
* Seating information including available seats and areas for this ticket definition.
* **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).
* @readonly
*/
seatingDetails?: SeatingDetails;
}
interface SalePeriod {
/** Date and time the ticket sale starts. Rounded down to the nearest minute. */
startDate?: Date | null;
/** Date and time the ticket sale ends. Rounded down to the nearest minute. */
endDate?: Date | null;
/** Whether to display the ticket if it's not available to buy. */
displayNotOnSale?: boolean;
}
interface PricingMethod extends PricingMethodPriceOneOf {
/** Same ticket price for everyone. */
fixedPrice?: CommonMoney;
/** 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. */
guestPrice?: CommonMoney;
/** Sets of various ticket prices. For example, you can charge different prices for children and adults. */
pricingOptions?: PricingOptions;
/**
* Ticket price type.
* @readonly
*/
pricingType?: PricingTypeEnumTypeWithLiterals;
/**
* Whether the ticket is free. To create a free ticket, enter `"0"` in `pricingMethod.fixedPrice.value`.
* @readonly
*/
free?: boolean;
}
/** @oneof */
interface PricingMethodPriceOneOf {
/** Same ticket price for everyone. */
fixedPrice?: CommonMoney;
/** 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. */
guestPrice?: CommonMoney;
/** Sets of various ticket prices. For example, you can charge different prices for children and adults. */
pricingOptions?: PricingOptions;
}
/**
* Money.
* Default format to use. Sufficiently compliant with majority of standards: w3c, ISO 4217, ISO 20022, ISO 8583:2003.
*/
interface CommonMoney {
/**
* 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.
* @format DECIMAL_VALUE
*/
value?: string;
/**
* Currency code. Must be a valid [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code (e.g., USD).
* @format CURRENCY
*/
currency?: string;
}
interface PricingOptions {
/**
* Ticket price options.
* @maxSize 100
*/
optionDetails?: OptionDetails[];
}
interface OptionDetails {
/**
* Ticket price option ID.
* @format GUID
*/
optionId?: string | null;
/**
* Ticket price option name, such as "Child Ticket".
* @minLength 1
* @maxLength 200
*/
name?: string | null;
/** Ticket price. */
price?: CommonMoney;
}
declare enum PricingTypeEnumType {
/** All money goes to a seller. Applies to all ticket pricing methods except for `guestPrice`. */
STANDARD = "STANDARD",
/** All collected money is a donation. This pricing type is automatically assigned when you select the `guestPrice` pricing method. */
DONATION = "DONATION"
}
/** @enumType */
type PricingTypeEnumTypeWithLiterals = PricingTypeEnumType | 'STANDARD' | 'DONATION';
declare enum FeeTypeEnumType {
/** The fee is deducted from the ticket price for a seller.
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. */
FEE_INCLUDED = "FEE_INCLUDED",
/** The fee is shown in addition to the ticket price at checkout and a guest pays the fee.
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. */
FEE_ADDED_AT_CHECKOUT = "FEE_ADDED_AT_CHECKOUT",
/** Ticket service fee isn't collected. Available only for free tickets and legacy Wix users. */
NO_FEE = "NO_FEE"
}
/** @enumType */
type FeeTypeEnumTypeWithLiterals = FeeTypeEnumType | 'FEE_INCLUDED' | 'FEE_ADDED_AT_CHECKOUT' | 'NO_FEE';
declare enum SaleStatusEnumStatus {
/** Tickets aren't on sale yet. */
SALE_SCHEDULED = "SALE_SCHEDULED",
/** Tickets are on sale. */
SALE_STARTED = "SALE_STARTED",
/** Tickets are no longer on sale. */
SALE_ENDED = "SALE_ENDED"
}
/** @enumType */
type SaleStatusEnumStatusWithLiterals = SaleStatusEnumStatus | 'SALE_SCHEDULED' | 'SALE_STARTED' | 'SALE_ENDED';
interface SalesDetails {
/**
* Number of tickets that haven't been purchased yet. The field is `null` if the ticket quantity is unlimited.
* @readonly
*/
unsoldCount?: number | null;
/**
* Number of purchased tickets.
* @readonly
*/
soldCount?: number | null;
/**
* Number of reserved tickets.
* @readonly
*/
reservedCount?: number | null;
/**
* Whether the tickets are sold out.
* @readonly
*/
soldOut?: boolean | null;
}
interface ExtendedFields {
/**
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
* The value of each key is structured according to the schema defined when the extended fields were configured.
*
* You can only access fields for which you have the appropriate permissions.
*
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
*/
namespaces?: Record>;
}
interface EventDetails {
/**
* Event title.
* @minLength 1
* @maxLength 120
* @readonly
*/
title?: string | null;
/**
* Short description of the event.
* @maxLength 500
* @readonly
*/
shortDescription?: string | null;
/**
* Event location.
* @readonly
*/
location?: Location;
/**
* Event date and time settings.
* @readonly
*/
dateAndTimeSettings?: DateAndTimeSettings;
/**
* Event page URL components.
* @readonly
*/
eventPageUrl?: PageUrl;
/**
* Event status.
* @readonly
*/
status?: StatusWithLiterals;
}
interface Location {
/**
* Location name. This value is displayed instead of the address when the location is defined as TBD by setting the `locationTbd` property to `true`.
* @maxLength 50
*/
name?: string | null;
/** Location type. */
type?: LocationTypeWithLiterals;
/** Exact location address. */
address?: CommonAddress;
/** Whether the event location is TBD. */
locationTbd?: boolean | null;
}
declare enum LocationType {
/** Event is on-site at a specific physical location. */
VENUE = "VENUE",
/** Event is online, such as a virtual video conference. */
ONLINE = "ONLINE"
}
/** @enumType */
type LocationTypeWithLiterals = LocationType | 'VENUE' | 'ONLINE';
/** Physical address */
interface CommonAddress extends CommonAddressStreetOneOf {
/** Street address. */
streetAddress?: CommonStreetAddress;
/**
* Primary address information (street and building number).
* @maxLength 250
*/
addressLine?: string | null;
/**
* 2-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.
* @format COUNTRY
*/
country?: string | null;
/**
* Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2).
* @maxLength 20
*/
subdivision?: string | null;
/**
* City name.
* @maxLength 100
*/
city?: string | null;
/**
* Zip or postal code.
* @maxLength 100
*/
postalCode?: string | null;
/**
* Secondary address information (suite or apartment number and room number).
* @maxLength 250
*/
addressLine2?: string | null;
/**
* A string containing the full address of this location.
* @maxLength 1000
*/
formattedAddress?: string | null;
/** Coordinates of the physical address. */
geocode?: CommonAddressLocation;
}
/** @oneof */
interface CommonAddressStreetOneOf {
/** Street address. */
streetAddress?: CommonStreetAddress;
/**
* Primary address information (street and building number).
* @maxLength 250
*/
addressLine?: string | null;
}
interface CommonStreetAddress {
/**
* Street number.
* @maxLength 100
*/
number?: string;
/**
* Street name.
* @maxLength 250
*/
name?: string;
}
interface CommonAddressLocation {
/**
* Address latitude coordinates.
* @min -90
* @max 90
*/
latitude?: number | null;
/**
* Address longitude coordinates.
* @min -180
* @max 180
*/
longitude?: number | null;
}
interface CommonSubdivision {
/**
* Short subdivision code.
* @maxLength 100
*/
code?: string;
/**
* Subdivision full name.
* @maxLength 250
*/
name?: string;
}
declare enum SubdivisionSubdivisionType {
UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
/** State */
ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
/** County */
ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
/** City/town */
ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
/** Neighborhood/quarter */
ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
/** Street/block */
ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
/** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
COUNTRY = "COUNTRY"
}
/** @enumType */
type SubdivisionSubdivisionTypeWithLiterals = SubdivisionSubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
interface DateAndTimeSettings {
/** Whether the event date and time are TBD. */
dateAndTimeTbd?: boolean | null;
/**
* Message that is displayed when time and date is TBD.
*
* **Note:** This field is only used when the `dateAndTimeTbd` field value is `true`.
* @maxLength 100
*/
dateAndTimeTbdMessage?: string | null;
/**
* Event start date.
*
* **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.
*/
startDate?: Date | null;
/**
* Event end date.
*
* **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.
*/
endDate?: Date | null;
/**
* Event time zone ID in the [TZ database](https://www.iana.org/time-zones) format.
*
* **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.
* @maxLength 100
*/
timeZoneId?: string | null;
/** Whether the end date is hidden in the formatted date and time. */
hideEndDate?: boolean | null;
/** Whether the time zone is displayed in the formatted schedule. */
showTimeZone?: boolean | null;
/**
* Repeating event status.
* @readonly
*/
recurrenceStatus?: RecurrenceStatusStatusWithLiterals;
/** Event repetitions. */
recurringEvents?: Recurrences;
/** Formatted date and time settings. */
formatted?: Formatted;
}
declare enum RecurrenceStatusStatus {
/** Event happens only once and can last multiple days. */
ONE_TIME = "ONE_TIME",
/** A series of events that repeat. */
RECURRING = "RECURRING",
/** Next event in a schedule of recurring events. */
RECURRING_UPCOMING = "RECURRING_UPCOMING",
/** Latest event that ended in a schedule of recurring events. */
RECURRING_RECENTLY_ENDED = "RECURRING_RECENTLY_ENDED",
/** Latest canceled event in a schedule of recurring events */
RECURRING_RECENTLY_CANCELED = "RECURRING_RECENTLY_CANCELED"
}
/** @enumType */
type RecurrenceStatusStatusWithLiterals = RecurrenceStatusStatus | 'ONE_TIME' | 'RECURRING' | 'RECURRING_UPCOMING' | 'RECURRING_RECENTLY_ENDED' | 'RECURRING_RECENTLY_CANCELED';
interface Recurrences {
/**
* Individual event dates for recurring events.
*
* *Note:** Each date must be manually calculated and provided. There is no support for automatic generation using recurrence rules or patterns (for example, "Weekly").
*
* When you create a recurring event:
* - Each occurrence is created as an independent event with its own unique ID.
* - All occurrences in the series share the same `categoryId`, which allows you to identify all events in the recurring series.
* - To retrieve all events in a recurring series, query events by `recurringEvents.categoryId`.
* - Each event in the series can be independently updated or deleted using its individual event ID.
* @maxSize 1000
*/
individualEventDates?: Occurrence[];
/**
* Recurring event category ID.
*
* This read-only field is automatically generated and shared by all events in a recurring series. Use this ID to query and retrieve all occurrences of a recurring event.
* @readonly
* @maxLength 100
*/
categoryId?: string | null;
}
interface Occurrence {
/** Event start date. */
startDate?: Date | null;
/** Event end date. */
endDate?: Date | null;
/**
* Event time zone ID in the [TZ database](https://www.iana.org/time-zones) format.
* @maxLength 100
*/
timeZoneId?: string | null;
/** Whether the time zone is displayed in a formatted schedule. */
showTimeZone?: boolean;
}
interface Formatted {
/**
* Formatted date and time representation.
* 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`.
* 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`.
* @readonly
* @maxLength 500
*/
dateAndTime?: string | null;
/**
* Formatted start date of the event. Empty for TBD schedules.
* @readonly
* @maxLength 500
*/
startDate?: string | null;
/**
* Formatted start time of the event. Empty for TBD schedules.
* @readonly
* @maxLength 500
*/
startTime?: string | null;
/**
* Formatted end date of the event. Empty for TBD schedules or when the end date is hidden.
* @readonly
* @maxLength 500
*/
endDate?: string | null;
/**
* Formatted end time of the event. Empty for TBD schedules or when the end date is hidden.
* @readonly
* @maxLength 500
*/
endTime?: string | null;
}
interface PageUrl {
/**
* The base URL. For premium sites, the base is the domain. For free sites, the base is the Wix site URL (for example, `https://mysite.wixsite.com/mysite`).
* @maxLength 500
*/
base?: string;
/**
* The path to the page. For example, `/product-page/a-product`.
* @maxLength 500
*/
path?: string;
}
declare enum Status {
/** Event is published and scheduled to start. */
UPCOMING = "UPCOMING",
/** Event has started. */
STARTED = "STARTED",
/** Event has ended. */
ENDED = "ENDED",
/** Event is canceled. */
CANCELED = "CANCELED",
/** Event is not public. */
DRAFT = "DRAFT"
}
/** @enumType */
type StatusWithLiterals = Status | 'UPCOMING' | 'STARTED' | 'ENDED' | 'CANCELED' | 'DRAFT';
interface SeatingDetails {
/**
* List of available places.
* @maxSize 50000
*/
places?: AvailablePlace[];
}
interface AvailablePlace {
/**
* Place ID in the format `{sectionId}-{elementId}-{label}`. For example, `0-1-A5`.
* @minLength 1
* @maxLength 20
* @readonly
*/
placeId?: string;
/**
* Human-readable label for this place, such as `A1`, `12`, or `VIP1`.
* @minLength 1
* @maxLength 4
* @readonly
*/
label?: string;
/**
* High-level division of the venue, where the place is located, such as `Orchestra`, `Balcony`, or `VIP Section`.
* @minLength 1
* @maxLength 20
* @readonly
*/
sectionLabel?: string | null;
/**
* Seating element within the section, such as `Row`, `Table`, or `General Admission`.
* @minLength 1
* @maxLength 50
* @readonly
*/
elementLabel?: string | null;
/**
* Available capacity at this place.
*
* For general seating type returns the number of remaining spots.
*
* 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.
* @max 50000
* @readonly
*/
availableCapacity?: number;
}
interface InvalidateCache extends InvalidateCacheGetByOneOf {
/**
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
* @format GUID
*/
metaSiteId?: string;
/**
* Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
* @format GUID
*/
siteId?: string;
/** Invalidate by App */
app?: App;
/** Invalidate by page id */
page?: Page;
/** Invalidate by URI path */
uri?: URI;
/** Invalidate by file (for media files such as PDFs) */
file?: File;
/** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
customTag?: CustomTag;
/** Invalidate by multiple page ids */
pages?: Pages;
/** Invalidate by multiple URI paths */
uris?: URIs;
/**
* tell us why you're invalidating the cache. You don't need to add your app name
* @maxLength 256
*/
reason?: string | null;
/** Is local DS */
localDc?: boolean;
hardPurge?: boolean;
/**
* Optional caller-provided ID for tracking this invalidation through the system.
* When set, the corresponding CDN purge completion event will include this ID,
* allowing you to confirm when the invalidation has fully propagated.
* Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.
* @maxLength 256
*/
correlationId?: string | null;
}
/** @oneof */
interface InvalidateCacheGetByOneOf {
/**
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
* @format GUID
*/
metaSiteId?: string;
/**
* Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
* @format GUID
*/
siteId?: string;
/** Invalidate by App */
app?: App;
/** Invalidate by page id */
page?: Page;
/** Invalidate by URI path */
uri?: URI;
/** Invalidate by file (for media files such as PDFs) */
file?: File;
/** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
customTag?: CustomTag;
/** Invalidate by multiple page ids */
pages?: Pages;
/** Invalidate by multiple URI paths */
uris?: URIs;
}
interface App {
/**
* The AppDefId
* @minLength 1
*/
appDefId?: string;
/**
* The instance Id
* @format GUID
*/
instanceId?: string;
}
interface Page {
/**
* the msid the page is on
* @format GUID
*/
metaSiteId?: string;
/**
* Invalidate by Page ID
* @minLength 1
*/
pageId?: string;
}
interface URI {
/**
* the msid the URI is on
* @format GUID
*/
metaSiteId?: string;
/**
* URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
* @minLength 1
*/
uriPath?: string;
}
interface File {
/**
* the msid the file is related to
* @format GUID
*/
metaSiteId?: string;
/**
* Invalidate by filename (for media files such as PDFs)
* @minLength 1
* @maxLength 256
*/
fileName?: string;
}
interface CustomTag {
/**
* the msid the tag is related to
* @format GUID
*/
metaSiteId?: string;
/**
* Tag to invalidate by
* @minLength 1
* @maxLength 256
*/
tag?: string;
}
interface Pages {
/**
* the msid the pages are on
* @format GUID
*/
metaSiteId?: string;
/**
* Invalidate by multiple Page IDs in a single message
* @maxSize 100
* @minLength 1
*/
pageIds?: string[];
}
interface URIs {
/**
* the msid the URIs are on
* @format GUID
*/
metaSiteId?: string;
/**
* URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes
* @maxSize 100
* @minLength 1
*/
uriPaths?: string[];
}
interface SalePeriodUpdated {
/** Ticket definition sale period after update. */
afterUpdate?: SalePeriod;
}
interface TicketDefinitionSaleStarted {
/** Ticket definition. */
ticketDefinition?: TicketDefinition;
}
interface TicketDefinitionSaleEnded {
/** Ticket definition. */
ticketDefinition?: TicketDefinition;
}
interface CreateTicketDefinitionRequest {
/** Ticket definition info. */
ticketDefinition: TicketDefinition;
/**
* Predefined sets of fields to return.
* @maxSize 5
*/
fields?: FieldWithLiterals[];
}
declare enum Field {
/** Returns `salesDetails` in the response. */
SALES_DETAILS = "SALES_DETAILS",
/** Returns `eventDetails` in the response. */
EVENT_DETAILS = "EVENT_DETAILS",
/** Returns `seatingDetails` with available seats in the response. */
SEATING_DETAILS = "SEATING_DETAILS"
}
/** @enumType */
type FieldWithLiterals = Field | 'SALES_DETAILS' | 'EVENT_DETAILS' | 'SEATING_DETAILS';
interface CreateTicketDefinitionResponse {
/** Created ticket definition. */
ticketDefinition?: TicketDefinition;
}
interface UpdateTicketDefinitionRequest {
/** Ticket definition to update. */
ticketDefinition: TicketDefinition;
/**
* Predefined sets of fields to return.
* @maxSize 5
*/
fields?: FieldWithLiterals[];
}
interface UpdateTicketDefinitionResponse {
/** The updated ticket definition. */
ticketDefinition?: TicketDefinition;
}
interface GetTicketDefinitionRequest {
/**
* Ticket definition ID.
* @format GUID
*/
ticketDefinitionId: string;
/**
* Predefined sets of fields to return.
* @maxSize 5
*/
fields?: FieldWithLiterals[];
}
interface GetTicketDefinitionResponse {
/** The requested ticket definition. */
ticketDefinition?: TicketDefinition;
}
interface DeleteTicketDefinitionRequest {
/**
* ID of the ticket definition to delete.
* @format GUID
*/
ticketDefinitionId: string;
}
interface DeleteTicketDefinitionResponse {
}
interface ReorderTicketDefinitionsRequest extends ReorderTicketDefinitionsRequestReferenceDefinitionOneOf {
/**
* Move the given `definitionId` before the referenced ticket definition.
* @format GUID
*/
beforeDefinitionId?: string;
/**
* Move the given `definitionId` after the referenced ticket definition.
* @format GUID
*/
afterDefinitionId?: string;
/**
* Event ID.
* @format GUID
*/
eventId: string;
/**
* Ticket definition ID.
* @format GUID
*/
ticketDefinitionId: string;
}
/** @oneof */
interface ReorderTicketDefinitionsRequestReferenceDefinitionOneOf {
/**
* Move the given `definitionId` before the referenced ticket definition.
* @format GUID
*/
beforeDefinitionId?: string;
/**
* Move the given `definitionId` after the referenced ticket definition.
* @format GUID
*/
afterDefinitionId?: string;
}
interface ReorderTicketDefinitionsResponse {
}
interface UpdateTicketDefinitionSortIndexRequest {
/**
* Ticket definition ID
* @format GUID
*/
ticketDefinitionId?: string;
/** The revision of the ticket definition */
revision?: string;
/** the sort index of a ticket definition to set */
sortIndex?: number;
/**
* Requested fields.
* @maxSize 5
*/
fields?: FieldWithLiterals[];
}
interface UpdateTicketDefinitionSortIndexResponse {
/** the updated ticket definition */
ticketDefinition?: TicketDefinition;
}
interface QueryTicketDefinitionsRequest {
/** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */
query: QueryV2;
/**
* Predefined sets of fields to return.
* @maxSize 5
*/
fields?: FieldWithLiterals[];
}
interface QueryV2 extends QueryV2PagingMethodOneOf {
/** Paging options to limit and skip the number of items. */
paging?: Paging;
/** 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. */
cursorPaging?: CursorPaging;
/** Filter object in the following format:
`"filter" : { "fieldName1": "value1", "fieldName2":{"$operator":"value2"} }`.
**Example:**
`"filter" : { "id": "2224a9d1-79e6-4549-a5c5-bf7ce5aac1a5", "revision": {"$ne":"1"} }` */
filter?: Record | null;
/**
* Sort object in the following format:
`[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`
**Example:**
`[{"fieldName":"createdDate","direction":"DESC"}]`
See [supported fields](https://dev.wix.com/api/rest/wix-events/policy-v2/filter-and-sort) for more information.
* @maxSize 10
*/
sort?: Sorting[];
}
/** @oneof */
interface QueryV2PagingMethodOneOf {
/** Paging options to limit and skip the number of items. */
paging?: Paging;
/** 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. */
cursorPaging?: CursorPaging;
}
interface Sorting {
/**
* Name of the field to sort by.
* @maxLength 100
*/
fieldName?: string;
/** Defaults to `ASC` */
order?: SortOrderWithLiterals;
}
declare enum SortOrder {
ASC = "ASC",
DESC = "DESC"
}
/** @enumType */
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
interface Paging {
/** Number of items to load per page. */
limit?: number | null;
/** Number of items to skip in the current sort order. */
offset?: number | null;
}
interface CursorPaging {
/**
* Number of items to load per page.
* @max 100
*/
limit?: number | null;
/**
* Pointer to the next or previous page in the list of results.
* You can get the relevant cursor token
* from the `pagingMetadata` object in the previous call's response.
* Not relevant for the first request.
* @maxLength 16000
*/
cursor?: string | null;
}
interface QueryTicketDefinitionsResponse {
/** List of ticket definitions. */
ticketDefinitions?: TicketDefinition[];
/** Metadata for the paginated results. */
metadata?: PagingMetadataV2;
}
interface PagingMetadataV2 {
/** Number of items returned in the response. */
count?: number | null;
/** Offset that was requested. */
offset?: number | null;
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
total?: number | null;
/** Flag that indicates the server failed to calculate the `total` field. */
tooManyToCount?: boolean | null;
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
cursors?: Cursors;
}
interface Cursors {
/**
* Cursor pointing to next page in the list of results.
* @maxLength 36
*/
next?: string | null;
/**
* Cursor pointing to previous page in the list of results.
* @maxLength 36
*/
prev?: string | null;
}
interface QueryAvailableTicketDefinitionsRequest {
/** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */
query: QueryV2;
/**
* Predefined sets of fields to return.
* @maxSize 5
*/
fields?: FieldWithLiterals[];
}
interface QueryAvailableTicketDefinitionsResponse {
/** List of ticket definitions. */
ticketDefinitions?: TicketDefinition[];
/** Metadata for the paginated results. */
metadata?: PagingMetadataV2;
}
interface CountTicketDefinitionsRequest {
/** Filter object in the following format:
`"filter" : { "fieldName1": "value1" }`. */
filter?: Record | null;
/**
* Parameters to count ticket definitions by.
*
* - Max: 20 facets.
* @maxLength 100
* @maxSize 20
*/
facet?: string[];
}
interface CountTicketDefinitionsResponse {
/** Metadata for the paginated results. */
metadata?: PagingMetadataV2;
/** Filter facets. */
facets?: Record;
}
interface FacetCounts {
/** Facet counts aggregated per value */
counts?: Record;
}
interface CountAvailableTicketDefinitionsRequest {
/** Filter object in the following format:
`"filter" : { "fieldName1": "value1" }`. */
filter?: Record | null;
}
interface CountAvailableTicketDefinitionsResponse {
/** Metadata for the paginated results. */
metadata?: PagingMetadataV2;
}
interface BulkDeleteTicketDefinitionsByFilterRequest {
/** Filter object. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */
filter: Record | null;
}
interface BulkDeleteTicketDefinitionsByFilterResponse {
}
interface ChangeCurrencyRequest {
/**
* Event ID.
* @format GUID
*/
eventId: string;
/**
* Ticket price currency in 3-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
* @minLength 3
* @maxLength 3
*/
currency: string;
}
interface ChangeCurrencyResponse {
}
interface BulkCopyTicketDefinitionsByEventIdRequest {
/**
* Origin instance ID.
* @format GUID
*/
originInstanceId?: string | null;
/**
* Origin Event ID.
* @format GUID
*/
originEventId?: string;
/**
* Target Event ID.
* @format GUID
*/
targetEventId?: string;
}
interface BulkCopyTicketDefinitionsByEventIdResponse {
/** Copied ticket definitions. */
definitions?: CopiedTicketDefinition[];
}
interface CopiedTicketDefinition {
/**
* Origin Ticket definition ID.
* @format GUID
*/
originTicketDefinitionId?: string;
/**
* Ticket definition ID.
* @format GUID
*/
ticketDefinitionId?: string;
}
interface UpdateFeeTypesBasedOnSettingsRequest {
/** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */
query?: QueryV2;
}
interface UpdateFeeTypesBasedOnSettingsResponse {
}
interface EventDeleted {
/** Event deleted timestamp in ISO UTC format. */
timestamp?: Date | null;
/**
* Event ID.
* @format GUID
*/
eventId?: string;
/** Event title. */
title?: string;
/**
* Event creator user ID.
* @format GUID
*/
userId?: string | null;
}
interface Empty {
}
interface EventCanceled {
/** Event canceled timestamp in ISO UTC format. */
timestamp?: Date | null;
/**
* Event ID.
* @format GUID
*/
eventId?: string;
/** Event title */
title?: string;
/**
* Event creator user ID.
* @format GUID
*/
userId?: string | null;
/** True if at least one guest is registered to the event with any attendance status. */
hasGuests?: boolean | null;
/** Who performed the cancellation (the actor that triggered the status change), as opposed to the event creator in `user_id`. */
canceledBy?: CancellationActor;
}
/** Identifies who cancelled an event. Only the id field matching `actor_type` is populated. */
interface CancellationActor {
/** The kind of actor that performed the cancellation. */
actorType?: CancellationActorTypeWithLiterals;
/**
* The Wix user ID; set when `actor_type` is USER.
* @format GUID
*/
userId?: string | null;
/**
* The application ID; set when `actor_type` is APP.
* @format GUID
*/
appId?: string | null;
}
/** The kind of actor that performed an event cancellation. */
declare enum CancellationActorType {
/** A Wix user — a site collaborator or the site owner — acting from the dashboard. */
USER = "USER",
/** A third-party application acting via the public API. */
APP = "APP",
/** An automatic or internal process (for example, a scheduled or recurring job). */
SYSTEM = "SYSTEM"
}
/** @enumType */
type CancellationActorTypeWithLiterals = CancellationActorType | 'USER' | 'APP' | 'SYSTEM';
interface EventEnded {
/** Event end timestamp in ISO UTC format. */
timestamp?: Date | null;
/**
* Event ID.
* @format GUID
*/
eventId?: string;
/** True if at least one guest is registered to the event with any attendance status. */
hasGuests?: boolean | null;
}
interface EventCreated {
/** Event created timestamp in ISO UTC format. */
timestamp?: Date | null;
/**
* Event ID.
* @format GUID
*/
eventId?: string;
/** Event location. */
location?: EventsLocation;
/** Event schedule configuration. */
scheduleConfig?: ScheduleConfig;
/** Event title. */
title?: string;
/**
* Event creator user ID.
* @maxLength 36
*/
userId?: string | null;
/** Event status. */
status?: EventStatusWithLiterals;
/**
* Instance ID. Indicates the original app instance which current event was derived from.
* @format GUID
*/
derivedFromInstanceId?: string | null;
/**
* Event ID. Indicates the original event which current event was derived from.
* @format GUID
*/
derivedFromEventId?: string | null;
/** Event that was created. */
event?: Event;
}
interface EventsLocation {
/**
* Location name.
* @maxLength 50
*/
name?: string | null;
/** Location map coordinates. */
coordinates?: MapCoordinates;
/**
* Single line address representation.
* @maxLength 300
*/
address?: string | null;
/** Location type. */
type?: LocationLocationTypeWithLiterals;
/**
* Full address derived from formatted single line `address`.
* When `full_address` is used to create or update the event, deprecated `address` and `coordinates` are ignored.
* If provided `full_address` has empty `formatted_address` or `coordinates`, it will be auto-completed using Atlas service.
*
* Migration notes:
* - `full_address.formatted_address` is equivalent to `address`.
* - `full_address.geocode` is equivalent to `coordinates`.
*/
fullAddress?: Address;
/**
* Defines event location as TBD (To Be Determined).
* When event location is not yet defined, `name` is displayed instead of location address.
* `coordinates`, `address`, `type` and `full_address` are not required when location is TBD.
*/
tbd?: boolean | null;
}
interface MapCoordinates {
/**
* Latitude.
* @min -90
* @max 90
*/
lat?: number;
/**
* Longitude.
* @min -180
* @max 180
*/
lng?: number;
}
declare enum LocationLocationType {
VENUE = "VENUE",
ONLINE = "ONLINE"
}
/** @enumType */
type LocationLocationTypeWithLiterals = LocationLocationType | 'VENUE' | 'ONLINE';
/** Physical address */
interface Address extends AddressStreetOneOf {
/** a break down of the street to number and street name */
streetAddress?: StreetAddress;
/** Main address line (usually street and number) as free text */
addressLine?: string | null;
/**
* country code
* @format COUNTRY
*/
country?: string | null;
/** subdivision (usually state or region) code according to ISO 3166-2 */
subdivision?: string | null;
/** city name */
city?: string | null;
/** zip/postal code */
postalCode?: string | null;
/** Free text providing more detailed address info. Usually contains Apt, Suite, Floor */
addressLine2?: string | null;
/** A string containing the human-readable address of this location */
formattedAddress?: string | null;
/** Free text for human-to-human textual orientation aid purposes */
hint?: string | null;
/** coordinates of the physical address */
geocode?: AddressLocation;
/** country full-name */
countryFullname?: string | null;
/**
* multi-level subdivisions from top to bottom
* @maxSize 6
*/
subdivisions?: Subdivision[];
}
/** @oneof */
interface AddressStreetOneOf {
/** a break down of the street to number and street name */
streetAddress?: StreetAddress;
/** Main address line (usually street and number) as free text */
addressLine?: string | null;
}
interface StreetAddress {
/** street number */
number?: string;
/** street name */
name?: string;
}
interface AddressLocation {
/**
* address latitude coordinates
* @min -90
* @max 90
*/
latitude?: number | null;
/**
* address longitude coordinates
* @min -180
* @max 180
*/
longitude?: number | null;
}
interface Subdivision {
/** subdivision short code */
code?: string;
/** subdivision full-name */
name?: string;
}
declare enum SubdivisionType {
UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
/** State */
ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
/** County */
ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
/** City/town */
ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
/** Neighborhood/quarter */
ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
/** Street/block */
ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
/** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
COUNTRY = "COUNTRY"
}
/** @enumType */
type SubdivisionTypeWithLiterals = SubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
interface ScheduleConfig {
/**
* Defines event as TBD (To Be Determined) schedule.
* When event time is not yet defined, TBD message is displayed instead of event start and end times.
* `startDate`, `endDate` and `timeZoneId` are not required when schedule is TBD.
*/
scheduleTbd?: boolean;
/**
* TBD message.
* @maxLength 100
*/
scheduleTbdMessage?: string | null;
/** Event start timestamp. */
startDate?: Date | null;
/** Event end timestamp. */
endDate?: Date | null;
/**
* Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.
* @maxLength 100
*/
timeZoneId?: string | null;
/** Whether end date is hidden in the formatted schedule. */
endDateHidden?: boolean;
/** Whether time zone is displayed in formatted schedule. */
showTimeZone?: boolean;
/** Event recurrences. */
recurrences?: EventsRecurrences;
}
interface EventsRecurrences {
/**
* Event occurrences.
* @maxSize 1000
*/
occurrences?: EventsOccurrence[];
/**
* Recurring event category ID.
* @readonly
*/
categoryId?: string | null;
/**
* Recurrence status.
* @readonly
*/
status?: EventsRecurrenceStatusStatusWithLiterals;
}
interface EventsOccurrence {
/** Event start timestamp. */
startDate?: Date | null;
/** Event end timestamp. */
endDate?: Date | null;
/**
* Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.
* @maxLength 100
*/
timeZoneId?: string | null;
/** Whether time zone is displayed in formatted schedule. */
showTimeZone?: boolean;
}
declare enum EventsRecurrenceStatusStatus {
/** Event occurs only once. */
ONE_TIME = "ONE_TIME",
/** Event is recurring. */
RECURRING = "RECURRING",
/** Marks the next upcoming occurrence of the recurring event. */
RECURRING_NEXT = "RECURRING_NEXT",
/** Marks the most recent ended occurrence of the recurring event. */
RECURRING_LAST_ENDED = "RECURRING_LAST_ENDED",
/** Marks the most recent canceled occurrence of the recurring event. */
RECURRING_LAST_CANCELED = "RECURRING_LAST_CANCELED"
}
/** @enumType */
type EventsRecurrenceStatusStatusWithLiterals = EventsRecurrenceStatusStatus | 'ONE_TIME' | 'RECURRING' | 'RECURRING_NEXT' | 'RECURRING_LAST_ENDED' | 'RECURRING_LAST_CANCELED';
declare enum EventStatus {
/** Event is public and scheduled to start */
SCHEDULED = "SCHEDULED",
/** Event has started */
STARTED = "STARTED",
/** Event has ended */
ENDED = "ENDED",
/** Event was canceled */
CANCELED = "CANCELED"
}
/** @enumType */
type EventStatusWithLiterals = EventStatus | 'SCHEDULED' | 'STARTED' | 'ENDED' | 'CANCELED';
interface Event {
/**
* Event ID.
* @format GUID
* @readonly
*/
id?: string;
/** Event location. */
location?: EventsLocation;
/** Event scheduling. */
scheduling?: Scheduling;
/** Event title. */
title?: string;
/** Event description. */
description?: string;
/** Rich-text content that are displayed in a site's "About Event" section (HTML). */
about?: string;
/** Main event image. */
mainImage?: Image;
/** Event slug URL (generated from event title). */
slug?: string;
/** ISO 639-1 language code of the event (used in content translations). */
language?: string;
/** Event creation timestamp. */
created?: Date | null;
/** Event modified timestamp. */
modified?: Date | null;
/** Event status. */
status?: EventStatusWithLiterals;
/** RSVP or ticketing registration details. */
registration?: Registration;
/** "Add to calendar" URLs. */
calendarLinks?: CalendarLinks;
/** Event page URL components. */
eventPageUrl?: SiteUrl;
/** Event registration form. */
form?: Form;
/** Event dashboard summary of RSVP / ticket sales. */
dashboard?: Dashboard;
/** Instance ID of the site where event is hosted. */
instanceId?: string;
/** Guest list configuration. */
guestListConfig?: GuestListConfig;
/**
* Event creator user ID.
* @maxLength 36
*/
userId?: string;
/** Event discussion feed. For internal use. */
feed?: Feed;
/** Online conferencing details. */
onlineConferencing?: OnlineConferencing;
/** SEO settings. */
seoSettings?: SeoSettings;
/** Legacy contacts label key. Populated only on events created before the migration to Contacts V5; new events aren't assigned a contacts label. */
assignedContactsLabel?: string | null;
/** Agenda details. */
agenda?: Agenda;
/** Categories this event is assigned to. */
categories?: Category[];
/** Visual settings for event. */
eventDisplaySettings?: EventDisplaySettings;
/** Rich content that are displayed in a site's "About Event" section. Successor to `about` field. */
longDescription?: RichContent;
/**
* Event publish timestamp.
* @readonly
*/
publishedDate?: Date | null;
}
interface Scheduling {
/** Schedule configuration. */
config?: ScheduleConfig;
/** Formatted schedule representation. */
formatted?: string;
/** Formatted start date of the event (empty for TBD schedules). */
startDateFormatted?: string;
/** Formatted start time of the event (empty for TBD schedules). */
startTimeFormatted?: string;
/** Formatted end date of the event (empty for TBD schedules or when end date is hidden). */
endDateFormatted?: string;
/** Formatted end time of the event (empty for TBD schedules or when end date is hidden). */
endTimeFormatted?: string;
}
interface Image {
/**
* WixMedia image ID.
* @minLength 1
* @maxLength 200
*/
id?: string | null;
/** Image URL. */
url?: string;
/** Original image height. */
height?: number | null;
/** Original image width. */
width?: number | null;
/** Image alt text. Optional. */
altText?: string | null;
}
interface Registration {
/** Event type. */
type?: EventTypeWithLiterals;
/** Event registration status. */
status?: RegistrationStatusWithLiterals;
/** RSVP collection details. */
rsvpCollection?: RsvpCollection;
/** Ticketing details. */
ticketing?: Ticketing;
/** External registration details. */
external?: ExternalEvent;
/** Types of users allowed to register. */
restrictedTo?: VisitorTypeWithLiterals;
/** Initial event type which was set when creating an event. */
initialType?: EventTypeWithLiterals;
}
declare enum EventType {
/** Type not available for this request fieldset */
NA_EVENT_TYPE = "NA_EVENT_TYPE",
/** Registration via RSVP */
RSVP = "RSVP",
/** Registration via ticket purchase */
TICKETS = "TICKETS",
/** External registration */
EXTERNAL = "EXTERNAL",
/** Registration not available */
NO_REGISTRATION = "NO_REGISTRATION"
}
/** @enumType */
type EventTypeWithLiterals = EventType | 'NA_EVENT_TYPE' | 'RSVP' | 'TICKETS' | 'EXTERNAL' | 'NO_REGISTRATION';
declare enum RegistrationStatus {
/** Registration status is not applicable */
NA_REGISTRATION_STATUS = "NA_REGISTRATION_STATUS",
/** Registration to event is closed */
CLOSED = "CLOSED",
/** Registration to event is closed manually */
CLOSED_MANUALLY = "CLOSED_MANUALLY",
/** Registration is open via RSVP */
OPEN_RSVP = "OPEN_RSVP",
/** Registration to event waitlist is open via RSVP */
OPEN_RSVP_WAITLIST = "OPEN_RSVP_WAITLIST",
/** Registration is open via ticket purchase */
OPEN_TICKETS = "OPEN_TICKETS",
/** Registration is open via external URL */
OPEN_EXTERNAL = "OPEN_EXTERNAL",
/** Registration will be open via RSVP */
SCHEDULED_RSVP = "SCHEDULED_RSVP"
}
/** @enumType */
type RegistrationStatusWithLiterals = RegistrationStatus | 'NA_REGISTRATION_STATUS' | 'CLOSED' | 'CLOSED_MANUALLY' | 'OPEN_RSVP' | 'OPEN_RSVP_WAITLIST' | 'OPEN_TICKETS' | 'OPEN_EXTERNAL' | 'SCHEDULED_RSVP';
interface RsvpCollection {
/** RSVP collection configuration. */
config?: RsvpCollectionConfig;
}
interface RsvpCollectionConfig {
/** Defines the supported RSVP statuses. */
rsvpStatusOptions?: RsvpStatusOptionsWithLiterals;
/**
* Total guest limit available to register to the event.
* Additional guests per RSVP are counted towards total guests.
*/
limit?: number | null;
/** Whether a waitlist is opened when total guest limit is reached, allowing guests to create RSVP with WAITING RSVP status. */
waitlist?: boolean;
/** Registration start timestamp. */
startDate?: Date | null;
/** Registration end timestamp. */
endDate?: Date | null;
}
declare enum RsvpStatusOptions {
/** Only YES RSVP status is available for RSVP registration */
YES_ONLY = "YES_ONLY",
/** YES and NO RSVP status options are available for the registration */
YES_AND_NO = "YES_AND_NO"
}
/** @enumType */
type RsvpStatusOptionsWithLiterals = RsvpStatusOptions | 'YES_ONLY' | 'YES_AND_NO';
interface RsvpConfirmationMessages {
/** Messages displayed when an RSVP's `status` is set to `"YES"`. */
positiveConfirmation?: RsvpConfirmationMessagesPositiveResponseConfirmation;
/** Messages displayed when an RSVP's `status` is set to `"WAITLIST"`, for when the event is full and a waitlist is available). */
waitlistMessages?: RsvpConfirmationMessagesPositiveResponseConfirmation;
/** Messages displayed when an RSVP's `status` is set to `"NO"`. */
negativeMessages?: RsvpConfirmationMessagesNegativeResponseConfirmation;
}
/** Confirmation shown after then registration when RSVP response is positive. */
interface RsvpConfirmationMessagesPositiveResponseConfirmation {
/**
* Confirmation message title.
* @maxLength 150
*/
title?: string | null;
/**
* Confirmation message text.
* @maxLength 350
*/
message?: string | null;
/**
* "Add to calendar" call-to-action label text.
* @maxLength 50
*/
addToCalendarActionLabel?: string | null;
/**
* "Share event" call-to-action label text.
* @maxLength 50
*/
shareActionLabel?: string | null;
}
/** Confirmation shown after then registration when RSVP response is negative. */
interface RsvpConfirmationMessagesNegativeResponseConfirmation {
/**
* Confirmation message title.
* @maxLength 150
*/
title?: string | null;
/**
* "Share event" call-to-action label text.
* @maxLength 50
*/
shareActionLabel?: string | null;
}
interface Ticketing {
/**
* Deprecated.
* @deprecated
*/
lowestPrice?: string | null;
/**
* Deprecated.
* @deprecated
*/
highestPrice?: string | null;
/** Currency used in event transactions. */
currency?: string | null;
/** Ticketing configuration. */
config?: TicketingConfig;
/**
* Price of lowest priced ticket.
* @readonly
*/
lowestTicketPrice?: Money;
/**
* Price of highest priced ticket.
* @readonly
*/
highestTicketPrice?: Money;
/**
* Formatted price of lowest priced ticket.
* @readonly
*/
lowestTicketPriceFormatted?: string | null;
/**
* Formatted price of highest priced ticket.
* @readonly
*/
highestTicketPriceFormatted?: string | null;
/**
* Whether all tickets are sold for this event.
* @readonly
*/
soldOut?: boolean | null;
}
interface TicketingConfig {
/** Whether the form must be filled out separately for each ticket. */
guestAssignedTickets?: boolean;
/** Tax configuration. */
taxConfig?: TaxConfig;
/**
* Limit of tickets that can be purchased per order, default 20.
* @max 50
*/
ticketLimitPerOrder?: number;
/**
* Duration for which the tickets being bought are reserved.
* @min 5
* @max 30
*/
reservationDurationInMinutes?: number | null;
/**
* Additional fees charged per order, in display order. Updating with this field in the
* field mask replaces the whole list; an empty list clears it.
* @maxSize 3
*/
additionalFees?: AdditionalFeeConfig[];
}
interface TaxConfig {
/** Tax application settings. */
type?: TaxTypeWithLiterals;
/**
* Tax name.
* @minLength 1
* @maxLength 10
*/
name?: string | null;
/**
* Tax rate (e.g.,`21.55`).
* @decimalValue options { gte:0.001, lte:100, maxScale:3 }
*/
rate?: string | null;
/** Applies taxes for donations, default true. */
appliesToDonations?: boolean | null;
}
declare enum TaxType {
/** Tax is included in the ticket price. */
INCLUDED = "INCLUDED",
/** Tax is added to the order at the checkout. */
ADDED = "ADDED",
/** Tax is added to the final total at the checkout. */
ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
}
/** @enumType */
type TaxTypeWithLiterals = TaxType | 'INCLUDED' | 'ADDED' | 'ADDED_AT_CHECKOUT';
interface TicketsConfirmationMessages {
/**
* Confirmation message title.
* @maxLength 150
*/
title?: string | null;
/** Confirmation message text. */
message?: string | null;
/**
* "Download tickets" call-to-action label text.
* @maxLength 50
*/
downloadTicketsLabel?: string | null;
/**
* "Add to calendar" call-to-action label text.
* @maxLength 50
*/
addToCalendarActionLabel?: string | null;
/**
* "Share event" call-to-action label text.
* @maxLength 50
*/
shareActionLabel?: string | null;
}
declare enum CheckoutType {
/** Checkout using Events App. */
EVENTS_APP = "EVENTS_APP",
/** Checkout using Ecomm Platform. */
ECOMM_PLATFORM = "ECOMM_PLATFORM"
}
/** @enumType */
type CheckoutTypeWithLiterals = CheckoutType | 'EVENTS_APP' | 'ECOMM_PLATFORM';
/** Additional fee configured on an event. Position in `additional_fees` is the display order. */
interface AdditionalFeeConfig {
/**
* Fee name shown to buyers. Unique per event (case-insensitive).
* @minLength 1
* @maxLength 50
*/
name?: string;
/** Fee calculation formula. */
formula?: AdditionalFeeFormula;
}
/**
* Formula of an additional fee charged on top of ticket prices.
* Amounts are as displayed: net of tax under ADDED_AT_CHECKOUT tax, gross under INCLUDED tax.
*/
interface AdditionalFeeFormula extends AdditionalFeeFormulaCalculationOneOf {
/**
* Fixed amount in the event ticket currency, applied once per order.
* @decimalValue options { gt:0, lt:50000000, maxScale:4 }
*/
fixedAmount?: string;
/**
* Percentage of discounted ticket prices (e.g. `12.5`). Excludes separately added Wix service fees.
* @decimalValue options { gt:0, lte:100, maxScale:2 }
*/
percentage?: string;
}
/** @oneof */
interface AdditionalFeeFormulaCalculationOneOf {
/**
* Fixed amount in the event ticket currency, applied once per order.
* @decimalValue options { gt:0, lt:50000000, maxScale:4 }
*/
fixedAmount?: string;
/**
* Percentage of discounted ticket prices (e.g. `12.5`). Excludes separately added Wix service fees.
* @decimalValue options { gt:0, lte:100, maxScale:2 }
*/
percentage?: string;
}
interface Money {
/**
* *Deprecated:** Use `value` instead.
* @format DECIMAL_VALUE
* @deprecated
*/
amount?: string;
/**
* 3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `USD`.
* @format CURRENCY
*/
currency?: string;
/**
* 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.
* @format DECIMAL_VALUE
*/
value?: string | null;
}
interface ExternalEvent {
/** External event registration URL. */
registration?: string;
}
declare enum VisitorType {
/** Site visitor (including member) */
VISITOR = "VISITOR",
/** Site member */
MEMBER = "MEMBER",
/** Site visitor or member */
VISITOR_OR_MEMBER = "VISITOR_OR_MEMBER"
}
/** @enumType */
type VisitorTypeWithLiterals = VisitorType | 'VISITOR' | 'MEMBER' | 'VISITOR_OR_MEMBER';
interface CalendarLinks {
/** "Add to Google calendar" URL. */
google?: string;
/** "Download ICS calendar file" URL. */
ics?: string;
}
/** Site URL components */
interface SiteUrl {
/**
* Base URL. For premium sites, this will be the domain.
* For free sites, this would be site URL (e.g `mysite.wixsite.com/mysite`)
*/
base?: string;
/** The path to that page - e.g `/my-events/weekly-meetup-2` */
path?: string;
}
/**
* The form defines which elements are displayed to a site visitor during the registration process (RSVP or checkout).
* It also contains customizable messages and labels.
*
*
* A form is an ordered list of controls (blocks), which accept guest information into a field input.
*
* Each control contains one or more nested inputs. For example, `Name` control has two inputs:
* - First Name
* - Last Name
*
* By default, name and email controls are always required and are pinned to the top of the form.
*/
interface Form {
/** Nested fields as an ordered list. */
controls?: InputControl[];
/**
* Set of defined form messages displayed in the UI before, during, and after a registration flow.
* Includes the configuration of form titles, response labels, "thank you" messages, and call-to-action texts.
*/
messages?: FormMessages;
}
/**
* A block of nested fields.
* Used to aggregate similar inputs like First Name and Last Name.
*/
interface InputControl {
/** Field control type. */
type?: InputControlTypeWithLiterals;
/** Whether the control is mandatory (such as `name` & `email`). When `true`, only the label can be changed. */
system?: boolean;
/**
* Deprecated: Use `id` or `_id`.
* @deprecated
*/
name?: string;
/** Child inputs. */
inputs?: Input[];
/**
* *Deprecated:** Use `controls.inputs.label`.
* @deprecated
*/
label?: string;
/** Field controls are sorted by this value in ascending order. */
orderIndex?: number;
/** Unique control ID. */
id?: string;
/**
* Whether the input control is deleted.
* @readonly
*/
deleted?: boolean | null;
}
declare enum InputControlType {
/** Single text value field. */
INPUT = "INPUT",
/** Single text value field with multiple lines. */
TEXTAREA = "TEXTAREA",
/** Single-choice field with predefined values. */
DROPDOWN = "DROPDOWN",
/** Single-choice field with predefined values. */
RADIO = "RADIO",
/** Multiple-choice field with predefined values. */
CHECKBOX = "CHECKBOX",
/** Fields for entering first and last names. */
NAME = "NAME",
/** Fields for additional guests and their respective names. */
GUEST_CONTROL = "GUEST_CONTROL",
/** Single-line address field. */
ADDRESS_SHORT = "ADDRESS_SHORT",
/** Full address field with multiple lines. */
ADDRESS_FULL = "ADDRESS_FULL",
/** Fields for entering year, month, and day. */
DATE = "DATE"
}
/** @enumType */
type InputControlTypeWithLiterals = InputControlType | 'INPUT' | 'TEXTAREA' | 'DROPDOWN' | 'RADIO' | 'CHECKBOX' | 'NAME' | 'GUEST_CONTROL' | 'ADDRESS_SHORT' | 'ADDRESS_FULL' | 'DATE';
/** Child inputs. */
interface Input {
/** Field name. */
name?: string;
/**
* *Deprecated:** Use `controls.inputs.type.TEXT_ARRAY`.
* @deprecated
*/
array?: boolean;
/** Main field label. */
label?: string;
/** Additional labels for multi-valued fields such as address. */
additionalLabels?: Record;
/** Predefined choice options for fields, such as dropdown. */
options?: string[];
/** Whether field is mandatory. */
mandatory?: boolean;
/** Maximum number of accepted characters (relevant for text fields). */
maxLength?: number;
/**
* Type which determines field format.
* Used to validate submitted response.
*/
type?: ValueTypeWithLiterals;
/**
* The maximum number of accepted values for array input.
*
* **Note:** Only applicable for `TEXT_ARRAY` input fields.
*/
maxSize?: number | null;
/**
* Default option initially selected when an input has multiple choices.
*
* Defaults to first (0th) option, if not configured.
* Currently only applicable for `type.dropdown`.
*/
defaultOptionSelection?: OptionSelection;
/**
* Additional labels for multi-valued fields, such as address.
* @readonly
*/
labels?: Label[];
}
declare enum ValueType {
TEXT = "TEXT",
NUMBER = "NUMBER",
TEXT_ARRAY = "TEXT_ARRAY",
DATE_TIME = "DATE_TIME",
ADDRESS = "ADDRESS"
}
/** @enumType */
type ValueTypeWithLiterals = ValueType | 'TEXT' | 'NUMBER' | 'TEXT_ARRAY' | 'DATE_TIME' | 'ADDRESS';
/**
* Describes initially selected option when an input has multiple choices.
* Defaults to first (0th) option if not configured.
*/
interface OptionSelection extends OptionSelectionSelectedOptionOneOf {
/**
* 0-based index from predefined `controls.inputs.options` which is initial selection.
* @max 199
*/
optionIndex?: number;
/**
* Placeholder hint describing expected choices, such as "Please select".
* Considered an empty choice.
* @maxLength 200
*/
placeholderText?: string;
}
/** @oneof */
interface OptionSelectionSelectedOptionOneOf {
/**
* 0-based index from predefined `controls.inputs.options` which is initial selection.
* @max 199
*/
optionIndex?: number;
/**
* Placeholder hint describing expected choices, such as "Please select".
* Considered an empty choice.
* @maxLength 200
*/
placeholderText?: string;
}
interface Label {
/** Field name. */
name?: string;
/** Field label. */
label?: string;
}
/**
* Defines form messages shown in UI before, during, and after registration flow.
* It enables configuration of form titles, response labels, "thank you" messages, and call-to-action texts.
*/
interface FormMessages {
/** [RSVP form](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/introduction) messages. */
rsvp?: RsvpFormMessages;
/** Checkout form messages. */
checkout?: CheckoutFormMessages;
/** Messages shown when event registration is closed. */
registrationClosed?: RegistrationClosedMessages;
/** Messages shown when event tickets are unavailable. */
ticketsUnavailable?: TicketsUnavailableMessages;
}
interface RsvpFormMessages {
/** Label text indicating RSVP's `status` is `"YES"`. */
rsvpYesOption?: string;
/** Label text indicating RSVP's `status` is `"NO"`. */
rsvpNoOption?: string;
/** Messages displayed when an RSVP's `status` is set to `"YES"`. */
positiveMessages?: Positive;
/** Messages displayed when an RSVP's `status` is set to `"WAITLIST"`, for when the event is full and a waitlist is available). */
waitlistMessages?: Positive;
/** Messages displayed when an RSVP's `status` is set to `"NO"`. */
negativeMessages?: Negative;
/** "Submit form" call-to-action label text. */
submitActionLabel?: string;
}
/** Confirmation messages shown after registration. */
interface PositiveResponseConfirmation {
/** Confirmation message title. */
title?: string;
/** Confirmation message text. */
message?: string;
/** "Add to calendar" call-to-action label text. */
addToCalendarActionLabel?: string;
/** "Share event" call-to-action label text. */
shareActionLabel?: string;
}
/** Confirmation messages shown after registration. */
interface NegativeResponseConfirmation {
/** Confirmation message title. */
title?: string;
/** "Share event" call-to-action label text. */
shareActionLabel?: string;
}
/** Set of messages shown during registration when RSVP response is positive. */
interface Positive {
/** Main form title for positive response. */
title?: string;
/** Confirmation messages shown after registration. */
confirmation?: PositiveResponseConfirmation;
}
/** A set of messages shown during registration with negative response */
interface Negative {
/** Main form title for negative response. */
title?: string;
/** Confirmation messages shown after registration. */
confirmation?: NegativeResponseConfirmation;
}
interface CheckoutFormMessages {
/** Main form title for response. */
title?: string;
/** Submit form call-to-action label text. */
submitActionLabel?: string;
/** Confirmation messages shown after checkout. */
confirmation?: ResponseConfirmation;
}
/** Confirmation messages shown after checkout. */
interface ResponseConfirmation {
/** Confirmation message title. */
title?: string;
/** Confirmation message text. */
message?: string;
/** "Download tickets" call-to-action label text. */
downloadTicketsLabel?: string;
/** "Add to calendar" call-to-action label text. */
addToCalendarLabel?: string;
/** "Share event" call-to-action label text. */
shareEventLabel?: string;
}
interface RegistrationClosedMessages {
/** Message shown when event registration is closed. */
message?: string;
/** "Explore other events" call-to-action label text. */
exploreEventsActionLabel?: string;
}
interface TicketsUnavailableMessages {
/** Message shown when event tickets are unavailable. */
message?: string;
/** "Explore other events" call-to-action label text. */
exploreEventsActionLabel?: string;
}
interface Dashboard {
/** Guest RSVP summary. */
rsvpSummary?: RsvpSummary;
/**
* Summary of revenue and tickets sold.
* (Archived orders are not included).
*/
ticketingSummary?: TicketingSummary;
/** Who cancelled the event and when. Set only for cancelled events. */
cancellationInfo?: CancellationInfo;
}
interface RsvpSummary {
/** Total number of RSVPs. */
total?: number;
/** Number of RSVPs with status `YES`. */
yes?: number;
/** Number of RSVPs with status `NO`. */
no?: number;
/** Number of RSVPs in waitlist. */
waitlist?: number;
}
interface TicketingSummary {
/** Number of tickets sold. */
tickets?: number;
/**
* Total revenue, excluding fees.
* (taxes and payment provider fees are not deducted.)
*/
revenue?: Money;
/** Whether currency is locked and cannot be changed (generally occurs after the first order in the specified currency has been created). */
currencyLocked?: boolean;
/** Number of orders placed. */
orders?: number;
/** Total balance of confirmed transactions. */
totalSales?: Money;
}
/** Who cancelled the event and when. Populated only for cancelled events; carries PII. */
interface CancellationInfo {
/** When the event was cancelled. */
canceledDate?: Date | null;
/** Whether a user, an app, or the system performed the cancellation. */
actorType?: CancellationActorTypeWithLiterals;
/**
* Display name of the canceller. Set only for user cancellations.
* @maxLength 200
*/
actorName?: string;
/**
* Email of the canceller. Set only for user cancellations.
* @format EMAIL
*/
actorEmail?: string;
}
interface GuestListConfig {
/** Whether members can see other members attending the event (defaults to true). */
publicGuestList?: boolean;
}
interface Feed {
/** Event discussion feed token. */
token?: string;
}
interface OnlineConferencing {
config?: OnlineConferencingConfig;
session?: OnlineConferencingSession;
}
interface OnlineConferencingConfig {
/**
* Whether online conferencing is enabled (not supported for TBD schedules).
* When enabled, links to join conferencing are generated and provided to guests.
*/
enabled?: boolean;
/**
* Conferencing provider ID.
* @format GUID
*/
providerId?: string | null;
/** Conference type */
conferenceType?: ConferenceTypeWithLiterals;
}
declare enum ConferenceType {
/** Everyone in the meeting can publish and subscribe video and audio. */
MEETING = "MEETING",
/** Guests can only subscribe to video and audio. */
WEBINAR = "WEBINAR"
}
/** @enumType */
type ConferenceTypeWithLiterals = ConferenceType | 'MEETING' | 'WEBINAR';
interface OnlineConferencingSession {
/**
* Link for event host to start the online conference session.
* @readonly
*/
hostLink?: string;
/**
* Link for guests to join the online conference session.
* @readonly
*/
guestLink?: string;
/**
* The password required to join online conferencing session (when relevant).
* @readonly
*/
password?: string | null;
/**
* Indicates that session was created successfully on providers side.
* @readonly
*/
sessionCreated?: boolean | null;
/**
* Unique session id
* @readonly
*/
sessionId?: string | null;
}
interface SeoSettings {
/**
* URL slug
* @maxLength 130
*/
slug?: string;
/** Advanced SEO data */
advancedSeoData?: SeoSchema;
/**
* Hidden from SEO Site Map
* @readonly
*/
hidden?: boolean | null;
}
/**
* The SEO data for a single page or dynamic item, in the shape stored today.
*
* FROZEN. Existing server code maps onto this message field by field, so its
* field set must never change (see the file header). New writers use
* `SeoSchemaV2`.
*
* These tags are rendered into the of the HTML document and are not
* visible on the page itself. They override every other source of tags
* (site defaults, vertical presets, patterns) for this page.
*/
interface SeoSchema {
/**
* The tags rendered into , in no particular order. Render order is
* decided by the renderer, not by position in this list.
*
* No maxSize: this list is already populated by data written years ago, and
* a bound added now could reject a page that is already stored.
*/
tags?: Tag[];
/** Page-level SEO settings that are not themselves tags. */
settings?: Settings;
}
/** A keyword term the user is targeting. */
interface Keyword {
/**
* The term itself, e.g. "trail running shoes".
*
* No maxLength, for the same reason as the legacy tag fields: keywords are
* already stored, and a bound added now could reject a record written
* before the bound existed. The flynt `missing-string-validations` warning
* on this field is accepted deliberately.
*/
term?: string;
/** Whether this is the page's primary focus keyword. At most one per page. */
isMain?: boolean;
/**
* Which surface added the term, e.g. a panel or a suggestion flow. Used for
* attribution in BI. Opaque to the renderer.
* @maxLength 1000
*/
origin?: string | null;
}
/**
* One tag in the page's .
*
* Not deprecated, and with no removal date, deliberately: stored data is
* never migrated, so this shape stays valid input forever. `seo-renderer`
* normalizes both shapes on READ.
*/
interface Tag {
/**
* Legacy. Was a free-form string: "title" | "meta" | "script" | "link".
* The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes
* the invalid combinations unrepresentable rather than merely discouraged.
*
* Which of these an API actually accepts depends on where the tag is being
* set: this list is not a blanket guarantee across every API that reuses
* this message. Site SEO Tags in particular accepts only `meta` (see
* `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation
* error even though they appear here — check the field description of the
* specific `tags`-typed field you are writing to.
*
* Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
* "application/ld+json" carrying structured data) are supported only when
* `custom` is unset or `false`. Setting `custom: true` on a `title` or
* `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because
* `custom: true` routes the write through the site's Advanced/Custom Tags
* list. To write structured data, omit `custom` (or set it to `false`).
*
* No length limit: this field holds data written years ago by writers we
* are not migrating. A constraint here could reject a record that is
* already stored, which is exactly the promise this design makes.
*/
type?: string;
/**
* Legacy. Was an untyped bag of HTML attributes.
* Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.
*/
props?: Record | null;
/**
* Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2`
* its contents are split by purpose: per-page structured-data state moves to
* StructuredDataTag, authorship to `written_by`, and render-time preset
* logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the
* stored document entirely — it belongs to the preset definition, not to the
* page. See the design log for the full key-by-key mapping.
*/
meta?: Record | null;
/**
* Legacy. Was the tag's inner content, doubling as the JSON-LD payload
* for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and
* `StructuredDataTag.json_ld`.
* No length limit, for the same reason as `type` above.
*/
children?: string;
/**
* Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
* i.e. an entry from the site's Advanced/Custom Tags list.
*
* Setting this to `true` on a write restricts which `type` values are
* accepted — the same restriction the Advanced/Custom Tags UI enforces.
* `title` and `script` tags (including JSON-LD structured data) must be sent
* with `custom` omitted or `false`; sending them with `custom: true` is
* rejected with `TAG_TYPE_NOT_ALLOWED`.
*
* Note this is a separate restriction from Site SEO Tags' own type
* restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags
* rejects `script` (e.g. for site-wide structured data) unconditionally.
* There is currently no way to set site-wide, every-page structured data
* through any of these APIs — write a per-page `script` tag through the Item
* SEO Tags API instead.
*
* This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag
* (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed
* default/pattern — standard tags always resolve with `custom: false`, even when their content comes
* from a page's manually saved SEO title/description override. Don't use this field to verify whether
* a live page reflects a manual per-page SEO edit.
*
* Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read
* only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor
* or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the
* response entirely — there, `false` means this API could not tell, not that no custom tag exists.
* Pass `seoData` explicitly to resolve against a known set of tags.
*
* `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.
*/
custom?: boolean;
/**
* Whether the tag is excluded from the rendered .
*
* A disabled tag is still stored, so the user can re-enable it and so a
* pattern-provided tag stays suppressed on this page. Default false.
*/
disabled?: boolean;
}
/** Page-level SEO settings that are not tags. */
interface Settings {
/**
* Whether to suppress the automatic redirect from this page's previous URL to
* its current one after a slug change.
*
* Default false, meaning the redirect IS created. The field is named for the
* exception rather than the rule, which reads backwards; kept as-is because
* renaming a stored boolean is not worth the migration.
*/
preventAutoRedirect?: boolean;
/**
* Keyword terms the user is targeting for this page. Used by the SEO
* assistant and checklist; never rendered into .
*
* 20 is a sanity bound, not the product limit. v1 declared 5 — the number
* the panel happens to allow today — which is exactly the mistake we are
* fixing for structured data. A product decision to allow 8 should not need
* a proto release, so the panel owns that number and the proto only stops
* something absurd.
* @maxSize 20
*/
keywords?: Keyword[];
}
interface Agenda {
/** Whether the schedule is enabled for the event. */
enabled?: boolean;
/**
* Agenda page URL.
* @readonly
*/
pageUrl?: SiteUrl;
}
/**
* 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.
*
* You can manage Categories, assign events to them, and use them to control the selection and order of events across different pages and widgets.
*
* Read more about [Categories](https://support.wix.com/en/article/creating-and-displaying-event-categories).
*/
interface Category {
/**
* Category ID.
* @format GUID
* @readonly
*/
id?: string;
/**
* Category name.
* @minLength 1
* @maxLength 30
*/
name?: string;
/**
* Date and time when category was created.
* @readonly
*/
createdDate?: Date | null;
/**
* The total number of draft and published events assigned to the category.
* @readonly
*/
counts?: CategoryCounts;
/**
* Category state.
*
* Default: `MANUAL`.
*
* **Note:** The WIX_EVENTS.MANAGE_AUTO_CATEGORIES permission scope is required to use states other than `MANUAL`.
* @maxSize 3
*/
states?: CategoryStateStateWithLiterals[];
}
interface CategoryCounts {
/** Total number of draft events assigned to the category. */
assignedEventsCount?: number | null;
/** Total number of published events assigned to the category. Deleted events are excluded. */
assignedDraftEventsCount?: number | null;
}
declare enum CategoryStateState {
/** Categoty is created manually by the user. */
MANUAL = "MANUAL",
/** Category is created automatically. */
AUTO = "AUTO",
/** Category is created automatically when publishing recurring events. */
RECURRING_EVENT = "RECURRING_EVENT",
/** Category is hidden. */
HIDDEN = "HIDDEN"
}
/** @enumType */
type CategoryStateStateWithLiterals = CategoryStateState | 'MANUAL' | 'AUTO' | 'RECURRING_EVENT' | 'HIDDEN';
interface EventDisplaySettings {
/** Whether event details button is hidden. Only available for events with no registration. */
hideEventDetailsButton?: boolean | null;
/** Disables event details page visibility. If event has an external registration configured visitors will be redirected from this page. */
hideEventDetailsPage?: boolean | null;
}
interface LabellingSettings {
}
interface RichContent {
/** Node objects representing a rich content document. */
nodes?: Node[];
/** Object metadata. */
metadata?: Metadata;
/** Global styling for header, paragraph, block quote, and code block nodes in the object. */
documentStyle?: DocumentStyle;
}
interface Node extends NodeDataOneOf {
/** Data for a button node. */
buttonData?: ButtonData;
/** Data for a code block node. */
codeBlockData?: CodeBlockData;
/** Data for a divider node. */
dividerData?: DividerData;
/** Data for a file node. */
fileData?: FileData;
/** Data for a gallery node. */
galleryData?: GalleryData;
/** Data for a GIF node. */
gifData?: GIFData;
/** Data for a heading node. */
headingData?: HeadingData;
/** Data for an embedded HTML node. */
htmlData?: HTMLData;
/** Data for an image node. */
imageData?: ImageData;
/** Data for a link preview node. */
linkPreviewData?: LinkPreviewData;
/** @deprecated */
mapData?: MapData;
/** Data for a paragraph node. */
paragraphData?: ParagraphData;
/** Data for a poll node. */
pollData?: PollData;
/** Data for a text node. Used to apply decorations to text. */
textData?: TextData;
/** Data for an app embed node. */
appEmbedData?: AppEmbedData;
/** Data for a video node. */
videoData?: VideoData;
/** Data for an oEmbed node. */
embedData?: EmbedData;
/** Data for a collapsible list node. */
collapsibleListData?: CollapsibleListData;
/** Data for a table node. */
tableData?: TableData;
/** Data for a table cell node. */
tableCellData?: TableCellData;
/** Data for a custom external node. */
externalData?: Record | null;
/** Data for an audio node. */
audioData?: AudioData;
/** Data for an ordered list node. */
orderedListData?: OrderedListData;
/** Data for a bulleted list node. */
bulletedListData?: BulletedListData;
/** Data for a block quote node. */
blockquoteData?: BlockquoteData;
/** Data for a caption node. */
captionData?: CaptionData;
/** Data for a layout node. Reserved for future use. */
layoutData?: LayoutData;
/** Data for a cell node. */
layoutCellData?: LayoutCellData;
/** Data for a shape node. */
shapeData?: ShapeData;
/** Data for a card node. */
cardData?: CardData;
/** Data for a table of contents node. */
tocData?: TocData;
/** Data for a smart block node. */
smartBlockData?: SmartBlockData;
/** Data for a smart block cell node. */
smartBlockCellData?: SmartBlockCellData;
/** Data for a checkbox list node. */
checkboxListData?: CheckboxListData;
/** Data for a list item node. */
listItemData?: ListItemNodeData;
/** Data for a slot node. */
slotData?: SlotData;
/** 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. */
type?: NodeTypeWithLiterals;
/** Node ID. */
id?: string;
/** A list of child nodes. */
nodes?: Node[];
/** Padding and background color styling for the node. */
style?: NodeStyle;
}
/** @oneof */
interface NodeDataOneOf {
/** Data for a button node. */
buttonData?: ButtonData;
/** Data for a code block node. */
codeBlockData?: CodeBlockData;
/** Data for a divider node. */
dividerData?: DividerData;
/** Data for a file node. */
fileData?: FileData;
/** Data for a gallery node. */
galleryData?: GalleryData;
/** Data for a GIF node. */
gifData?: GIFData;
/** Data for a heading node. */
headingData?: HeadingData;
/** Data for an embedded HTML node. */
htmlData?: HTMLData;
/** Data for an image node. */
imageData?: ImageData;
/** Data for a link preview node. */
linkPreviewData?: LinkPreviewData;
/** @deprecated */
mapData?: MapData;
/** Data for a paragraph node. */
paragraphData?: ParagraphData;
/** Data for a poll node. */
pollData?: PollData;
/** Data for a text node. Used to apply decorations to text. */
textData?: TextData;
/** Data for an app embed node. */
appEmbedData?: AppEmbedData;
/** Data for a video node. */
videoData?: VideoData;
/** Data for an oEmbed node. */
embedData?: EmbedData;
/** Data for a collapsible list node. */
collapsibleListData?: CollapsibleListData;
/** Data for a table node. */
tableData?: TableData;
/** Data for a table cell node. */
tableCellData?: TableCellData;
/** Data for a custom external node. */
externalData?: Record | null;
/** Data for an audio node. */
audioData?: AudioData;
/** Data for an ordered list node. */
orderedListData?: OrderedListData;
/** Data for a bulleted list node. */
bulletedListData?: BulletedListData;
/** Data for a block quote node. */
blockquoteData?: BlockquoteData;
/** Data for a caption node. */
captionData?: CaptionData;
/** Data for a layout node. Reserved for future use. */
layoutData?: LayoutData;
/** Data for a cell node. */
layoutCellData?: LayoutCellData;
/** Data for a shape node. */
shapeData?: ShapeData;
/** Data for a card node. */
cardData?: CardData;
/** Data for a table of contents node. */
tocData?: TocData;
/** Data for a smart block node. */
smartBlockData?: SmartBlockData;
/** Data for a smart block cell node. */
smartBlockCellData?: SmartBlockCellData;
/** Data for a checkbox list node. */
checkboxListData?: CheckboxListData;
/** Data for a list item node. */
listItemData?: ListItemNodeData;
/** Data for a slot node. */
slotData?: SlotData;
}
declare enum NodeType {
PARAGRAPH = "PARAGRAPH",
TEXT = "TEXT",
HEADING = "HEADING",
BULLETED_LIST = "BULLETED_LIST",
ORDERED_LIST = "ORDERED_LIST",
LIST_ITEM = "LIST_ITEM",
BLOCKQUOTE = "BLOCKQUOTE",
CODE_BLOCK = "CODE_BLOCK",
VIDEO = "VIDEO",
DIVIDER = "DIVIDER",
FILE = "FILE",
GALLERY = "GALLERY",
GIF = "GIF",
HTML = "HTML",
IMAGE = "IMAGE",
LINK_PREVIEW = "LINK_PREVIEW",
/** @deprecated */
MAP = "MAP",
POLL = "POLL",
APP_EMBED = "APP_EMBED",
BUTTON = "BUTTON",
COLLAPSIBLE_LIST = "COLLAPSIBLE_LIST",
TABLE = "TABLE",
EMBED = "EMBED",
COLLAPSIBLE_ITEM = "COLLAPSIBLE_ITEM",
COLLAPSIBLE_ITEM_TITLE = "COLLAPSIBLE_ITEM_TITLE",
COLLAPSIBLE_ITEM_BODY = "COLLAPSIBLE_ITEM_BODY",
TABLE_CELL = "TABLE_CELL",
TABLE_ROW = "TABLE_ROW",
EXTERNAL = "EXTERNAL",
AUDIO = "AUDIO",
CAPTION = "CAPTION",
LAYOUT = "LAYOUT",
LAYOUT_CELL = "LAYOUT_CELL",
SHAPE = "SHAPE",
CARD = "CARD",
TOC = "TOC",
SMART_BLOCK = "SMART_BLOCK",
SMART_BLOCK_CELL = "SMART_BLOCK_CELL",
CHECKBOX_LIST = "CHECKBOX_LIST",
SLOT = "SLOT"
}
/** @enumType */
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE' | 'CARD' | 'TOC' | 'SMART_BLOCK' | 'SMART_BLOCK_CELL' | 'CHECKBOX_LIST' | 'SLOT';
interface NodeStyle {
/** The top padding value in pixels. */
paddingTop?: string | null;
/** The bottom padding value in pixels. */
paddingBottom?: string | null;
/** The background color as a hexadecimal value. */
backgroundColor?: string | null;
}
interface ButtonData {
/** Styling for the button's container. */
containerData?: PluginContainerData;
/** The button type. */
type?: ButtonDataTypeWithLiterals;
/** Styling for the button. */
styles?: Styles;
/** The text to display on the button. */
text?: string | null;
/** Button link details. */
link?: Link;
/** Node animation. */
animation?: Animation;
}
/** Background type */
declare enum BackgroundType {
/** Solid color background */
COLOR = "COLOR",
/** Gradient background */
GRADIENT = "GRADIENT"
}
/** @enumType */
type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'GRADIENT';
interface Gradient {
/** Gradient type. */
type?: GradientTypeWithLiterals;
/**
* Color stops for the gradient.
* @maxSize 1000
*/
stops?: Stop[];
/** Angle in degrees for linear gradient (0-360). */
angle?: number | null;
/**
* Horizontal center position for radial gradient (0-100).
* @max 100
*/
centerX?: number | null;
/**
* Vertical center position for radial gradient (0-100).
* @max 100
*/
centerY?: number | null;
}
/** Gradient type. */
declare enum GradientType {
/** Linear gradient. */
LINEAR = "LINEAR",
/** Radial gradient. */
RADIAL = "RADIAL"
}
/** @enumType */
type GradientTypeWithLiterals = GradientType | 'LINEAR' | 'RADIAL';
/** A single color stop in the gradient. */
interface Stop {
/**
* Stop color as hex value.
* @maxLength 19
*/
color?: string | null;
/** Stop position (0-1). */
position?: number | null;
}
interface Border {
/**
* Deprecated: Use `borderWidth` in `styles` instead.
* @deprecated
*/
width?: number | null;
/**
* Deprecated: Use `borderRadius` in `styles` instead.
* @deprecated
*/
radius?: number | null;
}
interface Colors {
/**
* Deprecated: Use `textColor` in `styles` instead.
* @deprecated
*/
text?: string | null;
/**
* Deprecated: Use `borderColor` in `styles` instead.
* @deprecated
*/
border?: string | null;
/**
* Deprecated: Use `backgroundColor` in `styles` instead.
* @deprecated
*/
background?: string | null;
}
/** Background styling (color or gradient) */
interface Background {
/** Background type. */
type?: BackgroundTypeWithLiterals;
/**
* Background color as a hexadecimal value.
* @maxLength 19
*/
color?: string | null;
/** Gradient configuration. */
gradient?: Gradient;
}
interface PluginContainerData {
/** The width of the node when it's displayed. */
width?: PluginContainerDataWidth;
/** The node's alignment within its container. */
alignment?: PluginContainerDataAlignmentWithLiterals;
/** Spoiler cover settings for the node. */
spoiler?: Spoiler;
/** The height of the node when it's displayed. */
height?: Height;
/** 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`. */
textWrap?: boolean | null;
}
declare enum WidthType {
/** Width matches the content width */
CONTENT = "CONTENT",
/** Small Width */
SMALL = "SMALL",
/** Width will match the original asset width */
ORIGINAL = "ORIGINAL",
/** coast-to-coast display */
FULL_WIDTH = "FULL_WIDTH"
}
/** @enumType */
type WidthTypeWithLiterals = WidthType | 'CONTENT' | 'SMALL' | 'ORIGINAL' | 'FULL_WIDTH';
interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
/**
* One of the following predefined width options:
* `CONTENT`: The width of the container matches the content width.
* `SMALL`: A small width.
* `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
* `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
*/
size?: WidthTypeWithLiterals;
/** A custom width value in pixels. */
custom?: string | null;
}
/** @oneof */
interface PluginContainerDataWidthDataOneOf {
/**
* One of the following predefined width options:
* `CONTENT`: The width of the container matches the content width.
* `SMALL`: A small width.
* `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
* `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
*/
size?: WidthTypeWithLiterals;
/** A custom width value in pixels. */
custom?: string | null;
}
declare enum PluginContainerDataAlignment {
/** Center Alignment */
CENTER = "CENTER",
/** Left Alignment */
LEFT = "LEFT",
/** Right Alignment */
RIGHT = "RIGHT"
}
/** @enumType */
type PluginContainerDataAlignmentWithLiterals = PluginContainerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
interface Spoiler {
/** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
enabled?: boolean | null;
/** The description displayed on top of the spoiler cover. */
description?: string | null;
/** The text for the button used to remove the spoiler cover. */
buttonText?: string | null;
}
interface Height {
/** A custom height value in pixels. */
custom?: string | null;
}
declare enum ButtonDataType {
/** Regular link button */
LINK = "LINK",
/** Triggers custom action that is defined in plugin configuration by the consumer */
ACTION = "ACTION"
}
/** @enumType */
type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';
interface Styles {
/**
* Deprecated: Use `borderWidth` and `borderRadius` instead.
* @deprecated
*/
border?: Border;
/**
* Deprecated: Use `textColor`, `borderColor` and `backgroundColor` instead.
* @deprecated
*/
colors?: Colors;
/** Border width in pixels. */
borderWidth?: number | null;
/**
* Deprecated: Use `borderWidth` for normal/hover states instead.
* @deprecated
*/
borderWidthHover?: number | null;
/** Border radius in pixels. */
borderRadius?: number | null;
/**
* Border color as a hexadecimal value.
* @maxLength 19
*/
borderColor?: string | null;
/**
* Border color as a hexadecimal value (hover state).
* @maxLength 19
*/
borderColorHover?: string | null;
/**
* Text color as a hexadecimal value.
* @maxLength 19
*/
textColor?: string | null;
/**
* Text color as a hexadecimal value (hover state).
* @maxLength 19
*/
textColorHover?: string | null;
/**
* Deprecated: Use `background` instead.
* @maxLength 19
* @deprecated
*/
backgroundColor?: string | null;
/**
* Deprecated: Use `backgroundHover` instead.
* @maxLength 19
* @deprecated
*/
backgroundColorHover?: string | null;
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
buttonSize?: string | null;
/** Background styling (color or gradient). */
background?: Background;
/** Background styling for hover state (color or gradient). */
backgroundHover?: Background;
}
interface Link extends LinkDataOneOf {
/** The absolute URL for the linked document. */
url?: string;
/** The target node's ID. Used for linking to another node in this object. */
anchor?: string;
/**
* he HTML `target` attribute value for the link. This property defines where the linked document opens as follows:
* `SELF` - Default. Opens the linked document in the same frame as the link.
* `BLANK` - Opens the linked document in a new browser tab or window.
* `PARENT` - Opens the linked document in the link's parent frame.
* `TOP` - Opens the linked document in the full body of the link's browser tab or window.
*/
target?: TargetWithLiterals;
/** The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document. */
rel?: Rel;
/** A serialized object used for a custom or external link panel. */
customData?: string | null;
}
/** @oneof */
interface LinkDataOneOf {
/** The absolute URL for the linked document. */
url?: string;
/** The target node's ID. Used for linking to another node in this object. */
anchor?: string;
}
declare enum Target {
/** Opens the linked document in the same frame as it was clicked (this is default) */
SELF = "SELF",
/** Opens the linked document in a new window or tab */
BLANK = "BLANK",
/** Opens the linked document in the parent frame */
PARENT = "PARENT",
/** Opens the linked document in the full body of the window */
TOP = "TOP"
}
/** @enumType */
type TargetWithLiterals = Target | 'SELF' | 'BLANK' | 'PARENT' | 'TOP';
interface Rel {
/** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
nofollow?: boolean | null;
/** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
sponsored?: boolean | null;
/** 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`. */
ugc?: boolean | null;
/** Indicates that this link protect referral information from being passed to the target website. */
noreferrer?: boolean | null;
}
interface Animation {
/** Animation kind. */
type?: AnimationTypeWithLiterals;
/** Entrance animation, played once when the node first enters the viewport (VIEW). */
entrance?: EntranceAnimation;
/** Looping animation, repeated indefinitely while the node is on the page. When combined with entrance, the loop starts after the entrance finishes (VIEW). */
loop?: LoopAnimation;
/**
* POINTER carries its fields directly on the union member in the JTD wall, hence
* flat fields here (ts-proto camelCase must equal the JTD property names). A future
* kind that also needs an `effect` field would contend for this JSON name.
*/
effect?: PointerEffect;
/** How quickly the node settles toward the pointer, in milliseconds (POINTER). */
transitionDuration?: number | null;
}
declare enum AnimationType {
/** Animations that play while the node is in view. */
VIEW = "VIEW",
/** Animations driven by the visitor's mouse position. */
POINTER = "POINTER"
}
/** @enumType */
type AnimationTypeWithLiterals = AnimationType | 'VIEW' | 'POINTER';
interface EntranceAnimation {
/** The entrance effect to play. */
effect?: EntranceEffect;
/** Effect duration in milliseconds. Each effect has its own default. */
duration?: number | null;
/** Delay before the effect starts, in milliseconds. */
delay?: number | null;
}
interface EntranceEffect {
/** The entrance effect type. */
type?: EntranceEffectTypeWithLiterals;
/**
* Direction the effect enters from. Allowed values depend on the effect type (e.g. TOP/RIGHT/BOTTOM/LEFT, the diagonals with or without CENTER, corners, HORIZONTAL/VERTICAL, CLOCKWISE/COUNTER_CLOCKWISE).
* @maxLength 20
*/
direction?: string | null;
/**
* Clip-path shape: ELLIPSE, CIRCLE, RECTANGLE, or DIAMOND (SHAPE).
* @maxLength 12
*/
shape?: string | null;
/**
* Motion style: GENTLE, MODERATE, or INTENSE. Only the effects that expose one accept it.
* @maxLength 100
*/
easing?: string | null;
}
declare enum EntranceEffectType {
/** Fades in from fully transparent to fully opaque. */
FADE = "FADE",
/** Enters along a 3D arc path. */
ARC = "ARC",
/** Transitions from blurred to sharp. */
BLUR = "BLUR",
/** Bounces into place with an elastic curve. */
BOUNCE = "BOUNCE",
/** Shrinks down from a larger size. */
DROP = "DROP",
/** Expands from a point, scaling to full size. */
EXPAND = "EXPAND",
/** Flips into view with a 3D rotation. */
FLIP = "FLIP",
/** Drifts gently into place. */
FLOAT = "FLOAT",
/** Unfolds from an edge as if hinged. */
FOLD = "FOLD",
/** Glides in smoothly from off-screen. */
GLIDE = "GLIDE",
/** Progressively revealed by an expanding clip-path. */
REVEAL = "REVEAL",
/** Appears through an expanding geometric clip-path shape. */
SHAPE = "SHAPE",
/** Revealed through shutter-like strips. */
SHUTTERS = "SHUTTERS",
/** Slides in from one side. */
SLIDE = "SLIDE",
/** Spins into view while scaling up. */
SPIN = "SPIN",
/** Tilts in from the side with 3D rotation. */
TILT = "TILT",
/** Rotates into view around a corner pivot. */
TURN = "TURN",
/** Expands from its horizontal or vertical center. */
WINK = "WINK"
}
/** @enumType */
type EntranceEffectTypeWithLiterals = EntranceEffectType | 'FADE' | 'ARC' | 'BLUR' | 'BOUNCE' | 'DROP' | 'EXPAND' | 'FLIP' | 'FLOAT' | 'FOLD' | 'GLIDE' | 'REVEAL' | 'SHAPE' | 'SHUTTERS' | 'SLIDE' | 'SPIN' | 'TILT' | 'TURN' | 'WINK';
interface LoopAnimation {
/** The looping effect to repeat. */
effect?: LoopEffect;
/** Duration of a single iteration in milliseconds. Each effect has its own default. */
duration?: number | null;
/** Pause between iterations in milliseconds. */
iterationDelay?: number | null;
}
interface LoopEffect {
/** The looping effect type. */
type?: LoopEffectTypeWithLiterals;
/**
* Direction of the effect. Allowed values depend on the effect type (e.g. TOP/RIGHT/BOTTOM/LEFT, LEFT/RIGHT, HORIZONTAL/VERTICAL with or without CENTER, CLOCKWISE/COUNTER_CLOCKWISE).
* @maxLength 20
*/
direction?: string | null;
/**
* Motion style: GENTLE, MODERATE, or INTENSE. Only the effects that expose one accept it.
* @maxLength 100
*/
easing?: string | null;
}
declare enum LoopEffectType {
/** Bounces up and down in place. */
BOUNCE = "BOUNCE",
/** Scales gently in and out along an axis. */
BREATHE = "BREATHE",
/** Drifts toward one side, then re-enters from the opposite side. */
CROSS = "CROSS",
/** Fades out to fully transparent and back in. */
FLASH = "FLASH",
/** Rotates a full turn around its horizontal or vertical axis. */
FLIP = "FLIP",
/** Folds back and forth around a hinged edge. */
FOLD = "FOLD",
/** Wobbles with a jelly-like skew. */
JELLO = "JELLO",
/** Nudges repeatedly toward a direction. */
POKE = "POKE",
/** Scales up and back down rhythmically. */
PULSE = "PULSE",
/** Stretches and squashes like a rubber band. */
RUBBER = "RUBBER",
/** Rotates continuously around its center. */
SPIN = "SPIN",
/** Swings back and forth around an edge pivot. */
SWING = "SWING",
/** Rocks side to side with an accumulating rotation. */
WIGGLE = "WIGGLE"
}
/** @enumType */
type LoopEffectTypeWithLiterals = LoopEffectType | 'BOUNCE' | 'BREATHE' | 'CROSS' | 'FLASH' | 'FLIP' | 'FOLD' | 'JELLO' | 'POKE' | 'PULSE' | 'RUBBER' | 'SPIN' | 'SWING' | 'WIGGLE';
interface PointerEffect {
/** The mouse effect type. */
type?: PointerEffectTypeWithLiterals;
/** Reacts away from the pointer instead of toward it. */
inverted?: boolean | null;
/**
* One field, two value spaces (the effect type says which): the axis the movement is constrained to — HORIZONTAL, VERTICAL, or BOTH (AIRY, SCALE, SKEW, TRACK, TRACK_3D) — or the edge/center axis the node swivels around — TOP, BOTTOM, LEFT, RIGHT, CENTER_HORIZONTAL, or CENTER_VERTICAL (SWIVEL). Only the effects that expose one accept it.
* @maxLength 20
*/
axis?: string | null;
/**
* Whether the node grows or shrinks as the pointer nears: UP or DOWN (SCALE).
* @maxLength 8
*/
direction?: string | null;
/**
* Motion style: GENTLE, MODERATE, or INTENSE.
* @maxLength 100
*/
easing?: string | null;
}
declare enum PointerEffectType {
/** Drifts loosely after the pointer with a light rotation. */
AIRY = "AIRY",
/** Squashes and stretches toward the pointer. */
BLOB = "BLOB",
/** Shifts after the pointer while blurring. */
BLUR = "BLUR",
/** Scales as the pointer approaches. */
SCALE = "SCALE",
/** Skews toward the pointer. */
SKEW = "SKEW",
/** Rotates around a pivot edge or axis, following the pointer. */
SWIVEL = "SWIVEL",
/** Tilts in 3D perspective toward the pointer. */
TILT_3D = "TILT_3D",
/** Follows the pointer's position. */
TRACK = "TRACK",
/** Follows the pointer with a 3D depth motion. */
TRACK_3D = "TRACK_3D"
}
/** @enumType */
type PointerEffectTypeWithLiterals = PointerEffectType | 'AIRY' | 'BLOB' | 'BLUR' | 'SCALE' | 'SKEW' | 'SWIVEL' | 'TILT_3D' | 'TRACK' | 'TRACK_3D';
interface CodeBlockData {
/** Styling for the code block's text. */
textStyle?: TextStyle;
/** Node animation. */
animation?: Animation;
}
interface TextStyle {
/** Text alignment. Defaults to `AUTO`. */
textAlignment?: TextAlignmentWithLiterals;
/** 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. */
lineHeight?: string | null;
/** Font size of an empty block: it sizes the empty line, its list marker and the text typed into it. Ignored on a block with text, which is sized by its text's `FONT_SIZE` decorations. */
fontSize?: FontSizeData;
}
declare enum TextAlignment {
/** browser default, eqivalent to `initial` */
AUTO = "AUTO",
/** Left align */
LEFT = "LEFT",
/** Right align */
RIGHT = "RIGHT",
/** Center align */
CENTER = "CENTER",
/** 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 */
JUSTIFY = "JUSTIFY"
}
/** @enumType */
type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
interface FontSizeData {
/** The units used for the font size. */
unit?: FontTypeWithLiterals;
/** Font size value. */
value?: number | null;
}
declare enum FontType {
PX = "PX",
EM = "EM"
}
/** @enumType */
type FontTypeWithLiterals = FontType | 'PX' | 'EM';
interface DividerData {
/** Styling for the divider's container. */
containerData?: PluginContainerData;
/** Divider line style. */
lineStyle?: LineStyleWithLiterals;
/** Divider width. */
width?: WidthWithLiterals;
/** Divider alignment. */
alignment?: DividerDataAlignmentWithLiterals;
/** Visual styling for the divider lines. */
styles?: DividerDataStyles;
/** Node animation. */
animation?: Animation;
}
declare enum LineCap {
/** Square line endings. */
SQUARE = "SQUARE",
/** Rounded line endings. */
ROUND = "ROUND"
}
/** @enumType */
type LineCapWithLiterals = LineCap | 'SQUARE' | 'ROUND';
declare enum LineStyle {
/** Single Line */
SINGLE = "SINGLE",
/** Double Line */
DOUBLE = "DOUBLE",
/** Dashed Line */
DASHED = "DASHED",
/** Dotted Line */
DOTTED = "DOTTED"
}
/** @enumType */
type LineStyleWithLiterals = LineStyle | 'SINGLE' | 'DOUBLE' | 'DASHED' | 'DOTTED';
declare enum Width {
/** Large line */
LARGE = "LARGE",
/** Medium line */
MEDIUM = "MEDIUM",
/** Small line */
SMALL = "SMALL"
}
/** @enumType */
type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
declare enum DividerDataAlignment {
/** Center alignment */
CENTER = "CENTER",
/** Left alignment */
LEFT = "LEFT",
/** Right alignment */
RIGHT = "RIGHT"
}
/** @enumType */
type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
interface DividerDataStyles {
/**
* Divider color as a hexadecimal value. An alpha channel controls opacity.
* @maxLength 19
*/
color?: string | null;
/** Divider line ending shape. */
lineCap?: LineCapWithLiterals;
/**
* Line thicknesses in pixels, ordered from first line to last line.
* @maxSize 10
*/
lineThickness?: number[];
/** Visible dash length for dashed dividers, in pixels. The pattern is snapped to a whole number of dashes so that the first and last dash touch the divider's edges - narrower containers show fewer dashes at the same size. */
dashLength?: number | null;
/** Visible gap between dashes or dots, in pixels. */
dashGap?: number | null;
/** Gap between divider lines in pixels. */
lineGap?: number | null;
}
interface FileData {
/** Styling for the file's container. */
containerData?: PluginContainerData;
/** The source for the file's data. */
src?: FileSource;
/** File name. */
name?: string | null;
/** File type. */
type?: string | null;
/**
* Use `sizeInKb` instead.
* @deprecated
*/
size?: number | null;
/** Settings for PDF files. */
pdfSettings?: PDFSettings;
/** File MIME type. */
mimeType?: string | null;
/** File path. */
path?: string | null;
/** File size in KB. */
sizeInKb?: string | null;
/** Node animation. */
animation?: Animation;
}
declare enum ViewMode {
/** No PDF view */
NONE = "NONE",
/** Full PDF view */
FULL = "FULL",
/** Mini PDF view */
MINI = "MINI"
}
/** @enumType */
type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';
interface FileSource extends FileSourceDataOneOf {
/** The absolute URL for the file's source. */
url?: string | null;
/**
* Custom ID. Use `id` instead.
* @deprecated
*/
custom?: string | null;
/** An ID that's resolved to a URL by a resolver function. */
id?: string | null;
/** Indicates whether the file's source is private. Defaults to `false`. */
private?: boolean | null;
}
/** @oneof */
interface FileSourceDataOneOf {
/** The absolute URL for the file's source. */
url?: string | null;
/**
* Custom ID. Use `id` instead.
* @deprecated
*/
custom?: string | null;
/** An ID that's resolved to a URL by a resolver function. */
id?: string | null;
}
interface PDFSettings {
/**
* PDF view mode. One of the following:
* `NONE` : The PDF isn't displayed.
* `FULL` : A full page view of the PDF is displayed.
* `MINI` : A mini view of the PDF is displayed.
*/
viewMode?: ViewModeWithLiterals;
/** Sets whether the PDF download button is disabled. Defaults to `false`. */
disableDownload?: boolean | null;
/** Sets whether the PDF print button is disabled. Defaults to `false`. */
disablePrint?: boolean | null;
}
interface GalleryData {
/** Styling for the gallery's container. */
containerData?: PluginContainerData;
/** The items in the gallery. */
items?: Item[];
/** Options for defining the gallery's appearance. */
options?: GalleryOptions;
/** Sets whether the gallery's expand button is disabled. Defaults to `false`. */
disableExpand?: boolean | null;
/** Sets whether the gallery's download button is disabled. Defaults to `false`. */
disableDownload?: boolean | null;
/** Node animation. */
animation?: Animation;
}
interface Media {
/** The source for the media's data. */
src?: FileSource;
/** Media width in pixels. */
width?: number | null;
/** Media height in pixels. */
height?: number | null;
/** Media duration in seconds. Only relevant for audio and video files. */
duration?: number | null;
}
interface ItemImage {
/** Image file details. */
media?: Media;
/** Link details for images that are links. */
link?: Link;
}
interface Video {
/** Video file details. */
media?: Media;
/** Video thumbnail file details. */
thumbnail?: Media;
}
interface Item extends ItemDataOneOf {
/** An image item. */
image?: ItemImage;
/** A video item. */
video?: Video;
/** Item title. */
title?: string | null;
/** Item's alternative text. */
altText?: string | null;
}
/** @oneof */
interface ItemDataOneOf {
/** An image item. */
image?: ItemImage;
/** A video item. */
video?: Video;
}
interface GalleryOptions {
/** Gallery layout. */
layout?: GalleryOptionsLayout;
/** Styling for gallery items. */
item?: ItemStyle;
/** Styling for gallery thumbnail images. */
thumbnails?: Thumbnails;
}
declare enum LayoutType {
/** Collage type */
COLLAGE = "COLLAGE",
/** Masonry type */
MASONRY = "MASONRY",
/** Grid type */
GRID = "GRID",
/** Thumbnail type */
THUMBNAIL = "THUMBNAIL",
/** Slider type */
SLIDER = "SLIDER",
/** Slideshow type */
SLIDESHOW = "SLIDESHOW",
/** Panorama type */
PANORAMA = "PANORAMA",
/** Column type */
COLUMN = "COLUMN",
/** Magic type */
MAGIC = "MAGIC",
/** Fullsize images type */
FULLSIZE = "FULLSIZE"
}
/** @enumType */
type LayoutTypeWithLiterals = LayoutType | 'COLLAGE' | 'MASONRY' | 'GRID' | 'THUMBNAIL' | 'SLIDER' | 'SLIDESHOW' | 'PANORAMA' | 'COLUMN' | 'MAGIC' | 'FULLSIZE';
declare enum Orientation {
/** Rows Orientation */
ROWS = "ROWS",
/** Columns Orientation */
COLUMNS = "COLUMNS"
}
/** @enumType */
type OrientationWithLiterals = Orientation | 'ROWS' | 'COLUMNS';
declare enum Crop {
/** Crop to fill */
FILL = "FILL",
/** Crop to fit */
FIT = "FIT"
}
/** @enumType */
type CropWithLiterals = Crop | 'FILL' | 'FIT';
declare enum ThumbnailsAlignment {
/** Top alignment */
TOP = "TOP",
/** Right alignment */
RIGHT = "RIGHT",
/** Bottom alignment */
BOTTOM = "BOTTOM",
/** Left alignment */
LEFT = "LEFT",
/** No thumbnail */
NONE = "NONE"
}
/** @enumType */
type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
interface GalleryOptionsLayout {
/** Gallery layout type. */
type?: LayoutTypeWithLiterals;
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
horizontalScroll?: boolean | null;
/** Gallery orientation. */
orientation?: OrientationWithLiterals;
/** The number of columns to display on full size screens. */
numberOfColumns?: number | null;
/** The number of columns to display on mobile screens. */
mobileNumberOfColumns?: number | null;
}
interface ItemStyle {
/** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */
targetSize?: number | null;
/** Item ratio */
ratio?: number | null;
/** Sets how item images are cropped. */
crop?: CropWithLiterals;
/** The spacing between items in pixels. */
spacing?: number | null;
}
interface Thumbnails {
/** Thumbnail alignment. */
placement?: ThumbnailsAlignmentWithLiterals;
/** Spacing between thumbnails in pixels. */
spacing?: number | null;
}
interface GIFData {
/** Styling for the GIF's container. */
containerData?: PluginContainerData;
/** The source of the full size GIF. */
original?: GIF;
/** The source of the downsized GIF. */
downsized?: GIF;
/** Height in pixels. */
height?: number;
/** Width in pixels. */
width?: number;
/** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
gifType?: GIFTypeWithLiterals;
/** Node animation. */
animation?: Animation;
}
interface GIF {
/**
* GIF format URL.
* @format WEB_URL
*/
gif?: string | null;
/**
* MP4 format URL.
* @format WEB_URL
*/
mp4?: string | null;
/**
* Thumbnail URL.
* @format WEB_URL
*/
still?: string | null;
}
declare enum GIFType {
NORMAL = "NORMAL",
STICKER = "STICKER"
}
/** @enumType */
type GIFTypeWithLiterals = GIFType | 'NORMAL' | 'STICKER';
interface HeadingData {
/** Heading level from 1-6. */
level?: number;
/** Styling for the heading text. */
textStyle?: TextStyle;
/** Indentation level from 1-4. */
indentation?: number | null;
/** Rendered heading level for SEO/accessibility, overrides the HTML tag when set. */
renderedLevel?: number | null;
/** Node animation. */
animation?: Animation;
}
interface HTMLData extends HTMLDataDataOneOf {
/** The URL for the HTML code for the node. */
url?: string;
/** The HTML code for the node. */
html?: string;
/**
* Whether this is an AdSense element. Use `source` instead.
* @deprecated
*/
isAdsense?: boolean | null;
/** The WixelWidget ID for AI_WIDGET source nodes. */
widgetId?: string;
/** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */
containerData?: PluginContainerData;
/** The type of HTML code. */
source?: SourceWithLiterals;
/** If container height is aligned with its content height. Defaults to `true`. */
autoHeight?: boolean | null;
/** Node animation. */
animation?: Animation;
/**
* Cookie category the HTML code needs the site visitor's consent for: ESSENTIAL (the default, needs no consent), FUNCTIONAL, ANALYTICS or ADVERTISING. On sites that block embeds until consent, viewers render a placeholder instead until the visitor consents.
* @maxLength 20
*/
consentCategory?: string | null;
}
/** @oneof */
interface HTMLDataDataOneOf {
/** The URL for the HTML code for the node. */
url?: string;
/** The HTML code for the node. */
html?: string;
/**
* Whether this is an AdSense element. Use `source` instead.
* @deprecated
*/
isAdsense?: boolean | null;
/** The WixelWidget ID for AI_WIDGET source nodes. */
widgetId?: string;
}
declare enum Source {
HTML = "HTML",
ADSENSE = "ADSENSE",
AI = "AI",
AI_WIDGET = "AI_WIDGET"
}
/** @enumType */
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI' | 'AI_WIDGET';
interface ImageData {
/** Styling for the image's container. */
containerData?: PluginContainerData;
/** Image file details. */
image?: Media;
/** Link details for images that are links. */
link?: Link;
/** Sets whether the image expands to full screen when clicked. Defaults to `false`. */
disableExpand?: boolean | null;
/** Image's alternative text. */
altText?: string | null;
/**
* Deprecated: use Caption node instead.
* @deprecated
*/
caption?: string | null;
/** Sets whether the image's download button is disabled. Defaults to `false`. */
disableDownload?: boolean | null;
/** Sets whether the image is decorative and does not need an explanation. Defaults to `false`. */
decorative?: boolean | null;
/** Styling for the image. */
styles?: ImageDataStyles;
/** Non-destructive crop rectangle, expressed as fractions (0-1) of the original image. When omitted, the full image is shown. */
crop?: ImageDataCrop;
/** Optional shape mask applied to the visible crop. Supported values: CIRCLE, OVAL, STAR, PENTAGON, HEXAGON, TRIANGLE, HEART, RHOMBUS, FLUID, WINDOW. */
cropShape?: string | null;
/** Node animation. */
animation?: Animation;
}
interface StylesBorder {
/** Border width in pixels. */
width?: number | null;
/**
* Border color as a hexadecimal value.
* @maxLength 19
*/
color?: string | null;
/** Border radius in pixels. */
radius?: number | null;
}
interface ImageDataStyles {
/** Border attributes. */
border?: StylesBorder;
}
interface ImageDataCrop {
/** Left edge of the crop, as a fraction (0-1) of the original image width. */
x?: number | null;
/** Top edge of the crop, as a fraction (0-1) of the original image height. */
y?: number | null;
/** Visible width of the crop, as a fraction (0-1) of the original image width. */
width?: number | null;
/** Visible height of the crop, as a fraction (0-1) of the original image height. */
height?: number | null;
}
interface LinkPreviewData {
/** Styling for the link preview's container. */
containerData?: PluginContainerData;
/** Link details. */
link?: Link;
/** Preview title. */
title?: string | null;
/** Preview thumbnail URL. */
thumbnailUrl?: string | null;
/** Preview description. */
description?: string | null;
/** The preview content as HTML. */
html?: string | null;
/** Styling for the link preview. */
styles?: LinkPreviewDataStyles;
/** Node animation. */
animation?: Animation;
}
declare enum StylesPosition {
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
START = "START",
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
END = "END",
/** Thumbnail positioned at the top */
TOP = "TOP",
/** Thumbnail hidden and not displayed */
HIDDEN = "HIDDEN"
}
/** @enumType */
type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HIDDEN';
interface LinkPreviewDataStyles {
/**
* Background color as a hexadecimal value.
* @maxLength 19
*/
backgroundColor?: string | null;
/**
* Title color as a hexadecimal value.
* @maxLength 19
*/
titleColor?: string | null;
/**
* Subtitle color as a hexadecimal value.
* @maxLength 19
*/
subtitleColor?: string | null;
/**
* Link color as a hexadecimal value.
* @maxLength 19
*/
linkColor?: string | null;
/** Border width in pixels. */
borderWidth?: number | null;
/** Border radius in pixels. */
borderRadius?: number | null;
/**
* Border color as a hexadecimal value.
* @maxLength 19
*/
borderColor?: string | null;
/** Position of thumbnail. Defaults to `START`. */
thumbnailPosition?: StylesPositionWithLiterals;
}
interface MapData {
/** Styling for the map's container. */
containerData?: PluginContainerData;
/** Map settings. */
mapSettings?: MapSettings;
}
interface MapSettings {
/** The address to display on the map. */
address?: string | null;
/** Sets whether the map is draggable. */
draggable?: boolean | null;
/** Sets whether the location marker is visible. */
marker?: boolean | null;
/** Sets whether street view control is enabled. */
streetViewControl?: boolean | null;
/** Sets whether zoom control is enabled. */
zoomControl?: boolean | null;
/** Location latitude. */
lat?: number | null;
/** Location longitude. */
lng?: number | null;
/** Location name. */
locationName?: string | null;
/** Sets whether view mode control is enabled. */
viewModeControl?: boolean | null;
/** Initial zoom value. */
initialZoom?: number | null;
/** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
mapType?: MapTypeWithLiterals;
}
declare enum MapType {
/** Roadmap map type */
ROADMAP = "ROADMAP",
/** Satellite map type */
SATELITE = "SATELITE",
/** Hybrid map type */
HYBRID = "HYBRID",
/** Terrain map type */
TERRAIN = "TERRAIN"
}
/** @enumType */
type MapTypeWithLiterals = MapType | 'ROADMAP' | 'SATELITE' | 'HYBRID' | 'TERRAIN';
interface ParagraphData {
/** Styling for the paragraph text. */
textStyle?: TextStyle;
/** Indentation level from 1-4. */
indentation?: number | null;
/** Paragraph level */
level?: number | null;
/** Node animation. */
animation?: Animation;
}
interface PollData {
/** Styling for the poll's container. */
containerData?: PluginContainerData;
/** Poll data. */
poll?: Poll;
/** Layout settings for the poll and voting options. */
layout?: PollDataLayout;
/** Styling for the poll and voting options. */
design?: Design;
/** Node animation. */
animation?: Animation;
}
declare enum ViewRole {
/** Only Poll creator can view the results */
CREATOR = "CREATOR",
/** Anyone who voted can see the results */
VOTERS = "VOTERS",
/** Anyone can see the results, even if one didn't vote */
EVERYONE = "EVERYONE"
}
/** @enumType */
type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';
declare enum VoteRole {
/** Logged in member */
SITE_MEMBERS = "SITE_MEMBERS",
/** Anyone */
ALL = "ALL"
}
/** @enumType */
type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';
interface Permissions {
/** Sets who can view the poll results. */
view?: ViewRoleWithLiterals;
/** Sets who can vote. */
vote?: VoteRoleWithLiterals;
/** Sets whether one voter can vote multiple times. Defaults to `false`. */
allowMultipleVotes?: boolean | null;
}
interface Option {
/** Option ID. */
id?: string | null;
/** Option title. */
title?: string | null;
/** The image displayed with the option. */
image?: Media;
}
interface PollSettings {
/** Permissions settings for voting. */
permissions?: Permissions;
/** Sets whether voters are displayed in the vote results. Defaults to `true`. */
showVoters?: boolean | null;
/** Sets whether the vote count is displayed. Defaults to `true`. */
showVotesCount?: boolean | null;
}
declare enum PollLayoutType {
/** List */
LIST = "LIST",
/** Grid */
GRID = "GRID"
}
/** @enumType */
type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';
declare enum PollLayoutDirection {
/** Left-to-right */
LTR = "LTR",
/** Right-to-left */
RTL = "RTL"
}
/** @enumType */
type PollLayoutDirectionWithLiterals = PollLayoutDirection | 'LTR' | 'RTL';
interface PollLayout {
/** The layout for displaying the voting options. */
type?: PollLayoutTypeWithLiterals;
/** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
direction?: PollLayoutDirectionWithLiterals;
/** Sets whether to display the main poll image. Defaults to `false`. */
enableImage?: boolean | null;
}
interface OptionLayout {
/** Sets whether to display option images. Defaults to `false`. */
enableImage?: boolean | null;
}
declare enum PollDesignBackgroundType {
/** Color background type */
COLOR = "COLOR",
/** Image background type */
IMAGE = "IMAGE",
/** Gradiant background type */
GRADIENT = "GRADIENT"
}
/** @enumType */
type PollDesignBackgroundTypeWithLiterals = PollDesignBackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
interface BackgroundGradient {
/** The gradient angle in degrees. */
angle?: number | null;
/**
* The start color as a hexademical value.
* @maxLength 19
*/
startColor?: string | null;
/**
* The end color as a hexademical value.
* @maxLength 19
*/
lastColor?: string | null;
}
interface PollDesignBackground extends PollDesignBackgroundBackgroundOneOf {
/**
* The background color as a hexademical value.
* @maxLength 19
*/
color?: string | null;
/** An image to use for the background. */
image?: Media;
/** Details for a gradient background. */
gradient?: BackgroundGradient;
/** Background type. For each option, include the relevant details. */
type?: PollDesignBackgroundTypeWithLiterals;
}
/** @oneof */
interface PollDesignBackgroundBackgroundOneOf {
/**
* The background color as a hexademical value.
* @maxLength 19
*/
color?: string | null;
/** An image to use for the background. */
image?: Media;
/** Details for a gradient background. */
gradient?: BackgroundGradient;
}
interface PollDesign {
/** Background styling. */
background?: PollDesignBackground;
/** Border radius in pixels. */
borderRadius?: number | null;
}
interface OptionDesign {
/** Border radius in pixels. */
borderRadius?: number | null;
}
interface Poll {
/** Poll ID. */
id?: string | null;
/** Poll title. */
title?: string | null;
/** Poll creator ID. */
creatorId?: string | null;
/** Main poll image. */
image?: Media;
/** Voting options. */
options?: Option[];
/** The poll's permissions and display settings. */
settings?: PollSettings;
}
interface PollDataLayout {
/** Poll layout settings. */
poll?: PollLayout;
/** Voting otpions layout settings. */
options?: OptionLayout;
}
interface Design {
/** Styling for the poll. */
poll?: PollDesign;
/** Styling for voting options. */
options?: OptionDesign;
}
interface TextData {
/** The text to apply decorations to. */
text?: string;
/** The decorations to apply. */
decorations?: Decoration[];
}
/** Adds appearence changes to text */
interface Decoration extends DecorationDataOneOf {
/** Data for an anchor link decoration. */
anchorData?: AnchorData;
/** Data for a color decoration. */
colorData?: ColorData;
/** Data for an external link decoration. */
linkData?: LinkData;
/** Data for a mention decoration. */
mentionData?: MentionData;
/** Data for a font size decoration. */
fontSizeData?: FontSizeData;
/** Font weight for a bold decoration. */
fontWeightValue?: number | null;
/** Data for an italic decoration. Defaults to `true`. */
italicData?: boolean | null;
/** Data for an underline decoration. Defaults to `true`. */
underlineData?: boolean | null;
/** Data for a spoiler decoration. */
spoilerData?: SpoilerData;
/** Data for a strikethrough decoration. Defaults to `true`. */
strikethroughData?: boolean | null;
/** Data for a superscript decoration. Defaults to `true`. */
superscriptData?: boolean | null;
/** Data for a subscript decoration. Defaults to `true`. */
subscriptData?: boolean | null;
/** Data for a font family decoration. */
fontFamilyData?: FontFamilyData;
/** Data for a hand-drawn sketch annotation decoration. */
sketchData?: SketchData;
/** The type of decoration to apply. */
type?: DecorationTypeWithLiterals;
}
/** @oneof */
interface DecorationDataOneOf {
/** Data for an anchor link decoration. */
anchorData?: AnchorData;
/** Data for a color decoration. */
colorData?: ColorData;
/** Data for an external link decoration. */
linkData?: LinkData;
/** Data for a mention decoration. */
mentionData?: MentionData;
/** Data for a font size decoration. */
fontSizeData?: FontSizeData;
/** Font weight for a bold decoration. */
fontWeightValue?: number | null;
/** Data for an italic decoration. Defaults to `true`. */
italicData?: boolean | null;
/** Data for an underline decoration. Defaults to `true`. */
underlineData?: boolean | null;
/** Data for a spoiler decoration. */
spoilerData?: SpoilerData;
/** Data for a strikethrough decoration. Defaults to `true`. */
strikethroughData?: boolean | null;
/** Data for a superscript decoration. Defaults to `true`. */
superscriptData?: boolean | null;
/** Data for a subscript decoration. Defaults to `true`. */
subscriptData?: boolean | null;
/** Data for a font family decoration. */
fontFamilyData?: FontFamilyData;
/** Data for a hand-drawn sketch annotation decoration. */
sketchData?: SketchData;
}
declare enum DecorationType {
BOLD = "BOLD",
ITALIC = "ITALIC",
UNDERLINE = "UNDERLINE",
SPOILER = "SPOILER",
ANCHOR = "ANCHOR",
MENTION = "MENTION",
LINK = "LINK",
COLOR = "COLOR",
FONT_SIZE = "FONT_SIZE",
EXTERNAL = "EXTERNAL",
STRIKETHROUGH = "STRIKETHROUGH",
SUPERSCRIPT = "SUPERSCRIPT",
SUBSCRIPT = "SUBSCRIPT",
FONT_FAMILY = "FONT_FAMILY",
SKETCH = "SKETCH"
}
/** @enumType */
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT' | 'FONT_FAMILY' | 'SKETCH';
interface AnchorData {
/** The target node's ID. */
anchor?: string;
}
interface ColorData {
/**
* Deprecated: Use `backgroundStyle` instead. The text's background color as a hexadecimal value.
* @deprecated
*/
background?: string | null;
/**
* Deprecated: Use `foregroundStyle` instead. The text's foreground color as a hexadecimal value.
* @deprecated
*/
foreground?: string | null;
/** Text fill styling (color or gradient). When present, takes precedence over `foreground`. */
foregroundStyle?: ColorDataBackground;
/** Text background (highlight) styling (color or gradient). When present, takes precedence over `background`. */
backgroundStyle?: ColorDataBackground;
}
/** Background type */
declare enum ColorDataBackgroundType {
/** Solid color */
COLOR = "COLOR",
/** Gradient */
GRADIENT = "GRADIENT"
}
/** @enumType */
type ColorDataBackgroundTypeWithLiterals = ColorDataBackgroundType | 'COLOR' | 'GRADIENT';
/** Fill styling (color or gradient) */
interface ColorDataBackground {
/** Background type. */
type?: ColorDataBackgroundTypeWithLiterals;
/**
* Color as a hexadecimal value.
* @maxLength 19
*/
color?: string | null;
/** Gradient configuration. */
gradient?: Gradient;
}
interface LinkData {
/** Link details. */
link?: Link;
}
interface MentionData {
/** The mentioned user's name. */
name?: string;
/** The version of the user's name that appears after the `@` character in the mention. */
slug?: string;
/** Mentioned user's ID. */
id?: string | null;
/** The kind of entity the mention refers to. Any value is accepted, and it's usually used to mark a mention as a group mention (for example, `group`). When empty, the mention refers to a member. */
type?: string | null;
}
interface SpoilerData {
/** Spoiler ID. */
id?: string | null;
}
interface FontFamilyData {
/** @maxLength 1000 */
value?: string | null;
}
interface SketchData {
/** The sketch annotation variant to draw over the text. */
variant?: VariantWithLiterals;
/**
* Annotation color. Defaults to the theme action color.
* @maxLength 19
*/
color?: string | null;
/** Whether the annotation animates on first paint. Defaults to `true`. */
animate?: boolean | null;
}
declare enum Variant {
UNDERLINE = "UNDERLINE",
BOX = "BOX",
CIRCLE = "CIRCLE",
HIGHLIGHT = "HIGHLIGHT",
STRIKETHROUGH = "STRIKETHROUGH",
CROSSED_OFF = "CROSSED_OFF"
}
/** @enumType */
type VariantWithLiterals = Variant | 'UNDERLINE' | 'BOX' | 'CIRCLE' | 'HIGHLIGHT' | 'STRIKETHROUGH' | 'CROSSED_OFF';
interface AppEmbedData extends AppEmbedDataAppDataOneOf {
/** Data for embedded Wix Bookings content. */
bookingData?: BookingData;
/** Data for embedded Wix Events content. */
eventData?: EventData;
/** The type of Wix App content being embedded. */
type?: AppTypeWithLiterals;
/** The ID of the embedded content. */
itemId?: string | null;
/** The name of the embedded content. */
name?: string | null;
/**
* Deprecated: Use `image` instead.
* @deprecated
*/
imageSrc?: string | null;
/** The URL for the embedded content. */
url?: string | null;
/** An image for the embedded content. */
image?: Media;
/** Whether to hide the image. */
hideImage?: boolean | null;
/** Whether to hide the title. */
hideTitle?: boolean | null;
/** Whether to hide the price. */
hidePrice?: boolean | null;
/** Whether to hide the description (Event and Booking). */
hideDescription?: boolean | null;
/** Whether to hide the date and time (Event). */
hideDateTime?: boolean | null;
/** Whether to hide the location (Event). */
hideLocation?: boolean | null;
/** Whether to hide the duration (Booking). */
hideDuration?: boolean | null;
/** Whether to hide the button. */
hideButton?: boolean | null;
/** Whether to hide the ribbon. */
hideRibbon?: boolean | null;
/** Button styling options. */
buttonStyles?: ButtonStyles;
/** Image styling options. */
imageStyles?: ImageStyles;
/** Ribbon styling options. */
ribbonStyles?: RibbonStyles;
/** Card styling options. */
cardStyles?: CardStyles;
/** Styling for the app embed's container. */
containerData?: PluginContainerData;
/** Pricing data for embedded Wix App content. */
pricingData?: PricingData;
/** Node animation. */
animation?: Animation;
}
/** @oneof */
interface AppEmbedDataAppDataOneOf {
/** Data for embedded Wix Bookings content. */
bookingData?: BookingData;
/** Data for embedded Wix Events content. */
eventData?: EventData;
}
declare enum Position {
/** Image positioned at the start (left in LTR layouts, right in RTL layouts) */
START = "START",
/** Image positioned at the end (right in LTR layouts, left in RTL layouts) */
END = "END",
/** Image positioned at the top */
TOP = "TOP"
}
/** @enumType */
type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';
declare enum AspectRatio {
/** 1:1 aspect ratio */
SQUARE = "SQUARE",
/** 16:9 aspect ratio */
RECTANGLE = "RECTANGLE"
}
/** @enumType */
type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';
declare enum Resizing {
/** Fill the container, may crop the image */
FILL = "FILL",
/** Fit the image within the container */
FIT = "FIT"
}
/** @enumType */
type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';
declare enum Placement {
/** Ribbon placed on the image */
IMAGE = "IMAGE",
/** Ribbon placed on the product information */
PRODUCT_INFO = "PRODUCT_INFO"
}
/** @enumType */
type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
declare enum CardStylesType {
/** Card with visible border and background */
CONTAINED = "CONTAINED",
/** Card without visible border */
FRAMELESS = "FRAMELESS"
}
/** @enumType */
type CardStylesTypeWithLiterals = CardStylesType | 'CONTAINED' | 'FRAMELESS';
declare enum Alignment {
/** Content aligned to start (left in LTR layouts, right in RTL layouts) */
START = "START",
/** Content centered */
CENTER = "CENTER",
/** Content aligned to end (right in LTR layouts, left in RTL layouts) */
END = "END"
}
/** @enumType */
type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';
declare enum Layout {
/** Elements stacked vertically */
STACKED = "STACKED",
/** Elements arranged horizontally */
SIDE_BY_SIDE = "SIDE_BY_SIDE"
}
/** @enumType */
type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';
declare enum AppType {
PRODUCT = "PRODUCT",
EVENT = "EVENT",
BOOKING = "BOOKING"
}
/** @enumType */
type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';
interface BookingData {
/** Booking duration in minutes. */
durations?: string | null;
}
interface EventData {
/** Event schedule. */
scheduling?: string | null;
/** Event location. */
location?: string | null;
}
interface ButtonStyles {
/** Text to display on the button. */
buttonText?: string | null;
/** Border width in pixels. */
borderWidth?: number | null;
/** Border radius in pixels. */
borderRadius?: number | null;
/**
* Border color as a hexadecimal value.
* @maxLength 19
*/
borderColor?: string | null;
/**
* Text color as a hexadecimal value.
* @maxLength 19
*/
textColor?: string | null;
/**
* Background color as a hexadecimal value.
* @maxLength 19
*/
backgroundColor?: string | null;
/**
* Border color as a hexadecimal value (hover state).
* @maxLength 19
*/
borderColorHover?: string | null;
/**
* Text color as a hexadecimal value (hover state).
* @maxLength 19
*/
textColorHover?: string | null;
/**
* Background color as a hexadecimal value (hover state).
* @maxLength 19
*/
backgroundColorHover?: string | null;
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
buttonSize?: string | null;
}
interface ImageStyles {
/** Whether to hide the image. */
hideImage?: boolean | null;
/** Position of image. Defaults to `START`. */
imagePosition?: PositionWithLiterals;
/** Aspect ratio for the image. Defaults to `SQUARE`. */
aspectRatio?: AspectRatioWithLiterals;
/** How the image should be resized. Defaults to `FILL`. */
resizing?: ResizingWithLiterals;
/**
* Image border color as a hexadecimal value.
* @maxLength 19
*/
borderColor?: string | null;
/** Image border width in pixels. */
borderWidth?: number | null;
/** Image border radius in pixels. */
borderRadius?: number | null;
}
interface RibbonStyles {
/** Text to display on the ribbon. */
ribbonText?: string | null;
/**
* Ribbon background color as a hexadecimal value.
* @maxLength 19
*/
backgroundColor?: string | null;
/**
* Ribbon text color as a hexadecimal value.
* @maxLength 19
*/
textColor?: string | null;
/**
* Ribbon border color as a hexadecimal value.
* @maxLength 19
*/
borderColor?: string | null;
/** Ribbon border width in pixels. */
borderWidth?: number | null;
/** Ribbon border radius in pixels. */
borderRadius?: number | null;
/** Placement of the ribbon. Defaults to `IMAGE`. */
ribbonPlacement?: PlacementWithLiterals;
}
interface CardStyles {
/**
* Card background color as a hexadecimal value.
* @maxLength 19
*/
backgroundColor?: string | null;
/**
* Card border color as a hexadecimal value.
* @maxLength 19
*/
borderColor?: string | null;
/** Card border width in pixels. */
borderWidth?: number | null;
/** Card border radius in pixels. */
borderRadius?: number | null;
/** Card type. Defaults to `CONTAINED`. */
type?: CardStylesTypeWithLiterals;
/** Content alignment. Defaults to `START`. */
alignment?: AlignmentWithLiterals;
/** Layout for title and price. Defaults to `STACKED`. */
titlePriceLayout?: LayoutWithLiterals;
/**
* Title text color as a hexadecimal value.
* @maxLength 19
*/
titleColor?: string | null;
/**
* Text color as a hexadecimal value.
* @maxLength 19
*/
textColor?: string | null;
}
interface PricingData {
/**
* Minimum numeric price value as string (e.g., "10.99").
* @decimalValue options { maxScale:2 }
*/
valueFrom?: string | null;
/**
* Maximum numeric price value as string (e.g., "19.99").
* @decimalValue options { maxScale:2 }
*/
valueTo?: string | null;
/**
* Numeric price value as string after discount application (e.g., "15.99").
* @decimalValue options { maxScale:2 }
*/
discountedValue?: string | null;
/**
* Currency of the value in ISO 4217 format (e.g., "USD", "EUR").
* @format CURRENCY
*/
currency?: string | null;
/**
* Pricing plan ID.
* @format GUID
*/
pricingPlanId?: string | null;
}
interface VideoData {
/** Styling for the video's container. */
containerData?: PluginContainerData;
/** Video details. */
video?: Media;
/** Video thumbnail details. */
thumbnail?: Media;
/** Sets whether the video's download button is disabled. Defaults to `false`. */
disableDownload?: boolean | null;
/** Video title. */
title?: string | null;
/** Video options. */
options?: PlaybackOptions;
/** Node animation. */
animation?: Animation;
}
interface PlaybackOptions {
/** Sets whether the media will automatically start playing. */
autoPlay?: boolean | null;
/** Sets whether media's will be looped. */
playInLoop?: boolean | null;
/** Sets whether media's controls will be shown. */
showControls?: boolean | null;
}
interface EmbedData {
/** Styling for the oEmbed node's container. */
containerData?: PluginContainerData;
/** An [oEmbed](https://www.oembed.com) object. */
oembed?: Oembed;
/** Origin asset source. */
src?: string | null;
/** Node animation. */
animation?: Animation;
}
interface Oembed {
/** The resource type. */
type?: string | null;
/** The width of the resource specified in the `url` property in pixels. */
width?: number | null;
/** The height of the resource specified in the `url` property in pixels. */
height?: number | null;
/** Resource title. */
title?: string | null;
/** The source URL for the resource. */
url?: string | null;
/** HTML for embedding a video player. The HTML should have no padding or margins. */
html?: string | null;
/** The name of the author or owner of the resource. */
authorName?: string | null;
/** The URL for the author or owner of the resource. */
authorUrl?: string | null;
/** The name of the resource provider. */
providerName?: string | null;
/** The URL for the resource provider. */
providerUrl?: string | null;
/** The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined. */
thumbnailUrl?: string | null;
/** The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined. */
thumbnailWidth?: string | null;
/** The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined. */
thumbnailHeight?: string | null;
/** The URL for an embedded viedo. */
videoUrl?: string | null;
/** The oEmbed version number. This value must be `1.0`. */
version?: string | null;
}
interface CollapsibleListData {
/** Styling for the collapsible list's container. */
containerData?: PluginContainerData;
/** If `true`, only one item can be expanded at a time. Defaults to `false`. */
expandOnlyOne?: boolean | null;
/** Sets which items are expanded when the page loads. */
initialExpandedItems?: InitialExpandedItemsWithLiterals;
/** The direction of the text in the list. Either left-to-right or right-to-left. */
direction?: DirectionWithLiterals;
/** If `true`, The collapsible item will appear in search results as an FAQ. */
isQapageData?: boolean | null;
/** Node animation. */
animation?: Animation;
}
declare enum InitialExpandedItems {
/** First item will be expended initally */
FIRST = "FIRST",
/** All items will expended initally */
ALL = "ALL",
/** All items collapsed initally */
NONE = "NONE"
}
/** @enumType */
type InitialExpandedItemsWithLiterals = InitialExpandedItems | 'FIRST' | 'ALL' | 'NONE';
declare enum Direction {
/** Left-to-right */
LTR = "LTR",
/** Right-to-left */
RTL = "RTL"
}
/** @enumType */
type DirectionWithLiterals = Direction | 'LTR' | 'RTL';
interface TableData {
/** Styling for the table's container. */
containerData?: PluginContainerData;
/** The table's dimensions. */
dimensions?: Dimensions;
/**
* Deprecated: Use `rowHeader` and `columnHeader` instead.
* @deprecated
*/
header?: boolean | null;
/** Sets whether the table's first row is a header. Defaults to `false`. */
rowHeader?: boolean | null;
/** Sets whether the table's first column is a header. Defaults to `false`. */
columnHeader?: boolean | null;
/** The spacing between cells in pixels. Defaults to `0`. */
cellSpacing?: number | null;
/**
* Padding in pixels for cells. Follows CSS order: top, right, bottom, left.
* @maxSize 4
*/
cellPadding?: number[];
/** Table's alternative text. */
altText?: string | null;
/** Node animation. */
animation?: Animation;
}
interface Dimensions {
/** An array representing relative width of each column in relation to the other columns. */
colsWidthRatio?: number[];
/** An array representing the height of each row in pixels. */
rowsHeight?: number[];
/** An array representing the minimum width of each column in pixels. */
colsMinWidth?: number[];
}
interface TableCellData {
/** Styling for the cell's background color and text alignment. */
cellStyle?: CellStyle;
/** The cell's border colors. */
borderColors?: BorderColors;
/** Defines how many columns the cell spans. Default: 1. */
colspan?: number | null;
/** Defines how many rows the cell spans. Default: 1. */
rowspan?: number | null;
/** The cell's border widths. */
borderWidths?: BorderWidths;
}
declare enum VerticalAlignment {
/** Top alignment */
TOP = "TOP",
/** Middle alignment */
MIDDLE = "MIDDLE",
/** Bottom alignment */
BOTTOM = "BOTTOM"
}
/** @enumType */
type VerticalAlignmentWithLiterals = VerticalAlignment | 'TOP' | 'MIDDLE' | 'BOTTOM';
interface CellStyle {
/** Vertical alignment for the cell's text. */
verticalAlignment?: VerticalAlignmentWithLiterals;
/**
* Cell background color as a hexadecimal value.
* @maxLength 19
*/
backgroundColor?: string | null;
}
interface BorderColors {
/**
* Left border color as a hexadecimal value.
* @maxLength 19
*/
left?: string | null;
/**
* Right border color as a hexadecimal value.
* @maxLength 19
*/
right?: string | null;
/**
* Top border color as a hexadecimal value.
* @maxLength 19
*/
top?: string | null;
/**
* Bottom border color as a hexadecimal value.
* @maxLength 19
*/
bottom?: string | null;
}
interface BorderWidths {
/** Left border width in pixels. */
left?: number | null;
/** Right border width in pixels. */
right?: number | null;
/** Top border width in pixels. */
top?: number | null;
/** Bottom border width in pixels. */
bottom?: number | null;
}
/**
* `NullValue` is a singleton enumeration to represent the null value for the
* `Value` type union.
*
* The JSON representation for `NullValue` is JSON `null`.
*/
declare enum NullValue {
/** Null value. */
NULL_VALUE = "NULL_VALUE"
}
/** @enumType */
type NullValueWithLiterals = NullValue | 'NULL_VALUE';
/**
* `ListValue` is a wrapper around a repeated field of values.
*
* The JSON representation for `ListValue` is JSON array.
*/
interface ListValue {
/** Repeated field of dynamically typed values. */
values?: any[];
}
interface AudioData {
/** Styling for the audio node's container. */
containerData?: PluginContainerData;
/** Audio file details. */
audio?: Media;
/** Sets whether the audio node's download button is disabled. Defaults to `false`. */
disableDownload?: boolean | null;
/** Cover image. */
coverImage?: Media;
/** Track name. */
name?: string | null;
/** Author name. */
authorName?: string | null;
/** An HTML version of the audio node. */
html?: string | null;
/** Node animation. */
animation?: Animation;
}
interface OrderedListData {
/** Indentation level from 0-4. */
indentation?: number;
/** Offset level from 0-4. */
offset?: number | null;
/** List start number. */
start?: number | null;
/** Node animation. */
animation?: Animation;
}
interface BulletedListData {
/** Indentation level from 0-4. */
indentation?: number;
/** Offset level from 0-4. */
offset?: number | null;
/** Node animation. */
animation?: Animation;
}
interface BlockquoteData {
/** Indentation level from 1-4. */
indentation?: number;
/** Node animation. */
animation?: Animation;
}
interface CaptionData {
textStyle?: TextStyle;
}
interface LayoutData {
/**
* Deprecated: Use `background` instead.
* @maxLength 19
* @deprecated
*/
backgroundColor?: string | null;
/** Background image. */
backgroundImage?: LayoutDataBackgroundImage;
/**
* Border color as a hexadecimal value.
* @maxLength 19
*/
borderColor?: string | null;
/** Border width in pixels. */
borderWidth?: number | null;
/** Border radius in pixels. */
borderRadius?: number | null;
/**
* Deprecated: Use `backdrop` instead.
* @maxLength 19
* @deprecated
*/
backdropColor?: string | null;
/** Backdrop image. */
backdropImage?: LayoutDataBackgroundImage;
/** Backdrop top padding. */
backdropPaddingTop?: number | null;
/** Backdrop bottom padding */
backdropPaddingBottom?: number | null;
/** Horizontal and vertical gap between columns */
gap?: number | null;
/**
* Padding in pixels for cells. Follows CSS order: top, right, bottom, left
* @maxSize 4
*/
cellPadding?: number[];
/** Vertical alignment for the cell's items. */
cellVerticalAlignment?: VerticalAlignmentAlignmentWithLiterals;
/** Responsiveness behaviour of columns when responsiveness applies. Either stacks or wrappers. */
responsivenessBehaviour?: ResponsivenessBehaviourWithLiterals;
/** Size in pixels when responsiveness_behaviour applies */
responsivenessBreakpoint?: number | null;
/** Styling for the layout's container. */
containerData?: PluginContainerData;
/** Defines where selected design propertied applies to */
designTarget?: DesignTargetWithLiterals;
/** Where this layout sits: an edge banner, or the paywall cut. One field, so the two can never be combined. */
banner?: Banner;
/** Background styling (color or gradient). */
background?: LayoutDataBackground;
/** Backdrop styling (color or gradient). */
backdrop?: Backdrop;
/** Node animation. */
animation?: Animation;
/** Shape divider at the top edge of the layout. */
topDivider?: SectionDivider;
/** Shape divider at the bottom edge of the layout. */
bottomDivider?: SectionDivider;
}
declare enum ImageScalingScaling {
/** Auto image scaling */
AUTO = "AUTO",
/** Contain image scaling */
CONTAIN = "CONTAIN",
/** Cover image scaling */
COVER = "COVER"
}
/** @enumType */
type ImageScalingScalingWithLiterals = ImageScalingScaling | 'AUTO' | 'CONTAIN' | 'COVER';
declare enum ImagePosition {
/** Image positioned at the center */
CENTER = "CENTER",
/** Image positioned on the left */
CENTER_LEFT = "CENTER_LEFT",
/** Image positioned on the right */
CENTER_RIGHT = "CENTER_RIGHT",
/** Image positioned at the center top */
TOP = "TOP",
/** Image positioned at the top left */
TOP_LEFT = "TOP_LEFT",
/** Image positioned at the top right */
TOP_RIGHT = "TOP_RIGHT",
/** Image positioned at the center bottom */
BOTTOM = "BOTTOM",
/** Image positioned at the bottom left */
BOTTOM_LEFT = "BOTTOM_LEFT",
/** Image positioned at the bottom right */
BOTTOM_RIGHT = "BOTTOM_RIGHT"
}
/** @enumType */
type ImagePositionWithLiterals = ImagePosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
/** Background styling (color or gradient) */
interface LayoutDataBackground {
/** Background type. */
type?: LayoutDataBackgroundTypeWithLiterals;
/**
* Background color as a hexadecimal value.
* @maxLength 19
*/
color?: string | null;
/** Gradient configuration. */
gradient?: Gradient;
}
/** Background type */
declare enum LayoutDataBackgroundType {
/** Solid color background */
COLOR = "COLOR",
/** Gradient background */
GRADIENT = "GRADIENT"
}
/** @enumType */
type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
declare enum Origin {
/** Banner originated from an image */
IMAGE = "IMAGE",
/** Banner originated from a layout */
LAYOUT = "LAYOUT"
}
/** @enumType */
type OriginWithLiterals = Origin | 'IMAGE' | 'LAYOUT';
declare enum BannerPosition {
/** Attached to the top edge (banner). The default, so a banner written before this field existed decodes as TOP. */
TOP = "TOP",
/** Attached to the bottom edge (footer). */
BOTTOM = "BOTTOM",
/** The cut between free and paid content, not an edge banner. `origin` carries no meaning for it. */
PAYWALL = "PAYWALL"
}
/** @enumType */
type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM' | 'PAYWALL';
/** How the stacked layers fade relative to the base shape. Named for a bottom divider; top dividers render mirrored, so the visual fade flips. */
declare enum LayerEffect {
/** Shape keeps its height, a solid filler bar pushes it away from the edge */
CENTER = "CENTER",
/** Deeper (more transparent) layers shrink toward the edge inside the original band while a solid filler bar keeps its full height, so the faded copies hug the top of the band */
FADE_TO_TOP = "FADE_TO_TOP",
/** Deeper (more transparent) layers stretch taller into the section, so the faded copies fan out above the base shape and descend to the layout edge */
FADE_TO_BOTTOM = "FADE_TO_BOTTOM"
}
/** @enumType */
type LayerEffectWithLiterals = LayerEffect | 'CENTER' | 'FADE_TO_TOP' | 'FADE_TO_BOTTOM';
/** Divider shape preset */
declare enum Shape {
/** Ellipse shape */
ELLIPSE = "ELLIPSE",
/** Tilt shape */
TILT = "TILT",
/** Liquid shape */
LIQUID = "LIQUID",
/** Left wave shape */
LEFT_WAVE = "LEFT_WAVE",
/** Paint scribble shape */
PAINT_SCRIBBLE = "PAINT_SCRIBBLE",
/** Inverted ellipse shape */
INVERTED_ELLIPSE = "INVERTED_ELLIPSE",
/** Right wave shape */
RIGHT_WAVE = "RIGHT_WAVE",
/** Dunes shape */
DUNES = "DUNES",
/** Waves shape */
WAVES = "WAVES",
/** Triangle shape */
TRIANGLE = "TRIANGLE",
/** Semi-ellipse shape */
SEMI_ELLIPSE = "SEMI_ELLIPSE",
/** Plants shape */
PLANTS = "PLANTS",
/** Layered ellipse shape */
LAYERED_ELLIPSE = "LAYERED_ELLIPSE",
/** Pixels shape */
PIXELS = "PIXELS",
/** Paint shape */
PAINT = "PAINT",
/** Clouds shape */
CLOUDS = "CLOUDS",
/** Optical illusion shape */
OPTICAL_ILLUSION = "OPTICAL_ILLUSION",
/** Stripes shape */
STRIPES = "STRIPES",
/** Blobs shape */
BLOBS = "BLOBS",
/** Semi-circles shape */
SEMI_CIRCLES = "SEMI_CIRCLES",
/** Hill shape */
HILL = "HILL",
/** Brush shape */
BRUSH = "BRUSH",
/** Peaks shape */
PEAKS = "PEAKS",
/** Angled triangle shape */
ANGLED_TRIANGLE = "ANGLED_TRIANGLE"
}
/** @enumType */
type ShapeWithLiterals = Shape | 'ELLIPSE' | 'TILT' | 'LIQUID' | 'LEFT_WAVE' | 'PAINT_SCRIBBLE' | 'INVERTED_ELLIPSE' | 'RIGHT_WAVE' | 'DUNES' | 'WAVES' | 'TRIANGLE' | 'SEMI_ELLIPSE' | 'PLANTS' | 'LAYERED_ELLIPSE' | 'PIXELS' | 'PAINT' | 'CLOUDS' | 'OPTICAL_ILLUSION' | 'STRIPES' | 'BLOBS' | 'SEMI_CIRCLES' | 'HILL' | 'BRUSH' | 'PEAKS' | 'ANGLED_TRIANGLE';
/** Layers effect - stacked semi-transparent copies of the divider shape */
interface Layers {
/** Total number of layers including the base shape (1-4). Absent or 1 disables the effect. */
count?: number | null;
/** Vertical distance in pixels between the silhouettes of consecutive layers: each successive layer's silhouette is offset from the previous one by this amount. The divider's own `height` is unchanged. Defaults to 20. */
offsetY?: number | null;
/** How the stacked layers fade relative to the base shape. */
layerEffect?: LayerEffectWithLiterals;
/** Horizontal distance between consecutive layers in pixels. Defaults to 0. Only applies to shapes that support horizontal offset. */
offsetX?: number | null;
}
/** Backdrop type */
declare enum BackdropType {
/** Solid color backdrop */
COLOR = "COLOR",
/** Gradient backdrop */
GRADIENT = "GRADIENT"
}
/** @enumType */
type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';
interface LayoutDataBackgroundImage {
/** Background image. */
media?: Media;
/**
* Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background`/`backdrop` color behind it.
* @deprecated
*/
opacity?: number | null;
/** Background image scaling. */
scaling?: ImageScalingScalingWithLiterals;
/** Position of background. Defaults to `CENTER`. */
position?: ImagePositionWithLiterals;
/** Blur radius in pixels applied to the image layer. `0` (default) leaves the image unblurred; blur is independent of any color overlay and the two stack. */
blur?: number | null;
/** Color or gradient drawn on top of the image. When present, this is the authoritative overlay and `opacity` is ignored. Its presence also marks content as authored under the new overlay model (vs. the legacy `opacity`-based dimming on `background`/`backdrop`). */
overlay?: LayoutDataBackground;
}
declare enum VerticalAlignmentAlignment {
/** Top alignment */
TOP = "TOP",
/** Middle alignment */
MIDDLE = "MIDDLE",
/** Bottom alignment */
BOTTOM = "BOTTOM"
}
/** @enumType */
type VerticalAlignmentAlignmentWithLiterals = VerticalAlignmentAlignment | 'TOP' | 'MIDDLE' | 'BOTTOM';
declare enum ResponsivenessBehaviour {
/** Stacking of columns */
STACK = "STACK",
/** Wrapping of columns */
WRAP = "WRAP"
}
/** @enumType */
type ResponsivenessBehaviourWithLiterals = ResponsivenessBehaviour | 'STACK' | 'WRAP';
declare enum DesignTarget {
/** Design applied to layout */
LAYOUT = "LAYOUT",
/** Design applied to cells */
CELL = "CELL"
}
/** @enumType */
type DesignTargetWithLiterals = DesignTarget | 'LAYOUT' | 'CELL';
interface Banner extends BannerOriginPresenceOneOf {
/** Origin of the banner. Edge positions only. */
origin?: OriginWithLiterals;
/** Where the layout sits: an edge, or the paywall cut. */
position?: BannerPositionWithLiterals;
}
/** @oneof */
interface BannerOriginPresenceOneOf {
/** Origin of the banner. Edge positions only. */
origin?: OriginWithLiterals;
}
/** Backdrop styling (color or gradient) */
interface Backdrop {
/** Backdrop type. */
type?: BackdropTypeWithLiterals;
/**
* Backdrop color as a hexadecimal value.
* @maxLength 19
*/
color?: string | null;
/** Gradient configuration. */
gradient?: Gradient;
}
/** Decorative shape divider at a layout edge */
interface SectionDivider {
/** Divider shape preset. Determines which customization properties apply. */
type?: ShapeWithLiterals;
/**
* Divider fill color as a hexadecimal value (may include alpha).
* @maxLength 19
*/
color?: string | null;
/** Divider height in pixels. */
height?: number | null;
/** Horizontal offset in pixels. */
offsetX?: number | null;
/** Whether the shape is flipped horizontally. */
flipped?: boolean | null;
/** Layers effect - stacked semi-transparent copies of the divider shape. */
layers?: Layers;
}
interface LayoutCellData {
/** Size of the cell in 12 columns grid. */
colSpan?: number | null;
}
interface ShapeData {
/** Styling for the shape's container. */
containerData?: PluginContainerData;
/** Shape file details. */
shape?: Media;
/** Styling for the shape. */
styles?: ShapeDataStyles;
/** Node animation. */
animation?: Animation;
/** Link details for shapes that are links. */
link?: Link;
/**
* Alternate text describing the link's purpose for accessibility. Applies only when `link` is set.
* @maxLength 1000
*/
altText?: string | null;
}
interface ShapeDataStyles {
/**
* Shape fill color as a hexadecimal value.
* @maxLength 19
*/
color?: string | null;
/** Map of original color keys to their new color values. */
colors?: Record;
}
interface CardData {
/** Background styling (color or gradient). */
background?: CardDataBackground;
/** Background image. */
backgroundImage?: BackgroundImage;
}
declare enum Scaling {
/** Auto image scaling */
AUTO = "AUTO",
/** Contain image scaling */
CONTAIN = "CONTAIN",
/** Cover image scaling */
COVER = "COVER"
}
/** @enumType */
type ScalingWithLiterals = Scaling | 'AUTO' | 'CONTAIN' | 'COVER';
declare enum ImagePositionPosition {
/** Image positioned at the center */
CENTER = "CENTER",
/** Image positioned on the left */
CENTER_LEFT = "CENTER_LEFT",
/** Image positioned on the right */
CENTER_RIGHT = "CENTER_RIGHT",
/** Image positioned at the center top */
TOP = "TOP",
/** Image positioned at the top left */
TOP_LEFT = "TOP_LEFT",
/** Image positioned at the top right */
TOP_RIGHT = "TOP_RIGHT",
/** Image positioned at the center bottom */
BOTTOM = "BOTTOM",
/** Image positioned at the bottom left */
BOTTOM_LEFT = "BOTTOM_LEFT",
/** Image positioned at the bottom right */
BOTTOM_RIGHT = "BOTTOM_RIGHT"
}
/** @enumType */
type ImagePositionPositionWithLiterals = ImagePositionPosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
/** Background styling (color or gradient) */
interface CardDataBackground {
/** Background type. */
type?: CardDataBackgroundTypeWithLiterals;
/**
* Background color as a hexadecimal value.
* @maxLength 19
*/
color?: string | null;
/** Gradient configuration. */
gradient?: Gradient;
}
/** Background type */
declare enum CardDataBackgroundType {
/** Solid color background */
COLOR = "COLOR",
/** Gradient background */
GRADIENT = "GRADIENT"
}
/** @enumType */
type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
interface BackgroundImage {
/** Background image. */
media?: Media;
/**
* Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background` color behind it.
* @deprecated
*/
opacity?: number | null;
/** Background image scaling. */
scaling?: ScalingWithLiterals;
/** Position of background. Defaults to `CENTER`. */
position?: ImagePositionPositionWithLiterals;
/** Color or gradient drawn on top of the image. When present, this is the authoritative overlay and `opacity` is ignored. Its presence also marks content as authored under the new overlay model (vs. the legacy `opacity`-based dimming on `background`). */
overlay?: CardDataBackground;
/** Blur radius in pixels applied to the image layer. `0` (default) leaves the image unblurred; blur is independent of any color overlay and the two stack. */
blur?: number | null;
}
interface TocData {
/** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
includedHeadings?: number[];
/** List style. Default: PLAIN. */
listStyle?: ListStyleWithLiterals;
/** Optional override for the font size in pixels. */
fontSize?: number | null;
/** Optional override for the vertical spacing between items in pixels. */
itemSpacing?: number | null;
/**
* Optional override for the text color.
* @maxLength 19
*/
color?: string | null;
/** Indentation style. Default: NESTED. */
indentation?: IndentationWithLiterals;
/** Node animation. */
animation?: Animation;
}
/** List style. */
declare enum ListStyle {
/** No markers (default) */
PLAIN = "PLAIN",
/** Numbered list */
NUMBERED = "NUMBERED",
/** Alphabetic letters */
LETTERS = "LETTERS",
/** Roman numerals */
ROMAN = "ROMAN",
/** Bulleted list */
BULLETED = "BULLETED",
/** Alphabetical index */
ALPHABETICAL_INDEX = "ALPHABETICAL_INDEX",
/** Alphabetical index (compact top-row only) */
ALPHABETICAL_INDEX_COMPACT = "ALPHABETICAL_INDEX_COMPACT"
}
/** @enumType */
type ListStyleWithLiterals = ListStyle | 'PLAIN' | 'NUMBERED' | 'LETTERS' | 'ROMAN' | 'BULLETED' | 'ALPHABETICAL_INDEX' | 'ALPHABETICAL_INDEX_COMPACT';
/** Indentation style. */
declare enum Indentation {
/** Sub-headings indented under parents (default) */
NESTED = "NESTED",
/** All items at the same level */
FLAT = "FLAT"
}
/** @enumType */
type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';
/** Data for a smart block node. */
interface SmartBlockData {
/** The type of the smart block. */
type?: SmartBlockDataTypeWithLiterals;
/** Layout orientation. HORIZONTAL or VERTICAL. Optional for variants with fixed orientation. */
orientation?: string | null;
/** Column size controlling cells per row. */
columnSize?: ColumnSizeWithLiterals;
/**
* Border color (for SOLID_JOINED_BOXES variant).
* @maxLength 19
*/
borderColor?: string | null;
/** Border width in pixels (for SOLID_JOINED_BOXES variant). */
borderWidth?: number | null;
/** Border radius in pixels (for SOLID_JOINED_BOXES variant). */
borderRadius?: number | null;
/** Node animation. */
animation?: Animation;
}
/** Layout type of the smart block */
declare enum SmartBlockDataType {
/** Grid-based layouts with solid box items containing title, body, and icon/image. */
SOLID_BOXES = "SOLID_BOXES",
/** Numbered boxes. */
NUMBERED_BOXES = "NUMBERED_BOXES",
/** Statistics display with large numbers/values. */
STATS = "STATS",
/** Statistics with circular visual elements. */
CIRCLE_STATS = "CIRCLE_STATS",
/** Staggered/zigzag grid layout with alternating box positions. */
SOLID_BOXES_ALTERNATING = "SOLID_BOXES_ALTERNATING",
/** Grid layout with boxes visually joined (no gaps, shared container border). */
SOLID_JOINED_BOXES = "SOLID_JOINED_BOXES",
/** Transparent cells with only a left side line. */
SIDE_LINE_TEXT = "SIDE_LINE_TEXT",
/** Transparent cells with only a top line. */
TOP_LINE_TEXT = "TOP_LINE_TEXT",
/** Outlined boxes with a numbered/icon circle at the top. */
OUTLINE_BOXES_WITH_TOP_CIRCLE = "OUTLINE_BOXES_WITH_TOP_CIRCLE",
/** Large icon bullets with text content. */
BIG_BULLETS = "BIG_BULLETS",
/** Small dot bullets with text content. */
SMALL_BULLETS = "SMALL_BULLETS",
/** Arrow icon bullets with text content. */
ARROW_BULLETS = "ARROW_BULLETS",
/** Process steps with numbered/icon labels above a horizontal line. */
PROCESS_STEPS = "PROCESS_STEPS",
/** Statistics with bar visual elements. */
BAR_STATS = "BAR_STATS",
/** Timeline layout with numbered chips on a connecting line; cells alternate around the line. */
TIMELINE = "TIMELINE",
/** Timeline layout with plain dot indicators; no numbers or shapes; cells alternate around the line. */
MINIMAL_TIMELINE = "MINIMAL_TIMELINE",
/** Numbered pill-shaped labels (stadium chips) with text content; supports HORIZONTAL (pill on top) and VERTICAL (pill on left) orientations. */
PILLS = "PILLS",
/** Star rating display with stars and a numeric value per cell. */
STAR_RATING = "STAR_RATING",
/** Outlined boxes with decorative quote glyphs at the top-left and bottom-right corners. */
QUOTE_BOXES = "QUOTE_BOXES",
/** Donut/ring with numbered annular-sector segments; cell text labels sit outside the ring. */
CIRCLE = "CIRCLE",
/** Hierarchical pyramid where each cell renders as a horizontal slice (apex at top, base at bottom) with the cell number or shape centered inside; text content sits beside (desktop) or below (mobile) the pyramid. */
PYRAMID = "PYRAMID",
/** Cells render a horizontal bar whose width scales with cell index, creating a staircase pattern; bar carries the cell number or a custom shape. */
STAIRCASE = "STAIRCASE",
/** Hierarchical funnel where each cell renders as a horizontal slice (wide at top, narrowing toward the bottom) with the cell number or shape centered inside; text content sits beside (desktop) or below (mobile) the funnel. */
VERTICAL_FUNNEL = "VERTICAL_FUNNEL"
}
/** @enumType */
type SmartBlockDataTypeWithLiterals = SmartBlockDataType | 'SOLID_BOXES' | 'NUMBERED_BOXES' | 'STATS' | 'CIRCLE_STATS' | 'SOLID_BOXES_ALTERNATING' | 'SOLID_JOINED_BOXES' | 'SIDE_LINE_TEXT' | 'TOP_LINE_TEXT' | 'OUTLINE_BOXES_WITH_TOP_CIRCLE' | 'BIG_BULLETS' | 'SMALL_BULLETS' | 'ARROW_BULLETS' | 'PROCESS_STEPS' | 'BAR_STATS' | 'TIMELINE' | 'MINIMAL_TIMELINE' | 'PILLS' | 'STAR_RATING' | 'QUOTE_BOXES' | 'CIRCLE' | 'PYRAMID' | 'STAIRCASE' | 'VERTICAL_FUNNEL';
/** Column size controlling how many cells appear per row. */
declare enum ColumnSize {
/** Up to 4 cells in a row. */
SMALL = "SMALL",
/** Up to 3 cells in a row (default). */
MEDIUM = "MEDIUM",
/** Up to 2 cells in a row. */
LARGE = "LARGE",
/** 1 cell in a row. */
EXTRA_LARGE = "EXTRA_LARGE"
}
/** @enumType */
type ColumnSizeWithLiterals = ColumnSize | 'SMALL' | 'MEDIUM' | 'LARGE' | 'EXTRA_LARGE';
/** Data for a smart block cell node. */
interface SmartBlockCellData {
/** Optional label text for the cell (e.g., for stats variants). */
label?: string | null;
/** Shape file details. */
shape?: Media;
/**
* Border color of the cell.
* @maxLength 19
*/
borderColor?: string | null;
/** Border width in pixels. */
borderWidth?: number | null;
/** Border radius in pixels. */
borderRadius?: number | null;
/** The type of the parent smart block (must match parent). */
type?: SmartBlockDataTypeWithLiterals;
/**
* Accent color for non-background variants (e.g., line, bullet, label color).
* @maxLength 19
*/
accentColor?: string | null;
/**
* Background color for background-based variants (SOLID_BOXES, SOLID_BOXES_ALTERNATING, SOLID_JOINED_BOXES).
* @maxLength 19
*/
backgroundColor?: string | null;
/**
* Shape fill color as a hexadecimal value.
* @maxLength 19
*/
shapeColor?: string | null;
}
interface CheckboxListData {
/** Indentation level from 0-4. */
indentation?: number;
/** Offset level from 0-4. */
offset?: number | null;
/** Node animation. */
animation?: Animation;
}
interface ListItemNodeData {
/** Checkbox list item state. Defaults to `false`. */
checked?: boolean | null;
/** Node animation. */
animation?: Animation;
/** Styling of the list item's marker (bullet or number), independent of the item's text. Unset properties follow the item's text. */
markerStyle?: ListItemMarkerStyle;
}
interface ListItemMarkerStyle {
/** Marker font size. */
fontSize?: FontSizeData;
/** Marker font weight, for example `700` for bold. */
fontWeight?: number | null;
/** Whether the marker is italic. */
italic?: boolean | null;
/** Marker color. */
color?: ListItemMarkerColor;
/** Marker font family. */
fontFamily?: FontFamilyData;
}
interface ListItemMarkerColor {
/** Marker fill styling. */
foregroundStyle?: ListItemMarkerColorBackground;
}
/** Background type */
declare enum ListItemMarkerColorBackgroundType {
/** Solid color */
COLOR = "COLOR"
}
/** @enumType */
type ListItemMarkerColorBackgroundTypeWithLiterals = ListItemMarkerColorBackgroundType | 'COLOR';
/** Fill styling: a solid color, shaped as `ColorData.Background` so other fills can be added later */
interface ListItemMarkerColorBackground {
/** Background type. */
type?: ListItemMarkerColorBackgroundTypeWithLiterals;
/**
* Color as a hexadecimal value.
* @maxLength 19
*/
color?: string | null;
}
interface SlotData {
/** Integration type, for example `wix.forms.form`. Used to render the slot in the editor and viewer. */
integrationType?: string | null;
/** ID of the resource the slot renders, for example a form ID. Passed as-is to the integration. */
resourceId?: string | null;
/** Node animation. */
animation?: Animation;
/** Design overrides for this slot. Unset colours use the Ricos theme; unset sizes default to 0. */
design?: SlotDesign;
}
interface SlotDesign {
/** Text colour: CSS colour or `$theme-color-N[-opacity]` token. */
textColor?: string | null;
/** Accent colour. */
accentColor?: string | null;
/** Button background colour. */
buttonColor?: string | null;
/** Button text colour. */
buttonTextColor?: string | null;
/** Block background colour. */
backgroundColor?: string | null;
/** Block border colour. */
borderColor?: string | null;
/** Block border width, px. */
borderWidth?: number | null;
/** Block corner radius, px. */
borderRadius?: number | null;
/** Horizontal inner padding, px. */
paddingHorizontal?: number | null;
/** Vertical inner padding, px. */
paddingVertical?: number | null;
/** Vertical gap between rows, px. */
rowGap?: number | null;
/** Horizontal gap between columns, px. */
columnGap?: number | null;
}
interface Metadata {
/** Schema version. */
version?: number;
/**
* When the object was created.
* @readonly
* @deprecated
*/
createdTimestamp?: Date | null;
/**
* When the object was most recently updated.
* @deprecated
*/
updatedTimestamp?: Date | null;
/** Object ID. */
id?: string | null;
}
interface DocumentStyle {
/** Styling for H1 nodes. */
headerOne?: TextNodeStyle;
/** Styling for H2 nodes. */
headerTwo?: TextNodeStyle;
/** Styling for H3 nodes. */
headerThree?: TextNodeStyle;
/** Styling for H4 nodes. */
headerFour?: TextNodeStyle;
/** Styling for H5 nodes. */
headerFive?: TextNodeStyle;
/** Styling for H6 nodes. */
headerSix?: TextNodeStyle;
/** Styling for paragraph nodes. */
paragraph?: TextNodeStyle;
/** Styling for block quote nodes. */
blockquote?: TextNodeStyle;
/** Styling for code block nodes. */
codeBlock?: TextNodeStyle;
}
interface TextNodeStyle {
/** The decorations to apply to the node. */
decorations?: Decoration[];
/** Padding and background color for the node. */
nodeStyle?: NodeStyle;
/** Line height for text in the node. */
lineHeight?: string | null;
}
interface Badge {
/** Badge type. */
type?: TypeWithLiterals;
/**
* Badge text.
* @maxLength 50
*/
text?: string | null;
}
declare enum Type {
/** 1st priority badge type. */
FIRST_PRIORITY = "FIRST_PRIORITY",
/** 2nd priority badge type. */
SECOND_PRIORITY = "SECOND_PRIORITY",
/** 3rd priority badge type. */
THIRD_PRIORITY = "THIRD_PRIORITY"
}
/** @enumType */
type TypeWithLiterals = Type | 'FIRST_PRIORITY' | 'SECOND_PRIORITY' | 'THIRD_PRIORITY';
interface EventUpdated {
/** Event update timestamp in ISO UTC format. */
timestamp?: Date | null;
/**
* Event ID.
* @format GUID
*/
eventId?: string;
/** Event location. */
location?: EventsLocation;
/** Event schedule configuration. */
scheduleConfig?: ScheduleConfig;
/** Event title. */
title?: string;
/**
* Whether schedule configuration was updated.
* @deprecated
*/
scheduleConfigUpdated?: boolean;
/** Updated event */
event?: Event;
}
/** Triggers when seating plan category summaries are updated. */
interface SeatingPlanCategoriesSummaryUpdated {
/**
* Seating plan ID.
* @format GUID
*/
seatingPlanId?: string;
/** External seating plan ID. */
externalSeatingPlanId?: string | null;
/**
* Updated category capacity and reservation counts.
* @maxSize 100
*/
categories?: CategoryDetails[];
/**
* Summary revision number for cache invalidation.
* @readonly
*/
revision?: string | null;
}
/** Category capacity and reservation summary. */
interface CategoryDetails {
/**
* Seating Plan ID.
* @format GUID
* @readonly
*/
seatingPlanId?: string | null;
/**
* External Seating Plan ID used for integration with third-party systems.
* @minLength 1
* @maxLength 100
* @readonly
*/
externalSeatingPlanId?: string | null;
/**
* External Category ID used for mapping to venue-specific category names. For example, `VIP` or `ORCHESTRA`.
* @minLength 1
* @maxLength 100
* @readonly
*/
externalCategoryId?: string | null;
/**
* Total seating capacity available in category.
* @readonly
*/
totalCapacity?: number | null;
/**
* Number of seats currently reserved in category.
* @readonly
*/
reserved?: number | null;
}
interface DomainEvent extends DomainEventBodyOneOf {
createdEvent?: EntityCreatedEvent;
updatedEvent?: EntityUpdatedEvent;
deletedEvent?: EntityDeletedEvent;
actionEvent?: ActionEvent;
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
id?: string;
/**
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
*/
entityFqdn?: string;
/**
* Event action name, placed at the top level to make it easier for users to dispatch messages.
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
*/
slug?: string;
/** ID of the entity associated with the event. */
entityId?: string;
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
eventTime?: Date | null;
/**
* Whether the event was triggered as a result of a privacy regulation application
* (for example, GDPR).
*/
triggeredByAnonymizeRequest?: boolean | null;
/** If present, indicates the action that triggered the event. */
originatedFrom?: string | null;
/**
* 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.
* 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.
*/
entityEventSequence?: string | null;
}
/** @oneof */
interface DomainEventBodyOneOf {
createdEvent?: EntityCreatedEvent;
updatedEvent?: EntityUpdatedEvent;
deletedEvent?: EntityDeletedEvent;
actionEvent?: ActionEvent;
}
interface EntityCreatedEvent {
entityAsJson?: string;
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
restoreInfo?: RestoreInfo;
}
interface RestoreInfo {
deletedDate?: Date | null;
}
interface EntityUpdatedEvent {
/**
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
*/
currentEntityAsJson?: string;
}
interface EntityDeletedEvent {
/** Entity that was deleted. */
deletedEntityAsJson?: string | null;
}
interface ActionEvent {
bodyAsJson?: string;
}
interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
/** Emitted on a meta site creation. */
siteCreated?: SiteCreated;
/** Emitted on a meta site transfer completion. */
siteTransferred?: SiteTransferred;
/** Emitted on a meta site deletion. */
siteDeleted?: SiteDeleted;
/** Emitted on a meta site restoration. */
siteUndeleted?: SiteUndeleted;
/** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
sitePublished?: SitePublished;
/** Emitted on a meta site unpublish. */
siteUnpublished?: SiteUnpublished;
/** Emitted when meta site is marked as template. */
siteMarkedAsTemplate?: SiteMarkedAsTemplate;
/** Emitted when meta site is marked as a WixSite. */
siteMarkedAsWixSite?: SiteMarkedAsWixSite;
/** Emitted when an application is provisioned (installed). */
serviceProvisioned?: ServiceProvisioned;
/** Emitted when an application is removed (uninstalled). */
serviceRemoved?: ServiceRemoved;
/** Emitted when meta site name (URL slug) is changed. */
siteRenamedPayload?: SiteRenamed;
/** Emitted when meta site was permanently deleted. */
hardDeleted?: SiteHardDeleted;
/** Emitted on a namespace change. */
namespaceChanged?: NamespaceChanged;
/** Emitted when Studio is attached. */
studioAssigned?: StudioAssigned;
/** Emitted when Studio is detached. */
studioUnassigned?: StudioUnassigned;
/**
* Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
* the actual URL.
*
* See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
* See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
*/
urlChanged?: SiteUrlChanged;
/** Site is marked as PurgedExternally */
sitePurgedExternally?: SitePurgedExternally;
/** Emitted when Odeditor is attached. */
odeditorAssigned?: OdeditorAssigned;
/** Emitted when Odeditor is detached. */
odeditorUnassigned?: OdeditorUnassigned;
/** Emitted when Picasso is attached. */
picassoAssigned?: PicassoAssigned;
/** Emitted when Picasso is detached. */
picassoUnassigned?: PicassoUnassigned;
/** Emitted when Wixel is attached. */
wixelAssigned?: WixelAssigned;
/** Emitted when Wixel is detached. */
wixelUnassigned?: WixelUnassigned;
/** Emitted when StudioTwo is attached. */
studioTwoAssigned?: StudioTwoAssigned;
/** Emitted when StudioTwo is detached. */
studioTwoUnassigned?: StudioTwoUnassigned;
/** Emitted when media from user domain is enabled. */
userDomainMediaEnabled?: UserDomainMediaEnabled;
/** Emitted when media from user domain is disabled. */
userDomainMediaDisabled?: UserDomainMediaDisabled;
/** Emitted when Editorless is attached. */
editorlessAssigned?: EditorlessAssigned;
/** Emitted when Editorless is detached. */
editorlessUnassigned?: EditorlessUnassigned;
/**
* A meta site id.
* @format GUID
*/
metaSiteId?: string;
/** A meta site version. Monotonically increasing. */
version?: string;
/** A timestamp of the event. */
timestamp?: string;
/**
* TODO(meta-site): Change validation once validations are disabled for consumers
* More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659
* @maxSize 4000
*/
assets?: Asset[];
}
/** @oneof */
interface MetaSiteSpecialEventPayloadOneOf {
/** Emitted on a meta site creation. */
siteCreated?: SiteCreated;
/** Emitted on a meta site transfer completion. */
siteTransferred?: SiteTransferred;
/** Emitted on a meta site deletion. */
siteDeleted?: SiteDeleted;
/** Emitted on a meta site restoration. */
siteUndeleted?: SiteUndeleted;
/** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
sitePublished?: SitePublished;
/** Emitted on a meta site unpublish. */
siteUnpublished?: SiteUnpublished;
/** Emitted when meta site is marked as template. */
siteMarkedAsTemplate?: SiteMarkedAsTemplate;
/** Emitted when meta site is marked as a WixSite. */
siteMarkedAsWixSite?: SiteMarkedAsWixSite;
/** Emitted when an application is provisioned (installed). */
serviceProvisioned?: ServiceProvisioned;
/** Emitted when an application is removed (uninstalled). */
serviceRemoved?: ServiceRemoved;
/** Emitted when meta site name (URL slug) is changed. */
siteRenamedPayload?: SiteRenamed;
/** Emitted when meta site was permanently deleted. */
hardDeleted?: SiteHardDeleted;
/** Emitted on a namespace change. */
namespaceChanged?: NamespaceChanged;
/** Emitted when Studio is attached. */
studioAssigned?: StudioAssigned;
/** Emitted when Studio is detached. */
studioUnassigned?: StudioUnassigned;
/**
* Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
* the actual URL.
*
* See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
* See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
*/
urlChanged?: SiteUrlChanged;
/** Site is marked as PurgedExternally */
sitePurgedExternally?: SitePurgedExternally;
/** Emitted when Odeditor is attached. */
odeditorAssigned?: OdeditorAssigned;
/** Emitted when Odeditor is detached. */
odeditorUnassigned?: OdeditorUnassigned;
/** Emitted when Picasso is attached. */
picassoAssigned?: PicassoAssigned;
/** Emitted when Picasso is detached. */
picassoUnassigned?: PicassoUnassigned;
/** Emitted when Wixel is attached. */
wixelAssigned?: WixelAssigned;
/** Emitted when Wixel is detached. */
wixelUnassigned?: WixelUnassigned;
/** Emitted when StudioTwo is attached. */
studioTwoAssigned?: StudioTwoAssigned;
/** Emitted when StudioTwo is detached. */
studioTwoUnassigned?: StudioTwoUnassigned;
/** Emitted when media from user domain is enabled. */
userDomainMediaEnabled?: UserDomainMediaEnabled;
/** Emitted when media from user domain is disabled. */
userDomainMediaDisabled?: UserDomainMediaDisabled;
/** Emitted when Editorless is attached. */
editorlessAssigned?: EditorlessAssigned;
/** Emitted when Editorless is detached. */
editorlessUnassigned?: EditorlessUnassigned;
}
interface Asset {
/**
* An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
* @maxLength 36
*/
appDefId?: string;
/**
* An instance id. For legacy reasons may be UUID or a string.
* @maxLength 200
*/
instanceId?: string;
/** An application state. */
state?: StateWithLiterals;
}
declare enum State {
UNKNOWN = "UNKNOWN",
ENABLED = "ENABLED",
DISABLED = "DISABLED",
PENDING = "PENDING",
DEMO = "DEMO"
}
/** @enumType */
type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
interface SiteCreated {
/**
* A template identifier (empty if not created from a template).
* @maxLength 36
*/
originTemplateId?: string;
/**
* An account id of the owner.
* @format GUID
*/
ownerId?: string;
/** A context in which meta site was created. */
context?: SiteCreatedContextWithLiterals;
/**
* A meta site id from which this site was created.
*
* In case of a creation from a template it's a template id.
* In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
* @format GUID
*/
originMetaSiteId?: string | null;
/**
* A meta site name (URL slug).
* @maxLength 20
*/
siteName?: string;
/** A namespace. */
namespace?: NamespaceWithLiterals;
}
declare enum SiteCreatedContext {
/** A valid option, we don't expose all reasons why site might be created. */
OTHER = "OTHER",
/** A meta site was created from template. */
FROM_TEMPLATE = "FROM_TEMPLATE",
/** A meta site was created by copying of the transfferred meta site. */
DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER",
/** A copy of existing meta site. */
DUPLICATE = "DUPLICATE",
/** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER",
/** deprecated A meta site was created for Flash editor. */
FLASH = "FLASH"
}
/** @enumType */
type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
declare enum Namespace {
UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
/** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
WIX = "WIX",
/** 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. */
SHOUT_OUT = "SHOUT_OUT",
/** 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. */
ALBUMS = "ALBUMS",
/** 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. */
WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
/** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
HOTELS = "HOTELS",
/** 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. */
CLUBS = "CLUBS",
/** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
/**
* AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default.
* Not the dev-center dev site (see Flag.DEV_CENTER_DEV_SITE_FLAG).
*/
DEV_SITE = "DEV_SITE",
/** 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. */
LOGOS = "LOGOS",
/** 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. */
VIDEO_MAKER = "VIDEO_MAKER",
/** MetaSites with this namespace will *not* be shown in a user's site list by default. */
PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
/** MetaSites with this namespace will *not* be shown in a user's site list by default. */
DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
/**
* A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
*
* Meta site with this namespace will *not* be shown in a user's site list by default.
*/
HTML_DRAFT = "HTML_DRAFT",
/**
* the user-journey for Fitness users who want to start from managing their business instead of designing their website.
* Will be accessible from Site List and will not have a website app.
* Once the user attaches a site, the site will become a regular wixsite.
*/
SITELESS_BUSINESS = "SITELESS_BUSINESS",
/** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
CREATOR_ECONOMY = "CREATOR_ECONOMY",
/** It is to be used in the Business First efforts. */
DASHBOARD_FIRST = "DASHBOARD_FIRST",
/** Bookings business flow with no site. */
ANYWHERE = "ANYWHERE",
/** Namespace for Headless Backoffice with no editor */
HEADLESS = "HEADLESS",
/**
* Namespace for master site that will exist in parent account that will be referenced by subaccounts
* The site will be used for account level CSM feature for enterprise
*/
ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
/** Rise.ai Siteless account management for Gift Cards and Store Credit. */
RISE = "RISE",
/**
* As part of the branded app new funnel, users now can create a meta site that will be branded app first.
* There's a blank site behind the scene but it's blank).
* The Mobile company will be the owner of this namespace.
*/
BRANDED_FIRST = "BRANDED_FIRST",
/** Nownia.com Siteless account management for Ai Scheduling Assistant. */
NOWNIA = "NOWNIA",
/**
* UGC Templates are templates that are created by users for personal use and to sale to other users.
* The Partners company owns this namespace.
*/
UGC_TEMPLATE = "UGC_TEMPLATE",
/** Codux Headless Sites */
CODUX = "CODUX",
/** Bobb - AI Design Creator. */
MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR",
/**
* Shared Blog Site is a unique single site across Enterprise account,
* This site will hold all Blog posts related to the Marketing product.
*/
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
STANDALONE_FORMS = "STANDALONE_FORMS",
/** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
STANDALONE_EVENTS = "STANDALONE_EVENTS",
/** MIMIR - Siteless account for MIMIR Ai Job runner. */
MIMIR = "MIMIR",
/** Wix Twins platform. */
TWINS = "TWINS",
/** Wix Nano. */
NANO = "NANO",
/** Base44 headless sites. */
BASE44 = "BASE44",
/** Wix Channels Sites */
CHANNELS = "CHANNELS",
/** Nautilus platform. */
NAUTILUS = "NAUTILUS",
/**
* Symphony — a siteless site representing a project within Symphony (the evolution of Orion).
* Holds project data, conversations, assets, and manages collaborators / shared team members for the project.
*/
SYMPHONY = "SYMPHONY",
/** Nautilus platform app. */
NAUTILUS_APPS = "NAUTILUS_APPS",
/**
* Vibu — a siteless site representing a project built with Vibu (the AI app builder).
* Holds the project's generated code, conversations, assets, and manages collaborators for the project.
*/
VIBU = "VIBU",
/**
* Ghost site for the BrandKit multi-site platform. Each ghost backs a single BrandKit
* (an Enterprise account may have several), holding that BrandKit's brand definition
* (theme, typography, assets) which is rolled out to the BrandKit's connected sites.
* MetaSites with this namespace will *not* be shown in a user's site list by default.
*/
ENTERPRISE_BRAND_KIT = "ENTERPRISE_BRAND_KIT",
/**
* Dev-center development sites (com.wixpress.devcenter.dsm).
* DEPRECATED: replaced by Flag.DEV_CENTER_DEV_SITE_FLAG (a dev site is orthogonal to the namespace). Do not use for new sites.
*/
DEV_CENTER_DEV_SITE = "DEV_CENTER_DEV_SITE",
/**
* KidOS (Tuned): a siteless site representing one kid in a Tuned family, owned by the parent's account. Holds the kid's data.
* MetaSites with this namespace will *not* be shown in a user's site list by default.
*/
KIDOS = "KIDOS"
}
/** @enumType */
type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO' | 'BASE44' | 'CHANNELS' | 'NAUTILUS' | 'SYMPHONY' | 'NAUTILUS_APPS' | 'VIBU' | 'ENTERPRISE_BRAND_KIT' | 'DEV_CENTER_DEV_SITE' | 'KIDOS';
/** Site transferred to another user. */
interface SiteTransferred {
/**
* A previous owner id (user that transfers meta site).
* @format GUID
*/
oldOwnerId?: string;
/**
* A new owner id (user that accepts meta site).
* @format GUID
*/
newOwnerId?: string;
}
/** Soft deletion of the meta site. Could be restored. */
interface SiteDeleted {
/** A deletion context. */
deleteContext?: DeleteContext;
}
interface DeleteContext {
/** When the meta site was deleted. */
dateDeleted?: Date | null;
/** A status. */
deleteStatus?: DeleteStatusWithLiterals;
/**
* A reason (flow).
* @maxLength 255
*/
deleteOrigin?: string;
/**
* A service that deleted it.
* @maxLength 255
*/
initiatorId?: string | null;
}
declare enum DeleteStatus {
UNKNOWN = "UNKNOWN",
TRASH = "TRASH",
DELETED = "DELETED",
PENDING_PURGE = "PENDING_PURGE",
PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
}
/** @enumType */
type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
/** Restoration of the meta site. */
interface SiteUndeleted {
}
/** First publish of a meta site. Or subsequent publish after unpublish. */
interface SitePublished {
}
interface SiteUnpublished {
/**
* A list of URLs previously associated with the meta site.
* @maxLength 4000
* @maxSize 10000
*/
urls?: string[];
}
interface SiteMarkedAsTemplate {
}
interface SiteMarkedAsWixSite {
}
/**
* Represents a service provisioned a site.
*
* Note on `origin_instance_id`:
* There is no guarantee that you will be able to find a meta site using `origin_instance_id`.
* This is because of the following scenario:
*
* Imagine you have a template where a third-party application (TPA) includes some stub data,
* such as a product catalog. When you create a site from this template, you inherit this
* default product catalog. However, if the template's product catalog is modified,
* your site will retain the catalog as it was at the time of site creation. This ensures that
* your site remains consistent with what you initially received and does not include any
* changes made to the original template afterward.
* To ensure this, the TPA on the template gets a new instance_id.
*/
interface ServiceProvisioned {
/**
* Either UUID or EmbeddedServiceType.
* @maxLength 36
*/
appDefId?: string;
/**
* Not only UUID. Something here could be something weird.
* @maxLength 36
*/
instanceId?: string;
/**
* An instance id from which this instance is originated.
* @maxLength 36
*/
originInstanceId?: string;
/**
* A version.
* @maxLength 500
*/
version?: string | null;
/**
* The origin meta site id
* @format GUID
*/
originMetaSiteId?: string | null;
}
interface ServiceRemoved {
/**
* Either UUID or EmbeddedServiceType.
* @maxLength 36
*/
appDefId?: string;
/**
* Not only UUID. Something here could be something weird.
* @maxLength 36
*/
instanceId?: string;
/**
* A version.
* @maxLength 500
*/
version?: string | null;
}
/** Rename of the site. Meaning, free public url has been changed as well. */
interface SiteRenamed {
/**
* A new meta site name (URL slug).
* @maxLength 20
*/
newSiteName?: string;
/**
* A previous meta site name (URL slug).
* @maxLength 255
*/
oldSiteName?: string;
}
/**
* Hard deletion of the meta site.
*
* Could not be restored. Therefore it's desirable to cleanup data.
*/
interface SiteHardDeleted {
/** A deletion context. */
deleteContext?: DeleteContext;
}
interface NamespaceChanged {
/** A previous namespace. */
oldNamespace?: NamespaceWithLiterals;
/** A new namespace. */
newNamespace?: NamespaceWithLiterals;
}
/** Assigned Studio editor */
interface StudioAssigned {
}
/** Unassigned Studio editor */
interface StudioUnassigned {
}
/**
* Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.
*
* This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up
* with sites and its urls, you need to listen to another topic/event. Read about it:
*
* https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service
*/
interface SiteUrlChanged {
}
/**
* Used at the end of the deletion flow for both draft sites and when a user deletes a site.
* Consumed by other teams to remove relevant data.
*/
interface SitePurgedExternally {
/**
* @maxLength 2048
* @maxSize 100
* @deprecated
* @targetRemovalDate 2025-04-15
*/
appDefId?: string[];
}
/** Assigned Odeditor */
interface OdeditorAssigned {
}
/** Unassigned Odeditor */
interface OdeditorUnassigned {
}
/** Assigned Picasso editor */
interface PicassoAssigned {
}
/** Unassigned Picasso */
interface PicassoUnassigned {
}
/** Assigned Wixel */
interface WixelAssigned {
}
/** Unassigned Wixel */
interface WixelUnassigned {
}
/** Assigned StudioTwo */
interface StudioTwoAssigned {
}
/** Unassigned StudioTwo */
interface StudioTwoUnassigned {
}
/** Media from user domain is enabled. */
interface UserDomainMediaEnabled {
}
/** Media from user domain is disabled. */
interface UserDomainMediaDisabled {
}
/** Assigned Editorless */
interface EditorlessAssigned {
}
/** Unassigned Editorless */
interface EditorlessUnassigned {
}
interface GetTicketDefinitionFromTrashBinRequest {
/**
* Ticket definition ID.
* @format GUID
*/
ticketDefinitionId?: string;
/**
* Requested fields. Not implemented.
* @maxSize 5
*/
fields?: FieldWithLiterals[];
}
interface GetTicketDefinitionFromTrashBinResponse {
/** The requested ticket definition. */
ticketDefinition?: TicketDefinition;
}
interface MessageEnvelope {
/**
* App instance ID.
* @format GUID
*/
instanceId?: string | null;
/**
* Event type.
* @maxLength 150
*/
eventType?: string;
/** The identification type and identity data. */
identity?: IdentificationData;
/** Stringify payload. */
data?: string;
/** Details related to the account */
accountInfo?: AccountInfo;
}
interface IdentificationData extends IdentificationDataIdOneOf {
/**
* ID of a site visitor that has not logged in to the site.
* @format GUID
*/
anonymousVisitorId?: string;
/**
* ID of a site visitor that has logged in to the site.
* @format GUID
*/
memberId?: string;
/**
* ID of a Wix user (site owner, contributor, etc.).
* @format GUID
*/
wixUserId?: string;
/**
* ID of an app.
* @format GUID
*/
appId?: string;
/** @readonly */
identityType?: WebhookIdentityTypeWithLiterals;
}
/** @oneof */
interface IdentificationDataIdOneOf {
/**
* ID of a site visitor that has not logged in to the site.
* @format GUID
*/
anonymousVisitorId?: string;
/**
* ID of a site visitor that has logged in to the site.
* @format GUID
*/
memberId?: string;
/**
* ID of a Wix user (site owner, contributor, etc.).
* @format GUID
*/
wixUserId?: string;
/**
* ID of an app.
* @format GUID
*/
appId?: string;
}
declare enum WebhookIdentityType {
UNKNOWN = "UNKNOWN",
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
MEMBER = "MEMBER",
WIX_USER = "WIX_USER",
APP = "APP"
}
/** @enumType */
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
interface AccountInfo {
/**
* ID of the Wix account associated with the event.
* @format GUID
*/
accountId?: string | null;
/**
* ID of the parent Wix account. Only included when accountId belongs to a child account.
* @format GUID
*/
parentAccountId?: string | null;
/**
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
* @format GUID
*/
siteId?: string | null;
}
interface GetTicketDefinitionSummaryRequest {
/**
* Ticket definition id.
* @format GUID
*/
ticketDefinitionId?: string | null;
}
interface GetTicketDefinitionSummaryResponse {
/** Summary. */
summary?: TicketDefinitionSummary;
}
interface TicketDefinitionSummary {
/**
* Ticket definition ID.
* @format GUID
* @readonly
*/
definitionId?: string | null;
/**
* Event ID to which the ticket definition summary belongs.
* @format GUID
* @readonly
*/
eventId?: string | null;
/**
* Date and time of the ticket definition summary latest update in `yyyy-mm-ddThh:mm:sssZ` format.
* @readonly
*/
updatedDate?: Date | null;
/**
* Reserved count.
* @readonly
*/
reservedCount?: number;
/**
* Sold count.
* @readonly
*/
soldCount?: number;
/**
* Paid exists.
* @readonly
*/
paidExists?: boolean;
}
interface ListEventTicketingSummaryRequest {
/**
* Event ID.
* @format GUID
* @minSize 1
* @maxSize 1000
*/
eventId?: string[];
}
interface ListEventTicketingSummaryResponse {
/** Ticketing summaries. */
summaries?: EventTicketingSummary[];
}
interface EventTicketingSummary {
/**
* Event ID to which the ticketing summary belongs.
* @format GUID
* @readonly
*/
eventId?: string | null;
/**
* Date and time of the ticketing summary latest update in `yyyy-mm-ddThh:mm:sssZ` format.
* @readonly
*/
updatedDate?: Date | null;
/**
* Whether all tickets are sold out for this event.
* @readonly
*/
soldOut?: boolean | null;
/**
* Price of lowest priced ticket.
* @readonly
*/
lowestTicketPrice?: CommonMoney;
/**
* Price of highest priced ticket.
* @readonly
*/
highestTicketPrice?: CommonMoney;
/**
* Currency used in event transactions.
* @minLength 3
* @maxLength 3
* @readonly
*/
currency?: string | null;
/**
* Formatted price of lowest priced ticket.
* @maxLength 50
* @readonly
*/
lowestTicketPriceFormatted?: string | null;
/**
* Formatted price of highest priced ticket.
* @maxLength 50
* @readonly
*/
highestTicketPriceFormatted?: string | null;
}
interface UpdateEventTicketingSummaryRequest {
/**
* Event ID.
* @format GUID
*/
eventId?: string;
}
interface UpdateEventTicketingSummaryResponse {
}
/** @docsIgnore */
type CreateTicketDefinitionApplicationErrors = {
code?: 'INVALID_EVENT_TYPE';
description?: string;
data?: Record;
} | {
code?: 'TICKET_DEFINITIONS_LIMIT_REACHED';
description?: string;
data?: Record;
} | {
code?: 'INVALID_SALE_PERIOD';
description?: string;
data?: Record;
};
/** @docsIgnore */
type UpdateTicketDefinitionApplicationErrors = {
code?: 'INVALID_SALE_PERIOD';
description?: string;
data?: Record;
};
/** @docsIgnore */
type ReorderTicketDefinitionsApplicationErrors = {
code?: 'INVALID_REORDER_INSTRUCTION';
description?: string;
data?: Record;
};
/** @docsIgnore */
type CountTicketDefinitionsApplicationErrors = {
code?: 'FILTER_PARSER_ERROR';
description?: string;
data?: Record;
};
/** @docsIgnore */
type CountAvailableTicketDefinitionsApplicationErrors = {
code?: 'FILTER_PARSER_ERROR';
description?: string;
data?: Record;
};
/** @docsIgnore */
type ChangeCurrencyApplicationErrors = {
code?: 'CURRENCY_LOCKED';
description?: string;
data?: Record;
};
type __PublicMethodMetaInfo = {
getUrl: (context: any) => string;
httpMethod: K;
path: string;
pathParams: M;
__requestType: T;
__originalRequestType: S;
__responseType: Q;
__originalResponseType: R;
};
declare function createTicketDefinition(): __PublicMethodMetaInfo<'POST', {}, CreateTicketDefinitionRequest$1, CreateTicketDefinitionRequest, CreateTicketDefinitionResponse$1, CreateTicketDefinitionResponse>;
declare function updateTicketDefinition(): __PublicMethodMetaInfo<'PATCH', {
ticketDefinitionId: string;
}, UpdateTicketDefinitionRequest$1, UpdateTicketDefinitionRequest, UpdateTicketDefinitionResponse$1, UpdateTicketDefinitionResponse>;
declare function getTicketDefinition(): __PublicMethodMetaInfo<'GET', {
ticketDefinitionId: string;
}, GetTicketDefinitionRequest$1, GetTicketDefinitionRequest, GetTicketDefinitionResponse$1, GetTicketDefinitionResponse>;
declare function deleteTicketDefinition(): __PublicMethodMetaInfo<'DELETE', {
ticketDefinitionId: string;
}, DeleteTicketDefinitionRequest$1, DeleteTicketDefinitionRequest, DeleteTicketDefinitionResponse$1, DeleteTicketDefinitionResponse>;
declare function reorderTicketDefinitions(): __PublicMethodMetaInfo<'POST', {}, ReorderTicketDefinitionsRequest$1, ReorderTicketDefinitionsRequest, ReorderTicketDefinitionsResponse$1, ReorderTicketDefinitionsResponse>;
declare function queryTicketDefinitions(): __PublicMethodMetaInfo<'POST', {}, QueryTicketDefinitionsRequest$1, QueryTicketDefinitionsRequest, QueryTicketDefinitionsResponse$1, QueryTicketDefinitionsResponse>;
declare function queryAvailableTicketDefinitions(): __PublicMethodMetaInfo<'POST', {}, QueryAvailableTicketDefinitionsRequest$1, QueryAvailableTicketDefinitionsRequest, QueryAvailableTicketDefinitionsResponse$1, QueryAvailableTicketDefinitionsResponse>;
declare function countTicketDefinitions(): __PublicMethodMetaInfo<'POST', {}, CountTicketDefinitionsRequest$1, CountTicketDefinitionsRequest, CountTicketDefinitionsResponse$1, CountTicketDefinitionsResponse>;
declare function countAvailableTicketDefinitions(): __PublicMethodMetaInfo<'POST', {}, CountAvailableTicketDefinitionsRequest$1, CountAvailableTicketDefinitionsRequest, CountAvailableTicketDefinitionsResponse$1, CountAvailableTicketDefinitionsResponse>;
declare function bulkDeleteTicketDefinitionsByFilter(): __PublicMethodMetaInfo<'POST', {}, BulkDeleteTicketDefinitionsByFilterRequest$1, BulkDeleteTicketDefinitionsByFilterRequest, BulkDeleteTicketDefinitionsByFilterResponse$1, BulkDeleteTicketDefinitionsByFilterResponse>;
declare function changeCurrency(): __PublicMethodMetaInfo<'POST', {}, ChangeCurrencyRequest$1, ChangeCurrencyRequest, ChangeCurrencyResponse$1, ChangeCurrencyResponse>;
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AdditionalFeeConfig as AdditionalFeeConfigOriginal, type AdditionalFeeFormulaCalculationOneOf as AdditionalFeeFormulaCalculationOneOfOriginal, type AdditionalFeeFormula as AdditionalFeeFormulaOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, type Agenda as AgendaOriginal, Alignment as AlignmentOriginal, type AlignmentWithLiterals as AlignmentWithLiteralsOriginal, type AnchorData as AnchorDataOriginal, type Animation as AnimationOriginal, AnimationType as AnimationTypeOriginal, type AnimationTypeWithLiterals as AnimationTypeWithLiteralsOriginal, type AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOfOriginal, type AppEmbedData as AppEmbedDataOriginal, type App as AppOriginal, AppType as AppTypeOriginal, type AppTypeWithLiterals as AppTypeWithLiteralsOriginal, AspectRatio as AspectRatioOriginal, type AspectRatioWithLiterals as AspectRatioWithLiteralsOriginal, type Asset as AssetOriginal, type AudioData as AudioDataOriginal, type AvailablePlace as AvailablePlaceOriginal, type Backdrop as BackdropOriginal, BackdropType as BackdropTypeOriginal, type BackdropTypeWithLiterals as BackdropTypeWithLiteralsOriginal, type BackgroundGradient as BackgroundGradientOriginal, type BackgroundImage as BackgroundImageOriginal, type Background as BackgroundOriginal, BackgroundType as BackgroundTypeOriginal, type BackgroundTypeWithLiterals as BackgroundTypeWithLiteralsOriginal, type Badge as BadgeOriginal, type BannerOriginPresenceOneOf as BannerOriginPresenceOneOfOriginal, type Banner as BannerOriginal, BannerPosition as BannerPositionOriginal, type BannerPositionWithLiterals as BannerPositionWithLiteralsOriginal, type BlockquoteData as BlockquoteDataOriginal, type BookingData as BookingDataOriginal, type BorderColors as BorderColorsOriginal, type Border as BorderOriginal, type BorderWidths as BorderWidthsOriginal, type BulkCopyTicketDefinitionsByEventIdRequest as BulkCopyTicketDefinitionsByEventIdRequestOriginal, type BulkCopyTicketDefinitionsByEventIdResponse as BulkCopyTicketDefinitionsByEventIdResponseOriginal, type BulkDeleteTicketDefinitionsByFilterRequest as BulkDeleteTicketDefinitionsByFilterRequestOriginal, type BulkDeleteTicketDefinitionsByFilterResponse as BulkDeleteTicketDefinitionsByFilterResponseOriginal, type BulletedListData as BulletedListDataOriginal, type ButtonData as ButtonDataOriginal, ButtonDataType as ButtonDataTypeOriginal, type ButtonDataTypeWithLiterals as ButtonDataTypeWithLiteralsOriginal, type ButtonStyles as ButtonStylesOriginal, type CalendarLinks as CalendarLinksOriginal, type CancellationActor as CancellationActorOriginal, CancellationActorType as CancellationActorTypeOriginal, type CancellationActorTypeWithLiterals as CancellationActorTypeWithLiteralsOriginal, type CancellationInfo as CancellationInfoOriginal, type CaptionData as CaptionDataOriginal, type CardDataBackground as CardDataBackgroundOriginal, CardDataBackgroundType as CardDataBackgroundTypeOriginal, type CardDataBackgroundTypeWithLiterals as CardDataBackgroundTypeWithLiteralsOriginal, type CardData as CardDataOriginal, type CardStyles as CardStylesOriginal, CardStylesType as CardStylesTypeOriginal, type CardStylesTypeWithLiterals as CardStylesTypeWithLiteralsOriginal, type CategoryCounts as CategoryCountsOriginal, type CategoryDetails as CategoryDetailsOriginal, type Category as CategoryOriginal, CategoryStateState as CategoryStateStateOriginal, type CategoryStateStateWithLiterals as CategoryStateStateWithLiteralsOriginal, type CellStyle as CellStyleOriginal, type ChangeCurrencyApplicationErrors as ChangeCurrencyApplicationErrorsOriginal, type ChangeCurrencyRequest as ChangeCurrencyRequestOriginal, type ChangeCurrencyResponse as ChangeCurrencyResponseOriginal, type CheckboxListData as CheckboxListDataOriginal, type CheckoutFormMessages as CheckoutFormMessagesOriginal, CheckoutType as CheckoutTypeOriginal, type CheckoutTypeWithLiterals as CheckoutTypeWithLiteralsOriginal, type CodeBlockData as CodeBlockDataOriginal, type CollapsibleListData as CollapsibleListDataOriginal, type ColorDataBackground as ColorDataBackgroundOriginal, ColorDataBackgroundType as ColorDataBackgroundTypeOriginal, type ColorDataBackgroundTypeWithLiterals as ColorDataBackgroundTypeWithLiteralsOriginal, type ColorData as ColorDataOriginal, type Colors as ColorsOriginal, ColumnSize as ColumnSizeOriginal, type ColumnSizeWithLiterals as ColumnSizeWithLiteralsOriginal, type CommonAddressLocation as CommonAddressLocationOriginal, type CommonAddress as CommonAddressOriginal, type CommonAddressStreetOneOf as CommonAddressStreetOneOfOriginal, type CommonMoney as CommonMoneyOriginal, type CommonStreetAddress as CommonStreetAddressOriginal, type CommonSubdivision as CommonSubdivisionOriginal, ConferenceType as ConferenceTypeOriginal, type ConferenceTypeWithLiterals as ConferenceTypeWithLiteralsOriginal, type CopiedTicketDefinition as CopiedTicketDefinitionOriginal, type CountAvailableTicketDefinitionsApplicationErrors as CountAvailableTicketDefinitionsApplicationErrorsOriginal, type CountAvailableTicketDefinitionsRequest as CountAvailableTicketDefinitionsRequestOriginal, type CountAvailableTicketDefinitionsResponse as CountAvailableTicketDefinitionsResponseOriginal, type CountTicketDefinitionsApplicationErrors as CountTicketDefinitionsApplicationErrorsOriginal, type CountTicketDefinitionsRequest as CountTicketDefinitionsRequestOriginal, type CountTicketDefinitionsResponse as CountTicketDefinitionsResponseOriginal, type CreateTicketDefinitionApplicationErrors as CreateTicketDefinitionApplicationErrorsOriginal, type CreateTicketDefinitionRequest as CreateTicketDefinitionRequestOriginal, type CreateTicketDefinitionResponse as CreateTicketDefinitionResponseOriginal, Crop as CropOriginal, type CropWithLiterals as CropWithLiteralsOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type CustomTag as CustomTagOriginal, type Dashboard as DashboardOriginal, type DateAndTimeSettings as DateAndTimeSettingsOriginal, type DecorationDataOneOf as DecorationDataOneOfOriginal, type Decoration as DecorationOriginal, DecorationType as DecorationTypeOriginal, type DecorationTypeWithLiterals as DecorationTypeWithLiteralsOriginal, type DeleteContext as DeleteContextOriginal, DeleteStatus as DeleteStatusOriginal, type DeleteStatusWithLiterals as DeleteStatusWithLiteralsOriginal, type DeleteTicketDefinitionRequest as DeleteTicketDefinitionRequestOriginal, type DeleteTicketDefinitionResponse as DeleteTicketDefinitionResponseOriginal, type Design as DesignOriginal, DesignTarget as DesignTargetOriginal, type DesignTargetWithLiterals as DesignTargetWithLiteralsOriginal, type Dimensions as DimensionsOriginal, Direction as DirectionOriginal, type DirectionWithLiterals as DirectionWithLiteralsOriginal, DividerDataAlignment as DividerDataAlignmentOriginal, type DividerDataAlignmentWithLiterals as DividerDataAlignmentWithLiteralsOriginal, type DividerData as DividerDataOriginal, type DividerDataStyles as DividerDataStylesOriginal, type DocumentStyle as DocumentStyleOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EditorlessAssigned as EditorlessAssignedOriginal, type EditorlessUnassigned as EditorlessUnassignedOriginal, type EmbedData as EmbedDataOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EntranceAnimation as EntranceAnimationOriginal, type EntranceEffect as EntranceEffectOriginal, EntranceEffectType as EntranceEffectTypeOriginal, type EntranceEffectTypeWithLiterals as EntranceEffectTypeWithLiteralsOriginal, type EventCanceled as EventCanceledOriginal, type EventCreated as EventCreatedOriginal, type EventData as EventDataOriginal, type EventDeleted as EventDeletedOriginal, type EventDetails as EventDetailsOriginal, type EventDisplaySettings as EventDisplaySettingsOriginal, type EventEnded as EventEndedOriginal, type Event as EventOriginal, EventStatus as EventStatusOriginal, type EventStatusWithLiterals as EventStatusWithLiteralsOriginal, type EventTicketingSummary as EventTicketingSummaryOriginal, EventType as EventTypeOriginal, type EventTypeWithLiterals as EventTypeWithLiteralsOriginal, type EventUpdated as EventUpdatedOriginal, type EventsLocation as EventsLocationOriginal, type EventsOccurrence as EventsOccurrenceOriginal, EventsRecurrenceStatusStatus as EventsRecurrenceStatusStatusOriginal, type EventsRecurrenceStatusStatusWithLiterals as EventsRecurrenceStatusStatusWithLiteralsOriginal, type EventsRecurrences as EventsRecurrencesOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalEvent as ExternalEventOriginal, type FacetCounts as FacetCountsOriginal, FeeTypeEnumType as FeeTypeEnumTypeOriginal, type FeeTypeEnumTypeWithLiterals as FeeTypeEnumTypeWithLiteralsOriginal, type Feed as FeedOriginal, Field as FieldOriginal, type FieldWithLiterals as FieldWithLiteralsOriginal, type FileData as FileDataOriginal, type File as FileOriginal, type FileSourceDataOneOf as FileSourceDataOneOfOriginal, type FileSource as FileSourceOriginal, type FontFamilyData as FontFamilyDataOriginal, type FontSizeData as FontSizeDataOriginal, FontType as FontTypeOriginal, type FontTypeWithLiterals as FontTypeWithLiteralsOriginal, type FormMessages as FormMessagesOriginal, type Form as FormOriginal, type Formatted as FormattedOriginal, type GIFData as GIFDataOriginal, type GIF as GIFOriginal, GIFType as GIFTypeOriginal, type GIFTypeWithLiterals as GIFTypeWithLiteralsOriginal, type GalleryData as GalleryDataOriginal, type GalleryOptionsLayout as GalleryOptionsLayoutOriginal, type GalleryOptions as GalleryOptionsOriginal, type GetTicketDefinitionFromTrashBinRequest as GetTicketDefinitionFromTrashBinRequestOriginal, type GetTicketDefinitionFromTrashBinResponse as GetTicketDefinitionFromTrashBinResponseOriginal, type GetTicketDefinitionRequest as GetTicketDefinitionRequestOriginal, type GetTicketDefinitionResponse as GetTicketDefinitionResponseOriginal, type GetTicketDefinitionSummaryRequest as GetTicketDefinitionSummaryRequestOriginal, type GetTicketDefinitionSummaryResponse as GetTicketDefinitionSummaryResponseOriginal, type Gradient as GradientOriginal, GradientType as GradientTypeOriginal, type GradientTypeWithLiterals as GradientTypeWithLiteralsOriginal, type GuestListConfig as GuestListConfigOriginal, type HTMLDataDataOneOf as HTMLDataDataOneOfOriginal, type HTMLData as HTMLDataOriginal, type HeadingData as HeadingDataOriginal, type Height as HeightOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageDataCrop as ImageDataCropOriginal, type ImageData as ImageDataOriginal, type ImageDataStyles as ImageDataStylesOriginal, type Image as ImageOriginal, ImagePosition as ImagePositionOriginal, ImagePositionPosition as ImagePositionPositionOriginal, type ImagePositionPositionWithLiterals as ImagePositionPositionWithLiteralsOriginal, type ImagePositionWithLiterals as ImagePositionWithLiteralsOriginal, ImageScalingScaling as ImageScalingScalingOriginal, type ImageScalingScalingWithLiterals as ImageScalingScalingWithLiteralsOriginal, type ImageStyles as ImageStylesOriginal, Indentation as IndentationOriginal, type IndentationWithLiterals as IndentationWithLiteralsOriginal, InitialExpandedItems as InitialExpandedItemsOriginal, type InitialExpandedItemsWithLiterals as InitialExpandedItemsWithLiteralsOriginal, type InputControl as InputControlOriginal, InputControlType as InputControlTypeOriginal, type InputControlTypeWithLiterals as InputControlTypeWithLiteralsOriginal, type Input as InputOriginal, type InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal, type InvalidateCache as InvalidateCacheOriginal, type ItemDataOneOf as ItemDataOneOfOriginal, type ItemImage as ItemImageOriginal, type Item as ItemOriginal, type ItemStyle as ItemStyleOriginal, type Keyword as KeywordOriginal, type Label as LabelOriginal, type LabellingSettings as LabellingSettingsOriginal, LayerEffect as LayerEffectOriginal, type LayerEffectWithLiterals as LayerEffectWithLiteralsOriginal, type Layers as LayersOriginal, type LayoutCellData as LayoutCellDataOriginal, type LayoutDataBackgroundImage as LayoutDataBackgroundImageOriginal, type LayoutDataBackground as LayoutDataBackgroundOriginal, LayoutDataBackgroundType as LayoutDataBackgroundTypeOriginal, type LayoutDataBackgroundTypeWithLiterals as LayoutDataBackgroundTypeWithLiteralsOriginal, type LayoutData as LayoutDataOriginal, Layout as LayoutOriginal, LayoutType as LayoutTypeOriginal, type LayoutTypeWithLiterals as LayoutTypeWithLiteralsOriginal, type LayoutWithLiterals as LayoutWithLiteralsOriginal, LineCap as LineCapOriginal, type LineCapWithLiterals as LineCapWithLiteralsOriginal, LineStyle as LineStyleOriginal, type LineStyleWithLiterals as LineStyleWithLiteralsOriginal, type LinkDataOneOf as LinkDataOneOfOriginal, type LinkData as LinkDataOriginal, type Link as LinkOriginal, type LinkPreviewData as LinkPreviewDataOriginal, type LinkPreviewDataStyles as LinkPreviewDataStylesOriginal, type ListEventTicketingSummaryRequest as ListEventTicketingSummaryRequestOriginal, type ListEventTicketingSummaryResponse as ListEventTicketingSummaryResponseOriginal, type ListItemMarkerColorBackground as ListItemMarkerColorBackgroundOriginal, ListItemMarkerColorBackgroundType as ListItemMarkerColorBackgroundTypeOriginal, type ListItemMarkerColorBackgroundTypeWithLiterals as ListItemMarkerColorBackgroundTypeWithLiteralsOriginal, type ListItemMarkerColor as ListItemMarkerColorOriginal, type ListItemMarkerStyle as ListItemMarkerStyleOriginal, type ListItemNodeData as ListItemNodeDataOriginal, ListStyle as ListStyleOriginal, type ListStyleWithLiterals as ListStyleWithLiteralsOriginal, type ListValue as ListValueOriginal, LocationLocationType as LocationLocationTypeOriginal, type LocationLocationTypeWithLiterals as LocationLocationTypeWithLiteralsOriginal, type Location as LocationOriginal, LocationType as LocationTypeOriginal, type LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal, type LoopAnimation as LoopAnimationOriginal, type LoopEffect as LoopEffectOriginal, LoopEffectType as LoopEffectTypeOriginal, type LoopEffectTypeWithLiterals as LoopEffectTypeWithLiteralsOriginal, type MapCoordinates as MapCoordinatesOriginal, type MapData as MapDataOriginal, type MapSettings as MapSettingsOriginal, MapType as MapTypeOriginal, type MapTypeWithLiterals as MapTypeWithLiteralsOriginal, type Media as MediaOriginal, type MentionData as MentionDataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MetaSiteSpecialEvent as MetaSiteSpecialEventOriginal, type MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOfOriginal, type Metadata as MetadataOriginal, type Money as MoneyOriginal, type NamespaceChanged as NamespaceChangedOriginal, Namespace as NamespaceOriginal, type NamespaceWithLiterals as NamespaceWithLiteralsOriginal, type Negative as NegativeOriginal, type NegativeResponseConfirmation as NegativeResponseConfirmationOriginal, type NodeDataOneOf as NodeDataOneOfOriginal, type Node as NodeOriginal, type NodeStyle as NodeStyleOriginal, NodeType as NodeTypeOriginal, type NodeTypeWithLiterals as NodeTypeWithLiteralsOriginal, NullValue as NullValueOriginal, type NullValueWithLiterals as NullValueWithLiteralsOriginal, type Occurrence as OccurrenceOriginal, type OdeditorAssigned as OdeditorAssignedOriginal, type OdeditorUnassigned as OdeditorUnassignedOriginal, type Oembed as OembedOriginal, type OnlineConferencingConfig as OnlineConferencingConfigOriginal, type OnlineConferencing as OnlineConferencingOriginal, type OnlineConferencingSession as OnlineConferencingSessionOriginal, type OptionDesign as OptionDesignOriginal, type OptionDetails as OptionDetailsOriginal, type OptionLayout as OptionLayoutOriginal, type Option as OptionOriginal, type OptionSelection as OptionSelectionOriginal, type OptionSelectionSelectedOptionOneOf as OptionSelectionSelectedOptionOneOfOriginal, type OrderedListData as OrderedListDataOriginal, Orientation as OrientationOriginal, type OrientationWithLiterals as OrientationWithLiteralsOriginal, Origin as OriginOriginal, type OriginWithLiterals as OriginWithLiteralsOriginal, type PDFSettings as PDFSettingsOriginal, type Page as PageOriginal, type PageUrl as PageUrlOriginal, type Pages as PagesOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type ParagraphData as ParagraphDataOriginal, type Permissions as PermissionsOriginal, type PicassoAssigned as PicassoAssignedOriginal, type PicassoUnassigned as PicassoUnassignedOriginal, Placement as PlacementOriginal, type PlacementWithLiterals as PlacementWithLiteralsOriginal, type PlaybackOptions as PlaybackOptionsOriginal, PluginContainerDataAlignment as PluginContainerDataAlignmentOriginal, type PluginContainerDataAlignmentWithLiterals as PluginContainerDataAlignmentWithLiteralsOriginal, type PluginContainerData as PluginContainerDataOriginal, type PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOfOriginal, type PluginContainerDataWidth as PluginContainerDataWidthOriginal, type PointerEffect as PointerEffectOriginal, PointerEffectType as PointerEffectTypeOriginal, type PointerEffectTypeWithLiterals as PointerEffectTypeWithLiteralsOriginal, type PollDataLayout as PollDataLayoutOriginal, type PollData as PollDataOriginal, type PollDesignBackgroundBackgroundOneOf as PollDesignBackgroundBackgroundOneOfOriginal, type PollDesignBackground as PollDesignBackgroundOriginal, PollDesignBackgroundType as PollDesignBackgroundTypeOriginal, type PollDesignBackgroundTypeWithLiterals as PollDesignBackgroundTypeWithLiteralsOriginal, type PollDesign as PollDesignOriginal, PollLayoutDirection as PollLayoutDirectionOriginal, type PollLayoutDirectionWithLiterals as PollLayoutDirectionWithLiteralsOriginal, type PollLayout as PollLayoutOriginal, PollLayoutType as PollLayoutTypeOriginal, type PollLayoutTypeWithLiterals as PollLayoutTypeWithLiteralsOriginal, type Poll as PollOriginal, type PollSettings as PollSettingsOriginal, Position as PositionOriginal, type PositionWithLiterals as PositionWithLiteralsOriginal, type Positive as PositiveOriginal, type PositiveResponseConfirmation as PositiveResponseConfirmationOriginal, type PricingData as PricingDataOriginal, type PricingMethod as PricingMethodOriginal, type PricingMethodPriceOneOf as PricingMethodPriceOneOfOriginal, type PricingOptions as PricingOptionsOriginal, PricingTypeEnumType as PricingTypeEnumTypeOriginal, type PricingTypeEnumTypeWithLiterals as PricingTypeEnumTypeWithLiteralsOriginal, type QueryAvailableTicketDefinitionsRequest as QueryAvailableTicketDefinitionsRequestOriginal, type QueryAvailableTicketDefinitionsResponse as QueryAvailableTicketDefinitionsResponseOriginal, type QueryTicketDefinitionsRequest as QueryTicketDefinitionsRequestOriginal, type QueryTicketDefinitionsResponse as QueryTicketDefinitionsResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, RecurrenceStatusStatus as RecurrenceStatusStatusOriginal, type RecurrenceStatusStatusWithLiterals as RecurrenceStatusStatusWithLiteralsOriginal, type Recurrences as RecurrencesOriginal, type RegistrationClosedMessages as RegistrationClosedMessagesOriginal, type Registration as RegistrationOriginal, RegistrationStatus as RegistrationStatusOriginal, type RegistrationStatusWithLiterals as RegistrationStatusWithLiteralsOriginal, type Rel as RelOriginal, type ReorderTicketDefinitionsApplicationErrors as ReorderTicketDefinitionsApplicationErrorsOriginal, type ReorderTicketDefinitionsRequest as ReorderTicketDefinitionsRequestOriginal, type ReorderTicketDefinitionsRequestReferenceDefinitionOneOf as ReorderTicketDefinitionsRequestReferenceDefinitionOneOfOriginal, type ReorderTicketDefinitionsResponse as ReorderTicketDefinitionsResponseOriginal, Resizing as ResizingOriginal, type ResizingWithLiterals as ResizingWithLiteralsOriginal, type ResponseConfirmation as ResponseConfirmationOriginal, ResponsivenessBehaviour as ResponsivenessBehaviourOriginal, type ResponsivenessBehaviourWithLiterals as ResponsivenessBehaviourWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type RibbonStyles as RibbonStylesOriginal, type RichContent as RichContentOriginal, type RsvpCollectionConfig as RsvpCollectionConfigOriginal, type RsvpCollection as RsvpCollectionOriginal, type RsvpConfirmationMessagesNegativeResponseConfirmation as RsvpConfirmationMessagesNegativeResponseConfirmationOriginal, type RsvpConfirmationMessages as RsvpConfirmationMessagesOriginal, type RsvpConfirmationMessagesPositiveResponseConfirmation as RsvpConfirmationMessagesPositiveResponseConfirmationOriginal, type RsvpFormMessages as RsvpFormMessagesOriginal, RsvpStatusOptions as RsvpStatusOptionsOriginal, type RsvpStatusOptionsWithLiterals as RsvpStatusOptionsWithLiteralsOriginal, type RsvpSummary as RsvpSummaryOriginal, type SalePeriod as SalePeriodOriginal, type SalePeriodUpdated as SalePeriodUpdatedOriginal, SaleStatusEnumStatus as SaleStatusEnumStatusOriginal, type SaleStatusEnumStatusWithLiterals as SaleStatusEnumStatusWithLiteralsOriginal, type SalesDetails as SalesDetailsOriginal, Scaling as ScalingOriginal, type ScalingWithLiterals as ScalingWithLiteralsOriginal, type ScheduleConfig as ScheduleConfigOriginal, type Scheduling as SchedulingOriginal, type SeatingDetails as SeatingDetailsOriginal, type SeatingPlanCategoriesSummaryUpdated as SeatingPlanCategoriesSummaryUpdatedOriginal, type SectionDivider as SectionDividerOriginal, type SeoSchema as SeoSchemaOriginal, type SeoSettings as SeoSettingsOriginal, type ServiceProvisioned as ServiceProvisionedOriginal, type ServiceRemoved as ServiceRemovedOriginal, type Settings as SettingsOriginal, type ShapeData as ShapeDataOriginal, type ShapeDataStyles as ShapeDataStylesOriginal, Shape as ShapeOriginal, type ShapeWithLiterals as ShapeWithLiteralsOriginal, SiteCreatedContext as SiteCreatedContextOriginal, type SiteCreatedContextWithLiterals as SiteCreatedContextWithLiteralsOriginal, type SiteCreated as SiteCreatedOriginal, type SiteDeleted as SiteDeletedOriginal, type SiteHardDeleted as SiteHardDeletedOriginal, type SiteMarkedAsTemplate as SiteMarkedAsTemplateOriginal, type SiteMarkedAsWixSite as SiteMarkedAsWixSiteOriginal, type SitePublished as SitePublishedOriginal, type SitePurgedExternally as SitePurgedExternallyOriginal, type SiteRenamed as SiteRenamedOriginal, type SiteTransferred as SiteTransferredOriginal, type SiteUndeleted as SiteUndeletedOriginal, type SiteUnpublished as SiteUnpublishedOriginal, type SiteUrlChanged as SiteUrlChangedOriginal, type SiteUrl as SiteUrlOriginal, type SketchData as SketchDataOriginal, type SlotData as SlotDataOriginal, type SlotDesign as SlotDesignOriginal, type SmartBlockCellData as SmartBlockCellDataOriginal, type SmartBlockData as SmartBlockDataOriginal, SmartBlockDataType as SmartBlockDataTypeOriginal, type SmartBlockDataTypeWithLiterals as SmartBlockDataTypeWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, type SpoilerData as SpoilerDataOriginal, type Spoiler as SpoilerOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type Stop as StopOriginal, type StreetAddress as StreetAddressOriginal, type StudioAssigned as StudioAssignedOriginal, type StudioTwoAssigned as StudioTwoAssignedOriginal, type StudioTwoUnassigned as StudioTwoUnassignedOriginal, type StudioUnassigned as StudioUnassignedOriginal, type StylesBorder as StylesBorderOriginal, type Styles as StylesOriginal, StylesPosition as StylesPositionOriginal, type StylesPositionWithLiterals as StylesPositionWithLiteralsOriginal, type Subdivision as SubdivisionOriginal, SubdivisionSubdivisionType as SubdivisionSubdivisionTypeOriginal, type SubdivisionSubdivisionTypeWithLiterals as SubdivisionSubdivisionTypeWithLiteralsOriginal, SubdivisionType as SubdivisionTypeOriginal, type SubdivisionTypeWithLiterals as SubdivisionTypeWithLiteralsOriginal, type TableCellData as TableCellDataOriginal, type TableData as TableDataOriginal, type Tag as TagOriginal, Target as TargetOriginal, type TargetWithLiterals as TargetWithLiteralsOriginal, type TaxConfig as TaxConfigOriginal, TaxType as TaxTypeOriginal, type TaxTypeWithLiterals as TaxTypeWithLiteralsOriginal, TextAlignment as TextAlignmentOriginal, type TextAlignmentWithLiterals as TextAlignmentWithLiteralsOriginal, type TextData as TextDataOriginal, type TextNodeStyle as TextNodeStyleOriginal, type TextStyle as TextStyleOriginal, ThumbnailsAlignment as ThumbnailsAlignmentOriginal, type ThumbnailsAlignmentWithLiterals as ThumbnailsAlignmentWithLiteralsOriginal, type Thumbnails as ThumbnailsOriginal, type TicketDefinition as TicketDefinitionOriginal, type TicketDefinitionSaleEnded as TicketDefinitionSaleEndedOriginal, type TicketDefinitionSaleStarted as TicketDefinitionSaleStartedOriginal, type TicketDefinitionSummary as TicketDefinitionSummaryOriginal, type TicketingConfig as TicketingConfigOriginal, type Ticketing as TicketingOriginal, type TicketingSummary as TicketingSummaryOriginal, type TicketsConfirmationMessages as TicketsConfirmationMessagesOriginal, type TicketsUnavailableMessages as TicketsUnavailableMessagesOriginal, type TocData as TocDataOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type URI as URIOriginal, type URIs as URIsOriginal, type UpdateEventTicketingSummaryRequest as UpdateEventTicketingSummaryRequestOriginal, type UpdateEventTicketingSummaryResponse as UpdateEventTicketingSummaryResponseOriginal, type UpdateFeeTypesBasedOnSettingsRequest as UpdateFeeTypesBasedOnSettingsRequestOriginal, type UpdateFeeTypesBasedOnSettingsResponse as UpdateFeeTypesBasedOnSettingsResponseOriginal, type UpdateTicketDefinitionApplicationErrors as UpdateTicketDefinitionApplicationErrorsOriginal, type UpdateTicketDefinitionRequest as UpdateTicketDefinitionRequestOriginal, type UpdateTicketDefinitionResponse as UpdateTicketDefinitionResponseOriginal, type UpdateTicketDefinitionSortIndexRequest as UpdateTicketDefinitionSortIndexRequestOriginal, type UpdateTicketDefinitionSortIndexResponse as UpdateTicketDefinitionSortIndexResponseOriginal, type UserDomainMediaDisabled as UserDomainMediaDisabledOriginal, type UserDomainMediaEnabled as UserDomainMediaEnabledOriginal, ValueType as ValueTypeOriginal, type ValueTypeWithLiterals as ValueTypeWithLiteralsOriginal, Variant as VariantOriginal, type VariantWithLiterals as VariantWithLiteralsOriginal, VerticalAlignmentAlignment as VerticalAlignmentAlignmentOriginal, type VerticalAlignmentAlignmentWithLiterals as VerticalAlignmentAlignmentWithLiteralsOriginal, VerticalAlignment as VerticalAlignmentOriginal, type VerticalAlignmentWithLiterals as VerticalAlignmentWithLiteralsOriginal, type VideoData as VideoDataOriginal, type Video as VideoOriginal, ViewMode as ViewModeOriginal, type ViewModeWithLiterals as ViewModeWithLiteralsOriginal, ViewRole as ViewRoleOriginal, type ViewRoleWithLiterals as ViewRoleWithLiteralsOriginal, VisitorType as VisitorTypeOriginal, type VisitorTypeWithLiterals as VisitorTypeWithLiteralsOriginal, VoteRole as VoteRoleOriginal, type VoteRoleWithLiterals as VoteRoleWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, Width as WidthOriginal, WidthType as WidthTypeOriginal, type WidthTypeWithLiterals as WidthTypeWithLiteralsOriginal, type WidthWithLiterals as WidthWithLiteralsOriginal, type WixelAssigned as WixelAssignedOriginal, type WixelUnassigned as WixelUnassignedOriginal, type __PublicMethodMetaInfo, bulkDeleteTicketDefinitionsByFilter, changeCurrency, countAvailableTicketDefinitions, countTicketDefinitions, createTicketDefinition, deleteTicketDefinition, getTicketDefinition, queryAvailableTicketDefinitions, queryTicketDefinitions, reorderTicketDefinitions, updateTicketDefinition };