@wix/auto_sdk_events_ticket-definitions-v-2 1.0.68 → 1.0.70
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/cjs/index.d.ts +8 -14
- package/build/cjs/index.js +58 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +27 -11
- package/build/cjs/index.typings.js +39 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +14 -7
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +8 -14
- package/build/es/index.mjs +58 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +27 -11
- package/build/es/index.typings.mjs +38 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +14 -7
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +8 -14
- package/build/internal/cjs/index.js +58 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +27 -11
- package/build/internal/cjs/index.typings.js +39 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +14 -7
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +8 -14
- package/build/internal/es/index.mjs +58 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +27 -11
- package/build/internal/es/index.typings.mjs +38 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +14 -7
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -78,7 +78,8 @@ interface TicketDefinition {
|
|
|
78
78
|
saleStatus?: SaleStatusEnumStatusWithLiterals;
|
|
79
79
|
/**
|
|
80
80
|
* Ticket sales information. <br> <br>
|
|
81
|
-
* **Note:** This field is only returned when `
|
|
81
|
+
* **Note:** This field is only returned when `SALES_DETAILS` is specified in `field` in the request.
|
|
82
|
+
* @readonly
|
|
82
83
|
*/
|
|
83
84
|
salesDetails?: SalesDetails;
|
|
84
85
|
/**
|
|
@@ -92,12 +93,14 @@ interface TicketDefinition {
|
|
|
92
93
|
extendedFields?: ExtendedFields;
|
|
93
94
|
/**
|
|
94
95
|
* Information about the even the ticket is for. <br>
|
|
95
|
-
* **Note:** This field is only returned when `
|
|
96
|
+
* **Note:** This field is only returned when `EVENT_DETAILS` is specified in `field` in the request.
|
|
97
|
+
* @readonly
|
|
96
98
|
*/
|
|
97
99
|
eventDetails?: EventDetails;
|
|
98
100
|
/**
|
|
99
101
|
* Seating information including available seats and areas for this ticket definition. <br>
|
|
100
|
-
* **Note:** This field is only returned when `
|
|
102
|
+
* **Note:** This field is only returned when `SEATING_DETAILS` is specified in `field` in the request, and when the event has a [seating plan](https://support.wix.com/en/article/wix-events-creating-a-seating-map).
|
|
103
|
+
* @readonly
|
|
101
104
|
*/
|
|
102
105
|
seatingDetails?: SeatingDetails;
|
|
103
106
|
}
|
|
@@ -543,7 +546,7 @@ interface SeatingDetails {
|
|
|
543
546
|
}
|
|
544
547
|
interface AvailablePlace {
|
|
545
548
|
/**
|
|
546
|
-
* Place ID in the format `{
|
|
549
|
+
* Place ID in the format `{sectionId}-{elementId}-{label}`. For example, `0-1-A5`.
|
|
547
550
|
* @minLength 1
|
|
548
551
|
* @maxLength 20
|
|
549
552
|
* @readonly
|
|
@@ -557,21 +560,25 @@ interface AvailablePlace {
|
|
|
557
560
|
*/
|
|
558
561
|
label?: string;
|
|
559
562
|
/**
|
|
560
|
-
*
|
|
563
|
+
* High-level division of the venue, where the place is located, such as `Orchestra`, `Balcony`, or `VIP Section`.
|
|
561
564
|
* @minLength 1
|
|
562
565
|
* @maxLength 20
|
|
563
566
|
* @readonly
|
|
564
567
|
*/
|
|
565
568
|
sectionLabel?: string | null;
|
|
566
569
|
/**
|
|
567
|
-
*
|
|
570
|
+
* Seating element within the section, such as `Row`, `Table`, or `General Admission`.
|
|
568
571
|
* @minLength 1
|
|
569
572
|
* @maxLength 50
|
|
570
573
|
* @readonly
|
|
571
574
|
*/
|
|
572
575
|
elementLabel?: string | null;
|
|
573
576
|
/**
|
|
574
|
-
* Available capacity at this place.
|
|
577
|
+
* Available capacity at this place.
|
|
578
|
+
*
|
|
579
|
+
* For general seating type returns the number of remaining spots.
|
|
580
|
+
*
|
|
581
|
+
* For other types returns `1`. For example, if a table has 5 chairs, each chair is treated as a separate place, which has a capacity of 1.
|
|
575
582
|
* @max 50000
|
|
576
583
|
* @readonly
|
|
577
584
|
*/
|
|
@@ -5223,7 +5230,8 @@ interface UpdateTicketDefinition {
|
|
|
5223
5230
|
saleStatus?: SaleStatusEnumStatusWithLiterals;
|
|
5224
5231
|
/**
|
|
5225
5232
|
* Ticket sales information. <br> <br>
|
|
5226
|
-
* **Note:** This field is only returned when `
|
|
5233
|
+
* **Note:** This field is only returned when `SALES_DETAILS` is specified in `field` in the request.
|
|
5234
|
+
* @readonly
|
|
5227
5235
|
*/
|
|
5228
5236
|
salesDetails?: SalesDetails;
|
|
5229
5237
|
/**
|
|
@@ -5237,12 +5245,14 @@ interface UpdateTicketDefinition {
|
|
|
5237
5245
|
extendedFields?: ExtendedFields;
|
|
5238
5246
|
/**
|
|
5239
5247
|
* Information about the even the ticket is for. <br>
|
|
5240
|
-
* **Note:** This field is only returned when `
|
|
5248
|
+
* **Note:** This field is only returned when `EVENT_DETAILS` is specified in `field` in the request.
|
|
5249
|
+
* @readonly
|
|
5241
5250
|
*/
|
|
5242
5251
|
eventDetails?: EventDetails;
|
|
5243
5252
|
/**
|
|
5244
5253
|
* Seating information including available seats and areas for this ticket definition. <br>
|
|
5245
|
-
* **Note:** This field is only returned when `
|
|
5254
|
+
* **Note:** This field is only returned when `SEATING_DETAILS` is specified in `field` in the request, and when the event has a [seating plan](https://support.wix.com/en/article/wix-events-creating-a-seating-map).
|
|
5255
|
+
* @readonly
|
|
5246
5256
|
*/
|
|
5247
5257
|
seatingDetails?: SeatingDetails;
|
|
5248
5258
|
}
|
|
@@ -5397,6 +5407,12 @@ interface TicketDefinitionsQueryBuilder {
|
|
|
5397
5407
|
skipTo: (cursor: string) => TicketDefinitionsQueryBuilder;
|
|
5398
5408
|
find: () => Promise<TicketDefinitionsQueryResult>;
|
|
5399
5409
|
}
|
|
5410
|
+
/**
|
|
5411
|
+
* @hidden
|
|
5412
|
+
* @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.QueryTicketDefinitions
|
|
5413
|
+
* @requiredField query
|
|
5414
|
+
*/
|
|
5415
|
+
declare function typedQueryTicketDefinitions(query: QueryV2, options?: QueryTicketDefinitionsOptions): Promise<NonNullablePaths<QueryTicketDefinitionsResponse, `ticketDefinitions` | `ticketDefinitions.${number}.hidden` | `ticketDefinitions.${number}.limited` | `ticketDefinitions.${number}.pricingMethod.fixedPrice.value` | `ticketDefinitions.${number}.pricingMethod.fixedPrice.currency` | `ticketDefinitions.${number}.pricingMethod.pricingType` | `ticketDefinitions.${number}.pricingMethod.free` | `ticketDefinitions.${number}.feeType` | `ticketDefinitions.${number}.salePeriod.displayNotOnSale` | `ticketDefinitions.${number}.saleStatus` | `ticketDefinitions.${number}.eventDetails.location.type` | `ticketDefinitions.${number}.eventDetails.dateAndTimeSettings.recurrenceStatus` | `ticketDefinitions.${number}.eventDetails.status`, 6>>;
|
|
5400
5416
|
/**
|
|
5401
5417
|
* Retrieves a list of available ticket definitions with the specified paging, filtering, and sorting.
|
|
5402
5418
|
*
|
|
@@ -5501,4 +5517,4 @@ interface ChangeCurrencyOptions {
|
|
|
5501
5517
|
currency: string;
|
|
5502
5518
|
}
|
|
5503
5519
|
|
|
5504
|
-
export { type ActionEvent, type Address, type AddressLocation, type AddressStreetOneOf, type Agenda, Alignment, type AlignmentWithLiterals, type AnchorData, type App, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type Asset, type AudioData, type AvailablePlace, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Badge, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulkCopyTicketDefinitionsByEventIdRequest, type BulkCopyTicketDefinitionsByEventIdResponse, type BulkDeleteTicketDefinitionsByFilterRequest, type BulkDeleteTicketDefinitionsByFilterResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CalendarLinks, type CaptionData, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type Category, type CategoryCounts, type CategoryDetails, CategoryStateState, type CategoryStateStateWithLiterals, type CellStyle, type ChangeCurrencyApplicationErrors, type ChangeCurrencyOptions, type ChangeCurrencyRequest, type ChangeCurrencyResponse, type CheckoutFormMessages, CheckoutType, type CheckoutTypeWithLiterals, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonAddress, type CommonAddressLocation, type CommonAddressStreetOneOf, type CommonMoney, type CommonStreetAddress, type CommonSubdivision, ConferenceType, type ConferenceTypeWithLiterals, type CopiedTicketDefinition, type CountAvailableTicketDefinitionsApplicationErrors, type CountAvailableTicketDefinitionsOptions, type CountAvailableTicketDefinitionsRequest, type CountAvailableTicketDefinitionsResponse, type CountTicketDefinitionsApplicationErrors, type CountTicketDefinitionsOptions, type CountTicketDefinitionsRequest, type CountTicketDefinitionsResponse, type CreateTicketDefinitionApplicationErrors, type CreateTicketDefinitionOptions, type CreateTicketDefinitionRequest, type CreateTicketDefinitionResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type CustomTag, type Dashboard, type DateAndTimeSettings, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteContext, DeleteStatus, type DeleteStatusWithLiterals, type DeleteTicketDefinitionRequest, type DeleteTicketDefinitionResponse, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type Event, type EventCanceled, type EventCreated, type EventData, type EventDeleted, type EventDetails, type EventDisplaySettings, type EventEnded, type EventMetadata, EventStatus, type EventStatusWithLiterals, type EventTicketingSummary, EventType, type EventTypeWithLiterals, type EventUpdated, type EventsLocation, type EventsOccurrence, EventsRecurrenceStatusStatus, type EventsRecurrenceStatusStatusWithLiterals, type EventsRecurrences, type ExtendedFields, type ExternalEvent, type FacetCounts, FeeTypeEnumType, type FeeTypeEnumTypeWithLiterals, type Feed, Field, type FieldWithLiterals, type File, type FileData, type FileSource, type FileSourceDataOneOf, type FontSizeData, FontType, type FontTypeWithLiterals, type Form, type FormMessages, type Formatted, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetTicketDefinitionFromTrashBinRequest, type GetTicketDefinitionFromTrashBinResponse, type GetTicketDefinitionOptions, type GetTicketDefinitionRequest, type GetTicketDefinitionResponse, type GetTicketDefinitionSummaryRequest, type GetTicketDefinitionSummaryResponse, type Gradient, type GuestListConfig, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, type ImagePositionWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Input, type InputControl, InputControlType, type InputControlTypeWithLiterals, type InvalidateCache, type InvalidateCacheGetByOneOf, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, type Label, type LabellingSettings, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListEventTicketingSummaryRequest, type ListEventTicketingSummaryResponse, type ListValue, type Location, LocationLocationType, type LocationLocationTypeWithLiterals, LocationType, type LocationTypeWithLiterals, type MapCoordinates, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type Metadata, type Money, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type Negative, type NegativeResponseConfirmation, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Occurrence, type OdeditorAssigned, type OdeditorUnassigned, type Oembed, type OnlineConferencing, type OnlineConferencingConfig, type OnlineConferencingSession, type Option, type OptionDesign, type OptionDetails, type OptionLayout, type OptionSelection, type OptionSelectionSelectedOptionOneOf, type OrderedListData, Orientation, type OrientationWithLiterals, type PDFSettings, type Page, type Paging, type PagingMetadataV2, type ParagraphData, type Permissions, type PicassoAssigned, type PicassoUnassigned, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Positive, type PositiveResponseConfirmation, type PricingData, type PricingMethod, type PricingMethodPriceOneOf, type PricingOptions, PricingTypeEnumType, type PricingTypeEnumTypeWithLiterals, type QueryAvailableTicketDefinitionsOptions, type QueryAvailableTicketDefinitionsRequest, type QueryAvailableTicketDefinitionsResponse, type QueryTicketDefinitionsOptions, type QueryTicketDefinitionsRequest, type QueryTicketDefinitionsResponse, type QueryV2, type QueryV2PagingMethodOneOf, RecurrenceStatusStatus, type RecurrenceStatusStatusWithLiterals, type Recurrences, type Registration, type RegistrationClosedMessages, RegistrationStatus, type RegistrationStatusWithLiterals, type Rel, type ReorderTicketDefinitionsApplicationErrors, type ReorderTicketDefinitionsOptions, type ReorderTicketDefinitionsOptionsReferenceDefinitionOneOf, type ReorderTicketDefinitionsRequest, type ReorderTicketDefinitionsRequestReferenceDefinitionOneOf, type ReorderTicketDefinitionsResponse, Resizing, type ResizingWithLiterals, type ResponseConfirmation, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, type RsvpCollection, type RsvpCollectionConfig, type RsvpConfirmationMessages, type RsvpConfirmationMessagesNegativeResponseConfirmation, type RsvpConfirmationMessagesPositiveResponseConfirmation, type RsvpFormMessages, RsvpStatusOptions, type RsvpStatusOptionsWithLiterals, type RsvpSummary, type SalePeriod, type SalePeriodUpdated, SaleStatusEnumStatus, type SaleStatusEnumStatusWithLiterals, type SalesDetails, Scaling, type ScalingWithLiterals, type ScheduleConfig, type ScheduleLegacyTimeCapsuleTaskRequest, type Scheduling, type SeatingDetails, type SeatingPlanCategoriesSummaryUpdated, type SeoSchema, type SeoSettings, type ServiceProvisioned, type ServiceRemoved, type Settings, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrl, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, State, type StateWithLiterals, Status, type StatusWithLiterals, type StreetAddress, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type Subdivision, SubdivisionSubdivisionType, type SubdivisionSubdivisionTypeWithLiterals, SubdivisionType, type SubdivisionTypeWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, type TaxConfig, TaxType, type TaxTypeWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TicketDefinition, type TicketDefinitionCreatedEnvelope, type TicketDefinitionDeletedEnvelope, type TicketDefinitionSaleEnded, type TicketDefinitionSaleEndedEnvelope, type TicketDefinitionSalePeriodUpdatedEnvelope, type TicketDefinitionSaleStarted, type TicketDefinitionSaleStartedEnvelope, type TicketDefinitionSummary, type TicketDefinitionUpdatedEnvelope, type TicketDefinitionsQueryBuilder, type TicketDefinitionsQueryResult, type Ticketing, type TicketingConfig, type TicketingSummary, type TicketsConfirmationMessages, type TicketsUnavailableMessages, Type, type TypeWithLiterals, type URI, type UpdateEventTicketingSummaryRequest, type UpdateEventTicketingSummaryResponse, type UpdateFeeTypesBasedOnSettingsRequest, type UpdateFeeTypesBasedOnSettingsResponse, type UpdateTicketDefinition, type UpdateTicketDefinitionApplicationErrors, type UpdateTicketDefinitionOptions, type UpdateTicketDefinitionRequest, type UpdateTicketDefinitionResponse, type UpdateTicketDefinitionSortIndexRequest, type UpdateTicketDefinitionSortIndexResponse, ValueType, type ValueTypeWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VisitorType, type VisitorTypeWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixelAssigned, type WixelUnassigned, bulkDeleteTicketDefinitionsByFilter, changeCurrency, countAvailableTicketDefinitions, countTicketDefinitions, createTicketDefinition, deleteTicketDefinition, getTicketDefinition, onTicketDefinitionCreated, onTicketDefinitionDeleted, onTicketDefinitionSaleEnded, onTicketDefinitionSalePeriodUpdated, onTicketDefinitionSaleStarted, onTicketDefinitionUpdated, queryAvailableTicketDefinitions, queryTicketDefinitions, reorderTicketDefinitions, updateTicketDefinition };
|
|
5520
|
+
export { type ActionEvent, type Address, type AddressLocation, type AddressStreetOneOf, type Agenda, Alignment, type AlignmentWithLiterals, type AnchorData, type App, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type Asset, type AudioData, type AvailablePlace, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Badge, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulkCopyTicketDefinitionsByEventIdRequest, type BulkCopyTicketDefinitionsByEventIdResponse, type BulkDeleteTicketDefinitionsByFilterRequest, type BulkDeleteTicketDefinitionsByFilterResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CalendarLinks, type CaptionData, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type Category, type CategoryCounts, type CategoryDetails, CategoryStateState, type CategoryStateStateWithLiterals, type CellStyle, type ChangeCurrencyApplicationErrors, type ChangeCurrencyOptions, type ChangeCurrencyRequest, type ChangeCurrencyResponse, type CheckoutFormMessages, CheckoutType, type CheckoutTypeWithLiterals, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonAddress, type CommonAddressLocation, type CommonAddressStreetOneOf, type CommonMoney, type CommonStreetAddress, type CommonSubdivision, ConferenceType, type ConferenceTypeWithLiterals, type CopiedTicketDefinition, type CountAvailableTicketDefinitionsApplicationErrors, type CountAvailableTicketDefinitionsOptions, type CountAvailableTicketDefinitionsRequest, type CountAvailableTicketDefinitionsResponse, type CountTicketDefinitionsApplicationErrors, type CountTicketDefinitionsOptions, type CountTicketDefinitionsRequest, type CountTicketDefinitionsResponse, type CreateTicketDefinitionApplicationErrors, type CreateTicketDefinitionOptions, type CreateTicketDefinitionRequest, type CreateTicketDefinitionResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type CustomTag, type Dashboard, type DateAndTimeSettings, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteContext, DeleteStatus, type DeleteStatusWithLiterals, type DeleteTicketDefinitionRequest, type DeleteTicketDefinitionResponse, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type Event, type EventCanceled, type EventCreated, type EventData, type EventDeleted, type EventDetails, type EventDisplaySettings, type EventEnded, type EventMetadata, EventStatus, type EventStatusWithLiterals, type EventTicketingSummary, EventType, type EventTypeWithLiterals, type EventUpdated, type EventsLocation, type EventsOccurrence, EventsRecurrenceStatusStatus, type EventsRecurrenceStatusStatusWithLiterals, type EventsRecurrences, type ExtendedFields, type ExternalEvent, type FacetCounts, FeeTypeEnumType, type FeeTypeEnumTypeWithLiterals, type Feed, Field, type FieldWithLiterals, type File, type FileData, type FileSource, type FileSourceDataOneOf, type FontSizeData, FontType, type FontTypeWithLiterals, type Form, type FormMessages, type Formatted, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetTicketDefinitionFromTrashBinRequest, type GetTicketDefinitionFromTrashBinResponse, type GetTicketDefinitionOptions, type GetTicketDefinitionRequest, type GetTicketDefinitionResponse, type GetTicketDefinitionSummaryRequest, type GetTicketDefinitionSummaryResponse, type Gradient, type GuestListConfig, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, type ImagePositionWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Input, type InputControl, InputControlType, type InputControlTypeWithLiterals, type InvalidateCache, type InvalidateCacheGetByOneOf, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, type Label, type LabellingSettings, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListEventTicketingSummaryRequest, type ListEventTicketingSummaryResponse, type ListValue, type Location, LocationLocationType, type LocationLocationTypeWithLiterals, LocationType, type LocationTypeWithLiterals, type MapCoordinates, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type Metadata, type Money, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type Negative, type NegativeResponseConfirmation, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Occurrence, type OdeditorAssigned, type OdeditorUnassigned, type Oembed, type OnlineConferencing, type OnlineConferencingConfig, type OnlineConferencingSession, type Option, type OptionDesign, type OptionDetails, type OptionLayout, type OptionSelection, type OptionSelectionSelectedOptionOneOf, type OrderedListData, Orientation, type OrientationWithLiterals, type PDFSettings, type Page, type Paging, type PagingMetadataV2, type ParagraphData, type Permissions, type PicassoAssigned, type PicassoUnassigned, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Positive, type PositiveResponseConfirmation, type PricingData, type PricingMethod, type PricingMethodPriceOneOf, type PricingOptions, PricingTypeEnumType, type PricingTypeEnumTypeWithLiterals, type QueryAvailableTicketDefinitionsOptions, type QueryAvailableTicketDefinitionsRequest, type QueryAvailableTicketDefinitionsResponse, type QueryTicketDefinitionsOptions, type QueryTicketDefinitionsRequest, type QueryTicketDefinitionsResponse, type QueryV2, type QueryV2PagingMethodOneOf, RecurrenceStatusStatus, type RecurrenceStatusStatusWithLiterals, type Recurrences, type Registration, type RegistrationClosedMessages, RegistrationStatus, type RegistrationStatusWithLiterals, type Rel, type ReorderTicketDefinitionsApplicationErrors, type ReorderTicketDefinitionsOptions, type ReorderTicketDefinitionsOptionsReferenceDefinitionOneOf, type ReorderTicketDefinitionsRequest, type ReorderTicketDefinitionsRequestReferenceDefinitionOneOf, type ReorderTicketDefinitionsResponse, Resizing, type ResizingWithLiterals, type ResponseConfirmation, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, type RsvpCollection, type RsvpCollectionConfig, type RsvpConfirmationMessages, type RsvpConfirmationMessagesNegativeResponseConfirmation, type RsvpConfirmationMessagesPositiveResponseConfirmation, type RsvpFormMessages, RsvpStatusOptions, type RsvpStatusOptionsWithLiterals, type RsvpSummary, type SalePeriod, type SalePeriodUpdated, SaleStatusEnumStatus, type SaleStatusEnumStatusWithLiterals, type SalesDetails, Scaling, type ScalingWithLiterals, type ScheduleConfig, type ScheduleLegacyTimeCapsuleTaskRequest, type Scheduling, type SeatingDetails, type SeatingPlanCategoriesSummaryUpdated, type SeoSchema, type SeoSettings, type ServiceProvisioned, type ServiceRemoved, type Settings, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrl, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, State, type StateWithLiterals, Status, type StatusWithLiterals, type StreetAddress, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type Subdivision, SubdivisionSubdivisionType, type SubdivisionSubdivisionTypeWithLiterals, SubdivisionType, type SubdivisionTypeWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, type TaxConfig, TaxType, type TaxTypeWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TicketDefinition, type TicketDefinitionCreatedEnvelope, type TicketDefinitionDeletedEnvelope, type TicketDefinitionSaleEnded, type TicketDefinitionSaleEndedEnvelope, type TicketDefinitionSalePeriodUpdatedEnvelope, type TicketDefinitionSaleStarted, type TicketDefinitionSaleStartedEnvelope, type TicketDefinitionSummary, type TicketDefinitionUpdatedEnvelope, type TicketDefinitionsQueryBuilder, type TicketDefinitionsQueryResult, type Ticketing, type TicketingConfig, type TicketingSummary, type TicketsConfirmationMessages, type TicketsUnavailableMessages, Type, type TypeWithLiterals, type URI, type UpdateEventTicketingSummaryRequest, type UpdateEventTicketingSummaryResponse, type UpdateFeeTypesBasedOnSettingsRequest, type UpdateFeeTypesBasedOnSettingsResponse, type UpdateTicketDefinition, type UpdateTicketDefinitionApplicationErrors, type UpdateTicketDefinitionOptions, type UpdateTicketDefinitionRequest, type UpdateTicketDefinitionResponse, type UpdateTicketDefinitionSortIndexRequest, type UpdateTicketDefinitionSortIndexResponse, ValueType, type ValueTypeWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VisitorType, type VisitorTypeWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixelAssigned, type WixelUnassigned, bulkDeleteTicketDefinitionsByFilter, changeCurrency, countAvailableTicketDefinitions, countTicketDefinitions, createTicketDefinition, deleteTicketDefinition, getTicketDefinition, onTicketDefinitionCreated, onTicketDefinitionDeleted, onTicketDefinitionSaleEnded, onTicketDefinitionSalePeriodUpdated, onTicketDefinitionSaleStarted, onTicketDefinitionUpdated, queryAvailableTicketDefinitions, queryTicketDefinitions, reorderTicketDefinitions, typedQueryTicketDefinitions, updateTicketDefinition };
|
|
@@ -100,6 +100,7 @@ __export(index_typings_exports, {
|
|
|
100
100
|
queryAvailableTicketDefinitions: () => queryAvailableTicketDefinitions2,
|
|
101
101
|
queryTicketDefinitions: () => queryTicketDefinitions2,
|
|
102
102
|
reorderTicketDefinitions: () => reorderTicketDefinitions2,
|
|
103
|
+
typedQueryTicketDefinitions: () => typedQueryTicketDefinitions,
|
|
103
104
|
updateTicketDefinition: () => updateTicketDefinition2
|
|
104
105
|
});
|
|
105
106
|
module.exports = __toCommonJS(index_typings_exports);
|
|
@@ -1460,6 +1461,43 @@ function queryTicketDefinitions2(options) {
|
|
|
1460
1461
|
transformationPaths: {}
|
|
1461
1462
|
});
|
|
1462
1463
|
}
|
|
1464
|
+
async function typedQueryTicketDefinitions(query, options) {
|
|
1465
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1466
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1467
|
+
query,
|
|
1468
|
+
...options
|
|
1469
|
+
});
|
|
1470
|
+
const reqOpts = queryTicketDefinitions(payload);
|
|
1471
|
+
sideEffects?.onSiteCall?.();
|
|
1472
|
+
try {
|
|
1473
|
+
const result = await httpClient.request(reqOpts);
|
|
1474
|
+
sideEffects?.onSuccess?.(result);
|
|
1475
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
1476
|
+
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1477
|
+
{
|
|
1478
|
+
transformFn: import_page_url2.transformRESTPageURLToSDKPageURL,
|
|
1479
|
+
paths: [{ path: "ticketDefinitions.eventDetails.eventPageUrl" }]
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
transformFn: import_address2.transformRESTAddressToSDKAddress,
|
|
1483
|
+
paths: [{ path: "ticketDefinitions.eventDetails.location.address" }]
|
|
1484
|
+
}
|
|
1485
|
+
])
|
|
1486
|
+
);
|
|
1487
|
+
} catch (err) {
|
|
1488
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1489
|
+
err,
|
|
1490
|
+
{
|
|
1491
|
+
spreadPathsToArguments: {},
|
|
1492
|
+
explicitPathsToArguments: { query: "$[0]" },
|
|
1493
|
+
singleArgumentUnchanged: false
|
|
1494
|
+
},
|
|
1495
|
+
["query", "options"]
|
|
1496
|
+
);
|
|
1497
|
+
sideEffects?.onError?.(err);
|
|
1498
|
+
throw transformedError;
|
|
1499
|
+
}
|
|
1500
|
+
}
|
|
1463
1501
|
async function queryAvailableTicketDefinitions2(query, options) {
|
|
1464
1502
|
const { httpClient, sideEffects } = arguments[2];
|
|
1465
1503
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
@@ -1690,6 +1728,7 @@ async function changeCurrency2(eventId, options) {
|
|
|
1690
1728
|
queryAvailableTicketDefinitions,
|
|
1691
1729
|
queryTicketDefinitions,
|
|
1692
1730
|
reorderTicketDefinitions,
|
|
1731
|
+
typedQueryTicketDefinitions,
|
|
1693
1732
|
updateTicketDefinition
|
|
1694
1733
|
});
|
|
1695
1734
|
//# sourceMappingURL=index.typings.js.map
|