need4deed-sdk 0.0.23 → 0.0.25

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.
@@ -9,4 +9,5 @@ export * from "./option";
9
9
  export * from "./person";
10
10
  export * from "./testimonial";
11
11
  export * from "./time";
12
+ export * from "./user";
12
13
  export * from "./volunteer";
@@ -25,4 +25,5 @@ __exportStar(require("./option"), exports);
25
25
  __exportStar(require("./person"), exports);
26
26
  __exportStar(require("./testimonial"), exports);
27
27
  __exportStar(require("./time"), exports);
28
+ __exportStar(require("./user"), exports);
28
29
  __exportStar(require("./volunteer"), exports);
@@ -0,0 +1,18 @@
1
+ export declare enum UserRole {
2
+ USER = "user",
3
+ COORDINATOR = "coordinator",
4
+ AGENT = "agent",
5
+ VOLUNTEER = "volunteer",
6
+ ADMIN = "admin"
7
+ }
8
+ export interface ApiUserGet {
9
+ id: number;
10
+ email: string;
11
+ isActive: boolean;
12
+ role: UserRole;
13
+ firstName: string;
14
+ fullName: string;
15
+ avatarUrl: string;
16
+ isoCode: string;
17
+ timezone: string;
18
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserRole = void 0;
4
+ var UserRole;
5
+ (function (UserRole) {
6
+ UserRole["USER"] = "user";
7
+ UserRole["COORDINATOR"] = "coordinator";
8
+ UserRole["AGENT"] = "agent";
9
+ UserRole["VOLUNTEER"] = "volunteer";
10
+ UserRole["ADMIN"] = "admin";
11
+ })(UserRole || (exports.UserRole = UserRole = {}));
@@ -113,7 +113,7 @@ export interface ApiVolunteerGet {
113
113
  statusType: VolunteerStateTypeType;
114
114
  statusMatch: VolunteerStateMatchType;
115
115
  statusCgcProcess: VolunteerStateCGCType;
116
- preferredCommunicationType: VolunteerCommunicationType;
116
+ preferredCommunicationType: VolunteerCommunicationType[];
117
117
  createdAt: Date;
118
118
  updatedAt: Date;
119
119
  goodConductCertificate: DocumentStatusType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.23",
3
+ "version": "0.0.25",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",