need4deed-sdk 0.0.103 → 0.0.104

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.
@@ -178,3 +178,28 @@ export interface OpportunityVolunteer {
178
178
  export interface ApiOpportunityVolunteerGet extends OpportunityVolunteer {
179
179
  title: string;
180
180
  }
181
+ /**
182
+ * A volunteer linked to an opportunity, as surfaced on an agent's opportunity
183
+ * list. Person fields (`name`, `avatarUrl`) are PII-masked per caller role by
184
+ * the API, so they may be absent or redacted.
185
+ */
186
+ export interface ApiAgentOpportunityVolunteer {
187
+ id: number;
188
+ volunteerId: number;
189
+ status: OpportunityVolunteerStatusType;
190
+ name?: string;
191
+ avatarUrl?: string;
192
+ }
193
+ /**
194
+ * One of an agent's opportunities with the volunteers linked to it. Response
195
+ * item of `GET /agent/:id/opportunity-linked`.
196
+ */
197
+ export interface ApiAgentOpportunity {
198
+ id: Id;
199
+ title: string;
200
+ statusOpportunity: OpportunityStatusType;
201
+ statusMatch: OpportunityMatchStatusType;
202
+ numberOfVolunteers: number;
203
+ createdAt: Date;
204
+ volunteers: ApiAgentOpportunityVolunteer[];
205
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.103",
3
+ "version": "0.0.104",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",