need4deed-sdk 0.0.138 → 0.0.140
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.
|
@@ -34,7 +34,9 @@ export declare enum AgentEngagementStatusType {
|
|
|
34
34
|
NEW = "agent-new",
|
|
35
35
|
ACTIVE = "agent-active",
|
|
36
36
|
UNRESPONSIVE = "agent-unresponsive",
|
|
37
|
-
INACTIVE = "agent-inactive"
|
|
37
|
+
INACTIVE = "agent-inactive",
|
|
38
|
+
INCONTACT = "agent-incontact",
|
|
39
|
+
TRIED_TO_CONTACT = "agent-tried-to-contact"
|
|
38
40
|
}
|
|
39
41
|
export declare enum AgentVolunteerSearchType {
|
|
40
42
|
SEARCHING = "agent-searching",
|
package/dist/types/api/agent.js
CHANGED
|
@@ -38,6 +38,8 @@ var AgentEngagementStatusType;
|
|
|
38
38
|
AgentEngagementStatusType["ACTIVE"] = "agent-active";
|
|
39
39
|
AgentEngagementStatusType["UNRESPONSIVE"] = "agent-unresponsive";
|
|
40
40
|
AgentEngagementStatusType["INACTIVE"] = "agent-inactive";
|
|
41
|
+
AgentEngagementStatusType["INCONTACT"] = "agent-incontact";
|
|
42
|
+
AgentEngagementStatusType["TRIED_TO_CONTACT"] = "agent-tried-to-contact";
|
|
41
43
|
})(AgentEngagementStatusType || (exports.AgentEngagementStatusType = AgentEngagementStatusType = {}));
|
|
42
44
|
var AgentVolunteerSearchType;
|
|
43
45
|
(function (AgentVolunteerSearchType) {
|
|
@@ -197,6 +197,7 @@ export type ApiOpportunityPatch = VoidableProps<{
|
|
|
197
197
|
statusOpportunity: OpportunityStatusType;
|
|
198
198
|
numberVolunteers: number;
|
|
199
199
|
description: string;
|
|
200
|
+
volunteerType: VolunteerStateTypeType;
|
|
200
201
|
languagesMain: OptionItem[];
|
|
201
202
|
languagesResidents: OptionItem[];
|
|
202
203
|
activities: OptionItem[];
|
|
@@ -208,11 +209,14 @@ export type ApiOpportunityPatch = VoidableProps<{
|
|
|
208
209
|
time: string;
|
|
209
210
|
};
|
|
210
211
|
contact: {
|
|
212
|
+
/**
|
|
213
|
+
* Relinks the opportunity to a different Person already registered as a
|
|
214
|
+
* contact of the opportunity's agent. `name`/`phone`/`email`/
|
|
215
|
+
* `waysToContact` are derived from that Person and returned on
|
|
216
|
+
* `ApiOpportunityContact` — editing them directly goes through the
|
|
217
|
+
* agent-contact endpoints (`ApiAgentContactPatch`), not this field.
|
|
218
|
+
*/
|
|
211
219
|
id: number;
|
|
212
|
-
name: string;
|
|
213
|
-
phone: string;
|
|
214
|
-
email: string;
|
|
215
|
-
waysToContact: PreferredCommunicationType[];
|
|
216
220
|
};
|
|
217
221
|
agent: {
|
|
218
222
|
id?: number;
|
package/dist/types/api/user.d.ts
CHANGED
|
@@ -19,6 +19,10 @@ export interface ApiUserPost {
|
|
|
19
19
|
lastName?: string;
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
+
export interface ApiAgentMembershipSummary {
|
|
23
|
+
agentId: number;
|
|
24
|
+
agentTitle: string;
|
|
25
|
+
}
|
|
22
26
|
interface UserGet {
|
|
23
27
|
id: number;
|
|
24
28
|
personId: number;
|
|
@@ -31,6 +35,7 @@ interface UserGet {
|
|
|
31
35
|
isoCode: string;
|
|
32
36
|
timezone: string;
|
|
33
37
|
agentId?: number;
|
|
38
|
+
agentMemberships?: ApiAgentMembershipSummary[];
|
|
34
39
|
}
|
|
35
40
|
export type ApiUserGet = VoidableProps<UserGet, "avatarUrl" | "personId">;
|
|
36
41
|
export {};
|