2026-07-25 08:10:48 +00:00
|
|
|
// Module ID: 6722
|
2026-07-27 11:26:19 +00:00
|
|
|
// Function ID: 59299
|
2026-07-24 07:16:23 +00:00
|
|
|
// Name: _fetchAgeVerificationMethodsV
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [5, 6691, 653, 1868, 507, 2]
|
2026-07-24 07:16:23 +00:00
|
|
|
// Exports: fetchAgeVerificationMethodsV2
|
|
|
|
|
|
2026-07-25 08:10:48 +00:00
|
|
|
// Module 6722 (_fetchAgeVerificationMethodsV)
|
|
|
|
|
import closure_2 from "set";
|
|
|
|
|
import set from "set";
|
2026-07-24 07:16:23 +00:00
|
|
|
import { Endpoints } from "ME";
|
2026-07-25 08:10:48 +00:00
|
|
|
import set from "ME";
|
2026-07-24 07:16:23 +00:00
|
|
|
|
2026-07-25 08:10:48 +00:00
|
|
|
let VerificationMethod;
|
|
|
|
|
let VerificationVendorName;
|
2026-07-24 07:16:23 +00:00
|
|
|
const require = arg1;
|
|
|
|
|
async function _fetchAgeVerificationMethodsV() {
|
2026-07-25 08:10:48 +00:00
|
|
|
const HTTP = outer2_0(outer2_1[4]).HTTP;
|
2026-07-24 07:16:23 +00:00
|
|
|
const methods = yield HTTP.get({ url: outer2_3.AGE_VERIFICATION_METHODS_V2, rejectWithError: true }).body.methods;
|
|
|
|
|
return methods.map((method) => {
|
|
|
|
|
const obj = { method: method.method, vendor: method.vendor, title: method.title, description: method.description };
|
|
|
|
|
const provided_by = method.provided_by;
|
|
|
|
|
let tmp = null;
|
|
|
|
|
if (null != provided_by) {
|
|
|
|
|
tmp = provided_by;
|
|
|
|
|
}
|
|
|
|
|
obj.providedBy = tmp;
|
|
|
|
|
return obj;
|
|
|
|
|
});
|
|
|
|
|
}
|
2026-07-25 08:10:48 +00:00
|
|
|
({ VerificationMethod, VerificationVendorName } = set);
|
|
|
|
|
let obj = { [arg1(1868).AgeAssuranceMethod.FACIAL_AGE_ESTIMATION]: VerificationMethod.FACIAL_AGE_ESTIMATION, [arg1(1868).AgeAssuranceMethod.ID_SELFIE_MATCH]: VerificationMethod.ID_VERIFICATION };
|
|
|
|
|
obj = { [arg1(1868).AgeAssuranceVendor.K_ID]: VerificationVendorName.K_ID, [arg1(1868).AgeAssuranceVendor.INCODE]: VerificationVendorName.INCODE, [arg1(1868).AgeAssuranceVendor.GOOGLE_WALLET]: VerificationVendorName.GOOGLE_WALLET };
|
|
|
|
|
const result = set.fileFinishedImporting("modules/age_assurance/AgeVerificationMethodsV2.tsx");
|
2026-07-24 07:16:23 +00:00
|
|
|
|
2026-07-25 08:10:48 +00:00
|
|
|
export const V2_METHOD_TO_VERIFICATION_METHOD = obj;
|
|
|
|
|
export const V2_VENDOR_TO_VERIFICATION_VENDOR = obj;
|
2026-07-24 07:16:23 +00:00
|
|
|
export const fetchAgeVerificationMethodsV2 = function fetchAgeVerificationMethodsV2() {
|
|
|
|
|
return _fetchAgeVerificationMethodsV(...arguments);
|
|
|
|
|
};
|