Interface AffinityNodeParameters

Source
interface AffinityNodeParameters {
    additionalFields?:
        | { creator_id?: string }
        | { persons?: unknown[] }
        | { organizations?: unknown[] };
    domain?: string;
    emails?: string;
    entityId?: string;
    firstName?: string;
    lastName?: string;
    limit?: number;
    listEntryId?: string;
    listId?: string;
    name?: string;
    operation?:
        | "create"
        | "get"
        | "getAll"
        | "update"
        | "delete";
    options?: | { withInteractionDates?: boolean }
    | { term?: string; withInteractionDates?: boolean };
    organizationId?: string;
    personId?: string;
    resource?:
        | "person"
        | "list"
        | "listEntry"
        | "organization";
    returnAll?: boolean;
    updateFields?: | {
        domain?: string;
        name?: string;
        persons?: unknown[];
    }
    | {
        firstName?: string;
        lastName?: string;
        organizations?: unknown[];
    };
}

Properties§

Source§

readonly additionalFields?:
    | { creator_id?: string }
    | { persons?: unknown[] }
    | { organizations?: unknown[] }

Default: {}

Source§

readonly domain?: string

The domain name of the organization

Source§

readonly emails?: string

The email addresses of the person Default: [] Type options: {"multipleValues":true,"multipleValueButtonText":"Add To Email"}

Source§

readonly entityId?: string

The unique ID of the entity (person, organization, or opportunity) to add to this list

Source§

readonly firstName?: string

The first name of the person

Source§

readonly lastName?: string

The last name of the person

Source§

readonly limit?: number

Max number of results to return Default: 5 Type options: {"minValue":1,"maxValue":10}

Source§

readonly listEntryId?: string

The unique ID of the list entry object to be retrieved

Source§

readonly listId?: string

The unique ID of the list object to be retrieved

Source§

readonly name?: string

The name of the organization

Source§

readonly operation?: "create" | "get" | "getAll" | "update" | "delete"

Default: "get"

Source§

readonly options?:
    | { withInteractionDates?: boolean }
    | { term?: string; withInteractionDates?: boolean }

Default: {}

Source§

readonly organizationId?: string

Unique identifier for the organization

Source§

readonly personId?: string

Unique identifier for the person

Source§

readonly resource?: "person" | "list" | "listEntry" | "organization"

Default: "organization"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit

Source§

readonly updateFields?:
    | {
        domain?: string;
        name?: string;
        persons?: unknown[];
    }
    | {
        firstName?: string;
        lastName?: string;
        organizations?: unknown[];
    }

Default: {}