need4deed-sdk 0.0.32 → 0.0.34
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.
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare enum ContactType {
|
|
2
|
+
CALL = "called",
|
|
3
|
+
TRIED_CALL = "tried-to-call",
|
|
4
|
+
TEXT_EMAIL = "texted-or-emailed",
|
|
5
|
+
OTHER = "other"
|
|
6
|
+
}
|
|
7
|
+
export declare enum ContactMethodType {
|
|
8
|
+
EMAIL = "email",
|
|
9
|
+
PHONE = "phone-number",
|
|
10
|
+
TELEGRAM = "telegram",
|
|
11
|
+
WHATSAPP = "whatsapp",
|
|
12
|
+
SIGNAL = "signal"
|
|
13
|
+
}
|
|
14
|
+
export declare enum CommunicationType {
|
|
15
|
+
BRIEF = "briefed",
|
|
16
|
+
FIRST_INQUIRY = "first-inquiry-sent",
|
|
17
|
+
OPPORTUNITY_LIST = "opportunity-list-sent",
|
|
18
|
+
STATUS_UPDATE = "status-update",
|
|
19
|
+
POST_FOLLOWUP = "post-match-followup"
|
|
20
|
+
}
|
|
21
|
+
export interface ApiVolunteerCommunicationPost {
|
|
22
|
+
contactType: ContactType;
|
|
23
|
+
contactMethod: ContactMethodType;
|
|
24
|
+
communicationType: CommunicationType;
|
|
25
|
+
date: Date;
|
|
26
|
+
}
|
|
27
|
+
export interface ApiCommunicationGet extends ApiVolunteerCommunicationPost {
|
|
28
|
+
id: number;
|
|
29
|
+
volunteerId: number;
|
|
30
|
+
userId: number;
|
|
31
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CommunicationType = exports.ContactMethodType = exports.ContactType = void 0;
|
|
4
|
+
var ContactType;
|
|
5
|
+
(function (ContactType) {
|
|
6
|
+
ContactType["CALL"] = "called";
|
|
7
|
+
ContactType["TRIED_CALL"] = "tried-to-call";
|
|
8
|
+
ContactType["TEXT_EMAIL"] = "texted-or-emailed";
|
|
9
|
+
ContactType["OTHER"] = "other";
|
|
10
|
+
})(ContactType || (exports.ContactType = ContactType = {}));
|
|
11
|
+
var ContactMethodType;
|
|
12
|
+
(function (ContactMethodType) {
|
|
13
|
+
ContactMethodType["EMAIL"] = "email";
|
|
14
|
+
ContactMethodType["PHONE"] = "phone-number";
|
|
15
|
+
ContactMethodType["TELEGRAM"] = "telegram";
|
|
16
|
+
ContactMethodType["WHATSAPP"] = "whatsapp";
|
|
17
|
+
ContactMethodType["SIGNAL"] = "signal";
|
|
18
|
+
})(ContactMethodType || (exports.ContactMethodType = ContactMethodType = {}));
|
|
19
|
+
var CommunicationType;
|
|
20
|
+
(function (CommunicationType) {
|
|
21
|
+
CommunicationType["BRIEF"] = "briefed";
|
|
22
|
+
CommunicationType["FIRST_INQUIRY"] = "first-inquiry-sent";
|
|
23
|
+
CommunicationType["OPPORTUNITY_LIST"] = "opportunity-list-sent";
|
|
24
|
+
CommunicationType["STATUS_UPDATE"] = "status-update";
|
|
25
|
+
CommunicationType["POST_FOLLOWUP"] = "post-match-followup";
|
|
26
|
+
})(CommunicationType || (exports.CommunicationType = CommunicationType = {}));
|
package/dist/types/api/index.js
CHANGED
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./comment"), exports);
|
|
18
18
|
__exportStar(require("./common"), exports);
|
|
19
|
+
__exportStar(require("./communication"), exports);
|
|
19
20
|
__exportStar(require("./document"), exports);
|
|
20
21
|
__exportStar(require("./event"), exports);
|
|
21
22
|
__exportStar(require("./language"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "need4deed-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.34",
|
|
4
4
|
"description": "Need4Deed.org SDK",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -22,8 +22,7 @@
|
|
|
22
22
|
"build": "yarn build:tsc && yarn build:copy-assets",
|
|
23
23
|
"watch": "tsc --watch --project tsconfig.cjs.json",
|
|
24
24
|
"prepublishOnly": "yarn build",
|
|
25
|
-
"publish": "yarn publish",
|
|
26
|
-
"publish:npm": "npm publish --non-interactive",
|
|
25
|
+
"publish": "yarn publish --non-interactive",
|
|
27
26
|
"create-pr": "./create-pr.sh"
|
|
28
27
|
},
|
|
29
28
|
"keywords": [
|