@graph8/sdk 0.262.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 CHANGED
@@ -24930,6 +24930,8 @@ type WebchatPayload = Record<string, unknown>;
24930
24930
  interface WebhookCreateRequest {
24931
24931
  /** Event types to subscribe to */
24932
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;
24933
24935
  /** Human-readable name */
24934
24936
  name?: string | null;
24935
24937
  /** Target URL for webhook delivery */
@@ -24954,6 +24956,8 @@ interface WebhookEventResponse {
24954
24956
  interface WebhookResponse {
24955
24957
  created_at?: string | null;
24956
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;
24957
24961
  id: string;
24958
24962
  is_active?: boolean;
24959
24963
  name?: string | null;
@@ -24965,6 +24969,8 @@ interface WebhookResponse {
24965
24969
  interface WebhookUpdateRequest {
24966
24970
  /** Event types to subscribe to */
24967
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;
24968
24974
  /** Whether the webhook is active */
24969
24975
  is_active?: boolean | null;
24970
24976
  /** Human-readable name */
package/dist/index.d.ts CHANGED
@@ -24930,6 +24930,8 @@ type WebchatPayload = Record<string, unknown>;
24930
24930
  interface WebhookCreateRequest {
24931
24931
  /** Event types to subscribe to */
24932
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;
24933
24935
  /** Human-readable name */
24934
24936
  name?: string | null;
24935
24937
  /** Target URL for webhook delivery */
@@ -24954,6 +24956,8 @@ interface WebhookEventResponse {
24954
24956
  interface WebhookResponse {
24955
24957
  created_at?: string | null;
24956
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;
24957
24961
  id: string;
24958
24962
  is_active?: boolean;
24959
24963
  name?: string | null;
@@ -24965,6 +24969,8 @@ interface WebhookResponse {
24965
24969
  interface WebhookUpdateRequest {
24966
24970
  /** Event types to subscribe to */
24967
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;
24968
24974
  /** Whether the webhook is active */
24969
24975
  is_active?: boolean | null;
24970
24976
  /** Human-readable name */
package/dist/index.js CHANGED
@@ -990,7 +990,7 @@ var EXTERNAL_ROUTES = {
990
990
  };
991
991
 
992
992
  // src/version.ts
993
- var SDK_VERSION = "0.262.0";
993
+ var SDK_VERSION = "0.263.0";
994
994
  var SDK_CLIENT_ID = `js-sdk/${SDK_VERSION}`;
995
995
 
996
996
  // src/http.ts