Interface AgileCrmNodeParameters

Source
interface AgileCrmNodeParameters {
    additionalFields?:
        | {
            addressOptions?: {
                addressProperties: {
                    address: string;
                    subtype: "home"
                    | "postal"
                    | "office";
                }[];
            };
            company?: string;
            customProperties?: {
                customProperty: {
                    name: string;
                    subtype?: string;
                    value?: string;
                }[];
            };
            emailOptions?: {
                emailProperties: {
                    email: string;
                    subtype: "work"
                    | "personal";
                }[];
            };
            firstName?: string;
            lastName?: string;
            leadScore?: number;
            phoneOptions?: {
                phoneProperties: {
                    number: string;
                    subtype: | "main"
                    | "home"
                    | "work"
                    | "homeFax"
                    | "mobile"
                    | "other"
                    | "workFax";
                }[];
            };
            starValue?: 0
            | 1
            | 3
            | 2
            | 4
            | 5;
            tags?: string;
            title?: string;
            websiteOptions?: {
                websiteProperties: {
                    subtype:
                        | "facebook"
                        | "feed"
                        | "flickr"
                        | "github"
                        | "googlePlus"
                        | "linkedin"
                        | "skype"
                        | "twitter"
                        | "url"
                        | "xing"
                        | "youtube";
                    url: string;
                }[];
            };
        }
        | {
            addressOptions?: {
                addressProperties: {
                    address: string;
                    subtype: "home"
                    | "postal"
                    | "office";
                }[];
            };
            company?: string;
            customProperties?: {
                customProperty: {
                    name: string;
                    subtype?: string;
                    value?: string;
                }[];
            };
            emailOptions?: {
                emailProperties: {
                    email: string;
                    subtype: "work"
                    | "personal";
                }[];
            };
            firstName?: string;
            lastName?: string;
            leadScore?: number;
            phoneOptions?: {
                phoneProperties: {
                    number: string;
                    subtype: | "main"
                    | "home"
                    | "work"
                    | "homeFax"
                    | "mobile"
                    | "other"
                    | "workFax";
                }[];
            };
            starValue?: 0
            | 1
            | 3
            | 2
            | 4
            | 5;
            tags?: string;
            title?: string;
            websiteOptions?: {
                websiteProperties: {
                    subtype:
                        | "facebook"
                        | "feed"
                        | "flickr"
                        | "github"
                        | "googlePlus"
                        | "linkedin"
                        | "skype"
                        | "twitter"
                        | "url"
                        | "xing"
                        | "youtube";
                    url: string;
                }[];
            };
        }
        | {
            addressOptions?: {
                addressProperties: {
                    address: string;
                    subtype: "postal"
                    | "office";
                }[];
            };
            customProperties?: {
                customProperty: {
                    name: string;
                    subtype?: string;
                    value?: string;
                }[];
            };
            email?: string;
            name?: string;
            phone?: string;
            starValue?: 0
            | 1
            | 3
            | 2
            | 4
            | 5;
            tags?: string;
            websiteOptions?: {
                websiteProperties: {
                    subtype:
                        | "facebook"
                        | "feed"
                        | "flickr"
                        | "github"
                        | "googlePlus"
                        | "linkedin"
                        | "skype"
                        | "twitter"
                        | "url"
                        | "xing"
                        | "youtube";
                    url: string;
                }[];
            };
        }
        | {
            addressOptions?: {
                addressProperties: {
                    address: string;
                    subtype: "postal"
                    | "office";
                }[];
            };
            customProperties?: {
                customProperty: {
                    name: string;
                    subtype?: string;
                    value?: string;
                }[];
            };
            email?: string;
            name?: string;
            phone?: string;
            starValue?: 0
            | 1
            | 3
            | 2
            | 4
            | 5;
            tags?: string;
            websiteOptions?: {
                websiteProperties: {
                    subtype:
                        | "facebook"
                        | "feed"
                        | "flickr"
                        | "github"
                        | "googlePlus"
                        | "linkedin"
                        | "skype"
                        | "twitter"
                        | "url"
                        | "xing"
                        | "youtube";
                    url: string;
                }[];
            };
        }
        | {
            contactIds?: string;
            customData?: {
                customProperty: { name: string; value?: string }[];
            };
        }
        | {
            contactIds?: string;
            customData?: {
                customProperty: { name: string; value?: string }[];
            };
            expectedValue?: number;
            name?: string;
            probability?: number;
        };
    additionalFieldsJson?: string;
    closeDate?: string;
    companyId?: string;
    contactId?: string;
    dealId?: string;
    expectedValue?: number;
    filterJson?: string;
    filters?: {
        conditions: {
            condition_type?: | "AFTER"
            | "BEFORE"
            | "BETWEEN"
            | "EQUALS"
            | "LAST"
            | "NOTEQUALS"
            | "ON";
            field?: string;
            value?: string;
            value2?: string;
        }[];
    };
    filterType?: "none"
    | "manual"
    | "json";
    jsonParameters?: boolean;
    limit?: number;
    matchType?: "anyFilter" | "allFilters";
    milestone?: string;
    name?: string;
    operation?:
        | "create"
        | "get"
        | "getAll"
        | "update"
        | "delete";
    options?: {
        sort?: {
            sort: {
                direction?: "ASC"
                | "DESC";
                field?: string;
            };
        };
    };
    probability?: number;
    resource?: "contact"
    | "deal"
    | "company";
    returnAll?: boolean;
    simple?: boolean;
}

Properties§

Source§

readonly additionalFields?:
    | {
        addressOptions?: {
            addressProperties: {
                address: string;
                subtype: "home"
                | "postal"
                | "office";
            }[];
        };
        company?: string;
        customProperties?: {
            customProperty: {
                name: string;
                subtype?: string;
                value?: string;
            }[];
        };
        emailOptions?: {
            emailProperties: {
                email: string;
                subtype: "work"
                | "personal";
            }[];
        };
        firstName?: string;
        lastName?: string;
        leadScore?: number;
        phoneOptions?: {
            phoneProperties: {
                number: string;
                subtype: | "main"
                | "home"
                | "work"
                | "homeFax"
                | "mobile"
                | "other"
                | "workFax";
            }[];
        };
        starValue?: 0
        | 1
        | 3
        | 2
        | 4
        | 5;
        tags?: string;
        title?: string;
        websiteOptions?: {
            websiteProperties: {
                subtype:
                    | "facebook"
                    | "feed"
                    | "flickr"
                    | "github"
                    | "googlePlus"
                    | "linkedin"
                    | "skype"
                    | "twitter"
                    | "url"
                    | "xing"
                    | "youtube";
                url: string;
            }[];
        };
    }
    | {
        addressOptions?: {
            addressProperties: {
                address: string;
                subtype: "home"
                | "postal"
                | "office";
            }[];
        };
        company?: string;
        customProperties?: {
            customProperty: {
                name: string;
                subtype?: string;
                value?: string;
            }[];
        };
        emailOptions?: {
            emailProperties: {
                email: string;
                subtype: "work"
                | "personal";
            }[];
        };
        firstName?: string;
        lastName?: string;
        leadScore?: number;
        phoneOptions?: {
            phoneProperties: {
                number: string;
                subtype: | "main"
                | "home"
                | "work"
                | "homeFax"
                | "mobile"
                | "other"
                | "workFax";
            }[];
        };
        starValue?: 0
        | 1
        | 3
        | 2
        | 4
        | 5;
        tags?: string;
        title?: string;
        websiteOptions?: {
            websiteProperties: {
                subtype:
                    | "facebook"
                    | "feed"
                    | "flickr"
                    | "github"
                    | "googlePlus"
                    | "linkedin"
                    | "skype"
                    | "twitter"
                    | "url"
                    | "xing"
                    | "youtube";
                url: string;
            }[];
        };
    }
    | {
        addressOptions?: {
            addressProperties: {
                address: string;
                subtype: "postal"
                | "office";
            }[];
        };
        customProperties?: {
            customProperty: {
                name: string;
                subtype?: string;
                value?: string;
            }[];
        };
        email?: string;
        name?: string;
        phone?: string;
        starValue?: 0
        | 1
        | 3
        | 2
        | 4
        | 5;
        tags?: string;
        websiteOptions?: {
            websiteProperties: {
                subtype:
                    | "facebook"
                    | "feed"
                    | "flickr"
                    | "github"
                    | "googlePlus"
                    | "linkedin"
                    | "skype"
                    | "twitter"
                    | "url"
                    | "xing"
                    | "youtube";
                url: string;
            }[];
        };
    }
    | {
        addressOptions?: {
            addressProperties: {
                address: string;
                subtype: "postal"
                | "office";
            }[];
        };
        customProperties?: {
            customProperty: {
                name: string;
                subtype?: string;
                value?: string;
            }[];
        };
        email?: string;
        name?: string;
        phone?: string;
        starValue?: 0
        | 1
        | 3
        | 2
        | 4
        | 5;
        tags?: string;
        websiteOptions?: {
            websiteProperties: {
                subtype:
                    | "facebook"
                    | "feed"
                    | "flickr"
                    | "github"
                    | "googlePlus"
                    | "linkedin"
                    | "skype"
                    | "twitter"
                    | "url"
                    | "xing"
                    | "youtube";
                url: string;
            }[];
        };
    }
    | {
        contactIds?: string;
        customData?: {
            customProperty: { name: string; value?: string }[];
        };
    }
    | {
        contactIds?: string;
        customData?: {
            customProperty: { name: string; value?: string }[];
        };
        expectedValue?: number;
        name?: string;
        probability?: number;
    }

Default: {}

Source§

readonly additionalFieldsJson?: string

Object of values to set as described here Type options: {"alwaysOpenEditWindow":true}

Source§

readonly closeDate?: string

Closing date of deal

Source§

readonly companyId?: string

Unique identifier for a particular company

Source§

readonly contactId?: string

Unique identifier for a particular contact

Source§

readonly dealId?: string

Unique identifier for a particular deal

Source§

readonly expectedValue?: number

Expected Value of deal Default: 1 Type options: {"minValue":0,"maxValue":1000000000000}

Source§

readonly filterJson?: string

Source§

readonly filters?: {
    conditions: {
        condition_type?:
            | "AFTER"
            | "BEFORE"
            | "BETWEEN"
            | "EQUALS"
            | "LAST"
            | "NOTEQUALS"
            | "ON";
        field?: string;
        value?: string;
        value2?: string;
    }[];
}

Default: {} Type options: {"multipleValues":true}

Source§

readonly filterType?: "none" | "manual" | "json"

Default: "none"

Source§

readonly jsonParameters?: boolean

Source§

readonly limit?: number

Max number of results to return Default: 20 Type options: {"minValue":1}

Source§

readonly matchType?: "anyFilter" | "allFilters"

Default: "anyFilter"

Source§

readonly milestone?: string

Milestone of deal

Source§

readonly name?: string

Name of deal

Source§

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

Default: "get"

Source§

readonly options?: {
    sort?: {
        sort: {
            direction?: "ASC" | "DESC";
            field?: string;
        };
    };
}

Default: {}

Source§

readonly probability?: number

Expected probability Default: 50 Type options: {"minValue":0,"maxValue":100}

Source§

readonly resource?: "contact" | "deal" | "company"

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