@trinsic/api 2.3.0-alpha1 → 3.0.0
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 +69 -29
- 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/KenyaNidBiometric2Input.d.ts +47 -0
- package/dist/esm/models/KenyaNidBiometric2Input.js +45 -0
- package/dist/esm/models/KenyaNidInput.d.ts +1 -1
- package/dist/esm/models/KenyaNidLookup2Input.d.ts +32 -0
- package/dist/esm/models/KenyaNidLookup2Input.js +41 -0
- package/dist/esm/models/KenyaNidMatch2Input.d.ts +63 -0
- package/dist/esm/models/KenyaNidMatch2Input.js +52 -0
- 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/NigeriaNinInput.d.ts +1 -1
- 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 +33 -0
- package/dist/esm/models/PhilippinesDigitalNidProviderOutput.js +43 -0
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +33 -0
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.js +43 -0
- 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 +117 -27
- package/dist/esm/models/ProviderInput.js +87 -49
- package/dist/esm/models/ProviderOutput.d.ts +208 -5
- package/dist/esm/models/ProviderOutput.js +89 -2
- 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/SouthAfricaNidInput.d.ts +1 -1
- package/dist/esm/models/SouthAfricaNidLookup2Input.d.ts +32 -0
- package/dist/esm/models/SouthAfricaNidLookup2Input.js +41 -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 +142 -12
- package/dist/esm/models/SpidProviderOutput.js +46 -4
- 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 +67 -25
- package/dist/esm/models/index.js +67 -25
- 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/KenyaNidBiometric2Input.d.ts +47 -0
- package/dist/models/KenyaNidBiometric2Input.js +52 -0
- package/dist/models/KenyaNidInput.d.ts +1 -1
- package/dist/models/KenyaNidLookup2Input.d.ts +32 -0
- package/dist/models/KenyaNidLookup2Input.js +48 -0
- package/dist/models/KenyaNidMatch2Input.d.ts +63 -0
- package/dist/models/KenyaNidMatch2Input.js +59 -0
- 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/NigeriaNinInput.d.ts +1 -1
- 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 +33 -0
- package/dist/models/PhilippinesDigitalNidProviderOutput.js +50 -0
- package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +33 -0
- package/dist/models/PhilippinesPhysicalNidProviderOutput.js +50 -0
- 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 +117 -27
- package/dist/models/ProviderInput.js +87 -49
- package/dist/models/ProviderOutput.d.ts +208 -5
- package/dist/models/ProviderOutput.js +89 -2
- 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/SouthAfricaNidInput.d.ts +1 -1
- package/dist/models/SouthAfricaNidLookup2Input.d.ts +32 -0
- package/dist/models/SouthAfricaNidLookup2Input.js +48 -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 +142 -12
- package/dist/models/SpidProviderOutput.js +46 -4
- 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 +67 -25
- package/dist/models/index.js +67 -25
- 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/KenyaNidBiometric2Input.ts +84 -0
- package/src/models/KenyaNidInput.ts +1 -1
- package/src/models/KenyaNidLookup2Input.ts +65 -0
- package/src/models/KenyaNidMatch2Input.ts +115 -0
- 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/NigeriaNinInput.ts +1 -1
- 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 +67 -0
- package/src/models/PhilippinesPhysicalNidProviderOutput.ts +67 -0
- 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 +304 -116
- package/src/models/ProviderOutput.ts +442 -7
- 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/SouthAfricaNidInput.ts +1 -1
- package/src/models/SouthAfricaNidLookup2Input.ts +65 -0
- package/src/models/SouthAfricaNidMatch2Input.ts +124 -0
- package/src/models/SouthAfricaNidMatch2InputSex.ts +53 -0
- package/src/models/SpidProviderOutput.ts +186 -16
- 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 +67 -25
- 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 -57
- package/dist/esm/models/AttachmentAccessKeys.js +0 -52
- 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/models/AttachmentAccessKeys.d.ts +0 -57
- package/dist/models/AttachmentAccessKeys.js +0 -59
- 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/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 -106
- 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
|
@@ -0,0 +1,205 @@
|
|
|
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
|
+
import type { FrenchNumeriqueNationality } from './FrenchNumeriqueNationality';
|
|
13
|
+
import type { FrenchNumeriqueGivenName } from './FrenchNumeriqueGivenName';
|
|
14
|
+
import type { FrenchNumeriquePhone } from './FrenchNumeriquePhone';
|
|
15
|
+
/**
|
|
16
|
+
* Exposed properties for the `france-identite-numerique` Provider which do not directly map to the normalized IdentityData model.
|
|
17
|
+
* @export
|
|
18
|
+
* @interface FrenchNumeriqueProviderOutput
|
|
19
|
+
*/
|
|
20
|
+
export interface FrenchNumeriqueProviderOutput {
|
|
21
|
+
/**
|
|
22
|
+
* Given name information including the full given name and its structured components
|
|
23
|
+
* (first name and middle name(s)).
|
|
24
|
+
* @type {FrenchNumeriqueGivenName}
|
|
25
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
26
|
+
*/
|
|
27
|
+
givenName?: FrenchNumeriqueGivenName | null;
|
|
28
|
+
/**
|
|
29
|
+
* Birth name (nom de naissance) as recorded on the user's French identity document.
|
|
30
|
+
* In France, this is the family name given at birth and may differ from the usage name.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
33
|
+
*/
|
|
34
|
+
familyName?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* Usage surname ("nom d'usage") - according to French law, this is the surname used in
|
|
37
|
+
* daily life. This is typically a married name or other preferred surname, as opposed to
|
|
38
|
+
* FamilyName which is the birth surname ("nom de naissance").
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
41
|
+
*/
|
|
42
|
+
preferredSurname?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Date of birth in YYYY-MM-DD format,
|
|
45
|
+
* as recorded on the user's French identity document.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
48
|
+
*/
|
|
49
|
+
birthdate?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* Nationality information with ISO 3166 alpha-3 code and French label.
|
|
52
|
+
* The label is provided in French (e.g., "Française" for French nationality).
|
|
53
|
+
* @type {FrenchNumeriqueNationality}
|
|
54
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
55
|
+
*/
|
|
56
|
+
nationality?: FrenchNumeriqueNationality | null;
|
|
57
|
+
/**
|
|
58
|
+
* Sex - "Male" or "Female".
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
61
|
+
*/
|
|
62
|
+
sex?: string | null;
|
|
63
|
+
/**
|
|
64
|
+
* Majority status (majorité) indicating whether the user has reached the
|
|
65
|
+
* French age of legal majority (18 years old). This value is computed by
|
|
66
|
+
* the provider from the user's birthdate.
|
|
67
|
+
* @type {boolean}
|
|
68
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
69
|
+
*/
|
|
70
|
+
majority?: boolean | null;
|
|
71
|
+
/**
|
|
72
|
+
* Phone number information including the full phone number and its structured components
|
|
73
|
+
* (country prefix and national number).
|
|
74
|
+
* @type {FrenchNumeriquePhone}
|
|
75
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
76
|
+
*/
|
|
77
|
+
phoneNumber?: FrenchNumeriquePhone | null;
|
|
78
|
+
/**
|
|
79
|
+
* Whether the phone number has been verified by the provider.
|
|
80
|
+
* @type {boolean}
|
|
81
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
82
|
+
*/
|
|
83
|
+
phoneNumberVerified?: boolean | null;
|
|
84
|
+
/**
|
|
85
|
+
* Email address registered in the user's digital identity account.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
88
|
+
*/
|
|
89
|
+
email?: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* Whether the email address has been verified by the provider.
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
94
|
+
*/
|
|
95
|
+
emailVerified?: boolean | null;
|
|
96
|
+
/**
|
|
97
|
+
* National Institute of Statistics and Economic Studies (INSEE) official geographic code (COG)
|
|
98
|
+
* of the birthplace. This is a 5-digit French administrative code identifying the commune
|
|
99
|
+
* (municipality) of birth. For births in metropolitan France, the first two digits represent
|
|
100
|
+
* the department.
|
|
101
|
+
*
|
|
102
|
+
* See: https://www.insee.fr/fr/information/2560452
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
105
|
+
*/
|
|
106
|
+
birthplace?: string | null;
|
|
107
|
+
/**
|
|
108
|
+
* Name of the birthplace commune (municipality). If applicable, this includes the full name of
|
|
109
|
+
* the arrondissement (borough).
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
112
|
+
*/
|
|
113
|
+
birthplaceLabel?: string | null;
|
|
114
|
+
/**
|
|
115
|
+
* National Institute of Statistics and Economic Studies (INSEE) official geographic code (COG)
|
|
116
|
+
* for the user's country of birth.
|
|
117
|
+
*
|
|
118
|
+
* LaPoste returns this as a 5-character numeric string. This is a country/territory COG,
|
|
119
|
+
* so it always starts with "99" (99xxx). France is coded as 99100.
|
|
120
|
+
*
|
|
121
|
+
* See full list here: https://www.insee.fr/fr/information/2560452
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
124
|
+
*/
|
|
125
|
+
birthCountry?: string | null;
|
|
126
|
+
/**
|
|
127
|
+
* Birth country as an ISO 3166 alpha-3 code.
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
130
|
+
*/
|
|
131
|
+
birthCountryIso?: string | null;
|
|
132
|
+
/**
|
|
133
|
+
* Label of the birth country, in English.
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
136
|
+
*/
|
|
137
|
+
birthCountryLabel?: string | null;
|
|
138
|
+
/**
|
|
139
|
+
* Number of the department of birth (e.g., "75" for Paris, "2A" for Corse-du-Sud).
|
|
140
|
+
*
|
|
141
|
+
* See full list here: https://en.wikipedia.org/wiki/Departments_of_France
|
|
142
|
+
* @type {string}
|
|
143
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
144
|
+
*/
|
|
145
|
+
birthDepartment?: string | null;
|
|
146
|
+
/**
|
|
147
|
+
* Date when the user's digital identity was created.
|
|
148
|
+
* @type {Date}
|
|
149
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
150
|
+
*/
|
|
151
|
+
digitalIdentityCreationDate?: Date | null;
|
|
152
|
+
/**
|
|
153
|
+
* Date when the digital identity expires. It is valid for 5 years from the date of identity verification.
|
|
154
|
+
* Users are notified ~1 month before and must re-verify identity via the app or in-person at La Poste.
|
|
155
|
+
* After expiration, the identity is deactivated but can be renewed within 1 year; otherwise deleted.
|
|
156
|
+
* @type {Date}
|
|
157
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
158
|
+
*/
|
|
159
|
+
digitalIdentityExpirationDate?: Date | null;
|
|
160
|
+
/**
|
|
161
|
+
* Type of identity document used for verification.
|
|
162
|
+
* Can be "ID_CARD", "PASSPORT", or "RESIDENCE_PERMIT".
|
|
163
|
+
* @type {string}
|
|
164
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
165
|
+
*/
|
|
166
|
+
identityDocumentType?: string | null;
|
|
167
|
+
/**
|
|
168
|
+
* Identity document number as it appears on the ID Card, Passport or Residence Permit.
|
|
169
|
+
* @type {string}
|
|
170
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
171
|
+
*/
|
|
172
|
+
identityDocumentNumber?: string | null;
|
|
173
|
+
/**
|
|
174
|
+
* Date when the identity document was issued.
|
|
175
|
+
* @type {Date}
|
|
176
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
177
|
+
*/
|
|
178
|
+
identityDocumentEmittingDate?: Date | null;
|
|
179
|
+
/**
|
|
180
|
+
* Date when the identity document expires.
|
|
181
|
+
* @type {Date}
|
|
182
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
183
|
+
*/
|
|
184
|
+
identityDocumentExpirationDate?: Date | null;
|
|
185
|
+
/**
|
|
186
|
+
* Country that issued the identity document (ISO 3166 alpha-3 code).
|
|
187
|
+
* @type {string}
|
|
188
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
189
|
+
*/
|
|
190
|
+
identityDocumentEmittingCountry?: string | null;
|
|
191
|
+
/**
|
|
192
|
+
* Machine Readable Zone (MRZ) data from the ID Card, Passport or Residence Permit.
|
|
193
|
+
* @type {string}
|
|
194
|
+
* @memberof FrenchNumeriqueProviderOutput
|
|
195
|
+
*/
|
|
196
|
+
identityDocumentMrz?: string | null;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Check if a given object implements the FrenchNumeriqueProviderOutput interface.
|
|
200
|
+
*/
|
|
201
|
+
export declare function instanceOfFrenchNumeriqueProviderOutput(value: object): value is FrenchNumeriqueProviderOutput;
|
|
202
|
+
export declare function FrenchNumeriqueProviderOutputFromJSON(json: any): FrenchNumeriqueProviderOutput;
|
|
203
|
+
export declare function FrenchNumeriqueProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FrenchNumeriqueProviderOutput;
|
|
204
|
+
export declare function FrenchNumeriqueProviderOutputToJSON(json: any): FrenchNumeriqueProviderOutput;
|
|
205
|
+
export declare function FrenchNumeriqueProviderOutputToJSONTyped(value?: FrenchNumeriqueProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
import { FrenchNumeriqueNationalityFromJSON, FrenchNumeriqueNationalityToJSON, } from './FrenchNumeriqueNationality';
|
|
15
|
+
import { FrenchNumeriqueGivenNameFromJSON, FrenchNumeriqueGivenNameToJSON, } from './FrenchNumeriqueGivenName';
|
|
16
|
+
import { FrenchNumeriquePhoneFromJSON, FrenchNumeriquePhoneToJSON, } from './FrenchNumeriquePhone';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the FrenchNumeriqueProviderOutput interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfFrenchNumeriqueProviderOutput(value) {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function FrenchNumeriqueProviderOutputFromJSON(json) {
|
|
24
|
+
return FrenchNumeriqueProviderOutputFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function FrenchNumeriqueProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'givenName': json['givenName'] == null ? undefined : FrenchNumeriqueGivenNameFromJSON(json['givenName']),
|
|
32
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
33
|
+
'preferredSurname': json['preferredSurname'] == null ? undefined : json['preferredSurname'],
|
|
34
|
+
'birthdate': json['birthdate'] == null ? undefined : json['birthdate'],
|
|
35
|
+
'nationality': json['nationality'] == null ? undefined : FrenchNumeriqueNationalityFromJSON(json['nationality']),
|
|
36
|
+
'sex': json['sex'] == null ? undefined : json['sex'],
|
|
37
|
+
'majority': json['majority'] == null ? undefined : json['majority'],
|
|
38
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : FrenchNumeriquePhoneFromJSON(json['phoneNumber']),
|
|
39
|
+
'phoneNumberVerified': json['phoneNumberVerified'] == null ? undefined : json['phoneNumberVerified'],
|
|
40
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
41
|
+
'emailVerified': json['emailVerified'] == null ? undefined : json['emailVerified'],
|
|
42
|
+
'birthplace': json['birthplace'] == null ? undefined : json['birthplace'],
|
|
43
|
+
'birthplaceLabel': json['birthplaceLabel'] == null ? undefined : json['birthplaceLabel'],
|
|
44
|
+
'birthCountry': json['birthCountry'] == null ? undefined : json['birthCountry'],
|
|
45
|
+
'birthCountryIso': json['birthCountryIso'] == null ? undefined : json['birthCountryIso'],
|
|
46
|
+
'birthCountryLabel': json['birthCountryLabel'] == null ? undefined : json['birthCountryLabel'],
|
|
47
|
+
'birthDepartment': json['birthDepartment'] == null ? undefined : json['birthDepartment'],
|
|
48
|
+
'digitalIdentityCreationDate': json['digitalIdentityCreationDate'] == null ? undefined : (new Date(json['digitalIdentityCreationDate'])),
|
|
49
|
+
'digitalIdentityExpirationDate': json['digitalIdentityExpirationDate'] == null ? undefined : (new Date(json['digitalIdentityExpirationDate'])),
|
|
50
|
+
'identityDocumentType': json['identityDocumentType'] == null ? undefined : json['identityDocumentType'],
|
|
51
|
+
'identityDocumentNumber': json['identityDocumentNumber'] == null ? undefined : json['identityDocumentNumber'],
|
|
52
|
+
'identityDocumentEmittingDate': json['identityDocumentEmittingDate'] == null ? undefined : (new Date(json['identityDocumentEmittingDate'])),
|
|
53
|
+
'identityDocumentExpirationDate': json['identityDocumentExpirationDate'] == null ? undefined : (new Date(json['identityDocumentExpirationDate'])),
|
|
54
|
+
'identityDocumentEmittingCountry': json['identityDocumentEmittingCountry'] == null ? undefined : json['identityDocumentEmittingCountry'],
|
|
55
|
+
'identityDocumentMrz': json['identityDocumentMrz'] == null ? undefined : json['identityDocumentMrz'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export function FrenchNumeriqueProviderOutputToJSON(json) {
|
|
59
|
+
return FrenchNumeriqueProviderOutputToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
export function FrenchNumeriqueProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'givenName': FrenchNumeriqueGivenNameToJSON(value['givenName']),
|
|
67
|
+
'familyName': value['familyName'],
|
|
68
|
+
'preferredSurname': value['preferredSurname'],
|
|
69
|
+
'birthdate': value['birthdate'],
|
|
70
|
+
'nationality': FrenchNumeriqueNationalityToJSON(value['nationality']),
|
|
71
|
+
'sex': value['sex'],
|
|
72
|
+
'majority': value['majority'],
|
|
73
|
+
'phoneNumber': FrenchNumeriquePhoneToJSON(value['phoneNumber']),
|
|
74
|
+
'phoneNumberVerified': value['phoneNumberVerified'],
|
|
75
|
+
'email': value['email'],
|
|
76
|
+
'emailVerified': value['emailVerified'],
|
|
77
|
+
'birthplace': value['birthplace'],
|
|
78
|
+
'birthplaceLabel': value['birthplaceLabel'],
|
|
79
|
+
'birthCountry': value['birthCountry'],
|
|
80
|
+
'birthCountryIso': value['birthCountryIso'],
|
|
81
|
+
'birthCountryLabel': value['birthCountryLabel'],
|
|
82
|
+
'birthDepartment': value['birthDepartment'],
|
|
83
|
+
'digitalIdentityCreationDate': value['digitalIdentityCreationDate'] == null ? undefined : (value['digitalIdentityCreationDate'].toISOString().substring(0, 10)),
|
|
84
|
+
'digitalIdentityExpirationDate': value['digitalIdentityExpirationDate'] == null ? undefined : (value['digitalIdentityExpirationDate'].toISOString().substring(0, 10)),
|
|
85
|
+
'identityDocumentType': value['identityDocumentType'],
|
|
86
|
+
'identityDocumentNumber': value['identityDocumentNumber'],
|
|
87
|
+
'identityDocumentEmittingDate': value['identityDocumentEmittingDate'] == null ? undefined : (value['identityDocumentEmittingDate'].toISOString().substring(0, 10)),
|
|
88
|
+
'identityDocumentExpirationDate': value['identityDocumentExpirationDate'] == null ? undefined : (value['identityDocumentExpirationDate'].toISOString().substring(0, 10)),
|
|
89
|
+
'identityDocumentEmittingCountry': value['identityDocumentEmittingCountry'],
|
|
90
|
+
'identityDocumentMrz': value['identityDocumentMrz'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -16,17 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface GetAttachmentRequest {
|
|
18
18
|
/**
|
|
19
|
-
* The
|
|
19
|
+
* The Results Access Key for the Session associated with the Attachment being retrieved.
|
|
20
|
+
*
|
|
21
|
+
* This is returned during Session creation.
|
|
20
22
|
* @type {string}
|
|
21
23
|
* @memberof GetAttachmentRequest
|
|
22
24
|
*/
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* The ID of the Acceptance Session for which the Attachment is being requested.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof GetAttachmentRequest
|
|
28
|
-
*/
|
|
29
|
-
sessionId: string;
|
|
25
|
+
resultsAccessKey: string;
|
|
30
26
|
}
|
|
31
27
|
/**
|
|
32
28
|
* Check if a given object implements the GetAttachmentRequest interface.
|
|
@@ -15,9 +15,7 @@
|
|
|
15
15
|
* Check if a given object implements the GetAttachmentRequest interface.
|
|
16
16
|
*/
|
|
17
17
|
export function instanceOfGetAttachmentRequest(value) {
|
|
18
|
-
if (!('
|
|
19
|
-
return false;
|
|
20
|
-
if (!('sessionId' in value) || value['sessionId'] === undefined)
|
|
18
|
+
if (!('resultsAccessKey' in value) || value['resultsAccessKey'] === undefined)
|
|
21
19
|
return false;
|
|
22
20
|
return true;
|
|
23
21
|
}
|
|
@@ -29,8 +27,7 @@ export function GetAttachmentRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
27
|
return json;
|
|
30
28
|
}
|
|
31
29
|
return {
|
|
32
|
-
'
|
|
33
|
-
'sessionId': json['sessionId'],
|
|
30
|
+
'resultsAccessKey': json['resultsAccessKey'],
|
|
34
31
|
};
|
|
35
32
|
}
|
|
36
33
|
export function GetAttachmentRequestToJSON(json) {
|
|
@@ -41,7 +38,6 @@ export function GetAttachmentRequestToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
41
38
|
return value;
|
|
42
39
|
}
|
|
43
40
|
return {
|
|
44
|
-
'
|
|
45
|
-
'sessionId': value['sessionId'],
|
|
41
|
+
'resultsAccessKey': value['resultsAccessKey'],
|
|
46
42
|
};
|
|
47
43
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
import type { MdlOutput } from './MdlOutput';
|
|
13
|
+
/**
|
|
14
|
+
* Exposed properties for the `google-wallet` Provider which do not directly map to the normalized IdentityData model.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GoogleWalletProviderOutput
|
|
17
|
+
*/
|
|
18
|
+
export interface GoogleWalletProviderOutput {
|
|
19
|
+
/**
|
|
20
|
+
* The raw output of the mDL exchange performed through Google Wallet.
|
|
21
|
+
* @type {MdlOutput}
|
|
22
|
+
* @memberof GoogleWalletProviderOutput
|
|
23
|
+
*/
|
|
24
|
+
rawMdlOutput: MdlOutput;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the GoogleWalletProviderOutput interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfGoogleWalletProviderOutput(value: object): value is GoogleWalletProviderOutput;
|
|
30
|
+
export declare function GoogleWalletProviderOutputFromJSON(json: any): GoogleWalletProviderOutput;
|
|
31
|
+
export declare function GoogleWalletProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): GoogleWalletProviderOutput;
|
|
32
|
+
export declare function GoogleWalletProviderOutputToJSON(json: any): GoogleWalletProviderOutput;
|
|
33
|
+
export declare function GoogleWalletProviderOutputToJSONTyped(value?: GoogleWalletProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
import { MdlOutputFromJSON, MdlOutputToJSON, } from './MdlOutput';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the GoogleWalletProviderOutput interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGoogleWalletProviderOutput(value) {
|
|
19
|
+
if (!('rawMdlOutput' in value) || value['rawMdlOutput'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function GoogleWalletProviderOutputFromJSON(json) {
|
|
24
|
+
return GoogleWalletProviderOutputFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function GoogleWalletProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'rawMdlOutput': MdlOutputFromJSON(json['rawMdlOutput']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function GoogleWalletProviderOutputToJSON(json) {
|
|
35
|
+
return GoogleWalletProviderOutputToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function GoogleWalletProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'rawMdlOutput': MdlOutputToJSON(value['rawMdlOutput']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -11,9 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { DocumentData } from './DocumentData';
|
|
13
13
|
import type { PersonData } from './PersonData';
|
|
14
|
-
import type { Identifier } from './Identifier';
|
|
15
14
|
import type { ProviderOutput } from './ProviderOutput';
|
|
16
|
-
import type {
|
|
15
|
+
import type { AttachmentInfo } from './AttachmentInfo';
|
|
17
16
|
import type { MatchData } from './MatchData';
|
|
18
17
|
/**
|
|
19
18
|
*
|
|
@@ -22,53 +21,56 @@ import type { MatchData } from './MatchData';
|
|
|
22
21
|
*/
|
|
23
22
|
export interface IdentityData {
|
|
24
23
|
/**
|
|
25
|
-
*
|
|
24
|
+
* The ID of the provider from which this data originated (eg "yoti", "clear")
|
|
26
25
|
* @type {string}
|
|
27
26
|
* @memberof IdentityData
|
|
28
27
|
*/
|
|
29
28
|
originatingProviderId?: string | null;
|
|
30
29
|
/**
|
|
30
|
+
* The sub-provider ID of the provider from which this data originated (eg "rabo", "poste-italiane")
|
|
31
31
|
*
|
|
32
|
+
* This is applicable only to federated Identity Providers such as SPID and IDIN.
|
|
32
33
|
* @type {string}
|
|
33
34
|
* @memberof IdentityData
|
|
34
35
|
*/
|
|
35
36
|
originatingSubProviderId?: string | null;
|
|
36
37
|
/**
|
|
37
|
-
*
|
|
38
|
+
* Identity data of the individual who was verified
|
|
38
39
|
* @type {PersonData}
|
|
39
40
|
* @memberof IdentityData
|
|
40
41
|
*/
|
|
41
42
|
person?: PersonData | null;
|
|
42
43
|
/**
|
|
43
|
-
*
|
|
44
|
+
* Identity data of the document involved in verification, if relevant
|
|
44
45
|
* @type {DocumentData}
|
|
45
46
|
* @memberof IdentityData
|
|
46
47
|
*/
|
|
47
48
|
document?: DocumentData | null;
|
|
48
49
|
/**
|
|
50
|
+
* Match results for the data being matched against.
|
|
49
51
|
*
|
|
52
|
+
* This applies to Providers which operate based on matching data / biometrics against a government database,
|
|
53
|
+
* returning match scores or results as opposed to the data itself.
|
|
50
54
|
* @type {MatchData}
|
|
51
55
|
* @memberof IdentityData
|
|
52
56
|
*/
|
|
53
57
|
match?: MatchData | null;
|
|
54
58
|
/**
|
|
59
|
+
* Information for each attachment included with this set of identity data.
|
|
55
60
|
*
|
|
56
|
-
*
|
|
61
|
+
* Use the Attachments API to fetch an attachment by its ID for a given Session.
|
|
62
|
+
* @type {Array<AttachmentInfo>}
|
|
57
63
|
* @memberof IdentityData
|
|
58
64
|
*/
|
|
59
|
-
|
|
65
|
+
attachments: Array<AttachmentInfo>;
|
|
60
66
|
/**
|
|
67
|
+
* Provider-specific output data that doesn't fit the standard identity data schema.
|
|
61
68
|
*
|
|
69
|
+
* The structure of this object varies by provider.
|
|
62
70
|
* @type {ProviderOutput}
|
|
63
71
|
* @memberof IdentityData
|
|
64
72
|
*/
|
|
65
73
|
providerOutput?: ProviderOutput | null;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {Array<Identifier>}
|
|
69
|
-
* @memberof IdentityData
|
|
70
|
-
*/
|
|
71
|
-
identifiers: Array<Identifier>;
|
|
72
74
|
}
|
|
73
75
|
/**
|
|
74
76
|
* Check if a given object implements the IdentityData interface.
|
|
@@ -13,15 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { DocumentDataFromJSON, DocumentDataToJSON, } from './DocumentData';
|
|
15
15
|
import { PersonDataFromJSON, PersonDataToJSON, } from './PersonData';
|
|
16
|
-
import { IdentifierFromJSON, IdentifierToJSON, } from './Identifier';
|
|
17
16
|
import { ProviderOutputFromJSON, ProviderOutputToJSON, } from './ProviderOutput';
|
|
18
|
-
import {
|
|
17
|
+
import { AttachmentInfoFromJSON, AttachmentInfoToJSON, } from './AttachmentInfo';
|
|
19
18
|
import { MatchDataFromJSON, MatchDataToJSON, } from './MatchData';
|
|
20
19
|
/**
|
|
21
20
|
* Check if a given object implements the IdentityData interface.
|
|
22
21
|
*/
|
|
23
22
|
export function instanceOfIdentityData(value) {
|
|
24
|
-
if (!('
|
|
23
|
+
if (!('attachments' in value) || value['attachments'] === undefined)
|
|
25
24
|
return false;
|
|
26
25
|
return true;
|
|
27
26
|
}
|
|
@@ -38,9 +37,8 @@ export function IdentityDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
37
|
'person': json['person'] == null ? undefined : PersonDataFromJSON(json['person']),
|
|
39
38
|
'document': json['document'] == null ? undefined : DocumentDataFromJSON(json['document']),
|
|
40
39
|
'match': json['match'] == null ? undefined : MatchDataFromJSON(json['match']),
|
|
41
|
-
'
|
|
40
|
+
'attachments': (json['attachments'].map(AttachmentInfoFromJSON)),
|
|
42
41
|
'providerOutput': json['providerOutput'] == null ? undefined : ProviderOutputFromJSON(json['providerOutput']),
|
|
43
|
-
'identifiers': (json['identifiers'].map(IdentifierFromJSON)),
|
|
44
42
|
};
|
|
45
43
|
}
|
|
46
44
|
export function IdentityDataToJSON(json) {
|
|
@@ -56,8 +54,7 @@ export function IdentityDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
56
54
|
'person': PersonDataToJSON(value['person']),
|
|
57
55
|
'document': DocumentDataToJSON(value['document']),
|
|
58
56
|
'match': MatchDataToJSON(value['match']),
|
|
59
|
-
'
|
|
57
|
+
'attachments': (value['attachments'].map(AttachmentInfoToJSON)),
|
|
60
58
|
'providerOutput': ProviderOutputToJSON(value['providerOutput']),
|
|
61
|
-
'identifiers': (value['identifiers'].map(IdentifierToJSON)),
|
|
62
59
|
};
|
|
63
60
|
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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 `a-itsme-login` Provider which do not directly map to the normalized IdentityData model.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ItsmeProviderOutput
|
|
16
|
+
*/
|
|
17
|
+
export interface ItsmeProviderOutput {
|
|
18
|
+
/**
|
|
19
|
+
* The first name of the verified individual
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ItsmeProviderOutput
|
|
22
|
+
*/
|
|
23
|
+
firstName: string;
|
|
24
|
+
/**
|
|
25
|
+
* The last name of the verified individual
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ItsmeProviderOutput
|
|
28
|
+
*/
|
|
29
|
+
lastName: string;
|
|
30
|
+
/**
|
|
31
|
+
* The date of birth of the verified individual
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof ItsmeProviderOutput
|
|
34
|
+
*/
|
|
35
|
+
dateOfBirth: Date;
|
|
36
|
+
/**
|
|
37
|
+
* The hashed version of the Belgian National Register Number of the verified individual.
|
|
38
|
+
*
|
|
39
|
+
* By default, itsme does not return the raw National Register Number of the individual; instead, only a hashed version is returned.
|
|
40
|
+
*
|
|
41
|
+
* Your account must be approved by itsme to receive the raw, unhashed National Register Number.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ItsmeProviderOutput
|
|
44
|
+
*/
|
|
45
|
+
hashedNationalRegisterNumber?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* The raw (not hashed) Belgian National Register Number ("Rijksregisternummer") of the verified individual.
|
|
48
|
+
*
|
|
49
|
+
* Only returned if your account has been explicitly authorized to receive it by itsme; by law, this data is considered sensitive personal data.
|
|
50
|
+
*
|
|
51
|
+
* This is an 11-digit number in the format YYMMDDXXXCC, where:
|
|
52
|
+
* - YYMMDD represents the individual's date of birth (year, month, day).
|
|
53
|
+
* - XXX is a sequential birth number, odd for females and even for males.
|
|
54
|
+
* - CC is a checksum, calculated with the equation: 97 - (YYMMDDXXX mod 97)
|
|
55
|
+
*
|
|
56
|
+
* For births in the year 2000 or later, the digit '2' is prepended to the first 9 digits during checksum calculation.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof ItsmeProviderOutput
|
|
59
|
+
*/
|
|
60
|
+
nationalRegisterNumber?: string | null;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the ItsmeProviderOutput interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfItsmeProviderOutput(value: object): value is ItsmeProviderOutput;
|
|
66
|
+
export declare function ItsmeProviderOutputFromJSON(json: any): ItsmeProviderOutput;
|
|
67
|
+
export declare function ItsmeProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ItsmeProviderOutput;
|
|
68
|
+
export declare function ItsmeProviderOutputToJSON(json: any): ItsmeProviderOutput;
|
|
69
|
+
export declare function ItsmeProviderOutputToJSONTyped(value?: ItsmeProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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 ItsmeProviderOutput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfItsmeProviderOutput(value) {
|
|
18
|
+
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('dateOfBirth' in value) || value['dateOfBirth'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ItsmeProviderOutputFromJSON(json) {
|
|
27
|
+
return ItsmeProviderOutputFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ItsmeProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'firstName': json['firstName'],
|
|
35
|
+
'lastName': json['lastName'],
|
|
36
|
+
'dateOfBirth': (new Date(json['dateOfBirth'])),
|
|
37
|
+
'hashedNationalRegisterNumber': json['hashedNationalRegisterNumber'] == null ? undefined : json['hashedNationalRegisterNumber'],
|
|
38
|
+
'nationalRegisterNumber': json['nationalRegisterNumber'] == null ? undefined : json['nationalRegisterNumber'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ItsmeProviderOutputToJSON(json) {
|
|
42
|
+
return ItsmeProviderOutputToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ItsmeProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'firstName': value['firstName'],
|
|
50
|
+
'lastName': value['lastName'],
|
|
51
|
+
'dateOfBirth': ((value['dateOfBirth']).toISOString().substring(0, 10)),
|
|
52
|
+
'hashedNationalRegisterNumber': value['hashedNationalRegisterNumber'],
|
|
53
|
+
'nationalRegisterNumber': value['nationalRegisterNumber'],
|
|
54
|
+
};
|
|
55
|
+
}
|