@pulsecharterconnect/types 0.2.74 → 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.
@@ -1,5 +1,4 @@
1
1
  import { IFeatureFlag } from "./FeatureFlag";
2
- import { IParticipant } from "./Trip";
3
2
  export declare enum OrganizationType {
4
3
  SYSTEM_ADMIN = "System Admin",
5
4
  TRANSPLANT_CENTER = "Transplant Center",
@@ -165,7 +164,7 @@ export interface ITranportationOperatorOrganization {
165
164
  markupPercentage?: number;
166
165
  }
167
166
  export interface IOrganizationCommunicationsSettings {
168
- alwaysAddParticipants: IParticipant[];
167
+ alwaysAddParticipantIds: string[];
169
168
  }
170
169
  export interface IOrganization {
171
170
  id: string;
@@ -122,9 +122,9 @@ class Organization {
122
122
  }
123
123
  this.featureFlags = organization.featureFlags || [];
124
124
  if (!organization.communicationsSettings)
125
- organization.communicationsSettings = { alwaysAddParticipants: [] };
126
- if (!organization.communicationsSettings.alwaysAddParticipants)
127
- organization.communicationsSettings.alwaysAddParticipants = [];
125
+ organization.communicationsSettings = { alwaysAddParticipantIds: [] };
126
+ if (!organization.communicationsSettings.alwaysAddParticipantIds)
127
+ organization.communicationsSettings.alwaysAddParticipantIds = [];
128
128
  this.communicationsSettings = organization.communicationsSettings;
129
129
  this.createdAt = organization.createdAt;
130
130
  this.updatedAt = organization.updatedAt;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.2.74",
3
+ "version": "0.2.75",
4
4
  "description": "A TypeScript library for enhanced type safety.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",