@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
|
@@ -71,17 +71,60 @@ interface Order {
|
|
|
71
71
|
invoice?: Invoice;
|
|
72
72
|
/** Whether all tickets in an order are checked in. */
|
|
73
73
|
fullyCheckedIn?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Deprecated. Use `payment_details.transaction.transaction_id`.
|
|
76
|
+
* @internal
|
|
77
|
+
* @format GUID
|
|
78
|
+
* @readonly
|
|
79
|
+
* @deprecated
|
|
80
|
+
*/
|
|
81
|
+
transactionId?: string;
|
|
74
82
|
/** Internal order payment details. */
|
|
75
83
|
paymentDetails?: PaymentDetails;
|
|
76
84
|
/** Checkout channel type. */
|
|
77
85
|
channel?: ChannelTypeWithLiterals;
|
|
86
|
+
/**
|
|
87
|
+
* Language in which the order was created.
|
|
88
|
+
* @internal
|
|
89
|
+
* @format LANGUAGE
|
|
90
|
+
*/
|
|
91
|
+
language?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Locale in which the order was created.
|
|
94
|
+
* @internal
|
|
95
|
+
* @format LANGUAGE_TAG
|
|
96
|
+
*/
|
|
97
|
+
locale?: string | null;
|
|
78
98
|
/**
|
|
79
99
|
* Date and time the order was last updated.
|
|
80
100
|
* @readonly
|
|
81
101
|
*/
|
|
82
102
|
updated?: Date | null;
|
|
103
|
+
/**
|
|
104
|
+
* Possible order actions.
|
|
105
|
+
* @internal
|
|
106
|
+
* @maxSize 10
|
|
107
|
+
* @readonly
|
|
108
|
+
*/
|
|
109
|
+
availableActions?: ActionWithLiterals[];
|
|
110
|
+
/**
|
|
111
|
+
* Gift card payments.
|
|
112
|
+
* @internal
|
|
113
|
+
* @maxSize 10
|
|
114
|
+
*/
|
|
115
|
+
giftCardPaymentDetails?: GiftCardPaymentDetails[];
|
|
116
|
+
/**
|
|
117
|
+
* Balance summary.
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
balanceSummary?: BalanceSummary;
|
|
83
121
|
/** Whether marketing consent was given. */
|
|
84
122
|
marketingConsent?: boolean | null;
|
|
123
|
+
/**
|
|
124
|
+
* Checkout form submission.
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
checkoutFormSubmission?: FormSubmission;
|
|
85
128
|
}
|
|
86
129
|
interface FormResponse {
|
|
87
130
|
/**
|
|
@@ -107,6 +150,21 @@ interface InputValue {
|
|
|
107
150
|
* @maxLength 5000
|
|
108
151
|
*/
|
|
109
152
|
values?: string[];
|
|
153
|
+
/**
|
|
154
|
+
* Integer or floating point number value.
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
157
|
+
number?: number | null;
|
|
158
|
+
/**
|
|
159
|
+
* UTC datetime in `YYYY-MM-DDThh:mm[:ss][.sss]Z` format.
|
|
160
|
+
* @internal
|
|
161
|
+
*/
|
|
162
|
+
dateTime?: Date | null;
|
|
163
|
+
/**
|
|
164
|
+
* Address type value.
|
|
165
|
+
* @internal
|
|
166
|
+
*/
|
|
167
|
+
address?: FormattedAddress;
|
|
110
168
|
}
|
|
111
169
|
interface FormattedAddress {
|
|
112
170
|
/**
|
|
@@ -130,12 +188,49 @@ interface Address extends AddressStreetOneOf {
|
|
|
130
188
|
country?: string | null;
|
|
131
189
|
/** Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY */
|
|
132
190
|
subdivision?: string | null;
|
|
191
|
+
/**
|
|
192
|
+
* Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2), e.g. US-NY
|
|
193
|
+
* @internal
|
|
194
|
+
* @maxLength 20
|
|
195
|
+
*/
|
|
196
|
+
subdivisionIso31662?: string | null;
|
|
133
197
|
/** City name. */
|
|
134
198
|
city?: string | null;
|
|
135
199
|
/** Zip/postal code. */
|
|
136
200
|
postalCode?: string | null;
|
|
137
201
|
/** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
|
|
138
202
|
addressLine2?: string | null;
|
|
203
|
+
/**
|
|
204
|
+
* A string containing the full address of this location.
|
|
205
|
+
* @internal
|
|
206
|
+
*/
|
|
207
|
+
formattedAddress?: string | null;
|
|
208
|
+
/**
|
|
209
|
+
* Free text to help find the address.
|
|
210
|
+
* @internal
|
|
211
|
+
*/
|
|
212
|
+
hint?: string | null;
|
|
213
|
+
/**
|
|
214
|
+
* Coordinates of the physical address.
|
|
215
|
+
* @internal
|
|
216
|
+
*/
|
|
217
|
+
geocode?: AddressLocation;
|
|
218
|
+
/**
|
|
219
|
+
* Country full name.
|
|
220
|
+
* @internal
|
|
221
|
+
*/
|
|
222
|
+
countryFullname?: string | null;
|
|
223
|
+
/**
|
|
224
|
+
* Subdivision full name.
|
|
225
|
+
* @internal
|
|
226
|
+
*/
|
|
227
|
+
subdivisionFullname?: string | null;
|
|
228
|
+
/**
|
|
229
|
+
* Multi-level subdivisions from top to bottom.
|
|
230
|
+
* @internal
|
|
231
|
+
* @maxSize 6
|
|
232
|
+
*/
|
|
233
|
+
subdivisions?: Subdivision[];
|
|
139
234
|
}
|
|
140
235
|
/** @oneof */
|
|
141
236
|
interface AddressStreetOneOf {
|
|
@@ -149,6 +244,16 @@ interface StreetAddress {
|
|
|
149
244
|
number?: string;
|
|
150
245
|
/** Street name. */
|
|
151
246
|
name?: string;
|
|
247
|
+
/**
|
|
248
|
+
* Apartment number.
|
|
249
|
+
* @internal
|
|
250
|
+
*/
|
|
251
|
+
apt?: string;
|
|
252
|
+
/**
|
|
253
|
+
* Optional address line 1
|
|
254
|
+
* @internal
|
|
255
|
+
*/
|
|
256
|
+
formattedAddressLine?: string | null;
|
|
152
257
|
}
|
|
153
258
|
interface AddressLocation {
|
|
154
259
|
/** Address latitude. */
|
|
@@ -161,6 +266,21 @@ interface Subdivision {
|
|
|
161
266
|
code?: string;
|
|
162
267
|
/** Subdivision full name. */
|
|
163
268
|
name?: string;
|
|
269
|
+
/**
|
|
270
|
+
* Subdivision level
|
|
271
|
+
* @internal
|
|
272
|
+
*/
|
|
273
|
+
type?: SubdivisionTypeWithLiterals;
|
|
274
|
+
/**
|
|
275
|
+
* Free text description of subdivision type.
|
|
276
|
+
* @internal
|
|
277
|
+
*/
|
|
278
|
+
typeInfo?: string | null;
|
|
279
|
+
/**
|
|
280
|
+
* Standard organizations details (e.g. ISO).
|
|
281
|
+
* @internal
|
|
282
|
+
*/
|
|
283
|
+
standardDetails?: StandardDetails;
|
|
164
284
|
}
|
|
165
285
|
declare enum SubdivisionType {
|
|
166
286
|
UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
|
|
@@ -252,6 +372,12 @@ interface TicketingTicket {
|
|
|
252
372
|
free?: boolean;
|
|
253
373
|
/** Ticket and event policies. */
|
|
254
374
|
policy?: string;
|
|
375
|
+
/**
|
|
376
|
+
* *Deprecated:** Use `tickets.checkInUrl` instead.
|
|
377
|
+
* @internal
|
|
378
|
+
* @deprecated
|
|
379
|
+
*/
|
|
380
|
+
qrCode?: string;
|
|
255
381
|
/** Ticket check-in. */
|
|
256
382
|
checkIn?: CheckIn;
|
|
257
383
|
/** Associated order status. */
|
|
@@ -269,6 +395,12 @@ interface TicketingTicket {
|
|
|
269
395
|
guestDetails?: GuestDetails;
|
|
270
396
|
/** Whether the ticket is visible in an order. */
|
|
271
397
|
archived?: boolean;
|
|
398
|
+
/**
|
|
399
|
+
* *Deprecated:** Use `tickets.ticketPdfUrl` instead.
|
|
400
|
+
* @internal
|
|
401
|
+
* @deprecated
|
|
402
|
+
*/
|
|
403
|
+
ticketPdf?: string;
|
|
272
404
|
/**
|
|
273
405
|
* Ticket owner member ID.
|
|
274
406
|
* @format GUID
|
|
@@ -297,6 +429,12 @@ interface TicketingTicket {
|
|
|
297
429
|
* @readonly
|
|
298
430
|
*/
|
|
299
431
|
walletPassUrl?: string;
|
|
432
|
+
/**
|
|
433
|
+
* Additional ticket details.
|
|
434
|
+
* @internal
|
|
435
|
+
* @readonly
|
|
436
|
+
*/
|
|
437
|
+
ticketDetails?: TicketDetails;
|
|
300
438
|
/**
|
|
301
439
|
* Whether ticket is canceled.
|
|
302
440
|
* @readonly
|
|
@@ -306,6 +444,35 @@ interface TicketingTicket {
|
|
|
306
444
|
interface CheckIn {
|
|
307
445
|
/** Time of a ticket's check-in. */
|
|
308
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;
|
|
309
476
|
}
|
|
310
477
|
interface GuestDetails {
|
|
311
478
|
/** Whether ticket belongs to assigned guest. */
|
|
@@ -331,6 +498,11 @@ interface GuestDetails {
|
|
|
331
498
|
* @format PHONE
|
|
332
499
|
*/
|
|
333
500
|
phone?: string | null;
|
|
501
|
+
/**
|
|
502
|
+
* Form submission.
|
|
503
|
+
* @internal
|
|
504
|
+
*/
|
|
505
|
+
formSubmission?: FormSubmission;
|
|
334
506
|
}
|
|
335
507
|
interface FormSubmission {
|
|
336
508
|
/**
|
|
@@ -363,6 +535,36 @@ interface TicketDetails {
|
|
|
363
535
|
* @maxLength 36
|
|
364
536
|
*/
|
|
365
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;
|
|
366
568
|
/**
|
|
367
569
|
* Section label.
|
|
368
570
|
* @readonly
|
|
@@ -618,6 +820,18 @@ interface PaymentTransaction {
|
|
|
618
820
|
* @readonly
|
|
619
821
|
*/
|
|
620
822
|
method?: string;
|
|
823
|
+
/**
|
|
824
|
+
* Scheduled action.
|
|
825
|
+
* @internal
|
|
826
|
+
* @readonly
|
|
827
|
+
*/
|
|
828
|
+
scheduledAction?: ScheduledActionEnumActionWithLiterals;
|
|
829
|
+
/**
|
|
830
|
+
* Scheduled action execution date. Non empty for delayed transactions.
|
|
831
|
+
* @internal
|
|
832
|
+
* @readonly
|
|
833
|
+
*/
|
|
834
|
+
scheduledActionExecutionDate?: Date | null;
|
|
621
835
|
}
|
|
622
836
|
declare enum ScheduledActionEnumAction {
|
|
623
837
|
/** Action not scheduled. */
|
|
@@ -765,6 +979,19 @@ interface Ticket {
|
|
|
765
979
|
seatId?: string | null;
|
|
766
980
|
/** Whether ticket is canceled. */
|
|
767
981
|
canceled?: boolean | null;
|
|
982
|
+
/**
|
|
983
|
+
* Custom price of a ticket.
|
|
984
|
+
* @internal
|
|
985
|
+
* @format DECIMAL_VALUE
|
|
986
|
+
* @decimalValue options { maxScale:4 }
|
|
987
|
+
*/
|
|
988
|
+
priceOverride?: string | null;
|
|
989
|
+
/**
|
|
990
|
+
* Pricing option ID.
|
|
991
|
+
* @internal
|
|
992
|
+
* @format GUID
|
|
993
|
+
*/
|
|
994
|
+
pricingOptionId?: string | null;
|
|
768
995
|
}
|
|
769
996
|
interface OnlineConferencingLogin {
|
|
770
997
|
/**
|
|
@@ -794,6 +1021,12 @@ interface ListOrdersRequest {
|
|
|
794
1021
|
fieldset?: OrderFieldsetWithLiterals[];
|
|
795
1022
|
/** Status. */
|
|
796
1023
|
status?: OrderStatusWithLiterals[];
|
|
1024
|
+
/**
|
|
1025
|
+
* Deprecated: use tag = CONFIRMED
|
|
1026
|
+
* @internal
|
|
1027
|
+
* @deprecated
|
|
1028
|
+
*/
|
|
1029
|
+
confirmed?: boolean | null;
|
|
797
1030
|
/**
|
|
798
1031
|
* Event ID.
|
|
799
1032
|
* @format GUID
|
|
@@ -812,12 +1045,24 @@ interface ListOrdersRequest {
|
|
|
812
1045
|
* @maxSize 500
|
|
813
1046
|
*/
|
|
814
1047
|
memberId?: string[];
|
|
1048
|
+
/**
|
|
1049
|
+
* Deprecated: use tag = MEMBER
|
|
1050
|
+
* @internal
|
|
1051
|
+
* @deprecated
|
|
1052
|
+
*/
|
|
1053
|
+
membersOnly?: boolean;
|
|
815
1054
|
/**
|
|
816
1055
|
* Field facets.
|
|
817
1056
|
* @maxLength 100
|
|
818
1057
|
* @maxSize 20
|
|
819
1058
|
*/
|
|
820
1059
|
facet?: string[];
|
|
1060
|
+
/**
|
|
1061
|
+
* Deprecated: use tag = ARCHIVED / NON_ARCHIVED
|
|
1062
|
+
* @internal
|
|
1063
|
+
* @deprecated
|
|
1064
|
+
*/
|
|
1065
|
+
archived?: boolean | null;
|
|
821
1066
|
/**
|
|
822
1067
|
* Textual search filter - search is performed on "full_name", "email" and "order_number".
|
|
823
1068
|
* @maxLength 200
|
|
@@ -829,6 +1074,12 @@ interface ListOrdersRequest {
|
|
|
829
1074
|
* @maxSize 50
|
|
830
1075
|
*/
|
|
831
1076
|
eventCreatorId?: string[];
|
|
1077
|
+
/**
|
|
1078
|
+
* Deprecated: use tag = FULLY_CHECKED_IN / NOT_FULLY_CHECKED_IN
|
|
1079
|
+
* @internal
|
|
1080
|
+
* @deprecated
|
|
1081
|
+
*/
|
|
1082
|
+
fullyCheckedIn?: boolean | null;
|
|
832
1083
|
/**
|
|
833
1084
|
* Sort order. Defaults to "created:asc".
|
|
834
1085
|
* @maxLength 100
|
|
@@ -960,6 +1211,29 @@ interface UpdateOrderRequest {
|
|
|
960
1211
|
checkoutForm?: FormResponse;
|
|
961
1212
|
/** Whether to archive the order. */
|
|
962
1213
|
archived?: boolean;
|
|
1214
|
+
/**
|
|
1215
|
+
* Only used in tests.
|
|
1216
|
+
* @internal
|
|
1217
|
+
*/
|
|
1218
|
+
expires?: Date | null;
|
|
1219
|
+
/**
|
|
1220
|
+
* Deprecated.
|
|
1221
|
+
* @internal
|
|
1222
|
+
* @deprecated Deprecated.
|
|
1223
|
+
* @targetRemovalDate 2026-06-01
|
|
1224
|
+
*/
|
|
1225
|
+
silent?: boolean | null;
|
|
1226
|
+
/**
|
|
1227
|
+
* Buyer's contact ID. See the Contacts API for more details.
|
|
1228
|
+
* @internal
|
|
1229
|
+
* @format GUID
|
|
1230
|
+
*/
|
|
1231
|
+
contactId?: string | null;
|
|
1232
|
+
/**
|
|
1233
|
+
* Checkout form submission.
|
|
1234
|
+
* @internal
|
|
1235
|
+
*/
|
|
1236
|
+
checkoutFormSubmission?: FormSubmission;
|
|
963
1237
|
}
|
|
964
1238
|
interface UpdateOrderResponse {
|
|
965
1239
|
/** Updated order. */
|
|
@@ -1023,6 +1297,17 @@ interface OrderUpdated {
|
|
|
1023
1297
|
archived?: boolean;
|
|
1024
1298
|
/** Whether event was triggered by GDPR delete request. */
|
|
1025
1299
|
triggeredByAnonymizeRequest?: boolean;
|
|
1300
|
+
/**
|
|
1301
|
+
* Notifications silenced for this domain event.
|
|
1302
|
+
* @internal
|
|
1303
|
+
*/
|
|
1304
|
+
silent?: boolean | null;
|
|
1305
|
+
/**
|
|
1306
|
+
* ID of the Staff Member who completed checkout on behalf of the buyer.
|
|
1307
|
+
* @internal
|
|
1308
|
+
* @format GUID
|
|
1309
|
+
*/
|
|
1310
|
+
staffMemberId?: string | null;
|
|
1026
1311
|
}
|
|
1027
1312
|
interface BulkUpdateOrdersRequest {
|
|
1028
1313
|
/**
|
|
@@ -1381,6 +1666,12 @@ interface OrderConfirmed {
|
|
|
1381
1666
|
invoice?: Invoice;
|
|
1382
1667
|
/** Reservation ID associated with the order. */
|
|
1383
1668
|
reservationId?: string;
|
|
1669
|
+
/**
|
|
1670
|
+
* ID of the Staff Member who completed checkout on behalf of the buyer.
|
|
1671
|
+
* @internal
|
|
1672
|
+
* @format GUID
|
|
1673
|
+
*/
|
|
1674
|
+
staffMemberId?: string | null;
|
|
1384
1675
|
}
|
|
1385
1676
|
/** Triggered when an order is paid. */
|
|
1386
1677
|
interface OrderPaid {
|
|
@@ -1496,7 +1787,12 @@ declare enum ReservationStatus {
|
|
|
1496
1787
|
/** The reservation is canceled manually by the buyer. */
|
|
1497
1788
|
RESERVATION_CANCELED_MANUALLY = "RESERVATION_CANCELED_MANUALLY",
|
|
1498
1789
|
/** The reservation has expired. */
|
|
1499
|
-
RESERVATION_EXPIRED = "RESERVATION_EXPIRED"
|
|
1790
|
+
RESERVATION_EXPIRED = "RESERVATION_EXPIRED",
|
|
1791
|
+
/**
|
|
1792
|
+
* This reservation is only a preview and doesn't really exist.
|
|
1793
|
+
* @internal
|
|
1794
|
+
*/
|
|
1795
|
+
RESERVATION_PREVIEW = "RESERVATION_PREVIEW"
|
|
1500
1796
|
}
|
|
1501
1797
|
/** @enumType */
|
|
1502
1798
|
type ReservationStatusWithLiterals = ReservationStatus | 'RESERVATION_PENDING' | 'RESERVATION_CONFIRMED' | 'RESERVATION_CANCELED' | 'RESERVATION_CANCELED_MANUALLY' | 'RESERVATION_EXPIRED';
|
|
@@ -1594,6 +1890,11 @@ interface ListAvailableTicketsRequest {
|
|
|
1594
1890
|
* @maxLength 100
|
|
1595
1891
|
*/
|
|
1596
1892
|
sort?: string;
|
|
1893
|
+
/**
|
|
1894
|
+
* Only used in tests.
|
|
1895
|
+
* @internal
|
|
1896
|
+
*/
|
|
1897
|
+
overrideRequestTime?: Date | null;
|
|
1597
1898
|
state?: StateWithLiterals[];
|
|
1598
1899
|
}
|
|
1599
1900
|
declare enum State {
|
|
@@ -1804,8 +2105,28 @@ interface CreateReservationRequest {
|
|
|
1804
2105
|
ticketQuantities?: TicketReservationQuantity[];
|
|
1805
2106
|
/** Whether to ignore the available ticket limits upon a reservation. */
|
|
1806
2107
|
ignoreLimits?: boolean;
|
|
2108
|
+
/**
|
|
2109
|
+
* Only used in tests.
|
|
2110
|
+
* @internal
|
|
2111
|
+
*/
|
|
2112
|
+
overrideRequestTime?: Date | null;
|
|
1807
2113
|
/** Whether to allow reservations for hidden tickets. */
|
|
1808
2114
|
allowHiddenTickets?: boolean;
|
|
2115
|
+
/**
|
|
2116
|
+
* Whether to exclude Wix fee.
|
|
2117
|
+
* @internal
|
|
2118
|
+
*/
|
|
2119
|
+
excludeFee?: boolean;
|
|
2120
|
+
/**
|
|
2121
|
+
* Whether to skip `ticketQuantities.ticketDetails.priceOverride` min validation.
|
|
2122
|
+
* @internal
|
|
2123
|
+
*/
|
|
2124
|
+
skipPriceOverrideValidation?: boolean;
|
|
2125
|
+
/**
|
|
2126
|
+
* If set to true the reservation will not be saved.
|
|
2127
|
+
* @internal
|
|
2128
|
+
*/
|
|
2129
|
+
dryRun?: boolean;
|
|
1809
2130
|
}
|
|
1810
2131
|
interface TicketReservationQuantity {
|
|
1811
2132
|
/**
|
|
@@ -1842,6 +2163,11 @@ interface CreateReservationResponse {
|
|
|
1842
2163
|
invoice?: Invoice;
|
|
1843
2164
|
/** Reservation status. */
|
|
1844
2165
|
reservationStatus?: ReservationStatusWithLiterals;
|
|
2166
|
+
/**
|
|
2167
|
+
* Whether reservation can be canceled.
|
|
2168
|
+
* @internal
|
|
2169
|
+
*/
|
|
2170
|
+
cancelable?: boolean | null;
|
|
1845
2171
|
}
|
|
1846
2172
|
interface TicketReservation {
|
|
1847
2173
|
/**
|
|
@@ -1883,6 +2209,12 @@ interface GetInvoiceRequest {
|
|
|
1883
2209
|
withDiscount?: DiscountRequest;
|
|
1884
2210
|
/** Optional benefit granted by the pricing plan to be applied on the returned invoice. */
|
|
1885
2211
|
paidPlanBenefit?: PaidPlanBenefit;
|
|
2212
|
+
/**
|
|
2213
|
+
* Gift card code.
|
|
2214
|
+
* @internal
|
|
2215
|
+
* @maxLength 30
|
|
2216
|
+
*/
|
|
2217
|
+
giftCardCode?: string | null;
|
|
1886
2218
|
}
|
|
1887
2219
|
interface DiscountRequest {
|
|
1888
2220
|
/**
|
|
@@ -1916,6 +2248,22 @@ interface GetInvoiceResponse {
|
|
|
1916
2248
|
reservationOccupied?: boolean;
|
|
1917
2249
|
/** Ticket reservations. */
|
|
1918
2250
|
reservations?: TicketReservation[];
|
|
2251
|
+
/**
|
|
2252
|
+
* Gift card payments.
|
|
2253
|
+
* @internal
|
|
2254
|
+
* @maxSize 10
|
|
2255
|
+
*/
|
|
2256
|
+
giftCardPaymentDetails?: GiftCardPaymentDetails[];
|
|
2257
|
+
/**
|
|
2258
|
+
* Balance summary.
|
|
2259
|
+
* @internal
|
|
2260
|
+
*/
|
|
2261
|
+
balanceSummary?: BalanceSummary;
|
|
2262
|
+
/**
|
|
2263
|
+
* Gift card errors, if relevant.
|
|
2264
|
+
* @internal
|
|
2265
|
+
*/
|
|
2266
|
+
giftCardErrors?: GiftCardErrors;
|
|
1919
2267
|
}
|
|
1920
2268
|
interface DiscountErrors {
|
|
1921
2269
|
/** Error. */
|
|
@@ -1950,6 +2298,18 @@ interface CheckoutRequest {
|
|
|
1950
2298
|
memberId?: string;
|
|
1951
2299
|
/** Discount to apply on the invoice. */
|
|
1952
2300
|
discount?: DiscountRequest;
|
|
2301
|
+
/**
|
|
2302
|
+
* Deprecated.
|
|
2303
|
+
* @internal
|
|
2304
|
+
* @deprecated
|
|
2305
|
+
*/
|
|
2306
|
+
silent?: boolean;
|
|
2307
|
+
/**
|
|
2308
|
+
* Deprecated.
|
|
2309
|
+
* @internal
|
|
2310
|
+
* @deprecated
|
|
2311
|
+
*/
|
|
2312
|
+
payInPerson?: boolean;
|
|
1953
2313
|
/** Buyer details. */
|
|
1954
2314
|
buyer?: Buyer;
|
|
1955
2315
|
/**
|
|
@@ -1962,8 +2322,25 @@ interface CheckoutRequest {
|
|
|
1962
2322
|
paidPlanBenefit?: PaidPlanBenefit;
|
|
1963
2323
|
/** Options controlling the checkout process. */
|
|
1964
2324
|
options?: CheckoutOptions;
|
|
2325
|
+
/**
|
|
2326
|
+
* Only used in tests.
|
|
2327
|
+
* @internal
|
|
2328
|
+
*/
|
|
2329
|
+
overrideRequestTime?: Date | null;
|
|
2330
|
+
/**
|
|
2331
|
+
* Gift card code.
|
|
2332
|
+
* @internal
|
|
2333
|
+
* @maxLength 30
|
|
2334
|
+
*/
|
|
2335
|
+
giftCardCode?: string | null;
|
|
1965
2336
|
/** Whether marketing consent was given. */
|
|
1966
2337
|
marketingConsent?: boolean | null;
|
|
2338
|
+
/**
|
|
2339
|
+
* ID of the Staff Member completing checkout on behalf of the buyer. Requires a valid server signature.
|
|
2340
|
+
* @internal
|
|
2341
|
+
* @format GUID
|
|
2342
|
+
*/
|
|
2343
|
+
staffMemberId?: string | null;
|
|
1967
2344
|
}
|
|
1968
2345
|
interface Buyer {
|
|
1969
2346
|
/**
|
|
@@ -1989,6 +2366,11 @@ interface Buyer {
|
|
|
1989
2366
|
interface Guest {
|
|
1990
2367
|
/** Specific guest info. */
|
|
1991
2368
|
form?: FormResponse;
|
|
2369
|
+
/**
|
|
2370
|
+
* Guest form submission.
|
|
2371
|
+
* @internal
|
|
2372
|
+
*/
|
|
2373
|
+
formSubmission?: FormSubmission;
|
|
1992
2374
|
}
|
|
1993
2375
|
interface CheckoutOptions {
|
|
1994
2376
|
/** Whether to ignore settings to notify contacts. */
|
|
@@ -1997,6 +2379,13 @@ interface CheckoutOptions {
|
|
|
1997
2379
|
payInPerson?: boolean;
|
|
1998
2380
|
/** Whether to ignore form validation. */
|
|
1999
2381
|
ignoreFormValidation?: boolean;
|
|
2382
|
+
/**
|
|
2383
|
+
* URL which overrides default payment redirect URL.
|
|
2384
|
+
* @internal
|
|
2385
|
+
* @format WEB_URL
|
|
2386
|
+
* @maxLength 2500
|
|
2387
|
+
*/
|
|
2388
|
+
paymentRedirectUrl?: string | null;
|
|
2000
2389
|
/** Marks payment as already paid */
|
|
2001
2390
|
markAsPaid?: boolean | null;
|
|
2002
2391
|
}
|
|
@@ -2096,12 +2485,39 @@ interface UpdateCheckoutRequest {
|
|
|
2096
2485
|
discount?: DiscountRequest;
|
|
2097
2486
|
/** Benefit granted by the pricing plan. */
|
|
2098
2487
|
paidPlanBenefit?: PaidPlanBenefit;
|
|
2488
|
+
/**
|
|
2489
|
+
* Payment details ID.
|
|
2490
|
+
* @internal
|
|
2491
|
+
*/
|
|
2492
|
+
paymentDetailsId?: string | null;
|
|
2493
|
+
/**
|
|
2494
|
+
* Payment method.
|
|
2495
|
+
* @internal
|
|
2496
|
+
* @maxLength 100
|
|
2497
|
+
*/
|
|
2498
|
+
paymentMethod?: string | null;
|
|
2499
|
+
/**
|
|
2500
|
+
* Gift card code.
|
|
2501
|
+
* @internal
|
|
2502
|
+
* @maxLength 30
|
|
2503
|
+
*/
|
|
2504
|
+
giftCardCode?: string | null;
|
|
2099
2505
|
}
|
|
2100
2506
|
interface UpdateCheckoutResponse {
|
|
2101
2507
|
/** Updated order. */
|
|
2102
2508
|
order?: Order;
|
|
2103
2509
|
/** Order page URL. */
|
|
2104
2510
|
orderPageUrl?: string | null;
|
|
2511
|
+
/**
|
|
2512
|
+
* Payment response token.
|
|
2513
|
+
* @internal
|
|
2514
|
+
*/
|
|
2515
|
+
chargeToken?: string | null;
|
|
2516
|
+
/**
|
|
2517
|
+
* Order page URLs.
|
|
2518
|
+
* @internal
|
|
2519
|
+
*/
|
|
2520
|
+
orderPageUrls?: OrderPageUrls;
|
|
2105
2521
|
}
|
|
2106
2522
|
interface OrderPageUrls {
|
|
2107
2523
|
/**
|
|
@@ -2181,6 +2597,11 @@ interface Reservation {
|
|
|
2181
2597
|
* @maxSize 50
|
|
2182
2598
|
*/
|
|
2183
2599
|
reservations?: TicketReservation[];
|
|
2600
|
+
/**
|
|
2601
|
+
* Whether reservation can be canceled.
|
|
2602
|
+
* @internal
|
|
2603
|
+
*/
|
|
2604
|
+
cancelable?: boolean | null;
|
|
2184
2605
|
}
|
|
2185
2606
|
interface ConfirmReservationRequest {
|
|
2186
2607
|
/**
|
|
@@ -464,6 +464,10 @@ function resolveWixEventsTicketingOrderManagementUrl(opts) {
|
|
|
464
464
|
{
|
|
465
465
|
srcPath: "/media",
|
|
466
466
|
destPath: "/media"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
srcPath: "/wix-events-web/media",
|
|
470
|
+
destPath: "/media"
|
|
467
471
|
}
|
|
468
472
|
],
|
|
469
473
|
"api._api_base_domain_": [
|
|
@@ -1698,6 +1702,7 @@ var ReservationStatus = /* @__PURE__ */ ((ReservationStatus2) => {
|
|
|
1698
1702
|
ReservationStatus2["RESERVATION_CANCELED"] = "RESERVATION_CANCELED";
|
|
1699
1703
|
ReservationStatus2["RESERVATION_CANCELED_MANUALLY"] = "RESERVATION_CANCELED_MANUALLY";
|
|
1700
1704
|
ReservationStatus2["RESERVATION_EXPIRED"] = "RESERVATION_EXPIRED";
|
|
1705
|
+
ReservationStatus2["RESERVATION_PREVIEW"] = "RESERVATION_PREVIEW";
|
|
1701
1706
|
return ReservationStatus2;
|
|
1702
1707
|
})(ReservationStatus || {});
|
|
1703
1708
|
var State = /* @__PURE__ */ ((State2) => {
|