@pulsecharterconnect/types 0.1.54 → 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 +8 -2
- package/dist/types/Trip.js +3 -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",
|
|
@@ -112,6 +113,7 @@ export declare enum TripParticipantRole {
|
|
|
112
113
|
SURGICAL_SUPPORT = "surgical-support",
|
|
113
114
|
TRANSPLANT_COORDINATOR = "transplant-coordinator",
|
|
114
115
|
PILOT = "pilot",
|
|
116
|
+
CREW = "crew",
|
|
115
117
|
COPILOT = "copilot",
|
|
116
118
|
DRIVER = "driver",
|
|
117
119
|
TRANSPORATION_OPERATOR_DISPATCHER = "charter-operator-dispatcher",
|
|
@@ -184,7 +186,9 @@ export interface ITripOrganRecoverySegment extends ITripSegment {
|
|
|
184
186
|
export interface ITrip {
|
|
185
187
|
id: string;
|
|
186
188
|
status: TripStatus;
|
|
187
|
-
transportationRequestId
|
|
189
|
+
transportationRequestId?: string;
|
|
190
|
+
unosId: string;
|
|
191
|
+
organTypes: OrganType[];
|
|
188
192
|
currentSegmentNumber?: number;
|
|
189
193
|
tripSegments: Array<ITripGroundSegment | ITripAirSegment | ITripOrganRecoverySegment>;
|
|
190
194
|
scheduledStartTime: number;
|
|
@@ -202,7 +206,9 @@ export interface ITrip {
|
|
|
202
206
|
export declare class Trip implements ITrip {
|
|
203
207
|
id: string;
|
|
204
208
|
status: TripStatus;
|
|
205
|
-
transportationRequestId
|
|
209
|
+
transportationRequestId?: string;
|
|
210
|
+
unosId: string;
|
|
211
|
+
organTypes: OrganType[];
|
|
206
212
|
currentSegmentNumber?: number;
|
|
207
213
|
tripSegments: Array<ITripGroundSegment | ITripAirSegment | ITripOrganRecoverySegment>;
|
|
208
214
|
scheduledStartTime: number;
|
package/dist/types/Trip.js
CHANGED
|
@@ -101,6 +101,7 @@ var TripParticipantRole;
|
|
|
101
101
|
TripParticipantRole["SURGICAL_SUPPORT"] = "surgical-support";
|
|
102
102
|
TripParticipantRole["TRANSPLANT_COORDINATOR"] = "transplant-coordinator";
|
|
103
103
|
TripParticipantRole["PILOT"] = "pilot";
|
|
104
|
+
TripParticipantRole["CREW"] = "crew";
|
|
104
105
|
TripParticipantRole["COPILOT"] = "copilot";
|
|
105
106
|
TripParticipantRole["DRIVER"] = "driver";
|
|
106
107
|
TripParticipantRole["TRANSPORATION_OPERATOR_DISPATCHER"] = "charter-operator-dispatcher";
|
|
@@ -139,6 +140,8 @@ class Trip {
|
|
|
139
140
|
this.id = trip.id;
|
|
140
141
|
this.status = trip.status;
|
|
141
142
|
this.transportationRequestId = trip.transportationRequestId;
|
|
143
|
+
this.unosId = trip.unosId;
|
|
144
|
+
this.organTypes = trip.organTypes || [];
|
|
142
145
|
this.currentSegmentNumber = trip.currentSegmentNumber || 0;
|
|
143
146
|
this.tripSegments = trip.tripSegments || [];
|
|
144
147
|
this.scheduledStartTime = trip.scheduledStartTime;
|