@pulsecharterconnect/types 0.1.17 → 0.1.19
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/types/Trip.d.ts +6 -2
- package/dist/types/Trip.js +1 -0
- package/package.json +1 -1
package/dist/types/Trip.d.ts
CHANGED
|
@@ -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
|
}
|
|
@@ -135,6 +137,7 @@ export interface ITripOrganRecoverySegment extends ITripSegment {
|
|
|
135
137
|
}
|
|
136
138
|
export interface ITrip {
|
|
137
139
|
id: string;
|
|
140
|
+
status: TripStatus;
|
|
138
141
|
transportationRequestId: string;
|
|
139
142
|
tripSegments: Array<ITripGroundSegment | ITripAirSegment | ITripOrganRecoverySegment>;
|
|
140
143
|
scheduledStartTime: number;
|
|
@@ -147,6 +150,7 @@ export interface ITrip {
|
|
|
147
150
|
}
|
|
148
151
|
export declare class Trip implements ITrip {
|
|
149
152
|
id: string;
|
|
153
|
+
status: TripStatus;
|
|
150
154
|
transportationRequestId: string;
|
|
151
155
|
tripSegments: Array<ITripGroundSegment | ITripAirSegment | ITripOrganRecoverySegment>;
|
|
152
156
|
scheduledStartTime: number;
|
package/dist/types/Trip.js
CHANGED
|
@@ -81,6 +81,7 @@ exports.Participant = Participant;
|
|
|
81
81
|
class Trip {
|
|
82
82
|
constructor(trip) {
|
|
83
83
|
this.id = trip.id;
|
|
84
|
+
this.status = trip.status;
|
|
84
85
|
this.transportationRequestId = trip.transportationRequestId;
|
|
85
86
|
this.tripSegments = trip.tripSegments || [];
|
|
86
87
|
this.scheduledStartTime = trip.scheduledStartTime;
|