Skip to content

Commit

Permalink
Add LinkedCustomers to tour cache departures
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoAdamek committed Aug 1, 2024
1 parent 60990db commit 52c309f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tigerbay",
"version": "1.0.0-beta.6",
"version": "1.0.0-beta.7",
"description": "API Client library for TigerBay",
"main": "lib/client.js",
"type": "commonjs",
Expand Down
8 changes: 8 additions & 0 deletions src/models/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,13 @@ export interface Departure {
IsCancelled: boolean
Ttl: number
FlightGroups: FlightGroup[]
LinkedCustomer: DepartureLinkedCutomer[]
}

export interface DepartureLinkedCutomer {
Id: number
Title: string
Forename: string
Surname: string
Type: string
}

0 comments on commit 52c309f

Please sign in to comment.