n8n-nodes-base
Version:
Base nodes of n8n
71 lines (67 loc) • 2.48 kB
text/typescript
/**
* Freshservice Node - Version 1
* Discriminator: resource=requester, operation=create
*/
interface Credentials {
freshserviceApi: CredentialReference;
}
/** Create an agent */
export type FreshserviceV1RequesterCreateParams = {
resource: 'requester';
operation: 'create';
/**
* First Name
*/
firstName?: string | Expression<string> | PlaceholderValue;
/**
* Primary Email
*/
primaryEmail?: string | Expression<string> | PlaceholderValue;
/**
* Additional Fields
* @default {}
*/
additionalFields?: {
/** Address
*/
address?: string | Expression<string> | PlaceholderValue;
/** Background Information
*/
background_information?: string | Expression<string> | PlaceholderValue;
/** Comma-separated IDs of the departments associated with the requester. Choose from the list or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
* @default []
*/
department_ids?: string[];
/** Job Title
*/
job_title?: string | Expression<string> | PlaceholderValue;
/** Language
*/
language?: 'en' | 'ar' | 'ca' | 'cs' | 'cy-GB' | 'da' | 'de' | 'es' | 'es-LA' | 'et' | 'fi' | 'fr' | 'he' | 'hu' | 'id' | 'it' | 'ja-JP' | 'ko' | 'LV' | 'nb-NO' | 'nl' | 'pl' | 'pt' | 'pt-BR' | 'pt-PT' | 'ru-RU' | 'sk' | 'sk-SK' | 'sl' | 'sv-SE' | 'th' | 'tr' | 'UK' | 'vi' | 'zh-CN' | 'zh-TW' | Expression<string>;
/** Last Name
*/
last_name?: string | Expression<string> | PlaceholderValue;
/** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
location_id?: string | Expression<string>;
/** Mobile Phone
*/
mobile_phone_number?: string | Expression<string> | PlaceholderValue;
/** Comma-separated secondary emails associated with the requester
*/
secondary_emails?: string | Expression<string> | PlaceholderValue;
/** Time Format
* @default 12h
*/
time_format?: '12h' | '24h' | Expression<string>;
/** Work Phone
*/
work_phone_number?: string | Expression<string> | PlaceholderValue;
};
};
export type FreshserviceV1RequesterCreateNode = {
type: 'n8n-nodes-base.freshservice';
version: 1;
credentials?: Credentials;
config: NodeConfig<FreshserviceV1RequesterCreateParams>;
};