@trinsic/api 2.3.0-alpha2 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +65 -30
- package/dist/apis/ProvidersApi.d.ts +53 -0
- package/dist/apis/{AttachmentsApi.js → ProvidersApi.js} +16 -15
- package/dist/{esm/apis/EnvironmentRedirectUrisApi.d.ts → apis/RedirectUrisApi.d.ts} +24 -24
- package/dist/apis/{EnvironmentRedirectUrisApi.js → RedirectUrisApi.js} +14 -14
- package/dist/apis/SessionsApi.d.ts +63 -5
- package/dist/apis/SessionsApi.js +80 -2
- package/dist/apis/VerificationProfilesApi.d.ts +4 -2
- package/dist/apis/VerificationProfilesApi.js +5 -2
- package/dist/apis/index.d.ts +2 -4
- package/dist/apis/index.js +2 -4
- package/dist/esm/apis/ProvidersApi.d.ts +53 -0
- package/dist/esm/apis/{AttachmentsApi.js → ProvidersApi.js} +15 -14
- package/dist/{apis/EnvironmentRedirectUrisApi.d.ts → esm/apis/RedirectUrisApi.d.ts} +24 -24
- package/dist/esm/apis/{EnvironmentRedirectUrisApi.js → RedirectUrisApi.js} +13 -13
- package/dist/esm/apis/SessionsApi.d.ts +63 -5
- package/dist/esm/apis/SessionsApi.js +81 -3
- package/dist/esm/apis/VerificationProfilesApi.d.ts +4 -2
- package/dist/esm/apis/VerificationProfilesApi.js +5 -2
- package/dist/esm/apis/index.d.ts +2 -4
- package/dist/esm/apis/index.js +2 -4
- package/dist/esm/models/AddRedirectUriRequest.d.ts +32 -0
- package/dist/esm/models/{EnvironmentRedirectUrisAddRequest.js → AddRedirectUriRequest.js} +8 -8
- package/dist/esm/models/Address.d.ts +5 -2
- package/dist/esm/models/AppleWalletProviderOutput.d.ts +33 -0
- package/dist/esm/models/AppleWalletProviderOutput.js +44 -0
- package/dist/esm/models/AttachmentInfo.d.ts +62 -0
- package/dist/esm/models/AttachmentInfo.js +55 -0
- package/dist/esm/models/AttributeAvailability.d.ts +26 -0
- package/dist/esm/models/AttributeAvailability.js +44 -0
- package/dist/esm/models/AustriaHandySignaturProviderOutput.d.ts +38 -0
- package/dist/esm/models/AustriaHandySignaturProviderOutput.js +47 -0
- package/dist/esm/models/BelgiumIdCardProviderOutput.d.ts +57 -0
- package/dist/esm/models/BelgiumIdCardProviderOutput.js +55 -0
- package/dist/esm/models/ContractAttachment.d.ts +49 -0
- package/dist/esm/models/ContractAttachment.js +48 -0
- package/dist/esm/models/ContractAttribute.d.ts +39 -0
- package/dist/esm/models/ContractAttribute.js +48 -0
- package/dist/esm/models/CoteDIvoireNidLookup2Input.d.ts +32 -0
- package/dist/esm/models/CoteDIvoireNidLookup2Input.js +41 -0
- package/dist/esm/models/CzechiaMojeIdProviderOutput.d.ts +52 -0
- package/dist/esm/models/CzechiaMojeIdProviderOutput.js +55 -0
- package/dist/esm/models/DocumentData.d.ts +13 -5
- package/dist/esm/models/DocumentData.js +2 -0
- package/dist/esm/models/EstoniaIdCardProviderOutput.d.ts +64 -0
- package/dist/esm/models/EstoniaIdCardProviderOutput.js +55 -0
- package/dist/esm/models/FaydaProviderOutput.d.ts +1 -1
- package/dist/esm/models/FinlandIdCardProviderOutput.d.ts +63 -0
- package/dist/esm/models/FinlandIdCardProviderOutput.js +55 -0
- package/dist/esm/models/FrejaProviderOutput.d.ts +53 -0
- package/dist/esm/models/FrejaProviderOutput.js +55 -0
- package/dist/esm/models/FrenchNumeriqueGivenName.d.ts +45 -0
- package/dist/esm/models/FrenchNumeriqueGivenName.js +45 -0
- package/dist/esm/models/FrenchNumeriqueNationality.d.ts +38 -0
- package/dist/esm/models/FrenchNumeriqueNationality.js +43 -0
- package/dist/esm/models/FrenchNumeriquePhone.d.ts +44 -0
- package/dist/esm/models/FrenchNumeriquePhone.js +45 -0
- package/dist/esm/models/FrenchNumeriqueProviderOutput.d.ts +205 -0
- package/dist/esm/models/FrenchNumeriqueProviderOutput.js +92 -0
- package/dist/esm/models/GetAttachmentRequest.d.ts +4 -8
- package/dist/esm/models/GetAttachmentRequest.js +3 -7
- package/dist/esm/models/GoogleWalletProviderOutput.d.ts +33 -0
- package/dist/esm/models/GoogleWalletProviderOutput.js +44 -0
- package/dist/esm/models/IdentityData.d.ts +15 -13
- package/dist/esm/models/IdentityData.js +4 -7
- package/dist/esm/models/ItsmeProviderOutput.d.ts +69 -0
- package/dist/esm/models/ItsmeProviderOutput.js +55 -0
- package/dist/esm/models/KenyaNidLookup2Address.d.ts +90 -0
- package/dist/esm/models/KenyaNidLookup2Address.js +49 -0
- package/dist/esm/models/KenyaNidLookup2ProviderOutput.d.ts +114 -0
- package/dist/esm/models/KenyaNidLookup2ProviderOutput.js +74 -0
- package/dist/esm/models/KenyaNidMatch2Input.d.ts +3 -3
- package/dist/esm/models/KenyaNidMatch2Input.js +3 -3
- package/dist/esm/models/KenyaNidMatch2InputSex.d.ts +25 -0
- package/dist/esm/models/KenyaNidMatch2InputSex.js +43 -0
- package/dist/esm/models/LaWalletProviderOutput.d.ts +148 -0
- package/dist/esm/models/LaWalletProviderOutput.js +109 -0
- package/dist/esm/models/LatviaEparakstsMobileProviderOutput.d.ts +60 -0
- package/dist/esm/models/LatviaEparakstsMobileProviderOutput.js +51 -0
- package/dist/esm/models/LatviaEparakstsProviderOutput.d.ts +60 -0
- package/dist/esm/models/LatviaEparakstsProviderOutput.js +51 -0
- package/dist/esm/models/ListProvidersResponse.d.ts +4 -4
- package/dist/esm/models/ListProvidersResponse.js +3 -3
- package/dist/esm/models/ListRedirectUrisResponse.d.ts +39 -0
- package/dist/esm/models/{ListEnvironmentRedirectUrisResponse.js → ListRedirectUrisResponse.js} +8 -8
- package/dist/esm/models/LithuaniaIdCardProviderOutput.d.ts +68 -0
- package/dist/esm/models/LithuaniaIdCardProviderOutput.js +55 -0
- package/dist/esm/models/LloydsSmartIdProviderOutput.d.ts +112 -0
- package/dist/esm/models/LloydsSmartIdProviderOutput.js +65 -0
- package/dist/esm/models/Match.d.ts +8 -0
- package/dist/esm/models/MatchData.d.ts +26 -3
- package/dist/esm/models/MatchData.js +2 -0
- package/dist/esm/models/MdlOutput.d.ts +60 -0
- package/dist/esm/models/MdlOutput.js +56 -0
- package/dist/esm/models/MdlOutputCertificateData.d.ts +60 -0
- package/dist/esm/models/{MdlCertificateData.js → MdlOutputCertificateData.js} +8 -8
- package/dist/esm/models/MdlOutputFieldData.d.ts +39 -0
- package/dist/esm/models/{ExternalMdlFieldData.js → MdlOutputFieldData.js} +11 -11
- package/dist/esm/models/MdlOutputFieldDataType.d.ts +29 -0
- package/dist/esm/models/MdlOutputFieldDataType.js +47 -0
- package/dist/esm/models/MexicoCurpProviderOutput.d.ts +1 -1
- package/dist/esm/models/MitIdProviderOutput.d.ts +137 -0
- package/dist/esm/models/MitIdProviderOutput.js +61 -0
- package/dist/esm/models/MobileIdInput.d.ts +3 -3
- package/dist/esm/models/MobileIdInput.js +3 -3
- package/dist/esm/models/MobileIdLanguage.d.ts +27 -0
- package/dist/esm/models/{Language.js → MobileIdLanguage.js} +10 -10
- package/dist/esm/models/MobileIdProviderOutput.d.ts +118 -0
- package/dist/esm/models/MobileIdProviderOutput.js +57 -0
- package/dist/esm/models/NigeriaNinBiometric2Input.d.ts +47 -0
- package/dist/esm/models/NigeriaNinBiometric2Input.js +45 -0
- package/dist/esm/models/NigeriaNinLookup2Input.d.ts +32 -0
- package/dist/esm/models/NigeriaNinLookup2Input.js +41 -0
- package/dist/esm/models/NigeriaNinMatch2Input.d.ts +70 -0
- package/dist/esm/models/NigeriaNinMatch2Input.js +54 -0
- package/dist/esm/models/NigeriaNinMatch2InputSex.d.ts +25 -0
- package/dist/esm/models/NigeriaNinMatch2InputSex.js +43 -0
- package/dist/esm/models/PersonData.d.ts +8 -6
- package/dist/esm/models/PeruDniAddress.d.ts +53 -0
- package/dist/esm/models/PeruDniAddress.js +51 -0
- package/dist/esm/models/PeruDniLookupInput.d.ts +37 -0
- package/dist/esm/models/PeruDniLookupInput.js +41 -0
- package/dist/esm/models/PeruDniProviderOutput.d.ts +213 -0
- package/dist/esm/models/PeruDniProviderOutput.js +88 -0
- package/dist/esm/models/PhilippinesDigitalNidProviderOutput.d.ts +3 -2
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +3 -2
- package/dist/esm/models/PolandEdoAppProviderOutput.d.ts +62 -0
- package/dist/esm/models/PolandEdoAppProviderOutput.js +55 -0
- package/dist/esm/models/PolandMojeIdProviderOutput.d.ts +56 -0
- package/dist/esm/models/PolandMojeIdProviderOutput.js +51 -0
- package/dist/esm/models/PortugalIdCardProviderOutput.d.ts +50 -0
- package/dist/esm/models/PortugalIdCardProviderOutput.js +55 -0
- package/dist/esm/models/PostOfficeEasyIdProviderOutput.d.ts +112 -0
- package/dist/esm/models/PostOfficeEasyIdProviderOutput.js +65 -0
- package/dist/esm/models/{ProviderContract.d.ts → Provider.d.ts} +71 -68
- package/dist/esm/models/{ProviderContract.js → Provider.js} +37 -30
- package/dist/esm/models/ProviderInput.d.ts +90 -28
- package/dist/esm/models/ProviderInput.js +83 -57
- package/dist/esm/models/ProviderOutput.d.ts +207 -11
- package/dist/esm/models/ProviderOutput.js +90 -6
- package/dist/esm/models/RecommendProviderHealthOption.d.ts +26 -0
- package/dist/esm/models/RecommendProviderHealthOption.js +44 -0
- package/dist/esm/models/RecommendProviderInformation.d.ts +85 -0
- package/dist/esm/models/{ProviderInfo.js → RecommendProviderInformation.js} +17 -17
- package/dist/esm/models/RecommendProvidersRequest.d.ts +46 -0
- package/dist/esm/models/{RecommendRequest.js → RecommendProvidersRequest.js} +11 -10
- package/dist/esm/models/RecommendProvidersResponse.d.ts +33 -0
- package/dist/esm/models/RecommendProvidersResponse.js +44 -0
- package/dist/esm/models/SamsungWalletProviderOutput.d.ts +33 -0
- package/dist/esm/models/SamsungWalletProviderOutput.js +44 -0
- package/dist/esm/models/SerbiaIdCardProviderOutput.d.ts +63 -0
- package/dist/esm/models/SerbiaIdCardProviderOutput.js +55 -0
- package/dist/esm/models/SmartIdInput.d.ts +0 -7
- package/dist/esm/models/SmartIdInput.js +0 -2
- package/dist/esm/models/SmartIdProviderOutput.d.ts +175 -0
- package/dist/esm/models/SmartIdProviderOutput.js +65 -0
- package/dist/esm/models/SouthAfricaNidBiometric2Input.d.ts +47 -0
- package/dist/esm/models/SouthAfricaNidBiometric2Input.js +45 -0
- package/dist/esm/models/SouthAfricaNidMatch2Input.d.ts +70 -0
- package/dist/esm/models/SouthAfricaNidMatch2Input.js +54 -0
- package/dist/esm/models/SouthAfricaNidMatch2InputSex.d.ts +25 -0
- package/dist/esm/models/SouthAfricaNidMatch2InputSex.js +43 -0
- package/dist/esm/models/SpidProviderOutput.d.ts +84 -16
- package/dist/esm/models/SpidProviderOutput.js +22 -2
- package/dist/esm/models/SubProviderMetadata.d.ts +0 -9
- package/dist/esm/models/SubProviderMetadata.js +0 -4
- package/dist/esm/models/SwedenBankIdProviderOutput.d.ts +110 -0
- package/dist/esm/models/SwedenBankIdProviderOutput.js +65 -0
- package/dist/esm/models/UgandaNidMatch2Input.d.ts +45 -0
- package/dist/esm/models/UgandaNidMatch2Input.js +45 -0
- package/dist/esm/models/VerificationProfileResponse.d.ts +6 -0
- package/dist/esm/models/VerificationProfileResponse.js +4 -0
- package/dist/esm/models/YotiDocumentDetails.d.ts +62 -0
- package/dist/esm/models/YotiDocumentDetails.js +49 -0
- package/dist/esm/models/YotiProviderOutput.d.ts +112 -0
- package/dist/esm/models/YotiProviderOutput.js +65 -0
- package/dist/esm/models/YotiStructuredPostalAddress.d.ts +152 -0
- package/dist/esm/models/YotiStructuredPostalAddress.js +79 -0
- package/dist/esm/models/ZimbabweNidLookup2Input.d.ts +32 -0
- package/dist/esm/models/ZimbabweNidLookup2Input.js +41 -0
- package/dist/esm/models/index.d.ts +63 -26
- package/dist/esm/models/index.js +63 -26
- package/dist/models/AddRedirectUriRequest.d.ts +32 -0
- package/dist/models/AddRedirectUriRequest.js +50 -0
- package/dist/models/Address.d.ts +5 -2
- package/dist/models/AppleWalletProviderOutput.d.ts +33 -0
- package/dist/models/AppleWalletProviderOutput.js +51 -0
- package/dist/models/AttachmentInfo.d.ts +62 -0
- package/dist/models/AttachmentInfo.js +62 -0
- package/dist/models/AttributeAvailability.d.ts +26 -0
- package/dist/models/AttributeAvailability.js +52 -0
- package/dist/models/AustriaHandySignaturProviderOutput.d.ts +38 -0
- package/dist/models/AustriaHandySignaturProviderOutput.js +54 -0
- package/dist/models/BelgiumIdCardProviderOutput.d.ts +57 -0
- package/dist/models/BelgiumIdCardProviderOutput.js +62 -0
- package/dist/models/ContractAttachment.d.ts +49 -0
- package/dist/models/ContractAttachment.js +55 -0
- package/dist/models/ContractAttribute.d.ts +39 -0
- package/dist/models/ContractAttribute.js +55 -0
- package/dist/models/CoteDIvoireNidLookup2Input.d.ts +32 -0
- package/dist/models/CoteDIvoireNidLookup2Input.js +48 -0
- package/dist/models/CzechiaMojeIdProviderOutput.d.ts +52 -0
- package/dist/models/CzechiaMojeIdProviderOutput.js +62 -0
- package/dist/models/DocumentData.d.ts +13 -5
- package/dist/models/DocumentData.js +2 -0
- package/dist/models/EstoniaIdCardProviderOutput.d.ts +64 -0
- package/dist/models/EstoniaIdCardProviderOutput.js +62 -0
- package/dist/models/FaydaProviderOutput.d.ts +1 -1
- package/dist/models/FinlandIdCardProviderOutput.d.ts +63 -0
- package/dist/models/FinlandIdCardProviderOutput.js +62 -0
- package/dist/models/FrejaProviderOutput.d.ts +53 -0
- package/dist/models/FrejaProviderOutput.js +62 -0
- package/dist/models/FrenchNumeriqueGivenName.d.ts +45 -0
- package/dist/models/FrenchNumeriqueGivenName.js +52 -0
- package/dist/models/FrenchNumeriqueNationality.d.ts +38 -0
- package/dist/models/FrenchNumeriqueNationality.js +50 -0
- package/dist/models/FrenchNumeriquePhone.d.ts +44 -0
- package/dist/models/FrenchNumeriquePhone.js +52 -0
- package/dist/models/FrenchNumeriqueProviderOutput.d.ts +205 -0
- package/dist/models/FrenchNumeriqueProviderOutput.js +99 -0
- package/dist/models/GetAttachmentRequest.d.ts +4 -8
- package/dist/models/GetAttachmentRequest.js +3 -7
- package/dist/models/GoogleWalletProviderOutput.d.ts +33 -0
- package/dist/models/GoogleWalletProviderOutput.js +51 -0
- package/dist/models/IdentityData.d.ts +15 -13
- package/dist/models/IdentityData.js +4 -7
- package/dist/models/ItsmeProviderOutput.d.ts +69 -0
- package/dist/models/ItsmeProviderOutput.js +62 -0
- package/dist/models/KenyaNidLookup2Address.d.ts +90 -0
- package/dist/models/KenyaNidLookup2Address.js +56 -0
- package/dist/models/KenyaNidLookup2ProviderOutput.d.ts +114 -0
- package/dist/models/KenyaNidLookup2ProviderOutput.js +81 -0
- package/dist/models/KenyaNidMatch2Input.d.ts +3 -3
- package/dist/models/KenyaNidMatch2Input.js +3 -3
- package/dist/models/KenyaNidMatch2InputSex.d.ts +25 -0
- package/dist/models/KenyaNidMatch2InputSex.js +51 -0
- package/dist/models/LaWalletProviderOutput.d.ts +148 -0
- package/dist/models/LaWalletProviderOutput.js +116 -0
- package/dist/models/LatviaEparakstsMobileProviderOutput.d.ts +60 -0
- package/dist/models/LatviaEparakstsMobileProviderOutput.js +58 -0
- package/dist/models/LatviaEparakstsProviderOutput.d.ts +60 -0
- package/dist/models/LatviaEparakstsProviderOutput.js +58 -0
- package/dist/models/ListProvidersResponse.d.ts +4 -4
- package/dist/models/ListProvidersResponse.js +3 -3
- package/dist/models/ListRedirectUrisResponse.d.ts +39 -0
- package/dist/models/ListRedirectUrisResponse.js +55 -0
- package/dist/models/LithuaniaIdCardProviderOutput.d.ts +68 -0
- package/dist/models/LithuaniaIdCardProviderOutput.js +62 -0
- package/dist/models/LloydsSmartIdProviderOutput.d.ts +112 -0
- package/dist/models/LloydsSmartIdProviderOutput.js +72 -0
- package/dist/models/Match.d.ts +8 -0
- package/dist/models/MatchData.d.ts +26 -3
- package/dist/models/MatchData.js +2 -0
- package/dist/models/MdlOutput.d.ts +60 -0
- package/dist/models/MdlOutput.js +63 -0
- package/dist/models/MdlOutputCertificateData.d.ts +60 -0
- package/dist/models/{MdlCertificateData.js → MdlOutputCertificateData.js} +13 -13
- package/dist/models/MdlOutputFieldData.d.ts +39 -0
- package/dist/models/MdlOutputFieldData.js +55 -0
- package/dist/models/MdlOutputFieldDataType.d.ts +29 -0
- package/dist/models/MdlOutputFieldDataType.js +55 -0
- package/dist/models/MexicoCurpProviderOutput.d.ts +1 -1
- package/dist/models/MitIdProviderOutput.d.ts +137 -0
- package/dist/models/MitIdProviderOutput.js +68 -0
- package/dist/models/MobileIdInput.d.ts +3 -3
- package/dist/models/MobileIdInput.js +3 -3
- package/dist/models/MobileIdLanguage.d.ts +27 -0
- package/dist/models/MobileIdLanguage.js +53 -0
- package/dist/models/MobileIdProviderOutput.d.ts +118 -0
- package/dist/models/MobileIdProviderOutput.js +64 -0
- package/dist/models/NigeriaNinBiometric2Input.d.ts +47 -0
- package/dist/models/NigeriaNinBiometric2Input.js +52 -0
- package/dist/models/NigeriaNinLookup2Input.d.ts +32 -0
- package/dist/models/NigeriaNinLookup2Input.js +48 -0
- package/dist/models/NigeriaNinMatch2Input.d.ts +70 -0
- package/dist/models/NigeriaNinMatch2Input.js +61 -0
- package/dist/models/NigeriaNinMatch2InputSex.d.ts +25 -0
- package/dist/models/NigeriaNinMatch2InputSex.js +51 -0
- package/dist/models/PersonData.d.ts +8 -6
- package/dist/models/PeruDniAddress.d.ts +53 -0
- package/dist/models/PeruDniAddress.js +58 -0
- package/dist/models/PeruDniLookupInput.d.ts +37 -0
- package/dist/models/PeruDniLookupInput.js +48 -0
- package/dist/models/PeruDniProviderOutput.d.ts +213 -0
- package/dist/models/PeruDniProviderOutput.js +95 -0
- package/dist/models/PhilippinesDigitalNidProviderOutput.d.ts +3 -2
- package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +3 -2
- package/dist/models/PolandEdoAppProviderOutput.d.ts +62 -0
- package/dist/models/PolandEdoAppProviderOutput.js +62 -0
- package/dist/models/PolandMojeIdProviderOutput.d.ts +56 -0
- package/dist/models/PolandMojeIdProviderOutput.js +58 -0
- package/dist/models/PortugalIdCardProviderOutput.d.ts +50 -0
- package/dist/models/PortugalIdCardProviderOutput.js +62 -0
- package/dist/models/PostOfficeEasyIdProviderOutput.d.ts +112 -0
- package/dist/models/PostOfficeEasyIdProviderOutput.js +72 -0
- package/dist/models/{ProviderContract.d.ts → Provider.d.ts} +71 -68
- package/dist/models/{ProviderContract.js → Provider.js} +42 -35
- package/dist/models/ProviderInput.d.ts +90 -28
- package/dist/models/ProviderInput.js +83 -57
- package/dist/models/ProviderOutput.d.ts +207 -11
- package/dist/models/ProviderOutput.js +90 -6
- package/dist/models/RecommendProviderHealthOption.d.ts +26 -0
- package/dist/models/RecommendProviderHealthOption.js +52 -0
- package/dist/models/RecommendProviderInformation.d.ts +85 -0
- package/dist/models/{ProviderInfo.js → RecommendProviderInformation.js} +22 -22
- package/dist/models/RecommendProvidersRequest.d.ts +46 -0
- package/dist/models/RecommendProvidersRequest.js +56 -0
- package/dist/models/RecommendProvidersResponse.d.ts +33 -0
- package/dist/models/RecommendProvidersResponse.js +51 -0
- package/dist/models/SamsungWalletProviderOutput.d.ts +33 -0
- package/dist/models/SamsungWalletProviderOutput.js +51 -0
- package/dist/models/SerbiaIdCardProviderOutput.d.ts +63 -0
- package/dist/models/SerbiaIdCardProviderOutput.js +62 -0
- package/dist/models/SmartIdInput.d.ts +0 -7
- package/dist/models/SmartIdInput.js +0 -2
- package/dist/models/SmartIdProviderOutput.d.ts +175 -0
- package/dist/models/SmartIdProviderOutput.js +72 -0
- package/dist/models/SouthAfricaNidBiometric2Input.d.ts +47 -0
- package/dist/models/SouthAfricaNidBiometric2Input.js +52 -0
- package/dist/models/SouthAfricaNidMatch2Input.d.ts +70 -0
- package/dist/models/SouthAfricaNidMatch2Input.js +61 -0
- package/dist/models/SouthAfricaNidMatch2InputSex.d.ts +25 -0
- package/dist/models/SouthAfricaNidMatch2InputSex.js +51 -0
- package/dist/models/SpidProviderOutput.d.ts +84 -16
- package/dist/models/SpidProviderOutput.js +22 -2
- package/dist/models/SubProviderMetadata.d.ts +0 -9
- package/dist/models/SubProviderMetadata.js +0 -4
- package/dist/models/SwedenBankIdProviderOutput.d.ts +110 -0
- package/dist/models/SwedenBankIdProviderOutput.js +72 -0
- package/dist/models/UgandaNidMatch2Input.d.ts +45 -0
- package/dist/models/UgandaNidMatch2Input.js +52 -0
- package/dist/models/VerificationProfileResponse.d.ts +6 -0
- package/dist/models/VerificationProfileResponse.js +4 -0
- package/dist/models/YotiDocumentDetails.d.ts +62 -0
- package/dist/models/YotiDocumentDetails.js +56 -0
- package/dist/models/YotiProviderOutput.d.ts +112 -0
- package/dist/models/YotiProviderOutput.js +72 -0
- package/dist/models/YotiStructuredPostalAddress.d.ts +152 -0
- package/dist/models/YotiStructuredPostalAddress.js +86 -0
- package/dist/models/ZimbabweNidLookup2Input.d.ts +32 -0
- package/dist/models/ZimbabweNidLookup2Input.js +48 -0
- package/dist/models/index.d.ts +63 -26
- package/dist/models/index.js +63 -26
- package/package.json +1 -1
- package/src/apis/ProvidersApi.ts +102 -0
- package/src/apis/{EnvironmentRedirectUrisApi.ts → RedirectUrisApi.ts} +35 -35
- package/src/apis/SessionsApi.ts +152 -4
- package/src/apis/VerificationProfilesApi.ts +9 -3
- package/src/apis/index.ts +2 -4
- package/src/models/AddRedirectUriRequest.ts +66 -0
- package/src/models/Address.ts +6 -3
- package/src/models/AppleWalletProviderOutput.ts +74 -0
- package/src/models/AttachmentInfo.ts +105 -0
- package/src/models/AttributeAvailability.ts +54 -0
- package/src/models/AustriaHandySignaturProviderOutput.ts +75 -0
- package/src/models/BelgiumIdCardProviderOutput.ts +100 -0
- package/src/models/ContractAttachment.ts +95 -0
- package/src/models/ContractAttribute.ts +85 -0
- package/src/models/CoteDIvoireNidLookup2Input.ts +65 -0
- package/src/models/CzechiaMojeIdProviderOutput.ts +95 -0
- package/src/models/DocumentData.ts +16 -6
- package/src/models/EstoniaIdCardProviderOutput.ts +107 -0
- package/src/models/FaydaProviderOutput.ts +1 -1
- package/src/models/FinlandIdCardProviderOutput.ts +106 -0
- package/src/models/FrejaProviderOutput.ts +96 -0
- package/src/models/FrenchNumeriqueGivenName.ts +82 -0
- package/src/models/FrenchNumeriqueNationality.ts +73 -0
- package/src/models/FrenchNumeriquePhone.ts +81 -0
- package/src/models/FrenchNumeriqueProviderOutput.ts +305 -0
- package/src/models/GetAttachmentRequest.ts +7 -14
- package/src/models/GoogleWalletProviderOutput.ts +74 -0
- package/src/models/IdentityData.ts +27 -33
- package/src/models/ItsmeProviderOutput.ts +113 -0
- package/src/models/KenyaNidLookup2Address.ts +131 -0
- package/src/models/KenyaNidLookup2ProviderOutput.ts +180 -0
- package/src/models/KenyaNidMatch2Input.ts +10 -10
- package/src/models/KenyaNidMatch2InputSex.ts +53 -0
- package/src/models/LaWalletProviderOutput.ts +232 -0
- package/src/models/LatviaEparakstsMobileProviderOutput.ts +100 -0
- package/src/models/LatviaEparakstsProviderOutput.ts +100 -0
- package/src/models/ListProvidersResponse.ts +11 -11
- package/src/models/{ListEnvironmentRedirectUrisResponse.ts → ListRedirectUrisResponse.ts} +12 -12
- package/src/models/LithuaniaIdCardProviderOutput.ts +111 -0
- package/src/models/LloydsSmartIdProviderOutput.ts +180 -0
- package/src/models/Match.ts +10 -2
- package/src/models/MatchData.ts +36 -11
- package/src/models/MdlOutput.ts +112 -0
- package/src/models/{MdlCertificateData.ts → MdlOutputCertificateData.ts} +18 -16
- package/src/models/MdlOutputFieldData.ts +85 -0
- package/src/models/MdlOutputFieldDataType.ts +57 -0
- package/src/models/MexicoCurpProviderOutput.ts +1 -1
- package/src/models/MitIdProviderOutput.ts +190 -0
- package/src/models/MobileIdInput.ts +10 -10
- package/src/models/MobileIdLanguage.ts +55 -0
- package/src/models/MobileIdProviderOutput.ts +167 -0
- package/src/models/NigeriaNinBiometric2Input.ts +84 -0
- package/src/models/NigeriaNinLookup2Input.ts +65 -0
- package/src/models/NigeriaNinMatch2Input.ts +124 -0
- package/src/models/NigeriaNinMatch2InputSex.ts +53 -0
- package/src/models/PersonData.ts +9 -7
- package/src/models/PeruDniAddress.ts +93 -0
- package/src/models/PeruDniLookupInput.ts +70 -0
- package/src/models/PeruDniProviderOutput.ts +291 -0
- package/src/models/PhilippinesDigitalNidProviderOutput.ts +3 -2
- package/src/models/PhilippinesPhysicalNidProviderOutput.ts +3 -2
- package/src/models/PolandEdoAppProviderOutput.ts +105 -0
- package/src/models/PolandMojeIdProviderOutput.ts +96 -0
- package/src/models/PortugalIdCardProviderOutput.ts +93 -0
- package/src/models/PostOfficeEasyIdProviderOutput.ts +180 -0
- package/src/models/{ProviderContract.ts → Provider.ts} +106 -98
- package/src/models/ProviderInput.ts +255 -127
- package/src/models/ProviderOutput.ts +445 -25
- package/src/models/RecommendProviderHealthOption.ts +54 -0
- package/src/models/{ProviderInformation.ts → RecommendProviderInformation.ts} +45 -56
- package/src/models/{RecommendRequest.ts → RecommendProvidersRequest.ts} +27 -18
- package/src/models/RecommendProvidersResponse.ts +74 -0
- package/src/models/SamsungWalletProviderOutput.ts +74 -0
- package/src/models/SerbiaIdCardProviderOutput.ts +106 -0
- package/src/models/SmartIdInput.ts +0 -9
- package/src/models/SmartIdProviderOutput.ts +232 -0
- package/src/models/SouthAfricaNidBiometric2Input.ts +84 -0
- package/src/models/SouthAfricaNidMatch2Input.ts +124 -0
- package/src/models/SouthAfricaNidMatch2InputSex.ts +53 -0
- package/src/models/SpidProviderOutput.ts +106 -18
- package/src/models/SubProviderMetadata.ts +0 -12
- package/src/models/SwedenBankIdProviderOutput.ts +167 -0
- package/src/models/UgandaNidMatch2Input.ts +82 -0
- package/src/models/VerificationProfileResponse.ts +9 -0
- package/src/models/YotiDocumentDetails.ts +103 -0
- package/src/models/YotiProviderOutput.ts +180 -0
- package/src/models/YotiStructuredPostalAddress.ts +223 -0
- package/src/models/ZimbabweNidLookup2Input.ts +65 -0
- package/src/models/index.ts +63 -26
- package/dist/apis/AttachmentsApi.d.ts +0 -53
- package/dist/apis/MdlApi.d.ts +0 -80
- package/dist/apis/MdlApi.js +0 -105
- package/dist/apis/NetworkApi.d.ts +0 -109
- package/dist/apis/NetworkApi.js +0 -146
- package/dist/esm/apis/AttachmentsApi.d.ts +0 -53
- package/dist/esm/apis/MdlApi.d.ts +0 -80
- package/dist/esm/apis/MdlApi.js +0 -101
- package/dist/esm/apis/NetworkApi.d.ts +0 -109
- package/dist/esm/apis/NetworkApi.js +0 -142
- package/dist/esm/models/AttachmentAccessKeys.d.ts +0 -63
- package/dist/esm/models/AttachmentAccessKeys.js +0 -54
- package/dist/esm/models/BangladeshNidInput.d.ts +0 -58
- package/dist/esm/models/BangladeshNidInput.js +0 -55
- package/dist/esm/models/ContractField.d.ts +0 -46
- package/dist/esm/models/ContractField.js +0 -52
- package/dist/esm/models/ContractIdentifierField.d.ts +0 -45
- package/dist/esm/models/ContractIdentifierField.js +0 -52
- package/dist/esm/models/CreateMdlExchangeRequest.d.ts +0 -102
- package/dist/esm/models/CreateMdlExchangeRequest.js +0 -66
- package/dist/esm/models/CreateMdlExchangeResponse.d.ts +0 -48
- package/dist/esm/models/CreateMdlExchangeResponse.js +0 -51
- package/dist/esm/models/DocumentScanAttachments.d.ts +0 -32
- package/dist/esm/models/DocumentScanAttachments.js +0 -41
- package/dist/esm/models/EnvironmentRedirectUrisAddRequest.d.ts +0 -32
- package/dist/esm/models/ExternalMdlFieldData.d.ts +0 -39
- package/dist/esm/models/FieldAvailability.d.ts +0 -26
- package/dist/esm/models/FieldAvailability.js +0 -44
- package/dist/esm/models/FinalizeMdlExchangeRequest.d.ts +0 -50
- package/dist/esm/models/FinalizeMdlExchangeRequest.js +0 -55
- package/dist/esm/models/FinalizeMdlExchangeResponse.d.ts +0 -55
- package/dist/esm/models/FinalizeMdlExchangeResponse.js +0 -54
- package/dist/esm/models/Identifier.d.ts +0 -44
- package/dist/esm/models/Identifier.js +0 -51
- package/dist/esm/models/Language.d.ts +0 -27
- package/dist/esm/models/ListEnvironmentRedirectUrisResponse.d.ts +0 -39
- package/dist/esm/models/ListProviderContractsResponse.d.ts +0 -33
- package/dist/esm/models/ListProviderContractsResponse.js +0 -44
- package/dist/esm/models/MdlCertificateData.d.ts +0 -58
- package/dist/esm/models/MdlFieldDataType.d.ts +0 -28
- package/dist/esm/models/MdlFieldDataType.js +0 -46
- package/dist/esm/models/MdlIdentityData.d.ts +0 -50
- package/dist/esm/models/MdlIdentityData.js +0 -52
- package/dist/esm/models/ProviderAttachments.d.ts +0 -33
- package/dist/esm/models/ProviderAttachments.js +0 -42
- package/dist/esm/models/ProviderInfo.d.ts +0 -76
- package/dist/esm/models/ProviderInformation.d.ts +0 -88
- package/dist/esm/models/ProviderInformation.js +0 -74
- package/dist/esm/models/RecommendRequest.d.ts +0 -45
- package/dist/esm/models/RecommendResponse.d.ts +0 -47
- package/dist/esm/models/RecommendResponse.js +0 -52
- package/dist/esm/models/SexV1.d.ts +0 -27
- package/dist/esm/models/SexV1.js +0 -45
- package/dist/models/AttachmentAccessKeys.d.ts +0 -63
- package/dist/models/AttachmentAccessKeys.js +0 -61
- package/dist/models/BangladeshNidInput.d.ts +0 -58
- package/dist/models/BangladeshNidInput.js +0 -62
- package/dist/models/ContractField.d.ts +0 -46
- package/dist/models/ContractField.js +0 -59
- package/dist/models/ContractIdentifierField.d.ts +0 -45
- package/dist/models/ContractIdentifierField.js +0 -59
- package/dist/models/CreateMdlExchangeRequest.d.ts +0 -102
- package/dist/models/CreateMdlExchangeRequest.js +0 -73
- package/dist/models/CreateMdlExchangeResponse.d.ts +0 -48
- package/dist/models/CreateMdlExchangeResponse.js +0 -58
- package/dist/models/DocumentScanAttachments.d.ts +0 -32
- package/dist/models/DocumentScanAttachments.js +0 -48
- package/dist/models/EnvironmentRedirectUrisAddRequest.d.ts +0 -32
- package/dist/models/EnvironmentRedirectUrisAddRequest.js +0 -50
- package/dist/models/ExternalMdlFieldData.d.ts +0 -39
- package/dist/models/ExternalMdlFieldData.js +0 -55
- package/dist/models/FieldAvailability.d.ts +0 -26
- package/dist/models/FieldAvailability.js +0 -52
- package/dist/models/FinalizeMdlExchangeRequest.d.ts +0 -50
- package/dist/models/FinalizeMdlExchangeRequest.js +0 -62
- package/dist/models/FinalizeMdlExchangeResponse.d.ts +0 -55
- package/dist/models/FinalizeMdlExchangeResponse.js +0 -61
- package/dist/models/Identifier.d.ts +0 -44
- package/dist/models/Identifier.js +0 -58
- package/dist/models/Language.d.ts +0 -27
- package/dist/models/Language.js +0 -53
- package/dist/models/ListEnvironmentRedirectUrisResponse.d.ts +0 -39
- package/dist/models/ListEnvironmentRedirectUrisResponse.js +0 -55
- package/dist/models/ListProviderContractsResponse.d.ts +0 -33
- package/dist/models/ListProviderContractsResponse.js +0 -51
- package/dist/models/MdlCertificateData.d.ts +0 -58
- package/dist/models/MdlFieldDataType.d.ts +0 -28
- package/dist/models/MdlFieldDataType.js +0 -54
- package/dist/models/MdlIdentityData.d.ts +0 -50
- package/dist/models/MdlIdentityData.js +0 -59
- package/dist/models/ProviderAttachments.d.ts +0 -33
- package/dist/models/ProviderAttachments.js +0 -49
- package/dist/models/ProviderInfo.d.ts +0 -76
- package/dist/models/ProviderInformation.d.ts +0 -88
- package/dist/models/ProviderInformation.js +0 -81
- package/dist/models/RecommendRequest.d.ts +0 -45
- package/dist/models/RecommendRequest.js +0 -55
- package/dist/models/RecommendResponse.d.ts +0 -47
- package/dist/models/RecommendResponse.js +0 -59
- package/dist/models/SexV1.d.ts +0 -27
- package/dist/models/SexV1.js +0 -53
- package/src/apis/AttachmentsApi.ts +0 -104
- package/src/apis/MdlApi.ts +0 -169
- package/src/apis/NetworkApi.ts +0 -242
- package/src/models/AttachmentAccessKeys.ts +0 -114
- package/src/models/BangladeshNidInput.ts +0 -102
- package/src/models/ContractField.ts +0 -95
- package/src/models/ContractIdentifierField.ts +0 -94
- package/src/models/CreateMdlExchangeRequest.ts +0 -159
- package/src/models/CreateMdlExchangeResponse.ts +0 -88
- package/src/models/DocumentScanAttachments.ts +0 -65
- package/src/models/EnvironmentRedirectUrisAddRequest.ts +0 -66
- package/src/models/ExternalMdlFieldData.ts +0 -85
- package/src/models/FieldAvailability.ts +0 -54
- package/src/models/FinalizeMdlExchangeRequest.ts +0 -93
- package/src/models/FinalizeMdlExchangeResponse.ts +0 -115
- package/src/models/Identifier.ts +0 -84
- package/src/models/Language.ts +0 -55
- package/src/models/ListProviderContractsResponse.ts +0 -74
- package/src/models/MdlFieldDataType.ts +0 -56
- package/src/models/MdlIdentityData.ts +0 -99
- package/src/models/ProviderAttachments.ts +0 -73
- package/src/models/ProviderInfo.ts +0 -134
- package/src/models/RecommendResponse.ts +0 -94
- package/src/models/SexV1.ts +0 -55
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const MdlOutputFieldDataType = {
|
|
19
|
+
String: 'String',
|
|
20
|
+
Boolean: 'Boolean',
|
|
21
|
+
Number: 'Number',
|
|
22
|
+
Base64Url: 'Base64Url',
|
|
23
|
+
EncodedCbor: 'EncodedCbor',
|
|
24
|
+
IntentionallyOmitted: 'IntentionallyOmitted'
|
|
25
|
+
};
|
|
26
|
+
export function instanceOfMdlOutputFieldDataType(value) {
|
|
27
|
+
for (const key in MdlOutputFieldDataType) {
|
|
28
|
+
if (Object.prototype.hasOwnProperty.call(MdlOutputFieldDataType, key)) {
|
|
29
|
+
if (MdlOutputFieldDataType[key] === value) {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
export function MdlOutputFieldDataTypeFromJSON(json) {
|
|
37
|
+
return MdlOutputFieldDataTypeFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function MdlOutputFieldDataTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
export function MdlOutputFieldDataTypeToJSON(value) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
export function MdlOutputFieldDataTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Exposed properties for the `denmark-mitid` Provider which do not directly map to the normalized IdentityData model.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MitIdProviderOutput
|
|
16
|
+
*/
|
|
17
|
+
export interface MitIdProviderOutput {
|
|
18
|
+
/**
|
|
19
|
+
* The full name of the individual.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MitIdProviderOutput
|
|
22
|
+
*/
|
|
23
|
+
fullName?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* The date of birth of the individual.
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof MitIdProviderOutput
|
|
28
|
+
*/
|
|
29
|
+
dateOfBirth?: Date | null;
|
|
30
|
+
/**
|
|
31
|
+
* A stable unique identifier representing the user in MitID's system.
|
|
32
|
+
* It is recommended to use this identifier instead of using the civil registration number (CPR number) directly.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof MitIdProviderOutput
|
|
35
|
+
*/
|
|
36
|
+
uniqueIdentifier?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* The authentication assurance level (AAL) for the verification.
|
|
39
|
+
* The National Institute of Standards and Technology (NIST) measures the confidence in a digital identity's authentication strength set by a set of requirements for different levels.
|
|
40
|
+
* More information can be found here: https://pages.nist.gov/800-63-4/sp800-63b/aal/#AAL_SEC4
|
|
41
|
+
* Possible values:
|
|
42
|
+
*
|
|
43
|
+
* - https://data.gov.dk/concept/core/nsis/Low - (Level 1) Provides basic confidence that the authenticator is either single factor or multifactor authentication.
|
|
44
|
+
* - https://data.gov.dk/concept/core/nsis/Substantial - (Level 2) Provides high confidence that the authenticator uses two distinct authentication factors that use secure authentication protocols.
|
|
45
|
+
* - https://data.gov.dk/concept/core/nsis/High - (Level 3) Provides very high confidence that the authenticator uses an non-exportable private key and another authentication factor.
|
|
46
|
+
*
|
|
47
|
+
* **Note**: These urls are not valid anymore, but they still contain the level of assurance name.
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof MitIdProviderOutput
|
|
50
|
+
*/
|
|
51
|
+
authenticationAssuranceLevel?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* The identity assurance level (IAL) for the verification.
|
|
54
|
+
* The National Institute of Standards and Technology (NIST) measures the confidence of the digital identity's verification set by a set of requirements for different levels.
|
|
55
|
+
* More information can be found here: https://pages.nist.gov/800-63-4/sp800-63b/aal/#AAL_SEC4
|
|
56
|
+
* Possible values:
|
|
57
|
+
*
|
|
58
|
+
* - https://data.gov.dk/concept/core/nsis/Low - (Level 1) The user has self asserted their identity and is neither verified nor validated.
|
|
59
|
+
* - https://data.gov.dk/concept/core/nsis/Substantial - (Level 2) The user has performed either a remote or in-person identity proofing.
|
|
60
|
+
* - https://data.gov.dk/concept/core/nsis/High - (Level 3) The user has performed an in person identity proofing with an authorized representative.
|
|
61
|
+
*
|
|
62
|
+
* **Note**: These urls are not valid anymore, but they still contain the level of assurance name.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof MitIdProviderOutput
|
|
65
|
+
*/
|
|
66
|
+
identityAuthenticationLevel?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
* The level of assurance (LOA) for the verification. This is an older retired model that is a combination of Identity Assurance Level and Authentication Assurance Level.
|
|
69
|
+
* The National Institute of Standards and Technology (NIST) measures the confidence of the digital identity's verification and authentication strength by a set of requirements for different levels.
|
|
70
|
+
*
|
|
71
|
+
* Possible values:
|
|
72
|
+
* - https://data.gov.dk/concept/core/nsis/Low - (Level 1) The user has self asserted their identity and multifactor authentication is not required.
|
|
73
|
+
* - https://data.gov.dk/concept/core/nsis/Substantial - (Level 3) The user has performed either a remote or in-person identity proofing and multifactor authentication is required.
|
|
74
|
+
* - https://data.gov.dk/concept/core/nsis/High - (Level 4) The user has performed an in person identity proofing with an authorized representative and has strong cryptographic authentication requirements.
|
|
75
|
+
*
|
|
76
|
+
* **Note**: These urls are not valid anymore, but they still contain the level of assurance name. MitID only returns three of the four potential levels and does not include level 2.
|
|
77
|
+
*
|
|
78
|
+
* More information can be found here:
|
|
79
|
+
* - https://pages.nist.gov/800-63-3/sp800-63-3.html
|
|
80
|
+
* - https://pages.nist.gov/800-63-3/
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof MitIdProviderOutput
|
|
83
|
+
*/
|
|
84
|
+
levelOfAssurance?: string | null;
|
|
85
|
+
/**
|
|
86
|
+
* The source of the identification for the verification
|
|
87
|
+
*
|
|
88
|
+
* Possible values:
|
|
89
|
+
* - private - The verification is from a private individual.
|
|
90
|
+
* - professional - The verification is a user in behalf of a organization.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof MitIdProviderOutput
|
|
93
|
+
*/
|
|
94
|
+
identificationSource?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
* The civil registration number (CPR number) of the individual for the verification.
|
|
97
|
+
*
|
|
98
|
+
* The CPR number is a 10-digit number in the format DDMMYYY-XXXX, where:
|
|
99
|
+
* - DDMMYYY represents the individual's date of birth (day, month, year).
|
|
100
|
+
* - XXXX is a unique identifier.
|
|
101
|
+
*
|
|
102
|
+
* If XXXX is even, the individual is female.
|
|
103
|
+
* If XXXX is odd, the individual is male.
|
|
104
|
+
*
|
|
105
|
+
* More information can be found here: https://international.kk.dk/live/cpr-registration-and-documents/cpr-number
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof MitIdProviderOutput
|
|
108
|
+
*/
|
|
109
|
+
civilRegistrationNumber?: string | null;
|
|
110
|
+
/**
|
|
111
|
+
* The name of the organization for the verification
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof MitIdProviderOutput
|
|
114
|
+
*/
|
|
115
|
+
organizationName?: string | null;
|
|
116
|
+
/**
|
|
117
|
+
* The organization number (CVR number). This is an 8-digit unique identifier for the organization. This will be prefixed with "DK" for VAT numbers.
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof MitIdProviderOutput
|
|
120
|
+
*/
|
|
121
|
+
organizationNumber?: string | null;
|
|
122
|
+
/**
|
|
123
|
+
* The organization number (CVR number) of the organization the user is authorized to represent.
|
|
124
|
+
* This is only returned if the requested scope is for an organization verification and the user provides a private source in behalf of a company.
|
|
125
|
+
* @type {string}
|
|
126
|
+
* @memberof MitIdProviderOutput
|
|
127
|
+
*/
|
|
128
|
+
authorizedRepresentativeNumber?: string | null;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Check if a given object implements the MitIdProviderOutput interface.
|
|
132
|
+
*/
|
|
133
|
+
export declare function instanceOfMitIdProviderOutput(value: object): value is MitIdProviderOutput;
|
|
134
|
+
export declare function MitIdProviderOutputFromJSON(json: any): MitIdProviderOutput;
|
|
135
|
+
export declare function MitIdProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MitIdProviderOutput;
|
|
136
|
+
export declare function MitIdProviderOutputToJSON(json: any): MitIdProviderOutput;
|
|
137
|
+
export declare function MitIdProviderOutputToJSONTyped(value?: MitIdProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the MitIdProviderOutput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfMitIdProviderOutput(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function MitIdProviderOutputFromJSON(json) {
|
|
21
|
+
return MitIdProviderOutputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function MitIdProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'fullName': json['fullName'] == null ? undefined : json['fullName'],
|
|
29
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
30
|
+
'uniqueIdentifier': json['uniqueIdentifier'] == null ? undefined : json['uniqueIdentifier'],
|
|
31
|
+
'authenticationAssuranceLevel': json['authenticationAssuranceLevel'] == null ? undefined : json['authenticationAssuranceLevel'],
|
|
32
|
+
'identityAuthenticationLevel': json['identityAuthenticationLevel'] == null ? undefined : json['identityAuthenticationLevel'],
|
|
33
|
+
'levelOfAssurance': json['levelOfAssurance'] == null ? undefined : json['levelOfAssurance'],
|
|
34
|
+
'identificationSource': json['identificationSource'] == null ? undefined : json['identificationSource'],
|
|
35
|
+
'civilRegistrationNumber': json['civilRegistrationNumber'] == null ? undefined : json['civilRegistrationNumber'],
|
|
36
|
+
'organizationName': json['organizationName'] == null ? undefined : json['organizationName'],
|
|
37
|
+
'organizationNumber': json['organizationNumber'] == null ? undefined : json['organizationNumber'],
|
|
38
|
+
'authorizedRepresentativeNumber': json['authorizedRepresentativeNumber'] == null ? undefined : json['authorizedRepresentativeNumber'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function MitIdProviderOutputToJSON(json) {
|
|
42
|
+
return MitIdProviderOutputToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function MitIdProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'fullName': value['fullName'],
|
|
50
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
|
|
51
|
+
'uniqueIdentifier': value['uniqueIdentifier'],
|
|
52
|
+
'authenticationAssuranceLevel': value['authenticationAssuranceLevel'],
|
|
53
|
+
'identityAuthenticationLevel': value['identityAuthenticationLevel'],
|
|
54
|
+
'levelOfAssurance': value['levelOfAssurance'],
|
|
55
|
+
'identificationSource': value['identificationSource'],
|
|
56
|
+
'civilRegistrationNumber': value['civilRegistrationNumber'],
|
|
57
|
+
'organizationName': value['organizationName'],
|
|
58
|
+
'organizationNumber': value['organizationNumber'],
|
|
59
|
+
'authorizedRepresentativeNumber': value['authorizedRepresentativeNumber'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { MobileIdLanguage } from './MobileIdLanguage';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -30,10 +30,10 @@ export interface MobileIdInput {
|
|
|
30
30
|
mobileIdNationalIdentityNumber?: string | null;
|
|
31
31
|
/**
|
|
32
32
|
* The user's language -- LIT, EST, ENG, or RUS
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {MobileIdLanguage}
|
|
34
34
|
* @memberof MobileIdInput
|
|
35
35
|
*/
|
|
36
|
-
mobileIdLanguage?:
|
|
36
|
+
mobileIdLanguage?: MobileIdLanguage | null;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Check if a given object implements the MobileIdInput interface.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { MobileIdLanguageFromJSON, MobileIdLanguageToJSON, } from './MobileIdLanguage';
|
|
15
15
|
/**
|
|
16
16
|
* Check if a given object implements the MobileIdInput interface.
|
|
17
17
|
*/
|
|
@@ -28,7 +28,7 @@ export function MobileIdInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
return {
|
|
29
29
|
'mobileIdPhoneNumber': json['mobileIdPhoneNumber'] == null ? undefined : json['mobileIdPhoneNumber'],
|
|
30
30
|
'mobileIdNationalIdentityNumber': json['mobileIdNationalIdentityNumber'] == null ? undefined : json['mobileIdNationalIdentityNumber'],
|
|
31
|
-
'mobileIdLanguage': json['mobileIdLanguage'] == null ? undefined :
|
|
31
|
+
'mobileIdLanguage': json['mobileIdLanguage'] == null ? undefined : MobileIdLanguageFromJSON(json['mobileIdLanguage']),
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
export function MobileIdInputToJSON(json) {
|
|
@@ -41,6 +41,6 @@ export function MobileIdInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
41
41
|
return {
|
|
42
42
|
'mobileIdPhoneNumber': value['mobileIdPhoneNumber'],
|
|
43
43
|
'mobileIdNationalIdentityNumber': value['mobileIdNationalIdentityNumber'],
|
|
44
|
-
'mobileIdLanguage':
|
|
44
|
+
'mobileIdLanguage': MobileIdLanguageToJSON(value['mobileIdLanguage']),
|
|
45
45
|
};
|
|
46
46
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const MobileIdLanguage: {
|
|
17
|
+
readonly Lit: "LIT";
|
|
18
|
+
readonly Est: "EST";
|
|
19
|
+
readonly Eng: "ENG";
|
|
20
|
+
readonly Rus: "RUS";
|
|
21
|
+
};
|
|
22
|
+
export type MobileIdLanguage = typeof MobileIdLanguage[keyof typeof MobileIdLanguage];
|
|
23
|
+
export declare function instanceOfMobileIdLanguage(value: any): boolean;
|
|
24
|
+
export declare function MobileIdLanguageFromJSON(json: any): MobileIdLanguage;
|
|
25
|
+
export declare function MobileIdLanguageFromJSONTyped(json: any, ignoreDiscriminator: boolean): MobileIdLanguage;
|
|
26
|
+
export declare function MobileIdLanguageToJSON(value?: MobileIdLanguage | null): any;
|
|
27
|
+
export declare function MobileIdLanguageToJSONTyped(value: any, ignoreDiscriminator: boolean): MobileIdLanguage;
|
|
@@ -15,31 +15,31 @@
|
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
17
|
*/
|
|
18
|
-
export const
|
|
18
|
+
export const MobileIdLanguage = {
|
|
19
19
|
Lit: 'LIT',
|
|
20
20
|
Est: 'EST',
|
|
21
21
|
Eng: 'ENG',
|
|
22
22
|
Rus: 'RUS'
|
|
23
23
|
};
|
|
24
|
-
export function
|
|
25
|
-
for (const key in
|
|
26
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
27
|
-
if (
|
|
24
|
+
export function instanceOfMobileIdLanguage(value) {
|
|
25
|
+
for (const key in MobileIdLanguage) {
|
|
26
|
+
if (Object.prototype.hasOwnProperty.call(MobileIdLanguage, key)) {
|
|
27
|
+
if (MobileIdLanguage[key] === value) {
|
|
28
28
|
return true;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
return false;
|
|
33
33
|
}
|
|
34
|
-
export function
|
|
35
|
-
return
|
|
34
|
+
export function MobileIdLanguageFromJSON(json) {
|
|
35
|
+
return MobileIdLanguageFromJSONTyped(json, false);
|
|
36
36
|
}
|
|
37
|
-
export function
|
|
37
|
+
export function MobileIdLanguageFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
38
|
return json;
|
|
39
39
|
}
|
|
40
|
-
export function
|
|
40
|
+
export function MobileIdLanguageToJSON(value) {
|
|
41
41
|
return value;
|
|
42
42
|
}
|
|
43
|
-
export function
|
|
43
|
+
export function MobileIdLanguageToJSONTyped(value, ignoreDiscriminator) {
|
|
44
44
|
return value;
|
|
45
45
|
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Exposed properties for the `mobile-id` Provider which do not directly map to the normalized IdentityData model.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MobileIdProviderOutput
|
|
16
|
+
*/
|
|
17
|
+
export interface MobileIdProviderOutput {
|
|
18
|
+
/**
|
|
19
|
+
* The given name of the individual, extracted from the Mobile ID authentication
|
|
20
|
+
* certificate's Subject Distinguished Name "G" (givenName) attribute.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof MobileIdProviderOutput
|
|
23
|
+
*/
|
|
24
|
+
givenName?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* The family name (surname) of the individual, extracted from the Mobile ID
|
|
27
|
+
* authentication certificate's Subject Distinguished Name "SN" (surname) attribute.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof MobileIdProviderOutput
|
|
30
|
+
*/
|
|
31
|
+
familyName?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* The individual's date of birth, derived from the personal code.
|
|
34
|
+
* @type {Date}
|
|
35
|
+
* @memberof MobileIdProviderOutput
|
|
36
|
+
*/
|
|
37
|
+
dateOfBirth?: Date | null;
|
|
38
|
+
/**
|
|
39
|
+
* The individual's sex, derived from the first digit of the personal code.
|
|
40
|
+
*
|
|
41
|
+
* Possible values:
|
|
42
|
+
* - Male
|
|
43
|
+
* - Female
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof MobileIdProviderOutput
|
|
46
|
+
*/
|
|
47
|
+
sex?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* The ISO 3166-1 alpha-2 country code extracted from the Mobile ID authentication
|
|
50
|
+
* certificate's Subject Distinguished Name "C" (country) attribute.
|
|
51
|
+
*
|
|
52
|
+
* This represents the country of the certificate issuer, not the person's nationality
|
|
53
|
+
* or citizenship. For Mobile ID, this will be "EE" (Estonia) or "LT" (Lithuania).
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof MobileIdProviderOutput
|
|
56
|
+
*/
|
|
57
|
+
country?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* The identity document type, extracted from the first 3 characters of the
|
|
60
|
+
* SERIALNUMBER field (before the country code).
|
|
61
|
+
*
|
|
62
|
+
* Possible values:
|
|
63
|
+
* - PNO: Personal Number (national civic registration number)
|
|
64
|
+
* - PAS: Passport
|
|
65
|
+
* - IDC: National identity card
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof MobileIdProviderOutput
|
|
68
|
+
*/
|
|
69
|
+
identityType?: string | null;
|
|
70
|
+
/**
|
|
71
|
+
* The personal code (Estonian: isikukood, Lithuanian: asmens kodas) of the individual,
|
|
72
|
+
* extracted from the SERIALNUMBER field of the Mobile ID authentication certificate.
|
|
73
|
+
* This is the portion after the identity type and country prefix
|
|
74
|
+
* (e.g., "48501010014" from "PNOEE-48501010014").
|
|
75
|
+
*
|
|
76
|
+
* Both Estonian and Lithuanian personal codes are 11 digits in the format GYYMMDDSSSC where:
|
|
77
|
+
* - G = century/gender (3-4 = 1900s, 5-6 = 2000s; odd = male, even = female)
|
|
78
|
+
* - YYMMDD = date of birth
|
|
79
|
+
* - SSS = sequence number
|
|
80
|
+
* - C = checksum digit
|
|
81
|
+
*
|
|
82
|
+
* See:
|
|
83
|
+
* - https://en.wikipedia.org/wiki/National_identification_number#Estonia
|
|
84
|
+
* - https://en.wikipedia.org/wiki/National_identification_number#Lithuania
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof MobileIdProviderOutput
|
|
87
|
+
*/
|
|
88
|
+
personalCode?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
* The SERIALNUMBER attribute from the Mobile ID authentication certificate's Subject
|
|
91
|
+
* Distinguished Name. Format: "{identity-type}{country-code}-{identifier}"
|
|
92
|
+
*
|
|
93
|
+
* Components:
|
|
94
|
+
* - identity-type (3 chars): PNO (Personal Number), PAS (Passport), IDC (ID Card)
|
|
95
|
+
* - country-code (2 chars): ISO 3166-1 alpha-2 (EE, LT)
|
|
96
|
+
* - identifier: The personal code
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof MobileIdProviderOutput
|
|
99
|
+
*/
|
|
100
|
+
serialNumber?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
* The full Subject Distinguished Name (Subject DN) from the Mobile ID
|
|
103
|
+
* authentication certificate. Contains comma-separated RDN (Relative Distinguished Name)
|
|
104
|
+
* components including C (Country), CN (Common Name), SN (Surname), G (Given Name),
|
|
105
|
+
* and SERIALNUMBER (Personal identifier).
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof MobileIdProviderOutput
|
|
108
|
+
*/
|
|
109
|
+
certificateSubject?: string | null;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Check if a given object implements the MobileIdProviderOutput interface.
|
|
113
|
+
*/
|
|
114
|
+
export declare function instanceOfMobileIdProviderOutput(value: object): value is MobileIdProviderOutput;
|
|
115
|
+
export declare function MobileIdProviderOutputFromJSON(json: any): MobileIdProviderOutput;
|
|
116
|
+
export declare function MobileIdProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MobileIdProviderOutput;
|
|
117
|
+
export declare function MobileIdProviderOutputToJSON(json: any): MobileIdProviderOutput;
|
|
118
|
+
export declare function MobileIdProviderOutputToJSONTyped(value?: MobileIdProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the MobileIdProviderOutput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfMobileIdProviderOutput(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function MobileIdProviderOutputFromJSON(json) {
|
|
21
|
+
return MobileIdProviderOutputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function MobileIdProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
29
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
30
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
31
|
+
'sex': json['sex'] == null ? undefined : json['sex'],
|
|
32
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
33
|
+
'identityType': json['identityType'] == null ? undefined : json['identityType'],
|
|
34
|
+
'personalCode': json['personalCode'] == null ? undefined : json['personalCode'],
|
|
35
|
+
'serialNumber': json['serialNumber'] == null ? undefined : json['serialNumber'],
|
|
36
|
+
'certificateSubject': json['certificateSubject'] == null ? undefined : json['certificateSubject'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function MobileIdProviderOutputToJSON(json) {
|
|
40
|
+
return MobileIdProviderOutputToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function MobileIdProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'givenName': value['givenName'],
|
|
48
|
+
'familyName': value['familyName'],
|
|
49
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
|
|
50
|
+
'sex': value['sex'],
|
|
51
|
+
'country': value['country'],
|
|
52
|
+
'identityType': value['identityType'],
|
|
53
|
+
'personalCode': value['personalCode'],
|
|
54
|
+
'serialNumber': value['serialNumber'],
|
|
55
|
+
'certificateSubject': value['certificateSubject'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface NigeriaNinBiometric2Input
|
|
16
|
+
*/
|
|
17
|
+
export interface NigeriaNinBiometric2Input {
|
|
18
|
+
/**
|
|
19
|
+
* The user's Nigerian National ID number (NIN)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NigeriaNinBiometric2Input
|
|
22
|
+
*/
|
|
23
|
+
idNumber?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* An array of exactly 8 images required for biometric liveness verification.
|
|
26
|
+
* The first 7 images should be liveness frames captured during the liveness detection process,
|
|
27
|
+
* and the last image (8th) should be a selfie of the user. All images must be in JPEG format
|
|
28
|
+
* and each image must be less than 15MB in size.
|
|
29
|
+
* @type {Array<string>}
|
|
30
|
+
* @memberof NigeriaNinBiometric2Input
|
|
31
|
+
*/
|
|
32
|
+
livenessImages?: Array<string> | null;
|
|
33
|
+
/**
|
|
34
|
+
* Test selfie for test environment (optional, maximum 15MB). Must be JPEG format.
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof NigeriaNinBiometric2Input
|
|
37
|
+
*/
|
|
38
|
+
testSelfie?: string | null;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the NigeriaNinBiometric2Input interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfNigeriaNinBiometric2Input(value: object): value is NigeriaNinBiometric2Input;
|
|
44
|
+
export declare function NigeriaNinBiometric2InputFromJSON(json: any): NigeriaNinBiometric2Input;
|
|
45
|
+
export declare function NigeriaNinBiometric2InputFromJSONTyped(json: any, ignoreDiscriminator: boolean): NigeriaNinBiometric2Input;
|
|
46
|
+
export declare function NigeriaNinBiometric2InputToJSON(json: any): NigeriaNinBiometric2Input;
|
|
47
|
+
export declare function NigeriaNinBiometric2InputToJSONTyped(value?: NigeriaNinBiometric2Input | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the NigeriaNinBiometric2Input interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfNigeriaNinBiometric2Input(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function NigeriaNinBiometric2InputFromJSON(json) {
|
|
21
|
+
return NigeriaNinBiometric2InputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function NigeriaNinBiometric2InputFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'idNumber': json['idNumber'] == null ? undefined : json['idNumber'],
|
|
29
|
+
'livenessImages': json['livenessImages'] == null ? undefined : json['livenessImages'],
|
|
30
|
+
'testSelfie': json['testSelfie'] == null ? undefined : json['testSelfie'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function NigeriaNinBiometric2InputToJSON(json) {
|
|
34
|
+
return NigeriaNinBiometric2InputToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function NigeriaNinBiometric2InputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'idNumber': value['idNumber'],
|
|
42
|
+
'livenessImages': value['livenessImages'],
|
|
43
|
+
'testSelfie': value['testSelfie'],
|
|
44
|
+
};
|
|
45
|
+
}
|