need4deed-sdk 0.0.120 → 0.0.122
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.
|
@@ -19,7 +19,12 @@ export declare enum CommunicationType {
|
|
|
19
19
|
FIRST_INQUIRY = "first-inquiry-sent",
|
|
20
20
|
OPPORTUNITY_LIST = "opportunity-list-sent",
|
|
21
21
|
STATUS_UPDATE = "status-update",
|
|
22
|
-
POST_FOLLOWUP = "post-match-followup"
|
|
22
|
+
POST_FOLLOWUP = "post-match-followup",
|
|
23
|
+
ACCOMPANYING_MATCHED = "accompanying-matched",
|
|
24
|
+
MATCHED = "matched",
|
|
25
|
+
OPPORTUNITY_CONFIRMATION = "opportunity-confirmation",
|
|
26
|
+
ACCOMPANYING_NOT_FOUND = "accompanying-not-found",
|
|
27
|
+
OPPORTUNITY_UPDATED = "opportunity-updated"
|
|
23
28
|
}
|
|
24
29
|
export interface ApiCommunicationPost {
|
|
25
30
|
contactType: ContactType;
|
|
@@ -32,6 +37,7 @@ export interface ApiCommunicationGet extends ApiCommunicationPost {
|
|
|
32
37
|
id: number;
|
|
33
38
|
volunteerId?: number;
|
|
34
39
|
agentId?: number;
|
|
40
|
+
opportunityId?: number;
|
|
35
41
|
userId: number;
|
|
36
42
|
}
|
|
37
43
|
export interface ApiVolunteerCommunicationPost extends ApiCommunicationPost {
|
|
@@ -26,4 +26,9 @@ var CommunicationType;
|
|
|
26
26
|
CommunicationType["OPPORTUNITY_LIST"] = "opportunity-list-sent";
|
|
27
27
|
CommunicationType["STATUS_UPDATE"] = "status-update";
|
|
28
28
|
CommunicationType["POST_FOLLOWUP"] = "post-match-followup";
|
|
29
|
+
CommunicationType["ACCOMPANYING_MATCHED"] = "accompanying-matched";
|
|
30
|
+
CommunicationType["MATCHED"] = "matched";
|
|
31
|
+
CommunicationType["OPPORTUNITY_CONFIRMATION"] = "opportunity-confirmation";
|
|
32
|
+
CommunicationType["ACCOMPANYING_NOT_FOUND"] = "accompanying-not-found";
|
|
33
|
+
CommunicationType["OPPORTUNITY_UPDATED"] = "opportunity-updated";
|
|
29
34
|
})(CommunicationType || (exports.CommunicationType = CommunicationType = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "need4deed-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.122",
|
|
4
4
|
"description": "Need4Deed.org SDK",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
"build": "yarn build:tsc",
|
|
23
23
|
"watch": "tsc --watch --project tsconfig.cjs.json",
|
|
24
24
|
"prepublishOnly": "yarn build",
|
|
25
|
-
"publish": "yarn publish --non-interactive",
|
|
26
25
|
"create-pr": "./create-pr.sh",
|
|
27
26
|
"typecheck": "tsc --noEmit"
|
|
28
27
|
},
|