@wix/events 1.0.289 → 1.0.290

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/events",
3
- "version": "1.0.289",
3
+ "version": "1.0.290",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "@wix/events_categories": "1.0.41",
22
22
  "@wix/events_forms": "1.0.43",
23
- "@wix/events_guests": "1.0.57",
23
+ "@wix/events_guests": "1.0.58",
24
24
  "@wix/events_notifications": "1.0.31",
25
25
  "@wix/events_orders": "1.0.46",
26
26
  "@wix/events_policies": "1.0.40",
@@ -58,5 +58,5 @@
58
58
  "fqdn": ""
59
59
  }
60
60
  },
61
- "falconPackageHash": "c394805db3d2d5b5cad868c6cd1624fd76de1180d956dbca03301d8f"
61
+ "falconPackageHash": "2fcda6a322529bb69a387955e30cce95b03722d0419d926342f83729"
62
62
  }
@@ -521,14 +521,243 @@ interface NotifyGuestAction {
521
521
  interface TaskContext {
522
522
  /** Task id. */
523
523
  _id?: string | null;
524
- /** Notify action type */
524
+ /** Notify action type. */
525
525
  type?: NotifyActionType;
526
+ /** Timing. Used for EVENT_STARTED */
527
+ timing?: Timing;
528
+ /** Event context. */
529
+ event?: EventDetails;
530
+ /** Order context. */
531
+ order?: OrderDetails;
526
532
  }
527
533
  declare enum NotifyActionType {
528
534
  UNKNOWN = "UNKNOWN",
529
535
  EMAIL = "EMAIL",
530
536
  AUTOMATION_TRIGGER = "AUTOMATION_TRIGGER",
531
- PUSH = "PUSH"
537
+ PUSH = "PUSH",
538
+ EVENT_CANCELED = "EVENT_CANCELED",
539
+ EVENT_REMINDER = "EVENT_REMINDER",
540
+ EVENT_STARTS = "EVENT_STARTS",
541
+ ORDER_CANCELED = "ORDER_CANCELED"
542
+ }
543
+ declare enum Timing {
544
+ /** Default value. This value is unused. */
545
+ UNKNOWN_TIMING = "UNKNOWN_TIMING",
546
+ /** Instant */
547
+ INSTANT = "INSTANT",
548
+ /** 24 hours prior */
549
+ BEFORE_1_DAY = "BEFORE_1_DAY",
550
+ /** 3 days prior */
551
+ BEFORE_3_DAYS = "BEFORE_3_DAYS",
552
+ /** 7 days prior */
553
+ BEFORE_1_WEEK = "BEFORE_1_WEEK",
554
+ /** 1 hour prior */
555
+ BEFORE_1_HOUR = "BEFORE_1_HOUR",
556
+ /** 30 minutes prior */
557
+ BEFORE_30_MINUTES = "BEFORE_30_MINUTES"
558
+ }
559
+ interface OrderDetails {
560
+ /** Order status */
561
+ orderStatus?: OrderStatus$3;
562
+ /** Invoice */
563
+ invoice?: Invoice$2;
564
+ }
565
+ declare enum OrderStatus$3 {
566
+ /** Order status not available for this request fieldset */
567
+ NA_ORDER_STATUS = "NA_ORDER_STATUS",
568
+ /** Order is confirmed, no payment required */
569
+ FREE = "FREE",
570
+ /** Order was paid but payment gateway suspended the payment. Eventually changes to PAID */
571
+ PENDING = "PENDING",
572
+ /** Order paid via payment gateway */
573
+ PAID = "PAID",
574
+ /** Order confirmed but has to be paid via offline payment and status manually updated to PAID */
575
+ OFFLINE_PENDING = "OFFLINE_PENDING",
576
+ /** Order is awaiting for payment in Cashier */
577
+ INITIATED = "INITIATED",
578
+ /** Order was canceled */
579
+ CANCELED = "CANCELED",
580
+ /** Order payment was declined */
581
+ DECLINED = "DECLINED",
582
+ /** Order payment was authorized */
583
+ AUTHORIZED = "AUTHORIZED",
584
+ /** Order payment was voided */
585
+ VOIDED = "VOIDED"
586
+ }
587
+ interface Invoice$2 {
588
+ items?: Item$3[];
589
+ /**
590
+ * Total cart amount.
591
+ * @deprecated
592
+ */
593
+ total?: Money$8;
594
+ /** Discount applied to cart. */
595
+ discount?: Discount$2;
596
+ /** Tax applied to cart. */
597
+ tax?: Tax$2;
598
+ /** Total cart amount before discount, tax, and fees. */
599
+ subTotal?: Money$8;
600
+ /**
601
+ * Total amount of cart after discount, tax, and fees.
602
+ * Grand total is calculated in the following order:
603
+ * 1. Total prices of all items in the cart are calculated.
604
+ * 2. Discount is subtracted from the cart (if applicable).
605
+ * 3. Tax is added (if applicable).
606
+ * 4. Wix service fee is added.
607
+ */
608
+ grandTotal?: Money$8;
609
+ /**
610
+ * Fees applied to the cart.
611
+ * @readonly
612
+ */
613
+ fees?: Fee$2[];
614
+ /** Total revenue, excluding fees. (Taxes and payment provider fees are not deducted). */
615
+ revenue?: Money$8;
616
+ /** URL to invoice preview. Returned only if order is paid. */
617
+ previewUrl?: string | null;
618
+ }
619
+ interface Item$3 {
620
+ /** Unique line item ID. */
621
+ _id?: string;
622
+ /** Line item quantity. */
623
+ quantity?: number;
624
+ /** Line item mame. */
625
+ name?: string;
626
+ /** Line item price. */
627
+ price?: Money$8;
628
+ /** Total price for line items. Always equal to price * quantity. */
629
+ total?: Money$8;
630
+ /** Discount applied to the line item. */
631
+ discount?: Discount$2;
632
+ /** Tax applied to the item. */
633
+ tax?: Tax$2;
634
+ /**
635
+ * Fees applied to the item.
636
+ * @readonly
637
+ */
638
+ fees?: Fee$2[];
639
+ }
640
+ interface Money$8 {
641
+ /**
642
+ * *Deprecated:** Use `value` instead.
643
+ * @deprecated
644
+ */
645
+ amount?: string;
646
+ /** ISO 4217 format of the currency e.g., `USD`. */
647
+ currency?: string;
648
+ /** 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. */
649
+ value?: string | null;
650
+ }
651
+ interface Discount$2 {
652
+ /** Total discount amount. */
653
+ amount?: Money$8;
654
+ /** Total charge after applied discount. */
655
+ afterDiscount?: Money$8;
656
+ /**
657
+ * Discount coupon code.
658
+ * @deprecated
659
+ */
660
+ code?: string;
661
+ /**
662
+ * Discount coupon name.
663
+ * @deprecated
664
+ */
665
+ name?: string;
666
+ /**
667
+ * Discount coupon ID.
668
+ * @deprecated
669
+ */
670
+ couponId?: string;
671
+ /** Discount items. */
672
+ discounts?: DiscountItem$2[];
673
+ }
674
+ interface DiscountItem$2 extends DiscountItemDiscountOneOf$2 {
675
+ /** Coupon discount. */
676
+ coupon?: CouponDiscount$2;
677
+ /** Pricing plan discount. */
678
+ paidPlan?: PaidPlanDiscount$2;
679
+ /** Total discount amount. */
680
+ amount?: Money$8;
681
+ }
682
+ /** @oneof */
683
+ interface DiscountItemDiscountOneOf$2 {
684
+ /** Coupon discount. */
685
+ coupon?: CouponDiscount$2;
686
+ /** Pricing plan discount. */
687
+ paidPlan?: PaidPlanDiscount$2;
688
+ }
689
+ interface CouponDiscount$2 {
690
+ /** Discount coupon name. */
691
+ name?: string;
692
+ /** Discount coupon code. */
693
+ code?: string;
694
+ /** Discount coupon ID. */
695
+ couponId?: string;
696
+ }
697
+ interface PaidPlanDiscount$2 extends PaidPlanDiscountDiscountOneOf$2 {
698
+ /** Discount by percentage applied to tickets. */
699
+ percentDiscount?: PercentDiscount$2;
700
+ /** Name of pricing plan. */
701
+ name?: string;
702
+ }
703
+ /** @oneof */
704
+ interface PaidPlanDiscountDiscountOneOf$2 {
705
+ /** Discount by percentage applied to tickets. */
706
+ percentDiscount?: PercentDiscount$2;
707
+ }
708
+ interface PercentDiscount$2 {
709
+ /** Percent rate. */
710
+ rate?: string;
711
+ /** Number of discounted tickets. */
712
+ quantityDiscounted?: number;
713
+ }
714
+ interface Tax$2 {
715
+ /** Tax type. */
716
+ type?: TaxType$6;
717
+ /**
718
+ * Tax name.
719
+ * @readonly
720
+ */
721
+ name?: string;
722
+ /** Tax rate. */
723
+ rate?: string;
724
+ /** Taxable amount. */
725
+ taxable?: Money$8;
726
+ /** Total tax amount. */
727
+ amount?: Money$8;
728
+ }
729
+ declare enum TaxType$6 {
730
+ /** Tax is included in the ticket price. */
731
+ INCLUDED = "INCLUDED",
732
+ /** Tax is added to the order at the checkout. */
733
+ ADDED = "ADDED",
734
+ /** Tax is added to the final total at the checkout. */
735
+ ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
736
+ }
737
+ interface Fee$2 {
738
+ /** Fee identifier. */
739
+ name?: FeeName$2;
740
+ /** How fee is calculated. */
741
+ type?: FeeType$3;
742
+ /**
743
+ * Fee rate.
744
+ * @readonly
745
+ */
746
+ rate?: string;
747
+ /** Total amount of fee charges. */
748
+ amount?: Money$8;
749
+ }
750
+ declare enum FeeName$2 {
751
+ /** Wix service fee charges applied to the line item. */
752
+ WIX_FEE = "WIX_FEE"
753
+ }
754
+ declare enum FeeType$3 {
755
+ /** Fee is added to the ticket price at checkout. */
756
+ FEE_ADDED = "FEE_ADDED",
757
+ /** Seller absorbs the fee. It is deducted from the ticket price. */
758
+ FEE_INCLUDED = "FEE_INCLUDED",
759
+ /** Fee is added to the ticket price at checkout. */
760
+ FEE_ADDED_AT_CHECKOUT = "FEE_ADDED_AT_CHECKOUT"
532
761
  }
533
762
  interface DomainEvent$9 extends DomainEventBodyOneOf$9 {
534
763
  createdEvent?: EntityCreatedEvent$9;
@@ -894,28 +1123,6 @@ interface OrderConfirmed$2 {
894
1123
  /** Reservation ID associated with this order. */
895
1124
  reservationId?: string;
896
1125
  }
897
- declare enum OrderStatus$3 {
898
- /** Order status not available for this request fieldset */
899
- NA_ORDER_STATUS = "NA_ORDER_STATUS",
900
- /** Order is confirmed, no payment required */
901
- FREE = "FREE",
902
- /** Order was paid but payment gateway suspended the payment. Eventually changes to PAID */
903
- PENDING = "PENDING",
904
- /** Order paid via payment gateway */
905
- PAID = "PAID",
906
- /** Order confirmed but has to be paid via offline payment and status manually updated to PAID */
907
- OFFLINE_PENDING = "OFFLINE_PENDING",
908
- /** Order is awaiting for payment in Cashier */
909
- INITIATED = "INITIATED",
910
- /** Order was canceled */
911
- CANCELED = "CANCELED",
912
- /** Order payment was declined */
913
- DECLINED = "DECLINED",
914
- /** Order payment was authorized */
915
- AUTHORIZED = "AUTHORIZED",
916
- /** Order payment was voided */
917
- VOIDED = "VOIDED"
918
- }
919
1126
  interface Ticket$3 {
920
1127
  /** Unique issued ticket number. */
921
1128
  ticketNumber?: string;
@@ -948,181 +1155,6 @@ interface Ticket$3 {
948
1155
  /** URL and password to online conference */
949
1156
  onlineConferencingLogin?: OnlineConferencingLogin$5;
950
1157
  }
951
- interface Money$8 {
952
- /**
953
- * *Deprecated:** Use `value` instead.
954
- * @deprecated
955
- */
956
- amount?: string;
957
- /** ISO 4217 format of the currency e.g., `USD`. */
958
- currency?: string;
959
- /** 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. */
960
- value?: string | null;
961
- }
962
- interface Invoice$2 {
963
- items?: Item$3[];
964
- /**
965
- * Total cart amount.
966
- * @deprecated
967
- */
968
- total?: Money$8;
969
- /** Discount applied to cart. */
970
- discount?: Discount$2;
971
- /** Tax applied to cart. */
972
- tax?: Tax$2;
973
- /** Total cart amount before discount, tax, and fees. */
974
- subTotal?: Money$8;
975
- /**
976
- * Total amount of cart after discount, tax, and fees.
977
- * Grand total is calculated in the following order:
978
- * 1. Total prices of all items in the cart are calculated.
979
- * 2. Discount is subtracted from the cart (if applicable).
980
- * 3. Tax is added (if applicable).
981
- * 4. Wix service fee is added.
982
- */
983
- grandTotal?: Money$8;
984
- /**
985
- * Fees applied to the cart.
986
- * @readonly
987
- */
988
- fees?: Fee$2[];
989
- /** Total revenue, excluding fees. (Taxes and payment provider fees are not deducted). */
990
- revenue?: Money$8;
991
- /** URL to invoice preview. Returned only if order is paid. */
992
- previewUrl?: string | null;
993
- }
994
- interface Item$3 {
995
- /** Unique line item ID. */
996
- _id?: string;
997
- /** Line item quantity. */
998
- quantity?: number;
999
- /** Line item mame. */
1000
- name?: string;
1001
- /** Line item price. */
1002
- price?: Money$8;
1003
- /** Total price for line items. Always equal to price * quantity. */
1004
- total?: Money$8;
1005
- /** Discount applied to the line item. */
1006
- discount?: Discount$2;
1007
- /** Tax applied to the item. */
1008
- tax?: Tax$2;
1009
- /**
1010
- * Fees applied to the item.
1011
- * @readonly
1012
- */
1013
- fees?: Fee$2[];
1014
- }
1015
- interface Discount$2 {
1016
- /** Total discount amount. */
1017
- amount?: Money$8;
1018
- /** Total charge after applied discount. */
1019
- afterDiscount?: Money$8;
1020
- /**
1021
- * Discount coupon code.
1022
- * @deprecated
1023
- */
1024
- code?: string;
1025
- /**
1026
- * Discount coupon name.
1027
- * @deprecated
1028
- */
1029
- name?: string;
1030
- /**
1031
- * Discount coupon ID.
1032
- * @deprecated
1033
- */
1034
- couponId?: string;
1035
- /** Discount items. */
1036
- discounts?: DiscountItem$2[];
1037
- }
1038
- interface DiscountItem$2 extends DiscountItemDiscountOneOf$2 {
1039
- /** Coupon discount. */
1040
- coupon?: CouponDiscount$2;
1041
- /** Pricing plan discount. */
1042
- paidPlan?: PaidPlanDiscount$2;
1043
- /** Total discount amount. */
1044
- amount?: Money$8;
1045
- }
1046
- /** @oneof */
1047
- interface DiscountItemDiscountOneOf$2 {
1048
- /** Coupon discount. */
1049
- coupon?: CouponDiscount$2;
1050
- /** Pricing plan discount. */
1051
- paidPlan?: PaidPlanDiscount$2;
1052
- }
1053
- interface CouponDiscount$2 {
1054
- /** Discount coupon name. */
1055
- name?: string;
1056
- /** Discount coupon code. */
1057
- code?: string;
1058
- /** Discount coupon ID. */
1059
- couponId?: string;
1060
- }
1061
- interface PaidPlanDiscount$2 extends PaidPlanDiscountDiscountOneOf$2 {
1062
- /** Discount by percentage applied to tickets. */
1063
- percentDiscount?: PercentDiscount$2;
1064
- /** Name of pricing plan. */
1065
- name?: string;
1066
- }
1067
- /** @oneof */
1068
- interface PaidPlanDiscountDiscountOneOf$2 {
1069
- /** Discount by percentage applied to tickets. */
1070
- percentDiscount?: PercentDiscount$2;
1071
- }
1072
- interface PercentDiscount$2 {
1073
- /** Percent rate. */
1074
- rate?: string;
1075
- /** Number of discounted tickets. */
1076
- quantityDiscounted?: number;
1077
- }
1078
- interface Tax$2 {
1079
- /** Tax type. */
1080
- type?: TaxType$6;
1081
- /**
1082
- * Tax name.
1083
- * @readonly
1084
- */
1085
- name?: string;
1086
- /** Tax rate. */
1087
- rate?: string;
1088
- /** Taxable amount. */
1089
- taxable?: Money$8;
1090
- /** Total tax amount. */
1091
- amount?: Money$8;
1092
- }
1093
- declare enum TaxType$6 {
1094
- /** Tax is included in the ticket price. */
1095
- INCLUDED = "INCLUDED",
1096
- /** Tax is added to the order at the checkout. */
1097
- ADDED = "ADDED",
1098
- /** Tax is added to the final total at the checkout. */
1099
- ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
1100
- }
1101
- interface Fee$2 {
1102
- /** Fee identifier. */
1103
- name?: FeeName$2;
1104
- /** How fee is calculated. */
1105
- type?: FeeType$3;
1106
- /**
1107
- * Fee rate.
1108
- * @readonly
1109
- */
1110
- rate?: string;
1111
- /** Total amount of fee charges. */
1112
- amount?: Money$8;
1113
- }
1114
- declare enum FeeName$2 {
1115
- /** Wix service fee charges applied to the line item. */
1116
- WIX_FEE = "WIX_FEE"
1117
- }
1118
- declare enum FeeType$3 {
1119
- /** Fee is added to the ticket price at checkout. */
1120
- FEE_ADDED = "FEE_ADDED",
1121
- /** Seller absorbs the fee. It is deducted from the ticket price. */
1122
- FEE_INCLUDED = "FEE_INCLUDED",
1123
- /** Fee is added to the ticket price at checkout. */
1124
- FEE_ADDED_AT_CHECKOUT = "FEE_ADDED_AT_CHECKOUT"
1125
- }
1126
1158
  interface OrderUpdated$2 {
1127
1159
  /** Order updated timestamp in ISO UTC format. */
1128
1160
  timestamp?: Date;
@@ -1528,6 +1560,7 @@ declare const context$f_MemberEventStatusUpdatedEventType: typeof MemberEventSta
1528
1560
  type context$f_NotifyActionType = NotifyActionType;
1529
1561
  declare const context$f_NotifyActionType: typeof NotifyActionType;
1530
1562
  type context$f_NotifyGuestAction = NotifyGuestAction;
1563
+ type context$f_OrderDetails = OrderDetails;
1531
1564
  type context$f_QueryEventGuestsOptions = QueryEventGuestsOptions;
1532
1565
  type context$f_QueryEventGuestsRequest = QueryEventGuestsRequest;
1533
1566
  type context$f_QueryEventGuestsResponse = QueryEventGuestsResponse;
@@ -1541,6 +1574,8 @@ type context$f_Task = Task;
1541
1574
  type context$f_TaskContext = TaskContext;
1542
1575
  type context$f_TaskKey = TaskKey;
1543
1576
  type context$f_TicketGuestDetails = TicketGuestDetails;
1577
+ type context$f_Timing = Timing;
1578
+ declare const context$f_Timing: typeof Timing;
1544
1579
  type context$f_UpdateGuestRequest = UpdateGuestRequest;
1545
1580
  type context$f_UpdateGuestResponse = UpdateGuestResponse;
1546
1581
  type context$f__publicOnGuestCheckedInType = _publicOnGuestCheckedInType;
@@ -1553,7 +1588,7 @@ declare const context$f_onGuestDeleted: typeof onGuestDeleted;
1553
1588
  declare const context$f_onGuestUpdated: typeof onGuestUpdated;
1554
1589
  declare const context$f_queryGuests: typeof queryGuests;
1555
1590
  declare namespace context$f {
1556
- export { type ActionEvent$9 as ActionEvent, type Address$a as Address, type AddressLocation$a as AddressLocation, type AddressStreetOneOf$a as AddressStreetOneOf, context$f_AttendanceStatus as AttendanceStatus, type BaseEventMetadata$b as BaseEventMetadata, type CheckIn$4 as CheckIn, type CommonAddress$3 as CommonAddress, type CommonAddressLocation$3 as CommonAddressLocation, type CommonAddressStreetOneOf$3 as CommonAddressStreetOneOf, type CommonStreetAddress$3 as CommonStreetAddress, type CommonSubdivision$3 as CommonSubdivision, type context$f_ContactEventStatusUpdated as ContactEventStatusUpdated, type CouponDiscount$2 as CouponDiscount, type CursorPaging$7 as CursorPaging, type Cursors$a as Cursors, type DateAndTimeSettings$1 as DateAndTimeSettings, type Discount$2 as Discount, type DiscountItem$2 as DiscountItem, type DiscountItemDiscountOneOf$2 as DiscountItemDiscountOneOf, type DomainEvent$9 as DomainEvent, type DomainEventBodyOneOf$9 as DomainEventBodyOneOf, type Empty$6 as Empty, type EntityCreatedEvent$9 as EntityCreatedEvent, type EntityDeletedEvent$9 as EntityDeletedEvent, type EntityUpdatedEvent$9 as EntityUpdatedEvent, type EventDeleted$5 as EventDeleted, type context$f_EventDetails as EventDetails, type context$f_EventGuest as EventGuest, type EventGuests$1 as EventGuests, type EventMetadata$6 as EventMetadata, EventType$5 as EventType, type Fee$2 as Fee, FeeName$2 as FeeName, FeeType$3 as FeeType, type FormResponse$5 as FormResponse, type Formatted$1 as Formatted, type FormattedAddress$5 as FormattedAddress, type Guest$4 as Guest, type context$f_GuestCheckedIn as GuestCheckedIn, type context$f_GuestCheckedInEnvelope as GuestCheckedInEnvelope, type context$f_GuestCount as GuestCount, type context$f_GuestCountUpdate as GuestCountUpdate, type context$f_GuestCountUpdated as GuestCountUpdated, type context$f_GuestCreatedEnvelope as GuestCreatedEnvelope, type context$f_GuestDeletedEnvelope as GuestDeletedEnvelope, type GuestDetails$2 as GuestDetails, type context$f_GuestListPreview as GuestListPreview, context$f_GuestType as GuestType, type context$f_GuestUpdatedEnvelope as GuestUpdatedEnvelope, type context$f_GuestsQueryBuilder as GuestsQueryBuilder, type context$f_GuestsQueryResult as GuestsQueryResult, type IdentificationData$d as IdentificationData, type IdentificationDataIdOneOf$d as IdentificationDataIdOneOf, type InputValue$5 as InputValue, type Invoice$2 as Invoice, type Item$3 as Item, type context$f_Language as Language, type context$f_ListGuestListPreviewsRequest as ListGuestListPreviewsRequest, type context$f_ListGuestListPreviewsResponse as ListGuestListPreviewsResponse, type Location$7 as Location, LocationType$7 as LocationType, type context$f_MemberEventStatusUpdated as MemberEventStatusUpdated, context$f_MemberEventStatusUpdatedEventType as MemberEventStatusUpdatedEventType, type MessageEnvelope$d as MessageEnvelope, type Money$8 as Money, context$f_NotifyActionType as NotifyActionType, type context$f_NotifyGuestAction as NotifyGuestAction, type Occurrence$7 as Occurrence, type OnlineConferencingLogin$5 as OnlineConferencingLogin, type OrderConfirmed$2 as OrderConfirmed, type OrderDeleted$1 as OrderDeleted, OrderStatus$3 as OrderStatus, OrderType$1 as OrderType, type OrderUpdated$2 as OrderUpdated, type Paging$9 as Paging, type PagingMetadataV2$9 as PagingMetadataV2, type PaidPlanDiscount$2 as PaidPlanDiscount, type PaidPlanDiscountDiscountOneOf$2 as PaidPlanDiscountDiscountOneOf, type PercentDiscount$2 as PercentDiscount, type context$f_QueryEventGuestsOptions as QueryEventGuestsOptions, type context$f_QueryEventGuestsRequest as QueryEventGuestsRequest, type context$f_QueryEventGuestsResponse as QueryEventGuestsResponse, type context$f_QueryEventGuestsResponseNonNullableFields as QueryEventGuestsResponseNonNullableFields, type QueryV2$8 as QueryV2, type QueryV2PagingMethodOneOf$8 as QueryV2PagingMethodOneOf, RecurrenceStatusStatus$1 as RecurrenceStatusStatus, type Recurrences$7 as Recurrences, RequestedFields$3 as RequestedFields, context$f_RequestedFieldsEnumRequestedFields as RequestedFieldsEnumRequestedFields, type RestoreInfo$8 as RestoreInfo, type RsvpCreated$2 as RsvpCreated, type RsvpDeleted$1 as RsvpDeleted, RsvpStatus$3 as RsvpStatus, type RsvpUpdated$2 as RsvpUpdated, type context$f_SecondaryLanguagesRequest as SecondaryLanguagesRequest, type context$f_SecondaryLanguagesResponse as SecondaryLanguagesResponse, SortOrder$a as SortOrder, type Sorting$a as Sorting, type StandardDetails$5 as StandardDetails, Status$8 as Status, type context$f_StreamEventGuestsRequest as StreamEventGuestsRequest, type StreetAddress$a as StreetAddress, type Subdivision$a as Subdivision, SubdivisionSubdivisionType$1 as SubdivisionSubdivisionType, SubdivisionType$a as SubdivisionType, type context$f_Task as Task, type context$f_TaskContext as TaskContext, type context$f_TaskKey as TaskKey, type Tax$2 as Tax, TaxType$6 as TaxType, type Ticket$3 as Ticket, type TicketDetails$2 as TicketDetails, type context$f_TicketGuestDetails as TicketGuestDetails, type context$f_UpdateGuestRequest as UpdateGuestRequest, type context$f_UpdateGuestResponse as UpdateGuestResponse, WebhookIdentityType$d as WebhookIdentityType, type context$f__publicOnGuestCheckedInType as _publicOnGuestCheckedInType, type context$f__publicOnGuestCreatedType as _publicOnGuestCreatedType, type context$f__publicOnGuestDeletedType as _publicOnGuestDeletedType, type context$f__publicOnGuestUpdatedType as _publicOnGuestUpdatedType, context$f_onGuestCheckedIn as onGuestCheckedIn, context$f_onGuestCreated as onGuestCreated, context$f_onGuestDeleted as onGuestDeleted, context$f_onGuestUpdated as onGuestUpdated, onGuestCheckedIn$1 as publicOnGuestCheckedIn, onGuestCreated$1 as publicOnGuestCreated, onGuestDeleted$1 as publicOnGuestDeleted, onGuestUpdated$1 as publicOnGuestUpdated, context$f_queryGuests as queryGuests };
1591
+ export { type ActionEvent$9 as ActionEvent, type Address$a as Address, type AddressLocation$a as AddressLocation, type AddressStreetOneOf$a as AddressStreetOneOf, context$f_AttendanceStatus as AttendanceStatus, type BaseEventMetadata$b as BaseEventMetadata, type CheckIn$4 as CheckIn, type CommonAddress$3 as CommonAddress, type CommonAddressLocation$3 as CommonAddressLocation, type CommonAddressStreetOneOf$3 as CommonAddressStreetOneOf, type CommonStreetAddress$3 as CommonStreetAddress, type CommonSubdivision$3 as CommonSubdivision, type context$f_ContactEventStatusUpdated as ContactEventStatusUpdated, type CouponDiscount$2 as CouponDiscount, type CursorPaging$7 as CursorPaging, type Cursors$a as Cursors, type DateAndTimeSettings$1 as DateAndTimeSettings, type Discount$2 as Discount, type DiscountItem$2 as DiscountItem, type DiscountItemDiscountOneOf$2 as DiscountItemDiscountOneOf, type DomainEvent$9 as DomainEvent, type DomainEventBodyOneOf$9 as DomainEventBodyOneOf, type Empty$6 as Empty, type EntityCreatedEvent$9 as EntityCreatedEvent, type EntityDeletedEvent$9 as EntityDeletedEvent, type EntityUpdatedEvent$9 as EntityUpdatedEvent, type EventDeleted$5 as EventDeleted, type context$f_EventDetails as EventDetails, type context$f_EventGuest as EventGuest, type EventGuests$1 as EventGuests, type EventMetadata$6 as EventMetadata, EventType$5 as EventType, type Fee$2 as Fee, FeeName$2 as FeeName, FeeType$3 as FeeType, type FormResponse$5 as FormResponse, type Formatted$1 as Formatted, type FormattedAddress$5 as FormattedAddress, type Guest$4 as Guest, type context$f_GuestCheckedIn as GuestCheckedIn, type context$f_GuestCheckedInEnvelope as GuestCheckedInEnvelope, type context$f_GuestCount as GuestCount, type context$f_GuestCountUpdate as GuestCountUpdate, type context$f_GuestCountUpdated as GuestCountUpdated, type context$f_GuestCreatedEnvelope as GuestCreatedEnvelope, type context$f_GuestDeletedEnvelope as GuestDeletedEnvelope, type GuestDetails$2 as GuestDetails, type context$f_GuestListPreview as GuestListPreview, context$f_GuestType as GuestType, type context$f_GuestUpdatedEnvelope as GuestUpdatedEnvelope, type context$f_GuestsQueryBuilder as GuestsQueryBuilder, type context$f_GuestsQueryResult as GuestsQueryResult, type IdentificationData$d as IdentificationData, type IdentificationDataIdOneOf$d as IdentificationDataIdOneOf, type InputValue$5 as InputValue, type Invoice$2 as Invoice, type Item$3 as Item, type context$f_Language as Language, type context$f_ListGuestListPreviewsRequest as ListGuestListPreviewsRequest, type context$f_ListGuestListPreviewsResponse as ListGuestListPreviewsResponse, type Location$7 as Location, LocationType$7 as LocationType, type context$f_MemberEventStatusUpdated as MemberEventStatusUpdated, context$f_MemberEventStatusUpdatedEventType as MemberEventStatusUpdatedEventType, type MessageEnvelope$d as MessageEnvelope, type Money$8 as Money, context$f_NotifyActionType as NotifyActionType, type context$f_NotifyGuestAction as NotifyGuestAction, type Occurrence$7 as Occurrence, type OnlineConferencingLogin$5 as OnlineConferencingLogin, type OrderConfirmed$2 as OrderConfirmed, type OrderDeleted$1 as OrderDeleted, type context$f_OrderDetails as OrderDetails, OrderStatus$3 as OrderStatus, OrderType$1 as OrderType, type OrderUpdated$2 as OrderUpdated, type Paging$9 as Paging, type PagingMetadataV2$9 as PagingMetadataV2, type PaidPlanDiscount$2 as PaidPlanDiscount, type PaidPlanDiscountDiscountOneOf$2 as PaidPlanDiscountDiscountOneOf, type PercentDiscount$2 as PercentDiscount, type context$f_QueryEventGuestsOptions as QueryEventGuestsOptions, type context$f_QueryEventGuestsRequest as QueryEventGuestsRequest, type context$f_QueryEventGuestsResponse as QueryEventGuestsResponse, type context$f_QueryEventGuestsResponseNonNullableFields as QueryEventGuestsResponseNonNullableFields, type QueryV2$8 as QueryV2, type QueryV2PagingMethodOneOf$8 as QueryV2PagingMethodOneOf, RecurrenceStatusStatus$1 as RecurrenceStatusStatus, type Recurrences$7 as Recurrences, RequestedFields$3 as RequestedFields, context$f_RequestedFieldsEnumRequestedFields as RequestedFieldsEnumRequestedFields, type RestoreInfo$8 as RestoreInfo, type RsvpCreated$2 as RsvpCreated, type RsvpDeleted$1 as RsvpDeleted, RsvpStatus$3 as RsvpStatus, type RsvpUpdated$2 as RsvpUpdated, type context$f_SecondaryLanguagesRequest as SecondaryLanguagesRequest, type context$f_SecondaryLanguagesResponse as SecondaryLanguagesResponse, SortOrder$a as SortOrder, type Sorting$a as Sorting, type StandardDetails$5 as StandardDetails, Status$8 as Status, type context$f_StreamEventGuestsRequest as StreamEventGuestsRequest, type StreetAddress$a as StreetAddress, type Subdivision$a as Subdivision, SubdivisionSubdivisionType$1 as SubdivisionSubdivisionType, SubdivisionType$a as SubdivisionType, type context$f_Task as Task, type context$f_TaskContext as TaskContext, type context$f_TaskKey as TaskKey, type Tax$2 as Tax, TaxType$6 as TaxType, type Ticket$3 as Ticket, type TicketDetails$2 as TicketDetails, type context$f_TicketGuestDetails as TicketGuestDetails, context$f_Timing as Timing, type context$f_UpdateGuestRequest as UpdateGuestRequest, type context$f_UpdateGuestResponse as UpdateGuestResponse, WebhookIdentityType$d as WebhookIdentityType, type context$f__publicOnGuestCheckedInType as _publicOnGuestCheckedInType, type context$f__publicOnGuestCreatedType as _publicOnGuestCreatedType, type context$f__publicOnGuestDeletedType as _publicOnGuestDeletedType, type context$f__publicOnGuestUpdatedType as _publicOnGuestUpdatedType, context$f_onGuestCheckedIn as onGuestCheckedIn, context$f_onGuestCreated as onGuestCreated, context$f_onGuestDeleted as onGuestDeleted, context$f_onGuestUpdated as onGuestUpdated, onGuestCheckedIn$1 as publicOnGuestCheckedIn, onGuestCreated$1 as publicOnGuestCreated, onGuestDeleted$1 as publicOnGuestDeleted, onGuestUpdated$1 as publicOnGuestUpdated, context$f_queryGuests as queryGuests };
1557
1592
  }
1558
1593
 
1559
1594
  interface NotificationConfig {
@@ -521,14 +521,243 @@ interface NotifyGuestAction {
521
521
  interface TaskContext {
522
522
  /** Task id. */
523
523
  _id?: string | null;
524
- /** Notify action type */
524
+ /** Notify action type. */
525
525
  type?: NotifyActionType;
526
+ /** Timing. Used for EVENT_STARTED */
527
+ timing?: Timing;
528
+ /** Event context. */
529
+ event?: EventDetails;
530
+ /** Order context. */
531
+ order?: OrderDetails;
526
532
  }
527
533
  declare enum NotifyActionType {
528
534
  UNKNOWN = "UNKNOWN",
529
535
  EMAIL = "EMAIL",
530
536
  AUTOMATION_TRIGGER = "AUTOMATION_TRIGGER",
531
- PUSH = "PUSH"
537
+ PUSH = "PUSH",
538
+ EVENT_CANCELED = "EVENT_CANCELED",
539
+ EVENT_REMINDER = "EVENT_REMINDER",
540
+ EVENT_STARTS = "EVENT_STARTS",
541
+ ORDER_CANCELED = "ORDER_CANCELED"
542
+ }
543
+ declare enum Timing {
544
+ /** Default value. This value is unused. */
545
+ UNKNOWN_TIMING = "UNKNOWN_TIMING",
546
+ /** Instant */
547
+ INSTANT = "INSTANT",
548
+ /** 24 hours prior */
549
+ BEFORE_1_DAY = "BEFORE_1_DAY",
550
+ /** 3 days prior */
551
+ BEFORE_3_DAYS = "BEFORE_3_DAYS",
552
+ /** 7 days prior */
553
+ BEFORE_1_WEEK = "BEFORE_1_WEEK",
554
+ /** 1 hour prior */
555
+ BEFORE_1_HOUR = "BEFORE_1_HOUR",
556
+ /** 30 minutes prior */
557
+ BEFORE_30_MINUTES = "BEFORE_30_MINUTES"
558
+ }
559
+ interface OrderDetails {
560
+ /** Order status */
561
+ orderStatus?: OrderStatus$3;
562
+ /** Invoice */
563
+ invoice?: Invoice$2;
564
+ }
565
+ declare enum OrderStatus$3 {
566
+ /** Order status not available for this request fieldset */
567
+ NA_ORDER_STATUS = "NA_ORDER_STATUS",
568
+ /** Order is confirmed, no payment required */
569
+ FREE = "FREE",
570
+ /** Order was paid but payment gateway suspended the payment. Eventually changes to PAID */
571
+ PENDING = "PENDING",
572
+ /** Order paid via payment gateway */
573
+ PAID = "PAID",
574
+ /** Order confirmed but has to be paid via offline payment and status manually updated to PAID */
575
+ OFFLINE_PENDING = "OFFLINE_PENDING",
576
+ /** Order is awaiting for payment in Cashier */
577
+ INITIATED = "INITIATED",
578
+ /** Order was canceled */
579
+ CANCELED = "CANCELED",
580
+ /** Order payment was declined */
581
+ DECLINED = "DECLINED",
582
+ /** Order payment was authorized */
583
+ AUTHORIZED = "AUTHORIZED",
584
+ /** Order payment was voided */
585
+ VOIDED = "VOIDED"
586
+ }
587
+ interface Invoice$2 {
588
+ items?: Item$3[];
589
+ /**
590
+ * Total cart amount.
591
+ * @deprecated
592
+ */
593
+ total?: Money$8;
594
+ /** Discount applied to cart. */
595
+ discount?: Discount$2;
596
+ /** Tax applied to cart. */
597
+ tax?: Tax$2;
598
+ /** Total cart amount before discount, tax, and fees. */
599
+ subTotal?: Money$8;
600
+ /**
601
+ * Total amount of cart after discount, tax, and fees.
602
+ * Grand total is calculated in the following order:
603
+ * 1. Total prices of all items in the cart are calculated.
604
+ * 2. Discount is subtracted from the cart (if applicable).
605
+ * 3. Tax is added (if applicable).
606
+ * 4. Wix service fee is added.
607
+ */
608
+ grandTotal?: Money$8;
609
+ /**
610
+ * Fees applied to the cart.
611
+ * @readonly
612
+ */
613
+ fees?: Fee$2[];
614
+ /** Total revenue, excluding fees. (Taxes and payment provider fees are not deducted). */
615
+ revenue?: Money$8;
616
+ /** URL to invoice preview. Returned only if order is paid. */
617
+ previewUrl?: string | null;
618
+ }
619
+ interface Item$3 {
620
+ /** Unique line item ID. */
621
+ _id?: string;
622
+ /** Line item quantity. */
623
+ quantity?: number;
624
+ /** Line item mame. */
625
+ name?: string;
626
+ /** Line item price. */
627
+ price?: Money$8;
628
+ /** Total price for line items. Always equal to price * quantity. */
629
+ total?: Money$8;
630
+ /** Discount applied to the line item. */
631
+ discount?: Discount$2;
632
+ /** Tax applied to the item. */
633
+ tax?: Tax$2;
634
+ /**
635
+ * Fees applied to the item.
636
+ * @readonly
637
+ */
638
+ fees?: Fee$2[];
639
+ }
640
+ interface Money$8 {
641
+ /**
642
+ * *Deprecated:** Use `value` instead.
643
+ * @deprecated
644
+ */
645
+ amount?: string;
646
+ /** ISO 4217 format of the currency e.g., `USD`. */
647
+ currency?: string;
648
+ /** 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. */
649
+ value?: string | null;
650
+ }
651
+ interface Discount$2 {
652
+ /** Total discount amount. */
653
+ amount?: Money$8;
654
+ /** Total charge after applied discount. */
655
+ afterDiscount?: Money$8;
656
+ /**
657
+ * Discount coupon code.
658
+ * @deprecated
659
+ */
660
+ code?: string;
661
+ /**
662
+ * Discount coupon name.
663
+ * @deprecated
664
+ */
665
+ name?: string;
666
+ /**
667
+ * Discount coupon ID.
668
+ * @deprecated
669
+ */
670
+ couponId?: string;
671
+ /** Discount items. */
672
+ discounts?: DiscountItem$2[];
673
+ }
674
+ interface DiscountItem$2 extends DiscountItemDiscountOneOf$2 {
675
+ /** Coupon discount. */
676
+ coupon?: CouponDiscount$2;
677
+ /** Pricing plan discount. */
678
+ paidPlan?: PaidPlanDiscount$2;
679
+ /** Total discount amount. */
680
+ amount?: Money$8;
681
+ }
682
+ /** @oneof */
683
+ interface DiscountItemDiscountOneOf$2 {
684
+ /** Coupon discount. */
685
+ coupon?: CouponDiscount$2;
686
+ /** Pricing plan discount. */
687
+ paidPlan?: PaidPlanDiscount$2;
688
+ }
689
+ interface CouponDiscount$2 {
690
+ /** Discount coupon name. */
691
+ name?: string;
692
+ /** Discount coupon code. */
693
+ code?: string;
694
+ /** Discount coupon ID. */
695
+ couponId?: string;
696
+ }
697
+ interface PaidPlanDiscount$2 extends PaidPlanDiscountDiscountOneOf$2 {
698
+ /** Discount by percentage applied to tickets. */
699
+ percentDiscount?: PercentDiscount$2;
700
+ /** Name of pricing plan. */
701
+ name?: string;
702
+ }
703
+ /** @oneof */
704
+ interface PaidPlanDiscountDiscountOneOf$2 {
705
+ /** Discount by percentage applied to tickets. */
706
+ percentDiscount?: PercentDiscount$2;
707
+ }
708
+ interface PercentDiscount$2 {
709
+ /** Percent rate. */
710
+ rate?: string;
711
+ /** Number of discounted tickets. */
712
+ quantityDiscounted?: number;
713
+ }
714
+ interface Tax$2 {
715
+ /** Tax type. */
716
+ type?: TaxType$6;
717
+ /**
718
+ * Tax name.
719
+ * @readonly
720
+ */
721
+ name?: string;
722
+ /** Tax rate. */
723
+ rate?: string;
724
+ /** Taxable amount. */
725
+ taxable?: Money$8;
726
+ /** Total tax amount. */
727
+ amount?: Money$8;
728
+ }
729
+ declare enum TaxType$6 {
730
+ /** Tax is included in the ticket price. */
731
+ INCLUDED = "INCLUDED",
732
+ /** Tax is added to the order at the checkout. */
733
+ ADDED = "ADDED",
734
+ /** Tax is added to the final total at the checkout. */
735
+ ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
736
+ }
737
+ interface Fee$2 {
738
+ /** Fee identifier. */
739
+ name?: FeeName$2;
740
+ /** How fee is calculated. */
741
+ type?: FeeType$3;
742
+ /**
743
+ * Fee rate.
744
+ * @readonly
745
+ */
746
+ rate?: string;
747
+ /** Total amount of fee charges. */
748
+ amount?: Money$8;
749
+ }
750
+ declare enum FeeName$2 {
751
+ /** Wix service fee charges applied to the line item. */
752
+ WIX_FEE = "WIX_FEE"
753
+ }
754
+ declare enum FeeType$3 {
755
+ /** Fee is added to the ticket price at checkout. */
756
+ FEE_ADDED = "FEE_ADDED",
757
+ /** Seller absorbs the fee. It is deducted from the ticket price. */
758
+ FEE_INCLUDED = "FEE_INCLUDED",
759
+ /** Fee is added to the ticket price at checkout. */
760
+ FEE_ADDED_AT_CHECKOUT = "FEE_ADDED_AT_CHECKOUT"
532
761
  }
533
762
  interface DomainEvent$9 extends DomainEventBodyOneOf$9 {
534
763
  createdEvent?: EntityCreatedEvent$9;
@@ -894,28 +1123,6 @@ interface OrderConfirmed$2 {
894
1123
  /** Reservation ID associated with this order. */
895
1124
  reservationId?: string;
896
1125
  }
897
- declare enum OrderStatus$3 {
898
- /** Order status not available for this request fieldset */
899
- NA_ORDER_STATUS = "NA_ORDER_STATUS",
900
- /** Order is confirmed, no payment required */
901
- FREE = "FREE",
902
- /** Order was paid but payment gateway suspended the payment. Eventually changes to PAID */
903
- PENDING = "PENDING",
904
- /** Order paid via payment gateway */
905
- PAID = "PAID",
906
- /** Order confirmed but has to be paid via offline payment and status manually updated to PAID */
907
- OFFLINE_PENDING = "OFFLINE_PENDING",
908
- /** Order is awaiting for payment in Cashier */
909
- INITIATED = "INITIATED",
910
- /** Order was canceled */
911
- CANCELED = "CANCELED",
912
- /** Order payment was declined */
913
- DECLINED = "DECLINED",
914
- /** Order payment was authorized */
915
- AUTHORIZED = "AUTHORIZED",
916
- /** Order payment was voided */
917
- VOIDED = "VOIDED"
918
- }
919
1126
  interface Ticket$3 {
920
1127
  /** Unique issued ticket number. */
921
1128
  ticketNumber?: string;
@@ -948,181 +1155,6 @@ interface Ticket$3 {
948
1155
  /** URL and password to online conference */
949
1156
  onlineConferencingLogin?: OnlineConferencingLogin$5;
950
1157
  }
951
- interface Money$8 {
952
- /**
953
- * *Deprecated:** Use `value` instead.
954
- * @deprecated
955
- */
956
- amount?: string;
957
- /** ISO 4217 format of the currency e.g., `USD`. */
958
- currency?: string;
959
- /** 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. */
960
- value?: string | null;
961
- }
962
- interface Invoice$2 {
963
- items?: Item$3[];
964
- /**
965
- * Total cart amount.
966
- * @deprecated
967
- */
968
- total?: Money$8;
969
- /** Discount applied to cart. */
970
- discount?: Discount$2;
971
- /** Tax applied to cart. */
972
- tax?: Tax$2;
973
- /** Total cart amount before discount, tax, and fees. */
974
- subTotal?: Money$8;
975
- /**
976
- * Total amount of cart after discount, tax, and fees.
977
- * Grand total is calculated in the following order:
978
- * 1. Total prices of all items in the cart are calculated.
979
- * 2. Discount is subtracted from the cart (if applicable).
980
- * 3. Tax is added (if applicable).
981
- * 4. Wix service fee is added.
982
- */
983
- grandTotal?: Money$8;
984
- /**
985
- * Fees applied to the cart.
986
- * @readonly
987
- */
988
- fees?: Fee$2[];
989
- /** Total revenue, excluding fees. (Taxes and payment provider fees are not deducted). */
990
- revenue?: Money$8;
991
- /** URL to invoice preview. Returned only if order is paid. */
992
- previewUrl?: string | null;
993
- }
994
- interface Item$3 {
995
- /** Unique line item ID. */
996
- _id?: string;
997
- /** Line item quantity. */
998
- quantity?: number;
999
- /** Line item mame. */
1000
- name?: string;
1001
- /** Line item price. */
1002
- price?: Money$8;
1003
- /** Total price for line items. Always equal to price * quantity. */
1004
- total?: Money$8;
1005
- /** Discount applied to the line item. */
1006
- discount?: Discount$2;
1007
- /** Tax applied to the item. */
1008
- tax?: Tax$2;
1009
- /**
1010
- * Fees applied to the item.
1011
- * @readonly
1012
- */
1013
- fees?: Fee$2[];
1014
- }
1015
- interface Discount$2 {
1016
- /** Total discount amount. */
1017
- amount?: Money$8;
1018
- /** Total charge after applied discount. */
1019
- afterDiscount?: Money$8;
1020
- /**
1021
- * Discount coupon code.
1022
- * @deprecated
1023
- */
1024
- code?: string;
1025
- /**
1026
- * Discount coupon name.
1027
- * @deprecated
1028
- */
1029
- name?: string;
1030
- /**
1031
- * Discount coupon ID.
1032
- * @deprecated
1033
- */
1034
- couponId?: string;
1035
- /** Discount items. */
1036
- discounts?: DiscountItem$2[];
1037
- }
1038
- interface DiscountItem$2 extends DiscountItemDiscountOneOf$2 {
1039
- /** Coupon discount. */
1040
- coupon?: CouponDiscount$2;
1041
- /** Pricing plan discount. */
1042
- paidPlan?: PaidPlanDiscount$2;
1043
- /** Total discount amount. */
1044
- amount?: Money$8;
1045
- }
1046
- /** @oneof */
1047
- interface DiscountItemDiscountOneOf$2 {
1048
- /** Coupon discount. */
1049
- coupon?: CouponDiscount$2;
1050
- /** Pricing plan discount. */
1051
- paidPlan?: PaidPlanDiscount$2;
1052
- }
1053
- interface CouponDiscount$2 {
1054
- /** Discount coupon name. */
1055
- name?: string;
1056
- /** Discount coupon code. */
1057
- code?: string;
1058
- /** Discount coupon ID. */
1059
- couponId?: string;
1060
- }
1061
- interface PaidPlanDiscount$2 extends PaidPlanDiscountDiscountOneOf$2 {
1062
- /** Discount by percentage applied to tickets. */
1063
- percentDiscount?: PercentDiscount$2;
1064
- /** Name of pricing plan. */
1065
- name?: string;
1066
- }
1067
- /** @oneof */
1068
- interface PaidPlanDiscountDiscountOneOf$2 {
1069
- /** Discount by percentage applied to tickets. */
1070
- percentDiscount?: PercentDiscount$2;
1071
- }
1072
- interface PercentDiscount$2 {
1073
- /** Percent rate. */
1074
- rate?: string;
1075
- /** Number of discounted tickets. */
1076
- quantityDiscounted?: number;
1077
- }
1078
- interface Tax$2 {
1079
- /** Tax type. */
1080
- type?: TaxType$6;
1081
- /**
1082
- * Tax name.
1083
- * @readonly
1084
- */
1085
- name?: string;
1086
- /** Tax rate. */
1087
- rate?: string;
1088
- /** Taxable amount. */
1089
- taxable?: Money$8;
1090
- /** Total tax amount. */
1091
- amount?: Money$8;
1092
- }
1093
- declare enum TaxType$6 {
1094
- /** Tax is included in the ticket price. */
1095
- INCLUDED = "INCLUDED",
1096
- /** Tax is added to the order at the checkout. */
1097
- ADDED = "ADDED",
1098
- /** Tax is added to the final total at the checkout. */
1099
- ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
1100
- }
1101
- interface Fee$2 {
1102
- /** Fee identifier. */
1103
- name?: FeeName$2;
1104
- /** How fee is calculated. */
1105
- type?: FeeType$3;
1106
- /**
1107
- * Fee rate.
1108
- * @readonly
1109
- */
1110
- rate?: string;
1111
- /** Total amount of fee charges. */
1112
- amount?: Money$8;
1113
- }
1114
- declare enum FeeName$2 {
1115
- /** Wix service fee charges applied to the line item. */
1116
- WIX_FEE = "WIX_FEE"
1117
- }
1118
- declare enum FeeType$3 {
1119
- /** Fee is added to the ticket price at checkout. */
1120
- FEE_ADDED = "FEE_ADDED",
1121
- /** Seller absorbs the fee. It is deducted from the ticket price. */
1122
- FEE_INCLUDED = "FEE_INCLUDED",
1123
- /** Fee is added to the ticket price at checkout. */
1124
- FEE_ADDED_AT_CHECKOUT = "FEE_ADDED_AT_CHECKOUT"
1125
- }
1126
1158
  interface OrderUpdated$2 {
1127
1159
  /** Order updated timestamp in ISO UTC format. */
1128
1160
  timestamp?: Date;
@@ -1528,6 +1560,7 @@ declare const index_d$f_MemberEventStatusUpdatedEventType: typeof MemberEventSta
1528
1560
  type index_d$f_NotifyActionType = NotifyActionType;
1529
1561
  declare const index_d$f_NotifyActionType: typeof NotifyActionType;
1530
1562
  type index_d$f_NotifyGuestAction = NotifyGuestAction;
1563
+ type index_d$f_OrderDetails = OrderDetails;
1531
1564
  type index_d$f_QueryEventGuestsOptions = QueryEventGuestsOptions;
1532
1565
  type index_d$f_QueryEventGuestsRequest = QueryEventGuestsRequest;
1533
1566
  type index_d$f_QueryEventGuestsResponse = QueryEventGuestsResponse;
@@ -1541,6 +1574,8 @@ type index_d$f_Task = Task;
1541
1574
  type index_d$f_TaskContext = TaskContext;
1542
1575
  type index_d$f_TaskKey = TaskKey;
1543
1576
  type index_d$f_TicketGuestDetails = TicketGuestDetails;
1577
+ type index_d$f_Timing = Timing;
1578
+ declare const index_d$f_Timing: typeof Timing;
1544
1579
  type index_d$f_UpdateGuestRequest = UpdateGuestRequest;
1545
1580
  type index_d$f_UpdateGuestResponse = UpdateGuestResponse;
1546
1581
  type index_d$f__publicOnGuestCheckedInType = _publicOnGuestCheckedInType;
@@ -1553,7 +1588,7 @@ declare const index_d$f_onGuestDeleted: typeof onGuestDeleted;
1553
1588
  declare const index_d$f_onGuestUpdated: typeof onGuestUpdated;
1554
1589
  declare const index_d$f_queryGuests: typeof queryGuests;
1555
1590
  declare namespace index_d$f {
1556
- export { type ActionEvent$9 as ActionEvent, type Address$a as Address, type AddressLocation$a as AddressLocation, type AddressStreetOneOf$a as AddressStreetOneOf, index_d$f_AttendanceStatus as AttendanceStatus, type BaseEventMetadata$b as BaseEventMetadata, type CheckIn$4 as CheckIn, type CommonAddress$3 as CommonAddress, type CommonAddressLocation$3 as CommonAddressLocation, type CommonAddressStreetOneOf$3 as CommonAddressStreetOneOf, type CommonStreetAddress$3 as CommonStreetAddress, type CommonSubdivision$3 as CommonSubdivision, type index_d$f_ContactEventStatusUpdated as ContactEventStatusUpdated, type CouponDiscount$2 as CouponDiscount, type CursorPaging$7 as CursorPaging, type Cursors$a as Cursors, type DateAndTimeSettings$1 as DateAndTimeSettings, type Discount$2 as Discount, type DiscountItem$2 as DiscountItem, type DiscountItemDiscountOneOf$2 as DiscountItemDiscountOneOf, type DomainEvent$9 as DomainEvent, type DomainEventBodyOneOf$9 as DomainEventBodyOneOf, type Empty$6 as Empty, type EntityCreatedEvent$9 as EntityCreatedEvent, type EntityDeletedEvent$9 as EntityDeletedEvent, type EntityUpdatedEvent$9 as EntityUpdatedEvent, type EventDeleted$5 as EventDeleted, type index_d$f_EventDetails as EventDetails, type index_d$f_EventGuest as EventGuest, type EventGuests$1 as EventGuests, type EventMetadata$6 as EventMetadata, EventType$5 as EventType, type Fee$2 as Fee, FeeName$2 as FeeName, FeeType$3 as FeeType, type FormResponse$5 as FormResponse, type Formatted$1 as Formatted, type FormattedAddress$5 as FormattedAddress, type Guest$4 as Guest, type index_d$f_GuestCheckedIn as GuestCheckedIn, type index_d$f_GuestCheckedInEnvelope as GuestCheckedInEnvelope, type index_d$f_GuestCount as GuestCount, type index_d$f_GuestCountUpdate as GuestCountUpdate, type index_d$f_GuestCountUpdated as GuestCountUpdated, type index_d$f_GuestCreatedEnvelope as GuestCreatedEnvelope, type index_d$f_GuestDeletedEnvelope as GuestDeletedEnvelope, type GuestDetails$2 as GuestDetails, type index_d$f_GuestListPreview as GuestListPreview, index_d$f_GuestType as GuestType, type index_d$f_GuestUpdatedEnvelope as GuestUpdatedEnvelope, type index_d$f_GuestsQueryBuilder as GuestsQueryBuilder, type index_d$f_GuestsQueryResult as GuestsQueryResult, type IdentificationData$d as IdentificationData, type IdentificationDataIdOneOf$d as IdentificationDataIdOneOf, type InputValue$5 as InputValue, type Invoice$2 as Invoice, type Item$3 as Item, type index_d$f_Language as Language, type index_d$f_ListGuestListPreviewsRequest as ListGuestListPreviewsRequest, type index_d$f_ListGuestListPreviewsResponse as ListGuestListPreviewsResponse, type Location$7 as Location, LocationType$7 as LocationType, type index_d$f_MemberEventStatusUpdated as MemberEventStatusUpdated, index_d$f_MemberEventStatusUpdatedEventType as MemberEventStatusUpdatedEventType, type MessageEnvelope$d as MessageEnvelope, type Money$8 as Money, index_d$f_NotifyActionType as NotifyActionType, type index_d$f_NotifyGuestAction as NotifyGuestAction, type Occurrence$7 as Occurrence, type OnlineConferencingLogin$5 as OnlineConferencingLogin, type OrderConfirmed$2 as OrderConfirmed, type OrderDeleted$1 as OrderDeleted, OrderStatus$3 as OrderStatus, OrderType$1 as OrderType, type OrderUpdated$2 as OrderUpdated, type Paging$9 as Paging, type PagingMetadataV2$9 as PagingMetadataV2, type PaidPlanDiscount$2 as PaidPlanDiscount, type PaidPlanDiscountDiscountOneOf$2 as PaidPlanDiscountDiscountOneOf, type PercentDiscount$2 as PercentDiscount, type index_d$f_QueryEventGuestsOptions as QueryEventGuestsOptions, type index_d$f_QueryEventGuestsRequest as QueryEventGuestsRequest, type index_d$f_QueryEventGuestsResponse as QueryEventGuestsResponse, type index_d$f_QueryEventGuestsResponseNonNullableFields as QueryEventGuestsResponseNonNullableFields, type QueryV2$8 as QueryV2, type QueryV2PagingMethodOneOf$8 as QueryV2PagingMethodOneOf, RecurrenceStatusStatus$1 as RecurrenceStatusStatus, type Recurrences$7 as Recurrences, RequestedFields$3 as RequestedFields, index_d$f_RequestedFieldsEnumRequestedFields as RequestedFieldsEnumRequestedFields, type RestoreInfo$8 as RestoreInfo, type RsvpCreated$2 as RsvpCreated, type RsvpDeleted$1 as RsvpDeleted, RsvpStatus$3 as RsvpStatus, type RsvpUpdated$2 as RsvpUpdated, type index_d$f_SecondaryLanguagesRequest as SecondaryLanguagesRequest, type index_d$f_SecondaryLanguagesResponse as SecondaryLanguagesResponse, SortOrder$a as SortOrder, type Sorting$a as Sorting, type StandardDetails$5 as StandardDetails, Status$8 as Status, type index_d$f_StreamEventGuestsRequest as StreamEventGuestsRequest, type StreetAddress$a as StreetAddress, type Subdivision$a as Subdivision, SubdivisionSubdivisionType$1 as SubdivisionSubdivisionType, SubdivisionType$a as SubdivisionType, type index_d$f_Task as Task, type index_d$f_TaskContext as TaskContext, type index_d$f_TaskKey as TaskKey, type Tax$2 as Tax, TaxType$6 as TaxType, type Ticket$3 as Ticket, type TicketDetails$2 as TicketDetails, type index_d$f_TicketGuestDetails as TicketGuestDetails, type index_d$f_UpdateGuestRequest as UpdateGuestRequest, type index_d$f_UpdateGuestResponse as UpdateGuestResponse, WebhookIdentityType$d as WebhookIdentityType, type index_d$f__publicOnGuestCheckedInType as _publicOnGuestCheckedInType, type index_d$f__publicOnGuestCreatedType as _publicOnGuestCreatedType, type index_d$f__publicOnGuestDeletedType as _publicOnGuestDeletedType, type index_d$f__publicOnGuestUpdatedType as _publicOnGuestUpdatedType, index_d$f_onGuestCheckedIn as onGuestCheckedIn, index_d$f_onGuestCreated as onGuestCreated, index_d$f_onGuestDeleted as onGuestDeleted, index_d$f_onGuestUpdated as onGuestUpdated, onGuestCheckedIn$1 as publicOnGuestCheckedIn, onGuestCreated$1 as publicOnGuestCreated, onGuestDeleted$1 as publicOnGuestDeleted, onGuestUpdated$1 as publicOnGuestUpdated, index_d$f_queryGuests as queryGuests };
1591
+ export { type ActionEvent$9 as ActionEvent, type Address$a as Address, type AddressLocation$a as AddressLocation, type AddressStreetOneOf$a as AddressStreetOneOf, index_d$f_AttendanceStatus as AttendanceStatus, type BaseEventMetadata$b as BaseEventMetadata, type CheckIn$4 as CheckIn, type CommonAddress$3 as CommonAddress, type CommonAddressLocation$3 as CommonAddressLocation, type CommonAddressStreetOneOf$3 as CommonAddressStreetOneOf, type CommonStreetAddress$3 as CommonStreetAddress, type CommonSubdivision$3 as CommonSubdivision, type index_d$f_ContactEventStatusUpdated as ContactEventStatusUpdated, type CouponDiscount$2 as CouponDiscount, type CursorPaging$7 as CursorPaging, type Cursors$a as Cursors, type DateAndTimeSettings$1 as DateAndTimeSettings, type Discount$2 as Discount, type DiscountItem$2 as DiscountItem, type DiscountItemDiscountOneOf$2 as DiscountItemDiscountOneOf, type DomainEvent$9 as DomainEvent, type DomainEventBodyOneOf$9 as DomainEventBodyOneOf, type Empty$6 as Empty, type EntityCreatedEvent$9 as EntityCreatedEvent, type EntityDeletedEvent$9 as EntityDeletedEvent, type EntityUpdatedEvent$9 as EntityUpdatedEvent, type EventDeleted$5 as EventDeleted, type index_d$f_EventDetails as EventDetails, type index_d$f_EventGuest as EventGuest, type EventGuests$1 as EventGuests, type EventMetadata$6 as EventMetadata, EventType$5 as EventType, type Fee$2 as Fee, FeeName$2 as FeeName, FeeType$3 as FeeType, type FormResponse$5 as FormResponse, type Formatted$1 as Formatted, type FormattedAddress$5 as FormattedAddress, type Guest$4 as Guest, type index_d$f_GuestCheckedIn as GuestCheckedIn, type index_d$f_GuestCheckedInEnvelope as GuestCheckedInEnvelope, type index_d$f_GuestCount as GuestCount, type index_d$f_GuestCountUpdate as GuestCountUpdate, type index_d$f_GuestCountUpdated as GuestCountUpdated, type index_d$f_GuestCreatedEnvelope as GuestCreatedEnvelope, type index_d$f_GuestDeletedEnvelope as GuestDeletedEnvelope, type GuestDetails$2 as GuestDetails, type index_d$f_GuestListPreview as GuestListPreview, index_d$f_GuestType as GuestType, type index_d$f_GuestUpdatedEnvelope as GuestUpdatedEnvelope, type index_d$f_GuestsQueryBuilder as GuestsQueryBuilder, type index_d$f_GuestsQueryResult as GuestsQueryResult, type IdentificationData$d as IdentificationData, type IdentificationDataIdOneOf$d as IdentificationDataIdOneOf, type InputValue$5 as InputValue, type Invoice$2 as Invoice, type Item$3 as Item, type index_d$f_Language as Language, type index_d$f_ListGuestListPreviewsRequest as ListGuestListPreviewsRequest, type index_d$f_ListGuestListPreviewsResponse as ListGuestListPreviewsResponse, type Location$7 as Location, LocationType$7 as LocationType, type index_d$f_MemberEventStatusUpdated as MemberEventStatusUpdated, index_d$f_MemberEventStatusUpdatedEventType as MemberEventStatusUpdatedEventType, type MessageEnvelope$d as MessageEnvelope, type Money$8 as Money, index_d$f_NotifyActionType as NotifyActionType, type index_d$f_NotifyGuestAction as NotifyGuestAction, type Occurrence$7 as Occurrence, type OnlineConferencingLogin$5 as OnlineConferencingLogin, type OrderConfirmed$2 as OrderConfirmed, type OrderDeleted$1 as OrderDeleted, type index_d$f_OrderDetails as OrderDetails, OrderStatus$3 as OrderStatus, OrderType$1 as OrderType, type OrderUpdated$2 as OrderUpdated, type Paging$9 as Paging, type PagingMetadataV2$9 as PagingMetadataV2, type PaidPlanDiscount$2 as PaidPlanDiscount, type PaidPlanDiscountDiscountOneOf$2 as PaidPlanDiscountDiscountOneOf, type PercentDiscount$2 as PercentDiscount, type index_d$f_QueryEventGuestsOptions as QueryEventGuestsOptions, type index_d$f_QueryEventGuestsRequest as QueryEventGuestsRequest, type index_d$f_QueryEventGuestsResponse as QueryEventGuestsResponse, type index_d$f_QueryEventGuestsResponseNonNullableFields as QueryEventGuestsResponseNonNullableFields, type QueryV2$8 as QueryV2, type QueryV2PagingMethodOneOf$8 as QueryV2PagingMethodOneOf, RecurrenceStatusStatus$1 as RecurrenceStatusStatus, type Recurrences$7 as Recurrences, RequestedFields$3 as RequestedFields, index_d$f_RequestedFieldsEnumRequestedFields as RequestedFieldsEnumRequestedFields, type RestoreInfo$8 as RestoreInfo, type RsvpCreated$2 as RsvpCreated, type RsvpDeleted$1 as RsvpDeleted, RsvpStatus$3 as RsvpStatus, type RsvpUpdated$2 as RsvpUpdated, type index_d$f_SecondaryLanguagesRequest as SecondaryLanguagesRequest, type index_d$f_SecondaryLanguagesResponse as SecondaryLanguagesResponse, SortOrder$a as SortOrder, type Sorting$a as Sorting, type StandardDetails$5 as StandardDetails, Status$8 as Status, type index_d$f_StreamEventGuestsRequest as StreamEventGuestsRequest, type StreetAddress$a as StreetAddress, type Subdivision$a as Subdivision, SubdivisionSubdivisionType$1 as SubdivisionSubdivisionType, SubdivisionType$a as SubdivisionType, type index_d$f_Task as Task, type index_d$f_TaskContext as TaskContext, type index_d$f_TaskKey as TaskKey, type Tax$2 as Tax, TaxType$6 as TaxType, type Ticket$3 as Ticket, type TicketDetails$2 as TicketDetails, type index_d$f_TicketGuestDetails as TicketGuestDetails, index_d$f_Timing as Timing, type index_d$f_UpdateGuestRequest as UpdateGuestRequest, type index_d$f_UpdateGuestResponse as UpdateGuestResponse, WebhookIdentityType$d as WebhookIdentityType, type index_d$f__publicOnGuestCheckedInType as _publicOnGuestCheckedInType, type index_d$f__publicOnGuestCreatedType as _publicOnGuestCreatedType, type index_d$f__publicOnGuestDeletedType as _publicOnGuestDeletedType, type index_d$f__publicOnGuestUpdatedType as _publicOnGuestUpdatedType, index_d$f_onGuestCheckedIn as onGuestCheckedIn, index_d$f_onGuestCreated as onGuestCreated, index_d$f_onGuestDeleted as onGuestDeleted, index_d$f_onGuestUpdated as onGuestUpdated, onGuestCheckedIn$1 as publicOnGuestCheckedIn, onGuestCreated$1 as publicOnGuestCreated, onGuestDeleted$1 as publicOnGuestDeleted, onGuestUpdated$1 as publicOnGuestUpdated, index_d$f_queryGuests as queryGuests };
1557
1592
  }
1558
1593
 
1559
1594
  interface NotificationConfig {