@pulsecharterconnect/types 0.0.11 → 0.0.12
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/User.d.ts +3 -1
- package/dist/types/User.js +2 -1
- package/package.json +1 -1
package/dist/types/User.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export type NotificationSettings = {
|
|
|
7
7
|
export type Role = "Super Admin" | "Transplant Center Coordinator" | "Transportation Operator Coordinator";
|
|
8
8
|
export interface IUser {
|
|
9
9
|
id: string;
|
|
10
|
+
workOsId: string;
|
|
10
11
|
primaryEmail: string;
|
|
11
12
|
secondaryEmail?: string;
|
|
12
13
|
firstName: string;
|
|
@@ -25,6 +26,7 @@ export interface IUser {
|
|
|
25
26
|
}
|
|
26
27
|
export declare class User implements IUser {
|
|
27
28
|
id: string;
|
|
29
|
+
workOsId: string;
|
|
28
30
|
primaryEmail: string;
|
|
29
31
|
secondaryEmail?: string;
|
|
30
32
|
firstName: string;
|
|
@@ -40,5 +42,5 @@ export declare class User implements IUser {
|
|
|
40
42
|
addedOnDate: number;
|
|
41
43
|
lastLoginDate?: number;
|
|
42
44
|
notificationSettings: NotificationSettings;
|
|
43
|
-
constructor({ id, primaryEmail, secondaryEmail, firstName, lastName, title, primaryPhoneNumber, secondaryPhoneNumber, privacyAgreedOnDate, termsAgreedOnDate, organizationId, role, addedByUserId, addedOnDate, lastLoginDate, notificationSettings }: IUser);
|
|
45
|
+
constructor({ id, workOsId, primaryEmail, secondaryEmail, firstName, lastName, title, primaryPhoneNumber, secondaryPhoneNumber, privacyAgreedOnDate, termsAgreedOnDate, organizationId, role, addedByUserId, addedOnDate, lastLoginDate, notificationSettings }: IUser);
|
|
44
46
|
}
|
package/dist/types/User.js
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.User = void 0;
|
|
4
4
|
class User {
|
|
5
|
-
constructor({ id, primaryEmail, secondaryEmail, firstName, lastName, title, primaryPhoneNumber, secondaryPhoneNumber, privacyAgreedOnDate, termsAgreedOnDate, organizationId, role, addedByUserId, addedOnDate, lastLoginDate, notificationSettings }) {
|
|
5
|
+
constructor({ id, workOsId, primaryEmail, secondaryEmail, firstName, lastName, title, primaryPhoneNumber, secondaryPhoneNumber, privacyAgreedOnDate, termsAgreedOnDate, organizationId, role, addedByUserId, addedOnDate, lastLoginDate, notificationSettings }) {
|
|
6
6
|
this.id = id;
|
|
7
|
+
this.workOsId = workOsId;
|
|
7
8
|
this.primaryEmail = primaryEmail;
|
|
8
9
|
this.secondaryEmail = secondaryEmail || undefined;
|
|
9
10
|
this.firstName = firstName;
|