/** * Zammad Node - Version 1 * Discriminator: resource=user, operation=create */ interface Credentials { zammadBasicAuthApi: CredentialReference; zammadTokenAuthApi: CredentialReference; } /** Create a group */ export type ZammadV1UserCreateParams = { resource: 'user'; operation: 'create'; authentication?: 'basicAuth' | 'tokenAuth' | Expression; /** * First Name */ firstname?: string | Expression | PlaceholderValue; /** * Last Name */ lastname?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Active * @default true */ active?: boolean | Expression; /** Address * @default {} */ addressUi?: { /** Address Details */ addressDetails?: { /** City */ city?: string | Expression | PlaceholderValue; /** Country */ country?: string | Expression | PlaceholderValue; /** Street & Number */ address?: string | Expression | PlaceholderValue; /** Zip Code */ zip?: string | Expression | PlaceholderValue; }; }; /** Custom Fields * @default {} */ customFieldsUi?: { /** Custom Field */ customFieldPairs?: Array<{ /** Name of the custom field to set. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ name?: string | Expression; /** Value to set on the custom field */ value?: string | Expression | PlaceholderValue; }>; }; /** Department */ department?: string | Expression | PlaceholderValue; /** Email Address */ email?: string | Expression | PlaceholderValue; /** Fax */ fax?: string | Expression | PlaceholderValue; /** Notes */ note?: string | Expression | PlaceholderValue; /** Name of the organization to assign to the user. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ organization?: string | Expression; /** Phone (Landline) */ phone?: string | Expression | PlaceholderValue; /** Phone (Mobile) */ mobile?: string | Expression | PlaceholderValue; /** Whether the user has been verified * @default false */ verified?: boolean | Expression; /** Whether the user is a Very Important Person * @default false */ vip?: boolean | Expression; /** Website */ web?: string | Expression | PlaceholderValue; }; }; export type ZammadV1UserCreateNode = { type: 'n8n-nodes-base.zammad'; version: 1; credentials?: Credentials; config: NodeConfig; };