@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,180 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { YotiStructuredPostalAddress } from './YotiStructuredPostalAddress';
|
|
17
|
+
import {
|
|
18
|
+
YotiStructuredPostalAddressFromJSON,
|
|
19
|
+
YotiStructuredPostalAddressFromJSONTyped,
|
|
20
|
+
YotiStructuredPostalAddressToJSON,
|
|
21
|
+
YotiStructuredPostalAddressToJSONTyped,
|
|
22
|
+
} from './YotiStructuredPostalAddress';
|
|
23
|
+
import type { YotiDocumentDetails } from './YotiDocumentDetails';
|
|
24
|
+
import {
|
|
25
|
+
YotiDocumentDetailsFromJSON,
|
|
26
|
+
YotiDocumentDetailsFromJSONTyped,
|
|
27
|
+
YotiDocumentDetailsToJSON,
|
|
28
|
+
YotiDocumentDetailsToJSONTyped,
|
|
29
|
+
} from './YotiDocumentDetails';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Exposed properties for the `post-office-easyid` Provider which do not directly map to the normalized IdentityData model.
|
|
33
|
+
* @export
|
|
34
|
+
* @interface PostOfficeEasyIdProviderOutput
|
|
35
|
+
*/
|
|
36
|
+
export interface PostOfficeEasyIdProviderOutput {
|
|
37
|
+
/**
|
|
38
|
+
* The unique id for your service of the individual. This is not shared between different services so if the user logs into a different service, the user will have a new id for the other service.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof PostOfficeEasyIdProviderOutput
|
|
41
|
+
*/
|
|
42
|
+
rememberMeId?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* The email address of the individual
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof PostOfficeEasyIdProviderOutput
|
|
47
|
+
*/
|
|
48
|
+
email?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* The given name of the individual. This can correspond to first and middle names in English.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof PostOfficeEasyIdProviderOutput
|
|
53
|
+
*/
|
|
54
|
+
givenName?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* The family name of the individual
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof PostOfficeEasyIdProviderOutput
|
|
59
|
+
*/
|
|
60
|
+
familyName?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
* Full name of the individual which is composed of the given and family name.
|
|
63
|
+
* Unverified full name may be safe to use. For example, Aadhaar card provides full name, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof PostOfficeEasyIdProviderOutput
|
|
66
|
+
*/
|
|
67
|
+
fullName?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* The date of birth of the individual.
|
|
70
|
+
* Unverified date of birth may be safe to use. For example, Aadhaar card provides date of birth, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
|
|
71
|
+
* @type {Date}
|
|
72
|
+
* @memberof PostOfficeEasyIdProviderOutput
|
|
73
|
+
*/
|
|
74
|
+
dateOfBirth?: Date | null;
|
|
75
|
+
/**
|
|
76
|
+
* The gender of the individual. Depending on the source or country, gender may not be verified. This is a setting that can be configured while setting up scopes.
|
|
77
|
+
*
|
|
78
|
+
* Unverified gender may be safe to use. For example, Aadhaar card provides gender, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
|
|
79
|
+
* In some countries
|
|
80
|
+
* Possible values:
|
|
81
|
+
* - "MALE"
|
|
82
|
+
* - "FEMALE"
|
|
83
|
+
* - "TRANSGENDER"
|
|
84
|
+
* - "OTHER"
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof PostOfficeEasyIdProviderOutput
|
|
87
|
+
*/
|
|
88
|
+
gender?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
* The nationality of the individual as a ISO alpha-3 code
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof PostOfficeEasyIdProviderOutput
|
|
93
|
+
*/
|
|
94
|
+
nationality?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
* The mobile phone number of the individual. This number was verified with a one time password (OTP) during the user's registration with Yoti. In some cases, Yoti may do additional checks against its sources to confirm the user's identity.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof PostOfficeEasyIdProviderOutput
|
|
99
|
+
*/
|
|
100
|
+
mobileNumber?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
* A structured postal address for the individual that comes from the underlying document or can be manually added. In the case of being manually added, the address is considered "unverified".
|
|
103
|
+
* Unverified addresses may be safe to use. For example, Aadhaar card provides an address, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
|
|
104
|
+
* @type {YotiStructuredPostalAddress}
|
|
105
|
+
* @memberof PostOfficeEasyIdProviderOutput
|
|
106
|
+
*/
|
|
107
|
+
structuredPostalAddress?: YotiStructuredPostalAddress | null;
|
|
108
|
+
/**
|
|
109
|
+
* The whole address for the individual that comes from the underlying document or can be manually added. In the case of being manually added, the address is considered "unverified". The format of this will be different for each country.
|
|
110
|
+
* Refer to `StructuredPostalAddress` for a detailed version of the address.
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof PostOfficeEasyIdProviderOutput
|
|
113
|
+
*/
|
|
114
|
+
postalAddress?: string | null;
|
|
115
|
+
/**
|
|
116
|
+
* The details of the underlying document used to help create the Yoti credential
|
|
117
|
+
* @type {YotiDocumentDetails}
|
|
118
|
+
* @memberof PostOfficeEasyIdProviderOutput
|
|
119
|
+
*/
|
|
120
|
+
documentDetails?: YotiDocumentDetails | null;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Check if a given object implements the PostOfficeEasyIdProviderOutput interface.
|
|
125
|
+
*/
|
|
126
|
+
export function instanceOfPostOfficeEasyIdProviderOutput(value: object): value is PostOfficeEasyIdProviderOutput {
|
|
127
|
+
return true;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export function PostOfficeEasyIdProviderOutputFromJSON(json: any): PostOfficeEasyIdProviderOutput {
|
|
131
|
+
return PostOfficeEasyIdProviderOutputFromJSONTyped(json, false);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export function PostOfficeEasyIdProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostOfficeEasyIdProviderOutput {
|
|
135
|
+
if (json == null) {
|
|
136
|
+
return json;
|
|
137
|
+
}
|
|
138
|
+
return {
|
|
139
|
+
|
|
140
|
+
'rememberMeId': json['rememberMeId'] == null ? undefined : json['rememberMeId'],
|
|
141
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
142
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
143
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
144
|
+
'fullName': json['fullName'] == null ? undefined : json['fullName'],
|
|
145
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
146
|
+
'gender': json['gender'] == null ? undefined : json['gender'],
|
|
147
|
+
'nationality': json['nationality'] == null ? undefined : json['nationality'],
|
|
148
|
+
'mobileNumber': json['mobileNumber'] == null ? undefined : json['mobileNumber'],
|
|
149
|
+
'structuredPostalAddress': json['structuredPostalAddress'] == null ? undefined : YotiStructuredPostalAddressFromJSON(json['structuredPostalAddress']),
|
|
150
|
+
'postalAddress': json['postalAddress'] == null ? undefined : json['postalAddress'],
|
|
151
|
+
'documentDetails': json['documentDetails'] == null ? undefined : YotiDocumentDetailsFromJSON(json['documentDetails']),
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export function PostOfficeEasyIdProviderOutputToJSON(json: any): PostOfficeEasyIdProviderOutput {
|
|
156
|
+
return PostOfficeEasyIdProviderOutputToJSONTyped(json, false);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export function PostOfficeEasyIdProviderOutputToJSONTyped(value?: PostOfficeEasyIdProviderOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
160
|
+
if (value == null) {
|
|
161
|
+
return value;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
return {
|
|
165
|
+
|
|
166
|
+
'rememberMeId': value['rememberMeId'],
|
|
167
|
+
'email': value['email'],
|
|
168
|
+
'givenName': value['givenName'],
|
|
169
|
+
'familyName': value['familyName'],
|
|
170
|
+
'fullName': value['fullName'],
|
|
171
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
|
|
172
|
+
'gender': value['gender'],
|
|
173
|
+
'nationality': value['nationality'],
|
|
174
|
+
'mobileNumber': value['mobileNumber'],
|
|
175
|
+
'structuredPostalAddress': YotiStructuredPostalAddressToJSON(value['structuredPostalAddress']),
|
|
176
|
+
'postalAddress': value['postalAddress'],
|
|
177
|
+
'documentDetails': YotiDocumentDetailsToJSON(value['documentDetails']),
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
|
|
@@ -13,20 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { ContractAttachment } from './ContractAttachment';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
23
|
-
import type { ContractField } from './ContractField';
|
|
24
|
-
import {
|
|
25
|
-
ContractFieldFromJSON,
|
|
26
|
-
ContractFieldFromJSONTyped,
|
|
27
|
-
ContractFieldToJSON,
|
|
28
|
-
ContractFieldToJSONTyped,
|
|
29
|
-
} from './ContractField';
|
|
18
|
+
ContractAttachmentFromJSON,
|
|
19
|
+
ContractAttachmentFromJSONTyped,
|
|
20
|
+
ContractAttachmentToJSON,
|
|
21
|
+
ContractAttachmentToJSONTyped,
|
|
22
|
+
} from './ContractAttachment';
|
|
30
23
|
import type { ProviderHealth } from './ProviderHealth';
|
|
31
24
|
import {
|
|
32
25
|
ProviderHealthFromJSON,
|
|
@@ -48,6 +41,13 @@ import {
|
|
|
48
41
|
ResultCollectionMethodToJSON,
|
|
49
42
|
ResultCollectionMethodToJSONTyped,
|
|
50
43
|
} from './ResultCollectionMethod';
|
|
44
|
+
import type { ContractAttribute } from './ContractAttribute';
|
|
45
|
+
import {
|
|
46
|
+
ContractAttributeFromJSON,
|
|
47
|
+
ContractAttributeFromJSONTyped,
|
|
48
|
+
ContractAttributeToJSON,
|
|
49
|
+
ContractAttributeToJSONTyped,
|
|
50
|
+
} from './ContractAttribute';
|
|
51
51
|
import type { IntegrationLaunchMethod } from './IntegrationLaunchMethod';
|
|
52
52
|
import {
|
|
53
53
|
IntegrationLaunchMethodFromJSON,
|
|
@@ -59,72 +59,79 @@ import {
|
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @export
|
|
62
|
-
* @interface
|
|
62
|
+
* @interface Provider
|
|
63
63
|
*/
|
|
64
|
-
export interface
|
|
64
|
+
export interface Provider {
|
|
65
65
|
/**
|
|
66
|
-
* The
|
|
66
|
+
* The unique identifier of the provider
|
|
67
67
|
* @type {string}
|
|
68
|
-
* @memberof
|
|
68
|
+
* @memberof Provider
|
|
69
69
|
*/
|
|
70
70
|
id: string;
|
|
71
71
|
/**
|
|
72
|
-
* The
|
|
72
|
+
* The display name of the provider
|
|
73
73
|
* @type {string}
|
|
74
|
-
* @memberof
|
|
74
|
+
* @memberof Provider
|
|
75
75
|
*/
|
|
76
76
|
name: string;
|
|
77
|
+
/**
|
|
78
|
+
* The URL of the provider's logo
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof Provider
|
|
81
|
+
*/
|
|
82
|
+
logoUrl: string;
|
|
77
83
|
/**
|
|
78
84
|
* The Provider's subtext recommended to be shown next to the name.
|
|
79
85
|
*
|
|
80
86
|
* This is flavor text, not a full, human-readable description of the provider.
|
|
81
87
|
* @type {string}
|
|
82
|
-
* @memberof
|
|
88
|
+
* @memberof Provider
|
|
83
89
|
*/
|
|
84
90
|
subtext: string;
|
|
85
91
|
/**
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
* This is flavor text, not a full, human-readable description of the provider.
|
|
92
|
+
* A description of the provider's capabilities
|
|
89
93
|
* @type {string}
|
|
90
|
-
* @memberof
|
|
94
|
+
* @memberof Provider
|
|
91
95
|
* @deprecated
|
|
92
96
|
*/
|
|
93
|
-
description: string;
|
|
97
|
+
readonly description: string;
|
|
94
98
|
/**
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
* @
|
|
99
|
-
* @memberof ProviderContract
|
|
99
|
+
* Geographic regions where this provider operates
|
|
100
|
+
* @type {Array<string>}
|
|
101
|
+
* @memberof Provider
|
|
102
|
+
* @deprecated
|
|
100
103
|
*/
|
|
101
|
-
|
|
104
|
+
geography: Array<string>;
|
|
102
105
|
/**
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
* @type {boolean}
|
|
107
|
-
* @memberof ProviderContract
|
|
106
|
+
* Specific regions supported by this provider
|
|
107
|
+
* @type {Array<string>}
|
|
108
|
+
* @memberof Provider
|
|
108
109
|
*/
|
|
109
|
-
|
|
110
|
+
regions: Array<string>;
|
|
110
111
|
/**
|
|
111
|
-
* The
|
|
112
|
+
* The countries where this Provider is available (as alpha-2 ISO codes).
|
|
112
113
|
* @type {Array<string>}
|
|
113
|
-
* @memberof
|
|
114
|
+
* @memberof Provider
|
|
114
115
|
*/
|
|
115
|
-
|
|
116
|
+
countries: Array<string>;
|
|
116
117
|
/**
|
|
117
|
-
* The
|
|
118
|
+
* The subdivisions (states, provinces, etc.) where this Provider is available (as alpha-2 ISO codes).
|
|
118
119
|
* @type {Array<string>}
|
|
119
|
-
* @memberof
|
|
120
|
+
* @memberof Provider
|
|
120
121
|
*/
|
|
121
|
-
|
|
122
|
+
subdivisions: Array<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Whether this provider is licensed for use by your organization
|
|
125
|
+
* @type {boolean}
|
|
126
|
+
* @memberof Provider
|
|
127
|
+
*/
|
|
128
|
+
licensed: boolean;
|
|
122
129
|
/**
|
|
123
130
|
* Relevant only to Direct Provider Sessions.
|
|
124
131
|
*
|
|
125
132
|
* The `LaunchMethod` which must be supported to launch the Provider Session in Direct Provider Sessions.
|
|
126
133
|
* @type {IntegrationLaunchMethod}
|
|
127
|
-
* @memberof
|
|
134
|
+
* @memberof Provider
|
|
128
135
|
*/
|
|
129
136
|
launchMethod: IntegrationLaunchMethod;
|
|
130
137
|
/**
|
|
@@ -132,7 +139,7 @@ export interface ProviderContract {
|
|
|
132
139
|
*
|
|
133
140
|
* The `CollectionMethod` which must be supported to launch the Provider Session in Direct Provider Sessions.
|
|
134
141
|
* @type {ResultCollectionMethod}
|
|
135
|
-
* @memberof
|
|
142
|
+
* @memberof Provider
|
|
136
143
|
*/
|
|
137
144
|
collectionMethod: ResultCollectionMethod;
|
|
138
145
|
/**
|
|
@@ -142,7 +149,7 @@ export interface ProviderContract {
|
|
|
142
149
|
* This is an uncommon scenario, and only applies to Providers which cannot guarantee
|
|
143
150
|
* the availability of results immediately after the user is redirected back to your application.
|
|
144
151
|
* @type {boolean}
|
|
145
|
-
* @memberof
|
|
152
|
+
* @memberof Provider
|
|
146
153
|
*/
|
|
147
154
|
resultsMayBeDelayedAfterRedirect: boolean;
|
|
148
155
|
/**
|
|
@@ -153,7 +160,7 @@ export interface ProviderContract {
|
|
|
153
160
|
* For example, Samsung Wallet's deep links expire every 30 seconds, and must be refreshed periodically for a
|
|
154
161
|
* resilient user flow.
|
|
155
162
|
* @type {boolean}
|
|
156
|
-
* @memberof
|
|
163
|
+
* @memberof Provider
|
|
157
164
|
*/
|
|
158
165
|
hasRefreshableContent: boolean;
|
|
159
166
|
/**
|
|
@@ -162,7 +169,7 @@ export interface ProviderContract {
|
|
|
162
169
|
* If `true`, this Provider requires provider-specific input on Session creation.
|
|
163
170
|
* If this input is not provided, Trinsic's Hosted UI will be invoked to collect the input from the user.
|
|
164
171
|
* @type {boolean}
|
|
165
|
-
* @memberof
|
|
172
|
+
* @memberof Provider
|
|
166
173
|
*/
|
|
167
174
|
requiresInput: boolean;
|
|
168
175
|
/**
|
|
@@ -170,7 +177,7 @@ export interface ProviderContract {
|
|
|
170
177
|
*
|
|
171
178
|
* This is `true` for any Provider which is not a simple, OIDC-like redirect flow.
|
|
172
179
|
* @type {boolean}
|
|
173
|
-
* @memberof
|
|
180
|
+
* @memberof Provider
|
|
174
181
|
*/
|
|
175
182
|
hasTrinsicInterface: boolean;
|
|
176
183
|
/**
|
|
@@ -179,78 +186,76 @@ export interface ProviderContract {
|
|
|
179
186
|
* If `false`, the Provider may still be launched through Direct Provider Sessions;
|
|
180
187
|
* however, it will necessarily require a Trinsic-hosted UI to function.
|
|
181
188
|
* @type {boolean}
|
|
182
|
-
* @memberof
|
|
183
|
-
* @deprecated
|
|
184
|
-
*/
|
|
185
|
-
supportsAdvancedProviderSessions: boolean;
|
|
186
|
-
/**
|
|
187
|
-
* Whether this Provider can be fully whitelabeled/OEMed through the Direct Provider Sessions API.
|
|
188
|
-
*
|
|
189
|
-
* If `false`, the Provider may still be launched through Direct Provider Sessions;
|
|
190
|
-
* however, it will necessarily require a Trinsic-hosted UI to function.
|
|
191
|
-
* @type {boolean}
|
|
192
|
-
* @memberof ProviderContract
|
|
189
|
+
* @memberof Provider
|
|
193
190
|
*/
|
|
194
191
|
supportsDirectProviderSessions: boolean;
|
|
195
192
|
/**
|
|
196
|
-
* Information about the
|
|
197
|
-
* @type {Array<
|
|
198
|
-
* @memberof
|
|
193
|
+
* Information about the user attributes that this Provider will return in verification results.
|
|
194
|
+
* @type {Array<ContractAttribute>}
|
|
195
|
+
* @memberof Provider
|
|
199
196
|
*/
|
|
200
|
-
|
|
197
|
+
availableAttributes?: Array<ContractAttribute> | null;
|
|
201
198
|
/**
|
|
202
|
-
* Information about the
|
|
203
|
-
* @type {Array<
|
|
204
|
-
* @memberof
|
|
199
|
+
* Information about the attachments that this Provider will return in verification results.
|
|
200
|
+
* @type {Array<ContractAttachment>}
|
|
201
|
+
* @memberof Provider
|
|
205
202
|
*/
|
|
206
|
-
|
|
203
|
+
availableAttachments?: Array<ContractAttachment> | null;
|
|
207
204
|
/**
|
|
208
|
-
* Metadata about the sub-providers which are available for this Provider.
|
|
205
|
+
* Metadata about the sub-providers which are available for this Provider in the current Environment.
|
|
209
206
|
*
|
|
210
207
|
* For example, Italy's SPID is a Provider which aggregates access to multiple sub-providers.
|
|
211
208
|
* @type {Array<SubProviderMetadata>}
|
|
212
|
-
* @memberof
|
|
209
|
+
* @memberof Provider
|
|
213
210
|
*/
|
|
214
211
|
subProviders?: Array<SubProviderMetadata> | null;
|
|
215
212
|
/**
|
|
216
|
-
* The health for
|
|
213
|
+
* The health for a provider in the live environment
|
|
217
214
|
* @type {ProviderHealth}
|
|
218
|
-
* @memberof
|
|
215
|
+
* @memberof Provider
|
|
219
216
|
*/
|
|
220
|
-
|
|
217
|
+
liveHealth: ProviderHealth;
|
|
218
|
+
/**
|
|
219
|
+
* The health for a provider in the test environment
|
|
220
|
+
* @type {ProviderHealth}
|
|
221
|
+
* @memberof Provider
|
|
222
|
+
*/
|
|
223
|
+
testHealth: ProviderHealth;
|
|
221
224
|
}
|
|
222
225
|
|
|
223
226
|
|
|
224
227
|
|
|
225
228
|
/**
|
|
226
|
-
* Check if a given object implements the
|
|
229
|
+
* Check if a given object implements the Provider interface.
|
|
227
230
|
*/
|
|
228
|
-
export function
|
|
231
|
+
export function instanceOfProvider(value: object): value is Provider {
|
|
229
232
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
230
233
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
234
|
+
if (!('logoUrl' in value) || value['logoUrl'] === undefined) return false;
|
|
231
235
|
if (!('subtext' in value) || value['subtext'] === undefined) return false;
|
|
232
236
|
if (!('description' in value) || value['description'] === undefined) return false;
|
|
233
|
-
if (!('logoUrl' in value) || value['logoUrl'] === undefined) return false;
|
|
234
|
-
if (!('available' in value) || value['available'] === undefined) return false;
|
|
235
237
|
if (!('geography' in value) || value['geography'] === undefined) return false;
|
|
236
238
|
if (!('regions' in value) || value['regions'] === undefined) return false;
|
|
239
|
+
if (!('countries' in value) || value['countries'] === undefined) return false;
|
|
240
|
+
if (!('subdivisions' in value) || value['subdivisions'] === undefined) return false;
|
|
241
|
+
if (!('licensed' in value) || value['licensed'] === undefined) return false;
|
|
237
242
|
if (!('launchMethod' in value) || value['launchMethod'] === undefined) return false;
|
|
238
243
|
if (!('collectionMethod' in value) || value['collectionMethod'] === undefined) return false;
|
|
239
244
|
if (!('resultsMayBeDelayedAfterRedirect' in value) || value['resultsMayBeDelayedAfterRedirect'] === undefined) return false;
|
|
240
245
|
if (!('hasRefreshableContent' in value) || value['hasRefreshableContent'] === undefined) return false;
|
|
241
246
|
if (!('requiresInput' in value) || value['requiresInput'] === undefined) return false;
|
|
242
247
|
if (!('hasTrinsicInterface' in value) || value['hasTrinsicInterface'] === undefined) return false;
|
|
243
|
-
if (!('supportsAdvancedProviderSessions' in value) || value['supportsAdvancedProviderSessions'] === undefined) return false;
|
|
244
248
|
if (!('supportsDirectProviderSessions' in value) || value['supportsDirectProviderSessions'] === undefined) return false;
|
|
245
|
-
if (!('
|
|
249
|
+
if (!('liveHealth' in value) || value['liveHealth'] === undefined) return false;
|
|
250
|
+
if (!('testHealth' in value) || value['testHealth'] === undefined) return false;
|
|
246
251
|
return true;
|
|
247
252
|
}
|
|
248
253
|
|
|
249
|
-
export function
|
|
250
|
-
return
|
|
254
|
+
export function ProviderFromJSON(json: any): Provider {
|
|
255
|
+
return ProviderFromJSONTyped(json, false);
|
|
251
256
|
}
|
|
252
257
|
|
|
253
|
-
export function
|
|
258
|
+
export function ProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Provider {
|
|
254
259
|
if (json == null) {
|
|
255
260
|
return json;
|
|
256
261
|
}
|
|
@@ -258,32 +263,34 @@ export function ProviderContractFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
258
263
|
|
|
259
264
|
'id': json['id'],
|
|
260
265
|
'name': json['name'],
|
|
266
|
+
'logoUrl': json['logoUrl'],
|
|
261
267
|
'subtext': json['subtext'],
|
|
262
268
|
'description': json['description'],
|
|
263
|
-
'logoUrl': json['logoUrl'],
|
|
264
|
-
'available': json['available'],
|
|
265
269
|
'geography': json['geography'],
|
|
266
270
|
'regions': json['regions'],
|
|
271
|
+
'countries': json['countries'],
|
|
272
|
+
'subdivisions': json['subdivisions'],
|
|
273
|
+
'licensed': json['licensed'],
|
|
267
274
|
'launchMethod': IntegrationLaunchMethodFromJSON(json['launchMethod']),
|
|
268
275
|
'collectionMethod': ResultCollectionMethodFromJSON(json['collectionMethod']),
|
|
269
276
|
'resultsMayBeDelayedAfterRedirect': json['resultsMayBeDelayedAfterRedirect'],
|
|
270
277
|
'hasRefreshableContent': json['hasRefreshableContent'],
|
|
271
278
|
'requiresInput': json['requiresInput'],
|
|
272
279
|
'hasTrinsicInterface': json['hasTrinsicInterface'],
|
|
273
|
-
'supportsAdvancedProviderSessions': json['supportsAdvancedProviderSessions'],
|
|
274
280
|
'supportsDirectProviderSessions': json['supportsDirectProviderSessions'],
|
|
275
|
-
'
|
|
276
|
-
'
|
|
281
|
+
'availableAttributes': json['availableAttributes'] == null ? undefined : ((json['availableAttributes'] as Array<any>).map(ContractAttributeFromJSON)),
|
|
282
|
+
'availableAttachments': json['availableAttachments'] == null ? undefined : ((json['availableAttachments'] as Array<any>).map(ContractAttachmentFromJSON)),
|
|
277
283
|
'subProviders': json['subProviders'] == null ? undefined : ((json['subProviders'] as Array<any>).map(SubProviderMetadataFromJSON)),
|
|
278
|
-
'
|
|
284
|
+
'liveHealth': ProviderHealthFromJSON(json['liveHealth']),
|
|
285
|
+
'testHealth': ProviderHealthFromJSON(json['testHealth']),
|
|
279
286
|
};
|
|
280
287
|
}
|
|
281
288
|
|
|
282
|
-
export function
|
|
283
|
-
return
|
|
289
|
+
export function ProviderToJSON(json: any): Provider {
|
|
290
|
+
return ProviderToJSONTyped(json, false);
|
|
284
291
|
}
|
|
285
292
|
|
|
286
|
-
export function
|
|
293
|
+
export function ProviderToJSONTyped(value?: Omit<Provider, 'description'> | null, ignoreDiscriminator: boolean = false): any {
|
|
287
294
|
if (value == null) {
|
|
288
295
|
return value;
|
|
289
296
|
}
|
|
@@ -292,24 +299,25 @@ export function ProviderContractToJSONTyped(value?: ProviderContract | null, ign
|
|
|
292
299
|
|
|
293
300
|
'id': value['id'],
|
|
294
301
|
'name': value['name'],
|
|
295
|
-
'subtext': value['subtext'],
|
|
296
|
-
'description': value['description'],
|
|
297
302
|
'logoUrl': value['logoUrl'],
|
|
298
|
-
'
|
|
303
|
+
'subtext': value['subtext'],
|
|
299
304
|
'geography': value['geography'],
|
|
300
305
|
'regions': value['regions'],
|
|
306
|
+
'countries': value['countries'],
|
|
307
|
+
'subdivisions': value['subdivisions'],
|
|
308
|
+
'licensed': value['licensed'],
|
|
301
309
|
'launchMethod': IntegrationLaunchMethodToJSON(value['launchMethod']),
|
|
302
310
|
'collectionMethod': ResultCollectionMethodToJSON(value['collectionMethod']),
|
|
303
311
|
'resultsMayBeDelayedAfterRedirect': value['resultsMayBeDelayedAfterRedirect'],
|
|
304
312
|
'hasRefreshableContent': value['hasRefreshableContent'],
|
|
305
313
|
'requiresInput': value['requiresInput'],
|
|
306
314
|
'hasTrinsicInterface': value['hasTrinsicInterface'],
|
|
307
|
-
'supportsAdvancedProviderSessions': value['supportsAdvancedProviderSessions'],
|
|
308
315
|
'supportsDirectProviderSessions': value['supportsDirectProviderSessions'],
|
|
309
|
-
'
|
|
310
|
-
'
|
|
316
|
+
'availableAttributes': value['availableAttributes'] == null ? undefined : ((value['availableAttributes'] as Array<any>).map(ContractAttributeToJSON)),
|
|
317
|
+
'availableAttachments': value['availableAttachments'] == null ? undefined : ((value['availableAttachments'] as Array<any>).map(ContractAttachmentToJSON)),
|
|
311
318
|
'subProviders': value['subProviders'] == null ? undefined : ((value['subProviders'] as Array<any>).map(SubProviderMetadataToJSON)),
|
|
312
|
-
'
|
|
319
|
+
'liveHealth': ProviderHealthToJSON(value['liveHealth']),
|
|
320
|
+
'testHealth': ProviderHealthToJSON(value['testHealth']),
|
|
313
321
|
};
|
|
314
322
|
}
|
|
315
323
|
|