import { ProveapiCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import * as errors from "../models/errors/index.js"; import { ProveapiError } from "../models/errors/proveapierror.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import * as operations from "../models/operations/index.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Verify * * @remarks * Runs Prove verification flows in one endpoint. Set `verificationType` in the request body to select the flow. * * ## Pre-fill for consumers (identity) * * Use `verificationType` = `prefill` for consumer identity pre-fill. Requires the appropriate pre-fill product on the token. * Response fields vary by flow; for pre-fill, `identity` may include name, contact, address, and assurance fields, and * `evaluation` may include `authentication`, `identification`, and `risk` objects with a `result` (for example `pass` or `fail`). * Evaluation is omitted from the response when `evaluation.includeEvaluation` is not enabled. * * Illustrative **200** response body for this flow (values are synthetic, not real data): * * { * "correlationId": "11111111-2222-3333-4444-555555555555", * "phoneNumber": "+15555550123", * "proveId": "22222222-3333-4444-5555-666666666666", * "provePhoneAlias": "SYNTHPFA00000000000000000000000000000000000000000000000000000001", * "clientRequestId": "client-synthetic-prefill-001", * "identity": { * "firstName": "Sample", * "lastName": "Person", * "dateOfBirth": "1990-06-15", * "nationalId": "900-00-0000", * "emails": [ * "sample.person@example.invalid", * "s.person@example.invalid" * ], * "addresses": [ * { * "address": "100 Synthetic St", * "extendedAddress": "Unit 1", * "city": "Exampletown", * "region": "EX", * "zipCode": "00001" * }, * { * "address": "200 Placeholder Rd", * "extendedAddress": "", * "city": "Demo City", * "region": "DM", * "zipCode": "00002" * } * ], * "assuranceLevel": "AL3", * "reasons": ["AL3a"] * }, * "evaluation": { * "authentication": { "result": "pass" }, * "identification": { "result": "pass" }, * "risk": { "result": "pass" } * } * } */ export declare function v3V3VerifyRequest(client: ProveapiCore, request?: components.V3VerifyRequest | undefined, options?: RequestOptions): APIPromise>; //# sourceMappingURL=v3V3VerifyRequest.d.ts.map