@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.
@@ -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 `"SALES_DETAILS"` is specified in `field` in the request.
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 `"EVENT_DETAILS"` is specified in `field` in the request.
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 `"SEATING_DETAILS"` is specified in `field` in the request and when the event has a seating plan.
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 `{section_id}-{element_id}-{label}`. For example, `0-1-A5`.
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
- * Section name where this place is located. For example, `Orchestra` or `Balcony`.
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
- * Element label from the seating plan. For example, `Row A`, `Table 5`, or `General Admission`.
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. For AREA type: remaining spots; for other types: 0 or 1.
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 `"SALES_DETAILS"` is specified in `field` in the request.
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 `"EVENT_DETAILS"` is specified in `field` in the request.
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 `"SEATING_DETAILS"` is specified in `field` in the request and when the event has a seating plan.
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 };
@@ -1357,6 +1357,43 @@ function queryTicketDefinitions2(options) {
1357
1357
  transformationPaths: {}
1358
1358
  });
1359
1359
  }
1360
+ async function typedQueryTicketDefinitions(query, options) {
1361
+ const { httpClient, sideEffects } = arguments[2];
1362
+ const payload = renameKeysFromSDKRequestToRESTRequest({
1363
+ query,
1364
+ ...options
1365
+ });
1366
+ const reqOpts = queryTicketDefinitions(payload);
1367
+ sideEffects?.onSiteCall?.();
1368
+ try {
1369
+ const result = await httpClient.request(reqOpts);
1370
+ sideEffects?.onSuccess?.(result);
1371
+ return renameKeysFromRESTResponseToSDKResponse(
1372
+ transformPaths2(result.data, [
1373
+ {
1374
+ transformFn: transformRESTPageURLToSDKPageURL,
1375
+ paths: [{ path: "ticketDefinitions.eventDetails.eventPageUrl" }]
1376
+ },
1377
+ {
1378
+ transformFn: transformRESTAddressToSDKAddress,
1379
+ paths: [{ path: "ticketDefinitions.eventDetails.location.address" }]
1380
+ }
1381
+ ])
1382
+ );
1383
+ } catch (err) {
1384
+ const transformedError = sdkTransformError(
1385
+ err,
1386
+ {
1387
+ spreadPathsToArguments: {},
1388
+ explicitPathsToArguments: { query: "$[0]" },
1389
+ singleArgumentUnchanged: false
1390
+ },
1391
+ ["query", "options"]
1392
+ );
1393
+ sideEffects?.onError?.(err);
1394
+ throw transformedError;
1395
+ }
1396
+ }
1360
1397
  async function queryAvailableTicketDefinitions2(query, options) {
1361
1398
  const { httpClient, sideEffects } = arguments[2];
1362
1399
  const payload = renameKeysFromSDKRequestToRESTRequest({
@@ -1586,6 +1623,7 @@ export {
1586
1623
  queryAvailableTicketDefinitions2 as queryAvailableTicketDefinitions,
1587
1624
  queryTicketDefinitions2 as queryTicketDefinitions,
1588
1625
  reorderTicketDefinitions2 as reorderTicketDefinitions,
1626
+ typedQueryTicketDefinitions,
1589
1627
  updateTicketDefinition2 as updateTicketDefinition
1590
1628
  };
1591
1629
  //# sourceMappingURL=index.typings.mjs.map