@pulsecharterconnect/types 0.2.37 → 0.2.39

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.
@@ -84,6 +84,7 @@ export interface IProposal {
84
84
  acceptedOrDeclinedByUserId?: string;
85
85
  reasonForAcceptDeclineOrUpdate?: string;
86
86
  additionalInformation?: string;
87
+ source?: "Form" | "Document";
87
88
  createdAt?: number;
88
89
  updatedAt?: number;
89
90
  }
@@ -99,6 +100,7 @@ export declare class Proposal implements IProposal {
99
100
  proposalStatus: ProposalStatus;
100
101
  proposalSegments: Array<IProposalAirSegment | IProposalGroundSegment>;
101
102
  additionalInformation?: string | undefined;
103
+ source?: "Form" | "Document";
102
104
  createdAt?: number;
103
105
  updatedAt?: number;
104
106
  acceptedOrDeclinedByUserId?: string;
@@ -41,6 +41,7 @@ class Proposal {
41
41
  this.additionalInformation = proposal.additionalInformation;
42
42
  this.createdAt = proposal.createdAt;
43
43
  this.updatedAt = proposal.updatedAt;
44
+ this.source = proposal.source || "Form";
44
45
  this.acceptedOrDeclinedByUserId = proposal.acceptedOrDeclinedByUserId;
45
46
  this.reasonForAcceptDeclineOrUpdate =
46
47
  proposal.reasonForAcceptDeclineOrUpdate;
@@ -4,6 +4,7 @@ import { ITripSegment } from "./Trip";
4
4
  export declare const DISTANCE_THRESHOLD_MILES_AIR_VS_GROUND = 100;
5
5
  export declare const AVERAGE_AIR_SPEED = 450;
6
6
  export declare enum TransportationRequestStatus {
7
+ COMMUNICATIONS_ONLY = "communications-only",
7
8
  CREATED = "created",
8
9
  AWAITING_SURGICAL_SERVICES_APPROVAL = "awaiting-surgical-services-approval",
9
10
  AWAITING_AIR_TRANSPORTATION_SERVICES_APPROVAL = "awaiting-air-transportation-services-approval",
@@ -7,6 +7,7 @@ exports.DISTANCE_THRESHOLD_MILES_AIR_VS_GROUND = 100;
7
7
  exports.AVERAGE_AIR_SPEED = 450;
8
8
  var TransportationRequestStatus;
9
9
  (function (TransportationRequestStatus) {
10
+ TransportationRequestStatus["COMMUNICATIONS_ONLY"] = "communications-only";
10
11
  TransportationRequestStatus["CREATED"] = "created";
11
12
  TransportationRequestStatus["AWAITING_SURGICAL_SERVICES_APPROVAL"] = "awaiting-surgical-services-approval";
12
13
  TransportationRequestStatus["AWAITING_AIR_TRANSPORTATION_SERVICES_APPROVAL"] = "awaiting-air-transportation-services-approval";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.2.37",
3
+ "version": "0.2.39",
4
4
  "description": "A TypeScript library for enhanced type safety.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",