@pulsecharterconnect/types 0.2.98 → 0.2.100

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.
@@ -26,6 +26,7 @@ export declare class CommunicationsChannel implements ICommunicationsChannel {
26
26
  channelDisplayName: CommunicationsChannelType;
27
27
  channelType?: CommunicationsChannelType;
28
28
  unosId?: string;
29
+ tripId?: string;
29
30
  channelName: string;
30
31
  channelFullName: string;
31
32
  channelLastReadyByParticipants?: ICommunicationsChannelLastReadByParticipant[];
@@ -16,6 +16,7 @@ class CommunicationsChannel {
16
16
  this.channelDisplayName = channel.channelDisplayName;
17
17
  this.channelType = channel.channelType || undefined;
18
18
  this.unosId = channel.unosId || undefined;
19
+ this.tripId = channel.tripId || undefined;
19
20
  this.channelName = channel.channelName;
20
21
  this.channelFullName = channel.channelFullName;
21
22
  this.channelLastReadyByParticipants =
@@ -58,6 +58,7 @@ export declare enum OrganType {
58
58
  LUNG_EN_BLOC = "Lung - En Bloc",
59
59
  LEFT_KIDNEY = "Kidney - Left",
60
60
  RIGHT_KIDNEY = "Kidney - Right",
61
+ KIDNEY = "Kidney",
61
62
  LIVER = "Liver",
62
63
  PANCREAS = "Pancreas",
63
64
  VCA = "VCA",
@@ -64,6 +64,7 @@ var OrganType;
64
64
  OrganType["LUNG_EN_BLOC"] = "Lung - En Bloc";
65
65
  OrganType["LEFT_KIDNEY"] = "Kidney - Left";
66
66
  OrganType["RIGHT_KIDNEY"] = "Kidney - Right";
67
+ OrganType["KIDNEY"] = "Kidney";
67
68
  OrganType["LIVER"] = "Liver";
68
69
  OrganType["PANCREAS"] = "Pancreas";
69
70
  OrganType["VCA"] = "VCA";
@@ -137,6 +138,7 @@ function getEquipmentForOrgan(organType) {
137
138
  ];
138
139
  case OrganType.LEFT_KIDNEY:
139
140
  case OrganType.RIGHT_KIDNEY:
141
+ case OrganType.KIDNEY:
140
142
  return [
141
143
  EquipmentType.PARAGONIX_KIDNEY_VAULT,
142
144
  EquipmentType.ORS_LIFEPORT_KIDNEY,
@@ -213,7 +215,7 @@ class TransportationRequest {
213
215
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20;
214
216
  const recoveryTimeDuration = this.transportationRequestType === TransportRequestType.ONE_WAY
215
217
  ? luxon_1.Duration.fromObject({ minutes: 0 })
216
- : (_a = exports.RECOVERY_TIME_DURATION[this.recoveryType]) !== null && _a !== void 0 ? _a : luxon_1.Duration.fromObject({ hours: 3, minutes: 0 });
218
+ : ((_a = exports.RECOVERY_TIME_DURATION[this.recoveryType]) !== null && _a !== void 0 ? _a : luxon_1.Duration.fromObject({ hours: 3, minutes: 0 }));
217
219
  const tripDistanceInMiles = this.tripDistanceInMiles || 0;
218
220
  const flightTime = calculateTravelTime(tripDistanceInMiles, exports.AVERAGE_AIR_SPEED);
219
221
  let tripAirSegments = [];
@@ -433,7 +435,7 @@ class TransportationRequest {
433
435
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5;
434
436
  const recoveryTimeInMinutes = this.transportationRequestType === TransportRequestType.ONE_WAY
435
437
  ? luxon_1.Duration.fromObject({ minutes: 0 })
436
- : (_a = exports.RECOVERY_TIME_DURATION[this.recoveryType]) !== null && _a !== void 0 ? _a : luxon_1.Duration.fromObject({ hours: 3, minutes: 0 });
438
+ : ((_a = exports.RECOVERY_TIME_DURATION[this.recoveryType]) !== null && _a !== void 0 ? _a : luxon_1.Duration.fromObject({ hours: 3, minutes: 0 }));
437
439
  const localAirportLocation = {
438
440
  id: "1234",
439
441
  displayName: `${(_b = this.recipientFacility) === null || _b === void 0 ? void 0 : _b.city} area airport`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.2.98",
3
+ "version": "0.2.100",
4
4
  "description": "A TypeScript library for enhanced type safety.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",