// This file is generated automatically. Any change will be overwritten. /** * PlatformKind enum */ export enum PlatformKind { Web = "Web", Android = "Android", iOS = "iOS", } /** * DefType enum */ export enum DefType { TD1_IDC = "TD1_IDC", TD2_IDC2000 = "TD2_IDC2000", TD3_PAS = "TD3_PAS", SKDRV = "SKDRV", None = "None", FrenchID1988 = "FrenchID1988", NLDRV = "NLDRV", } /** * DGName enum */ export enum DGName { /** COM - Data header */ COM = "COM", /** SOD - Document Security Object */ SOD = "SOD", /** DG1 - MRZ */ DG1 = "DG1", /** DG2 - Face */ DG2 = "DG2", /** DG3 - Biometrics/Fingerprints */ DG3 = "DG3", /** DG4 - Biometrics/Irises */ DG4 = "DG4", /** DG5 - Portrait */ DG5 = "DG5", /** DG6 - TBA */ DG6 = "DG6", /** DG7 - Signature */ DG7 = "DG7", /** DG8 - Data features */ DG8 = "DG8", /** DG9 - Structure features */ DG9 = "DG9", /** DG11 - Substance features */ DG10 = "DG10", /** DG11 - Additional personal data */ DG11 = "DG11", /** DG12 - Additional document data */ DG12 = "DG12", /** DG13 - Optional details */ DG13 = "DG13", /** DG14 - Security options */ DG14 = "DG14", /** DG15 - AA public key */ DG15 = "DG15", /** DG16 - Persons to notify */ DG16 = "DG16", } /** Lookup table for DGName descriptions */ export const DGNameDescriptions: Record = { [DGName.COM]: "COM - Data header", [DGName.SOD]: "SOD - Document Security Object", [DGName.DG1]: "DG1 - MRZ", [DGName.DG2]: "DG2 - Face", [DGName.DG3]: "DG3 - Biometrics/Fingerprints", [DGName.DG4]: "DG4 - Biometrics/Irises", [DGName.DG5]: "DG5 - Portrait", [DGName.DG6]: "DG6 - TBA", [DGName.DG7]: "DG7 - Signature", [DGName.DG8]: "DG8 - Data features", [DGName.DG9]: "DG9 - Structure features", [DGName.DG10]: "DG11 - Substance features", [DGName.DG11]: "DG11 - Additional personal data", [DGName.DG12]: "DG12 - Additional document data", [DGName.DG13]: "DG13 - Optional details", [DGName.DG14]: "DG14 - Security options", [DGName.DG15]: "DG15 - AA public key", [DGName.DG16]: "DG16 - Persons to notify", }; /** * NfcProtocol enum */ export enum NfcProtocol { PACE = "PACE", BAC = "BAC", } /** * FrontendValidatorType enum */ export enum FrontendValidatorType { Alignment = "Alignment", BorderDistance = "BorderDistance", LinearFit = "LinearFit", Stability = "Stability", Mrz = "Mrz", Lighting = "Lighting", Barcode = "Barcode", Blur = "Blur", SpecularImage = "SpecularImage", Hologram = "Hologram", SiamConfidence = "SiamConfidence", } /** * NfcStatus enum */ export enum NfcStatus { /** Device does not support NFC */ DeviceDoesNotSupportNfc = "DeviceDoesNotSupportNfc", /** Invalid NFC key */ InvalidNfcKey = "InvalidNfcKey", /** User skipped */ UserSkipped = "UserSkipped", /** OK */ Ok = "Ok", } /** Lookup table for NfcStatus descriptions */ export const NfcStatusDescriptions: Record = { [NfcStatus.DeviceDoesNotSupportNfc]: "Device does not support NFC", [NfcStatus.InvalidNfcKey]: "Invalid NFC key", [NfcStatus.UserSkipped]: "User skipped", [NfcStatus.Ok]: "OK", }; /** * DocumentCodes enum */ export enum DocumentCodes { /** CZ:ID card, version 2012,2021 */ IDC2 = "IDC2", /** CZ:Driving license, version 2004,2013,2025 */ DRV = "DRV", /** CZ:Passport, version 2006 */ PAS = "PAS", /** SK:ID card, version 2008,2013,2015,2019 */ SK_IDC_2008plus = "SK_IDC_2008plus", /** SK:Driving license, version 2004,2008,2009 */ SK_DRV_2004_08_09 = "SK_DRV_2004_08_09", /** SK:Driving license, version 2013 */ SK_DRV_2013 = "SK_DRV_2013", /** SK:Driving license, version 2015,2024 */ SK_DRV_2015 = "SK_DRV_2015", /** SK:Passport, version 2008,2014 */ SK_PAS_2008_14 = "SK_PAS_2008_14", /** PL:ID card, version 2015 */ PL_IDC_2015 = "PL_IDC_2015", /** DE:ID card, version 2010, 2021 */ DE_IDC_2010 = "DE_IDC_2010", /** HR:ID card, version 2013,2015 */ HR_IDC_2013_15 = "HR_IDC_2013_15", /** HU:Identity card, version 2000,2001,2012 */ HU_IDC_2000_01_12 = "HU_IDC_2000_01_12", /** HU:Identity card, version 2016, 2021 */ HU_IDC_2016 = "HU_IDC_2016", /** AT:ID card, version 2002,2005,2010 */ AT_IDC_2002_05_10 = "AT_IDC_2002_05_10", /** HU:Address card, version 2012 */ HU_ADD_2012 = "HU_ADD_2012", /** AT:Passport, version 2006,2014 */ AT_PAS_2006_14 = "AT_PAS_2006_14", /** AT:Driving licence, version 2006 */ AT_DRV_2006 = "AT_DRV_2006", /** AT:Driving licence, version 2013,2014 */ AT_DRV_2013 = "AT_DRV_2013", /** CZ:Residence permit (non-EU citizens), version 2011,2014 */ CZ_RES_2011_14 = "CZ_RES_2011_14", /** CZ:Permanent residence permit (EU citizen), version 2006,2007 */ CZ_RES_2006_07 = "CZ_RES_2006_07", /** CZ:Gun license, version 2014 */ CZ_GUN_2014 = "CZ_GUN_2014", /** HU:Passport, version 2006,2012 */ HU_PAS_2006_12 = "HU_PAS_2006_12", /** HU:Driving license, version 2012,2013 */ HU_DRV_2012_13 = "HU_DRV_2012_13", /** HU:Driver license, version 2012 */ HU_DRV_2012_B = "HU_DRV_2012_B", /** EU:European health insurance card, version 2004A */ EU_EHIC_2004_A = "EU_EHIC_2004_A", Unknown = "Unknown", /** CZ:Gun license, version 2017 */ CZ_GUN_2017 = "CZ_GUN_2017", /** CZ:Residence permit, version 2020,2022 */ CZ_RES_2020 = "CZ_RES_2020", /** PL:ID card, version 2019,2021 */ PL_IDC_2019 = "PL_IDC_2019", /** IT:Passport, version 2006,2010,2023 */ IT_PAS_2006_10 = "IT_PAS_2006_10", /** ISIC (International Student Identity Card), version 2008 */ INT_ISIC_2008 = "INT_ISIC_2008", /** DE:Passport, version 2017,2024 */ DE_PAS = "DE_PAS", /** DK:Passport, version 2004,2006,2012 */ DK_PAS = "DK_PAS", /** ES:Passport, version 2015 */ ES_PAS = "ES_PAS", /** FI:Passport, version 2017 */ FI_PAS = "FI_PAS", /** FR:Passport, version 2006,2008,2013,2019 */ FR_PAS = "FR_PAS", /** GB:Passport, version 2020 */ GB_PAS = "GB_PAS", /** IS:Passport, version 2019 */ IS_PAS = "IS_PAS", /** NL:Passport, version 2014,2021,2024 */ NL_PAS = "NL_PAS", /** RO:Passport, version 2019 */ RO_PAS = "RO_PAS", /** SE:Passport, version 2012 */ SE_PAS = "SE_PAS", /** PL:Passport, version 2018,2022 */ PL_PAS = "PL_PAS", /** PL:Driving license, version 2013,2019 */ PL_DRV_2013 = "PL_DRV_2013", /** CZ:Birth certificate, version 2001 */ CZ_BIRTH = "CZ_BIRTH", /** CZ:Vehicle registration certificate, part I */ CZ_VEHICLE_I = "CZ_VEHICLE_I", /** ISIC (International Student Identity Card), version 2019 */ INT_ISIC_2019 = "INT_ISIC_2019", /** SI:Passport, version 2006,2016 */ SI_PAS = "SI_PAS", /** SI:ID card, version 1998 */ SI_IDC = "SI_IDC", /** SI:Driving license, version 2013 */ SI_DRV = "SI_DRV", /** EU:European health insurance card, version 2004B */ EU_EHIC_2004_B = "EU_EHIC_2004_B", /** PL:ID card, version 2001,2002,2013 */ PL_IDC_2001_02_13 = "PL_IDC_2001_02_13", /** IT:ID card, version 2016,2022 */ IT_IDC_2016 = "IT_IDC_2016", /** HR:Passport, version 2009,2015 */ HR_PAS_2009_15 = "HR_PAS_2009_15", /** HR:Driving license, version 2013 */ HR_DRV_2013 = "HR_DRV_2013", /** HR:ID card, version 2003 */ HR_IDC_2003 = "HR_IDC_2003", /** SI:Driving license, version 2009 */ SI_DRV_2009 = "SI_DRV_2009", /** BG:Passport, version 2010 */ BG_PAS_2010 = "BG_PAS_2010", /** BG:ID card, version 2010 */ BG_IDC_2010 = "BG_IDC_2010", /** BG:Driving license, version 2010,2013 */ BG_DRV_2010_13 = "BG_DRV_2010_13", /** HR:ID card, version 2021 */ HR_IDC_2021 = "HR_IDC_2021", /** AT:ID card, version 2021 */ AT_IDC_2021 = "AT_IDC_2021", /** DE:Passport, version 2007 */ DE_PAS_2007 = "DE_PAS_2007", /** DE:Driving license, version 2013,2021 */ DE_DRV_2013_21 = "DE_DRV_2013_21", /** DE:Driving license, version 1999,2001,2004,2011 */ DE_DRV_1999_01_04_11 = "DE_DRV_1999_01_04_11", /** MT:Driving license, version 2013,2020 */ MT_DRV_2013_20 = "MT_DRV_2013_20", /** FR:ID card, version 2021 */ FR_IDC_2021 = "FR_IDC_2021", /** FR:ID card, version 1988,1994 */ FR_IDC_1988_94 = "FR_IDC_1988_94", /** ES:Passport, version 2003,2006 */ ES_PAS_2003_06 = "ES_PAS_2003_06", /** ES:ID card, version 2015 */ ES_IDC_2015 = "ES_IDC_2015", /** ES:ID card, version 2006 */ ES_IDC_2006 = "ES_IDC_2006", /** IT:ID card, version 2004 */ IT_IDC_2004 = "IT_IDC_2004", /** RO:ID card, version 2001,2006,2009,2017,2021 */ RO_IDC_2001_06_09_17_21 = "RO_IDC_2001_06_09_17_21", /** NL:ID card, version 2014,2017,2021,2024 */ NL_IDC_2014_17_21 = "NL_IDC_2014_17_21", /** BE:Passport, version 2014,2017,2019 */ BE_PAS_2014_17_19 = "BE_PAS_2014_17_19", /** BE:ID card, version 2013,2015 */ BE_IDC_2013_15 = "BE_IDC_2013_15", /** BE:ID card, version 2020, 2021, 2024 */ BE_IDC_2020_21 = "BE_IDC_2020_21", /** GR:Passport, version 2006,2009,2011,2012,2014,2020 */ GR_PAS_2020 = "GR_PAS_2020", /** PT:Passport, version 2006,2009,2017 */ PT_PAS_2006_09 = "PT_PAS_2006_09", /** NL:Passport, version 2024 */ NL_PAS_2024 = "NL_PAS_2024", /** PT:ID card, version 2007,2008,2009,2015 */ PT_IDC_2007_08_09_15 = "PT_IDC_2007_08_09_15", /** SE:ID card, version 2012,2021 */ SE_IDC_2012_21 = "SE_IDC_2012_21", /** FI:ID card, version 2017,2021 */ FI_IDC_2017_21 = "FI_IDC_2017_21", /** IE:Passport, version 2006,2013 */ IE_PAS_2006_13 = "IE_PAS_2006_13", /** LT:Passport, version 2008,2009,2011,2019,2024 */ LT_PAS_2008_09_11_19 = "LT_PAS_2008_09_11_19", /** LT:ID card, version 2009,2012 */ LT_IDC_2009_12 = "LT_IDC_2009_12", /** LV:Passport, version 2015, 2024 */ LV_PAS_2015 = "LV_PAS_2015", /** LV:ID card, version 2012 */ LV_IDC_2012 = "LV_IDC_2012", /** LV:ID card, version 2019,2021 */ LV_IDC_2019 = "LV_IDC_2019", /** EE:Passport, version 2014 */ EE_PAS_2014 = "EE_PAS_2014", /** EE:Passport, version 2021 */ EE_PAS_2021 = "EE_PAS_2021", /** EE:ID card, version 2011 */ EE_IDC_2011 = "EE_IDC_2011", /** EE:ID card, version 2018,2021 */ EE_IDC_2018_21 = "EE_IDC_2018_21", /** CY:Passport, version 2010,2020 */ CY_PAS_2010_20 = "CY_PAS_2010_20", /** CY:ID card, version 2000,2008 */ CY_IDC_2000_08 = "CY_IDC_2000_08", /** CY:ID card, version 2015,2020 */ CY_IDC_2015_20 = "CY_IDC_2015_20", /** LU:Passport, version 2015 */ LU_PAS_2015 = "LU_PAS_2015", /** LU:ID card, version 2014,2021 */ LU_IDC_2014_21 = "LU_IDC_2014_21", /** LU:ID card, version 2008,2013 */ LU_IDC_2008_13 = "LU_IDC_2008_13", /** MT:Passport, version 2008,2019 */ MT_PAS_2008 = "MT_PAS_2008", /** MT:ID card, version 2014 */ MT_IDC_2014 = "MT_IDC_2014", /** PL:Passport, version 2006,2011 */ PL_PAS_2011 = "PL_PAS_2011", /** PL:Driving license, version 1999 */ PL_DRV_1999 = "PL_DRV_1999", /** LT:ID card, version 2021, 2024 */ LT_IDC_2021 = "LT_IDC_2021", /** UA:Passport, version 2007,15 */ UA_PAS_2007_15 = "UA_PAS_2007_15", /** UA:ID card, version 2017 */ UA_IDC_2017 = "UA_IDC_2017", /** EU:Schengen visa, version 2019 */ EU_VIS_2019 = "EU_VIS_2019", /** UA:Driving license, version 2016 */ UA_DRV_2016 = "UA_DRV_2016", /** UA:Driving license, version 2005 */ UA_DRV_2005 = "UA_DRV_2005", /** UA:Driving license, version 2021 */ UA_DRV_2021 = "UA_DRV_2021", /** EU:European health insurance card, version 2004A */ EU_EHIC_2004_C = "EU_EHIC_2004_C", /** VN:Passport, version 2005 */ VN_PAS_2005 = "VN_PAS_2005", /** NL:Driving license, version 2013 */ NL_DRV_2013 = "NL_DRV_2013", /** NL:Driving license, version 2014 */ NL_DRV_2014 = "NL_DRV_2014", /** AL:Passport, version 2009 */ AL_PAS_2009 = "AL_PAS_2009", /** BA:Passport, version 2014 */ BA_PAS_2014 = "BA_PAS_2014", /** CH:Passport, version 2003,2006,2010 */ CH_PAS_2010 = "CH_PAS_2010", /** ME:Passport, version 2008,2022 */ ME_PAS_2008 = "ME_PAS_2008", /** MK:Passport, version 2007 */ MK_PAS_2007 = "MK_PAS_2007", /** RS:Passport, version 2008 */ RS_PAS_2008 = "RS_PAS_2008", /** NO:Passport, version 1999,2005,2011,2015 */ NO_PAS_2011_15 = "NO_PAS_2011_15", /** NO:Passport, version 2020 */ NO_PAS_2020 = "NO_PAS_2020", /** GB:Passport, version 2010,2011,2015,2019 */ GB_PAS_2010_11_15_19 = "GB_PAS_2010_11_15_19", /** BY:Passport, version 2006 */ BY_PAS_2006 = "BY_PAS_2006", /** BY:Passport, version 2021 */ BY_PAS_2021 = "BY_PAS_2021", /** MD:Passport, version 2011,2014,2018 */ MD_PAS_2011_14_18 = "MD_PAS_2011_14_18", /** IS:Passport, version 2006 */ IS_PAS_2006 = "IS_PAS_2006", /** IN:Passport, version 2000,2013 */ IN_PAS_2000_13 = "IN_PAS_2000_13", /** TR:Passport, version 2010 */ TR_PAS_2010 = "TR_PAS_2010", /** TR:Passport, version 2018 */ TR_PAS_2018 = "TR_PAS_2018", /** RO:ID card, version 2021-09, 2025 */ RO_IDC_2021sep = "RO_IDC_2021sep", /** SK:Residence permit, version 2011 */ SK_RES_2011 = "SK_RES_2011", /** SK:Residence permit, version 2020 */ SK_RES_2020 = "SK_RES_2020", /** PL:Driving license, version 1999 */ PL_DRV_1999_A2 = "PL_DRV_1999_A2", /** DE:ID card, version 2010, 2021 */ DE_IDC_2010_A2 = "DE_IDC_2010_A2", /** DE:ID card, version 2010, 2021 */ DE_IDC_2010_A3 = "DE_IDC_2010_A3", /** PL:Driving license, version 2013,2019 */ PL_DRV_2013_A2 = "PL_DRV_2013_A2", /** AT:ID card, version 2002,2005,2010 */ AT_IDC_2002_05_10_A2 = "AT_IDC_2002_05_10_A2", /** CY:ID card, version 2015,2020 */ CY_IDC_2015_20_A2 = "CY_IDC_2015_20_A2", /** CY:ID card, version 2000,2008 */ CY_IDC_2000_08_A2 = "CY_IDC_2000_08_A2", /** CY:Passport, version 2010,2020 */ CY_PAS_2010_20_A2 = "CY_PAS_2010_20_A2", /** ES:Passport, version 2003,2006 */ ES_PAS_2003_06_A2 = "ES_PAS_2003_06_A2", /** LU:ID card, version 2008,2013 */ LU_IDC_2008_13_A2 = "LU_IDC_2008_13_A2", /** NL:ID card, version 2014,2017,2021,2024 */ NL_IDC_2014_17_21_A2 = "NL_IDC_2014_17_21_A2", /** SK:ID card, version 2022 */ SK_IDC_2022 = "SK_IDC_2022", /** SE:ID card, version 2022 */ SE_IDC_2022 = "SE_IDC_2022", /** SE:Passport, version 2022 */ SE_PAS_2022 = "SE_PAS_2022", /** DK:Passport, version 2021 */ DK_PAS_2021 = "DK_PAS_2021", /** CH:Passport, version 2022 */ CH_PAS_2022 = "CH_PAS_2022", /** VN:Passport, version 2022,2023 */ VN_PAS_2022 = "VN_PAS_2022", /** ME:Passport, version 2008,2022 */ ME_PAS_2008_A2 = "ME_PAS_2008_A2", /** CZ:Residence permit, version 2020,2022 */ CZ_RES_2020_A2 = "CZ_RES_2020_A2", /** OLYMPUS:ID card, version 2022 */ OL_IDC_2022 = "OL_IDC_2022", /** SM:Passport, version 2006 */ SM_PAS_2006 = "SM_PAS_2006", /** AD:Passport, version 2017 */ AD_PAS_2017 = "AD_PAS_2017", /** BE:Passport, version 2022, 2023, 2025 */ BE_PAS_2022 = "BE_PAS_2022", /** RU:Passport, version 2006,2010 */ RU_PAS_2006_10 = "RU_PAS_2006_10", /** TR:Passport, version 2023 */ TR_PAS_2023 = "TR_PAS_2023", /** DO:ID card, version 2014 */ DO_IDC_2014 = "DO_IDC_2014", /** LI:Passport, version 2006 */ LI_PAS_2006 = "LI_PAS_2006", /** VA:Passport, version 2013,2020 */ VA_PAS_2013 = "VA_PAS_2013", /** US:Passport, version 2006,2020 */ US_PAS_2006 = "US_PAS_2006", /** JP:Passport, version 2013 */ JP_PAS_2013 = "JP_PAS_2013", /** PK:Passport, version 2022 */ PK_PAS_2022 = "PK_PAS_2022", /** US-NV:Drivers license, version 2021 */ US_NV_DRV_2021 = "US_NV_DRV_2021", /** US-NV:Drivers license, version 2021-minors */ US_NV_DRV_2021minor = "US_NV_DRV_2021minor", /** US-NV:Drivers license, version 2008,2010,2014 */ US_NV_DRV_2008_10_14 = "US_NV_DRV_2008_10_14", /** MT:ID card, version 2020 */ MT_IDC_2020 = "MT_IDC_2020", /** SK:Passport, version 2024 */ SK_PAS_2024 = "SK_PAS_2024", /** SK:ID card, version 2024 */ SK_IDC_2024 = "SK_IDC_2024", /** VN:Passport, version 2022,2023 */ VN_PAS_2022_A2 = "VN_PAS_2022_A2", /** MD:Passport, version 2023 */ MD_PAS_2023 = "MD_PAS_2023", /** BG:ID card, version 2024 */ BG_IDC_2024 = "BG_IDC_2024", /** RO:Passport, version 2024 */ RO_PAS_2024 = "RO_PAS_2024", /** SI:ID card, version 2022 */ SI_IDC_2022 = "SI_IDC_2022", /** ES:ID card, version 2021 */ ES_IDC_2021 = "ES_IDC_2021", /** GR:Passport, version 2023 */ GR_PAS_2023 = "GR_PAS_2023", /** AT:Passport, version 2023 */ AT_PAS_2023 = "AT_PAS_2023", /** GR:ID card, version 2023 */ GR_IDC_2023 = "GR_IDC_2023", /** PT:ID card, version 2024 */ PT_IDC_2024 = "PT_IDC_2024", /** CZ:Passport, version 2006 */ CZ_PAS_V2 = "CZ_PAS_V2", /** RO:ID card, version 2021-09, 2025 */ RO_IDC_2021sep_A2 = "RO_IDC_2021sep_A2", /** PK:Passport, version 2009,2013,2017 */ PK_PAS_2009_13_17 = "PK_PAS_2009_13_17", /** PK:ID card, version 2012 */ PK_IDC_2012 = "PK_IDC_2012", /** JP:Passport, version 2025 */ JP_PAS_2025 = "JP_PAS_2025", /** US:Passport, version 2020 */ US_PAS_2020 = "US_PAS_2020", /** VA:Passport, version 2020 */ VA_PAS_2020 = "VA_PAS_2020", /** SM:ID card, version 2017 */ SM_IDC_2017 = "SM_IDC_2017", /** FI:ID card, version 2023 */ FI_IDC_2023 = "FI_IDC_2023", /** EE:ID card, version 2025 */ EE_IDC_2025 = "EE_IDC_2025", /** Generic passport */ ZZ_PAS = "ZZ_PAS", /** LV:Passport, version 2015, 2024 */ LV_PAS_2015_A2 = "LV_PAS_2015_A2", /** EU:Schengen visa, version 2003 */ EU_VIS_2003 = "EU_VIS_2003", /** Generic ID card */ ZZ_IDC = "ZZ_IDC", } /** Lookup table for DocumentCodes descriptions */ export const DocumentCodesDescriptions: Record = { [DocumentCodes.IDC2]: "CZ:ID card, version 2012,2021", [DocumentCodes.DRV]: "CZ:Driving license, version 2004,2013,2025", [DocumentCodes.PAS]: "CZ:Passport, version 2006", [DocumentCodes.SK_IDC_2008plus]: "SK:ID card, version 2008,2013,2015,2019", [DocumentCodes.SK_DRV_2004_08_09]: "SK:Driving license, version 2004,2008,2009", [DocumentCodes.SK_DRV_2013]: "SK:Driving license, version 2013", [DocumentCodes.SK_DRV_2015]: "SK:Driving license, version 2015,2024", [DocumentCodes.SK_PAS_2008_14]: "SK:Passport, version 2008,2014", [DocumentCodes.PL_IDC_2015]: "PL:ID card, version 2015", [DocumentCodes.DE_IDC_2010]: "DE:ID card, version 2010, 2021", [DocumentCodes.HR_IDC_2013_15]: "HR:ID card, version 2013,2015", [DocumentCodes.HU_IDC_2000_01_12]: "HU:Identity card, version 2000,2001,2012", [DocumentCodes.HU_IDC_2016]: "HU:Identity card, version 2016, 2021", [DocumentCodes.AT_IDC_2002_05_10]: "AT:ID card, version 2002,2005,2010", [DocumentCodes.HU_ADD_2012]: "HU:Address card, version 2012", [DocumentCodes.AT_PAS_2006_14]: "AT:Passport, version 2006,2014", [DocumentCodes.AT_DRV_2006]: "AT:Driving licence, version 2006", [DocumentCodes.AT_DRV_2013]: "AT:Driving licence, version 2013,2014", [DocumentCodes.CZ_RES_2011_14]: "CZ:Residence permit (non-EU citizens), version 2011,2014", [DocumentCodes.CZ_RES_2006_07]: "CZ:Permanent residence permit (EU citizen), version 2006,2007", [DocumentCodes.CZ_GUN_2014]: "CZ:Gun license, version 2014", [DocumentCodes.HU_PAS_2006_12]: "HU:Passport, version 2006,2012", [DocumentCodes.HU_DRV_2012_13]: "HU:Driving license, version 2012,2013", [DocumentCodes.HU_DRV_2012_B]: "HU:Driver license, version 2012", [DocumentCodes.EU_EHIC_2004_A]: "EU:European health insurance card, version 2004A", [DocumentCodes.Unknown]: "Unknown", [DocumentCodes.CZ_GUN_2017]: "CZ:Gun license, version 2017", [DocumentCodes.CZ_RES_2020]: "CZ:Residence permit, version 2020,2022", [DocumentCodes.PL_IDC_2019]: "PL:ID card, version 2019,2021", [DocumentCodes.IT_PAS_2006_10]: "IT:Passport, version 2006,2010,2023", [DocumentCodes.INT_ISIC_2008]: "ISIC (International Student Identity Card), version 2008", [DocumentCodes.DE_PAS]: "DE:Passport, version 2017,2024", [DocumentCodes.DK_PAS]: "DK:Passport, version 2004,2006,2012", [DocumentCodes.ES_PAS]: "ES:Passport, version 2015", [DocumentCodes.FI_PAS]: "FI:Passport, version 2017", [DocumentCodes.FR_PAS]: "FR:Passport, version 2006,2008,2013,2019", [DocumentCodes.GB_PAS]: "GB:Passport, version 2020", [DocumentCodes.IS_PAS]: "IS:Passport, version 2019", [DocumentCodes.NL_PAS]: "NL:Passport, version 2014,2021,2024", [DocumentCodes.RO_PAS]: "RO:Passport, version 2019", [DocumentCodes.SE_PAS]: "SE:Passport, version 2012", [DocumentCodes.PL_PAS]: "PL:Passport, version 2018,2022", [DocumentCodes.PL_DRV_2013]: "PL:Driving license, version 2013,2019", [DocumentCodes.CZ_BIRTH]: "CZ:Birth certificate, version 2001", [DocumentCodes.CZ_VEHICLE_I]: "CZ:Vehicle registration certificate, part I", [DocumentCodes.INT_ISIC_2019]: "ISIC (International Student Identity Card), version 2019", [DocumentCodes.SI_PAS]: "SI:Passport, version 2006,2016", [DocumentCodes.SI_IDC]: "SI:ID card, version 1998", [DocumentCodes.SI_DRV]: "SI:Driving license, version 2013", [DocumentCodes.EU_EHIC_2004_B]: "EU:European health insurance card, version 2004B", [DocumentCodes.PL_IDC_2001_02_13]: "PL:ID card, version 2001,2002,2013", [DocumentCodes.IT_IDC_2016]: "IT:ID card, version 2016,2022", [DocumentCodes.HR_PAS_2009_15]: "HR:Passport, version 2009,2015", [DocumentCodes.HR_DRV_2013]: "HR:Driving license, version 2013", [DocumentCodes.HR_IDC_2003]: "HR:ID card, version 2003", [DocumentCodes.SI_DRV_2009]: "SI:Driving license, version 2009", [DocumentCodes.BG_PAS_2010]: "BG:Passport, version 2010", [DocumentCodes.BG_IDC_2010]: "BG:ID card, version 2010", [DocumentCodes.BG_DRV_2010_13]: "BG:Driving license, version 2010,2013", [DocumentCodes.HR_IDC_2021]: "HR:ID card, version 2021", [DocumentCodes.AT_IDC_2021]: "AT:ID card, version 2021", [DocumentCodes.DE_PAS_2007]: "DE:Passport, version 2007", [DocumentCodes.DE_DRV_2013_21]: "DE:Driving license, version 2013,2021", [DocumentCodes.DE_DRV_1999_01_04_11]: "DE:Driving license, version 1999,2001,2004,2011", [DocumentCodes.MT_DRV_2013_20]: "MT:Driving license, version 2013,2020", [DocumentCodes.FR_IDC_2021]: "FR:ID card, version 2021", [DocumentCodes.FR_IDC_1988_94]: "FR:ID card, version 1988,1994", [DocumentCodes.ES_PAS_2003_06]: "ES:Passport, version 2003,2006", [DocumentCodes.ES_IDC_2015]: "ES:ID card, version 2015", [DocumentCodes.ES_IDC_2006]: "ES:ID card, version 2006", [DocumentCodes.IT_IDC_2004]: "IT:ID card, version 2004", [DocumentCodes.RO_IDC_2001_06_09_17_21]: "RO:ID card, version 2001,2006,2009,2017,2021", [DocumentCodes.NL_IDC_2014_17_21]: "NL:ID card, version 2014,2017,2021,2024", [DocumentCodes.BE_PAS_2014_17_19]: "BE:Passport, version 2014,2017,2019", [DocumentCodes.BE_IDC_2013_15]: "BE:ID card, version 2013,2015", [DocumentCodes.BE_IDC_2020_21]: "BE:ID card, version 2020, 2021, 2024", [DocumentCodes.GR_PAS_2020]: "GR:Passport, version 2006,2009,2011,2012,2014,2020", [DocumentCodes.PT_PAS_2006_09]: "PT:Passport, version 2006,2009,2017", [DocumentCodes.NL_PAS_2024]: "NL:Passport, version 2024", [DocumentCodes.PT_IDC_2007_08_09_15]: "PT:ID card, version 2007,2008,2009,2015", [DocumentCodes.SE_IDC_2012_21]: "SE:ID card, version 2012,2021", [DocumentCodes.FI_IDC_2017_21]: "FI:ID card, version 2017,2021", [DocumentCodes.IE_PAS_2006_13]: "IE:Passport, version 2006,2013", [DocumentCodes.LT_PAS_2008_09_11_19]: "LT:Passport, version 2008,2009,2011,2019,2024", [DocumentCodes.LT_IDC_2009_12]: "LT:ID card, version 2009,2012", [DocumentCodes.LV_PAS_2015]: "LV:Passport, version 2015, 2024", [DocumentCodes.LV_IDC_2012]: "LV:ID card, version 2012", [DocumentCodes.LV_IDC_2019]: "LV:ID card, version 2019,2021", [DocumentCodes.EE_PAS_2014]: "EE:Passport, version 2014", [DocumentCodes.EE_PAS_2021]: "EE:Passport, version 2021", [DocumentCodes.EE_IDC_2011]: "EE:ID card, version 2011", [DocumentCodes.EE_IDC_2018_21]: "EE:ID card, version 2018,2021", [DocumentCodes.CY_PAS_2010_20]: "CY:Passport, version 2010,2020", [DocumentCodes.CY_IDC_2000_08]: "CY:ID card, version 2000,2008", [DocumentCodes.CY_IDC_2015_20]: "CY:ID card, version 2015,2020", [DocumentCodes.LU_PAS_2015]: "LU:Passport, version 2015", [DocumentCodes.LU_IDC_2014_21]: "LU:ID card, version 2014,2021", [DocumentCodes.LU_IDC_2008_13]: "LU:ID card, version 2008,2013", [DocumentCodes.MT_PAS_2008]: "MT:Passport, version 2008,2019", [DocumentCodes.MT_IDC_2014]: "MT:ID card, version 2014", [DocumentCodes.PL_PAS_2011]: "PL:Passport, version 2006,2011", [DocumentCodes.PL_DRV_1999]: "PL:Driving license, version 1999", [DocumentCodes.LT_IDC_2021]: "LT:ID card, version 2021, 2024", [DocumentCodes.UA_PAS_2007_15]: "UA:Passport, version 2007,15", [DocumentCodes.UA_IDC_2017]: "UA:ID card, version 2017", [DocumentCodes.EU_VIS_2019]: "EU:Schengen visa, version 2019", [DocumentCodes.UA_DRV_2016]: "UA:Driving license, version 2016", [DocumentCodes.UA_DRV_2005]: "UA:Driving license, version 2005", [DocumentCodes.UA_DRV_2021]: "UA:Driving license, version 2021", [DocumentCodes.EU_EHIC_2004_C]: "EU:European health insurance card, version 2004A", [DocumentCodes.VN_PAS_2005]: "VN:Passport, version 2005", [DocumentCodes.NL_DRV_2013]: "NL:Driving license, version 2013", [DocumentCodes.NL_DRV_2014]: "NL:Driving license, version 2014", [DocumentCodes.AL_PAS_2009]: "AL:Passport, version 2009", [DocumentCodes.BA_PAS_2014]: "BA:Passport, version 2014", [DocumentCodes.CH_PAS_2010]: "CH:Passport, version 2003,2006,2010", [DocumentCodes.ME_PAS_2008]: "ME:Passport, version 2008,2022", [DocumentCodes.MK_PAS_2007]: "MK:Passport, version 2007", [DocumentCodes.RS_PAS_2008]: "RS:Passport, version 2008", [DocumentCodes.NO_PAS_2011_15]: "NO:Passport, version 1999,2005,2011,2015", [DocumentCodes.NO_PAS_2020]: "NO:Passport, version 2020", [DocumentCodes.GB_PAS_2010_11_15_19]: "GB:Passport, version 2010,2011,2015,2019", [DocumentCodes.BY_PAS_2006]: "BY:Passport, version 2006", [DocumentCodes.BY_PAS_2021]: "BY:Passport, version 2021", [DocumentCodes.MD_PAS_2011_14_18]: "MD:Passport, version 2011,2014,2018", [DocumentCodes.IS_PAS_2006]: "IS:Passport, version 2006", [DocumentCodes.IN_PAS_2000_13]: "IN:Passport, version 2000,2013", [DocumentCodes.TR_PAS_2010]: "TR:Passport, version 2010", [DocumentCodes.TR_PAS_2018]: "TR:Passport, version 2018", [DocumentCodes.RO_IDC_2021sep]: "RO:ID card, version 2021-09, 2025", [DocumentCodes.SK_RES_2011]: "SK:Residence permit, version 2011", [DocumentCodes.SK_RES_2020]: "SK:Residence permit, version 2020", [DocumentCodes.PL_DRV_1999_A2]: "PL:Driving license, version 1999", [DocumentCodes.DE_IDC_2010_A2]: "DE:ID card, version 2010, 2021", [DocumentCodes.DE_IDC_2010_A3]: "DE:ID card, version 2010, 2021", [DocumentCodes.PL_DRV_2013_A2]: "PL:Driving license, version 2013,2019", [DocumentCodes.AT_IDC_2002_05_10_A2]: "AT:ID card, version 2002,2005,2010", [DocumentCodes.CY_IDC_2015_20_A2]: "CY:ID card, version 2015,2020", [DocumentCodes.CY_IDC_2000_08_A2]: "CY:ID card, version 2000,2008", [DocumentCodes.CY_PAS_2010_20_A2]: "CY:Passport, version 2010,2020", [DocumentCodes.ES_PAS_2003_06_A2]: "ES:Passport, version 2003,2006", [DocumentCodes.LU_IDC_2008_13_A2]: "LU:ID card, version 2008,2013", [DocumentCodes.NL_IDC_2014_17_21_A2]: "NL:ID card, version 2014,2017,2021,2024", [DocumentCodes.SK_IDC_2022]: "SK:ID card, version 2022", [DocumentCodes.SE_IDC_2022]: "SE:ID card, version 2022", [DocumentCodes.SE_PAS_2022]: "SE:Passport, version 2022", [DocumentCodes.DK_PAS_2021]: "DK:Passport, version 2021", [DocumentCodes.CH_PAS_2022]: "CH:Passport, version 2022", [DocumentCodes.VN_PAS_2022]: "VN:Passport, version 2022,2023", [DocumentCodes.ME_PAS_2008_A2]: "ME:Passport, version 2008,2022", [DocumentCodes.CZ_RES_2020_A2]: "CZ:Residence permit, version 2020,2022", [DocumentCodes.OL_IDC_2022]: "OLYMPUS:ID card, version 2022", [DocumentCodes.SM_PAS_2006]: "SM:Passport, version 2006", [DocumentCodes.AD_PAS_2017]: "AD:Passport, version 2017", [DocumentCodes.BE_PAS_2022]: "BE:Passport, version 2022, 2023, 2025", [DocumentCodes.RU_PAS_2006_10]: "RU:Passport, version 2006,2010", [DocumentCodes.TR_PAS_2023]: "TR:Passport, version 2023", [DocumentCodes.DO_IDC_2014]: "DO:ID card, version 2014", [DocumentCodes.LI_PAS_2006]: "LI:Passport, version 2006", [DocumentCodes.VA_PAS_2013]: "VA:Passport, version 2013,2020", [DocumentCodes.US_PAS_2006]: "US:Passport, version 2006,2020", [DocumentCodes.JP_PAS_2013]: "JP:Passport, version 2013", [DocumentCodes.PK_PAS_2022]: "PK:Passport, version 2022", [DocumentCodes.US_NV_DRV_2021]: "US-NV:Drivers license, version 2021", [DocumentCodes.US_NV_DRV_2021minor]: "US-NV:Drivers license, version 2021-minors", [DocumentCodes.US_NV_DRV_2008_10_14]: "US-NV:Drivers license, version 2008,2010,2014", [DocumentCodes.MT_IDC_2020]: "MT:ID card, version 2020", [DocumentCodes.SK_PAS_2024]: "SK:Passport, version 2024", [DocumentCodes.SK_IDC_2024]: "SK:ID card, version 2024", [DocumentCodes.VN_PAS_2022_A2]: "VN:Passport, version 2022,2023", [DocumentCodes.MD_PAS_2023]: "MD:Passport, version 2023", [DocumentCodes.BG_IDC_2024]: "BG:ID card, version 2024", [DocumentCodes.RO_PAS_2024]: "RO:Passport, version 2024", [DocumentCodes.SI_IDC_2022]: "SI:ID card, version 2022", [DocumentCodes.ES_IDC_2021]: "ES:ID card, version 2021", [DocumentCodes.GR_PAS_2023]: "GR:Passport, version 2023", [DocumentCodes.AT_PAS_2023]: "AT:Passport, version 2023", [DocumentCodes.GR_IDC_2023]: "GR:ID card, version 2023", [DocumentCodes.PT_IDC_2024]: "PT:ID card, version 2024", [DocumentCodes.CZ_PAS_V2]: "CZ:Passport, version 2006", [DocumentCodes.RO_IDC_2021sep_A2]: "RO:ID card, version 2021-09, 2025", [DocumentCodes.PK_PAS_2009_13_17]: "PK:Passport, version 2009,2013,2017", [DocumentCodes.PK_IDC_2012]: "PK:ID card, version 2012", [DocumentCodes.JP_PAS_2025]: "JP:Passport, version 2025", [DocumentCodes.US_PAS_2020]: "US:Passport, version 2020", [DocumentCodes.VA_PAS_2020]: "VA:Passport, version 2020", [DocumentCodes.SM_IDC_2017]: "SM:ID card, version 2017", [DocumentCodes.FI_IDC_2023]: "FI:ID card, version 2023", [DocumentCodes.EE_IDC_2025]: "EE:ID card, version 2025", [DocumentCodes.ZZ_PAS]: "Generic passport", [DocumentCodes.LV_PAS_2015_A2]: "LV:Passport, version 2015, 2024", [DocumentCodes.EU_VIS_2003]: "EU:Schengen visa, version 2003", [DocumentCodes.ZZ_IDC]: "Generic ID card", }; /** * PageCodes enum */ export enum PageCodes { /** Front */ F = "F", /** Back */ B = "B", } /** Lookup table for PageCodes descriptions */ export const PageCodesDescriptions: Record = { [PageCodes.F]: "Front", [PageCodes.B]: "Back", }; /** * SampleType enum */ export enum SampleType { /** Document picture */ DocumentPicture = "DocumentPicture", /** Selfie picture */ Selfie = "Selfie", /** Selfie video */ SelfieVideo = "SelfieVideo", /** Document video */ DocumentVideo = "DocumentVideo", /** Archived file */ Archived = "Archived", /** Unknown document */ Unknown = "Unknown", /** eDoklad */ EDoklad = "EDoklad", /** License plate */ LicensePlate = "LicensePlate", } /** Lookup table for SampleType descriptions */ export const SampleTypeDescriptions: Record = { [SampleType.DocumentPicture]: "Document picture", [SampleType.Selfie]: "Selfie picture", [SampleType.SelfieVideo]: "Selfie video", [SampleType.DocumentVideo]: "Document video", [SampleType.Archived]: "Archived file", [SampleType.Unknown]: "Unknown document", [SampleType.EDoklad]: "eDoklad", [SampleType.LicensePlate]: "License plate", }; /** * ErrorCode enum */ export enum ErrorCode { /** Unknown SampleID */ UnknownSampleID = "UnknownSampleID", UnknownUploadSessionID = "UnknownUploadSessionID", EmptyBody = "EmptyBody", /** Internal server error */ InternalServerError = "InternalServerError", InvalidTimeStamp = "InvalidTimeStamp", /** Sample is in invalid state */ SampleInInvalidState = "SampleInInvalidState", /** Sample combination is invalid for investigation */ InvalidSampleCombination = "InvalidSampleCombination", /** Access denied */ AccessDenied = "AccessDenied", UnknownPerson = "UnknownPerson", InvalidInputData = "InvalidInputData", /** Error during InitSDK recreates session */ InitSDKRecreatesSessionError = "InitSDKRecreatesSessionError", /** eDoklady invalid legal entity name, check settings and profile */ InvalidLegalEntity = "InvalidLegalEntity", /** License expired or exceeded */ LicenseExhausted = "LicenseExhausted", /** Investigation is in invalid state for the operation */ InvestigationInInvalidState = "InvestigationInInvalidState", /** Unknown File Key */ UnknownFileKey = "UnknownFileKey", } /** Lookup table for ErrorCode descriptions */ export const ErrorCodeDescriptions: Record = { [ErrorCode.UnknownSampleID]: "Unknown SampleID", [ErrorCode.UnknownUploadSessionID]: "UnknownUploadSessionID", [ErrorCode.EmptyBody]: "EmptyBody", [ErrorCode.InternalServerError]: "Internal server error", [ErrorCode.InvalidTimeStamp]: "InvalidTimeStamp", [ErrorCode.SampleInInvalidState]: "Sample is in invalid state", [ErrorCode.InvalidSampleCombination]: "Sample combination is invalid for investigation", [ErrorCode.AccessDenied]: "Access denied", [ErrorCode.UnknownPerson]: "UnknownPerson", [ErrorCode.InvalidInputData]: "InvalidInputData", [ErrorCode.InitSDKRecreatesSessionError]: "Error during InitSDK recreates session", [ErrorCode.InvalidLegalEntity]: "eDoklady invalid legal entity name, check settings and profile", [ErrorCode.LicenseExhausted]: "License expired or exceeded", [ErrorCode.InvestigationInInvalidState]: "Investigation is in invalid state for the operation", [ErrorCode.UnknownFileKey]: "Unknown File Key", }; /** * SdkVerifierType enum */ export enum SdkVerifierType { /** Face Liveness */ FaceLiveness = "FaceLiveness", /** Document */ Document = "Document", /** Selfie Photo */ Selfie = "Selfie", /** Hologram */ Hologram = "Hologram", /** IQS Hologram */ IQSHologram = "IQSHologram", /** License Plate */ LicensePlate = "LicensePlate", /** MS Liveness */ MsLiveness = "MsLiveness", } /** Lookup table for SdkVerifierType descriptions */ export const SdkVerifierTypeDescriptions: Record = { [SdkVerifierType.FaceLiveness]: "Face Liveness", [SdkVerifierType.Document]: "Document", [SdkVerifierType.Selfie]: "Selfie Photo", [SdkVerifierType.Hologram]: "Hologram", [SdkVerifierType.IQSHologram]: "IQS Hologram", [SdkVerifierType.LicensePlate]: "License Plate", [SdkVerifierType.MsLiveness]: "MS Liveness", }; /** * DocumentRole enum */ export enum DocumentRole { /** ID card */ Idc = "Idc", /** Passport */ Pas = "Pas", /** Driving license */ Drv = "Drv", /** Residence permit */ Res = "Res", /** Gun license */ Gun = "Gun", /** Health insurance card */ Hic = "Hic", /** Student card */ Std = "Std", /** Vehicle certification */ Car = "Car", /** Birth certificate */ Birth = "Birth", /** Address card */ Add = "Add", /** Auxiliary identity card */ Ide = "Ide", /** Visa */ Vis = "Vis", /** Experimental */ Exp = "Exp", } /** Lookup table for DocumentRole descriptions */ export const DocumentRoleDescriptions: Record = { [DocumentRole.Idc]: "ID card", [DocumentRole.Pas]: "Passport", [DocumentRole.Drv]: "Driving license", [DocumentRole.Res]: "Residence permit", [DocumentRole.Gun]: "Gun license", [DocumentRole.Hic]: "Health insurance card", [DocumentRole.Std]: "Student card", [DocumentRole.Car]: "Vehicle certification", [DocumentRole.Birth]: "Birth certificate", [DocumentRole.Add]: "Address card", [DocumentRole.Ide]: "Auxiliary identity card", [DocumentRole.Vis]: "Visa", [DocumentRole.Exp]: "Experimental", }; /** * Country enum */ export enum Country { /** Czechia */ Cz = "Cz", /** Slovakia */ Sk = "Sk", /** Austria */ At = "At", /** Hungary */ Hu = "Hu", /** Poland */ Pl = "Pl", /** Germany */ De = "De", /** Croatia */ Hr = "Hr", /** Romania */ Ro = "Ro", /** Russia */ Ru = "Ru", /** Ukraine */ Ua = "Ua", /** Italy */ It = "It", /** Denmark */ Dk = "Dk", /** Spain */ Es = "Es", /** Finland */ Fi = "Fi", /** France */ Fr = "Fr", /** United Kingdom */ Gb = "Gb", /** Iceland */ Is = "Is", /** Nederlands */ Nl = "Nl", /** Sweden */ Se = "Se", /** Slovenia */ Si = "Si", /** Bulgaria */ Bg = "Bg", /** Albania */ Al = "Al", /** Andorra */ Ad = "Ad", /** Belgium */ Be = "Be", /** Belarus */ By = "By", /** Bosnia and Hercegovina */ Ba = "Ba", /** Montenegro */ Me = "Me", /** Estonia */ Ee = "Ee", /** Ireland */ Ie = "Ie", /** Cyprus */ Cy = "Cy", /** Liechtenstein */ Li = "Li", /** Lithuania */ Lt = "Lt", /** Latvia */ Lv = "Lv", /** Luxembourg */ Lu = "Lu", /** Malta */ Mt = "Mt", /** Moldova */ Md = "Md", /** Monaco */ Mc = "Mc", /** Norway */ No = "No", /** Portugal */ Pt = "Pt", /** Greece */ Gr = "Gr", /** San Marino */ Sm = "Sm", /** North Makedonia */ Mk = "Mk", /** Serbia */ Rs = "Rs", /** Switzerland */ Ch = "Ch", /** Turkey */ Tr = "Tr", /** Holy see */ Va = "Va", /** Vietnam */ Vn = "Vn", /** India */ In = "In", /** United States */ Us = "Us", /** Japan */ Jp = "Jp", /** Pakistan */ Pk = "Pk", /** Nigeria */ Ng = "Ng", /** Brasil */ Br = "Br", /** Bangladesh */ Bd = "Bd", /** China */ Cn = "Cn", /** Indonesia */ Id = "Id", /** Mexico */ Mx = "Mx", /** Olympus (experimental) */ Ol = "Ol", /** Philippines */ Ph = "Ph", /** Ethiopia */ Et = "Et", /** Egypt */ Eg = "Eg", /** DR Congo */ Cd = "Cd", /** Iran */ Ir = "Ir", /** Thailand */ Th = "Th", /** Tanzania */ Tz = "Tz", /** South Africa */ Za = "Za", /** Myanmar */ Mm = "Mm", /** Colombia */ Co = "Co", /** South Korea */ Kr = "Kr", /** Kenya */ Ke = "Ke", /** Argentina */ Ar = "Ar", /** Algeria */ Dz = "Dz", /** Sudan */ Sd = "Sd", /** Uganda */ Ug = "Ug", /** Iraq */ Iq = "Iq", /** Canada */ Ca = "Ca", /** Morocco */ Ma = "Ma", /** Uzbekistan */ Uz = "Uz", /** Saudi Arabia */ Sa = "Sa", /** Yemen */ Ye = "Ye", /** Peru */ Pe = "Pe", /** Angola */ Ao = "Ao", /** Malaysia */ My = "My", /** Afghanistan */ Af = "Af", /** Mozambique */ Mz = "Mz", /** Ghana */ Gh = "Gh", /** Ivory Coast */ Ci = "Ci", /** Nepal */ Np = "Np", /** Venezuela */ Ve = "Ve", /** Madagascar */ Mg = "Mg", /** Australia */ Au = "Au", /** North Korea */ Kp = "Kp", /** Cameroon */ Cm = "Cm", /** Niger */ Ne = "Ne", /** Taiwan */ Tw = "Tw", /** Mali */ Ml = "Ml", /** Burkina Faso */ Bf = "Bf", /** Sri Lanka */ Lk = "Lk", /** Syria */ Sy = "Sy", /** Malawi */ Mw = "Mw", /** Chile */ Cl = "Cl", /** Kazakhstan */ Kz = "Kz", /** Zambia */ Zm = "Zm", /** Ecuador */ Ec = "Ec", /** Somalia */ So = "So", /** Senegal */ Sn = "Sn", /** Guatemala */ Gt = "Gt", /** Chad */ Td = "Td", /** Cambodia */ Kh = "Kh", /** Zimbabwe */ Zw = "Zw", /** South Sudan */ Ss = "Ss", /** Rwanda */ Rw = "Rw", /** Guinea */ Gn = "Gn", /** Burundi */ Bi = "Bi", /** Benin */ Bj = "Bj", /** Bolivia */ Bo = "Bo", /** Tunisia */ Tn = "Tn", /** Haiti */ Ht = "Ht", /** Jordan */ Jo = "Jo", /** Cuba */ Cu = "Cu", /** Dominican Republic */ Do = "Do", /** Azerbaijan */ Az = "Az", /** Israel */ Il = "Il", /** Tajikistan */ Tj = "Tj", /** Honduras */ Hn = "Hn", /** United Arab Emirates */ Ae = "Ae", /** Sierra Leone */ Sl = "Sl", /** Togo */ Tg = "Tg", /** Laos */ La = "La", /** Kyrgyzstan */ Kg = "Kg", /** Turkmenistan */ Tm = "Tm", /** Libya */ Ly = "Ly", /** El Salvador */ Sv = "Sv", /** Nicaragua */ Ni = "Ni", /** Paraguay */ Py = "Py", /** Congo */ Cg = "Cg", /** Singapore */ Sg = "Sg", /** Central African Republic */ Cf = "Cf", /** Lebanon */ Lb = "Lb", /** Palestine */ Ps = "Ps", /** Costa Rica */ Cr = "Cr", /** Liberia */ Lr = "Lr", /** New Zealand */ Nz = "Nz", /** Oman */ Om = "Om", /** Kuwait */ Kw = "Kw", /** Mauritania */ Mr = "Mr", /** Panama */ Pa = "Pa", /** Eritrea */ Er = "Er", /** Georgia */ Ge = "Ge", /** Uruguay */ Uy = "Uy", /** Mongolia */ Mn = "Mn", /** Armenia */ Am = "Am", /** Jamaica */ Jm = "Jm", /** Qatar */ Qa = "Qa", /** Namibia */ Na = "Na", /** Gambia */ Gm = "Gm", /** Botswana */ Bw = "Bw", /** Lesotho */ Ls = "Ls", /** Gabon */ Ga = "Ga", /** Guinea-Bissau */ Gw = "Gw", /** Kosovo */ Xk = "Xk", /** Bahrain */ Bh = "Bh", /** Equatorial Guinea */ Gq = "Gq", /** Trinidad and Tobago */ Tt = "Tt", /** East Timor */ Tl = "Tl", /** Mauritius */ Mu = "Mu", /** Eswatini */ Sz = "Sz", /** Djibouti */ Dj = "Dj", /** Fiji */ Fj = "Fj", /** Bhutan */ Bt = "Bt", /** Comoros */ Km = "Km", /** Guyana */ Gy = "Gy", /** Solomon Islands */ Sb = "Sb", /** Suriname */ Sr = "Sr", /** Cape Verde */ Cv = "Cv", /** Brunei */ Bn = "Bn", /** Belize */ Bz = "Bz", /** Bahamas */ Bs = "Bs", /** Maldives */ Mv = "Mv", /** Vanuatu */ Vu = "Vu", /** Barbados */ Bb = "Bb", /** São Tomé and Príncipe */ St = "St", /** Samoa */ Ws = "Ws", /** Saint Lucia */ Lc = "Lc", /** Kiribati */ Ki = "Ki", /** Grenada */ Gd = "Gd", /** Saint Vincent and the Grenadines */ Vc = "Vc", /** Micronesia */ Fm = "Fm", /** Antigua and Barbuda */ Ag = "Ag", /** Seychelles */ Sc = "Sc", /** Tonga */ To = "To", /** Dominica */ Dm = "Dm", /** Saint Kitts and Nevis */ Kn = "Kn", /** Marshall Islands */ Mh = "Mh", /** Palau */ Pw = "Pw", /** Nauru */ Nr = "Nr", /** Tuvalu */ Tv = "Tv", /** Papua New Guinea */ Pg = "Pg", /** Undefined country */ Zz = "Zz", /** European Union */ Eu = "Eu", } /** Lookup table for Country descriptions */ export const CountryDescriptions: Record = { [Country.Cz]: "Czechia", [Country.Sk]: "Slovakia", [Country.At]: "Austria", [Country.Hu]: "Hungary", [Country.Pl]: "Poland", [Country.De]: "Germany", [Country.Hr]: "Croatia", [Country.Ro]: "Romania", [Country.Ru]: "Russia", [Country.Ua]: "Ukraine", [Country.It]: "Italy", [Country.Dk]: "Denmark", [Country.Es]: "Spain", [Country.Fi]: "Finland", [Country.Fr]: "France", [Country.Gb]: "United Kingdom", [Country.Is]: "Iceland", [Country.Nl]: "Nederlands", [Country.Se]: "Sweden", [Country.Si]: "Slovenia", [Country.Bg]: "Bulgaria", [Country.Al]: "Albania", [Country.Ad]: "Andorra", [Country.Be]: "Belgium", [Country.By]: "Belarus", [Country.Ba]: "Bosnia and Hercegovina", [Country.Me]: "Montenegro", [Country.Ee]: "Estonia", [Country.Ie]: "Ireland", [Country.Cy]: "Cyprus", [Country.Li]: "Liechtenstein", [Country.Lt]: "Lithuania", [Country.Lv]: "Latvia", [Country.Lu]: "Luxembourg", [Country.Mt]: "Malta", [Country.Md]: "Moldova", [Country.Mc]: "Monaco", [Country.No]: "Norway", [Country.Pt]: "Portugal", [Country.Gr]: "Greece", [Country.Sm]: "San Marino", [Country.Mk]: "North Makedonia", [Country.Rs]: "Serbia", [Country.Ch]: "Switzerland", [Country.Tr]: "Turkey", [Country.Va]: "Holy see", [Country.Vn]: "Vietnam", [Country.In]: "India", [Country.Us]: "United States", [Country.Jp]: "Japan", [Country.Pk]: "Pakistan", [Country.Ng]: "Nigeria", [Country.Br]: "Brasil", [Country.Bd]: "Bangladesh", [Country.Cn]: "China", [Country.Id]: "Indonesia", [Country.Mx]: "Mexico", [Country.Ol]: "Olympus (experimental)", [Country.Ph]: "Philippines", [Country.Et]: "Ethiopia", [Country.Eg]: "Egypt", [Country.Cd]: "DR Congo", [Country.Ir]: "Iran", [Country.Th]: "Thailand", [Country.Tz]: "Tanzania", [Country.Za]: "South Africa", [Country.Mm]: "Myanmar", [Country.Co]: "Colombia", [Country.Kr]: "South Korea", [Country.Ke]: "Kenya", [Country.Ar]: "Argentina", [Country.Dz]: "Algeria", [Country.Sd]: "Sudan", [Country.Ug]: "Uganda", [Country.Iq]: "Iraq", [Country.Ca]: "Canada", [Country.Ma]: "Morocco", [Country.Uz]: "Uzbekistan", [Country.Sa]: "Saudi Arabia", [Country.Ye]: "Yemen", [Country.Pe]: "Peru", [Country.Ao]: "Angola", [Country.My]: "Malaysia", [Country.Af]: "Afghanistan", [Country.Mz]: "Mozambique", [Country.Gh]: "Ghana", [Country.Ci]: "Ivory Coast", [Country.Np]: "Nepal", [Country.Ve]: "Venezuela", [Country.Mg]: "Madagascar", [Country.Au]: "Australia", [Country.Kp]: "North Korea", [Country.Cm]: "Cameroon", [Country.Ne]: "Niger", [Country.Tw]: "Taiwan", [Country.Ml]: "Mali", [Country.Bf]: "Burkina Faso", [Country.Lk]: "Sri Lanka", [Country.Sy]: "Syria", [Country.Mw]: "Malawi", [Country.Cl]: "Chile", [Country.Kz]: "Kazakhstan", [Country.Zm]: "Zambia", [Country.Ec]: "Ecuador", [Country.So]: "Somalia", [Country.Sn]: "Senegal", [Country.Gt]: "Guatemala", [Country.Td]: "Chad", [Country.Kh]: "Cambodia", [Country.Zw]: "Zimbabwe", [Country.Ss]: "South Sudan", [Country.Rw]: "Rwanda", [Country.Gn]: "Guinea", [Country.Bi]: "Burundi", [Country.Bj]: "Benin", [Country.Bo]: "Bolivia", [Country.Tn]: "Tunisia", [Country.Ht]: "Haiti", [Country.Jo]: "Jordan", [Country.Cu]: "Cuba", [Country.Do]: "Dominican Republic", [Country.Az]: "Azerbaijan", [Country.Il]: "Israel", [Country.Tj]: "Tajikistan", [Country.Hn]: "Honduras", [Country.Ae]: "United Arab Emirates", [Country.Sl]: "Sierra Leone", [Country.Tg]: "Togo", [Country.La]: "Laos", [Country.Kg]: "Kyrgyzstan", [Country.Tm]: "Turkmenistan", [Country.Ly]: "Libya", [Country.Sv]: "El Salvador", [Country.Ni]: "Nicaragua", [Country.Py]: "Paraguay", [Country.Cg]: "Congo", [Country.Sg]: "Singapore", [Country.Cf]: "Central African Republic", [Country.Lb]: "Lebanon", [Country.Ps]: "Palestine", [Country.Cr]: "Costa Rica", [Country.Lr]: "Liberia", [Country.Nz]: "New Zealand", [Country.Om]: "Oman", [Country.Kw]: "Kuwait", [Country.Mr]: "Mauritania", [Country.Pa]: "Panama", [Country.Er]: "Eritrea", [Country.Ge]: "Georgia", [Country.Uy]: "Uruguay", [Country.Mn]: "Mongolia", [Country.Am]: "Armenia", [Country.Jm]: "Jamaica", [Country.Qa]: "Qatar", [Country.Na]: "Namibia", [Country.Gm]: "Gambia", [Country.Bw]: "Botswana", [Country.Ls]: "Lesotho", [Country.Ga]: "Gabon", [Country.Gw]: "Guinea-Bissau", [Country.Xk]: "Kosovo", [Country.Bh]: "Bahrain", [Country.Gq]: "Equatorial Guinea", [Country.Tt]: "Trinidad and Tobago", [Country.Tl]: "East Timor", [Country.Mu]: "Mauritius", [Country.Sz]: "Eswatini", [Country.Dj]: "Djibouti", [Country.Fj]: "Fiji", [Country.Bt]: "Bhutan", [Country.Km]: "Comoros", [Country.Gy]: "Guyana", [Country.Sb]: "Solomon Islands", [Country.Sr]: "Suriname", [Country.Cv]: "Cape Verde", [Country.Bn]: "Brunei", [Country.Bz]: "Belize", [Country.Bs]: "Bahamas", [Country.Mv]: "Maldives", [Country.Vu]: "Vanuatu", [Country.Bb]: "Barbados", [Country.St]: "São Tomé and Príncipe", [Country.Ws]: "Samoa", [Country.Lc]: "Saint Lucia", [Country.Ki]: "Kiribati", [Country.Gd]: "Grenada", [Country.Vc]: "Saint Vincent and the Grenadines", [Country.Fm]: "Micronesia", [Country.Ag]: "Antigua and Barbuda", [Country.Sc]: "Seychelles", [Country.To]: "Tonga", [Country.Dm]: "Dominica", [Country.Kn]: "Saint Kitts and Nevis", [Country.Mh]: "Marshall Islands", [Country.Pw]: "Palau", [Country.Nr]: "Nauru", [Country.Tv]: "Tuvalu", [Country.Pg]: "Papua New Guinea", [Country.Zz]: "Undefined country", [Country.Eu]: "European Union", }; /** * ItemState enum */ export enum ItemState { /** Processing of the sample is not done - asynchronous request not finished. */ NotDone = "NotDone", /** Processing of the sample is done. */ Done = "Done", /** Error occurred while processing sample. */ Error = "Error", /** Sample was moved over to human operator for checking. */ Operator = "Operator", /** Human operator rejected given sample. */ Rejected = "Rejected", /** Archived */ Archived = "Archived", } /** Lookup table for ItemState descriptions */ export const ItemStateDescriptions: Record = { [ItemState.NotDone]: "Processing of the sample is not done - asynchronous request not finished.", [ItemState.Done]: "Processing of the sample is done.", [ItemState.Error]: "Error occurred while processing sample.", [ItemState.Operator]: "Sample was moved over to human operator for checking.", [ItemState.Rejected]: "Human operator rejected given sample.", [ItemState.Archived]: "Archived", }; /** * FieldID enum */ export enum FieldID { /** Address 1 */ A1 = "A1", /** Address 2 */ A2 = "A2", /** Address 3 */ A3 = "A3", /** First name */ FirstName = "FirstName", /** Last Name */ LastName = "LastName", /** Photo */ Photo = "Photo", /** Birth date */ BirthDate = "BirthDate", /** Birth number */ BirthNumber = "BirthNumber", /** Authority */ Authority = "Authority", Mrz1 = "Mrz1", Mrz2 = "Mrz2", Mrz3 = "Mrz3", /** IdcardNumber */ IdcardNumber = "IdcardNumber", /** Sex */ Sex = "Sex", /** Marital status */ MaritalStatus = "MaritalStatus", /** Birth address */ BirthAddress = "BirthAddress", /** Birth address 1 */ BA1 = "BA1", /** Birth address 2 */ BA2 = "BA2", /** Issue date */ IssueDate = "IssueDate", /** Expiry date */ ExpiryDate = "ExpiryDate", /** Passport number */ PassportNumber = "PassportNumber", /** Driving license number */ DrivinglicenseNumber = "DrivinglicenseNumber", /** Barcode */ Barcode = "Barcode", /** Birth surname */ BirthLastName = "BirthLastName", /** Special remarks 1 */ SpecialRemarks = "SpecialRemarks", /** Height */ Height = "Height", /** Eyes color */ EyesColor = "EyesColor", /** Titles */ Titles = "Titles", /** Authority 1 */ Authority1 = "Authority1", /** Authority 2 */ Authority2 = "Authority2", /** Last Name 1 */ LastName1 = "LastName1", /** Last Name 2/Titles after */ LastName2TitlesAfter = "LastName2TitlesAfter", /** Driver codes */ DrvCodes = "DrvCodes", /** Signature */ Signature = "Signature", /** Other Info */ OtherInfo = "OtherInfo", /** MiniHologram */ MiniHologram = "MiniHologram", /** MiniPhoto */ MiniPhoto = "MiniPhoto", /** Car Number */ CarNumber = "CarNumber", /** License Types */ LicenseTypes = "LicenseTypes", /** Parents' Given Names */ FirstNameOfParents = "FirstNameOfParents", /** Birth date + birth number suffix */ BirthDateNumber = "BirthDateNumber", /** Driving license number - line 2 */ DrivinglicenseNumber2 = "DrivinglicenseNumber2", /** Access number for RFID chip */ RDIFChipAccess = "RDIFChipAccess", /** Religious name or pseudonym */ Pseudonym = "Pseudonym", /** Residency permit description */ ResidencyPermitDescription = "ResidencyPermitDescription", /** Residency permit code */ ResidencyPermitCode = "ResidencyPermitCode", /** Residency permit Number */ ResidencyNumber = "ResidencyNumber", /** Issue place and date */ AuthorityAndIssueDate = "AuthorityAndIssueDate", /** Nationality */ Nationality = "Nationality", /** Gun license number */ GunlicenseNumber = "GunlicenseNumber", /** Stamp */ Stamp = "Stamp", /** Stamp 2 */ Stamp2 = "Stamp2", /** Surname and first name(s) */ SurnameAndName1 = "SurnameAndName1", SurnameAndName2 = "SurnameAndName2", SurnameAndName3 = "SurnameAndName3", /** Mother's surname and first name(s) */ MothersSurnameAndName = "MothersSurnameAndName", /** Temporary address, first row */ TemporaryAddress1 = "TemporaryAddress1", /** Temporary address, second row */ TemporaryAddress2 = "TemporaryAddress2", /** Permanent address starting date */ AddressStartingDate = "AddressStartingDate", /** Temporary address starting date */ TemporaryAddressStartingDate = "TemporaryAddressStartingDate", /** Temporary address ending date */ TemporaryAddressEndingDate = "TemporaryAddressEndingDate", /** Name in national language */ NameInNationalLanguage = "NameInNationalLanguage", /** Birth date + birth address */ BirthDateAndAddress = "BirthDateAndAddress", /** Special remarks 2 */ SpecialRemarks2 = "SpecialRemarks2", /** Special remarks 3 */ SpecialRemarks3 = "SpecialRemarks3", Unknown = "Unknown", /** Health insurance (card) number */ HealthInsuranceCardNumber = "HealthInsuranceCardNumber", /** Insurance company code */ InsuranceCompanyCode = "InsuranceCompanyCode", /** IssuingCountry */ IssuingCountry = "IssuingCountry", /** Residency permit Number on photo */ ResidencyNumberPhoto = "ResidencyNumberPhoto", /** Issue date and authority */ IssueDateAndAuthority = "IssueDateAndAuthority", /** Postnominal titles */ TitlesAfter = "TitlesAfter", /** Place of issue */ PlaceOfIssue = "PlaceOfIssue", /** Birth address + birth date */ BirthAddressAndDate = "BirthAddressAndDate", /** Issue date + Place of issue */ IssueDateAndPlaceOfIssue = "IssueDateAndPlaceOfIssue", /** Mother's surname */ MothersSurname = "MothersSurname", /** Mother's name */ MothersName = "MothersName", /** Father's surname */ FathersSurname = "FathersSurname", /** Father's name */ FathersName = "FathersName", /** Last name 2 */ LastName2 = "LastName2", /** Address 4 */ A4 = "A4", /** First name 2 */ FirstName2 = "FirstName2", /** Validity Dates */ IssueAndExpiryDate = "IssueAndExpiryDate", /** Fiscal number */ FiscalNumber = "FiscalNumber", /** Social number */ SocialNumber = "SocialNumber", /** Alternative/Historic version of name */ AlternativeName = "AlternativeName", /** Visa number */ VisaNumber = "VisaNumber", /** Duration */ Duration = "Duration", /** Visa Type */ VisaType = "VisaType", /** Count */ Count = "Count", /** Names of parents */ NamesOfParents = "NamesOfParents", /** Names of parents 2 */ NamesOfParents2 = "NamesOfParents2", /** Health insurance number */ HealthInsuranceNumber = "HealthInsuranceNumber", /** Father's Birth Date */ FathersBirthDate = "FathersBirthDate", /** Mother's Birth Date */ MothersBirthDate = "MothersBirthDate", /** Birth Certificate number part 1 */ BirthCertificateNumber1 = "BirthCertificateNumber1", /** Birth Certificate number part 2 */ BirthCertificateNumber2 = "BirthCertificateNumber2", /** Birth Certificate number part 3 */ BirthCertificateNumber3 = "BirthCertificateNumber3", /** Birth Certificate number part 4 */ BirthCertificateNumber4 = "BirthCertificateNumber4", /** Father's Birth number */ FathersBirthNumber = "FathersBirthNumber", /** Mother's Birth number */ MothersBirthNumber = "MothersBirthNumber", /** Father's todays/birth surnames */ FathersSurnameBirthSurname = "FathersSurnameBirthSurname", /** Mother's todays/birth surnames */ MothersSurnameBirthSurname = "MothersSurnameBirthSurname", /** Authority 3 */ Authority3 = "Authority3", /** Sex 2 */ Sex2 = "Sex2", /** Change of data indicated (eDoklady) */ ChangeOfData = "ChangeOfData", /** Age over 15 (eDoklady) */ AgeOver15 = "AgeOver15", /** Age over 18 (eDoklady) */ AgeOver18 = "AgeOver18", /** Age over 21 (eDoklady) */ AgeOver21 = "AgeOver21", /** Age over 60 (eDoklady) */ AgeOver60 = "AgeOver60", /** Age over 65 (eDoklady) */ AgeOver65 = "AgeOver65", /** Special remarks 1 */ SpecialRemarks1 = "SpecialRemarks1", /** Address - Locality (eDoklady) */ Locality = "Locality", /** Address - Level2 (eDoklady) */ Level2 = "Level2", /** Address - Street number (eDoklady) */ StreetNumber = "StreetNumber", /** Address - House number type (eDoklady) */ HouseNumberType = "HouseNumberType", /** Address - House number (eDoklady) */ HouseNumber = "HouseNumber", /** Address - Street (eDoklady) */ Street = "Street", /** Address - Sublocality (eDoklady) */ Sublocality = "Sublocality", /** Licence Plate On Car */ LicensePlate = "LicensePlate", /** Civil registry identity */ CivilRegistryIdentity = "CivilRegistryIdentity", } /** Lookup table for FieldID descriptions */ export const FieldIDDescriptions: Record = { [FieldID.A1]: "Address 1", [FieldID.A2]: "Address 2", [FieldID.A3]: "Address 3", [FieldID.FirstName]: "First name", [FieldID.LastName]: "Last Name", [FieldID.Photo]: "Photo", [FieldID.BirthDate]: "Birth date", [FieldID.BirthNumber]: "Birth number", [FieldID.Authority]: "Authority", [FieldID.Mrz1]: "Mrz1", [FieldID.Mrz2]: "Mrz2", [FieldID.Mrz3]: "Mrz3", [FieldID.IdcardNumber]: "IdcardNumber", [FieldID.Sex]: "Sex", [FieldID.MaritalStatus]: "Marital status", [FieldID.BirthAddress]: "Birth address", [FieldID.BA1]: "Birth address 1", [FieldID.BA2]: "Birth address 2", [FieldID.IssueDate]: "Issue date", [FieldID.ExpiryDate]: "Expiry date", [FieldID.PassportNumber]: "Passport number", [FieldID.DrivinglicenseNumber]: "Driving license number", [FieldID.Barcode]: "Barcode", [FieldID.BirthLastName]: "Birth surname", [FieldID.SpecialRemarks]: "Special remarks 1", [FieldID.Height]: "Height", [FieldID.EyesColor]: "Eyes color", [FieldID.Titles]: "Titles", [FieldID.Authority1]: "Authority 1", [FieldID.Authority2]: "Authority 2", [FieldID.LastName1]: "Last Name 1", [FieldID.LastName2TitlesAfter]: "Last Name 2/Titles after", [FieldID.DrvCodes]: "Driver codes", [FieldID.Signature]: "Signature", [FieldID.OtherInfo]: "Other Info", [FieldID.MiniHologram]: "MiniHologram", [FieldID.MiniPhoto]: "MiniPhoto", [FieldID.CarNumber]: "Car Number", [FieldID.LicenseTypes]: "License Types", [FieldID.FirstNameOfParents]: "Parents' Given Names", [FieldID.BirthDateNumber]: "Birth date + birth number suffix", [FieldID.DrivinglicenseNumber2]: "Driving license number - line 2", [FieldID.RDIFChipAccess]: "Access number for RFID chip", [FieldID.Pseudonym]: "Religious name or pseudonym", [FieldID.ResidencyPermitDescription]: "Residency permit description", [FieldID.ResidencyPermitCode]: "Residency permit code", [FieldID.ResidencyNumber]: "Residency permit Number", [FieldID.AuthorityAndIssueDate]: "Issue place and date", [FieldID.Nationality]: "Nationality", [FieldID.GunlicenseNumber]: "Gun license number", [FieldID.Stamp]: "Stamp", [FieldID.Stamp2]: "Stamp 2", [FieldID.SurnameAndName1]: "Surname and first name(s)", [FieldID.SurnameAndName2]: "SurnameAndName2", [FieldID.SurnameAndName3]: "SurnameAndName3", [FieldID.MothersSurnameAndName]: "Mother's surname and first name(s)", [FieldID.TemporaryAddress1]: "Temporary address, first row", [FieldID.TemporaryAddress2]: "Temporary address, second row", [FieldID.AddressStartingDate]: "Permanent address starting date", [FieldID.TemporaryAddressStartingDate]: "Temporary address starting date", [FieldID.TemporaryAddressEndingDate]: "Temporary address ending date", [FieldID.NameInNationalLanguage]: "Name in national language", [FieldID.BirthDateAndAddress]: "Birth date + birth address", [FieldID.SpecialRemarks2]: "Special remarks 2", [FieldID.SpecialRemarks3]: "Special remarks 3", [FieldID.Unknown]: "Unknown", [FieldID.HealthInsuranceCardNumber]: "Health insurance (card) number", [FieldID.InsuranceCompanyCode]: "Insurance company code", [FieldID.IssuingCountry]: "IssuingCountry", [FieldID.ResidencyNumberPhoto]: "Residency permit Number on photo", [FieldID.IssueDateAndAuthority]: "Issue date and authority", [FieldID.TitlesAfter]: "Postnominal titles", [FieldID.PlaceOfIssue]: "Place of issue", [FieldID.BirthAddressAndDate]: "Birth address + birth date", [FieldID.IssueDateAndPlaceOfIssue]: "Issue date + Place of issue", [FieldID.MothersSurname]: "Mother's surname", [FieldID.MothersName]: "Mother's name", [FieldID.FathersSurname]: "Father's surname", [FieldID.FathersName]: "Father's name", [FieldID.LastName2]: "Last name 2", [FieldID.A4]: "Address 4", [FieldID.FirstName2]: "First name 2", [FieldID.IssueAndExpiryDate]: "Validity Dates", [FieldID.FiscalNumber]: "Fiscal number", [FieldID.SocialNumber]: "Social number", [FieldID.AlternativeName]: "Alternative/Historic version of name", [FieldID.VisaNumber]: "Visa number", [FieldID.Duration]: "Duration", [FieldID.VisaType]: "Visa Type", [FieldID.Count]: "Count", [FieldID.NamesOfParents]: "Names of parents", [FieldID.NamesOfParents2]: "Names of parents 2", [FieldID.HealthInsuranceNumber]: "Health insurance number", [FieldID.FathersBirthDate]: "Father's Birth Date", [FieldID.MothersBirthDate]: "Mother's Birth Date", [FieldID.BirthCertificateNumber1]: "Birth Certificate number part 1", [FieldID.BirthCertificateNumber2]: "Birth Certificate number part 2", [FieldID.BirthCertificateNumber3]: "Birth Certificate number part 3", [FieldID.BirthCertificateNumber4]: "Birth Certificate number part 4", [FieldID.FathersBirthNumber]: "Father's Birth number", [FieldID.MothersBirthNumber]: "Mother's Birth number", [FieldID.FathersSurnameBirthSurname]: "Father's todays/birth surnames", [FieldID.MothersSurnameBirthSurname]: "Mother's todays/birth surnames", [FieldID.Authority3]: "Authority 3", [FieldID.Sex2]: "Sex 2", [FieldID.ChangeOfData]: "Change of data indicated (eDoklady)", [FieldID.AgeOver15]: "Age over 15 (eDoklady)", [FieldID.AgeOver18]: "Age over 18 (eDoklady)", [FieldID.AgeOver21]: "Age over 21 (eDoklady)", [FieldID.AgeOver60]: "Age over 60 (eDoklady)", [FieldID.AgeOver65]: "Age over 65 (eDoklady)", [FieldID.SpecialRemarks1]: "Special remarks 1", [FieldID.Locality]: "Address - Locality (eDoklady)", [FieldID.Level2]: "Address - Level2 (eDoklady)", [FieldID.StreetNumber]: "Address - Street number (eDoklady)", [FieldID.HouseNumberType]: "Address - House number type (eDoklady)", [FieldID.HouseNumber]: "Address - House number (eDoklady)", [FieldID.Street]: "Address - Street (eDoklady)", [FieldID.Sublocality]: "Address - Sublocality (eDoklady)", [FieldID.LicensePlate]: "Licence Plate On Car", [FieldID.CivilRegistryIdentity]: "Civil registry identity", }; /** * SdkSignatureProblem enum */ export enum SdkSignatureProblem { HashDiffers = "HashDiffers", TimeDiffers = "TimeDiffers", HostnameNotAllowed = "HostnameNotAllowed", AndroidPackageNotAllowed = "AndroidPackageNotAllowed", IosBundleNotAllowed = "IosBundleNotAllowed", OfflineTokenUsed = "OfflineTokenUsed", } /** * SupportedLanguages enum */ export enum SupportedLanguages { English = "English", Czech = "Czech", Polish = "Polish", German = "German", Croatian = "Croatian", Slovak = "Slovak", Dutch = "Dutch", } /** * CommonVerifierFeedback enum */ export enum CommonVerifierFeedback { /** Show a document (if document and page are known, the specific page is mentioned in the text) */ DocumentNoMatchFound = "DocumentNoMatchFound", /** Align card */ DocumentAlignCard = "DocumentAlignCard", /** Hold Steady */ DocumentHoldSteady = "DocumentHoldSteady", /** Too blurry */ DocumentBlurry = "DocumentBlurry", /** Reflections on text */ DocumentReflectionPresent = "DocumentReflectionPresent", DocumentHologram = "DocumentHologram", /** Too Dark */ DocumentDark = "DocumentDark", /** Barcode not readable */ DocumentBarcode = "DocumentBarcode", /** Reading text */ DocumentTextNotReadable = "DocumentTextNotReadable", /** Trying to read NFC data */ DocumentNfc = "DocumentNfc", /** Align Card in Center */ DocumentCenter = "DocumentCenter", /** Tilt left and right */ DocumentTiltLeftAndRight = "DocumentTiltLeftAndRight", /** Tilt up and down */ DocumentTiltUpAndDown = "DocumentTiltUpAndDown", /** Timed out */ DocumentTimedOut = "DocumentTimedOut", /** Slowly align card with outline by tilting left */ DocumentTiltLeft = "DocumentTiltLeft", /** Slowly align card with outline by tilting right */ DocumentTiltRight = "DocumentTiltRight", /** Slowly align card with outline by tilting up */ DocumentTiltUp = "DocumentTiltUp", /** Slowly align card with outline by tilting down */ DocumentTiltDown = "DocumentTiltDown", /** Look at the camera */ SelfieNoFaceFound = "SelfieNoFaceFound", /** Too blurry */ SelfieBlurry = "SelfieBlurry", /** Too dark */ SelfieDark = "SelfieDark", /** Center your face */ SelfieDecentred = "SelfieDecentred", /** Hold still */ SelfieConfirmingFace = "SelfieConfirmingFace", /** Look straight into the camera */ SelfieBadFaceAngle = "SelfieBadFaceAngle", /** Align Card in Center */ HologramCenter = "HologramCenter", /** Tilt left and right */ HologramTiltLeftAndRight = "HologramTiltLeftAndRight", /** Tilt up and down */ HologramTiltUpAndDown = "HologramTiltUpAndDown", /** Timed out */ HologramTimedOut = "HologramTimedOut", /** Slowly align card with outline by tilting left */ HologramTiltLeft = "HologramTiltLeft", /** Slowly align card with outline by tilting right */ HologramTiltRight = "HologramTiltRight", /** Slowly align card with outline by tilting up */ HologramTiltUp = "HologramTiltUp", /** Slowly align card with outline by tilting down */ HologramTiltDown = "HologramTiltDown", /** Hologram is not supported for this document */ HologramNotSupported = "HologramNotSupported", /** Look in the camera */ FaceLivenessLookAtMe = "FaceLivenessLookAtMe", /** Turn your head (direction depends on AngleCheckDirection: Left='Turn your head slowly to the left', Right='Turn your head slowly to the right', Up='Turn your head up slowly', Down='Turn your head down slowly') */ FaceLivenessTurnHead = "FaceLivenessTurnHead", /** Smile wide */ FaceLivenessSmile = "FaceLivenessSmile", /** Too blurry */ FaceLivenessBlurry = "FaceLivenessBlurry", /** Not enough light */ FaceLivenessDark = "FaceLivenessDark", /** Hold still, we're taking a picture */ FaceLivenessHoldStill = "FaceLivenessHoldStill", /** Face is not verified. Please try again. Tips: Move to better light conditions, Minimize sudden movements */ FaceLivenessResetting = "FaceLivenessResetting", /** Stop smiling */ FaceLivenessDontSmile = "FaceLivenessDontSmile", /** No license plate detected */ LicensePlateNotFound = "LicensePlateNotFound", /** Trying to read text on the license plate */ LicensePlateTryingToRead = "LicensePlateTryingToRead", MsLivenessNotDone = "MsLivenessNotDone", Ok = "Ok", } /** Lookup table for CommonVerifierFeedback descriptions */ export const CommonVerifierFeedbackDescriptions: Record = { [CommonVerifierFeedback.DocumentNoMatchFound]: "Show a document (if document and page are known, the specific page is mentioned in the text)", [CommonVerifierFeedback.DocumentAlignCard]: "Align card", [CommonVerifierFeedback.DocumentHoldSteady]: "Hold Steady", [CommonVerifierFeedback.DocumentBlurry]: "Too blurry", [CommonVerifierFeedback.DocumentReflectionPresent]: "Reflections on text", [CommonVerifierFeedback.DocumentHologram]: "DocumentHologram", [CommonVerifierFeedback.DocumentDark]: "Too Dark", [CommonVerifierFeedback.DocumentBarcode]: "Barcode not readable", [CommonVerifierFeedback.DocumentTextNotReadable]: "Reading text", [CommonVerifierFeedback.DocumentNfc]: "Trying to read NFC data", [CommonVerifierFeedback.DocumentCenter]: "Align Card in Center", [CommonVerifierFeedback.DocumentTiltLeftAndRight]: "Tilt left and right", [CommonVerifierFeedback.DocumentTiltUpAndDown]: "Tilt up and down", [CommonVerifierFeedback.DocumentTimedOut]: "Timed out", [CommonVerifierFeedback.DocumentTiltLeft]: "Slowly align card with outline by tilting left", [CommonVerifierFeedback.DocumentTiltRight]: "Slowly align card with outline by tilting right", [CommonVerifierFeedback.DocumentTiltUp]: "Slowly align card with outline by tilting up", [CommonVerifierFeedback.DocumentTiltDown]: "Slowly align card with outline by tilting down", [CommonVerifierFeedback.SelfieNoFaceFound]: "Look at the camera", [CommonVerifierFeedback.SelfieBlurry]: "Too blurry", [CommonVerifierFeedback.SelfieDark]: "Too dark", [CommonVerifierFeedback.SelfieDecentred]: "Center your face", [CommonVerifierFeedback.SelfieConfirmingFace]: "Hold still", [CommonVerifierFeedback.SelfieBadFaceAngle]: "Look straight into the camera", [CommonVerifierFeedback.HologramCenter]: "Align Card in Center", [CommonVerifierFeedback.HologramTiltLeftAndRight]: "Tilt left and right", [CommonVerifierFeedback.HologramTiltUpAndDown]: "Tilt up and down", [CommonVerifierFeedback.HologramTimedOut]: "Timed out", [CommonVerifierFeedback.HologramTiltLeft]: "Slowly align card with outline by tilting left", [CommonVerifierFeedback.HologramTiltRight]: "Slowly align card with outline by tilting right", [CommonVerifierFeedback.HologramTiltUp]: "Slowly align card with outline by tilting up", [CommonVerifierFeedback.HologramTiltDown]: "Slowly align card with outline by tilting down", [CommonVerifierFeedback.HologramNotSupported]: "Hologram is not supported for this document", [CommonVerifierFeedback.FaceLivenessLookAtMe]: "Look in the camera", [CommonVerifierFeedback.FaceLivenessTurnHead]: "Turn your head (direction depends on AngleCheckDirection: Left='Turn your head slowly to the left', Right='Turn your head slowly to the right', Up='Turn your head up slowly', Down='Turn your head down slowly')", [CommonVerifierFeedback.FaceLivenessSmile]: "Smile wide", [CommonVerifierFeedback.FaceLivenessBlurry]: "Too blurry", [CommonVerifierFeedback.FaceLivenessDark]: "Not enough light", [CommonVerifierFeedback.FaceLivenessHoldStill]: "Hold still, we're taking a picture", [CommonVerifierFeedback.FaceLivenessResetting]: "Face is not verified. Please try again. Tips: Move to better light conditions, Minimize sudden movements", [CommonVerifierFeedback.FaceLivenessDontSmile]: "Stop smiling", [CommonVerifierFeedback.LicensePlateNotFound]: "No license plate detected", [CommonVerifierFeedback.LicensePlateTryingToRead]: "Trying to read text on the license plate", [CommonVerifierFeedback.MsLivenessNotDone]: "MsLivenessNotDone", [CommonVerifierFeedback.Ok]: "Ok", }; /** * Image format for encoded binary data (auto-detected by cv::imdecode) */ export enum EncodedImageFormat { JPEG = "JPEG", PNG = "PNG", } /** * OriginalImageFormat enum */ export enum OriginalImageFormat { RGB = "RGB", BGR = "BGR", YUV = "YUV", YUV_NV21 = "YUV_NV21", BGRA = "BGRA", RGBA = "RGBA", } /** * SdkResponseType enum */ export enum SdkResponseType { Nfc = "Nfc", MsLiveness = "MsLiveness", Photo = "Photo", TorchOn = "TorchOn", TorchOff = "TorchOff", } /** * State machine status for verification process */ export enum VerifierState { InProgress = "InProgress", /** SDK requests external action (NFC read or MS liveness check) */ GiveMe = "GiveMe", Success = "Success", Failed = "Failed", } /** Lookup table for VerifierState descriptions */ export const VerifierStateDescriptions: Record = { [VerifierState.InProgress]: "InProgress", [VerifierState.GiveMe]: "SDK requests external action (NFC read or MS liveness check)", [VerifierState.Success]: "Success", [VerifierState.Failed]: "Failed", };