@pulsecharterconnect/types 0.2.17 → 0.2.19

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.
@@ -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);
@@ -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
  }
@@ -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;
@@ -191,6 +191,7 @@ export interface ITrip {
191
191
  organTypes: OrganType[];
192
192
  recipientFacility: Facility;
193
193
  recoveryLocation: Facility;
194
+ pickupLocation?: Facility;
194
195
  tripDistanceInMiles?: number;
195
196
  recoveryType: RecoveryType;
196
197
  currentSegmentNumber?: number;
@@ -215,6 +216,7 @@ export declare class Trip implements ITrip {
215
216
  organTypes: OrganType[];
216
217
  recipientFacility: Facility;
217
218
  recoveryLocation: Facility;
219
+ pickupLocation?: Facility | undefined;
218
220
  tripDistanceInMiles?: number;
219
221
  recoveryType: RecoveryType;
220
222
  currentSegmentNumber?: number;
@@ -144,6 +144,7 @@ class Trip {
144
144
  this.organTypes = trip.organTypes || [];
145
145
  this.recipientFacility = trip.recipientFacility;
146
146
  this.recoveryLocation = trip.recoveryLocation;
147
+ this.pickupLocation = trip.pickupLocation || undefined;
147
148
  this.tripDistanceInMiles = trip.tripDistanceInMiles;
148
149
  this.recoveryType = trip.recoveryType;
149
150
  this.currentSegmentNumber = trip.currentSegmentNumber || 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.2.17",
3
+ "version": "0.2.19",
4
4
  "description": "A TypeScript library for enhanced type safety.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",