@wix/auto_sdk_events_tickets 1.0.13 → 1.0.15

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