@wix/auto_sdk_events_guests 1.0.28 → 1.0.29

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.
@@ -95,6 +95,20 @@ interface TicketDetails {
95
95
  */
96
96
  name?: string | null;
97
97
  }
98
+ interface TicketGuestDetails {
99
+ /** The login details for the guest to access the online conference event. */
100
+ onlineConferencingLogin?: OnlineConferencingLogin;
101
+ /**
102
+ * First name.
103
+ * @maxLength 255
104
+ */
105
+ firstName?: string | null;
106
+ /**
107
+ * Last name.
108
+ * @maxLength 255
109
+ */
110
+ lastName?: string | null;
111
+ }
98
112
  interface OnlineConferencingLogin {
99
113
  /**
100
114
  * Link URL to the online conference.
@@ -166,6 +180,85 @@ interface InputValue {
166
180
  */
167
181
  values?: string[];
168
182
  }
183
+ interface FormattedAddress {
184
+ /**
185
+ * 1-line address representation.
186
+ * @maxLength 200
187
+ */
188
+ formatted?: string;
189
+ /** Address components. */
190
+ address?: Address;
191
+ }
192
+ /** Physical address */
193
+ interface Address extends AddressStreetOneOf {
194
+ /** Street name and number. */
195
+ streetAddress?: StreetAddress;
196
+ /** Main address line, usually street and number as free text. */
197
+ addressLine?: string | null;
198
+ /**
199
+ * Country code.
200
+ * @format COUNTRY
201
+ */
202
+ country?: string | null;
203
+ /** Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY */
204
+ subdivision?: string | null;
205
+ /** City name. */
206
+ city?: string | null;
207
+ /** Zip/postal code. */
208
+ postalCode?: string | null;
209
+ /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
210
+ addressLine2?: string | null;
211
+ }
212
+ /** @oneof */
213
+ interface AddressStreetOneOf {
214
+ /** Street name and number. */
215
+ streetAddress?: StreetAddress;
216
+ /** Main address line, usually street and number as free text. */
217
+ addressLine?: string | null;
218
+ }
219
+ interface StreetAddress {
220
+ /** Street number. */
221
+ number?: string;
222
+ /** Street name. */
223
+ name?: string;
224
+ }
225
+ interface AddressLocation {
226
+ /** Address latitude. */
227
+ latitude?: number | null;
228
+ /** Address longitude. */
229
+ longitude?: number | null;
230
+ }
231
+ interface Subdivision {
232
+ /** Short subdivision code. */
233
+ code?: string;
234
+ /** Subdivision full name. */
235
+ name?: string;
236
+ }
237
+ declare enum SubdivisionType {
238
+ UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
239
+ /** State */
240
+ ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
241
+ /** County */
242
+ ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
243
+ /** City/town */
244
+ ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
245
+ /** Neighborhood/quarter */
246
+ ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
247
+ /** Street/block */
248
+ ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
249
+ /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
250
+ COUNTRY = "COUNTRY"
251
+ }
252
+ /** @enumType */
253
+ type SubdivisionTypeWithLiterals = SubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
254
+ /** Subdivision Concordance values */
255
+ interface StandardDetails {
256
+ /**
257
+ * subdivision iso-3166-2 code according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). e.g. US-NY, GB-SCT, NO-30
258
+ * @maxLength 20
259
+ */
260
+ iso31662?: string | null;
261
+ }
169
262
  declare enum AttendanceStatus {
170
263
  /** Not attending. */
171
264
  NOT_ATTENDING = "NOT_ATTENDING",
@@ -186,6 +279,848 @@ declare enum GuestType {
186
279
  }
187
280
  /** @enumType */
188
281
  type GuestTypeWithLiterals = GuestType | 'RSVP' | 'BUYER' | 'TICKET_HOLDER';
282
+ interface GuestCountUpdated {
283
+ /** Guest. */
284
+ guest?: EventGuest;
285
+ /**
286
+ * Guest count updates.
287
+ * @maxSize 2
288
+ */
289
+ guestCountUpdates?: GuestCountUpdate[];
290
+ }
291
+ interface GuestCountUpdate {
292
+ /** Attendance status. */
293
+ attendanceStatus?: AttendanceStatusWithLiterals;
294
+ /** Total guest count change. */
295
+ totalGuestsDelta?: number;
296
+ /** Guest count change. */
297
+ countDelta?: number;
298
+ }
299
+ interface MemberEventStatusUpdated {
300
+ /**
301
+ * Event id.
302
+ * @format GUID
303
+ */
304
+ eventId?: string | null;
305
+ /**
306
+ * Member id.
307
+ * @format GUID
308
+ */
309
+ memberId?: string | null;
310
+ /** Member event status. */
311
+ status?: MemberEventStatusUpdatedEventTypeWithLiterals;
312
+ }
313
+ declare enum MemberEventStatusUpdatedEventType {
314
+ /**
315
+ * Triggered every time a guest with a specified member ID is added to the event.
316
+ * This event can also be triggered if an existing guest changed their member ID.
317
+ */
318
+ MEMBER_JOINED = "MEMBER_JOINED",
319
+ /**
320
+ * Triggered every time a guest with a specified member ID is removed from the event.
321
+ * This event can also be triggered if an existing guest changed their member ID.
322
+ */
323
+ MEMBER_LEFT = "MEMBER_LEFT",
324
+ /**
325
+ * Triggered every time a guest with a specified member ID whose status is `"ATTENDING"` is added to the event.
326
+ * This event can also be triggered if an existing guest changed their member ID or changed their status to `"ATTENDING"`.
327
+ */
328
+ ATTENDING_MEMBER_JOINED = "ATTENDING_MEMBER_JOINED",
329
+ /**
330
+ * Triggered when the last guest with a specified member ID is removed from the event or their status changes to `"NOT_ATTENDING"`.
331
+ * Once triggered there are no more attending guests with a specified member ID in the event.
332
+ * This event can also be triggered if the last existing guest changed their member ID or their status to `"NOT_ATTENDING"`.
333
+ */
334
+ LAST_ATTENDING_MEMBER_LEFT = "LAST_ATTENDING_MEMBER_LEFT"
335
+ }
336
+ /** @enumType */
337
+ type MemberEventStatusUpdatedEventTypeWithLiterals = MemberEventStatusUpdatedEventType | 'MEMBER_JOINED' | 'MEMBER_LEFT' | 'ATTENDING_MEMBER_JOINED' | 'LAST_ATTENDING_MEMBER_LEFT';
338
+ interface ContactEventStatusUpdated {
339
+ /**
340
+ * Event id.
341
+ * @format GUID
342
+ */
343
+ eventId?: string | null;
344
+ /**
345
+ * Contact id.
346
+ * @format GUID
347
+ */
348
+ contactId?: string | null;
349
+ /** Contact event status. */
350
+ status?: EventTypeWithLiterals;
351
+ }
352
+ declare enum EventType {
353
+ /**
354
+ * Triggered every time a guest with a specified contact ID is added to the event.
355
+ * This event can also be triggered if an existing guest changed their contact ID.
356
+ */
357
+ CONTACT_JOINED = "CONTACT_JOINED",
358
+ /**
359
+ * Triggered every time a guest with a specified contact ID is removed from the event.
360
+ * This event can also be triggered if an existing guest changed their contact ID.
361
+ */
362
+ CONTACT_LEFT = "CONTACT_LEFT",
363
+ /**
364
+ * Triggred when the last guest with a specified contact ID is removed from the event.
365
+ * Once triggered there are no more guests with a specified contact ID in the event.
366
+ * This event can also be triggered if the last existing guest changed their contact ID.
367
+ */
368
+ LAST_CONTACT_LEFT = "LAST_CONTACT_LEFT"
369
+ }
370
+ /** @enumType */
371
+ type EventTypeWithLiterals = EventType | 'CONTACT_JOINED' | 'CONTACT_LEFT' | 'LAST_CONTACT_LEFT';
372
+ interface GuestCheckedIn {
373
+ /** Event guest */
374
+ guest?: EventGuest;
375
+ /** Event details */
376
+ eventDetails?: EventDetails;
377
+ }
378
+ interface EventDetails {
379
+ /**
380
+ * Event title.
381
+ * @minLength 1
382
+ * @maxLength 120
383
+ * @readonly
384
+ */
385
+ title?: string | null;
386
+ /**
387
+ * Event short description.
388
+ * @maxLength 500
389
+ * @readonly
390
+ */
391
+ shortDescription?: string | null;
392
+ /**
393
+ * Event location.
394
+ * @readonly
395
+ */
396
+ location?: Location;
397
+ /**
398
+ * Event date and time settings.
399
+ * @readonly
400
+ */
401
+ dateAndTimeSettings?: DateAndTimeSettings;
402
+ /**
403
+ * Event page URL components.
404
+ * @readonly
405
+ */
406
+ eventPageUrl?: PageUrl;
407
+ /**
408
+ * Event status.
409
+ * @readonly
410
+ */
411
+ status?: StatusWithLiterals;
412
+ }
413
+ interface Location {
414
+ /**
415
+ * Location name. This value is displayed instead of the address when the location is defined as TBD by setting the `locationTbd` property to `true`.
416
+ * @maxLength 50
417
+ */
418
+ name?: string | null;
419
+ /** Location type. */
420
+ type?: LocationTypeWithLiterals;
421
+ /** Exact location address. */
422
+ address?: CommonAddress;
423
+ /** Whether the event location is TBD. */
424
+ locationTbd?: boolean | null;
425
+ }
426
+ declare enum LocationType {
427
+ /** Unknown location type. */
428
+ UNKNOWN_LOCATION = "UNKNOWN_LOCATION",
429
+ /** Event is on-site at a specific physical location. */
430
+ VENUE = "VENUE",
431
+ /** Event is online, such as a virtual video conference. */
432
+ ONLINE = "ONLINE"
433
+ }
434
+ /** @enumType */
435
+ type LocationTypeWithLiterals = LocationType | 'UNKNOWN_LOCATION' | 'VENUE' | 'ONLINE';
436
+ /** Physical address */
437
+ interface CommonAddress extends CommonAddressStreetOneOf {
438
+ /** Street address. */
439
+ streetAddress?: CommonStreetAddress;
440
+ /**
441
+ * Primary address information (street and building number).
442
+ * @maxLength 250
443
+ */
444
+ addressLine?: string | null;
445
+ /**
446
+ * 2-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.
447
+ * @format COUNTRY
448
+ */
449
+ country?: string | null;
450
+ /**
451
+ * Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2).
452
+ * @maxLength 20
453
+ */
454
+ subdivision?: string | null;
455
+ /**
456
+ * City name.
457
+ * @maxLength 100
458
+ */
459
+ city?: string | null;
460
+ /**
461
+ * Zip or postal code.
462
+ * @maxLength 100
463
+ */
464
+ postalCode?: string | null;
465
+ /**
466
+ * Secondary address information (suite or apartment number and room number).
467
+ * @maxLength 250
468
+ */
469
+ addressLine2?: string | null;
470
+ }
471
+ /** @oneof */
472
+ interface CommonAddressStreetOneOf {
473
+ /** Street address. */
474
+ streetAddress?: CommonStreetAddress;
475
+ /**
476
+ * Primary address information (street and building number).
477
+ * @maxLength 250
478
+ */
479
+ addressLine?: string | null;
480
+ }
481
+ interface CommonStreetAddress {
482
+ /**
483
+ * Street number.
484
+ * @maxLength 100
485
+ */
486
+ number?: string;
487
+ /**
488
+ * Street name.
489
+ * @maxLength 250
490
+ */
491
+ name?: string;
492
+ }
493
+ interface CommonAddressLocation {
494
+ /**
495
+ * Address latitude coordinates.
496
+ * @min -90
497
+ * @max 90
498
+ */
499
+ latitude?: number | null;
500
+ /**
501
+ * Address longitude coordinates.
502
+ * @min -180
503
+ * @max 180
504
+ */
505
+ longitude?: number | null;
506
+ }
507
+ interface CommonSubdivision {
508
+ /**
509
+ * Short subdivision code.
510
+ * @maxLength 100
511
+ */
512
+ code?: string;
513
+ /**
514
+ * Subdivision full name.
515
+ * @maxLength 250
516
+ */
517
+ name?: string;
518
+ }
519
+ declare enum SubdivisionSubdivisionType {
520
+ UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
521
+ /** State */
522
+ ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
523
+ /** County */
524
+ ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
525
+ /** City/town */
526
+ ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
527
+ /** Neighborhood/quarter */
528
+ ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
529
+ /** Street/block */
530
+ ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
531
+ /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
532
+ COUNTRY = "COUNTRY"
533
+ }
534
+ /** @enumType */
535
+ type SubdivisionSubdivisionTypeWithLiterals = SubdivisionSubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
536
+ interface DateAndTimeSettings {
537
+ /** Whether the event date and time are TBD. */
538
+ dateAndTimeTbd?: boolean | null;
539
+ /**
540
+ * Message that is displayed when time and date is TBD.
541
+ *
542
+ * **Note:** This field is only used when the `dateAndTimeTbd` field value is `true`.
543
+ * @maxLength 100
544
+ */
545
+ dateAndTimeTbdMessage?: string | null;
546
+ /**
547
+ * Event start date.
548
+ *
549
+ * **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.
550
+ */
551
+ startDate?: Date | null;
552
+ /**
553
+ * Event end date.
554
+ *
555
+ * **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.
556
+ */
557
+ endDate?: Date | null;
558
+ /**
559
+ * Event time zone ID in the [TZ database](https://www.iana.org/time-zones) format.
560
+ *
561
+ * **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.
562
+ * @maxLength 100
563
+ */
564
+ timeZoneId?: string | null;
565
+ /** Whether the end date is hidden in the formatted date and time. */
566
+ hideEndDate?: boolean | null;
567
+ /** Whether the time zone is displayed in the formatted schedule. */
568
+ showTimeZone?: boolean | null;
569
+ /**
570
+ * Repeating event status.
571
+ * @readonly
572
+ */
573
+ recurrenceStatus?: RecurrenceStatusStatusWithLiterals;
574
+ /** Event repetitions. */
575
+ recurringEvents?: Recurrences;
576
+ /** Formatted date and time settings. */
577
+ formatted?: Formatted;
578
+ }
579
+ declare enum RecurrenceStatusStatus {
580
+ /** Unknown recurrance status. */
581
+ UNKNOWN_STATUS = "UNKNOWN_STATUS",
582
+ /** Event happens only once and can last multiple days. */
583
+ ONE_TIME = "ONE_TIME",
584
+ /** A series of events that repeat. */
585
+ RECURRING = "RECURRING",
586
+ /** Next event in a schedule of recurring events. */
587
+ RECURRING_UPCOMING = "RECURRING_UPCOMING",
588
+ /** Latest event that ended in a schedule of recurring events. */
589
+ RECURRING_RECENTLY_ENDED = "RECURRING_RECENTLY_ENDED",
590
+ /** Latest canceled event in a schedule of recurring events */
591
+ RECURRING_RECENTLY_CANCELED = "RECURRING_RECENTLY_CANCELED"
592
+ }
593
+ /** @enumType */
594
+ type RecurrenceStatusStatusWithLiterals = RecurrenceStatusStatus | 'UNKNOWN_STATUS' | 'ONE_TIME' | 'RECURRING' | 'RECURRING_UPCOMING' | 'RECURRING_RECENTLY_ENDED' | 'RECURRING_RECENTLY_CANCELED';
595
+ interface Recurrences {
596
+ /**
597
+ * Individual event dates.
598
+ * @maxSize 1000
599
+ */
600
+ individualEventDates?: Occurrence[];
601
+ /**
602
+ * Recurring event category ID.
603
+ * @readonly
604
+ * @maxLength 100
605
+ */
606
+ categoryId?: string | null;
607
+ }
608
+ interface Occurrence {
609
+ /** Event start date. */
610
+ startDate?: Date | null;
611
+ /** Event end date. */
612
+ endDate?: Date | null;
613
+ /**
614
+ * Event time zone ID in the [TZ database](https://www.iana.org/time-zones) format.
615
+ * @maxLength 100
616
+ */
617
+ timeZoneId?: string | null;
618
+ /** Whether the time zone is displayed in a formatted schedule. */
619
+ showTimeZone?: boolean;
620
+ }
621
+ interface Formatted {
622
+ /**
623
+ * Formatted date and time representation. <br>
624
+ * Example of formatting when an event lasts multiple days and is in the UTC time zone: `September 1, 2015 at 10:20 AM – September 5, 2015 at 12:14 PM`. <br>
625
+ * Example of formatting when an event lasts 1 day and is in the GMT+2 time zone: `February 1, 2018, 12:10 – 2:50 PM GMT+2`.
626
+ * @readonly
627
+ * @maxLength 500
628
+ */
629
+ dateAndTime?: string | null;
630
+ /**
631
+ * Formatted start date of the event. Empty for TBD schedules.
632
+ * @readonly
633
+ * @maxLength 500
634
+ */
635
+ startDate?: string | null;
636
+ /**
637
+ * Formatted start time of the event. Empty for TBD schedules.
638
+ * @readonly
639
+ * @maxLength 500
640
+ */
641
+ startTime?: string | null;
642
+ /**
643
+ * Formatted end date of the event. Empty for TBD schedules or when the end date is hidden.
644
+ * @readonly
645
+ * @maxLength 500
646
+ */
647
+ endDate?: string | null;
648
+ /**
649
+ * Formatted end time of the event. Empty for TBD schedules or when the end date is hidden.
650
+ * @readonly
651
+ * @maxLength 500
652
+ */
653
+ endTime?: string | null;
654
+ }
655
+ interface PageUrl {
656
+ /**
657
+ * The base URL. For premium sites, the base is the domain. For free sites, the base is the Wix site URL (for example, `https://mysite.wixsite.com/mysite`).
658
+ * @maxLength 500
659
+ */
660
+ base?: string;
661
+ /**
662
+ * The path to the page. For example, `/product-page/a-product`.
663
+ * @maxLength 500
664
+ */
665
+ path?: string;
666
+ }
667
+ declare enum Status {
668
+ /** Unknown event status. */
669
+ UNKNOWN_EVENT_STATUS = "UNKNOWN_EVENT_STATUS",
670
+ /** Event is published and scheduled to start. */
671
+ UPCOMING = "UPCOMING",
672
+ /** Event has started. */
673
+ STARTED = "STARTED",
674
+ /** Event has ended. */
675
+ ENDED = "ENDED",
676
+ /** Event is canceled. */
677
+ CANCELED = "CANCELED",
678
+ /** Event is not public. */
679
+ DRAFT = "DRAFT"
680
+ }
681
+ /** @enumType */
682
+ type StatusWithLiterals = Status | 'UNKNOWN_EVENT_STATUS' | 'UPCOMING' | 'STARTED' | 'ENDED' | 'CANCELED' | 'DRAFT';
683
+ interface NotifyGuestAction {
684
+ /** Event guest. */
685
+ guest?: EventGuest;
686
+ /** Task context. */
687
+ taskContext?: TaskContext;
688
+ }
689
+ interface TaskContext {
690
+ /** Task id. */
691
+ id?: string | null;
692
+ /** Notify action type. */
693
+ type?: NotifyActionTypeWithLiterals;
694
+ /** Timing. Used for EVENT_STARTS */
695
+ timing?: TimingWithLiterals;
696
+ /** Event context. */
697
+ event?: EventDetails;
698
+ /** Order context. */
699
+ order?: OrderDetails;
700
+ }
701
+ declare enum NotifyActionType {
702
+ UNKNOWN = "UNKNOWN",
703
+ EMAIL = "EMAIL",
704
+ AUTOMATION_TRIGGER = "AUTOMATION_TRIGGER",
705
+ PUSH = "PUSH",
706
+ EVENT_CANCELED = "EVENT_CANCELED",
707
+ EVENT_STARTS = "EVENT_STARTS",
708
+ ORDER_CANCELED = "ORDER_CANCELED"
709
+ }
710
+ /** @enumType */
711
+ type NotifyActionTypeWithLiterals = NotifyActionType | 'UNKNOWN' | 'EMAIL' | 'AUTOMATION_TRIGGER' | 'PUSH' | 'EVENT_CANCELED' | 'EVENT_STARTS' | 'ORDER_CANCELED';
712
+ declare enum Timing {
713
+ /** Unknown event start time. */
714
+ UNKNOWN_TIMING = "UNKNOWN_TIMING",
715
+ /** Instant. */
716
+ NOW = "NOW",
717
+ /** 24 hours prior. */
718
+ STARTS_IN_1_DAY = "STARTS_IN_1_DAY",
719
+ /** 3 days prior. */
720
+ STARTS_IN_3_DAYS = "STARTS_IN_3_DAYS",
721
+ /** 7 days prior. */
722
+ STARTS_IN_1_WEEK = "STARTS_IN_1_WEEK",
723
+ /** 1 hour prior. */
724
+ STARTS_IN_1_HOUR = "STARTS_IN_1_HOUR",
725
+ /** 30 minutes prior. */
726
+ STARTS_IN_30_MINUTES = "STARTS_IN_30_MINUTES",
727
+ /** 2 hours prior. */
728
+ STARTS_IN_2_HOURS = "STARTS_IN_2_HOURS"
729
+ }
730
+ /** @enumType */
731
+ type TimingWithLiterals = Timing | 'UNKNOWN_TIMING' | 'NOW' | 'STARTS_IN_1_DAY' | 'STARTS_IN_3_DAYS' | 'STARTS_IN_1_WEEK' | 'STARTS_IN_1_HOUR' | 'STARTS_IN_30_MINUTES' | 'STARTS_IN_2_HOURS';
732
+ interface OrderDetails {
733
+ /** Order status */
734
+ orderStatus?: OrderStatusWithLiterals;
735
+ /** Invoice */
736
+ invoice?: Invoice;
737
+ }
738
+ declare enum OrderStatus {
739
+ /** Order status isn't available for this request fieldset. */
740
+ NA_ORDER_STATUS = "NA_ORDER_STATUS",
741
+ /** Order is confirmed, no payment is required. */
742
+ FREE = "FREE",
743
+ /** Order was paid, but the payment gateway suspended the payment. */
744
+ PENDING = "PENDING",
745
+ /** Order is paid. */
746
+ PAID = "PAID",
747
+ /** Order is confirmed but must be paid via offline payment. Status needs to be manually updated to `"PAID"`. */
748
+ OFFLINE_PENDING = "OFFLINE_PENDING",
749
+ /** Order is waiting for payment at the cashier. */
750
+ INITIATED = "INITIATED",
751
+ /** Order is canceled. */
752
+ CANCELED = "CANCELED",
753
+ /** Order payment is declined. */
754
+ DECLINED = "DECLINED",
755
+ /** Order payment is authorized. */
756
+ AUTHORIZED = "AUTHORIZED",
757
+ /** Order payment is voided. */
758
+ VOIDED = "VOIDED",
759
+ /** Order is partially paid with less than the total amount. */
760
+ PARTIALLY_PAID = "PARTIALLY_PAID"
761
+ }
762
+ /** @enumType */
763
+ type OrderStatusWithLiterals = OrderStatus | 'NA_ORDER_STATUS' | 'FREE' | 'PENDING' | 'PAID' | 'OFFLINE_PENDING' | 'INITIATED' | 'CANCELED' | 'DECLINED' | 'AUTHORIZED' | 'VOIDED' | 'PARTIALLY_PAID';
764
+ interface Invoice {
765
+ items?: Item[];
766
+ /**
767
+ * Total cart amount.
768
+ * @deprecated
769
+ */
770
+ total?: Money;
771
+ /** Discount applied to a cart. */
772
+ discount?: Discount;
773
+ /** Tax applied to a cart. */
774
+ tax?: Tax;
775
+ /** Total cart amount before discount, tax, and fees. */
776
+ subTotal?: Money;
777
+ /**
778
+ * Total amount of a cart after discount, tax, and fees.
779
+ * Grand total is calculated in the following order:
780
+ * 1. Total prices of all items in the cart are calculated.
781
+ * 2. Discount is subtracted from the cart, if applicable.
782
+ * 3. Tax is added, if applicable.
783
+ * 4. Wix ticket service fee is added.
784
+ */
785
+ grandTotal?: Money;
786
+ /**
787
+ * Fees applied to the cart.
788
+ * @readonly
789
+ */
790
+ fees?: Fee[];
791
+ /** Total revenue, excluding fees. Taxes and payment provider fees aren't deducted. */
792
+ revenue?: Money;
793
+ /** Invoice preview URL. Only returned if the order is paid. */
794
+ previewUrl?: string | null;
795
+ }
796
+ interface Item {
797
+ /**
798
+ * Unique line item ID.
799
+ * @format GUID
800
+ */
801
+ id?: string;
802
+ /**
803
+ * Line item quantity.
804
+ * @min 1
805
+ * @max 50
806
+ */
807
+ quantity?: number;
808
+ /** Line item name. */
809
+ name?: string;
810
+ /** Line item price. */
811
+ price?: Money;
812
+ /** Total price for line items. Always equal to price * quantity. */
813
+ total?: Money;
814
+ /** Discount applied to the line item. */
815
+ discount?: Discount;
816
+ /** Tax applied to the item. */
817
+ tax?: Tax;
818
+ /**
819
+ * Fees applied to the item.
820
+ * @readonly
821
+ */
822
+ fees?: Fee[];
823
+ }
824
+ interface Money {
825
+ /**
826
+ * *Deprecated:** Use `value` instead.
827
+ * @format DECIMAL_VALUE
828
+ * @deprecated
829
+ */
830
+ amount?: string;
831
+ /**
832
+ * 3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `USD`.
833
+ * @format CURRENCY
834
+ */
835
+ currency?: string;
836
+ /**
837
+ * Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, starts with a single (-), to indicate that the amount is negative.
838
+ * @format DECIMAL_VALUE
839
+ */
840
+ value?: string | null;
841
+ }
842
+ interface Discount {
843
+ /** Total discount amount. */
844
+ amount?: Money;
845
+ /** Total sum after the discount. */
846
+ afterDiscount?: Money;
847
+ /**
848
+ * Discount coupon code.
849
+ * @deprecated
850
+ */
851
+ code?: string;
852
+ /**
853
+ * Discount coupon name.
854
+ * @deprecated
855
+ */
856
+ name?: string;
857
+ /**
858
+ * Discount coupon ID.
859
+ * @deprecated
860
+ */
861
+ couponId?: string;
862
+ /** Discount items. */
863
+ discounts?: DiscountItem[];
864
+ }
865
+ interface DiscountItem extends DiscountItemDiscountOneOf {
866
+ /** Coupon discount. */
867
+ coupon?: CouponDiscount;
868
+ /** Pricing plan discount. */
869
+ paidPlan?: PaidPlanDiscount;
870
+ /** Total discount amount. */
871
+ amount?: Money;
872
+ }
873
+ /** @oneof */
874
+ interface DiscountItemDiscountOneOf {
875
+ /** Coupon discount. */
876
+ coupon?: CouponDiscount;
877
+ /** Pricing plan discount. */
878
+ paidPlan?: PaidPlanDiscount;
879
+ }
880
+ interface CouponDiscount {
881
+ /** Discount coupon name. **Deprecated:** Use `invoice.discounts.coupon.name` instead. */
882
+ name?: string;
883
+ /** Discount coupon code. **Deprecated:** Use `invoice.discounts.coupon.code` instead. */
884
+ code?: string;
885
+ /** Discount coupon ID. **Deprecated:** Use `invoice.discounts.coupon.couponId` instead. */
886
+ couponId?: string;
887
+ }
888
+ interface PaidPlanDiscount extends PaidPlanDiscountDiscountOneOf {
889
+ /** Discount by percentage applied to tickets. */
890
+ percentDiscount?: PercentDiscount;
891
+ /** Name of pricing plan. */
892
+ name?: string;
893
+ }
894
+ /** @oneof */
895
+ interface PaidPlanDiscountDiscountOneOf {
896
+ /** Discount by percentage applied to tickets. */
897
+ percentDiscount?: PercentDiscount;
898
+ }
899
+ interface PercentDiscount {
900
+ /**
901
+ * Percent rate.
902
+ * @decimalValue options { gte:0.01, lte:100, maxScale:2 }
903
+ */
904
+ rate?: string;
905
+ /** Number of discounted tickets. */
906
+ quantityDiscounted?: number;
907
+ }
908
+ interface Tax {
909
+ /** Tax type. */
910
+ type?: TaxTypeWithLiterals;
911
+ /**
912
+ * Tax name.
913
+ * @readonly
914
+ */
915
+ name?: string;
916
+ /**
917
+ * Tax rate.
918
+ * @format DECIMAL_VALUE
919
+ */
920
+ rate?: string;
921
+ /** Taxable amount. */
922
+ taxable?: Money;
923
+ /** Total tax amount. */
924
+ amount?: Money;
925
+ }
926
+ declare enum TaxType {
927
+ /** Tax is included in the ticket price. */
928
+ INCLUDED = "INCLUDED",
929
+ /** Tax is added to the order at the checkout. */
930
+ ADDED = "ADDED",
931
+ /** Tax is added to the final total at the checkout. */
932
+ ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
933
+ }
934
+ /** @enumType */
935
+ type TaxTypeWithLiterals = TaxType | 'INCLUDED' | 'ADDED' | 'ADDED_AT_CHECKOUT';
936
+ interface Fee {
937
+ /** Fee identifier. */
938
+ name?: FeeNameWithLiterals;
939
+ /** How fee is calculated. */
940
+ type?: FeeTypeWithLiterals;
941
+ /**
942
+ * Fee rate.
943
+ * @format DECIMAL_VALUE
944
+ * @readonly
945
+ */
946
+ rate?: string;
947
+ /** Total amount of fee charges. */
948
+ amount?: Money;
949
+ }
950
+ declare enum FeeName {
951
+ /** Wix ticket service fee charges applied to the line item. */
952
+ WIX_FEE = "WIX_FEE"
953
+ }
954
+ /** @enumType */
955
+ type FeeNameWithLiterals = FeeName | 'WIX_FEE';
956
+ declare enum FeeType {
957
+ /** Fee is added to the ticket price at checkout. */
958
+ FEE_ADDED = "FEE_ADDED",
959
+ /** Seller absorbs the fee. It's deducted from the ticket price. */
960
+ FEE_INCLUDED = "FEE_INCLUDED",
961
+ /** Fee is added to the ticket price at checkout. */
962
+ FEE_ADDED_AT_CHECKOUT = "FEE_ADDED_AT_CHECKOUT"
963
+ }
964
+ /** @enumType */
965
+ type FeeTypeWithLiterals = FeeType | 'FEE_ADDED' | 'FEE_INCLUDED' | 'FEE_ADDED_AT_CHECKOUT';
966
+ interface GuestEventCanceled {
967
+ /** Event guest. */
968
+ guest?: EventGuest;
969
+ /** Event context. */
970
+ event?: EventDetails;
971
+ }
972
+ interface GuestEventStarts {
973
+ /** Event guest. */
974
+ guest?: EventGuest;
975
+ /** Event context. */
976
+ event?: EventDetails;
977
+ /** Timing */
978
+ timing?: TimingWithLiterals;
979
+ }
980
+ interface GuestOrderCanceled {
981
+ /** Event guest. */
982
+ guest?: EventGuest;
983
+ /** Event context. */
984
+ event?: EventDetails;
985
+ /** Order context. */
986
+ order?: OrderDetails;
987
+ }
988
+ interface DomainEvent extends DomainEventBodyOneOf {
989
+ createdEvent?: EntityCreatedEvent;
990
+ updatedEvent?: EntityUpdatedEvent;
991
+ deletedEvent?: EntityDeletedEvent;
992
+ actionEvent?: ActionEvent;
993
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
994
+ id?: string;
995
+ /**
996
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
997
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
998
+ */
999
+ entityFqdn?: string;
1000
+ /**
1001
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1002
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1003
+ */
1004
+ slug?: string;
1005
+ /** ID of the entity associated with the event. */
1006
+ entityId?: string;
1007
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1008
+ eventTime?: Date | null;
1009
+ /**
1010
+ * Whether the event was triggered as a result of a privacy regulation application
1011
+ * (for example, GDPR).
1012
+ */
1013
+ triggeredByAnonymizeRequest?: boolean | null;
1014
+ /** If present, indicates the action that triggered the event. */
1015
+ originatedFrom?: string | null;
1016
+ /**
1017
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1018
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1019
+ */
1020
+ entityEventSequence?: string | null;
1021
+ }
1022
+ /** @oneof */
1023
+ interface DomainEventBodyOneOf {
1024
+ createdEvent?: EntityCreatedEvent;
1025
+ updatedEvent?: EntityUpdatedEvent;
1026
+ deletedEvent?: EntityDeletedEvent;
1027
+ actionEvent?: ActionEvent;
1028
+ }
1029
+ interface EntityCreatedEvent {
1030
+ entityAsJson?: string;
1031
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
1032
+ restoreInfo?: RestoreInfo;
1033
+ }
1034
+ interface RestoreInfo {
1035
+ deletedDate?: Date | null;
1036
+ }
1037
+ interface EntityUpdatedEvent {
1038
+ /**
1039
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1040
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1041
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1042
+ */
1043
+ currentEntityAsJson?: string;
1044
+ }
1045
+ interface EntityDeletedEvent {
1046
+ /** Entity that was deleted. */
1047
+ deletedEntityAsJson?: string | null;
1048
+ }
1049
+ interface ActionEvent {
1050
+ bodyAsJson?: string;
1051
+ }
1052
+ interface MessageEnvelope {
1053
+ /**
1054
+ * App instance ID.
1055
+ * @format GUID
1056
+ */
1057
+ instanceId?: string | null;
1058
+ /**
1059
+ * Event type.
1060
+ * @maxLength 150
1061
+ */
1062
+ eventType?: string;
1063
+ /** The identification type and identity data. */
1064
+ identity?: IdentificationData;
1065
+ /** Stringify payload. */
1066
+ data?: string;
1067
+ }
1068
+ interface IdentificationData extends IdentificationDataIdOneOf {
1069
+ /**
1070
+ * ID of a site visitor that has not logged in to the site.
1071
+ * @format GUID
1072
+ */
1073
+ anonymousVisitorId?: string;
1074
+ /**
1075
+ * ID of a site visitor that has logged in to the site.
1076
+ * @format GUID
1077
+ */
1078
+ memberId?: string;
1079
+ /**
1080
+ * ID of a Wix user (site owner, contributor, etc.).
1081
+ * @format GUID
1082
+ */
1083
+ wixUserId?: string;
1084
+ /**
1085
+ * ID of an app.
1086
+ * @format GUID
1087
+ */
1088
+ appId?: string;
1089
+ /** @readonly */
1090
+ identityType?: WebhookIdentityTypeWithLiterals;
1091
+ }
1092
+ /** @oneof */
1093
+ interface IdentificationDataIdOneOf {
1094
+ /**
1095
+ * ID of a site visitor that has not logged in to the site.
1096
+ * @format GUID
1097
+ */
1098
+ anonymousVisitorId?: string;
1099
+ /**
1100
+ * ID of a site visitor that has logged in to the site.
1101
+ * @format GUID
1102
+ */
1103
+ memberId?: string;
1104
+ /**
1105
+ * ID of a Wix user (site owner, contributor, etc.).
1106
+ * @format GUID
1107
+ */
1108
+ wixUserId?: string;
1109
+ /**
1110
+ * ID of an app.
1111
+ * @format GUID
1112
+ */
1113
+ appId?: string;
1114
+ }
1115
+ declare enum WebhookIdentityType {
1116
+ UNKNOWN = "UNKNOWN",
1117
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1118
+ MEMBER = "MEMBER",
1119
+ WIX_USER = "WIX_USER",
1120
+ APP = "APP"
1121
+ }
1122
+ /** @enumType */
1123
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
189
1124
  interface QueryEventGuestsRequest {
190
1125
  /** Query options. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more details. */
191
1126
  query: QueryV2;
@@ -298,6 +1233,359 @@ interface Cursors {
298
1233
  */
299
1234
  prev?: string | null;
300
1235
  }
1236
+ interface StreamEventGuestsRequest {
1237
+ /** Filter. */
1238
+ filter?: Record<string, any> | null;
1239
+ /** Task context. */
1240
+ taskContext?: TaskContext;
1241
+ }
1242
+ interface Empty {
1243
+ }
1244
+ interface SecondaryLanguagesRequest {
1245
+ /**
1246
+ * Guest event id.
1247
+ * @format GUID
1248
+ */
1249
+ eventId?: string;
1250
+ }
1251
+ interface SecondaryLanguagesResponse {
1252
+ /**
1253
+ * Aggregated guests secondary languages.
1254
+ * @format LANGUAGE
1255
+ */
1256
+ secondaryLanguages?: string[];
1257
+ /** Aggregated guests languages. */
1258
+ languages?: Language[];
1259
+ }
1260
+ interface Language {
1261
+ /**
1262
+ * Guest language.
1263
+ * @format LANGUAGE
1264
+ */
1265
+ language?: string | null;
1266
+ /**
1267
+ * Guest locale.
1268
+ * @format LANGUAGE_TAG
1269
+ */
1270
+ locale?: string | null;
1271
+ }
1272
+ /** Triggered when an order is confirmed. */
1273
+ interface OrderConfirmed {
1274
+ /** Date and time the order was confirmed. */
1275
+ timestamp?: Date | null;
1276
+ /**
1277
+ * Site language when the order was initiated.
1278
+ * @format LANGUAGE
1279
+ */
1280
+ language?: string | null;
1281
+ /** Notifications silenced for this domain event. */
1282
+ silent?: boolean | null;
1283
+ /**
1284
+ * Locale in which the order was created.
1285
+ * @format LANGUAGE_TAG
1286
+ */
1287
+ locale?: string | null;
1288
+ /**
1289
+ * Event ID to which the order belongs.
1290
+ * @format GUID
1291
+ */
1292
+ eventId?: string;
1293
+ /** Unique order number. */
1294
+ orderNumber?: string;
1295
+ /** Contact ID associated with the order. */
1296
+ contactId?: string;
1297
+ /**
1298
+ * Member ID associated with the order.
1299
+ * @format GUID
1300
+ */
1301
+ memberId?: string | null;
1302
+ /**
1303
+ * Date and time the order was created.
1304
+ * @readonly
1305
+ */
1306
+ created?: Date | null;
1307
+ /** Buyer first name. */
1308
+ firstName?: string;
1309
+ /** Buyer last name. */
1310
+ lastName?: string;
1311
+ /** Buyer email address. */
1312
+ email?: string;
1313
+ /** Checkout form response. */
1314
+ checkoutForm?: FormResponse;
1315
+ /** Order status. */
1316
+ status?: OrderStatusWithLiterals;
1317
+ /** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
1318
+ method?: string | null;
1319
+ /** Tickets (generated after payment). */
1320
+ tickets?: Ticket[];
1321
+ /** Invoice. */
1322
+ invoice?: Invoice;
1323
+ /** Reservation ID associated with the order. */
1324
+ reservationId?: string;
1325
+ }
1326
+ interface Ticket {
1327
+ /** Unique issued ticket number. */
1328
+ ticketNumber?: string;
1329
+ /**
1330
+ * Ticket definition ID.
1331
+ * @format GUID
1332
+ */
1333
+ ticketDefinitionId?: string;
1334
+ /** Ticket check-in. */
1335
+ checkIn?: CheckIn;
1336
+ /** Ticket price. */
1337
+ price?: Money;
1338
+ /** Whether ticket is archived. */
1339
+ archived?: boolean;
1340
+ /** Guest first name. */
1341
+ firstName?: string | null;
1342
+ /** Guest last name. */
1343
+ lastName?: string | null;
1344
+ /** Guest email. */
1345
+ email?: string | null;
1346
+ /**
1347
+ * Contact ID associated with this ticket.
1348
+ * @format GUID
1349
+ */
1350
+ contactId?: string | null;
1351
+ /** Whether ticket is confirmed */
1352
+ confirmed?: boolean;
1353
+ /**
1354
+ * Member ID associated with this ticket.
1355
+ * @format GUID
1356
+ */
1357
+ memberId?: string | null;
1358
+ /** Ticket form response (only assigned tickets contain separate forms). */
1359
+ form?: FormResponse;
1360
+ /** Ticket name. */
1361
+ ticketName?: string;
1362
+ /** Anonymized tickets no longer contain personally identifiable information (PII). */
1363
+ anonymized?: boolean;
1364
+ /** URL and password to online conference */
1365
+ onlineConferencingLogin?: OnlineConferencingLogin;
1366
+ /**
1367
+ * Seat ID associated with this ticket.
1368
+ * @maxLength 36
1369
+ */
1370
+ seatId?: string | null;
1371
+ /** Whether ticket is canceled. */
1372
+ canceled?: boolean | null;
1373
+ }
1374
+ interface CheckIn {
1375
+ /** Time of a ticket's check-in. */
1376
+ created?: Date | null;
1377
+ }
1378
+ /** Triggered when an order is updated. */
1379
+ interface OrderUpdated {
1380
+ /** Date and time the order was updated. */
1381
+ timestamp?: Date | null;
1382
+ /**
1383
+ * Site language when the order was initiated.
1384
+ * @format LANGUAGE
1385
+ */
1386
+ language?: string | null;
1387
+ /**
1388
+ * Locale in which the order was created.
1389
+ * @format LANGUAGE_TAG
1390
+ */
1391
+ locale?: string | null;
1392
+ /**
1393
+ * Event ID to which the order belongs.
1394
+ * @format GUID
1395
+ */
1396
+ eventId?: string;
1397
+ /** Unique order number. */
1398
+ orderNumber?: string;
1399
+ /** Contact ID associated with the order. */
1400
+ contactId?: string;
1401
+ /**
1402
+ * Member ID associated with the order.
1403
+ * @format GUID
1404
+ */
1405
+ memberId?: string | null;
1406
+ /**
1407
+ * Date and time the order was created.
1408
+ * @readonly
1409
+ */
1410
+ created?: Date | null;
1411
+ /**
1412
+ * Date and time the order was updated.
1413
+ * @readonly
1414
+ */
1415
+ updated?: Date | null;
1416
+ /** Buyer first name. */
1417
+ firstName?: string;
1418
+ /** Buyer last name. */
1419
+ lastName?: string;
1420
+ /** Buyer email. */
1421
+ email?: string;
1422
+ /** Checkout form response. */
1423
+ checkoutForm?: FormResponse;
1424
+ /** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */
1425
+ confirmed?: boolean;
1426
+ /** Order status. */
1427
+ status?: OrderStatusWithLiterals;
1428
+ /** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
1429
+ method?: string | null;
1430
+ /** Tickets generated after payment. */
1431
+ tickets?: Ticket[];
1432
+ /** Whether order was archived and excluded from results. */
1433
+ archived?: boolean;
1434
+ /** Whether event was triggered by GDPR delete request. */
1435
+ triggeredByAnonymizeRequest?: boolean;
1436
+ }
1437
+ /** Triggered when an order is deleted. */
1438
+ interface OrderDeleted {
1439
+ /** Date and time the order was deleted. */
1440
+ timestamp?: Date | null;
1441
+ /**
1442
+ * Event ID to which the order belongs.
1443
+ * @format GUID
1444
+ */
1445
+ eventId?: string;
1446
+ /** Unique order number. */
1447
+ orderNumber?: string;
1448
+ /** Contact ID associated with the order. */
1449
+ contactId?: string;
1450
+ /**
1451
+ * Member ID associated with the order.
1452
+ * @format GUID
1453
+ */
1454
+ memberId?: string | null;
1455
+ /**
1456
+ * Date and time the order was created.
1457
+ * @readonly
1458
+ */
1459
+ created?: Date | null;
1460
+ /**
1461
+ * Date and time the order was updated.
1462
+ * @readonly
1463
+ */
1464
+ updated?: Date | null;
1465
+ /** Whether the order was anonymized by GDPR delete. */
1466
+ anonymized?: boolean;
1467
+ /** Order type. */
1468
+ orderType?: OrderTypeWithLiterals;
1469
+ /** Whether the event was triggered by GDPR delete request. */
1470
+ triggeredByAnonymizeRequest?: boolean;
1471
+ /** Tickets generated after payment. */
1472
+ tickets?: Ticket[];
1473
+ }
1474
+ declare enum OrderType {
1475
+ /** Buyer form is used for all tickets. */
1476
+ UNASSIGNED_TICKETS = "UNASSIGNED_TICKETS",
1477
+ /** Each order ticket has its own form. */
1478
+ ASSIGNED_TICKETS = "ASSIGNED_TICKETS"
1479
+ }
1480
+ /** @enumType */
1481
+ type OrderTypeWithLiterals = OrderType | 'UNASSIGNED_TICKETS' | 'ASSIGNED_TICKETS';
1482
+ interface EventDeleted {
1483
+ /** Event deleted timestamp in ISO UTC format. */
1484
+ timestamp?: Date | null;
1485
+ /**
1486
+ * Event ID.
1487
+ * @format GUID
1488
+ */
1489
+ eventId?: string;
1490
+ /** Event title. */
1491
+ title?: string;
1492
+ /**
1493
+ * Event creator user ID.
1494
+ * @format GUID
1495
+ */
1496
+ userId?: string | null;
1497
+ }
1498
+ interface Task {
1499
+ key?: TaskKey;
1500
+ executeAt?: Date | null;
1501
+ payload?: string | null;
1502
+ }
1503
+ interface TaskKey {
1504
+ appId?: string;
1505
+ instanceId?: string;
1506
+ subjectId?: string | null;
1507
+ }
1508
+ interface ListGuestListPreviewsRequest {
1509
+ /**
1510
+ * Event ids.
1511
+ * @format GUID
1512
+ * @maxSize 50
1513
+ */
1514
+ eventIds?: string[];
1515
+ /** Cursor paging. */
1516
+ cursorPaging?: CursorPaging;
1517
+ /**
1518
+ * Requested fields.
1519
+ * @maxSize 5
1520
+ */
1521
+ fields?: RequestedFieldsWithLiterals[];
1522
+ }
1523
+ declare enum RequestedFields {
1524
+ /** Unknown requested field. */
1525
+ UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
1526
+ /** Member guests. */
1527
+ MEMBER_GUESTS = "MEMBER_GUESTS",
1528
+ /** Waitlist count. */
1529
+ WAITLIST_COUNT = "WAITLIST_COUNT"
1530
+ }
1531
+ /** @enumType */
1532
+ type RequestedFieldsWithLiterals = RequestedFields | 'UNKNOWN_REQUESTED_FIELD' | 'MEMBER_GUESTS' | 'WAITLIST_COUNT';
1533
+ interface ListGuestListPreviewsResponse {
1534
+ /**
1535
+ * List of guests.
1536
+ * @maxSize 50
1537
+ */
1538
+ previews?: GuestListPreview[];
1539
+ /** Metadata for the paginated results. */
1540
+ pagingMetadata?: PagingMetadataV2;
1541
+ }
1542
+ interface GuestListPreview {
1543
+ /**
1544
+ * Event id.
1545
+ * @format GUID
1546
+ */
1547
+ eventId?: string;
1548
+ /** Attending guests count. */
1549
+ attending?: GuestCount;
1550
+ /** Waiting guests count. */
1551
+ inWaitlist?: GuestCount;
1552
+ /** Not attending guests count. */
1553
+ notAttending?: GuestCount;
1554
+ /** Latest attending members. */
1555
+ latestAttendingMembers?: MemberGuests;
1556
+ /** If present, indicates that current member is attending. */
1557
+ currentMemberGuest?: MemberGuest;
1558
+ }
1559
+ interface GuestCount {
1560
+ /** Total guest count. For Rsvp Event every RSVP guest and additional guest count, for Ticketed Event count of TICKET_HOLDER */
1561
+ totalEventGuests?: number;
1562
+ /** EventGuest count (RSVP, TICKET_HOLDER, BUYER); */
1563
+ count?: number;
1564
+ }
1565
+ interface MemberGuests {
1566
+ /**
1567
+ * Member guests
1568
+ * @maxSize 8
1569
+ */
1570
+ guests?: MemberGuest[];
1571
+ }
1572
+ interface MemberGuest {
1573
+ /**
1574
+ * Member id
1575
+ * @format GUID
1576
+ */
1577
+ memberId?: string;
1578
+ }
1579
+ interface UpdateGuestRequest {
1580
+ /** Updated guest */
1581
+ guest?: EventGuest;
1582
+ /** Guest revision */
1583
+ revision?: string | null;
1584
+ }
1585
+ interface UpdateGuestResponse {
1586
+ /** Updated guest */
1587
+ guest?: EventGuest;
1588
+ }
301
1589
 
302
1590
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
303
1591
  getUrl: (context: any) => string;
@@ -311,4 +1599,4 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
311
1599
  };
312
1600
  declare function queryGuests(): __PublicMethodMetaInfo<'POST', {}, QueryEventGuestsRequest$1, QueryEventGuestsRequest, QueryEventGuestsResponse$1, QueryEventGuestsResponse>;
313
1601
 
314
- export { type __PublicMethodMetaInfo, queryGuests };
1602
+ export { type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, AttendanceStatus as AttendanceStatusOriginal, type AttendanceStatusWithLiterals as AttendanceStatusWithLiteralsOriginal, type CheckIn as CheckInOriginal, type CommonAddressLocation as CommonAddressLocationOriginal, type CommonAddress as CommonAddressOriginal, type CommonAddressStreetOneOf as CommonAddressStreetOneOfOriginal, type CommonStreetAddress as CommonStreetAddressOriginal, type CommonSubdivision as CommonSubdivisionOriginal, type ContactEventStatusUpdated as ContactEventStatusUpdatedOriginal, type CouponDiscount as CouponDiscountOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DateAndTimeSettings as DateAndTimeSettingsOriginal, type DiscountItemDiscountOneOf as DiscountItemDiscountOneOfOriginal, type DiscountItem as DiscountItemOriginal, type Discount as DiscountOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EventDeleted as EventDeletedOriginal, type EventDetails as EventDetailsOriginal, type EventGuest as EventGuestOriginal, EventType as EventTypeOriginal, type EventTypeWithLiterals as EventTypeWithLiteralsOriginal, FeeName as FeeNameOriginal, type FeeNameWithLiterals as FeeNameWithLiteralsOriginal, type Fee as FeeOriginal, FeeType as FeeTypeOriginal, type FeeTypeWithLiterals as FeeTypeWithLiteralsOriginal, type FormResponse as FormResponseOriginal, type FormattedAddress as FormattedAddressOriginal, type Formatted as FormattedOriginal, type GuestCheckedIn as GuestCheckedInOriginal, type GuestCount as GuestCountOriginal, type GuestCountUpdate as GuestCountUpdateOriginal, type GuestCountUpdated as GuestCountUpdatedOriginal, type GuestDetails as GuestDetailsOriginal, type GuestEventCanceled as GuestEventCanceledOriginal, type GuestEventStarts as GuestEventStartsOriginal, type GuestListPreview as GuestListPreviewOriginal, type GuestOrderCanceled as GuestOrderCanceledOriginal, GuestType as GuestTypeOriginal, type GuestTypeWithLiterals as GuestTypeWithLiteralsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InputValue as InputValueOriginal, type Invoice as InvoiceOriginal, type Item as ItemOriginal, type Language as LanguageOriginal, type ListGuestListPreviewsRequest as ListGuestListPreviewsRequestOriginal, type ListGuestListPreviewsResponse as ListGuestListPreviewsResponseOriginal, type Location as LocationOriginal, LocationType as LocationTypeOriginal, type LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal, MemberEventStatusUpdatedEventType as MemberEventStatusUpdatedEventTypeOriginal, type MemberEventStatusUpdatedEventTypeWithLiterals as MemberEventStatusUpdatedEventTypeWithLiteralsOriginal, type MemberEventStatusUpdated as MemberEventStatusUpdatedOriginal, type MemberGuest as MemberGuestOriginal, type MemberGuests as MemberGuestsOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Money as MoneyOriginal, NotifyActionType as NotifyActionTypeOriginal, type NotifyActionTypeWithLiterals as NotifyActionTypeWithLiteralsOriginal, type NotifyGuestAction as NotifyGuestActionOriginal, type Occurrence as OccurrenceOriginal, type OnlineConferencingLogin as OnlineConferencingLoginOriginal, type OrderConfirmed as OrderConfirmedOriginal, type OrderDeleted as OrderDeletedOriginal, type OrderDetails as OrderDetailsOriginal, OrderStatus as OrderStatusOriginal, type OrderStatusWithLiterals as OrderStatusWithLiteralsOriginal, OrderType as OrderTypeOriginal, type OrderTypeWithLiterals as OrderTypeWithLiteralsOriginal, type OrderUpdated as OrderUpdatedOriginal, type PageUrl as PageUrlOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type PaidPlanDiscountDiscountOneOf as PaidPlanDiscountDiscountOneOfOriginal, type PaidPlanDiscount as PaidPlanDiscountOriginal, type PercentDiscount as PercentDiscountOriginal, type QueryEventGuestsRequest as QueryEventGuestsRequestOriginal, type QueryEventGuestsResponse as QueryEventGuestsResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, RecurrenceStatusStatus as RecurrenceStatusStatusOriginal, type RecurrenceStatusStatusWithLiterals as RecurrenceStatusStatusWithLiteralsOriginal, type Recurrences as RecurrencesOriginal, RequestedFieldsEnumRequestedFields as RequestedFieldsEnumRequestedFieldsOriginal, type RequestedFieldsEnumRequestedFieldsWithLiterals as RequestedFieldsEnumRequestedFieldsWithLiteralsOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type SecondaryLanguagesRequest as SecondaryLanguagesRequestOriginal, type SecondaryLanguagesResponse as SecondaryLanguagesResponseOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type StandardDetails as StandardDetailsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StreamEventGuestsRequest as StreamEventGuestsRequestOriginal, type StreetAddress as StreetAddressOriginal, type Subdivision as SubdivisionOriginal, SubdivisionSubdivisionType as SubdivisionSubdivisionTypeOriginal, type SubdivisionSubdivisionTypeWithLiterals as SubdivisionSubdivisionTypeWithLiteralsOriginal, SubdivisionType as SubdivisionTypeOriginal, type SubdivisionTypeWithLiterals as SubdivisionTypeWithLiteralsOriginal, type TaskContext as TaskContextOriginal, type TaskKey as TaskKeyOriginal, type Task as TaskOriginal, type Tax as TaxOriginal, TaxType as TaxTypeOriginal, type TaxTypeWithLiterals as TaxTypeWithLiteralsOriginal, type TicketDetails as TicketDetailsOriginal, type TicketGuestDetails as TicketGuestDetailsOriginal, type Ticket as TicketOriginal, Timing as TimingOriginal, type TimingWithLiterals as TimingWithLiteralsOriginal, type UpdateGuestRequest as UpdateGuestRequestOriginal, type UpdateGuestResponse as UpdateGuestResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, queryGuests };