import { RequestOptionsFactory } from '@wix/sdk-types'; /** * **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. */ export declare function queryTicketDefinitions(payload: object): RequestOptionsFactory; /** * **Deprecated.** This function will continue to work until October 29, 2024, but a newer version is available at [`queryTicketDefinitions()`](/ticket-definitions-v2/query-ticket-definitions). * >**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 1,000 ticket definitions, given the provided paging and filtering. */ export declare function queryTicketDefinitionsV2(payload: object): RequestOptionsFactory; /** * **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. */ export declare function listTicketDefinitions(payload: object): RequestOptionsFactory; /** * **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. */ export declare function getTicketDefinition(payload: object): RequestOptionsFactory; /** * **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). */ export declare function createTicketDefinition(payload: object): RequestOptionsFactory; /** * **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. */ export declare function updateTicketDefinition(payload: object): RequestOptionsFactory; /** * **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. */ export declare function deleteTicketDefinition(payload: object): RequestOptionsFactory; /** * **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. * */ export declare function changeCurrency(payload: object): RequestOptionsFactory;