@pulsecharterconnect/types 0.1.55 → 0.1.57
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 +17 -12
- package/dist/types/Trip.js +2 -0
- package/package.json +1 -1
package/dist/types/Trip.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Facility, GroundService } from "./Organization";
|
|
2
2
|
import { IProposalSegment } from "./Proposal";
|
|
3
|
+
import { OrganType } from "./TransportationRequest";
|
|
3
4
|
export declare enum TripStatus {
|
|
4
5
|
PREPARATION = "preparation",
|
|
5
6
|
IN_PROGRESS = "in-progress",
|
|
@@ -185,14 +186,16 @@ export interface ITripOrganRecoverySegment extends ITripSegment {
|
|
|
185
186
|
export interface ITrip {
|
|
186
187
|
id: string;
|
|
187
188
|
status: TripStatus;
|
|
188
|
-
transportationRequestId
|
|
189
|
+
transportationRequestId?: string;
|
|
190
|
+
unosId: string;
|
|
191
|
+
organTypes: OrganType[];
|
|
189
192
|
currentSegmentNumber?: number;
|
|
190
|
-
tripSegments
|
|
191
|
-
scheduledStartTime
|
|
192
|
-
scheduledStartTimeTimezone
|
|
193
|
-
scheduledCompletionTime
|
|
193
|
+
tripSegments?: Array<ITripGroundSegment | ITripAirSegment | ITripOrganRecoverySegment>;
|
|
194
|
+
scheduledStartTime?: number;
|
|
195
|
+
scheduledStartTimeTimezone?: string;
|
|
196
|
+
scheduledCompletionTime?: number;
|
|
194
197
|
scheduledCompletionTimeTimezone?: string;
|
|
195
|
-
participants
|
|
198
|
+
participants?: ITripParticipant[];
|
|
196
199
|
actualStartTime?: number;
|
|
197
200
|
actualStartTimeTimezone?: string;
|
|
198
201
|
actualCompletionTime?: number;
|
|
@@ -203,14 +206,16 @@ export interface ITrip {
|
|
|
203
206
|
export declare class Trip implements ITrip {
|
|
204
207
|
id: string;
|
|
205
208
|
status: TripStatus;
|
|
206
|
-
transportationRequestId
|
|
209
|
+
transportationRequestId?: string;
|
|
210
|
+
unosId: string;
|
|
211
|
+
organTypes: OrganType[];
|
|
207
212
|
currentSegmentNumber?: number;
|
|
208
|
-
tripSegments
|
|
209
|
-
scheduledStartTime
|
|
210
|
-
scheduledStartTimeTimezone
|
|
211
|
-
scheduledCompletionTime
|
|
213
|
+
tripSegments?: Array<ITripGroundSegment | ITripAirSegment | ITripOrganRecoverySegment>;
|
|
214
|
+
scheduledStartTime?: number;
|
|
215
|
+
scheduledStartTimeTimezone?: string;
|
|
216
|
+
scheduledCompletionTime?: number;
|
|
212
217
|
scheduledCompletionTimeTimezone?: string;
|
|
213
|
-
participants
|
|
218
|
+
participants?: ITripParticipant[];
|
|
214
219
|
actualStartTime?: number;
|
|
215
220
|
actualStartTimeTimezone?: string;
|
|
216
221
|
actualCompletionTime?: number;
|
package/dist/types/Trip.js
CHANGED
|
@@ -140,6 +140,8 @@ class Trip {
|
|
|
140
140
|
this.id = trip.id;
|
|
141
141
|
this.status = trip.status;
|
|
142
142
|
this.transportationRequestId = trip.transportationRequestId;
|
|
143
|
+
this.unosId = trip.unosId;
|
|
144
|
+
this.organTypes = trip.organTypes || [];
|
|
143
145
|
this.currentSegmentNumber = trip.currentSegmentNumber || 0;
|
|
144
146
|
this.tripSegments = trip.tripSegments || [];
|
|
145
147
|
this.scheduledStartTime = trip.scheduledStartTime;
|