feat: update getHotel to use real hotel api endpoint, support for service tokens, type modifications

This commit is contained in:
Chuma McPhoy
2024-07-24 14:27:17 +02:00
parent 7393347f99
commit 1ff6cd267d
14 changed files with 195 additions and 89 deletions

6
types/tokens.ts Normal file
View File

@@ -0,0 +1,6 @@
export interface ServiceTokenResponse {
access_token: string
scope?: string
token_type: string
expires_in: number
}