import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { TicketDefinition, CreateTicketDefinitionOptions, CreateTicketDefinitionApplicationErrors, UpdateTicketDefinition, UpdateTicketDefinitionOptions, UpdateTicketDefinitionApplicationErrors, GetTicketDefinitionOptions, ReorderTicketDefinitionsOptions, ReorderTicketDefinitionsApplicationErrors, QueryV2, QueryAvailableTicketDefinitionsOptions, QueryAvailableTicketDefinitionsResponse, CountTicketDefinitionsOptions, CountTicketDefinitionsResponse, CountTicketDefinitionsApplicationErrors, CountAvailableTicketDefinitionsOptions, CountAvailableTicketDefinitionsResponse, CountAvailableTicketDefinitionsApplicationErrors, ChangeCurrencyOptions, ChangeCurrencyApplicationErrors, TicketDefinitionCreatedEnvelope, TicketDefinitionDeletedEnvelope, TicketDefinitionSaleEndedEnvelope, TicketDefinitionSalePeriodUpdatedEnvelope, TicketDefinitionSaleStartedEnvelope, TicketDefinitionUpdatedEnvelope, TicketDefinitionQuery, QueryTicketDefinitionsOptions, typedQueryTicketDefinitions, TicketDefinitionsQueryBuilder } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, Address, AddressLocation, AddressStreetOneOf, Agenda, Alignment, AlignmentWithLiterals, AnchorData, App, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, Asset, AudioData, AvailablePlace, Backdrop, BackdropType, BackdropTypeWithLiterals, Background, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Badge, Banner, BannerPosition, BannerPositionWithLiterals, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulkCopyTicketDefinitionsByEventIdRequest, BulkCopyTicketDefinitionsByEventIdResponse, BulkDeleteTicketDefinitionsByFilterRequest, BulkDeleteTicketDefinitionsByFilterResponse, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CalendarLinks, CancellationActor, CancellationActorType, CancellationActorTypeWithLiterals, CancellationInfo, CaptionData, CardData, CardDataBackground, CardDataBackgroundType, CardDataBackgroundTypeWithLiterals, CardStyles, CardStylesType, CardStylesTypeWithLiterals, Category, CategoryCounts, CategoryDetails, CategoryStateState, CategoryStateStateWithLiterals, CellStyle, ChangeCurrencyRequest, ChangeCurrencyResponse, CheckboxListData, CheckoutFormMessages, CheckoutType, CheckoutTypeWithLiterals, CodeBlockData, CollapsibleListData, ColorData, Colors, ColumnSize, ColumnSizeWithLiterals, CommonAddress, CommonAddressLocation, CommonAddressStreetOneOf, CommonMoney, CommonQueryWithEntityContext, CommonStreetAddress, CommonSubdivision, ConferenceType, ConferenceTypeWithLiterals, CopiedTicketDefinition, CountAvailableTicketDefinitionsRequest, CountTicketDefinitionsRequest, CreateTicketDefinitionRequest, CreateTicketDefinitionResponse, Crop, CropWithLiterals, CursorPaging, Cursors, CustomTag, Dashboard, DateAndTimeSettings, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteContext, DeleteStatus, DeleteStatusWithLiterals, DeleteTicketDefinitionRequest, DeleteTicketDefinitionResponse, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EditorlessAssigned, EditorlessUnassigned, EmbedData, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Event, EventCanceled, EventCreated, EventData, EventDeleted, EventDetails, EventDisplaySettings, EventEnded, EventMetadata, EventStatus, EventStatusWithLiterals, EventTicketingSummary, EventType, EventTypeWithLiterals, EventUpdated, EventsLocation, EventsOccurrence, EventsRecurrenceStatusStatus, EventsRecurrenceStatusStatusWithLiterals, EventsRecurrences, ExtendedFields, ExternalEvent, FacetCounts, FeeTypeEnumType, FeeTypeEnumTypeWithLiterals, Feed, Field, FieldWithLiterals, File, FileData, FileSource, FileSourceDataOneOf, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, Form, FormMessages, Formatted, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetTicketDefinitionFromTrashBinRequest, GetTicketDefinitionFromTrashBinResponse, GetTicketDefinitionRequest, GetTicketDefinitionResponse, GetTicketDefinitionSummaryRequest, GetTicketDefinitionSummaryResponse, Gradient, GradientType, GradientTypeWithLiterals, GuestListConfig, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataCrop, ImageDataStyles, ImagePosition, ImagePositionPosition, ImagePositionPositionWithLiterals, ImagePositionWithLiterals, ImageScalingScaling, ImageScalingScalingWithLiterals, ImageStyles, Indentation, IndentationWithLiterals, InitialExpandedItems, InitialExpandedItemsWithLiterals, Input, InputControl, InputControlType, InputControlTypeWithLiterals, InvalidateCache, InvalidateCacheGetByOneOf, Item, ItemDataOneOf, ItemStyle, Keyword, Label, LabellingSettings, Layout, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, LayoutDataBackgroundType, LayoutDataBackgroundTypeWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListEventTicketingSummaryRequest, ListEventTicketingSummaryResponse, ListItemNodeData, ListStyle, ListStyleWithLiterals, ListValue, Location, LocationLocationType, LocationLocationTypeWithLiterals, LocationType, LocationTypeWithLiterals, MapCoordinates, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Metadata, Money, Namespace, NamespaceChanged, NamespaceWithLiterals, Negative, NegativeResponseConfirmation, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Occurrence, OdeditorAssigned, OdeditorUnassigned, Oembed, OnlineConferencing, OnlineConferencingConfig, OnlineConferencingSession, Option, OptionDesign, OptionDetails, OptionLayout, OptionSelection, OptionSelectionSelectedOptionOneOf, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, Page, Pages, Paging, PagingMetadataV2, ParagraphData, Permissions, PicassoAssigned, PicassoUnassigned, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, PollSettings, Position, PositionWithLiterals, Positive, PositiveResponseConfirmation, PricingData, PricingMethod, PricingMethodPriceOneOf, PricingOptions, PricingTypeEnumType, PricingTypeEnumTypeWithLiterals, QueryAvailableTicketDefinitionsRequest, QueryTicketDefinitionsRequest, QueryTicketDefinitionsResponse, QueryV2PagingMethodOneOf, RecurrenceStatusStatus, RecurrenceStatusStatusWithLiterals, Recurrences, Registration, RegistrationClosedMessages, RegistrationStatus, RegistrationStatusWithLiterals, Rel, ReorderTicketDefinitionsOptionsReferenceDefinitionOneOf, ReorderTicketDefinitionsRequest, ReorderTicketDefinitionsRequestReferenceDefinitionOneOf, ReorderTicketDefinitionsResponse, Resizing, ResizingWithLiterals, ResponseConfirmation, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, RibbonStyles, RichContent, RsvpCollection, RsvpCollectionConfig, RsvpConfirmationMessages, RsvpConfirmationMessagesNegativeResponseConfirmation, RsvpConfirmationMessagesPositiveResponseConfirmation, RsvpFormMessages, RsvpStatusOptions, RsvpStatusOptionsWithLiterals, RsvpSummary, SalePeriod, SalePeriodUpdated, SaleStatusEnumStatus, SaleStatusEnumStatusWithLiterals, SalesDetails, Scaling, ScalingWithLiterals, ScheduleConfig, Scheduling, SeatingDetails, SeatingPlanCategoriesSummaryUpdated, SeoSchema, SeoSettings, ServiceProvisioned, ServiceRemoved, Settings, ShapeData, ShapeDataStyles, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrl, SiteUrlChanged, SketchData, SmartBlockCellData, SmartBlockData, SmartBlockDataType, SmartBlockDataTypeWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, State, StateWithLiterals, Status, StatusWithLiterals, Stop, StreetAddress, StudioAssigned, StudioTwoAssigned, StudioTwoUnassigned, StudioUnassigned, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, Subdivision, SubdivisionSubdivisionType, SubdivisionSubdivisionTypeWithLiterals, SubdivisionType, SubdivisionTypeWithLiterals, TableCellData, TableData, Tag, Target, TargetWithLiterals, TaxConfig, TaxType, TaxTypeWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TicketDefinitionQuerySpec, TicketDefinitionSaleEnded, TicketDefinitionSaleStarted, TicketDefinitionSummary, TicketDefinitionsQueryResult, Ticketing, TicketingConfig, TicketingSummary, TicketsConfirmationMessages, TicketsUnavailableMessages, TocData, Type, TypeWithLiterals, URI, URIs, UpdateEventTicketingSummaryRequest, UpdateEventTicketingSummaryResponse, UpdateFeeTypesBasedOnSettingsRequest, UpdateFeeTypesBasedOnSettingsResponse, UpdateTicketDefinitionRequest, UpdateTicketDefinitionResponse, UpdateTicketDefinitionSortIndexRequest, UpdateTicketDefinitionSortIndexResponse, UserDomainMediaDisabled, UserDomainMediaEnabled, ValueType, ValueTypeWithLiterals, Variant, VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VisitorType, VisitorTypeWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals, WixelAssigned, WixelUnassigned, utils } from './index.typings.js'; declare function createTicketDefinition$1(httpClient: HttpClient): CreateTicketDefinitionSignature; interface CreateTicketDefinitionSignature { /** * Creates a ticket definition. * * You may create up to 100 definitions per event. * @param - Ticket definition info. * @param - Currency info. * @returns Created ticket definition. */ (ticketDefinition: NonNullablePaths, options?: CreateTicketDefinitionOptions): Promise & { __applicationErrorsType?: CreateTicketDefinitionApplicationErrors; }>; } declare function updateTicketDefinition$1(httpClient: HttpClient): UpdateTicketDefinitionSignature; interface UpdateTicketDefinitionSignature { /** * Updates a ticket definition. * * Each time the ticket definition is updated, `revision` increments by 1. The existing `revision` must be included when updating the ticket definition. This ensures you're working with the latest ticket definition and prevents unintended overwrites. * @param - Ticket definition ID. * @param - Optional fields. * @param - Ticket definition to update. * @returns The updated ticket definition. */ (_id: string, ticketDefinition: NonNullablePaths, options?: UpdateTicketDefinitionOptions): Promise & { __applicationErrorsType?: UpdateTicketDefinitionApplicationErrors; }>; } declare function getTicketDefinition$1(httpClient: HttpClient): GetTicketDefinitionSignature; interface GetTicketDefinitionSignature { /** * Retrieves a ticket definition. * @param - Ticket definition ID. * @param - Optional fields. * @returns The requested ticket definition. */ (ticketDefinitionId: string, options?: GetTicketDefinitionOptions): Promise>; } declare function deleteTicketDefinition$1(httpClient: HttpClient): DeleteTicketDefinitionSignature; interface DeleteTicketDefinitionSignature { /** * Deletes a ticket definition. * @param - ID of the ticket definition to delete. */ (ticketDefinitionId: string): Promise; } declare function reorderTicketDefinitions$1(httpClient: HttpClient): ReorderTicketDefinitionsSignature; interface ReorderTicketDefinitionsSignature { /** * Adjusts the order in which ticket definitions display in an event dashboard, as well as the order of available tickets displayed in the ticket picker. * > **Note:** You may use both `beforeTicketDefinitionId` and `afterTicketDefinitionId` but only the last one provided takes effect. * @param - Event ID. * @param - Optional fields. */ (eventId: string, options?: NonNullablePaths): Promise; } declare function queryAvailableTicketDefinitions$1(httpClient: HttpClient): QueryAvailableTicketDefinitionsSignature; interface QueryAvailableTicketDefinitionsSignature { /** * Retrieves a list of available ticket definitions with the specified paging, filtering, and sorting. * * This method retrieves ticket definitions that aren't in the `hidden` state. The available ticket definitions can be retrieved by site visitors. * * > **Note:** You need the `WIX_EVENTS.READ_TICKET_DEFINITIONS` permission to get the `salesDetails` field values. * * Query Available Ticket Definitions runs with these defaults, which you can override: * - `createdDate` is sorted in `ASC` order * - `paging.limit` is `100` * - `paging.offset` is `0` * * To learn about working with _Query_ methods, see [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language). * @param - Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. * @param - Optional fields. */ (query: QueryV2, options?: QueryAvailableTicketDefinitionsOptions): Promise>; } declare function countTicketDefinitions$1(httpClient: HttpClient): CountTicketDefinitionsSignature; interface CountTicketDefinitionsSignature { /** * Counts ticket definitions by the `saleStatus` field, including those with the `hidden` status. * @param - Optional fields. */ (options?: CountTicketDefinitionsOptions): Promise; } declare function countAvailableTicketDefinitions$1(httpClient: HttpClient): CountAvailableTicketDefinitionsSignature; interface CountAvailableTicketDefinitionsSignature { /** * Counts ticket definitions by the `saleStatus`, excluding those with the `hidden` status. * @param - Optional fields. */ (options?: CountAvailableTicketDefinitionsOptions): Promise; } declare function bulkDeleteTicketDefinitionsByFilter$1(httpClient: HttpClient): BulkDeleteTicketDefinitionsByFilterSignature; interface BulkDeleteTicketDefinitionsByFilterSignature { /** * Deletes multiple ticket definitions. * * All ticket definitions that meet the specified `filter` criteria are deleted. * @param - Filter object. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */ (filter: Record): Promise; } declare function changeCurrency$1(httpClient: HttpClient): ChangeCurrencySignature; interface ChangeCurrencySignature { /** * Changes ticket price currency per event. * * Updates the currency for all ticket definitions under the event. * This doesn't convert price values. It only updates the currency code * (for example, 10 USD becomes 10 EUR). * @param - Event ID. * @param - Optional fields. */ (eventId: string, options: NonNullablePaths): Promise; } declare const onTicketDefinitionCreated$1: EventDefinition; declare const onTicketDefinitionDeleted$1: EventDefinition; declare const onTicketDefinitionSaleEnded$1: EventDefinition; declare const onTicketDefinitionSalePeriodUpdated$1: EventDefinition; declare const onTicketDefinitionSaleStarted$1: EventDefinition; declare const onTicketDefinitionUpdated$1: EventDefinition; declare function customQueryTicketDefinitions(httpClient: HttpClient): { (query: TicketDefinitionQuery, options?: QueryTicketDefinitionsOptions): ReturnType; (options?: QueryTicketDefinitionsOptions): TicketDefinitionsQueryBuilder; }; declare const createTicketDefinition: MaybeContext & typeof createTicketDefinition$1>; declare const updateTicketDefinition: MaybeContext & typeof updateTicketDefinition$1>; declare const getTicketDefinition: MaybeContext & typeof getTicketDefinition$1>; declare const deleteTicketDefinition: MaybeContext & typeof deleteTicketDefinition$1>; declare const reorderTicketDefinitions: MaybeContext & typeof reorderTicketDefinitions$1>; declare const queryAvailableTicketDefinitions: MaybeContext & typeof queryAvailableTicketDefinitions$1>; declare const countTicketDefinitions: MaybeContext & typeof countTicketDefinitions$1>; declare const countAvailableTicketDefinitions: MaybeContext & typeof countAvailableTicketDefinitions$1>; declare const bulkDeleteTicketDefinitionsByFilter: MaybeContext & typeof bulkDeleteTicketDefinitionsByFilter$1>; declare const changeCurrency: MaybeContext & typeof changeCurrency$1>; declare const queryTicketDefinitions: MaybeContext & typeof customQueryTicketDefinitions>; /** * Triggered when a ticket definition is created. */ declare const onTicketDefinitionCreated: BuildEventDefinition & typeof onTicketDefinitionCreated$1; /** * Triggered when a ticket definition is deleted. */ declare const onTicketDefinitionDeleted: BuildEventDefinition & typeof onTicketDefinitionDeleted$1; /** * Triggered when a ticket sale ends. Sales details aren't included in the response. */ declare const onTicketDefinitionSaleEnded: BuildEventDefinition & typeof onTicketDefinitionSaleEnded$1; /** * Triggered when a sale period is updated. */ declare const onTicketDefinitionSalePeriodUpdated: BuildEventDefinition & typeof onTicketDefinitionSalePeriodUpdated$1; /** * Triggered when a ticket sale starts. Sales details aren't included in the response. */ declare const onTicketDefinitionSaleStarted: BuildEventDefinition & typeof onTicketDefinitionSaleStarted$1; /** * Triggered when a ticket definition is updated. */ declare const onTicketDefinitionUpdated: BuildEventDefinition & typeof onTicketDefinitionUpdated$1; export { ChangeCurrencyApplicationErrors, ChangeCurrencyOptions, CountAvailableTicketDefinitionsApplicationErrors, CountAvailableTicketDefinitionsOptions, CountAvailableTicketDefinitionsResponse, CountTicketDefinitionsApplicationErrors, CountTicketDefinitionsOptions, CountTicketDefinitionsResponse, CreateTicketDefinitionApplicationErrors, CreateTicketDefinitionOptions, GetTicketDefinitionOptions, QueryAvailableTicketDefinitionsOptions, QueryAvailableTicketDefinitionsResponse, QueryTicketDefinitionsOptions, QueryV2, ReorderTicketDefinitionsApplicationErrors, ReorderTicketDefinitionsOptions, TicketDefinition, TicketDefinitionCreatedEnvelope, TicketDefinitionDeletedEnvelope, TicketDefinitionQuery, TicketDefinitionSaleEndedEnvelope, TicketDefinitionSalePeriodUpdatedEnvelope, TicketDefinitionSaleStartedEnvelope, TicketDefinitionUpdatedEnvelope, TicketDefinitionsQueryBuilder, UpdateTicketDefinition, UpdateTicketDefinitionApplicationErrors, UpdateTicketDefinitionOptions, bulkDeleteTicketDefinitionsByFilter, changeCurrency, countAvailableTicketDefinitions, countTicketDefinitions, createTicketDefinition, deleteTicketDefinition, getTicketDefinition, onTicketDefinitionCreated, onTicketDefinitionDeleted, onTicketDefinitionSaleEnded, onTicketDefinitionSalePeriodUpdated, onTicketDefinitionSaleStarted, onTicketDefinitionUpdated, queryAvailableTicketDefinitions, queryTicketDefinitions, reorderTicketDefinitions, updateTicketDefinition };