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