DONE: queue management for customer side to get queue number, add logo to teller display, advertisement module
This commit is contained in:
@@ -80,3 +80,9 @@ export function createTicket(input: {
|
||||
export function getTicketById(ticketId: number | string) {
|
||||
return request<Ticket>(`/api/v1/tickets/${ticketId}`);
|
||||
}
|
||||
|
||||
export function getTicketsForDevice(deviceToken: string) {
|
||||
return request<TicketResponse[]>(
|
||||
`/api/v1/tickets/devices/${encodeURIComponent(deviceToken)}`
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user