@pulsecharterconnect/types 0.2.73 → 0.2.75
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.
|
@@ -163,6 +163,9 @@ export interface ITranportationOperatorOrganization {
|
|
|
163
163
|
safetyCertifications: SafetyCertifications[];
|
|
164
164
|
markupPercentage?: number;
|
|
165
165
|
}
|
|
166
|
+
export interface IOrganizationCommunicationsSettings {
|
|
167
|
+
alwaysAddParticipantIds: string[];
|
|
168
|
+
}
|
|
166
169
|
export interface IOrganization {
|
|
167
170
|
id: string;
|
|
168
171
|
workOsId: string;
|
|
@@ -173,6 +176,7 @@ export interface IOrganization {
|
|
|
173
176
|
systemAdminOrganizationDetails?: ISystemAdminOrganization;
|
|
174
177
|
transplantCenterOrganizationDetails?: ITransplantCenterOrganization;
|
|
175
178
|
transportationOperatorOrganizationDetails?: ITranportationOperatorOrganization;
|
|
179
|
+
communicationsSettings?: IOrganizationCommunicationsSettings;
|
|
176
180
|
createdAt?: number;
|
|
177
181
|
updatedAt?: number;
|
|
178
182
|
}
|
|
@@ -190,6 +194,7 @@ export declare class Organization implements IOrganization {
|
|
|
190
194
|
systemAdminOrganizationDetails?: ISystemAdminOrganization;
|
|
191
195
|
transplantCenterOrganizationDetails?: ITransplantCenterOrganization;
|
|
192
196
|
transportationOperatorOrganizationDetails?: ITranportationOperatorOrganization;
|
|
197
|
+
communicationsSettings?: IOrganizationCommunicationsSettings;
|
|
193
198
|
createdAt?: number;
|
|
194
199
|
updatedAt?: number;
|
|
195
200
|
constructor(organization: IOrganization);
|
|
@@ -121,6 +121,11 @@ class Organization {
|
|
|
121
121
|
throw new Error("Organization type not recognized");
|
|
122
122
|
}
|
|
123
123
|
this.featureFlags = organization.featureFlags || [];
|
|
124
|
+
if (!organization.communicationsSettings)
|
|
125
|
+
organization.communicationsSettings = { alwaysAddParticipantIds: [] };
|
|
126
|
+
if (!organization.communicationsSettings.alwaysAddParticipantIds)
|
|
127
|
+
organization.communicationsSettings.alwaysAddParticipantIds = [];
|
|
128
|
+
this.communicationsSettings = organization.communicationsSettings;
|
|
124
129
|
this.createdAt = organization.createdAt;
|
|
125
130
|
this.updatedAt = organization.updatedAt;
|
|
126
131
|
}
|