@pulsecharterconnect/types 0.1.18 → 0.1.20

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.
@@ -98,6 +98,7 @@ export interface ITransportationRequest {
98
98
  transportationRequestSegments: TransportSegment[];
99
99
  recipientFacility: Facility;
100
100
  recoveryLocation: Facility;
101
+ tripDistanceInMiles?: number;
101
102
  orDateTimeGMT: number;
102
103
  orTimezone: string;
103
104
  recoveryType: RecoveryType;
@@ -118,6 +119,7 @@ export declare class TransportationRequest implements ITransportationRequest {
118
119
  transportationRequestSegments: TransportSegment[];
119
120
  recipientFacility: Facility;
120
121
  recoveryLocation: Facility;
122
+ tripDistanceInMiles?: number;
121
123
  orDateTimeGMT: number;
122
124
  orTimezone: string;
123
125
  recoveryType: RecoveryType;
@@ -96,6 +96,7 @@ class TransportationRequest {
96
96
  transportationRequest.transportationRequestSegments;
97
97
  this.recipientFacility = transportationRequest.recipientFacility;
98
98
  this.recoveryLocation = transportationRequest.recoveryLocation;
99
+ this.tripDistanceInMiles = transportationRequest.tripDistanceInMiles;
99
100
  this.orDateTimeGMT = transportationRequest.orDateTimeGMT;
100
101
  this.orTimezone = transportationRequest.orTimezone;
101
102
  this.recoveryType = transportationRequest.recoveryType;
@@ -38,14 +38,12 @@ export declare enum TripActions {
38
38
  ORGAN_REMOVED = "organRemoved"
39
39
  }
40
40
  export interface ITripSegment extends IProposalSegment {
41
- transportationOperatorId: string;
42
41
  segmentType: SegmentType;
43
42
  scheduledDepartureTime: number;
44
43
  scheduledArrivalTime: number;
45
44
  actualDepartureTime?: number;
46
45
  actualArrivalTime?: number;
47
46
  segmentStatus: SegmentStatus;
48
- passengers: ITripParticipant[];
49
47
  additionalInformation?: string;
50
48
  }
51
49
  export interface ITripGroundTransportationService {
@@ -54,13 +52,16 @@ export interface ITripGroundTransportationService {
54
52
  driver?: IParticipant;
55
53
  }
56
54
  export interface ITripGroundSegment extends ITripSegment {
55
+ transportationOperatorId: string;
57
56
  scheduledDepartureLocation: Facility;
58
57
  scheduledArrivalLocation: Facility;
59
58
  actualDepartureLocation?: Facility;
60
59
  actualArrivalLocation?: Facility;
60
+ passengers: ITripParticipant[];
61
61
  groundTransportationServices: ITripGroundTransportationService[];
62
62
  }
63
63
  export interface ITripAirSegment extends ITripSegment {
64
+ transportationOperatorId: string;
64
65
  scheduledDepartureAirportCode: string;
65
66
  scheduledDepartureFBO?: Facility;
66
67
  scheduledArrivalAirportCode: string;
@@ -70,6 +71,7 @@ export interface ITripAirSegment extends ITripSegment {
70
71
  actualArrivalAirportCode?: string;
71
72
  actualArrivalFBO?: Facility;
72
73
  crew?: ITripParticipant[];
74
+ passengers: ITripParticipant[];
73
75
  scheduledTailNumber?: string;
74
76
  actualTailNumber?: string;
75
77
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "description": "A TypeScript library for enhanced type safety.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",