@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;
|
|
@@ -719,17 +734,17 @@ export interface OrderDetails {
|
|
|
719
734
|
invoice?: Invoice;
|
|
720
735
|
}
|
|
721
736
|
export declare enum OrderStatus {
|
|
722
|
-
/** Order status not available for this request fieldset. */
|
|
737
|
+
/** Order status is not available for this request fieldset. */
|
|
723
738
|
NA_ORDER_STATUS = "NA_ORDER_STATUS",
|
|
724
|
-
/** Order is confirmed
|
|
739
|
+
/** Order is confirmed, no payment is required. */
|
|
725
740
|
FREE = "FREE",
|
|
726
|
-
/** Order
|
|
741
|
+
/** Order was paid, but the payment gateway suspended the payment. */
|
|
727
742
|
PENDING = "PENDING",
|
|
728
|
-
/** Order is paid
|
|
743
|
+
/** Order is paid. */
|
|
729
744
|
PAID = "PAID",
|
|
730
|
-
/** Order is confirmed but
|
|
745
|
+
/** Order is confirmed but has be paid via offline payment. Status needs to be manually updated to `"PAID"`. */
|
|
731
746
|
OFFLINE_PENDING = "OFFLINE_PENDING",
|
|
732
|
-
/** Order is awaiting payment at the cashier. */
|
|
747
|
+
/** Order is awaiting for payment at the cashier. */
|
|
733
748
|
INITIATED = "INITIATED",
|
|
734
749
|
/** Order is canceled. */
|
|
735
750
|
CANCELED = "CANCELED",
|
|
@@ -751,14 +766,14 @@ export interface Invoice {
|
|
|
751
766
|
* @deprecated
|
|
752
767
|
*/
|
|
753
768
|
total?: Money;
|
|
754
|
-
/** Discount applied to cart. */
|
|
769
|
+
/** Discount applied to a cart. */
|
|
755
770
|
discount?: Discount;
|
|
756
|
-
/** Tax applied to cart. */
|
|
771
|
+
/** Tax applied to a cart. */
|
|
757
772
|
tax?: Tax;
|
|
758
773
|
/** Total cart amount before discount, tax, and fees. */
|
|
759
774
|
subTotal?: Money;
|
|
760
775
|
/**
|
|
761
|
-
* Total amount of cart after discount, tax, and fees.
|
|
776
|
+
* Total amount of a cart after discount, tax, and fees.
|
|
762
777
|
* Grand total is calculated in the following order:
|
|
763
778
|
* 1. Total prices of all items in the cart are calculated.
|
|
764
779
|
* 2. Discount is subtracted from the cart (if applicable).
|
|
@@ -773,7 +788,7 @@ export interface Invoice {
|
|
|
773
788
|
fees?: Fee[];
|
|
774
789
|
/** Total revenue, excluding fees. (Taxes and payment provider fees are not deducted). */
|
|
775
790
|
revenue?: Money;
|
|
776
|
-
/**
|
|
791
|
+
/** Invoice preview URL. Only returned if the order is paid. */
|
|
777
792
|
previewUrl?: string | null;
|
|
778
793
|
}
|
|
779
794
|
export interface Item {
|
|
@@ -812,7 +827,7 @@ export interface Money {
|
|
|
812
827
|
*/
|
|
813
828
|
amount?: string;
|
|
814
829
|
/**
|
|
815
|
-
*
|
|
830
|
+
* Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
816
831
|
* @format CURRENCY
|
|
817
832
|
*/
|
|
818
833
|
currency?: string;
|
|
@@ -825,7 +840,7 @@ export interface Money {
|
|
|
825
840
|
export interface Discount {
|
|
826
841
|
/** Total discount amount. */
|
|
827
842
|
amount?: Money;
|
|
828
|
-
/** Total
|
|
843
|
+
/** Total sum after the discount. */
|
|
829
844
|
afterDiscount?: Money;
|
|
830
845
|
/**
|
|
831
846
|
* Discount coupon code.
|
|
@@ -861,11 +876,11 @@ export interface DiscountItemDiscountOneOf {
|
|
|
861
876
|
paidPlan?: PaidPlanDiscount;
|
|
862
877
|
}
|
|
863
878
|
export interface CouponDiscount {
|
|
864
|
-
/** Discount coupon name. */
|
|
879
|
+
/** Discount coupon name. **Deprecated:** Use `invoice.discounts.coupon.name` instead. */
|
|
865
880
|
name?: string;
|
|
866
|
-
/** Discount coupon code. */
|
|
881
|
+
/** Discount coupon code. **Deprecated:** Use `invoice.discounts.coupon.code` instead. */
|
|
867
882
|
code?: string;
|
|
868
|
-
/** Discount coupon ID. */
|
|
883
|
+
/** Discount coupon ID. **Deprecated:** Use `invoice.discounts.coupon.couponId` instead. */
|
|
869
884
|
couponId?: string;
|
|
870
885
|
}
|
|
871
886
|
export interface PaidPlanDiscount extends PaidPlanDiscountDiscountOneOf {
|
|
@@ -939,7 +954,7 @@ export type FeeNameWithLiterals = FeeName | 'WIX_FEE';
|
|
|
939
954
|
export declare enum FeeType {
|
|
940
955
|
/** Fee is added to the ticket price at checkout. */
|
|
941
956
|
FEE_ADDED = "FEE_ADDED",
|
|
942
|
-
/** Seller absorbs the fee. It
|
|
957
|
+
/** Seller absorbs the fee. It's deducted from the ticket price. */
|
|
943
958
|
FEE_INCLUDED = "FEE_INCLUDED",
|
|
944
959
|
/** Fee is added to the ticket price at checkout. */
|
|
945
960
|
FEE_ADDED_AT_CHECKOUT = "FEE_ADDED_AT_CHECKOUT"
|
|
@@ -973,25 +988,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
973
988
|
updatedEvent?: EntityUpdatedEvent;
|
|
974
989
|
deletedEvent?: EntityDeletedEvent;
|
|
975
990
|
actionEvent?: ActionEvent;
|
|
976
|
-
/**
|
|
977
|
-
* Unique event ID.
|
|
978
|
-
* Allows clients to ignore duplicate webhooks.
|
|
979
|
-
*/
|
|
991
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
980
992
|
id?: string;
|
|
981
993
|
/**
|
|
982
|
-
*
|
|
983
|
-
*
|
|
994
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
995
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
984
996
|
*/
|
|
985
997
|
entityFqdn?: string;
|
|
986
998
|
/**
|
|
987
|
-
*
|
|
988
|
-
*
|
|
989
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
999
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
1000
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
990
1001
|
*/
|
|
991
1002
|
slug?: string;
|
|
992
1003
|
/** ID of the entity associated with the event. */
|
|
993
1004
|
entityId?: string;
|
|
994
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
1005
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
995
1006
|
eventTime?: Date | null;
|
|
996
1007
|
/**
|
|
997
1008
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1001,12 +1012,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
1001
1012
|
/** If present, indicates the action that triggered the event. */
|
|
1002
1013
|
originatedFrom?: string | null;
|
|
1003
1014
|
/**
|
|
1004
|
-
* A sequence number
|
|
1005
|
-
*
|
|
1006
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
1007
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
1008
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
1009
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
1015
|
+
* 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.
|
|
1016
|
+
* 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.
|
|
1010
1017
|
*/
|
|
1011
1018
|
entityEventSequence?: string | null;
|
|
1012
1019
|
}
|
|
@@ -1034,7 +1041,7 @@ export interface EntityUpdatedEvent {
|
|
|
1034
1041
|
currentEntityAsJson?: string;
|
|
1035
1042
|
}
|
|
1036
1043
|
export interface EntityDeletedEvent {
|
|
1037
|
-
/** Entity that was deleted */
|
|
1044
|
+
/** Entity that was deleted. */
|
|
1038
1045
|
deletedEntityAsJson?: string | null;
|
|
1039
1046
|
}
|
|
1040
1047
|
export interface ActionEvent {
|
|
@@ -1260,37 +1267,38 @@ export interface Language {
|
|
|
1260
1267
|
*/
|
|
1261
1268
|
locale?: string | null;
|
|
1262
1269
|
}
|
|
1270
|
+
/** Triggered when an order is confirmed. */
|
|
1263
1271
|
export interface OrderConfirmed {
|
|
1264
|
-
/**
|
|
1272
|
+
/** Date and time the order was confirmed. */
|
|
1265
1273
|
timestamp?: Date | null;
|
|
1266
1274
|
/**
|
|
1267
|
-
* Site language when
|
|
1275
|
+
* Site language when the order was initiated.
|
|
1268
1276
|
* @format LANGUAGE
|
|
1269
1277
|
*/
|
|
1270
1278
|
language?: string | null;
|
|
1271
1279
|
/** Notifications silenced for this domain event. */
|
|
1272
1280
|
silent?: boolean | null;
|
|
1273
1281
|
/**
|
|
1274
|
-
* Locale in which
|
|
1282
|
+
* Locale in which the order was created.
|
|
1275
1283
|
* @format LANGUAGE_TAG
|
|
1276
1284
|
*/
|
|
1277
1285
|
locale?: string | null;
|
|
1278
1286
|
/**
|
|
1279
|
-
* Event ID.
|
|
1287
|
+
* Event ID to which the order belongs.
|
|
1280
1288
|
* @format GUID
|
|
1281
1289
|
*/
|
|
1282
1290
|
eventId?: string;
|
|
1283
1291
|
/** Unique order number. */
|
|
1284
1292
|
orderNumber?: string;
|
|
1285
|
-
/** Contact ID associated with
|
|
1293
|
+
/** Contact ID associated with the order. */
|
|
1286
1294
|
contactId?: string;
|
|
1287
1295
|
/**
|
|
1288
|
-
* Member ID associated with
|
|
1296
|
+
* Member ID associated with the order.
|
|
1289
1297
|
* @format GUID
|
|
1290
1298
|
*/
|
|
1291
1299
|
memberId?: string | null;
|
|
1292
1300
|
/**
|
|
1293
|
-
*
|
|
1301
|
+
* Date and time the order was created.
|
|
1294
1302
|
* @readonly
|
|
1295
1303
|
*/
|
|
1296
1304
|
created?: Date | null;
|
|
@@ -1310,7 +1318,7 @@ export interface OrderConfirmed {
|
|
|
1310
1318
|
tickets?: Ticket[];
|
|
1311
1319
|
/** Invoice. */
|
|
1312
1320
|
invoice?: Invoice;
|
|
1313
|
-
/** Reservation ID associated with
|
|
1321
|
+
/** Reservation ID associated with the order. */
|
|
1314
1322
|
reservationId?: string;
|
|
1315
1323
|
}
|
|
1316
1324
|
export interface Ticket {
|
|
@@ -1362,43 +1370,44 @@ export interface Ticket {
|
|
|
1362
1370
|
canceled?: boolean | null;
|
|
1363
1371
|
}
|
|
1364
1372
|
export interface CheckIn {
|
|
1365
|
-
/** Time of check-in */
|
|
1373
|
+
/** Time of check-in. */
|
|
1366
1374
|
created?: Date | null;
|
|
1367
1375
|
}
|
|
1376
|
+
/** Triggered when an order is updated. */
|
|
1368
1377
|
export interface OrderUpdated {
|
|
1369
|
-
/**
|
|
1378
|
+
/** Date and time the order was updated. */
|
|
1370
1379
|
timestamp?: Date | null;
|
|
1371
1380
|
/**
|
|
1372
|
-
* Site language when
|
|
1381
|
+
* Site language when the order was initiated.
|
|
1373
1382
|
* @format LANGUAGE
|
|
1374
1383
|
*/
|
|
1375
1384
|
language?: string | null;
|
|
1376
1385
|
/**
|
|
1377
|
-
* Locale in which
|
|
1386
|
+
* Locale in which the order was created.
|
|
1378
1387
|
* @format LANGUAGE_TAG
|
|
1379
1388
|
*/
|
|
1380
1389
|
locale?: string | null;
|
|
1381
1390
|
/**
|
|
1382
|
-
* Event ID.
|
|
1391
|
+
* Event ID to which the order belongs.
|
|
1383
1392
|
* @format GUID
|
|
1384
1393
|
*/
|
|
1385
1394
|
eventId?: string;
|
|
1386
1395
|
/** Unique order number. */
|
|
1387
1396
|
orderNumber?: string;
|
|
1388
|
-
/** Contact ID associated with
|
|
1397
|
+
/** Contact ID associated with the order. */
|
|
1389
1398
|
contactId?: string;
|
|
1390
1399
|
/**
|
|
1391
|
-
* Member ID associated with
|
|
1400
|
+
* Member ID associated with the order.
|
|
1392
1401
|
* @format GUID
|
|
1393
1402
|
*/
|
|
1394
1403
|
memberId?: string | null;
|
|
1395
1404
|
/**
|
|
1396
|
-
*
|
|
1405
|
+
* Date and time the order was created.
|
|
1397
1406
|
* @readonly
|
|
1398
1407
|
*/
|
|
1399
1408
|
created?: Date | null;
|
|
1400
1409
|
/**
|
|
1401
|
-
*
|
|
1410
|
+
* Date and time the order was updated.
|
|
1402
1411
|
* @readonly
|
|
1403
1412
|
*/
|
|
1404
1413
|
updated?: Date | null;
|
|
@@ -1423,38 +1432,39 @@ export interface OrderUpdated {
|
|
|
1423
1432
|
/** Whether event was triggered by GDPR delete request. */
|
|
1424
1433
|
triggeredByAnonymizeRequest?: boolean;
|
|
1425
1434
|
}
|
|
1435
|
+
/** Triggered when an order is deleted. */
|
|
1426
1436
|
export interface OrderDeleted {
|
|
1427
|
-
/**
|
|
1437
|
+
/** Date and time the order was deleted. */
|
|
1428
1438
|
timestamp?: Date | null;
|
|
1429
1439
|
/**
|
|
1430
|
-
* Event ID.
|
|
1440
|
+
* Event ID to which the order belongs.
|
|
1431
1441
|
* @format GUID
|
|
1432
1442
|
*/
|
|
1433
1443
|
eventId?: string;
|
|
1434
1444
|
/** Unique order number. */
|
|
1435
1445
|
orderNumber?: string;
|
|
1436
|
-
/** Contact ID associated with
|
|
1446
|
+
/** Contact ID associated with the order. */
|
|
1437
1447
|
contactId?: string;
|
|
1438
1448
|
/**
|
|
1439
|
-
* Member ID associated with
|
|
1449
|
+
* Member ID associated with the order.
|
|
1440
1450
|
* @format GUID
|
|
1441
1451
|
*/
|
|
1442
1452
|
memberId?: string | null;
|
|
1443
1453
|
/**
|
|
1444
|
-
*
|
|
1454
|
+
* Date and time the order was created.
|
|
1445
1455
|
* @readonly
|
|
1446
1456
|
*/
|
|
1447
1457
|
created?: Date | null;
|
|
1448
1458
|
/**
|
|
1449
|
-
*
|
|
1459
|
+
* Date and time the order was updated.
|
|
1450
1460
|
* @readonly
|
|
1451
1461
|
*/
|
|
1452
1462
|
updated?: Date | null;
|
|
1453
|
-
/** Whether order was anonymized by GDPR delete. */
|
|
1463
|
+
/** Whether the order was anonymized by GDPR delete. */
|
|
1454
1464
|
anonymized?: boolean;
|
|
1455
1465
|
/** Order type. */
|
|
1456
1466
|
orderType?: OrderTypeWithLiterals;
|
|
1457
|
-
/** Whether event was triggered by GDPR delete request. */
|
|
1467
|
+
/** Whether the event was triggered by GDPR delete request. */
|
|
1458
1468
|
triggeredByAnonymizeRequest?: boolean;
|
|
1459
1469
|
/** Tickets generated after payment. */
|
|
1460
1470
|
tickets?: Ticket[];
|
|
@@ -1541,6 +1551,8 @@ export interface GuestListPreview {
|
|
|
1541
1551
|
notAttending?: GuestCount;
|
|
1542
1552
|
/** Latest attending members. */
|
|
1543
1553
|
latestAttendingMembers?: MemberGuests;
|
|
1554
|
+
/** If present, indicates that current member is attending. */
|
|
1555
|
+
currentMemberGuest?: MemberGuest;
|
|
1544
1556
|
}
|
|
1545
1557
|
export interface GuestCount {
|
|
1546
1558
|
/** Total guest count. For Rsvp Event every RSVP guest and additional guest count, for Ticketed Event count of TICKET_HOLDER */
|
|
@@ -45,14 +45,14 @@ export var MemberEventStatusUpdatedEventType;
|
|
|
45
45
|
*/
|
|
46
46
|
MemberEventStatusUpdatedEventType["MEMBER_LEFT"] = "MEMBER_LEFT";
|
|
47
47
|
/**
|
|
48
|
-
* Triggered every time a guest with a specified member ID whose status is `ATTENDING` is added to the event.
|
|
49
|
-
* This event can also be triggered if an existing guest changed their member ID or changed their status to `ATTENDING`.
|
|
48
|
+
* Triggered every time a guest with a specified member ID whose status is `"ATTENDING"` is added to the event.
|
|
49
|
+
* This event can also be triggered if an existing guest changed their member ID or changed their status to `"ATTENDING"`.
|
|
50
50
|
*/
|
|
51
51
|
MemberEventStatusUpdatedEventType["ATTENDING_MEMBER_JOINED"] = "ATTENDING_MEMBER_JOINED";
|
|
52
52
|
/**
|
|
53
|
-
* Triggered when the last guest with a specified member ID is removed from the event or their status changes to `
|
|
53
|
+
* Triggered when the last guest with a specified member ID is removed from the event or their status changes to `"NOT_ATTENDING"`.
|
|
54
54
|
* Once triggered there are no more attending guests with a specified member ID in the event.
|
|
55
|
-
* This event can also be triggered if the last existing guest changed their member ID or their status to `NOT_ATTENDING`.
|
|
55
|
+
* This event can also be triggered if the last existing guest changed their member ID or their status to `"NOT_ATTENDING"`.
|
|
56
56
|
*/
|
|
57
57
|
MemberEventStatusUpdatedEventType["LAST_ATTENDING_MEMBER_LEFT"] = "LAST_ATTENDING_MEMBER_LEFT";
|
|
58
58
|
})(MemberEventStatusUpdatedEventType || (MemberEventStatusUpdatedEventType = {}));
|
|
@@ -161,17 +161,17 @@ export var Timing;
|
|
|
161
161
|
})(Timing || (Timing = {}));
|
|
162
162
|
export var OrderStatus;
|
|
163
163
|
(function (OrderStatus) {
|
|
164
|
-
/** Order status not available for this request fieldset. */
|
|
164
|
+
/** Order status is not available for this request fieldset. */
|
|
165
165
|
OrderStatus["NA_ORDER_STATUS"] = "NA_ORDER_STATUS";
|
|
166
|
-
/** Order is confirmed
|
|
166
|
+
/** Order is confirmed, no payment is required. */
|
|
167
167
|
OrderStatus["FREE"] = "FREE";
|
|
168
|
-
/** Order
|
|
168
|
+
/** Order was paid, but the payment gateway suspended the payment. */
|
|
169
169
|
OrderStatus["PENDING"] = "PENDING";
|
|
170
|
-
/** Order is paid
|
|
170
|
+
/** Order is paid. */
|
|
171
171
|
OrderStatus["PAID"] = "PAID";
|
|
172
|
-
/** Order is confirmed but
|
|
172
|
+
/** Order is confirmed but has be paid via offline payment. Status needs to be manually updated to `"PAID"`. */
|
|
173
173
|
OrderStatus["OFFLINE_PENDING"] = "OFFLINE_PENDING";
|
|
174
|
-
/** Order is awaiting payment at the cashier. */
|
|
174
|
+
/** Order is awaiting for payment at the cashier. */
|
|
175
175
|
OrderStatus["INITIATED"] = "INITIATED";
|
|
176
176
|
/** Order is canceled. */
|
|
177
177
|
OrderStatus["CANCELED"] = "CANCELED";
|
|
@@ -202,7 +202,7 @@ export var FeeType;
|
|
|
202
202
|
(function (FeeType) {
|
|
203
203
|
/** Fee is added to the ticket price at checkout. */
|
|
204
204
|
FeeType["FEE_ADDED"] = "FEE_ADDED";
|
|
205
|
-
/** Seller absorbs the fee. It
|
|
205
|
+
/** Seller absorbs the fee. It's deducted from the ticket price. */
|
|
206
206
|
FeeType["FEE_INCLUDED"] = "FEE_INCLUDED";
|
|
207
207
|
/** Fee is added to the ticket price at checkout. */
|
|
208
208
|
FeeType["FEE_ADDED_AT_CHECKOUT"] = "FEE_ADDED_AT_CHECKOUT";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events-guests-v1-guest-guests.types.js","sourceRoot":"","sources":["../../../../src/events-guests-v1-guest-guests.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"events-guests-v1-guest-guests.types.js","sourceRoot":"","sources":["../../../../src/events-guests-v1-guest-guests.types.ts"],"names":[],"mappings":"AAuPA,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,CAAA;IAC/B,iBAAiB;IACjB,2CAAuB,CAAA;IACvB,yBAAyB;IACzB,+CAA2B,CAAA;AAC7B,CAAC,EAPW,gBAAgB,KAAhB,gBAAgB,QAO3B;AASD,MAAM,CAAN,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,KAAT,SAAS,QAOpB;AA2CD,MAAM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