@pulsecharterconnect/types 0.2.19 → 0.2.21
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
|
@@ -56,6 +56,7 @@ export declare class CaseWorkflowStep implements ICaseWorkflowStep {
|
|
|
56
56
|
export type TransportationRequestAdditionalDetail = {
|
|
57
57
|
transportationRequestType: TransportRequestType;
|
|
58
58
|
orDateTime: number;
|
|
59
|
+
orTimezone: string;
|
|
59
60
|
numberOfPassengers: number;
|
|
60
61
|
organTransportList: OrganTransport[];
|
|
61
62
|
specialInstructions?: string;
|
|
@@ -9,19 +9,21 @@ export declare enum CommunicationsChannelType {
|
|
|
9
9
|
export interface ICommunicationsChannel {
|
|
10
10
|
id: string;
|
|
11
11
|
channelDisplayName: CommunicationsChannelType;
|
|
12
|
+
channelType?: CommunicationsChannelType;
|
|
12
13
|
unosId?: string;
|
|
13
14
|
channelName: string;
|
|
14
15
|
channelFullName: string;
|
|
15
|
-
messageCount: number;
|
|
16
|
-
usersCount: number;
|
|
17
16
|
}
|
|
18
17
|
export declare class CommunicationsChannel implements ICommunicationsChannel {
|
|
19
18
|
id: string;
|
|
20
19
|
channelDisplayName: CommunicationsChannelType;
|
|
20
|
+
channelType?: CommunicationsChannelType;
|
|
21
21
|
unosId?: string;
|
|
22
22
|
channelName: string;
|
|
23
23
|
channelFullName: string;
|
|
24
|
+
constructor(channel: ICommunicationsChannel);
|
|
25
|
+
}
|
|
26
|
+
export interface ICommunicationsChannelDto extends ICommunicationsChannel {
|
|
24
27
|
messageCount: number;
|
|
25
28
|
usersCount: number;
|
|
26
|
-
constructor(channel: ICommunicationsChannel);
|
|
27
29
|
}
|
|
@@ -14,11 +14,10 @@ class CommunicationsChannel {
|
|
|
14
14
|
constructor(channel) {
|
|
15
15
|
this.id = channel.id;
|
|
16
16
|
this.channelDisplayName = channel.channelDisplayName;
|
|
17
|
+
this.channelType = channel.channelType || undefined;
|
|
17
18
|
this.unosId = channel.unosId || undefined;
|
|
18
19
|
this.channelName = channel.channelName;
|
|
19
20
|
this.channelFullName = channel.channelFullName;
|
|
20
|
-
this.messageCount = channel.messageCount || 0;
|
|
21
|
-
this.usersCount = channel.usersCount || 0;
|
|
22
21
|
}
|
|
23
22
|
}
|
|
24
23
|
exports.CommunicationsChannel = CommunicationsChannel;
|
package/dist/types/Trip.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ICommunicationsChannel } from "./Communications";
|
|
1
2
|
import { Facility, GroundService } from "./Organization";
|
|
2
3
|
import { IProposalSegment } from "./Proposal";
|
|
3
4
|
import { OrganType, RecoveryType } from "./TransportationRequest";
|
|
@@ -187,6 +188,7 @@ export interface ITrip {
|
|
|
187
188
|
id: string;
|
|
188
189
|
status: TripStatus;
|
|
189
190
|
transportationRequestId?: string;
|
|
191
|
+
requestingOrganizationId: string;
|
|
190
192
|
unosId: string;
|
|
191
193
|
organTypes: OrganType[];
|
|
192
194
|
recipientFacility: Facility;
|
|
@@ -205,6 +207,7 @@ export interface ITrip {
|
|
|
205
207
|
actualStartTimeTimezone?: string;
|
|
206
208
|
actualCompletionTime?: number;
|
|
207
209
|
actualCompletionTimeTimezone?: string;
|
|
210
|
+
tripCommunicationsChannels?: ICommunicationsChannel[];
|
|
208
211
|
createdAt?: number;
|
|
209
212
|
updatedAt?: number;
|
|
210
213
|
}
|
|
@@ -212,6 +215,7 @@ export declare class Trip implements ITrip {
|
|
|
212
215
|
id: string;
|
|
213
216
|
status: TripStatus;
|
|
214
217
|
transportationRequestId?: string;
|
|
218
|
+
requestingOrganizationId: string;
|
|
215
219
|
unosId: string;
|
|
216
220
|
organTypes: OrganType[];
|
|
217
221
|
recipientFacility: Facility;
|
|
@@ -230,6 +234,7 @@ export declare class Trip implements ITrip {
|
|
|
230
234
|
actualStartTimeTimezone?: string;
|
|
231
235
|
actualCompletionTime?: number;
|
|
232
236
|
actualCompletionTimeTimezone?: string;
|
|
237
|
+
tripCommunicationsChannels?: ICommunicationsChannel[];
|
|
233
238
|
createdAt?: number;
|
|
234
239
|
updatedAt?: number;
|
|
235
240
|
constructor(trip: ITrip);
|
package/dist/types/Trip.js
CHANGED
|
@@ -140,6 +140,7 @@ class Trip {
|
|
|
140
140
|
this.id = trip.id;
|
|
141
141
|
this.status = trip.status;
|
|
142
142
|
this.transportationRequestId = trip.transportationRequestId;
|
|
143
|
+
this.requestingOrganizationId = trip.requestingOrganizationId;
|
|
143
144
|
this.unosId = trip.unosId;
|
|
144
145
|
this.organTypes = trip.organTypes || [];
|
|
145
146
|
this.recipientFacility = trip.recipientFacility;
|
|
@@ -160,6 +161,8 @@ class Trip {
|
|
|
160
161
|
this.actualCompletionTime = trip.actualCompletionTime || undefined;
|
|
161
162
|
this.actualCompletionTimeTimezone =
|
|
162
163
|
trip.actualCompletionTimeTimezone || undefined;
|
|
164
|
+
this.tripCommunicationsChannels =
|
|
165
|
+
trip.tripCommunicationsChannels || undefined;
|
|
163
166
|
this.createdAt = trip.createdAt;
|
|
164
167
|
this.updatedAt = trip.updatedAt;
|
|
165
168
|
}
|