Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airline interface is missing conditions_of_carriage_url field #878

Closed
Tom-Carpendale opened this issue Jan 30, 2024 · 1 comment
Closed

Comments

@Tom-Carpendale
Copy link

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
}

@andrejak
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants