@pulsecharterconnect/types 0.2.16 → 0.2.18
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/Case.d.ts
CHANGED
|
@@ -66,6 +66,7 @@ export interface ICreateCaseDto {
|
|
|
66
66
|
recoveryType: RecoveryType;
|
|
67
67
|
caseRecipientFacility: Facility;
|
|
68
68
|
caseRecoveryLocation: Facility;
|
|
69
|
+
casePickupLocation?: Facility;
|
|
69
70
|
transportationRequested: boolean;
|
|
70
71
|
transportationRequestAdditionalDetail?: TransportationRequestAdditionalDetail;
|
|
71
72
|
}
|
|
@@ -79,6 +80,7 @@ export interface ICase {
|
|
|
79
80
|
caseWorkflowSteps: ICaseWorkflowStep[];
|
|
80
81
|
caseRecipientFacility: Facility;
|
|
81
82
|
caseRecoveryLocation: Facility;
|
|
83
|
+
casePickupLocation?: Facility;
|
|
82
84
|
createdAt?: number;
|
|
83
85
|
updatedAt?: number;
|
|
84
86
|
}
|
|
@@ -92,6 +94,7 @@ export declare class Case implements ICase {
|
|
|
92
94
|
caseWorkflowSteps: ICaseWorkflowStep[];
|
|
93
95
|
caseRecipientFacility: Facility;
|
|
94
96
|
caseRecoveryLocation: Facility;
|
|
97
|
+
casePickupLocation?: Facility;
|
|
95
98
|
createdAt?: number;
|
|
96
99
|
updatedAt?: number;
|
|
97
100
|
constructor(caseData: ICase);
|
package/dist/types/Case.js
CHANGED
|
@@ -59,6 +59,7 @@ class Case {
|
|
|
59
59
|
this.caseWorkflowSteps = caseData.caseWorkflowSteps || [];
|
|
60
60
|
this.caseRecipientFacility = caseData.caseRecipientFacility;
|
|
61
61
|
this.caseRecoveryLocation = caseData.caseRecoveryLocation;
|
|
62
|
+
this.casePickupLocation = caseData.casePickupLocation;
|
|
62
63
|
this.createdAt = caseData.createdAt;
|
|
63
64
|
this.updatedAt = caseData.updatedAt;
|
|
64
65
|
}
|
|
@@ -95,7 +95,7 @@ export declare enum EquipmentType {
|
|
|
95
95
|
export declare function getEquipmentForOrgan(organType: OrganType): EquipmentType[];
|
|
96
96
|
export type OrganTransport = {
|
|
97
97
|
organType: OrganType;
|
|
98
|
-
equipmentType?: EquipmentType;
|
|
98
|
+
equipmentType?: EquipmentType | null;
|
|
99
99
|
};
|
|
100
100
|
export declare enum SegmentLocationType {
|
|
101
101
|
RECIPIENT_TRANSPLANT_CENTER = "Recipient Transplant Center",
|
|
@@ -140,6 +140,7 @@ export interface ITransportationRequest {
|
|
|
140
140
|
transportationRequestSegments: TransportSegment[];
|
|
141
141
|
recipientFacility: Facility;
|
|
142
142
|
recoveryLocation: Facility;
|
|
143
|
+
pickupLocation?: Facility;
|
|
143
144
|
tripDistanceInMiles?: number;
|
|
144
145
|
orDateTimeGMT: number;
|
|
145
146
|
orTimezone: string;
|
|
@@ -161,6 +162,7 @@ export declare class TransportationRequest implements ITransportationRequest {
|
|
|
161
162
|
transportationRequestSegments: TransportSegment[];
|
|
162
163
|
recipientFacility: Facility;
|
|
163
164
|
recoveryLocation: Facility;
|
|
165
|
+
pickupLocation?: Facility | undefined;
|
|
164
166
|
tripDistanceInMiles?: number;
|
|
165
167
|
orDateTimeGMT: number;
|
|
166
168
|
orTimezone: string;
|
|
@@ -175,6 +175,7 @@ class TransportationRequest {
|
|
|
175
175
|
transportationRequest.transportationRequestSegments;
|
|
176
176
|
this.recipientFacility = transportationRequest.recipientFacility;
|
|
177
177
|
this.recoveryLocation = transportationRequest.recoveryLocation;
|
|
178
|
+
this.pickupLocation = transportationRequest.pickupLocation;
|
|
178
179
|
this.tripDistanceInMiles = transportationRequest.tripDistanceInMiles;
|
|
179
180
|
this.orDateTimeGMT = transportationRequest.orDateTimeGMT;
|
|
180
181
|
this.orTimezone = transportationRequest.orTimezone;
|