Merged in feat/sw-1975-get-profile-v2 (pull request #1651)

Use get Profile V2 endpoint

Approved-by: Linus Flood
This commit is contained in:
Anton Gunnarsson
2025-04-08 06:26:00 +00:00
parent d282437a3d
commit c56a0b8ce9
18 changed files with 208 additions and 168 deletions

View File

@@ -207,6 +207,18 @@ export namespace endpoints {
}
}
}
export namespace v2 {
const version = "v2"
/**
* profile (Swagger)
* https://tstapi.scandichotels.com/profile/swagger/v2/index.html
*/
export namespace Profile {
export const profile = `${base.path.profile}/${version}/${base.enitity.Profile}`
}
}
}
export type Endpoint = string