import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { QueryTicketDefinitionsOptions, QueryTicketDefinitionsResponse, ListTicketDefinitionsOptions, ListTicketDefinitionsResponse, GetTicketDefinitionOptions, TicketDefinition, CreateTicketDefinitionOptions, CreateTicketDefinitionResponse, UpdateTicketDefinitionOptions, UpdateTicketDefinitionResponse, DeleteTicketDefinitionOptions, ChangeCurrencyOptions, TicketDefinitionCreatedEnvelope, TicketDefinitionDeletedEnvelope, TicketDefinitionUpdatedEnvelope, TicketDefinitionQuery, QueryTicketDefinitionsV2Options, typedQueryTicketDefinitionsV2, DefinitionsQueryBuilder } from './index.typings.js'; export { AccountInfo, BaseEventMetadata, BulkCopyTicketDefinitionsByEventIdRequest, BulkCopyTicketDefinitionsByEventIdResponse, ById, ChangeCurrencyRequest, ChangeCurrencyResponse, CommonQueryWithEntityContext, CopiedTicketDefinition, CreateTicketDefinitionRequest, CursorPaging, Cursors, Dashboard, DefinitionsQueryResult, DeleteTicketDefinitionOptionsDeleteOneOf, DeleteTicketDefinitionRequest, DeleteTicketDefinitionRequestDeleteOneOf, DeleteTicketDefinitionResponse, FacetCounts, FeeType, FeeTypeWithLiterals, GetTicketDefinitionRequest, GetTicketDefinitionResponse, GroupBy, GroupByWithLiterals, IdentificationData, IdentificationDataIdOneOf, ListTicketDefinitionsRequest, MessageEnvelope, Money, OriginatedFrom, Paging, PagingMetadataV2, PaidTicketDefinitionExistsRequest, PaidTicketDefinitionExistsResponse, PricingOption, PricingOptions, QueryTicketDefinitionsRequest, QueryTicketDefinitionsV2Request, QueryTicketDefinitionsV2Response, QueryV2, QueryV2PagingMethodOneOf, ResponseMetaData, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, TicketDefinitionCreated, TicketDefinitionData, TicketDefinitionDeleted, TicketDefinitionFieldset, TicketDefinitionFieldsetWithLiterals, TicketDefinitionQuerySpec, TicketDefinitionStateEnumState, TicketDefinitionStateEnumStateWithLiterals, TicketDefinitionUpdated, TicketPricing, TicketPricingPriceOneOf, TicketSalePeriod, TicketSaleStatus, TicketSaleStatusWithLiterals, Type, TypeWithLiterals, UpdateTicketDefinitionRequest, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixFeeConfig, utils } from './index.typings.js'; declare function queryTicketDefinitions$1(httpClient: HttpClient): QueryTicketDefinitionsSignature; interface QueryTicketDefinitionsSignature { /** * **Deprecated.** This function will continue to work until November 8, 2024, but a newer version is available. Use [`queryTicketDefinitions()`](/ticket-definitions-v2/query-ticket-definitions) function instead. * >**Migration Instructions**. * > If this function is already in your code, it will continue to work. To stay compatible with future changes, migrate to [`queryTicketDefinition()`](/ticket-definitions-v2/query-ticket-definitions). * > To migrate to the new function: * > 1. Add the new import statement: * > ```js * > import { ticketDefinitionsV2 } from 'wix-events.v2'; * > ``` * > 2. Look for any code that uses `ticketDefinitions.queryTicketDefinition()`, and replace it with `ticketDefinitionsV2.queryTicketDefinition()`. Update your code to work with the new `createTicketDefinition()` response properties. * > 3. Test your changes to make sure your code behaves as expected. * * Retrieves a list of up to 100 ticket definitions. * @deprecated */ (options?: QueryTicketDefinitionsOptions): Promise>; } declare function listTicketDefinitions$1(httpClient: HttpClient): ListTicketDefinitionsSignature; interface ListTicketDefinitionsSignature { /** * **Deprecated.** This function will continue to work until November 8, 2024, but a substitute is available. Use the [`queryTicketDefinitions()`](/ticket-definitions-v2/query-ticket-definitions) function instead. * >**Migration Instructions**. * > If this function is already in your code, it will continue to work. To stay compatible with future changes, migrate to [`queryTicketDefinitions()`](/ticket-definitions-v2/query-ticket-definitions). * > To migrate to the new function: * > 1. Add the new import statement: * > ```js * > import { ticketDefinitionsV2 } from 'wix-events.v2'; * > ``` * > 2. Look for any code that uses `ticketDefinitions.queryTicketDefinitions()`, and replace it with `ticketDefinitionsV2.queryTicketDefinitions()`. Update your code to work with the new `queryTicketDefinition()` response properties. * > 3. Test your changes to make sure your code behaves as expected. * * Retrieves a list of up to 100 ticket definitions, with basic filter support. * @param - Details for the tickets to retrieve. * @deprecated */ (options?: ListTicketDefinitionsOptions): Promise>; } declare function getTicketDefinition$1(httpClient: HttpClient): GetTicketDefinitionSignature; interface GetTicketDefinitionSignature { /** * **Deprecated.** This function will continue to work until November 8, 2024, but a newer version is available. Use the [`getTicketDefinition()`](/ticket-definitions-v2/get-ticket-definition) function instead. * >**Migration Instructions**. * > If this function is already in your code, it will continue to work. To stay compatible with future changes, migrate to [`getTicketDefinition()`](/ticket-definitions-v2/get-ticket-definition). * > To migrate to the new function: * > 1. Add the new import statement: * > ```js * > import { ticketDefinitionsV2 } from 'wix-events.v2'; * > ``` * > 2. Look for any code that uses `ticketDefinitions.getTicketDefinition()`, and replace it with `ticketDefinitionsV2.getTicketDefinition()`. Update your code to work with the new `getTicketDefinition()` response properties. * > 3. Test your changes to make sure your code behaves as expected. * * Retrieves a ticket definition. * @param - Ticket definition ID. * @param - Details for the ticket to retrieve. * @returns Retrieved ticket definition. * @deprecated */ (definitionId: string, options?: GetTicketDefinitionOptions): Promise>; } declare function createTicketDefinition$1(httpClient: HttpClient): CreateTicketDefinitionSignature; interface CreateTicketDefinitionSignature { /** * **Deprecated.** This function will continue to work until November 8, 2024, but a newer version is available. Use the [`createTicketDefinition()`](/ticket-definitions-v2/create-ticket-definition) function instead. * >**Migration Instructions**. * > If this function is already in your code, it will continue to work. To stay compatible with future changes, migrate to [`createTicketDefinition()`](/ticket-definitions-v2/create-ticket-definition). * > To migrate to the new function: * > 1. Add the new import statement: * > ```js * > import { ticketDefinitionsV2 } from 'wix-events.v2'; * > ``` * > 2. Look for any code that uses `ticketDefinitions.createTicketDefinition()`, and replace it with `ticketDefinitionsV2.createTicketDefinition()`. Update your code to work with the new `createTicketDefinition()` response properties. * > 3. Test your changes to make sure your code behaves as expected. * * Creates a ticket definition (and enables ticket sales). * @param - Event ID. * @deprecated */ (eventId: string, options: NonNullablePaths): Promise>; } declare function updateTicketDefinition$1(httpClient: HttpClient): UpdateTicketDefinitionSignature; interface UpdateTicketDefinitionSignature { /** * **Deprecated.** This function will continue to work until November 8, 2024, but a newer version is available. Use the [`updateTicketDefinition()`](/ticket-definitions-v2/update-ticket-definition) function instead. * >**Migration Instructions**. * > If this function is already in your code, it will continue to work. To stay compatible with future changes, migrate to [`updateTicketDefinition()`](/ticket-definitions-v2/update-ticket-definition). * > To migrate to the new function: * > 1. Add the new import statement: * > ```js * > import { ticketDefinitionsV2 } from 'wix-events.v2'; * > ``` * > 2. Look for any code that uses `ticketDefinitions.updateTicketDefinition()`, and replace it with `ticketDefinitionsV2.updateTicketDefinition()`. Update your code to work with the new `updateTicketDefinition()` response properties. * > 3. Test your changes to make sure your code behaves as expected. * * * Updates a ticket definition. * * See [Partial Updates](/wix-events-v2/partial-updates) for more information. * @param - Ticket definition ID. * @param - Event ID. * @param - Details of the ticket definition to update. * @param - Ticket definition details to update. * @deprecated */ (definitionId: string, eventId: string, options?: UpdateTicketDefinitionOptions): Promise>; } declare function deleteTicketDefinition$1(httpClient: HttpClient): DeleteTicketDefinitionSignature; interface DeleteTicketDefinitionSignature { /** * **Deprecated.** This function will continue to work until November 8, 2024, but a newer version is available. Use the [`deleteTicketDefinition()`](/ticket-definitions-v2/delete-ticket-definition) function instead. * >**Migration Instructions**. * > If this function is already in your code, it will continue to work. To stay compatible with future changes, migrate to [`deleteTicketDefinition()`](/ticket-definitions-v2/delete-ticket-definition). * > To migrate to the new function: * > 1. Add the new import statement: * > ```js * > import { ticketDefinitionsV2 } from 'wix-events.v2'; * > ``` * > 2. Look for any code that uses `ticketDefinitions.deleteTicketDefinition()`, and replace it with `ticketDefinitionsV2.deleteTicketDefinition()`. Update your code to work with the new `deleteTicketDefinition()` response properties. * > 3. Test your changes to make sure your code behaves as expected. * * Deletes a ticket definition. * @param - Event ID. * @param - Details of tickets to delete. * @deprecated */ (eventId: string, options?: DeleteTicketDefinitionOptions): Promise; } declare function changeCurrency$1(httpClient: HttpClient): ChangeCurrencySignature; interface ChangeCurrencySignature { /** * **Deprecated.** This function will continue to work until November 8, 2024, but a newer version is available at [`changeCurrency()`](/ticket-definitions-v2/change-currency). * >**Migration Instructions**. * > If this function is already in your code, it will continue to work. To stay compatible with future changes, migrate to [`changeCurrency()`](/ticket-definitions-v2/change-currency). * > To migrate to the new function: * > 1. Add the new import statement: * > ```js * > import { ticketDefinitionsV2 } from 'wix-events.v2'; * > ``` * > 2. Look for any code that uses `ticketDefinitions.changeCurrency()`, and replace it with `ticketDefinitionsV2.changeCurrency()`. Update your code to work with the new `changeCurrency()` response properties. * > 3. Test your changes to make sure your code behaves as expected. * * Changes the currency for all tickets per event. * * @deprecated */ (options?: NonNullablePaths): Promise; } declare const onTicketDefinitionCreated$1: EventDefinition; declare const onTicketDefinitionDeleted$1: EventDefinition; declare const onTicketDefinitionUpdated$1: EventDefinition; declare function customQueryTicketDefinitionsV2(httpClient: HttpClient): { (query: TicketDefinitionQuery, options?: QueryTicketDefinitionsV2Options): ReturnType; (options?: QueryTicketDefinitionsV2Options): DefinitionsQueryBuilder; }; declare const queryTicketDefinitions: MaybeContext & typeof queryTicketDefinitions$1>; declare const listTicketDefinitions: MaybeContext & typeof listTicketDefinitions$1>; declare const getTicketDefinition: MaybeContext & typeof getTicketDefinition$1>; declare const createTicketDefinition: MaybeContext & typeof createTicketDefinition$1>; declare const updateTicketDefinition: MaybeContext & typeof updateTicketDefinition$1>; declare const deleteTicketDefinition: MaybeContext & typeof deleteTicketDefinition$1>; declare const changeCurrency: MaybeContext & typeof changeCurrency$1>; declare const queryTicketDefinitionsV2: MaybeContext & typeof customQueryTicketDefinitionsV2>; /** */ declare const onTicketDefinitionCreated: BuildEventDefinition & typeof onTicketDefinitionCreated$1; /** */ declare const onTicketDefinitionDeleted: BuildEventDefinition & typeof onTicketDefinitionDeleted$1; /** */ declare const onTicketDefinitionUpdated: BuildEventDefinition & typeof onTicketDefinitionUpdated$1; export { ChangeCurrencyOptions, CreateTicketDefinitionOptions, CreateTicketDefinitionResponse, DefinitionsQueryBuilder, DeleteTicketDefinitionOptions, GetTicketDefinitionOptions, ListTicketDefinitionsOptions, ListTicketDefinitionsResponse, QueryTicketDefinitionsOptions, QueryTicketDefinitionsResponse, QueryTicketDefinitionsV2Options, TicketDefinition, TicketDefinitionCreatedEnvelope, TicketDefinitionDeletedEnvelope, TicketDefinitionQuery, TicketDefinitionUpdatedEnvelope, UpdateTicketDefinitionOptions, UpdateTicketDefinitionResponse, changeCurrency, createTicketDefinition, deleteTicketDefinition, getTicketDefinition, listTicketDefinitions, onTicketDefinitionCreated, onTicketDefinitionDeleted, onTicketDefinitionUpdated, queryTicketDefinitions, queryTicketDefinitionsV2, updateTicketDefinition };