@trustcomponent/trustcaptcha-nodejs
Version:
TrustCaptcha – Privacy-first CAPTCHA solution for Node.js and TypeScript. GDPR-compliant, bot protection made in Europe.
46 lines (45 loc) • 1.36 kB
TypeScript
export declare class VerificationResult {
captchaId: string;
verificationId: string;
verificationPassed: boolean;
score: number;
decisionType: string;
decisionAction: string;
gatewayFailoverActive: boolean;
riskScoringEnabled: boolean;
minimalDataModeEnabled: boolean;
origin: string;
ipAddress: string;
countryCode: string;
deviceFamily: string;
operatingSystem: string;
browser: string;
verificationStartedAt: string;
verificationFinishedAt: string;
resultExpiresAt: string;
resultFirstFetchedAt: string;
resultLastFetchedAt: string;
constructor(data: {
captchaId: string;
verificationId: string;
verificationPassed: boolean;
score: number;
decisionType: string;
decisionAction: string;
gatewayFailoverActive: boolean;
riskScoringEnabled: boolean;
minimalDataModeEnabled: boolean;
origin: string;
ipAddress: string;
countryCode: string;
deviceFamily: string;
operatingSystem: string;
browser: string;
verificationStartedAt: string;
verificationFinishedAt: string;
resultExpiresAt: string;
resultFirstFetchedAt: string;
resultLastFetchedAt: string;
});
static fromObject(data: any): VerificationResult;
}