@pulsecharterconnect/types 0.1.23 → 0.1.25

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.
@@ -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
  }
@@ -125,14 +129,19 @@ export interface ITripParticipant {
125
129
  participantRole: TripParticipantRole;
126
130
  participant: IParticipant;
127
131
  pilotTimeout?: number;
132
+ pilotTimeoutTimezone?: string;
128
133
  }
129
134
  export interface ITripOrganRecoverySegment extends ITripSegment {
130
135
  organRecoveryInProcessStatus: OrganRecoveryInProcessStatus;
131
136
  organRecoveryLocation: Facility;
132
137
  scheduledORTime: number;
138
+ scheduledORTimeTimezone: string;
133
139
  actualORTime: number;
140
+ actualORTimeTimezone: string;
134
141
  estimatedOrganRecoveryTime: number;
142
+ estimatedOrganRecoveryTimeTimezone: string;
135
143
  actualOrganRecoveryTime: number;
144
+ actualOrganRecoveryTimeTimezone: string;
136
145
  surgicalTeam: ITripParticipant[];
137
146
  }
138
147
  export interface ITrip {
@@ -142,10 +151,14 @@ export interface ITrip {
142
151
  currentSegmentNumber?: number;
143
152
  tripSegments: Array<ITripGroundSegment | ITripAirSegment | ITripOrganRecoverySegment>;
144
153
  scheduledStartTime: number;
154
+ scheduledStartTimeTimezone: string;
145
155
  scheduledCompletionTime: number;
156
+ scheduledCompletionTimeTimezone?: string;
146
157
  participants: ITripParticipant[];
147
158
  actualStartTime?: number;
159
+ actualStartTimeTimezone?: string;
148
160
  actualCompletionTime?: number;
161
+ actualCompletionTimeTimezone?: string;
149
162
  createdAt?: number;
150
163
  updatedAt?: number;
151
164
  }
@@ -156,10 +169,14 @@ export declare class Trip implements ITrip {
156
169
  currentSegmentNumber?: number;
157
170
  tripSegments: Array<ITripGroundSegment | ITripAirSegment | ITripOrganRecoverySegment>;
158
171
  scheduledStartTime: number;
172
+ scheduledStartTimeTimezone: string;
159
173
  scheduledCompletionTime: number;
174
+ scheduledCompletionTimeTimezone?: string;
160
175
  participants: ITripParticipant[];
161
176
  actualStartTime?: number;
177
+ actualStartTimeTimezone?: string;
162
178
  actualCompletionTime?: number;
179
+ actualCompletionTimeTimezone?: string;
163
180
  createdAt?: number;
164
181
  updatedAt?: number;
165
182
  constructor(trip: ITrip);
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.1.23",
3
+ "version": "0.1.25",
4
4
  "description": "A TypeScript library for enhanced type safety.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",