@pulsecharterconnect/types 0.1.16 → 0.1.18
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 +10 -6
- package/dist/types/Trip.js +1 -0
- package/package.json +1 -1
package/dist/types/Trip.d.ts
CHANGED
|
@@ -40,8 +40,10 @@ export declare enum TripActions {
|
|
|
40
40
|
export interface ITripSegment extends IProposalSegment {
|
|
41
41
|
transportationOperatorId: string;
|
|
42
42
|
segmentType: SegmentType;
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
scheduledDepartureTime: number;
|
|
44
|
+
scheduledArrivalTime: number;
|
|
45
|
+
actualDepartureTime?: number;
|
|
46
|
+
actualArrivalTime?: number;
|
|
45
47
|
segmentStatus: SegmentStatus;
|
|
46
48
|
passengers: ITripParticipant[];
|
|
47
49
|
additionalInformation?: string;
|
|
@@ -54,8 +56,8 @@ export interface ITripGroundTransportationService {
|
|
|
54
56
|
export interface ITripGroundSegment extends ITripSegment {
|
|
55
57
|
scheduledDepartureLocation: Facility;
|
|
56
58
|
scheduledArrivalLocation: Facility;
|
|
57
|
-
actualDepartureLocation
|
|
58
|
-
actualArrivalLocation
|
|
59
|
+
actualDepartureLocation?: Facility;
|
|
60
|
+
actualArrivalLocation?: Facility;
|
|
59
61
|
groundTransportationServices: ITripGroundTransportationService[];
|
|
60
62
|
}
|
|
61
63
|
export interface ITripAirSegment extends ITripSegment {
|
|
@@ -63,9 +65,9 @@ export interface ITripAirSegment extends ITripSegment {
|
|
|
63
65
|
scheduledDepartureFBO?: Facility;
|
|
64
66
|
scheduledArrivalAirportCode: string;
|
|
65
67
|
scheduledArrivalFBO?: Facility;
|
|
66
|
-
actualDepartureAirportCode
|
|
68
|
+
actualDepartureAirportCode?: string;
|
|
67
69
|
actualDepartureFBO?: Facility;
|
|
68
|
-
actualArrivalAirportCode
|
|
70
|
+
actualArrivalAirportCode?: string;
|
|
69
71
|
actualArrivalFBO?: Facility;
|
|
70
72
|
crew?: ITripParticipant[];
|
|
71
73
|
scheduledTailNumber?: string;
|
|
@@ -133,6 +135,7 @@ export interface ITripOrganRecoverySegment extends ITripSegment {
|
|
|
133
135
|
}
|
|
134
136
|
export interface ITrip {
|
|
135
137
|
id: string;
|
|
138
|
+
status: TripStatus;
|
|
136
139
|
transportationRequestId: string;
|
|
137
140
|
tripSegments: Array<ITripGroundSegment | ITripAirSegment | ITripOrganRecoverySegment>;
|
|
138
141
|
scheduledStartTime: number;
|
|
@@ -145,6 +148,7 @@ export interface ITrip {
|
|
|
145
148
|
}
|
|
146
149
|
export declare class Trip implements ITrip {
|
|
147
150
|
id: string;
|
|
151
|
+
status: TripStatus;
|
|
148
152
|
transportationRequestId: string;
|
|
149
153
|
tripSegments: Array<ITripGroundSegment | ITripAirSegment | ITripOrganRecoverySegment>;
|
|
150
154
|
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;
|