interface FreshdeskNodeParameters {
additionalFields?: {
address?: string;
company_id?: number;
customFields?: {
customField: { name?: string; value?: string }[];
};
description?: string;
email?: string;
job_title?: string;
language?: string;
mobile?: string;
name?: string;
other_companies?: string;
other_emails?: string;
phone?: string;
tags?: string;
time_zone?: string;
twitter_id?: string;
unique_external_id?: string;
view_all_tickets?: boolean;
};
contactId?: string;
email?: string;
filters?: {
company_id?: number;
email?: string;
mobile?: string;
phone?: string;
state?: | "deleted"
| "blocked"
| "unverified"
| "verified";
updated_since?: string;
};
limit?: number;
name?: string;
operation?: | "create"
| "get"
| "getAll"
| "update"
| "delete";
options?: | {
agent?: string;
ccEmails?: string;
company?: string;
description?: string;
dueBy?: string;
emailConfigId?: number;
frDueBy?: string;
group?: string;
name?: string;
product?: string;
subject?: string;
tags?: string;
type?: | "Feature Request"
| "Incident"
| "Problem"
| "Question"
| "Refund";
}
| {
companyId?: string;
include?: (
"company"
| "description"
| "requester"
| "stats"
)[];
order?: "asc" | "desc";
orderBy?: "createdAt" | "updatedAt" | "dueBy";
requesterEmail?: string;
requesterId?: string;
updatedSince?: string;
};
priority?: "low"
| "high"
| "medium"
| "urgent";
requester?:
| "email"
| "facebookId"
| "phone"
| "requesterId"
| "twitterId"
| "uniqueExternalId";
requesterIdentificationValue?: string;
resource?: "contact"
| "ticket";
returnAll?: boolean;
source?:
| "email"
| "phone"
| "chat"
| "feedbackWidget"
| "mobileHelp"
| "OutboundEmail"
| "portal";
status?: "open"
| "pending"
| "closed"
| "resolved";
ticketId?: string;
updateFields?: {
agent?: string;
ccEmails?: string;
company?: string;
dueBy?: string;
emailConfigId?: number;
frDueBy?: string;
group?: string;
name?: string;
priority?: "low" | "high" | "medium" | "urgent";
product?: string;
requester?:
| "email"
| "facebookId"
| "phone"
| "requesterId"
| "twitterId"
| "uniqueExternalId";
requesterIdentificationValue?: string;
source?: | "email"
| "phone"
| "chat"
| "feedbackWidget"
| "mobileHelp"
| "OutboundEmail"
| "portal";
status?: "open"
| "pending"
| "closed"
| "resolved";
tags?: string;
type?:
| "Feature Request"
| "Incident"
| "Problem"
| "Question"
| "Refund";
};
}
Properties§
Source§readonly additional Fields?: {
address?: string;
company_id?: number;
customFields?: {
customField: { name?: string; value?: string }[];
};
description?: string;
email?: string;
job_title?: string;
language?: string;
mobile?: string;
name?: string;
other_companies?: string;
other_emails?: string;
phone?: string;
tags?: string;
time_zone?: string;
twitter_id?: string;
unique_external_id?: string;
view_all_tickets?: boolean;
}
readonly additional Fields?: {
address?: string;
company_id?: number;
customFields?: {
customField: { name?: string; value?: string }[];
};
description?: string;
email?: string;
job_title?: string;
language?: string;
mobile?: string;
name?: string;
other_companies?: string;
other_emails?: string;
phone?: string;
tags?: string;
time_zone?: string;
twitter_id?: string;
unique_external_id?: string;
view_all_tickets?: boolean;
}
Source§readonly email?: string
readonly email?: string
Primary email address of the contact. If you want to associate additional email(s) with this contact, use the other_emails attribute.
Source§readonly filters?: {
company_id?: number;
email?: string;
mobile?: string;
phone?: string;
state?:
| "deleted"
| "blocked"
| "unverified"
| "verified";
updated_since?: string;
}
readonly filters?: {
company_id?: number;
email?: string;
mobile?: string;
phone?: string;
state?:
| "deleted"
| "blocked"
| "unverified"
| "verified";
updated_since?: string;
}
Default: {}
Source§readonly limit?: number
readonly limit?: number
Max number of results to return Default: 5 Type options: {"minValue":1,"maxValue":10}
Source§readonly options?:
| {
agent?: string;
ccEmails?: string;
company?: string;
description?: string;
dueBy?: string;
emailConfigId?: number;
frDueBy?: string;
group?: string;
name?: string;
product?: string;
subject?: string;
tags?: string;
type?: | "Feature Request"
| "Incident"
| "Problem"
| "Question"
| "Refund";
}
| {
companyId?: string;
include?: (
"company"
| "description"
| "requester"
| "stats"
)[];
order?: "asc" | "desc";
orderBy?: "createdAt" | "updatedAt" | "dueBy";
requesterEmail?: string;
requesterId?: string;
updatedSince?: string;
}
readonly options?:
| {
agent?: string;
ccEmails?: string;
company?: string;
description?: string;
dueBy?: string;
emailConfigId?: number;
frDueBy?: string;
group?: string;
name?: string;
product?: string;
subject?: string;
tags?: string;
type?: | "Feature Request"
| "Incident"
| "Problem"
| "Question"
| "Refund";
}
| {
companyId?: string;
include?: (
"company"
| "description"
| "requester"
| "stats"
)[];
order?: "asc" | "desc";
orderBy?: "createdAt" | "updatedAt" | "dueBy";
requesterEmail?: string;
requesterId?: string;
updatedSince?: string;
}
Default: {}
Source§readonly requester?:
| "email"
| "facebookId"
| "phone"
| "requesterId"
| "twitterId"
| "uniqueExternalId"
readonly requester?:
| "email"
| "facebookId"
| "phone"
| "requesterId"
| "twitterId"
| "uniqueExternalId"
Default: "requesterId"
Source§readonly source?:
| "email"
| "phone"
| "chat"
| "feedbackWidget"
| "mobileHelp"
| "OutboundEmail"
| "portal"
readonly source?:
| "email"
| "phone"
| "chat"
| "feedbackWidget"
| "mobileHelp"
| "OutboundEmail"
| "portal"
The channel through which the ticket was created Default: "portal"
Source§readonly update Fields?: {
agent?: string;
ccEmails?: string;
company?: string;
dueBy?: string;
emailConfigId?: number;
frDueBy?: string;
group?: string;
name?: string;
priority?: "low" | "high" | "medium" | "urgent";
product?: string;
requester?:
| "email"
| "facebookId"
| "phone"
| "requesterId"
| "twitterId"
| "uniqueExternalId";
requesterIdentificationValue?: string;
source?: | "email"
| "phone"
| "chat"
| "feedbackWidget"
| "mobileHelp"
| "OutboundEmail"
| "portal";
status?: "open"
| "pending"
| "closed"
| "resolved";
tags?: string;
type?:
| "Feature Request"
| "Incident"
| "Problem"
| "Question"
| "Refund";
}
readonly update Fields?: {
agent?: string;
ccEmails?: string;
company?: string;
dueBy?: string;
emailConfigId?: number;
frDueBy?: string;
group?: string;
name?: string;
priority?: "low" | "high" | "medium" | "urgent";
product?: string;
requester?:
| "email"
| "facebookId"
| "phone"
| "requesterId"
| "twitterId"
| "uniqueExternalId";
requesterIdentificationValue?: string;
source?: | "email"
| "phone"
| "chat"
| "feedbackWidget"
| "mobileHelp"
| "OutboundEmail"
| "portal";
status?: "open"
| "pending"
| "closed"
| "resolved";
tags?: string;
type?:
| "Feature Request"
| "Incident"
| "Problem"
| "Question"
| "Refund";
}
Default: {}
Default: {}