import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class TotpApi implements ICredentialType { name = 'totpApi'; displayName = 'TOTP API'; documentationUrl = 'totp'; properties: INodeProperties[] = [ { displayName: 'Secret', name: 'secret', type: 'string', typeOptions: { password: true }, default: '', placeholder: 'e.g. BVDRSBXQB2ZEL5HE', required: true, description: 'Secret key encoded in the QR code during setup. Learn more.', }, { displayName: 'Label', name: 'label', type: 'string', default: '', required: true, placeholder: 'e.g. GitHub:john-doe', description: 'Identifier for the TOTP account, in the issuer:username format. Learn more.', }, ]; }