need4deed-sdk 0.0.67 → 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.
@@ -80,7 +80,7 @@ export interface ApiAgentGet extends ApiAgentGetList {
80
80
  createdAt: Date;
81
81
  updatedAt?: Date;
82
82
  operator?: string;
83
- representatives?: ApiRepresentativeGet[];
83
+ representative?: ApiRepresentativeGet;
84
84
  serviceType?: AgentServiceType[];
85
85
  trustLevel: AgentTrustType;
86
86
  statusEngagement: AgentEngagementStatusType;
@@ -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 ApiVolunteerCommunicationPost {
23
+ export interface ApiCommunicationPost {
24
24
  contactType: ContactType;
25
25
  contactMethod: ContactMethodType;
26
26
  communicationType: CommunicationType;
27
27
  date: Date;
28
28
  }
29
- export interface ApiCommunicationGet extends ApiVolunteerCommunicationPost {
29
+ export type ApiCommunicationPatch = Partial<ApiCommunicationPost>;
30
+ export interface ApiCommunicationGet extends ApiCommunicationPost {
30
31
  id: number;
31
- volunteerId: number;
32
+ volunteerId?: number;
33
+ agentId?: number;
32
34
  userId: number;
33
35
  }
34
- export interface ApiVolunteerCommunicationPatch extends ApiVolunteerCommunicationPost {
36
+ export interface ApiVolunteerCommunicationPost extends ApiCommunicationPost {
35
37
  }
38
+ export type ApiVolunteerCommunicationPatch = ApiCommunicationPatch;
@@ -26,4 +26,3 @@ var CommunicationType;
26
26
  CommunicationType["STATUS_UPDATE"] = "status-update";
27
27
  CommunicationType["POST_FOLLOWUP"] = "post-match-followup";
28
28
  })(CommunicationType || (exports.CommunicationType = CommunicationType = {}));
29
- ;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.67",
3
+ "version": "0.0.68",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",