@pulsecharterconnect/types 0.2.38 → 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.2.38",
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",