need4deed-sdk 0.0.68 → 0.0.70

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.
@@ -29,15 +29,15 @@ export declare enum AgentRoleType {
29
29
  OTHER = "other"
30
30
  }
31
31
  export declare enum AgentEngagementStatusType {
32
- NEW = "new",
33
- ACTIVE = "active",
34
- UNRESPONSIVE = "unresponsive",
35
- INACTIVE = "inactive"
32
+ NEW = "agent-new",
33
+ ACTIVE = "agent-active",
34
+ UNRESPONSIVE = "agent-unresponsive",
35
+ INACTIVE = "agent-inactive"
36
36
  }
37
37
  export declare enum AgentVolunteerSearchType {
38
- SEARCHING = "searching",
39
- NOT_NEEDED = "not-needed",
40
- VOLUNTEERS_FOUND = "volunteers-found"
38
+ SEARCHING = "agent-searching",
39
+ NOT_NEEDED = "agent-not-needed",
40
+ VOLUNTEERS_FOUND = "agent-volunteers-found"
41
41
  }
42
42
  export declare enum AgentServiceType {
43
43
  CHILDCARE = "childcare",
@@ -52,9 +52,9 @@ export declare enum AgentServiceType {
52
52
  YOUTH = "youth"
53
53
  }
54
54
  export declare enum AgentTrustType {
55
- HIGH = "high",
56
- LOW = "low",
57
- UNKNOWN = "unknown"
55
+ HIGH = "agent-high",
56
+ LOW = "agent-low",
57
+ UNKNOWN = "agent-unknown"
58
58
  }
59
59
  export interface AgentDetails {
60
60
  about: string;
@@ -68,6 +68,7 @@ export interface AgentDetails {
68
68
  export interface ApiRepresentativeGet extends ApiPersonGet {
69
69
  role: AgentRoleType;
70
70
  }
71
+ export type ApiRepresentativePatch = Partial<ApiRepresentativeGet>;
71
72
  export interface ApiAgentGetList {
72
73
  id: number;
73
74
  title: string;
@@ -32,16 +32,16 @@ var AgentRoleType;
32
32
  })(AgentRoleType || (exports.AgentRoleType = AgentRoleType = {}));
33
33
  var AgentEngagementStatusType;
34
34
  (function (AgentEngagementStatusType) {
35
- AgentEngagementStatusType["NEW"] = "new";
36
- AgentEngagementStatusType["ACTIVE"] = "active";
37
- AgentEngagementStatusType["UNRESPONSIVE"] = "unresponsive";
38
- AgentEngagementStatusType["INACTIVE"] = "inactive";
35
+ AgentEngagementStatusType["NEW"] = "agent-new";
36
+ AgentEngagementStatusType["ACTIVE"] = "agent-active";
37
+ AgentEngagementStatusType["UNRESPONSIVE"] = "agent-unresponsive";
38
+ AgentEngagementStatusType["INACTIVE"] = "agent-inactive";
39
39
  })(AgentEngagementStatusType || (exports.AgentEngagementStatusType = AgentEngagementStatusType = {}));
40
40
  var AgentVolunteerSearchType;
41
41
  (function (AgentVolunteerSearchType) {
42
- AgentVolunteerSearchType["SEARCHING"] = "searching";
43
- AgentVolunteerSearchType["NOT_NEEDED"] = "not-needed";
44
- AgentVolunteerSearchType["VOLUNTEERS_FOUND"] = "volunteers-found";
42
+ AgentVolunteerSearchType["SEARCHING"] = "agent-searching";
43
+ AgentVolunteerSearchType["NOT_NEEDED"] = "agent-not-needed";
44
+ AgentVolunteerSearchType["VOLUNTEERS_FOUND"] = "agent-volunteers-found";
45
45
  })(AgentVolunteerSearchType || (exports.AgentVolunteerSearchType = AgentVolunteerSearchType = {}));
46
46
  var AgentServiceType;
47
47
  (function (AgentServiceType) {
@@ -58,7 +58,7 @@ var AgentServiceType;
58
58
  })(AgentServiceType || (exports.AgentServiceType = AgentServiceType = {}));
59
59
  var AgentTrustType;
60
60
  (function (AgentTrustType) {
61
- AgentTrustType["HIGH"] = "high";
62
- AgentTrustType["LOW"] = "low";
63
- AgentTrustType["UNKNOWN"] = "unknown";
61
+ AgentTrustType["HIGH"] = "agent-high";
62
+ AgentTrustType["LOW"] = "agent-low";
63
+ AgentTrustType["UNKNOWN"] = "agent-unknown";
64
64
  })(AgentTrustType || (exports.AgentTrustType = AgentTrustType = {}));
@@ -21,22 +21,22 @@ export declare enum TranslatedIntoType {
21
21
  NO_TRANSLATION = "noTranslation"
22
22
  }
23
23
  export declare enum OpportunityStatusType {
24
- NEW = "new",
25
- SEARCHING = "searching",
26
- ACTIVE = "active",
27
- PAST = "past"
24
+ NEW = "opp-new",
25
+ SEARCHING = "opp-searching",
26
+ ACTIVE = "opp-active",
27
+ PAST = "opp-past"
28
28
  }
29
29
  export declare enum OpportunityMatchStatus {
30
- PENDING_MATCH = "pending-match",
31
- MATCHED = "matched",
32
- NEEDS_REMATCH = "needs-rematch",
33
- UNMATCHED = "unmatched"
30
+ PENDING_MATCH = "opp-pending-match",
31
+ MATCHED = "opp-matched",
32
+ NEEDS_REMATCH = "opp-needs-rematch",
33
+ UNMATCHED = "opp-unmatched"
34
34
  }
35
35
  export declare enum OpportunityVolunteerStatusType {
36
- PENDING = "pending",
37
- MATCHED = "matched",
38
- ACTIVE = "active",
39
- PAST = "past"
36
+ PENDING = "opp-pending",
37
+ MATCHED = "opp-matched",
38
+ ACTIVE = "opp-active",
39
+ PAST = "opp-past"
40
40
  }
41
41
  export interface OpportunityFormData {
42
42
  title: string;
@@ -22,22 +22,22 @@ var TranslatedIntoType;
22
22
  })(TranslatedIntoType || (exports.TranslatedIntoType = TranslatedIntoType = {}));
23
23
  var OpportunityStatusType;
24
24
  (function (OpportunityStatusType) {
25
- OpportunityStatusType["NEW"] = "new";
26
- OpportunityStatusType["SEARCHING"] = "searching";
27
- OpportunityStatusType["ACTIVE"] = "active";
28
- OpportunityStatusType["PAST"] = "past";
25
+ OpportunityStatusType["NEW"] = "opp-new";
26
+ OpportunityStatusType["SEARCHING"] = "opp-searching";
27
+ OpportunityStatusType["ACTIVE"] = "opp-active";
28
+ OpportunityStatusType["PAST"] = "opp-past";
29
29
  })(OpportunityStatusType || (exports.OpportunityStatusType = OpportunityStatusType = {}));
30
30
  var OpportunityMatchStatus;
31
31
  (function (OpportunityMatchStatus) {
32
- OpportunityMatchStatus["PENDING_MATCH"] = "pending-match";
33
- OpportunityMatchStatus["MATCHED"] = "matched";
34
- OpportunityMatchStatus["NEEDS_REMATCH"] = "needs-rematch";
35
- OpportunityMatchStatus["UNMATCHED"] = "unmatched";
32
+ OpportunityMatchStatus["PENDING_MATCH"] = "opp-pending-match";
33
+ OpportunityMatchStatus["MATCHED"] = "opp-matched";
34
+ OpportunityMatchStatus["NEEDS_REMATCH"] = "opp-needs-rematch";
35
+ OpportunityMatchStatus["UNMATCHED"] = "opp-unmatched";
36
36
  })(OpportunityMatchStatus || (exports.OpportunityMatchStatus = OpportunityMatchStatus = {}));
37
37
  var OpportunityVolunteerStatusType;
38
38
  (function (OpportunityVolunteerStatusType) {
39
- OpportunityVolunteerStatusType["PENDING"] = "pending";
40
- OpportunityVolunteerStatusType["MATCHED"] = "matched";
41
- OpportunityVolunteerStatusType["ACTIVE"] = "active";
42
- OpportunityVolunteerStatusType["PAST"] = "past";
39
+ OpportunityVolunteerStatusType["PENDING"] = "opp-pending";
40
+ OpportunityVolunteerStatusType["MATCHED"] = "opp-matched";
41
+ OpportunityVolunteerStatusType["ACTIVE"] = "opp-active";
42
+ OpportunityVolunteerStatusType["PAST"] = "opp-past";
43
43
  })(OpportunityVolunteerStatusType || (exports.OpportunityVolunteerStatusType = OpportunityVolunteerStatusType = {}));
@@ -5,3 +5,4 @@ export interface ApiOrganizationGet {
5
5
  website: string;
6
6
  address: ApiAddress;
7
7
  }
8
+ export type ApiOrganizationPatch = Partial<ApiOrganizationGet>;
@@ -15,6 +15,6 @@ export interface ApiPersonGet {
15
15
  landline: string;
16
16
  email: string;
17
17
  address: Address;
18
- preferredComm?: PreferredCommunicationType;
18
+ preferredComm?: PreferredCommunicationType[];
19
19
  }
20
20
  export type ApiPersonPatch = Partial<ApiPersonGet>;
@@ -60,12 +60,12 @@ export interface VolunteerFormData {
60
60
  comments: string;
61
61
  }
62
62
  export declare enum VolunteerStateEngagementType {
63
- NEW = "new",
64
- ACTIVE = "active",
65
- AVAILABLE = "available",
66
- TEMP_UNAVAILABLE = "temp-unavailable",
67
- INACTIVE = "inactive",
68
- UNRESPONSIVE = "unresponsive"
63
+ NEW = "vol-new",
64
+ ACTIVE = "vol-active",
65
+ AVAILABLE = "vol-available",
66
+ TEMP_UNAVAILABLE = "vol-temp-unavailable",
67
+ INACTIVE = "vol-inactive",
68
+ UNRESPONSIVE = "vol-unresponsive"
69
69
  }
70
70
  export declare enum VolunteerStateCommunicationType {
71
71
  CALLED = "called",
@@ -97,10 +97,10 @@ export declare enum VolunteerStateType {
97
97
  INACTIVE = "Inactive"
98
98
  }
99
99
  export declare enum VolunteerStateMatchType {
100
- NO_MATCHES = "no-matches",
101
- PENDING_MATCH = "pending-match",
102
- MATCHED = "matched",
103
- NEEDS_REMATCH = "needs-rematch"
100
+ NO_MATCHES = "vol-no-matches",
101
+ PENDING_MATCH = "vol-pending-match",
102
+ MATCHED = "vol-matched",
103
+ NEEDS_REMATCH = "vol-needs-rematch"
104
104
  }
105
105
  export declare const VolunteerCommunicationType: typeof PreferredCommunicationType;
106
106
  export type VolunteerCommunicationType = PreferredCommunicationType;
@@ -5,12 +5,12 @@ const person_1 = require("./person");
5
5
  const profile_1 = require("./profile");
6
6
  var VolunteerStateEngagementType;
7
7
  (function (VolunteerStateEngagementType) {
8
- VolunteerStateEngagementType["NEW"] = "new";
9
- VolunteerStateEngagementType["ACTIVE"] = "active";
10
- VolunteerStateEngagementType["AVAILABLE"] = "available";
11
- VolunteerStateEngagementType["TEMP_UNAVAILABLE"] = "temp-unavailable";
12
- VolunteerStateEngagementType["INACTIVE"] = "inactive";
13
- VolunteerStateEngagementType["UNRESPONSIVE"] = "unresponsive";
8
+ VolunteerStateEngagementType["NEW"] = "vol-new";
9
+ VolunteerStateEngagementType["ACTIVE"] = "vol-active";
10
+ VolunteerStateEngagementType["AVAILABLE"] = "vol-available";
11
+ VolunteerStateEngagementType["TEMP_UNAVAILABLE"] = "vol-temp-unavailable";
12
+ VolunteerStateEngagementType["INACTIVE"] = "vol-inactive";
13
+ VolunteerStateEngagementType["UNRESPONSIVE"] = "vol-unresponsive";
14
14
  })(VolunteerStateEngagementType || (exports.VolunteerStateEngagementType = VolunteerStateEngagementType = {}));
15
15
  var VolunteerStateCommunicationType;
16
16
  (function (VolunteerStateCommunicationType) {
@@ -46,9 +46,9 @@ var VolunteerStateType;
46
46
  })(VolunteerStateType || (exports.VolunteerStateType = VolunteerStateType = {}));
47
47
  var VolunteerStateMatchType;
48
48
  (function (VolunteerStateMatchType) {
49
- VolunteerStateMatchType["NO_MATCHES"] = "no-matches";
50
- VolunteerStateMatchType["PENDING_MATCH"] = "pending-match";
51
- VolunteerStateMatchType["MATCHED"] = "matched";
52
- VolunteerStateMatchType["NEEDS_REMATCH"] = "needs-rematch";
49
+ VolunteerStateMatchType["NO_MATCHES"] = "vol-no-matches";
50
+ VolunteerStateMatchType["PENDING_MATCH"] = "vol-pending-match";
51
+ VolunteerStateMatchType["MATCHED"] = "vol-matched";
52
+ VolunteerStateMatchType["NEEDS_REMATCH"] = "vol-needs-rematch";
53
53
  })(VolunteerStateMatchType || (exports.VolunteerStateMatchType = VolunteerStateMatchType = {}));
54
54
  exports.VolunteerCommunicationType = person_1.PreferredCommunicationType;
@@ -3,11 +3,11 @@ export declare enum Lang {
3
3
  DE = "de"
4
4
  }
5
5
  export declare enum LangProficiency {
6
- BEGINNER = "beginner",
7
6
  INTERMEDIATE = "intermediate",
8
- ADVANCED = "advanced",
9
7
  FLUENT = "fluent",
10
- NATIVE = "native"
8
+ NATIVE = "native",
9
+ ADVANCED = "advanced",
10
+ BEGINNER = "beginner"
11
11
  }
12
12
  export declare enum LangPurpose {
13
13
  GENERAL = "general",
@@ -8,11 +8,11 @@ var Lang;
8
8
  })(Lang || (exports.Lang = Lang = {}));
9
9
  var LangProficiency;
10
10
  (function (LangProficiency) {
11
- LangProficiency["BEGINNER"] = "beginner";
12
11
  LangProficiency["INTERMEDIATE"] = "intermediate";
13
- LangProficiency["ADVANCED"] = "advanced";
14
12
  LangProficiency["FLUENT"] = "fluent";
15
13
  LangProficiency["NATIVE"] = "native";
14
+ LangProficiency["ADVANCED"] = "advanced";
15
+ LangProficiency["BEGINNER"] = "beginner";
16
16
  })(LangProficiency || (exports.LangProficiency = LangProficiency = {}));
17
17
  var LangPurpose;
18
18
  (function (LangPurpose) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.68",
3
+ "version": "0.0.70",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",