@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
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { SpidBillingInformation } from './SpidBillingInformation';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Exposed properties for the `italy-spid` Provider which do not directly map to the normalized IdentityData model.
|
|
15
15
|
* @export
|
|
16
16
|
* @interface SpidProviderOutput
|
|
17
17
|
*/
|
|
@@ -25,25 +25,25 @@ export interface SpidProviderOutput {
|
|
|
25
25
|
*/
|
|
26
26
|
billingInformation?: SpidBillingInformation | null;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Unique user identifier contained within the SPID identity.
|
|
28
|
+
* The SPID Entity ID of the Identity Provider which issued the SPID identity.
|
|
29
|
+
*
|
|
30
|
+
* This is an HTTPS URI which uniquely identifies the IdP within the SPID federation.
|
|
31
|
+
*
|
|
32
|
+
* A normalized / simplified representation of this value is present in the `originatingSubProviderId` field in Trinsic's normalized data model.
|
|
35
33
|
* @type {string}
|
|
36
34
|
* @memberof SpidProviderOutput
|
|
37
35
|
*/
|
|
38
|
-
|
|
36
|
+
identityProviderEntityId: string;
|
|
39
37
|
/**
|
|
40
|
-
*
|
|
38
|
+
* The identifier of the SPID credential, uniquely identifying it within the SPID federation.
|
|
39
|
+
*
|
|
40
|
+
* The format of this string is specific to each individual Identity Provider.
|
|
41
41
|
* @type {string}
|
|
42
42
|
* @memberof SpidProviderOutput
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
spidCode: string;
|
|
45
45
|
/**
|
|
46
|
-
* Expiration date of the
|
|
46
|
+
* Expiration date of the SPID credential.
|
|
47
47
|
*
|
|
48
48
|
* This is not the same as the expiration date of the underlying identity document (such as a passport) which was
|
|
49
49
|
* used to create the SPID identity.
|
|
@@ -51,6 +51,136 @@ export interface SpidProviderOutput {
|
|
|
51
51
|
* @memberof SpidProviderOutput
|
|
52
52
|
*/
|
|
53
53
|
spidCredentialExpirationDate?: Date | null;
|
|
54
|
+
/**
|
|
55
|
+
* The raw, space-separated string value for the "IdCard" field from the SPID credential.
|
|
56
|
+
*
|
|
57
|
+
* Trinsic additionally parses this field and uses it to populate the `Document` object in the normalized data model.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof SpidProviderOutput
|
|
60
|
+
*/
|
|
61
|
+
rawIdCard?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* The individual's first / given name(s)
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof SpidProviderOutput
|
|
66
|
+
*/
|
|
67
|
+
givenName?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* The individual's last / family name(s)
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof SpidProviderOutput
|
|
72
|
+
*/
|
|
73
|
+
familyName?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* The date of birth of the individual
|
|
76
|
+
* @type {Date}
|
|
77
|
+
* @memberof SpidProviderOutput
|
|
78
|
+
*/
|
|
79
|
+
dateOfBirth?: Date | null;
|
|
80
|
+
/**
|
|
81
|
+
* The gender of the individual.
|
|
82
|
+
*
|
|
83
|
+
* Possible values: "M" | "F"
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof SpidProviderOutput
|
|
86
|
+
*/
|
|
87
|
+
gender?: string | null;
|
|
88
|
+
/**
|
|
89
|
+
* The individual's place of birth.
|
|
90
|
+
*
|
|
91
|
+
* This is a 4-digit Belfiore Code identifying either the municipality of birth (for births in Italy) or a foreign country (for births outside Italy).
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof SpidProviderOutput
|
|
94
|
+
*/
|
|
95
|
+
placeOfBirth?: string | null;
|
|
96
|
+
/**
|
|
97
|
+
* The individual's county (province) of birth, abbreviated.
|
|
98
|
+
*
|
|
99
|
+
* For foreign births, this is "EE".
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof SpidProviderOutput
|
|
102
|
+
*/
|
|
103
|
+
countyOfBirth?: string | null;
|
|
104
|
+
/**
|
|
105
|
+
* The street address of the individual's residence.
|
|
106
|
+
*
|
|
107
|
+
* This includes street name, street type, and house number, in the standard format for the given state.
|
|
108
|
+
* @type {string}
|
|
109
|
+
* @memberof SpidProviderOutput
|
|
110
|
+
*/
|
|
111
|
+
domicileStreetAddress?: string | null;
|
|
112
|
+
/**
|
|
113
|
+
* The postal code of the individual's residence
|
|
114
|
+
* @type {string}
|
|
115
|
+
* @memberof SpidProviderOutput
|
|
116
|
+
*/
|
|
117
|
+
domicilePostalCode?: string | null;
|
|
118
|
+
/**
|
|
119
|
+
* The municipality of the individual's residence
|
|
120
|
+
* @type {string}
|
|
121
|
+
* @memberof SpidProviderOutput
|
|
122
|
+
*/
|
|
123
|
+
domicileMunicipality?: string | null;
|
|
124
|
+
/**
|
|
125
|
+
* The province of the individual's residence
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof SpidProviderOutput
|
|
128
|
+
*/
|
|
129
|
+
domicileProvince?: string | null;
|
|
130
|
+
/**
|
|
131
|
+
* The 2-digit country code of the individual's residence
|
|
132
|
+
* @type {string}
|
|
133
|
+
* @memberof SpidProviderOutput
|
|
134
|
+
*/
|
|
135
|
+
domicileNation?: string | null;
|
|
136
|
+
/**
|
|
137
|
+
* The email address of the individual
|
|
138
|
+
* @type {string}
|
|
139
|
+
* @memberof SpidProviderOutput
|
|
140
|
+
*/
|
|
141
|
+
email?: string | null;
|
|
142
|
+
/**
|
|
143
|
+
* The mobile phone number of the individual, in Italian format.
|
|
144
|
+
* @type {string}
|
|
145
|
+
* @memberof SpidProviderOutput
|
|
146
|
+
*/
|
|
147
|
+
mobilePhone?: string | null;
|
|
148
|
+
/**
|
|
149
|
+
* The PEC (Italian Certified Email) address of the individual or organization.
|
|
150
|
+
* @type {string}
|
|
151
|
+
* @memberof SpidProviderOutput
|
|
152
|
+
*/
|
|
153
|
+
digitalAddress?: string | null;
|
|
154
|
+
/**
|
|
155
|
+
* Fiscal tax number for the individual.
|
|
156
|
+
* @type {string}
|
|
157
|
+
* @memberof SpidProviderOutput
|
|
158
|
+
*/
|
|
159
|
+
fiscalNumber?: string | null;
|
|
160
|
+
/**
|
|
161
|
+
* The VAT number of the organization which was verified, or of the organization which the verified individual is associated with.
|
|
162
|
+
* @type {string}
|
|
163
|
+
* @memberof SpidProviderOutput
|
|
164
|
+
*/
|
|
165
|
+
ivaCode?: string | null;
|
|
166
|
+
/**
|
|
167
|
+
* The name of the organization which was verified, or of the organization which the verified individual is associated with.
|
|
168
|
+
* @type {string}
|
|
169
|
+
* @memberof SpidProviderOutput
|
|
170
|
+
*/
|
|
171
|
+
companyName?: string | null;
|
|
172
|
+
/**
|
|
173
|
+
* The fiscal tax number of the organization which was verified, or of the organization which the verified individual is associated with.
|
|
174
|
+
* @type {string}
|
|
175
|
+
* @memberof SpidProviderOutput
|
|
176
|
+
*/
|
|
177
|
+
companyFiscalNumber?: string | null;
|
|
178
|
+
/**
|
|
179
|
+
* The registered office address of the organization which was verified, or of the organization which the verified individual is associated with.
|
|
180
|
+
* @type {string}
|
|
181
|
+
* @memberof SpidProviderOutput
|
|
182
|
+
*/
|
|
183
|
+
registeredOffice?: string | null;
|
|
54
184
|
}
|
|
55
185
|
/**
|
|
56
186
|
* Check if a given object implements the SpidProviderOutput interface.
|
|
@@ -16,6 +16,10 @@ import { SpidBillingInformationFromJSON, SpidBillingInformationToJSON, } from '.
|
|
|
16
16
|
* Check if a given object implements the SpidProviderOutput interface.
|
|
17
17
|
*/
|
|
18
18
|
export function instanceOfSpidProviderOutput(value) {
|
|
19
|
+
if (!('identityProviderEntityId' in value) || value['identityProviderEntityId'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('spidCode' in value) || value['spidCode'] === undefined)
|
|
22
|
+
return false;
|
|
19
23
|
return true;
|
|
20
24
|
}
|
|
21
25
|
export function SpidProviderOutputFromJSON(json) {
|
|
@@ -27,10 +31,29 @@ export function SpidProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
31
|
}
|
|
28
32
|
return {
|
|
29
33
|
'billingInformation': json['billingInformation'] == null ? undefined : SpidBillingInformationFromJSON(json['billingInformation']),
|
|
34
|
+
'identityProviderEntityId': json['identityProviderEntityId'],
|
|
35
|
+
'spidCode': json['spidCode'],
|
|
36
|
+
'spidCredentialExpirationDate': json['spidCredentialExpirationDate'] == null ? undefined : (new Date(json['spidCredentialExpirationDate'])),
|
|
37
|
+
'rawIdCard': json['rawIdCard'] == null ? undefined : json['rawIdCard'],
|
|
38
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
39
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
40
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
41
|
+
'gender': json['gender'] == null ? undefined : json['gender'],
|
|
42
|
+
'placeOfBirth': json['placeOfBirth'] == null ? undefined : json['placeOfBirth'],
|
|
43
|
+
'countyOfBirth': json['countyOfBirth'] == null ? undefined : json['countyOfBirth'],
|
|
44
|
+
'domicileStreetAddress': json['domicileStreetAddress'] == null ? undefined : json['domicileStreetAddress'],
|
|
45
|
+
'domicilePostalCode': json['domicilePostalCode'] == null ? undefined : json['domicilePostalCode'],
|
|
46
|
+
'domicileMunicipality': json['domicileMunicipality'] == null ? undefined : json['domicileMunicipality'],
|
|
47
|
+
'domicileProvince': json['domicileProvince'] == null ? undefined : json['domicileProvince'],
|
|
48
|
+
'domicileNation': json['domicileNation'] == null ? undefined : json['domicileNation'],
|
|
49
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
50
|
+
'mobilePhone': json['mobilePhone'] == null ? undefined : json['mobilePhone'],
|
|
51
|
+
'digitalAddress': json['digitalAddress'] == null ? undefined : json['digitalAddress'],
|
|
30
52
|
'fiscalNumber': json['fiscalNumber'] == null ? undefined : json['fiscalNumber'],
|
|
31
|
-
'spidCode': json['spidCode'] == null ? undefined : json['spidCode'],
|
|
32
53
|
'ivaCode': json['ivaCode'] == null ? undefined : json['ivaCode'],
|
|
33
|
-
'
|
|
54
|
+
'companyName': json['companyName'] == null ? undefined : json['companyName'],
|
|
55
|
+
'companyFiscalNumber': json['companyFiscalNumber'] == null ? undefined : json['companyFiscalNumber'],
|
|
56
|
+
'registeredOffice': json['registeredOffice'] == null ? undefined : json['registeredOffice'],
|
|
34
57
|
};
|
|
35
58
|
}
|
|
36
59
|
export function SpidProviderOutputToJSON(json) {
|
|
@@ -42,9 +65,28 @@ export function SpidProviderOutputToJSONTyped(value, ignoreDiscriminator = false
|
|
|
42
65
|
}
|
|
43
66
|
return {
|
|
44
67
|
'billingInformation': SpidBillingInformationToJSON(value['billingInformation']),
|
|
45
|
-
'
|
|
68
|
+
'identityProviderEntityId': value['identityProviderEntityId'],
|
|
46
69
|
'spidCode': value['spidCode'],
|
|
47
|
-
'ivaCode': value['ivaCode'],
|
|
48
70
|
'spidCredentialExpirationDate': value['spidCredentialExpirationDate'] == null ? undefined : (value['spidCredentialExpirationDate'].toISOString().substring(0, 10)),
|
|
71
|
+
'rawIdCard': value['rawIdCard'],
|
|
72
|
+
'givenName': value['givenName'],
|
|
73
|
+
'familyName': value['familyName'],
|
|
74
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
|
|
75
|
+
'gender': value['gender'],
|
|
76
|
+
'placeOfBirth': value['placeOfBirth'],
|
|
77
|
+
'countyOfBirth': value['countyOfBirth'],
|
|
78
|
+
'domicileStreetAddress': value['domicileStreetAddress'],
|
|
79
|
+
'domicilePostalCode': value['domicilePostalCode'],
|
|
80
|
+
'domicileMunicipality': value['domicileMunicipality'],
|
|
81
|
+
'domicileProvince': value['domicileProvince'],
|
|
82
|
+
'domicileNation': value['domicileNation'],
|
|
83
|
+
'email': value['email'],
|
|
84
|
+
'mobilePhone': value['mobilePhone'],
|
|
85
|
+
'digitalAddress': value['digitalAddress'],
|
|
86
|
+
'fiscalNumber': value['fiscalNumber'],
|
|
87
|
+
'ivaCode': value['ivaCode'],
|
|
88
|
+
'companyName': value['companyName'],
|
|
89
|
+
'companyFiscalNumber': value['companyFiscalNumber'],
|
|
90
|
+
'registeredOffice': value['registeredOffice'],
|
|
49
91
|
};
|
|
50
92
|
}
|
|
@@ -38,15 +38,6 @@ export interface SubProviderMetadata {
|
|
|
38
38
|
* @memberof SubProviderMetadata
|
|
39
39
|
*/
|
|
40
40
|
subtext: string;
|
|
41
|
-
/**
|
|
42
|
-
* The Provider's subtext recommended to be shown next to the name.
|
|
43
|
-
*
|
|
44
|
-
* This is flavor text, not a full, human-readable description of the provider.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof SubProviderMetadata
|
|
47
|
-
* @deprecated
|
|
48
|
-
*/
|
|
49
|
-
description: string;
|
|
50
41
|
/**
|
|
51
42
|
* A URL pointing to the logo on Trinsic's CDN.
|
|
52
43
|
*
|
|
@@ -21,8 +21,6 @@ export function instanceOfSubProviderMetadata(value) {
|
|
|
21
21
|
return false;
|
|
22
22
|
if (!('subtext' in value) || value['subtext'] === undefined)
|
|
23
23
|
return false;
|
|
24
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
25
|
-
return false;
|
|
26
24
|
if (!('logoUrl' in value) || value['logoUrl'] === undefined)
|
|
27
25
|
return false;
|
|
28
26
|
return true;
|
|
@@ -38,7 +36,6 @@ export function SubProviderMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
36
|
'id': json['id'],
|
|
39
37
|
'name': json['name'],
|
|
40
38
|
'subtext': json['subtext'],
|
|
41
|
-
'description': json['description'],
|
|
42
39
|
'logoUrl': json['logoUrl'],
|
|
43
40
|
};
|
|
44
41
|
}
|
|
@@ -53,7 +50,6 @@ export function SubProviderMetadataToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
53
50
|
'id': value['id'],
|
|
54
51
|
'name': value['name'],
|
|
55
52
|
'subtext': value['subtext'],
|
|
56
|
-
'description': value['description'],
|
|
57
53
|
'logoUrl': value['logoUrl'],
|
|
58
54
|
};
|
|
59
55
|
}
|
|
@@ -0,0 +1,110 @@
|
|
|
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 `sweden-bankid` Provider which do not directly map to the normalized IdentityData model.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SwedenBankIdProviderOutput
|
|
16
|
+
*/
|
|
17
|
+
export interface SwedenBankIdProviderOutput {
|
|
18
|
+
/**
|
|
19
|
+
* The full name of the individual.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SwedenBankIdProviderOutput
|
|
22
|
+
*/
|
|
23
|
+
fullName?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* The date of birth of the individual.
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof SwedenBankIdProviderOutput
|
|
28
|
+
*/
|
|
29
|
+
dateOfBirth?: Date | null;
|
|
30
|
+
/**
|
|
31
|
+
* The Swedish personal number (personnummer) associated with the verified individual. The value is typically a 12-digit number.
|
|
32
|
+
* This is in the format YYYYMMDDXXXX, where:
|
|
33
|
+
* - YYYYMMDD is the date of birth.
|
|
34
|
+
* - XXXX is an individual number, indicating gender.
|
|
35
|
+
*
|
|
36
|
+
* If XXXX is even, the individual is female.
|
|
37
|
+
* If XXXX is odd, the individual is male.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SwedenBankIdProviderOutput
|
|
40
|
+
*/
|
|
41
|
+
personalIdentityNumber?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* The given name of the individual
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SwedenBankIdProviderOutput
|
|
46
|
+
*/
|
|
47
|
+
givenName?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* The family name of the individual
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SwedenBankIdProviderOutput
|
|
52
|
+
*/
|
|
53
|
+
familyName?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* The end user's country on the verified certificate. This is ISO 2-character code of the country.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SwedenBankIdProviderOutput
|
|
58
|
+
*/
|
|
59
|
+
country?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* The object identifier policy of the individual's verified certificate
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof SwedenBankIdProviderOutput
|
|
64
|
+
*/
|
|
65
|
+
certificatePolicy?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* The common name of the end user's verified certificate
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof SwedenBankIdProviderOutput
|
|
70
|
+
*/
|
|
71
|
+
commonName?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* The distinguished name of the end user's verified certificate
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof SwedenBankIdProviderOutput
|
|
76
|
+
*/
|
|
77
|
+
distinguishedName?: string | null;
|
|
78
|
+
/**
|
|
79
|
+
* The country that issued the Swedish personal number. This is an ISO 2-character code of the country and is extracted from the certificate. This will always be `SE`.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof SwedenBankIdProviderOutput
|
|
82
|
+
*/
|
|
83
|
+
personalIdentityNumberIssuingCountry?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* The IP address of the device used for authentication
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof SwedenBankIdProviderOutput
|
|
88
|
+
*/
|
|
89
|
+
authenticationDeviceIp?: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* The certificate validity start date (not before) in UTC
|
|
92
|
+
* @type {Date}
|
|
93
|
+
* @memberof SwedenBankIdProviderOutput
|
|
94
|
+
*/
|
|
95
|
+
notBefore?: Date | null;
|
|
96
|
+
/**
|
|
97
|
+
* The certificate validity end date (not after) in UTC
|
|
98
|
+
* @type {Date}
|
|
99
|
+
* @memberof SwedenBankIdProviderOutput
|
|
100
|
+
*/
|
|
101
|
+
notAfter?: Date | null;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Check if a given object implements the SwedenBankIdProviderOutput interface.
|
|
105
|
+
*/
|
|
106
|
+
export declare function instanceOfSwedenBankIdProviderOutput(value: object): value is SwedenBankIdProviderOutput;
|
|
107
|
+
export declare function SwedenBankIdProviderOutputFromJSON(json: any): SwedenBankIdProviderOutput;
|
|
108
|
+
export declare function SwedenBankIdProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SwedenBankIdProviderOutput;
|
|
109
|
+
export declare function SwedenBankIdProviderOutputToJSON(json: any): SwedenBankIdProviderOutput;
|
|
110
|
+
export declare function SwedenBankIdProviderOutputToJSONTyped(value?: SwedenBankIdProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
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 SwedenBankIdProviderOutput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSwedenBankIdProviderOutput(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SwedenBankIdProviderOutputFromJSON(json) {
|
|
21
|
+
return SwedenBankIdProviderOutputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SwedenBankIdProviderOutputFromJSONTyped(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
|
+
'personalIdentityNumber': json['personalIdentityNumber'] == null ? undefined : json['personalIdentityNumber'],
|
|
31
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
32
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
33
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
34
|
+
'certificatePolicy': json['certificatePolicy'] == null ? undefined : json['certificatePolicy'],
|
|
35
|
+
'commonName': json['commonName'] == null ? undefined : json['commonName'],
|
|
36
|
+
'distinguishedName': json['distinguishedName'] == null ? undefined : json['distinguishedName'],
|
|
37
|
+
'personalIdentityNumberIssuingCountry': json['personalIdentityNumberIssuingCountry'] == null ? undefined : json['personalIdentityNumberIssuingCountry'],
|
|
38
|
+
'authenticationDeviceIp': json['authenticationDeviceIp'] == null ? undefined : json['authenticationDeviceIp'],
|
|
39
|
+
'notBefore': json['notBefore'] == null ? undefined : (new Date(json['notBefore'])),
|
|
40
|
+
'notAfter': json['notAfter'] == null ? undefined : (new Date(json['notAfter'])),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function SwedenBankIdProviderOutputToJSON(json) {
|
|
44
|
+
return SwedenBankIdProviderOutputToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function SwedenBankIdProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'fullName': value['fullName'],
|
|
52
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
|
|
53
|
+
'personalIdentityNumber': value['personalIdentityNumber'],
|
|
54
|
+
'givenName': value['givenName'],
|
|
55
|
+
'familyName': value['familyName'],
|
|
56
|
+
'country': value['country'],
|
|
57
|
+
'certificatePolicy': value['certificatePolicy'],
|
|
58
|
+
'commonName': value['commonName'],
|
|
59
|
+
'distinguishedName': value['distinguishedName'],
|
|
60
|
+
'personalIdentityNumberIssuingCountry': value['personalIdentityNumberIssuingCountry'],
|
|
61
|
+
'authenticationDeviceIp': value['authenticationDeviceIp'],
|
|
62
|
+
'notBefore': value['notBefore'] == null ? undefined : (value['notBefore'].toISOString()),
|
|
63
|
+
'notAfter': value['notAfter'] == null ? undefined : (value['notAfter'].toISOString()),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 UgandaNidMatch2Input
|
|
16
|
+
*/
|
|
17
|
+
export interface UgandaNidMatch2Input {
|
|
18
|
+
/**
|
|
19
|
+
* The user's Uganda National ID number (NIN) - 14 alphanumeric characters
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UgandaNidMatch2Input
|
|
22
|
+
*/
|
|
23
|
+
idNumber?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* The card number on the document (secondary ID number).
|
|
26
|
+
* Required for Uganda Basic KYC instead of first name and last name.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof UgandaNidMatch2Input
|
|
29
|
+
*/
|
|
30
|
+
secondaryIdNumber?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* The user's date of birth, in `YYYY-MM-DD` format
|
|
33
|
+
* @type {Date}
|
|
34
|
+
* @memberof UgandaNidMatch2Input
|
|
35
|
+
*/
|
|
36
|
+
dateOfBirth?: Date | null;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the UgandaNidMatch2Input interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfUgandaNidMatch2Input(value: object): value is UgandaNidMatch2Input;
|
|
42
|
+
export declare function UgandaNidMatch2InputFromJSON(json: any): UgandaNidMatch2Input;
|
|
43
|
+
export declare function UgandaNidMatch2InputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UgandaNidMatch2Input;
|
|
44
|
+
export declare function UgandaNidMatch2InputToJSON(json: any): UgandaNidMatch2Input;
|
|
45
|
+
export declare function UgandaNidMatch2InputToJSONTyped(value?: UgandaNidMatch2Input | 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 UgandaNidMatch2Input interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfUgandaNidMatch2Input(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function UgandaNidMatch2InputFromJSON(json) {
|
|
21
|
+
return UgandaNidMatch2InputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function UgandaNidMatch2InputFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'idNumber': json['idNumber'] == null ? undefined : json['idNumber'],
|
|
29
|
+
'secondaryIdNumber': json['secondaryIdNumber'] == null ? undefined : json['secondaryIdNumber'],
|
|
30
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function UgandaNidMatch2InputToJSON(json) {
|
|
34
|
+
return UgandaNidMatch2InputToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function UgandaNidMatch2InputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'idNumber': value['idNumber'],
|
|
42
|
+
'secondaryIdNumber': value['secondaryIdNumber'],
|
|
43
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -51,6 +51,12 @@ export interface VerificationProfileResponse {
|
|
|
51
51
|
* @memberof VerificationProfileResponse
|
|
52
52
|
*/
|
|
53
53
|
enabledProviders: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Whether this profile is for production usage. Only applicable for Live environment profiles.
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof VerificationProfileResponse
|
|
58
|
+
*/
|
|
59
|
+
isProductionUsage: boolean;
|
|
54
60
|
}
|
|
55
61
|
/**
|
|
56
62
|
* Check if a given object implements the VerificationProfileResponse interface.
|
|
@@ -27,6 +27,8 @@ export function instanceOfVerificationProfileResponse(value) {
|
|
|
27
27
|
return false;
|
|
28
28
|
if (!('enabledProviders' in value) || value['enabledProviders'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
+
if (!('isProductionUsage' in value) || value['isProductionUsage'] === undefined)
|
|
31
|
+
return false;
|
|
30
32
|
return true;
|
|
31
33
|
}
|
|
32
34
|
export function VerificationProfileResponseFromJSON(json) {
|
|
@@ -43,6 +45,7 @@ export function VerificationProfileResponseFromJSONTyped(json, ignoreDiscriminat
|
|
|
43
45
|
'logoUrl': json['logoUrl'],
|
|
44
46
|
'primaryColor': json['primaryColor'],
|
|
45
47
|
'enabledProviders': json['enabledProviders'],
|
|
48
|
+
'isProductionUsage': json['isProductionUsage'],
|
|
46
49
|
};
|
|
47
50
|
}
|
|
48
51
|
export function VerificationProfileResponseToJSON(json) {
|
|
@@ -59,5 +62,6 @@ export function VerificationProfileResponseToJSONTyped(value, ignoreDiscriminato
|
|
|
59
62
|
'logoUrl': value['logoUrl'],
|
|
60
63
|
'primaryColor': value['primaryColor'],
|
|
61
64
|
'enabledProviders': value['enabledProviders'],
|
|
65
|
+
'isProductionUsage': value['isProductionUsage'],
|
|
62
66
|
};
|
|
63
67
|
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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 YotiDocumentDetails
|
|
16
|
+
*/
|
|
17
|
+
export interface YotiDocumentDetails {
|
|
18
|
+
/**
|
|
19
|
+
* The type of document used to create the Yoti credential.
|
|
20
|
+
*
|
|
21
|
+
* Possible values:
|
|
22
|
+
* - PASSPORT: A government-issued identity document
|
|
23
|
+
* - DRIVING_LICENCE: A government-issued identity card
|
|
24
|
+
* - NATIONAL_ID: A government-issued identity card
|
|
25
|
+
* - PASS_CARD: A physical or digital identity card that is accredited by the UK's national Proof of Age Standards Scheme (PASS)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof YotiDocumentDetails
|
|
28
|
+
*/
|
|
29
|
+
type?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* The issuing country's ISO alpha-3 code
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof YotiDocumentDetails
|
|
34
|
+
*/
|
|
35
|
+
issuingCountry?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* The arbitrary document number for the provided document type
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof YotiDocumentDetails
|
|
40
|
+
*/
|
|
41
|
+
documentNumber?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* The document's expiration date in YYYY-MM-DD format
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof YotiDocumentDetails
|
|
46
|
+
*/
|
|
47
|
+
expirationDate?: Date | null;
|
|
48
|
+
/**
|
|
49
|
+
* The document's issuing authority. This can either be a country code as a specified ISO alpha-3 or the name of the issuing authority.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof YotiDocumentDetails
|
|
52
|
+
*/
|
|
53
|
+
issuingAuthority?: string | null;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the YotiDocumentDetails interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfYotiDocumentDetails(value: object): value is YotiDocumentDetails;
|
|
59
|
+
export declare function YotiDocumentDetailsFromJSON(json: any): YotiDocumentDetails;
|
|
60
|
+
export declare function YotiDocumentDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): YotiDocumentDetails;
|
|
61
|
+
export declare function YotiDocumentDetailsToJSON(json: any): YotiDocumentDetails;
|
|
62
|
+
export declare function YotiDocumentDetailsToJSONTyped(value?: YotiDocumentDetails | null, ignoreDiscriminator?: boolean): any;
|