@wix/auto_sdk_events_guests 1.0.17 → 1.0.19

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 (133) hide show
  1. package/build/{internal/cjs/src/events-guests-v1-guest-guests.universal.d.ts → events-guests-v1-guest-guests.universal-CBYtnjLy.d.mts} +234 -394
  2. package/build/{cjs/src/events-guests-v1-guest-guests.universal.d.ts → events-guests-v1-guest-guests.universal-CBYtnjLy.d.ts} +234 -394
  3. package/build/index.d.mts +70 -0
  4. package/build/index.d.ts +70 -0
  5. package/build/index.js +711 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +660 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/internal/{es/src/events-guests-v1-guest-guests.universal.d.ts → events-guests-v1-guest-guests.universal-CBYtnjLy.d.mts} +234 -394
  10. package/build/{es/src/events-guests-v1-guest-guests.universal.d.ts → internal/events-guests-v1-guest-guests.universal-CBYtnjLy.d.ts} +234 -394
  11. package/build/internal/index.d.mts +70 -0
  12. package/build/internal/index.d.ts +70 -0
  13. package/build/internal/index.js +711 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +660 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +314 -0
  18. package/build/internal/meta.d.ts +314 -0
  19. package/build/internal/meta.js +149 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +122 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +314 -0
  24. package/build/meta.d.ts +314 -0
  25. package/build/meta.js +149 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +122 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +12 -11
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/events-guests-v1-guest-guests.context.d.ts +0 -41
  40. package/build/cjs/src/events-guests-v1-guest-guests.context.js +0 -64
  41. package/build/cjs/src/events-guests-v1-guest-guests.context.js.map +0 -1
  42. package/build/cjs/src/events-guests-v1-guest-guests.http.d.ts +0 -22
  43. package/build/cjs/src/events-guests-v1-guest-guests.http.js +0 -122
  44. package/build/cjs/src/events-guests-v1-guest-guests.http.js.map +0 -1
  45. package/build/cjs/src/events-guests-v1-guest-guests.meta.d.ts +0 -13
  46. package/build/cjs/src/events-guests-v1-guest-guests.meta.js +0 -47
  47. package/build/cjs/src/events-guests-v1-guest-guests.meta.js.map +0 -1
  48. package/build/cjs/src/events-guests-v1-guest-guests.public.d.ts +0 -37
  49. package/build/cjs/src/events-guests-v1-guest-guests.public.js +0 -282
  50. package/build/cjs/src/events-guests-v1-guest-guests.public.js.map +0 -1
  51. package/build/cjs/src/events-guests-v1-guest-guests.types.d.ts +0 -1574
  52. package/build/cjs/src/events-guests-v1-guest-guests.types.js +0 -251
  53. package/build/cjs/src/events-guests-v1-guest-guests.types.js.map +0 -1
  54. package/build/cjs/src/events-guests-v1-guest-guests.universal.js +0 -371
  55. package/build/cjs/src/events-guests-v1-guest-guests.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/src/events-guests-v1-guest-guests.context.d.ts +0 -41
  66. package/build/es/src/events-guests-v1-guest-guests.context.js +0 -41
  67. package/build/es/src/events-guests-v1-guest-guests.context.js.map +0 -1
  68. package/build/es/src/events-guests-v1-guest-guests.http.d.ts +0 -22
  69. package/build/es/src/events-guests-v1-guest-guests.http.js +0 -118
  70. package/build/es/src/events-guests-v1-guest-guests.http.js.map +0 -1
  71. package/build/es/src/events-guests-v1-guest-guests.meta.d.ts +0 -13
  72. package/build/es/src/events-guests-v1-guest-guests.meta.js +0 -20
  73. package/build/es/src/events-guests-v1-guest-guests.meta.js.map +0 -1
  74. package/build/es/src/events-guests-v1-guest-guests.public.d.ts +0 -37
  75. package/build/es/src/events-guests-v1-guest-guests.public.js +0 -258
  76. package/build/es/src/events-guests-v1-guest-guests.public.js.map +0 -1
  77. package/build/es/src/events-guests-v1-guest-guests.types.d.ts +0 -1574
  78. package/build/es/src/events-guests-v1-guest-guests.types.js +0 -248
  79. package/build/es/src/events-guests-v1-guest-guests.types.js.map +0 -1
  80. package/build/es/src/events-guests-v1-guest-guests.universal.js +0 -344
  81. package/build/es/src/events-guests-v1-guest-guests.universal.js.map +0 -1
  82. package/build/internal/cjs/index.d.ts +0 -1
  83. package/build/internal/cjs/index.js +0 -18
  84. package/build/internal/cjs/index.js.map +0 -1
  85. package/build/internal/cjs/index.typings.d.ts +0 -1
  86. package/build/internal/cjs/index.typings.js +0 -18
  87. package/build/internal/cjs/index.typings.js.map +0 -1
  88. package/build/internal/cjs/meta.d.ts +0 -1
  89. package/build/internal/cjs/meta.js +0 -18
  90. package/build/internal/cjs/meta.js.map +0 -1
  91. package/build/internal/cjs/src/events-guests-v1-guest-guests.context.d.ts +0 -41
  92. package/build/internal/cjs/src/events-guests-v1-guest-guests.context.js +0 -64
  93. package/build/internal/cjs/src/events-guests-v1-guest-guests.context.js.map +0 -1
  94. package/build/internal/cjs/src/events-guests-v1-guest-guests.http.d.ts +0 -22
  95. package/build/internal/cjs/src/events-guests-v1-guest-guests.http.js +0 -122
  96. package/build/internal/cjs/src/events-guests-v1-guest-guests.http.js.map +0 -1
  97. package/build/internal/cjs/src/events-guests-v1-guest-guests.meta.d.ts +0 -13
  98. package/build/internal/cjs/src/events-guests-v1-guest-guests.meta.js +0 -47
  99. package/build/internal/cjs/src/events-guests-v1-guest-guests.meta.js.map +0 -1
  100. package/build/internal/cjs/src/events-guests-v1-guest-guests.public.d.ts +0 -37
  101. package/build/internal/cjs/src/events-guests-v1-guest-guests.public.js +0 -282
  102. package/build/internal/cjs/src/events-guests-v1-guest-guests.public.js.map +0 -1
  103. package/build/internal/cjs/src/events-guests-v1-guest-guests.types.d.ts +0 -1574
  104. package/build/internal/cjs/src/events-guests-v1-guest-guests.types.js +0 -251
  105. package/build/internal/cjs/src/events-guests-v1-guest-guests.types.js.map +0 -1
  106. package/build/internal/cjs/src/events-guests-v1-guest-guests.universal.js +0 -371
  107. package/build/internal/cjs/src/events-guests-v1-guest-guests.universal.js.map +0 -1
  108. package/build/internal/es/index.d.ts +0 -1
  109. package/build/internal/es/index.js +0 -2
  110. package/build/internal/es/index.js.map +0 -1
  111. package/build/internal/es/index.typings.d.ts +0 -1
  112. package/build/internal/es/index.typings.js +0 -2
  113. package/build/internal/es/index.typings.js.map +0 -1
  114. package/build/internal/es/meta.d.ts +0 -1
  115. package/build/internal/es/meta.js +0 -2
  116. package/build/internal/es/meta.js.map +0 -1
  117. package/build/internal/es/src/events-guests-v1-guest-guests.context.d.ts +0 -41
  118. package/build/internal/es/src/events-guests-v1-guest-guests.context.js +0 -41
  119. package/build/internal/es/src/events-guests-v1-guest-guests.context.js.map +0 -1
  120. package/build/internal/es/src/events-guests-v1-guest-guests.http.d.ts +0 -22
  121. package/build/internal/es/src/events-guests-v1-guest-guests.http.js +0 -118
  122. package/build/internal/es/src/events-guests-v1-guest-guests.http.js.map +0 -1
  123. package/build/internal/es/src/events-guests-v1-guest-guests.meta.d.ts +0 -13
  124. package/build/internal/es/src/events-guests-v1-guest-guests.meta.js +0 -20
  125. package/build/internal/es/src/events-guests-v1-guest-guests.meta.js.map +0 -1
  126. package/build/internal/es/src/events-guests-v1-guest-guests.public.d.ts +0 -37
  127. package/build/internal/es/src/events-guests-v1-guest-guests.public.js +0 -258
  128. package/build/internal/es/src/events-guests-v1-guest-guests.public.js.map +0 -1
  129. package/build/internal/es/src/events-guests-v1-guest-guests.types.d.ts +0 -1574
  130. package/build/internal/es/src/events-guests-v1-guest-guests.types.js +0 -248
  131. package/build/internal/es/src/events-guests-v1-guest-guests.types.js.map +0 -1
  132. package/build/internal/es/src/events-guests-v1-guest-guests.universal.js +0 -344
  133. package/build/internal/es/src/events-guests-v1-guest-guests.universal.js.map +0 -1
@@ -1,1574 +0,0 @@
1
- export interface EventGuest {
2
- /**
3
- * Guest ID.
4
- * @format GUID
5
- */
6
- id?: string | null;
7
- /**
8
- * Event ID.
9
- * @format GUID
10
- */
11
- eventId?: string | null;
12
- /**
13
- * RSVP ID. <br/> <br/> **Note:** Only applicable when `guestType` is `RSVP`.
14
- * @format GUID
15
- */
16
- rsvpId?: string | null;
17
- /**
18
- * Order number. <br/> <br/> **Note:** Only applicable when `guestType` is `BUYER` or `TICKET_HOLDER`.
19
- * @maxLength 36
20
- */
21
- orderNumber?: string | null;
22
- /**
23
- * Ticket number. <br/> <br/> **Note:** Only applicable when `guestType` is `TICKET_HOLDER`.
24
- * @maxLength 36
25
- */
26
- ticketNumber?: string | null;
27
- /**
28
- * List of names, numbers, and definition IDs for each ticket.
29
- * @maxSize 50
30
- */
31
- tickets?: TicketDetails[];
32
- /**
33
- * Guest's contact ID. See [Contacts API](https://dev.wix.com/api/rest/contacts/contacts/contacts-v4) for more details.
34
- * @format GUID
35
- */
36
- contactId?: string | null;
37
- /** Guest details. <br/> <br/> Returned only when the `guestDetails` fieldset is sent in the request. */
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. */
40
- attendanceStatus?: AttendanceStatusWithLiterals;
41
- /**
42
- * 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.
43
- * @format LANGUAGE
44
- */
45
- secondaryLanguageCode?: string | null;
46
- /** Date and time the guest was created in `yyyy-mm-ddThh:mm:sssZ` format. */
47
- createdDate?: Date | null;
48
- /** Date and time the guest was updated in `yyyy-mm-ddThh:mm:sssZ` format. */
49
- updatedDate?: Date | null;
50
- /** Date and time of guest's latest attendance status update. */
51
- attendanceStatusUpdatedDate?: Date | null;
52
- /**
53
- * Site member ID.
54
- * @format GUID
55
- */
56
- memberId?: string | null;
57
- /** Guest type. */
58
- guestType?: GuestTypeWithLiterals;
59
- /**
60
- * Locale in [IETF BCP 47](https://en.wikipedia.org/wiki/IETF_language_tag) format. Used when the event date and time on a ticket should be formatted into another locale.
61
- * @format LANGUAGE_TAG
62
- */
63
- locale?: string | null;
64
- /**
65
- * Number of total guests in an event (registered guests + additional ones).
66
- * @readonly
67
- */
68
- totalGuests?: number | null;
69
- /**
70
- * Revision number, which increments by 1 each time the guest is updated.
71
- * @readonly
72
- */
73
- revision?: string | null;
74
- }
75
- export interface TicketDetails {
76
- /**
77
- * Ticket number.
78
- * @maxLength 36
79
- */
80
- number?: string;
81
- /**
82
- * Ticket definition ID.
83
- * @format GUID
84
- */
85
- definitionId?: string | null;
86
- /**
87
- * Ticket name.
88
- * @minLength 1
89
- * @maxLength 30
90
- */
91
- name?: string | null;
92
- }
93
- export interface TicketGuestDetails {
94
- /** The login details for the guest to access the online conference event. */
95
- onlineConferencingLogin?: OnlineConferencingLogin;
96
- /**
97
- * First name.
98
- * @maxLength 255
99
- */
100
- firstName?: string | null;
101
- /**
102
- * Last name.
103
- * @maxLength 255
104
- */
105
- lastName?: string | null;
106
- }
107
- export interface OnlineConferencingLogin {
108
- /**
109
- * Link URL to the online conference.
110
- * @format WEB_URL
111
- * @readonly
112
- */
113
- link?: string;
114
- /**
115
- * Password for the online conference.
116
- * @readonly
117
- */
118
- password?: string | null;
119
- }
120
- export interface GuestDetails {
121
- /**
122
- * Email.
123
- * @format EMAIL
124
- */
125
- email?: string | null;
126
- /**
127
- * First name.
128
- * @maxLength 255
129
- */
130
- firstName?: string | null;
131
- /**
132
- * Last name.
133
- * @maxLength 255
134
- */
135
- lastName?: string | null;
136
- /** Form response. */
137
- formResponse?: FormResponse;
138
- /** Whether the guest has checked into the event. */
139
- checkedIn?: boolean;
140
- /** The login details for the guest to access the online conference event. */
141
- onlineConferencingLogin?: OnlineConferencingLogin;
142
- /**
143
- * Phone extracted from form response. If multiples phone inputs are present, first one is returned.
144
- * @maxLength 200
145
- */
146
- phone?: string | null;
147
- /**
148
- * Address extracted from form response. If multiples address inputs are present, first one is returned.
149
- * @maxLength 200
150
- */
151
- address?: string | null;
152
- }
153
- export interface FormResponse {
154
- /**
155
- * Input values entered when filling the form.
156
- * @maxSize 200
157
- */
158
- inputValues?: InputValue[];
159
- }
160
- export interface InputValue {
161
- /**
162
- * Input field name.
163
- * @maxLength 100
164
- */
165
- inputName?: string;
166
- /**
167
- * Text entered into the input field.
168
- * @maxLength 5000
169
- */
170
- value?: string;
171
- /**
172
- * Multiple selection values. For example, the array is filled if several checkboxes are ticked.
173
- * @maxSize 100
174
- * @maxLength 5000
175
- */
176
- values?: string[];
177
- }
178
- export interface FormattedAddress {
179
- /**
180
- * One line address representation.
181
- * @maxLength 200
182
- */
183
- formatted?: string;
184
- /** Address components (optional). */
185
- address?: Address;
186
- }
187
- /** Physical address */
188
- export interface Address extends AddressStreetOneOf {
189
- /** Street name and number. */
190
- streetAddress?: StreetAddress;
191
- /** Main address line, usually street and number as free text. */
192
- addressLine?: string | null;
193
- /**
194
- * Country code.
195
- * @format COUNTRY
196
- */
197
- country?: string | null;
198
- /** Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY */
199
- subdivision?: string | null;
200
- /** City name. */
201
- city?: string | null;
202
- /** Zip/postal code. */
203
- postalCode?: string | null;
204
- /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
205
- addressLine2?: string | null;
206
- }
207
- /** @oneof */
208
- export interface AddressStreetOneOf {
209
- /** Street name and number. */
210
- streetAddress?: StreetAddress;
211
- /** Main address line, usually street and number as free text. */
212
- addressLine?: string | null;
213
- }
214
- export interface StreetAddress {
215
- /** Street number. */
216
- number?: string;
217
- /** Street name. */
218
- name?: string;
219
- }
220
- export interface AddressLocation {
221
- /** Address latitude. */
222
- latitude?: number | null;
223
- /** Address longitude. */
224
- longitude?: number | null;
225
- }
226
- export interface Subdivision {
227
- /** Short subdivision code. */
228
- code?: string;
229
- /** Subdivision full name. */
230
- name?: string;
231
- }
232
- export declare enum SubdivisionType {
233
- UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
234
- /** State */
235
- ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
236
- /** County */
237
- ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
238
- /** City/town */
239
- ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
240
- /** Neighborhood/quarter */
241
- ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
242
- /** Street/block */
243
- ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
244
- /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
245
- COUNTRY = "COUNTRY"
246
- }
247
- /** @enumType */
248
- export type SubdivisionTypeWithLiterals = SubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
249
- /** Subdivision Concordance values */
250
- export interface StandardDetails {
251
- /**
252
- * subdivision iso-3166-2 code according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). e.g. US-NY, GB-SCT, NO-30
253
- * @maxLength 20
254
- */
255
- iso31662?: string | null;
256
- }
257
- export declare enum AttendanceStatus {
258
- /** Not attending. */
259
- NOT_ATTENDING = "NOT_ATTENDING",
260
- /** Attending. */
261
- ATTENDING = "ATTENDING",
262
- /** In a waiting list. */
263
- IN_WAITLIST = "IN_WAITLIST"
264
- }
265
- /** @enumType */
266
- export type AttendanceStatusWithLiterals = AttendanceStatus | 'NOT_ATTENDING' | 'ATTENDING' | 'IN_WAITLIST';
267
- export declare enum GuestType {
268
- /** An invited guest, no ticket necessary. */
269
- RSVP = "RSVP",
270
- /** The guest who bought the ticket. */
271
- BUYER = "BUYER",
272
- /** The guest for whom the ticket was bought. */
273
- TICKET_HOLDER = "TICKET_HOLDER"
274
- }
275
- /** @enumType */
276
- export type GuestTypeWithLiterals = GuestType | 'RSVP' | 'BUYER' | 'TICKET_HOLDER';
277
- export interface GuestCountUpdated {
278
- /** Guest. */
279
- guest?: EventGuest;
280
- /**
281
- * Guest count updates.
282
- * @maxSize 2
283
- */
284
- guestCountUpdates?: GuestCountUpdate[];
285
- }
286
- export interface GuestCountUpdate {
287
- /** Attendance status. */
288
- attendanceStatus?: AttendanceStatusWithLiterals;
289
- /** Total guest count change. */
290
- totalGuestsDelta?: number;
291
- /** Guest count change. */
292
- countDelta?: number;
293
- }
294
- export interface MemberEventStatusUpdated {
295
- /**
296
- * Event id.
297
- * @format GUID
298
- */
299
- eventId?: string | null;
300
- /**
301
- * Member id.
302
- * @format GUID
303
- */
304
- memberId?: string | null;
305
- /** Member event status. */
306
- status?: MemberEventStatusUpdatedEventTypeWithLiterals;
307
- }
308
- export declare enum MemberEventStatusUpdatedEventType {
309
- /**
310
- * Triggered every time a guest with a specified member ID is added to the event.
311
- * This event can also be triggered if an existing guest changed their member ID.
312
- */
313
- MEMBER_JOINED = "MEMBER_JOINED",
314
- /**
315
- * Triggered every time a guest with a specified member ID is removed from the event.
316
- * This event can also be triggered if an existing guest changed their member ID.
317
- */
318
- MEMBER_LEFT = "MEMBER_LEFT",
319
- /**
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`.
322
- */
323
- ATTENDING_MEMBER_JOINED = "ATTENDING_MEMBER_JOINED",
324
- /**
325
- * Triggered when the last guest with a specified member ID is removed from the event or their status changes to `ATTENDING`.
326
- * 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`.
328
- */
329
- LAST_ATTENDING_MEMBER_LEFT = "LAST_ATTENDING_MEMBER_LEFT"
330
- }
331
- /** @enumType */
332
- export type MemberEventStatusUpdatedEventTypeWithLiterals = MemberEventStatusUpdatedEventType | 'MEMBER_JOINED' | 'MEMBER_LEFT' | 'ATTENDING_MEMBER_JOINED' | 'LAST_ATTENDING_MEMBER_LEFT';
333
- export interface ContactEventStatusUpdated {
334
- /**
335
- * Event id.
336
- * @format GUID
337
- */
338
- eventId?: string | null;
339
- /**
340
- * Contact id.
341
- * @format GUID
342
- */
343
- contactId?: string | null;
344
- /** Contact event status. */
345
- status?: EventTypeWithLiterals;
346
- }
347
- export declare enum EventType {
348
- /**
349
- * Triggered every time a guest with a specified contact ID is added to the event.
350
- * This event can also be triggered if an existing guest changed their contact ID.
351
- */
352
- CONTACT_JOINED = "CONTACT_JOINED",
353
- /**
354
- * Triggered every time a guest with a specified contact ID is removed from the event.
355
- * This event can also be triggered if an existing guest changed their contact ID.
356
- */
357
- CONTACT_LEFT = "CONTACT_LEFT",
358
- /**
359
- * Triggred when the last guest with a specified contact ID is removed from the event.
360
- * Once triggered there are no more guests with a specified contact ID in the event.
361
- * This event can also be triggered if the last existing guest changed their contact ID.
362
- */
363
- LAST_CONTACT_LEFT = "LAST_CONTACT_LEFT"
364
- }
365
- /** @enumType */
366
- export type EventTypeWithLiterals = EventType | 'CONTACT_JOINED' | 'CONTACT_LEFT' | 'LAST_CONTACT_LEFT';
367
- export interface GuestCheckedIn {
368
- /** Event guest */
369
- guest?: EventGuest;
370
- /** Event details */
371
- eventDetails?: EventDetails;
372
- }
373
- export interface EventDetails {
374
- /**
375
- * Event title.
376
- * @minLength 1
377
- * @maxLength 120
378
- * @readonly
379
- */
380
- title?: string | null;
381
- /**
382
- * Event short description.
383
- * @maxLength 500
384
- * @readonly
385
- */
386
- shortDescription?: string | null;
387
- /**
388
- * Event location.
389
- * @readonly
390
- */
391
- location?: Location;
392
- /**
393
- * Event date and time settings.
394
- * @readonly
395
- */
396
- dateAndTimeSettings?: DateAndTimeSettings;
397
- /**
398
- * Event page URL components.
399
- * @readonly
400
- */
401
- eventPageUrl?: PageUrl;
402
- /**
403
- * Event status.
404
- * @readonly
405
- */
406
- status?: StatusWithLiterals;
407
- }
408
- export interface Location {
409
- /**
410
- * Location name. This value is displayed instead of the address when the location is defined as TBD by setting the `locationTbd` property to `true`.
411
- * @maxLength 50
412
- */
413
- name?: string | null;
414
- /** Location type. */
415
- type?: LocationTypeWithLiterals;
416
- /** Exact location address. */
417
- address?: CommonAddress;
418
- /** Whether the event location is TBD. */
419
- locationTbd?: boolean | null;
420
- }
421
- export declare enum LocationType {
422
- /** Unknown location type. */
423
- UNKNOWN_LOCATION = "UNKNOWN_LOCATION",
424
- /** Event is on-site at a specific physical location. */
425
- VENUE = "VENUE",
426
- /** Event is online, such as a virtual video conference. */
427
- ONLINE = "ONLINE"
428
- }
429
- /** @enumType */
430
- export type LocationTypeWithLiterals = LocationType | 'UNKNOWN_LOCATION' | 'VENUE' | 'ONLINE';
431
- /** Physical address */
432
- export interface CommonAddress extends CommonAddressStreetOneOf {
433
- /** Street address. */
434
- streetAddress?: CommonStreetAddress;
435
- /**
436
- * Primary address information (street and building number).
437
- * @maxLength 250
438
- */
439
- addressLine?: string | null;
440
- /**
441
- * 2-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.
442
- * @format COUNTRY
443
- */
444
- country?: string | null;
445
- /**
446
- * Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2).
447
- * @maxLength 20
448
- */
449
- subdivision?: string | null;
450
- /**
451
- * City name.
452
- * @maxLength 100
453
- */
454
- city?: string | null;
455
- /**
456
- * Zip or postal code.
457
- * @maxLength 100
458
- */
459
- postalCode?: string | null;
460
- /**
461
- * Secondary address information (suite or apartment number and room number).
462
- * @maxLength 250
463
- */
464
- addressLine2?: string | null;
465
- }
466
- /** @oneof */
467
- export interface CommonAddressStreetOneOf {
468
- /** Street address. */
469
- streetAddress?: CommonStreetAddress;
470
- /**
471
- * Primary address information (street and building number).
472
- * @maxLength 250
473
- */
474
- addressLine?: string | null;
475
- }
476
- export interface CommonStreetAddress {
477
- /**
478
- * Street number.
479
- * @maxLength 100
480
- */
481
- number?: string;
482
- /**
483
- * Street name.
484
- * @maxLength 250
485
- */
486
- name?: string;
487
- }
488
- export interface CommonAddressLocation {
489
- /**
490
- * Address latitude coordinates.
491
- * @min -90
492
- * @max 90
493
- */
494
- latitude?: number | null;
495
- /**
496
- * Address longitude coordinates.
497
- * @min -180
498
- * @max 180
499
- */
500
- longitude?: number | null;
501
- }
502
- export interface CommonSubdivision {
503
- /**
504
- * Short subdivision code.
505
- * @maxLength 100
506
- */
507
- code?: string;
508
- /**
509
- * Subdivision full name.
510
- * @maxLength 250
511
- */
512
- name?: string;
513
- }
514
- export declare enum SubdivisionSubdivisionType {
515
- UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
516
- /** State */
517
- ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
518
- /** County */
519
- ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
520
- /** City/town */
521
- ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
522
- /** Neighborhood/quarter */
523
- ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
524
- /** Street/block */
525
- ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
526
- /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
527
- COUNTRY = "COUNTRY"
528
- }
529
- /** @enumType */
530
- export type SubdivisionSubdivisionTypeWithLiterals = SubdivisionSubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
531
- export interface DateAndTimeSettings {
532
- /** Whether the event date and time are TBD. */
533
- dateAndTimeTbd?: boolean | null;
534
- /**
535
- * Message that is displayed when time and date is TBD.
536
- * @maxLength 100
537
- */
538
- dateAndTimeTbdMessage?: string | null;
539
- /** Event start date. */
540
- startDate?: Date | null;
541
- /** Event end date. */
542
- endDate?: Date | null;
543
- /**
544
- * Event time zone ID in the [TZ database](https://www.iana.org/time-zones) format.
545
- * @maxLength 100
546
- */
547
- timeZoneId?: string | null;
548
- /** Whether the end date is hidden in the formatted date and time. */
549
- hideEndDate?: boolean | null;
550
- /** Whether the time zone is displayed in the formatted schedule. */
551
- showTimeZone?: boolean | null;
552
- /**
553
- * Repeating event status.
554
- * @readonly
555
- */
556
- recurrenceStatus?: RecurrenceStatusStatusWithLiterals;
557
- /** Event repetitions. */
558
- recurringEvents?: Recurrences;
559
- /** Formatted date and time settings. */
560
- formatted?: Formatted;
561
- }
562
- export declare enum RecurrenceStatusStatus {
563
- /** Unknown recurrance status. */
564
- UNKNOWN_STATUS = "UNKNOWN_STATUS",
565
- /** Event happens only once and can last multiple days. */
566
- ONE_TIME = "ONE_TIME",
567
- /** A series of events that repeat. */
568
- RECURRING = "RECURRING",
569
- /** Next event in a schedule of recurring events. */
570
- RECURRING_UPCOMING = "RECURRING_UPCOMING",
571
- /** Latest event that ended in a schedule of recurring events. */
572
- RECURRING_RECENTLY_ENDED = "RECURRING_RECENTLY_ENDED",
573
- /** Latest canceled event in a schedule of recurring events */
574
- RECURRING_RECENTLY_CANCELED = "RECURRING_RECENTLY_CANCELED"
575
- }
576
- /** @enumType */
577
- export type RecurrenceStatusStatusWithLiterals = RecurrenceStatusStatus | 'UNKNOWN_STATUS' | 'ONE_TIME' | 'RECURRING' | 'RECURRING_UPCOMING' | 'RECURRING_RECENTLY_ENDED' | 'RECURRING_RECENTLY_CANCELED';
578
- export interface Recurrences {
579
- /**
580
- * Individual event dates.
581
- * @maxSize 1000
582
- */
583
- individualEventDates?: Occurrence[];
584
- /**
585
- * Recurring event category ID.
586
- * @readonly
587
- * @maxLength 100
588
- */
589
- categoryId?: string | null;
590
- }
591
- export interface Occurrence {
592
- /** Event start date. */
593
- startDate?: Date | null;
594
- /** Event end date. */
595
- endDate?: Date | null;
596
- /**
597
- * Event time zone ID in the [TZ database](https://www.iana.org/time-zones) format.
598
- * @maxLength 100
599
- */
600
- timeZoneId?: string | null;
601
- /** Whether the time zone is displayed in a formatted schedule. */
602
- showTimeZone?: boolean;
603
- }
604
- export interface Formatted {
605
- /**
606
- * Formatted date and time representation. <br>
607
- * Example of formatting when an event lasts multiple days and is in the UTC time zone: `September 1, 2015 at 10:20 AM – September 5, 2015 at 12:14 PM`. <br>
608
- * Example of formatting when an event lasts 1 day and is in the GMT+2 time zone: `February 1, 2018, 12:10 – 2:50 PM GMT+2`.
609
- * @readonly
610
- * @maxLength 500
611
- */
612
- dateAndTime?: string | null;
613
- /**
614
- * Formatted start date of the event. Empty for TBD schedules.
615
- * @readonly
616
- * @maxLength 500
617
- */
618
- startDate?: string | null;
619
- /**
620
- * Formatted start time of the event. Empty for TBD schedules.
621
- * @readonly
622
- * @maxLength 500
623
- */
624
- startTime?: string | null;
625
- /**
626
- * Formatted end date of the event. Empty for TBD schedules or when the end date is hidden.
627
- * @readonly
628
- * @maxLength 500
629
- */
630
- endDate?: string | null;
631
- /**
632
- * Formatted end time of the event. Empty for TBD schedules or when the end date is hidden.
633
- * @readonly
634
- * @maxLength 500
635
- */
636
- endTime?: string | null;
637
- }
638
- export interface PageUrl {
639
- /**
640
- * The base URL. For premium sites, the base is the domain. For free sites, the base is the Wix site URL (for example, `https://mysite.wixsite.com/mysite`).
641
- * @maxLength 500
642
- */
643
- base?: string;
644
- /**
645
- * The path to the page. For example, `/product-page/a-product`.
646
- * @maxLength 500
647
- */
648
- path?: string;
649
- }
650
- export declare enum Status {
651
- /** Unknown event status. */
652
- UNKNOWN_EVENT_STATUS = "UNKNOWN_EVENT_STATUS",
653
- /** Event is published and scheduled to start. */
654
- UPCOMING = "UPCOMING",
655
- /** Event has started. */
656
- STARTED = "STARTED",
657
- /** Event has ended. */
658
- ENDED = "ENDED",
659
- /** Event is canceled. */
660
- CANCELED = "CANCELED",
661
- /** Event is not public. */
662
- DRAFT = "DRAFT"
663
- }
664
- /** @enumType */
665
- export type StatusWithLiterals = Status | 'UNKNOWN_EVENT_STATUS' | 'UPCOMING' | 'STARTED' | 'ENDED' | 'CANCELED' | 'DRAFT';
666
- export interface NotifyGuestAction {
667
- /** Event guest. */
668
- guest?: EventGuest;
669
- /** Task context. */
670
- taskContext?: TaskContext;
671
- }
672
- export interface TaskContext {
673
- /** Task id. */
674
- id?: string | null;
675
- /** Notify action type. */
676
- type?: NotifyActionTypeWithLiterals;
677
- /** Timing. Used for EVENT_STARTS */
678
- timing?: TimingWithLiterals;
679
- /** Event context. */
680
- event?: EventDetails;
681
- /** Order context. */
682
- order?: OrderDetails;
683
- }
684
- export declare enum NotifyActionType {
685
- UNKNOWN = "UNKNOWN",
686
- EMAIL = "EMAIL",
687
- AUTOMATION_TRIGGER = "AUTOMATION_TRIGGER",
688
- PUSH = "PUSH",
689
- EVENT_CANCELED = "EVENT_CANCELED",
690
- EVENT_STARTS = "EVENT_STARTS",
691
- ORDER_CANCELED = "ORDER_CANCELED"
692
- }
693
- /** @enumType */
694
- export type NotifyActionTypeWithLiterals = NotifyActionType | 'UNKNOWN' | 'EMAIL' | 'AUTOMATION_TRIGGER' | 'PUSH' | 'EVENT_CANCELED' | 'EVENT_STARTS' | 'ORDER_CANCELED';
695
- export declare enum Timing {
696
- /** Unknown event start time. */
697
- UNKNOWN_TIMING = "UNKNOWN_TIMING",
698
- /** Instant. */
699
- NOW = "NOW",
700
- /** 24 hours prior. */
701
- STARTS_IN_1_DAY = "STARTS_IN_1_DAY",
702
- /** 3 days prior. */
703
- STARTS_IN_3_DAYS = "STARTS_IN_3_DAYS",
704
- /** 7 days prior. */
705
- STARTS_IN_1_WEEK = "STARTS_IN_1_WEEK",
706
- /** 1 hour prior. */
707
- STARTS_IN_1_HOUR = "STARTS_IN_1_HOUR",
708
- /** 30 minutes prior. */
709
- STARTS_IN_30_MINUTES = "STARTS_IN_30_MINUTES",
710
- /** 2 hours prior. */
711
- STARTS_IN_2_HOURS = "STARTS_IN_2_HOURS"
712
- }
713
- /** @enumType */
714
- export type TimingWithLiterals = Timing | 'UNKNOWN_TIMING' | 'NOW' | 'STARTS_IN_1_DAY' | 'STARTS_IN_3_DAYS' | 'STARTS_IN_1_WEEK' | 'STARTS_IN_1_HOUR' | 'STARTS_IN_30_MINUTES' | 'STARTS_IN_2_HOURS';
715
- export interface OrderDetails {
716
- /** Order status */
717
- orderStatus?: OrderStatusWithLiterals;
718
- /** Invoice */
719
- invoice?: Invoice;
720
- }
721
- export declare enum OrderStatus {
722
- /** Order status not available for this request fieldset. */
723
- NA_ORDER_STATUS = "NA_ORDER_STATUS",
724
- /** Order is confirmed and payment isn't required. */
725
- FREE = "FREE",
726
- /** Order is paid for but the payment gateway has suspended the payment. */
727
- PENDING = "PENDING",
728
- /** Order is paid via a payment gateway. */
729
- PAID = "PAID",
730
- /** Order is confirmed but must be paid via offline payment. Status needs to be manually updated to `PAID`. */
731
- OFFLINE_PENDING = "OFFLINE_PENDING",
732
- /** Order is awaiting payment at the cashier. */
733
- INITIATED = "INITIATED",
734
- /** Order is canceled. */
735
- CANCELED = "CANCELED",
736
- /** Order payment is declined. */
737
- DECLINED = "DECLINED",
738
- /** Order payment is authorized. */
739
- AUTHORIZED = "AUTHORIZED",
740
- /** Order payment is voided. */
741
- VOIDED = "VOIDED",
742
- /** Order is partially paid with less than the total amount. */
743
- PARTIALLY_PAID = "PARTIALLY_PAID"
744
- }
745
- /** @enumType */
746
- export type OrderStatusWithLiterals = OrderStatus | 'NA_ORDER_STATUS' | 'FREE' | 'PENDING' | 'PAID' | 'OFFLINE_PENDING' | 'INITIATED' | 'CANCELED' | 'DECLINED' | 'AUTHORIZED' | 'VOIDED' | 'PARTIALLY_PAID';
747
- export interface Invoice {
748
- items?: Item[];
749
- /**
750
- * Total cart amount.
751
- * @deprecated
752
- */
753
- total?: Money;
754
- /** Discount applied to cart. */
755
- discount?: Discount;
756
- /** Tax applied to cart. */
757
- tax?: Tax;
758
- /** Total cart amount before discount, tax, and fees. */
759
- subTotal?: Money;
760
- /**
761
- * Total amount of cart after discount, tax, and fees.
762
- * Grand total is calculated in the following order:
763
- * 1. Total prices of all items in the cart are calculated.
764
- * 2. Discount is subtracted from the cart (if applicable).
765
- * 3. Tax is added (if applicable).
766
- * 4. Wix ticket service fee is added.
767
- */
768
- grandTotal?: Money;
769
- /**
770
- * Fees applied to the cart.
771
- * @readonly
772
- */
773
- fees?: Fee[];
774
- /** Total revenue, excluding fees. (Taxes and payment provider fees are not deducted). */
775
- revenue?: Money;
776
- /** URL to invoice preview. Returned only if order is paid. */
777
- previewUrl?: string | null;
778
- }
779
- export interface Item {
780
- /**
781
- * Unique line item ID.
782
- * @format GUID
783
- */
784
- id?: string;
785
- /**
786
- * Line item quantity.
787
- * @min 1
788
- * @max 50
789
- */
790
- quantity?: number;
791
- /** Line item name. */
792
- name?: string;
793
- /** Line item price. */
794
- price?: Money;
795
- /** Total price for line items. Always equal to price * quantity. */
796
- total?: Money;
797
- /** Discount applied to the line item. */
798
- discount?: Discount;
799
- /** Tax applied to the item. */
800
- tax?: Tax;
801
- /**
802
- * Fees applied to the item.
803
- * @readonly
804
- */
805
- fees?: Fee[];
806
- }
807
- export interface Money {
808
- /**
809
- * *Deprecated:** Use `value` instead.
810
- * @format DECIMAL_VALUE
811
- * @deprecated
812
- */
813
- amount?: string;
814
- /**
815
- * ISO 4217 format of the currency e.g., `USD`.
816
- * @format CURRENCY
817
- */
818
- currency?: string;
819
- /**
820
- * Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, starts with a single (-), to indicate that the amount is negative.
821
- * @format DECIMAL_VALUE
822
- */
823
- value?: string | null;
824
- }
825
- export interface Discount {
826
- /** Total discount amount. */
827
- amount?: Money;
828
- /** Total charge after applied discount. */
829
- afterDiscount?: Money;
830
- /**
831
- * Discount coupon code.
832
- * @deprecated
833
- */
834
- code?: string;
835
- /**
836
- * Discount coupon name.
837
- * @deprecated
838
- */
839
- name?: string;
840
- /**
841
- * Discount coupon ID.
842
- * @deprecated
843
- */
844
- couponId?: string;
845
- /** Discount items. */
846
- discounts?: DiscountItem[];
847
- }
848
- export interface DiscountItem extends DiscountItemDiscountOneOf {
849
- /** Coupon discount. */
850
- coupon?: CouponDiscount;
851
- /** Pricing plan discount. */
852
- paidPlan?: PaidPlanDiscount;
853
- /** Total discount amount. */
854
- amount?: Money;
855
- }
856
- /** @oneof */
857
- export interface DiscountItemDiscountOneOf {
858
- /** Coupon discount. */
859
- coupon?: CouponDiscount;
860
- /** Pricing plan discount. */
861
- paidPlan?: PaidPlanDiscount;
862
- }
863
- export interface CouponDiscount {
864
- /** Discount coupon name. */
865
- name?: string;
866
- /** Discount coupon code. */
867
- code?: string;
868
- /** Discount coupon ID. */
869
- couponId?: string;
870
- }
871
- export interface PaidPlanDiscount extends PaidPlanDiscountDiscountOneOf {
872
- /** Discount by percentage applied to tickets. */
873
- percentDiscount?: PercentDiscount;
874
- /** Name of pricing plan. */
875
- name?: string;
876
- }
877
- /** @oneof */
878
- export interface PaidPlanDiscountDiscountOneOf {
879
- /** Discount by percentage applied to tickets. */
880
- percentDiscount?: PercentDiscount;
881
- }
882
- export interface PercentDiscount {
883
- /**
884
- * Percent rate.
885
- * @decimalValue options { gte:0.01, lte:100, maxScale:2 }
886
- */
887
- rate?: string;
888
- /** Number of discounted tickets. */
889
- quantityDiscounted?: number;
890
- }
891
- export interface Tax {
892
- /** Tax type. */
893
- type?: TaxTypeWithLiterals;
894
- /**
895
- * Tax name.
896
- * @readonly
897
- */
898
- name?: string;
899
- /**
900
- * Tax rate.
901
- * @format DECIMAL_VALUE
902
- */
903
- rate?: string;
904
- /** Taxable amount. */
905
- taxable?: Money;
906
- /** Total tax amount. */
907
- amount?: Money;
908
- }
909
- export declare enum TaxType {
910
- /** Tax is included in the ticket price. */
911
- INCLUDED = "INCLUDED",
912
- /** Tax is added to the order at the checkout. */
913
- ADDED = "ADDED",
914
- /** Tax is added to the final total at the checkout. */
915
- ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
916
- }
917
- /** @enumType */
918
- export type TaxTypeWithLiterals = TaxType | 'INCLUDED' | 'ADDED' | 'ADDED_AT_CHECKOUT';
919
- export interface Fee {
920
- /** Fee identifier. */
921
- name?: FeeNameWithLiterals;
922
- /** How fee is calculated. */
923
- type?: FeeTypeWithLiterals;
924
- /**
925
- * Fee rate.
926
- * @format DECIMAL_VALUE
927
- * @readonly
928
- */
929
- rate?: string;
930
- /** Total amount of fee charges. */
931
- amount?: Money;
932
- }
933
- export declare enum FeeName {
934
- /** Wix ticket service fee charges applied to the line item. */
935
- WIX_FEE = "WIX_FEE"
936
- }
937
- /** @enumType */
938
- export type FeeNameWithLiterals = FeeName | 'WIX_FEE';
939
- export declare enum FeeType {
940
- /** Fee is added to the ticket price at checkout. */
941
- FEE_ADDED = "FEE_ADDED",
942
- /** Seller absorbs the fee. It is deducted from the ticket price. */
943
- FEE_INCLUDED = "FEE_INCLUDED",
944
- /** Fee is added to the ticket price at checkout. */
945
- FEE_ADDED_AT_CHECKOUT = "FEE_ADDED_AT_CHECKOUT"
946
- }
947
- /** @enumType */
948
- export type FeeTypeWithLiterals = FeeType | 'FEE_ADDED' | 'FEE_INCLUDED' | 'FEE_ADDED_AT_CHECKOUT';
949
- export interface GuestEventCanceled {
950
- /** Event guest. */
951
- guest?: EventGuest;
952
- /** Event context. */
953
- event?: EventDetails;
954
- }
955
- export interface GuestEventStarts {
956
- /** Event guest. */
957
- guest?: EventGuest;
958
- /** Event context. */
959
- event?: EventDetails;
960
- /** Timing */
961
- timing?: TimingWithLiterals;
962
- }
963
- export interface GuestOrderCanceled {
964
- /** Event guest. */
965
- guest?: EventGuest;
966
- /** Event context. */
967
- event?: EventDetails;
968
- /** Order context. */
969
- order?: OrderDetails;
970
- }
971
- export interface DomainEvent extends DomainEventBodyOneOf {
972
- createdEvent?: EntityCreatedEvent;
973
- updatedEvent?: EntityUpdatedEvent;
974
- deletedEvent?: EntityDeletedEvent;
975
- actionEvent?: ActionEvent;
976
- /**
977
- * Unique event ID.
978
- * Allows clients to ignore duplicate webhooks.
979
- */
980
- id?: string;
981
- /**
982
- * Assumes actions are also always typed to an entity_type
983
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
984
- */
985
- entityFqdn?: string;
986
- /**
987
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
988
- * This is although the created/updated/deleted notion is duplication of the oneof types
989
- * Example: created/updated/deleted/started/completed/email_opened
990
- */
991
- slug?: string;
992
- /** ID of the entity associated with the event. */
993
- entityId?: string;
994
- /** 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
- eventTime?: Date | null;
996
- /**
997
- * Whether the event was triggered as a result of a privacy regulation application
998
- * (for example, GDPR).
999
- */
1000
- triggeredByAnonymizeRequest?: boolean | null;
1001
- /** If present, indicates the action that triggered the event. */
1002
- originatedFrom?: string | null;
1003
- /**
1004
- * A sequence number defining the order of updates to the underlying entity.
1005
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
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.
1010
- */
1011
- entityEventSequence?: string | null;
1012
- }
1013
- /** @oneof */
1014
- export interface DomainEventBodyOneOf {
1015
- createdEvent?: EntityCreatedEvent;
1016
- updatedEvent?: EntityUpdatedEvent;
1017
- deletedEvent?: EntityDeletedEvent;
1018
- actionEvent?: ActionEvent;
1019
- }
1020
- export interface EntityCreatedEvent {
1021
- entityAsJson?: string;
1022
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
1023
- restoreInfo?: RestoreInfo;
1024
- }
1025
- export interface RestoreInfo {
1026
- deletedDate?: Date | null;
1027
- }
1028
- export interface EntityUpdatedEvent {
1029
- /**
1030
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1031
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1032
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1033
- */
1034
- currentEntityAsJson?: string;
1035
- }
1036
- export interface EntityDeletedEvent {
1037
- /** Entity that was deleted */
1038
- deletedEntityAsJson?: string | null;
1039
- }
1040
- export interface ActionEvent {
1041
- bodyAsJson?: string;
1042
- }
1043
- export interface MessageEnvelope {
1044
- /**
1045
- * App instance ID.
1046
- * @format GUID
1047
- */
1048
- instanceId?: string | null;
1049
- /**
1050
- * Event type.
1051
- * @maxLength 150
1052
- */
1053
- eventType?: string;
1054
- /** The identification type and identity data. */
1055
- identity?: IdentificationData;
1056
- /** Stringify payload. */
1057
- data?: string;
1058
- }
1059
- export interface IdentificationData extends IdentificationDataIdOneOf {
1060
- /**
1061
- * ID of a site visitor that has not logged in to the site.
1062
- * @format GUID
1063
- */
1064
- anonymousVisitorId?: string;
1065
- /**
1066
- * ID of a site visitor that has logged in to the site.
1067
- * @format GUID
1068
- */
1069
- memberId?: string;
1070
- /**
1071
- * ID of a Wix user (site owner, contributor, etc.).
1072
- * @format GUID
1073
- */
1074
- wixUserId?: string;
1075
- /**
1076
- * ID of an app.
1077
- * @format GUID
1078
- */
1079
- appId?: string;
1080
- /** @readonly */
1081
- identityType?: WebhookIdentityTypeWithLiterals;
1082
- }
1083
- /** @oneof */
1084
- export interface IdentificationDataIdOneOf {
1085
- /**
1086
- * ID of a site visitor that has not logged in to the site.
1087
- * @format GUID
1088
- */
1089
- anonymousVisitorId?: string;
1090
- /**
1091
- * ID of a site visitor that has logged in to the site.
1092
- * @format GUID
1093
- */
1094
- memberId?: string;
1095
- /**
1096
- * ID of a Wix user (site owner, contributor, etc.).
1097
- * @format GUID
1098
- */
1099
- wixUserId?: string;
1100
- /**
1101
- * ID of an app.
1102
- * @format GUID
1103
- */
1104
- appId?: string;
1105
- }
1106
- export declare enum WebhookIdentityType {
1107
- UNKNOWN = "UNKNOWN",
1108
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1109
- MEMBER = "MEMBER",
1110
- WIX_USER = "WIX_USER",
1111
- APP = "APP"
1112
- }
1113
- /** @enumType */
1114
- export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1115
- export interface QueryEventGuestsRequest {
1116
- /** Query options. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more details. */
1117
- query: QueryV2;
1118
- /**
1119
- * Predefined sets of fields to return.
1120
- * @maxSize 3
1121
- */
1122
- fields?: RequestedFieldsEnumRequestedFieldsWithLiterals[];
1123
- }
1124
- export interface QueryV2 extends QueryV2PagingMethodOneOf {
1125
- /** Paging options to limit and skip the number of items. */
1126
- paging?: Paging;
1127
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
1128
- cursorPaging?: CursorPaging;
1129
- /** Filter object in the following format: <br/> `"filter" : { "fieldName1": "value1", "fieldName2":{"$operator":"value2"} }`. <br/> <br/> **Example:** <br/> `"filter" : { "eventId": "sd3f-jhds-4fs77", "ticketNumber": {"$startsWith":"478"} }` <br/> <br/> See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort) for more information. */
1130
- filter?: Record<string, any> | null;
1131
- /** Sort object in the following format: <br/> `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]` <br/> <br/> **Example:** <br/> `[{"fieldName":"createdDate","direction":"DESC"}]` <br/> <br/> See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort) for more information. */
1132
- sort?: Sorting[];
1133
- /**
1134
- * Currently the only supported fieldset is `guestDetails`. The `WIX_EVENTS.READ_GUESTS_DETAILS` permission is required to access the guest details. <br/> <br/> See [field projection](https://dev.wix.com/api/rest/getting-started/field-projection) for more information.
1135
- * @deprecated Currently the only supported fieldset is `guestDetails`. The `WIX_EVENTS.READ_GUESTS_DETAILS` permission is required to access the guest details. <br/> <br/> See [field projection](https://dev.wix.com/api/rest/getting-started/field-projection) for more information.
1136
- * @replacedBy fields
1137
- * @targetRemovalDate 2024-06-30
1138
- */
1139
- fieldsets?: string[];
1140
- }
1141
- /** @oneof */
1142
- export interface QueryV2PagingMethodOneOf {
1143
- /** Paging options to limit and skip the number of items. */
1144
- paging?: Paging;
1145
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
1146
- cursorPaging?: CursorPaging;
1147
- }
1148
- export interface Sorting {
1149
- /**
1150
- * Name of the field to sort by.
1151
- * @maxLength 512
1152
- */
1153
- fieldName?: string;
1154
- /** Sort order. */
1155
- order?: SortOrderWithLiterals;
1156
- }
1157
- export declare enum SortOrder {
1158
- ASC = "ASC",
1159
- DESC = "DESC"
1160
- }
1161
- /** @enumType */
1162
- export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
1163
- export interface Paging {
1164
- /**
1165
- * Number of items to load.
1166
- * @max 1000
1167
- */
1168
- limit?: number | null;
1169
- /** Number of items to skip in the current sort order. */
1170
- offset?: number | null;
1171
- }
1172
- export interface CursorPaging {
1173
- /**
1174
- * Maximum number of items to return in the results.
1175
- * @max 1000
1176
- */
1177
- limit?: number | null;
1178
- /**
1179
- * Pointer to the next or previous page in the list of results.
1180
- *
1181
- * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
1182
- * Not relevant for the first request.
1183
- * @maxLength 16000
1184
- */
1185
- cursor?: string | null;
1186
- }
1187
- export declare enum RequestedFieldsEnumRequestedFields {
1188
- /** Unknown requested field. */
1189
- UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
1190
- /** Returns `guestDetails` and `tickets`. */
1191
- GUEST_DETAILS = "GUEST_DETAILS",
1192
- /** Returns `totalGuests`. */
1193
- GUEST_TOTAL = "GUEST_TOTAL"
1194
- }
1195
- /** @enumType */
1196
- export type RequestedFieldsEnumRequestedFieldsWithLiterals = RequestedFieldsEnumRequestedFields | 'UNKNOWN_REQUESTED_FIELD' | 'GUEST_DETAILS' | 'GUEST_TOTAL';
1197
- export interface QueryEventGuestsResponse {
1198
- /** List of guests. */
1199
- guests?: EventGuest[];
1200
- /** Metadata for the paginated results. */
1201
- pagingMetadata?: PagingMetadataV2;
1202
- }
1203
- export interface PagingMetadataV2 {
1204
- /** Number of items returned in the response. */
1205
- count?: number | null;
1206
- /** Offset that was requested. */
1207
- offset?: number | null;
1208
- /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
1209
- total?: number | null;
1210
- /** Flag that indicates the server failed to calculate the `total` field. */
1211
- tooManyToCount?: boolean | null;
1212
- /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
1213
- cursors?: Cursors;
1214
- }
1215
- export interface Cursors {
1216
- /**
1217
- * Cursor string pointing to the next page in the list of results.
1218
- * @maxLength 16000
1219
- */
1220
- next?: string | null;
1221
- /**
1222
- * Cursor pointing to the previous page in the list of results.
1223
- * @maxLength 16000
1224
- */
1225
- prev?: string | null;
1226
- }
1227
- export interface StreamEventGuestsRequest {
1228
- /** Filter. */
1229
- filter?: Record<string, any> | null;
1230
- /** Task context. */
1231
- taskContext?: TaskContext;
1232
- }
1233
- export interface Empty {
1234
- }
1235
- export interface SecondaryLanguagesRequest {
1236
- /**
1237
- * Guest event id.
1238
- * @format GUID
1239
- */
1240
- eventId?: string;
1241
- }
1242
- export interface SecondaryLanguagesResponse {
1243
- /**
1244
- * Aggregated guests secondary languages.
1245
- * @format LANGUAGE
1246
- */
1247
- secondaryLanguages?: string[];
1248
- /** Aggregated guests languages. */
1249
- languages?: Language[];
1250
- }
1251
- export interface Language {
1252
- /**
1253
- * Guest language.
1254
- * @format LANGUAGE
1255
- */
1256
- language?: string | null;
1257
- /**
1258
- * Guest locale.
1259
- * @format LANGUAGE_TAG
1260
- */
1261
- locale?: string | null;
1262
- }
1263
- export interface OrderConfirmed {
1264
- /** Order confirmation timestamp in ISO UTC. */
1265
- timestamp?: Date | null;
1266
- /**
1267
- * Site language when Order initiated
1268
- * @format LANGUAGE
1269
- */
1270
- language?: string | null;
1271
- /** Notifications silenced for this domain event. */
1272
- silent?: boolean | null;
1273
- /**
1274
- * Locale in which Order was created.
1275
- * @format LANGUAGE_TAG
1276
- */
1277
- locale?: string | null;
1278
- /**
1279
- * Event ID.
1280
- * @format GUID
1281
- */
1282
- eventId?: string;
1283
- /** Unique order number. */
1284
- orderNumber?: string;
1285
- /** Contact ID associated with this order. */
1286
- contactId?: string;
1287
- /**
1288
- * Member ID associated with this order.
1289
- * @format GUID
1290
- */
1291
- memberId?: string | null;
1292
- /**
1293
- * Order created timestamp
1294
- * @readonly
1295
- */
1296
- created?: Date | null;
1297
- /** Buyer first name. */
1298
- firstName?: string;
1299
- /** Buyer last name. */
1300
- lastName?: string;
1301
- /** Buyer email address. */
1302
- email?: string;
1303
- /** Checkout form response. */
1304
- checkoutForm?: FormResponse;
1305
- /** Order status. */
1306
- status?: OrderStatusWithLiterals;
1307
- /** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
1308
- method?: string | null;
1309
- /** Tickets (generated after payment). */
1310
- tickets?: Ticket[];
1311
- /** Invoice. */
1312
- invoice?: Invoice;
1313
- /** Reservation ID associated with this order. */
1314
- reservationId?: string;
1315
- }
1316
- export interface Ticket {
1317
- /** Unique issued ticket number. */
1318
- ticketNumber?: string;
1319
- /**
1320
- * Ticket definition ID.
1321
- * @format GUID
1322
- */
1323
- ticketDefinitionId?: string;
1324
- /** Ticket check-in. */
1325
- checkIn?: CheckIn;
1326
- /** Ticket price. */
1327
- price?: Money;
1328
- /** Whether ticket is archived. */
1329
- archived?: boolean;
1330
- /** Guest first name. */
1331
- firstName?: string | null;
1332
- /** Guest last name. */
1333
- lastName?: string | null;
1334
- /** Guest email. */
1335
- email?: string | null;
1336
- /**
1337
- * Contact ID associated with this ticket.
1338
- * @format GUID
1339
- */
1340
- contactId?: string | null;
1341
- /** Whether ticket is confirmed */
1342
- confirmed?: boolean;
1343
- /**
1344
- * Member ID associated with this ticket.
1345
- * @format GUID
1346
- */
1347
- memberId?: string | null;
1348
- /** Ticket form response (only assigned tickets contain separate forms). */
1349
- form?: FormResponse;
1350
- /** Ticket name. */
1351
- ticketName?: string;
1352
- /** Anonymized tickets no longer contain personally identifiable information (PII). */
1353
- anonymized?: boolean;
1354
- /** URL and password to online conference */
1355
- onlineConferencingLogin?: OnlineConferencingLogin;
1356
- /**
1357
- * Seat ID associated with this ticket.
1358
- * @maxLength 36
1359
- */
1360
- seatId?: string | null;
1361
- /** Whether ticket is canceled. */
1362
- canceled?: boolean | null;
1363
- }
1364
- export interface CheckIn {
1365
- /** Time of check-in */
1366
- created?: Date | null;
1367
- }
1368
- export interface OrderUpdated {
1369
- /** Order updated timestamp in ISO UTC format. */
1370
- timestamp?: Date | null;
1371
- /**
1372
- * Site language when Order initiated
1373
- * @format LANGUAGE
1374
- */
1375
- language?: string | null;
1376
- /**
1377
- * Locale in which Order was created.
1378
- * @format LANGUAGE_TAG
1379
- */
1380
- locale?: string | null;
1381
- /**
1382
- * Event ID.
1383
- * @format GUID
1384
- */
1385
- eventId?: string;
1386
- /** Unique order number. */
1387
- orderNumber?: string;
1388
- /** Contact ID associated with this order. */
1389
- contactId?: string;
1390
- /**
1391
- * Member ID associated with this order.
1392
- * @format GUID
1393
- */
1394
- memberId?: string | null;
1395
- /**
1396
- * Order created timestamp.
1397
- * @readonly
1398
- */
1399
- created?: Date | null;
1400
- /**
1401
- * Order updated timestamp.
1402
- * @readonly
1403
- */
1404
- updated?: Date | null;
1405
- /** Buyer first name. */
1406
- firstName?: string;
1407
- /** Buyer last name. */
1408
- lastName?: string;
1409
- /** Buyer email. */
1410
- email?: string;
1411
- /** Checkout form response. */
1412
- checkoutForm?: FormResponse;
1413
- /** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */
1414
- confirmed?: boolean;
1415
- /** Order status. */
1416
- status?: OrderStatusWithLiterals;
1417
- /** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
1418
- method?: string | null;
1419
- /** Tickets generated after payment. */
1420
- tickets?: Ticket[];
1421
- /** Whether order was archived and excluded from results. */
1422
- archived?: boolean;
1423
- /** Whether event was triggered by GDPR delete request. */
1424
- triggeredByAnonymizeRequest?: boolean;
1425
- }
1426
- export interface OrderDeleted {
1427
- /** Order deleted timestamp in ISO UTC format. */
1428
- timestamp?: Date | null;
1429
- /**
1430
- * Event ID.
1431
- * @format GUID
1432
- */
1433
- eventId?: string;
1434
- /** Unique order number. */
1435
- orderNumber?: string;
1436
- /** Contact ID associated with this order */
1437
- contactId?: string;
1438
- /**
1439
- * Member ID associated with this order.
1440
- * @format GUID
1441
- */
1442
- memberId?: string | null;
1443
- /**
1444
- * Order created timestamp.
1445
- * @readonly
1446
- */
1447
- created?: Date | null;
1448
- /**
1449
- * Order updated timestamp.
1450
- * @readonly
1451
- */
1452
- updated?: Date | null;
1453
- /** Whether order was anonymized by GDPR delete. */
1454
- anonymized?: boolean;
1455
- /** Order type. */
1456
- orderType?: OrderTypeWithLiterals;
1457
- /** Whether event was triggered by GDPR delete request. */
1458
- triggeredByAnonymizeRequest?: boolean;
1459
- /** Tickets generated after payment. */
1460
- tickets?: Ticket[];
1461
- }
1462
- export declare enum OrderType {
1463
- /** Buyer form is used for all tickets. */
1464
- UNASSIGNED_TICKETS = "UNASSIGNED_TICKETS",
1465
- /** Each order ticket has its own form. */
1466
- ASSIGNED_TICKETS = "ASSIGNED_TICKETS"
1467
- }
1468
- /** @enumType */
1469
- export type OrderTypeWithLiterals = OrderType | 'UNASSIGNED_TICKETS' | 'ASSIGNED_TICKETS';
1470
- export interface EventDeleted {
1471
- /** Event deleted timestamp in ISO UTC format. */
1472
- timestamp?: Date | null;
1473
- /**
1474
- * Event ID.
1475
- * @format GUID
1476
- */
1477
- eventId?: string;
1478
- /** Event title. */
1479
- title?: string;
1480
- /**
1481
- * Event creator user ID.
1482
- * @format GUID
1483
- */
1484
- userId?: string | null;
1485
- }
1486
- export interface Task {
1487
- key?: TaskKey;
1488
- executeAt?: Date | null;
1489
- payload?: string | null;
1490
- }
1491
- export interface TaskKey {
1492
- appId?: string;
1493
- instanceId?: string;
1494
- subjectId?: string | null;
1495
- }
1496
- export interface ListGuestListPreviewsRequest {
1497
- /**
1498
- * Event ids.
1499
- * @format GUID
1500
- * @maxSize 50
1501
- */
1502
- eventIds?: string[];
1503
- /** Cursor paging. */
1504
- cursorPaging?: CursorPaging;
1505
- /**
1506
- * Requested fields.
1507
- * @maxSize 5
1508
- */
1509
- fields?: RequestedFieldsWithLiterals[];
1510
- }
1511
- export declare enum RequestedFields {
1512
- /** Unknown requested field. */
1513
- UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
1514
- /** Member guests. */
1515
- MEMBER_GUESTS = "MEMBER_GUESTS",
1516
- /** Waitlist count. */
1517
- WAITLIST_COUNT = "WAITLIST_COUNT"
1518
- }
1519
- /** @enumType */
1520
- export type RequestedFieldsWithLiterals = RequestedFields | 'UNKNOWN_REQUESTED_FIELD' | 'MEMBER_GUESTS' | 'WAITLIST_COUNT';
1521
- export interface ListGuestListPreviewsResponse {
1522
- /**
1523
- * List of guests.
1524
- * @maxSize 50
1525
- */
1526
- previews?: GuestListPreview[];
1527
- /** Metadata for the paginated results. */
1528
- pagingMetadata?: PagingMetadataV2;
1529
- }
1530
- export interface GuestListPreview {
1531
- /**
1532
- * Event id.
1533
- * @format GUID
1534
- */
1535
- eventId?: string;
1536
- /** Attending guests count. */
1537
- attending?: GuestCount;
1538
- /** Waiting guests count. */
1539
- inWaitlist?: GuestCount;
1540
- /** Not attending guests count. */
1541
- notAttending?: GuestCount;
1542
- /** Latest attending members. */
1543
- latestAttendingMembers?: MemberGuests;
1544
- }
1545
- export interface GuestCount {
1546
- /** Total guest count. For Rsvp Event every RSVP guest and additional guest count, for Ticketed Event count of TICKET_HOLDER */
1547
- totalEventGuests?: number;
1548
- /** EventGuest count (RSVP, TICKET_HOLDER, BUYER); */
1549
- count?: number;
1550
- }
1551
- export interface MemberGuests {
1552
- /**
1553
- * Member guests
1554
- * @maxSize 8
1555
- */
1556
- guests?: MemberGuest[];
1557
- }
1558
- export interface MemberGuest {
1559
- /**
1560
- * Member id
1561
- * @format GUID
1562
- */
1563
- memberId?: string;
1564
- }
1565
- export interface UpdateGuestRequest {
1566
- /** Updated guest */
1567
- guest?: EventGuest;
1568
- /** Guest revision */
1569
- revision?: string | null;
1570
- }
1571
- export interface UpdateGuestResponse {
1572
- /** Updated guest */
1573
- guest?: EventGuest;
1574
- }