diff --git a/src/booking/AirlineInitiatedChanges/AirlineInitiatedChangesTypes.ts b/src/booking/AirlineInitiatedChanges/AirlineInitiatedChangesTypes.ts index 37b36f49..dbc0c500 100644 --- a/src/booking/AirlineInitiatedChanges/AirlineInitiatedChangesTypes.ts +++ b/src/booking/AirlineInitiatedChanges/AirlineInitiatedChangesTypes.ts @@ -11,6 +11,13 @@ export type AirlineInitiatedChangeAvailableAction = | 'change' | 'update' +export interface TravelAgentTicket { + id: string + external_ticket_id: string +} + +type EmptyObject = Record + export interface AirlineInitiatedChange { /** * The action taken in response to this airline-initiated change. Accepted, @@ -66,7 +73,7 @@ export interface AirlineInitiatedChange { * Change. This value will be present for Airline-Initiated changes that take * some time to be processed. */ - travel_agent_ticket: any | null + travel_agent_ticket: TravelAgentTicket | EmptyObject | null /** * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which