tag:github.com,2008:https://github.com/manpassman99/duffel-api-javascript/releases Tags from duffel-api-javascript 2022-02-15T09:06:17Z tag:github.com,2008:Repository/464683927/v1.8.0 2022-02-15T09:06:17Z v1.8.0: Merge pull request #396 from duffelhq/timrogers/order-cancellations-list <p>Merge pull request <a class="issue-link js-issue-link" href="https://github.com/duffelhq/duffel-api-javascript/pull/396">duffelhq#396</a> from duffelhq/timrogers/order-cancell…</p> <p>…ations-list</p> <p>feat(order-cancellations): add support for listing Order Cancellations</p> tag:github.com,2008:Repository/464683927/v1.7.8 2022-02-03T15:50:35Z v1.7.8: fix(types): make rollup work with tsconfig's baseUrl (#377) <p>fix(types): make rollup work with tsconfig's baseUrl (<a class="issue-link js-issue-link" href="https://github.com/duffelhq/duffel-api-javascript/pull/377">duffelhq#377</a>)</p> <p>We have configured `baseUrl` in tsconfig.json, which allows absolute imports to be resolved by typescript. However, we didn't configure the same thing in the rollup config, specifically in the `dts` plugin. This led to an issue after the package was published <a class="issue-link js-issue-link" href="https://github.com/duffelhq/duffel-api-javascript/issues/372">duffelhq#372</a>. This PR adds a baseUrl configuration to ensure that absolute import can be resolved the same way during the rollup process.</p> go1t tag:github.com,2008:Repository/464683927/v1.7.7 2022-01-28T18:15:47Z v1.7.7 tag:github.com,2008:Repository/464683927/v1.7.6 2022-01-19T10:01:13Z v1.7.6 <p>fix(offer requests): ensure `offers` is inaccessible when `return_off…</p> <p>…ers=false` (<a class="issue-link js-issue-link" href="https://github.com/duffelhq/duffel-api-javascript/pull/358">duffelhq#358</a>)</p> <p>When an offer request is created with `return_offers` being false, the API won't return any offers. So we will reflect that in the type as well.</p> go1t tag:github.com,2008:Repository/464683927/v1.7.5 2022-01-18T18:15:49Z v1.7.5: fix(offer requests): tighten OfferRequests types (#354) <p>fix(offer requests): tighten OfferRequests types (<a class="issue-link js-issue-link" href="https://github.com/duffelhq/duffel-api-javascript/pull/354">duffelhq#354</a>)</p> <p>Previously, the `create` method's parameter type allows every parameter to be optional when in reality the endpoint requires `slices` and `passengers` to always be passed along. This fixes that.</p> go1t tag:github.com,2008:Repository/464683927/v1.7.4 2022-01-18T13:15:57Z v1.7.4: fix(offers): tighten Offers types (#355) <p>fix(offers): tighten Offers types (<a class="issue-link js-issue-link" href="https://github.com/duffelhq/duffel-api-javascript/pull/355">duffelhq#355</a>)</p> <p>Upon updating the passenger details of the offer, the endpoint expects all information to be passed in. The types are updated to reflected that.</p> go1t tag:github.com,2008:Repository/464683927/v1.7.3 2022-01-10T08:14:52Z v1.7.3 tag:github.com,2008:Repository/464683927/v1.7.2 2022-01-04T13:48:18Z v1.7.2 tag:github.com,2008:Repository/464683927/v1.7.1 2021-12-17T11:31:07Z v1.7.1 <p>Merge pull request <a class="issue-link js-issue-link" href="https://github.com/duffelhq/duffel-api-javascript/pull/306">duffelhq#306</a> from duffelhq/UXP-1490-remove-client-…</p> <p>…passenger-validation</p> <p>fix(booking): remove passenger validation from OrderRequests.create</p> go1t tag:github.com,2008:Repository/464683927/v1.7.0 2021-11-23T16:57:41Z v1.7.0: feat(booking): add new fields to Order and Offer passenger data (#291) <p>feat(booking): add new fields to Order and Offer passenger data (<a class="issue-link js-issue-link" href="https://github.com/duffelhq/duffel-api-javascript/pull/291">duff…</a></p> <p><a class="issue-link js-issue-link" href="https://github.com/duffelhq/duffel-api-javascript/pull/291">…elhq#291</a>)</p> <p>- add family_name, given_name, and loyalty_programme_accounts fields to OfferPassenger interface <br />- add loyalty_programme_accounts field to the OrderPassenger interface <br />- add unit tests</p> matthewp5