@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.
- package/build/cjs/src/events-guests-v1-guest-guests.context.d.ts +4 -1
- package/build/cjs/src/events-guests-v1-guest-guests.context.js +4 -1
- package/build/cjs/src/events-guests-v1-guest-guests.context.js.map +1 -1
- package/build/cjs/src/events-guests-v1-guest-guests.types.d.ts +82 -70
- package/build/cjs/src/events-guests-v1-guest-guests.types.js +11 -11
- package/build/cjs/src/events-guests-v1-guest-guests.types.js.map +1 -1
- package/build/cjs/src/events-guests-v1-guest-guests.universal.d.ts +94 -87
- package/build/cjs/src/events-guests-v1-guest-guests.universal.js +11 -11
- package/build/cjs/src/events-guests-v1-guest-guests.universal.js.map +1 -1
- package/build/es/src/events-guests-v1-guest-guests.context.d.ts +4 -1
- package/build/es/src/events-guests-v1-guest-guests.context.js +4 -1
- package/build/es/src/events-guests-v1-guest-guests.context.js.map +1 -1
- package/build/es/src/events-guests-v1-guest-guests.types.d.ts +82 -70
- package/build/es/src/events-guests-v1-guest-guests.types.js +11 -11
- package/build/es/src/events-guests-v1-guest-guests.types.js.map +1 -1
- package/build/es/src/events-guests-v1-guest-guests.universal.d.ts +94 -87
- package/build/es/src/events-guests-v1-guest-guests.universal.js +11 -11
- package/build/es/src/events-guests-v1-guest-guests.universal.js.map +1 -1
- package/build/internal/cjs/src/events-guests-v1-guest-guests.context.d.ts +4 -1
- package/build/internal/cjs/src/events-guests-v1-guest-guests.context.js +4 -1
- package/build/internal/cjs/src/events-guests-v1-guest-guests.context.js.map +1 -1
- package/build/internal/cjs/src/events-guests-v1-guest-guests.types.d.ts +82 -70
- package/build/internal/cjs/src/events-guests-v1-guest-guests.types.js +11 -11
- package/build/internal/cjs/src/events-guests-v1-guest-guests.types.js.map +1 -1
- package/build/internal/cjs/src/events-guests-v1-guest-guests.universal.d.ts +94 -87
- package/build/internal/cjs/src/events-guests-v1-guest-guests.universal.js +11 -11
- package/build/internal/cjs/src/events-guests-v1-guest-guests.universal.js.map +1 -1
- package/build/internal/es/src/events-guests-v1-guest-guests.context.d.ts +4 -1
- package/build/internal/es/src/events-guests-v1-guest-guests.context.js +4 -1
- package/build/internal/es/src/events-guests-v1-guest-guests.context.js.map +1 -1
- package/build/internal/es/src/events-guests-v1-guest-guests.types.d.ts +82 -70
- package/build/internal/es/src/events-guests-v1-guest-guests.types.js +11 -11
- package/build/internal/es/src/events-guests-v1-guest-guests.types.js.map +1 -1
- package/build/internal/es/src/events-guests-v1-guest-guests.universal.d.ts +94 -87
- package/build/internal/es/src/events-guests-v1-guest-guests.universal.js +11 -11
- package/build/internal/es/src/events-guests-v1-guest-guests.universal.js.map +1 -1
- 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
|
|
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
|
-
/**
|
|
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
|
|
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 `
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
|
727
|
+
/** Order is confirmed, no payment is required. */
|
|
713
728
|
FREE = "FREE",
|
|
714
|
-
/** Order
|
|
729
|
+
/** Order was paid, but the payment gateway suspended the payment. */
|
|
715
730
|
PENDING = "PENDING",
|
|
716
|
-
/** Order is paid
|
|
731
|
+
/** Order is paid. */
|
|
717
732
|
PAID = "PAID",
|
|
718
|
-
/** Order is confirmed but
|
|
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
|
-
/**
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
-
*
|
|
971
|
-
*
|
|
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
|
-
*
|
|
976
|
-
*
|
|
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
|
|
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
|
|
993
|
-
*
|
|
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
|
-
/**
|
|
1258
|
+
/** Date and time the order was confirmed. */
|
|
1251
1259
|
timestamp?: Date | null;
|
|
1252
1260
|
/**
|
|
1253
|
-
* Site language when
|
|
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
|
|
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
|
|
1279
|
+
/** Contact ID associated with the order. */
|
|
1272
1280
|
contactId?: string;
|
|
1273
1281
|
/**
|
|
1274
|
-
* Member ID associated with
|
|
1282
|
+
* Member ID associated with the order.
|
|
1275
1283
|
* @format GUID
|
|
1276
1284
|
*/
|
|
1277
1285
|
memberId?: string | null;
|
|
1278
1286
|
/**
|
|
1279
|
-
*
|
|
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
|
|
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
|
-
/**
|
|
1364
|
+
/** Date and time the order was updated. */
|
|
1356
1365
|
timestamp?: Date | null;
|
|
1357
1366
|
/**
|
|
1358
|
-
* Site language when
|
|
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
|
|
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
|
|
1383
|
+
/** Contact ID associated with the order. */
|
|
1375
1384
|
contactId?: string;
|
|
1376
1385
|
/**
|
|
1377
|
-
* Member ID associated with
|
|
1386
|
+
* Member ID associated with the order.
|
|
1378
1387
|
* @format GUID
|
|
1379
1388
|
*/
|
|
1380
1389
|
memberId?: string | null;
|
|
1381
1390
|
/**
|
|
1382
|
-
*
|
|
1391
|
+
* Date and time the order was created.
|
|
1383
1392
|
* @readonly
|
|
1384
1393
|
*/
|
|
1385
1394
|
created?: Date | null;
|
|
1386
1395
|
/**
|
|
1387
|
-
*
|
|
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
|
-
/**
|
|
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
|
|
1432
|
+
/** Contact ID associated with the order. */
|
|
1423
1433
|
contactId?: string;
|
|
1424
1434
|
/**
|
|
1425
|
-
* Member ID associated with
|
|
1435
|
+
* Member ID associated with the order.
|
|
1426
1436
|
* @format GUID
|
|
1427
1437
|
*/
|
|
1428
1438
|
memberId?: string | null;
|
|
1429
1439
|
/**
|
|
1430
|
-
*
|
|
1440
|
+
* Date and time the order was created.
|
|
1431
1441
|
* @readonly
|
|
1432
1442
|
*/
|
|
1433
1443
|
created?: Date | null;
|
|
1434
1444
|
/**
|
|
1435
|
-
*
|
|
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
|
-
*
|
|
1583
|
-
*
|
|
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
|
-
*
|
|
1588
|
-
*
|
|
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
|
|
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
|
|
1605
|
-
*
|
|
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.
|
|
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
|
|
@@ -52,14 +52,14 @@ export var MemberEventStatusUpdatedEventType;
|
|
|
52
52
|
*/
|
|
53
53
|
MemberEventStatusUpdatedEventType["MEMBER_LEFT"] = "MEMBER_LEFT";
|
|
54
54
|
/**
|
|
55
|
-
* Triggered every time a guest with a specified member ID whose status is `ATTENDING` is added to the event.
|
|
56
|
-
* This event can also be triggered if an existing guest changed their member ID or changed their status to `ATTENDING`.
|
|
55
|
+
* Triggered every time a guest with a specified member ID whose status is `"ATTENDING"` is added to the event.
|
|
56
|
+
* This event can also be triggered if an existing guest changed their member ID or changed their status to `"ATTENDING"`.
|
|
57
57
|
*/
|
|
58
58
|
MemberEventStatusUpdatedEventType["ATTENDING_MEMBER_JOINED"] = "ATTENDING_MEMBER_JOINED";
|
|
59
59
|
/**
|
|
60
|
-
* Triggered when the last guest with a specified member ID is removed from the event or their status changes to `
|
|
60
|
+
* Triggered when the last guest with a specified member ID is removed from the event or their status changes to `"NOT_ATTENDING"`.
|
|
61
61
|
* Once triggered there are no more attending guests with a specified member ID in the event.
|
|
62
|
-
* This event can also be triggered if the last existing guest changed their member ID or their status to `NOT_ATTENDING`.
|
|
62
|
+
* This event can also be triggered if the last existing guest changed their member ID or their status to `"NOT_ATTENDING"`.
|
|
63
63
|
*/
|
|
64
64
|
MemberEventStatusUpdatedEventType["LAST_ATTENDING_MEMBER_LEFT"] = "LAST_ATTENDING_MEMBER_LEFT";
|
|
65
65
|
})(MemberEventStatusUpdatedEventType || (MemberEventStatusUpdatedEventType = {}));
|
|
@@ -168,17 +168,17 @@ export var Timing;
|
|
|
168
168
|
})(Timing || (Timing = {}));
|
|
169
169
|
export var OrderStatus;
|
|
170
170
|
(function (OrderStatus) {
|
|
171
|
-
/** Order status not available for this request fieldset. */
|
|
171
|
+
/** Order status is not available for this request fieldset. */
|
|
172
172
|
OrderStatus["NA_ORDER_STATUS"] = "NA_ORDER_STATUS";
|
|
173
|
-
/** Order is confirmed
|
|
173
|
+
/** Order is confirmed, no payment is required. */
|
|
174
174
|
OrderStatus["FREE"] = "FREE";
|
|
175
|
-
/** Order
|
|
175
|
+
/** Order was paid, but the payment gateway suspended the payment. */
|
|
176
176
|
OrderStatus["PENDING"] = "PENDING";
|
|
177
|
-
/** Order is paid
|
|
177
|
+
/** Order is paid. */
|
|
178
178
|
OrderStatus["PAID"] = "PAID";
|
|
179
|
-
/** Order is confirmed but
|
|
179
|
+
/** Order is confirmed but has be paid via offline payment. Status needs to be manually updated to `"PAID"`. */
|
|
180
180
|
OrderStatus["OFFLINE_PENDING"] = "OFFLINE_PENDING";
|
|
181
|
-
/** Order is awaiting payment at the cashier. */
|
|
181
|
+
/** Order is awaiting for payment at the cashier. */
|
|
182
182
|
OrderStatus["INITIATED"] = "INITIATED";
|
|
183
183
|
/** Order is canceled. */
|
|
184
184
|
OrderStatus["CANCELED"] = "CANCELED";
|
|
@@ -209,7 +209,7 @@ export var FeeType;
|
|
|
209
209
|
(function (FeeType) {
|
|
210
210
|
/** Fee is added to the ticket price at checkout. */
|
|
211
211
|
FeeType["FEE_ADDED"] = "FEE_ADDED";
|
|
212
|
-
/** Seller absorbs the fee. It
|
|
212
|
+
/** Seller absorbs the fee. It's deducted from the ticket price. */
|
|
213
213
|
FeeType["FEE_INCLUDED"] = "FEE_INCLUDED";
|
|
214
214
|
/** Fee is added to the ticket price at checkout. */
|
|
215
215
|
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,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,gCAAgC,MAAM,yCAAyC,CAAC;AAC5F,aAAa;AACb,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;
|
|
1
|
+
{"version":3,"file":"events-guests-v1-guest-guests.universal.js","sourceRoot":"","sources":["../../../src/events-guests-v1-guest-guests.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,gCAAgC,MAAM,yCAAyC,CAAC;AAC5F,aAAa;AACb,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAyPlF,MAAM,CAAN,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,KAAf,eAAe,QAc1B;AAsBD,MAAM,CAAN,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,qBAAqB;IACrB,mDAA+B,C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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.
|
|
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';
|
|
@@ -37,7 +37,10 @@ exports.onGuestEventStarts = (0, event_definition_modules_1.createEventModule)(e
|
|
|
37
37
|
*/
|
|
38
38
|
exports.onGuestOrderCanceled = (0, event_definition_modules_1.createEventModule)(events_guests_v1_guest_guests_public_js_7.onGuestOrderCanceled);
|
|
39
39
|
/**
|
|
40
|
-
* Triggered when a guest is updated.
|
|
40
|
+
* Triggered when a guest is updated.
|
|
41
|
+
*
|
|
42
|
+
* This event always triggers together with the Guest Created and the Guest Deleted events.
|
|
43
|
+
* > **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.
|
|
41
44
|
*/
|
|
42
45
|
exports.onGuestUpdated = (0, event_definition_modules_1.createEventModule)(events_guests_v1_guest_guests_public_js_8.onGuestUpdated);
|
|
43
46
|
var events_guests_v1_guest_guests_universal_js_1 = require("./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,uGAA6F;AAC7F,gEAAiE;AACjE,wFAA8E;AAE9E,uGAAmG;AACnG,uGAAmG;AACnG,uGAAuG;AACvG,uGAA+G;AAC/G,uGAA2G;AAC3G,uGAA+G;AAC/G,uGAAmG;AAEtF,QAAA,WAAW,GAEN,IAAA,+BAAgB,EAAC,qDAAiB,CAAC,CAAC;AACtD;;GAEG;AACU,QAAA,cAAc,GAEvB,IAAA,4CAAiB,EAAC,wDAAoB,CAAC,CAAC;AAC5C;;GAEG;AACU,QAAA,cAAc,GAEvB,IAAA,4CAAiB,EAAC,wDAAoB,CAAC,CAAC;AAC5C;;GAEG;AACU,QAAA,gBAAgB,GAEzB,IAAA,4CAAiB,EAAC,0DAAsB,CAAC,CAAC;AAC9C;;GAEG;AACU,QAAA,oBAAoB,GAE7B,IAAA,4CAAiB,EAAC,8DAA0B,CAAC,CAAC;AAClD;;GAEG;AACU,QAAA,kBAAkB,GAE3B,IAAA,4CAAiB,EAAC,4DAAwB,CAAC,CAAC;AAChD;;GAEG;AACU,QAAA,oBAAoB,GAE7B,IAAA,4CAAiB,EAAC,8DAA0B,CAAC,CAAC;AAClD
|
|
1
|
+
{"version":3,"file":"events-guests-v1-guest-guests.context.js","sourceRoot":"","sources":["../../../../src/events-guests-v1-guest-guests.context.ts"],"names":[],"mappings":";;;AAAA,uGAA6F;AAC7F,gEAAiE;AACjE,wFAA8E;AAE9E,uGAAmG;AACnG,uGAAmG;AACnG,uGAAuG;AACvG,uGAA+G;AAC/G,uGAA2G;AAC3G,uGAA+G;AAC/G,uGAAmG;AAEtF,QAAA,WAAW,GAEN,IAAA,+BAAgB,EAAC,qDAAiB,CAAC,CAAC;AACtD;;GAEG;AACU,QAAA,cAAc,GAEvB,IAAA,4CAAiB,EAAC,wDAAoB,CAAC,CAAC;AAC5C;;GAEG;AACU,QA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