need4deed-sdk 0.0.22 → 0.0.23
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.
- package/dist/types/api/volunteer.d.ts +25 -1
- package/dist/types/api/volunteer.js +27 -1
- package/dist/types/core.d.ts +0 -23
- package/dist/types/core.js +1 -27
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DocumentStatusType, Id
|
|
1
|
+
import { DocumentStatusType, Id } from "../core";
|
|
2
2
|
import { OptionId } from "./common";
|
|
3
3
|
import { ApiLanguage } from "./language";
|
|
4
4
|
import { ApiOpportunityGetList } from "./opportunity";
|
|
@@ -68,6 +68,29 @@ export declare enum VolunteerStateCGCType {
|
|
|
68
68
|
UPLOADED = "uploaded",
|
|
69
69
|
MISSING = "missing"
|
|
70
70
|
}
|
|
71
|
+
export declare enum VolunteerStateType {
|
|
72
|
+
NEW = "New",
|
|
73
|
+
OPPORTUNITY_SENT = "Opportunity sent",
|
|
74
|
+
MATCHED = "Matched",
|
|
75
|
+
ACTIVE_REGULAR = "Active regular",
|
|
76
|
+
ACTIVE_ACCOMPANY = "Active accompany",
|
|
77
|
+
ACTIVE_FEST = "Active fest",
|
|
78
|
+
TO_REMATCH = "To rematch",
|
|
79
|
+
TEMP_INACTIVE = "Temp inactive",
|
|
80
|
+
INACTIVE = "Inactive"
|
|
81
|
+
}
|
|
82
|
+
export declare enum VolunteerStateMatchType {
|
|
83
|
+
NO_MATCHES = "no-matches",
|
|
84
|
+
PENDING_MATCH = "pending_match",
|
|
85
|
+
MATCHED = "matched",
|
|
86
|
+
NEEDS_REMATCH = "needs-rematch"
|
|
87
|
+
}
|
|
88
|
+
export declare enum VolunteerCommunicationType {
|
|
89
|
+
EMAIL = "email",
|
|
90
|
+
MOBILE_PHONE = "mobilePhone",
|
|
91
|
+
WHATSAPP = "whatsapp",
|
|
92
|
+
TELEGRAM = "telegram"
|
|
93
|
+
}
|
|
71
94
|
export interface ApiVolunteerGetList {
|
|
72
95
|
id: number;
|
|
73
96
|
statusEngagement: VolunteerStateEngagementType;
|
|
@@ -90,6 +113,7 @@ export interface ApiVolunteerGet {
|
|
|
90
113
|
statusType: VolunteerStateTypeType;
|
|
91
114
|
statusMatch: VolunteerStateMatchType;
|
|
92
115
|
statusCgcProcess: VolunteerStateCGCType;
|
|
116
|
+
preferredCommunicationType: VolunteerCommunicationType;
|
|
93
117
|
createdAt: Date;
|
|
94
118
|
updatedAt: Date;
|
|
95
119
|
goodConductCertificate: DocumentStatusType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VolunteerStateCGCType = exports.VolunteerStateTypeType = exports.VolunteerStateAppreciationType = exports.VolunteerStateCommunicationType = exports.VolunteerStateEngagementType = void 0;
|
|
3
|
+
exports.VolunteerCommunicationType = exports.VolunteerStateMatchType = exports.VolunteerStateType = exports.VolunteerStateCGCType = exports.VolunteerStateTypeType = exports.VolunteerStateAppreciationType = exports.VolunteerStateCommunicationType = exports.VolunteerStateEngagementType = void 0;
|
|
4
4
|
var VolunteerStateEngagementType;
|
|
5
5
|
(function (VolunteerStateEngagementType) {
|
|
6
6
|
VolunteerStateEngagementType["NEW"] = "new";
|
|
@@ -35,3 +35,29 @@ var VolunteerStateCGCType;
|
|
|
35
35
|
VolunteerStateCGCType["UPLOADED"] = "uploaded";
|
|
36
36
|
VolunteerStateCGCType["MISSING"] = "missing";
|
|
37
37
|
})(VolunteerStateCGCType || (exports.VolunteerStateCGCType = VolunteerStateCGCType = {}));
|
|
38
|
+
var VolunteerStateType;
|
|
39
|
+
(function (VolunteerStateType) {
|
|
40
|
+
VolunteerStateType["NEW"] = "New";
|
|
41
|
+
VolunteerStateType["OPPORTUNITY_SENT"] = "Opportunity sent";
|
|
42
|
+
VolunteerStateType["MATCHED"] = "Matched";
|
|
43
|
+
VolunteerStateType["ACTIVE_REGULAR"] = "Active regular";
|
|
44
|
+
VolunteerStateType["ACTIVE_ACCOMPANY"] = "Active accompany";
|
|
45
|
+
VolunteerStateType["ACTIVE_FEST"] = "Active fest";
|
|
46
|
+
VolunteerStateType["TO_REMATCH"] = "To rematch";
|
|
47
|
+
VolunteerStateType["TEMP_INACTIVE"] = "Temp inactive";
|
|
48
|
+
VolunteerStateType["INACTIVE"] = "Inactive";
|
|
49
|
+
})(VolunteerStateType || (exports.VolunteerStateType = VolunteerStateType = {}));
|
|
50
|
+
var VolunteerStateMatchType;
|
|
51
|
+
(function (VolunteerStateMatchType) {
|
|
52
|
+
VolunteerStateMatchType["NO_MATCHES"] = "no-matches";
|
|
53
|
+
VolunteerStateMatchType["PENDING_MATCH"] = "pending_match";
|
|
54
|
+
VolunteerStateMatchType["MATCHED"] = "matched";
|
|
55
|
+
VolunteerStateMatchType["NEEDS_REMATCH"] = "needs-rematch";
|
|
56
|
+
})(VolunteerStateMatchType || (exports.VolunteerStateMatchType = VolunteerStateMatchType = {}));
|
|
57
|
+
var VolunteerCommunicationType;
|
|
58
|
+
(function (VolunteerCommunicationType) {
|
|
59
|
+
VolunteerCommunicationType["EMAIL"] = "email";
|
|
60
|
+
VolunteerCommunicationType["MOBILE_PHONE"] = "mobilePhone";
|
|
61
|
+
VolunteerCommunicationType["WHATSAPP"] = "whatsapp";
|
|
62
|
+
VolunteerCommunicationType["TELEGRAM"] = "telegram";
|
|
63
|
+
})(VolunteerCommunicationType || (exports.VolunteerCommunicationType = VolunteerCommunicationType = {}));
|
package/dist/types/core.d.ts
CHANGED
|
@@ -42,29 +42,6 @@ export declare enum TimedTextType {
|
|
|
42
42
|
MATCHING = "matching"
|
|
43
43
|
}
|
|
44
44
|
export type Id = string | number;
|
|
45
|
-
export declare enum VolunteerStateType {
|
|
46
|
-
NEW = "New",
|
|
47
|
-
OPPORTUNITY_SENT = "Opportunity sent",
|
|
48
|
-
MATCHED = "Matched",
|
|
49
|
-
ACTIVE_REGULAR = "Active regular",
|
|
50
|
-
ACTIVE_ACCOMPANY = "Active accompany",
|
|
51
|
-
ACTIVE_FEST = "Active fest",
|
|
52
|
-
TO_REMATCH = "To rematch",
|
|
53
|
-
TEMP_INACTIVE = "Temp inactive",
|
|
54
|
-
INACTIVE = "Inactive"
|
|
55
|
-
}
|
|
56
|
-
export declare enum VolunteerStateMatchType {
|
|
57
|
-
NO_MATCHES = "no-matches",
|
|
58
|
-
PENDING_MATCH = "pending_match",
|
|
59
|
-
MATCHED = "matched",
|
|
60
|
-
NEEDS_REMATCH = "needs-rematch"
|
|
61
|
-
}
|
|
62
|
-
export declare enum VolunteerCommunicationType {
|
|
63
|
-
EMAIL = "email",
|
|
64
|
-
MOBILE_PHONE = "mobilePhone",
|
|
65
|
-
WHATSAPP = "whatsapp",
|
|
66
|
-
TELEGRAM = "telegram"
|
|
67
|
-
}
|
|
68
45
|
export declare enum SortOrder {
|
|
69
46
|
NewToOld = "new-old",
|
|
70
47
|
OldToNew = "old-new"
|
package/dist/types/core.js
CHANGED
|
@@ -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.
|
|
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";
|
|
@@ -50,32 +50,6 @@ var TimedTextType;
|
|
|
50
50
|
TimedTextType["STATUS"] = "status";
|
|
51
51
|
TimedTextType["MATCHING"] = "matching";
|
|
52
52
|
})(TimedTextType || (exports.TimedTextType = TimedTextType = {}));
|
|
53
|
-
var VolunteerStateType;
|
|
54
|
-
(function (VolunteerStateType) {
|
|
55
|
-
VolunteerStateType["NEW"] = "New";
|
|
56
|
-
VolunteerStateType["OPPORTUNITY_SENT"] = "Opportunity sent";
|
|
57
|
-
VolunteerStateType["MATCHED"] = "Matched";
|
|
58
|
-
VolunteerStateType["ACTIVE_REGULAR"] = "Active regular";
|
|
59
|
-
VolunteerStateType["ACTIVE_ACCOMPANY"] = "Active accompany";
|
|
60
|
-
VolunteerStateType["ACTIVE_FEST"] = "Active fest";
|
|
61
|
-
VolunteerStateType["TO_REMATCH"] = "To rematch";
|
|
62
|
-
VolunteerStateType["TEMP_INACTIVE"] = "Temp inactive";
|
|
63
|
-
VolunteerStateType["INACTIVE"] = "Inactive";
|
|
64
|
-
})(VolunteerStateType || (exports.VolunteerStateType = VolunteerStateType = {}));
|
|
65
|
-
var VolunteerStateMatchType;
|
|
66
|
-
(function (VolunteerStateMatchType) {
|
|
67
|
-
VolunteerStateMatchType["NO_MATCHES"] = "no-matches";
|
|
68
|
-
VolunteerStateMatchType["PENDING_MATCH"] = "pending_match";
|
|
69
|
-
VolunteerStateMatchType["MATCHED"] = "matched";
|
|
70
|
-
VolunteerStateMatchType["NEEDS_REMATCH"] = "needs-rematch";
|
|
71
|
-
})(VolunteerStateMatchType || (exports.VolunteerStateMatchType = VolunteerStateMatchType = {}));
|
|
72
|
-
var VolunteerCommunicationType;
|
|
73
|
-
(function (VolunteerCommunicationType) {
|
|
74
|
-
VolunteerCommunicationType["EMAIL"] = "email";
|
|
75
|
-
VolunteerCommunicationType["MOBILE_PHONE"] = "mobilePhone";
|
|
76
|
-
VolunteerCommunicationType["WHATSAPP"] = "whatsapp";
|
|
77
|
-
VolunteerCommunicationType["TELEGRAM"] = "telegram";
|
|
78
|
-
})(VolunteerCommunicationType || (exports.VolunteerCommunicationType = VolunteerCommunicationType = {}));
|
|
79
53
|
var SortOrder;
|
|
80
54
|
(function (SortOrder) {
|
|
81
55
|
SortOrder["NewToOld"] = "new-old";
|