@wix/events 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.
Files changed (57) hide show
  1. package/build/cjs/src/events-guests-v1-guest.types.d.ts +12 -12
  2. package/build/cjs/src/events-guests-v1-guest.universal.d.ts +12 -12
  3. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.d.ts +10 -5
  4. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.js.map +1 -1
  5. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.d.ts +10 -5
  6. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.js.map +1 -1
  7. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.types.d.ts +10 -5
  8. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.types.js.map +1 -1
  9. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.universal.d.ts +10 -5
  10. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.universal.js.map +1 -1
  11. package/build/cjs/src/events-v1-category.types.d.ts +9 -9
  12. package/build/cjs/src/events-v1-category.universal.d.ts +9 -9
  13. package/build/cjs/src/events-v1-event.types.d.ts +17 -17
  14. package/build/cjs/src/events-v1-event.universal.d.ts +17 -17
  15. package/build/cjs/src/events-v1-form.types.d.ts +12 -12
  16. package/build/cjs/src/events-v1-form.universal.d.ts +12 -12
  17. package/build/cjs/src/events-v1-order-checkout.types.d.ts +13 -13
  18. package/build/cjs/src/events-v1-order-checkout.universal.d.ts +13 -13
  19. package/build/cjs/src/events-v1-order-orders.types.d.ts +13 -13
  20. package/build/cjs/src/events-v1-order-orders.universal.d.ts +13 -13
  21. package/build/cjs/src/events-v1-rsvp.types.d.ts +4 -4
  22. package/build/cjs/src/events-v1-rsvp.universal.d.ts +4 -4
  23. package/build/cjs/src/events-v1-ticket-definition.types.d.ts +11 -11
  24. package/build/cjs/src/events-v1-ticket-definition.universal.d.ts +11 -11
  25. package/build/cjs/src/events-v1-ticket.types.d.ts +4 -4
  26. package/build/cjs/src/events-v1-ticket.universal.d.ts +4 -4
  27. package/build/cjs/src/events-v2-policy.types.d.ts +12 -12
  28. package/build/cjs/src/events-v2-policy.universal.d.ts +12 -12
  29. package/build/es/src/events-guests-v1-guest.types.d.ts +12 -12
  30. package/build/es/src/events-guests-v1-guest.universal.d.ts +12 -12
  31. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.d.ts +10 -5
  32. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.js.map +1 -1
  33. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.d.ts +10 -5
  34. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.js.map +1 -1
  35. package/build/es/src/events-schedule-v1-schedule-item-schedule.types.d.ts +10 -5
  36. package/build/es/src/events-schedule-v1-schedule-item-schedule.types.js.map +1 -1
  37. package/build/es/src/events-schedule-v1-schedule-item-schedule.universal.d.ts +10 -5
  38. package/build/es/src/events-schedule-v1-schedule-item-schedule.universal.js.map +1 -1
  39. package/build/es/src/events-v1-category.types.d.ts +9 -9
  40. package/build/es/src/events-v1-category.universal.d.ts +9 -9
  41. package/build/es/src/events-v1-event.types.d.ts +17 -17
  42. package/build/es/src/events-v1-event.universal.d.ts +17 -17
  43. package/build/es/src/events-v1-form.types.d.ts +12 -12
  44. package/build/es/src/events-v1-form.universal.d.ts +12 -12
  45. package/build/es/src/events-v1-order-checkout.types.d.ts +13 -13
  46. package/build/es/src/events-v1-order-checkout.universal.d.ts +13 -13
  47. package/build/es/src/events-v1-order-orders.types.d.ts +13 -13
  48. package/build/es/src/events-v1-order-orders.universal.d.ts +13 -13
  49. package/build/es/src/events-v1-rsvp.types.d.ts +4 -4
  50. package/build/es/src/events-v1-rsvp.universal.d.ts +4 -4
  51. package/build/es/src/events-v1-ticket-definition.types.d.ts +11 -11
  52. package/build/es/src/events-v1-ticket-definition.universal.d.ts +11 -11
  53. package/build/es/src/events-v1-ticket.types.d.ts +4 -4
  54. package/build/es/src/events-v1-ticket.universal.d.ts +4 -4
  55. package/build/es/src/events-v2-policy.types.d.ts +12 -12
  56. package/build/es/src/events-v2-policy.universal.d.ts +12 -12
  57. package/package.json +2 -2
@@ -108,6 +108,11 @@ export interface QueryCategoriesRequest {
108
108
  fieldset?: CategoryFieldset[];
109
109
  }
110
110
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
111
+ /**
112
+ * Pointer to page of results using offset.
113
+ * See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
114
+ */
115
+ paging?: Paging;
111
116
  /** Filter. See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-events). */
112
117
  filter?: Record<string, any> | null;
113
118
  /**
@@ -115,11 +120,6 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
115
120
  * See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-events).
116
121
  */
117
122
  sort?: Sorting[];
118
- /**
119
- * Pointer to page of results using offset.
120
- * See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
121
- */
122
- paging?: Paging;
123
123
  }
124
124
  /** @oneof */
125
125
  export interface QueryV2PagingMethodOneOf {
@@ -220,14 +220,14 @@ export interface ListEventCategoriesResponse {
220
220
  categories?: Category[];
221
221
  }
222
222
  export interface ReorderCategoryEventsRequest extends ReorderCategoryEventsRequestReferenceEventOneOf {
223
- /** Category ID */
224
- categoryId: string;
225
- /** Event ID */
226
- eventId?: string;
227
223
  /** Move the Category Event ID before this Event ID */
228
224
  beforeEventId?: string;
229
225
  /** Move the Category Event ID after this Event ID */
230
226
  afterEventId?: string;
227
+ /** Category ID */
228
+ categoryId: string;
229
+ /** Event ID */
230
+ eventId?: string;
231
231
  }
232
232
  /** @oneof */
233
233
  export interface ReorderCategoryEventsRequestReferenceEventOneOf {
@@ -93,6 +93,10 @@ export declare enum LocationType {
93
93
  }
94
94
  /** Physical address */
95
95
  export interface Address extends AddressStreetOneOf {
96
+ /** a break down of the street to number and street name */
97
+ streetAddress?: StreetAddress;
98
+ /** Main address line (usually street and number) as free text */
99
+ addressLine?: string | null;
96
100
  /** country code */
97
101
  country?: string | null;
98
102
  /** subdivision (usually state or region) code according to ISO 3166-2 */
@@ -113,10 +117,6 @@ export interface Address extends AddressStreetOneOf {
113
117
  countryFullname?: string | null;
114
118
  /** multi-level subdivisions from top to bottom */
115
119
  subdivisions?: Subdivision[];
116
- /** a break down of the street to number and street name */
117
- streetAddress?: StreetAddress;
118
- /** Main address line (usually street and number) as free text */
119
- addressLine?: string | null;
120
120
  }
121
121
  /** @oneof */
122
122
  export interface AddressStreetOneOf {
@@ -964,6 +964,11 @@ export interface QueryEventsV2Request {
964
964
  includeDrafts?: boolean;
965
965
  }
966
966
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
967
+ /**
968
+ * Pointer to page of results using offset.
969
+ * See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
970
+ */
971
+ paging?: Paging;
967
972
  /** Filter. See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-events). */
968
973
  filter?: Record<string, any> | null;
969
974
  /**
@@ -971,11 +976,6 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
971
976
  * See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-events).
972
977
  */
973
978
  sort?: Sorting[];
974
- /**
975
- * Pointer to page of results using offset.
976
- * See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
977
- */
978
- paging?: Paging;
979
979
  }
980
980
  /** @oneof */
981
981
  export interface QueryV2PagingMethodOneOf {
@@ -1145,16 +1145,16 @@ export interface ListCategoryEventsResponse {
1145
1145
  events?: Event[];
1146
1146
  }
1147
1147
  export interface GetEventRequest extends GetEventRequestGetByOneOf {
1148
+ /** Event ID. */
1149
+ id?: string | null;
1150
+ /** URL slug. */
1151
+ slug?: string | null;
1148
1152
  /**
1149
1153
  * Controls which event properties are returned. See [Fieldset](https://dev.wix.com/api/rest/wix-events/wix-events/fieldset#wix-events_wix-events_fieldset_event-fieldset).
1150
1154
  * Some fields require additional computation that affects latency.
1151
1155
  * Use minimum set of required fieldset for best performance.
1152
1156
  */
1153
1157
  fieldset?: EventFieldset[];
1154
- /** Event ID. */
1155
- id?: string | null;
1156
- /** URL slug. */
1157
- slug?: string | null;
1158
1158
  }
1159
1159
  /** @oneof */
1160
1160
  export interface GetEventRequestGetByOneOf {
@@ -1168,16 +1168,16 @@ export interface GetEventResponse {
1168
1168
  event?: Event;
1169
1169
  }
1170
1170
  export interface FindEventRequest extends FindEventRequestFindByOneOf {
1171
+ /** Event ID. */
1172
+ id?: string | null;
1173
+ /** URL slug. */
1174
+ slug?: string | null;
1171
1175
  /**
1172
1176
  * Controls which event properties are returned. See [Fieldset](https://dev.wix.com/api/rest/wix-events/wix-events/fieldset#wix-events_wix-events_fieldset_event-fieldset).
1173
1177
  * Some fields require additional computation that affects latency.
1174
1178
  * Use minimum set of required fieldset for best performance.
1175
1179
  */
1176
1180
  fieldset?: EventFieldset[];
1177
- /** Event ID. */
1178
- id?: string | null;
1179
- /** URL slug. */
1180
- slug?: string | null;
1181
1181
  }
1182
1182
  /** @oneof */
1183
1183
  export interface FindEventRequestFindByOneOf {
@@ -99,6 +99,10 @@ export declare enum LocationType {
99
99
  }
100
100
  /** Physical address */
101
101
  export interface Address extends AddressStreetOneOf {
102
+ /** a break down of the street to number and street name */
103
+ streetAddress?: StreetAddress;
104
+ /** Main address line (usually street and number) as free text */
105
+ addressLine1?: string | null;
102
106
  /** country code */
103
107
  country?: string | null;
104
108
  /** subdivision (usually state or region) code according to ISO 3166-2 */
@@ -109,10 +113,6 @@ export interface Address extends AddressStreetOneOf {
109
113
  postalCode?: string | null;
110
114
  /** Free text providing more detailed address info. Usually contains Apt, Suite, Floor */
111
115
  addressLine2?: string | null;
112
- /** a break down of the street to number and street name */
113
- streetAddress?: StreetAddress;
114
- /** Main address line (usually street and number) as free text */
115
- addressLine1?: string | null;
116
116
  }
117
117
  /** @oneof */
118
118
  export interface AddressStreetOneOf {
@@ -948,6 +948,11 @@ export interface QueryEventsV2Request {
948
948
  includeDrafts?: boolean;
949
949
  }
950
950
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
951
+ /**
952
+ * Pointer to page of results using offset.
953
+ * See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
954
+ */
955
+ paging?: Paging;
951
956
  /** Filter. See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-events). */
952
957
  filter?: Record<string, any> | null;
953
958
  /**
@@ -955,11 +960,6 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
955
960
  * See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-events).
956
961
  */
957
962
  sort?: Sorting[];
958
- /**
959
- * Pointer to page of results using offset.
960
- * See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
961
- */
962
- paging?: Paging;
963
963
  }
964
964
  /** @oneof */
965
965
  export interface QueryV2PagingMethodOneOf {
@@ -1129,16 +1129,16 @@ export interface ListCategoryEventsResponse {
1129
1129
  events?: Event[];
1130
1130
  }
1131
1131
  export interface GetEventRequest extends GetEventRequestGetByOneOf {
1132
+ /** Event ID. */
1133
+ _id?: string | null;
1134
+ /** URL slug. */
1135
+ slug?: string | null;
1132
1136
  /**
1133
1137
  * Controls which event properties are returned. See [Fieldset](https://dev.wix.com/api/rest/wix-events/wix-events/fieldset#wix-events_wix-events_fieldset_event-fieldset).
1134
1138
  * Some fields require additional computation that affects latency.
1135
1139
  * Use minimum set of required fieldset for best performance.
1136
1140
  */
1137
1141
  fieldset?: EventFieldset[];
1138
- /** Event ID. */
1139
- _id?: string | null;
1140
- /** URL slug. */
1141
- slug?: string | null;
1142
1142
  }
1143
1143
  /** @oneof */
1144
1144
  export interface GetEventRequestGetByOneOf {
@@ -1152,16 +1152,16 @@ export interface GetEventResponse {
1152
1152
  event?: Event;
1153
1153
  }
1154
1154
  export interface FindEventRequest extends FindEventRequestFindByOneOf {
1155
+ /** Event ID. */
1156
+ _id?: string | null;
1157
+ /** URL slug. */
1158
+ slug?: string | null;
1155
1159
  /**
1156
1160
  * Controls which event properties are returned. See [Fieldset](https://dev.wix.com/api/rest/wix-events/wix-events/fieldset#wix-events_wix-events_fieldset_event-fieldset).
1157
1161
  * Some fields require additional computation that affects latency.
1158
1162
  * Use minimum set of required fieldset for best performance.
1159
1163
  */
1160
1164
  fieldset?: EventFieldset[];
1161
- /** Event ID. */
1162
- _id?: string | null;
1163
- /** URL slug. */
1164
- slug?: string | null;
1165
1165
  }
1166
1166
  /** @oneof */
1167
1167
  export interface FindEventRequestFindByOneOf {
@@ -245,8 +245,6 @@ export interface GetFormResponse {
245
245
  draftForm?: Form;
246
246
  }
247
247
  export interface AddControlRequest extends AddControlRequestControlOneOf {
248
- /** Event ID. */
249
- eventId: string;
250
248
  /** Phone number input control. */
251
249
  phone?: PhoneControl;
252
250
  /** Single-line or full address input control. */
@@ -263,6 +261,8 @@ export interface AddControlRequest extends AddControlRequestControlOneOf {
263
261
  text?: TextControl;
264
262
  /** Single-choice radio button style input control. */
265
263
  radioButton?: RadioButtonControl;
264
+ /** Event ID. */
265
+ eventId: string;
266
266
  }
267
267
  /** @oneof */
268
268
  export interface AddControlRequestControlOneOf {
@@ -374,12 +374,6 @@ export interface AddControlResponse {
374
374
  form?: Form;
375
375
  }
376
376
  export interface UpdateControlRequest extends UpdateControlRequestControlOneOf {
377
- /** Event ID. */
378
- eventId: string;
379
- /** Unique input control ID. */
380
- id: string;
381
- /** Index used to sort input controls in ascending order. */
382
- orderIndex?: number;
383
377
  /** Phone number input control. */
384
378
  phone?: PhoneControl;
385
379
  /** Single-line or full address input control. */
@@ -400,6 +394,12 @@ export interface UpdateControlRequest extends UpdateControlRequestControlOneOf {
400
394
  email?: EmailControl;
401
395
  /** Single-choice radio style input control. */
402
396
  radioButton?: RadioButtonControl;
397
+ /** Event ID. */
398
+ eventId: string;
399
+ /** Unique input control ID. */
400
+ id: string;
401
+ /** Index used to sort input controls in ascending order. */
402
+ orderIndex?: number;
403
403
  }
404
404
  /** @oneof */
405
405
  export interface UpdateControlRequestControlOneOf {
@@ -528,6 +528,10 @@ export declare enum LocationType {
528
528
  }
529
529
  /** Physical address */
530
530
  export interface Address extends AddressStreetOneOf {
531
+ /** a break down of the street to number and street name */
532
+ streetAddress?: StreetAddress;
533
+ /** Main address line (usually street and number) as free text */
534
+ addressLine?: string | null;
531
535
  /** country code */
532
536
  country?: string | null;
533
537
  /** subdivision (usually state or region) code according to ISO 3166-2 */
@@ -548,10 +552,6 @@ export interface Address extends AddressStreetOneOf {
548
552
  countryFullname?: string | null;
549
553
  /** multi-level subdivisions from top to bottom */
550
554
  subdivisions?: Subdivision[];
551
- /** a break down of the street to number and street name */
552
- streetAddress?: StreetAddress;
553
- /** Main address line (usually street and number) as free text */
554
- addressLine?: string | null;
555
555
  }
556
556
  /** @oneof */
557
557
  export interface AddressStreetOneOf {
@@ -251,8 +251,6 @@ export interface GetFormResponse {
251
251
  draftForm?: Form;
252
252
  }
253
253
  export interface AddControlRequest extends AddControlRequestControlOneOf {
254
- /** Event ID. */
255
- eventId: string;
256
254
  /** Phone number input control. */
257
255
  phone?: PhoneControl;
258
256
  /** Single-line or full address input control. */
@@ -269,6 +267,8 @@ export interface AddControlRequest extends AddControlRequestControlOneOf {
269
267
  text?: TextControl;
270
268
  /** Single-choice radio button style input control. */
271
269
  radioButton?: RadioButtonControl;
270
+ /** Event ID. */
271
+ eventId: string;
272
272
  }
273
273
  /** @oneof */
274
274
  export interface AddControlRequestControlOneOf {
@@ -380,12 +380,6 @@ export interface AddControlResponse {
380
380
  form?: Form;
381
381
  }
382
382
  export interface UpdateControlRequest extends UpdateControlRequestControlOneOf {
383
- /** Event ID. */
384
- eventId: string;
385
- /** Unique input control ID. */
386
- _id: string;
387
- /** Index used to sort input controls in ascending order. */
388
- orderIndex?: number;
389
383
  /** Phone number input control. */
390
384
  phone?: PhoneControl;
391
385
  /** Single-line or full address input control. */
@@ -406,6 +400,12 @@ export interface UpdateControlRequest extends UpdateControlRequestControlOneOf {
406
400
  email?: EmailControl;
407
401
  /** Single-choice radio style input control. */
408
402
  radioButton?: RadioButtonControl;
403
+ /** Event ID. */
404
+ eventId: string;
405
+ /** Unique input control ID. */
406
+ _id: string;
407
+ /** Index used to sort input controls in ascending order. */
408
+ orderIndex?: number;
409
409
  }
410
410
  /** @oneof */
411
411
  export interface UpdateControlRequestControlOneOf {
@@ -534,6 +534,10 @@ export declare enum LocationType {
534
534
  }
535
535
  /** Physical address */
536
536
  export interface Address extends AddressStreetOneOf {
537
+ /** a break down of the street to number and street name */
538
+ streetAddress?: StreetAddress;
539
+ /** Main address line (usually street and number) as free text */
540
+ addressLine1?: string | null;
537
541
  /** country code */
538
542
  country?: string | null;
539
543
  /** subdivision (usually state or region) code according to ISO 3166-2 */
@@ -544,10 +548,6 @@ export interface Address extends AddressStreetOneOf {
544
548
  postalCode?: string | null;
545
549
  /** Free text providing more detailed address info. Usually contains Apt, Suite, Floor */
546
550
  addressLine2?: string | null;
547
- /** a break down of the street to number and street name */
548
- streetAddress?: StreetAddress;
549
- /** Main address line (usually street and number) as free text */
550
- addressLine1?: string | null;
551
551
  }
552
552
  /** @oneof */
553
553
  export interface AddressStreetOneOf {
@@ -77,6 +77,10 @@ export interface FormattedAddress {
77
77
  }
78
78
  /** Physical address */
79
79
  export interface Address extends AddressStreetOneOf {
80
+ /** Street name and number. */
81
+ streetAddress?: StreetAddress;
82
+ /** Main address line, usually street and number as free text. */
83
+ addressLine?: string | null;
80
84
  /** Country code. */
81
85
  country?: string | null;
82
86
  /** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
@@ -87,10 +91,6 @@ export interface Address extends AddressStreetOneOf {
87
91
  postalCode?: string | null;
88
92
  /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
89
93
  addressLine2?: string | null;
90
- /** Street name and number. */
91
- streetAddress?: StreetAddress;
92
- /** Main address line, usually street and number as free text. */
93
- addressLine?: string | null;
94
94
  }
95
95
  /** @oneof */
96
96
  export interface AddressStreetOneOf {
@@ -347,12 +347,12 @@ export interface Discount {
347
347
  discounts?: DiscountItem[];
348
348
  }
349
349
  export interface DiscountItem extends DiscountItemDiscountOneOf {
350
- /** Total discount amount. */
351
- amount?: Money;
352
350
  /** Coupon discount. */
353
351
  coupon?: CouponDiscount;
354
352
  /** Pricing plan discount. */
355
353
  paidPlan?: PaidPlanDiscount;
354
+ /** Total discount amount. */
355
+ amount?: Money;
356
356
  }
357
357
  /** @oneof */
358
358
  export interface DiscountItemDiscountOneOf {
@@ -370,10 +370,10 @@ export interface CouponDiscount {
370
370
  couponId?: string;
371
371
  }
372
372
  export interface PaidPlanDiscount extends PaidPlanDiscountDiscountOneOf {
373
- /** Name of pricing plan. */
374
- name?: string;
375
373
  /** Discount by percentage applied to tickets. */
376
374
  percentDiscount?: PercentDiscount;
375
+ /** Name of pricing plan. */
376
+ name?: string;
377
377
  }
378
378
  /** @oneof */
379
379
  export interface PaidPlanDiscountDiscountOneOf {
@@ -1042,17 +1042,17 @@ export declare enum TicketSaleStatus {
1042
1042
  SALE_ENDED = "SALE_ENDED"
1043
1043
  }
1044
1044
  export interface TicketPricing extends TicketPricingPriceOneOf {
1045
- /**
1046
- * Ticket pricing type.
1047
- * @readonly
1048
- */
1049
- pricingType?: Type;
1050
1045
  /** Ticket price which is read only. */
1051
1046
  fixedPrice?: Money;
1052
1047
  /** Min price per ticket, customizable. */
1053
1048
  minPrice?: Money;
1054
1049
  /** Ticket pricing options. */
1055
1050
  pricingOptions?: PricingOptions;
1051
+ /**
1052
+ * Ticket pricing type.
1053
+ * @readonly
1054
+ */
1055
+ pricingType?: Type;
1056
1056
  }
1057
1057
  /** @oneof */
1058
1058
  export interface TicketPricingPriceOneOf {
@@ -83,6 +83,10 @@ export interface FormattedAddress {
83
83
  }
84
84
  /** Physical address */
85
85
  export interface Address extends AddressStreetOneOf {
86
+ /** Street name and number. */
87
+ streetAddress?: StreetAddress;
88
+ /** Main address line, usually street and number as free text. */
89
+ addressLine1?: string | null;
86
90
  /** Country code. */
87
91
  country?: string | null;
88
92
  /** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
@@ -93,10 +97,6 @@ export interface Address extends AddressStreetOneOf {
93
97
  postalCode?: string | null;
94
98
  /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
95
99
  addressLine2?: string | null;
96
- /** Street name and number. */
97
- streetAddress?: StreetAddress;
98
- /** Main address line, usually street and number as free text. */
99
- addressLine1?: string | null;
100
100
  }
101
101
  /** @oneof */
102
102
  export interface AddressStreetOneOf {
@@ -354,12 +354,12 @@ export interface Discount {
354
354
  discounts?: DiscountItem[];
355
355
  }
356
356
  export interface DiscountItem extends DiscountItemDiscountOneOf {
357
- /** Total discount amount. */
358
- amount?: Money;
359
357
  /** Coupon discount. */
360
358
  coupon?: CouponDiscount;
361
359
  /** Pricing plan discount. */
362
360
  paidPlan?: PaidPlanDiscount;
361
+ /** Total discount amount. */
362
+ amount?: Money;
363
363
  }
364
364
  /** @oneof */
365
365
  export interface DiscountItemDiscountOneOf {
@@ -377,10 +377,10 @@ export interface CouponDiscount {
377
377
  couponId?: string;
378
378
  }
379
379
  export interface PaidPlanDiscount extends PaidPlanDiscountDiscountOneOf {
380
- /** Name of pricing plan. */
381
- name?: string;
382
380
  /** Discount by percentage applied to tickets. */
383
381
  percentDiscount?: PercentDiscount;
382
+ /** Name of pricing plan. */
383
+ name?: string;
384
384
  }
385
385
  /** @oneof */
386
386
  export interface PaidPlanDiscountDiscountOneOf {
@@ -1063,17 +1063,17 @@ export declare enum TicketSaleStatus {
1063
1063
  SALE_ENDED = "SALE_ENDED"
1064
1064
  }
1065
1065
  export interface TicketPricing extends TicketPricingPriceOneOf {
1066
- /**
1067
- * Ticket pricing type.
1068
- * @readonly
1069
- */
1070
- pricingType?: Type;
1071
1066
  /** Ticket price which is read only. */
1072
1067
  fixedPrice?: Money;
1073
1068
  /** Min price per ticket, customizable. */
1074
1069
  minPrice?: Money;
1075
1070
  /** Ticket pricing options. */
1076
1071
  pricingOptions?: PricingOptions;
1072
+ /**
1073
+ * Ticket pricing type.
1074
+ * @readonly
1075
+ */
1076
+ pricingType?: Type;
1077
1077
  }
1078
1078
  /** @oneof */
1079
1079
  export interface TicketPricingPriceOneOf {
@@ -77,6 +77,10 @@ export interface FormattedAddress {
77
77
  }
78
78
  /** Physical address */
79
79
  export interface Address extends AddressStreetOneOf {
80
+ /** Street name and number. */
81
+ streetAddress?: StreetAddress;
82
+ /** Main address line, usually street and number as free text. */
83
+ addressLine?: string | null;
80
84
  /** Country code. */
81
85
  country?: string | null;
82
86
  /** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
@@ -87,10 +91,6 @@ export interface Address extends AddressStreetOneOf {
87
91
  postalCode?: string | null;
88
92
  /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
89
93
  addressLine2?: string | null;
90
- /** Street name and number. */
91
- streetAddress?: StreetAddress;
92
- /** Main address line, usually street and number as free text. */
93
- addressLine?: string | null;
94
94
  }
95
95
  /** @oneof */
96
96
  export interface AddressStreetOneOf {
@@ -347,12 +347,12 @@ export interface Discount {
347
347
  discounts?: DiscountItem[];
348
348
  }
349
349
  export interface DiscountItem extends DiscountItemDiscountOneOf {
350
- /** Total discount amount. */
351
- amount?: Money;
352
350
  /** Coupon discount. */
353
351
  coupon?: CouponDiscount;
354
352
  /** Pricing plan discount. */
355
353
  paidPlan?: PaidPlanDiscount;
354
+ /** Total discount amount. */
355
+ amount?: Money;
356
356
  }
357
357
  /** @oneof */
358
358
  export interface DiscountItemDiscountOneOf {
@@ -370,10 +370,10 @@ export interface CouponDiscount {
370
370
  couponId?: string;
371
371
  }
372
372
  export interface PaidPlanDiscount extends PaidPlanDiscountDiscountOneOf {
373
- /** Name of pricing plan. */
374
- name?: string;
375
373
  /** Discount by percentage applied to tickets. */
376
374
  percentDiscount?: PercentDiscount;
375
+ /** Name of pricing plan. */
376
+ name?: string;
377
377
  }
378
378
  /** @oneof */
379
379
  export interface PaidPlanDiscountDiscountOneOf {
@@ -1042,17 +1042,17 @@ export declare enum TicketSaleStatus {
1042
1042
  SALE_ENDED = "SALE_ENDED"
1043
1043
  }
1044
1044
  export interface TicketPricing extends TicketPricingPriceOneOf {
1045
- /**
1046
- * Ticket pricing type.
1047
- * @readonly
1048
- */
1049
- pricingType?: Type;
1050
1045
  /** Ticket price which is read only. */
1051
1046
  fixedPrice?: Money;
1052
1047
  /** Min price per ticket, customizable. */
1053
1048
  minPrice?: Money;
1054
1049
  /** Ticket pricing options. */
1055
1050
  pricingOptions?: PricingOptions;
1051
+ /**
1052
+ * Ticket pricing type.
1053
+ * @readonly
1054
+ */
1055
+ pricingType?: Type;
1056
1056
  }
1057
1057
  /** @oneof */
1058
1058
  export interface TicketPricingPriceOneOf {
@@ -83,6 +83,10 @@ export interface FormattedAddress {
83
83
  }
84
84
  /** Physical address */
85
85
  export interface Address extends AddressStreetOneOf {
86
+ /** Street name and number. */
87
+ streetAddress?: StreetAddress;
88
+ /** Main address line, usually street and number as free text. */
89
+ addressLine1?: string | null;
86
90
  /** Country code. */
87
91
  country?: string | null;
88
92
  /** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
@@ -93,10 +97,6 @@ export interface Address extends AddressStreetOneOf {
93
97
  postalCode?: string | null;
94
98
  /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
95
99
  addressLine2?: string | null;
96
- /** Street name and number. */
97
- streetAddress?: StreetAddress;
98
- /** Main address line, usually street and number as free text. */
99
- addressLine1?: string | null;
100
100
  }
101
101
  /** @oneof */
102
102
  export interface AddressStreetOneOf {
@@ -354,12 +354,12 @@ export interface Discount {
354
354
  discounts?: DiscountItem[];
355
355
  }
356
356
  export interface DiscountItem extends DiscountItemDiscountOneOf {
357
- /** Total discount amount. */
358
- amount?: Money;
359
357
  /** Coupon discount. */
360
358
  coupon?: CouponDiscount;
361
359
  /** Pricing plan discount. */
362
360
  paidPlan?: PaidPlanDiscount;
361
+ /** Total discount amount. */
362
+ amount?: Money;
363
363
  }
364
364
  /** @oneof */
365
365
  export interface DiscountItemDiscountOneOf {
@@ -377,10 +377,10 @@ export interface CouponDiscount {
377
377
  couponId?: string;
378
378
  }
379
379
  export interface PaidPlanDiscount extends PaidPlanDiscountDiscountOneOf {
380
- /** Name of pricing plan. */
381
- name?: string;
382
380
  /** Discount by percentage applied to tickets. */
383
381
  percentDiscount?: PercentDiscount;
382
+ /** Name of pricing plan. */
383
+ name?: string;
384
384
  }
385
385
  /** @oneof */
386
386
  export interface PaidPlanDiscountDiscountOneOf {
@@ -1063,17 +1063,17 @@ export declare enum TicketSaleStatus {
1063
1063
  SALE_ENDED = "SALE_ENDED"
1064
1064
  }
1065
1065
  export interface TicketPricing extends TicketPricingPriceOneOf {
1066
- /**
1067
- * Ticket pricing type.
1068
- * @readonly
1069
- */
1070
- pricingType?: Type;
1071
1066
  /** Ticket price which is read only. */
1072
1067
  fixedPrice?: Money;
1073
1068
  /** Min price per ticket, customizable. */
1074
1069
  minPrice?: Money;
1075
1070
  /** Ticket pricing options. */
1076
1071
  pricingOptions?: PricingOptions;
1072
+ /**
1073
+ * Ticket pricing type.
1074
+ * @readonly
1075
+ */
1076
+ pricingType?: Type;
1077
1077
  }
1078
1078
  /** @oneof */
1079
1079
  export interface TicketPricingPriceOneOf {
@@ -48,6 +48,10 @@ export interface FormattedAddress {
48
48
  }
49
49
  /** Physical address */
50
50
  export interface Address extends AddressStreetOneOf {
51
+ /** Street name and number. */
52
+ streetAddress?: StreetAddress;
53
+ /** Main address line, usually street and number as free text. */
54
+ addressLine?: string | null;
51
55
  /** Country code. */
52
56
  country?: string | null;
53
57
  /** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
@@ -58,10 +62,6 @@ export interface Address extends AddressStreetOneOf {
58
62
  postalCode?: string | null;
59
63
  /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
60
64
  addressLine2?: string | null;
61
- /** Street name and number. */
62
- streetAddress?: StreetAddress;
63
- /** Main address line, usually street and number as free text. */
64
- addressLine?: string | null;
65
65
  }
66
66
  /** @oneof */
67
67
  export interface AddressStreetOneOf {
@@ -54,6 +54,10 @@ export interface FormattedAddress {
54
54
  }
55
55
  /** Physical address */
56
56
  export interface Address extends AddressStreetOneOf {
57
+ /** Street name and number. */
58
+ streetAddress?: StreetAddress;
59
+ /** Main address line, usually street and number as free text. */
60
+ addressLine1?: string | null;
57
61
  /** Country code. */
58
62
  country?: string | null;
59
63
  /** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
@@ -64,10 +68,6 @@ export interface Address extends AddressStreetOneOf {
64
68
  postalCode?: string | null;
65
69
  /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
66
70
  addressLine2?: string | null;
67
- /** Street name and number. */
68
- streetAddress?: StreetAddress;
69
- /** Main address line, usually street and number as free text. */
70
- addressLine1?: string | null;
71
71
  }
72
72
  /** @oneof */
73
73
  export interface AddressStreetOneOf {