@wix/auto_sdk_events_tickets 1.0.28 → 1.0.30
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/meta.d.ts +360 -2
- package/build/cjs/meta.js +69 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/meta.d.mts +360 -2
- package/build/es/meta.mjs +63 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/meta.d.ts +360 -2
- package/build/internal/cjs/meta.js +69 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/meta.d.mts +360 -2
- package/build/internal/es/meta.mjs +63 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
package/build/cjs/meta.d.ts
CHANGED
|
@@ -171,6 +171,85 @@ interface InputValue {
|
|
|
171
171
|
*/
|
|
172
172
|
values?: string[];
|
|
173
173
|
}
|
|
174
|
+
interface FormattedAddress {
|
|
175
|
+
/**
|
|
176
|
+
* 1-line address representation.
|
|
177
|
+
* @maxLength 200
|
|
178
|
+
*/
|
|
179
|
+
formatted?: string;
|
|
180
|
+
/** Address components. */
|
|
181
|
+
address?: Address;
|
|
182
|
+
}
|
|
183
|
+
/** Physical address */
|
|
184
|
+
interface Address extends AddressStreetOneOf {
|
|
185
|
+
/** Street name and number. */
|
|
186
|
+
streetAddress?: StreetAddress;
|
|
187
|
+
/** Main address line, usually street and number as free text. */
|
|
188
|
+
addressLine?: string | null;
|
|
189
|
+
/**
|
|
190
|
+
* Country code.
|
|
191
|
+
* @format COUNTRY
|
|
192
|
+
*/
|
|
193
|
+
country?: string | null;
|
|
194
|
+
/** Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY */
|
|
195
|
+
subdivision?: string | null;
|
|
196
|
+
/** City name. */
|
|
197
|
+
city?: string | null;
|
|
198
|
+
/** Zip/postal code. */
|
|
199
|
+
postalCode?: string | null;
|
|
200
|
+
/** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
|
|
201
|
+
addressLine2?: string | null;
|
|
202
|
+
}
|
|
203
|
+
/** @oneof */
|
|
204
|
+
interface AddressStreetOneOf {
|
|
205
|
+
/** Street name and number. */
|
|
206
|
+
streetAddress?: StreetAddress;
|
|
207
|
+
/** Main address line, usually street and number as free text. */
|
|
208
|
+
addressLine?: string | null;
|
|
209
|
+
}
|
|
210
|
+
interface StreetAddress {
|
|
211
|
+
/** Street number. */
|
|
212
|
+
number?: string;
|
|
213
|
+
/** Street name. */
|
|
214
|
+
name?: string;
|
|
215
|
+
}
|
|
216
|
+
interface AddressLocation {
|
|
217
|
+
/** Address latitude. */
|
|
218
|
+
latitude?: number | null;
|
|
219
|
+
/** Address longitude. */
|
|
220
|
+
longitude?: number | null;
|
|
221
|
+
}
|
|
222
|
+
interface Subdivision {
|
|
223
|
+
/** Short subdivision code. */
|
|
224
|
+
code?: string;
|
|
225
|
+
/** Subdivision full name. */
|
|
226
|
+
name?: string;
|
|
227
|
+
}
|
|
228
|
+
declare enum SubdivisionType {
|
|
229
|
+
UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
|
|
230
|
+
/** State */
|
|
231
|
+
ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
|
|
232
|
+
/** County */
|
|
233
|
+
ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
|
|
234
|
+
/** City/town */
|
|
235
|
+
ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
|
|
236
|
+
/** Neighborhood/quarter */
|
|
237
|
+
ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
|
|
238
|
+
/** Street/block */
|
|
239
|
+
ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
|
|
240
|
+
/** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
|
|
241
|
+
COUNTRY = "COUNTRY"
|
|
242
|
+
}
|
|
243
|
+
/** @enumType */
|
|
244
|
+
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';
|
|
245
|
+
/** Subdivision Concordance values */
|
|
246
|
+
interface StandardDetails {
|
|
247
|
+
/**
|
|
248
|
+
* 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
|
|
249
|
+
* @maxLength 20
|
|
250
|
+
*/
|
|
251
|
+
iso31662?: string | null;
|
|
252
|
+
}
|
|
174
253
|
declare enum ChannelType {
|
|
175
254
|
/** Buyer created the order via an online channel, such as a website or mobile app. */
|
|
176
255
|
ONLINE = "ONLINE",
|
|
@@ -179,6 +258,68 @@ declare enum ChannelType {
|
|
|
179
258
|
}
|
|
180
259
|
/** @enumType */
|
|
181
260
|
type ChannelTypeWithLiterals = ChannelType | 'ONLINE' | 'OFFLINE_POS';
|
|
261
|
+
interface TicketDetails {
|
|
262
|
+
/**
|
|
263
|
+
* Unique seat ID in the event venue.
|
|
264
|
+
* @minLength 1
|
|
265
|
+
* @maxLength 36
|
|
266
|
+
*/
|
|
267
|
+
seatId?: string | null;
|
|
268
|
+
/**
|
|
269
|
+
* Section label.
|
|
270
|
+
* @readonly
|
|
271
|
+
*/
|
|
272
|
+
sectionLabel?: string | null;
|
|
273
|
+
/**
|
|
274
|
+
* Area label.
|
|
275
|
+
* @readonly
|
|
276
|
+
*/
|
|
277
|
+
areaLabel?: string | null;
|
|
278
|
+
/**
|
|
279
|
+
* Table label.
|
|
280
|
+
* @readonly
|
|
281
|
+
*/
|
|
282
|
+
tableLabel?: string | null;
|
|
283
|
+
/**
|
|
284
|
+
* Row label.
|
|
285
|
+
* @readonly
|
|
286
|
+
*/
|
|
287
|
+
rowLabel?: string | null;
|
|
288
|
+
/**
|
|
289
|
+
* Seat label in a row or table.
|
|
290
|
+
* @readonly
|
|
291
|
+
*/
|
|
292
|
+
seatLabel?: string | null;
|
|
293
|
+
/**
|
|
294
|
+
* Seating plan ID.
|
|
295
|
+
* @format GUID
|
|
296
|
+
* @readonly
|
|
297
|
+
*/
|
|
298
|
+
planId?: string | null;
|
|
299
|
+
/**
|
|
300
|
+
* Number of places in the spot.
|
|
301
|
+
*
|
|
302
|
+
* Default: `1`.
|
|
303
|
+
* @min 1
|
|
304
|
+
* @max 50
|
|
305
|
+
*/
|
|
306
|
+
capacity?: number | null;
|
|
307
|
+
/**
|
|
308
|
+
* Custom price of a ticket.
|
|
309
|
+
* @format DECIMAL_VALUE
|
|
310
|
+
*/
|
|
311
|
+
priceOverride?: string | null;
|
|
312
|
+
/**
|
|
313
|
+
* Pricing option ID.
|
|
314
|
+
* @format GUID
|
|
315
|
+
*/
|
|
316
|
+
pricingOptionId?: string | null;
|
|
317
|
+
/**
|
|
318
|
+
* Pricing option name.
|
|
319
|
+
* @readonly
|
|
320
|
+
*/
|
|
321
|
+
pricingOptionName?: string | null;
|
|
322
|
+
}
|
|
182
323
|
interface ListTicketsRequest {
|
|
183
324
|
/**
|
|
184
325
|
* Event IDs to which the tickets belong.
|
|
@@ -233,7 +374,7 @@ interface ListTicketsRequest {
|
|
|
233
374
|
*/
|
|
234
375
|
memberId?: string[];
|
|
235
376
|
/**
|
|
236
|
-
* Filter facets. For supported facets, see Events Schema for Wix Search
|
|
377
|
+
* Filter facets. For supported facets, see [Events Schema for Wix Search](https://dev.wix.com/docs/api-reference/business-solutions/events/events-schema-for-wix-search).
|
|
237
378
|
* @maxLength 100
|
|
238
379
|
* @maxSize 20
|
|
239
380
|
*/
|
|
@@ -313,6 +454,20 @@ interface FacetCounts {
|
|
|
313
454
|
/** Facet counts aggregated per value. */
|
|
314
455
|
counts?: Record<string, number>;
|
|
315
456
|
}
|
|
457
|
+
interface TicketFacets {
|
|
458
|
+
/** Filter facets. */
|
|
459
|
+
facets?: Record<string, TicketFacetCounts>;
|
|
460
|
+
}
|
|
461
|
+
interface TicketFacetCounts {
|
|
462
|
+
/** Facet totals, aggregated per filter. */
|
|
463
|
+
counts?: Record<string, Counts>;
|
|
464
|
+
}
|
|
465
|
+
interface Counts {
|
|
466
|
+
/** Number of tickets. */
|
|
467
|
+
count?: number;
|
|
468
|
+
/** Number of checked in tickets. */
|
|
469
|
+
checkedIn?: number;
|
|
470
|
+
}
|
|
316
471
|
interface GetTicketRequest {
|
|
317
472
|
/**
|
|
318
473
|
* Event ID to which the ticket belongs.
|
|
@@ -353,6 +508,126 @@ interface CheckInTicketResponse {
|
|
|
353
508
|
/** Updated tickets. */
|
|
354
509
|
tickets?: TicketingTicket[];
|
|
355
510
|
}
|
|
511
|
+
/** Triggered when an order is updated. */
|
|
512
|
+
interface OrderUpdated {
|
|
513
|
+
/** Date and time the order was updated. */
|
|
514
|
+
timestamp?: Date | null;
|
|
515
|
+
/**
|
|
516
|
+
* Site language when the order was initiated.
|
|
517
|
+
* @format LANGUAGE
|
|
518
|
+
*/
|
|
519
|
+
language?: string | null;
|
|
520
|
+
/**
|
|
521
|
+
* Locale in which the order was created.
|
|
522
|
+
* @format LANGUAGE_TAG
|
|
523
|
+
*/
|
|
524
|
+
locale?: string | null;
|
|
525
|
+
/**
|
|
526
|
+
* Event ID to which the order belongs.
|
|
527
|
+
* @format GUID
|
|
528
|
+
*/
|
|
529
|
+
eventId?: string;
|
|
530
|
+
/** Unique order number. */
|
|
531
|
+
orderNumber?: string;
|
|
532
|
+
/** Contact ID associated with the order. */
|
|
533
|
+
contactId?: string;
|
|
534
|
+
/**
|
|
535
|
+
* Member ID associated with the order.
|
|
536
|
+
* @format GUID
|
|
537
|
+
*/
|
|
538
|
+
memberId?: string | null;
|
|
539
|
+
/**
|
|
540
|
+
* Date and time the order was created.
|
|
541
|
+
* @readonly
|
|
542
|
+
*/
|
|
543
|
+
created?: Date | null;
|
|
544
|
+
/**
|
|
545
|
+
* Date and time the order was updated.
|
|
546
|
+
* @readonly
|
|
547
|
+
*/
|
|
548
|
+
updated?: Date | null;
|
|
549
|
+
/** Buyer first name. */
|
|
550
|
+
firstName?: string;
|
|
551
|
+
/** Buyer last name. */
|
|
552
|
+
lastName?: string;
|
|
553
|
+
/** Buyer email. */
|
|
554
|
+
email?: string;
|
|
555
|
+
/** Checkout form response. */
|
|
556
|
+
checkoutForm?: FormResponse;
|
|
557
|
+
/** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */
|
|
558
|
+
confirmed?: boolean;
|
|
559
|
+
/** Order status. */
|
|
560
|
+
status?: OrderStatusWithLiterals;
|
|
561
|
+
/** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
|
|
562
|
+
method?: string | null;
|
|
563
|
+
/** Tickets generated after payment. */
|
|
564
|
+
tickets?: Ticket[];
|
|
565
|
+
/** Whether order was archived and excluded from results. */
|
|
566
|
+
archived?: boolean;
|
|
567
|
+
/** Whether event was triggered by GDPR delete request. */
|
|
568
|
+
triggeredByAnonymizeRequest?: boolean;
|
|
569
|
+
}
|
|
570
|
+
interface Ticket {
|
|
571
|
+
/** Unique issued ticket number. */
|
|
572
|
+
ticketNumber?: string;
|
|
573
|
+
/**
|
|
574
|
+
* Ticket definition ID.
|
|
575
|
+
* @format GUID
|
|
576
|
+
*/
|
|
577
|
+
ticketDefinitionId?: string;
|
|
578
|
+
/** Ticket check-in. */
|
|
579
|
+
checkIn?: CheckIn;
|
|
580
|
+
/** Ticket price. */
|
|
581
|
+
price?: Money;
|
|
582
|
+
/** Whether ticket is archived. */
|
|
583
|
+
archived?: boolean;
|
|
584
|
+
/** Guest first name. */
|
|
585
|
+
firstName?: string | null;
|
|
586
|
+
/** Guest last name. */
|
|
587
|
+
lastName?: string | null;
|
|
588
|
+
/** Guest email. */
|
|
589
|
+
email?: string | null;
|
|
590
|
+
/**
|
|
591
|
+
* Contact ID associated with this ticket.
|
|
592
|
+
* @format GUID
|
|
593
|
+
*/
|
|
594
|
+
contactId?: string | null;
|
|
595
|
+
/** Whether ticket is confirmed */
|
|
596
|
+
confirmed?: boolean;
|
|
597
|
+
/**
|
|
598
|
+
* Member ID associated with this ticket.
|
|
599
|
+
* @format GUID
|
|
600
|
+
*/
|
|
601
|
+
memberId?: string | null;
|
|
602
|
+
/** Ticket form response (only assigned tickets contain separate forms). */
|
|
603
|
+
form?: FormResponse;
|
|
604
|
+
/** Ticket name. */
|
|
605
|
+
ticketName?: string;
|
|
606
|
+
/** Anonymized tickets no longer contain personally identifiable information (PII). */
|
|
607
|
+
anonymized?: boolean;
|
|
608
|
+
/** URL and password to online conference */
|
|
609
|
+
onlineConferencingLogin?: OnlineConferencingLogin;
|
|
610
|
+
/**
|
|
611
|
+
* Seat ID associated with this ticket.
|
|
612
|
+
* @maxLength 36
|
|
613
|
+
*/
|
|
614
|
+
seatId?: string | null;
|
|
615
|
+
/** Whether ticket is canceled. */
|
|
616
|
+
canceled?: boolean | null;
|
|
617
|
+
}
|
|
618
|
+
interface OnlineConferencingLogin {
|
|
619
|
+
/**
|
|
620
|
+
* Link URL to the online conference.
|
|
621
|
+
* @format WEB_URL
|
|
622
|
+
* @readonly
|
|
623
|
+
*/
|
|
624
|
+
link?: string;
|
|
625
|
+
/**
|
|
626
|
+
* Password for the online conference.
|
|
627
|
+
* @readonly
|
|
628
|
+
*/
|
|
629
|
+
password?: string | null;
|
|
630
|
+
}
|
|
356
631
|
interface DeleteTicketCheckInRequest {
|
|
357
632
|
/**
|
|
358
633
|
* Event ID to which the ticket belongs.
|
|
@@ -430,6 +705,89 @@ interface BulkUpdateTicketsResponse {
|
|
|
430
705
|
/** Updated tickets. */
|
|
431
706
|
tickets?: TicketingTicket[];
|
|
432
707
|
}
|
|
708
|
+
interface GetDemoTicketRequest {
|
|
709
|
+
/**
|
|
710
|
+
* Ticket definition ID.
|
|
711
|
+
* @format GUID
|
|
712
|
+
*/
|
|
713
|
+
definitionId?: string;
|
|
714
|
+
}
|
|
715
|
+
interface GetDemoTicketResponse {
|
|
716
|
+
/** Ticket. */
|
|
717
|
+
ticket?: TicketingTicket;
|
|
718
|
+
}
|
|
719
|
+
interface MessageEnvelope {
|
|
720
|
+
/**
|
|
721
|
+
* App instance ID.
|
|
722
|
+
* @format GUID
|
|
723
|
+
*/
|
|
724
|
+
instanceId?: string | null;
|
|
725
|
+
/**
|
|
726
|
+
* Event type.
|
|
727
|
+
* @maxLength 150
|
|
728
|
+
*/
|
|
729
|
+
eventType?: string;
|
|
730
|
+
/** The identification type and identity data. */
|
|
731
|
+
identity?: IdentificationData;
|
|
732
|
+
/** Stringify payload. */
|
|
733
|
+
data?: string;
|
|
734
|
+
}
|
|
735
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
736
|
+
/**
|
|
737
|
+
* ID of a site visitor that has not logged in to the site.
|
|
738
|
+
* @format GUID
|
|
739
|
+
*/
|
|
740
|
+
anonymousVisitorId?: string;
|
|
741
|
+
/**
|
|
742
|
+
* ID of a site visitor that has logged in to the site.
|
|
743
|
+
* @format GUID
|
|
744
|
+
*/
|
|
745
|
+
memberId?: string;
|
|
746
|
+
/**
|
|
747
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
748
|
+
* @format GUID
|
|
749
|
+
*/
|
|
750
|
+
wixUserId?: string;
|
|
751
|
+
/**
|
|
752
|
+
* ID of an app.
|
|
753
|
+
* @format GUID
|
|
754
|
+
*/
|
|
755
|
+
appId?: string;
|
|
756
|
+
/** @readonly */
|
|
757
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
758
|
+
}
|
|
759
|
+
/** @oneof */
|
|
760
|
+
interface IdentificationDataIdOneOf {
|
|
761
|
+
/**
|
|
762
|
+
* ID of a site visitor that has not logged in to the site.
|
|
763
|
+
* @format GUID
|
|
764
|
+
*/
|
|
765
|
+
anonymousVisitorId?: string;
|
|
766
|
+
/**
|
|
767
|
+
* ID of a site visitor that has logged in to the site.
|
|
768
|
+
* @format GUID
|
|
769
|
+
*/
|
|
770
|
+
memberId?: string;
|
|
771
|
+
/**
|
|
772
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
773
|
+
* @format GUID
|
|
774
|
+
*/
|
|
775
|
+
wixUserId?: string;
|
|
776
|
+
/**
|
|
777
|
+
* ID of an app.
|
|
778
|
+
* @format GUID
|
|
779
|
+
*/
|
|
780
|
+
appId?: string;
|
|
781
|
+
}
|
|
782
|
+
declare enum WebhookIdentityType {
|
|
783
|
+
UNKNOWN = "UNKNOWN",
|
|
784
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
785
|
+
MEMBER = "MEMBER",
|
|
786
|
+
WIX_USER = "WIX_USER",
|
|
787
|
+
APP = "APP"
|
|
788
|
+
}
|
|
789
|
+
/** @enumType */
|
|
790
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
433
791
|
|
|
434
792
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
435
793
|
getUrl: (context: any) => string;
|
|
@@ -458,4 +816,4 @@ declare function bulkUpdateTickets(): __PublicMethodMetaInfo<'PATCH', {
|
|
|
458
816
|
eventId: string;
|
|
459
817
|
}, BulkUpdateTicketsRequest$1, BulkUpdateTicketsRequest, BulkUpdateTicketsResponse$1, BulkUpdateTicketsResponse>;
|
|
460
818
|
|
|
461
|
-
export { type __PublicMethodMetaInfo, bulkUpdateTickets, checkInTickets, deleteTicketCheckIns, getTicket, listTickets, updateTicket };
|
|
819
|
+
export { type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, type BulkUpdateTicketsRequest as BulkUpdateTicketsRequestOriginal, type BulkUpdateTicketsResponse as BulkUpdateTicketsResponseOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, type CheckIn as CheckInOriginal, type CheckInTicketRequest as CheckInTicketRequestOriginal, type CheckInTicketResponse as CheckInTicketResponseOriginal, type Counts as CountsOriginal, type DeleteTicketCheckInRequest as DeleteTicketCheckInRequestOriginal, type DeleteTicketCheckInResponse as DeleteTicketCheckInResponseOriginal, type FacetCounts as FacetCountsOriginal, type FormResponse as FormResponseOriginal, type FormattedAddress as FormattedAddressOriginal, type GetDemoTicketRequest as GetDemoTicketRequestOriginal, type GetDemoTicketResponse as GetDemoTicketResponseOriginal, type GetTicketRequest as GetTicketRequestOriginal, type GetTicketResponse as GetTicketResponseOriginal, type GuestDetails as GuestDetailsOriginal, type GuestDetailsUpdate as GuestDetailsUpdateOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InputValue as InputValueOriginal, type ListTicketsRequest as ListTicketsRequestOriginal, type ListTicketsResponse as ListTicketsResponseOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Money as MoneyOriginal, type OnlineConferencingLogin as OnlineConferencingLoginOriginal, OrderStatus as OrderStatusOriginal, type OrderStatusWithLiterals as OrderStatusWithLiteralsOriginal, type OrderUpdated as OrderUpdatedOriginal, type StandardDetails as StandardDetailsOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type Subdivision as SubdivisionOriginal, SubdivisionType as SubdivisionTypeOriginal, type SubdivisionTypeWithLiterals as SubdivisionTypeWithLiteralsOriginal, type TicketDetails as TicketDetailsOriginal, type TicketFacetCounts as TicketFacetCountsOriginal, type TicketFacets as TicketFacetsOriginal, TicketFieldset as TicketFieldsetOriginal, type TicketFieldsetWithLiterals as TicketFieldsetWithLiteralsOriginal, type Ticket as TicketOriginal, type TicketingTicket as TicketingTicketOriginal, type UpdateTicketRequest as UpdateTicketRequestOriginal, type UpdateTicketResponse as UpdateTicketResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkUpdateTickets, checkInTickets, deleteTicketCheckIns, getTicket, listTickets, updateTicket };
|
package/build/cjs/meta.js
CHANGED
|
@@ -20,6 +20,12 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// meta.ts
|
|
21
21
|
var meta_exports = {};
|
|
22
22
|
__export(meta_exports, {
|
|
23
|
+
ChannelTypeOriginal: () => ChannelType,
|
|
24
|
+
OrderStatusOriginal: () => OrderStatus,
|
|
25
|
+
StateOriginal: () => State,
|
|
26
|
+
SubdivisionTypeOriginal: () => SubdivisionType,
|
|
27
|
+
TicketFieldsetOriginal: () => TicketFieldset,
|
|
28
|
+
WebhookIdentityTypeOriginal: () => WebhookIdentityType,
|
|
23
29
|
bulkUpdateTickets: () => bulkUpdateTickets2,
|
|
24
30
|
checkInTickets: () => checkInTickets,
|
|
25
31
|
deleteTicketCheckIns: () => deleteTicketCheckIns,
|
|
@@ -824,6 +830,63 @@ function bulkUpdateTickets(payload) {
|
|
|
824
830
|
return __bulkUpdateTickets;
|
|
825
831
|
}
|
|
826
832
|
|
|
833
|
+
// src/events-v1-ticket-tickets.types.ts
|
|
834
|
+
var OrderStatus = /* @__PURE__ */ ((OrderStatus2) => {
|
|
835
|
+
OrderStatus2["NA_ORDER_STATUS"] = "NA_ORDER_STATUS";
|
|
836
|
+
OrderStatus2["FREE"] = "FREE";
|
|
837
|
+
OrderStatus2["PENDING"] = "PENDING";
|
|
838
|
+
OrderStatus2["PAID"] = "PAID";
|
|
839
|
+
OrderStatus2["OFFLINE_PENDING"] = "OFFLINE_PENDING";
|
|
840
|
+
OrderStatus2["INITIATED"] = "INITIATED";
|
|
841
|
+
OrderStatus2["CANCELED"] = "CANCELED";
|
|
842
|
+
OrderStatus2["DECLINED"] = "DECLINED";
|
|
843
|
+
OrderStatus2["AUTHORIZED"] = "AUTHORIZED";
|
|
844
|
+
OrderStatus2["VOIDED"] = "VOIDED";
|
|
845
|
+
OrderStatus2["PARTIALLY_PAID"] = "PARTIALLY_PAID";
|
|
846
|
+
return OrderStatus2;
|
|
847
|
+
})(OrderStatus || {});
|
|
848
|
+
var SubdivisionType = /* @__PURE__ */ ((SubdivisionType2) => {
|
|
849
|
+
SubdivisionType2["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
|
|
850
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
|
|
851
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_2"] = "ADMINISTRATIVE_AREA_LEVEL_2";
|
|
852
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_3"] = "ADMINISTRATIVE_AREA_LEVEL_3";
|
|
853
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_4"] = "ADMINISTRATIVE_AREA_LEVEL_4";
|
|
854
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_5"] = "ADMINISTRATIVE_AREA_LEVEL_5";
|
|
855
|
+
SubdivisionType2["COUNTRY"] = "COUNTRY";
|
|
856
|
+
return SubdivisionType2;
|
|
857
|
+
})(SubdivisionType || {});
|
|
858
|
+
var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
859
|
+
ChannelType2["ONLINE"] = "ONLINE";
|
|
860
|
+
ChannelType2["OFFLINE_POS"] = "OFFLINE_POS";
|
|
861
|
+
return ChannelType2;
|
|
862
|
+
})(ChannelType || {});
|
|
863
|
+
var TicketFieldset = /* @__PURE__ */ ((TicketFieldset2) => {
|
|
864
|
+
TicketFieldset2["GUEST_DETAILS"] = "GUEST_DETAILS";
|
|
865
|
+
TicketFieldset2["TICKET_DETAILS"] = "TICKET_DETAILS";
|
|
866
|
+
TicketFieldset2["GUEST_FORM"] = "GUEST_FORM";
|
|
867
|
+
return TicketFieldset2;
|
|
868
|
+
})(TicketFieldset || {});
|
|
869
|
+
var State = /* @__PURE__ */ ((State2) => {
|
|
870
|
+
State2["ORDER_ARCHIVED"] = "ORDER_ARCHIVED";
|
|
871
|
+
State2["ORDER_ACTIVE"] = "ORDER_ACTIVE";
|
|
872
|
+
State2["TICKET_ARCHIVED"] = "TICKET_ARCHIVED";
|
|
873
|
+
State2["TICKET_ACTIVE"] = "TICKET_ACTIVE";
|
|
874
|
+
State2["CHECKED_IN"] = "CHECKED_IN";
|
|
875
|
+
State2["NON_CHECKED_IN"] = "NON_CHECKED_IN";
|
|
876
|
+
State2["FREE"] = "FREE";
|
|
877
|
+
State2["PAID"] = "PAID";
|
|
878
|
+
State2["MEMBER"] = "MEMBER";
|
|
879
|
+
return State2;
|
|
880
|
+
})(State || {});
|
|
881
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
882
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
883
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
884
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
885
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
886
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
887
|
+
return WebhookIdentityType2;
|
|
888
|
+
})(WebhookIdentityType || {});
|
|
889
|
+
|
|
827
890
|
// src/events-v1-ticket-tickets.meta.ts
|
|
828
891
|
function listTickets2() {
|
|
829
892
|
const payload = { eventId: ":eventId" };
|
|
@@ -935,6 +998,12 @@ function bulkUpdateTickets2() {
|
|
|
935
998
|
}
|
|
936
999
|
// Annotate the CommonJS export names for ESM import in node:
|
|
937
1000
|
0 && (module.exports = {
|
|
1001
|
+
ChannelTypeOriginal,
|
|
1002
|
+
OrderStatusOriginal,
|
|
1003
|
+
StateOriginal,
|
|
1004
|
+
SubdivisionTypeOriginal,
|
|
1005
|
+
TicketFieldsetOriginal,
|
|
1006
|
+
WebhookIdentityTypeOriginal,
|
|
938
1007
|
bulkUpdateTickets,
|
|
939
1008
|
checkInTickets,
|
|
940
1009
|
deleteTicketCheckIns,
|