@wix/auto_sdk_events_ticket-definitions-v-2 1.0.64 → 1.0.65
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 +3 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +19 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -6
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +3 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +19 -9
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -6
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +3 -3
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +19 -9
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +11 -6
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +3 -3
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +19 -9
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +11 -6
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -95,6 +95,11 @@ interface TicketDefinition {
|
|
|
95
95
|
* **Note:** This field is only returned when `"EVENT_DETAILS"` is specified in `field` in the request.
|
|
96
96
|
*/
|
|
97
97
|
eventDetails?: EventDetails;
|
|
98
|
+
/**
|
|
99
|
+
* Seating information including available seats and areas for this ticket definition. <br>
|
|
100
|
+
* **Note:** This field is only returned when `"SEATING_INFO"` is specified in `field` in the request and when the event has a seating plan.
|
|
101
|
+
*/
|
|
102
|
+
seatingInfo?: SeatingInfo;
|
|
98
103
|
}
|
|
99
104
|
interface SalePeriod {
|
|
100
105
|
/** Date and time the ticket sale starts. */
|
|
@@ -546,7 +551,7 @@ interface SeatingInfo {
|
|
|
546
551
|
}
|
|
547
552
|
interface AvailableSeat {
|
|
548
553
|
/**
|
|
549
|
-
* Seat ID in format: "{
|
|
554
|
+
* Seat ID in format: "{sectorId}-{rowId}-{seatNumber}".
|
|
550
555
|
* @readonly
|
|
551
556
|
* @minLength 5
|
|
552
557
|
* @maxLength 11
|
|
@@ -567,16 +572,16 @@ interface AvailableSeat {
|
|
|
567
572
|
*/
|
|
568
573
|
sectorLabel?: string | null;
|
|
569
574
|
/**
|
|
570
|
-
*
|
|
575
|
+
* Row label.
|
|
571
576
|
* @readonly
|
|
572
577
|
* @minLength 1
|
|
573
578
|
* @maxLength 50
|
|
574
579
|
*/
|
|
575
|
-
|
|
580
|
+
rowLabel?: string | null;
|
|
576
581
|
}
|
|
577
582
|
interface AvailableAreaInfo {
|
|
578
583
|
/**
|
|
579
|
-
* Area ID in format: "{
|
|
584
|
+
* Area ID in format: "{sectorId}-{rowId}-A"
|
|
580
585
|
* @readonly
|
|
581
586
|
* @minLength 5
|
|
582
587
|
* @maxLength 11
|
|
@@ -602,12 +607,12 @@ interface AvailableAreaInfo {
|
|
|
602
607
|
*/
|
|
603
608
|
sectorLabel?: string | null;
|
|
604
609
|
/**
|
|
605
|
-
*
|
|
610
|
+
* Row label.
|
|
606
611
|
* @readonly
|
|
607
612
|
* @minLength 1
|
|
608
613
|
* @maxLength 50
|
|
609
614
|
*/
|
|
610
|
-
|
|
615
|
+
rowLabel?: string | null;
|
|
611
616
|
}
|
|
612
617
|
interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
613
618
|
/**
|
|
@@ -5155,7 +5160,7 @@ declare function onTicketDefinitionUpdated(handler: (event: TicketDefinitionUpda
|
|
|
5155
5160
|
* @returns Created ticket definition.
|
|
5156
5161
|
* @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.CreateTicketDefinition
|
|
5157
5162
|
*/
|
|
5158
|
-
declare function createTicketDefinition(ticketDefinition: NonNullablePaths<TicketDefinition, `eventId` | `feeType` | `name` | `pricingMethod`, 2>, options?: CreateTicketDefinitionOptions): Promise<NonNullablePaths<TicketDefinition, `hidden` | `limited` | `pricingMethod.fixedPrice.value` | `pricingMethod.fixedPrice.currency` | `pricingMethod.pricingOptions.optionDetails` | `pricingMethod.pricingType` | `pricingMethod.free` | `feeType` | `salePeriod.displayNotOnSale` | `saleStatus` | `eventDetails.location.type` | `eventDetails.location.address.streetAddress.number` | `eventDetails.location.address.streetAddress.name` | `eventDetails.dateAndTimeSettings.recurrenceStatus` | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates` | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone` | `eventDetails.status`, 7> & {
|
|
5163
|
+
declare function createTicketDefinition(ticketDefinition: NonNullablePaths<TicketDefinition, `eventId` | `feeType` | `name` | `pricingMethod`, 2>, options?: CreateTicketDefinitionOptions): Promise<NonNullablePaths<TicketDefinition, `hidden` | `limited` | `pricingMethod.fixedPrice.value` | `pricingMethod.fixedPrice.currency` | `pricingMethod.pricingOptions.optionDetails` | `pricingMethod.pricingType` | `pricingMethod.free` | `feeType` | `salePeriod.displayNotOnSale` | `saleStatus` | `eventDetails.location.type` | `eventDetails.location.address.streetAddress.number` | `eventDetails.location.address.streetAddress.name` | `eventDetails.dateAndTimeSettings.recurrenceStatus` | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates` | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone` | `eventDetails.status` | `seatingInfo.seats`, 7> & {
|
|
5159
5164
|
__applicationErrorsType?: CreateTicketDefinitionApplicationErrors;
|
|
5160
5165
|
}>;
|
|
5161
5166
|
interface CreateTicketDefinitionOptions {
|
|
@@ -5181,7 +5186,7 @@ interface CreateTicketDefinitionOptions {
|
|
|
5181
5186
|
* @returns The updated ticket definition.
|
|
5182
5187
|
* @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.UpdateTicketDefinition
|
|
5183
5188
|
*/
|
|
5184
|
-
declare function updateTicketDefinition(_id: string, ticketDefinition: NonNullablePaths<UpdateTicketDefinition, `revision`, 2>, options?: UpdateTicketDefinitionOptions): Promise<NonNullablePaths<TicketDefinition, `hidden` | `limited` | `pricingMethod.fixedPrice.value` | `pricingMethod.fixedPrice.currency` | `pricingMethod.pricingOptions.optionDetails` | `pricingMethod.pricingType` | `pricingMethod.free` | `feeType` | `salePeriod.displayNotOnSale` | `saleStatus` | `eventDetails.location.type` | `eventDetails.location.address.streetAddress.number` | `eventDetails.location.address.streetAddress.name` | `eventDetails.dateAndTimeSettings.recurrenceStatus` | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates` | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone` | `eventDetails.status`, 7> & {
|
|
5189
|
+
declare function updateTicketDefinition(_id: string, ticketDefinition: NonNullablePaths<UpdateTicketDefinition, `revision`, 2>, options?: UpdateTicketDefinitionOptions): Promise<NonNullablePaths<TicketDefinition, `hidden` | `limited` | `pricingMethod.fixedPrice.value` | `pricingMethod.fixedPrice.currency` | `pricingMethod.pricingOptions.optionDetails` | `pricingMethod.pricingType` | `pricingMethod.free` | `feeType` | `salePeriod.displayNotOnSale` | `saleStatus` | `eventDetails.location.type` | `eventDetails.location.address.streetAddress.number` | `eventDetails.location.address.streetAddress.name` | `eventDetails.dateAndTimeSettings.recurrenceStatus` | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates` | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone` | `eventDetails.status` | `seatingInfo.seats`, 7> & {
|
|
5185
5190
|
__applicationErrorsType?: UpdateTicketDefinitionApplicationErrors;
|
|
5186
5191
|
}>;
|
|
5187
5192
|
interface UpdateTicketDefinition {
|
|
@@ -5272,6 +5277,11 @@ interface UpdateTicketDefinition {
|
|
|
5272
5277
|
* **Note:** This field is only returned when `"EVENT_DETAILS"` is specified in `field` in the request.
|
|
5273
5278
|
*/
|
|
5274
5279
|
eventDetails?: EventDetails;
|
|
5280
|
+
/**
|
|
5281
|
+
* Seating information including available seats and areas for this ticket definition. <br>
|
|
5282
|
+
* **Note:** This field is only returned when `"SEATING_INFO"` is specified in `field` in the request and when the event has a seating plan.
|
|
5283
|
+
*/
|
|
5284
|
+
seatingInfo?: SeatingInfo;
|
|
5275
5285
|
}
|
|
5276
5286
|
interface UpdateTicketDefinitionOptions {
|
|
5277
5287
|
/**
|
|
@@ -5291,7 +5301,7 @@ interface UpdateTicketDefinitionOptions {
|
|
|
5291
5301
|
* @returns The requested ticket definition.
|
|
5292
5302
|
* @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.GetTicketDefinition
|
|
5293
5303
|
*/
|
|
5294
|
-
declare function getTicketDefinition(ticketDefinitionId: string, options?: GetTicketDefinitionOptions): Promise<NonNullablePaths<TicketDefinition, `hidden` | `limited` | `pricingMethod.fixedPrice.value` | `pricingMethod.fixedPrice.currency` | `pricingMethod.pricingOptions.optionDetails` | `pricingMethod.pricingType` | `pricingMethod.free` | `feeType` | `salePeriod.displayNotOnSale` | `saleStatus` | `eventDetails.location.type` | `eventDetails.location.address.streetAddress.number` | `eventDetails.location.address.streetAddress.name` | `eventDetails.dateAndTimeSettings.recurrenceStatus` | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates` | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone` | `eventDetails.status`, 7>>;
|
|
5304
|
+
declare function getTicketDefinition(ticketDefinitionId: string, options?: GetTicketDefinitionOptions): Promise<NonNullablePaths<TicketDefinition, `hidden` | `limited` | `pricingMethod.fixedPrice.value` | `pricingMethod.fixedPrice.currency` | `pricingMethod.pricingOptions.optionDetails` | `pricingMethod.pricingType` | `pricingMethod.free` | `feeType` | `salePeriod.displayNotOnSale` | `saleStatus` | `eventDetails.location.type` | `eventDetails.location.address.streetAddress.number` | `eventDetails.location.address.streetAddress.name` | `eventDetails.dateAndTimeSettings.recurrenceStatus` | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates` | `eventDetails.dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone` | `eventDetails.status` | `seatingInfo.seats`, 7>>;
|
|
5295
5305
|
interface GetTicketDefinitionOptions {
|
|
5296
5306
|
/**
|
|
5297
5307
|
* Predefined sets of fields to return.
|