n8n
Version:
n8n Workflow Automation Tool
7 lines (6 loc) • 443 B
TypeScript
import type { OAuth2CredentialData } from '@n8n/client-oauth2';
export declare const DCR_MANAGED_CREDENTIAL_FIELDS: readonly ['authUrl', 'accessTokenUrl', 'grantType', 'authentication', 'usePkce', 'clientId', 'clientSecret'];
export type DcrManagedCredentialField = (typeof DCR_MANAGED_CREDENTIAL_FIELDS)[number];
export type DcrManagedCredentialValues = {
[Field in DcrManagedCredentialField]: OAuth2CredentialData[Field] | undefined;
};