Files
alighasami 3d5eaf9445
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
first commit
2026-03-17 16:22:57 +03:30

71 lines
1.3 KiB
TypeScript

import type { IDataObject } from 'n8n-workflow';
export interface IAddress {
country_code?: string;
field?: string;
line1?: string;
line2?: string;
locality?: string;
postal_code?: string;
region?: string;
zip_code?: string;
zip_four?: string;
}
export interface ICustomField {
content: IDataObject;
id: number;
}
export interface IEmailContact {
email?: string;
field?: string;
}
export interface IFax {
field?: string;
number?: string;
type?: string;
}
export interface IPhone {
extension?: string;
field?: string;
number?: string;
type?: string;
}
export interface ISocialAccount {
name?: string;
type?: string;
}
export interface IContact {
addresses?: IAddress[];
anniversary?: string;
company?: IDataObject;
contact_type?: string;
custom_fields?: ICustomField[];
duplicate_option?: string;
email_addresses?: IEmailContact[];
family_name?: string;
fax_numbers?: IFax[];
given_name?: string;
job_title?: string;
lead_source_id?: number;
middle_name?: string;
opt_in_reason?: string;
origin?: IDataObject;
owner_id?: number;
phone_numbers?: IPhone[];
preferred_locale?: string;
preferred_name?: string;
prefix?: string;
social_accounts?: ISocialAccount[];
source_type?: string;
spouse_name?: string;
suffix?: string;
time_zone?: string;
website?: string;
}