@pulsecharterconnect/types 0.1.20 → 0.1.21
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 +2 -0
- package/dist/types/Trip.js +1 -0
- package/package.json +1 -1
package/dist/types/Trip.d.ts
CHANGED
|
@@ -139,6 +139,7 @@ export interface ITrip {
|
|
|
139
139
|
id: string;
|
|
140
140
|
status: TripStatus;
|
|
141
141
|
transportationRequestId: string;
|
|
142
|
+
currentSegmentNumber?: number;
|
|
142
143
|
tripSegments: Array<ITripGroundSegment | ITripAirSegment | ITripOrganRecoverySegment>;
|
|
143
144
|
scheduledStartTime: number;
|
|
144
145
|
scheduledCompletionTime: number;
|
|
@@ -152,6 +153,7 @@ export declare class Trip implements ITrip {
|
|
|
152
153
|
id: string;
|
|
153
154
|
status: TripStatus;
|
|
154
155
|
transportationRequestId: string;
|
|
156
|
+
currentSegmentNumber?: number;
|
|
155
157
|
tripSegments: Array<ITripGroundSegment | ITripAirSegment | ITripOrganRecoverySegment>;
|
|
156
158
|
scheduledStartTime: number;
|
|
157
159
|
scheduledCompletionTime: number;
|
package/dist/types/Trip.js
CHANGED
|
@@ -83,6 +83,7 @@ class Trip {
|
|
|
83
83
|
this.id = trip.id;
|
|
84
84
|
this.status = trip.status;
|
|
85
85
|
this.transportationRequestId = trip.transportationRequestId;
|
|
86
|
+
this.currentSegmentNumber = trip.currentSegmentNumber || 0;
|
|
86
87
|
this.tripSegments = trip.tripSegments || [];
|
|
87
88
|
this.scheduledStartTime = trip.scheduledStartTime;
|
|
88
89
|
this.scheduledCompletionTime = trip.scheduledCompletionTime;
|