@wix/auto_sdk_events_tickets 1.0.14 → 1.0.16

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 (119) hide show
  1. package/build/cjs/{src/events-v1-ticket-tickets.universal.d.ts → events-v1-ticket-tickets.universal-p2W3dHH_.d.ts} +62 -207
  2. package/build/cjs/index.d.ts +75 -1
  3. package/build/cjs/index.js +1269 -15
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/meta.d.ts +471 -1
  6. package/build/cjs/meta.js +924 -15
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/es/{src/events-v1-ticket-tickets.universal.d.ts → events-v1-ticket-tickets.universal-p2W3dHH_.d.mts} +62 -207
  9. package/build/es/index.d.mts +75 -0
  10. package/build/es/index.mjs +1236 -0
  11. package/build/es/index.mjs.map +1 -0
  12. package/build/es/{src/events-v1-ticket-tickets.types.d.ts → meta.d.mts} +59 -380
  13. package/build/es/meta.mjs +895 -0
  14. package/build/es/meta.mjs.map +1 -0
  15. package/build/internal/cjs/{src/events-v1-ticket-tickets.universal.d.ts → events-v1-ticket-tickets.universal-pbX6XcSr.d.ts} +62 -207
  16. package/build/internal/cjs/index.d.ts +75 -1
  17. package/build/internal/cjs/index.js +1269 -15
  18. package/build/internal/cjs/index.js.map +1 -1
  19. package/build/internal/cjs/meta.d.ts +471 -1
  20. package/build/internal/cjs/meta.js +924 -15
  21. package/build/internal/cjs/meta.js.map +1 -1
  22. package/build/internal/es/{src/events-v1-ticket-tickets.universal.d.ts → events-v1-ticket-tickets.universal-pbX6XcSr.d.mts} +62 -207
  23. package/build/internal/es/index.d.mts +75 -0
  24. package/build/internal/es/index.mjs +1236 -0
  25. package/build/internal/es/index.mjs.map +1 -0
  26. package/build/{cjs/src/events-v1-ticket-tickets.types.d.ts → internal/es/meta.d.mts} +59 -380
  27. package/build/internal/es/meta.mjs +895 -0
  28. package/build/internal/es/meta.mjs.map +1 -0
  29. package/package.json +9 -8
  30. package/build/cjs/index.typings.d.ts +0 -1
  31. package/build/cjs/index.typings.js +0 -18
  32. package/build/cjs/index.typings.js.map +0 -1
  33. package/build/cjs/src/events-v1-ticket-tickets.context.d.ts +0 -14
  34. package/build/cjs/src/events-v1-ticket-tickets.context.js +0 -23
  35. package/build/cjs/src/events-v1-ticket-tickets.context.js.map +0 -1
  36. package/build/cjs/src/events-v1-ticket-tickets.http.d.ts +0 -19
  37. package/build/cjs/src/events-v1-ticket-tickets.http.js +0 -797
  38. package/build/cjs/src/events-v1-ticket-tickets.http.js.map +0 -1
  39. package/build/cjs/src/events-v1-ticket-tickets.meta.d.ts +0 -28
  40. package/build/cjs/src/events-v1-ticket-tickets.meta.js +0 -142
  41. package/build/cjs/src/events-v1-ticket-tickets.meta.js.map +0 -1
  42. package/build/cjs/src/events-v1-ticket-tickets.public.d.ts +0 -66
  43. package/build/cjs/src/events-v1-ticket-tickets.public.js +0 -82
  44. package/build/cjs/src/events-v1-ticket-tickets.public.js.map +0 -1
  45. package/build/cjs/src/events-v1-ticket-tickets.types.js +0 -90
  46. package/build/cjs/src/events-v1-ticket-tickets.types.js.map +0 -1
  47. package/build/cjs/src/events-v1-ticket-tickets.universal.js +0 -482
  48. package/build/cjs/src/events-v1-ticket-tickets.universal.js.map +0 -1
  49. package/build/es/index.d.ts +0 -1
  50. package/build/es/index.js +0 -2
  51. package/build/es/index.js.map +0 -1
  52. package/build/es/index.typings.d.ts +0 -1
  53. package/build/es/index.typings.js +0 -2
  54. package/build/es/index.typings.js.map +0 -1
  55. package/build/es/meta.d.ts +0 -1
  56. package/build/es/meta.js +0 -2
  57. package/build/es/meta.js.map +0 -1
  58. package/build/es/src/events-v1-ticket-tickets.context.d.ts +0 -14
  59. package/build/es/src/events-v1-ticket-tickets.context.js +0 -14
  60. package/build/es/src/events-v1-ticket-tickets.context.js.map +0 -1
  61. package/build/es/src/events-v1-ticket-tickets.http.d.ts +0 -19
  62. package/build/es/src/events-v1-ticket-tickets.http.js +0 -788
  63. package/build/es/src/events-v1-ticket-tickets.http.js.map +0 -1
  64. package/build/es/src/events-v1-ticket-tickets.meta.d.ts +0 -28
  65. package/build/es/src/events-v1-ticket-tickets.meta.js +0 -110
  66. package/build/es/src/events-v1-ticket-tickets.meta.js.map +0 -1
  67. package/build/es/src/events-v1-ticket-tickets.public.d.ts +0 -66
  68. package/build/es/src/events-v1-ticket-tickets.public.js +0 -67
  69. package/build/es/src/events-v1-ticket-tickets.public.js.map +0 -1
  70. package/build/es/src/events-v1-ticket-tickets.types.js +0 -87
  71. package/build/es/src/events-v1-ticket-tickets.types.js.map +0 -1
  72. package/build/es/src/events-v1-ticket-tickets.universal.js +0 -450
  73. package/build/es/src/events-v1-ticket-tickets.universal.js.map +0 -1
  74. package/build/internal/cjs/index.typings.d.ts +0 -1
  75. package/build/internal/cjs/index.typings.js +0 -18
  76. package/build/internal/cjs/index.typings.js.map +0 -1
  77. package/build/internal/cjs/src/events-v1-ticket-tickets.context.d.ts +0 -14
  78. package/build/internal/cjs/src/events-v1-ticket-tickets.context.js +0 -23
  79. package/build/internal/cjs/src/events-v1-ticket-tickets.context.js.map +0 -1
  80. package/build/internal/cjs/src/events-v1-ticket-tickets.http.d.ts +0 -19
  81. package/build/internal/cjs/src/events-v1-ticket-tickets.http.js +0 -797
  82. package/build/internal/cjs/src/events-v1-ticket-tickets.http.js.map +0 -1
  83. package/build/internal/cjs/src/events-v1-ticket-tickets.meta.d.ts +0 -28
  84. package/build/internal/cjs/src/events-v1-ticket-tickets.meta.js +0 -142
  85. package/build/internal/cjs/src/events-v1-ticket-tickets.meta.js.map +0 -1
  86. package/build/internal/cjs/src/events-v1-ticket-tickets.public.d.ts +0 -66
  87. package/build/internal/cjs/src/events-v1-ticket-tickets.public.js +0 -82
  88. package/build/internal/cjs/src/events-v1-ticket-tickets.public.js.map +0 -1
  89. package/build/internal/cjs/src/events-v1-ticket-tickets.types.d.ts +0 -792
  90. package/build/internal/cjs/src/events-v1-ticket-tickets.types.js +0 -90
  91. package/build/internal/cjs/src/events-v1-ticket-tickets.types.js.map +0 -1
  92. package/build/internal/cjs/src/events-v1-ticket-tickets.universal.js +0 -482
  93. package/build/internal/cjs/src/events-v1-ticket-tickets.universal.js.map +0 -1
  94. package/build/internal/es/index.d.ts +0 -1
  95. package/build/internal/es/index.js +0 -2
  96. package/build/internal/es/index.js.map +0 -1
  97. package/build/internal/es/index.typings.d.ts +0 -1
  98. package/build/internal/es/index.typings.js +0 -2
  99. package/build/internal/es/index.typings.js.map +0 -1
  100. package/build/internal/es/meta.d.ts +0 -1
  101. package/build/internal/es/meta.js +0 -2
  102. package/build/internal/es/meta.js.map +0 -1
  103. package/build/internal/es/src/events-v1-ticket-tickets.context.d.ts +0 -14
  104. package/build/internal/es/src/events-v1-ticket-tickets.context.js +0 -14
  105. package/build/internal/es/src/events-v1-ticket-tickets.context.js.map +0 -1
  106. package/build/internal/es/src/events-v1-ticket-tickets.http.d.ts +0 -19
  107. package/build/internal/es/src/events-v1-ticket-tickets.http.js +0 -788
  108. package/build/internal/es/src/events-v1-ticket-tickets.http.js.map +0 -1
  109. package/build/internal/es/src/events-v1-ticket-tickets.meta.d.ts +0 -28
  110. package/build/internal/es/src/events-v1-ticket-tickets.meta.js +0 -110
  111. package/build/internal/es/src/events-v1-ticket-tickets.meta.js.map +0 -1
  112. package/build/internal/es/src/events-v1-ticket-tickets.public.d.ts +0 -66
  113. package/build/internal/es/src/events-v1-ticket-tickets.public.js +0 -67
  114. package/build/internal/es/src/events-v1-ticket-tickets.public.js.map +0 -1
  115. package/build/internal/es/src/events-v1-ticket-tickets.types.d.ts +0 -792
  116. package/build/internal/es/src/events-v1-ticket-tickets.types.js +0 -87
  117. package/build/internal/es/src/events-v1-ticket-tickets.types.js.map +0 -1
  118. package/build/internal/es/src/events-v1-ticket-tickets.universal.js +0 -450
  119. package/build/internal/es/src/events-v1-ticket-tickets.universal.js.map +0 -1
@@ -1,792 +0,0 @@
1
- export interface TicketingTicket {
2
- /** Unique ticket number (issued automatically). */
3
- ticketNumber?: string;
4
- /** Associated order number. */
5
- orderNumber?: string;
6
- /**
7
- * Ticket definition ID. See the Ticket Definition API for additional information.
8
- * @format GUID
9
- */
10
- ticketDefinitionId?: string;
11
- /** Ticket name. */
12
- name?: string;
13
- /** Ticket price. */
14
- price?: Money;
15
- /**
16
- * Whether the ticket requires payment.
17
- * @readonly
18
- */
19
- free?: boolean;
20
- /** Event and ticket policies. */
21
- policy?: string;
22
- /**
23
- * *Deprecated:** Use `tickets.checkInUrl` instead.
24
- * @deprecated
25
- */
26
- qrCode?: string;
27
- /** Ticket check-in. */
28
- checkIn?: CheckIn;
29
- /** Associated order status. */
30
- orderStatus?: OrderStatusWithLiterals;
31
- /**
32
- * Whether the order and ticket are archived.
33
- * If set to `true`, they are not visible in the order list.
34
- */
35
- orderArchived?: boolean;
36
- /** Buyer full name. */
37
- orderFullName?: string;
38
- /** Guest full name. */
39
- guestFullName?: string | null;
40
- /** Guest personal details. */
41
- guestDetails?: GuestDetails;
42
- /** Whether ticket is visible in guest list. */
43
- archived?: boolean;
44
- /**
45
- * *Deprecated:** Use `tickets.ticketPdfUrl` instead.
46
- * @deprecated
47
- */
48
- ticketPdf?: string;
49
- /**
50
- * Ticket owner member ID.
51
- * @format GUID
52
- */
53
- memberId?: string | null;
54
- /**
55
- * Whether ticket was anonymized by GDPR delete.
56
- * Anonymized tickets no longer contain personally identifiable information (PII).
57
- */
58
- anonymized?: boolean;
59
- /**
60
- * Ticket check-in URL.
61
- *
62
- * Shown as QR code image in PDF. <br/>
63
- * Format: `"https://www.wixevents.com/check-in/{ticket number},{event id}"` <br/>
64
- * Example: `"https://www.wixevents.com/check-in/AAAA-AAAA-BB021,00000000-0000-0000-0000-000000000000"`
65
- */
66
- checkInUrl?: string;
67
- /** URL for ticket PDF download. */
68
- ticketPdfUrl?: string;
69
- /** Associated order checkout channel type. */
70
- channel?: ChannelTypeWithLiterals;
71
- /**
72
- * URL to download ticket in `.pkpass` format for Apple Wallet.
73
- * @format WEB_URL
74
- * @readonly
75
- */
76
- walletPassUrl?: string;
77
- /**
78
- * Whether ticket is canceled.
79
- * @readonly
80
- */
81
- canceled?: boolean | null;
82
- }
83
- export interface Money {
84
- /**
85
- * *Deprecated:** Use `value` instead.
86
- * @format DECIMAL_VALUE
87
- * @deprecated
88
- */
89
- amount?: string;
90
- /**
91
- * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
92
- * @format CURRENCY
93
- */
94
- currency?: string;
95
- /**
96
- * 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.
97
- * @format DECIMAL_VALUE
98
- */
99
- value?: string | null;
100
- }
101
- export interface CheckIn {
102
- /** Time of check-in. */
103
- created?: Date | null;
104
- }
105
- export declare enum OrderStatus {
106
- /** Order status is not available for this request fieldset. */
107
- NA_ORDER_STATUS = "NA_ORDER_STATUS",
108
- /** Order is confirmed, no payment is required. */
109
- FREE = "FREE",
110
- /** Order was paid, but the payment gateway suspended the payment. */
111
- PENDING = "PENDING",
112
- /** Order is paid. */
113
- PAID = "PAID",
114
- /** Order is confirmed but has be paid via offline payment. Status needs to be manually updated to `"PAID"`. */
115
- OFFLINE_PENDING = "OFFLINE_PENDING",
116
- /** Order is awaiting for payment at the cashier. */
117
- INITIATED = "INITIATED",
118
- /** Order is canceled. */
119
- CANCELED = "CANCELED",
120
- /** Order payment is declined. */
121
- DECLINED = "DECLINED",
122
- /** Order payment is authorized. */
123
- AUTHORIZED = "AUTHORIZED",
124
- /** Order payment is voided. */
125
- VOIDED = "VOIDED",
126
- /** Order is partially paid with less than the total amount. */
127
- PARTIALLY_PAID = "PARTIALLY_PAID"
128
- }
129
- /** @enumType */
130
- export type OrderStatusWithLiterals = OrderStatus | 'NA_ORDER_STATUS' | 'FREE' | 'PENDING' | 'PAID' | 'OFFLINE_PENDING' | 'INITIATED' | 'CANCELED' | 'DECLINED' | 'AUTHORIZED' | 'VOIDED' | 'PARTIALLY_PAID';
131
- export interface GuestDetails {
132
- /** Whether ticket belongs to assigned guest. */
133
- guestAssigned?: boolean;
134
- /** Guest first name. */
135
- firstName?: string | null;
136
- /** Guest last name. */
137
- lastName?: string | null;
138
- /**
139
- * Guest email.
140
- * @format EMAIL
141
- */
142
- email?: string | null;
143
- /** Full form response. */
144
- form?: FormResponse;
145
- /**
146
- * Contact ID associated with this guest.
147
- * @format GUID
148
- */
149
- contactId?: string | null;
150
- /**
151
- * Guest phone number.
152
- * @format PHONE
153
- */
154
- phone?: string | null;
155
- }
156
- export interface FormResponse {
157
- /**
158
- * Input values entered when filling the form.
159
- * @maxSize 200
160
- */
161
- inputValues?: InputValue[];
162
- }
163
- export interface InputValue {
164
- /**
165
- * Input field name.
166
- * @maxLength 100
167
- */
168
- inputName?: string;
169
- /**
170
- * Text entered into the input field.
171
- * @maxLength 5000
172
- */
173
- value?: string;
174
- /**
175
- * Multiple input values. For example, the array is filled if several checkboxes are ticked.
176
- * @maxSize 100
177
- * @maxLength 5000
178
- */
179
- values?: string[];
180
- }
181
- export interface FormattedAddress {
182
- /**
183
- * One line address representation.
184
- * @maxLength 200
185
- */
186
- formatted?: string;
187
- /** Address components (optional). */
188
- address?: Address;
189
- }
190
- /** Physical address */
191
- export interface Address extends AddressStreetOneOf {
192
- /** Street name and number. */
193
- streetAddress?: StreetAddress;
194
- /** Main address line, usually street and number as free text. */
195
- addressLine?: string | null;
196
- /**
197
- * Country code.
198
- * @format COUNTRY
199
- */
200
- country?: string | null;
201
- /** Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY */
202
- subdivision?: string | null;
203
- /** City name. */
204
- city?: string | null;
205
- /** Zip/postal code. */
206
- postalCode?: string | null;
207
- /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
208
- addressLine2?: string | null;
209
- }
210
- /** @oneof */
211
- export interface AddressStreetOneOf {
212
- /** Street name and number. */
213
- streetAddress?: StreetAddress;
214
- /** Main address line, usually street and number as free text. */
215
- addressLine?: string | null;
216
- }
217
- export interface StreetAddress {
218
- /** Street number. */
219
- number?: string;
220
- /** Street name. */
221
- name?: string;
222
- }
223
- export interface AddressLocation {
224
- /** Address latitude. */
225
- latitude?: number | null;
226
- /** Address longitude. */
227
- longitude?: number | null;
228
- }
229
- export interface Subdivision {
230
- /** Short subdivision code. */
231
- code?: string;
232
- /** Subdivision full name. */
233
- name?: string;
234
- }
235
- export declare enum SubdivisionType {
236
- UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
237
- /** State */
238
- ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
239
- /** County */
240
- ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
241
- /** City/town */
242
- ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
243
- /** Neighborhood/quarter */
244
- ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
245
- /** Street/block */
246
- ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
247
- /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
248
- COUNTRY = "COUNTRY"
249
- }
250
- /** @enumType */
251
- 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';
252
- /** Subdivision Concordance values */
253
- export interface StandardDetails {
254
- /**
255
- * 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
256
- * @maxLength 20
257
- */
258
- iso31662?: string | null;
259
- }
260
- export declare enum ChannelType {
261
- /** Buyer created the order via an online channel, such as a website or a mobile app. */
262
- ONLINE = "ONLINE",
263
- /** Sales person created the order and collected the money. */
264
- OFFLINE_POS = "OFFLINE_POS"
265
- }
266
- /** @enumType */
267
- export type ChannelTypeWithLiterals = ChannelType | 'ONLINE' | 'OFFLINE_POS';
268
- export interface TicketDetails {
269
- /**
270
- * Unique seat ID in the event venue.
271
- * @minLength 1
272
- * @maxLength 36
273
- */
274
- seatId?: string | null;
275
- /**
276
- * Section label.
277
- * @readonly
278
- */
279
- sectionLabel?: string | null;
280
- /**
281
- * Area label.
282
- * @readonly
283
- */
284
- areaLabel?: string | null;
285
- /**
286
- * Table label.
287
- * @readonly
288
- */
289
- tableLabel?: string | null;
290
- /**
291
- * Row label.
292
- * @readonly
293
- */
294
- rowLabel?: string | null;
295
- /**
296
- * Seat label in a row or table.
297
- * @readonly
298
- */
299
- seatLabel?: string | null;
300
- /**
301
- * Number of places in the spot.
302
- *
303
- * Default: `1`.
304
- * @min 1
305
- * @max 50
306
- */
307
- capacity?: number | null;
308
- /**
309
- * Custom price of a ticket.
310
- * @format DECIMAL_VALUE
311
- */
312
- priceOverride?: string | null;
313
- /**
314
- * Pricing option ID.
315
- * @format GUID
316
- */
317
- pricingOptionId?: string | null;
318
- /**
319
- * Pricing option name.
320
- * @readonly
321
- */
322
- pricingOptionName?: string | null;
323
- }
324
- export interface ListTicketsRequest {
325
- /**
326
- * Event IDs.
327
- * @format GUID
328
- */
329
- eventId: string[];
330
- /** Offset. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination). */
331
- offset?: number;
332
- /**
333
- * Number of items to load per page. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
334
- * @max 100
335
- */
336
- limit?: number;
337
- /**
338
- * Order numbers.
339
- * @minLength 1
340
- * @maxLength 36
341
- * @maxSize 20
342
- */
343
- orderNumber?: string[];
344
- /**
345
- * Ticket numbers.
346
- * @minLength 1
347
- * @maxLength 36
348
- * @maxSize 50
349
- */
350
- ticketNumber?: string[];
351
- /**
352
- * Textual search filter - search is performed on "orderFullName", "guestFullName", and "ticketNumber".
353
- * @maxLength 200
354
- */
355
- searchPhrase?: string;
356
- /**
357
- * Order statuses.
358
- * @maxSize 20
359
- */
360
- orderStatus?: OrderStatusWithLiterals[];
361
- /**
362
- * 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).
363
- * @maxSize 20
364
- */
365
- fieldset?: TicketFieldsetWithLiterals[];
366
- /**
367
- * Ticket states.
368
- * @maxSize 20
369
- */
370
- state?: StateWithLiterals[];
371
- /**
372
- * Site member IDs.
373
- * @format GUID
374
- * @maxSize 500
375
- */
376
- memberId?: string[];
377
- /**
378
- * Filter facets.
379
- * 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).
380
- * @maxLength 100
381
- * @maxSize 20
382
- */
383
- facet?: string[];
384
- /**
385
- * Sort order. Defaults to "ticket_number:asc".
386
- * 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).
387
- * @maxLength 100
388
- */
389
- sort?: string;
390
- /**
391
- * Guest contact IDs.
392
- * @format GUID
393
- * @maxSize 100
394
- */
395
- contactId?: string[];
396
- /**
397
- * Ticket definition IDs.
398
- * @format GUID
399
- * @maxSize 10
400
- */
401
- ticketDefinitionId?: string[];
402
- /**
403
- * Seat IDs.
404
- * @maxLength 36
405
- * @maxSize 50
406
- */
407
- seatId?: string[];
408
- }
409
- export declare enum TicketFieldset {
410
- /** Include guest details in the ticket response. */
411
- GUEST_DETAILS = "GUEST_DETAILS",
412
- /** Include ticket details in the ticket response. */
413
- TICKET_DETAILS = "TICKET_DETAILS",
414
- /** Include individual guest form in the ticket response. */
415
- GUEST_FORM = "GUEST_FORM"
416
- }
417
- /** @enumType */
418
- export type TicketFieldsetWithLiterals = TicketFieldset | 'GUEST_DETAILS' | 'TICKET_DETAILS' | 'GUEST_FORM';
419
- export declare enum State {
420
- /** Returns only archived orders' tickets. */
421
- ORDER_ARCHIVED = "ORDER_ARCHIVED",
422
- /** Returns only non-archived orders' tickets. */
423
- ORDER_ACTIVE = "ORDER_ACTIVE",
424
- /** Returns only archived tickets. */
425
- TICKET_ARCHIVED = "TICKET_ARCHIVED",
426
- /** Returns only non-archived tickets. */
427
- TICKET_ACTIVE = "TICKET_ACTIVE",
428
- /** Returns only checked-in tickets. */
429
- CHECKED_IN = "CHECKED_IN",
430
- /** Returns only non-checked-in tickets. */
431
- NON_CHECKED_IN = "NON_CHECKED_IN",
432
- /** Returns only free tickets. */
433
- FREE = "FREE",
434
- /** Returns only paid tickets. */
435
- PAID = "PAID",
436
- /** Returns only member tickets. */
437
- MEMBER = "MEMBER"
438
- }
439
- /** @enumType */
440
- export type StateWithLiterals = State | 'ORDER_ARCHIVED' | 'ORDER_ACTIVE' | 'TICKET_ARCHIVED' | 'TICKET_ACTIVE' | 'CHECKED_IN' | 'NON_CHECKED_IN' | 'FREE' | 'PAID' | 'MEMBER';
441
- export interface ListTicketsResponse {
442
- /** Total tickets matching the given filters. */
443
- total?: number;
444
- /** Offset. */
445
- offset?: number;
446
- /**
447
- * Limit.
448
- * @max 100
449
- */
450
- limit?: number;
451
- /** Tickets. */
452
- tickets?: TicketingTicket[];
453
- /** Facets. */
454
- facets?: Record<string, FacetCounts>;
455
- }
456
- export interface FacetCounts {
457
- /** Facet counts aggregated per value. */
458
- counts?: Record<string, number>;
459
- }
460
- export interface TicketFacets {
461
- /** Filter facets. */
462
- facets?: Record<string, TicketFacetCounts>;
463
- }
464
- export interface TicketFacetCounts {
465
- /** Facet totals, aggregated per filter. */
466
- counts?: Record<string, Counts>;
467
- }
468
- export interface Counts {
469
- /** Number of tickets. */
470
- count?: number;
471
- /** Number of checked in tickets. */
472
- checkedIn?: number;
473
- }
474
- export interface GetTicketRequest {
475
- /**
476
- * Event ID.
477
- * @format GUID
478
- */
479
- eventId: string;
480
- /**
481
- * Unique ticket number.
482
- * @maxLength 36
483
- */
484
- ticketNumber: string;
485
- /**
486
- * 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).
487
- * @maxSize 20
488
- */
489
- fieldset?: TicketFieldsetWithLiterals[];
490
- }
491
- export interface GetTicketResponse {
492
- /** Ticket. */
493
- ticket?: TicketingTicket;
494
- }
495
- export interface CheckInTicketRequest {
496
- /**
497
- * Event ID.
498
- * @format GUID
499
- */
500
- eventId: string;
501
- /**
502
- * Tickets to check-in.
503
- * @minLength 1
504
- * @maxLength 36
505
- * @minSize 1
506
- * @maxSize 100
507
- */
508
- ticketNumber?: string[];
509
- }
510
- export interface CheckInTicketResponse {
511
- /** Updated tickets. */
512
- tickets?: TicketingTicket[];
513
- }
514
- /** Triggered when an order is updated. */
515
- export interface OrderUpdated {
516
- /** Date and time the order was updated. */
517
- timestamp?: Date | null;
518
- /**
519
- * Site language when the order was initiated.
520
- * @format LANGUAGE
521
- */
522
- language?: string | null;
523
- /**
524
- * Locale in which the order was created.
525
- * @format LANGUAGE_TAG
526
- */
527
- locale?: string | null;
528
- /**
529
- * Event ID to which the order belongs.
530
- * @format GUID
531
- */
532
- eventId?: string;
533
- /** Unique order number. */
534
- orderNumber?: string;
535
- /** Contact ID associated with the order. */
536
- contactId?: string;
537
- /**
538
- * Member ID associated with the order.
539
- * @format GUID
540
- */
541
- memberId?: string | null;
542
- /**
543
- * Date and time the order was created.
544
- * @readonly
545
- */
546
- created?: Date | null;
547
- /**
548
- * Date and time the order was updated.
549
- * @readonly
550
- */
551
- updated?: Date | null;
552
- /** Buyer first name. */
553
- firstName?: string;
554
- /** Buyer last name. */
555
- lastName?: string;
556
- /** Buyer email. */
557
- email?: string;
558
- /** Checkout form response. */
559
- checkoutForm?: FormResponse;
560
- /** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */
561
- confirmed?: boolean;
562
- /** Order status. */
563
- status?: OrderStatusWithLiterals;
564
- /** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
565
- method?: string | null;
566
- /** Tickets generated after payment. */
567
- tickets?: Ticket[];
568
- /** Whether order was archived and excluded from results. */
569
- archived?: boolean;
570
- /** Whether event was triggered by GDPR delete request. */
571
- triggeredByAnonymizeRequest?: boolean;
572
- }
573
- export interface Ticket {
574
- /** Unique issued ticket number. */
575
- ticketNumber?: string;
576
- /**
577
- * Ticket definition ID.
578
- * @format GUID
579
- */
580
- ticketDefinitionId?: string;
581
- /** Ticket check-in. */
582
- checkIn?: CheckIn;
583
- /** Ticket price. */
584
- price?: Money;
585
- /** Whether ticket is archived. */
586
- archived?: boolean;
587
- /** Guest first name. */
588
- firstName?: string | null;
589
- /** Guest last name. */
590
- lastName?: string | null;
591
- /** Guest email. */
592
- email?: string | null;
593
- /**
594
- * Contact ID associated with this ticket.
595
- * @format GUID
596
- */
597
- contactId?: string | null;
598
- /** Whether ticket is confirmed */
599
- confirmed?: boolean;
600
- /**
601
- * Member ID associated with this ticket.
602
- * @format GUID
603
- */
604
- memberId?: string | null;
605
- /** Ticket form response (only assigned tickets contain separate forms). */
606
- form?: FormResponse;
607
- /** Ticket name. */
608
- ticketName?: string;
609
- /** Anonymized tickets no longer contain personally identifiable information (PII). */
610
- anonymized?: boolean;
611
- /** URL and password to online conference */
612
- onlineConferencingLogin?: OnlineConferencingLogin;
613
- /**
614
- * Seat ID associated with this ticket.
615
- * @maxLength 36
616
- */
617
- seatId?: string | null;
618
- /** Whether ticket is canceled. */
619
- canceled?: boolean | null;
620
- }
621
- export interface OnlineConferencingLogin {
622
- /**
623
- * Link URL to the online conference.
624
- * @format WEB_URL
625
- * @readonly
626
- */
627
- link?: string;
628
- /**
629
- * Password for the online conference.
630
- * @readonly
631
- */
632
- password?: string | null;
633
- }
634
- export interface DeleteTicketCheckInRequest {
635
- /**
636
- * Event ID.
637
- * @format GUID
638
- */
639
- eventId: string;
640
- /**
641
- * Tickets to delete check-ins for.
642
- * @minLength 1
643
- * @maxLength 36
644
- * @minSize 1
645
- * @maxSize 100
646
- */
647
- ticketNumber?: string[];
648
- }
649
- export interface DeleteTicketCheckInResponse {
650
- /** Updated tickets. */
651
- tickets?: TicketingTicket[];
652
- }
653
- export interface UpdateTicketRequest {
654
- /**
655
- * Event ID.
656
- * @format GUID
657
- */
658
- eventId: string;
659
- /**
660
- * Unique ticket number.
661
- * @minLength 1
662
- * @maxLength 36
663
- */
664
- ticketNumber: string;
665
- /**
666
- * Set of field paths, specifying which parts of this resource to update.
667
- * When `fields` is empty, the request is interpreted as a full update.
668
- * Behavior follows [google.protobuf.FieldMask](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask) semantics.
669
- */
670
- fields?: string[];
671
- /** Whether ticket is archived. */
672
- archived?: boolean;
673
- /** Assigned guest details. */
674
- guestDetails?: GuestDetailsUpdate;
675
- }
676
- export interface GuestDetailsUpdate {
677
- /**
678
- * Assigned guest form.
679
- * To update non-assigned guest form, use [Update Order](https://dev.wix.com/api/rest/wix-events/wix-events/order/update-order).
680
- *
681
- * Does not support partial updates - entire form object will be replaced when `guestDetails.form` is masked.
682
- */
683
- form?: FormResponse;
684
- }
685
- export interface UpdateTicketResponse {
686
- /** Updated ticket. */
687
- ticket?: TicketingTicket;
688
- }
689
- export interface BulkUpdateTicketsRequest {
690
- /**
691
- * Event ID.
692
- * @format GUID
693
- */
694
- eventId: string;
695
- /**
696
- * Unique ticket numbers.
697
- * @minLength 1
698
- * @maxLength 36
699
- * @minSize 1
700
- * @maxSize 100
701
- */
702
- ticketNumber?: string[];
703
- /** Whether tickets are archived. */
704
- archived?: boolean;
705
- }
706
- export interface BulkUpdateTicketsResponse {
707
- /** Updated tickets. */
708
- tickets?: TicketingTicket[];
709
- }
710
- export interface GetDemoTicketRequest {
711
- /**
712
- * Ticket definition ID.
713
- * @format GUID
714
- */
715
- definitionId?: string;
716
- }
717
- export interface GetDemoTicketResponse {
718
- /** Ticket. */
719
- ticket?: TicketingTicket;
720
- }
721
- export interface MessageEnvelope {
722
- /**
723
- * App instance ID.
724
- * @format GUID
725
- */
726
- instanceId?: string | null;
727
- /**
728
- * Event type.
729
- * @maxLength 150
730
- */
731
- eventType?: string;
732
- /** The identification type and identity data. */
733
- identity?: IdentificationData;
734
- /** Stringify payload. */
735
- data?: string;
736
- }
737
- export interface IdentificationData extends IdentificationDataIdOneOf {
738
- /**
739
- * ID of a site visitor that has not logged in to the site.
740
- * @format GUID
741
- */
742
- anonymousVisitorId?: string;
743
- /**
744
- * ID of a site visitor that has logged in to the site.
745
- * @format GUID
746
- */
747
- memberId?: string;
748
- /**
749
- * ID of a Wix user (site owner, contributor, etc.).
750
- * @format GUID
751
- */
752
- wixUserId?: string;
753
- /**
754
- * ID of an app.
755
- * @format GUID
756
- */
757
- appId?: string;
758
- /** @readonly */
759
- identityType?: WebhookIdentityTypeWithLiterals;
760
- }
761
- /** @oneof */
762
- export interface IdentificationDataIdOneOf {
763
- /**
764
- * ID of a site visitor that has not logged in to the site.
765
- * @format GUID
766
- */
767
- anonymousVisitorId?: string;
768
- /**
769
- * ID of a site visitor that has logged in to the site.
770
- * @format GUID
771
- */
772
- memberId?: string;
773
- /**
774
- * ID of a Wix user (site owner, contributor, etc.).
775
- * @format GUID
776
- */
777
- wixUserId?: string;
778
- /**
779
- * ID of an app.
780
- * @format GUID
781
- */
782
- appId?: string;
783
- }
784
- export declare enum WebhookIdentityType {
785
- UNKNOWN = "UNKNOWN",
786
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
787
- MEMBER = "MEMBER",
788
- WIX_USER = "WIX_USER",
789
- APP = "APP"
790
- }
791
- /** @enumType */
792
- export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';