@movmo_app/types 1.9.0 → 1.10.0

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.
@@ -13,6 +13,21 @@ export type BookingSeatSelection = {
13
13
  price?: number;
14
14
  currency?: string;
15
15
  };
16
+ /**
17
+ * BookingBagSelection represents a per-passenger checked-bag selection on a
18
+ * booking. Maps to the BookingBagSelection model in go-services-core — keyed by
19
+ * the ancillary service (service_id) with a quantity instead of a single seat.
20
+ */
21
+ export type BookingBagSelection = {
22
+ id: string;
23
+ booking_id: string;
24
+ user_passenger_id: string;
25
+ segment_id: string;
26
+ service_id: string;
27
+ quantity: number;
28
+ price?: number;
29
+ currency?: string;
30
+ };
16
31
  /**
17
32
  * BookingPassenger represents a passenger associated with a booking,
18
33
  * including full user passenger details and ticketing information.
@@ -36,4 +51,5 @@ export type BookingPassenger = {
36
51
  seat_number?: string;
37
52
  fare_basis_code?: string;
38
53
  seat_selections?: BookingSeatSelection[];
54
+ bag_selections?: BookingBagSelection[];
39
55
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movmo_app/types",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "description": "A collection of Movmo's types",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",