Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest

import type { GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest } from "https://googleapis.deno.dev/v1/recaptchaenterprise:v1.ts";

The request message to annotate an Assessment.

interface GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest {
accountId?: string;
annotation?:
| "ANNOTATION_UNSPECIFIED"
| "LEGITIMATE"
| "FRAUDULENT"
| "PASSWORD_CORRECT"
| "PASSWORD_INCORRECT";
hashedAccountId?: Uint8Array;
reasons?:
| "REASON_UNSPECIFIED"
| "CHARGEBACK"
| "CHARGEBACK_FRAUD"
| "CHARGEBACK_DISPUTE"
| "REFUND"
| "REFUND_FRAUD"
| "TRANSACTION_ACCEPTED"
| "TRANSACTION_DECLINED"
| "PAYMENT_HEURISTICS"
| "INITIATED_TWO_FACTOR"
| "PASSED_TWO_FACTOR"
| "FAILED_TWO_FACTOR"
| "CORRECT_PASSWORD"
| "INCORRECT_PASSWORD"
| "SOCIAL_SPAM"[];
}

§Properties

§
accountId?: string
[src]

Optional. A stable account identifier to apply to the assessment. This is an alternative to setting account_id in CreateAssessment, for example when a stable account identifier is not yet known in the initial request.

§
annotation?: "ANNOTATION_UNSPECIFIED" | "LEGITIMATE" | "FRAUDULENT" | "PASSWORD_CORRECT" | "PASSWORD_INCORRECT"
[src]

Optional. The annotation that will be assigned to the Event. This field can be left empty to provide reasons that apply to an event without concluding whether the event is legitimate or fraudulent.

§
hashedAccountId?: Uint8Array
[src]

Optional. A stable hashed account identifier to apply to the assessment. This is an alternative to setting hashed_account_id in CreateAssessment, for example when a stable account identifier is not yet known in the initial request.

§
reasons?: "REASON_UNSPECIFIED" | "CHARGEBACK" | "CHARGEBACK_FRAUD" | "CHARGEBACK_DISPUTE" | "REFUND" | "REFUND_FRAUD" | "TRANSACTION_ACCEPTED" | "TRANSACTION_DECLINED" | "PAYMENT_HEURISTICS" | "INITIATED_TWO_FACTOR" | "PASSED_TWO_FACTOR" | "FAILED_TWO_FACTOR" | "CORRECT_PASSWORD" | "INCORRECT_PASSWORD" | "SOCIAL_SPAM"[]
[src]

Optional. Reasons for the annotation that are assigned to the event.

§

Optional. If the assessment is part of a payment transaction, provide details on payment lifecycle events that occur in the transaction.