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