need4deed-sdk 0.0.66 → 0.0.68
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.
|
@@ -67,7 +67,6 @@ export interface AgentDetails {
|
|
|
67
67
|
}
|
|
68
68
|
export interface ApiRepresentativeGet extends ApiPersonGet {
|
|
69
69
|
role: AgentRoleType;
|
|
70
|
-
landline: string;
|
|
71
70
|
}
|
|
72
71
|
export interface ApiAgentGetList {
|
|
73
72
|
id: number;
|
|
@@ -81,10 +80,10 @@ export interface ApiAgentGet extends ApiAgentGetList {
|
|
|
81
80
|
createdAt: Date;
|
|
82
81
|
updatedAt?: Date;
|
|
83
82
|
operator?: string;
|
|
84
|
-
|
|
83
|
+
representative?: ApiRepresentativeGet;
|
|
85
84
|
serviceType?: AgentServiceType[];
|
|
86
85
|
trustLevel: AgentTrustType;
|
|
87
86
|
statusEngagement: AgentEngagementStatusType;
|
|
88
|
-
comments: ApiComment[];
|
|
89
87
|
agentDetails: AgentDetails;
|
|
88
|
+
comments: ApiComment[];
|
|
90
89
|
}
|
|
@@ -20,16 +20,19 @@ export declare enum CommunicationType {
|
|
|
20
20
|
STATUS_UPDATE = "status-update",
|
|
21
21
|
POST_FOLLOWUP = "post-match-followup"
|
|
22
22
|
}
|
|
23
|
-
export interface
|
|
23
|
+
export interface ApiCommunicationPost {
|
|
24
24
|
contactType: ContactType;
|
|
25
25
|
contactMethod: ContactMethodType;
|
|
26
26
|
communicationType: CommunicationType;
|
|
27
27
|
date: Date;
|
|
28
28
|
}
|
|
29
|
-
export
|
|
29
|
+
export type ApiCommunicationPatch = Partial<ApiCommunicationPost>;
|
|
30
|
+
export interface ApiCommunicationGet extends ApiCommunicationPost {
|
|
30
31
|
id: number;
|
|
31
|
-
volunteerId
|
|
32
|
+
volunteerId?: number;
|
|
33
|
+
agentId?: number;
|
|
32
34
|
userId: number;
|
|
33
35
|
}
|
|
34
|
-
export interface
|
|
36
|
+
export interface ApiVolunteerCommunicationPost extends ApiCommunicationPost {
|
|
35
37
|
}
|
|
38
|
+
export type ApiVolunteerCommunicationPatch = ApiCommunicationPatch;
|