@duffel/api 2.5.9 → 2.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/typings.d.ts CHANGED
@@ -3629,14 +3629,14 @@ declare module '@duffel/api/types/shared' {
3629
3629
  * If this is `null` then `penalty_amount` will also be `null`.
3630
3630
  * @example "GBP"
3631
3631
  */
3632
- penalty_currency: string;
3632
+ penalty_currency?: string | null;
3633
3633
  /**
3634
3634
  * If the modification is `allowed` then this is the amount payable to apply the modification to all passengers.
3635
3635
  * If there is no penalty, the value will be zero. If the modification isn't `allowed` or the penalty is not known then this field will be `null`.
3636
3636
  * If this is `null` then the `penalty_currency` will also be null.
3637
3637
  * @example "100.00"
3638
3638
  */
3639
- penalty_amount?: string;
3639
+ penalty_amount?: string | null;
3640
3640
  /**
3641
3641
  * Whether this kind of modification is allowed post-booking
3642
3642
  *
@@ -3659,14 +3659,14 @@ declare module '@duffel/api/types/shared' {
3659
3659
  * If this is `null` then `penalty_amount` will also be `null`.
3660
3660
  * @example "GBP"
3661
3661
  */
3662
- penalty_currency: string;
3662
+ penalty_currency?: string | null;
3663
3663
  /**
3664
3664
  * If the modification is `allowed` then this is the amount payable to apply the modification to all passengers.
3665
3665
  * If there is no penalty, the value will be zero. If the modification isn't `allowed` or the penalty is not known then this field will be `null`.
3666
3666
  * If this is `null` then the `penalty_currency` will also be null.
3667
3667
  * @example "100.00"
3668
3668
  */
3669
- penalty_amount?: string;
3669
+ penalty_amount?: string | null;
3670
3670
  /**
3671
3671
  * Whether this kind of modification is allowed post-booking
3672
3672
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duffel/api",
3
- "version": "2.5.9",
3
+ "version": "2.5.10",
4
4
  "description": "Javascript client library for the Duffel API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",