duffelhq / duffel-api-javascript

JavaScript client library for the Duffel API

Home Page:https://duffel.com/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`Airline` interface is missing `conditions_of_carriage_url` field

Tom-Carpendale opened this issue · comments

The docs specify a field called conditions_of_carriage_url on the Airline object, but this is not present in the TypeScript types:

/**
* Airlines are used to identify the air travel companies selling and operating flights
* @link https://duffel.com/docs/api/airlines/schema
*/
export interface Airline {
/**
* The three-character IATA code for the airline
*/
name: string
/**
* Duffel's unique identifier for the airline
*/
id: string
/*
* The two-character IATA code for the airline. This may be null for non-IATA carriers.
*/
iata_code: string
/*
* Path to a svg of the airline lockup logo. A lockup logo is also called a combination logo, in which it combines the logotype and logomark. This may be `null` if no logo is available.
*/
logo_lockup_url?: string
/*
* Path to a svg of the airline logo. This may be `null` if no logo is available.
*/
logo_symbol_url?: string
}

Thank you for reporting! I've created PR to fix it here: #879