@pulsecharterconnect/types 0.1.30 → 0.1.31

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.
@@ -109,6 +109,7 @@ export interface IParticipant {
109
109
  birthdate?: number;
110
110
  userId?: string;
111
111
  chatToken?: string;
112
+ chatUserId?: string;
112
113
  createdAt?: number;
113
114
  updatedAt?: number;
114
115
  }
@@ -127,6 +128,7 @@ export declare class Participant implements IParticipant {
127
128
  email?: string;
128
129
  userId?: string;
129
130
  chatToken?: string;
131
+ chatUserId?: string;
130
132
  createdAt?: number;
131
133
  updatedAt?: number;
132
134
  constructor(participant: IParticipant);
@@ -76,6 +76,7 @@ class Participant {
76
76
  this.email = participant.email || undefined;
77
77
  this.userId = participant.userId || undefined;
78
78
  this.chatToken = participant.chatToken || undefined;
79
+ this.chatUserId = participant.chatUserId || undefined;
79
80
  this.createdAt = participant.createdAt || undefined;
80
81
  this.updatedAt = participant.updatedAt || undefined;
81
82
  }
@@ -51,6 +51,7 @@ export interface IUser {
51
51
  verifiedEmail?: boolean;
52
52
  status: UserStatus;
53
53
  chatToken?: string;
54
+ chatUserId?: string;
54
55
  createdAt?: number;
55
56
  updatedAt?: number;
56
57
  }
@@ -75,9 +76,10 @@ export declare class User implements IUser {
75
76
  verifiedEmail?: boolean;
76
77
  status: UserStatus;
77
78
  chatToken?: string;
79
+ chatUserId?: string;
78
80
  createdAt?: number;
79
81
  updatedAt?: number;
80
- constructor({ id, workOsId, primaryEmail, secondaryEmail, firstName, lastName, title, primaryPhoneNumber, secondaryPhoneNumber, privacyAgreedOnDate, termsAgreedOnDate, organizationId, role, addedByUserId, addedOnDate, lastLoginDate, notificationSettings, verifiedEmail, status, chatToken, createdAt, updatedAt, }: IUser);
82
+ constructor({ id, workOsId, primaryEmail, secondaryEmail, firstName, lastName, title, primaryPhoneNumber, secondaryPhoneNumber, privacyAgreedOnDate, termsAgreedOnDate, organizationId, role, addedByUserId, addedOnDate, lastLoginDate, notificationSettings, verifiedEmail, status, chatToken, chatUserId, createdAt, updatedAt, }: IUser);
81
83
  }
82
84
  export declare class ResetPassword {
83
85
  token: string;
@@ -31,7 +31,7 @@ var UserStatus;
31
31
  UserStatus["DELETED"] = "deleted";
32
32
  })(UserStatus = exports.UserStatus || (exports.UserStatus = {}));
33
33
  class User {
34
- constructor({ id, workOsId, primaryEmail, secondaryEmail, firstName, lastName, title, primaryPhoneNumber, secondaryPhoneNumber, privacyAgreedOnDate, termsAgreedOnDate, organizationId, role, addedByUserId, addedOnDate, lastLoginDate, notificationSettings, verifiedEmail, status, chatToken, createdAt, updatedAt, }) {
34
+ constructor({ id, workOsId, primaryEmail, secondaryEmail, firstName, lastName, title, primaryPhoneNumber, secondaryPhoneNumber, privacyAgreedOnDate, termsAgreedOnDate, organizationId, role, addedByUserId, addedOnDate, lastLoginDate, notificationSettings, verifiedEmail, status, chatToken, chatUserId, createdAt, updatedAt, }) {
35
35
  this.id = id;
36
36
  this.workOsId = workOsId;
37
37
  this.primaryEmail = primaryEmail;
@@ -57,6 +57,7 @@ class User {
57
57
  this.verifiedEmail = verifiedEmail || false;
58
58
  this.status = status || UserStatus.CREATED;
59
59
  this.chatToken = chatToken || undefined;
60
+ this.chatUserId = chatUserId || undefined;
60
61
  this.createdAt = createdAt;
61
62
  this.updatedAt = updatedAt;
62
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "A TypeScript library for enhanced type safety.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,4 +26,4 @@
26
26
  "dependencies": {
27
27
  "@types/express": "^5.0.0"
28
28
  }
29
- }
29
+ }