Interface EgoiNodeParameters

Source
interface EgoiNodeParameters {
    additionalFields?: {
        birth_date?: string;
        cellphone?: string;
        extraFieldsUi?: {
            extraFieldValues: {
                field_id?: string;
                value?: string;
            }[];
        };
        first_name?: string;
        last_name?: string;
        status?: | "active"
        | "unconfirmed"
        | "inactive"
        | "removed";
        tagIds?: unknown[];
    };
    by?: "id"
    | "email";
    contactId?: string;
    email?: string;
    limit?: number;
    list?: string;
    operation?: "create" | "get" | "getAll" | "update";
    resolveData?: boolean;
    resource?: "contact";
    returnAll?: boolean;
    simple?: boolean;
    updateFields?: {
        birth_date?: string;
        cellphone?: string;
        email?: string;
        extraFieldsUi?: {
            extraFieldValues: {
                field_id?: string;
                value?: string;
            }[];
        };
        first_name?: string;
        last_name?: string;
        status?: | "active"
        | "unconfirmed"
        | "inactive"
        | "removed";
        tagIds?: unknown[];
    };
}

Properties§

Source§

readonly additionalFields?: {
    birth_date?: string;
    cellphone?: string;
    extraFieldsUi?: {
        extraFieldValues: {
            field_id?: string;
            value?: string;
        }[];
    };
    first_name?: string;
    last_name?: string;
    status?: | "active"
    | "unconfirmed"
    | "inactive"
    | "removed";
    tagIds?: unknown[];
}

Default: {}

Source§

readonly by?: "id" | "email"

Search by Default: "id"

Source§

readonly contactId?: string

Contact ID of the subscriber

Source§

readonly email?: string

Email address for a subscriber

Source§

readonly limit?: number

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

Source§

readonly list?: string

ID of list to operate on. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getLists"}

Source§

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

Default: "create"

Source§

readonly resolveData?: boolean

By default the response just includes the contact ID. If this option gets activated, it will resolve the data automatically. Default: true

Source§

readonly resource?: "contact"

Default: "contact"

Source§

readonly returnAll?: boolean

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

Source§

readonly simple?: boolean

Whether to return a simplified version of the response instead of the raw data Default: true

Source§

readonly updateFields?: {
    birth_date?: string;
    cellphone?: string;
    email?: string;
    extraFieldsUi?: {
        extraFieldValues: {
            field_id?: string;
            value?: string;
        }[];
    };
    first_name?: string;
    last_name?: string;
    status?: | "active"
    | "unconfirmed"
    | "inactive"
    | "removed";
    tagIds?: unknown[];
}

Default: {}