@wix/auto_sdk_events_ticket-definitions-v-2 1.0.35 → 1.0.37

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.
Files changed (33) hide show
  1. package/build/cjs/index.d.ts +39 -26
  2. package/build/cjs/index.js +13 -11
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/{events-v3-ticket-definition-ticket-definitions-v-2.universal-Ck9oQVat.d.ts → index.typings.d.ts} +353 -44
  5. package/build/cjs/index.typings.js +1572 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +29 -28
  8. package/build/cjs/meta.js.map +1 -1
  9. package/build/es/index.d.mts +39 -26
  10. package/build/es/index.mjs +13 -11
  11. package/build/es/index.mjs.map +1 -1
  12. package/build/es/{events-v3-ticket-definition-ticket-definitions-v-2.universal-Ck9oQVat.d.mts → index.typings.d.mts} +353 -44
  13. package/build/es/index.typings.mjs +1479 -0
  14. package/build/es/index.typings.mjs.map +1 -0
  15. package/build/es/meta.d.mts +29 -28
  16. package/build/es/meta.mjs.map +1 -1
  17. package/build/internal/cjs/index.d.ts +39 -26
  18. package/build/internal/cjs/index.js +13 -11
  19. package/build/internal/cjs/index.js.map +1 -1
  20. package/build/internal/cjs/{events-v3-ticket-definition-ticket-definitions-v-2.universal-Ck9oQVat.d.ts → index.typings.d.ts} +353 -44
  21. package/build/internal/cjs/index.typings.js +1572 -0
  22. package/build/internal/cjs/index.typings.js.map +1 -0
  23. package/build/internal/cjs/meta.d.ts +29 -28
  24. package/build/internal/cjs/meta.js.map +1 -1
  25. package/build/internal/es/index.d.mts +39 -26
  26. package/build/internal/es/index.mjs +13 -11
  27. package/build/internal/es/index.mjs.map +1 -1
  28. package/build/internal/es/{events-v3-ticket-definition-ticket-definitions-v-2.universal-Ck9oQVat.d.mts → index.typings.d.mts} +353 -44
  29. package/build/internal/es/index.typings.mjs +1479 -0
  30. package/build/internal/es/index.typings.mjs.map +1 -0
  31. package/build/internal/es/meta.d.mts +29 -28
  32. package/build/internal/es/meta.mjs.map +1 -1
  33. package/package.json +3 -3
@@ -1,3 +1,5 @@
1
+ import { NonNullablePaths } from '@wix/sdk-types';
2
+
1
3
  interface TicketDefinition {
2
4
  /**
3
5
  * Ticket definition ID.
@@ -12,17 +14,17 @@ interface TicketDefinition {
12
14
  */
13
15
  eventId?: string | null;
14
16
  /**
15
- * Revision number, which increments by 1 each time the ticket definition is updated. To prevent conflicting changes, the existing revision must be used when updating a ticket definition.
17
+ * Revision number, which increments by 1 each time the ticket definition is updated. To prevent conflicting changes, the existing `revision` must be used when updating a ticket definition.
16
18
  * @readonly
17
19
  */
18
20
  revision?: string | null;
19
21
  /**
20
- * Date and time when the ticket definition was created.
22
+ * Date and time the ticket definition was created.
21
23
  * @readonly
22
24
  */
23
25
  _createdDate?: Date | null;
24
26
  /**
25
- * Date and time when the ticket definition was updated.
27
+ * Date and time the ticket definition was updated.
26
28
  * @readonly
27
29
  */
28
30
  _updatedDate?: Date | null;
@@ -42,7 +44,7 @@ interface TicketDefinition {
42
44
  * @maxLength 1000
43
45
  */
44
46
  policyText?: string | null;
45
- /** Whether this ticket definition is hidden to site visitors and can't be purchased. */
47
+ /** Whether this ticket definition is hidden from site visitors and can't be purchased. */
46
48
  hidden?: boolean;
47
49
  /**
48
50
  * Whether the ticket has a limited maximum quantity.
@@ -58,7 +60,7 @@ interface TicketDefinition {
58
60
  actualLimit?: number | null;
59
61
  /** Ticket pricing method. */
60
62
  pricingMethod?: PricingMethod;
61
- /** Whether fee is included in the ticket price or customer pays it additionally at checkout. */
63
+ /** Type of ticket service fee to collect. */
62
64
  feeType?: FeeTypeEnumTypeWithLiterals;
63
65
  /** Ticket sale period. */
64
66
  salePeriod?: SalePeriod;
@@ -68,13 +70,13 @@ interface TicketDefinition {
68
70
  */
69
71
  saleStatus?: SaleStatusEnumStatusWithLiterals;
70
72
  /**
71
- * Ticket sales information. <br>
72
- * **Note:** This field is only returned when `SALES_DETAILS` fieldset is included in the request.
73
+ * Ticket sales information. <br> <br>
74
+ * **Note:** This field is only returned when `"SALES_DETAILS"` is specified in `field` in the request.
73
75
  */
74
76
  salesDetails?: SalesDetails;
75
77
  /**
76
- * Number of tickets that can be purchased per checkout. <br>
77
- * **Note:** If the `actuaLimit` or `salesDetails.unsoldCount` field value is smaller than `limitPerCheckout`, then it overrides this field.
78
+ * Number of tickets that can be purchased per checkout. <br> <br>
79
+ * **Note:** If the `actualLimit` or `salesDetails.unsoldCount` field value is smaller than `limitPerCheckout`, then it overrides this field.
78
80
  * @readonly
79
81
  * @max 50
80
82
  */
@@ -82,15 +84,15 @@ interface TicketDefinition {
82
84
  /** Data extensions. */
83
85
  extendedFields?: ExtendedFields;
84
86
  /**
85
- * Associated event information. <br>
86
- * **Note:** This field is only returned when `EVENT_DETAILS` fieldset is included in the request.
87
+ * Information about the even the ticket is for. <br>
88
+ * **Note:** This field is only returned when `"EVENT_DETAILS"` is specified in `field` in the request.
87
89
  */
88
90
  eventDetails?: EventDetails;
89
91
  }
90
92
  interface SalePeriod {
91
- /** Ticket sale start timestamp. */
93
+ /** Date and time the ticket sale starts. */
92
94
  startDate?: Date | null;
93
- /** Ticket sale end timestamp. */
95
+ /** Date and time the ticket sale ends. */
94
96
  endDate?: Date | null;
95
97
  /** Whether to display the ticket if it's not available to buy. */
96
98
  displayNotOnSale?: boolean;
@@ -98,7 +100,7 @@ interface SalePeriod {
98
100
  interface PricingMethod extends PricingMethodPriceOneOf {
99
101
  /** Same ticket price for everyone. */
100
102
  fixedPrice?: CommonMoney;
101
- /** Guests choose how much they'd like to pay for the ticket. You can set the minimum price, or make the ticket free(enter `0` in the request). The price can be updated to a higher amount by a guest during the checkout. */
103
+ /** Guests choose how much they'd like to pay for the ticket. You can set the minimum price, or specify `"0"` in the request to make the ticket free. The price can be updated to a higher amount by a guest during the checkout. */
102
104
  guestPrice?: CommonMoney;
103
105
  /** Sets of various ticket prices. For example, you can charge different prices for children and adults. */
104
106
  pricingOptions?: PricingOptions;
@@ -108,7 +110,7 @@ interface PricingMethod extends PricingMethodPriceOneOf {
108
110
  */
109
111
  pricingType?: PricingTypeEnumTypeWithLiterals;
110
112
  /**
111
- * Whether the ticket is free. To create a free ticket, enter `0` in the `pricingMethod.fixedPrice.value` field.
113
+ * Whether the ticket is free. To create a free ticket, enter `"0"` in `pricingMethod.fixedPrice.value`.
112
114
  * @readonly
113
115
  */
114
116
  free?: boolean;
@@ -117,7 +119,7 @@ interface PricingMethod extends PricingMethodPriceOneOf {
117
119
  interface PricingMethodPriceOneOf {
118
120
  /** Same ticket price for everyone. */
119
121
  fixedPrice?: CommonMoney;
120
- /** Guests choose how much they'd like to pay for the ticket. You can set the minimum price, or make the ticket free(enter `0` in the request). The price can be updated to a higher amount by a guest during the checkout. */
122
+ /** Guests choose how much they'd like to pay for the ticket. You can set the minimum price, or specify `"0"` in the request to make the ticket free. The price can be updated to a higher amount by a guest during the checkout. */
121
123
  guestPrice?: CommonMoney;
122
124
  /** Sets of various ticket prices. For example, you can charge different prices for children and adults. */
123
125
  pricingOptions?: PricingOptions;
@@ -140,7 +142,7 @@ interface CommonMoney {
140
142
  }
141
143
  interface PricingOptions {
142
144
  /**
143
- * Ticket price option details.
145
+ * Ticket price options.
144
146
  * @maxSize 100
145
147
  */
146
148
  optionDetails?: OptionDetails[];
@@ -173,11 +175,11 @@ type PricingTypeEnumTypeWithLiterals = PricingTypeEnumType | 'UNKNOWN_PRICING_TY
173
175
  declare enum FeeTypeEnumType {
174
176
  /** Unknown fee type. */
175
177
  UNKNOWN_FEE_TYPE = "UNKNOWN_FEE_TYPE",
176
- /** The fee is deducted from the ticket price for a seller. For example, if you're selling tickets for $10, then a ticket service fee of $0.25 will be deducted from the price and you'll get $9.75. */
178
+ /** The fee is deducted from the ticket price for a seller. <br><br> For example, if you're selling tickets for $10, then a ticket service fee of $0.25 will be deducted from the price and you'll get $9.75. */
177
179
  FEE_INCLUDED = "FEE_INCLUDED",
178
- /** The fee is shown in addition to the ticket price at checkout and a guest pays the fee. For example, if you sell tickets for $10, a customer will see a ticket service fee of $0.25 and will pay $10.25 in total. */
180
+ /** The fee is shown in addition to the ticket price at checkout and a guest pays the fee. <br><br> For example, if you sell tickets for $10, a customer will see a ticket service fee of $0.25 and will pay $10.25 in total. */
179
181
  FEE_ADDED_AT_CHECKOUT = "FEE_ADDED_AT_CHECKOUT",
180
- /** Ticket service fee is not collected. Available only for free tickets and legacy users. */
182
+ /** Ticket service fee isn't collected. Available only for free tickets and legacy Wix users. */
181
183
  NO_FEE = "NO_FEE"
182
184
  }
183
185
  /** @enumType */
@@ -185,18 +187,18 @@ type FeeTypeEnumTypeWithLiterals = FeeTypeEnumType | 'UNKNOWN_FEE_TYPE' | 'FEE_I
185
187
  declare enum SaleStatusEnumStatus {
186
188
  /** Undefined sale status. */
187
189
  UNKNOWN_SALE_STATUS = "UNKNOWN_SALE_STATUS",
188
- /** Tickets are not on sale yet. */
190
+ /** Tickets aren't on sale yet. */
189
191
  SALE_SCHEDULED = "SALE_SCHEDULED",
190
192
  /** Tickets are on sale. */
191
193
  SALE_STARTED = "SALE_STARTED",
192
- /** Tickets are not on sale. */
194
+ /** Tickets are no longer on sale. */
193
195
  SALE_ENDED = "SALE_ENDED"
194
196
  }
195
197
  /** @enumType */
196
198
  type SaleStatusEnumStatusWithLiterals = SaleStatusEnumStatus | 'UNKNOWN_SALE_STATUS' | 'SALE_SCHEDULED' | 'SALE_STARTED' | 'SALE_ENDED';
197
199
  interface SalesDetails {
198
200
  /**
199
- * Number of tickets that have not been purchased yet. The field is `null` if the ticket quantity is unlimited.
201
+ * Number of tickets that haven't been purchased yet. The field is `null` if the ticket quantity is unlimited.
200
202
  * @readonly
201
203
  */
202
204
  unsoldCount?: number | null;
@@ -236,7 +238,7 @@ interface EventDetails {
236
238
  */
237
239
  title?: string | null;
238
240
  /**
239
- * Event short description.
241
+ * Short description of the event.
240
242
  * @maxLength 500
241
243
  * @readonly
242
244
  */
@@ -247,7 +249,7 @@ interface EventDetails {
247
249
  */
248
250
  location?: Location;
249
251
  /**
250
- * Event date and time settings.
252
+ * Event date and time settings.
251
253
  * @readonly
252
254
  */
253
255
  dateAndTimeSettings?: DateAndTimeSettings;
@@ -383,6 +385,8 @@ declare enum SubdivisionSubdivisionType {
383
385
  /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
384
386
  COUNTRY = "COUNTRY"
385
387
  }
388
+ /** @enumType */
389
+ type SubdivisionSubdivisionTypeWithLiterals = SubdivisionSubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
386
390
  interface DateAndTimeSettings {
387
391
  /** Whether the event date and time are TBD. */
388
392
  dateAndTimeTbd?: boolean | null;
@@ -764,7 +768,7 @@ interface UpdateTicketDefinitionSortIndexResponse {
764
768
  ticketDefinition?: TicketDefinition;
765
769
  }
766
770
  interface QueryTicketDefinitionsRequest {
767
- /** Query options. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more details. */
771
+ /** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */
768
772
  query: QueryV2;
769
773
  /**
770
774
  * Predefined sets of fields to return.
@@ -859,7 +863,7 @@ interface Cursors {
859
863
  prev?: string | null;
860
864
  }
861
865
  interface QueryAvailableTicketDefinitionsRequest {
862
- /** Query options. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more details. */
866
+ /** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */
863
867
  query: QueryV2;
864
868
  /**
865
869
  * Predefined sets of fields to return.
@@ -958,7 +962,7 @@ interface CopiedTicketDefinition {
958
962
  ticketDefinitionId?: string;
959
963
  }
960
964
  interface UpdateFeeTypesBasedOnSettingsRequest {
961
- /** Query options. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more details. */
965
+ /** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */
962
966
  query?: QueryV2;
963
967
  }
964
968
  interface UpdateFeeTypesBasedOnSettingsResponse {
@@ -1175,6 +1179,8 @@ declare enum SubdivisionType {
1175
1179
  /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
1176
1180
  COUNTRY = "COUNTRY"
1177
1181
  }
1182
+ /** @enumType */
1183
+ type SubdivisionTypeWithLiterals = SubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
1178
1184
  interface ScheduleConfig {
1179
1185
  /**
1180
1186
  * Defines event as TBD (To Be Determined) schedule.
@@ -1513,7 +1519,7 @@ interface Money {
1513
1519
  */
1514
1520
  amount?: string;
1515
1521
  /**
1516
- * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
1522
+ * 3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `USD`.
1517
1523
  * @format CURRENCY
1518
1524
  */
1519
1525
  currency?: string;
@@ -3453,6 +3459,8 @@ declare enum NullValue {
3453
3459
  /** Null value. */
3454
3460
  NULL_VALUE = "NULL_VALUE"
3455
3461
  }
3462
+ /** @enumType */
3463
+ type NullValueWithLiterals = NullValue | 'NULL_VALUE';
3456
3464
  /**
3457
3465
  * `ListValue` is a wrapper around a repeated field of values.
3458
3466
  *
@@ -4327,7 +4335,7 @@ interface EventTicketingSummary {
4327
4335
  */
4328
4336
  _updatedDate?: Date | null;
4329
4337
  /**
4330
- * Whether all tickets are sold for this event.
4338
+ * Whether all tickets are sold out for this event.
4331
4339
  * @readonly
4332
4340
  */
4333
4341
  soldOut?: boolean | null;
@@ -4394,9 +4402,9 @@ interface ReservationCreated {
4394
4402
  counts?: ReservationCount[];
4395
4403
  }
4396
4404
  declare enum ReservationStatus {
4397
- /** The Reservation is pending confirmation. It will expire after a certain amount of time. */
4405
+ /** The reservation is pending confirmation. It will expire after a certain amount of time. */
4398
4406
  RESERVATION_PENDING = "RESERVATION_PENDING",
4399
- /** The reservation is confirmed and will not expire. */
4407
+ /** The reservation is confirmed and won't expire. */
4400
4408
  RESERVATION_CONFIRMED = "RESERVATION_CONFIRMED",
4401
4409
  /** The reservation is canceled because it's not paid. */
4402
4410
  RESERVATION_CANCELED = "RESERVATION_CANCELED",
@@ -4465,6 +4473,44 @@ interface ReservationUpdated {
4465
4473
  */
4466
4474
  counts?: ReservationCount[];
4467
4475
  }
4476
+ type CreateTicketDefinitionApplicationErrors = {
4477
+ code?: 'INVALID_EVENT_TYPE';
4478
+ description?: string;
4479
+ data?: Record<string, any>;
4480
+ } | {
4481
+ code?: 'TICKET_DEFINITIONS_LIMIT_REACHED';
4482
+ description?: string;
4483
+ data?: Record<string, any>;
4484
+ } | {
4485
+ code?: 'INVALID_SALE_PERIOD';
4486
+ description?: string;
4487
+ data?: Record<string, any>;
4488
+ };
4489
+ type UpdateTicketDefinitionApplicationErrors = {
4490
+ code?: 'INVALID_SALE_PERIOD';
4491
+ description?: string;
4492
+ data?: Record<string, any>;
4493
+ };
4494
+ type ReorderTicketDefinitionsApplicationErrors = {
4495
+ code?: 'INVALID_REORDER_INSTRUCTION';
4496
+ description?: string;
4497
+ data?: Record<string, any>;
4498
+ };
4499
+ type CountTicketDefinitionsApplicationErrors = {
4500
+ code?: 'FILTER_PARSER_ERROR';
4501
+ description?: string;
4502
+ data?: Record<string, any>;
4503
+ };
4504
+ type CountAvailableTicketDefinitionsApplicationErrors = {
4505
+ code?: 'FILTER_PARSER_ERROR';
4506
+ description?: string;
4507
+ data?: Record<string, any>;
4508
+ };
4509
+ type ChangeCurrencyApplicationErrors = {
4510
+ code?: 'CURRENCY_LOCKED';
4511
+ description?: string;
4512
+ data?: Record<string, any>;
4513
+ };
4468
4514
  interface BaseEventMetadata {
4469
4515
  /**
4470
4516
  * App instance ID.
@@ -4513,25 +4559,143 @@ interface TicketDefinitionCreatedEnvelope {
4513
4559
  entity: TicketDefinition;
4514
4560
  metadata: EventMetadata;
4515
4561
  }
4562
+ /**
4563
+ * Triggered when a ticket definition is created.
4564
+ * @permissionScope Manage Events - all permissions
4565
+ * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS
4566
+ * @permissionScope Manage Events
4567
+ * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
4568
+ * @permissionScope Manage Orders
4569
+ * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-ORDERS
4570
+ * @permissionScope Manage Ticket Definitions
4571
+ * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-TICKET-DEF
4572
+ * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS
4573
+ * @webhook
4574
+ * @eventType wix.events.v3.ticket_definition_created
4575
+ * @slug created
4576
+ */
4577
+ declare function onTicketDefinitionCreated(handler: (event: TicketDefinitionCreatedEnvelope) => void | Promise<void>): void;
4516
4578
  interface TicketDefinitionDeletedEnvelope {
4579
+ entity: TicketDefinition;
4517
4580
  metadata: EventMetadata;
4518
4581
  }
4582
+ /**
4583
+ * Triggered when a ticket definition is deleted.
4584
+ * @permissionScope Manage Events - all permissions
4585
+ * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS
4586
+ * @permissionScope Manage Events
4587
+ * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
4588
+ * @permissionScope Manage Orders
4589
+ * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-ORDERS
4590
+ * @permissionScope Manage Ticket Definitions
4591
+ * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-TICKET-DEF
4592
+ * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS
4593
+ * @webhook
4594
+ * @eventType wix.events.v3.ticket_definition_deleted
4595
+ * @slug deleted
4596
+ */
4597
+ declare function onTicketDefinitionDeleted(handler: (event: TicketDefinitionDeletedEnvelope) => void | Promise<void>): void;
4519
4598
  interface TicketDefinitionSaleEndedEnvelope {
4520
4599
  data: TicketDefinitionSaleEnded;
4521
4600
  metadata: EventMetadata;
4522
4601
  }
4602
+ /**
4603
+ * Triggered when a ticket sale ends. Sales details aren't included in the response.
4604
+ * @permissionScope Manage Events - all permissions
4605
+ * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS
4606
+ * @permissionScope Manage Events
4607
+ * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
4608
+ * @permissionScope Manage Orders
4609
+ * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-ORDERS
4610
+ * @permissionScope Manage Ticket Definitions
4611
+ * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-TICKET-DEF
4612
+ * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS
4613
+ * @webhook
4614
+ * @eventType wix.events.v3.ticket_definition_sale_ended
4615
+ * @slug sale_ended
4616
+ */
4617
+ declare function onTicketDefinitionSaleEnded(handler: (event: TicketDefinitionSaleEndedEnvelope) => void | Promise<void>): void;
4523
4618
  interface TicketDefinitionSalePeriodUpdatedEnvelope {
4524
4619
  data: SalePeriodUpdated;
4525
4620
  metadata: EventMetadata;
4526
4621
  }
4622
+ /**
4623
+ * Triggered when a sale period is updated.
4624
+ * @permissionScope Manage Events - all permissions
4625
+ * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS
4626
+ * @permissionScope Manage Events
4627
+ * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
4628
+ * @permissionScope Manage Orders
4629
+ * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-ORDERS
4630
+ * @permissionScope Manage Ticket Definitions
4631
+ * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-TICKET-DEF
4632
+ * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS
4633
+ * @webhook
4634
+ * @eventType wix.events.v3.ticket_definition_sale_period_updated
4635
+ * @slug sale_period_updated
4636
+ */
4637
+ declare function onTicketDefinitionSalePeriodUpdated(handler: (event: TicketDefinitionSalePeriodUpdatedEnvelope) => void | Promise<void>): void;
4527
4638
  interface TicketDefinitionSaleStartedEnvelope {
4528
4639
  data: TicketDefinitionSaleStarted;
4529
4640
  metadata: EventMetadata;
4530
4641
  }
4642
+ /**
4643
+ * Triggered when a ticket sale starts. Sales details aren't included in the response.
4644
+ * @permissionScope Manage Events - all permissions
4645
+ * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS
4646
+ * @permissionScope Manage Events
4647
+ * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
4648
+ * @permissionScope Manage Orders
4649
+ * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-ORDERS
4650
+ * @permissionScope Manage Ticket Definitions
4651
+ * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-TICKET-DEF
4652
+ * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS
4653
+ * @webhook
4654
+ * @eventType wix.events.v3.ticket_definition_sale_started
4655
+ * @slug sale_started
4656
+ */
4657
+ declare function onTicketDefinitionSaleStarted(handler: (event: TicketDefinitionSaleStartedEnvelope) => void | Promise<void>): void;
4531
4658
  interface TicketDefinitionUpdatedEnvelope {
4532
4659
  entity: TicketDefinition;
4533
4660
  metadata: EventMetadata;
4534
4661
  }
4662
+ /**
4663
+ * Triggered when a ticket definition is updated.
4664
+ * @permissionScope Manage Events - all permissions
4665
+ * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS
4666
+ * @permissionScope Manage Events
4667
+ * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
4668
+ * @permissionScope Manage Orders
4669
+ * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-ORDERS
4670
+ * @permissionScope Manage Ticket Definitions
4671
+ * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-TICKET-DEF
4672
+ * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS
4673
+ * @webhook
4674
+ * @eventType wix.events.v3.ticket_definition_updated
4675
+ * @slug updated
4676
+ */
4677
+ declare function onTicketDefinitionUpdated(handler: (event: TicketDefinitionUpdatedEnvelope) => void | Promise<void>): void;
4678
+ type TicketDefinitionNonNullablePaths = `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`;
4679
+ /**
4680
+ * Creates a ticket definition.
4681
+ *
4682
+ * You may create up to 100 definitions per event.
4683
+ * @param ticketDefinition - Ticket definition info.
4684
+ * @public
4685
+ * @requiredField ticketDefinition
4686
+ * @requiredField ticketDefinition.eventId
4687
+ * @requiredField ticketDefinition.feeType
4688
+ * @requiredField ticketDefinition.name
4689
+ * @requiredField ticketDefinition.pricingMethod
4690
+ * @param options - Currency info.
4691
+ * @permissionId WIX_EVENTS.MANAGE_TICKET_DEFINITIONS
4692
+ * @applicableIdentity APP
4693
+ * @returns Created ticket definition.
4694
+ * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.CreateTicketDefinition
4695
+ */
4696
+ declare function createTicketDefinition(ticketDefinition: NonNullablePaths<TicketDefinition, `eventId` | `feeType` | `name` | `pricingMethod`>, options?: CreateTicketDefinitionOptions): Promise<NonNullablePaths<TicketDefinition, TicketDefinitionNonNullablePaths> & {
4697
+ __applicationErrorsType?: CreateTicketDefinitionApplicationErrors;
4698
+ }>;
4535
4699
  interface CreateTicketDefinitionOptions {
4536
4700
  /**
4537
4701
  * Predefined sets of fields to return.
@@ -4539,6 +4703,25 @@ interface CreateTicketDefinitionOptions {
4539
4703
  */
4540
4704
  fields?: FieldWithLiterals[];
4541
4705
  }
4706
+ /**
4707
+ * Updates a ticket definition.
4708
+ *
4709
+ * Each time the ticket definition is updated, `revision` increments by 1. The existing `revision` must be included when updating the ticket definition. This ensures you're working with the latest ticket definition and prevents unintended overwrites.
4710
+ * @param _id - Ticket definition ID.
4711
+ * @public
4712
+ * @requiredField _id
4713
+ * @requiredField ticketDefinition
4714
+ * @requiredField ticketDefinition.revision
4715
+ * @param options - Optional fields.
4716
+ * @param ticketDefinition - Ticket definition to update.
4717
+ * @permissionId WIX_EVENTS.MANAGE_TICKET_DEFINITIONS
4718
+ * @applicableIdentity APP
4719
+ * @returns The updated ticket definition.
4720
+ * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.UpdateTicketDefinition
4721
+ */
4722
+ declare function updateTicketDefinition(_id: string, ticketDefinition: NonNullablePaths<UpdateTicketDefinition, `revision`>, options?: UpdateTicketDefinitionOptions): Promise<NonNullablePaths<TicketDefinition, TicketDefinitionNonNullablePaths> & {
4723
+ __applicationErrorsType?: UpdateTicketDefinitionApplicationErrors;
4724
+ }>;
4542
4725
  interface UpdateTicketDefinition {
4543
4726
  /**
4544
4727
  * Ticket definition ID.
@@ -4553,17 +4736,17 @@ interface UpdateTicketDefinition {
4553
4736
  */
4554
4737
  eventId?: string | null;
4555
4738
  /**
4556
- * Revision number, which increments by 1 each time the ticket definition is updated. To prevent conflicting changes, the existing revision must be used when updating a ticket definition.
4739
+ * Revision number, which increments by 1 each time the ticket definition is updated. To prevent conflicting changes, the existing `revision` must be used when updating a ticket definition.
4557
4740
  * @readonly
4558
4741
  */
4559
4742
  revision?: string | null;
4560
4743
  /**
4561
- * Date and time when the ticket definition was created.
4744
+ * Date and time the ticket definition was created.
4562
4745
  * @readonly
4563
4746
  */
4564
4747
  _createdDate?: Date | null;
4565
4748
  /**
4566
- * Date and time when the ticket definition was updated.
4749
+ * Date and time the ticket definition was updated.
4567
4750
  * @readonly
4568
4751
  */
4569
4752
  _updatedDate?: Date | null;
@@ -4583,7 +4766,7 @@ interface UpdateTicketDefinition {
4583
4766
  * @maxLength 1000
4584
4767
  */
4585
4768
  policyText?: string | null;
4586
- /** Whether this ticket definition is hidden to site visitors and can't be purchased. */
4769
+ /** Whether this ticket definition is hidden from site visitors and can't be purchased. */
4587
4770
  hidden?: boolean;
4588
4771
  /**
4589
4772
  * Whether the ticket has a limited maximum quantity.
@@ -4599,7 +4782,7 @@ interface UpdateTicketDefinition {
4599
4782
  actualLimit?: number | null;
4600
4783
  /** Ticket pricing method. */
4601
4784
  pricingMethod?: PricingMethod;
4602
- /** Whether fee is included in the ticket price or customer pays it additionally at checkout. */
4785
+ /** Type of ticket service fee to collect. */
4603
4786
  feeType?: FeeTypeEnumTypeWithLiterals;
4604
4787
  /** Ticket sale period. */
4605
4788
  salePeriod?: SalePeriod;
@@ -4609,13 +4792,13 @@ interface UpdateTicketDefinition {
4609
4792
  */
4610
4793
  saleStatus?: SaleStatusEnumStatusWithLiterals;
4611
4794
  /**
4612
- * Ticket sales information. <br>
4613
- * **Note:** This field is only returned when `SALES_DETAILS` fieldset is included in the request.
4795
+ * Ticket sales information. <br> <br>
4796
+ * **Note:** This field is only returned when `"SALES_DETAILS"` is specified in `field` in the request.
4614
4797
  */
4615
4798
  salesDetails?: SalesDetails;
4616
4799
  /**
4617
- * Number of tickets that can be purchased per checkout. <br>
4618
- * **Note:** If the `actuaLimit` or `salesDetails.unsoldCount` field value is smaller than `limitPerCheckout`, then it overrides this field.
4800
+ * Number of tickets that can be purchased per checkout. <br> <br>
4801
+ * **Note:** If the `actualLimit` or `salesDetails.unsoldCount` field value is smaller than `limitPerCheckout`, then it overrides this field.
4619
4802
  * @readonly
4620
4803
  * @max 50
4621
4804
  */
@@ -4623,8 +4806,8 @@ interface UpdateTicketDefinition {
4623
4806
  /** Data extensions. */
4624
4807
  extendedFields?: ExtendedFields;
4625
4808
  /**
4626
- * Associated event information. <br>
4627
- * **Note:** This field is only returned when `EVENT_DETAILS` fieldset is included in the request.
4809
+ * Information about the even the ticket is for. <br>
4810
+ * **Note:** This field is only returned when `"EVENT_DETAILS"` is specified in `field` in the request.
4628
4811
  */
4629
4812
  eventDetails?: EventDetails;
4630
4813
  }
@@ -4635,6 +4818,18 @@ interface UpdateTicketDefinitionOptions {
4635
4818
  */
4636
4819
  fields?: FieldWithLiterals[];
4637
4820
  }
4821
+ /**
4822
+ * Retrieves a ticket definition.
4823
+ * @param ticketDefinitionId - Ticket definition ID.
4824
+ * @public
4825
+ * @requiredField ticketDefinitionId
4826
+ * @param options - Optional fields.
4827
+ * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS
4828
+ * @applicableIdentity APP
4829
+ * @returns The requested ticket definition.
4830
+ * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.GetTicketDefinition
4831
+ */
4832
+ declare function getTicketDefinition(ticketDefinitionId: string, options?: GetTicketDefinitionOptions): Promise<NonNullablePaths<TicketDefinition, TicketDefinitionNonNullablePaths>>;
4638
4833
  interface GetTicketDefinitionOptions {
4639
4834
  /**
4640
4835
  * Predefined sets of fields to return.
@@ -4642,6 +4837,31 @@ interface GetTicketDefinitionOptions {
4642
4837
  */
4643
4838
  fields?: FieldWithLiterals[];
4644
4839
  }
4840
+ /**
4841
+ * Deletes a ticket definition.
4842
+ * @param ticketDefinitionId - ID of the ticket definition to delete.
4843
+ * @public
4844
+ * @requiredField ticketDefinitionId
4845
+ * @permissionId WIX_EVENTS.MANAGE_TICKET_DEFINITIONS
4846
+ * @applicableIdentity APP
4847
+ * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.DeleteTicketDefinition
4848
+ */
4849
+ declare function deleteTicketDefinition(ticketDefinitionId: string): Promise<void>;
4850
+ /**
4851
+ * Adjusts the order in which ticket definitions display in an event dashboard, as well as the order of available tickets displayed in the ticket picker.
4852
+ * > **Note:** You may use both `beforeTicketDefinitionId` and `afterTicketDefinitionId` but only the last one provided takes effect.
4853
+ * @param eventId - Event ID.
4854
+ * @public
4855
+ * @requiredField eventId
4856
+ * @requiredField options.ticketDefinitionId
4857
+ * @param options - Optional fields.
4858
+ * @permissionId WIX_EVENTS.MANAGE_TICKET_DEFINITIONS
4859
+ * @applicableIdentity APP
4860
+ * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.ReorderTicketDefinitions
4861
+ */
4862
+ declare function reorderTicketDefinitions(eventId: string, options?: NonNullablePaths<ReorderTicketDefinitionsOptions, `ticketDefinitionId`>): Promise<void & {
4863
+ __applicationErrorsType?: ReorderTicketDefinitionsApplicationErrors;
4864
+ }>;
4645
4865
  interface ReorderTicketDefinitionsOptions extends ReorderTicketDefinitionsOptionsReferenceDefinitionOneOf {
4646
4866
  /**
4647
4867
  * Ticket definition ID.
@@ -4672,6 +4892,19 @@ interface ReorderTicketDefinitionsOptionsReferenceDefinitionOneOf {
4672
4892
  */
4673
4893
  afterDefinitionId?: string;
4674
4894
  }
4895
+ /**
4896
+ * Retrieves a list of ticket definitions, given the provided paging, filtering, and sorting.
4897
+ * Query Ticket Definitions runs with these defaults, which you can override:
4898
+ * - `createdDate` is sorted in `ASC` order
4899
+ * - `paging.limit` is `100`
4900
+ * - `paging.offset` is `0`
4901
+ * @public
4902
+ * @param options - Optional fields.
4903
+ * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS
4904
+ * @applicableIdentity APP
4905
+ * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.QueryTicketDefinitions
4906
+ */
4907
+ declare function queryTicketDefinitions(options?: QueryTicketDefinitionsOptions): TicketDefinitionsQueryBuilder;
4675
4908
  interface QueryTicketDefinitionsOptions {
4676
4909
  /**
4677
4910
  * Predefined sets of fields to return.
@@ -4729,6 +4962,32 @@ interface TicketDefinitionsQueryBuilder {
4729
4962
  skipTo: (cursor: string) => TicketDefinitionsQueryBuilder;
4730
4963
  find: () => Promise<TicketDefinitionsQueryResult>;
4731
4964
  }
4965
+ /**
4966
+ * Retrieves a list of available ticket definitions with the specified paging, filtering, and sorting.
4967
+ *
4968
+ * This method retrieves ticket definitions that aren't in the `hidden` state. The available ticket definitions can be retrieved by site visitors.
4969
+ *
4970
+ * > **Note:** You need the `WIX_EVENTS.READ_TICKET_DEFINITIONS` permission to get the `salesDetails` field values.
4971
+ *
4972
+ * Query Available Ticket Definitions runs with these defaults, which you can override:
4973
+ * - `createdDate` is sorted in `ASC` order
4974
+ * - `paging.limit` is `100`
4975
+ * - `paging.offset` is `0`
4976
+ *
4977
+ * For field support for filters and sorting, see [Ticket Definitions: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/events/ticket-definition-v3/filter-and-sort).
4978
+ * To learn about working with _Query_ methods, see [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language).
4979
+ * @param query - Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details.
4980
+ * @public
4981
+ * @requiredField query
4982
+ * @param options - Optional fields.
4983
+ * @permissionId WIX_EVENTS.READ_AVAILABLE_TICKET_DEFINITIONS
4984
+ * @applicableIdentity APP
4985
+ * @applicableIdentity VISITOR
4986
+ * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.QueryAvailableTicketDefinitions
4987
+ */
4988
+ declare function queryAvailableTicketDefinitions(query: QueryV2, options?: QueryAvailableTicketDefinitionsOptions): Promise<NonNullablePaths<QueryAvailableTicketDefinitionsResponse, {
4989
+ [P in TicketDefinitionNonNullablePaths]: `ticketDefinitions.${number}.${P}`;
4990
+ }[TicketDefinitionNonNullablePaths]>>;
4732
4991
  interface QueryAvailableTicketDefinitionsOptions {
4733
4992
  /**
4734
4993
  * Predefined sets of fields to return.
@@ -4736,6 +4995,17 @@ interface QueryAvailableTicketDefinitionsOptions {
4736
4995
  */
4737
4996
  fields?: FieldWithLiterals[];
4738
4997
  }
4998
+ /**
4999
+ * Counts ticket definitions by the `saleStatus` field, including those with the `hidden` status.
5000
+ * @public
5001
+ * @param options - Optional fields.
5002
+ * @permissionId WIX_EVENTS.READ_TICKET_DEFINITIONS
5003
+ * @applicableIdentity APP
5004
+ * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.CountTicketDefinitions
5005
+ */
5006
+ declare function countTicketDefinitions(options?: CountTicketDefinitionsOptions): Promise<CountTicketDefinitionsResponse & {
5007
+ __applicationErrorsType?: CountTicketDefinitionsApplicationErrors;
5008
+ }>;
4739
5009
  interface CountTicketDefinitionsOptions {
4740
5010
  /** Filter object in the following format: <br/> `"filter" : { "fieldName1": "value1" }`. */
4741
5011
  filter?: Record<string, any> | null;
@@ -4748,10 +5018,49 @@ interface CountTicketDefinitionsOptions {
4748
5018
  */
4749
5019
  facet?: string[];
4750
5020
  }
5021
+ /**
5022
+ * Counts ticket definitions by the `saleStatus`, excluding those with the `hidden` status.
5023
+ * @public
5024
+ * @param options - Optional fields.
5025
+ * @permissionId WIX_EVENTS.READ_AVAILABLE_TICKET_DEFINITIONS
5026
+ * @applicableIdentity APP
5027
+ * @applicableIdentity VISITOR
5028
+ * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.CountAvailableTicketDefinitions
5029
+ */
5030
+ declare function countAvailableTicketDefinitions(options?: CountAvailableTicketDefinitionsOptions): Promise<CountAvailableTicketDefinitionsResponse & {
5031
+ __applicationErrorsType?: CountAvailableTicketDefinitionsApplicationErrors;
5032
+ }>;
4751
5033
  interface CountAvailableTicketDefinitionsOptions {
4752
5034
  /** Filter object in the following format: <br/> `"filter" : { "fieldName1": "value1" }`. */
4753
5035
  filter?: Record<string, any> | null;
4754
5036
  }
5037
+ /**
5038
+ * Deletes multiple ticket definitions.
5039
+ *
5040
+ * All ticket definitions that meet the specified `filter` criteria are deleted.
5041
+ * @param filter - Filter object in the following format: <br/> `"filter" : { "fieldName1": "value1" }`. <br/> <br/> **Example:** <br/> `"filter" : { "eventId": "3d3d5c04-ece0-45a8-85f0-11a58edaa192" }`
5042
+ * @public
5043
+ * @requiredField filter
5044
+ * @permissionId WIX_EVENTS.MANAGE_TICKET_DEFINITIONS
5045
+ * @applicableIdentity APP
5046
+ * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.BulkDeleteTicketDefinitionsByFilter
5047
+ */
5048
+ declare function bulkDeleteTicketDefinitionsByFilter(filter: Record<string, any>): Promise<void>;
5049
+ /**
5050
+ * Changes ticket price currency per event.
5051
+ * @param eventId - Event ID.
5052
+ * @public
5053
+ * @requiredField eventId
5054
+ * @requiredField options
5055
+ * @requiredField options.currency
5056
+ * @param options - Optional fields.
5057
+ * @permissionId WIX_EVENTS.MANAGE_TICKET_DEFINITIONS
5058
+ * @applicableIdentity APP
5059
+ * @fqn wix.events.ticketdef.v3.TicketDefinitionManagement.ChangeCurrency
5060
+ */
5061
+ declare function changeCurrency(eventId: string, options: NonNullablePaths<ChangeCurrencyOptions, `currency`>): Promise<void & {
5062
+ __applicationErrorsType?: ChangeCurrencyApplicationErrors;
5063
+ }>;
4755
5064
  interface ChangeCurrencyOptions {
4756
5065
  /**
4757
5066
  * Ticket price currency in 3-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
@@ -4761,4 +5070,4 @@ interface ChangeCurrencyOptions {
4761
5070
  currency: string;
4762
5071
  }
4763
5072
 
4764
- export { ViewMode as $, RsvpStatusOptions as A, TaxType as B, type CreateTicketDefinitionOptions as C, ValueType as D, EventsRecurrenceStatusStatus as E, FeeTypeEnumType as F, type GetTicketDefinitionOptions as G, ConferenceType as H, InputControlType as I, CategoryStateState as J, PluginContainerDataAlignment as K, LocationType as L, ButtonDataType as M, NodeType as N, Target as O, PricingTypeEnumType as P, type QueryTicketDefinitionsOptions as Q, type ReorderTicketDefinitionsOptions as R, SaleStatusEnumStatus as S, type TicketDefinition as T, type UpdateTicketDefinition as U, VisitorType as V, WidthType as W, TextAlignment as X, LineStyle as Y, Width as Z, Alignment as _, type UpdateTicketDefinitionOptions as a, type DeleteTicketDefinitionResponse as a$, LayoutType as a0, Orientation as a1, Crop as a2, ThumbnailsAlignment as a3, GIFType as a4, Source as a5, Position as a6, MapType as a7, ViewRole as a8, VoteRole as a9, type Location as aA, type CommonAddress as aB, type CommonAddressStreetOneOf as aC, type CommonStreetAddress as aD, type CommonAddressLocation as aE, type CommonSubdivision as aF, type DateAndTimeSettings as aG, type Recurrences as aH, type Occurrence as aI, type Formatted as aJ, type InvalidateCache as aK, type InvalidateCacheGetByOneOf as aL, type App as aM, type Page as aN, type URI as aO, type File as aP, type CustomTag as aQ, type SalePeriodUpdated as aR, type TicketDefinitionSaleStarted as aS, type TicketDefinitionSaleEnded as aT, type CreateTicketDefinitionRequest as aU, type CreateTicketDefinitionResponse as aV, type UpdateTicketDefinitionRequest as aW, type UpdateTicketDefinitionResponse as aX, type GetTicketDefinitionRequest as aY, type GetTicketDefinitionResponse as aZ, type DeleteTicketDefinitionRequest as a_, PollLayoutType as aa, PollLayoutDirection as ab, BackgroundType as ac, DecorationType as ad, FontType as ae, AppType as af, InitialExpandedItems as ag, Direction as ah, VerticalAlignment as ai, NullValue as aj, Type as ak, State as al, SiteCreatedContext as am, Namespace as an, DeleteStatus as ao, WebhookIdentityType as ap, ReservationStatus as aq, type SalePeriod as ar, type PricingMethod as as, type PricingMethodPriceOneOf as at, type CommonMoney as au, type PricingOptions as av, type OptionDetails as aw, type SalesDetails as ax, type ExtendedFields as ay, type EventDetails as az, type TicketDefinitionsQueryBuilder as b, type Positive as b$, type ReorderTicketDefinitionsRequest as b0, type ReorderTicketDefinitionsRequestReferenceDefinitionOneOf as b1, type ReorderTicketDefinitionsResponse as b2, type UpdateTicketDefinitionSortIndexRequest as b3, type UpdateTicketDefinitionSortIndexResponse as b4, type QueryTicketDefinitionsRequest as b5, type QueryV2PagingMethodOneOf as b6, type Sorting as b7, type Paging as b8, type CursorPaging as b9, type AddressLocation as bA, type Subdivision as bB, type ScheduleConfig as bC, type EventsRecurrences as bD, type EventsOccurrence as bE, type Event as bF, type Scheduling as bG, type Registration as bH, type RsvpCollection as bI, type RsvpCollectionConfig as bJ, type Ticketing as bK, type TicketingConfig as bL, type TaxConfig as bM, type Money as bN, type ExternalEvent as bO, type CalendarLinks as bP, type SiteUrl as bQ, type Form as bR, type InputControl as bS, type Input as bT, type OptionSelection as bU, type OptionSelectionSelectedOptionOneOf as bV, type Label as bW, type FormMessages as bX, type RsvpFormMessages as bY, type PositiveResponseConfirmation as bZ, type NegativeResponseConfirmation as b_, type QueryTicketDefinitionsResponse as ba, type PagingMetadataV2 as bb, type Cursors as bc, type QueryAvailableTicketDefinitionsRequest as bd, type CountTicketDefinitionsRequest as be, type FacetCounts as bf, type CountAvailableTicketDefinitionsRequest as bg, type BulkDeleteTicketDefinitionsByFilterRequest as bh, type BulkDeleteTicketDefinitionsByFilterResponse as bi, type ChangeCurrencyRequest as bj, type ChangeCurrencyResponse as bk, type BulkCopyTicketDefinitionsByEventIdRequest as bl, type BulkCopyTicketDefinitionsByEventIdResponse as bm, type CopiedTicketDefinition as bn, type UpdateFeeTypesBasedOnSettingsRequest as bo, type UpdateFeeTypesBasedOnSettingsResponse as bp, type EventDeleted as bq, type Empty as br, type EventCanceled as bs, type EventEnded as bt, type EventCreated as bu, type EventsLocation as bv, type MapCoordinates as bw, type Address as bx, type AddressStreetOneOf as by, type StreetAddress as bz, type QueryV2 as c, type ImageDataStyles as c$, type Negative as c0, type CheckoutFormMessages as c1, type ResponseConfirmation as c2, type RegistrationClosedMessages as c3, type TicketsUnavailableMessages as c4, type Dashboard as c5, type RsvpSummary as c6, type TicketingSummary as c7, type GuestListConfig as c8, type Feed as c9, type Link as cA, type LinkDataOneOf as cB, type Rel as cC, type CodeBlockData as cD, type TextStyle as cE, type DividerData as cF, type FileData as cG, type FileSource as cH, type FileSourceDataOneOf as cI, type PDFSettings as cJ, type GalleryData as cK, type Media as cL, type Image as cM, type Video as cN, type Item as cO, type ItemDataOneOf as cP, type GalleryOptions as cQ, type Layout as cR, type ItemStyle as cS, type Thumbnails as cT, type GIFData as cU, type GIF as cV, type HeadingData as cW, type HTMLData as cX, type HTMLDataDataOneOf as cY, type ImageData as cZ, type StylesBorder as c_, type OnlineConferencing as ca, type OnlineConferencingConfig as cb, type OnlineConferencingSession as cc, type SeoSettings as cd, type SeoSchema as ce, type Keyword as cf, type Tag as cg, type Settings as ch, type Agenda as ci, type Category as cj, type CategoryCounts as ck, type EventDisplaySettings as cl, type LabellingSettings as cm, type RichContent as cn, type Node as co, type NodeDataOneOf as cp, type NodeStyle as cq, type ButtonData as cr, type Border as cs, type Colors as ct, type PluginContainerData as cu, type PluginContainerDataWidth as cv, type PluginContainerDataWidthDataOneOf as cw, type Spoiler as cx, type Height as cy, type Styles as cz, type QueryAvailableTicketDefinitionsOptions as d, type ActionEvent as d$, type LinkPreviewData as d0, type LinkPreviewDataStyles as d1, type MapData as d2, type MapSettings as d3, type ParagraphData as d4, type PollData as d5, type Permissions as d6, type Option as d7, type PollSettings as d8, type PollLayout as d9, type Oembed as dA, type CollapsibleListData as dB, type TableData as dC, type Dimensions as dD, type TableCellData as dE, type CellStyle as dF, type BorderColors as dG, type ListValue as dH, type AudioData as dI, type OrderedListData as dJ, type BulletedListData as dK, type BlockquoteData as dL, type CaptionData as dM, type LayoutCellData as dN, type Metadata as dO, type DocumentStyle as dP, type TextNodeStyle as dQ, type Badge as dR, type EventUpdated as dS, type SeatingPlanCategoriesSummaryUpdated as dT, type CategoryDetails as dU, type DomainEvent as dV, type DomainEventBodyOneOf as dW, type EntityCreatedEvent as dX, type RestoreInfo as dY, type EntityUpdatedEvent as dZ, type EntityDeletedEvent as d_, type OptionLayout as da, type Gradient as db, type Background as dc, type BackgroundBackgroundOneOf as dd, type PollDesign as de, type OptionDesign as df, type Poll as dg, type PollDataLayout as dh, type Design as di, type TextData as dj, type Decoration as dk, type DecorationDataOneOf as dl, type AnchorData as dm, type ColorData as dn, type LinkData as dp, type MentionData as dq, type FontSizeData as dr, type SpoilerData as ds, type AppEmbedData as dt, type AppEmbedDataAppDataOneOf as du, type BookingData as dv, type EventData as dw, type VideoData as dx, type PlaybackOptions as dy, type EmbedData as dz, type QueryAvailableTicketDefinitionsResponse as e, type MetaSiteSpecialEvent as e0, type MetaSiteSpecialEventPayloadOneOf as e1, type Asset as e2, type SiteCreated as e3, type SiteTransferred as e4, type SiteDeleted as e5, type DeleteContext as e6, type SiteUndeleted as e7, type SitePublished as e8, type SiteUnpublished as e9, type EventTicketingSummary as eA, type ReservationCreated as eB, type TicketQuantity as eC, type ReservationCount as eD, type ReservationUpdated as eE, type BaseEventMetadata as eF, type EventMetadata as eG, type ReorderTicketDefinitionsOptionsReferenceDefinitionOneOf as eH, type TicketDefinitionsQueryResult as eI, type SiteMarkedAsTemplate as ea, type SiteMarkedAsWixSite as eb, type ServiceProvisioned as ec, type ServiceRemoved as ed, type SiteRenamed as ee, type SiteHardDeleted as ef, type NamespaceChanged as eg, type StudioAssigned as eh, type StudioUnassigned as ei, type SiteUrlChanged as ej, type SitePurgedExternally as ek, type OdeditorAssigned as el, type OdeditorUnassigned as em, type PicassoAssigned as en, type PicassoUnassigned as eo, type GetTicketDefinitionFromTrashBinRequest as ep, type GetTicketDefinitionFromTrashBinResponse as eq, type ScheduleLegacyTimeCapsuleTaskRequest as er, type MessageEnvelope as es, type IdentificationData as et, type IdentificationDataIdOneOf as eu, type GetTicketDefinitionSummaryRequest as ev, type GetTicketDefinitionSummaryResponse as ew, type TicketDefinitionSummary as ex, type ListEventTicketingSummaryRequest as ey, type ListEventTicketingSummaryResponse as ez, type CountTicketDefinitionsOptions as f, type CountTicketDefinitionsResponse as g, type CountAvailableTicketDefinitionsOptions as h, type CountAvailableTicketDefinitionsResponse as i, type ChangeCurrencyOptions as j, type TicketDefinitionCreatedEnvelope as k, type TicketDefinitionDeletedEnvelope as l, type TicketDefinitionSaleEndedEnvelope as m, type TicketDefinitionSalePeriodUpdatedEnvelope as n, type TicketDefinitionSaleStartedEnvelope as o, type TicketDefinitionUpdatedEnvelope as p, SubdivisionSubdivisionType as q, RecurrenceStatusStatus as r, Status as s, Field as t, SortOrder as u, LocationLocationType as v, SubdivisionType as w, EventStatus as x, EventType as y, RegistrationStatus as z };
5073
+ 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, type Asset, type AudioData, type Background, type BackgroundBackgroundOneOf, 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 CalendarLinks, type CaptionData, type Category, type CategoryCounts, type CategoryDetails, CategoryStateState, type CategoryStateStateWithLiterals, type CellStyle, type ChangeCurrencyApplicationErrors, type ChangeCurrencyOptions, type ChangeCurrencyRequest, type ChangeCurrencyResponse, type CheckoutFormMessages, 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, 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 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, 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, type Layout, type LayoutCellData, LayoutType, type LayoutTypeWithLiterals, 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, 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 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, type ReservationCount, type ReservationCreated, ReservationStatus, type ReservationStatusWithLiterals, type ReservationUpdated, type ResponseConfirmation, type RestoreInfo, type RichContent, type RsvpCollection, type RsvpCollectionConfig, type RsvpFormMessages, RsvpStatusOptions, type RsvpStatusOptionsWithLiterals, type RsvpSummary, type SalePeriod, type SalePeriodUpdated, SaleStatusEnumStatus, type SaleStatusEnumStatusWithLiterals, type SalesDetails, type ScheduleConfig, type ScheduleLegacyTimeCapsuleTaskRequest, type Scheduling, 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 StudioUnassigned, type Styles, type StylesBorder, 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 TicketQuantity, type Ticketing, type TicketingConfig, type TicketingSummary, type TicketsUnavailableMessages, Type, type TypeWithLiterals, type URI, type UpdateFeeTypesBasedOnSettingsRequest, type UpdateFeeTypesBasedOnSettingsResponse, type UpdateTicketDefinition, type UpdateTicketDefinitionApplicationErrors, type UpdateTicketDefinitionOptions, type UpdateTicketDefinitionRequest, type UpdateTicketDefinitionResponse, type UpdateTicketDefinitionSortIndexRequest, type UpdateTicketDefinitionSortIndexResponse, ValueType, type ValueTypeWithLiterals, VerticalAlignment, 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, bulkDeleteTicketDefinitionsByFilter, changeCurrency, countAvailableTicketDefinitions, countTicketDefinitions, createTicketDefinition, deleteTicketDefinition, getTicketDefinition, onTicketDefinitionCreated, onTicketDefinitionDeleted, onTicketDefinitionSaleEnded, onTicketDefinitionSalePeriodUpdated, onTicketDefinitionSaleStarted, onTicketDefinitionUpdated, queryAvailableTicketDefinitions, queryTicketDefinitions, reorderTicketDefinitions, updateTicketDefinition };