@graph8/sdk 0.260.0 → 0.263.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 +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +7 -0
- package/dist/react.d.ts +7 -0
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +1 -1
- package/dist/react.mjs.map +1 -1
- package/dist/types/version.d.ts +2 -2
- package/docs/api/deals.d.ts +1 -0
- package/docs/api/deals.md +4 -0
- package/docs/api/webhooks.d.ts +6 -0
- package/docs/api/webhooks.md +7 -0
- package/package.json +1 -1
package/dist/react.d.mts
CHANGED
|
@@ -10930,6 +10930,7 @@ interface DealResponse {
|
|
|
10930
10930
|
owner_id?: string | null;
|
|
10931
10931
|
owner_name?: string | null;
|
|
10932
10932
|
pipeline_id?: string | null;
|
|
10933
|
+
pipeline_name?: string | null;
|
|
10933
10934
|
primary_contact?: ContactBrief | null;
|
|
10934
10935
|
/** CRM revision after a conditional update */
|
|
10935
10936
|
revision?: number | null;
|
|
@@ -24598,6 +24599,8 @@ type WebchatPayload = Record<string, unknown>;
|
|
|
24598
24599
|
interface WebhookCreateRequest {
|
|
24599
24600
|
/** Event types to subscribe to */
|
|
24600
24601
|
events: Array<string>;
|
|
24602
|
+
/** Per-object field filter for crm.record.updated: {object_slug: [field_slug]}. When set for an object, an update delivery fires only if a watched field's value changed. Omit or leave empty to fire on any change. Ignored for events other than crm.record.updated. */
|
|
24603
|
+
field_filters?: Record<string, Array<string>> | null;
|
|
24601
24604
|
/** Human-readable name */
|
|
24602
24605
|
name?: string | null;
|
|
24603
24606
|
/** Target URL for webhook delivery */
|
|
@@ -24622,6 +24625,8 @@ interface WebhookEventResponse {
|
|
|
24622
24625
|
interface WebhookResponse {
|
|
24623
24626
|
created_at?: string | null;
|
|
24624
24627
|
events?: Array<string>;
|
|
24628
|
+
/** Per-object field filter for crm.record.updated: {object_slug: [field_slug]}. When set for an object, an update delivery fires only if a watched field's value changed. Omit or leave empty to fire on any change. Ignored for events other than crm.record.updated. */
|
|
24629
|
+
field_filters?: Record<string, Array<string>> | null;
|
|
24625
24630
|
id: string;
|
|
24626
24631
|
is_active?: boolean;
|
|
24627
24632
|
name?: string | null;
|
|
@@ -24633,6 +24638,8 @@ interface WebhookResponse {
|
|
|
24633
24638
|
interface WebhookUpdateRequest {
|
|
24634
24639
|
/** Event types to subscribe to */
|
|
24635
24640
|
events?: Array<string> | null;
|
|
24641
|
+
/** Per-object field filter for crm.record.updated: {object_slug: [field_slug]}. When set for an object, an update delivery fires only if a watched field's value changed. Omit or leave empty to fire on any change. Ignored for events other than crm.record.updated. */
|
|
24642
|
+
field_filters?: Record<string, Array<string>> | null;
|
|
24636
24643
|
/** Whether the webhook is active */
|
|
24637
24644
|
is_active?: boolean | null;
|
|
24638
24645
|
/** Human-readable name */
|
package/dist/react.d.ts
CHANGED
|
@@ -10930,6 +10930,7 @@ interface DealResponse {
|
|
|
10930
10930
|
owner_id?: string | null;
|
|
10931
10931
|
owner_name?: string | null;
|
|
10932
10932
|
pipeline_id?: string | null;
|
|
10933
|
+
pipeline_name?: string | null;
|
|
10933
10934
|
primary_contact?: ContactBrief | null;
|
|
10934
10935
|
/** CRM revision after a conditional update */
|
|
10935
10936
|
revision?: number | null;
|
|
@@ -24598,6 +24599,8 @@ type WebchatPayload = Record<string, unknown>;
|
|
|
24598
24599
|
interface WebhookCreateRequest {
|
|
24599
24600
|
/** Event types to subscribe to */
|
|
24600
24601
|
events: Array<string>;
|
|
24602
|
+
/** Per-object field filter for crm.record.updated: {object_slug: [field_slug]}. When set for an object, an update delivery fires only if a watched field's value changed. Omit or leave empty to fire on any change. Ignored for events other than crm.record.updated. */
|
|
24603
|
+
field_filters?: Record<string, Array<string>> | null;
|
|
24601
24604
|
/** Human-readable name */
|
|
24602
24605
|
name?: string | null;
|
|
24603
24606
|
/** Target URL for webhook delivery */
|
|
@@ -24622,6 +24625,8 @@ interface WebhookEventResponse {
|
|
|
24622
24625
|
interface WebhookResponse {
|
|
24623
24626
|
created_at?: string | null;
|
|
24624
24627
|
events?: Array<string>;
|
|
24628
|
+
/** Per-object field filter for crm.record.updated: {object_slug: [field_slug]}. When set for an object, an update delivery fires only if a watched field's value changed. Omit or leave empty to fire on any change. Ignored for events other than crm.record.updated. */
|
|
24629
|
+
field_filters?: Record<string, Array<string>> | null;
|
|
24625
24630
|
id: string;
|
|
24626
24631
|
is_active?: boolean;
|
|
24627
24632
|
name?: string | null;
|
|
@@ -24633,6 +24638,8 @@ interface WebhookResponse {
|
|
|
24633
24638
|
interface WebhookUpdateRequest {
|
|
24634
24639
|
/** Event types to subscribe to */
|
|
24635
24640
|
events?: Array<string> | null;
|
|
24641
|
+
/** Per-object field filter for crm.record.updated: {object_slug: [field_slug]}. When set for an object, an update delivery fires only if a watched field's value changed. Omit or leave empty to fire on any change. Ignored for events other than crm.record.updated. */
|
|
24642
|
+
field_filters?: Record<string, Array<string>> | null;
|
|
24636
24643
|
/** Whether the webhook is active */
|
|
24637
24644
|
is_active?: boolean | null;
|
|
24638
24645
|
/** Human-readable name */
|