need4deed-sdk 0.0.115 → 0.0.117
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
|
+
MATCHED = "matched",
|
|
24
|
+
ACCOMPANYING_NOT_FOUND = "accompanying-not-found",
|
|
25
|
+
ACCOMPANYING_MATCHED = "accompanying-matched",
|
|
26
|
+
OPPORTUNITY_UPDATED = "opportunity-updated",
|
|
27
|
+
OPPORTUNITY_CONFIRMATION = "opportunity-confirmation"
|
|
23
28
|
}
|
|
24
29
|
export interface ApiCommunicationPost {
|
|
25
30
|
contactType: ContactType;
|
|
@@ -32,7 +37,8 @@ export interface ApiCommunicationGet extends ApiCommunicationPost {
|
|
|
32
37
|
id: number;
|
|
33
38
|
volunteerId?: number;
|
|
34
39
|
agentId?: number;
|
|
35
|
-
|
|
40
|
+
opportunityId?: number;
|
|
41
|
+
userId?: number;
|
|
36
42
|
}
|
|
37
43
|
export interface ApiVolunteerCommunicationPost extends ApiCommunicationPost {
|
|
38
44
|
}
|
|
@@ -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["MATCHED"] = "matched";
|
|
30
|
+
CommunicationType["ACCOMPANYING_NOT_FOUND"] = "accompanying-not-found";
|
|
31
|
+
CommunicationType["ACCOMPANYING_MATCHED"] = "accompanying-matched";
|
|
32
|
+
CommunicationType["OPPORTUNITY_UPDATED"] = "opportunity-updated";
|
|
33
|
+
CommunicationType["OPPORTUNITY_CONFIRMATION"] = "opportunity-confirmation";
|
|
29
34
|
})(CommunicationType || (exports.CommunicationType = CommunicationType = {}));
|
|
@@ -15,6 +15,10 @@ export declare const REGULAR_ACCOMPANYING: ProfileVolunteeringType, OpportunityT
|
|
|
15
15
|
EVENTS: ProfileVolunteeringType.EVENTS;
|
|
16
16
|
};
|
|
17
17
|
export type OpportunityType = Exclude<ProfileVolunteeringType, ProfileVolunteeringType.REGULAR_ACCOMPANYING>;
|
|
18
|
+
export declare enum OpportunityLegacyType {
|
|
19
|
+
VOLUNTEERING = "volunteering",
|
|
20
|
+
ACCOMPANYING = "accompanying"
|
|
21
|
+
}
|
|
18
22
|
export declare enum TranslatedIntoType {
|
|
19
23
|
DEUTSCHE = "deutsche",
|
|
20
24
|
ENGLISH_OK = "englishOk",
|
|
@@ -82,7 +86,7 @@ export interface OpportunityLegacyFormDataProps {
|
|
|
82
86
|
rac_plz?: string;
|
|
83
87
|
agent_id?: number;
|
|
84
88
|
submitted_by_id?: number;
|
|
85
|
-
opportunity_type:
|
|
89
|
+
opportunity_type: OpportunityLegacyType;
|
|
86
90
|
accomp_address?: string;
|
|
87
91
|
accomp_postcode?: string;
|
|
88
92
|
accomp_datetime?: string;
|
|
@@ -11,9 +11,14 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
return t;
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.OpportunityVolunteerStatusType = exports.OpportunityMatchStatus = exports.OpportunityMatchStatusType = exports.OpportunityStatusType = exports.TranslatedIntoType = exports.OpportunityType = exports.REGULAR_ACCOMPANYING = void 0;
|
|
14
|
+
exports.OpportunityVolunteerStatusType = exports.OpportunityMatchStatus = exports.OpportunityMatchStatusType = exports.OpportunityStatusType = exports.TranslatedIntoType = exports.OpportunityLegacyType = exports.OpportunityType = exports.REGULAR_ACCOMPANYING = void 0;
|
|
15
15
|
const profile_1 = require("./profile");
|
|
16
16
|
exports.REGULAR_ACCOMPANYING = profile_1.ProfileVolunteeringType.REGULAR_ACCOMPANYING, exports.OpportunityType = __rest(profile_1.ProfileVolunteeringType, ["REGULAR_ACCOMPANYING"]);
|
|
17
|
+
var OpportunityLegacyType;
|
|
18
|
+
(function (OpportunityLegacyType) {
|
|
19
|
+
OpportunityLegacyType["VOLUNTEERING"] = "volunteering";
|
|
20
|
+
OpportunityLegacyType["ACCOMPANYING"] = "accompanying";
|
|
21
|
+
})(OpportunityLegacyType || (exports.OpportunityLegacyType = OpportunityLegacyType = {}));
|
|
17
22
|
var TranslatedIntoType;
|
|
18
23
|
(function (TranslatedIntoType) {
|
|
19
24
|
TranslatedIntoType["DEUTSCHE"] = "deutsche";
|