// Metro module 6780 (f6781). import * as _AgeVerificationConstants from "./AgeVerificationConstants"; import { Endpoints } from "../../Constants"; import { AgeAssuranceMethod, AgeAssuranceVendor } from "../../_bundle/Module1892"; import { HTTP } from "../../_bundle/sendRequest"; const { VerificationMethod, VerificationVendorName } = _AgeVerificationConstants; const r23 = {}; r23[AgeAssuranceMethod.FACIAL_AGE_ESTIMATION] = VerificationMethod.FACIAL_AGE_ESTIMATION; r23[AgeAssuranceMethod.ID_SELFIE_MATCH] = VerificationMethod.ID_VERIFICATION; const r33 = {}; r33[AgeAssuranceVendor.K_ID] = VerificationVendorName.K_ID; r33[AgeAssuranceVendor.INCODE] = VerificationVendorName.INCODE; r33[AgeAssuranceVendor.GOOGLE_WALLET] = VerificationVendorName.GOOGLE_WALLET; export { r23 as V2_METHOD_TO_VERIFICATION_METHOD }; export { r33 as V2_VENDOR_TO_VERIFICATION_VENDOR }; export async function fetchAgeVerificationMethodsV2() { let c26001_0; c26001_0 = void 0; return (await HTTP.get({ url: Endpoints.AGE_VERIFICATION_METHODS_V2, rejectWithError: true })).body.methods.map((a0) => { let provided_by = a0.provided_by; if (provided_by == null) { provided_by = null; } return { method: a0.method, vendor: a0.vendor, title: a0.title, description: a0.description, providedBy: provided_by }; }); }