need4deed-sdk 0.0.138 → 0.0.139

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.
@@ -208,11 +208,14 @@ export type ApiOpportunityPatch = VoidableProps<{
208
208
  time: string;
209
209
  };
210
210
  contact: {
211
+ /**
212
+ * Relinks the opportunity to a different Person already registered as a
213
+ * contact of the opportunity's agent. `name`/`phone`/`email`/
214
+ * `waysToContact` are derived from that Person and returned on
215
+ * `ApiOpportunityContact` — editing them directly goes through the
216
+ * agent-contact endpoints (`ApiAgentContactPatch`), not this field.
217
+ */
211
218
  id: number;
212
- name: string;
213
- phone: string;
214
- email: string;
215
- waysToContact: PreferredCommunicationType[];
216
219
  };
217
220
  agent: {
218
221
  id?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.138",
3
+ "version": "0.0.139",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",