/** * GitLab Node - Version 1 * Discriminator: resource=issue, operation=lock */ interface Credentials { gitlabApi: CredentialReference; gitlabOAuth2Api: CredentialReference; } /** Lock an issue */ export type GitlabV1IssueLockParams = { resource: 'issue'; operation: 'lock'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * User, group or namespace of the project */ owner?: string | Expression | PlaceholderValue; /** * The name of the project * @displayOptions.hide { resource: ["user"], operation: ["getRepositories"] } */ repository?: string | Expression | PlaceholderValue; /** * The number of the issue to lock * @default 0 */ issueNumber?: number | Expression; /** * The reason to lock the issue * @default resolved */ lockReason?: 'off-topic' | 'too heated' | 'resolved' | 'spam' | Expression; }; export type GitlabV1IssueLockNode = { type: 'n8n-nodes-base.gitlab'; version: 1; credentials?: Credentials; config: NodeConfig; };