/** * Slack Node - Version 1 * Discriminator: resource=userProfile, operation=update */ interface Credentials { slackApi: CredentialReference; slackOAuth2Api: CredentialReference; } /** Updates a message */ export type SlackV1UserProfileUpdateParams = { resource: 'userProfile'; operation: 'update'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * Additional Fields * @default {} */ additionalFields?: { /** Custom Fields * @default {} */ customFieldUi?: { /** Custom Field */ customFieldValues?: Array<{ /** ID of the field to set. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ id?: string | Expression; /** Value of the field to set */ value?: string | Expression | PlaceholderValue; /** Alt */ alt?: string | Expression | PlaceholderValue; }>; }; /** This field can only be changed by admins for users on paid teams */ email?: string | Expression | PlaceholderValue; /** First Name */ first_name?: string | Expression | PlaceholderValue; /** Last Name */ last_name?: string | Expression | PlaceholderValue; /** Is a string referencing an emoji enabled for the Slack team, such as :mountain_railway: */ status_emoji?: string | Expression | PlaceholderValue; /** Is an integer specifying seconds since the epoch, more commonly known as "UNIX time". Providing 0 or omitting this field results in a custom status that will not expire. */ status_expiration?: string | Expression; /** Allows up to 100 characters, though we strongly encourage brevity */ status_text?: string | Expression | PlaceholderValue; /** ID of user to change. This argument may only be specified by team admins on paid teams. */ user?: string | Expression | PlaceholderValue; }; }; export type SlackV1UserProfileUpdateNode = { type: 'n8n-nodes-base.slack'; version: 1; credentials?: Credentials; config: NodeConfig; };