@wix/events 1.0.69 → 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 (49) 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 +5 -5
  4. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.d.ts +5 -5
  5. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.types.d.ts +5 -5
  6. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.universal.d.ts +5 -5
  7. package/build/cjs/src/events-v1-category.types.d.ts +9 -9
  8. package/build/cjs/src/events-v1-category.universal.d.ts +9 -9
  9. package/build/cjs/src/events-v1-event.types.d.ts +17 -17
  10. package/build/cjs/src/events-v1-event.universal.d.ts +17 -17
  11. package/build/cjs/src/events-v1-form.types.d.ts +12 -12
  12. package/build/cjs/src/events-v1-form.universal.d.ts +12 -12
  13. package/build/cjs/src/events-v1-order-checkout.types.d.ts +13 -13
  14. package/build/cjs/src/events-v1-order-checkout.universal.d.ts +13 -13
  15. package/build/cjs/src/events-v1-order-orders.types.d.ts +13 -13
  16. package/build/cjs/src/events-v1-order-orders.universal.d.ts +13 -13
  17. package/build/cjs/src/events-v1-rsvp.types.d.ts +4 -4
  18. package/build/cjs/src/events-v1-rsvp.universal.d.ts +4 -4
  19. package/build/cjs/src/events-v1-ticket-definition.types.d.ts +11 -11
  20. package/build/cjs/src/events-v1-ticket-definition.universal.d.ts +11 -11
  21. package/build/cjs/src/events-v1-ticket.types.d.ts +4 -4
  22. package/build/cjs/src/events-v1-ticket.universal.d.ts +4 -4
  23. package/build/cjs/src/events-v2-policy.types.d.ts +12 -12
  24. package/build/cjs/src/events-v2-policy.universal.d.ts +12 -12
  25. package/build/es/src/events-guests-v1-guest.types.d.ts +12 -12
  26. package/build/es/src/events-guests-v1-guest.universal.d.ts +12 -12
  27. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.d.ts +5 -5
  28. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.d.ts +5 -5
  29. package/build/es/src/events-schedule-v1-schedule-item-schedule.types.d.ts +5 -5
  30. package/build/es/src/events-schedule-v1-schedule-item-schedule.universal.d.ts +5 -5
  31. package/build/es/src/events-v1-category.types.d.ts +9 -9
  32. package/build/es/src/events-v1-category.universal.d.ts +9 -9
  33. package/build/es/src/events-v1-event.types.d.ts +17 -17
  34. package/build/es/src/events-v1-event.universal.d.ts +17 -17
  35. package/build/es/src/events-v1-form.types.d.ts +12 -12
  36. package/build/es/src/events-v1-form.universal.d.ts +12 -12
  37. package/build/es/src/events-v1-order-checkout.types.d.ts +13 -13
  38. package/build/es/src/events-v1-order-checkout.universal.d.ts +13 -13
  39. package/build/es/src/events-v1-order-orders.types.d.ts +13 -13
  40. package/build/es/src/events-v1-order-orders.universal.d.ts +13 -13
  41. package/build/es/src/events-v1-rsvp.types.d.ts +4 -4
  42. package/build/es/src/events-v1-rsvp.universal.d.ts +4 -4
  43. package/build/es/src/events-v1-ticket-definition.types.d.ts +11 -11
  44. package/build/es/src/events-v1-ticket-definition.universal.d.ts +11 -11
  45. package/build/es/src/events-v1-ticket.types.d.ts +4 -4
  46. package/build/es/src/events-v1-ticket.universal.d.ts +4 -4
  47. package/build/es/src/events-v2-policy.types.d.ts +12 -12
  48. package/build/es/src/events-v2-policy.universal.d.ts +12 -12
  49. package/package.json +2 -2
@@ -72,6 +72,10 @@ export interface FormattedAddress {
72
72
  }
73
73
  /** Physical address */
74
74
  export interface Address extends AddressStreetOneOf {
75
+ /** Street name and number. */
76
+ streetAddress?: StreetAddress;
77
+ /** Main address line, usually street and number as free text. */
78
+ addressLine?: string | null;
75
79
  /** Country code. */
76
80
  country?: string | null;
77
81
  /** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
@@ -82,10 +86,6 @@ export interface Address extends AddressStreetOneOf {
82
86
  postalCode?: string | null;
83
87
  /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
84
88
  addressLine2?: string | null;
85
- /** Street name and number. */
86
- streetAddress?: StreetAddress;
87
- /** Main address line, usually street and number as free text. */
88
- addressLine?: string | null;
89
89
  }
90
90
  /** @oneof */
91
91
  export interface AddressStreetOneOf {
@@ -160,16 +160,16 @@ export interface QueryEventGuestsRequest {
160
160
  query: QueryV2;
161
161
  }
162
162
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
163
+ /** Paging options to limit and skip the number of items. */
164
+ paging?: Paging;
165
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
166
+ cursorPaging?: CursorPaging;
163
167
  /** Filter object in the following format: <br/> `"filter" : { "fieldName1": "value1", "fieldName2":{"$operator":"value2"} }`. <br/> <br/> **Example:** <br/> `"filter" : { "eventId": "sd3f-jhds-4fs77", "ticketNumber": {"$startsWith":"478"} }` <br/> <br/> See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort) for more information. */
164
168
  filter?: Record<string, any> | null;
165
169
  /** Sort object in the following format: <br/> `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]` <br/> <br/> **Example:** <br/> `[{"fieldName":"createdDate","direction":"DESC"}]` <br/> <br/> See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort) for more information. */
166
170
  sort?: Sorting[];
167
171
  /** Currently the only supported fieldset is `guestDetails`. The `WIX_EVENTS.READ_GUESTS_DETAILS` permission is required to access the guest details. <br/> <br/> See [field projection](https://dev.wix.com/api/rest/getting-started/field-projection) for more information. */
168
172
  fieldsets?: string[];
169
- /** Paging options to limit and skip the number of items. */
170
- paging?: Paging;
171
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
172
- cursorPaging?: CursorPaging;
173
173
  }
174
174
  /** @oneof */
175
175
  export interface QueryV2PagingMethodOneOf {
@@ -519,12 +519,12 @@ export interface Discount {
519
519
  discounts?: DiscountItem[];
520
520
  }
521
521
  export interface DiscountItem extends DiscountItemDiscountOneOf {
522
- /** Total discount amount. */
523
- amount?: Money;
524
522
  /** Coupon discount. */
525
523
  coupon?: CouponDiscount;
526
524
  /** Pricing plan discount. */
527
525
  paidPlan?: PaidPlanDiscount;
526
+ /** Total discount amount. */
527
+ amount?: Money;
528
528
  }
529
529
  /** @oneof */
530
530
  export interface DiscountItemDiscountOneOf {
@@ -542,10 +542,10 @@ export interface CouponDiscount {
542
542
  couponId?: string;
543
543
  }
544
544
  export interface PaidPlanDiscount extends PaidPlanDiscountDiscountOneOf {
545
- /** Name of pricing plan. */
546
- name?: string;
547
545
  /** Discount by percentage applied to tickets. */
548
546
  percentDiscount?: PercentDiscount;
547
+ /** Name of pricing plan. */
548
+ name?: string;
549
549
  }
550
550
  /** @oneof */
551
551
  export interface PaidPlanDiscountDiscountOneOf {
@@ -78,6 +78,10 @@ export interface FormattedAddress {
78
78
  }
79
79
  /** Physical address */
80
80
  export interface Address extends AddressStreetOneOf {
81
+ /** Street name and number. */
82
+ streetAddress?: StreetAddress;
83
+ /** Main address line, usually street and number as free text. */
84
+ addressLine1?: string | null;
81
85
  /** Country code. */
82
86
  country?: string | null;
83
87
  /** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
@@ -88,10 +92,6 @@ export interface Address extends AddressStreetOneOf {
88
92
  postalCode?: string | null;
89
93
  /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
90
94
  addressLine2?: string | null;
91
- /** Street name and number. */
92
- streetAddress?: StreetAddress;
93
- /** Main address line, usually street and number as free text. */
94
- addressLine1?: string | null;
95
95
  }
96
96
  /** @oneof */
97
97
  export interface AddressStreetOneOf {
@@ -166,16 +166,16 @@ export interface QueryEventGuestsRequest {
166
166
  query: QueryV2;
167
167
  }
168
168
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
169
+ /** Paging options to limit and skip the number of items. */
170
+ paging?: Paging;
171
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
172
+ cursorPaging?: CursorPaging;
169
173
  /** Filter object in the following format: <br/> `"filter" : { "fieldName1": "value1", "fieldName2":{"$operator":"value2"} }`. <br/> <br/> **Example:** <br/> `"filter" : { "eventId": "sd3f-jhds-4fs77", "ticketNumber": {"$startsWith":"478"} }` <br/> <br/> See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort) for more information. */
170
174
  filter?: Record<string, any> | null;
171
175
  /** Sort object in the following format: <br/> `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]` <br/> <br/> **Example:** <br/> `[{"fieldName":"createdDate","direction":"DESC"}]` <br/> <br/> See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort) for more information. */
172
176
  sort?: Sorting[];
173
177
  /** Currently the only supported fieldset is `guestDetails`. The `WIX_EVENTS.READ_GUESTS_DETAILS` permission is required to access the guest details. <br/> <br/> See [field projection](https://dev.wix.com/api/rest/getting-started/field-projection) for more information. */
174
178
  fieldsets?: string[];
175
- /** Paging options to limit and skip the number of items. */
176
- paging?: Paging;
177
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
178
- cursorPaging?: CursorPaging;
179
179
  }
180
180
  /** @oneof */
181
181
  export interface QueryV2PagingMethodOneOf {
@@ -525,12 +525,12 @@ export interface Discount {
525
525
  discounts?: DiscountItem[];
526
526
  }
527
527
  export interface DiscountItem extends DiscountItemDiscountOneOf {
528
- /** Total discount amount. */
529
- amount?: Money;
530
528
  /** Coupon discount. */
531
529
  coupon?: CouponDiscount;
532
530
  /** Pricing plan discount. */
533
531
  paidPlan?: PaidPlanDiscount;
532
+ /** Total discount amount. */
533
+ amount?: Money;
534
534
  }
535
535
  /** @oneof */
536
536
  export interface DiscountItemDiscountOneOf {
@@ -548,10 +548,10 @@ export interface CouponDiscount {
548
548
  couponId?: string;
549
549
  }
550
550
  export interface PaidPlanDiscount extends PaidPlanDiscountDiscountOneOf {
551
- /** Name of pricing plan. */
552
- name?: string;
553
551
  /** Discount by percentage applied to tickets. */
554
552
  percentDiscount?: PercentDiscount;
553
+ /** Name of pricing plan. */
554
+ name?: string;
555
555
  }
556
556
  /** @oneof */
557
557
  export interface PaidPlanDiscountDiscountOneOf {
@@ -174,6 +174,11 @@ export interface QueryScheduleItemsRequest {
174
174
  query?: QueryV2;
175
175
  }
176
176
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
177
+ /**
178
+ * Pointer to page of results using offset.
179
+ * See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
180
+ */
181
+ paging?: Paging;
177
182
  /** 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). */
178
183
  filter?: Record<string, any> | null;
179
184
  /**
@@ -181,11 +186,6 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
181
186
  * 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).
182
187
  */
183
188
  sort?: Sorting[];
184
- /**
185
- * Pointer to page of results using offset.
186
- * See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
187
- */
188
- paging?: Paging;
189
189
  }
190
190
  /** @oneof */
191
191
  export interface QueryV2PagingMethodOneOf {
@@ -179,6 +179,11 @@ export interface QueryScheduleItemsRequest {
179
179
  query?: QueryV2;
180
180
  }
181
181
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
182
+ /**
183
+ * Pointer to page of results using offset.
184
+ * See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
185
+ */
186
+ paging?: Paging;
182
187
  /** 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). */
183
188
  filter?: Record<string, any> | null;
184
189
  /**
@@ -186,11 +191,6 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
186
191
  * 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).
187
192
  */
188
193
  sort?: Sorting[];
189
- /**
190
- * Pointer to page of results using offset.
191
- * See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
192
- */
193
- paging?: Paging;
194
194
  }
195
195
  /** @oneof */
196
196
  export interface QueryV2PagingMethodOneOf {
@@ -174,6 +174,11 @@ export interface QueryScheduleItemsRequest {
174
174
  query?: QueryV2;
175
175
  }
176
176
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
177
+ /**
178
+ * Pointer to page of results using offset.
179
+ * See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
180
+ */
181
+ paging?: Paging;
177
182
  /** 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). */
178
183
  filter?: Record<string, any> | null;
179
184
  /**
@@ -181,11 +186,6 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
181
186
  * 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).
182
187
  */
183
188
  sort?: Sorting[];
184
- /**
185
- * Pointer to page of results using offset.
186
- * See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
187
- */
188
- paging?: Paging;
189
189
  }
190
190
  /** @oneof */
191
191
  export interface QueryV2PagingMethodOneOf {
@@ -179,6 +179,11 @@ export interface QueryScheduleItemsRequest {
179
179
  query?: QueryV2;
180
180
  }
181
181
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
182
+ /**
183
+ * Pointer to page of results using offset.
184
+ * See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
185
+ */
186
+ paging?: Paging;
182
187
  /** 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). */
183
188
  filter?: Record<string, any> | null;
184
189
  /**
@@ -186,11 +191,6 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
186
191
  * 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).
187
192
  */
188
193
  sort?: Sorting[];
189
- /**
190
- * Pointer to page of results using offset.
191
- * See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
192
- */
193
- paging?: Paging;
194
194
  }
195
195
  /** @oneof */
196
196
  export interface QueryV2PagingMethodOneOf {
@@ -102,6 +102,11 @@ export interface QueryCategoriesRequest {
102
102
  fieldset?: CategoryFieldset[];
103
103
  }
104
104
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
105
+ /**
106
+ * Pointer to page of results using offset.
107
+ * See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
108
+ */
109
+ paging?: Paging;
105
110
  /** 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). */
106
111
  filter?: Record<string, any> | null;
107
112
  /**
@@ -109,11 +114,6 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
109
114
  * 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).
110
115
  */
111
116
  sort?: Sorting[];
112
- /**
113
- * Pointer to page of results using offset.
114
- * See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
115
- */
116
- paging?: Paging;
117
117
  }
118
118
  /** @oneof */
119
119
  export interface QueryV2PagingMethodOneOf {
@@ -214,14 +214,14 @@ export interface ListEventCategoriesResponse {
214
214
  categories?: Category[];
215
215
  }
216
216
  export interface ReorderCategoryEventsRequest extends ReorderCategoryEventsRequestReferenceEventOneOf {
217
- /** Category ID */
218
- categoryId: string;
219
- /** Event ID */
220
- eventId?: string;
221
217
  /** Move the Category Event ID before this Event ID */
222
218
  beforeEventId?: string;
223
219
  /** Move the Category Event ID after this Event ID */
224
220
  afterEventId?: string;
221
+ /** Category ID */
222
+ categoryId: string;
223
+ /** Event ID */
224
+ eventId?: string;
225
225
  }
226
226
  /** @oneof */
227
227
  export interface ReorderCategoryEventsRequestReferenceEventOneOf {
@@ -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 {