@pulsecharterconnect/types 0.1.27 → 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.
- package/dist/types/Trip.d.ts +2 -0
- package/dist/types/Trip.js +1 -0
- package/dist/types/User.d.ts +3 -1
- package/dist/types/User.js +2 -1
- package/package.json +1 -1
package/dist/types/Trip.d.ts
CHANGED
|
@@ -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);
|
package/dist/types/Trip.js
CHANGED
|
@@ -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
|
}
|
package/dist/types/User.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ export interface IUser {
|
|
|
50
50
|
notificationSettings: NotificationSettings;
|
|
51
51
|
verifiedEmail?: boolean;
|
|
52
52
|
status: UserStatus;
|
|
53
|
+
chatToken?: string;
|
|
53
54
|
createdAt?: number;
|
|
54
55
|
updatedAt?: number;
|
|
55
56
|
}
|
|
@@ -73,9 +74,10 @@ export declare class User implements IUser {
|
|
|
73
74
|
notificationSettings: NotificationSettings;
|
|
74
75
|
verifiedEmail?: boolean;
|
|
75
76
|
status: UserStatus;
|
|
77
|
+
chatToken?: string;
|
|
76
78
|
createdAt?: number;
|
|
77
79
|
updatedAt?: number;
|
|
78
|
-
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);
|
|
79
81
|
}
|
|
80
82
|
export declare class ResetPassword {
|
|
81
83
|
token: string;
|
package/dist/types/User.js
CHANGED
|
@@ -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
|
}
|