need4deed-sdk 0.0.119 → 0.0.121

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.
@@ -81,7 +81,6 @@ interface AgentGetList {
81
81
  activeVolunteers: number;
82
82
  email: string;
83
83
  numOpportunities: number;
84
- numActiveVolunteers: number;
85
84
  }
86
85
  export type ApiAgentGetList = VoidableProps<AgentGetList, "district">;
87
86
  interface AgentGet extends AgentGetList {
@@ -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 = {}));
@@ -55,8 +55,8 @@ export declare enum EntityTableName {
55
55
  NONE = "none",
56
56
  ACTIVITY = "activity",
57
57
  AGENT = "agent",
58
- CATEGORY = "comment",
59
- COMMENT = "category",
58
+ CATEGORY = "category",
59
+ COMMENT = "comment",
60
60
  DISTRICT = "district",
61
61
  LANGUAGE = "language",
62
62
  LEAD = "lead_from",
@@ -65,8 +65,8 @@ var EntityTableName;
65
65
  EntityTableName["NONE"] = "none";
66
66
  EntityTableName["ACTIVITY"] = "activity";
67
67
  EntityTableName["AGENT"] = "agent";
68
- EntityTableName["CATEGORY"] = "comment";
69
- EntityTableName["COMMENT"] = "category";
68
+ EntityTableName["CATEGORY"] = "category";
69
+ EntityTableName["COMMENT"] = "comment";
70
70
  EntityTableName["DISTRICT"] = "district";
71
71
  EntityTableName["LANGUAGE"] = "language";
72
72
  EntityTableName["LEAD"] = "lead_from";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.119",
3
+ "version": "0.0.121",
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
  },