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

Missing `PassengerTitle` enum values

Tom-Carpendale opened this issue · comments

The docs specify 5 possible values for PassengerTitle, but the typescript types represent 3 of them in upper and lowercase, and miss the other 2:

/**
* The passenger's title
*/
export type DuffelPassengerTitle = 'mr' | 'ms' | 'mrs' | 'MR' | 'MS' | 'MRS'

Hi @Tom-Carpendale , this should be fixed now after this PR: #887
If you see any issues with it please let us know. Feel free to also submit PRs in the future if it's a simple fix :)