@pulsecharterconnect/types 0.1.28 → 0.1.30

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.
@@ -108,6 +108,7 @@ export interface IParticipant {
108
108
  email?: string;
109
109
  birthdate?: number;
110
110
  userId?: string;
111
+ chatToken?: string;
111
112
  createdAt?: number;
112
113
  updatedAt?: number;
113
114
  }
@@ -125,6 +126,7 @@ export declare class Participant implements IParticipant {
125
126
  dietaryPreferences?: string;
126
127
  email?: string;
127
128
  userId?: string;
129
+ chatToken?: string;
128
130
  createdAt?: number;
129
131
  updatedAt?: number;
130
132
  constructor(participant: IParticipant);
@@ -75,6 +75,7 @@ class Participant {
75
75
  this.birthdate = participant.birthdate || undefined;
76
76
  this.email = participant.email || undefined;
77
77
  this.userId = participant.userId || undefined;
78
+ this.chatToken = participant.chatToken || undefined;
78
79
  this.createdAt = participant.createdAt || undefined;
79
80
  this.updatedAt = participant.updatedAt || undefined;
80
81
  }
@@ -74,9 +74,10 @@ export declare class User implements IUser {
74
74
  notificationSettings: NotificationSettings;
75
75
  verifiedEmail?: boolean;
76
76
  status: UserStatus;
77
+ chatToken?: string;
77
78
  createdAt?: number;
78
79
  updatedAt?: number;
79
- constructor({ id, workOsId, primaryEmail, secondaryEmail, firstName, lastName, title, primaryPhoneNumber, secondaryPhoneNumber, privacyAgreedOnDate, termsAgreedOnDate, organizationId, role, addedByUserId, addedOnDate, lastLoginDate, notificationSettings, verifiedEmail, status, createdAt, updatedAt, }: IUser);
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);
80
81
  }
81
82
  export declare class ResetPassword {
82
83
  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, createdAt, updatedAt, }) {
34
+ constructor({ id, workOsId, primaryEmail, secondaryEmail, firstName, lastName, title, primaryPhoneNumber, secondaryPhoneNumber, privacyAgreedOnDate, termsAgreedOnDate, organizationId, role, addedByUserId, addedOnDate, lastLoginDate, notificationSettings, verifiedEmail, status, chatToken, createdAt, updatedAt, }) {
35
35
  this.id = id;
36
36
  this.workOsId = workOsId;
37
37
  this.primaryEmail = primaryEmail;
@@ -56,6 +56,7 @@ class User {
56
56
  };
57
57
  this.verifiedEmail = verifiedEmail || false;
58
58
  this.status = status || UserStatus.CREATED;
59
+ this.chatToken = chatToken || undefined;
59
60
  this.createdAt = createdAt;
60
61
  this.updatedAt = updatedAt;
61
62
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
4
4
  "description": "A TypeScript library for enhanced type safety.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",