Interface OdooNodeParameters

Source
interface OdooNodeParameters {
    additionalFields?:
        | {
            description?: string;
            email_from?: string;
            expected_revenue?: number;
            phone?: string;
            priority?: "1"
            | "2"
            | "3";
            probability?: number;
        }
        | {
            address?: {
                value: {
                    city?: string;
                    country_id?: string;
                    state_id?: string;
                    street?: string;
                    street2?: string;
                    zip?: string;
                };
            };
            comment?: string;
            email?: string;
            function?: string;
            mobile?: string;
            phone?: string;
            vat?: string;
            website?: string;
        };
    contactId?: string;
    contactName?: string;
    customResource?: string;
    customResourceId?: string;
    fieldsToCreateOrUpdate?: {
        fields: { fieldName?: string; fieldValue?: string }[];
    };
    filterRequest?: {
        filter: {
            fieldName?: string;
            operator?: | "equal"
            | "in"
            | "notEqual"
            | "like"
            | "lesserThen"
            | "lesserOrEqual"
            | "greaterThen"
            | "greaterOrEqual"
            | "childOf"
            | "notIn";
            value?: string;
        }[];
    };
    limit?: number;
    memo?: string;
    noteId?: string;
    operation?: | "create"
    | "get"
    | "getAll"
    | "update"
    | "delete";
    opportunityId?: string;
    opportunityName?: string;
    options?: { fieldsList?: unknown[] };
    resource?:
        | "contact"
        | "custom"
        | "opportunity"
        | "note";
    returnAll?: boolean;
    updateFields?: | {
        description?: string;
        email_from?: string;
        expected_revenue?: number;
        name?: string;
        phone?: string;
        priority?: "1"
        | "2"
        | "3";
        probability?: number;
    }
    | {
        address?: {
            value: {
                city?: string;
                country_id?: string;
                state_id?: string;
                street?: string;
                street2?: string;
                zip?: string;
            };
        };
        comment?: string;
        email?: string;
        function?: string;
        mobile?: string;
        name?: string;
        phone?: string;
        vat?: string;
        website?: string;
    };
}

Properties§

Source§

readonly additionalFields?:
    | {
        description?: string;
        email_from?: string;
        expected_revenue?: number;
        phone?: string;
        priority?: "1"
        | "2"
        | "3";
        probability?: number;
    }
    | {
        address?: {
            value: {
                city?: string;
                country_id?: string;
                state_id?: string;
                street?: string;
                street2?: string;
                zip?: string;
            };
        };
        comment?: string;
        email?: string;
        function?: string;
        mobile?: string;
        phone?: string;
        vat?: string;
        website?: string;
    }

Default: {}

Source§

readonly contactId?: string

Source§

readonly contactName?: string

Source§

readonly customResource?: string

Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getModels"}

Source§

readonly customResourceId?: string

Source§

readonly fieldsToCreateOrUpdate?: { fields: { fieldName?: string; fieldValue?: string }[] }

Default: {} Type options: {"multipleValues":true,"multipleValueButtonText":"Add Field"}

Source§

readonly filterRequest?: {
    filter: {
        fieldName?: string;
        operator?:
            | "equal"
            | "in"
            | "notEqual"
            | "like"
            | "lesserThen"
            | "lesserOrEqual"
            | "greaterThen"
            | "greaterOrEqual"
            | "childOf"
            | "notIn";
        value?: string;
    }[];
}

Filter request by applying filters Default: {} Type options: {"multipleValues":true,"multipleValueButtonText":"Add Filter"}

Source§

readonly limit?: number

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

Source§

readonly memo?: string

Source§

readonly noteId?: string

Source§

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

Default: "create"

Source§

readonly opportunityId?: string

Source§

readonly opportunityName?: string

Source§

readonly options?: { fieldsList?: unknown[] }

Default: {}

Source§

readonly resource?: "contact" | "custom" | "opportunity" | "note"

Default: "contact"

Source§

readonly returnAll?: boolean

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

Source§

readonly updateFields?:
    | {
        description?: string;
        email_from?: string;
        expected_revenue?: number;
        name?: string;
        phone?: string;
        priority?: "1"
        | "2"
        | "3";
        probability?: number;
    }
    | {
        address?: {
            value: {
                city?: string;
                country_id?: string;
                state_id?: string;
                street?: string;
                street2?: string;
                zip?: string;
            };
        };
        comment?: string;
        email?: string;
        function?: string;
        mobile?: string;
        name?: string;
        phone?: string;
        vat?: string;
        website?: string;
    }

Default: {}