@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
@@ -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 {
@@ -95,17 +95,17 @@ export declare enum TicketDefinitionStateEnumState {
95
95
  INCLUDE_HIDDEN_NOT_ON_SALE = "INCLUDE_HIDDEN_NOT_ON_SALE"
96
96
  }
97
97
  export interface TicketPricing extends TicketPricingPriceOneOf {
98
- /**
99
- * Ticket pricing type.
100
- * @readonly
101
- */
102
- pricingType?: Type;
103
98
  /** Ticket price which is read only. */
104
99
  fixedPrice?: Money;
105
100
  /** Min price per ticket, customizable. */
106
101
  minPrice?: Money;
107
102
  /** Ticket pricing options. */
108
103
  pricingOptions?: PricingOptions;
104
+ /**
105
+ * Ticket pricing type.
106
+ * @readonly
107
+ */
108
+ pricingType?: Type;
109
109
  }
110
110
  /** @oneof */
111
111
  export interface TicketPricingPriceOneOf {
@@ -179,6 +179,10 @@ export interface QueryTicketDefinitionsRequestV2 {
179
179
  query?: QueryV2;
180
180
  }
181
181
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
182
+ /** Paging options to limit and skip the number of items. */
183
+ paging?: Paging;
184
+ /** 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`. */
185
+ cursorPaging?: CursorPaging;
182
186
  /**
183
187
  * Filter object in the following format:
184
188
  * `"filter" : {
@@ -197,10 +201,6 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
197
201
  fields?: string[];
198
202
  /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
199
203
  fieldsets?: string[];
200
- /** Paging options to limit and skip the number of items. */
201
- paging?: Paging;
202
- /** 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`. */
203
- cursorPaging?: CursorPaging;
204
204
  }
205
205
  /** @oneof */
206
206
  export interface QueryV2PagingMethodOneOf {
@@ -406,12 +406,12 @@ export interface TicketDefinitionUpdated {
406
406
  eventId?: string;
407
407
  }
408
408
  export interface DeleteTicketDefinitionRequest extends DeleteTicketDefinitionRequestDeleteOneOf {
409
- /** Event ID. */
410
- eventId: string;
411
409
  /** Ticket definitions to delete. */
412
410
  byId?: ById;
413
411
  /** Whether to delete all event tickets. */
414
412
  all?: boolean;
413
+ /** Event ID. */
414
+ eventId: string;
415
415
  }
416
416
  /** @oneof */
417
417
  export interface DeleteTicketDefinitionRequestDeleteOneOf {
@@ -112,17 +112,17 @@ export declare enum TicketDefinitionStateEnumState {
112
112
  INCLUDE_HIDDEN_NOT_ON_SALE = "INCLUDE_HIDDEN_NOT_ON_SALE"
113
113
  }
114
114
  export interface TicketPricing extends TicketPricingPriceOneOf {
115
- /**
116
- * Ticket pricing type.
117
- * @readonly
118
- */
119
- pricingType?: Type;
120
115
  /** Ticket price which is read only. */
121
116
  fixedPrice?: Money;
122
117
  /** Min price per ticket, customizable. */
123
118
  minPrice?: Money;
124
119
  /** Ticket pricing options. */
125
120
  pricingOptions?: PricingOptions;
121
+ /**
122
+ * Ticket pricing type.
123
+ * @readonly
124
+ */
125
+ pricingType?: Type;
126
126
  }
127
127
  /** @oneof */
128
128
  export interface TicketPricingPriceOneOf {
@@ -196,6 +196,10 @@ export interface QueryTicketDefinitionsRequestV2 {
196
196
  query?: QueryV2;
197
197
  }
198
198
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
199
+ /** Paging options to limit and skip the number of items. */
200
+ paging?: Paging;
201
+ /** 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`. */
202
+ cursorPaging?: CursorPaging;
199
203
  /**
200
204
  * Filter object in the following format:
201
205
  * `"filter" : {
@@ -214,10 +218,6 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
214
218
  fields?: string[];
215
219
  /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
216
220
  fieldsets?: string[];
217
- /** Paging options to limit and skip the number of items. */
218
- paging?: Paging;
219
- /** 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`. */
220
- cursorPaging?: CursorPaging;
221
221
  }
222
222
  /** @oneof */
223
223
  export interface QueryV2PagingMethodOneOf {
@@ -438,12 +438,12 @@ export interface TicketDefinitionUpdated {
438
438
  eventId?: string;
439
439
  }
440
440
  export interface DeleteTicketDefinitionRequest extends DeleteTicketDefinitionRequestDeleteOneOf {
441
- /** Event ID. */
442
- eventId: string;
443
441
  /** Ticket definitions to delete. */
444
442
  byId?: ById;
445
443
  /** Whether to delete all event tickets. */
446
444
  all?: boolean;
445
+ /** Event ID. */
446
+ eventId: string;
447
447
  }
448
448
  /** @oneof */
449
449
  export interface DeleteTicketDefinitionRequestDeleteOneOf {
@@ -122,6 +122,10 @@ export interface FormattedAddress {
122
122
  }
123
123
  /** Physical address */
124
124
  export interface Address extends AddressStreetOneOf {
125
+ /** Street name and number. */
126
+ streetAddress?: StreetAddress;
127
+ /** Main address line, usually street and number as free text. */
128
+ addressLine?: string | null;
125
129
  /** Country code. */
126
130
  country?: string | null;
127
131
  /** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
@@ -132,10 +136,6 @@ export interface Address extends AddressStreetOneOf {
132
136
  postalCode?: string | null;
133
137
  /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
134
138
  addressLine2?: string | null;
135
- /** Street name and number. */
136
- streetAddress?: StreetAddress;
137
- /** Main address line, usually street and number as free text. */
138
- addressLine?: string | null;
139
139
  }
140
140
  /** @oneof */
141
141
  export interface AddressStreetOneOf {
@@ -137,6 +137,10 @@ export interface FormattedAddress {
137
137
  }
138
138
  /** Physical address */
139
139
  export interface Address extends AddressStreetOneOf {
140
+ /** Street name and number. */
141
+ streetAddress?: StreetAddress;
142
+ /** Main address line, usually street and number as free text. */
143
+ addressLine1?: string | null;
140
144
  /** Country code. */
141
145
  country?: string | null;
142
146
  /** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
@@ -147,10 +151,6 @@ export interface Address extends AddressStreetOneOf {
147
151
  postalCode?: string | null;
148
152
  /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
149
153
  addressLine2?: string | null;
150
- /** Street name and number. */
151
- streetAddress?: StreetAddress;
152
- /** Main address line, usually street and number as free text. */
153
- addressLine1?: string | null;
154
154
  }
155
155
  /** @oneof */
156
156
  export interface AddressStreetOneOf {
@@ -63,14 +63,14 @@ export interface QueryPoliciesRequest {
63
63
  query: CommonQueryV2;
64
64
  }
65
65
  export interface CommonQueryV2 extends CommonQueryV2PagingMethodOneOf {
66
- /** Filter object in the following format: <br/> `"filter" : { "fieldName1": "value1", "fieldName2":{"$operator":"value2"} }`. <br/> <br/> **Example:** <br/> `"filter" : { "id": "2224a9d1-79e6-4549-a5c5-bf7ce5aac1a5", "revision": {"$ne":"1"} }` <br/> <br/> See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/policy-v2/filter-and-sort) for more information. */
67
- filter?: Record<string, any> | null;
68
- /** 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/policy-v2/filter-and-sort) for more information. */
69
- sort?: CommonSorting[];
70
66
  /** Pagination options. */
71
67
  paging?: CommonPaging;
72
68
  /** 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`. */
73
69
  cursorPaging?: CommonCursorPaging;
70
+ /** Filter object in the following format: <br/> `"filter" : { "fieldName1": "value1", "fieldName2":{"$operator":"value2"} }`. <br/> <br/> **Example:** <br/> `"filter" : { "id": "2224a9d1-79e6-4549-a5c5-bf7ce5aac1a5", "revision": {"$ne":"1"} }` <br/> <br/> See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/policy-v2/filter-and-sort) for more information. */
71
+ filter?: Record<string, any> | null;
72
+ /** 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/policy-v2/filter-and-sort) for more information. */
73
+ sort?: CommonSorting[];
74
74
  }
75
75
  /** @oneof */
76
76
  export interface CommonQueryV2PagingMethodOneOf {
@@ -131,14 +131,14 @@ export interface CommonCursors {
131
131
  prev?: string | null;
132
132
  }
133
133
  export interface ReorderEventPoliciesRequest extends ReorderEventPoliciesRequestReferencePolicyOneOf {
134
- /** Event ID. */
135
- eventId: string;
136
- /** Policy ID. */
137
- policyId: string;
138
134
  /** Move the given `policyId` before the referenced policy. */
139
135
  beforePolicyId?: string;
140
136
  /** Move the given `policyId` after the referenced policy. */
141
137
  afterPolicyId?: string;
138
+ /** Event ID. */
139
+ eventId: string;
140
+ /** Policy ID. */
141
+ policyId: string;
142
142
  }
143
143
  /** @oneof */
144
144
  export interface ReorderEventPoliciesRequestReferencePolicyOneOf {
@@ -223,6 +223,10 @@ export declare enum LocationType {
223
223
  }
224
224
  /** Physical address */
225
225
  export interface Address extends AddressStreetOneOf {
226
+ /** a break down of the street to number and street name */
227
+ streetAddress?: StreetAddress;
228
+ /** Main address line (usually street and number) as free text */
229
+ addressLine?: string | null;
226
230
  /** country code */
227
231
  country?: string | null;
228
232
  /** subdivision (usually state or region) code according to ISO 3166-2 */
@@ -243,10 +247,6 @@ export interface Address extends AddressStreetOneOf {
243
247
  countryFullname?: string | null;
244
248
  /** multi-level subdivisions from top to bottom */
245
249
  subdivisions?: Subdivision[];
246
- /** a break down of the street to number and street name */
247
- streetAddress?: StreetAddress;
248
- /** Main address line (usually street and number) as free text */
249
- addressLine?: string | null;
250
250
  }
251
251
  /** @oneof */
252
252
  export interface AddressStreetOneOf {
@@ -85,14 +85,14 @@ export interface QueryPoliciesRequest {
85
85
  query: CommonQueryV2;
86
86
  }
87
87
  export interface CommonQueryV2 extends CommonQueryV2PagingMethodOneOf {
88
- /** Filter object in the following format: <br/> `"filter" : { "fieldName1": "value1", "fieldName2":{"$operator":"value2"} }`. <br/> <br/> **Example:** <br/> `"filter" : { "id": "2224a9d1-79e6-4549-a5c5-bf7ce5aac1a5", "revision": {"$ne":"1"} }` <br/> <br/> See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/policy-v2/filter-and-sort) for more information. */
89
- filter?: Record<string, any> | null;
90
- /** 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/policy-v2/filter-and-sort) for more information. */
91
- sort?: CommonSorting[];
92
88
  /** Pagination options. */
93
89
  paging?: CommonPaging;
94
90
  /** 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`. */
95
91
  cursorPaging?: CommonCursorPaging;
92
+ /** Filter object in the following format: <br/> `"filter" : { "fieldName1": "value1", "fieldName2":{"$operator":"value2"} }`. <br/> <br/> **Example:** <br/> `"filter" : { "id": "2224a9d1-79e6-4549-a5c5-bf7ce5aac1a5", "revision": {"$ne":"1"} }` <br/> <br/> See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/policy-v2/filter-and-sort) for more information. */
93
+ filter?: Record<string, any> | null;
94
+ /** 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/policy-v2/filter-and-sort) for more information. */
95
+ sort?: CommonSorting[];
96
96
  }
97
97
  /** @oneof */
98
98
  export interface CommonQueryV2PagingMethodOneOf {
@@ -153,14 +153,14 @@ export interface CommonCursors {
153
153
  prev?: string | null;
154
154
  }
155
155
  export interface ReorderEventPoliciesRequest extends ReorderEventPoliciesRequestReferencePolicyOneOf {
156
- /** Event ID. */
157
- eventId: string;
158
- /** Event policy ID. */
159
- policyId: string;
160
156
  /** Move the given `policyId` before the specified policy. */
161
157
  beforePolicyId?: string;
162
158
  /** Move the given `policyId` after the specified policy. */
163
159
  afterPolicyId?: string;
160
+ /** Event ID. */
161
+ eventId: string;
162
+ /** Event policy ID. */
163
+ policyId: string;
164
164
  }
165
165
  /** @oneof */
166
166
  export interface ReorderEventPoliciesRequestReferencePolicyOneOf {
@@ -245,6 +245,10 @@ export declare enum LocationType {
245
245
  }
246
246
  /** Physical address */
247
247
  export interface Address extends AddressStreetOneOf {
248
+ /** a break down of the street to number and street name */
249
+ streetAddress?: StreetAddress;
250
+ /** Main address line (usually street and number) as free text */
251
+ addressLine1?: string | null;
248
252
  /** country code */
249
253
  country?: string | null;
250
254
  /** subdivision (usually state or region) code according to ISO 3166-2 */
@@ -255,10 +259,6 @@ export interface Address extends AddressStreetOneOf {
255
259
  postalCode?: string | null;
256
260
  /** Free text providing more detailed address info. Usually contains Apt, Suite, Floor */
257
261
  addressLine2?: string | null;
258
- /** a break down of the street to number and street name */
259
- streetAddress?: StreetAddress;
260
- /** Main address line (usually street and number) as free text */
261
- addressLine1?: string | null;
262
262
  }
263
263
  /** @oneof */
264
264
  export interface AddressStreetOneOf {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/events",
3
- "version": "1.0.69",
3
+ "version": "1.0.70",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -33,5 +33,5 @@
33
33
  "groupId": "com.wixpress.public-sdk-autogen"
34
34
  }
35
35
  },
36
- "falconPackageHash": "18bab98696fdad490c5770ff36ba0654127bad87ca451de100bc235f"
36
+ "falconPackageHash": "0191d72b05961c8ad3e042536485843bd09a9d65a030a814bf4c1939"
37
37
  }