@pulsecharterconnect/types 0.1.40 → 0.1.42
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.
|
@@ -83,6 +83,11 @@ export declare enum SafetyRequirements {
|
|
|
83
83
|
CAMTS = "CAMTS",
|
|
84
84
|
OTHER = "Other"
|
|
85
85
|
}
|
|
86
|
+
export declare enum TimezoneDisplayMode {
|
|
87
|
+
OCCURRENCE = "Occurrence",
|
|
88
|
+
ORGANIZATION = "Organization",
|
|
89
|
+
USER = "User"
|
|
90
|
+
}
|
|
86
91
|
export type SafetyCertifications = {
|
|
87
92
|
certification: SafetyRequirements;
|
|
88
93
|
expirationDate?: number;
|
|
@@ -161,18 +166,24 @@ export interface IOrganization {
|
|
|
161
166
|
name: string;
|
|
162
167
|
type: OrganizationType;
|
|
163
168
|
featureFlags: IFeatureFlag[];
|
|
169
|
+
timezonePreference?: TimezonePreference;
|
|
164
170
|
systemAdminOrganizationDetails?: ISystemAdminOrganization;
|
|
165
171
|
transplantCenterOrganizationDetails?: ITransplantCenterOrganization;
|
|
166
172
|
transportationOperatorOrganizationDetails?: ITranportationOperatorOrganization;
|
|
167
173
|
createdAt?: number;
|
|
168
174
|
updatedAt?: number;
|
|
169
175
|
}
|
|
176
|
+
export interface TimezonePreference {
|
|
177
|
+
displayMode: TimezoneDisplayMode;
|
|
178
|
+
organizationTimezone?: string;
|
|
179
|
+
}
|
|
170
180
|
export declare class Organization implements IOrganization {
|
|
171
181
|
id: string;
|
|
172
182
|
workOsId: string;
|
|
173
183
|
name: string;
|
|
174
184
|
type: OrganizationType;
|
|
175
185
|
featureFlags: IFeatureFlag[];
|
|
186
|
+
timezonePreference?: TimezonePreference;
|
|
176
187
|
systemAdminOrganizationDetails?: ISystemAdminOrganization;
|
|
177
188
|
transplantCenterOrganizationDetails?: ITransplantCenterOrganization;
|
|
178
189
|
transportationOperatorOrganizationDetails?: ITranportationOperatorOrganization;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Organization = exports.SafetyRequirements = exports.StateCode = exports.GroundService = exports.AirService = exports.OrganizationType = void 0;
|
|
3
|
+
exports.Organization = exports.TimezoneDisplayMode = exports.SafetyRequirements = exports.StateCode = exports.GroundService = exports.AirService = exports.OrganizationType = void 0;
|
|
4
4
|
var OrganizationType;
|
|
5
5
|
(function (OrganizationType) {
|
|
6
6
|
OrganizationType["SYSTEM_ADMIN"] = "System Admin";
|
|
@@ -90,12 +90,19 @@ var SafetyRequirements;
|
|
|
90
90
|
SafetyRequirements["CAMTS"] = "CAMTS";
|
|
91
91
|
SafetyRequirements["OTHER"] = "Other";
|
|
92
92
|
})(SafetyRequirements = exports.SafetyRequirements || (exports.SafetyRequirements = {}));
|
|
93
|
+
var TimezoneDisplayMode;
|
|
94
|
+
(function (TimezoneDisplayMode) {
|
|
95
|
+
TimezoneDisplayMode["OCCURRENCE"] = "Occurrence";
|
|
96
|
+
TimezoneDisplayMode["ORGANIZATION"] = "Organization";
|
|
97
|
+
TimezoneDisplayMode["USER"] = "User";
|
|
98
|
+
})(TimezoneDisplayMode = exports.TimezoneDisplayMode || (exports.TimezoneDisplayMode = {}));
|
|
93
99
|
class Organization {
|
|
94
100
|
constructor(organization) {
|
|
95
101
|
this.id = organization.id;
|
|
96
102
|
this.workOsId = organization.workOsId;
|
|
97
103
|
this.name = organization.name;
|
|
98
104
|
this.type = organization.type;
|
|
105
|
+
this.timezonePreference = organization.timezonePreference;
|
|
99
106
|
switch (organization.type) {
|
|
100
107
|
case "System Admin":
|
|
101
108
|
this.systemAdminOrganizationDetails =
|
package/dist/types/Proposal.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ export interface IProposal {
|
|
|
73
73
|
proposalSegments: Array<IProposalAirSegment | IProposalGroundSegment>;
|
|
74
74
|
acceptedOrDeclinedByUserId?: string;
|
|
75
75
|
reasonForAcceptDeclineOrUpdate?: string;
|
|
76
|
+
additionalInformation?: string;
|
|
76
77
|
createdAt?: number;
|
|
77
78
|
updatedAt?: number;
|
|
78
79
|
}
|
|
@@ -87,6 +88,7 @@ export declare class Proposal implements IProposal {
|
|
|
87
88
|
markupPercentage: number;
|
|
88
89
|
proposalStatus: ProposalStatus;
|
|
89
90
|
proposalSegments: Array<IProposalAirSegment | IProposalGroundSegment>;
|
|
91
|
+
additionalInformation?: string | undefined;
|
|
90
92
|
createdAt?: number;
|
|
91
93
|
updatedAt?: number;
|
|
92
94
|
acceptedOrDeclinedByUserId?: string;
|
package/dist/types/Proposal.js
CHANGED
|
@@ -37,6 +37,7 @@ class Proposal {
|
|
|
37
37
|
this.markupPercentage = proposal.markupPercentage;
|
|
38
38
|
this.proposalStatus = proposal.proposalStatus;
|
|
39
39
|
this.proposalSegments = proposal.proposalSegments;
|
|
40
|
+
this.additionalInformation = proposal.additionalInformation;
|
|
40
41
|
this.createdAt = proposal.createdAt;
|
|
41
42
|
this.updatedAt = proposal.updatedAt;
|
|
42
43
|
this.acceptedOrDeclinedByUserId = proposal.acceptedOrDeclinedByUserId;
|