mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
dec19585bc
* refactor: Enforce expanded sensitive inputs rules (no-changelog) * refactor: Add extra exemption * fix: Add setting to `sessionToken` fields * fix: Restore for `hidden` fields * fix: More edge case exemptions * fix: One more
45 lines
892 B
TypeScript
45 lines
892 B
TypeScript
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
|
|
export class WiseApi implements ICredentialType {
|
|
name = 'wiseApi';
|
|
|
|
displayName = 'Wise API';
|
|
|
|
documentationUrl = 'wise';
|
|
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'API Token',
|
|
name: 'apiToken',
|
|
type: 'string',
|
|
typeOptions: { password: true },
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Environment',
|
|
name: 'environment',
|
|
type: 'options',
|
|
default: 'live',
|
|
options: [
|
|
{
|
|
name: 'Live',
|
|
value: 'live',
|
|
},
|
|
{
|
|
name: 'Test',
|
|
value: 'test',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
displayName: 'Private Key (Optional)',
|
|
name: 'privateKey',
|
|
type: 'string',
|
|
typeOptions: { password: true },
|
|
default: '',
|
|
description:
|
|
'Optional private key used for Strong Customer Authentication (SCA). Only needed to retrieve statements, and execute transfers.',
|
|
},
|
|
];
|
|
}
|