/** * Help Scout Node - Version 1 * Discriminator: resource=customer, operation=create */ interface Credentials { helpScoutOAuth2Api: CredentialReference; } /** Create a new conversation */ export type HelpScoutV1CustomerCreateParams = { resource: 'customer'; operation: 'create'; /** * By default the response only contain the ID to resource. If this option gets activated, it will resolve the data automatically. * @default true */ resolveData?: boolean | Expression; /** * Additional Fields * @default {} */ additionalFields?: { /** Customer’s age * @default 1 */ age?: number | Expression; /** First name of the customer. When defined it must be between 1 and 40 characters. */ firstName?: string | Expression | PlaceholderValue; /** Gender of this customer */ gender?: 'female' | 'male' | 'unknown' | Expression; /** Job title. Max length 60 characters. */ jobTitle?: string | Expression | PlaceholderValue; /** Last name of the customer */ lastName?: string | Expression | PlaceholderValue; /** Location of the customer */ location?: string | Expression | PlaceholderValue; /** Notes */ background?: string | Expression | PlaceholderValue; /** Organization */ organization?: string | Expression | PlaceholderValue; /** URL of the customer’s photo */ photoUrl?: string | Expression | PlaceholderValue; }; /** * Address * @default {} */ addressUi?: { /** Address */ addressValue?: { /** Line 1 */ line1?: string | Expression | PlaceholderValue; /** Line 2 */ line2?: string | Expression | PlaceholderValue; /** City */ city?: string | Expression | PlaceholderValue; /** State */ state?: string | Expression | PlaceholderValue; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ country?: string | Expression; /** Postal Code */ postalCode?: string | Expression | PlaceholderValue; }; }; /** * Chat Handles * @default {} */ chatsUi?: { /** Chat Handle */ chatsValues?: Array<{ /** Chat type */ type?: 'aim' | 'gtalk' | 'icq' | 'msn' | 'other' | 'qq' | 'skype' | 'xmpp' | 'yahoo' | Expression; /** Chat handle */ value?: string | Expression | PlaceholderValue; }>; }; /** * Emails * @default {} */ emailsUi?: { /** Email */ emailsValues?: Array<{ /** Location for this email address */ type?: 'home' | 'other' | 'work' | Expression; /** Email */ value?: string | Expression | PlaceholderValue; }>; }; /** * Phones * @default {} */ phonesUi?: { /** Email */ phonesValues?: Array<{ /** Location for this phone */ type?: 'fax' | 'home' | 'other' | 'pager' | 'work' | Expression; /** Phone */ value?: string | Expression | PlaceholderValue; }>; }; /** * Social Profiles * @default {} */ socialProfilesUi?: { /** Social Profile */ socialProfilesValues?: Array<{ /** Type of social profile */ type?: 'aboutMe' | 'facebook' | 'flickr' | 'forsquare' | 'google' | 'googleplus' | 'linkedin' | 'other' | 'quora' | 'tungleme' | 'twitter' | 'youtube' | Expression; /** Social Profile handle (URL for example) */ value?: string | Expression | PlaceholderValue; }>; }; /** * Websites * @default {} */ websitesUi?: { /** Website */ websitesValues?: Array<{ /** Website URL */ value?: string | Expression | PlaceholderValue; }>; }; }; export type HelpScoutV1CustomerCreateNode = { type: 'n8n-nodes-base.helpScout'; version: 1; credentials?: Credentials; config: NodeConfig; };