@wix/auto_sdk_events_tickets 1.0.31 → 1.0.33
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.d.ts +8 -7
- package/build/cjs/index.js +238 -355
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +27 -37
- package/build/cjs/index.typings.js +232 -347
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +6 -12
- package/build/cjs/meta.js +206 -321
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +8 -7
- package/build/es/index.mjs +238 -355
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +27 -37
- package/build/es/index.typings.mjs +232 -347
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +6 -12
- package/build/es/meta.mjs +206 -321
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +8 -7
- package/build/internal/cjs/index.js +238 -355
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +27 -37
- package/build/internal/cjs/index.typings.js +232 -347
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +6 -12
- package/build/internal/cjs/meta.js +206 -321
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +8 -7
- package/build/internal/es/index.mjs +238 -355
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +27 -37
- package/build/internal/es/index.typings.mjs +232 -347
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +6 -12
- package/build/internal/es/meta.mjs +206 -321
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -334,7 +334,7 @@ interface ListTicketsRequest {
|
|
|
334
334
|
* Event IDs to which the tickets belong.
|
|
335
335
|
* @format GUID
|
|
336
336
|
*/
|
|
337
|
-
eventId
|
|
337
|
+
eventId?: string[];
|
|
338
338
|
/** Offset. See [Pagination](/wix-events-v2/pagination). */
|
|
339
339
|
offset?: number;
|
|
340
340
|
/**
|
|
@@ -496,7 +496,7 @@ interface GetTicketRequest {
|
|
|
496
496
|
* Event ID to which the ticket belongs.
|
|
497
497
|
* @format GUID
|
|
498
498
|
*/
|
|
499
|
-
eventId
|
|
499
|
+
eventId?: string;
|
|
500
500
|
/**
|
|
501
501
|
* A unique ticket number which is assigned automatically when creating a ticket.
|
|
502
502
|
* @maxLength 36
|
|
@@ -680,7 +680,7 @@ interface UpdateTicketRequest {
|
|
|
680
680
|
* Event ID to which the ticket belongs.
|
|
681
681
|
* @format GUID
|
|
682
682
|
*/
|
|
683
|
-
eventId
|
|
683
|
+
eventId?: string;
|
|
684
684
|
/**
|
|
685
685
|
* A unique ticket number which is assigned automatically when creating a ticket.
|
|
686
686
|
* @minLength 1
|
|
@@ -711,7 +711,7 @@ interface BulkUpdateTicketsRequest {
|
|
|
711
711
|
* Event ID to which the ticket belongs.
|
|
712
712
|
* @format GUID
|
|
713
713
|
*/
|
|
714
|
-
eventId
|
|
714
|
+
eventId?: string;
|
|
715
715
|
/**
|
|
716
716
|
* A unique ticket number which is assigned automatically when creating a ticket.
|
|
717
717
|
* @minLength 1
|
|
@@ -851,16 +851,19 @@ declare function onTicketOrderUpdated(handler: (event: TicketOrderUpdatedEnvelop
|
|
|
851
851
|
* <!--
|
|
852
852
|
* >**Note:** This function is restricted and only runs if you elevate permissions using the [wix-auth.elevate()](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
853
853
|
* -->
|
|
854
|
-
* @param eventId - Event IDs to which the tickets belong.
|
|
855
854
|
* @public
|
|
856
|
-
* @requiredField eventId
|
|
857
855
|
* @param options - Options for defining the returned list of tickets.
|
|
858
856
|
* @permissionId WIX_EVENTS.READ_TICKETS
|
|
859
857
|
* @applicableIdentity APP
|
|
860
858
|
* @fqn wix.events.ticketing.TicketManagement.ListTickets
|
|
861
859
|
*/
|
|
862
|
-
declare function listTickets(
|
|
860
|
+
declare function listTickets(options?: ListTicketsOptions): Promise<NonNullablePaths<ListTicketsResponse, `total` | `offset` | `limit` | `tickets` | `tickets.${number}.ticketNumber` | `tickets.${number}.orderNumber` | `tickets.${number}.ticketDefinitionId` | `tickets.${number}.name` | `tickets.${number}.price.amount` | `tickets.${number}.price.currency` | `tickets.${number}.free` | `tickets.${number}.policy` | `tickets.${number}.orderStatus` | `tickets.${number}.orderArchived` | `tickets.${number}.orderFullName` | `tickets.${number}.guestDetails.guestAssigned` | `tickets.${number}.archived` | `tickets.${number}.anonymized` | `tickets.${number}.checkInUrl` | `tickets.${number}.ticketPdfUrl` | `tickets.${number}.channel` | `tickets.${number}.walletPassUrl`, 5>>;
|
|
863
861
|
interface ListTicketsOptions {
|
|
862
|
+
/**
|
|
863
|
+
* Event IDs to which the tickets belong.
|
|
864
|
+
* @format GUID
|
|
865
|
+
*/
|
|
866
|
+
eventId?: string[];
|
|
864
867
|
/**
|
|
865
868
|
*
|
|
866
869
|
* Offset. See [Pagination](/wix-events-v2/pagination).
|
|
@@ -959,10 +962,9 @@ interface ListTicketsOptions {
|
|
|
959
962
|
}
|
|
960
963
|
/**
|
|
961
964
|
* Retrieves a ticket by the unique ticket number.
|
|
965
|
+
* @param ticketNumber - A unique ticket number which is assigned automatically when creating a ticket.
|
|
962
966
|
* @public
|
|
963
|
-
* @requiredField
|
|
964
|
-
* @requiredField identifiers.eventId
|
|
965
|
-
* @requiredField identifiers.ticketNumber
|
|
967
|
+
* @requiredField ticketNumber
|
|
966
968
|
* @param identifiers - Details for the ticket to retrieve.
|
|
967
969
|
* @param options - Options for the returned ticket data.
|
|
968
970
|
* @permissionId WIX_EVENTS.READ_TICKET_DETAILS
|
|
@@ -970,20 +972,13 @@ interface ListTicketsOptions {
|
|
|
970
972
|
* @returns Ticket.
|
|
971
973
|
* @fqn wix.events.ticketing.TicketManagement.GetTicket
|
|
972
974
|
*/
|
|
973
|
-
declare function getTicket(
|
|
974
|
-
interface
|
|
975
|
+
declare function getTicket(ticketNumber: string, options?: GetTicketOptions): Promise<NonNullablePaths<TicketingTicket, `ticketNumber` | `orderNumber` | `ticketDefinitionId` | `name` | `price.amount` | `price.currency` | `free` | `policy` | `orderStatus` | `orderArchived` | `orderFullName` | `guestDetails.guestAssigned` | `guestDetails.form.inputValues` | `guestDetails.form.inputValues.${number}.inputName` | `guestDetails.form.inputValues.${number}.value` | `archived` | `anonymized` | `checkInUrl` | `ticketPdfUrl` | `channel` | `walletPassUrl`, 6>>;
|
|
976
|
+
interface GetTicketOptions {
|
|
975
977
|
/**
|
|
976
978
|
* Event ID to which the ticket belongs.
|
|
977
979
|
* @format GUID
|
|
978
980
|
*/
|
|
979
|
-
eventId
|
|
980
|
-
/**
|
|
981
|
-
* A unique ticket number which is assigned automatically when creating a ticket.
|
|
982
|
-
* @maxLength 36
|
|
983
|
-
*/
|
|
984
|
-
ticketNumber: string;
|
|
985
|
-
}
|
|
986
|
-
interface GetTicketOptions {
|
|
981
|
+
eventId?: string;
|
|
987
982
|
/**
|
|
988
983
|
* Predefined sets of fields to return.
|
|
989
984
|
* - `TICKET_DETAILS`: Returns `ticketNumber`, `orderNumber`, `ticketDefinitionId`, `name`, `price`, `free`, `policy`, `qrCode`, `checkIn`, `orderStatus`, `orderArchived`, `archived`, `orderFullName`, `ticketPdf`, `checkInUrl` and `ticketPdfUrl`.
|
|
@@ -1039,31 +1034,22 @@ interface DeleteTicketCheckInsOptions {
|
|
|
1039
1034
|
}
|
|
1040
1035
|
/**
|
|
1041
1036
|
* Updates a ticket.
|
|
1037
|
+
* @param ticketNumber - A unique ticket number which is assigned automatically when creating a ticket.
|
|
1042
1038
|
* @public
|
|
1043
|
-
* @requiredField
|
|
1044
|
-
* @requiredField identifiers.eventId
|
|
1045
|
-
* @requiredField identifiers.ticketNumber
|
|
1039
|
+
* @requiredField ticketNumber
|
|
1046
1040
|
* @param identifiers - Details for the ticket to update.
|
|
1047
1041
|
* @param options - Ticket details to update.
|
|
1048
1042
|
* @permissionId WIX_EVENTS.MANAGE_TICKETS
|
|
1049
1043
|
* @applicableIdentity APP
|
|
1050
1044
|
* @fqn wix.events.ticketing.TicketManagement.UpdateTicket
|
|
1051
1045
|
*/
|
|
1052
|
-
declare function updateTicket(
|
|
1053
|
-
interface
|
|
1046
|
+
declare function updateTicket(ticketNumber: string, options?: UpdateTicketOptions): Promise<NonNullablePaths<UpdateTicketResponse, `ticket.ticketNumber` | `ticket.orderNumber` | `ticket.ticketDefinitionId` | `ticket.name` | `ticket.price.amount` | `ticket.price.currency` | `ticket.free` | `ticket.policy` | `ticket.orderStatus` | `ticket.orderArchived` | `ticket.orderFullName` | `ticket.guestDetails.guestAssigned` | `ticket.guestDetails.form.inputValues` | `ticket.guestDetails.form.inputValues.${number}.inputName` | `ticket.guestDetails.form.inputValues.${number}.value` | `ticket.archived` | `ticket.anonymized` | `ticket.checkInUrl` | `ticket.ticketPdfUrl` | `ticket.channel` | `ticket.walletPassUrl`, 7>>;
|
|
1047
|
+
interface UpdateTicketOptions {
|
|
1054
1048
|
/**
|
|
1055
1049
|
* Event ID to which the ticket belongs.
|
|
1056
1050
|
* @format GUID
|
|
1057
1051
|
*/
|
|
1058
|
-
eventId
|
|
1059
|
-
/**
|
|
1060
|
-
* A unique ticket number which is assigned automatically when creating a ticket.
|
|
1061
|
-
* @minLength 1
|
|
1062
|
-
* @maxLength 36
|
|
1063
|
-
*/
|
|
1064
|
-
ticketNumber: string;
|
|
1065
|
-
}
|
|
1066
|
-
interface UpdateTicketOptions {
|
|
1052
|
+
eventId?: string;
|
|
1067
1053
|
/**
|
|
1068
1054
|
* Set of field paths, specifying which parts of this resource to update.
|
|
1069
1055
|
* When `fields` is empty, the request is interpreted as a full update.
|
|
@@ -1078,15 +1064,19 @@ interface UpdateTicketOptions {
|
|
|
1078
1064
|
/**
|
|
1079
1065
|
* Archives multiple tickets.
|
|
1080
1066
|
* @public
|
|
1081
|
-
* @requiredField eventId
|
|
1082
1067
|
* @param options - Options for updating the tickets.
|
|
1083
1068
|
* @param eventId - Event ID to which the ticket belongs.
|
|
1084
1069
|
* @permissionId WIX_EVENTS.MANAGE_TICKETS
|
|
1085
1070
|
* @applicableIdentity APP
|
|
1086
1071
|
* @fqn wix.events.ticketing.TicketManagement.BulkUpdateTickets
|
|
1087
1072
|
*/
|
|
1088
|
-
declare function bulkUpdateTickets(
|
|
1073
|
+
declare function bulkUpdateTickets(options?: BulkUpdateTicketsOptions): Promise<NonNullablePaths<BulkUpdateTicketsResponse, `tickets` | `tickets.${number}.ticketNumber` | `tickets.${number}.orderNumber` | `tickets.${number}.ticketDefinitionId` | `tickets.${number}.name` | `tickets.${number}.price.amount` | `tickets.${number}.price.currency` | `tickets.${number}.free` | `tickets.${number}.policy` | `tickets.${number}.orderStatus` | `tickets.${number}.orderArchived` | `tickets.${number}.orderFullName` | `tickets.${number}.guestDetails.guestAssigned` | `tickets.${number}.archived` | `tickets.${number}.anonymized` | `tickets.${number}.checkInUrl` | `tickets.${number}.ticketPdfUrl` | `tickets.${number}.channel` | `tickets.${number}.walletPassUrl`, 5>>;
|
|
1089
1074
|
interface BulkUpdateTicketsOptions {
|
|
1075
|
+
/**
|
|
1076
|
+
* Event ID to which the ticket belongs.
|
|
1077
|
+
* @format GUID
|
|
1078
|
+
*/
|
|
1079
|
+
eventId?: string;
|
|
1090
1080
|
/**
|
|
1091
1081
|
* A unique ticket number which is assigned automatically when creating a ticket.
|
|
1092
1082
|
* @minLength 1
|
|
@@ -1099,4 +1089,4 @@ interface BulkUpdateTicketsOptions {
|
|
|
1099
1089
|
archived?: boolean;
|
|
1100
1090
|
}
|
|
1101
1091
|
|
|
1102
|
-
export { type Address, type AddressLocation, type AddressStreetOneOf, type BaseEventMetadata, type BulkUpdateTicketsOptions, type BulkUpdateTicketsRequest, type BulkUpdateTicketsResponse, ChannelType, type ChannelTypeWithLiterals, type CheckIn, type CheckInTicketRequest, type CheckInTicketResponse, type CheckInTicketsOptions, type Counts, type DeleteTicketCheckInRequest, type DeleteTicketCheckInResponse, type DeleteTicketCheckInsOptions, type FacetCounts, type FormResponse, type FormattedAddress, type GetDemoTicketRequest, type GetDemoTicketResponse, type
|
|
1092
|
+
export { type Address, type AddressLocation, type AddressStreetOneOf, type BaseEventMetadata, type BulkUpdateTicketsOptions, type BulkUpdateTicketsRequest, type BulkUpdateTicketsResponse, ChannelType, type ChannelTypeWithLiterals, type CheckIn, type CheckInTicketRequest, type CheckInTicketResponse, type CheckInTicketsOptions, type Counts, type DeleteTicketCheckInRequest, type DeleteTicketCheckInResponse, type DeleteTicketCheckInsOptions, type FacetCounts, type FormResponse, type FormattedAddress, type GetDemoTicketRequest, type GetDemoTicketResponse, type GetTicketOptions, type GetTicketRequest, type GetTicketResponse, type GuestDetails, type GuestDetailsUpdate, type IdentificationData, type IdentificationDataIdOneOf, type InputValue, type ListTicketsOptions, type ListTicketsRequest, type ListTicketsResponse, type MessageEnvelope, type Money, type OnlineConferencingLogin, OrderStatus, type OrderStatusWithLiterals, type OrderUpdated, type StandardDetails, State, type StateWithLiterals, type StreetAddress, type Subdivision, SubdivisionType, type SubdivisionTypeWithLiterals, type Ticket, type TicketDetails, type TicketFacetCounts, type TicketFacets, TicketFieldset, type TicketFieldsetWithLiterals, type TicketOrderUpdatedEnvelope, type TicketingTicket, type UpdateTicketOptions, type UpdateTicketRequest, type UpdateTicketResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkUpdateTickets, checkInTickets, deleteTicketCheckIns, getTicket, listTickets, onTicketOrderUpdated, updateTicket };
|