need4deed-sdk 0.0.24 → 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.
@@ -1,10 +1,18 @@
1
- import { UserRole } from "../core";
1
+ export declare enum UserRole {
2
+ USER = "user",
3
+ COORDINATOR = "coordinator",
4
+ AGENT = "agent",
5
+ VOLUNTEER = "volunteer",
6
+ ADMIN = "admin"
7
+ }
2
8
  export interface ApiUserGet {
3
9
  id: number;
4
10
  email: string;
5
11
  isActive: boolean;
6
12
  role: UserRole;
13
+ firstName: string;
7
14
  fullName: string;
8
- createdAt: string;
9
- updatedAt: string;
15
+ avatarUrl: string;
16
+ isoCode: string;
17
+ timezone: string;
10
18
  }
@@ -1,2 +1,11 @@
1
1
  "use strict";
2
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 = {}));
@@ -25,13 +25,6 @@ export declare enum HttpMethod {
25
25
  CONNECT = "CONNECT",
26
26
  PATCH = "PATCH"
27
27
  }
28
- export declare enum UserRole {
29
- USER = "user",
30
- COORDINATOR = "coordinator",
31
- AGENT = "agent",
32
- VOLUNTEER = "volunteer",
33
- ADMIN = "admin"
34
- }
35
28
  export declare enum DocumentStatusType {
36
29
  UNDEFINED = "undefined",
37
30
  YES = "yes",
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QueryParamsKeys = exports.EntityTableName = exports.QueryParams = exports.SortOrder = exports.TimedTextType = exports.DocumentStatusType = exports.UserRole = exports.HttpMethod = exports.LangPurpose = exports.LangProficiency = exports.Lang = void 0;
3
+ exports.QueryParamsKeys = exports.EntityTableName = exports.QueryParams = exports.SortOrder = exports.TimedTextType = exports.DocumentStatusType = exports.HttpMethod = exports.LangPurpose = exports.LangProficiency = exports.Lang = void 0;
4
4
  var Lang;
5
5
  (function (Lang) {
6
6
  Lang["EN"] = "en";
@@ -32,14 +32,6 @@ var HttpMethod;
32
32
  HttpMethod["CONNECT"] = "CONNECT";
33
33
  HttpMethod["PATCH"] = "PATCH";
34
34
  })(HttpMethod || (exports.HttpMethod = HttpMethod = {}));
35
- var UserRole;
36
- (function (UserRole) {
37
- UserRole["USER"] = "user";
38
- UserRole["COORDINATOR"] = "coordinator";
39
- UserRole["AGENT"] = "agent";
40
- UserRole["VOLUNTEER"] = "volunteer";
41
- UserRole["ADMIN"] = "admin";
42
- })(UserRole || (exports.UserRole = UserRole = {}));
43
35
  var DocumentStatusType;
44
36
  (function (DocumentStatusType) {
45
37
  DocumentStatusType["UNDEFINED"] = "undefined";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",