@pulsecharterconnect/types 0.2.105 → 0.2.107

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.
@@ -161,8 +161,6 @@ export interface ITransportationRequest {
161
161
  eventLog?: IEventLog[];
162
162
  isTrainingMode?: boolean;
163
163
  equipmentReturnRequested?: boolean;
164
- organProcurementOrganizationId?: string;
165
- organProcurementOrganizationContactId?: string;
166
164
  createdAt?: number;
167
165
  updatedAt?: number;
168
166
  }
@@ -189,8 +187,6 @@ export declare class TransportationRequest implements ITransportationRequest {
189
187
  eventLog?: IEventLog[] | undefined;
190
188
  isTrainingMode?: boolean;
191
189
  equipmentReturnRequested?: boolean;
192
- organProcurementOrganizationContactId?: string | undefined;
193
- organProcurementOrganizationId?: string | undefined;
194
190
  createdAt?: number;
195
191
  updatedAt?: number;
196
192
  constructor(transportationRequest: ITransportationRequest);
@@ -201,10 +201,6 @@ class TransportationRequest {
201
201
  this.isTrainingMode = transportationRequest.isTrainingMode || false;
202
202
  this.equipmentReturnRequested =
203
203
  transportationRequest.equipmentReturnRequested || false;
204
- this.organProcurementOrganizationContactId =
205
- transportationRequest.organProcurementOrganizationContactId;
206
- this.organProcurementOrganizationId =
207
- transportationRequest.organProcurementOrganizationId;
208
204
  this.createdAt = transportationRequest.createdAt;
209
205
  this.updatedAt = transportationRequest.updatedAt;
210
206
  }
@@ -144,6 +144,13 @@ export declare enum Gender {
144
144
  FEMALE = "female",
145
145
  UNSPECIFIED = "unspecified"
146
146
  }
147
+ export interface IParticipantChatSubscription {
148
+ endpoint: string;
149
+ keys: {
150
+ p256dh: string;
151
+ auth: string;
152
+ };
153
+ }
147
154
  export interface IParticipant {
148
155
  id: string;
149
156
  organizationId: string;
@@ -160,6 +167,7 @@ export interface IParticipant {
160
167
  userId?: string;
161
168
  chatToken?: string;
162
169
  chatUserId?: string;
170
+ chatSubscriptions?: IParticipantChatSubscription[];
163
171
  createdAt?: number;
164
172
  updatedAt?: number;
165
173
  }
@@ -179,6 +187,7 @@ export declare class Participant implements IParticipant {
179
187
  userId?: string;
180
188
  chatToken?: string;
181
189
  chatUserId?: string;
190
+ chatSubscriptions?: IParticipantChatSubscription[] | undefined;
182
191
  createdAt?: number;
183
192
  updatedAt?: number;
184
193
  constructor(participant: IParticipant);
@@ -241,6 +250,8 @@ export interface ITrip {
241
250
  actualCompletionTimeTimezone?: string;
242
251
  tripCommunicationsChannels?: ICommunicationsChannel[];
243
252
  tripActionHistory?: ITripActionItem[];
253
+ organProcurementOrganizationId?: string;
254
+ organProcurementOrganizationContactId?: string;
244
255
  createdAt?: number;
245
256
  updatedAt?: number;
246
257
  }
@@ -269,6 +280,8 @@ export declare class Trip implements ITrip {
269
280
  actualCompletionTimeTimezone?: string;
270
281
  tripCommunicationsChannels?: ICommunicationsChannel[];
271
282
  tripActionHistory?: ITripActionItem[] | undefined;
283
+ organProcurementOrganizationId?: string;
284
+ organProcurementOrganizationContactId?: string;
272
285
  createdAt?: number;
273
286
  updatedAt?: number;
274
287
  constructor(trip: ITrip);
@@ -149,6 +149,7 @@ class Participant {
149
149
  this.userId = participant.userId || undefined;
150
150
  this.chatToken = participant.chatToken || undefined;
151
151
  this.chatUserId = participant.chatUserId || undefined;
152
+ this.chatSubscriptions = participant.chatSubscriptions || undefined;
152
153
  this.createdAt = participant.createdAt || undefined;
153
154
  this.updatedAt = participant.updatedAt || undefined;
154
155
  }
@@ -183,6 +184,10 @@ class Trip {
183
184
  this.tripCommunicationsChannels =
184
185
  trip.tripCommunicationsChannels || undefined;
185
186
  this.tripActionHistory = trip.tripActionHistory || undefined;
187
+ this.organProcurementOrganizationId =
188
+ trip.organProcurementOrganizationId || undefined;
189
+ this.organProcurementOrganizationContactId =
190
+ trip.organProcurementOrganizationContactId || undefined;
186
191
  this.createdAt = trip.createdAt;
187
192
  this.updatedAt = trip.updatedAt;
188
193
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.2.105",
3
+ "version": "0.2.107",
4
4
  "description": "A TypeScript library for enhanced type safety.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",