@pulsecharterconnect/types 0.1.22 → 0.1.24
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.
|
@@ -65,10 +65,15 @@ export declare enum LungEquipmentType {
|
|
|
65
65
|
PARAGONIX_BAROGUARD = "Paragonix BAROguard",
|
|
66
66
|
XVIVO = "XVIVO"
|
|
67
67
|
}
|
|
68
|
+
export declare enum LiverEquipmentType {
|
|
69
|
+
TRANSMEDICS_OCS_LIVER = "TransMedics OCS Liver",
|
|
70
|
+
ORGANOX_METRA = "OrganOx metra",
|
|
71
|
+
ORS_LIFEPORT_LIVER = "ORS LifePort Liver"
|
|
72
|
+
}
|
|
68
73
|
export type NoType = "";
|
|
69
74
|
export type OrganTransport = {
|
|
70
75
|
organType: OrganType;
|
|
71
|
-
equipmentType?: HeartEquipmentType | LungEquipmentType | NoType;
|
|
76
|
+
equipmentType?: HeartEquipmentType | LungEquipmentType | LiverEquipmentType | NoType;
|
|
72
77
|
};
|
|
73
78
|
export declare enum SegmentLocationType {
|
|
74
79
|
RECIPIENT_TRANSPLANT_CENTER = "Recipient Transplant Center",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TransportationRequest = exports.RecoveryType = exports.SegmentLocationType = exports.LungEquipmentType = exports.HeartEquipmentType = exports.OrganType = exports.TransportRequestType = exports.OrganRecoveryStatus = exports.TransportationRequestProposalStatus = exports.TransportationRequestStatus = exports.DISTANCE_THRESHOLD_MILES_AIR_VS_GROUND = void 0;
|
|
3
|
+
exports.TransportationRequest = exports.RecoveryType = exports.SegmentLocationType = exports.LiverEquipmentType = exports.LungEquipmentType = exports.HeartEquipmentType = exports.OrganType = exports.TransportRequestType = exports.OrganRecoveryStatus = exports.TransportationRequestProposalStatus = exports.TransportationRequestStatus = exports.DISTANCE_THRESHOLD_MILES_AIR_VS_GROUND = void 0;
|
|
4
4
|
exports.DISTANCE_THRESHOLD_MILES_AIR_VS_GROUND = 100;
|
|
5
5
|
var TransportationRequestStatus;
|
|
6
6
|
(function (TransportationRequestStatus) {
|
|
@@ -74,6 +74,12 @@ var LungEquipmentType;
|
|
|
74
74
|
LungEquipmentType["PARAGONIX_BAROGUARD"] = "Paragonix BAROguard";
|
|
75
75
|
LungEquipmentType["XVIVO"] = "XVIVO";
|
|
76
76
|
})(LungEquipmentType = exports.LungEquipmentType || (exports.LungEquipmentType = {}));
|
|
77
|
+
var LiverEquipmentType;
|
|
78
|
+
(function (LiverEquipmentType) {
|
|
79
|
+
LiverEquipmentType["TRANSMEDICS_OCS_LIVER"] = "TransMedics OCS Liver";
|
|
80
|
+
LiverEquipmentType["ORGANOX_METRA"] = "OrganOx metra";
|
|
81
|
+
LiverEquipmentType["ORS_LIFEPORT_LIVER"] = "ORS LifePort Liver";
|
|
82
|
+
})(LiverEquipmentType = exports.LiverEquipmentType || (exports.LiverEquipmentType = {}));
|
|
77
83
|
var SegmentLocationType;
|
|
78
84
|
(function (SegmentLocationType) {
|
|
79
85
|
SegmentLocationType["RECIPIENT_TRANSPLANT_CENTER"] = "Recipient Transplant Center";
|
package/dist/types/Trip.d.ts
CHANGED
|
@@ -40,9 +40,13 @@ export declare enum TripActions {
|
|
|
40
40
|
export interface ITripSegment extends IProposalSegment {
|
|
41
41
|
segmentType: SegmentType;
|
|
42
42
|
scheduledDepartureTime: number;
|
|
43
|
+
scheduledDepartureTimeTimezone: string;
|
|
43
44
|
scheduledArrivalTime: number;
|
|
45
|
+
scheduledArrivalTimeTimezone: string;
|
|
44
46
|
actualDepartureTime?: number;
|
|
47
|
+
actualDepartureTimeTimezone?: string;
|
|
45
48
|
actualArrivalTime?: number;
|
|
49
|
+
actualArrivalTimeTimezone?: string;
|
|
46
50
|
segmentStatus: SegmentStatus;
|
|
47
51
|
additionalInformation?: string;
|
|
48
52
|
}
|
|
@@ -130,9 +134,13 @@ export interface ITripOrganRecoverySegment extends ITripSegment {
|
|
|
130
134
|
organRecoveryInProcessStatus: OrganRecoveryInProcessStatus;
|
|
131
135
|
organRecoveryLocation: Facility;
|
|
132
136
|
scheduledORTime: number;
|
|
137
|
+
scheduledORTimeTimezone: string;
|
|
133
138
|
actualORTime: number;
|
|
139
|
+
actualORTimeTimezone: string;
|
|
134
140
|
estimatedOrganRecoveryTime: number;
|
|
141
|
+
estimatedOrganRecoveryTimeTimezone: string;
|
|
135
142
|
actualOrganRecoveryTime: number;
|
|
143
|
+
actualOrganRecoveryTimeTimezone: string;
|
|
136
144
|
surgicalTeam: ITripParticipant[];
|
|
137
145
|
}
|
|
138
146
|
export interface ITrip {
|
|
@@ -142,10 +150,14 @@ export interface ITrip {
|
|
|
142
150
|
currentSegmentNumber?: number;
|
|
143
151
|
tripSegments: Array<ITripGroundSegment | ITripAirSegment | ITripOrganRecoverySegment>;
|
|
144
152
|
scheduledStartTime: number;
|
|
153
|
+
scheduledStartTimeTimezone: string;
|
|
145
154
|
scheduledCompletionTime: number;
|
|
155
|
+
scheduledCompletionTimeTimezone?: string;
|
|
146
156
|
participants: ITripParticipant[];
|
|
147
157
|
actualStartTime?: number;
|
|
158
|
+
actualStartTimeTimezone?: string;
|
|
148
159
|
actualCompletionTime?: number;
|
|
160
|
+
actualCompletionTimeTimezone?: string;
|
|
149
161
|
createdAt?: number;
|
|
150
162
|
updatedAt?: number;
|
|
151
163
|
}
|
|
@@ -156,10 +168,14 @@ export declare class Trip implements ITrip {
|
|
|
156
168
|
currentSegmentNumber?: number;
|
|
157
169
|
tripSegments: Array<ITripGroundSegment | ITripAirSegment | ITripOrganRecoverySegment>;
|
|
158
170
|
scheduledStartTime: number;
|
|
171
|
+
scheduledStartTimeTimezone: string;
|
|
159
172
|
scheduledCompletionTime: number;
|
|
173
|
+
scheduledCompletionTimeTimezone?: string;
|
|
160
174
|
participants: ITripParticipant[];
|
|
161
175
|
actualStartTime?: number;
|
|
176
|
+
actualStartTimeTimezone?: string;
|
|
162
177
|
actualCompletionTime?: number;
|
|
178
|
+
actualCompletionTimeTimezone?: string;
|
|
163
179
|
createdAt?: number;
|
|
164
180
|
updatedAt?: number;
|
|
165
181
|
constructor(trip: ITrip);
|
package/dist/types/Trip.js
CHANGED
|
@@ -86,10 +86,16 @@ class Trip {
|
|
|
86
86
|
this.currentSegmentNumber = trip.currentSegmentNumber || 0;
|
|
87
87
|
this.tripSegments = trip.tripSegments || [];
|
|
88
88
|
this.scheduledStartTime = trip.scheduledStartTime;
|
|
89
|
+
this.scheduledStartTimeTimezone = trip.scheduledStartTimeTimezone;
|
|
89
90
|
this.scheduledCompletionTime = trip.scheduledCompletionTime;
|
|
91
|
+
this.scheduledCompletionTimeTimezone =
|
|
92
|
+
trip.scheduledCompletionTimeTimezone || undefined;
|
|
90
93
|
this.participants = trip.participants || [];
|
|
91
94
|
this.actualStartTime = trip.actualStartTime || undefined;
|
|
95
|
+
this.actualStartTimeTimezone = trip.actualStartTimeTimezone || undefined;
|
|
92
96
|
this.actualCompletionTime = trip.actualCompletionTime || undefined;
|
|
97
|
+
this.actualCompletionTimeTimezone =
|
|
98
|
+
trip.actualCompletionTimeTimezone || undefined;
|
|
93
99
|
this.createdAt = trip.createdAt;
|
|
94
100
|
this.updatedAt = trip.updatedAt;
|
|
95
101
|
}
|