@trinsic/api 2.3.0-alpha2 → 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 +63 -30
- package/dist/apis/ProvidersApi.d.ts +53 -0
- package/dist/apis/{AttachmentsApi.js → ProvidersApi.js} +16 -15
- package/dist/{esm/apis/EnvironmentRedirectUrisApi.d.ts → apis/RedirectUrisApi.d.ts} +24 -24
- package/dist/apis/{EnvironmentRedirectUrisApi.js → RedirectUrisApi.js} +14 -14
- package/dist/apis/SessionsApi.d.ts +63 -5
- package/dist/apis/SessionsApi.js +80 -2
- package/dist/apis/VerificationProfilesApi.d.ts +4 -2
- package/dist/apis/VerificationProfilesApi.js +5 -2
- package/dist/apis/index.d.ts +2 -4
- package/dist/apis/index.js +2 -4
- package/dist/esm/apis/ProvidersApi.d.ts +53 -0
- package/dist/esm/apis/{AttachmentsApi.js → ProvidersApi.js} +15 -14
- package/dist/{apis/EnvironmentRedirectUrisApi.d.ts → esm/apis/RedirectUrisApi.d.ts} +24 -24
- package/dist/esm/apis/{EnvironmentRedirectUrisApi.js → RedirectUrisApi.js} +13 -13
- package/dist/esm/apis/SessionsApi.d.ts +63 -5
- package/dist/esm/apis/SessionsApi.js +81 -3
- package/dist/esm/apis/VerificationProfilesApi.d.ts +4 -2
- package/dist/esm/apis/VerificationProfilesApi.js +5 -2
- package/dist/esm/apis/index.d.ts +2 -4
- package/dist/esm/apis/index.js +2 -4
- package/dist/esm/models/AddRedirectUriRequest.d.ts +32 -0
- package/dist/esm/models/{EnvironmentRedirectUrisAddRequest.js → AddRedirectUriRequest.js} +8 -8
- package/dist/esm/models/Address.d.ts +5 -2
- package/dist/esm/models/AppleWalletProviderOutput.d.ts +33 -0
- package/dist/esm/models/AppleWalletProviderOutput.js +44 -0
- package/dist/esm/models/AttachmentInfo.d.ts +62 -0
- package/dist/esm/models/AttachmentInfo.js +55 -0
- package/dist/esm/models/AttributeAvailability.d.ts +26 -0
- package/dist/esm/models/AttributeAvailability.js +44 -0
- package/dist/esm/models/AustriaHandySignaturProviderOutput.d.ts +38 -0
- package/dist/esm/models/AustriaHandySignaturProviderOutput.js +47 -0
- package/dist/esm/models/BelgiumIdCardProviderOutput.d.ts +57 -0
- package/dist/esm/models/BelgiumIdCardProviderOutput.js +55 -0
- package/dist/esm/models/ContractAttachment.d.ts +49 -0
- package/dist/esm/models/ContractAttachment.js +48 -0
- package/dist/esm/models/ContractAttribute.d.ts +39 -0
- package/dist/esm/models/ContractAttribute.js +48 -0
- package/dist/esm/models/CoteDIvoireNidLookup2Input.d.ts +32 -0
- package/dist/esm/models/CoteDIvoireNidLookup2Input.js +41 -0
- package/dist/esm/models/CzechiaMojeIdProviderOutput.d.ts +52 -0
- package/dist/esm/models/CzechiaMojeIdProviderOutput.js +55 -0
- package/dist/esm/models/DocumentData.d.ts +13 -5
- package/dist/esm/models/DocumentData.js +2 -0
- package/dist/esm/models/EstoniaIdCardProviderOutput.d.ts +64 -0
- package/dist/esm/models/EstoniaIdCardProviderOutput.js +55 -0
- package/dist/esm/models/FaydaProviderOutput.d.ts +1 -1
- package/dist/esm/models/FinlandIdCardProviderOutput.d.ts +63 -0
- package/dist/esm/models/FinlandIdCardProviderOutput.js +55 -0
- package/dist/esm/models/FrejaProviderOutput.d.ts +53 -0
- package/dist/esm/models/FrejaProviderOutput.js +55 -0
- package/dist/esm/models/FrenchNumeriqueGivenName.d.ts +45 -0
- package/dist/esm/models/FrenchNumeriqueGivenName.js +45 -0
- package/dist/esm/models/FrenchNumeriqueNationality.d.ts +38 -0
- package/dist/esm/models/FrenchNumeriqueNationality.js +43 -0
- package/dist/esm/models/FrenchNumeriquePhone.d.ts +44 -0
- package/dist/esm/models/FrenchNumeriquePhone.js +45 -0
- package/dist/esm/models/FrenchNumeriqueProviderOutput.d.ts +205 -0
- package/dist/esm/models/FrenchNumeriqueProviderOutput.js +92 -0
- package/dist/esm/models/GetAttachmentRequest.d.ts +4 -8
- package/dist/esm/models/GetAttachmentRequest.js +3 -7
- package/dist/esm/models/GoogleWalletProviderOutput.d.ts +33 -0
- package/dist/esm/models/GoogleWalletProviderOutput.js +44 -0
- package/dist/esm/models/IdentityData.d.ts +15 -13
- package/dist/esm/models/IdentityData.js +4 -7
- package/dist/esm/models/ItsmeProviderOutput.d.ts +69 -0
- package/dist/esm/models/ItsmeProviderOutput.js +55 -0
- package/dist/esm/models/KenyaNidMatch2Input.d.ts +3 -3
- package/dist/esm/models/KenyaNidMatch2Input.js +3 -3
- package/dist/esm/models/KenyaNidMatch2InputSex.d.ts +25 -0
- package/dist/esm/models/KenyaNidMatch2InputSex.js +43 -0
- package/dist/esm/models/LaWalletProviderOutput.d.ts +148 -0
- package/dist/esm/models/LaWalletProviderOutput.js +109 -0
- package/dist/esm/models/LatviaEparakstsMobileProviderOutput.d.ts +60 -0
- package/dist/esm/models/LatviaEparakstsMobileProviderOutput.js +51 -0
- package/dist/esm/models/LatviaEparakstsProviderOutput.d.ts +60 -0
- package/dist/esm/models/LatviaEparakstsProviderOutput.js +51 -0
- package/dist/esm/models/ListProvidersResponse.d.ts +4 -4
- package/dist/esm/models/ListProvidersResponse.js +3 -3
- package/dist/esm/models/ListRedirectUrisResponse.d.ts +39 -0
- package/dist/esm/models/{ListEnvironmentRedirectUrisResponse.js → ListRedirectUrisResponse.js} +8 -8
- package/dist/esm/models/LithuaniaIdCardProviderOutput.d.ts +68 -0
- package/dist/esm/models/LithuaniaIdCardProviderOutput.js +55 -0
- package/dist/esm/models/LloydsSmartIdProviderOutput.d.ts +112 -0
- package/dist/esm/models/LloydsSmartIdProviderOutput.js +65 -0
- package/dist/esm/models/Match.d.ts +8 -0
- package/dist/esm/models/MatchData.d.ts +26 -3
- package/dist/esm/models/MatchData.js +2 -0
- package/dist/esm/models/MdlOutput.d.ts +60 -0
- package/dist/esm/models/MdlOutput.js +56 -0
- package/dist/esm/models/MdlOutputCertificateData.d.ts +60 -0
- package/dist/esm/models/{MdlCertificateData.js → MdlOutputCertificateData.js} +8 -8
- package/dist/esm/models/MdlOutputFieldData.d.ts +39 -0
- package/dist/esm/models/{ExternalMdlFieldData.js → MdlOutputFieldData.js} +11 -11
- package/dist/esm/models/MdlOutputFieldDataType.d.ts +29 -0
- package/dist/esm/models/MdlOutputFieldDataType.js +47 -0
- package/dist/esm/models/MexicoCurpProviderOutput.d.ts +1 -1
- package/dist/esm/models/MitIdProviderOutput.d.ts +137 -0
- package/dist/esm/models/MitIdProviderOutput.js +61 -0
- package/dist/esm/models/MobileIdInput.d.ts +3 -3
- package/dist/esm/models/MobileIdInput.js +3 -3
- package/dist/esm/models/MobileIdLanguage.d.ts +27 -0
- package/dist/esm/models/{Language.js → MobileIdLanguage.js} +10 -10
- package/dist/esm/models/MobileIdProviderOutput.d.ts +118 -0
- package/dist/esm/models/MobileIdProviderOutput.js +57 -0
- package/dist/esm/models/NigeriaNinBiometric2Input.d.ts +47 -0
- package/dist/esm/models/NigeriaNinBiometric2Input.js +45 -0
- package/dist/esm/models/NigeriaNinLookup2Input.d.ts +32 -0
- package/dist/esm/models/NigeriaNinLookup2Input.js +41 -0
- package/dist/esm/models/NigeriaNinMatch2Input.d.ts +70 -0
- package/dist/esm/models/NigeriaNinMatch2Input.js +54 -0
- package/dist/esm/models/NigeriaNinMatch2InputSex.d.ts +25 -0
- package/dist/esm/models/NigeriaNinMatch2InputSex.js +43 -0
- package/dist/esm/models/PersonData.d.ts +8 -6
- package/dist/esm/models/PeruDniAddress.d.ts +53 -0
- package/dist/esm/models/PeruDniAddress.js +51 -0
- package/dist/esm/models/PeruDniLookupInput.d.ts +37 -0
- package/dist/esm/models/PeruDniLookupInput.js +41 -0
- package/dist/esm/models/PeruDniProviderOutput.d.ts +213 -0
- package/dist/esm/models/PeruDniProviderOutput.js +88 -0
- package/dist/esm/models/PhilippinesDigitalNidProviderOutput.d.ts +3 -2
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +3 -2
- package/dist/esm/models/PolandEdoAppProviderOutput.d.ts +62 -0
- package/dist/esm/models/PolandEdoAppProviderOutput.js +55 -0
- package/dist/esm/models/PolandMojeIdProviderOutput.d.ts +56 -0
- package/dist/esm/models/PolandMojeIdProviderOutput.js +51 -0
- package/dist/esm/models/PortugalIdCardProviderOutput.d.ts +50 -0
- package/dist/esm/models/PortugalIdCardProviderOutput.js +55 -0
- package/dist/esm/models/PostOfficeEasyIdProviderOutput.d.ts +112 -0
- package/dist/esm/models/PostOfficeEasyIdProviderOutput.js +65 -0
- package/dist/esm/models/{ProviderContract.d.ts → Provider.d.ts} +71 -68
- package/dist/esm/models/{ProviderContract.js → Provider.js} +37 -30
- package/dist/esm/models/ProviderInput.d.ts +90 -28
- package/dist/esm/models/ProviderInput.js +83 -57
- package/dist/esm/models/ProviderOutput.d.ts +200 -11
- package/dist/esm/models/ProviderOutput.js +87 -6
- package/dist/esm/models/RecommendProviderHealthOption.d.ts +26 -0
- package/dist/esm/models/RecommendProviderHealthOption.js +44 -0
- package/dist/esm/models/RecommendProviderInformation.d.ts +85 -0
- package/dist/esm/models/{ProviderInfo.js → RecommendProviderInformation.js} +17 -17
- package/dist/esm/models/RecommendProvidersRequest.d.ts +46 -0
- package/dist/esm/models/{RecommendRequest.js → RecommendProvidersRequest.js} +11 -10
- package/dist/esm/models/RecommendProvidersResponse.d.ts +33 -0
- package/dist/esm/models/RecommendProvidersResponse.js +44 -0
- package/dist/esm/models/SamsungWalletProviderOutput.d.ts +33 -0
- package/dist/esm/models/SamsungWalletProviderOutput.js +44 -0
- package/dist/esm/models/SerbiaIdCardProviderOutput.d.ts +63 -0
- package/dist/esm/models/SerbiaIdCardProviderOutput.js +55 -0
- package/dist/esm/models/SmartIdInput.d.ts +0 -7
- package/dist/esm/models/SmartIdInput.js +0 -2
- package/dist/esm/models/SmartIdProviderOutput.d.ts +175 -0
- package/dist/esm/models/SmartIdProviderOutput.js +65 -0
- package/dist/esm/models/SouthAfricaNidBiometric2Input.d.ts +47 -0
- package/dist/esm/models/SouthAfricaNidBiometric2Input.js +45 -0
- package/dist/esm/models/SouthAfricaNidMatch2Input.d.ts +70 -0
- package/dist/esm/models/SouthAfricaNidMatch2Input.js +54 -0
- package/dist/esm/models/SouthAfricaNidMatch2InputSex.d.ts +25 -0
- package/dist/esm/models/SouthAfricaNidMatch2InputSex.js +43 -0
- package/dist/esm/models/SpidProviderOutput.d.ts +84 -16
- package/dist/esm/models/SpidProviderOutput.js +22 -2
- package/dist/esm/models/SubProviderMetadata.d.ts +0 -9
- package/dist/esm/models/SubProviderMetadata.js +0 -4
- package/dist/esm/models/SwedenBankIdProviderOutput.d.ts +110 -0
- package/dist/esm/models/SwedenBankIdProviderOutput.js +65 -0
- package/dist/esm/models/UgandaNidMatch2Input.d.ts +45 -0
- package/dist/esm/models/UgandaNidMatch2Input.js +45 -0
- package/dist/esm/models/VerificationProfileResponse.d.ts +6 -0
- package/dist/esm/models/VerificationProfileResponse.js +4 -0
- package/dist/esm/models/YotiDocumentDetails.d.ts +62 -0
- package/dist/esm/models/YotiDocumentDetails.js +49 -0
- package/dist/esm/models/YotiProviderOutput.d.ts +112 -0
- package/dist/esm/models/YotiProviderOutput.js +65 -0
- package/dist/esm/models/YotiStructuredPostalAddress.d.ts +152 -0
- package/dist/esm/models/YotiStructuredPostalAddress.js +79 -0
- package/dist/esm/models/ZimbabweNidLookup2Input.d.ts +32 -0
- package/dist/esm/models/ZimbabweNidLookup2Input.js +41 -0
- package/dist/esm/models/index.d.ts +61 -26
- package/dist/esm/models/index.js +61 -26
- package/dist/models/AddRedirectUriRequest.d.ts +32 -0
- package/dist/models/AddRedirectUriRequest.js +50 -0
- package/dist/models/Address.d.ts +5 -2
- package/dist/models/AppleWalletProviderOutput.d.ts +33 -0
- package/dist/models/AppleWalletProviderOutput.js +51 -0
- package/dist/models/AttachmentInfo.d.ts +62 -0
- package/dist/models/AttachmentInfo.js +62 -0
- package/dist/models/AttributeAvailability.d.ts +26 -0
- package/dist/models/AttributeAvailability.js +52 -0
- package/dist/models/AustriaHandySignaturProviderOutput.d.ts +38 -0
- package/dist/models/AustriaHandySignaturProviderOutput.js +54 -0
- package/dist/models/BelgiumIdCardProviderOutput.d.ts +57 -0
- package/dist/models/BelgiumIdCardProviderOutput.js +62 -0
- package/dist/models/ContractAttachment.d.ts +49 -0
- package/dist/models/ContractAttachment.js +55 -0
- package/dist/models/ContractAttribute.d.ts +39 -0
- package/dist/models/ContractAttribute.js +55 -0
- package/dist/models/CoteDIvoireNidLookup2Input.d.ts +32 -0
- package/dist/models/CoteDIvoireNidLookup2Input.js +48 -0
- package/dist/models/CzechiaMojeIdProviderOutput.d.ts +52 -0
- package/dist/models/CzechiaMojeIdProviderOutput.js +62 -0
- package/dist/models/DocumentData.d.ts +13 -5
- package/dist/models/DocumentData.js +2 -0
- package/dist/models/EstoniaIdCardProviderOutput.d.ts +64 -0
- package/dist/models/EstoniaIdCardProviderOutput.js +62 -0
- package/dist/models/FaydaProviderOutput.d.ts +1 -1
- package/dist/models/FinlandIdCardProviderOutput.d.ts +63 -0
- package/dist/models/FinlandIdCardProviderOutput.js +62 -0
- package/dist/models/FrejaProviderOutput.d.ts +53 -0
- package/dist/models/FrejaProviderOutput.js +62 -0
- package/dist/models/FrenchNumeriqueGivenName.d.ts +45 -0
- package/dist/models/FrenchNumeriqueGivenName.js +52 -0
- package/dist/models/FrenchNumeriqueNationality.d.ts +38 -0
- package/dist/models/FrenchNumeriqueNationality.js +50 -0
- package/dist/models/FrenchNumeriquePhone.d.ts +44 -0
- package/dist/models/FrenchNumeriquePhone.js +52 -0
- package/dist/models/FrenchNumeriqueProviderOutput.d.ts +205 -0
- package/dist/models/FrenchNumeriqueProviderOutput.js +99 -0
- package/dist/models/GetAttachmentRequest.d.ts +4 -8
- package/dist/models/GetAttachmentRequest.js +3 -7
- package/dist/models/GoogleWalletProviderOutput.d.ts +33 -0
- package/dist/models/GoogleWalletProviderOutput.js +51 -0
- package/dist/models/IdentityData.d.ts +15 -13
- package/dist/models/IdentityData.js +4 -7
- package/dist/models/ItsmeProviderOutput.d.ts +69 -0
- package/dist/models/ItsmeProviderOutput.js +62 -0
- package/dist/models/KenyaNidMatch2Input.d.ts +3 -3
- package/dist/models/KenyaNidMatch2Input.js +3 -3
- package/dist/models/KenyaNidMatch2InputSex.d.ts +25 -0
- package/dist/models/KenyaNidMatch2InputSex.js +51 -0
- package/dist/models/LaWalletProviderOutput.d.ts +148 -0
- package/dist/models/LaWalletProviderOutput.js +116 -0
- package/dist/models/LatviaEparakstsMobileProviderOutput.d.ts +60 -0
- package/dist/models/LatviaEparakstsMobileProviderOutput.js +58 -0
- package/dist/models/LatviaEparakstsProviderOutput.d.ts +60 -0
- package/dist/models/LatviaEparakstsProviderOutput.js +58 -0
- package/dist/models/ListProvidersResponse.d.ts +4 -4
- package/dist/models/ListProvidersResponse.js +3 -3
- package/dist/models/ListRedirectUrisResponse.d.ts +39 -0
- package/dist/models/ListRedirectUrisResponse.js +55 -0
- package/dist/models/LithuaniaIdCardProviderOutput.d.ts +68 -0
- package/dist/models/LithuaniaIdCardProviderOutput.js +62 -0
- package/dist/models/LloydsSmartIdProviderOutput.d.ts +112 -0
- package/dist/models/LloydsSmartIdProviderOutput.js +72 -0
- package/dist/models/Match.d.ts +8 -0
- package/dist/models/MatchData.d.ts +26 -3
- package/dist/models/MatchData.js +2 -0
- package/dist/models/MdlOutput.d.ts +60 -0
- package/dist/models/MdlOutput.js +63 -0
- package/dist/models/MdlOutputCertificateData.d.ts +60 -0
- package/dist/models/{MdlCertificateData.js → MdlOutputCertificateData.js} +13 -13
- package/dist/models/MdlOutputFieldData.d.ts +39 -0
- package/dist/models/MdlOutputFieldData.js +55 -0
- package/dist/models/MdlOutputFieldDataType.d.ts +29 -0
- package/dist/models/MdlOutputFieldDataType.js +55 -0
- package/dist/models/MexicoCurpProviderOutput.d.ts +1 -1
- package/dist/models/MitIdProviderOutput.d.ts +137 -0
- package/dist/models/MitIdProviderOutput.js +68 -0
- package/dist/models/MobileIdInput.d.ts +3 -3
- package/dist/models/MobileIdInput.js +3 -3
- package/dist/models/MobileIdLanguage.d.ts +27 -0
- package/dist/models/MobileIdLanguage.js +53 -0
- package/dist/models/MobileIdProviderOutput.d.ts +118 -0
- package/dist/models/MobileIdProviderOutput.js +64 -0
- package/dist/models/NigeriaNinBiometric2Input.d.ts +47 -0
- package/dist/models/NigeriaNinBiometric2Input.js +52 -0
- package/dist/models/NigeriaNinLookup2Input.d.ts +32 -0
- package/dist/models/NigeriaNinLookup2Input.js +48 -0
- package/dist/models/NigeriaNinMatch2Input.d.ts +70 -0
- package/dist/models/NigeriaNinMatch2Input.js +61 -0
- package/dist/models/NigeriaNinMatch2InputSex.d.ts +25 -0
- package/dist/models/NigeriaNinMatch2InputSex.js +51 -0
- package/dist/models/PersonData.d.ts +8 -6
- package/dist/models/PeruDniAddress.d.ts +53 -0
- package/dist/models/PeruDniAddress.js +58 -0
- package/dist/models/PeruDniLookupInput.d.ts +37 -0
- package/dist/models/PeruDniLookupInput.js +48 -0
- package/dist/models/PeruDniProviderOutput.d.ts +213 -0
- package/dist/models/PeruDniProviderOutput.js +95 -0
- package/dist/models/PhilippinesDigitalNidProviderOutput.d.ts +3 -2
- package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +3 -2
- package/dist/models/PolandEdoAppProviderOutput.d.ts +62 -0
- package/dist/models/PolandEdoAppProviderOutput.js +62 -0
- package/dist/models/PolandMojeIdProviderOutput.d.ts +56 -0
- package/dist/models/PolandMojeIdProviderOutput.js +58 -0
- package/dist/models/PortugalIdCardProviderOutput.d.ts +50 -0
- package/dist/models/PortugalIdCardProviderOutput.js +62 -0
- package/dist/models/PostOfficeEasyIdProviderOutput.d.ts +112 -0
- package/dist/models/PostOfficeEasyIdProviderOutput.js +72 -0
- package/dist/models/{ProviderContract.d.ts → Provider.d.ts} +71 -68
- package/dist/models/{ProviderContract.js → Provider.js} +42 -35
- package/dist/models/ProviderInput.d.ts +90 -28
- package/dist/models/ProviderInput.js +83 -57
- package/dist/models/ProviderOutput.d.ts +200 -11
- package/dist/models/ProviderOutput.js +87 -6
- package/dist/models/RecommendProviderHealthOption.d.ts +26 -0
- package/dist/models/RecommendProviderHealthOption.js +52 -0
- package/dist/models/RecommendProviderInformation.d.ts +85 -0
- package/dist/models/{ProviderInfo.js → RecommendProviderInformation.js} +22 -22
- package/dist/models/RecommendProvidersRequest.d.ts +46 -0
- package/dist/models/RecommendProvidersRequest.js +56 -0
- package/dist/models/RecommendProvidersResponse.d.ts +33 -0
- package/dist/models/RecommendProvidersResponse.js +51 -0
- package/dist/models/SamsungWalletProviderOutput.d.ts +33 -0
- package/dist/models/SamsungWalletProviderOutput.js +51 -0
- package/dist/models/SerbiaIdCardProviderOutput.d.ts +63 -0
- package/dist/models/SerbiaIdCardProviderOutput.js +62 -0
- package/dist/models/SmartIdInput.d.ts +0 -7
- package/dist/models/SmartIdInput.js +0 -2
- package/dist/models/SmartIdProviderOutput.d.ts +175 -0
- package/dist/models/SmartIdProviderOutput.js +72 -0
- package/dist/models/SouthAfricaNidBiometric2Input.d.ts +47 -0
- package/dist/models/SouthAfricaNidBiometric2Input.js +52 -0
- package/dist/models/SouthAfricaNidMatch2Input.d.ts +70 -0
- package/dist/models/SouthAfricaNidMatch2Input.js +61 -0
- package/dist/models/SouthAfricaNidMatch2InputSex.d.ts +25 -0
- package/dist/models/SouthAfricaNidMatch2InputSex.js +51 -0
- package/dist/models/SpidProviderOutput.d.ts +84 -16
- package/dist/models/SpidProviderOutput.js +22 -2
- package/dist/models/SubProviderMetadata.d.ts +0 -9
- package/dist/models/SubProviderMetadata.js +0 -4
- package/dist/models/SwedenBankIdProviderOutput.d.ts +110 -0
- package/dist/models/SwedenBankIdProviderOutput.js +72 -0
- package/dist/models/UgandaNidMatch2Input.d.ts +45 -0
- package/dist/models/UgandaNidMatch2Input.js +52 -0
- package/dist/models/VerificationProfileResponse.d.ts +6 -0
- package/dist/models/VerificationProfileResponse.js +4 -0
- package/dist/models/YotiDocumentDetails.d.ts +62 -0
- package/dist/models/YotiDocumentDetails.js +56 -0
- package/dist/models/YotiProviderOutput.d.ts +112 -0
- package/dist/models/YotiProviderOutput.js +72 -0
- package/dist/models/YotiStructuredPostalAddress.d.ts +152 -0
- package/dist/models/YotiStructuredPostalAddress.js +86 -0
- package/dist/models/ZimbabweNidLookup2Input.d.ts +32 -0
- package/dist/models/ZimbabweNidLookup2Input.js +48 -0
- package/dist/models/index.d.ts +61 -26
- package/dist/models/index.js +61 -26
- package/package.json +1 -1
- package/src/apis/ProvidersApi.ts +102 -0
- package/src/apis/{EnvironmentRedirectUrisApi.ts → RedirectUrisApi.ts} +35 -35
- package/src/apis/SessionsApi.ts +152 -4
- package/src/apis/VerificationProfilesApi.ts +9 -3
- package/src/apis/index.ts +2 -4
- package/src/models/AddRedirectUriRequest.ts +66 -0
- package/src/models/Address.ts +6 -3
- package/src/models/AppleWalletProviderOutput.ts +74 -0
- package/src/models/AttachmentInfo.ts +105 -0
- package/src/models/AttributeAvailability.ts +54 -0
- package/src/models/AustriaHandySignaturProviderOutput.ts +75 -0
- package/src/models/BelgiumIdCardProviderOutput.ts +100 -0
- package/src/models/ContractAttachment.ts +95 -0
- package/src/models/ContractAttribute.ts +85 -0
- package/src/models/CoteDIvoireNidLookup2Input.ts +65 -0
- package/src/models/CzechiaMojeIdProviderOutput.ts +95 -0
- package/src/models/DocumentData.ts +16 -6
- package/src/models/EstoniaIdCardProviderOutput.ts +107 -0
- package/src/models/FaydaProviderOutput.ts +1 -1
- package/src/models/FinlandIdCardProviderOutput.ts +106 -0
- package/src/models/FrejaProviderOutput.ts +96 -0
- package/src/models/FrenchNumeriqueGivenName.ts +82 -0
- package/src/models/FrenchNumeriqueNationality.ts +73 -0
- package/src/models/FrenchNumeriquePhone.ts +81 -0
- package/src/models/FrenchNumeriqueProviderOutput.ts +305 -0
- package/src/models/GetAttachmentRequest.ts +7 -14
- package/src/models/GoogleWalletProviderOutput.ts +74 -0
- package/src/models/IdentityData.ts +27 -33
- package/src/models/ItsmeProviderOutput.ts +113 -0
- package/src/models/KenyaNidMatch2Input.ts +10 -10
- package/src/models/KenyaNidMatch2InputSex.ts +53 -0
- package/src/models/LaWalletProviderOutput.ts +232 -0
- package/src/models/LatviaEparakstsMobileProviderOutput.ts +100 -0
- package/src/models/LatviaEparakstsProviderOutput.ts +100 -0
- package/src/models/ListProvidersResponse.ts +11 -11
- package/src/models/{ListEnvironmentRedirectUrisResponse.ts → ListRedirectUrisResponse.ts} +12 -12
- package/src/models/LithuaniaIdCardProviderOutput.ts +111 -0
- package/src/models/LloydsSmartIdProviderOutput.ts +180 -0
- package/src/models/Match.ts +10 -2
- package/src/models/MatchData.ts +36 -11
- package/src/models/MdlOutput.ts +112 -0
- package/src/models/{MdlCertificateData.ts → MdlOutputCertificateData.ts} +18 -16
- package/src/models/MdlOutputFieldData.ts +85 -0
- package/src/models/MdlOutputFieldDataType.ts +57 -0
- package/src/models/MexicoCurpProviderOutput.ts +1 -1
- package/src/models/MitIdProviderOutput.ts +190 -0
- package/src/models/MobileIdInput.ts +10 -10
- package/src/models/MobileIdLanguage.ts +55 -0
- package/src/models/MobileIdProviderOutput.ts +167 -0
- package/src/models/NigeriaNinBiometric2Input.ts +84 -0
- package/src/models/NigeriaNinLookup2Input.ts +65 -0
- package/src/models/NigeriaNinMatch2Input.ts +124 -0
- package/src/models/NigeriaNinMatch2InputSex.ts +53 -0
- package/src/models/PersonData.ts +9 -7
- package/src/models/PeruDniAddress.ts +93 -0
- package/src/models/PeruDniLookupInput.ts +70 -0
- package/src/models/PeruDniProviderOutput.ts +291 -0
- package/src/models/PhilippinesDigitalNidProviderOutput.ts +3 -2
- package/src/models/PhilippinesPhysicalNidProviderOutput.ts +3 -2
- package/src/models/PolandEdoAppProviderOutput.ts +105 -0
- package/src/models/PolandMojeIdProviderOutput.ts +96 -0
- package/src/models/PortugalIdCardProviderOutput.ts +93 -0
- package/src/models/PostOfficeEasyIdProviderOutput.ts +180 -0
- package/src/models/{ProviderContract.ts → Provider.ts} +106 -98
- package/src/models/ProviderInput.ts +255 -127
- package/src/models/ProviderOutput.ts +430 -25
- package/src/models/RecommendProviderHealthOption.ts +54 -0
- package/src/models/{ProviderInformation.ts → RecommendProviderInformation.ts} +45 -56
- package/src/models/{RecommendRequest.ts → RecommendProvidersRequest.ts} +27 -18
- package/src/models/RecommendProvidersResponse.ts +74 -0
- package/src/models/SamsungWalletProviderOutput.ts +74 -0
- package/src/models/SerbiaIdCardProviderOutput.ts +106 -0
- package/src/models/SmartIdInput.ts +0 -9
- package/src/models/SmartIdProviderOutput.ts +232 -0
- package/src/models/SouthAfricaNidBiometric2Input.ts +84 -0
- package/src/models/SouthAfricaNidMatch2Input.ts +124 -0
- package/src/models/SouthAfricaNidMatch2InputSex.ts +53 -0
- package/src/models/SpidProviderOutput.ts +106 -18
- package/src/models/SubProviderMetadata.ts +0 -12
- package/src/models/SwedenBankIdProviderOutput.ts +167 -0
- package/src/models/UgandaNidMatch2Input.ts +82 -0
- package/src/models/VerificationProfileResponse.ts +9 -0
- package/src/models/YotiDocumentDetails.ts +103 -0
- package/src/models/YotiProviderOutput.ts +180 -0
- package/src/models/YotiStructuredPostalAddress.ts +223 -0
- package/src/models/ZimbabweNidLookup2Input.ts +65 -0
- package/src/models/index.ts +61 -26
- package/dist/apis/AttachmentsApi.d.ts +0 -53
- package/dist/apis/MdlApi.d.ts +0 -80
- package/dist/apis/MdlApi.js +0 -105
- package/dist/apis/NetworkApi.d.ts +0 -109
- package/dist/apis/NetworkApi.js +0 -146
- package/dist/esm/apis/AttachmentsApi.d.ts +0 -53
- package/dist/esm/apis/MdlApi.d.ts +0 -80
- package/dist/esm/apis/MdlApi.js +0 -101
- package/dist/esm/apis/NetworkApi.d.ts +0 -109
- package/dist/esm/apis/NetworkApi.js +0 -142
- package/dist/esm/models/AttachmentAccessKeys.d.ts +0 -63
- package/dist/esm/models/AttachmentAccessKeys.js +0 -54
- package/dist/esm/models/BangladeshNidInput.d.ts +0 -58
- package/dist/esm/models/BangladeshNidInput.js +0 -55
- package/dist/esm/models/ContractField.d.ts +0 -46
- package/dist/esm/models/ContractField.js +0 -52
- package/dist/esm/models/ContractIdentifierField.d.ts +0 -45
- package/dist/esm/models/ContractIdentifierField.js +0 -52
- package/dist/esm/models/CreateMdlExchangeRequest.d.ts +0 -102
- package/dist/esm/models/CreateMdlExchangeRequest.js +0 -66
- package/dist/esm/models/CreateMdlExchangeResponse.d.ts +0 -48
- package/dist/esm/models/CreateMdlExchangeResponse.js +0 -51
- package/dist/esm/models/DocumentScanAttachments.d.ts +0 -32
- package/dist/esm/models/DocumentScanAttachments.js +0 -41
- package/dist/esm/models/EnvironmentRedirectUrisAddRequest.d.ts +0 -32
- package/dist/esm/models/ExternalMdlFieldData.d.ts +0 -39
- package/dist/esm/models/FieldAvailability.d.ts +0 -26
- package/dist/esm/models/FieldAvailability.js +0 -44
- package/dist/esm/models/FinalizeMdlExchangeRequest.d.ts +0 -50
- package/dist/esm/models/FinalizeMdlExchangeRequest.js +0 -55
- package/dist/esm/models/FinalizeMdlExchangeResponse.d.ts +0 -55
- package/dist/esm/models/FinalizeMdlExchangeResponse.js +0 -54
- package/dist/esm/models/Identifier.d.ts +0 -44
- package/dist/esm/models/Identifier.js +0 -51
- package/dist/esm/models/Language.d.ts +0 -27
- package/dist/esm/models/ListEnvironmentRedirectUrisResponse.d.ts +0 -39
- package/dist/esm/models/ListProviderContractsResponse.d.ts +0 -33
- package/dist/esm/models/ListProviderContractsResponse.js +0 -44
- package/dist/esm/models/MdlCertificateData.d.ts +0 -58
- package/dist/esm/models/MdlFieldDataType.d.ts +0 -28
- package/dist/esm/models/MdlFieldDataType.js +0 -46
- package/dist/esm/models/MdlIdentityData.d.ts +0 -50
- package/dist/esm/models/MdlIdentityData.js +0 -52
- package/dist/esm/models/ProviderAttachments.d.ts +0 -33
- package/dist/esm/models/ProviderAttachments.js +0 -42
- package/dist/esm/models/ProviderInfo.d.ts +0 -76
- package/dist/esm/models/ProviderInformation.d.ts +0 -88
- package/dist/esm/models/ProviderInformation.js +0 -74
- package/dist/esm/models/RecommendRequest.d.ts +0 -45
- package/dist/esm/models/RecommendResponse.d.ts +0 -47
- package/dist/esm/models/RecommendResponse.js +0 -52
- package/dist/esm/models/SexV1.d.ts +0 -27
- package/dist/esm/models/SexV1.js +0 -45
- package/dist/models/AttachmentAccessKeys.d.ts +0 -63
- package/dist/models/AttachmentAccessKeys.js +0 -61
- package/dist/models/BangladeshNidInput.d.ts +0 -58
- package/dist/models/BangladeshNidInput.js +0 -62
- package/dist/models/ContractField.d.ts +0 -46
- package/dist/models/ContractField.js +0 -59
- package/dist/models/ContractIdentifierField.d.ts +0 -45
- package/dist/models/ContractIdentifierField.js +0 -59
- package/dist/models/CreateMdlExchangeRequest.d.ts +0 -102
- package/dist/models/CreateMdlExchangeRequest.js +0 -73
- package/dist/models/CreateMdlExchangeResponse.d.ts +0 -48
- package/dist/models/CreateMdlExchangeResponse.js +0 -58
- package/dist/models/DocumentScanAttachments.d.ts +0 -32
- package/dist/models/DocumentScanAttachments.js +0 -48
- package/dist/models/EnvironmentRedirectUrisAddRequest.d.ts +0 -32
- package/dist/models/EnvironmentRedirectUrisAddRequest.js +0 -50
- package/dist/models/ExternalMdlFieldData.d.ts +0 -39
- package/dist/models/ExternalMdlFieldData.js +0 -55
- package/dist/models/FieldAvailability.d.ts +0 -26
- package/dist/models/FieldAvailability.js +0 -52
- package/dist/models/FinalizeMdlExchangeRequest.d.ts +0 -50
- package/dist/models/FinalizeMdlExchangeRequest.js +0 -62
- package/dist/models/FinalizeMdlExchangeResponse.d.ts +0 -55
- package/dist/models/FinalizeMdlExchangeResponse.js +0 -61
- package/dist/models/Identifier.d.ts +0 -44
- package/dist/models/Identifier.js +0 -58
- package/dist/models/Language.d.ts +0 -27
- package/dist/models/Language.js +0 -53
- package/dist/models/ListEnvironmentRedirectUrisResponse.d.ts +0 -39
- package/dist/models/ListEnvironmentRedirectUrisResponse.js +0 -55
- package/dist/models/ListProviderContractsResponse.d.ts +0 -33
- package/dist/models/ListProviderContractsResponse.js +0 -51
- package/dist/models/MdlCertificateData.d.ts +0 -58
- package/dist/models/MdlFieldDataType.d.ts +0 -28
- package/dist/models/MdlFieldDataType.js +0 -54
- package/dist/models/MdlIdentityData.d.ts +0 -50
- package/dist/models/MdlIdentityData.js +0 -59
- package/dist/models/ProviderAttachments.d.ts +0 -33
- package/dist/models/ProviderAttachments.js +0 -49
- package/dist/models/ProviderInfo.d.ts +0 -76
- package/dist/models/ProviderInformation.d.ts +0 -88
- package/dist/models/ProviderInformation.js +0 -81
- package/dist/models/RecommendRequest.d.ts +0 -45
- package/dist/models/RecommendRequest.js +0 -55
- package/dist/models/RecommendResponse.d.ts +0 -47
- package/dist/models/RecommendResponse.js +0 -59
- package/dist/models/SexV1.d.ts +0 -27
- package/dist/models/SexV1.js +0 -53
- package/src/apis/AttachmentsApi.ts +0 -104
- package/src/apis/MdlApi.ts +0 -169
- package/src/apis/NetworkApi.ts +0 -242
- package/src/models/AttachmentAccessKeys.ts +0 -114
- package/src/models/BangladeshNidInput.ts +0 -102
- package/src/models/ContractField.ts +0 -95
- package/src/models/ContractIdentifierField.ts +0 -94
- package/src/models/CreateMdlExchangeRequest.ts +0 -159
- package/src/models/CreateMdlExchangeResponse.ts +0 -88
- package/src/models/DocumentScanAttachments.ts +0 -65
- package/src/models/EnvironmentRedirectUrisAddRequest.ts +0 -66
- package/src/models/ExternalMdlFieldData.ts +0 -85
- package/src/models/FieldAvailability.ts +0 -54
- package/src/models/FinalizeMdlExchangeRequest.ts +0 -93
- package/src/models/FinalizeMdlExchangeResponse.ts +0 -115
- package/src/models/Identifier.ts +0 -84
- package/src/models/Language.ts +0 -55
- package/src/models/ListProviderContractsResponse.ts +0 -74
- package/src/models/MdlFieldDataType.ts +0 -56
- package/src/models/MdlIdentityData.ts +0 -99
- package/src/models/ProviderAttachments.ts +0 -73
- package/src/models/ProviderInfo.ts +0 -134
- package/src/models/RecommendResponse.ts +0 -94
- package/src/models/SexV1.ts +0 -55
|
@@ -0,0 +1,57 @@
|
|
|
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-be-id-login` Provider which do not directly map to the normalized IdentityData model.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BelgiumIdCardProviderOutput
|
|
16
|
+
*/
|
|
17
|
+
export interface BelgiumIdCardProviderOutput {
|
|
18
|
+
/**
|
|
19
|
+
* The first name of the verified individual
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BelgiumIdCardProviderOutput
|
|
22
|
+
*/
|
|
23
|
+
firstName: string;
|
|
24
|
+
/**
|
|
25
|
+
* The last name of the verified individual
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BelgiumIdCardProviderOutput
|
|
28
|
+
*/
|
|
29
|
+
lastName: string;
|
|
30
|
+
/**
|
|
31
|
+
* The date of birth of the verified individual
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof BelgiumIdCardProviderOutput
|
|
34
|
+
*/
|
|
35
|
+
dateOfBirth: Date;
|
|
36
|
+
/**
|
|
37
|
+
* The Belgian National Register Number ("Rijksregisternummer") of the verified individual.
|
|
38
|
+
*
|
|
39
|
+
* This is an 11-digit number in the format YYMMDDXXXCC, where:
|
|
40
|
+
* - YYMMDD represents the individual's date of birth (year, month, day).
|
|
41
|
+
* - XXX is a sequential birth number, odd for males and even for females.
|
|
42
|
+
* - CC is a checksum, calculated with the equation: 97 - (YYMMDDXXX mod 97)
|
|
43
|
+
*
|
|
44
|
+
* For births in the year 2000 or later, the digit '2' is prepended to the first 9 digits during checksum calculation.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof BelgiumIdCardProviderOutput
|
|
47
|
+
*/
|
|
48
|
+
nationalRegisterNumber: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the BelgiumIdCardProviderOutput interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfBelgiumIdCardProviderOutput(value: object): value is BelgiumIdCardProviderOutput;
|
|
54
|
+
export declare function BelgiumIdCardProviderOutputFromJSON(json: any): BelgiumIdCardProviderOutput;
|
|
55
|
+
export declare function BelgiumIdCardProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): BelgiumIdCardProviderOutput;
|
|
56
|
+
export declare function BelgiumIdCardProviderOutputToJSON(json: any): BelgiumIdCardProviderOutput;
|
|
57
|
+
export declare function BelgiumIdCardProviderOutputToJSONTyped(value?: BelgiumIdCardProviderOutput | 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 BelgiumIdCardProviderOutput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfBelgiumIdCardProviderOutput(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
|
+
if (!('nationalRegisterNumber' in value) || value['nationalRegisterNumber'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function BelgiumIdCardProviderOutputFromJSON(json) {
|
|
29
|
+
return BelgiumIdCardProviderOutputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function BelgiumIdCardProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'firstName': json['firstName'],
|
|
37
|
+
'lastName': json['lastName'],
|
|
38
|
+
'dateOfBirth': (new Date(json['dateOfBirth'])),
|
|
39
|
+
'nationalRegisterNumber': json['nationalRegisterNumber'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function BelgiumIdCardProviderOutputToJSON(json) {
|
|
43
|
+
return BelgiumIdCardProviderOutputToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function BelgiumIdCardProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'firstName': value['firstName'],
|
|
51
|
+
'lastName': value['lastName'],
|
|
52
|
+
'dateOfBirth': ((value['dateOfBirth']).toISOString().substring(0, 10)),
|
|
53
|
+
'nationalRegisterNumber': value['nationalRegisterNumber'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { AttributeAvailability } from './AttributeAvailability';
|
|
13
|
+
/**
|
|
14
|
+
* Information about an attachment that a Provider may return in verification results.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ContractAttachment
|
|
17
|
+
*/
|
|
18
|
+
export interface ContractAttachment {
|
|
19
|
+
/**
|
|
20
|
+
* The type of the attachment as it appears in verification results.
|
|
21
|
+
*
|
|
22
|
+
* Possible values:
|
|
23
|
+
* - "selfie"
|
|
24
|
+
* - "document_front"
|
|
25
|
+
* - "document_back"
|
|
26
|
+
* - "document_portrait"
|
|
27
|
+
* - "document_signature"
|
|
28
|
+
* - "document_scan_report"
|
|
29
|
+
*
|
|
30
|
+
* Additional attachment types may be defined for specific Providers.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ContractAttachment
|
|
33
|
+
*/
|
|
34
|
+
type: string;
|
|
35
|
+
/**
|
|
36
|
+
* Indicates when this attachment will be present in verification results.
|
|
37
|
+
* @type {AttributeAvailability}
|
|
38
|
+
* @memberof ContractAttachment
|
|
39
|
+
*/
|
|
40
|
+
outputted: AttributeAvailability;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ContractAttachment interface.
|
|
44
|
+
*/
|
|
45
|
+
export declare function instanceOfContractAttachment(value: object): value is ContractAttachment;
|
|
46
|
+
export declare function ContractAttachmentFromJSON(json: any): ContractAttachment;
|
|
47
|
+
export declare function ContractAttachmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractAttachment;
|
|
48
|
+
export declare function ContractAttachmentToJSON(json: any): ContractAttachment;
|
|
49
|
+
export declare function ContractAttachmentToJSONTyped(value?: ContractAttachment | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { AttributeAvailabilityFromJSON, AttributeAvailabilityToJSON, } from './AttributeAvailability';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ContractAttachment interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfContractAttachment(value) {
|
|
19
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('outputted' in value) || value['outputted'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function ContractAttachmentFromJSON(json) {
|
|
26
|
+
return ContractAttachmentFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function ContractAttachmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'type': json['type'],
|
|
34
|
+
'outputted': AttributeAvailabilityFromJSON(json['outputted']),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function ContractAttachmentToJSON(json) {
|
|
38
|
+
return ContractAttachmentToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ContractAttachmentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'type': value['type'],
|
|
46
|
+
'outputted': AttributeAvailabilityToJSON(value['outputted']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { AttributeAvailability } from './AttributeAvailability';
|
|
13
|
+
/**
|
|
14
|
+
* Information about an attribute that a Provider may return in verification results.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ContractAttribute
|
|
17
|
+
*/
|
|
18
|
+
export interface ContractAttribute {
|
|
19
|
+
/**
|
|
20
|
+
* The scope of the attribute as it appears in verification results.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ContractAttribute
|
|
23
|
+
*/
|
|
24
|
+
scope: string;
|
|
25
|
+
/**
|
|
26
|
+
* Indicates when this attribute will be present in verification results.
|
|
27
|
+
* @type {AttributeAvailability}
|
|
28
|
+
* @memberof ContractAttribute
|
|
29
|
+
*/
|
|
30
|
+
outputted: AttributeAvailability;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ContractAttribute interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfContractAttribute(value: object): value is ContractAttribute;
|
|
36
|
+
export declare function ContractAttributeFromJSON(json: any): ContractAttribute;
|
|
37
|
+
export declare function ContractAttributeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractAttribute;
|
|
38
|
+
export declare function ContractAttributeToJSON(json: any): ContractAttribute;
|
|
39
|
+
export declare function ContractAttributeToJSONTyped(value?: ContractAttribute | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { AttributeAvailabilityFromJSON, AttributeAvailabilityToJSON, } from './AttributeAvailability';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ContractAttribute interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfContractAttribute(value) {
|
|
19
|
+
if (!('scope' in value) || value['scope'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('outputted' in value) || value['outputted'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function ContractAttributeFromJSON(json) {
|
|
26
|
+
return ContractAttributeFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function ContractAttributeFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'scope': json['scope'],
|
|
34
|
+
'outputted': AttributeAvailabilityFromJSON(json['outputted']),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function ContractAttributeToJSON(json) {
|
|
38
|
+
return ContractAttributeToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ContractAttributeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'scope': value['scope'],
|
|
46
|
+
'outputted': AttributeAvailabilityToJSON(value['outputted']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 CoteDIvoireNidLookup2Input
|
|
16
|
+
*/
|
|
17
|
+
export interface CoteDIvoireNidLookup2Input {
|
|
18
|
+
/**
|
|
19
|
+
* The user's National ID number (NNI) or document number
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CoteDIvoireNidLookup2Input
|
|
22
|
+
*/
|
|
23
|
+
idNumber?: string | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CoteDIvoireNidLookup2Input interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCoteDIvoireNidLookup2Input(value: object): value is CoteDIvoireNidLookup2Input;
|
|
29
|
+
export declare function CoteDIvoireNidLookup2InputFromJSON(json: any): CoteDIvoireNidLookup2Input;
|
|
30
|
+
export declare function CoteDIvoireNidLookup2InputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoteDIvoireNidLookup2Input;
|
|
31
|
+
export declare function CoteDIvoireNidLookup2InputToJSON(json: any): CoteDIvoireNidLookup2Input;
|
|
32
|
+
export declare function CoteDIvoireNidLookup2InputToJSONTyped(value?: CoteDIvoireNidLookup2Input | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 CoteDIvoireNidLookup2Input interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCoteDIvoireNidLookup2Input(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function CoteDIvoireNidLookup2InputFromJSON(json) {
|
|
21
|
+
return CoteDIvoireNidLookup2InputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function CoteDIvoireNidLookup2InputFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'idNumber': json['idNumber'] == null ? undefined : json['idNumber'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function CoteDIvoireNidLookup2InputToJSON(json) {
|
|
32
|
+
return CoteDIvoireNidLookup2InputToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function CoteDIvoireNidLookup2InputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'idNumber': value['idNumber'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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-mojeid` Provider which do not directly map to the normalized IdentityData model.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CzechiaMojeIdProviderOutput
|
|
16
|
+
*/
|
|
17
|
+
export interface CzechiaMojeIdProviderOutput {
|
|
18
|
+
/**
|
|
19
|
+
* The first name of the verified individual
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CzechiaMojeIdProviderOutput
|
|
22
|
+
*/
|
|
23
|
+
firstName: string;
|
|
24
|
+
/**
|
|
25
|
+
* The last name of the verified individual
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CzechiaMojeIdProviderOutput
|
|
28
|
+
*/
|
|
29
|
+
lastName: string;
|
|
30
|
+
/**
|
|
31
|
+
* The date of birth of the verified individual
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof CzechiaMojeIdProviderOutput
|
|
34
|
+
*/
|
|
35
|
+
dateOfBirth: Date;
|
|
36
|
+
/**
|
|
37
|
+
* The OpenID 2.0 Identifier ("openid2_id") of the verified individual's MojeID account.
|
|
38
|
+
*
|
|
39
|
+
* This is an HTTPS URL which uniquely identifies the user within the MojeID system.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof CzechiaMojeIdProviderOutput
|
|
42
|
+
*/
|
|
43
|
+
openId2Identifier: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the CzechiaMojeIdProviderOutput interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfCzechiaMojeIdProviderOutput(value: object): value is CzechiaMojeIdProviderOutput;
|
|
49
|
+
export declare function CzechiaMojeIdProviderOutputFromJSON(json: any): CzechiaMojeIdProviderOutput;
|
|
50
|
+
export declare function CzechiaMojeIdProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CzechiaMojeIdProviderOutput;
|
|
51
|
+
export declare function CzechiaMojeIdProviderOutputToJSON(json: any): CzechiaMojeIdProviderOutput;
|
|
52
|
+
export declare function CzechiaMojeIdProviderOutputToJSONTyped(value?: CzechiaMojeIdProviderOutput | 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 CzechiaMojeIdProviderOutput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCzechiaMojeIdProviderOutput(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
|
+
if (!('openId2Identifier' in value) || value['openId2Identifier'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function CzechiaMojeIdProviderOutputFromJSON(json) {
|
|
29
|
+
return CzechiaMojeIdProviderOutputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function CzechiaMojeIdProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'firstName': json['firstName'],
|
|
37
|
+
'lastName': json['lastName'],
|
|
38
|
+
'dateOfBirth': (new Date(json['dateOfBirth'])),
|
|
39
|
+
'openId2Identifier': json['openId2Identifier'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function CzechiaMojeIdProviderOutputToJSON(json) {
|
|
43
|
+
return CzechiaMojeIdProviderOutputToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function CzechiaMojeIdProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'firstName': value['firstName'],
|
|
51
|
+
'lastName': value['lastName'],
|
|
52
|
+
'dateOfBirth': ((value['dateOfBirth']).toISOString().substring(0, 10)),
|
|
53
|
+
'openId2Identifier': value['openId2Identifier'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -17,37 +17,45 @@ import type { DocumentType } from './DocumentType';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface DocumentData {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* The type of the document.
|
|
21
21
|
* @type {DocumentType}
|
|
22
22
|
* @memberof DocumentData
|
|
23
23
|
*/
|
|
24
24
|
type?: DocumentType | null;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* The primary identifying number of the document.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof DocumentData
|
|
29
29
|
*/
|
|
30
30
|
number?: string | null;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* The date the document was issued.
|
|
33
33
|
* @type {Date}
|
|
34
34
|
* @memberof DocumentData
|
|
35
35
|
*/
|
|
36
36
|
issueDate?: Date | null;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* The date the document expires.
|
|
39
39
|
* @type {Date}
|
|
40
40
|
* @memberof DocumentData
|
|
41
41
|
*/
|
|
42
42
|
expirationDate?: Date | null;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* The ISO 3166-1 alpha-2 country code of the country that issued the document.
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof DocumentData
|
|
47
47
|
*/
|
|
48
48
|
issuingCountry?: string | null;
|
|
49
49
|
/**
|
|
50
|
+
* The ISO 3166-2 subdivision code of the issuing authority which issued the document.
|
|
50
51
|
*
|
|
52
|
+
* This is always in the form {CountryCode}-{SubdivisionCode}, where CountryCode is 2 letters and SubdivisionCode is 1-3 alphanumeric characters.
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof DocumentData
|
|
55
|
+
*/
|
|
56
|
+
issuingSubdivision?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* The name of the authority which issued the document.
|
|
51
59
|
* @type {string}
|
|
52
60
|
* @memberof DocumentData
|
|
53
61
|
*/
|
|
@@ -31,6 +31,7 @@ export function DocumentDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'issueDate': json['issueDate'] == null ? undefined : (new Date(json['issueDate'])),
|
|
32
32
|
'expirationDate': json['expirationDate'] == null ? undefined : (new Date(json['expirationDate'])),
|
|
33
33
|
'issuingCountry': json['issuingCountry'] == null ? undefined : json['issuingCountry'],
|
|
34
|
+
'issuingSubdivision': json['issuingSubdivision'] == null ? undefined : json['issuingSubdivision'],
|
|
34
35
|
'issuingAuthority': json['issuingAuthority'] == null ? undefined : json['issuingAuthority'],
|
|
35
36
|
};
|
|
36
37
|
}
|
|
@@ -47,6 +48,7 @@ export function DocumentDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
47
48
|
'issueDate': value['issueDate'] == null ? undefined : (value['issueDate'].toISOString().substring(0, 10)),
|
|
48
49
|
'expirationDate': value['expirationDate'] == null ? undefined : (value['expirationDate'].toISOString().substring(0, 10)),
|
|
49
50
|
'issuingCountry': value['issuingCountry'],
|
|
51
|
+
'issuingSubdivision': value['issuingSubdivision'],
|
|
50
52
|
'issuingAuthority': value['issuingAuthority'],
|
|
51
53
|
};
|
|
52
54
|
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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-ee-web-eid-login` Provider which do not directly map to the normalized IdentityData model.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EstoniaIdCardProviderOutput
|
|
16
|
+
*/
|
|
17
|
+
export interface EstoniaIdCardProviderOutput {
|
|
18
|
+
/**
|
|
19
|
+
* The first name of the verified individual
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EstoniaIdCardProviderOutput
|
|
22
|
+
*/
|
|
23
|
+
firstName: string;
|
|
24
|
+
/**
|
|
25
|
+
* The last name of the verified individual
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EstoniaIdCardProviderOutput
|
|
28
|
+
*/
|
|
29
|
+
lastName: string;
|
|
30
|
+
/**
|
|
31
|
+
* The date of birth of the verified individual
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof EstoniaIdCardProviderOutput
|
|
34
|
+
*/
|
|
35
|
+
dateOfBirth: Date;
|
|
36
|
+
/**
|
|
37
|
+
* The 11-digit Estonian personal identification code ("isikukood") of the verified individual.
|
|
38
|
+
*
|
|
39
|
+
* This is in the format GYYMMDDSSSC, where:
|
|
40
|
+
* - G combines the century and sex of birth
|
|
41
|
+
* - YYMMDD is the date of birth within the given century
|
|
42
|
+
* - SSS is a serial number distinguishing people born on the same date
|
|
43
|
+
* - C is a checksum digit
|
|
44
|
+
*
|
|
45
|
+
* If G is odd, the individual is male.
|
|
46
|
+
* If G is even, the individual is female.
|
|
47
|
+
*
|
|
48
|
+
* If G is 1 or 2, the individual was born in the 19th century (1800-1899).
|
|
49
|
+
* If G is 3 or 4, the individual was born in the 20th century (1900-1999).
|
|
50
|
+
* If G is 5 or 6, the individual was born in the 21st century (2000-2099).
|
|
51
|
+
* If G is 7 or 8, the individual was born in the 22nd century (2100-2199).
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof EstoniaIdCardProviderOutput
|
|
54
|
+
*/
|
|
55
|
+
personalIdentificationCode: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the EstoniaIdCardProviderOutput interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfEstoniaIdCardProviderOutput(value: object): value is EstoniaIdCardProviderOutput;
|
|
61
|
+
export declare function EstoniaIdCardProviderOutputFromJSON(json: any): EstoniaIdCardProviderOutput;
|
|
62
|
+
export declare function EstoniaIdCardProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): EstoniaIdCardProviderOutput;
|
|
63
|
+
export declare function EstoniaIdCardProviderOutputToJSON(json: any): EstoniaIdCardProviderOutput;
|
|
64
|
+
export declare function EstoniaIdCardProviderOutputToJSONTyped(value?: EstoniaIdCardProviderOutput | 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 EstoniaIdCardProviderOutput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfEstoniaIdCardProviderOutput(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
|
+
if (!('personalIdentificationCode' in value) || value['personalIdentificationCode'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function EstoniaIdCardProviderOutputFromJSON(json) {
|
|
29
|
+
return EstoniaIdCardProviderOutputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function EstoniaIdCardProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'firstName': json['firstName'],
|
|
37
|
+
'lastName': json['lastName'],
|
|
38
|
+
'dateOfBirth': (new Date(json['dateOfBirth'])),
|
|
39
|
+
'personalIdentificationCode': json['personalIdentificationCode'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function EstoniaIdCardProviderOutputToJSON(json) {
|
|
43
|
+
return EstoniaIdCardProviderOutputToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function EstoniaIdCardProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'firstName': value['firstName'],
|
|
51
|
+
'lastName': value['lastName'],
|
|
52
|
+
'dateOfBirth': ((value['dateOfBirth']).toISOString().substring(0, 10)),
|
|
53
|
+
'personalIdentificationCode': value['personalIdentificationCode'],
|
|
54
|
+
};
|
|
55
|
+
}
|