@pulsecharterconnect/types 0.1.13 → 0.1.15

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.
@@ -8,6 +8,7 @@ export declare enum TripStatus {
8
8
  ABORTED = "aborted"
9
9
  }
10
10
  export declare enum SegmentStatus {
11
+ NOT_STARTED = "not-started",
11
12
  START_SEGMENT = "start-segment",
12
13
  TRANSPORTATION_SEGMENT_EN_ROUTE = "transportation-segment-en-route",
13
14
  ORGAN_RECOVERY_SEGMENT_IN_PROCESS = "organ-recovery-segment-in-process",
@@ -127,7 +128,7 @@ export interface ITripOrganRecoverySegment extends ITripSegment {
127
128
  export interface ITrip {
128
129
  id: string;
129
130
  transportationRequestId: string;
130
- tripSegments: Array<ITripGroundSegment | ITripAirSegment>;
131
+ tripSegments: Array<ITripGroundSegment | ITripAirSegment | ITripOrganRecoverySegment>;
131
132
  scheduledStartTime: number;
132
133
  scheduledCompletionTime: number;
133
134
  participants: ITripParticipant[];
@@ -139,7 +140,7 @@ export interface ITrip {
139
140
  export declare class Trip implements ITrip {
140
141
  id: string;
141
142
  transportationRequestId: string;
142
- tripSegments: Array<ITripGroundSegment | ITripAirSegment>;
143
+ tripSegments: Array<ITripGroundSegment | ITripAirSegment | ITripOrganRecoverySegment>;
143
144
  scheduledStartTime: number;
144
145
  scheduledCompletionTime: number;
145
146
  participants: ITripParticipant[];
@@ -11,6 +11,7 @@ var TripStatus;
11
11
  })(TripStatus = exports.TripStatus || (exports.TripStatus = {}));
12
12
  var SegmentStatus;
13
13
  (function (SegmentStatus) {
14
+ SegmentStatus["NOT_STARTED"] = "not-started";
14
15
  SegmentStatus["START_SEGMENT"] = "start-segment";
15
16
  SegmentStatus["TRANSPORTATION_SEGMENT_EN_ROUTE"] = "transportation-segment-en-route";
16
17
  SegmentStatus["ORGAN_RECOVERY_SEGMENT_IN_PROCESS"] = "organ-recovery-segment-in-process";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "A TypeScript library for enhanced type safety.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",