@pulsecharterconnect/types 0.1.55 → 0.1.56
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 +7 -2
- 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,7 +186,9 @@ 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
193
|
tripSegments: Array<ITripGroundSegment | ITripAirSegment | ITripOrganRecoverySegment>;
|
|
191
194
|
scheduledStartTime: number;
|
|
@@ -203,7 +206,9 @@ 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
213
|
tripSegments: Array<ITripGroundSegment | ITripAirSegment | ITripOrganRecoverySegment>;
|
|
209
214
|
scheduledStartTime: 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;
|