@pulsecharterconnect/types 0.1.28 → 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.
- package/dist/types/Trip.d.ts +4 -0
- package/dist/types/Trip.js +2 -0
- package/dist/types/User.d.ts +4 -1
- package/dist/types/User.js +3 -1
- package/package.json +2 -2
package/dist/types/Trip.d.ts
CHANGED
|
@@ -108,6 +108,8 @@ export interface IParticipant {
|
|
|
108
108
|
email?: string;
|
|
109
109
|
birthdate?: number;
|
|
110
110
|
userId?: string;
|
|
111
|
+
chatToken?: string;
|
|
112
|
+
chatUserId?: string;
|
|
111
113
|
createdAt?: number;
|
|
112
114
|
updatedAt?: number;
|
|
113
115
|
}
|
|
@@ -125,6 +127,8 @@ export declare class Participant implements IParticipant {
|
|
|
125
127
|
dietaryPreferences?: string;
|
|
126
128
|
email?: string;
|
|
127
129
|
userId?: string;
|
|
130
|
+
chatToken?: string;
|
|
131
|
+
chatUserId?: string;
|
|
128
132
|
createdAt?: number;
|
|
129
133
|
updatedAt?: number;
|
|
130
134
|
constructor(participant: IParticipant);
|
package/dist/types/Trip.js
CHANGED
|
@@ -75,6 +75,8 @@ 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;
|
|
79
|
+
this.chatUserId = participant.chatUserId || undefined;
|
|
78
80
|
this.createdAt = participant.createdAt || undefined;
|
|
79
81
|
this.updatedAt = participant.updatedAt || undefined;
|
|
80
82
|
}
|
package/dist/types/User.d.ts
CHANGED
|
@@ -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
|
}
|
|
@@ -74,9 +75,11 @@ export declare class User implements IUser {
|
|
|
74
75
|
notificationSettings: NotificationSettings;
|
|
75
76
|
verifiedEmail?: boolean;
|
|
76
77
|
status: UserStatus;
|
|
78
|
+
chatToken?: string;
|
|
79
|
+
chatUserId?: string;
|
|
77
80
|
createdAt?: number;
|
|
78
81
|
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);
|
|
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);
|
|
80
83
|
}
|
|
81
84
|
export declare class ResetPassword {
|
|
82
85
|
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, chatUserId, createdAt, updatedAt, }) {
|
|
35
35
|
this.id = id;
|
|
36
36
|
this.workOsId = workOsId;
|
|
37
37
|
this.primaryEmail = primaryEmail;
|
|
@@ -56,6 +56,8 @@ class User {
|
|
|
56
56
|
};
|
|
57
57
|
this.verifiedEmail = verifiedEmail || false;
|
|
58
58
|
this.status = status || UserStatus.CREATED;
|
|
59
|
+
this.chatToken = chatToken || undefined;
|
|
60
|
+
this.chatUserId = chatUserId || undefined;
|
|
59
61
|
this.createdAt = createdAt;
|
|
60
62
|
this.updatedAt = updatedAt;
|
|
61
63
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulsecharterconnect/types",
|
|
3
|
-
"version": "0.1.
|
|
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
|
+
}
|