@graph8/sdk 0.15.0 → 0.16.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 +20 -1
- package/dist/index.d.ts +20 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +19 -0
- package/dist/react.d.ts +19 -0
- package/dist/react.js.map +1 -1
- package/dist/react.mjs.map +1 -1
- package/package.json +1 -1
package/dist/react.d.mts
CHANGED
|
@@ -1655,7 +1655,26 @@ interface DealUpdateParams {
|
|
|
1655
1655
|
add_contact_ids?: number[];
|
|
1656
1656
|
/** mashup_contact_ids to unlink. Idempotent. */
|
|
1657
1657
|
remove_contact_ids?: number[];
|
|
1658
|
+
/**
|
|
1659
|
+
* Buying-committee role per contact on this deal, keyed by
|
|
1660
|
+
* mashup_contact_id. JSON object keys are strings, so the key type is
|
|
1661
|
+
* `string` even though the id is numeric: `{ "5500429": "champion" }`.
|
|
1662
|
+
* `null` clears a contact's role.
|
|
1663
|
+
*
|
|
1664
|
+
* Applies to contacts already linked to the deal, and to contacts linked by
|
|
1665
|
+
* `add_contact_ids` in the same call (roles are applied after the link). An
|
|
1666
|
+
* id that is neither already linked nor being added is rejected with HTTP
|
|
1667
|
+
* 422 naming the id, and the whole update is rolled back. A role outside the
|
|
1668
|
+
* vocabulary is HTTP 422.
|
|
1669
|
+
*/
|
|
1670
|
+
contact_roles?: Record<string, DealContactRole | null>;
|
|
1658
1671
|
}
|
|
1672
|
+
/**
|
|
1673
|
+
* Role a contact plays in a deal's buying committee
|
|
1674
|
+
* (`cb_deal_contacts.role`). The same person can hold different roles on
|
|
1675
|
+
* different deals, so this lives on the deal-contact link, not the contact.
|
|
1676
|
+
*/
|
|
1677
|
+
type DealContactRole = "champion" | "decision_maker" | "influencer" | "blocker" | "coach" | "end_user";
|
|
1659
1678
|
interface DealListParams {
|
|
1660
1679
|
page?: number;
|
|
1661
1680
|
limit?: number;
|
package/dist/react.d.ts
CHANGED
|
@@ -1655,7 +1655,26 @@ interface DealUpdateParams {
|
|
|
1655
1655
|
add_contact_ids?: number[];
|
|
1656
1656
|
/** mashup_contact_ids to unlink. Idempotent. */
|
|
1657
1657
|
remove_contact_ids?: number[];
|
|
1658
|
+
/**
|
|
1659
|
+
* Buying-committee role per contact on this deal, keyed by
|
|
1660
|
+
* mashup_contact_id. JSON object keys are strings, so the key type is
|
|
1661
|
+
* `string` even though the id is numeric: `{ "5500429": "champion" }`.
|
|
1662
|
+
* `null` clears a contact's role.
|
|
1663
|
+
*
|
|
1664
|
+
* Applies to contacts already linked to the deal, and to contacts linked by
|
|
1665
|
+
* `add_contact_ids` in the same call (roles are applied after the link). An
|
|
1666
|
+
* id that is neither already linked nor being added is rejected with HTTP
|
|
1667
|
+
* 422 naming the id, and the whole update is rolled back. A role outside the
|
|
1668
|
+
* vocabulary is HTTP 422.
|
|
1669
|
+
*/
|
|
1670
|
+
contact_roles?: Record<string, DealContactRole | null>;
|
|
1658
1671
|
}
|
|
1672
|
+
/**
|
|
1673
|
+
* Role a contact plays in a deal's buying committee
|
|
1674
|
+
* (`cb_deal_contacts.role`). The same person can hold different roles on
|
|
1675
|
+
* different deals, so this lives on the deal-contact link, not the contact.
|
|
1676
|
+
*/
|
|
1677
|
+
type DealContactRole = "champion" | "decision_maker" | "influencer" | "blocker" | "coach" | "end_user";
|
|
1659
1678
|
interface DealListParams {
|
|
1660
1679
|
page?: number;
|
|
1661
1680
|
limit?: number;
|