@wix/auto_sdk_events_tickets 1.0.2 → 1.0.3
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-v1-ticket-tickets.types.d.ts +271 -61
- package/build/cjs/src/events-v1-ticket-tickets.types.js.map +1 -1
- package/build/cjs/src/events-v1-ticket-tickets.universal.d.ts +367 -79
- package/build/cjs/src/events-v1-ticket-tickets.universal.js.map +1 -1
- package/build/es/src/events-v1-ticket-tickets.types.d.ts +271 -61
- package/build/es/src/events-v1-ticket-tickets.types.js.map +1 -1
- package/build/es/src/events-v1-ticket-tickets.universal.d.ts +367 -79
- package/build/es/src/events-v1-ticket-tickets.universal.js.map +1 -1
- package/build/internal/cjs/src/events-v1-ticket-tickets.types.d.ts +271 -61
- package/build/internal/cjs/src/events-v1-ticket-tickets.types.js.map +1 -1
- package/build/internal/cjs/src/events-v1-ticket-tickets.universal.d.ts +367 -79
- package/build/internal/cjs/src/events-v1-ticket-tickets.universal.js.map +1 -1
- package/build/internal/es/src/events-v1-ticket-tickets.types.d.ts +271 -61
- package/build/internal/es/src/events-v1-ticket-tickets.types.js.map +1 -1
- package/build/internal/es/src/events-v1-ticket-tickets.universal.d.ts +367 -79
- package/build/internal/es/src/events-v1-ticket-tickets.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -3,7 +3,10 @@ export interface TicketingTicket {
|
|
|
3
3
|
ticketNumber?: string;
|
|
4
4
|
/** Associated order number. */
|
|
5
5
|
orderNumber?: string;
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* Ticket definition ID.
|
|
8
|
+
* @format GUID
|
|
9
|
+
*/
|
|
7
10
|
ticketDefinitionId?: string;
|
|
8
11
|
/** Ticket name. */
|
|
9
12
|
name?: string;
|
|
@@ -40,7 +43,10 @@ export interface TicketingTicket {
|
|
|
40
43
|
* @deprecated
|
|
41
44
|
*/
|
|
42
45
|
ticketPdf?: string;
|
|
43
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* Ticket owner member ID.
|
|
48
|
+
* @format GUID
|
|
49
|
+
*/
|
|
44
50
|
memberId?: string | null;
|
|
45
51
|
/**
|
|
46
52
|
* Whether ticket was anonymized by GDPR delete.
|
|
@@ -60,6 +66,7 @@ export interface TicketingTicket {
|
|
|
60
66
|
channel?: ChannelType;
|
|
61
67
|
/**
|
|
62
68
|
* URL to download ticket in .pkpass format for Apple Wallet
|
|
69
|
+
* @format WEB_URL
|
|
63
70
|
* @readonly
|
|
64
71
|
*/
|
|
65
72
|
walletPassUrl?: string;
|
|
@@ -72,12 +79,19 @@ export interface TicketingTicket {
|
|
|
72
79
|
export interface Money {
|
|
73
80
|
/**
|
|
74
81
|
* *Deprecated:** Use `value` instead.
|
|
82
|
+
* @format DECIMAL_VALUE
|
|
75
83
|
* @deprecated
|
|
76
84
|
*/
|
|
77
85
|
amount?: string;
|
|
78
|
-
/**
|
|
86
|
+
/**
|
|
87
|
+
* ISO 4217 format of the currency e.g., `USD`.
|
|
88
|
+
* @format CURRENCY
|
|
89
|
+
*/
|
|
79
90
|
currency?: string;
|
|
80
|
-
/**
|
|
91
|
+
/**
|
|
92
|
+
* 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.
|
|
93
|
+
* @format DECIMAL_VALUE
|
|
94
|
+
*/
|
|
81
95
|
value?: string | null;
|
|
82
96
|
}
|
|
83
97
|
export interface CheckIn {
|
|
@@ -115,29 +129,54 @@ export interface GuestDetails {
|
|
|
115
129
|
firstName?: string | null;
|
|
116
130
|
/** Guest last name. */
|
|
117
131
|
lastName?: string | null;
|
|
118
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* Guest email.
|
|
134
|
+
* @format EMAIL
|
|
135
|
+
*/
|
|
119
136
|
email?: string | null;
|
|
120
137
|
/** Full form response. */
|
|
121
138
|
form?: FormResponse;
|
|
122
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* Contact ID associated with this guest.
|
|
141
|
+
* @format GUID
|
|
142
|
+
*/
|
|
123
143
|
contactId?: string | null;
|
|
124
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* Guest phone number.
|
|
146
|
+
* @format PHONE
|
|
147
|
+
*/
|
|
125
148
|
phone?: string | null;
|
|
126
149
|
}
|
|
127
150
|
export interface FormResponse {
|
|
128
|
-
/**
|
|
151
|
+
/**
|
|
152
|
+
* Input values entered when filling the form.
|
|
153
|
+
* @maxSize 200
|
|
154
|
+
*/
|
|
129
155
|
inputValues?: InputValue[];
|
|
130
156
|
}
|
|
131
157
|
export interface InputValue {
|
|
132
|
-
/**
|
|
158
|
+
/**
|
|
159
|
+
* Input field name.
|
|
160
|
+
* @maxLength 100
|
|
161
|
+
*/
|
|
133
162
|
inputName?: string;
|
|
134
|
-
/**
|
|
163
|
+
/**
|
|
164
|
+
* Text entered into the input field.
|
|
165
|
+
* @maxLength 5000
|
|
166
|
+
*/
|
|
135
167
|
value?: string;
|
|
136
|
-
/**
|
|
168
|
+
/**
|
|
169
|
+
* Multiple selection values. For example, the array is filled if several checkboxes are ticked.
|
|
170
|
+
* @maxSize 100
|
|
171
|
+
* @maxLength 5000
|
|
172
|
+
*/
|
|
137
173
|
values?: string[];
|
|
138
174
|
}
|
|
139
175
|
export interface FormattedAddress {
|
|
140
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* One line address representation.
|
|
178
|
+
* @maxLength 200
|
|
179
|
+
*/
|
|
141
180
|
formatted?: string;
|
|
142
181
|
/** Address components (optional). */
|
|
143
182
|
address?: Address;
|
|
@@ -148,7 +187,10 @@ export interface Address extends AddressStreetOneOf {
|
|
|
148
187
|
streetAddress?: StreetAddress;
|
|
149
188
|
/** Main address line, usually street and number as free text. */
|
|
150
189
|
addressLine?: string | null;
|
|
151
|
-
/**
|
|
190
|
+
/**
|
|
191
|
+
* Country code.
|
|
192
|
+
* @format COUNTRY
|
|
193
|
+
*/
|
|
152
194
|
country?: string | null;
|
|
153
195
|
/** Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY */
|
|
154
196
|
subdivision?: string | null;
|
|
@@ -201,7 +243,10 @@ export declare enum SubdivisionType {
|
|
|
201
243
|
}
|
|
202
244
|
/** Subdivision Concordance values */
|
|
203
245
|
export interface StandardDetails {
|
|
204
|
-
/**
|
|
246
|
+
/**
|
|
247
|
+
* 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
|
|
248
|
+
* @maxLength 20
|
|
249
|
+
*/
|
|
205
250
|
iso31662?: string | null;
|
|
206
251
|
}
|
|
207
252
|
export declare enum ChannelType {
|
|
@@ -211,7 +256,11 @@ export declare enum ChannelType {
|
|
|
211
256
|
OFFLINE_POS = "OFFLINE_POS"
|
|
212
257
|
}
|
|
213
258
|
export interface TicketDetails {
|
|
214
|
-
/**
|
|
259
|
+
/**
|
|
260
|
+
* Unique seat id in the event venue.
|
|
261
|
+
* @minLength 1
|
|
262
|
+
* @maxLength 36
|
|
263
|
+
*/
|
|
215
264
|
seatId?: string | null;
|
|
216
265
|
/**
|
|
217
266
|
* Optional sector label.
|
|
@@ -238,11 +287,21 @@ export interface TicketDetails {
|
|
|
238
287
|
* @readonly
|
|
239
288
|
*/
|
|
240
289
|
seatLabel?: string | null;
|
|
241
|
-
/**
|
|
290
|
+
/**
|
|
291
|
+
* Number of places in the spot. If not provided - defaults to 1.
|
|
292
|
+
* @min 1
|
|
293
|
+
* @max 50
|
|
294
|
+
*/
|
|
242
295
|
capacity?: number | null;
|
|
243
|
-
/**
|
|
296
|
+
/**
|
|
297
|
+
* Custom pricing of ticket.
|
|
298
|
+
* @format DECIMAL_VALUE
|
|
299
|
+
*/
|
|
244
300
|
priceOverride?: string | null;
|
|
245
|
-
/**
|
|
301
|
+
/**
|
|
302
|
+
* Pricing option id.
|
|
303
|
+
* @format GUID
|
|
304
|
+
*/
|
|
246
305
|
pricingOptionId?: string | null;
|
|
247
306
|
/**
|
|
248
307
|
* Pricing option name.
|
|
@@ -251,41 +310,88 @@ export interface TicketDetails {
|
|
|
251
310
|
pricingOptionName?: string | null;
|
|
252
311
|
}
|
|
253
312
|
export interface ListTicketsRequest {
|
|
254
|
-
/**
|
|
313
|
+
/**
|
|
314
|
+
* Event IDs.
|
|
315
|
+
* @format GUID
|
|
316
|
+
*/
|
|
255
317
|
eventId: string[];
|
|
256
318
|
/** Offset. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination). */
|
|
257
319
|
offset?: number;
|
|
258
|
-
/**
|
|
320
|
+
/**
|
|
321
|
+
* Number of items to load per page. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
|
|
322
|
+
* @max 100
|
|
323
|
+
*/
|
|
259
324
|
limit?: number;
|
|
260
|
-
/**
|
|
325
|
+
/**
|
|
326
|
+
* Order numbers.
|
|
327
|
+
* @minLength 1
|
|
328
|
+
* @maxLength 36
|
|
329
|
+
* @maxSize 20
|
|
330
|
+
*/
|
|
261
331
|
orderNumber?: string[];
|
|
262
|
-
/**
|
|
332
|
+
/**
|
|
333
|
+
* Ticket numbers.
|
|
334
|
+
* @minLength 1
|
|
335
|
+
* @maxLength 36
|
|
336
|
+
* @maxSize 50
|
|
337
|
+
*/
|
|
263
338
|
ticketNumber?: string[];
|
|
264
|
-
/**
|
|
339
|
+
/**
|
|
340
|
+
* Textual search filter - search is performed on "orderFullName", "guestFullName", and "ticketNumber".
|
|
341
|
+
* @maxLength 200
|
|
342
|
+
*/
|
|
265
343
|
searchPhrase?: string;
|
|
266
|
-
/**
|
|
344
|
+
/**
|
|
345
|
+
* Order statuses.
|
|
346
|
+
* @maxSize 20
|
|
347
|
+
*/
|
|
267
348
|
orderStatus?: OrderStatus[];
|
|
268
|
-
/**
|
|
349
|
+
/**
|
|
350
|
+
* Set of fields to return in the response. See [Fieldsets](https://dev.wix.com/api/rest/wix-events/wix-events/fieldset#wix-events_wix-events_fieldset_ticket-fieldset).
|
|
351
|
+
* @maxSize 20
|
|
352
|
+
*/
|
|
269
353
|
fieldset?: TicketFieldset[];
|
|
270
|
-
/**
|
|
354
|
+
/**
|
|
355
|
+
* Ticket states.
|
|
356
|
+
* @maxSize 20
|
|
357
|
+
*/
|
|
271
358
|
state?: State[];
|
|
272
|
-
/**
|
|
359
|
+
/**
|
|
360
|
+
* Site member IDs.
|
|
361
|
+
* @format GUID
|
|
362
|
+
* @maxSize 500
|
|
363
|
+
*/
|
|
273
364
|
memberId?: string[];
|
|
274
365
|
/**
|
|
275
366
|
* Filter facets.
|
|
276
367
|
* See [supported facets](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-tickets).
|
|
368
|
+
* @maxLength 100
|
|
369
|
+
* @maxSize 20
|
|
277
370
|
*/
|
|
278
371
|
facet?: string[];
|
|
279
372
|
/**
|
|
280
373
|
* Sort order. Defaults to "ticket_number:asc".
|
|
281
374
|
* See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-tickets).
|
|
375
|
+
* @maxLength 100
|
|
282
376
|
*/
|
|
283
377
|
sort?: string;
|
|
284
|
-
/**
|
|
378
|
+
/**
|
|
379
|
+
* Guest contact IDs.
|
|
380
|
+
* @format GUID
|
|
381
|
+
* @maxSize 100
|
|
382
|
+
*/
|
|
285
383
|
contactId?: string[];
|
|
286
|
-
/**
|
|
384
|
+
/**
|
|
385
|
+
* Ticket definition IDs.
|
|
386
|
+
* @format GUID
|
|
387
|
+
* @maxSize 10
|
|
388
|
+
*/
|
|
287
389
|
ticketDefinitionId?: string[];
|
|
288
|
-
/**
|
|
390
|
+
/**
|
|
391
|
+
* Seat IDs.
|
|
392
|
+
* @maxLength 36
|
|
393
|
+
* @maxSize 50
|
|
394
|
+
*/
|
|
289
395
|
seatId?: string[];
|
|
290
396
|
}
|
|
291
397
|
export declare enum TicketFieldset {
|
|
@@ -321,7 +427,10 @@ export interface ListTicketsResponse {
|
|
|
321
427
|
total?: number;
|
|
322
428
|
/** Offset. */
|
|
323
429
|
offset?: number;
|
|
324
|
-
/**
|
|
430
|
+
/**
|
|
431
|
+
* Limit.
|
|
432
|
+
* @max 100
|
|
433
|
+
*/
|
|
325
434
|
limit?: number;
|
|
326
435
|
/** Tickets. */
|
|
327
436
|
tickets?: TicketingTicket[];
|
|
@@ -347,11 +456,20 @@ export interface Counts {
|
|
|
347
456
|
checkedIn?: number;
|
|
348
457
|
}
|
|
349
458
|
export interface GetTicketRequest {
|
|
350
|
-
/**
|
|
459
|
+
/**
|
|
460
|
+
* Event ID.
|
|
461
|
+
* @format GUID
|
|
462
|
+
*/
|
|
351
463
|
eventId: string;
|
|
352
|
-
/**
|
|
464
|
+
/**
|
|
465
|
+
* Unique ticket number.
|
|
466
|
+
* @maxLength 36
|
|
467
|
+
*/
|
|
353
468
|
ticketNumber: string;
|
|
354
|
-
/**
|
|
469
|
+
/**
|
|
470
|
+
* Set of fields to return in the response. See [Fieldsets](https://dev.wix.com/api/rest/wix-events/wix-events/fieldset#wix-events_wix-events_fieldset_ticket-fieldset).
|
|
471
|
+
* @maxSize 20
|
|
472
|
+
*/
|
|
355
473
|
fieldset?: TicketFieldset[];
|
|
356
474
|
}
|
|
357
475
|
export interface GetTicketResponse {
|
|
@@ -359,9 +477,18 @@ export interface GetTicketResponse {
|
|
|
359
477
|
ticket?: TicketingTicket;
|
|
360
478
|
}
|
|
361
479
|
export interface CheckInTicketRequest {
|
|
362
|
-
/**
|
|
480
|
+
/**
|
|
481
|
+
* Event ID.
|
|
482
|
+
* @format GUID
|
|
483
|
+
*/
|
|
363
484
|
eventId: string;
|
|
364
|
-
/**
|
|
485
|
+
/**
|
|
486
|
+
* Tickets to check-in.
|
|
487
|
+
* @minLength 1
|
|
488
|
+
* @maxLength 36
|
|
489
|
+
* @minSize 1
|
|
490
|
+
* @maxSize 100
|
|
491
|
+
*/
|
|
365
492
|
ticketNumber?: string[];
|
|
366
493
|
}
|
|
367
494
|
export interface CheckInTicketResponse {
|
|
@@ -371,17 +498,29 @@ export interface CheckInTicketResponse {
|
|
|
371
498
|
export interface OrderUpdated {
|
|
372
499
|
/** Order updated timestamp in ISO UTC format. */
|
|
373
500
|
timestamp?: Date | null;
|
|
374
|
-
/**
|
|
501
|
+
/**
|
|
502
|
+
* Site language when Order initiated
|
|
503
|
+
* @format LANGUAGE
|
|
504
|
+
*/
|
|
375
505
|
language?: string | null;
|
|
376
|
-
/**
|
|
506
|
+
/**
|
|
507
|
+
* Locale in which Order was created.
|
|
508
|
+
* @format LANGUAGE_TAG
|
|
509
|
+
*/
|
|
377
510
|
locale?: string | null;
|
|
378
|
-
/**
|
|
511
|
+
/**
|
|
512
|
+
* Event ID.
|
|
513
|
+
* @format GUID
|
|
514
|
+
*/
|
|
379
515
|
eventId?: string;
|
|
380
516
|
/** Unique order number. */
|
|
381
517
|
orderNumber?: string;
|
|
382
518
|
/** Contact ID associated with this order. */
|
|
383
519
|
contactId?: string;
|
|
384
|
-
/**
|
|
520
|
+
/**
|
|
521
|
+
* Member ID associated with this order.
|
|
522
|
+
* @format GUID
|
|
523
|
+
*/
|
|
385
524
|
memberId?: string | null;
|
|
386
525
|
/**
|
|
387
526
|
* Order created timestamp.
|
|
@@ -417,7 +556,10 @@ export interface OrderUpdated {
|
|
|
417
556
|
export interface Ticket {
|
|
418
557
|
/** Unique issued ticket number. */
|
|
419
558
|
ticketNumber?: string;
|
|
420
|
-
/**
|
|
559
|
+
/**
|
|
560
|
+
* Ticket definition ID.
|
|
561
|
+
* @format GUID
|
|
562
|
+
*/
|
|
421
563
|
ticketDefinitionId?: string;
|
|
422
564
|
/** Ticket check-in. */
|
|
423
565
|
checkIn?: CheckIn;
|
|
@@ -431,11 +573,17 @@ export interface Ticket {
|
|
|
431
573
|
lastName?: string | null;
|
|
432
574
|
/** Guest email. */
|
|
433
575
|
email?: string | null;
|
|
434
|
-
/**
|
|
576
|
+
/**
|
|
577
|
+
* Contact ID associated with this ticket.
|
|
578
|
+
* @format GUID
|
|
579
|
+
*/
|
|
435
580
|
contactId?: string | null;
|
|
436
581
|
/** Whether ticket is confirmed */
|
|
437
582
|
confirmed?: boolean;
|
|
438
|
-
/**
|
|
583
|
+
/**
|
|
584
|
+
* Member ID associated with this ticket.
|
|
585
|
+
* @format GUID
|
|
586
|
+
*/
|
|
439
587
|
memberId?: string | null;
|
|
440
588
|
/** Ticket form response (only assigned tickets contain separate forms). */
|
|
441
589
|
form?: FormResponse;
|
|
@@ -445,7 +593,10 @@ export interface Ticket {
|
|
|
445
593
|
anonymized?: boolean;
|
|
446
594
|
/** URL and password to online conference */
|
|
447
595
|
onlineConferencingLogin?: OnlineConferencingLogin;
|
|
448
|
-
/**
|
|
596
|
+
/**
|
|
597
|
+
* Seat ID associated with this ticket.
|
|
598
|
+
* @maxLength 36
|
|
599
|
+
*/
|
|
449
600
|
seatId?: string | null;
|
|
450
601
|
/** Whether ticket is canceled. */
|
|
451
602
|
canceled?: boolean | null;
|
|
@@ -453,6 +604,7 @@ export interface Ticket {
|
|
|
453
604
|
export interface OnlineConferencingLogin {
|
|
454
605
|
/**
|
|
455
606
|
* Link URL to the online conference.
|
|
607
|
+
* @format WEB_URL
|
|
456
608
|
* @readonly
|
|
457
609
|
*/
|
|
458
610
|
link?: string;
|
|
@@ -463,9 +615,18 @@ export interface OnlineConferencingLogin {
|
|
|
463
615
|
password?: string | null;
|
|
464
616
|
}
|
|
465
617
|
export interface DeleteTicketCheckInRequest {
|
|
466
|
-
/**
|
|
618
|
+
/**
|
|
619
|
+
* Event ID.
|
|
620
|
+
* @format GUID
|
|
621
|
+
*/
|
|
467
622
|
eventId: string;
|
|
468
|
-
/**
|
|
623
|
+
/**
|
|
624
|
+
* Tickets to delete check-ins for.
|
|
625
|
+
* @minLength 1
|
|
626
|
+
* @maxLength 36
|
|
627
|
+
* @minSize 1
|
|
628
|
+
* @maxSize 100
|
|
629
|
+
*/
|
|
469
630
|
ticketNumber?: string[];
|
|
470
631
|
}
|
|
471
632
|
export interface DeleteTicketCheckInResponse {
|
|
@@ -473,9 +634,16 @@ export interface DeleteTicketCheckInResponse {
|
|
|
473
634
|
tickets?: TicketingTicket[];
|
|
474
635
|
}
|
|
475
636
|
export interface UpdateTicketRequest {
|
|
476
|
-
/**
|
|
637
|
+
/**
|
|
638
|
+
* Event ID.
|
|
639
|
+
* @format GUID
|
|
640
|
+
*/
|
|
477
641
|
eventId: string;
|
|
478
|
-
/**
|
|
642
|
+
/**
|
|
643
|
+
* Unique ticket number.
|
|
644
|
+
* @minLength 1
|
|
645
|
+
* @maxLength 36
|
|
646
|
+
*/
|
|
479
647
|
ticketNumber: string;
|
|
480
648
|
/**
|
|
481
649
|
* Set of field paths, specifying which parts of this resource to update.
|
|
@@ -502,9 +670,18 @@ export interface UpdateTicketResponse {
|
|
|
502
670
|
ticket?: TicketingTicket;
|
|
503
671
|
}
|
|
504
672
|
export interface BulkUpdateTicketsRequest {
|
|
505
|
-
/**
|
|
673
|
+
/**
|
|
674
|
+
* Event ID.
|
|
675
|
+
* @format GUID
|
|
676
|
+
*/
|
|
506
677
|
eventId: string;
|
|
507
|
-
/**
|
|
678
|
+
/**
|
|
679
|
+
* Unique ticket numbers.
|
|
680
|
+
* @minLength 1
|
|
681
|
+
* @maxLength 36
|
|
682
|
+
* @minSize 1
|
|
683
|
+
* @maxSize 100
|
|
684
|
+
*/
|
|
508
685
|
ticketNumber?: string[];
|
|
509
686
|
/** Whether tickets are archived. */
|
|
510
687
|
archived?: boolean;
|
|
@@ -514,7 +691,10 @@ export interface BulkUpdateTicketsResponse {
|
|
|
514
691
|
tickets?: TicketingTicket[];
|
|
515
692
|
}
|
|
516
693
|
export interface GetDemoTicketRequest {
|
|
517
|
-
/**
|
|
694
|
+
/**
|
|
695
|
+
* Ticket definition ID.
|
|
696
|
+
* @format GUID
|
|
697
|
+
*/
|
|
518
698
|
definitionId?: string;
|
|
519
699
|
}
|
|
520
700
|
export interface GetDemoTicketResponse {
|
|
@@ -522,9 +702,15 @@ export interface GetDemoTicketResponse {
|
|
|
522
702
|
ticket?: TicketingTicket;
|
|
523
703
|
}
|
|
524
704
|
export interface MessageEnvelope {
|
|
525
|
-
/**
|
|
705
|
+
/**
|
|
706
|
+
* App instance ID.
|
|
707
|
+
* @format GUID
|
|
708
|
+
*/
|
|
526
709
|
instanceId?: string | null;
|
|
527
|
-
/**
|
|
710
|
+
/**
|
|
711
|
+
* Event type.
|
|
712
|
+
* @maxLength 150
|
|
713
|
+
*/
|
|
528
714
|
eventType?: string;
|
|
529
715
|
/** The identification type and identity data. */
|
|
530
716
|
identity?: IdentificationData;
|
|
@@ -532,26 +718,50 @@ export interface MessageEnvelope {
|
|
|
532
718
|
data?: string;
|
|
533
719
|
}
|
|
534
720
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
535
|
-
/**
|
|
721
|
+
/**
|
|
722
|
+
* ID of a site visitor that has not logged in to the site.
|
|
723
|
+
* @format GUID
|
|
724
|
+
*/
|
|
536
725
|
anonymousVisitorId?: string;
|
|
537
|
-
/**
|
|
726
|
+
/**
|
|
727
|
+
* ID of a site visitor that has logged in to the site.
|
|
728
|
+
* @format GUID
|
|
729
|
+
*/
|
|
538
730
|
memberId?: string;
|
|
539
|
-
/**
|
|
731
|
+
/**
|
|
732
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
733
|
+
* @format GUID
|
|
734
|
+
*/
|
|
540
735
|
wixUserId?: string;
|
|
541
|
-
/**
|
|
736
|
+
/**
|
|
737
|
+
* ID of an app.
|
|
738
|
+
* @format GUID
|
|
739
|
+
*/
|
|
542
740
|
appId?: string;
|
|
543
741
|
/** @readonly */
|
|
544
742
|
identityType?: WebhookIdentityType;
|
|
545
743
|
}
|
|
546
744
|
/** @oneof */
|
|
547
745
|
export interface IdentificationDataIdOneOf {
|
|
548
|
-
/**
|
|
746
|
+
/**
|
|
747
|
+
* ID of a site visitor that has not logged in to the site.
|
|
748
|
+
* @format GUID
|
|
749
|
+
*/
|
|
549
750
|
anonymousVisitorId?: string;
|
|
550
|
-
/**
|
|
751
|
+
/**
|
|
752
|
+
* ID of a site visitor that has logged in to the site.
|
|
753
|
+
* @format GUID
|
|
754
|
+
*/
|
|
551
755
|
memberId?: string;
|
|
552
|
-
/**
|
|
756
|
+
/**
|
|
757
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
758
|
+
* @format GUID
|
|
759
|
+
*/
|
|
553
760
|
wixUserId?: string;
|
|
554
|
-
/**
|
|
761
|
+
/**
|
|
762
|
+
* ID of an app.
|
|
763
|
+
* @format GUID
|
|
764
|
+
*/
|
|
555
765
|
appId?: string;
|
|
556
766
|
}
|
|
557
767
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events-v1-ticket-tickets.types.js","sourceRoot":"","sources":["../../../src/events-v1-ticket-tickets.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"events-v1-ticket-tickets.types.js","sourceRoot":"","sources":["../../../src/events-v1-ticket-tickets.types.ts"],"names":[],"mappings":";;;AAuGA,IAAY,WAuBX;AAvBD,WAAY,WAAW;IACrB,4DAA4D;IAC5D,kDAAmC,CAAA;IACnC,qDAAqD;IACrD,4BAAa,CAAA;IACb,2EAA2E;IAC3E,kCAAmB,CAAA;IACnB,2CAA2C;IAC3C,4BAAa,CAAA;IACb,8GAA8G;IAC9G,kDAAmC,CAAA;IACnC,gDAAgD;IAChD,sCAAuB,CAAA;IACvB,yBAAyB;IACzB,oCAAqB,CAAA;IACrB,iCAAiC;IACjC,oCAAqB,CAAA;IACrB,mCAAmC;IACnC,wCAAyB,CAAA;IACzB,+BAA+B;IAC/B,gCAAiB,CAAA;IACjB,+DAA+D;IAC/D,gDAAiC,CAAA;AACnC,CAAC,EAvBW,WAAW,2BAAX,WAAW,QAuBtB;AAmHD,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,YAAY;IACZ,8EAA2D,CAAA;IAC3D,aAAa;IACb,8EAA2D,CAAA;IAC3D,gBAAgB;IAChB,8EAA2D,CAAA;IAC3D,2BAA2B;IAC3B,8EAA2D,CAAA;IAC3D,mBAAmB;IACnB,8EAA2D,CAAA;IAC3D,8IAA8I;IAC9I,sCAAmB,CAAA;AACrB,CAAC,EAdW,eAAe,+BAAf,eAAe,QAc1B;AAWD,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,qFAAqF;IACrF,gCAAiB,CAAA;IACjB,8DAA8D;IAC9D,0CAA2B,CAAA;AAC7B,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AA+ID,IAAY,cAOX;AAPD,WAAY,cAAc;IACxB,oDAAoD;IACpD,iDAA+B,CAAA;IAC/B,qDAAqD;IACrD,mDAAiC,CAAA;IACjC,4DAA4D;IAC5D,2CAAyB,CAAA;AAC3B,CAAC,EAPW,cAAc,8BAAd,cAAc,QAOzB;AAED,IAAY,KAmBX;AAnBD,WAAY,KAAK;IACf,6CAA6C;IAC7C,0CAAiC,CAAA;IACjC,iDAAiD;IACjD,sCAA6B,CAAA;IAC7B,qCAAqC;IACrC,4CAAmC,CAAA;IACnC,yCAAyC;IACzC,wCAA+B,CAAA;IAC/B,uCAAuC;IACvC,kCAAyB,CAAA;IACzB,2CAA2C;IAC3C,0CAAiC,CAAA;IACjC,iCAAiC;IACjC,sBAAa,CAAA;IACb,iCAAiC;IACjC,sBAAa,CAAA;IACb,mCAAmC;IACnC,0BAAiB,CAAA;AACnB,CAAC,EAnBW,KAAK,qBAAL,KAAK,QAmBhB;AAgXD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|