@wix/auto_sdk_events_guests 1.0.17 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/build/cjs/src/events-guests-v1-guest-guests.context.d.ts +4 -1
  2. package/build/cjs/src/events-guests-v1-guest-guests.context.js +4 -1
  3. package/build/cjs/src/events-guests-v1-guest-guests.context.js.map +1 -1
  4. package/build/cjs/src/events-guests-v1-guest-guests.types.d.ts +82 -70
  5. package/build/cjs/src/events-guests-v1-guest-guests.types.js +11 -11
  6. package/build/cjs/src/events-guests-v1-guest-guests.types.js.map +1 -1
  7. package/build/cjs/src/events-guests-v1-guest-guests.universal.d.ts +94 -87
  8. package/build/cjs/src/events-guests-v1-guest-guests.universal.js +11 -11
  9. package/build/cjs/src/events-guests-v1-guest-guests.universal.js.map +1 -1
  10. package/build/es/src/events-guests-v1-guest-guests.context.d.ts +4 -1
  11. package/build/es/src/events-guests-v1-guest-guests.context.js +4 -1
  12. package/build/es/src/events-guests-v1-guest-guests.context.js.map +1 -1
  13. package/build/es/src/events-guests-v1-guest-guests.types.d.ts +82 -70
  14. package/build/es/src/events-guests-v1-guest-guests.types.js +11 -11
  15. package/build/es/src/events-guests-v1-guest-guests.types.js.map +1 -1
  16. package/build/es/src/events-guests-v1-guest-guests.universal.d.ts +94 -87
  17. package/build/es/src/events-guests-v1-guest-guests.universal.js +11 -11
  18. package/build/es/src/events-guests-v1-guest-guests.universal.js.map +1 -1
  19. package/build/internal/cjs/src/events-guests-v1-guest-guests.context.d.ts +4 -1
  20. package/build/internal/cjs/src/events-guests-v1-guest-guests.context.js +4 -1
  21. package/build/internal/cjs/src/events-guests-v1-guest-guests.context.js.map +1 -1
  22. package/build/internal/cjs/src/events-guests-v1-guest-guests.types.d.ts +82 -70
  23. package/build/internal/cjs/src/events-guests-v1-guest-guests.types.js +11 -11
  24. package/build/internal/cjs/src/events-guests-v1-guest-guests.types.js.map +1 -1
  25. package/build/internal/cjs/src/events-guests-v1-guest-guests.universal.d.ts +94 -87
  26. package/build/internal/cjs/src/events-guests-v1-guest-guests.universal.js +11 -11
  27. package/build/internal/cjs/src/events-guests-v1-guest-guests.universal.js.map +1 -1
  28. package/build/internal/es/src/events-guests-v1-guest-guests.context.d.ts +4 -1
  29. package/build/internal/es/src/events-guests-v1-guest-guests.context.js +4 -1
  30. package/build/internal/es/src/events-guests-v1-guest-guests.context.js.map +1 -1
  31. package/build/internal/es/src/events-guests-v1-guest-guests.types.d.ts +82 -70
  32. package/build/internal/es/src/events-guests-v1-guest-guests.types.js +11 -11
  33. package/build/internal/es/src/events-guests-v1-guest-guests.types.js.map +1 -1
  34. package/build/internal/es/src/events-guests-v1-guest-guests.universal.d.ts +94 -87
  35. package/build/internal/es/src/events-guests-v1-guest-guests.universal.js +11 -11
  36. package/build/internal/es/src/events-guests-v1-guest-guests.universal.js.map +1 -1
  37. package/package.json +2 -2
@@ -10,17 +10,17 @@ export interface EventGuest {
10
10
  */
11
11
  eventId?: string | null;
12
12
  /**
13
- * RSVP ID. <br/> <br/> **Note:** Only applicable when `guestType` is `RSVP`.
13
+ * RSVP ID. <br/> <br/> **Note:** Only applicable when `guestType` is `"RSVP"`.
14
14
  * @format GUID
15
15
  */
16
16
  rsvpId?: string | null;
17
17
  /**
18
- * Order number. <br/> <br/> **Note:** Only applicable when `guestType` is `BUYER` or `TICKET_HOLDER`.
18
+ * Order number. <br/> <br/> **Note:** Only applicable when `guestType` is `"BUYER"` or `"TICKET_HOLDER"`.
19
19
  * @maxLength 36
20
20
  */
21
21
  orderNumber?: string | null;
22
22
  /**
23
- * Ticket number. <br/> <br/> **Note:** Only applicable when `guestType` is `TICKET_HOLDER`.
23
+ * Ticket number. <br/> <br/> **Note:** Only applicable when `guestType` is `"TICKET_HOLDER"`.
24
24
  * @maxLength 36
25
25
  */
26
26
  ticketNumber?: string | null;
@@ -30,13 +30,16 @@ export interface EventGuest {
30
30
  */
31
31
  tickets?: TicketDetails[];
32
32
  /**
33
- * Guest's contact ID. See [Contacts API](https://dev.wix.com/api/rest/contacts/contacts/contacts-v4) for more details.
33
+ * Guest's contact ID. See the Contacts API for more details.
34
34
  * @format GUID
35
35
  */
36
36
  contactId?: string | null;
37
37
  /** Guest details. <br/> <br/> Returned only when the `guestDetails` fieldset is sent in the request. */
38
38
  guestDetails?: GuestDetails;
39
- /** Attendance status. The attendance status updates based on status values in an RSVP object (for RSVP events) or in an Order object (for ticketed events). For more information read [this article](https://dev.wix.com/docs/rest/business-solutions/events/event-guests/guest-attendance-status-mapping). <br/> <br/> **Note:** For `guestType` `BUYER` or `TICKET_HOLDER` the `IN_WAITLIST` value is not applicable. */
39
+ /**
40
+ * Attendance status. The attendance status updates based on status values in an RSVP object (for RSVP events) or in an Order object (for ticketed events).
41
+ * For more information, see Guest Attendance Status Mapping ([SDK](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guest-attendance-status-mapping) | [REST](https://dev.wix.com/docs/rest/business-solutions/events/event-guests/guest-attendance-status-mapping)). <br/> <br/> **Note:** For `guestType` of `"BUYER"` or `"TICKET_HOLDER"` the `"IN_WAITLIST"` value is not applicable.
42
+ */
40
43
  attendanceStatus?: AttendanceStatusWithLiterals;
41
44
  /**
42
45
  * Secondary language code in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. Used when the event ticket should be translated into another language.
@@ -169,7 +172,7 @@ export interface InputValue {
169
172
  */
170
173
  value?: string;
171
174
  /**
172
- * Multiple selection values. For example, the array is filled if several checkboxes are ticked.
175
+ * Multiple input values. For example, the array is filled if several checkboxes are ticked.
173
176
  * @maxSize 100
174
177
  * @maxLength 5000
175
178
  */
@@ -317,14 +320,14 @@ export declare enum MemberEventStatusUpdatedEventType {
317
320
  */
318
321
  MEMBER_LEFT = "MEMBER_LEFT",
319
322
  /**
320
- * Triggered every time a guest with a specified member ID whose status is `ATTENDING` is added to the event.
321
- * This event can also be triggered if an existing guest changed their member ID or changed their status to `ATTENDING`.
323
+ * Triggered every time a guest with a specified member ID whose status is `"ATTENDING"` is added to the event.
324
+ * This event can also be triggered if an existing guest changed their member ID or changed their status to `"ATTENDING"`.
322
325
  */
323
326
  ATTENDING_MEMBER_JOINED = "ATTENDING_MEMBER_JOINED",
324
327
  /**
325
- * Triggered when the last guest with a specified member ID is removed from the event or their status changes to `ATTENDING`.
328
+ * Triggered when the last guest with a specified member ID is removed from the event or their status changes to `"NOT_ATTENDING"`.
326
329
  * Once triggered there are no more attending guests with a specified member ID in the event.
327
- * This event can also be triggered if the last existing guest changed their member ID or their status to `NOT_ATTENDING`.
330
+ * This event can also be triggered if the last existing guest changed their member ID or their status to `"NOT_ATTENDING"`.
328
331
  */
329
332
  LAST_ATTENDING_MEMBER_LEFT = "LAST_ATTENDING_MEMBER_LEFT"
330
333
  }
@@ -533,15 +536,27 @@ export interface DateAndTimeSettings {
533
536
  dateAndTimeTbd?: boolean | null;
534
537
  /**
535
538
  * Message that is displayed when time and date is TBD.
539
+ *
540
+ * **Note:** This field is only used when the `dateAndTimeTbd` field value is `true`.
536
541
  * @maxLength 100
537
542
  */
538
543
  dateAndTimeTbdMessage?: string | null;
539
- /** Event start date. */
544
+ /**
545
+ * Event start date.
546
+ *
547
+ * **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.
548
+ */
540
549
  startDate?: Date | null;
541
- /** Event end date. */
550
+ /**
551
+ * Event end date.
552
+ *
553
+ * **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.
554
+ */
542
555
  endDate?: Date | null;
543
556
  /**
544
557
  * Event time zone ID in the [TZ database](https://www.iana.org/time-zones) format.
558
+ *
559
+ * **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.
545
560
  * @maxLength 100
546
561
  */
547
562
  timeZoneId?: string | null;
@@ -707,17 +722,17 @@ export interface OrderDetails {
707
722
  invoice?: Invoice;
708
723
  }
709
724
  export declare enum OrderStatus {
710
- /** Order status not available for this request fieldset. */
725
+ /** Order status is not available for this request fieldset. */
711
726
  NA_ORDER_STATUS = "NA_ORDER_STATUS",
712
- /** Order is confirmed and payment isn't required. */
727
+ /** Order is confirmed, no payment is required. */
713
728
  FREE = "FREE",
714
- /** Order is paid for but the payment gateway has suspended the payment. */
729
+ /** Order was paid, but the payment gateway suspended the payment. */
715
730
  PENDING = "PENDING",
716
- /** Order is paid via a payment gateway. */
731
+ /** Order is paid. */
717
732
  PAID = "PAID",
718
- /** Order is confirmed but must be paid via offline payment. Status needs to be manually updated to `PAID`. */
733
+ /** Order is confirmed but has be paid via offline payment. Status needs to be manually updated to `"PAID"`. */
719
734
  OFFLINE_PENDING = "OFFLINE_PENDING",
720
- /** Order is awaiting payment at the cashier. */
735
+ /** Order is awaiting for payment at the cashier. */
721
736
  INITIATED = "INITIATED",
722
737
  /** Order is canceled. */
723
738
  CANCELED = "CANCELED",
@@ -739,14 +754,14 @@ export interface Invoice {
739
754
  * @deprecated
740
755
  */
741
756
  total?: Money;
742
- /** Discount applied to cart. */
757
+ /** Discount applied to a cart. */
743
758
  discount?: Discount;
744
- /** Tax applied to cart. */
759
+ /** Tax applied to a cart. */
745
760
  tax?: Tax;
746
761
  /** Total cart amount before discount, tax, and fees. */
747
762
  subTotal?: Money;
748
763
  /**
749
- * Total amount of cart after discount, tax, and fees.
764
+ * Total amount of a cart after discount, tax, and fees.
750
765
  * Grand total is calculated in the following order:
751
766
  * 1. Total prices of all items in the cart are calculated.
752
767
  * 2. Discount is subtracted from the cart (if applicable).
@@ -761,7 +776,7 @@ export interface Invoice {
761
776
  fees?: Fee[];
762
777
  /** Total revenue, excluding fees. (Taxes and payment provider fees are not deducted). */
763
778
  revenue?: Money;
764
- /** URL to invoice preview. Returned only if order is paid. */
779
+ /** Invoice preview URL. Only returned if the order is paid. */
765
780
  previewUrl?: string | null;
766
781
  }
767
782
  export interface Item {
@@ -800,7 +815,7 @@ export interface Money {
800
815
  */
801
816
  amount?: string;
802
817
  /**
803
- * ISO 4217 format of the currency e.g., `USD`.
818
+ * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
804
819
  * @format CURRENCY
805
820
  */
806
821
  currency?: string;
@@ -813,7 +828,7 @@ export interface Money {
813
828
  export interface Discount {
814
829
  /** Total discount amount. */
815
830
  amount?: Money;
816
- /** Total charge after applied discount. */
831
+ /** Total sum after the discount. */
817
832
  afterDiscount?: Money;
818
833
  /**
819
834
  * Discount coupon code.
@@ -849,11 +864,11 @@ export interface DiscountItemDiscountOneOf {
849
864
  paidPlan?: PaidPlanDiscount;
850
865
  }
851
866
  export interface CouponDiscount {
852
- /** Discount coupon name. */
867
+ /** Discount coupon name. **Deprecated:** Use `invoice.discounts.coupon.name` instead. */
853
868
  name?: string;
854
- /** Discount coupon code. */
869
+ /** Discount coupon code. **Deprecated:** Use `invoice.discounts.coupon.code` instead. */
855
870
  code?: string;
856
- /** Discount coupon ID. */
871
+ /** Discount coupon ID. **Deprecated:** Use `invoice.discounts.coupon.couponId` instead. */
857
872
  couponId?: string;
858
873
  }
859
874
  export interface PaidPlanDiscount extends PaidPlanDiscountDiscountOneOf {
@@ -927,7 +942,7 @@ export type FeeNameWithLiterals = FeeName | 'WIX_FEE';
927
942
  export declare enum FeeType {
928
943
  /** Fee is added to the ticket price at checkout. */
929
944
  FEE_ADDED = "FEE_ADDED",
930
- /** Seller absorbs the fee. It is deducted from the ticket price. */
945
+ /** Seller absorbs the fee. It's deducted from the ticket price. */
931
946
  FEE_INCLUDED = "FEE_INCLUDED",
932
947
  /** Fee is added to the ticket price at checkout. */
933
948
  FEE_ADDED_AT_CHECKOUT = "FEE_ADDED_AT_CHECKOUT"
@@ -961,25 +976,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
961
976
  updatedEvent?: EntityUpdatedEvent;
962
977
  deletedEvent?: EntityDeletedEvent;
963
978
  actionEvent?: ActionEvent;
964
- /**
965
- * Unique event ID.
966
- * Allows clients to ignore duplicate webhooks.
967
- */
979
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
968
980
  _id?: string;
969
981
  /**
970
- * Assumes actions are also always typed to an entity_type
971
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
982
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
983
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
972
984
  */
973
985
  entityFqdn?: string;
974
986
  /**
975
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
976
- * This is although the created/updated/deleted notion is duplication of the oneof types
977
- * Example: created/updated/deleted/started/completed/email_opened
987
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
988
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
978
989
  */
979
990
  slug?: string;
980
991
  /** ID of the entity associated with the event. */
981
992
  entityId?: string;
982
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
993
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
983
994
  eventTime?: Date | null;
984
995
  /**
985
996
  * Whether the event was triggered as a result of a privacy regulation application
@@ -989,12 +1000,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
989
1000
  /** If present, indicates the action that triggered the event. */
990
1001
  originatedFrom?: string | null;
991
1002
  /**
992
- * A sequence number defining the order of updates to the underlying entity.
993
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
994
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
995
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
996
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
997
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1003
+ * 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.
1004
+ * 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.
998
1005
  */
999
1006
  entityEventSequence?: string | null;
1000
1007
  }
@@ -1020,7 +1027,7 @@ export interface EntityUpdatedEvent {
1020
1027
  currentEntity?: string;
1021
1028
  }
1022
1029
  export interface EntityDeletedEvent {
1023
- /** Entity that was deleted */
1030
+ /** Entity that was deleted. */
1024
1031
  deletedEntity?: string | null;
1025
1032
  }
1026
1033
  export interface ActionEvent {
@@ -1246,37 +1253,38 @@ export interface Language {
1246
1253
  */
1247
1254
  locale?: string | null;
1248
1255
  }
1256
+ /** Triggered when an order is confirmed. */
1249
1257
  export interface OrderConfirmed {
1250
- /** Order confirmation timestamp in ISO UTC. */
1258
+ /** Date and time the order was confirmed. */
1251
1259
  timestamp?: Date | null;
1252
1260
  /**
1253
- * Site language when Order initiated
1261
+ * Site language when the order was initiated.
1254
1262
  * @format LANGUAGE
1255
1263
  */
1256
1264
  language?: string | null;
1257
1265
  /** Notifications silenced for this domain event. */
1258
1266
  silent?: boolean | null;
1259
1267
  /**
1260
- * Locale in which Order was created.
1268
+ * Locale in which the order was created.
1261
1269
  * @format LANGUAGE_TAG
1262
1270
  */
1263
1271
  locale?: string | null;
1264
1272
  /**
1265
- * Event ID.
1273
+ * Event ID to which the order belongs.
1266
1274
  * @format GUID
1267
1275
  */
1268
1276
  eventId?: string;
1269
1277
  /** Unique order number. */
1270
1278
  orderNumber?: string;
1271
- /** Contact ID associated with this order. */
1279
+ /** Contact ID associated with the order. */
1272
1280
  contactId?: string;
1273
1281
  /**
1274
- * Member ID associated with this order.
1282
+ * Member ID associated with the order.
1275
1283
  * @format GUID
1276
1284
  */
1277
1285
  memberId?: string | null;
1278
1286
  /**
1279
- * Order created timestamp
1287
+ * Date and time the order was created.
1280
1288
  * @readonly
1281
1289
  */
1282
1290
  created?: Date | null;
@@ -1296,7 +1304,7 @@ export interface OrderConfirmed {
1296
1304
  tickets?: Ticket[];
1297
1305
  /** Invoice. */
1298
1306
  invoice?: Invoice;
1299
- /** Reservation ID associated with this order. */
1307
+ /** Reservation ID associated with the order. */
1300
1308
  reservationId?: string;
1301
1309
  }
1302
1310
  export interface Ticket {
@@ -1348,43 +1356,44 @@ export interface Ticket {
1348
1356
  canceled?: boolean | null;
1349
1357
  }
1350
1358
  export interface CheckIn {
1351
- /** Time of check-in */
1359
+ /** Time of check-in. */
1352
1360
  created?: Date | null;
1353
1361
  }
1362
+ /** Triggered when an order is updated. */
1354
1363
  export interface OrderUpdated {
1355
- /** Order updated timestamp in ISO UTC format. */
1364
+ /** Date and time the order was updated. */
1356
1365
  timestamp?: Date | null;
1357
1366
  /**
1358
- * Site language when Order initiated
1367
+ * Site language when the order was initiated.
1359
1368
  * @format LANGUAGE
1360
1369
  */
1361
1370
  language?: string | null;
1362
1371
  /**
1363
- * Locale in which Order was created.
1372
+ * Locale in which the order was created.
1364
1373
  * @format LANGUAGE_TAG
1365
1374
  */
1366
1375
  locale?: string | null;
1367
1376
  /**
1368
- * Event ID.
1377
+ * Event ID to which the order belongs.
1369
1378
  * @format GUID
1370
1379
  */
1371
1380
  eventId?: string;
1372
1381
  /** Unique order number. */
1373
1382
  orderNumber?: string;
1374
- /** Contact ID associated with this order. */
1383
+ /** Contact ID associated with the order. */
1375
1384
  contactId?: string;
1376
1385
  /**
1377
- * Member ID associated with this order.
1386
+ * Member ID associated with the order.
1378
1387
  * @format GUID
1379
1388
  */
1380
1389
  memberId?: string | null;
1381
1390
  /**
1382
- * Order created timestamp.
1391
+ * Date and time the order was created.
1383
1392
  * @readonly
1384
1393
  */
1385
1394
  created?: Date | null;
1386
1395
  /**
1387
- * Order updated timestamp.
1396
+ * Date and time the order was updated.
1388
1397
  * @readonly
1389
1398
  */
1390
1399
  updated?: Date | null;
@@ -1409,38 +1418,39 @@ export interface OrderUpdated {
1409
1418
  /** Whether event was triggered by GDPR delete request. */
1410
1419
  triggeredByAnonymizeRequest?: boolean;
1411
1420
  }
1421
+ /** Triggered when an order is deleted. */
1412
1422
  export interface OrderDeleted {
1413
- /** Order deleted timestamp in ISO UTC format. */
1423
+ /** Date and time the order was deleted. */
1414
1424
  timestamp?: Date | null;
1415
1425
  /**
1416
- * Event ID.
1426
+ * Event ID to which the order belongs.
1417
1427
  * @format GUID
1418
1428
  */
1419
1429
  eventId?: string;
1420
1430
  /** Unique order number. */
1421
1431
  orderNumber?: string;
1422
- /** Contact ID associated with this order */
1432
+ /** Contact ID associated with the order. */
1423
1433
  contactId?: string;
1424
1434
  /**
1425
- * Member ID associated with this order.
1435
+ * Member ID associated with the order.
1426
1436
  * @format GUID
1427
1437
  */
1428
1438
  memberId?: string | null;
1429
1439
  /**
1430
- * Order created timestamp.
1440
+ * Date and time the order was created.
1431
1441
  * @readonly
1432
1442
  */
1433
1443
  created?: Date | null;
1434
1444
  /**
1435
- * Order updated timestamp.
1445
+ * Date and time the order was updated.
1436
1446
  * @readonly
1437
1447
  */
1438
1448
  updated?: Date | null;
1439
- /** Whether order was anonymized by GDPR delete. */
1449
+ /** Whether the order was anonymized by GDPR delete. */
1440
1450
  anonymized?: boolean;
1441
1451
  /** Order type. */
1442
1452
  orderType?: OrderTypeWithLiterals;
1443
- /** Whether event was triggered by GDPR delete request. */
1453
+ /** Whether the event was triggered by GDPR delete request. */
1444
1454
  triggeredByAnonymizeRequest?: boolean;
1445
1455
  /** Tickets generated after payment. */
1446
1456
  tickets?: Ticket[];
@@ -1527,6 +1537,8 @@ export interface GuestListPreview {
1527
1537
  notAttending?: GuestCount;
1528
1538
  /** Latest attending members. */
1529
1539
  latestAttendingMembers?: MemberGuests;
1540
+ /** If present, indicates that current member is attending. */
1541
+ currentMemberGuest?: MemberGuest;
1530
1542
  }
1531
1543
  export interface GuestCount {
1532
1544
  /** Total guest count. For Rsvp Event every RSVP guest and additional guest count, for Ticketed Event count of TICKET_HOLDER */
@@ -1573,25 +1585,21 @@ export interface BaseEventMetadata {
1573
1585
  identity?: IdentificationData;
1574
1586
  }
1575
1587
  export interface EventMetadata extends BaseEventMetadata {
1576
- /**
1577
- * Unique event ID.
1578
- * Allows clients to ignore duplicate webhooks.
1579
- */
1588
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1580
1589
  _id?: string;
1581
1590
  /**
1582
- * Assumes actions are also always typed to an entity_type
1583
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1591
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1592
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1584
1593
  */
1585
1594
  entityFqdn?: string;
1586
1595
  /**
1587
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1588
- * This is although the created/updated/deleted notion is duplication of the oneof types
1589
- * Example: created/updated/deleted/started/completed/email_opened
1596
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1597
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1590
1598
  */
1591
1599
  slug?: string;
1592
1600
  /** ID of the entity associated with the event. */
1593
1601
  entityId?: string;
1594
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1602
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1595
1603
  eventTime?: Date | null;
1596
1604
  /**
1597
1605
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1601,12 +1609,8 @@ export interface EventMetadata extends BaseEventMetadata {
1601
1609
  /** If present, indicates the action that triggered the event. */
1602
1610
  originatedFrom?: string | null;
1603
1611
  /**
1604
- * A sequence number defining the order of updates to the underlying entity.
1605
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1606
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1607
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1608
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1609
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1612
+ * 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.
1613
+ * 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.
1610
1614
  */
1611
1615
  entityEventSequence?: string | null;
1612
1616
  }
@@ -1747,7 +1751,10 @@ export interface GuestUpdatedEnvelope {
1747
1751
  metadata: EventMetadata;
1748
1752
  }
1749
1753
  /**
1750
- * Triggered when a guest is updated. This webhook always fires together with [Event Guest Created](https://dev.wix.com/docs/rest/business-solutions/events/event-guests/event-guest-created) and [Event Guest Deleted](https://dev.wix.com/docs/rest/business-solutions/events/event-guests/event-guest-deleted) webhooks. When calling it, it might be triggered twice - make sure to explicitly add code to make sure parts of your code only run once.
1754
+ * Triggered when a guest is updated.
1755
+ *
1756
+ * This event always triggers together with the Guest Created and the Guest Deleted events.
1757
+ * > **Note:** Since this event may trigger twice, you should explicitly add code to ensure that the parts of your code that depend on this event run only once.
1751
1758
  * @permissionScope Read Events - all read permissions
1752
1759
  * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS
1753
1760
  * @permissionScope Manage Events - all permissions
@@ -78,14 +78,14 @@ var MemberEventStatusUpdatedEventType;
78
78
  */
79
79
  MemberEventStatusUpdatedEventType["MEMBER_LEFT"] = "MEMBER_LEFT";
80
80
  /**
81
- * Triggered every time a guest with a specified member ID whose status is `ATTENDING` is added to the event.
82
- * This event can also be triggered if an existing guest changed their member ID or changed their status to `ATTENDING`.
81
+ * Triggered every time a guest with a specified member ID whose status is `"ATTENDING"` is added to the event.
82
+ * This event can also be triggered if an existing guest changed their member ID or changed their status to `"ATTENDING"`.
83
83
  */
84
84
  MemberEventStatusUpdatedEventType["ATTENDING_MEMBER_JOINED"] = "ATTENDING_MEMBER_JOINED";
85
85
  /**
86
- * Triggered when the last guest with a specified member ID is removed from the event or their status changes to `ATTENDING`.
86
+ * Triggered when the last guest with a specified member ID is removed from the event or their status changes to `"NOT_ATTENDING"`.
87
87
  * Once triggered there are no more attending guests with a specified member ID in the event.
88
- * This event can also be triggered if the last existing guest changed their member ID or their status to `NOT_ATTENDING`.
88
+ * This event can also be triggered if the last existing guest changed their member ID or their status to `"NOT_ATTENDING"`.
89
89
  */
90
90
  MemberEventStatusUpdatedEventType["LAST_ATTENDING_MEMBER_LEFT"] = "LAST_ATTENDING_MEMBER_LEFT";
91
91
  })(MemberEventStatusUpdatedEventType || (exports.MemberEventStatusUpdatedEventType = MemberEventStatusUpdatedEventType = {}));
@@ -194,17 +194,17 @@ var Timing;
194
194
  })(Timing || (exports.Timing = Timing = {}));
195
195
  var OrderStatus;
196
196
  (function (OrderStatus) {
197
- /** Order status not available for this request fieldset. */
197
+ /** Order status is not available for this request fieldset. */
198
198
  OrderStatus["NA_ORDER_STATUS"] = "NA_ORDER_STATUS";
199
- /** Order is confirmed and payment isn't required. */
199
+ /** Order is confirmed, no payment is required. */
200
200
  OrderStatus["FREE"] = "FREE";
201
- /** Order is paid for but the payment gateway has suspended the payment. */
201
+ /** Order was paid, but the payment gateway suspended the payment. */
202
202
  OrderStatus["PENDING"] = "PENDING";
203
- /** Order is paid via a payment gateway. */
203
+ /** Order is paid. */
204
204
  OrderStatus["PAID"] = "PAID";
205
- /** Order is confirmed but must be paid via offline payment. Status needs to be manually updated to `PAID`. */
205
+ /** Order is confirmed but has be paid via offline payment. Status needs to be manually updated to `"PAID"`. */
206
206
  OrderStatus["OFFLINE_PENDING"] = "OFFLINE_PENDING";
207
- /** Order is awaiting payment at the cashier. */
207
+ /** Order is awaiting for payment at the cashier. */
208
208
  OrderStatus["INITIATED"] = "INITIATED";
209
209
  /** Order is canceled. */
210
210
  OrderStatus["CANCELED"] = "CANCELED";
@@ -235,7 +235,7 @@ var FeeType;
235
235
  (function (FeeType) {
236
236
  /** Fee is added to the ticket price at checkout. */
237
237
  FeeType["FEE_ADDED"] = "FEE_ADDED";
238
- /** Seller absorbs the fee. It is deducted from the ticket price. */
238
+ /** Seller absorbs the fee. It's deducted from the ticket price. */
239
239
  FeeType["FEE_INCLUDED"] = "FEE_INCLUDED";
240
240
  /** Fee is added to the ticket price at checkout. */
241
241
  FeeType["FEE_ADDED_AT_CHECKOUT"] = "FEE_ADDED_AT_CHECKOUT";
@@ -1 +1 @@
1
- {"version":3,"file":"events-guests-v1-guest-guests.universal.js","sourceRoot":"","sources":["../../../../src/events-guests-v1-guest-guests.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,0GAA4F;AAC5F,aAAa;AACb,sEAA4F;AAC5F,sFAAkF;AAsPlF,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,YAAY;IACZ,8EAA2D,CAAA;IAC3D,aAAa;IACb,8EAA2D,CAAA;IAC3D,gBAAgB;IAChB,8EAA2D,CAAA;IAC3D,2BAA2B;IAC3B,8EAA2D,CAAA;IAC3D,mBAAmB;IACnB,8EAA2D,CAAA;IAC3D,8IAA8I;IAC9I,sCAAmB,CAAA;AACrB,CAAC,EAdW,eAAe,+BAAf,eAAe,QAc1B;AAsBD,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,qBAAqB;IACrB,mDAA+B,CAAA;IAC/B,iBAAiB;IACjB,2CAAuB,CAAA;IACvB,yBAAyB;IACzB,+CAA2B,CAAA;AAC7B,CAAC,EAPW,gBAAgB,gCAAhB,gBAAgB,QAO3B;AASD,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,6CAA6C;IAC7C,0BAAa,CAAA;IACb,uCAAuC;IACvC,4BAAe,CAAA;IACf,gDAAgD;IAChD,4CAA+B,CAAA;AACjC,CAAC,EAPW,SAAS,yBAAT,SAAS,QAOpB;AA2CD,IAAY,iCAsBX;AAtBD,WAAY,iCAAiC;IAC3C;;;OAGG;IACH,oEAA+B,CAAA;IAC/B;;;OAGG;IACH,gEAA2B,CAAA;IAC3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D,IAAA,gCAAc,EAAC,IAAI,EAAE;gBACnB;oBACE,WAAW,EAAE,0CAAgC;oBAC7C,KAAK,EAAE;wBACL;4BACE,IAAI,EAAE,8DAA8D;yBACrE;qBACF;iBACF;aACF,CAAC,CACH,CAAC;YAEF,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,MAAM;gBAC9B,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC;AAxED,kCAwEC"}
1
+ {"version":3,"file":"events-guests-v1-guest-guests.universal.js","sourceRoot":"","sources":["../../../../src/events-guests-v1-guest-guests.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,0GAA4F;AAC5F,aAAa;AACb,sEAA4F;AAC5F,sFAAkF;AAyPlF,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,YAAY;IACZ,8EAA2D,CAAA;IAC3D,aAAa;IACb,8EAA2D,CAAA;IAC3D,gBAAgB;IAChB,8EAA2D,CAAA;IAC3D,2BAA2B;IAC3B,8EAA2D,CAAA;IAC3D,mBAAmB;IACnB,8EAA2D,CAAA;IAC3D,8IAA8I;IAC9I,sCAAmB,CAAA;AACrB,CAAC,EAdW,eAAe,+BAAf,eAAe,QAc1B;AAsBD,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC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AAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;gBAC5B,MAAM,GAAG,CAAC;YACZ,CAAC;QACH,CAAC;QACD,kBAAkB,EAAE,CAAC,KAAuC,EAAE,EAAE;YAC9D,MAAM,IAAI,GAAG,CAAC,KAAK,EAAE,OAAO,CAG3B,CAAC;YACF,OAAO,IAAA,8DAAqC,EAAC;gBAC3C,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC;gBACZ,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;aACjB,CAAC,CAAC;QACL,CAAC;QACD,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAA0C,EAAE,EAAE;YACxE,MAAM,eAAe,GAAG,IAAA,gEAAuC,EAC7D,IAAA,gCAAc,EAAC,IAAI,EAAE;gBACnB;oBACE,WAAW,EAAE,0CAAgC;oBAC7C,KAAK,EAAE;wBACL;4BACE,IAAI,EAAE,8DAA8D;yBACrE;qBACF;iBACF;aACF,CAAC,CACH,CAAC;YAEF,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,MAAM;gBAC9B,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC;AAxED,kCAwEC"}
@@ -34,7 +34,10 @@ export declare const onGuestEventStarts: ReturnType<typeof createEventModule<typ
34
34
  */
35
35
  export declare const onGuestOrderCanceled: ReturnType<typeof createEventModule<typeof publicOnGuestOrderCanceled>>;
36
36
  /**
37
- * Triggered when a guest is updated. This webhook always fires together with [Event Guest Created](https://dev.wix.com/docs/rest/business-solutions/events/event-guests/event-guest-created) and [Event Guest Deleted](https://dev.wix.com/docs/rest/business-solutions/events/event-guests/event-guest-deleted) webhooks. When calling it, it might be triggered twice - make sure to explicitly add code to make sure parts of your code only run once.
37
+ * Triggered when a guest is updated.
38
+ *
39
+ * This event always triggers together with the Guest Created and the Guest Deleted events.
40
+ * > **Note:** Since this event may trigger twice, you should explicitly add code to ensure that the parts of your code that depend on this event run only once.
38
41
  */
39
42
  export declare const onGuestUpdated: ReturnType<typeof createEventModule<typeof publicOnGuestUpdated>>;
40
43
  export { SubdivisionType, AttendanceStatus, GuestType, MemberEventStatusUpdatedEventType, EventType, LocationType, SubdivisionSubdivisionType, RecurrenceStatusStatus, Status, NotifyActionType, Timing, OrderStatus, TaxType, FeeName, FeeType, WebhookIdentityType, SortOrder, RequestedFieldsEnumRequestedFields, OrderType, RequestedFields, } from './events-guests-v1-guest-guests.universal.js';
@@ -34,7 +34,10 @@ export const onGuestEventStarts = createEventModule(publicOnGuestEventStarts);
34
34
  */
35
35
  export const onGuestOrderCanceled = createEventModule(publicOnGuestOrderCanceled);
36
36
  /**
37
- * Triggered when a guest is updated. This webhook always fires together with [Event Guest Created](https://dev.wix.com/docs/rest/business-solutions/events/event-guests/event-guest-created) and [Event Guest Deleted](https://dev.wix.com/docs/rest/business-solutions/events/event-guests/event-guest-deleted) webhooks. When calling it, it might be triggered twice - make sure to explicitly add code to make sure parts of your code only run once.
37
+ * Triggered when a guest is updated.
38
+ *
39
+ * This event always triggers together with the Guest Created and the Guest Deleted events.
40
+ * > **Note:** Since this event may trigger twice, you should explicitly add code to ensure that the parts of your code that depend on this event run only once.
38
41
  */
39
42
  export const onGuestUpdated = createEventModule(publicOnGuestUpdated);
40
43
  export { SubdivisionType, AttendanceStatus, GuestType, MemberEventStatusUpdatedEventType, EventType, LocationType, SubdivisionSubdivisionType, RecurrenceStatusStatus, Status, NotifyActionType, Timing, OrderStatus, TaxType, FeeName, FeeType, WebhookIdentityType, SortOrder, RequestedFieldsEnumRequestedFields, OrderType, RequestedFields, } from './events-guests-v1-guest-guests.universal.js';
@@ -1 +1 @@
1
- {"version":3,"file":"events-guests-v1-guest-guests.context.js","sourceRoot":"","sources":["../../../../src/events-guests-v1-guest-guests.context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC7F,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAE9E,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACnG,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACnG,OAAO,EAAE,gBAAgB,IAAI,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,oBAAoB,IAAI,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AAC/G,OAAO,EAAE,kBAAkB,IAAI,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC3G,OAAO,EAAE,oBAAoB,IAAI,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AAC/G,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AAEnG,MAAM,CAAC,MAAM,WAAW,GAEpB,aAAa,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,CAAC;AACtD;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAEvB,iBAAiB,CAAC,oBAAoB,CAAC,CAAC;AAC5C;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAEvB,iBAAiB,CAAC,oBAAoB,CAAC,CAAC;AAC5C;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAEzB,iBAAiB,CAAC,sBAAsB,CAAC,CAAC;AAC9C;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAE7B,iBAAiB,CAAC,0BAA0B,CAAC,CAAC;AAClD;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAE3B,iBAAiB,CAAC,wBAAwB,CAAC,CAAC;AAChD;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAE7B,iBAAiB,CAAC,0BAA0B,CAAC,CAAC;AAClD;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAEvB,iBAAiB,CAAC,oBAAoB,CAAC,CAAC;AAE5C,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,iCAAiC,EACjC,SAAS,EACT,YAAY,EACZ,0BAA0B,EAC1B,sBAAsB,EACtB,MAAM,EACN,gBAAgB,EAChB,MAAM,EACN,WAAW,EACX,OAAO,EACP,OAAO,EACP,OAAO,EACP,mBAAmB,EACnB,SAAS,EACT,kCAAkC,EAClC,SAAS,EACT,eAAe,GAChB,MAAM,8CAA8C,CAAC"}
1
+ {"version":3,"file":"events-guests-v1-guest-guests.context.js","sourceRoot":"","sources":["../../../../src/events-guests-v1-guest-guests.context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC7F,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAE9E,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACnG,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACnG,OAAO,EAAE,gBAAgB,IAAI,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,oBAAoB,IAAI,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AAC/G,OAAO,EAAE,kBAAkB,IAAI,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC3G,OAAO,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