@wix/auto_sdk_events_ticket-definitions 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/events-v1-ticket-definition-ticket-definitions.universal-DjrTBlvE.d.mts +894 -0
- package/build/events-v1-ticket-definition-ticket-definitions.universal-DjrTBlvE.d.ts +894 -0
- package/build/{cjs/src/events-v1-ticket-definition-ticket-definitions.public.d.ts → index.d.mts} +35 -22
- package/build/{internal/cjs/src/events-v1-ticket-definition-ticket-definitions.public.d.ts → index.d.ts} +35 -22
- package/build/index.js +1092 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +1049 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/events-v1-ticket-definition-ticket-definitions.universal-I_qGL_cH.d.mts +901 -0
- package/build/internal/events-v1-ticket-definition-ticket-definitions.universal-I_qGL_cH.d.ts +901 -0
- package/build/internal/{es/src/events-v1-ticket-definition-ticket-definitions.public.d.ts → index.d.mts} +35 -22
- package/build/{es/src/events-v1-ticket-definition-ticket-definitions.public.d.ts → internal/index.d.ts} +35 -22
- package/build/internal/index.js +1092 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +1049 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/{es/src/events-v1-ticket-definition-ticket-definitions.types.d.ts → internal/meta.d.mts} +72 -288
- package/build/internal/{cjs/src/events-v1-ticket-definition-ticket-definitions.types.d.ts → meta.d.ts} +72 -288
- package/build/internal/meta.js +760 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +726 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/{internal/es/src/events-v1-ticket-definition-ticket-definitions.types.d.ts → meta.d.mts} +72 -288
- package/build/{cjs/src/events-v1-ticket-definition-ticket-definitions.types.d.ts → meta.d.ts} +72 -288
- package/build/meta.js +760 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +726 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +13 -12
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/events-v1-ticket-definition-ticket-definitions.context.d.ts +0 -22
- package/build/cjs/src/events-v1-ticket-definition-ticket-definitions.context.js +0 -34
- package/build/cjs/src/events-v1-ticket-definition-ticket-definitions.context.js.map +0 -1
- package/build/cjs/src/events-v1-ticket-definition-ticket-definitions.http.d.ts +0 -132
- package/build/cjs/src/events-v1-ticket-definition-ticket-definitions.http.js +0 -703
- package/build/cjs/src/events-v1-ticket-definition-ticket-definitions.http.js.map +0 -1
- package/build/cjs/src/events-v1-ticket-definition-ticket-definitions.meta.d.ts +0 -24
- package/build/cjs/src/events-v1-ticket-definition-ticket-definitions.meta.js +0 -180
- package/build/cjs/src/events-v1-ticket-definition-ticket-definitions.meta.js.map +0 -1
- package/build/cjs/src/events-v1-ticket-definition-ticket-definitions.public.js +0 -86
- package/build/cjs/src/events-v1-ticket-definition-ticket-definitions.public.js.map +0 -1
- package/build/cjs/src/events-v1-ticket-definition-ticket-definitions.types.js +0 -71
- package/build/cjs/src/events-v1-ticket-definition-ticket-definitions.types.js.map +0 -1
- package/build/cjs/src/events-v1-ticket-definition-ticket-definitions.universal.d.ts +0 -1261
- package/build/cjs/src/events-v1-ticket-definition-ticket-definitions.universal.js +0 -609
- package/build/cjs/src/events-v1-ticket-definition-ticket-definitions.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/src/events-v1-ticket-definition-ticket-definitions.context.d.ts +0 -22
- package/build/es/src/events-v1-ticket-definition-ticket-definitions.context.js +0 -22
- package/build/es/src/events-v1-ticket-definition-ticket-definitions.context.js.map +0 -1
- package/build/es/src/events-v1-ticket-definition-ticket-definitions.http.d.ts +0 -132
- package/build/es/src/events-v1-ticket-definition-ticket-definitions.http.js +0 -692
- package/build/es/src/events-v1-ticket-definition-ticket-definitions.http.js.map +0 -1
- package/build/es/src/events-v1-ticket-definition-ticket-definitions.meta.d.ts +0 -24
- package/build/es/src/events-v1-ticket-definition-ticket-definitions.meta.js +0 -146
- package/build/es/src/events-v1-ticket-definition-ticket-definitions.meta.js.map +0 -1
- package/build/es/src/events-v1-ticket-definition-ticket-definitions.public.js +0 -66
- package/build/es/src/events-v1-ticket-definition-ticket-definitions.public.js.map +0 -1
- package/build/es/src/events-v1-ticket-definition-ticket-definitions.types.js +0 -68
- package/build/es/src/events-v1-ticket-definition-ticket-definitions.types.js.map +0 -1
- package/build/es/src/events-v1-ticket-definition-ticket-definitions.universal.d.ts +0 -1261
- package/build/es/src/events-v1-ticket-definition-ticket-definitions.universal.js +0 -575
- package/build/es/src/events-v1-ticket-definition-ticket-definitions.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/events-v1-ticket-definition-ticket-definitions.context.d.ts +0 -22
- package/build/internal/cjs/src/events-v1-ticket-definition-ticket-definitions.context.js +0 -34
- package/build/internal/cjs/src/events-v1-ticket-definition-ticket-definitions.context.js.map +0 -1
- package/build/internal/cjs/src/events-v1-ticket-definition-ticket-definitions.http.d.ts +0 -132
- package/build/internal/cjs/src/events-v1-ticket-definition-ticket-definitions.http.js +0 -703
- package/build/internal/cjs/src/events-v1-ticket-definition-ticket-definitions.http.js.map +0 -1
- package/build/internal/cjs/src/events-v1-ticket-definition-ticket-definitions.meta.d.ts +0 -24
- package/build/internal/cjs/src/events-v1-ticket-definition-ticket-definitions.meta.js +0 -180
- package/build/internal/cjs/src/events-v1-ticket-definition-ticket-definitions.meta.js.map +0 -1
- package/build/internal/cjs/src/events-v1-ticket-definition-ticket-definitions.public.js +0 -86
- package/build/internal/cjs/src/events-v1-ticket-definition-ticket-definitions.public.js.map +0 -1
- package/build/internal/cjs/src/events-v1-ticket-definition-ticket-definitions.types.js +0 -71
- package/build/internal/cjs/src/events-v1-ticket-definition-ticket-definitions.types.js.map +0 -1
- package/build/internal/cjs/src/events-v1-ticket-definition-ticket-definitions.universal.d.ts +0 -1268
- package/build/internal/cjs/src/events-v1-ticket-definition-ticket-definitions.universal.js +0 -609
- package/build/internal/cjs/src/events-v1-ticket-definition-ticket-definitions.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/events-v1-ticket-definition-ticket-definitions.context.d.ts +0 -22
- package/build/internal/es/src/events-v1-ticket-definition-ticket-definitions.context.js +0 -22
- package/build/internal/es/src/events-v1-ticket-definition-ticket-definitions.context.js.map +0 -1
- package/build/internal/es/src/events-v1-ticket-definition-ticket-definitions.http.d.ts +0 -132
- package/build/internal/es/src/events-v1-ticket-definition-ticket-definitions.http.js +0 -692
- package/build/internal/es/src/events-v1-ticket-definition-ticket-definitions.http.js.map +0 -1
- package/build/internal/es/src/events-v1-ticket-definition-ticket-definitions.meta.d.ts +0 -24
- package/build/internal/es/src/events-v1-ticket-definition-ticket-definitions.meta.js +0 -146
- package/build/internal/es/src/events-v1-ticket-definition-ticket-definitions.meta.js.map +0 -1
- package/build/internal/es/src/events-v1-ticket-definition-ticket-definitions.public.js +0 -66
- package/build/internal/es/src/events-v1-ticket-definition-ticket-definitions.public.js.map +0 -1
- package/build/internal/es/src/events-v1-ticket-definition-ticket-definitions.types.js +0 -68
- package/build/internal/es/src/events-v1-ticket-definition-ticket-definitions.types.js.map +0 -1
- package/build/internal/es/src/events-v1-ticket-definition-ticket-definitions.universal.d.ts +0 -1268
- package/build/internal/es/src/events-v1-ticket-definition-ticket-definitions.universal.js +0 -575
- package/build/internal/es/src/events-v1-ticket-definition-ticket-definitions.universal.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/events-v1-ticket-definition-ticket-definitions.http.ts","../src/events-v1-ticket-definition-ticket-definitions.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixEventsTicketingTicketDefinitionManagementUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/events/v1/ticket-definitions',\n destPath: '/v1/ticket-definitions',\n },\n {\n srcPath: '/events/v2/ticket-definitions',\n destPath: '/v2/ticket-definitions',\n },\n {\n srcPath: '/events/v1/tickets/available',\n destPath: '/v1/tickets/available',\n },\n {\n srcPath: '/events/v1/checkout',\n destPath: '/v1/checkout',\n },\n {\n srcPath: '/events/v1/pos-checkout',\n destPath: '/v1/pos-checkout',\n },\n {\n srcPath: '/_api/events/v1/ticket-definitions',\n destPath: '/v1/ticket-definitions',\n },\n {\n srcPath: '/_api/events/v2/ticket-definitions',\n destPath: '/v2/ticket-definitions',\n },\n {\n srcPath: '/_api/events/v1/tickets/available',\n destPath: '/v1/tickets/available',\n },\n {\n srcPath: '/_api/events/v1/pos-checkout',\n destPath: '/v1/pos-checkout',\n },\n {\n srcPath: '/_api/events/v1/checkout',\n destPath: '/v1/checkout',\n },\n {\n srcPath: '/_api/events-ticketing-v1-proxy',\n destPath: '/api',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/events/v1/ticket-definitions',\n destPath: '/v1/ticket-definitions',\n },\n {\n srcPath: '/events/v2/ticket-definitions',\n destPath: '/v2/ticket-definitions',\n },\n {\n srcPath: '/events/v1/tickets/available',\n destPath: '/v1/tickets/available',\n },\n {\n srcPath: '/events/v1/checkout',\n destPath: '/v1/checkout',\n },\n {\n srcPath: '/events/v1/pos-checkout',\n destPath: '/v1/pos-checkout',\n },\n ],\n _: [\n {\n srcPath: '/_api/events/v1/ticket-definitions',\n destPath: '/v1/ticket-definitions',\n },\n {\n srcPath: '/_api/events/v2/ticket-definition',\n destPath: '/v2/ticket-definitions',\n },\n {\n srcPath: '/_api/events/v1/tickets/available',\n destPath: '/v1/tickets/available',\n },\n {\n srcPath: '/_api/events/v1/pos-checkout',\n destPath: '/v1/pos-checkout',\n },\n {\n srcPath: '/_api/events/v1/checkout',\n destPath: '/v1/checkout',\n },\n {\n srcPath: '/_api/events-ticketing-v1-proxy/v1',\n destPath: '/v1',\n },\n {\n srcPath: '/_api/events-ticketing-v1-proxy/v2',\n destPath: '/v2',\n },\n {\n srcPath: '/_api/wix-events-web/v1/checkout',\n destPath: '/v1/checkout',\n },\n {\n srcPath: '/_api/wix-events-web/v1/pos-checkout',\n destPath: '/v1/pos-checkout',\n },\n {\n srcPath: '/_api/wix-events-web/v1/ticket-definitions',\n destPath: '/v1/ticket-definitions',\n },\n {\n srcPath: '/_api/wix-events-web/v1/tickets/available',\n destPath: '/v1/tickets/available',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/events/v1/ticket-definitions',\n destPath: '/v1/ticket-definitions',\n },\n {\n srcPath: '/_api/events/v2/ticket-definitions',\n destPath: '/v2/ticket-definitions',\n },\n {\n srcPath: '/_api/events/v1/tickets/available',\n destPath: '/v1/tickets/available',\n },\n {\n srcPath: '/_api/events/v1/pos-checkout',\n destPath: '/v1/pos-checkout',\n },\n {\n srcPath: '/_api/events/v1/checkout',\n destPath: '/v1/checkout',\n },\n {\n srcPath: '/_api/wix-events-web/v1/checkout',\n destPath: '/v1/checkout',\n },\n {\n srcPath: '/_api/wix-events-web/v1/ticket-definitions',\n destPath: '/v1/ticket-definitions',\n },\n {\n srcPath: '/_api/wix-events-web/v1/tickets/available',\n destPath: '/v1/tickets/available',\n },\n {\n srcPath: '/_api/wix-events-web/v1/pos-checkout',\n destPath: '/v1/pos-checkout',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/events/v1/ticket-definitions',\n destPath: '/v1/ticket-definitions',\n },\n {\n srcPath: '/_api/events/v2/ticket-definitions',\n destPath: '/v2/ticket-definitions',\n },\n {\n srcPath: '/_api/events/v1/tickets/available',\n destPath: '/v1/tickets/available',\n },\n {\n srcPath: '/_api/events/v1/pos-checkout',\n destPath: '/v1/pos-checkout',\n },\n {\n srcPath: '/_api/events/v1/checkout',\n destPath: '/v1/checkout',\n },\n {\n srcPath: '/_api/wix-events-web/v1/checkout',\n destPath: '/v1/checkout',\n },\n {\n srcPath: '/_api/wix-events-web/v1/ticket-definitions',\n destPath: '/v1/ticket-definitions',\n },\n {\n srcPath: '/_api/wix-events-web/v1/tickets/available',\n destPath: '/v1/tickets/available',\n },\n {\n srcPath: '/_api/wix-events-web/v1/pos-checkout',\n destPath: '/v1/pos-checkout',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/events/v1/ticket-definitions',\n destPath: '/v1/ticket-definitions',\n },\n {\n srcPath: '/_api/events/v2/ticket-definitions',\n destPath: '/v2/ticket-definitions',\n },\n {\n srcPath: '/_api/events/v1/tickets/available',\n destPath: '/v1/tickets/available',\n },\n {\n srcPath: '/_api/events/v1/pos-checkout',\n destPath: '/v1/pos-checkout',\n },\n {\n srcPath: '/_api/events/v1/checkout',\n destPath: '/v1/checkout',\n },\n {\n srcPath: '/_api/wix-events-web/v1/checkout',\n destPath: '/v1/checkout',\n },\n {\n srcPath: '/_api/wix-events-web/v1/ticket-definitions',\n destPath: '/v1/ticket-definitions',\n },\n {\n srcPath: '/_api/wix-events-web/v1/tickets/available',\n destPath: '/v1/tickets/available',\n },\n {\n srcPath: '/_api/wix-events-web/v1/pos-checkout',\n destPath: '/v1/pos-checkout',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/wix-events-web/v1/checkout',\n destPath: '/v1/checkout',\n },\n {\n srcPath: '/_api/wix-events-web/v1/pos-checkout',\n destPath: '/v1/pos-checkout',\n },\n {\n srcPath: '/_api/wix-events-web/v1/ticket-definitions',\n destPath: '/v1/ticket-definitions',\n },\n {\n srcPath: '/_api/wix-events-web/v1/tickets/available',\n destPath: '/v1/tickets/available',\n },\n ],\n '*.pub.wix-code.com': [\n {\n srcPath: '/_api/wix-events-web/v1/checkout',\n destPath: '/v1/checkout',\n },\n {\n srcPath: '/_api/wix-events-web/v1/ticket-definitions',\n destPath: '/v1/ticket-definitions',\n },\n {\n srcPath: '/_api/wix-events-web/v1/tickets/available',\n destPath: '/v1/tickets/available',\n },\n {\n srcPath: '/_api/wix-events-web/v1/pos-checkout',\n destPath: '/v1/pos-checkout',\n },\n ],\n 'api._base_domain_': [\n {\n srcPath: '/events/v1/checkout',\n destPath: '/v1/checkout',\n },\n {\n srcPath: '/events/v1/ticket-definitions',\n destPath: '/v1/ticket-definitions',\n },\n {\n srcPath: '/events/v1/tickets/available',\n destPath: '/v1/tickets/available',\n },\n {\n srcPath: '/events/v1/pos-checkout',\n destPath: '/v1/pos-checkout',\n },\n ],\n 'editor-flow.wixapps.net': [\n {\n srcPath: '/_api/wix-events-web/v1/checkout',\n destPath: '/v1/checkout',\n },\n {\n srcPath: '/_api/wix-events-web/v1/ticket-definitions',\n destPath: '/v1/ticket-definitions',\n },\n {\n srcPath: '/_api/wix-events-web/v1/tickets/available',\n destPath: '/v1/tickets/available',\n },\n {\n srcPath: '/_api/wix-events-web/v1/pos-checkout',\n destPath: '/v1/pos-checkout',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/wix-events-web/v1/checkout',\n destPath: '/v1/checkout',\n },\n {\n srcPath: '/_api/wix-events-web/v1/ticket-definitions',\n destPath: '/v1/ticket-definitions',\n },\n {\n srcPath: '/_api/wix-events-web/v1/tickets/available',\n destPath: '/v1/tickets/available',\n },\n {\n srcPath: '/_api/wix-events-web/v1/pos-checkout',\n destPath: '/v1/pos-checkout',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/wix-events-web/v1/checkout',\n destPath: '/v1/checkout',\n },\n {\n srcPath: '/_api/wix-events-web/v1/ticket-definitions',\n destPath: '/v1/ticket-definitions',\n },\n {\n srcPath: '/_api/wix-events-web/v1/tickets/available',\n destPath: '/v1/tickets/available',\n },\n {\n srcPath: '/_api/wix-events-web/v1/pos-checkout',\n destPath: '/v1/pos-checkout',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_events_ticket-definitions';\n\n/**\n * **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.\n * >**Migration Instructions**.\n * > 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).\n * > To migrate to the new function:\n * > 1. Add the new import statement:\n * > ```js\n * > import { ticketDefinitionsV2 } from 'wix-events.v2';\n * > ```\n * > 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.\n * > 3. Test your changes to make sure your code behaves as expected.\n *\n * Retrieves a list of up to 100 ticket definitions.\n * @deprecated Will be removed on 2024-12-01.\n */\nexport function queryTicketDefinitions(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryTicketDefinitions({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v1.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketing.TicketDefinitionManagement.QueryTicketDefinitions',\n packageName: PACKAGE_NAME,\n url: resolveWixEventsTicketingTicketDefinitionManagementUrl({\n protoPath: '/v1/ticket-definitions/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'definitions.salePeriod.startDate' },\n { path: 'definitions.salePeriod.endDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryTicketDefinitions;\n}\n\n/**\n * **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).\n * >**Migration Instructions**.\n * > 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).\n * > To migrate to the new function:\n * > 1. Add the new import statement:\n * > ```js\n * > import { ticketDefinitionsV2 } from 'wix-events.v2';\n * > ```\n * > 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.\n * > 3. Test your changes to make sure your code behaves as expected.\n *\n * Retrieves a list of up to 1,000 ticket definitions, given the provided paging and filtering.\n * @deprecated Will be removed on 2024-12-01.\n */\nexport function queryTicketDefinitionsV2(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryTicketDefinitionsV2({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v1.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketing.TicketDefinitionManagement.QueryTicketDefinitionsV2',\n packageName: PACKAGE_NAME,\n url: resolveWixEventsTicketingTicketDefinitionManagementUrl({\n protoPath: '/v2/ticket-definitions/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'definitions.salePeriod.startDate' },\n { path: 'definitions.salePeriod.endDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryTicketDefinitionsV2;\n}\n\n/**\n * **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.\n * >**Migration Instructions**.\n * > 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).\n * > To migrate to the new function:\n * > 1. Add the new import statement:\n * > ```js\n * > import { ticketDefinitionsV2 } from 'wix-events.v2';\n * > ```\n * > 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.\n * > 3. Test your changes to make sure your code behaves as expected.\n *\n * Retrieves a list of up to 100 ticket definitions, with basic filter support.\n * @deprecated Will be removed on 2024-12-01.\n */\nexport function listTicketDefinitions(\n payload: object\n): RequestOptionsFactory<any> {\n function __listTicketDefinitions({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v1.ticket_definition',\n method: 'GET' as any,\n methodFqn:\n 'wix.events.ticketing.TicketDefinitionManagement.ListTicketDefinitions',\n packageName: PACKAGE_NAME,\n url: resolveWixEventsTicketingTicketDefinitionManagementUrl({\n protoPath: '/v1/ticket-definitions',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'definitions.salePeriod.startDate' },\n { path: 'definitions.salePeriod.endDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listTicketDefinitions;\n}\n\n/**\n * **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.\n * >**Migration Instructions**.\n * > 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).\n * > To migrate to the new function:\n * > 1. Add the new import statement:\n * > ```js\n * > import { ticketDefinitionsV2 } from 'wix-events.v2';\n * > ```\n * > 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.\n * > 3. Test your changes to make sure your code behaves as expected.\n *\n * Retrieves a ticket definition.\n * @deprecated Will be removed on 2024-12-01.\n */\nexport function getTicketDefinition(\n payload: object\n): RequestOptionsFactory<any> {\n function __getTicketDefinition({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v1.ticket_definition',\n method: 'GET' as any,\n methodFqn:\n 'wix.events.ticketing.TicketDefinitionManagement.GetTicketDefinition',\n packageName: PACKAGE_NAME,\n url: resolveWixEventsTicketingTicketDefinitionManagementUrl({\n protoPath: '/v1/ticket-definitions/{definitionId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'definition.salePeriod.startDate' },\n { path: 'definition.salePeriod.endDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getTicketDefinition;\n}\n\n/**\n * **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.\n * >**Migration Instructions**.\n * > 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).\n * > To migrate to the new function:\n * > 1. Add the new import statement:\n * > ```js\n * > import { ticketDefinitionsV2 } from 'wix-events.v2';\n * > ```\n * > 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.\n * > 3. Test your changes to make sure your code behaves as expected.\n *\n * Creates a ticket definition (and enables ticket sales).\n * @deprecated Will be removed on 2024-12-01.\n */\nexport function createTicketDefinition(\n payload: object\n): RequestOptionsFactory<any> {\n function __createTicketDefinition({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'definition.salePeriod.startDate' },\n { path: 'definition.salePeriod.endDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.events.v1.ticket_definition',\n method: 'POST' as any,\n methodFqn:\n 'wix.events.ticketing.TicketDefinitionManagement.CreateTicketDefinition',\n packageName: PACKAGE_NAME,\n url: resolveWixEventsTicketingTicketDefinitionManagementUrl({\n protoPath: '/v1/ticket-definitions',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'definition.salePeriod.startDate' },\n { path: 'definition.salePeriod.endDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createTicketDefinition;\n}\n\n/**\n * **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.\n * >**Migration Instructions**.\n * > 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).\n * > To migrate to the new function:\n * > 1. Add the new import statement:\n * > ```js\n * > import { ticketDefinitionsV2 } from 'wix-events.v2';\n * > ```\n * > 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.\n * > 3. Test your changes to make sure your code behaves as expected.\n *\n *\n * Updates a ticket definition.\n *\n * See [Partial Updates](/wix-events-v2/partial-updates) for more information.\n * @deprecated Will be removed on 2024-12-01.\n */\nexport function updateTicketDefinition(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateTicketDefinition({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fields' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'definition.salePeriod.startDate' },\n { path: 'definition.salePeriod.endDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.events.v1.ticket_definition',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.events.ticketing.TicketDefinitionManagement.UpdateTicketDefinition',\n packageName: PACKAGE_NAME,\n url: resolveWixEventsTicketingTicketDefinitionManagementUrl({\n protoPath: '/v1/ticket-definitions/{definitionId}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'definition.salePeriod.startDate' },\n { path: 'definition.salePeriod.endDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateTicketDefinition;\n}\n\n/**\n * **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.\n * >**Migration Instructions**.\n * > 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).\n * > To migrate to the new function:\n * > 1. Add the new import statement:\n * > ```js\n * > import { ticketDefinitionsV2 } from 'wix-events.v2';\n * > ```\n * > 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.\n * > 3. Test your changes to make sure your code behaves as expected.\n *\n * Deletes a ticket definition.\n * @deprecated Will be removed on 2024-12-01.\n */\nexport function deleteTicketDefinition(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteTicketDefinition({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v1.ticket_definition',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.events.ticketing.TicketDefinitionManagement.DeleteTicketDefinition',\n packageName: PACKAGE_NAME,\n url: resolveWixEventsTicketingTicketDefinitionManagementUrl({\n protoPath: '/v1/ticket-definitions',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteTicketDefinition;\n}\n\n/**\n * **Deprecated.** This function will continue to work until November 8, 2024, but a newer version is available at [`changeCurrency()`](/ticket-definitions-v2/change-currency).\n * >**Migration Instructions**.\n * > 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).\n * > To migrate to the new function:\n * > 1. Add the new import statement:\n * > ```js\n * > import { ticketDefinitionsV2 } from 'wix-events.v2';\n * > ```\n * > 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.\n * > 3. Test your changes to make sure your code behaves as expected.\n *\n * Changes the currency for all tickets per event.\n * @deprecated Will be removed on 2024-12-01.\n */\nexport function changeCurrency(payload: object): RequestOptionsFactory<any> {\n function __changeCurrency({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.v1.ticket_definition',\n method: 'PUT' as any,\n methodFqn:\n 'wix.events.ticketing.TicketDefinitionManagement.ChangeCurrency',\n packageName: PACKAGE_NAME,\n url: resolveWixEventsTicketingTicketDefinitionManagementUrl({\n protoPath: '/v1/ticket-definitions/currency',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __changeCurrency;\n}\n","import * as ambassadorWixEventsV1TicketDefinition from './events-v1-ticket-definition-ticket-definitions.http.js';\nimport * as ambassadorWixEventsV1TicketDefinitionTypes from './events-v1-ticket-definition-ticket-definitions.types.js';\nimport * as ambassadorWixEventsV1TicketDefinitionUniversalTypes from './events-v1-ticket-definition-ticket-definitions.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function queryTicketDefinitions(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEventsV1TicketDefinitionUniversalTypes.QueryTicketDefinitionsRequest,\n ambassadorWixEventsV1TicketDefinitionTypes.QueryTicketDefinitionsRequest,\n ambassadorWixEventsV1TicketDefinitionUniversalTypes.QueryTicketDefinitionsResponse,\n ambassadorWixEventsV1TicketDefinitionTypes.QueryTicketDefinitionsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEventsV1TicketDefinition.queryTicketDefinitions(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/ticket-definitions/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryTicketDefinitionsV2(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEventsV1TicketDefinitionUniversalTypes.QueryTicketDefinitionsV2Request,\n ambassadorWixEventsV1TicketDefinitionTypes.QueryTicketDefinitionsV2Request,\n ambassadorWixEventsV1TicketDefinitionUniversalTypes.QueryTicketDefinitionsV2Response,\n ambassadorWixEventsV1TicketDefinitionTypes.QueryTicketDefinitionsV2Response\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEventsV1TicketDefinition.queryTicketDefinitionsV2(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/ticket-definitions/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function listTicketDefinitions(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixEventsV1TicketDefinitionUniversalTypes.ListTicketDefinitionsRequest,\n ambassadorWixEventsV1TicketDefinitionTypes.ListTicketDefinitionsRequest,\n ambassadorWixEventsV1TicketDefinitionUniversalTypes.ListTicketDefinitionsResponse,\n ambassadorWixEventsV1TicketDefinitionTypes.ListTicketDefinitionsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEventsV1TicketDefinition.listTicketDefinitions(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/ticket-definitions',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getTicketDefinition(): __PublicMethodMetaInfo<\n 'GET',\n { definitionId: string },\n ambassadorWixEventsV1TicketDefinitionUniversalTypes.GetTicketDefinitionRequest,\n ambassadorWixEventsV1TicketDefinitionTypes.GetTicketDefinitionRequest,\n ambassadorWixEventsV1TicketDefinitionUniversalTypes.GetTicketDefinitionResponse,\n ambassadorWixEventsV1TicketDefinitionTypes.GetTicketDefinitionResponse\n> {\n const payload = { definitionId: ':definitionId' } as any;\n\n const getRequestOptions =\n ambassadorWixEventsV1TicketDefinition.getTicketDefinition(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/ticket-definitions/{definitionId}',\n pathParams: { definitionId: 'definitionId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function createTicketDefinition(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEventsV1TicketDefinitionUniversalTypes.CreateTicketDefinitionRequest,\n ambassadorWixEventsV1TicketDefinitionTypes.CreateTicketDefinitionRequest,\n ambassadorWixEventsV1TicketDefinitionUniversalTypes.CreateTicketDefinitionResponse,\n ambassadorWixEventsV1TicketDefinitionTypes.CreateTicketDefinitionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEventsV1TicketDefinition.createTicketDefinition(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/ticket-definitions',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateTicketDefinition(): __PublicMethodMetaInfo<\n 'PATCH',\n { definitionId: string },\n ambassadorWixEventsV1TicketDefinitionUniversalTypes.UpdateTicketDefinitionRequest,\n ambassadorWixEventsV1TicketDefinitionTypes.UpdateTicketDefinitionRequest,\n ambassadorWixEventsV1TicketDefinitionUniversalTypes.UpdateTicketDefinitionResponse,\n ambassadorWixEventsV1TicketDefinitionTypes.UpdateTicketDefinitionResponse\n> {\n const payload = { definitionId: ':definitionId' } as any;\n\n const getRequestOptions =\n ambassadorWixEventsV1TicketDefinition.updateTicketDefinition(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/ticket-definitions/{definitionId}',\n pathParams: { definitionId: 'definitionId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteTicketDefinition(): __PublicMethodMetaInfo<\n 'DELETE',\n {},\n ambassadorWixEventsV1TicketDefinitionUniversalTypes.DeleteTicketDefinitionRequest,\n ambassadorWixEventsV1TicketDefinitionTypes.DeleteTicketDefinitionRequest,\n ambassadorWixEventsV1TicketDefinitionUniversalTypes.DeleteTicketDefinitionResponse,\n ambassadorWixEventsV1TicketDefinitionTypes.DeleteTicketDefinitionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEventsV1TicketDefinition.deleteTicketDefinition(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/ticket-definitions',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function changeCurrency(): __PublicMethodMetaInfo<\n 'PUT',\n {},\n ambassadorWixEventsV1TicketDefinitionUniversalTypes.ChangeCurrencyRequest,\n ambassadorWixEventsV1TicketDefinitionTypes.ChangeCurrencyRequest,\n ambassadorWixEventsV1TicketDefinitionUniversalTypes.ChangeCurrencyResponse,\n ambassadorWixEventsV1TicketDefinitionTypes.ChangeCurrencyResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEventsV1TicketDefinition.changeCurrency(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PUT',\n path: '/v1/ticket-definitions/currency',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;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AAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,cAAc,eAAe;AAAA,IAC3C,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,0BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACkC,uBAAuB,OAAO;AAEtE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,kBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACkC,eAAe,OAAO;AAE9D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","queryTicketDefinitions","queryTicketDefinitionsV2","listTicketDefinitions","getTicketDefinition","createTicketDefinition","updateTicketDefinition","deleteTicketDefinition","changeCurrency"]}
|
package/package.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_events_ticket-definitions",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"keywords": [],
|
|
9
9
|
"sideEffects": false,
|
|
10
|
-
"main": "
|
|
11
|
-
"types": "./build/
|
|
10
|
+
"main": "/build/index.js",
|
|
11
|
+
"types": "./build/index.d.mts",
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
-
"import": "./build/
|
|
15
|
-
"require": "./build/
|
|
16
|
-
"types": "./build/
|
|
14
|
+
"import": "./build/index.mjs",
|
|
15
|
+
"require": "./build/index.js",
|
|
16
|
+
"types": "./build/index.d.mts"
|
|
17
17
|
},
|
|
18
18
|
"./package.json": "./package.json",
|
|
19
19
|
"./meta": {
|
|
20
|
-
"import": "./build/
|
|
21
|
-
"require": "./build/
|
|
22
|
-
"types": "./build/
|
|
20
|
+
"import": "./build/meta.mjs",
|
|
21
|
+
"require": "./build/meta.js",
|
|
22
|
+
"types": "./build/meta.d.mts"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
@@ -29,13 +29,14 @@
|
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@wix/sdk-runtime": "^0.3.42",
|
|
32
|
-
"@wix/sdk-types": "^1.13.
|
|
32
|
+
"@wix/sdk-types": "^1.13.16"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
+
"tsup": "^8.4.0",
|
|
35
36
|
"typescript": "^5.3.2"
|
|
36
37
|
},
|
|
37
38
|
"scripts": {
|
|
38
|
-
"build": "
|
|
39
|
+
"build": "tsup",
|
|
39
40
|
"test": ":"
|
|
40
41
|
},
|
|
41
42
|
"wix": {
|
|
@@ -48,5 +49,5 @@
|
|
|
48
49
|
"fqdn": "wix.events.v1.ticket_definition"
|
|
49
50
|
}
|
|
50
51
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
52
|
+
"falconPackageHash": "88b172a0e98581f0ad7d1234c4a67a5a2230db699d6c778ac427064e"
|
|
52
53
|
}
|
package/build/cjs/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/events-v1-ticket-definition-ticket-definitions.context.js';
|
package/build/cjs/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./src/events-v1-ticket-definition-ticket-definitions.context.js"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
package/build/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kGAAgF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/events-v1-ticket-definition-ticket-definitions.universal.js';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./src/events-v1-ticket-definition-ticket-definitions.universal.js"), exports);
|
|
18
|
-
//# sourceMappingURL=index.typings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oGAAkF"}
|
package/build/cjs/meta.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/events-v1-ticket-definition-ticket-definitions.meta.js';
|
package/build/cjs/meta.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./src/events-v1-ticket-definition-ticket-definitions.meta.js"), exports);
|
|
18
|
-
//# sourceMappingURL=meta.js.map
|
package/build/cjs/meta.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+FAA6E"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { queryTicketDefinitions as publicQueryTicketDefinitions, queryTicketDefinitionsV2 as publicQueryTicketDefinitionsV2, listTicketDefinitions as publicListTicketDefinitions, getTicketDefinition as publicGetTicketDefinition, createTicketDefinition as publicCreateTicketDefinition, updateTicketDefinition as publicUpdateTicketDefinition, deleteTicketDefinition as publicDeleteTicketDefinition, changeCurrency as publicChangeCurrency } from './events-v1-ticket-definition-ticket-definitions.public.js';
|
|
2
|
-
import { createEventModule } from '@wix/sdk-runtime/event-definition-modules';
|
|
3
|
-
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
4
|
-
import { onTicketDefinitionCreated as publicOnTicketDefinitionCreated } from './events-v1-ticket-definition-ticket-definitions.public.js';
|
|
5
|
-
import { onTicketDefinitionDeleted as publicOnTicketDefinitionDeleted } from './events-v1-ticket-definition-ticket-definitions.public.js';
|
|
6
|
-
import { onTicketDefinitionUpdated as publicOnTicketDefinitionUpdated } from './events-v1-ticket-definition-ticket-definitions.public.js';
|
|
7
|
-
export declare const queryTicketDefinitions: MaybeContext<BuildRESTFunction<typeof publicQueryTicketDefinitions> & typeof publicQueryTicketDefinitions>;
|
|
8
|
-
export declare const queryTicketDefinitionsV2: MaybeContext<BuildRESTFunction<typeof publicQueryTicketDefinitionsV2> & typeof publicQueryTicketDefinitionsV2>;
|
|
9
|
-
export declare const listTicketDefinitions: MaybeContext<BuildRESTFunction<typeof publicListTicketDefinitions> & typeof publicListTicketDefinitions>;
|
|
10
|
-
export declare const getTicketDefinition: MaybeContext<BuildRESTFunction<typeof publicGetTicketDefinition> & typeof publicGetTicketDefinition>;
|
|
11
|
-
export declare const createTicketDefinition: MaybeContext<BuildRESTFunction<typeof publicCreateTicketDefinition> & typeof publicCreateTicketDefinition>;
|
|
12
|
-
export declare const updateTicketDefinition: MaybeContext<BuildRESTFunction<typeof publicUpdateTicketDefinition> & typeof publicUpdateTicketDefinition>;
|
|
13
|
-
export declare const deleteTicketDefinition: MaybeContext<BuildRESTFunction<typeof publicDeleteTicketDefinition> & typeof publicDeleteTicketDefinition>;
|
|
14
|
-
export declare const changeCurrency: MaybeContext<BuildRESTFunction<typeof publicChangeCurrency> & typeof publicChangeCurrency>;
|
|
15
|
-
/** */
|
|
16
|
-
export declare const onTicketDefinitionCreated: ReturnType<typeof createEventModule<typeof publicOnTicketDefinitionCreated>>;
|
|
17
|
-
/** */
|
|
18
|
-
export declare const onTicketDefinitionDeleted: ReturnType<typeof createEventModule<typeof publicOnTicketDefinitionDeleted>>;
|
|
19
|
-
/** */
|
|
20
|
-
export declare const onTicketDefinitionUpdated: ReturnType<typeof createEventModule<typeof publicOnTicketDefinitionUpdated>>;
|
|
21
|
-
export { FeeType, TicketSaleStatus, TicketDefinitionStateEnumState, Type, TicketDefinitionFieldset, SortOrder, State, GroupBy, WebhookIdentityType, } from './events-v1-ticket-definition-ticket-definitions.universal.js';
|
|
22
|
-
export { TicketDefinition, Money, Dashboard, WixFeeConfig, TicketSalePeriod, TicketPricing, TicketPricingPriceOneOf, PricingOptions, PricingOption, QueryTicketDefinitionsRequest, QueryTicketDefinitionsResponse, FacetCounts, QueryTicketDefinitionsV2Request, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryTicketDefinitionsV2Response, PagingMetadataV2, Cursors, ListTicketDefinitionsRequest, ListTicketDefinitionsResponse, ResponseMetaData, GetTicketDefinitionRequest, GetTicketDefinitionResponse, CreateTicketDefinitionRequest, TicketDefinitionData, CreateTicketDefinitionResponse, TicketDefinitionCreated, OriginatedFrom, UpdateTicketDefinitionRequest, UpdateTicketDefinitionResponse, TicketDefinitionUpdated, DeleteTicketDefinitionRequest, DeleteTicketDefinitionRequestDeleteOneOf, ById, DeleteTicketDefinitionResponse, TicketDefinitionDeleted, ChangeCurrencyRequest, ChangeCurrencyResponse, BulkCopyTicketDefinitionsByEventIdRequest, BulkCopyTicketDefinitionsByEventIdResponse, CopiedTicketDefinition, PaidTicketDefinitionExistsRequest, PaidTicketDefinitionExistsResponse, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, TicketDefinitionNonNullableFields, QueryTicketDefinitionsResponseNonNullableFields, QueryTicketDefinitionsV2ResponseNonNullableFields, ListTicketDefinitionsResponseNonNullableFields, GetTicketDefinitionResponseNonNullableFields, CreateTicketDefinitionResponseNonNullableFields, UpdateTicketDefinitionResponseNonNullableFields, BaseEventMetadata, TicketDefinitionCreatedEnvelope, TicketDefinitionDeletedEnvelope, TicketDefinitionUpdatedEnvelope, QueryTicketDefinitionsOptions, QueryTicketDefinitionsV2Options, DefinitionsQueryResult, DefinitionsQueryBuilder, ListTicketDefinitionsOptions, GetTicketDefinitionOptions, CreateTicketDefinitionOptions, UpdateTicketDefinitionOptions, DeleteTicketDefinitionOptions, DeleteTicketDefinitionOptionsDeleteOneOf, ChangeCurrencyOptions, } from './events-v1-ticket-definition-ticket-definitions.universal.js';
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebhookIdentityType = exports.GroupBy = exports.State = exports.SortOrder = exports.TicketDefinitionFieldset = exports.Type = exports.TicketDefinitionStateEnumState = exports.TicketSaleStatus = exports.FeeType = exports.onTicketDefinitionUpdated = exports.onTicketDefinitionDeleted = exports.onTicketDefinitionCreated = exports.changeCurrency = exports.deleteTicketDefinition = exports.updateTicketDefinition = exports.createTicketDefinition = exports.getTicketDefinition = exports.listTicketDefinitions = exports.queryTicketDefinitionsV2 = exports.queryTicketDefinitions = void 0;
|
|
4
|
-
const events_v1_ticket_definition_ticket_definitions_public_js_1 = require("./events-v1-ticket-definition-ticket-definitions.public.js");
|
|
5
|
-
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
6
|
-
const event_definition_modules_1 = require("@wix/sdk-runtime/event-definition-modules");
|
|
7
|
-
const events_v1_ticket_definition_ticket_definitions_public_js_2 = require("./events-v1-ticket-definition-ticket-definitions.public.js");
|
|
8
|
-
const events_v1_ticket_definition_ticket_definitions_public_js_3 = require("./events-v1-ticket-definition-ticket-definitions.public.js");
|
|
9
|
-
const events_v1_ticket_definition_ticket_definitions_public_js_4 = require("./events-v1-ticket-definition-ticket-definitions.public.js");
|
|
10
|
-
exports.queryTicketDefinitions = (0, rest_modules_1.createRESTModule)(events_v1_ticket_definition_ticket_definitions_public_js_1.queryTicketDefinitions);
|
|
11
|
-
exports.queryTicketDefinitionsV2 = (0, rest_modules_1.createRESTModule)(events_v1_ticket_definition_ticket_definitions_public_js_1.queryTicketDefinitionsV2);
|
|
12
|
-
exports.listTicketDefinitions = (0, rest_modules_1.createRESTModule)(events_v1_ticket_definition_ticket_definitions_public_js_1.listTicketDefinitions);
|
|
13
|
-
exports.getTicketDefinition = (0, rest_modules_1.createRESTModule)(events_v1_ticket_definition_ticket_definitions_public_js_1.getTicketDefinition);
|
|
14
|
-
exports.createTicketDefinition = (0, rest_modules_1.createRESTModule)(events_v1_ticket_definition_ticket_definitions_public_js_1.createTicketDefinition);
|
|
15
|
-
exports.updateTicketDefinition = (0, rest_modules_1.createRESTModule)(events_v1_ticket_definition_ticket_definitions_public_js_1.updateTicketDefinition);
|
|
16
|
-
exports.deleteTicketDefinition = (0, rest_modules_1.createRESTModule)(events_v1_ticket_definition_ticket_definitions_public_js_1.deleteTicketDefinition);
|
|
17
|
-
exports.changeCurrency = (0, rest_modules_1.createRESTModule)(events_v1_ticket_definition_ticket_definitions_public_js_1.changeCurrency);
|
|
18
|
-
/** */
|
|
19
|
-
exports.onTicketDefinitionCreated = (0, event_definition_modules_1.createEventModule)(events_v1_ticket_definition_ticket_definitions_public_js_2.onTicketDefinitionCreated);
|
|
20
|
-
/** */
|
|
21
|
-
exports.onTicketDefinitionDeleted = (0, event_definition_modules_1.createEventModule)(events_v1_ticket_definition_ticket_definitions_public_js_3.onTicketDefinitionDeleted);
|
|
22
|
-
/** */
|
|
23
|
-
exports.onTicketDefinitionUpdated = (0, event_definition_modules_1.createEventModule)(events_v1_ticket_definition_ticket_definitions_public_js_4.onTicketDefinitionUpdated);
|
|
24
|
-
var events_v1_ticket_definition_ticket_definitions_universal_js_1 = require("./events-v1-ticket-definition-ticket-definitions.universal.js");
|
|
25
|
-
Object.defineProperty(exports, "FeeType", { enumerable: true, get: function () { return events_v1_ticket_definition_ticket_definitions_universal_js_1.FeeType; } });
|
|
26
|
-
Object.defineProperty(exports, "TicketSaleStatus", { enumerable: true, get: function () { return events_v1_ticket_definition_ticket_definitions_universal_js_1.TicketSaleStatus; } });
|
|
27
|
-
Object.defineProperty(exports, "TicketDefinitionStateEnumState", { enumerable: true, get: function () { return events_v1_ticket_definition_ticket_definitions_universal_js_1.TicketDefinitionStateEnumState; } });
|
|
28
|
-
Object.defineProperty(exports, "Type", { enumerable: true, get: function () { return events_v1_ticket_definition_ticket_definitions_universal_js_1.Type; } });
|
|
29
|
-
Object.defineProperty(exports, "TicketDefinitionFieldset", { enumerable: true, get: function () { return events_v1_ticket_definition_ticket_definitions_universal_js_1.TicketDefinitionFieldset; } });
|
|
30
|
-
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return events_v1_ticket_definition_ticket_definitions_universal_js_1.SortOrder; } });
|
|
31
|
-
Object.defineProperty(exports, "State", { enumerable: true, get: function () { return events_v1_ticket_definition_ticket_definitions_universal_js_1.State; } });
|
|
32
|
-
Object.defineProperty(exports, "GroupBy", { enumerable: true, get: function () { return events_v1_ticket_definition_ticket_definitions_universal_js_1.GroupBy; } });
|
|
33
|
-
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return events_v1_ticket_definition_ticket_definitions_universal_js_1.WebhookIdentityType; } });
|
|
34
|
-
//# sourceMappingURL=events-v1-ticket-definition-ticket-definitions.context.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"events-v1-ticket-definition-ticket-definitions.context.js","sourceRoot":"","sources":["../../../src/events-v1-ticket-definition-ticket-definitions.context.ts"],"names":[],"mappings":";;;AAAA,yIASoE;AACpE,gEAAiE;AACjE,wFAA8E;AAE9E,yIAA0I;AAC1I,yIAA0I;AAC1I,yIAA0I;AAE7H,QAAA,sBAAsB,GAGjB,IAAA,+BAAgB,EAAC,iFAA4B,CAAC,CAAC;AACpD,QAAA,wBAAwB,GAGnB,IAAA,+BAAgB,EAAC,mFAA8B,CAAC,CAAC;AACtD,QAAA,qBAAqB,GAGhB,IAAA,+BAAgB,EAAC,gFAA2B,CAAC,CAAC;AACnD,QAAA,mBAAmB,GAGd,IAAA,+BAAgB,EAAC,8EAAyB,CAAC,CAAC;AACjD,QAAA,sBAAsB,GAGjB,IAAA,+BAAgB,EAAC,iFAA4B,CAAC,CAAC;AACpD,QAAA,sBAAsB,GAGjB,IAAA,+BAAgB,EAAC,iFAA4B,CAAC,CAAC;AACpD,QAAA,sBAAsB,GAGjB,IAAA,+BAAgB,EAAC,iFAA4B,CAAC,CAAC;AACpD,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,yEAAoB,CAAC,CAAC;AACzD,MAAM;AACO,QAAA,yBAAyB,GAElC,IAAA,4CAAiB,EAAC,oFAA+B,CAAC,CAAC;AACvD,MAAM;AACO,QAAA,yBAAyB,GAElC,IAAA,4CAAiB,EAAC,oFAA+B,CAAC,CAAC;AACvD,MAAM;AACO,QAAA,yBAAyB,GAElC,IAAA,4CAAiB,EAAC,oFAA+B,CAAC,CAAC;AAEvD,6IAUuE;AATrE,sJAAA,OAAO,OAAA;AACP,+JAAA,gBAAgB,OAAA;AAChB,6KAAA,8BAA8B,OAAA;AAC9B,mJAAA,IAAI,OAAA;AACJ,uKAAA,wBAAwB,OAAA;AACxB,wJAAA,SAAS,OAAA;AACT,oJAAA,KAAK,OAAA;AACL,sJAAA,OAAO,OAAA;AACP,kKAAA,mBAAmB,OAAA"}
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
-
/**
|
|
3
|
-
* **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.
|
|
4
|
-
* >**Migration Instructions**.
|
|
5
|
-
* > 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).
|
|
6
|
-
* > To migrate to the new function:
|
|
7
|
-
* > 1. Add the new import statement:
|
|
8
|
-
* > ```js
|
|
9
|
-
* > import { ticketDefinitionsV2 } from 'wix-events.v2';
|
|
10
|
-
* > ```
|
|
11
|
-
* > 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.
|
|
12
|
-
* > 3. Test your changes to make sure your code behaves as expected.
|
|
13
|
-
*
|
|
14
|
-
* Retrieves a list of up to 100 ticket definitions.
|
|
15
|
-
* @deprecated Will be removed on 2024-12-01.
|
|
16
|
-
*/
|
|
17
|
-
export declare function queryTicketDefinitions(payload: object): RequestOptionsFactory<any>;
|
|
18
|
-
/**
|
|
19
|
-
* **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).
|
|
20
|
-
* >**Migration Instructions**.
|
|
21
|
-
* > 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).
|
|
22
|
-
* > To migrate to the new function:
|
|
23
|
-
* > 1. Add the new import statement:
|
|
24
|
-
* > ```js
|
|
25
|
-
* > import { ticketDefinitionsV2 } from 'wix-events.v2';
|
|
26
|
-
* > ```
|
|
27
|
-
* > 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.
|
|
28
|
-
* > 3. Test your changes to make sure your code behaves as expected.
|
|
29
|
-
*
|
|
30
|
-
* Retrieves a list of up to 1,000 ticket definitions, given the provided paging and filtering.
|
|
31
|
-
* @deprecated Will be removed on 2024-12-01.
|
|
32
|
-
*/
|
|
33
|
-
export declare function queryTicketDefinitionsV2(payload: object): RequestOptionsFactory<any>;
|
|
34
|
-
/**
|
|
35
|
-
* **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.
|
|
36
|
-
* >**Migration Instructions**.
|
|
37
|
-
* > 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).
|
|
38
|
-
* > To migrate to the new function:
|
|
39
|
-
* > 1. Add the new import statement:
|
|
40
|
-
* > ```js
|
|
41
|
-
* > import { ticketDefinitionsV2 } from 'wix-events.v2';
|
|
42
|
-
* > ```
|
|
43
|
-
* > 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.
|
|
44
|
-
* > 3. Test your changes to make sure your code behaves as expected.
|
|
45
|
-
*
|
|
46
|
-
* Retrieves a list of up to 100 ticket definitions, with basic filter support.
|
|
47
|
-
* @deprecated Will be removed on 2024-12-01.
|
|
48
|
-
*/
|
|
49
|
-
export declare function listTicketDefinitions(payload: object): RequestOptionsFactory<any>;
|
|
50
|
-
/**
|
|
51
|
-
* **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.
|
|
52
|
-
* >**Migration Instructions**.
|
|
53
|
-
* > 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).
|
|
54
|
-
* > To migrate to the new function:
|
|
55
|
-
* > 1. Add the new import statement:
|
|
56
|
-
* > ```js
|
|
57
|
-
* > import { ticketDefinitionsV2 } from 'wix-events.v2';
|
|
58
|
-
* > ```
|
|
59
|
-
* > 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.
|
|
60
|
-
* > 3. Test your changes to make sure your code behaves as expected.
|
|
61
|
-
*
|
|
62
|
-
* Retrieves a ticket definition.
|
|
63
|
-
* @deprecated Will be removed on 2024-12-01.
|
|
64
|
-
*/
|
|
65
|
-
export declare function getTicketDefinition(payload: object): RequestOptionsFactory<any>;
|
|
66
|
-
/**
|
|
67
|
-
* **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.
|
|
68
|
-
* >**Migration Instructions**.
|
|
69
|
-
* > 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).
|
|
70
|
-
* > To migrate to the new function:
|
|
71
|
-
* > 1. Add the new import statement:
|
|
72
|
-
* > ```js
|
|
73
|
-
* > import { ticketDefinitionsV2 } from 'wix-events.v2';
|
|
74
|
-
* > ```
|
|
75
|
-
* > 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.
|
|
76
|
-
* > 3. Test your changes to make sure your code behaves as expected.
|
|
77
|
-
*
|
|
78
|
-
* Creates a ticket definition (and enables ticket sales).
|
|
79
|
-
* @deprecated Will be removed on 2024-12-01.
|
|
80
|
-
*/
|
|
81
|
-
export declare function createTicketDefinition(payload: object): RequestOptionsFactory<any>;
|
|
82
|
-
/**
|
|
83
|
-
* **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.
|
|
84
|
-
* >**Migration Instructions**.
|
|
85
|
-
* > 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).
|
|
86
|
-
* > To migrate to the new function:
|
|
87
|
-
* > 1. Add the new import statement:
|
|
88
|
-
* > ```js
|
|
89
|
-
* > import { ticketDefinitionsV2 } from 'wix-events.v2';
|
|
90
|
-
* > ```
|
|
91
|
-
* > 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.
|
|
92
|
-
* > 3. Test your changes to make sure your code behaves as expected.
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
* Updates a ticket definition.
|
|
96
|
-
*
|
|
97
|
-
* See [Partial Updates](/wix-events-v2/partial-updates) for more information.
|
|
98
|
-
* @deprecated Will be removed on 2024-12-01.
|
|
99
|
-
*/
|
|
100
|
-
export declare function updateTicketDefinition(payload: object): RequestOptionsFactory<any>;
|
|
101
|
-
/**
|
|
102
|
-
* **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.
|
|
103
|
-
* >**Migration Instructions**.
|
|
104
|
-
* > 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).
|
|
105
|
-
* > To migrate to the new function:
|
|
106
|
-
* > 1. Add the new import statement:
|
|
107
|
-
* > ```js
|
|
108
|
-
* > import { ticketDefinitionsV2 } from 'wix-events.v2';
|
|
109
|
-
* > ```
|
|
110
|
-
* > 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.
|
|
111
|
-
* > 3. Test your changes to make sure your code behaves as expected.
|
|
112
|
-
*
|
|
113
|
-
* Deletes a ticket definition.
|
|
114
|
-
* @deprecated Will be removed on 2024-12-01.
|
|
115
|
-
*/
|
|
116
|
-
export declare function deleteTicketDefinition(payload: object): RequestOptionsFactory<any>;
|
|
117
|
-
/**
|
|
118
|
-
* **Deprecated.** This function will continue to work until November 8, 2024, but a newer version is available at [`changeCurrency()`](/ticket-definitions-v2/change-currency).
|
|
119
|
-
* >**Migration Instructions**.
|
|
120
|
-
* > 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).
|
|
121
|
-
* > To migrate to the new function:
|
|
122
|
-
* > 1. Add the new import statement:
|
|
123
|
-
* > ```js
|
|
124
|
-
* > import { ticketDefinitionsV2 } from 'wix-events.v2';
|
|
125
|
-
* > ```
|
|
126
|
-
* > 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.
|
|
127
|
-
* > 3. Test your changes to make sure your code behaves as expected.
|
|
128
|
-
*
|
|
129
|
-
* Changes the currency for all tickets per event.
|
|
130
|
-
* @deprecated Will be removed on 2024-12-01.
|
|
131
|
-
*/
|
|
132
|
-
export declare function changeCurrency(payload: object): RequestOptionsFactory<any>;
|