event-booking-api
v1.0.21
Published
Package for easy access to Event App API
Downloads
3
Readme
hubs101-booking-api-skd-client
API
getPublicTicketDetails({baseUrl, id, access})
baseUrl
(string
, required)id
(string
, required)access
(string
, required)- returns
Promise<BookingDetails>
assignTicketTo({baseUrl, id, access, reference, assignee})
baseUrl
(string
, required)id
(string
, required)access
(string
, required)reference
(string
, required)assignee
(AssigneeInput
, required)- returns
Promise<Booking>
getPublicEvents({baseUrl, page, slug, language})
baseUrl
(string
, required)page
(string
)slug
(string
)language
(string
, required)- returns
Promise<Array<PublicEvent>>
getPublicTickets({baseUrl, page, ticketCode, eventSlug, language})
baseUrl
(string
, required)page
(string
)ticketCode
(string
)eventSlug
(string
)language
(string
, required)- returns
Promise<ResponsePaginationType<unknown>>
getTicketByCode({baseUrl, code})
baseUrl
(string
, required)code
(string
, required)- returns
Promise<ResponsePaginationType<unknown>>
getTicketById({baseUrl, id})
baseUrl
(string
, required)id
(string
, required)- returns
Promise<{tickets: unknown}>
getParamsTicket({baseUrl, params})
baseUrl
(string
, required)params
(string
, required)- returns
Promise<Ticket>
checkDiscountTicket({baseUrl, ticketsIds, discountCode, language})
baseUrl
(string
, required)ticketsIds
(string[]
, required)discountCode
(string
, required)language
(string
, required)- returns
Promise<{discount:any}>
getPublicPaymentMethods({baseUrl, id, language})
baseUrl
(string
, required)id
(string
, required)language
(string
, required)- returns
Promise<ResponsePaginationType<unknown>>
postPublicBookingsCheck({baseUrl, bookingCheck, language})
baseUrl
(string
, required)bookingCheck
(PublicBookingsCheckInput
, required)language
(string
, required)- returns
Promise<ResponsePaginationType<unknown>>
postPublicBookings({baseUrl, bookingCheck, language})
baseUrl
(string
, required)bookingCheck
(PublicBookingsCheckInput
, required)language
(string
, required)- returns
Promise<ResponsePaginationType<unknown>>