@pulsecharterconnect/types 0.0.15 → 0.0.17

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.
@@ -4,7 +4,7 @@ export type NotificationSettings = {
4
4
  voice: boolean;
5
5
  inApp: boolean;
6
6
  };
7
- export type Role = "Super Admin" | "Transplant Center Coordinator" | "Transportation Operator Coordinator";
7
+ export type Role = "Super Admin" | "Transplant Center Coordinator" | "Transplant Center Surgeon" | "Transportation Operator Coordinator" | "Transportation Operator Agent";
8
8
  export interface IUser {
9
9
  id: string;
10
10
  workOsId: string;
@@ -46,3 +46,8 @@ export declare class User implements IUser {
46
46
  verifiedEmail?: boolean;
47
47
  constructor({ id, workOsId, primaryEmail, secondaryEmail, firstName, lastName, title, primaryPhoneNumber, secondaryPhoneNumber, privacyAgreedOnDate, termsAgreedOnDate, organizationId, role, addedByUserId, addedOnDate, lastLoginDate, notificationSettings, verifiedEmail, }: IUser);
48
48
  }
49
+ export declare class ResetPassword {
50
+ token: string;
51
+ password: string;
52
+ constructor(token: string, password: string);
53
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.User = void 0;
3
+ exports.ResetPassword = exports.User = void 0;
4
4
  class User {
5
5
  constructor({ id, workOsId, primaryEmail, secondaryEmail, firstName, lastName, title, primaryPhoneNumber, secondaryPhoneNumber, privacyAgreedOnDate, termsAgreedOnDate, organizationId, role, addedByUserId, addedOnDate, lastLoginDate, notificationSettings, verifiedEmail, }) {
6
6
  this.id = id;
@@ -29,3 +29,10 @@ class User {
29
29
  }
30
30
  }
31
31
  exports.User = User;
32
+ class ResetPassword {
33
+ constructor(token, password) {
34
+ this.token = token;
35
+ this.password = password;
36
+ }
37
+ }
38
+ exports.ResetPassword = ResetPassword;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "description": "A TypeScript library for enhanced type safety.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",