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 additional Fields?:
| {
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;
}
readonly additional Fields?:
| {
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;
}
Source§readonly custom Resource?: string
readonly custom Resource?: string
Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getModels"}
Source§readonly fields To Create Or Update?: { fields: { fieldName?: string; fieldValue?: string }[] }
readonly fields To Create Or Update?: { fields: { fieldName?: string; fieldValue?: string }[] }
Default: {} Type options: {"multipleValues":true,"multipleValueButtonText":"Add Field"}
Source§readonly filter Request?: {
filter: {
fieldName?: string;
operator?:
| "equal"
| "in"
| "notEqual"
| "like"
| "lesserThen"
| "lesserOrEqual"
| "greaterThen"
| "greaterOrEqual"
| "childOf"
| "notIn";
value?: string;
}[];
}
readonly filter Request?: {
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
readonly limit?: number
Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":1000}
Source§readonly update Fields?:
| {
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;
}
readonly update Fields?:
| {
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: {}
Default: {}