tag:github.com,2008:https://github.com/manpassman99/duffel-api-javascript/releasesTags from duffel-api-javascript2022-02-15T09:06:17Ztag:github.com,2008:Repository/464683927/v1.8.02022-02-15T09:06:17Zv1.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.82022-02-03T15:50:35Zv1.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>go1ttag:github.com,2008:Repository/464683927/v1.7.72022-01-28T18:15:47Zv1.7.7tag:github.com,2008:Repository/464683927/v1.7.62022-01-19T10:01:13Zv1.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>go1ttag:github.com,2008:Repository/464683927/v1.7.52022-01-18T18:15:49Zv1.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>go1ttag:github.com,2008:Repository/464683927/v1.7.42022-01-18T13:15:57Zv1.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>go1ttag:github.com,2008:Repository/464683927/v1.7.32022-01-10T08:14:52Zv1.7.3tag:github.com,2008:Repository/464683927/v1.7.22022-01-04T13:48:18Zv1.7.2tag:github.com,2008:Repository/464683927/v1.7.12021-12-17T11:31:07Zv1.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>go1ttag:github.com,2008:Repository/464683927/v1.7.02021-11-23T16:57:41Zv1.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