interface HelpScoutNodeParameters {
additionalFields?:
| {
assignTo?: number;
autoReply?: boolean;
closedAt?: string;
createdAt?: string;
customerEmail?: string;
customerId?: number;
imported?: boolean;
tags?: unknown[];
user?: number;
}
| {
age?: number;
background?: string;
firstName?: string;
gender?: "female"
| "male"
| "unknown";
jobTitle?: string;
lastName?: string;
location?: string;
organization?: string;
photoUrl?: string;
}
| {
createdAt?: string;
customerEmail?: string;
customerId?: number;
draft?: boolean;
imported?: boolean;
};
addressUi?: {
addressValue: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postalCode?: string;
state?: string;
};
};
attachmentsUi?: {
attachmentsBinary: { property?: string }[];
attachmentsValues: {
data?: string;
fileName?: string;
mimeType?: string;
}[];
};
chatsUi?: {
chatsValues: {
type?: | "other"
| "skype"
| "aim"
| "gtalk"
| "icq"
| "msn"
| "qq"
| "xmpp"
| "yahoo";
value?: string;
}[];
};
conversationId?: string;
customerId?: string;
emailsUi?: {
emailsValues: {
type?: "home"
| "work"
| "other";
value?: string;
}[];
};
limit?: number;
mailboxId?: string;
operation?: | "create"
| "get"
| "getAll"
| "update"
| "delete"
| "properties";
options?: | {
assignTo?: number;
embed?: "threads";
folder?: string;
mailbox?: string;
modifiedSince?: string;
number?: number;
query?: string;
sortField?: | "number"
| "status"
| "createdAt"
| "customerEmail"
| "customerName"
| "mailboxid"
| "modifiedAt"
| "score"
| "subject";
sortOrder?: "asc"
| "desc";
status?:
| "all"
| "open"
| "spam"
| "active"
| "pending"
| "closed";
tags?: unknown[];
}
| {
firstName?: string;
lastName?: string;
mailbox?: string;
modifiedSince?: string;
query?: string;
sortField?: | "modifiedAt"
| "score"
| "firstName"
| "lastName";
sortOrder?: "asc"
| "desc";
};
phonesUi?: {
phonesValues: {
type?: "home"
| "work"
| "other"
| "pager"
| "fax";
value?: string;
}[];
};
resolveData?: boolean;
resource?: | "customer"
| "thread"
| "conversation"
| "mailbox";
returnAll?: boolean;
socialProfilesUi?: {
socialProfilesValues: {
type?: | "other"
| "facebook"
| "flickr"
| "linkedin"
| "twitter"
| "youtube"
| "aboutMe"
| "forsquare"
| "google"
| "googleplus"
| "quora"
| "tungleme";
value?: string;
}[];
};
status?: "active"
| "pending"
| "closed";
subject?: string;
text?: string;
threadsUi?: {
threadsValues: {
bcc?: string;
cc?: string;
draft?: boolean;
text?: string;
type?:
| "customer"
| "note"
| "phone"
| "chat"
| "reply";
}[];
};
type?: | "email"
| "customer"
| "note"
| "phone"
| "chat"
| "reply";
updateFields?: {
age?: number;
background?: string;
firstName?: string;
gender?: "female"
| "male"
| "unknown";
jobTitle?: string;
lastName?: string;
location?: string;
organization?: string;
photoUrl?: string;
};
websitesUi?: { websitesValues: { value?: string }[] };
}
Properties§
Source§readonly additional Fields?:
| {
assignTo?: number;
autoReply?: boolean;
closedAt?: string;
createdAt?: string;
customerEmail?: string;
customerId?: number;
imported?: boolean;
tags?: unknown[];
user?: number;
}
| {
age?: number;
background?: string;
firstName?: string;
gender?: "female"
| "male"
| "unknown";
jobTitle?: string;
lastName?: string;
location?: string;
organization?: string;
photoUrl?: string;
}
| {
createdAt?: string;
customerEmail?: string;
customerId?: number;
draft?: boolean;
imported?: boolean;
}
readonly additional Fields?:
| {
assignTo?: number;
autoReply?: boolean;
closedAt?: string;
createdAt?: string;
customerEmail?: string;
customerId?: number;
imported?: boolean;
tags?: unknown[];
user?: number;
}
| {
age?: number;
background?: string;
firstName?: string;
gender?: "female"
| "male"
| "unknown";
jobTitle?: string;
lastName?: string;
location?: string;
organization?: string;
photoUrl?: string;
}
| {
createdAt?: string;
customerEmail?: string;
customerId?: number;
draft?: boolean;
imported?: boolean;
}
Source§readonly address Ui?: {
addressValue: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postalCode?: string;
state?: string;
};
}
readonly address Ui?: {
addressValue: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postalCode?: string;
state?: string;
};
}
Default: {}
Source§readonly attachments Ui?: {
attachmentsBinary: { property?: string }[];
attachmentsValues: {
data?: string;
fileName?: string;
mimeType?: string;
}[];
}
readonly attachments Ui?: {
attachmentsBinary: { property?: string }[];
attachmentsValues: {
data?: string;
fileName?: string;
mimeType?: string;
}[];
}
Array of supported attachments to add to the message Default: {} Type options: {"multipleValues":true}
Source§readonly chats Ui?: {
chatsValues: {
type?:
| "other"
| "skype"
| "aim"
| "gtalk"
| "icq"
| "msn"
| "qq"
| "xmpp"
| "yahoo";
value?: string;
}[];
}
readonly chats Ui?: {
chatsValues: {
type?:
| "other"
| "skype"
| "aim"
| "gtalk"
| "icq"
| "msn"
| "qq"
| "xmpp"
| "yahoo";
value?: string;
}[];
}
Default: {} Type options: {"multipleValues":true}
Source§readonly emails Ui?: {
emailsValues: {
type?: "home" | "work" | "other";
value?: string;
}[];
}
readonly emails Ui?: {
emailsValues: {
type?: "home" | "work" | "other";
value?: string;
}[];
}
Default: {} Type options: {"multipleValues":true}
Source§readonly limit?: number
readonly limit?: number
Max number of results to return Default: 50 Type options: {"minValue":1}
Source§readonly mailbox Id?: string
readonly mailbox Id?: string
ID of a mailbox where the conversation is being created. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getMailboxes"}
Source§readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "properties"
readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "properties"
Default: "create"
Source§readonly options?:
| {
assignTo?: number;
embed?: "threads";
folder?: string;
mailbox?: string;
modifiedSince?: string;
number?: number;
query?: string;
sortField?: | "number"
| "status"
| "createdAt"
| "customerEmail"
| "customerName"
| "mailboxid"
| "modifiedAt"
| "score"
| "subject";
sortOrder?: "asc"
| "desc";
status?:
| "all"
| "open"
| "spam"
| "active"
| "pending"
| "closed";
tags?: unknown[];
}
| {
firstName?: string;
lastName?: string;
mailbox?: string;
modifiedSince?: string;
query?: string;
sortField?: | "modifiedAt"
| "score"
| "firstName"
| "lastName";
sortOrder?: "asc"
| "desc";
}
readonly options?:
| {
assignTo?: number;
embed?: "threads";
folder?: string;
mailbox?: string;
modifiedSince?: string;
number?: number;
query?: string;
sortField?: | "number"
| "status"
| "createdAt"
| "customerEmail"
| "customerName"
| "mailboxid"
| "modifiedAt"
| "score"
| "subject";
sortOrder?: "asc"
| "desc";
status?:
| "all"
| "open"
| "spam"
| "active"
| "pending"
| "closed";
tags?: unknown[];
}
| {
firstName?: string;
lastName?: string;
mailbox?: string;
modifiedSince?: string;
query?: string;
sortField?: | "modifiedAt"
| "score"
| "firstName"
| "lastName";
sortOrder?: "asc"
| "desc";
}
Default: {}
Source§readonly phones Ui?: {
phonesValues: {
type?: "home" | "work" | "other" | "pager" | "fax";
value?: string;
}[];
}
readonly phones Ui?: {
phonesValues: {
type?: "home" | "work" | "other" | "pager" | "fax";
value?: string;
}[];
}
Default: {} Type options: {"multipleValues":true}
Source§readonly resolve Data?: boolean
readonly resolve Data?: boolean
By default the response only contain the ID to resource. If this option gets activated, it will resolve the data automatically. Default: true
Source§readonly resource?: "customer" | "thread" | "conversation" | "mailbox"
readonly resource?: "customer" | "thread" | "conversation" | "mailbox"
Default: "conversation"
Default: {} Type options: {"multipleValues":true}
Source§readonly threads Ui?: {
threadsValues: {
bcc?: string;
cc?: string;
draft?: boolean;
text?: string;
type?:
| "customer"
| "note"
| "phone"
| "chat"
| "reply";
}[];
}
readonly threads Ui?: {
threadsValues: {
bcc?: string;
cc?: string;
draft?: boolean;
text?: string;
type?:
| "customer"
| "note"
| "phone"
| "chat"
| "reply";
}[];
}
Default: {} Type options: {"multipleValues":true}
Default: {}