@wix/auto_sdk_events_orders 1.0.67 → 1.0.69
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/index.js +5 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +5 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +5 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +5 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +5 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +5 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +5 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +416 -1
- package/build/internal/cjs/index.typings.js +5 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +422 -1
- package/build/internal/cjs/meta.js +5 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +5 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +416 -1
- package/build/internal/es/index.typings.mjs +5 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +422 -1
- package/build/internal/es/meta.mjs +5 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -78,17 +78,60 @@ interface Order {
|
|
|
78
78
|
invoice?: Invoice;
|
|
79
79
|
/** Whether all tickets in an order are checked in. */
|
|
80
80
|
fullyCheckedIn?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Deprecated. Use `payment_details.transaction.transaction_id`.
|
|
83
|
+
* @internal
|
|
84
|
+
* @format GUID
|
|
85
|
+
* @readonly
|
|
86
|
+
* @deprecated
|
|
87
|
+
*/
|
|
88
|
+
transactionId?: string;
|
|
81
89
|
/** Internal order payment details. */
|
|
82
90
|
paymentDetails?: PaymentDetails;
|
|
83
91
|
/** Checkout channel type. */
|
|
84
92
|
channel?: ChannelTypeWithLiterals;
|
|
93
|
+
/**
|
|
94
|
+
* Language in which the order was created.
|
|
95
|
+
* @internal
|
|
96
|
+
* @format LANGUAGE
|
|
97
|
+
*/
|
|
98
|
+
language?: string | null;
|
|
99
|
+
/**
|
|
100
|
+
* Locale in which the order was created.
|
|
101
|
+
* @internal
|
|
102
|
+
* @format LANGUAGE_TAG
|
|
103
|
+
*/
|
|
104
|
+
locale?: string | null;
|
|
85
105
|
/**
|
|
86
106
|
* Date and time the order was last updated.
|
|
87
107
|
* @readonly
|
|
88
108
|
*/
|
|
89
109
|
updated?: Date | null;
|
|
110
|
+
/**
|
|
111
|
+
* Possible order actions.
|
|
112
|
+
* @internal
|
|
113
|
+
* @maxSize 10
|
|
114
|
+
* @readonly
|
|
115
|
+
*/
|
|
116
|
+
availableActions?: ActionWithLiterals[];
|
|
117
|
+
/**
|
|
118
|
+
* Gift card payments.
|
|
119
|
+
* @internal
|
|
120
|
+
* @maxSize 10
|
|
121
|
+
*/
|
|
122
|
+
giftCardPaymentDetails?: GiftCardPaymentDetails[];
|
|
123
|
+
/**
|
|
124
|
+
* Balance summary.
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
balanceSummary?: BalanceSummary;
|
|
90
128
|
/** Whether marketing consent was given. */
|
|
91
129
|
marketingConsent?: boolean | null;
|
|
130
|
+
/**
|
|
131
|
+
* Checkout form submission.
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
checkoutFormSubmission?: FormSubmission;
|
|
92
135
|
}
|
|
93
136
|
interface FormResponse {
|
|
94
137
|
/**
|
|
@@ -114,6 +157,21 @@ interface InputValue {
|
|
|
114
157
|
* @maxLength 5000
|
|
115
158
|
*/
|
|
116
159
|
values?: string[];
|
|
160
|
+
/**
|
|
161
|
+
* Integer or floating point number value.
|
|
162
|
+
* @internal
|
|
163
|
+
*/
|
|
164
|
+
number?: number | null;
|
|
165
|
+
/**
|
|
166
|
+
* UTC datetime in `YYYY-MM-DDThh:mm[:ss][.sss]Z` format.
|
|
167
|
+
* @internal
|
|
168
|
+
*/
|
|
169
|
+
dateTime?: Date | null;
|
|
170
|
+
/**
|
|
171
|
+
* Address type value.
|
|
172
|
+
* @internal
|
|
173
|
+
*/
|
|
174
|
+
address?: FormattedAddress;
|
|
117
175
|
}
|
|
118
176
|
interface FormattedAddress {
|
|
119
177
|
/**
|
|
@@ -143,6 +201,37 @@ interface Address extends AddressStreetOneOf {
|
|
|
143
201
|
postalCode?: string | null;
|
|
144
202
|
/** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
|
|
145
203
|
addressLine2?: string | null;
|
|
204
|
+
/**
|
|
205
|
+
* A string containing the full address of this location.
|
|
206
|
+
* @internal
|
|
207
|
+
*/
|
|
208
|
+
formatted?: string | null;
|
|
209
|
+
/**
|
|
210
|
+
* Free text to help find the address.
|
|
211
|
+
* @internal
|
|
212
|
+
*/
|
|
213
|
+
hint?: string | null;
|
|
214
|
+
/**
|
|
215
|
+
* Coordinates of the physical address.
|
|
216
|
+
* @internal
|
|
217
|
+
*/
|
|
218
|
+
location?: AddressLocation;
|
|
219
|
+
/**
|
|
220
|
+
* Country full name.
|
|
221
|
+
* @internal
|
|
222
|
+
*/
|
|
223
|
+
countryFullname?: string | null;
|
|
224
|
+
/**
|
|
225
|
+
* Subdivision full name.
|
|
226
|
+
* @internal
|
|
227
|
+
*/
|
|
228
|
+
subdivisionFullname?: string | null;
|
|
229
|
+
/**
|
|
230
|
+
* Multi-level subdivisions from top to bottom.
|
|
231
|
+
* @internal
|
|
232
|
+
* @maxSize 6
|
|
233
|
+
*/
|
|
234
|
+
subdivisions?: Subdivision[];
|
|
146
235
|
}
|
|
147
236
|
/** @oneof */
|
|
148
237
|
interface AddressStreetOneOf {
|
|
@@ -156,6 +245,16 @@ interface StreetAddress {
|
|
|
156
245
|
number?: string;
|
|
157
246
|
/** Street name. */
|
|
158
247
|
name?: string;
|
|
248
|
+
/**
|
|
249
|
+
* Apartment number.
|
|
250
|
+
* @internal
|
|
251
|
+
*/
|
|
252
|
+
apt?: string;
|
|
253
|
+
/**
|
|
254
|
+
* Optional address line 1
|
|
255
|
+
* @internal
|
|
256
|
+
*/
|
|
257
|
+
formattedAddressLine?: string | null;
|
|
159
258
|
}
|
|
160
259
|
interface AddressLocation {
|
|
161
260
|
/** Address latitude. */
|
|
@@ -168,6 +267,21 @@ interface Subdivision {
|
|
|
168
267
|
code?: string;
|
|
169
268
|
/** Subdivision full name. */
|
|
170
269
|
name?: string;
|
|
270
|
+
/**
|
|
271
|
+
* Subdivision level
|
|
272
|
+
* @internal
|
|
273
|
+
*/
|
|
274
|
+
type?: SubdivisionTypeWithLiterals;
|
|
275
|
+
/**
|
|
276
|
+
* Free text description of subdivision type.
|
|
277
|
+
* @internal
|
|
278
|
+
*/
|
|
279
|
+
typeInfo?: string | null;
|
|
280
|
+
/**
|
|
281
|
+
* Standard organizations details (e.g. ISO).
|
|
282
|
+
* @internal
|
|
283
|
+
*/
|
|
284
|
+
standardDetails?: StandardDetails;
|
|
171
285
|
}
|
|
172
286
|
declare enum SubdivisionType {
|
|
173
287
|
UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
|
|
@@ -259,6 +373,12 @@ interface TicketingTicket {
|
|
|
259
373
|
free?: boolean;
|
|
260
374
|
/** Event and ticket policies. */
|
|
261
375
|
policy?: string;
|
|
376
|
+
/**
|
|
377
|
+
* *Deprecated:** Use `tickets.checkInUrl` instead.
|
|
378
|
+
* @internal
|
|
379
|
+
* @deprecated
|
|
380
|
+
*/
|
|
381
|
+
qrCode?: string;
|
|
262
382
|
/** Ticket check-in. */
|
|
263
383
|
checkIn?: CheckIn;
|
|
264
384
|
/** Associated order status. */
|
|
@@ -276,6 +396,12 @@ interface TicketingTicket {
|
|
|
276
396
|
guestDetails?: GuestDetails;
|
|
277
397
|
/** Whether the ticket is visible in an order. */
|
|
278
398
|
archived?: boolean;
|
|
399
|
+
/**
|
|
400
|
+
* *Deprecated:** Use `tickets.ticketPdfUrl` instead.
|
|
401
|
+
* @internal
|
|
402
|
+
* @deprecated
|
|
403
|
+
*/
|
|
404
|
+
ticketPdf?: string;
|
|
279
405
|
/**
|
|
280
406
|
* Ticket owner member ID.
|
|
281
407
|
* @format GUID
|
|
@@ -303,6 +429,12 @@ interface TicketingTicket {
|
|
|
303
429
|
* @readonly
|
|
304
430
|
*/
|
|
305
431
|
walletPassUrl?: string;
|
|
432
|
+
/**
|
|
433
|
+
* Additional ticket details.
|
|
434
|
+
* @internal
|
|
435
|
+
* @readonly
|
|
436
|
+
*/
|
|
437
|
+
ticketDetails?: TicketDetails;
|
|
306
438
|
/**
|
|
307
439
|
* Whether ticket is canceled.
|
|
308
440
|
* @readonly
|
|
@@ -312,6 +444,35 @@ interface TicketingTicket {
|
|
|
312
444
|
interface CheckIn {
|
|
313
445
|
/** Time of a ticket's check-in. */
|
|
314
446
|
created?: Date | null;
|
|
447
|
+
/**
|
|
448
|
+
* Date and time the guest cancelled check-in.
|
|
449
|
+
* @internal
|
|
450
|
+
*/
|
|
451
|
+
checkInCanceledDate?: Date | null;
|
|
452
|
+
/**
|
|
453
|
+
* Id of the user that last performed check-in
|
|
454
|
+
* @internal
|
|
455
|
+
* @format GUID
|
|
456
|
+
*/
|
|
457
|
+
checkedInBy?: string | null;
|
|
458
|
+
/**
|
|
459
|
+
* Id of the user that last performed check-in cancel
|
|
460
|
+
* @internal
|
|
461
|
+
* @format GUID
|
|
462
|
+
*/
|
|
463
|
+
checkInCanceledBy?: string | null;
|
|
464
|
+
/**
|
|
465
|
+
* Id of the Staff Member who last performed check-in
|
|
466
|
+
* @internal
|
|
467
|
+
* @format GUID
|
|
468
|
+
*/
|
|
469
|
+
checkedInByStaffMember?: string | null;
|
|
470
|
+
/**
|
|
471
|
+
* Id of theStaff Member who last canceled check-in
|
|
472
|
+
* @internal
|
|
473
|
+
* @format GUID
|
|
474
|
+
*/
|
|
475
|
+
checkInCanceledByStaffMember?: string | null;
|
|
315
476
|
}
|
|
316
477
|
interface GuestDetails {
|
|
317
478
|
/** Whether ticket belongs to assigned guest. */
|
|
@@ -337,6 +498,11 @@ interface GuestDetails {
|
|
|
337
498
|
* @format PHONE
|
|
338
499
|
*/
|
|
339
500
|
phone?: string | null;
|
|
501
|
+
/**
|
|
502
|
+
* Form submission.
|
|
503
|
+
* @internal
|
|
504
|
+
*/
|
|
505
|
+
formSubmission?: FormSubmission;
|
|
340
506
|
}
|
|
341
507
|
interface FormSubmission {
|
|
342
508
|
/**
|
|
@@ -369,6 +535,36 @@ interface TicketDetails {
|
|
|
369
535
|
* @maxLength 36
|
|
370
536
|
*/
|
|
371
537
|
seatId?: string | null;
|
|
538
|
+
/**
|
|
539
|
+
* Name of sector.
|
|
540
|
+
* @internal
|
|
541
|
+
* @readonly
|
|
542
|
+
*/
|
|
543
|
+
sectorName?: string | null;
|
|
544
|
+
/**
|
|
545
|
+
* Name of area.
|
|
546
|
+
* @internal
|
|
547
|
+
* @readonly
|
|
548
|
+
*/
|
|
549
|
+
areaName?: string | null;
|
|
550
|
+
/**
|
|
551
|
+
* Name of table.
|
|
552
|
+
* @internal
|
|
553
|
+
* @readonly
|
|
554
|
+
*/
|
|
555
|
+
tableName?: string | null;
|
|
556
|
+
/**
|
|
557
|
+
* Row label.
|
|
558
|
+
* @internal
|
|
559
|
+
* @readonly
|
|
560
|
+
*/
|
|
561
|
+
rowNumber?: string | null;
|
|
562
|
+
/**
|
|
563
|
+
* Seat label in a row or table.
|
|
564
|
+
* @internal
|
|
565
|
+
* @readonly
|
|
566
|
+
*/
|
|
567
|
+
seatNumber?: string | null;
|
|
372
568
|
/**
|
|
373
569
|
* Section label.
|
|
374
570
|
* @readonly
|
|
@@ -625,6 +821,18 @@ interface PaymentTransaction {
|
|
|
625
821
|
* @readonly
|
|
626
822
|
*/
|
|
627
823
|
method?: string;
|
|
824
|
+
/**
|
|
825
|
+
* Scheduled action.
|
|
826
|
+
* @internal
|
|
827
|
+
* @readonly
|
|
828
|
+
*/
|
|
829
|
+
scheduledAction?: ScheduledActionEnumActionWithLiterals;
|
|
830
|
+
/**
|
|
831
|
+
* Scheduled action execution date. Non empty for delayed transactions.
|
|
832
|
+
* @internal
|
|
833
|
+
* @readonly
|
|
834
|
+
*/
|
|
835
|
+
scheduledActionExecutionDate?: Date | null;
|
|
628
836
|
}
|
|
629
837
|
declare enum ScheduledActionEnumAction {
|
|
630
838
|
/** Action not scheduled. */
|
|
@@ -772,6 +980,19 @@ interface Ticket {
|
|
|
772
980
|
seatId?: string | null;
|
|
773
981
|
/** Whether ticket is canceled. */
|
|
774
982
|
canceled?: boolean | null;
|
|
983
|
+
/**
|
|
984
|
+
* Custom price of a ticket.
|
|
985
|
+
* @internal
|
|
986
|
+
* @format DECIMAL_VALUE
|
|
987
|
+
* @decimalValue options { maxScale:4 }
|
|
988
|
+
*/
|
|
989
|
+
priceOverride?: string | null;
|
|
990
|
+
/**
|
|
991
|
+
* Pricing option ID.
|
|
992
|
+
* @internal
|
|
993
|
+
* @format GUID
|
|
994
|
+
*/
|
|
995
|
+
pricingOptionId?: string | null;
|
|
775
996
|
}
|
|
776
997
|
interface OnlineConferencingLogin {
|
|
777
998
|
/**
|
|
@@ -817,6 +1038,12 @@ interface ListOrdersRequest {
|
|
|
817
1038
|
* - `DECLINED`: The order is payment is declined.
|
|
818
1039
|
*/
|
|
819
1040
|
status?: OrderStatusWithLiterals[];
|
|
1041
|
+
/**
|
|
1042
|
+
* Deprecated: use tag = CONFIRMED
|
|
1043
|
+
* @internal
|
|
1044
|
+
* @deprecated
|
|
1045
|
+
*/
|
|
1046
|
+
confirmed?: boolean | null;
|
|
820
1047
|
/**
|
|
821
1048
|
* Event ID to which the order belongs.
|
|
822
1049
|
* @format GUID
|
|
@@ -835,12 +1062,24 @@ interface ListOrdersRequest {
|
|
|
835
1062
|
* @maxSize 500
|
|
836
1063
|
*/
|
|
837
1064
|
memberId?: string[];
|
|
1065
|
+
/**
|
|
1066
|
+
* Deprecated: use tag = MEMBER
|
|
1067
|
+
* @internal
|
|
1068
|
+
* @deprecated
|
|
1069
|
+
*/
|
|
1070
|
+
membersOnly?: boolean;
|
|
838
1071
|
/**
|
|
839
1072
|
* Field facets,
|
|
840
1073
|
* @maxLength 100
|
|
841
1074
|
* @maxSize 20
|
|
842
1075
|
*/
|
|
843
1076
|
facet?: string[];
|
|
1077
|
+
/**
|
|
1078
|
+
* Deprecated: use tag = ARCHIVED / NON_ARCHIVED
|
|
1079
|
+
* @internal
|
|
1080
|
+
* @deprecated
|
|
1081
|
+
*/
|
|
1082
|
+
archived?: boolean | null;
|
|
844
1083
|
/**
|
|
845
1084
|
* Search filter. You can search `fullName`, `email` and `orderNumber`.
|
|
846
1085
|
* @maxLength 200
|
|
@@ -852,6 +1091,12 @@ interface ListOrdersRequest {
|
|
|
852
1091
|
* @maxSize 50
|
|
853
1092
|
*/
|
|
854
1093
|
eventCreatorId?: string[];
|
|
1094
|
+
/**
|
|
1095
|
+
* Deprecated: use tag = FULLY_CHECKED_IN / NOT_FULLY_CHECKED_IN
|
|
1096
|
+
* @internal
|
|
1097
|
+
* @deprecated
|
|
1098
|
+
*/
|
|
1099
|
+
fullyCheckedIn?: boolean | null;
|
|
855
1100
|
/**
|
|
856
1101
|
* Sort order.
|
|
857
1102
|
* Default: `created:asc`.
|
|
@@ -991,6 +1236,29 @@ interface UpdateOrderRequest {
|
|
|
991
1236
|
checkoutForm?: FormResponse;
|
|
992
1237
|
/** Whether to archive the order. */
|
|
993
1238
|
archived?: boolean;
|
|
1239
|
+
/**
|
|
1240
|
+
* Only used in tests.
|
|
1241
|
+
* @internal
|
|
1242
|
+
*/
|
|
1243
|
+
expires?: Date | null;
|
|
1244
|
+
/**
|
|
1245
|
+
* Deprecated.
|
|
1246
|
+
* @internal
|
|
1247
|
+
* @deprecated Deprecated.
|
|
1248
|
+
* @targetRemovalDate 2026-06-01
|
|
1249
|
+
*/
|
|
1250
|
+
silent?: boolean | null;
|
|
1251
|
+
/**
|
|
1252
|
+
* Buyer's contact ID. See the Contacts API for more details.
|
|
1253
|
+
* @internal
|
|
1254
|
+
* @format GUID
|
|
1255
|
+
*/
|
|
1256
|
+
contactId?: string | null;
|
|
1257
|
+
/**
|
|
1258
|
+
* Checkout form submission.
|
|
1259
|
+
* @internal
|
|
1260
|
+
*/
|
|
1261
|
+
checkoutFormSubmission?: FormSubmission;
|
|
994
1262
|
}
|
|
995
1263
|
interface UpdateOrderResponse {
|
|
996
1264
|
/** Updated order. */
|
|
@@ -1063,6 +1331,17 @@ interface OrderUpdated {
|
|
|
1063
1331
|
archived?: boolean;
|
|
1064
1332
|
/** Whether event was triggered by GDPR delete request. */
|
|
1065
1333
|
triggeredByAnonymizeRequest?: boolean;
|
|
1334
|
+
/**
|
|
1335
|
+
* Notifications silenced for this domain event.
|
|
1336
|
+
* @internal
|
|
1337
|
+
*/
|
|
1338
|
+
silent?: boolean | null;
|
|
1339
|
+
/**
|
|
1340
|
+
* ID of the Staff Member who completed checkout on behalf of the buyer.
|
|
1341
|
+
* @internal
|
|
1342
|
+
* @format GUID
|
|
1343
|
+
*/
|
|
1344
|
+
staffMemberId?: string | null;
|
|
1066
1345
|
}
|
|
1067
1346
|
interface BulkUpdateOrdersRequest {
|
|
1068
1347
|
/**
|
|
@@ -1430,6 +1709,12 @@ interface OrderConfirmed {
|
|
|
1430
1709
|
invoice?: Invoice;
|
|
1431
1710
|
/** Reservation ID associated with the order. */
|
|
1432
1711
|
reservationId?: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* ID of the Staff Member who completed checkout on behalf of the buyer.
|
|
1714
|
+
* @internal
|
|
1715
|
+
* @format GUID
|
|
1716
|
+
*/
|
|
1717
|
+
staffMemberId?: string | null;
|
|
1433
1718
|
}
|
|
1434
1719
|
/** Triggered when an order is paid. */
|
|
1435
1720
|
interface OrderPaid {
|
|
@@ -1545,7 +1830,12 @@ declare enum ReservationStatus {
|
|
|
1545
1830
|
/** The reservation is canceled manually by the buyer. */
|
|
1546
1831
|
RESERVATION_CANCELED_MANUALLY = "RESERVATION_CANCELED_MANUALLY",
|
|
1547
1832
|
/** The reservation has expired. */
|
|
1548
|
-
RESERVATION_EXPIRED = "RESERVATION_EXPIRED"
|
|
1833
|
+
RESERVATION_EXPIRED = "RESERVATION_EXPIRED",
|
|
1834
|
+
/**
|
|
1835
|
+
* This reservation is only a preview and doesn't really exist.
|
|
1836
|
+
* @internal
|
|
1837
|
+
*/
|
|
1838
|
+
RESERVATION_PREVIEW = "RESERVATION_PREVIEW"
|
|
1549
1839
|
}
|
|
1550
1840
|
/** @enumType */
|
|
1551
1841
|
type ReservationStatusWithLiterals = ReservationStatus | 'RESERVATION_PENDING' | 'RESERVATION_CONFIRMED' | 'RESERVATION_CANCELED' | 'RESERVATION_CANCELED_MANUALLY' | 'RESERVATION_EXPIRED';
|
|
@@ -1642,6 +1932,11 @@ interface ListAvailableTicketsRequest {
|
|
|
1642
1932
|
* @maxLength 100
|
|
1643
1933
|
*/
|
|
1644
1934
|
sort?: string;
|
|
1935
|
+
/**
|
|
1936
|
+
* Only used in tests.
|
|
1937
|
+
* @internal
|
|
1938
|
+
*/
|
|
1939
|
+
overrideRequestTime?: Date | null;
|
|
1645
1940
|
state?: StateWithLiterals[];
|
|
1646
1941
|
}
|
|
1647
1942
|
declare enum State {
|
|
@@ -1850,8 +2145,28 @@ interface CreateReservationRequest {
|
|
|
1850
2145
|
ticketQuantities?: TicketReservationQuantity[];
|
|
1851
2146
|
/** Whether to ignore the available ticket limits upon a reservation. */
|
|
1852
2147
|
ignoreLimits?: boolean;
|
|
2148
|
+
/**
|
|
2149
|
+
* Only used in tests.
|
|
2150
|
+
* @internal
|
|
2151
|
+
*/
|
|
2152
|
+
overrideRequestTime?: Date | null;
|
|
1853
2153
|
/** Whether to allow reservations for hidden tickets. */
|
|
1854
2154
|
allowHiddenTickets?: boolean;
|
|
2155
|
+
/**
|
|
2156
|
+
* Whether to exclude Wix fee.
|
|
2157
|
+
* @internal
|
|
2158
|
+
*/
|
|
2159
|
+
excludeFee?: boolean;
|
|
2160
|
+
/**
|
|
2161
|
+
* Whether to skip `ticketQuantities.ticketDetails.priceOverride` min validation.
|
|
2162
|
+
* @internal
|
|
2163
|
+
*/
|
|
2164
|
+
skipPriceOverrideValidation?: boolean;
|
|
2165
|
+
/**
|
|
2166
|
+
* If set to true the reservation will not be saved.
|
|
2167
|
+
* @internal
|
|
2168
|
+
*/
|
|
2169
|
+
dryRun?: boolean;
|
|
1855
2170
|
}
|
|
1856
2171
|
interface TicketReservationQuantity {
|
|
1857
2172
|
/**
|
|
@@ -1888,6 +2203,11 @@ interface CreateReservationResponse {
|
|
|
1888
2203
|
invoice?: Invoice;
|
|
1889
2204
|
/** Reservation status. */
|
|
1890
2205
|
reservationStatus?: ReservationStatusWithLiterals;
|
|
2206
|
+
/**
|
|
2207
|
+
* Whether reservation can be canceled.
|
|
2208
|
+
* @internal
|
|
2209
|
+
*/
|
|
2210
|
+
cancelable?: boolean | null;
|
|
1891
2211
|
}
|
|
1892
2212
|
interface TicketReservation {
|
|
1893
2213
|
/**
|
|
@@ -1930,6 +2250,12 @@ interface GetInvoiceRequest {
|
|
|
1930
2250
|
withDiscount?: DiscountRequest;
|
|
1931
2251
|
/** Optional benefit granted by the pricing plan to be applied on the returned invoice. */
|
|
1932
2252
|
paidPlanBenefit?: PaidPlanBenefit;
|
|
2253
|
+
/**
|
|
2254
|
+
* Gift card code.
|
|
2255
|
+
* @internal
|
|
2256
|
+
* @maxLength 30
|
|
2257
|
+
*/
|
|
2258
|
+
giftCardCode?: string | null;
|
|
1933
2259
|
}
|
|
1934
2260
|
interface DiscountRequest {
|
|
1935
2261
|
/**
|
|
@@ -1970,6 +2296,22 @@ interface GetInvoiceResponse {
|
|
|
1970
2296
|
reservationOccupied?: boolean;
|
|
1971
2297
|
/** Ticket reservations. */
|
|
1972
2298
|
reservations?: TicketReservation[];
|
|
2299
|
+
/**
|
|
2300
|
+
* Gift card payments.
|
|
2301
|
+
* @internal
|
|
2302
|
+
* @maxSize 10
|
|
2303
|
+
*/
|
|
2304
|
+
giftCardPaymentDetails?: GiftCardPaymentDetails[];
|
|
2305
|
+
/**
|
|
2306
|
+
* Balance summary.
|
|
2307
|
+
* @internal
|
|
2308
|
+
*/
|
|
2309
|
+
balanceSummary?: BalanceSummary;
|
|
2310
|
+
/**
|
|
2311
|
+
* Gift card errors, if relevant.
|
|
2312
|
+
* @internal
|
|
2313
|
+
*/
|
|
2314
|
+
giftCardErrors?: GiftCardErrors;
|
|
1973
2315
|
}
|
|
1974
2316
|
interface DiscountErrors {
|
|
1975
2317
|
/** Object containing error information. */
|
|
@@ -2005,6 +2347,18 @@ interface CheckoutRequest {
|
|
|
2005
2347
|
memberId?: string;
|
|
2006
2348
|
/** Discount to apply on the invoice. */
|
|
2007
2349
|
discount?: DiscountRequest;
|
|
2350
|
+
/**
|
|
2351
|
+
* Deprecated.
|
|
2352
|
+
* @internal
|
|
2353
|
+
* @deprecated
|
|
2354
|
+
*/
|
|
2355
|
+
silent?: boolean;
|
|
2356
|
+
/**
|
|
2357
|
+
* Deprecated.
|
|
2358
|
+
* @internal
|
|
2359
|
+
* @deprecated
|
|
2360
|
+
*/
|
|
2361
|
+
payInPerson?: boolean;
|
|
2008
2362
|
/** Buyer details. */
|
|
2009
2363
|
buyer?: Buyer;
|
|
2010
2364
|
/**
|
|
@@ -2017,8 +2371,25 @@ interface CheckoutRequest {
|
|
|
2017
2371
|
paidPlanBenefit?: PaidPlanBenefit;
|
|
2018
2372
|
/** Options controlling the checkout process. */
|
|
2019
2373
|
options?: CheckoutOptions;
|
|
2374
|
+
/**
|
|
2375
|
+
* Only used in tests.
|
|
2376
|
+
* @internal
|
|
2377
|
+
*/
|
|
2378
|
+
overrideRequestTime?: Date | null;
|
|
2379
|
+
/**
|
|
2380
|
+
* Gift card code.
|
|
2381
|
+
* @internal
|
|
2382
|
+
* @maxLength 30
|
|
2383
|
+
*/
|
|
2384
|
+
giftCardCode?: string | null;
|
|
2020
2385
|
/** Whether marketing consent was given. */
|
|
2021
2386
|
marketingConsent?: boolean | null;
|
|
2387
|
+
/**
|
|
2388
|
+
* ID of the Staff Member completing checkout on behalf of the buyer. Requires a valid server signature.
|
|
2389
|
+
* @internal
|
|
2390
|
+
* @format GUID
|
|
2391
|
+
*/
|
|
2392
|
+
staffMemberId?: string | null;
|
|
2022
2393
|
}
|
|
2023
2394
|
interface Buyer {
|
|
2024
2395
|
/**
|
|
@@ -2044,6 +2415,11 @@ interface Buyer {
|
|
|
2044
2415
|
interface Guest {
|
|
2045
2416
|
/** Specific guest info. */
|
|
2046
2417
|
form?: FormResponse;
|
|
2418
|
+
/**
|
|
2419
|
+
* Guest form submission.
|
|
2420
|
+
* @internal
|
|
2421
|
+
*/
|
|
2422
|
+
formSubmission?: FormSubmission;
|
|
2047
2423
|
}
|
|
2048
2424
|
interface CheckoutOptions {
|
|
2049
2425
|
/** Whether to ignore settings to notify contacts. */
|
|
@@ -2052,6 +2428,13 @@ interface CheckoutOptions {
|
|
|
2052
2428
|
payInPerson?: boolean;
|
|
2053
2429
|
/** Whether to ignore form validation. */
|
|
2054
2430
|
ignoreFormValidation?: boolean;
|
|
2431
|
+
/**
|
|
2432
|
+
* URL which overrides default payment redirect URL.
|
|
2433
|
+
* @internal
|
|
2434
|
+
* @format WEB_URL
|
|
2435
|
+
* @maxLength 2500
|
|
2436
|
+
*/
|
|
2437
|
+
paymentRedirectUrl?: string | null;
|
|
2055
2438
|
/** Marks payment as already paid */
|
|
2056
2439
|
markAsPaid?: boolean | null;
|
|
2057
2440
|
}
|
|
@@ -2163,12 +2546,39 @@ interface UpdateCheckoutRequest {
|
|
|
2163
2546
|
discount?: DiscountRequest;
|
|
2164
2547
|
/** Benefit granted by the pricing plan. */
|
|
2165
2548
|
paidPlanBenefit?: PaidPlanBenefit;
|
|
2549
|
+
/**
|
|
2550
|
+
* Payment details ID.
|
|
2551
|
+
* @internal
|
|
2552
|
+
*/
|
|
2553
|
+
paymentDetailsId?: string | null;
|
|
2554
|
+
/**
|
|
2555
|
+
* Payment method.
|
|
2556
|
+
* @internal
|
|
2557
|
+
* @maxLength 100
|
|
2558
|
+
*/
|
|
2559
|
+
paymentMethod?: string | null;
|
|
2560
|
+
/**
|
|
2561
|
+
* Gift card code.
|
|
2562
|
+
* @internal
|
|
2563
|
+
* @maxLength 30
|
|
2564
|
+
*/
|
|
2565
|
+
giftCardCode?: string | null;
|
|
2166
2566
|
}
|
|
2167
2567
|
interface UpdateCheckoutResponse {
|
|
2168
2568
|
/** Updated order. */
|
|
2169
2569
|
order?: Order;
|
|
2170
2570
|
/** Order page URL. */
|
|
2171
2571
|
orderPageUrl?: string | null;
|
|
2572
|
+
/**
|
|
2573
|
+
* Payment response token.
|
|
2574
|
+
* @internal
|
|
2575
|
+
*/
|
|
2576
|
+
chargeToken?: string | null;
|
|
2577
|
+
/**
|
|
2578
|
+
* Order page URL.
|
|
2579
|
+
* @internal
|
|
2580
|
+
*/
|
|
2581
|
+
orderPageUrls?: OrderPageUrls;
|
|
2172
2582
|
}
|
|
2173
2583
|
interface OrderPageUrls {
|
|
2174
2584
|
/**
|
|
@@ -2248,6 +2658,11 @@ interface Reservation {
|
|
|
2248
2658
|
* @maxSize 50
|
|
2249
2659
|
*/
|
|
2250
2660
|
reservations?: TicketReservation[];
|
|
2661
|
+
/**
|
|
2662
|
+
* Whether reservation can be canceled.
|
|
2663
|
+
* @internal
|
|
2664
|
+
*/
|
|
2665
|
+
cancelable?: boolean | null;
|
|
2251
2666
|
}
|
|
2252
2667
|
interface ConfirmReservationRequest {
|
|
2253
2668
|
/**
|
|
@@ -471,6 +471,10 @@ function resolveWixEventsTicketingOrderManagementUrl(opts) {
|
|
|
471
471
|
{
|
|
472
472
|
srcPath: "/media",
|
|
473
473
|
destPath: "/media"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
srcPath: "/wix-events-web/media",
|
|
477
|
+
destPath: "/media"
|
|
474
478
|
}
|
|
475
479
|
],
|
|
476
480
|
"api._api_base_domain_": [
|
|
@@ -1708,6 +1712,7 @@ var ReservationStatus = /* @__PURE__ */ ((ReservationStatus2) => {
|
|
|
1708
1712
|
ReservationStatus2["RESERVATION_CANCELED"] = "RESERVATION_CANCELED";
|
|
1709
1713
|
ReservationStatus2["RESERVATION_CANCELED_MANUALLY"] = "RESERVATION_CANCELED_MANUALLY";
|
|
1710
1714
|
ReservationStatus2["RESERVATION_EXPIRED"] = "RESERVATION_EXPIRED";
|
|
1715
|
+
ReservationStatus2["RESERVATION_PREVIEW"] = "RESERVATION_PREVIEW";
|
|
1711
1716
|
return ReservationStatus2;
|
|
1712
1717
|
})(ReservationStatus || {});
|
|
1713
1718
|
var State = /* @__PURE__ */ ((State2) => {
|