@trinsic/api 3.0.2-preview1 → 3.1.0-preview1
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 +244 -4
- package/.openapi-generator/VERSION +1 -1
- package/README.md +0 -2
- package/dist/apis/ProvidersApi.d.ts +22 -0
- package/dist/apis/ProvidersApi.js +33 -12
- package/dist/apis/RedirectUrisApi.d.ts +34 -0
- package/dist/apis/RedirectUrisApi.js +49 -18
- package/dist/apis/SessionsApi.d.ts +125 -22
- package/dist/apis/SessionsApi.js +182 -99
- package/dist/apis/VerificationProfilesApi.d.ts +84 -2
- package/dist/apis/VerificationProfilesApi.js +102 -20
- package/dist/esm/apis/ProvidersApi.d.ts +22 -0
- package/dist/esm/apis/ProvidersApi.js +33 -12
- package/dist/esm/apis/RedirectUrisApi.d.ts +34 -0
- package/dist/esm/apis/RedirectUrisApi.js +49 -18
- package/dist/esm/apis/SessionsApi.d.ts +125 -22
- package/dist/esm/apis/SessionsApi.js +183 -100
- package/dist/esm/apis/VerificationProfilesApi.d.ts +84 -2
- package/dist/esm/apis/VerificationProfilesApi.js +102 -20
- package/dist/esm/models/AadhaarAddress.d.ts +100 -0
- package/dist/esm/models/AadhaarAddress.js +63 -0
- package/dist/esm/models/AadhaarClaims.d.ts +4 -71
- package/dist/esm/models/AadhaarClaims.js +4 -25
- package/dist/esm/models/AadhaarInput.js +1 -1
- package/dist/esm/models/AadhaarLanguage.d.ts +1 -1
- package/dist/esm/models/AadhaarLocalizedClaims.d.ts +4 -57
- package/dist/esm/models/AadhaarLocalizedClaims.js +3 -20
- package/dist/esm/models/AudkenniProviderOutput.d.ts +58 -0
- package/dist/esm/models/AudkenniProviderOutput.js +53 -0
- package/dist/esm/models/BelgiumIdCardProviderOutput.js +1 -1
- package/dist/esm/models/BoliviaCiLookupInput.d.ts +43 -0
- package/dist/esm/models/BoliviaCiLookupInput.js +43 -0
- package/dist/esm/models/BoliviaCiProviderOutput.d.ts +63 -0
- package/dist/esm/models/BoliviaCiProviderOutput.js +57 -0
- package/dist/esm/models/BrazilCpfCheckInput.d.ts +14 -0
- package/dist/esm/models/BrazilCpfCheckInput.js +4 -0
- package/dist/esm/models/ChinaResidentIdMatchInput.d.ts +50 -0
- package/dist/esm/models/ChinaResidentIdMatchInput.js +55 -0
- package/dist/esm/models/ChinaResidentIdMatchOutput.d.ts +50 -0
- package/dist/esm/models/ChinaResidentIdMatchOutput.js +45 -0
- package/dist/esm/models/ColombiaCcLookupInput.d.ts +44 -0
- package/dist/esm/models/ColombiaCcLookupInput.js +43 -0
- package/dist/esm/models/ColombiaCcProviderOutput.d.ts +109 -0
- package/dist/esm/models/ColombiaCcProviderOutput.js +80 -0
- package/dist/esm/models/ColombiaExpeditionPlace.d.ts +46 -0
- package/dist/esm/models/ColombiaExpeditionPlace.js +43 -0
- package/dist/esm/models/ConnectIdProviderOutput.d.ts +0 -7
- package/dist/esm/models/ConnectIdProviderOutput.js +1 -4
- package/dist/esm/models/CoteDIvoireNidLookup2ProviderOutput.d.ts +89 -0
- package/dist/esm/models/CoteDIvoireNidLookup2ProviderOutput.js +69 -0
- package/dist/esm/models/CreateDirectProviderSessionRequest.d.ts +9 -0
- package/dist/esm/models/CreateDirectProviderSessionRequest.js +2 -0
- package/dist/esm/models/CreateHostedProviderSessionRequest.d.ts +8 -0
- package/dist/esm/models/CreateHostedProviderSessionRequest.js +2 -0
- package/dist/esm/models/CzechMojeIdProviderOutput.d.ts +14 -1
- package/dist/esm/models/CzechMojeIdProviderOutput.js +5 -1
- package/dist/esm/models/CzechiaMojeIdProviderOutput.d.ts +1 -1
- package/dist/esm/models/CzechiaMojeIdProviderOutput.js +1 -1
- package/dist/esm/models/DigilockerAadhaarProviderOutput.d.ts +13 -19
- package/dist/esm/models/DigilockerAadhaarProviderOutput.js +4 -4
- package/dist/esm/models/DocumentData.js +2 -2
- package/dist/esm/models/ElSalvadorDuiLookupInput.d.ts +45 -0
- package/dist/esm/models/ElSalvadorDuiLookupInput.js +43 -0
- package/dist/esm/models/ElSalvadorDuiProviderOutput.d.ts +51 -0
- package/dist/esm/models/ElSalvadorDuiProviderOutput.js +51 -0
- package/dist/esm/models/EstoniaIdCardProviderOutput.js +1 -1
- package/dist/esm/models/FaydaProviderAddress.d.ts +50 -0
- package/dist/esm/models/FaydaProviderAddress.js +45 -0
- package/dist/esm/models/FaydaProviderOutput.d.ts +58 -3
- package/dist/esm/models/FaydaProviderOutput.js +13 -0
- package/dist/esm/models/FinlandIdCardProviderOutput.js +1 -1
- package/dist/esm/models/FinnishTrustNetworkProviderOutput.d.ts +4 -4
- package/dist/esm/models/FinnishTrustNetworkProviderOutput.js +1 -1
- package/dist/esm/models/FrejaProviderOutput.d.ts +1 -1
- package/dist/esm/models/FrejaProviderOutput.js +1 -1
- package/dist/esm/models/FrenchNumeriqueGivenName.d.ts +2 -2
- package/dist/esm/models/FrenchNumeriqueProviderOutput.d.ts +8 -8
- package/dist/esm/models/FrenchNumeriqueProviderOutput.js +4 -4
- package/dist/esm/models/GoogleWalletInput.d.ts +2 -0
- package/dist/esm/models/GuatemalaCuiLookupInput.d.ts +43 -0
- package/dist/esm/models/GuatemalaCuiLookupInput.js +41 -0
- package/dist/esm/models/GuatemalaCuiProviderOutput.d.ts +112 -0
- package/dist/esm/models/GuatemalaCuiProviderOutput.js +77 -0
- package/dist/esm/models/IndiaPanLookupInput.d.ts +33 -0
- package/dist/esm/models/IndiaPanLookupInput.js +43 -0
- package/dist/esm/models/IndiaPanLookupProviderOutput.d.ts +106 -0
- package/dist/esm/models/IndiaPanLookupProviderOutput.js +56 -0
- package/dist/esm/models/IndiaPanStructuredNumber.d.ts +128 -0
- package/dist/esm/models/IndiaPanStructuredNumber.js +61 -0
- package/dist/esm/models/IndonesiaDukcapilMatchInput.js +2 -2
- package/dist/esm/models/IndonesiaNikInput.js +1 -1
- package/dist/esm/models/ItsmeProviderOutput.js +1 -1
- package/dist/esm/models/KenyaNidBiometric2Input.d.ts +5 -1
- package/dist/esm/models/KenyaNidInput.js +1 -1
- package/dist/esm/models/KenyaNidLookup2Input.d.ts +5 -1
- package/dist/esm/models/KenyaNidLookup2ProviderOutput.d.ts +3 -4
- package/dist/esm/models/KenyaNidLookup2ProviderOutput.js +2 -2
- package/dist/esm/models/KenyaNidMatch2Input.d.ts +5 -1
- package/dist/esm/models/KenyaNidMatch2Input.js +1 -1
- package/dist/esm/models/KoreaTelcoMatchInput.d.ts +65 -0
- package/dist/esm/models/KoreaTelcoMatchInput.js +66 -0
- package/dist/esm/models/KoreaTelcoMatchProviderOutput.d.ts +56 -0
- package/dist/esm/models/KoreaTelcoMatchProviderOutput.js +51 -0
- package/dist/esm/models/KoreaTelcoMatchSex.d.ts +25 -0
- package/dist/esm/models/KoreaTelcoMatchSex.js +43 -0
- package/dist/esm/models/LaWalletProviderOutput.js +3 -3
- package/dist/esm/models/LithuaniaIdCardProviderOutput.js +1 -1
- package/dist/esm/models/LloydsSmartIdProviderOutput.d.ts +2 -2
- package/dist/esm/models/LloydsSmartIdProviderOutput.js +1 -1
- package/dist/esm/models/MdlOutput.d.ts +2 -2
- package/dist/esm/models/MdlOutputCertificateData.js +2 -2
- package/dist/esm/models/MitIdProviderOutput.d.ts +10 -10
- package/dist/esm/models/MitIdProviderOutput.js +1 -1
- package/dist/esm/models/MobileCarrier.d.ts +26 -0
- package/dist/esm/models/MobileCarrier.js +44 -0
- package/dist/esm/models/MobileIdProviderOutput.js +1 -1
- package/dist/esm/models/MobileOperatingSystem.d.ts +26 -0
- package/dist/esm/models/MobileOperatingSystem.js +44 -0
- package/dist/esm/models/NetherlandsIdinAddress.d.ts +58 -0
- package/dist/esm/models/NetherlandsIdinAddress.js +59 -0
- package/dist/esm/models/NetherlandsIdinProviderOutput.d.ts +97 -0
- package/dist/esm/models/NetherlandsIdinProviderOutput.js +76 -0
- package/dist/esm/models/NigeriaNinInput.js +1 -1
- package/dist/esm/models/NigeriaNinLookup2ProviderOutput.js +1 -1
- package/dist/esm/models/NigeriaNinMatch2Input.js +1 -1
- package/dist/esm/models/NorwegianBankIdProviderOutput.d.ts +4 -4
- package/dist/esm/models/NorwegianBankIdProviderOutput.js +1 -1
- package/dist/esm/models/OneIdProviderOutput.js +1 -1
- package/dist/esm/models/OutputFrejaDocument.js +1 -1
- package/dist/esm/models/PanamaCedulaLookupInput.d.ts +52 -0
- package/dist/esm/models/PanamaCedulaLookupInput.js +43 -0
- package/dist/esm/models/PanamaCedulaProviderOutput.d.ts +110 -0
- package/dist/esm/models/PanamaCedulaProviderOutput.js +65 -0
- package/dist/esm/models/PersonData.js +1 -1
- package/dist/esm/models/PeruDniProviderOutput.d.ts +1 -1
- package/dist/esm/models/PeruDniProviderOutput.js +3 -3
- package/dist/esm/models/PhilippineMatchInput.js +1 -1
- package/dist/esm/models/PhilippinesDigitalNidProviderOutput.js +2 -2
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.js +2 -2
- package/dist/esm/models/PolandEdoAppProviderOutput.js +1 -1
- package/dist/esm/models/PolandMobywatelMatchInput.d.ts +83 -0
- package/dist/esm/models/PolandMobywatelMatchInput.js +55 -0
- package/dist/esm/models/PolandMobywatelMatchProviderOutput.d.ts +153 -0
- package/dist/esm/models/PolandMobywatelMatchProviderOutput.js +79 -0
- package/dist/esm/models/PortugalIdCardProviderOutput.js +1 -1
- package/dist/esm/models/PostOfficeEasyIdProviderOutput.d.ts +2 -2
- package/dist/esm/models/PostOfficeEasyIdProviderOutput.js +1 -1
- package/dist/esm/models/Provider.d.ts +7 -0
- package/dist/esm/models/Provider.js +3 -0
- package/dist/esm/models/ProviderInput.d.ts +70 -0
- package/dist/esm/models/ProviderInput.js +30 -0
- package/dist/esm/models/ProviderOutput.d.ts +131 -26
- package/dist/esm/models/ProviderOutput.js +63 -18
- package/dist/esm/models/ProviderSupportedLanguage.d.ts +38 -0
- package/dist/esm/models/ProviderSupportedLanguage.js +45 -0
- package/dist/esm/models/SerbiaIdCardProviderOutput.js +1 -1
- package/dist/esm/models/SignzyIndiaAadhaarFetchProviderOutput.d.ts +113 -0
- package/dist/esm/models/SignzyIndiaAadhaarFetchProviderOutput.js +69 -0
- package/dist/esm/models/SingpassLoginProviderOutput.d.ts +87 -0
- package/dist/esm/models/SingpassLoginProviderOutput.js +53 -0
- package/dist/esm/models/SingpassMyInfoDescription.d.ts +38 -0
- package/dist/esm/models/SingpassMyInfoDescription.js +43 -0
- package/dist/esm/models/SingpassMyInfoProviderOutput.d.ts +39 -0
- package/dist/esm/models/SingpassMyInfoProviderOutput.js +44 -0
- package/dist/esm/models/SingpassMyInfoRegisteredAddressOutput.d.ts +111 -0
- package/dist/esm/models/SingpassMyInfoRegisteredAddressOutput.js +59 -0
- package/dist/esm/models/SingpassPersonalCatalog.d.ts +255 -0
- package/dist/esm/models/SingpassPersonalCatalog.js +90 -0
- package/dist/esm/models/SingpassPhoneNumber.d.ts +44 -0
- package/dist/esm/models/SingpassPhoneNumber.js +45 -0
- package/dist/esm/models/SmartIdProviderOutput.d.ts +1 -1
- package/dist/esm/models/SmartIdProviderOutput.js +1 -1
- package/dist/esm/models/SouthAfricaNidInput.js +1 -1
- package/dist/esm/models/SouthAfricaNidMatch2Input.js +1 -1
- package/dist/esm/models/SpidProviderOutput.js +2 -2
- package/dist/esm/models/StepRefreshInfo.js +2 -2
- package/dist/esm/models/SwedenBankIdProviderOutput.d.ts +3 -3
- package/dist/esm/models/SwedenBankIdProviderOutput.js +3 -3
- package/dist/esm/models/UgandaNidMatch2Input.js +1 -1
- package/dist/esm/models/UkEvisaLookupInput.js +1 -1
- package/dist/esm/models/UnitedKingdomEvisaProviderOutput.d.ts +3 -1
- package/dist/esm/models/UnitedKingdomEvisaProviderOutput.js +3 -3
- package/dist/esm/models/UsaCaliforniaDmvInput.d.ts +35 -0
- package/dist/esm/models/UsaCaliforniaDmvInput.js +42 -0
- package/dist/esm/models/VerificationProfileResponse.d.ts +6 -0
- package/dist/esm/models/VerificationProfileResponse.js +2 -0
- package/dist/esm/models/YotiDeeplinkProviderOutput.d.ts +2 -2
- package/dist/esm/models/YotiDeeplinkProviderOutput.js +1 -1
- package/dist/esm/models/YotiDocumentDetails.js +1 -1
- package/dist/esm/models/YotiProviderOutput.d.ts +2 -2
- package/dist/esm/models/YotiProviderOutput.js +1 -1
- package/dist/esm/models/index.d.ts +38 -4
- package/dist/esm/models/index.js +38 -4
- package/dist/esm/runtime.js +15 -0
- package/dist/models/AadhaarAddress.d.ts +100 -0
- package/dist/models/AadhaarAddress.js +70 -0
- package/dist/models/AadhaarClaims.d.ts +4 -71
- package/dist/models/AadhaarClaims.js +4 -25
- package/dist/models/AadhaarInput.js +1 -1
- package/dist/models/AadhaarLanguage.d.ts +1 -1
- package/dist/models/AadhaarLocalizedClaims.d.ts +4 -57
- package/dist/models/AadhaarLocalizedClaims.js +3 -20
- package/dist/models/AudkenniProviderOutput.d.ts +58 -0
- package/dist/models/AudkenniProviderOutput.js +60 -0
- package/dist/models/BelgiumIdCardProviderOutput.js +1 -1
- package/dist/models/BoliviaCiLookupInput.d.ts +43 -0
- package/dist/models/BoliviaCiLookupInput.js +50 -0
- package/dist/models/BoliviaCiProviderOutput.d.ts +63 -0
- package/dist/models/BoliviaCiProviderOutput.js +64 -0
- package/dist/models/BrazilCpfCheckInput.d.ts +14 -0
- package/dist/models/BrazilCpfCheckInput.js +4 -0
- package/dist/models/ChinaResidentIdMatchInput.d.ts +50 -0
- package/dist/models/ChinaResidentIdMatchInput.js +62 -0
- package/dist/models/ChinaResidentIdMatchOutput.d.ts +50 -0
- package/dist/models/ChinaResidentIdMatchOutput.js +52 -0
- package/dist/models/ColombiaCcLookupInput.d.ts +44 -0
- package/dist/models/ColombiaCcLookupInput.js +50 -0
- package/dist/models/ColombiaCcProviderOutput.d.ts +109 -0
- package/dist/models/ColombiaCcProviderOutput.js +87 -0
- package/dist/models/ColombiaExpeditionPlace.d.ts +46 -0
- package/dist/models/ColombiaExpeditionPlace.js +50 -0
- package/dist/models/ConnectIdProviderOutput.d.ts +0 -7
- package/dist/models/ConnectIdProviderOutput.js +1 -4
- package/dist/models/CoteDIvoireNidLookup2ProviderOutput.d.ts +89 -0
- package/dist/models/CoteDIvoireNidLookup2ProviderOutput.js +76 -0
- package/dist/models/CreateDirectProviderSessionRequest.d.ts +9 -0
- package/dist/models/CreateDirectProviderSessionRequest.js +2 -0
- package/dist/models/CreateHostedProviderSessionRequest.d.ts +8 -0
- package/dist/models/CreateHostedProviderSessionRequest.js +2 -0
- package/dist/models/CzechMojeIdProviderOutput.d.ts +14 -1
- package/dist/models/CzechMojeIdProviderOutput.js +5 -1
- package/dist/models/CzechiaMojeIdProviderOutput.d.ts +1 -1
- package/dist/models/CzechiaMojeIdProviderOutput.js +1 -1
- package/dist/models/DigilockerAadhaarProviderOutput.d.ts +13 -19
- package/dist/models/DigilockerAadhaarProviderOutput.js +4 -4
- package/dist/models/DocumentData.js +2 -2
- package/dist/models/ElSalvadorDuiLookupInput.d.ts +45 -0
- package/dist/models/ElSalvadorDuiLookupInput.js +50 -0
- package/dist/models/ElSalvadorDuiProviderOutput.d.ts +51 -0
- package/dist/models/ElSalvadorDuiProviderOutput.js +58 -0
- package/dist/models/EstoniaIdCardProviderOutput.js +1 -1
- package/dist/models/FaydaProviderAddress.d.ts +50 -0
- package/dist/models/FaydaProviderAddress.js +52 -0
- package/dist/models/FaydaProviderOutput.d.ts +58 -3
- package/dist/models/FaydaProviderOutput.js +13 -0
- package/dist/models/FinlandIdCardProviderOutput.js +1 -1
- package/dist/models/FinnishTrustNetworkProviderOutput.d.ts +4 -4
- package/dist/models/FinnishTrustNetworkProviderOutput.js +1 -1
- package/dist/models/FrejaProviderOutput.d.ts +1 -1
- package/dist/models/FrejaProviderOutput.js +1 -1
- package/dist/models/FrenchNumeriqueGivenName.d.ts +2 -2
- package/dist/models/FrenchNumeriqueProviderOutput.d.ts +8 -8
- package/dist/models/FrenchNumeriqueProviderOutput.js +4 -4
- package/dist/models/GoogleWalletInput.d.ts +2 -0
- package/dist/models/GuatemalaCuiLookupInput.d.ts +43 -0
- package/dist/models/GuatemalaCuiLookupInput.js +48 -0
- package/dist/models/GuatemalaCuiProviderOutput.d.ts +112 -0
- package/dist/models/GuatemalaCuiProviderOutput.js +84 -0
- package/dist/models/IndiaPanLookupInput.d.ts +33 -0
- package/dist/models/IndiaPanLookupInput.js +50 -0
- package/dist/models/IndiaPanLookupProviderOutput.d.ts +106 -0
- package/dist/models/IndiaPanLookupProviderOutput.js +63 -0
- package/dist/models/IndiaPanStructuredNumber.d.ts +128 -0
- package/dist/models/IndiaPanStructuredNumber.js +68 -0
- package/dist/models/IndonesiaDukcapilMatchInput.js +2 -2
- package/dist/models/IndonesiaNikInput.js +1 -1
- package/dist/models/ItsmeProviderOutput.js +1 -1
- package/dist/models/KenyaNidBiometric2Input.d.ts +5 -1
- package/dist/models/KenyaNidInput.js +1 -1
- package/dist/models/KenyaNidLookup2Input.d.ts +5 -1
- package/dist/models/KenyaNidLookup2ProviderOutput.d.ts +3 -4
- package/dist/models/KenyaNidLookup2ProviderOutput.js +2 -2
- package/dist/models/KenyaNidMatch2Input.d.ts +5 -1
- package/dist/models/KenyaNidMatch2Input.js +1 -1
- package/dist/models/KoreaTelcoMatchInput.d.ts +65 -0
- package/dist/models/KoreaTelcoMatchInput.js +73 -0
- package/dist/models/KoreaTelcoMatchProviderOutput.d.ts +56 -0
- package/dist/models/KoreaTelcoMatchProviderOutput.js +58 -0
- package/dist/models/KoreaTelcoMatchSex.d.ts +25 -0
- package/dist/models/KoreaTelcoMatchSex.js +51 -0
- package/dist/models/LaWalletProviderOutput.js +3 -3
- package/dist/models/LithuaniaIdCardProviderOutput.js +1 -1
- package/dist/models/LloydsSmartIdProviderOutput.d.ts +2 -2
- package/dist/models/LloydsSmartIdProviderOutput.js +1 -1
- package/dist/models/MdlOutput.d.ts +2 -2
- package/dist/models/MdlOutputCertificateData.js +2 -2
- package/dist/models/MitIdProviderOutput.d.ts +10 -10
- package/dist/models/MitIdProviderOutput.js +1 -1
- package/dist/models/MobileCarrier.d.ts +26 -0
- package/dist/models/MobileCarrier.js +52 -0
- package/dist/models/MobileIdProviderOutput.js +1 -1
- package/dist/models/MobileOperatingSystem.d.ts +26 -0
- package/dist/models/MobileOperatingSystem.js +52 -0
- package/dist/models/NetherlandsIdinAddress.d.ts +58 -0
- package/dist/models/NetherlandsIdinAddress.js +66 -0
- package/dist/models/NetherlandsIdinProviderOutput.d.ts +97 -0
- package/dist/models/NetherlandsIdinProviderOutput.js +83 -0
- package/dist/models/NigeriaNinInput.js +1 -1
- package/dist/models/NigeriaNinLookup2ProviderOutput.js +1 -1
- package/dist/models/NigeriaNinMatch2Input.js +1 -1
- package/dist/models/NorwegianBankIdProviderOutput.d.ts +4 -4
- package/dist/models/NorwegianBankIdProviderOutput.js +1 -1
- package/dist/models/OneIdProviderOutput.js +1 -1
- package/dist/models/OutputFrejaDocument.js +1 -1
- package/dist/models/PanamaCedulaLookupInput.d.ts +52 -0
- package/dist/models/PanamaCedulaLookupInput.js +50 -0
- package/dist/models/PanamaCedulaProviderOutput.d.ts +110 -0
- package/dist/models/PanamaCedulaProviderOutput.js +72 -0
- package/dist/models/PersonData.js +1 -1
- package/dist/models/PeruDniProviderOutput.d.ts +1 -1
- package/dist/models/PeruDniProviderOutput.js +3 -3
- package/dist/models/PhilippineMatchInput.js +1 -1
- package/dist/models/PhilippinesDigitalNidProviderOutput.js +2 -2
- package/dist/models/PhilippinesPhysicalNidProviderOutput.js +2 -2
- package/dist/models/PolandEdoAppProviderOutput.js +1 -1
- package/dist/models/PolandMobywatelMatchInput.d.ts +83 -0
- package/dist/models/PolandMobywatelMatchInput.js +62 -0
- package/dist/models/PolandMobywatelMatchProviderOutput.d.ts +153 -0
- package/dist/models/PolandMobywatelMatchProviderOutput.js +86 -0
- package/dist/models/PortugalIdCardProviderOutput.js +1 -1
- package/dist/models/PostOfficeEasyIdProviderOutput.d.ts +2 -2
- package/dist/models/PostOfficeEasyIdProviderOutput.js +1 -1
- package/dist/models/Provider.d.ts +7 -0
- package/dist/models/Provider.js +3 -0
- package/dist/models/ProviderInput.d.ts +70 -0
- package/dist/models/ProviderInput.js +30 -0
- package/dist/models/ProviderOutput.d.ts +131 -26
- package/dist/models/ProviderOutput.js +63 -18
- package/dist/models/ProviderSupportedLanguage.d.ts +38 -0
- package/dist/models/ProviderSupportedLanguage.js +52 -0
- package/dist/models/SerbiaIdCardProviderOutput.js +1 -1
- package/dist/models/SignzyIndiaAadhaarFetchProviderOutput.d.ts +113 -0
- package/dist/models/SignzyIndiaAadhaarFetchProviderOutput.js +76 -0
- package/dist/models/SingpassLoginProviderOutput.d.ts +87 -0
- package/dist/models/SingpassLoginProviderOutput.js +60 -0
- package/dist/models/SingpassMyInfoDescription.d.ts +38 -0
- package/dist/models/SingpassMyInfoDescription.js +50 -0
- package/dist/models/SingpassMyInfoProviderOutput.d.ts +39 -0
- package/dist/models/SingpassMyInfoProviderOutput.js +51 -0
- package/dist/models/SingpassMyInfoRegisteredAddressOutput.d.ts +111 -0
- package/dist/models/SingpassMyInfoRegisteredAddressOutput.js +66 -0
- package/dist/models/SingpassPersonalCatalog.d.ts +255 -0
- package/dist/models/SingpassPersonalCatalog.js +97 -0
- package/dist/models/SingpassPhoneNumber.d.ts +44 -0
- package/dist/models/SingpassPhoneNumber.js +52 -0
- package/dist/models/SmartIdProviderOutput.d.ts +1 -1
- package/dist/models/SmartIdProviderOutput.js +1 -1
- package/dist/models/SouthAfricaNidInput.js +1 -1
- package/dist/models/SouthAfricaNidMatch2Input.js +1 -1
- package/dist/models/SpidProviderOutput.js +2 -2
- package/dist/models/StepRefreshInfo.js +2 -2
- package/dist/models/SwedenBankIdProviderOutput.d.ts +3 -3
- package/dist/models/SwedenBankIdProviderOutput.js +3 -3
- package/dist/models/UgandaNidMatch2Input.js +1 -1
- package/dist/models/UkEvisaLookupInput.js +1 -1
- package/dist/models/UnitedKingdomEvisaProviderOutput.d.ts +3 -1
- package/dist/models/UnitedKingdomEvisaProviderOutput.js +3 -3
- package/dist/models/UsaCaliforniaDmvInput.d.ts +35 -0
- package/dist/models/UsaCaliforniaDmvInput.js +49 -0
- package/dist/models/VerificationProfileResponse.d.ts +6 -0
- package/dist/models/VerificationProfileResponse.js +2 -0
- package/dist/models/YotiDeeplinkProviderOutput.d.ts +2 -2
- package/dist/models/YotiDeeplinkProviderOutput.js +1 -1
- package/dist/models/YotiDocumentDetails.js +1 -1
- package/dist/models/YotiProviderOutput.d.ts +2 -2
- package/dist/models/YotiProviderOutput.js +1 -1
- package/dist/models/index.d.ts +38 -4
- package/dist/models/index.js +38 -4
- package/dist/runtime.js +15 -0
- package/docs/AadhaarAddress.md +57 -0
- package/docs/AadhaarClaims.md +40 -0
- package/docs/AadhaarInput.md +36 -0
- package/docs/AadhaarLanguage.md +37 -0
- package/docs/AadhaarLocalizedClaims.md +38 -0
- package/docs/AddRedirectUriRequest.md +34 -0
- package/docs/AddRedirectUriResponse.md +34 -0
- package/docs/Address.md +49 -0
- package/docs/AppleWalletInput.md +36 -0
- package/docs/AppleWalletProviderOutput.md +35 -0
- package/docs/AttachmentInfo.md +40 -0
- package/docs/AttributeAvailability.md +33 -0
- package/docs/AudkenniProviderOutput.md +41 -0
- package/docs/AustriaHandySignaturProviderOutput.md +37 -0
- package/docs/BelgiumIdCardProviderOutput.md +41 -0
- package/docs/BoliviaCiLookupInput.md +36 -0
- package/docs/BoliviaCiProviderOutput.md +43 -0
- package/docs/BrazilCpfCheckInput.md +38 -0
- package/docs/BrazilDigitalCnhInput.md +40 -0
- package/docs/CancelSessionResponse.md +34 -0
- package/docs/ChinaResidentIdMatchInput.md +40 -0
- package/docs/ChinaResidentIdMatchOutput.md +39 -0
- package/docs/ColombiaCcLookupInput.md +36 -0
- package/docs/ColombiaCcProviderOutput.md +53 -0
- package/docs/ColombiaExpeditionPlace.md +37 -0
- package/docs/ConnectIdAddress.md +42 -0
- package/docs/ConnectIdAgeVerification.md +36 -0
- package/docs/ConnectIdProviderOutput.md +53 -0
- package/docs/ContractAttachment.md +37 -0
- package/docs/ContractAttribute.md +37 -0
- package/docs/CoteDIvoireNidLookup2Input.md +34 -0
- package/docs/CoteDIvoireNidLookup2ProviderOutput.md +51 -0
- package/docs/CreateDirectProviderSessionRequest.md +46 -0
- package/docs/CreateDirectProviderSessionResponse.md +38 -0
- package/docs/CreateHostedProviderSessionRequest.md +42 -0
- package/docs/CreateHostedProviderSessionResponse.md +38 -0
- package/docs/CreateVerificationProfileResponse.md +34 -0
- package/docs/CzechMojeIdAddressOutput.md +44 -0
- package/docs/CzechMojeIdProviderOutput.md +83 -0
- package/docs/CzechiaMojeIdProviderOutput.md +41 -0
- package/docs/DigilockerAadhaarProviderOutput.md +47 -0
- package/docs/DocumentData.md +46 -0
- package/docs/DocumentType.md +32 -0
- package/docs/ElSalvadorDuiLookupInput.md +36 -0
- package/docs/ElSalvadorDuiProviderOutput.md +39 -0
- package/docs/EstoniaIdCardProviderOutput.md +41 -0
- package/docs/FaydaProviderAddress.md +38 -0
- package/docs/FaydaProviderOutput.md +53 -0
- package/docs/FinlandIdCardProviderOutput.md +41 -0
- package/docs/FinnishTrustNetworkProviderOutput.md +55 -0
- package/docs/FranceIdentiteInput.md +34 -0
- package/docs/FranceIdentiteProviderOutput.md +35 -0
- package/docs/FrejaIndirectProviderOutput.md +41 -0
- package/docs/FrejaProviderOutput.md +69 -0
- package/docs/FrenchNumeriqueGivenName.md +39 -0
- package/docs/FrenchNumeriqueNationality.md +37 -0
- package/docs/FrenchNumeriquePhone.md +39 -0
- package/docs/FrenchNumeriqueProviderOutput.md +83 -0
- package/docs/GetAttachmentRequest.md +34 -0
- package/docs/GetAttachmentResponse.md +36 -0
- package/docs/GetProviderResponse.md +34 -0
- package/docs/GetSessionResponse.md +34 -0
- package/docs/GetSessionResultRequest.md +34 -0
- package/docs/GetSessionResultResponse.md +36 -0
- package/docs/GoogleWalletInput.md +36 -0
- package/docs/GoogleWalletProviderOutput.md +35 -0
- package/docs/GuatemalaCuiLookupInput.md +34 -0
- package/docs/GuatemalaCuiProviderOutput.md +53 -0
- package/docs/IdentityData.md +46 -0
- package/docs/IdinInput.md +34 -0
- package/docs/IndiaPanLookupInput.md +34 -0
- package/docs/IndiaPanLookupProviderOutput.md +49 -0
- package/docs/IndiaPanStructuredNumber.md +44 -0
- package/docs/IndonesiaDukcapilMatchInput.md +48 -0
- package/docs/IndonesiaNikInput.md +38 -0
- package/docs/IntegrationCapability.md +32 -0
- package/docs/IntegrationLaunchMethod.md +32 -0
- package/docs/IntegrationStep.md +39 -0
- package/docs/ItsmeProviderOutput.md +43 -0
- package/docs/KenyaNidBiometric2Input.md +38 -0
- package/docs/KenyaNidInput.md +44 -0
- package/docs/KenyaNidLookup2Address.md +43 -0
- package/docs/KenyaNidLookup2Input.md +34 -0
- package/docs/KenyaNidLookup2ProviderOutput.md +55 -0
- package/docs/KenyaNidMatch2Input.md +44 -0
- package/docs/KenyaNidMatch2InputSex.md +32 -0
- package/docs/KoreaTelcoMatchInput.md +44 -0
- package/docs/KoreaTelcoMatchProviderOutput.md +39 -0
- package/docs/KoreaTelcoMatchSex.md +32 -0
- package/docs/LaWalletProviderOutput.md +69 -0
- package/docs/LatviaEparakstsMobileProviderOutput.md +39 -0
- package/docs/LatviaEparakstsProviderOutput.md +39 -0
- package/docs/ListProvidersResponse.md +34 -0
- package/docs/ListRedirectUrisResponse.md +37 -0
- package/docs/ListSessionsResponse.md +38 -0
- package/docs/ListVerificationProfilesResponse.md +36 -0
- package/docs/LithuaniaIdCardProviderOutput.md +41 -0
- package/docs/LloydsSmartIdProviderOutput.md +57 -0
- package/docs/Match.md +36 -0
- package/docs/MatchData.md +55 -0
- package/docs/MdlExchangeMechanism.md +32 -0
- package/docs/MdlOutput.md +40 -0
- package/docs/MdlOutputCertificateData.md +42 -0
- package/docs/MdlOutputFieldData.md +36 -0
- package/docs/MdlOutputFieldDataType.md +32 -0
- package/docs/MexicoCurpInput.md +34 -0
- package/docs/MexicoCurpProviderOutput.md +35 -0
- package/docs/MitIdProviderOutput.md +55 -0
- package/docs/MobileCarrier.md +32 -0
- package/docs/MobileIdInput.md +38 -0
- package/docs/MobileIdLanguage.md +32 -0
- package/docs/MobileIdProviderOutput.md +51 -0
- package/docs/MobileOperatingSystem.md +32 -0
- package/docs/NetherlandsIdinAddress.md +42 -0
- package/docs/NetherlandsIdinProviderOutput.md +53 -0
- package/docs/NigeriaNinBiometric2Input.md +38 -0
- package/docs/NigeriaNinInput.md +46 -0
- package/docs/NigeriaNinLookup2Input.md +34 -0
- package/docs/NigeriaNinLookup2ProviderOutput.md +57 -0
- package/docs/NigeriaNinMatch2Input.md +46 -0
- package/docs/NigeriaNinMatch2InputSex.md +32 -0
- package/docs/NorwegianBankIdProviderOutput.md +49 -0
- package/docs/OneIdProviderAddress.md +42 -0
- package/docs/OneIdProviderOutput.md +45 -0
- package/docs/OrderDirection.md +32 -0
- package/docs/OutputFrejaAddress.md +40 -0
- package/docs/OutputFrejaDocument.md +40 -0
- package/docs/PanamaCedulaLookupInput.md +36 -0
- package/docs/PanamaCedulaProviderOutput.md +49 -0
- package/docs/PersonData.md +53 -0
- package/docs/PeruDniAddress.md +39 -0
- package/docs/PeruDniLookupInput.md +34 -0
- package/docs/PeruDniProviderOutput.md +65 -0
- package/docs/PhilippineMatchInput.md +42 -0
- package/docs/PhilippineQRInput.md +36 -0
- package/docs/PhilippinesDigitalNidProviderOutput.md +55 -0
- package/docs/PhilippinesPhysicalNidProviderOutput.md +51 -0
- package/docs/PolandEdoAppProviderOutput.md +41 -0
- package/docs/PolandMobywatelMatchInput.md +48 -0
- package/docs/PolandMobywatelMatchProviderOutput.md +73 -0
- package/docs/PolandMojeIdProviderOutput.md +39 -0
- package/docs/PortugalIdCardProviderOutput.md +41 -0
- package/docs/PostOfficeEasyIdProviderOutput.md +57 -0
- package/docs/ProblemDetails.md +42 -0
- package/docs/Provider.md +78 -0
- package/docs/ProviderHealth.md +33 -0
- package/docs/ProviderInput.md +124 -0
- package/docs/ProviderOutput.md +150 -0
- package/docs/ProviderSupportedLanguage.md +36 -0
- package/docs/ProvidersApi.md +160 -0
- package/docs/Raw18013DocumentRequest.md +36 -0
- package/docs/Raw18013RequestInput.md +35 -0
- package/docs/RecommendProviderHealthOption.md +32 -0
- package/docs/RecommendProviderInformation.md +50 -0
- package/docs/RecommendProvidersRequest.md +38 -0
- package/docs/RecommendProvidersResponse.md +36 -0
- package/docs/RecommendationInfo.md +41 -0
- package/docs/RedirectUriResponse.md +36 -0
- package/docs/RedirectUrisApi.md +239 -0
- package/docs/RefreshStepContentRequest.md +34 -0
- package/docs/RefreshStepContentResponse.md +34 -0
- package/docs/ResultCollection.md +36 -0
- package/docs/ResultCollectionMethod.md +32 -0
- package/docs/SamsungWalletInput.md +34 -0
- package/docs/SamsungWalletProviderOutput.md +35 -0
- package/docs/SerbiaIdCardProviderOutput.md +41 -0
- package/docs/Session.md +44 -0
- package/docs/SessionErrorCode.md +32 -0
- package/docs/SessionOrdering.md +32 -0
- package/docs/SessionsApi.md +869 -0
- package/docs/Sex.md +32 -0
- package/docs/SignzyIndiaAadhaarFetchProviderOutput.md +57 -0
- package/docs/SingpassLoginProviderOutput.md +47 -0
- package/docs/SingpassMyInfoDescription.md +36 -0
- package/docs/SingpassMyInfoProviderOutput.md +37 -0
- package/docs/SingpassMyInfoRegisteredAddressOutput.md +53 -0
- package/docs/SingpassPersonalCatalog.md +81 -0
- package/docs/SingpassPhoneNumber.md +39 -0
- package/docs/SmartIdInput.md +34 -0
- package/docs/SmartIdProviderOutput.md +59 -0
- package/docs/SouthAfricaNidBiometric2Input.md +38 -0
- package/docs/SouthAfricaNidInput.md +40 -0
- package/docs/SouthAfricaNidLookup2Input.md +34 -0
- package/docs/SouthAfricaNidMatch2Input.md +46 -0
- package/docs/SouthAfricaNidMatch2InputSex.md +32 -0
- package/docs/SpidBillingInformation.md +39 -0
- package/docs/SpidInput.md +36 -0
- package/docs/SpidProviderOutput.md +81 -0
- package/docs/StepRefreshInfo.md +38 -0
- package/docs/SubProviderMetadata.md +41 -0
- package/docs/SubmitNativeChallengeResponseRequest.md +36 -0
- package/docs/SubmitNativeChallengeResponseResponse.md +34 -0
- package/docs/SwedenBankIdProviderOutput.md +59 -0
- package/docs/TrinsicTestDatabaseLookupInput.md +40 -0
- package/docs/TrinsicTestSubProvidersInput.md +34 -0
- package/docs/UgandaNidMatch2Input.md +38 -0
- package/docs/UkEvisaLookupInput.md +36 -0
- package/docs/UnitedKingdomEvisaProviderOutput.md +55 -0
- package/docs/UsaCaliforniaDmvInput.md +34 -0
- package/docs/VerificationProfileResponse.md +50 -0
- package/docs/VerificationProfilesApi.md +339 -0
- package/docs/YotiDeeplinkProviderOutput.md +57 -0
- package/docs/YotiDocumentDetails.md +42 -0
- package/docs/YotiProviderOutput.md +57 -0
- package/docs/YotiStructuredPostalAddress.md +72 -0
- package/docs/ZimbabweNidLookup2Input.md +34 -0
- package/package.json +2 -2
- package/src/apis/ProvidersApi.ts +51 -12
- package/src/apis/RedirectUrisApi.ts +77 -18
- package/src/apis/SessionsApi.ts +286 -124
- package/src/apis/VerificationProfilesApi.ts +177 -21
- package/src/models/AadhaarAddress.ts +155 -0
- package/src/models/AadhaarClaims.ts +14 -96
- package/src/models/AadhaarInput.ts +1 -1
- package/src/models/AadhaarLanguage.ts +1 -1
- package/src/models/AadhaarLocalizedClaims.ts +12 -77
- package/src/models/AudkenniProviderOutput.ts +100 -0
- package/src/models/BelgiumIdCardProviderOutput.ts +1 -1
- package/src/models/BoliviaCiLookupInput.ts +78 -0
- package/src/models/BoliviaCiProviderOutput.ts +108 -0
- package/src/models/BrazilCpfCheckInput.ts +18 -0
- package/src/models/ChinaResidentIdMatchInput.ts +93 -0
- package/src/models/ChinaResidentIdMatchOutput.ts +87 -0
- package/src/models/ColombiaCcLookupInput.ts +79 -0
- package/src/models/ColombiaCcProviderOutput.ts +177 -0
- package/src/models/ColombiaExpeditionPlace.ts +81 -0
- package/src/models/ConnectIdProviderOutput.ts +1 -16
- package/src/models/CoteDIvoireNidLookup2ProviderOutput.ts +144 -0
- package/src/models/CreateDirectProviderSessionRequest.ts +11 -0
- package/src/models/CreateHostedProviderSessionRequest.ts +10 -0
- package/src/models/CzechMojeIdProviderOutput.ts +19 -2
- package/src/models/CzechiaMojeIdProviderOutput.ts +2 -2
- package/src/models/DigilockerAadhaarProviderOutput.ts +17 -23
- package/src/models/DocumentData.ts +2 -2
- package/src/models/ElSalvadorDuiLookupInput.ts +80 -0
- package/src/models/ElSalvadorDuiProviderOutput.ts +91 -0
- package/src/models/EstoniaIdCardProviderOutput.ts +1 -1
- package/src/models/FaydaProviderAddress.ts +87 -0
- package/src/models/FaydaProviderOutput.ts +77 -3
- package/src/models/FinlandIdCardProviderOutput.ts +1 -1
- package/src/models/FinnishTrustNetworkProviderOutput.ts +5 -5
- package/src/models/FrejaProviderOutput.ts +2 -2
- package/src/models/FrenchNumeriqueGivenName.ts +2 -2
- package/src/models/FrenchNumeriqueProviderOutput.ts +12 -12
- package/src/models/GoogleWalletInput.ts +2 -0
- package/src/models/GuatemalaCuiLookupInput.ts +76 -0
- package/src/models/GuatemalaCuiProviderOutput.ts +172 -0
- package/src/models/IndiaPanLookupInput.ts +67 -0
- package/src/models/IndiaPanLookupProviderOutput.ts +160 -0
- package/src/models/IndiaPanStructuredNumber.ts +176 -0
- package/src/models/IndonesiaDukcapilMatchInput.ts +2 -2
- package/src/models/IndonesiaNikInput.ts +1 -1
- package/src/models/ItsmeProviderOutput.ts +1 -1
- package/src/models/KenyaNidBiometric2Input.ts +5 -1
- package/src/models/KenyaNidInput.ts +1 -1
- package/src/models/KenyaNidLookup2Input.ts +5 -1
- package/src/models/KenyaNidLookup2ProviderOutput.ts +5 -6
- package/src/models/KenyaNidMatch2Input.ts +6 -2
- package/src/models/KoreaTelcoMatchInput.ts +135 -0
- package/src/models/KoreaTelcoMatchProviderOutput.ts +96 -0
- package/src/models/KoreaTelcoMatchSex.ts +53 -0
- package/src/models/LaWalletProviderOutput.ts +3 -3
- package/src/models/LithuaniaIdCardProviderOutput.ts +1 -1
- package/src/models/LloydsSmartIdProviderOutput.ts +3 -3
- package/src/models/MdlOutput.ts +2 -2
- package/src/models/MdlOutputCertificateData.ts +2 -2
- package/src/models/MitIdProviderOutput.ts +11 -11
- package/src/models/MobileCarrier.ts +54 -0
- package/src/models/MobileIdProviderOutput.ts +1 -1
- package/src/models/MobileOperatingSystem.ts +54 -0
- package/src/models/NetherlandsIdinAddress.ts +104 -0
- package/src/models/NetherlandsIdinProviderOutput.ts +163 -0
- package/src/models/NigeriaNinInput.ts +1 -1
- package/src/models/NigeriaNinLookup2ProviderOutput.ts +1 -1
- package/src/models/NigeriaNinMatch2Input.ts +1 -1
- package/src/models/NorwegianBankIdProviderOutput.ts +5 -5
- package/src/models/OneIdProviderOutput.ts +1 -1
- package/src/models/OutputFrejaDocument.ts +1 -1
- package/src/models/PanamaCedulaLookupInput.ts +87 -0
- package/src/models/PanamaCedulaProviderOutput.ts +162 -0
- package/src/models/PersonData.ts +1 -1
- package/src/models/PeruDniProviderOutput.ts +4 -4
- package/src/models/PhilippineMatchInput.ts +1 -1
- package/src/models/PhilippinesDigitalNidProviderOutput.ts +2 -2
- package/src/models/PhilippinesPhysicalNidProviderOutput.ts +2 -2
- package/src/models/PolandEdoAppProviderOutput.ts +1 -1
- package/src/models/PolandMobywatelMatchInput.ts +130 -0
- package/src/models/PolandMobywatelMatchProviderOutput.ts +224 -0
- package/src/models/PortugalIdCardProviderOutput.ts +1 -1
- package/src/models/PostOfficeEasyIdProviderOutput.ts +3 -3
- package/src/models/Provider.ts +15 -0
- package/src/models/ProviderInput.ts +150 -0
- package/src/models/ProviderOutput.ts +337 -112
- package/src/models/ProviderSupportedLanguage.ts +74 -0
- package/src/models/SerbiaIdCardProviderOutput.ts +1 -1
- package/src/models/SignzyIndiaAadhaarFetchProviderOutput.ts +183 -0
- package/src/models/SingpassLoginProviderOutput.ts +132 -0
- package/src/models/SingpassMyInfoDescription.ts +73 -0
- package/src/models/SingpassMyInfoProviderOutput.ts +81 -0
- package/src/models/SingpassMyInfoRegisteredAddressOutput.ts +162 -0
- package/src/models/SingpassPersonalCatalog.ts +353 -0
- package/src/models/SingpassPhoneNumber.ts +81 -0
- package/src/models/SmartIdProviderOutput.ts +2 -2
- package/src/models/SouthAfricaNidInput.ts +1 -1
- package/src/models/SouthAfricaNidMatch2Input.ts +1 -1
- package/src/models/SpidProviderOutput.ts +2 -2
- package/src/models/StepRefreshInfo.ts +2 -2
- package/src/models/SwedenBankIdProviderOutput.ts +6 -6
- package/src/models/UgandaNidMatch2Input.ts +1 -1
- package/src/models/UkEvisaLookupInput.ts +1 -1
- package/src/models/UnitedKingdomEvisaProviderOutput.ts +6 -4
- package/src/models/UsaCaliforniaDmvInput.ts +75 -0
- package/src/models/VerificationProfileResponse.ts +8 -0
- package/src/models/YotiDeeplinkProviderOutput.ts +3 -3
- package/src/models/YotiDocumentDetails.ts +1 -1
- package/src/models/YotiProviderOutput.ts +3 -3
- package/src/models/index.ts +38 -4
- package/src/runtime.ts +18 -0
- package/dist/esm/models/ConnectIdBeneficiaryAccount.d.ts +0 -52
- package/dist/esm/models/ConnectIdBeneficiaryAccount.js +0 -47
- package/dist/esm/models/CreateWidgetSessionRequest.d.ts +0 -57
- package/dist/esm/models/CreateWidgetSessionRequest.js +0 -50
- package/dist/esm/models/CreateWidgetSessionResponse.d.ts +0 -54
- package/dist/esm/models/CreateWidgetSessionResponse.js +0 -51
- package/dist/esm/models/HttpValidationProblemDetails.d.ts +0 -64
- package/dist/esm/models/HttpValidationProblemDetails.js +0 -51
- package/dist/models/ConnectIdBeneficiaryAccount.d.ts +0 -52
- package/dist/models/ConnectIdBeneficiaryAccount.js +0 -54
- package/dist/models/CreateWidgetSessionRequest.d.ts +0 -57
- package/dist/models/CreateWidgetSessionRequest.js +0 -57
- package/dist/models/CreateWidgetSessionResponse.d.ts +0 -54
- package/dist/models/CreateWidgetSessionResponse.js +0 -58
- package/dist/models/HttpValidationProblemDetails.d.ts +0 -64
- package/dist/models/HttpValidationProblemDetails.js +0 -58
- package/src/models/ConnectIdBeneficiaryAccount.ts +0 -91
- package/src/models/CreateWidgetSessionRequest.ts +0 -104
- package/src/models/CreateWidgetSessionResponse.ts +0 -94
- package/src/models/HttpValidationProblemDetails.ts +0 -105
|
@@ -0,0 +1,869 @@
|
|
|
1
|
+
# SessionsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.trinsic.id*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**cancelSession**](SessionsApi.md#cancelsession) | **POST** /api/v1/sessions/{sessionId}/cancel | Cancel Session |
|
|
8
|
+
| [**createDirectProviderSession**](SessionsApi.md#createdirectprovidersessionoperation) | **POST** /api/v1/sessions/provider/direct | Create Direct Provider Session |
|
|
9
|
+
| [**createHostedProviderSession**](SessionsApi.md#createhostedprovidersessionoperation) | **POST** /api/v1/sessions/provider/hosted | Create Hosted Provider Session |
|
|
10
|
+
| [**getAttachment**](SessionsApi.md#getattachmentoperation) | **POST** /api/v1/sessions/{sessionId}/attachments/{attachmentId}/get | Get Attachment |
|
|
11
|
+
| [**getSession**](SessionsApi.md#getsession) | **GET** /api/v1/sessions/{sessionId} | Get Session |
|
|
12
|
+
| [**getSessionResult**](SessionsApi.md#getsessionresultoperation) | **POST** /api/v1/sessions/{sessionId}/results | Get Session Results |
|
|
13
|
+
| [**listSessions**](SessionsApi.md#listsessions) | **GET** /api/v1/verification-profiles/{verificationProfileId}/sessions | List Sessions |
|
|
14
|
+
| [**recommendProviders**](SessionsApi.md#recommendprovidersoperation) | **POST** /api/v1/sessions/providers/recommend | Recommend Providers |
|
|
15
|
+
| [**redactSession**](SessionsApi.md#redactsession) | **POST** /api/v1/sessions/{sessionId}/redact | Redact Session |
|
|
16
|
+
| [**refreshStepContent**](SessionsApi.md#refreshstepcontentoperation) | **POST** /api/v1/sessions/{sessionId}/step/refresh | Refresh Step Content |
|
|
17
|
+
| [**submitNativeChallengeResponse**](SessionsApi.md#submitnativechallengeresponseoperation) | **POST** /api/v1/sessions/{sessionId}/native-challenge/submit | Submit Native Challenge Response |
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## cancelSession
|
|
22
|
+
|
|
23
|
+
> CancelSessionResponse cancelSession(sessionId)
|
|
24
|
+
|
|
25
|
+
Cancel Session
|
|
26
|
+
|
|
27
|
+
Cancel a Session by its ID
|
|
28
|
+
|
|
29
|
+
### Example
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
import {
|
|
33
|
+
Configuration,
|
|
34
|
+
SessionsApi,
|
|
35
|
+
} from '@trinsic/api';
|
|
36
|
+
import type { CancelSessionRequest } from '@trinsic/api';
|
|
37
|
+
|
|
38
|
+
async function example() {
|
|
39
|
+
console.log("🚀 Testing @trinsic/api SDK...");
|
|
40
|
+
const config = new Configuration({
|
|
41
|
+
// Configure HTTP bearer authorization: Bearer
|
|
42
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
43
|
+
});
|
|
44
|
+
const api = new SessionsApi(config);
|
|
45
|
+
|
|
46
|
+
const body = {
|
|
47
|
+
// string
|
|
48
|
+
sessionId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
49
|
+
} satisfies CancelSessionRequest;
|
|
50
|
+
|
|
51
|
+
try {
|
|
52
|
+
const data = await api.cancelSession(body);
|
|
53
|
+
console.log(data);
|
|
54
|
+
} catch (error) {
|
|
55
|
+
console.error(error);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// Run the test
|
|
60
|
+
example().catch(console.error);
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Parameters
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
| Name | Type | Description | Notes |
|
|
67
|
+
|------------- | ------------- | ------------- | -------------|
|
|
68
|
+
| **sessionId** | `string` | | [Defaults to `undefined`] |
|
|
69
|
+
|
|
70
|
+
### Return type
|
|
71
|
+
|
|
72
|
+
[**CancelSessionResponse**](CancelSessionResponse.md)
|
|
73
|
+
|
|
74
|
+
### Authorization
|
|
75
|
+
|
|
76
|
+
[Bearer](../README.md#Bearer)
|
|
77
|
+
|
|
78
|
+
### HTTP request headers
|
|
79
|
+
|
|
80
|
+
- **Content-Type**: Not defined
|
|
81
|
+
- **Accept**: `text/plain`, `application/json`, `text/json`, `application/problem+json`
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
### HTTP response details
|
|
85
|
+
| Status code | Description | Response headers |
|
|
86
|
+
|-------------|-------------|------------------|
|
|
87
|
+
| **200** | OK | - |
|
|
88
|
+
| **400** | Bad request | - |
|
|
89
|
+
| **401** | Unauthorized | - |
|
|
90
|
+
| **403** | Forbidden | - |
|
|
91
|
+
| **500** | Internal server error | - |
|
|
92
|
+
|
|
93
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
## createDirectProviderSession
|
|
97
|
+
|
|
98
|
+
> CreateDirectProviderSessionResponse createDirectProviderSession(createDirectProviderSessionRequest)
|
|
99
|
+
|
|
100
|
+
Create Direct Provider Session
|
|
101
|
+
|
|
102
|
+
Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
|
|
103
|
+
|
|
104
|
+
### Example
|
|
105
|
+
|
|
106
|
+
```ts
|
|
107
|
+
import {
|
|
108
|
+
Configuration,
|
|
109
|
+
SessionsApi,
|
|
110
|
+
} from '@trinsic/api';
|
|
111
|
+
import type { CreateDirectProviderSessionOperationRequest } from '@trinsic/api';
|
|
112
|
+
|
|
113
|
+
async function example() {
|
|
114
|
+
console.log("🚀 Testing @trinsic/api SDK...");
|
|
115
|
+
const config = new Configuration({
|
|
116
|
+
// Configure HTTP bearer authorization: Bearer
|
|
117
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
118
|
+
});
|
|
119
|
+
const api = new SessionsApi(config);
|
|
120
|
+
|
|
121
|
+
const body = {
|
|
122
|
+
// CreateDirectProviderSessionRequest (optional)
|
|
123
|
+
createDirectProviderSessionRequest: ...,
|
|
124
|
+
} satisfies CreateDirectProviderSessionOperationRequest;
|
|
125
|
+
|
|
126
|
+
try {
|
|
127
|
+
const data = await api.createDirectProviderSession(body);
|
|
128
|
+
console.log(data);
|
|
129
|
+
} catch (error) {
|
|
130
|
+
console.error(error);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// Run the test
|
|
135
|
+
example().catch(console.error);
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Parameters
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
| Name | Type | Description | Notes |
|
|
142
|
+
|------------- | ------------- | ------------- | -------------|
|
|
143
|
+
| **createDirectProviderSessionRequest** | [CreateDirectProviderSessionRequest](CreateDirectProviderSessionRequest.md) | | [Optional] |
|
|
144
|
+
|
|
145
|
+
### Return type
|
|
146
|
+
|
|
147
|
+
[**CreateDirectProviderSessionResponse**](CreateDirectProviderSessionResponse.md)
|
|
148
|
+
|
|
149
|
+
### Authorization
|
|
150
|
+
|
|
151
|
+
[Bearer](../README.md#Bearer)
|
|
152
|
+
|
|
153
|
+
### HTTP request headers
|
|
154
|
+
|
|
155
|
+
- **Content-Type**: `application/json`, `text/json`, `application/*+json`
|
|
156
|
+
- **Accept**: `text/plain`, `application/json`, `text/json`, `application/problem+json`
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
### HTTP response details
|
|
160
|
+
| Status code | Description | Response headers |
|
|
161
|
+
|-------------|-------------|------------------|
|
|
162
|
+
| **200** | OK | - |
|
|
163
|
+
| **400** | Bad request | - |
|
|
164
|
+
| **401** | Unauthorized | - |
|
|
165
|
+
| **403** | Forbidden | - |
|
|
166
|
+
| **500** | Internal server error | - |
|
|
167
|
+
|
|
168
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
## createHostedProviderSession
|
|
172
|
+
|
|
173
|
+
> CreateHostedProviderSessionResponse createHostedProviderSession(createHostedProviderSessionRequest)
|
|
174
|
+
|
|
175
|
+
Create Hosted Provider Session
|
|
176
|
+
|
|
177
|
+
Verify a user\'s identity with a specific provider, using Trinsic-hosted UI for providers which require additional user interaction.
|
|
178
|
+
|
|
179
|
+
### Example
|
|
180
|
+
|
|
181
|
+
```ts
|
|
182
|
+
import {
|
|
183
|
+
Configuration,
|
|
184
|
+
SessionsApi,
|
|
185
|
+
} from '@trinsic/api';
|
|
186
|
+
import type { CreateHostedProviderSessionOperationRequest } from '@trinsic/api';
|
|
187
|
+
|
|
188
|
+
async function example() {
|
|
189
|
+
console.log("🚀 Testing @trinsic/api SDK...");
|
|
190
|
+
const config = new Configuration({
|
|
191
|
+
// Configure HTTP bearer authorization: Bearer
|
|
192
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
193
|
+
});
|
|
194
|
+
const api = new SessionsApi(config);
|
|
195
|
+
|
|
196
|
+
const body = {
|
|
197
|
+
// CreateHostedProviderSessionRequest (optional)
|
|
198
|
+
createHostedProviderSessionRequest: ...,
|
|
199
|
+
} satisfies CreateHostedProviderSessionOperationRequest;
|
|
200
|
+
|
|
201
|
+
try {
|
|
202
|
+
const data = await api.createHostedProviderSession(body);
|
|
203
|
+
console.log(data);
|
|
204
|
+
} catch (error) {
|
|
205
|
+
console.error(error);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
// Run the test
|
|
210
|
+
example().catch(console.error);
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
### Parameters
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
| Name | Type | Description | Notes |
|
|
217
|
+
|------------- | ------------- | ------------- | -------------|
|
|
218
|
+
| **createHostedProviderSessionRequest** | [CreateHostedProviderSessionRequest](CreateHostedProviderSessionRequest.md) | | [Optional] |
|
|
219
|
+
|
|
220
|
+
### Return type
|
|
221
|
+
|
|
222
|
+
[**CreateHostedProviderSessionResponse**](CreateHostedProviderSessionResponse.md)
|
|
223
|
+
|
|
224
|
+
### Authorization
|
|
225
|
+
|
|
226
|
+
[Bearer](../README.md#Bearer)
|
|
227
|
+
|
|
228
|
+
### HTTP request headers
|
|
229
|
+
|
|
230
|
+
- **Content-Type**: `application/json`, `text/json`, `application/*+json`
|
|
231
|
+
- **Accept**: `text/plain`, `application/json`, `text/json`, `application/problem+json`
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
### HTTP response details
|
|
235
|
+
| Status code | Description | Response headers |
|
|
236
|
+
|-------------|-------------|------------------|
|
|
237
|
+
| **200** | OK | - |
|
|
238
|
+
| **400** | Bad request | - |
|
|
239
|
+
| **401** | Unauthorized | - |
|
|
240
|
+
| **403** | Forbidden | - |
|
|
241
|
+
| **500** | Internal server error | - |
|
|
242
|
+
|
|
243
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
## getAttachment
|
|
247
|
+
|
|
248
|
+
> GetAttachmentResponse getAttachment(sessionId, attachmentId, getAttachmentRequest)
|
|
249
|
+
|
|
250
|
+
Get Attachment
|
|
251
|
+
|
|
252
|
+
Fetch an Attachment\'s contents.
|
|
253
|
+
|
|
254
|
+
### Example
|
|
255
|
+
|
|
256
|
+
```ts
|
|
257
|
+
import {
|
|
258
|
+
Configuration,
|
|
259
|
+
SessionsApi,
|
|
260
|
+
} from '@trinsic/api';
|
|
261
|
+
import type { GetAttachmentOperationRequest } from '@trinsic/api';
|
|
262
|
+
|
|
263
|
+
async function example() {
|
|
264
|
+
console.log("🚀 Testing @trinsic/api SDK...");
|
|
265
|
+
const config = new Configuration({
|
|
266
|
+
// Configure HTTP bearer authorization: Bearer
|
|
267
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
268
|
+
});
|
|
269
|
+
const api = new SessionsApi(config);
|
|
270
|
+
|
|
271
|
+
const body = {
|
|
272
|
+
// string | The ID of the Session to fetch the Attachment from
|
|
273
|
+
sessionId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
274
|
+
// string | The ID of the Attachment to fetch
|
|
275
|
+
attachmentId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
276
|
+
// GetAttachmentRequest (optional)
|
|
277
|
+
getAttachmentRequest: ...,
|
|
278
|
+
} satisfies GetAttachmentOperationRequest;
|
|
279
|
+
|
|
280
|
+
try {
|
|
281
|
+
const data = await api.getAttachment(body);
|
|
282
|
+
console.log(data);
|
|
283
|
+
} catch (error) {
|
|
284
|
+
console.error(error);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
// Run the test
|
|
289
|
+
example().catch(console.error);
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
### Parameters
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
| Name | Type | Description | Notes |
|
|
296
|
+
|------------- | ------------- | ------------- | -------------|
|
|
297
|
+
| **sessionId** | `string` | The ID of the Session to fetch the Attachment from | [Defaults to `undefined`] |
|
|
298
|
+
| **attachmentId** | `string` | The ID of the Attachment to fetch | [Defaults to `undefined`] |
|
|
299
|
+
| **getAttachmentRequest** | [GetAttachmentRequest](GetAttachmentRequest.md) | | [Optional] |
|
|
300
|
+
|
|
301
|
+
### Return type
|
|
302
|
+
|
|
303
|
+
[**GetAttachmentResponse**](GetAttachmentResponse.md)
|
|
304
|
+
|
|
305
|
+
### Authorization
|
|
306
|
+
|
|
307
|
+
[Bearer](../README.md#Bearer)
|
|
308
|
+
|
|
309
|
+
### HTTP request headers
|
|
310
|
+
|
|
311
|
+
- **Content-Type**: `application/json`, `text/json`, `application/*+json`
|
|
312
|
+
- **Accept**: `text/plain`, `application/json`, `text/json`, `application/problem+json`
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
### HTTP response details
|
|
316
|
+
| Status code | Description | Response headers |
|
|
317
|
+
|-------------|-------------|------------------|
|
|
318
|
+
| **200** | OK | - |
|
|
319
|
+
| **400** | Bad request | - |
|
|
320
|
+
| **401** | Unauthorized | - |
|
|
321
|
+
| **403** | Forbidden | - |
|
|
322
|
+
| **500** | Internal server error | - |
|
|
323
|
+
|
|
324
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
## getSession
|
|
328
|
+
|
|
329
|
+
> GetSessionResponse getSession(sessionId)
|
|
330
|
+
|
|
331
|
+
Get Session
|
|
332
|
+
|
|
333
|
+
Get a Session by its ID
|
|
334
|
+
|
|
335
|
+
### Example
|
|
336
|
+
|
|
337
|
+
```ts
|
|
338
|
+
import {
|
|
339
|
+
Configuration,
|
|
340
|
+
SessionsApi,
|
|
341
|
+
} from '@trinsic/api';
|
|
342
|
+
import type { GetSessionRequest } from '@trinsic/api';
|
|
343
|
+
|
|
344
|
+
async function example() {
|
|
345
|
+
console.log("🚀 Testing @trinsic/api SDK...");
|
|
346
|
+
const config = new Configuration({
|
|
347
|
+
// Configure HTTP bearer authorization: Bearer
|
|
348
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
349
|
+
});
|
|
350
|
+
const api = new SessionsApi(config);
|
|
351
|
+
|
|
352
|
+
const body = {
|
|
353
|
+
// string
|
|
354
|
+
sessionId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
355
|
+
} satisfies GetSessionRequest;
|
|
356
|
+
|
|
357
|
+
try {
|
|
358
|
+
const data = await api.getSession(body);
|
|
359
|
+
console.log(data);
|
|
360
|
+
} catch (error) {
|
|
361
|
+
console.error(error);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
// Run the test
|
|
366
|
+
example().catch(console.error);
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
### Parameters
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
| Name | Type | Description | Notes |
|
|
373
|
+
|------------- | ------------- | ------------- | -------------|
|
|
374
|
+
| **sessionId** | `string` | | [Defaults to `undefined`] |
|
|
375
|
+
|
|
376
|
+
### Return type
|
|
377
|
+
|
|
378
|
+
[**GetSessionResponse**](GetSessionResponse.md)
|
|
379
|
+
|
|
380
|
+
### Authorization
|
|
381
|
+
|
|
382
|
+
[Bearer](../README.md#Bearer)
|
|
383
|
+
|
|
384
|
+
### HTTP request headers
|
|
385
|
+
|
|
386
|
+
- **Content-Type**: Not defined
|
|
387
|
+
- **Accept**: `text/plain`, `application/json`, `text/json`, `application/problem+json`
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
### HTTP response details
|
|
391
|
+
| Status code | Description | Response headers |
|
|
392
|
+
|-------------|-------------|------------------|
|
|
393
|
+
| **200** | OK | - |
|
|
394
|
+
| **400** | Bad request | - |
|
|
395
|
+
| **401** | Unauthorized | - |
|
|
396
|
+
| **403** | Forbidden | - |
|
|
397
|
+
| **500** | Internal server error | - |
|
|
398
|
+
|
|
399
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
## getSessionResult
|
|
403
|
+
|
|
404
|
+
> GetSessionResultResponse getSessionResult(sessionId, getSessionResultRequest)
|
|
405
|
+
|
|
406
|
+
Get Session Results
|
|
407
|
+
|
|
408
|
+
### Example
|
|
409
|
+
|
|
410
|
+
```ts
|
|
411
|
+
import {
|
|
412
|
+
Configuration,
|
|
413
|
+
SessionsApi,
|
|
414
|
+
} from '@trinsic/api';
|
|
415
|
+
import type { GetSessionResultOperationRequest } from '@trinsic/api';
|
|
416
|
+
|
|
417
|
+
async function example() {
|
|
418
|
+
console.log("🚀 Testing @trinsic/api SDK...");
|
|
419
|
+
const config = new Configuration({
|
|
420
|
+
// Configure HTTP bearer authorization: Bearer
|
|
421
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
422
|
+
});
|
|
423
|
+
const api = new SessionsApi(config);
|
|
424
|
+
|
|
425
|
+
const body = {
|
|
426
|
+
// string
|
|
427
|
+
sessionId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
428
|
+
// GetSessionResultRequest (optional)
|
|
429
|
+
getSessionResultRequest: ...,
|
|
430
|
+
} satisfies GetSessionResultOperationRequest;
|
|
431
|
+
|
|
432
|
+
try {
|
|
433
|
+
const data = await api.getSessionResult(body);
|
|
434
|
+
console.log(data);
|
|
435
|
+
} catch (error) {
|
|
436
|
+
console.error(error);
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
// Run the test
|
|
441
|
+
example().catch(console.error);
|
|
442
|
+
```
|
|
443
|
+
|
|
444
|
+
### Parameters
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
| Name | Type | Description | Notes |
|
|
448
|
+
|------------- | ------------- | ------------- | -------------|
|
|
449
|
+
| **sessionId** | `string` | | [Defaults to `undefined`] |
|
|
450
|
+
| **getSessionResultRequest** | [GetSessionResultRequest](GetSessionResultRequest.md) | | [Optional] |
|
|
451
|
+
|
|
452
|
+
### Return type
|
|
453
|
+
|
|
454
|
+
[**GetSessionResultResponse**](GetSessionResultResponse.md)
|
|
455
|
+
|
|
456
|
+
### Authorization
|
|
457
|
+
|
|
458
|
+
[Bearer](../README.md#Bearer)
|
|
459
|
+
|
|
460
|
+
### HTTP request headers
|
|
461
|
+
|
|
462
|
+
- **Content-Type**: `application/json`, `text/json`, `application/*+json`
|
|
463
|
+
- **Accept**: `text/plain`, `application/json`, `text/json`, `application/problem+json`
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
### HTTP response details
|
|
467
|
+
| Status code | Description | Response headers |
|
|
468
|
+
|-------------|-------------|------------------|
|
|
469
|
+
| **200** | OK | - |
|
|
470
|
+
| **400** | Bad request | - |
|
|
471
|
+
| **401** | Unauthorized | - |
|
|
472
|
+
| **403** | Forbidden | - |
|
|
473
|
+
| **500** | Internal server error | - |
|
|
474
|
+
|
|
475
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
## listSessions
|
|
479
|
+
|
|
480
|
+
> ListSessionsResponse listSessions(verificationProfileId, orderBy, orderDirection, pageSize, page)
|
|
481
|
+
|
|
482
|
+
List Sessions
|
|
483
|
+
|
|
484
|
+
List Sessions created for a specific Verification Profile
|
|
485
|
+
|
|
486
|
+
### Example
|
|
487
|
+
|
|
488
|
+
```ts
|
|
489
|
+
import {
|
|
490
|
+
Configuration,
|
|
491
|
+
SessionsApi,
|
|
492
|
+
} from '@trinsic/api';
|
|
493
|
+
import type { ListSessionsRequest } from '@trinsic/api';
|
|
494
|
+
|
|
495
|
+
async function example() {
|
|
496
|
+
console.log("🚀 Testing @trinsic/api SDK...");
|
|
497
|
+
const config = new Configuration({
|
|
498
|
+
// Configure HTTP bearer authorization: Bearer
|
|
499
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
500
|
+
});
|
|
501
|
+
const api = new SessionsApi(config);
|
|
502
|
+
|
|
503
|
+
const body = {
|
|
504
|
+
// string
|
|
505
|
+
verificationProfileId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
506
|
+
// SessionOrdering | The field by which sessions should be ordered (optional)
|
|
507
|
+
orderBy: Created,
|
|
508
|
+
// OrderDirection (optional)
|
|
509
|
+
orderDirection: Descending,
|
|
510
|
+
// number | The number of items to return per page -- must be between `1` and `50` (optional)
|
|
511
|
+
pageSize: 50,
|
|
512
|
+
// number | The page number to return -- starts at `1` (optional)
|
|
513
|
+
page: 1,
|
|
514
|
+
} satisfies ListSessionsRequest;
|
|
515
|
+
|
|
516
|
+
try {
|
|
517
|
+
const data = await api.listSessions(body);
|
|
518
|
+
console.log(data);
|
|
519
|
+
} catch (error) {
|
|
520
|
+
console.error(error);
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
// Run the test
|
|
525
|
+
example().catch(console.error);
|
|
526
|
+
```
|
|
527
|
+
|
|
528
|
+
### Parameters
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
| Name | Type | Description | Notes |
|
|
532
|
+
|------------- | ------------- | ------------- | -------------|
|
|
533
|
+
| **verificationProfileId** | `string` | | [Defaults to `undefined`] |
|
|
534
|
+
| **orderBy** | `SessionOrdering` | The field by which sessions should be ordered | [Optional] [Defaults to `undefined`] [Enum: Created, Updated, State] |
|
|
535
|
+
| **orderDirection** | `OrderDirection` | | [Optional] [Defaults to `undefined`] [Enum: Ascending, Descending] |
|
|
536
|
+
| **pageSize** | `number` | The number of items to return per page -- must be between `1` and `50` | [Optional] [Defaults to `undefined`] |
|
|
537
|
+
| **page** | `number` | The page number to return -- starts at `1` | [Optional] [Defaults to `undefined`] |
|
|
538
|
+
|
|
539
|
+
### Return type
|
|
540
|
+
|
|
541
|
+
[**ListSessionsResponse**](ListSessionsResponse.md)
|
|
542
|
+
|
|
543
|
+
### Authorization
|
|
544
|
+
|
|
545
|
+
[Bearer](../README.md#Bearer)
|
|
546
|
+
|
|
547
|
+
### HTTP request headers
|
|
548
|
+
|
|
549
|
+
- **Content-Type**: Not defined
|
|
550
|
+
- **Accept**: `text/plain`, `application/json`, `text/json`, `application/problem+json`
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
### HTTP response details
|
|
554
|
+
| Status code | Description | Response headers |
|
|
555
|
+
|-------------|-------------|------------------|
|
|
556
|
+
| **200** | OK | - |
|
|
557
|
+
| **400** | Bad request | - |
|
|
558
|
+
| **401** | Unauthorized | - |
|
|
559
|
+
| **403** | Forbidden | - |
|
|
560
|
+
| **500** | Internal server error | - |
|
|
561
|
+
|
|
562
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
## recommendProviders
|
|
566
|
+
|
|
567
|
+
> RecommendProvidersResponse recommendProviders(recommendProvidersRequest)
|
|
568
|
+
|
|
569
|
+
Recommend Providers
|
|
570
|
+
|
|
571
|
+
Recommend providers for a specific user session. You can filter based on health (default=online) and specify country and subdivision information. Trinsic will use the phone number and IP address, if provided, to deduce the country and subdivision of the user and use that info for filtering the providers.
|
|
572
|
+
|
|
573
|
+
### Example
|
|
574
|
+
|
|
575
|
+
```ts
|
|
576
|
+
import {
|
|
577
|
+
Configuration,
|
|
578
|
+
SessionsApi,
|
|
579
|
+
} from '@trinsic/api';
|
|
580
|
+
import type { RecommendProvidersOperationRequest } from '@trinsic/api';
|
|
581
|
+
|
|
582
|
+
async function example() {
|
|
583
|
+
console.log("🚀 Testing @trinsic/api SDK...");
|
|
584
|
+
const config = new Configuration({
|
|
585
|
+
// Configure HTTP bearer authorization: Bearer
|
|
586
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
587
|
+
});
|
|
588
|
+
const api = new SessionsApi(config);
|
|
589
|
+
|
|
590
|
+
const body = {
|
|
591
|
+
// RecommendProvidersRequest (optional)
|
|
592
|
+
recommendProvidersRequest: ...,
|
|
593
|
+
} satisfies RecommendProvidersOperationRequest;
|
|
594
|
+
|
|
595
|
+
try {
|
|
596
|
+
const data = await api.recommendProviders(body);
|
|
597
|
+
console.log(data);
|
|
598
|
+
} catch (error) {
|
|
599
|
+
console.error(error);
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
// Run the test
|
|
604
|
+
example().catch(console.error);
|
|
605
|
+
```
|
|
606
|
+
|
|
607
|
+
### Parameters
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
| Name | Type | Description | Notes |
|
|
611
|
+
|------------- | ------------- | ------------- | -------------|
|
|
612
|
+
| **recommendProvidersRequest** | [RecommendProvidersRequest](RecommendProvidersRequest.md) | | [Optional] |
|
|
613
|
+
|
|
614
|
+
### Return type
|
|
615
|
+
|
|
616
|
+
[**RecommendProvidersResponse**](RecommendProvidersResponse.md)
|
|
617
|
+
|
|
618
|
+
### Authorization
|
|
619
|
+
|
|
620
|
+
[Bearer](../README.md#Bearer)
|
|
621
|
+
|
|
622
|
+
### HTTP request headers
|
|
623
|
+
|
|
624
|
+
- **Content-Type**: `application/json`, `text/json`, `application/*+json`
|
|
625
|
+
- **Accept**: `text/plain`, `application/json`, `text/json`, `application/problem+json`
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
### HTTP response details
|
|
629
|
+
| Status code | Description | Response headers |
|
|
630
|
+
|-------------|-------------|------------------|
|
|
631
|
+
| **200** | OK | - |
|
|
632
|
+
| **400** | Bad request | - |
|
|
633
|
+
| **401** | Unauthorized | - |
|
|
634
|
+
| **403** | Forbidden | - |
|
|
635
|
+
| **500** | Internal server error | - |
|
|
636
|
+
|
|
637
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
## redactSession
|
|
641
|
+
|
|
642
|
+
> redactSession(sessionId)
|
|
643
|
+
|
|
644
|
+
Redact Session
|
|
645
|
+
|
|
646
|
+
Redact a Session, removing all identity data from Trinsic\'s servers. Every verification profile has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately.
|
|
647
|
+
|
|
648
|
+
### Example
|
|
649
|
+
|
|
650
|
+
```ts
|
|
651
|
+
import {
|
|
652
|
+
Configuration,
|
|
653
|
+
SessionsApi,
|
|
654
|
+
} from '@trinsic/api';
|
|
655
|
+
import type { RedactSessionRequest } from '@trinsic/api';
|
|
656
|
+
|
|
657
|
+
async function example() {
|
|
658
|
+
console.log("🚀 Testing @trinsic/api SDK...");
|
|
659
|
+
const config = new Configuration({
|
|
660
|
+
// Configure HTTP bearer authorization: Bearer
|
|
661
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
662
|
+
});
|
|
663
|
+
const api = new SessionsApi(config);
|
|
664
|
+
|
|
665
|
+
const body = {
|
|
666
|
+
// string
|
|
667
|
+
sessionId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
668
|
+
} satisfies RedactSessionRequest;
|
|
669
|
+
|
|
670
|
+
try {
|
|
671
|
+
const data = await api.redactSession(body);
|
|
672
|
+
console.log(data);
|
|
673
|
+
} catch (error) {
|
|
674
|
+
console.error(error);
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
// Run the test
|
|
679
|
+
example().catch(console.error);
|
|
680
|
+
```
|
|
681
|
+
|
|
682
|
+
### Parameters
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
| Name | Type | Description | Notes |
|
|
686
|
+
|------------- | ------------- | ------------- | -------------|
|
|
687
|
+
| **sessionId** | `string` | | [Defaults to `undefined`] |
|
|
688
|
+
|
|
689
|
+
### Return type
|
|
690
|
+
|
|
691
|
+
`void` (Empty response body)
|
|
692
|
+
|
|
693
|
+
### Authorization
|
|
694
|
+
|
|
695
|
+
[Bearer](../README.md#Bearer)
|
|
696
|
+
|
|
697
|
+
### HTTP request headers
|
|
698
|
+
|
|
699
|
+
- **Content-Type**: Not defined
|
|
700
|
+
- **Accept**: `application/problem+json`
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
### HTTP response details
|
|
704
|
+
| Status code | Description | Response headers |
|
|
705
|
+
|-------------|-------------|------------------|
|
|
706
|
+
| **200** | OK | - |
|
|
707
|
+
| **400** | Bad request | - |
|
|
708
|
+
| **401** | Unauthorized | - |
|
|
709
|
+
| **403** | Forbidden | - |
|
|
710
|
+
| **500** | Internal server error | - |
|
|
711
|
+
|
|
712
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
## refreshStepContent
|
|
716
|
+
|
|
717
|
+
> RefreshStepContentResponse refreshStepContent(sessionId, refreshStepContentRequest)
|
|
718
|
+
|
|
719
|
+
Refresh Step Content
|
|
720
|
+
|
|
721
|
+
Refreshes the content of a Step for a Direct Provider Session.
|
|
722
|
+
|
|
723
|
+
### Example
|
|
724
|
+
|
|
725
|
+
```ts
|
|
726
|
+
import {
|
|
727
|
+
Configuration,
|
|
728
|
+
SessionsApi,
|
|
729
|
+
} from '@trinsic/api';
|
|
730
|
+
import type { RefreshStepContentOperationRequest } from '@trinsic/api';
|
|
731
|
+
|
|
732
|
+
async function example() {
|
|
733
|
+
console.log("🚀 Testing @trinsic/api SDK...");
|
|
734
|
+
const config = new Configuration({
|
|
735
|
+
// Configure HTTP bearer authorization: Bearer
|
|
736
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
737
|
+
});
|
|
738
|
+
const api = new SessionsApi(config);
|
|
739
|
+
|
|
740
|
+
const body = {
|
|
741
|
+
// string
|
|
742
|
+
sessionId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
743
|
+
// RefreshStepContentRequest (optional)
|
|
744
|
+
refreshStepContentRequest: ...,
|
|
745
|
+
} satisfies RefreshStepContentOperationRequest;
|
|
746
|
+
|
|
747
|
+
try {
|
|
748
|
+
const data = await api.refreshStepContent(body);
|
|
749
|
+
console.log(data);
|
|
750
|
+
} catch (error) {
|
|
751
|
+
console.error(error);
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
// Run the test
|
|
756
|
+
example().catch(console.error);
|
|
757
|
+
```
|
|
758
|
+
|
|
759
|
+
### Parameters
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
| Name | Type | Description | Notes |
|
|
763
|
+
|------------- | ------------- | ------------- | -------------|
|
|
764
|
+
| **sessionId** | `string` | | [Defaults to `undefined`] |
|
|
765
|
+
| **refreshStepContentRequest** | [RefreshStepContentRequest](RefreshStepContentRequest.md) | | [Optional] |
|
|
766
|
+
|
|
767
|
+
### Return type
|
|
768
|
+
|
|
769
|
+
[**RefreshStepContentResponse**](RefreshStepContentResponse.md)
|
|
770
|
+
|
|
771
|
+
### Authorization
|
|
772
|
+
|
|
773
|
+
[Bearer](../README.md#Bearer)
|
|
774
|
+
|
|
775
|
+
### HTTP request headers
|
|
776
|
+
|
|
777
|
+
- **Content-Type**: `application/json`, `text/json`, `application/*+json`
|
|
778
|
+
- **Accept**: `text/plain`, `application/json`, `text/json`, `application/problem+json`
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
### HTTP response details
|
|
782
|
+
| Status code | Description | Response headers |
|
|
783
|
+
|-------------|-------------|------------------|
|
|
784
|
+
| **200** | OK | - |
|
|
785
|
+
| **400** | Bad request | - |
|
|
786
|
+
| **401** | Unauthorized | - |
|
|
787
|
+
| **403** | Forbidden | - |
|
|
788
|
+
| **500** | Internal server error | - |
|
|
789
|
+
|
|
790
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
## submitNativeChallengeResponse
|
|
794
|
+
|
|
795
|
+
> SubmitNativeChallengeResponseResponse submitNativeChallengeResponse(sessionId, submitNativeChallengeResponseRequest)
|
|
796
|
+
|
|
797
|
+
Submit Native Challenge Response
|
|
798
|
+
|
|
799
|
+
Submits the response from a Native Challenge (e.g., mDL exchange via DC API) and processes the results.
|
|
800
|
+
|
|
801
|
+
### Example
|
|
802
|
+
|
|
803
|
+
```ts
|
|
804
|
+
import {
|
|
805
|
+
Configuration,
|
|
806
|
+
SessionsApi,
|
|
807
|
+
} from '@trinsic/api';
|
|
808
|
+
import type { SubmitNativeChallengeResponseOperationRequest } from '@trinsic/api';
|
|
809
|
+
|
|
810
|
+
async function example() {
|
|
811
|
+
console.log("🚀 Testing @trinsic/api SDK...");
|
|
812
|
+
const config = new Configuration({
|
|
813
|
+
// Configure HTTP bearer authorization: Bearer
|
|
814
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
815
|
+
});
|
|
816
|
+
const api = new SessionsApi(config);
|
|
817
|
+
|
|
818
|
+
const body = {
|
|
819
|
+
// string
|
|
820
|
+
sessionId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
821
|
+
// SubmitNativeChallengeResponseRequest (optional)
|
|
822
|
+
submitNativeChallengeResponseRequest: ...,
|
|
823
|
+
} satisfies SubmitNativeChallengeResponseOperationRequest;
|
|
824
|
+
|
|
825
|
+
try {
|
|
826
|
+
const data = await api.submitNativeChallengeResponse(body);
|
|
827
|
+
console.log(data);
|
|
828
|
+
} catch (error) {
|
|
829
|
+
console.error(error);
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
// Run the test
|
|
834
|
+
example().catch(console.error);
|
|
835
|
+
```
|
|
836
|
+
|
|
837
|
+
### Parameters
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
| Name | Type | Description | Notes |
|
|
841
|
+
|------------- | ------------- | ------------- | -------------|
|
|
842
|
+
| **sessionId** | `string` | | [Defaults to `undefined`] |
|
|
843
|
+
| **submitNativeChallengeResponseRequest** | [SubmitNativeChallengeResponseRequest](SubmitNativeChallengeResponseRequest.md) | | [Optional] |
|
|
844
|
+
|
|
845
|
+
### Return type
|
|
846
|
+
|
|
847
|
+
[**SubmitNativeChallengeResponseResponse**](SubmitNativeChallengeResponseResponse.md)
|
|
848
|
+
|
|
849
|
+
### Authorization
|
|
850
|
+
|
|
851
|
+
[Bearer](../README.md#Bearer)
|
|
852
|
+
|
|
853
|
+
### HTTP request headers
|
|
854
|
+
|
|
855
|
+
- **Content-Type**: `application/json`, `text/json`, `application/*+json`
|
|
856
|
+
- **Accept**: `text/plain`, `application/json`, `text/json`, `application/problem+json`
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
### HTTP response details
|
|
860
|
+
| Status code | Description | Response headers |
|
|
861
|
+
|-------------|-------------|------------------|
|
|
862
|
+
| **200** | OK | - |
|
|
863
|
+
| **400** | Bad request | - |
|
|
864
|
+
| **401** | Unauthorized | - |
|
|
865
|
+
| **403** | Forbidden | - |
|
|
866
|
+
| **500** | Internal server error | - |
|
|
867
|
+
|
|
868
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
869
|
+
|