@graph8/sdk 0.16.0 → 0.17.0

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.
package/dist/react.d.mts CHANGED
@@ -1642,11 +1642,14 @@ interface DealUpdateParams {
1642
1642
  */
1643
1643
  close_date?: string | null;
1644
1644
  /**
1645
- * Reassign the deal owner (user id or email). Pass null to clear, except on
1646
- * a deal sitting in a closed stage (HTTP 400, marker
1647
- * `owner_required_for_closed_stage`).
1645
+ * Reassign the deal owner. Pass a member id, email, or provider uid — it is
1646
+ * resolved to a real team member (HTTP 422 if it matches none). Omit to
1647
+ * leave the owner unchanged. Ownership is reassign-only and CANNOT be
1648
+ * cleared: passing `null` is rejected with HTTP 422 (#18469). A deal's owner
1649
+ * is a required invariant. (The closed-stage gate still applies when moving
1650
+ * into Closed Won/Lost — see `stage_id`.)
1648
1651
  */
1649
- owner_id?: string | null;
1652
+ owner_id?: string;
1650
1653
  /**
1651
1654
  * mashup_contact_ids to link. Must belong to the deal's company (if the deal
1652
1655
  * has none yet, the added contacts' company is adopted); a cross-company add
package/dist/react.d.ts CHANGED
@@ -1642,11 +1642,14 @@ interface DealUpdateParams {
1642
1642
  */
1643
1643
  close_date?: string | null;
1644
1644
  /**
1645
- * Reassign the deal owner (user id or email). Pass null to clear, except on
1646
- * a deal sitting in a closed stage (HTTP 400, marker
1647
- * `owner_required_for_closed_stage`).
1645
+ * Reassign the deal owner. Pass a member id, email, or provider uid — it is
1646
+ * resolved to a real team member (HTTP 422 if it matches none). Omit to
1647
+ * leave the owner unchanged. Ownership is reassign-only and CANNOT be
1648
+ * cleared: passing `null` is rejected with HTTP 422 (#18469). A deal's owner
1649
+ * is a required invariant. (The closed-stage gate still applies when moving
1650
+ * into Closed Won/Lost — see `stage_id`.)
1648
1651
  */
1649
- owner_id?: string | null;
1652
+ owner_id?: string;
1650
1653
  /**
1651
1654
  * mashup_contact_ids to link. Must belong to the deal's company (if the deal
1652
1655
  * has none yet, the added contacts' company is adopted); a cross-company add