@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/index.d.mts
CHANGED
|
@@ -11253,6 +11253,7 @@ interface DealResponse {
|
|
|
11253
11253
|
owner_id?: string | null;
|
|
11254
11254
|
owner_name?: string | null;
|
|
11255
11255
|
pipeline_id?: string | null;
|
|
11256
|
+
pipeline_name?: string | null;
|
|
11256
11257
|
primary_contact?: ContactBrief | null;
|
|
11257
11258
|
/** CRM revision after a conditional update */
|
|
11258
11259
|
revision?: number | null;
|
|
@@ -24929,6 +24930,8 @@ type WebchatPayload = Record<string, unknown>;
|
|
|
24929
24930
|
interface WebhookCreateRequest {
|
|
24930
24931
|
/** Event types to subscribe to */
|
|
24931
24932
|
events: Array<string>;
|
|
24933
|
+
/** 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. */
|
|
24934
|
+
field_filters?: Record<string, Array<string>> | null;
|
|
24932
24935
|
/** Human-readable name */
|
|
24933
24936
|
name?: string | null;
|
|
24934
24937
|
/** Target URL for webhook delivery */
|
|
@@ -24953,6 +24956,8 @@ interface WebhookEventResponse {
|
|
|
24953
24956
|
interface WebhookResponse {
|
|
24954
24957
|
created_at?: string | null;
|
|
24955
24958
|
events?: Array<string>;
|
|
24959
|
+
/** 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. */
|
|
24960
|
+
field_filters?: Record<string, Array<string>> | null;
|
|
24956
24961
|
id: string;
|
|
24957
24962
|
is_active?: boolean;
|
|
24958
24963
|
name?: string | null;
|
|
@@ -24964,6 +24969,8 @@ interface WebhookResponse {
|
|
|
24964
24969
|
interface WebhookUpdateRequest {
|
|
24965
24970
|
/** Event types to subscribe to */
|
|
24966
24971
|
events?: Array<string> | null;
|
|
24972
|
+
/** 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. */
|
|
24973
|
+
field_filters?: Record<string, Array<string>> | null;
|
|
24967
24974
|
/** Whether the webhook is active */
|
|
24968
24975
|
is_active?: boolean | null;
|
|
24969
24976
|
/** Human-readable name */
|
package/dist/index.d.ts
CHANGED
|
@@ -11253,6 +11253,7 @@ interface DealResponse {
|
|
|
11253
11253
|
owner_id?: string | null;
|
|
11254
11254
|
owner_name?: string | null;
|
|
11255
11255
|
pipeline_id?: string | null;
|
|
11256
|
+
pipeline_name?: string | null;
|
|
11256
11257
|
primary_contact?: ContactBrief | null;
|
|
11257
11258
|
/** CRM revision after a conditional update */
|
|
11258
11259
|
revision?: number | null;
|
|
@@ -24929,6 +24930,8 @@ type WebchatPayload = Record<string, unknown>;
|
|
|
24929
24930
|
interface WebhookCreateRequest {
|
|
24930
24931
|
/** Event types to subscribe to */
|
|
24931
24932
|
events: Array<string>;
|
|
24933
|
+
/** 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. */
|
|
24934
|
+
field_filters?: Record<string, Array<string>> | null;
|
|
24932
24935
|
/** Human-readable name */
|
|
24933
24936
|
name?: string | null;
|
|
24934
24937
|
/** Target URL for webhook delivery */
|
|
@@ -24953,6 +24956,8 @@ interface WebhookEventResponse {
|
|
|
24953
24956
|
interface WebhookResponse {
|
|
24954
24957
|
created_at?: string | null;
|
|
24955
24958
|
events?: Array<string>;
|
|
24959
|
+
/** 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. */
|
|
24960
|
+
field_filters?: Record<string, Array<string>> | null;
|
|
24956
24961
|
id: string;
|
|
24957
24962
|
is_active?: boolean;
|
|
24958
24963
|
name?: string | null;
|
|
@@ -24964,6 +24969,8 @@ interface WebhookResponse {
|
|
|
24964
24969
|
interface WebhookUpdateRequest {
|
|
24965
24970
|
/** Event types to subscribe to */
|
|
24966
24971
|
events?: Array<string> | null;
|
|
24972
|
+
/** 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. */
|
|
24973
|
+
field_filters?: Record<string, Array<string>> | null;
|
|
24967
24974
|
/** Whether the webhook is active */
|
|
24968
24975
|
is_active?: boolean | null;
|
|
24969
24976
|
/** Human-readable name */
|