@trinsic/api 3.0.1 → 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 +270 -3
- package/.openapi-generator/VERSION +1 -1
- package/README.md +0 -2
- package/dist/apis/ProvidersApi.d.ts +50 -1
- package/dist/apis/ProvidersApi.js +64 -6
- 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 +88 -2
- package/dist/apis/VerificationProfilesApi.js +108 -20
- package/dist/esm/apis/ProvidersApi.d.ts +50 -1
- package/dist/esm/apis/ProvidersApi.js +65 -7
- 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 +88 -2
- package/dist/esm/apis/VerificationProfilesApi.js +108 -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 +58 -0
- package/dist/esm/models/AadhaarClaims.js +48 -0
- package/dist/esm/models/AadhaarInput.js +1 -1
- package/dist/esm/models/AadhaarLanguage.d.ts +55 -0
- package/dist/esm/models/AadhaarLanguage.js +44 -0
- package/dist/esm/models/AadhaarLocalizedClaims.d.ts +46 -0
- package/dist/esm/models/AadhaarLocalizedClaims.js +47 -0
- package/dist/esm/models/AppleWalletInput.d.ts +13 -0
- package/dist/esm/models/AppleWalletInput.js +3 -0
- 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/ConnectIdAddress.d.ts +58 -0
- package/dist/esm/models/ConnectIdAddress.js +49 -0
- package/dist/esm/models/ConnectIdAgeVerification.d.ts +38 -0
- package/dist/esm/models/ConnectIdAgeVerification.js +43 -0
- package/dist/esm/models/ConnectIdProviderOutput.d.ts +90 -0
- package/dist/esm/models/ConnectIdProviderOutput.js +61 -0
- 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/CzechMojeIdAddressOutput.d.ts +62 -0
- package/dist/esm/models/CzechMojeIdAddressOutput.js +51 -0
- package/dist/esm/models/CzechMojeIdProviderOutput.d.ts +190 -0
- package/dist/esm/models/CzechMojeIdProviderOutput.js +90 -0
- package/dist/esm/models/CzechiaMojeIdProviderOutput.d.ts +1 -1
- package/dist/esm/models/CzechiaMojeIdProviderOutput.js +1 -1
- package/dist/esm/models/DigilockerAadhaarProviderOutput.d.ts +76 -0
- package/dist/esm/models/DigilockerAadhaarProviderOutput.js +57 -0
- 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 +78 -3
- package/dist/esm/models/FaydaProviderOutput.js +19 -0
- package/dist/esm/models/FinlandIdCardProviderOutput.js +1 -1
- package/dist/esm/models/FinnishTrustNetworkProviderOutput.d.ts +123 -0
- package/dist/esm/models/FinnishTrustNetworkProviderOutput.js +61 -0
- package/dist/esm/models/FranceIdentiteInput.d.ts +35 -0
- package/dist/esm/models/FranceIdentiteInput.js +42 -0
- package/dist/esm/models/FranceIdentiteProviderOutput.d.ts +33 -0
- package/dist/esm/models/FranceIdentiteProviderOutput.js +44 -0
- package/dist/esm/models/FrejaIndirectProviderOutput.d.ts +53 -0
- package/dist/esm/models/FrejaIndirectProviderOutput.js +55 -0
- package/dist/esm/models/FrejaProviderOutput.d.ts +103 -11
- package/dist/esm/models/FrejaProviderOutput.js +38 -16
- 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/GetProviderResponse.d.ts +33 -0
- package/dist/esm/models/GetProviderResponse.js +44 -0
- package/dist/esm/models/GoogleWalletInput.d.ts +13 -0
- package/dist/esm/models/GoogleWalletInput.js +3 -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/IntegrationStep.d.ts +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.d.ts +112 -0
- package/dist/esm/models/NigeriaNinLookup2ProviderOutput.js +69 -0
- package/dist/esm/models/NigeriaNinMatch2Input.js +1 -1
- package/dist/esm/models/NorwegianBankIdProviderOutput.d.ts +97 -0
- package/dist/esm/models/NorwegianBankIdProviderOutput.js +55 -0
- package/dist/esm/models/OneIdProviderAddress.d.ts +56 -0
- package/dist/esm/models/OneIdProviderAddress.js +49 -0
- package/dist/esm/models/OneIdProviderOutput.d.ts +63 -0
- package/dist/esm/models/OneIdProviderOutput.js +52 -0
- package/dist/esm/models/OutputFrejaAddress.d.ts +50 -0
- package/dist/esm/models/OutputFrejaAddress.js +47 -0
- package/dist/esm/models/OutputFrejaDocument.d.ts +56 -0
- package/dist/esm/models/OutputFrejaDocument.js +47 -0
- 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.d.ts +64 -0
- package/dist/esm/models/PhilippinesDigitalNidProviderOutput.js +20 -0
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +54 -1
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.js +16 -0
- 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 +91 -0
- package/dist/esm/models/ProviderInput.js +39 -0
- package/dist/esm/models/ProviderOutput.d.ts +196 -12
- package/dist/esm/models/ProviderOutput.js +89 -11
- package/dist/esm/models/ProviderSupportedLanguage.d.ts +38 -0
- package/dist/esm/models/ProviderSupportedLanguage.js +45 -0
- package/dist/esm/models/Raw18013DocumentRequest.d.ts +60 -0
- package/dist/esm/models/Raw18013DocumentRequest.js +47 -0
- package/dist/esm/models/Raw18013RequestInput.d.ts +38 -0
- package/dist/esm/models/Raw18013RequestInput.js +44 -0
- package/dist/esm/models/RecommendProvidersResponse.d.ts +6 -0
- package/dist/esm/models/RecommendProvidersResponse.js +4 -0
- package/dist/esm/models/SamsungWalletInput.d.ts +37 -0
- package/dist/esm/models/SamsungWalletInput.js +42 -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.d.ts +38 -0
- package/dist/esm/models/UkEvisaLookupInput.js +47 -0
- package/dist/esm/models/UnitedKingdomEvisaProviderOutput.d.ts +108 -0
- package/dist/esm/models/UnitedKingdomEvisaProviderOutput.js +61 -0
- package/dist/esm/models/UsaCaliforniaDmvInput.d.ts +35 -0
- package/dist/esm/models/UsaCaliforniaDmvInput.js +42 -0
- package/dist/esm/models/VerificationProfileResponse.d.ts +12 -0
- package/dist/esm/models/VerificationProfileResponse.js +6 -0
- package/dist/esm/models/YotiDeeplinkProviderOutput.d.ts +112 -0
- package/dist/esm/models/YotiDeeplinkProviderOutput.js +65 -0
- 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 +64 -3
- package/dist/esm/models/index.js +64 -3
- 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 +58 -0
- package/dist/models/AadhaarClaims.js +55 -0
- package/dist/models/AadhaarInput.js +1 -1
- package/dist/models/AadhaarLanguage.d.ts +55 -0
- package/dist/models/AadhaarLanguage.js +51 -0
- package/dist/models/AadhaarLocalizedClaims.d.ts +46 -0
- package/dist/models/AadhaarLocalizedClaims.js +54 -0
- package/dist/models/AppleWalletInput.d.ts +13 -0
- package/dist/models/AppleWalletInput.js +3 -0
- 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/ConnectIdAddress.d.ts +58 -0
- package/dist/models/ConnectIdAddress.js +56 -0
- package/dist/models/ConnectIdAgeVerification.d.ts +38 -0
- package/dist/models/ConnectIdAgeVerification.js +50 -0
- package/dist/models/ConnectIdProviderOutput.d.ts +90 -0
- package/dist/models/ConnectIdProviderOutput.js +68 -0
- 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/CzechMojeIdAddressOutput.d.ts +62 -0
- package/dist/models/CzechMojeIdAddressOutput.js +58 -0
- package/dist/models/CzechMojeIdProviderOutput.d.ts +190 -0
- package/dist/models/CzechMojeIdProviderOutput.js +97 -0
- package/dist/models/CzechiaMojeIdProviderOutput.d.ts +1 -1
- package/dist/models/CzechiaMojeIdProviderOutput.js +1 -1
- package/dist/models/DigilockerAadhaarProviderOutput.d.ts +76 -0
- package/dist/models/DigilockerAadhaarProviderOutput.js +64 -0
- 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 +78 -3
- package/dist/models/FaydaProviderOutput.js +19 -0
- package/dist/models/FinlandIdCardProviderOutput.js +1 -1
- package/dist/models/FinnishTrustNetworkProviderOutput.d.ts +123 -0
- package/dist/models/FinnishTrustNetworkProviderOutput.js +68 -0
- package/dist/models/FranceIdentiteInput.d.ts +35 -0
- package/dist/models/FranceIdentiteInput.js +49 -0
- package/dist/models/FranceIdentiteProviderOutput.d.ts +33 -0
- package/dist/models/FranceIdentiteProviderOutput.js +51 -0
- package/dist/models/FrejaIndirectProviderOutput.d.ts +53 -0
- package/dist/models/FrejaIndirectProviderOutput.js +62 -0
- package/dist/models/FrejaProviderOutput.d.ts +103 -11
- package/dist/models/FrejaProviderOutput.js +38 -16
- 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/GetProviderResponse.d.ts +33 -0
- package/dist/models/GetProviderResponse.js +51 -0
- package/dist/models/GoogleWalletInput.d.ts +13 -0
- package/dist/models/GoogleWalletInput.js +3 -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/IntegrationStep.d.ts +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.d.ts +112 -0
- package/dist/models/NigeriaNinLookup2ProviderOutput.js +76 -0
- package/dist/models/NigeriaNinMatch2Input.js +1 -1
- package/dist/models/NorwegianBankIdProviderOutput.d.ts +97 -0
- package/dist/models/NorwegianBankIdProviderOutput.js +62 -0
- package/dist/models/OneIdProviderAddress.d.ts +56 -0
- package/dist/models/OneIdProviderAddress.js +56 -0
- package/dist/models/OneIdProviderOutput.d.ts +63 -0
- package/dist/models/OneIdProviderOutput.js +59 -0
- package/dist/models/OutputFrejaAddress.d.ts +50 -0
- package/dist/models/OutputFrejaAddress.js +54 -0
- package/dist/models/OutputFrejaDocument.d.ts +56 -0
- package/dist/models/OutputFrejaDocument.js +54 -0
- 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.d.ts +64 -0
- package/dist/models/PhilippinesDigitalNidProviderOutput.js +20 -0
- package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +54 -1
- package/dist/models/PhilippinesPhysicalNidProviderOutput.js +16 -0
- 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 +91 -0
- package/dist/models/ProviderInput.js +39 -0
- package/dist/models/ProviderOutput.d.ts +196 -12
- package/dist/models/ProviderOutput.js +89 -11
- package/dist/models/ProviderSupportedLanguage.d.ts +38 -0
- package/dist/models/ProviderSupportedLanguage.js +52 -0
- package/dist/models/Raw18013DocumentRequest.d.ts +60 -0
- package/dist/models/Raw18013DocumentRequest.js +54 -0
- package/dist/models/Raw18013RequestInput.d.ts +38 -0
- package/dist/models/Raw18013RequestInput.js +51 -0
- package/dist/models/RecommendProvidersResponse.d.ts +6 -0
- package/dist/models/RecommendProvidersResponse.js +4 -0
- package/dist/models/SamsungWalletInput.d.ts +37 -0
- package/dist/models/SamsungWalletInput.js +49 -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.d.ts +38 -0
- package/dist/models/UkEvisaLookupInput.js +54 -0
- package/dist/models/UnitedKingdomEvisaProviderOutput.d.ts +108 -0
- package/dist/models/UnitedKingdomEvisaProviderOutput.js +68 -0
- package/dist/models/UsaCaliforniaDmvInput.d.ts +35 -0
- package/dist/models/UsaCaliforniaDmvInput.js +49 -0
- package/dist/models/VerificationProfileResponse.d.ts +12 -0
- package/dist/models/VerificationProfileResponse.js +6 -0
- package/dist/models/YotiDeeplinkProviderOutput.d.ts +112 -0
- package/dist/models/YotiDeeplinkProviderOutput.js +72 -0
- 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 +64 -3
- package/dist/models/index.js +64 -3
- 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 +111 -6
- package/src/apis/RedirectUrisApi.ts +77 -18
- package/src/apis/SessionsApi.ts +286 -124
- package/src/apis/VerificationProfilesApi.ts +189 -21
- package/src/models/AadhaarAddress.ts +155 -0
- package/src/models/AadhaarClaims.ts +104 -0
- package/src/models/AadhaarInput.ts +1 -1
- package/src/models/AadhaarLanguage.ts +90 -0
- package/src/models/AadhaarLocalizedClaims.ts +96 -0
- package/src/models/AppleWalletInput.ts +21 -0
- 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/ConnectIdAddress.ts +99 -0
- package/src/models/ConnectIdAgeVerification.ts +73 -0
- package/src/models/ConnectIdProviderOutput.ts +154 -0
- package/src/models/CoteDIvoireNidLookup2ProviderOutput.ts +144 -0
- package/src/models/CreateDirectProviderSessionRequest.ts +11 -0
- package/src/models/CreateHostedProviderSessionRequest.ts +10 -0
- package/src/models/CzechMojeIdAddressOutput.ts +105 -0
- package/src/models/CzechMojeIdProviderOutput.ts +278 -0
- package/src/models/CzechiaMojeIdProviderOutput.ts +2 -2
- package/src/models/DigilockerAadhaarProviderOutput.ts +135 -0
- 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 +103 -3
- package/src/models/FinlandIdCardProviderOutput.ts +1 -1
- package/src/models/FinnishTrustNetworkProviderOutput.ts +176 -0
- package/src/models/FranceIdentiteInput.ts +75 -0
- package/src/models/FranceIdentiteProviderOutput.ts +74 -0
- package/src/models/FrejaIndirectProviderOutput.ts +96 -0
- package/src/models/FrejaProviderOutput.ts +152 -23
- package/src/models/FrenchNumeriqueGivenName.ts +2 -2
- package/src/models/FrenchNumeriqueProviderOutput.ts +12 -12
- package/src/models/GetProviderResponse.ts +74 -0
- package/src/models/GoogleWalletInput.ts +21 -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/IntegrationStep.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 +170 -0
- package/src/models/NigeriaNinMatch2Input.ts +1 -1
- package/src/models/NorwegianBankIdProviderOutput.ts +144 -0
- package/src/models/OneIdProviderAddress.ts +97 -0
- package/src/models/OneIdProviderOutput.ts +113 -0
- package/src/models/OutputFrejaAddress.ts +89 -0
- package/src/models/OutputFrejaDocument.ts +95 -0
- 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 +84 -0
- package/src/models/PhilippinesPhysicalNidProviderOutput.ts +70 -1
- 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 +195 -0
- package/src/models/ProviderOutput.ts +459 -67
- package/src/models/ProviderSupportedLanguage.ts +74 -0
- package/src/models/Raw18013DocumentRequest.ts +93 -0
- package/src/models/Raw18013RequestInput.ts +79 -0
- package/src/models/RecommendProvidersResponse.ts +9 -0
- package/src/models/SamsungWalletInput.ts +77 -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 +75 -0
- package/src/models/UnitedKingdomEvisaProviderOutput.ts +161 -0
- package/src/models/UsaCaliforniaDmvInput.ts +75 -0
- package/src/models/VerificationProfileResponse.ts +17 -0
- package/src/models/YotiDeeplinkProviderOutput.ts +180 -0
- package/src/models/YotiDocumentDetails.ts +1 -1
- package/src/models/YotiProviderOutput.ts +3 -3
- package/src/models/index.ts +64 -3
- package/src/runtime.ts +18 -0
- 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/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/CreateWidgetSessionRequest.ts +0 -104
- package/src/models/CreateWidgetSessionResponse.ts +0 -94
- package/src/models/HttpValidationProblemDetails.ts +0 -105
package/src/apis/SessionsApi.ts
CHANGED
|
@@ -20,8 +20,6 @@ import type {
|
|
|
20
20
|
CreateDirectProviderSessionResponse,
|
|
21
21
|
CreateHostedProviderSessionRequest,
|
|
22
22
|
CreateHostedProviderSessionResponse,
|
|
23
|
-
CreateWidgetSessionRequest,
|
|
24
|
-
CreateWidgetSessionResponse,
|
|
25
23
|
GetAttachmentRequest,
|
|
26
24
|
GetAttachmentResponse,
|
|
27
25
|
GetSessionResponse,
|
|
@@ -49,10 +47,6 @@ import {
|
|
|
49
47
|
CreateHostedProviderSessionRequestToJSON,
|
|
50
48
|
CreateHostedProviderSessionResponseFromJSON,
|
|
51
49
|
CreateHostedProviderSessionResponseToJSON,
|
|
52
|
-
CreateWidgetSessionRequestFromJSON,
|
|
53
|
-
CreateWidgetSessionRequestToJSON,
|
|
54
|
-
CreateWidgetSessionResponseFromJSON,
|
|
55
|
-
CreateWidgetSessionResponseToJSON,
|
|
56
50
|
GetAttachmentRequestFromJSON,
|
|
57
51
|
GetAttachmentRequestToJSON,
|
|
58
52
|
GetAttachmentResponseFromJSON,
|
|
@@ -97,10 +91,6 @@ export interface CreateHostedProviderSessionOperationRequest {
|
|
|
97
91
|
createHostedProviderSessionRequest?: CreateHostedProviderSessionRequest;
|
|
98
92
|
}
|
|
99
93
|
|
|
100
|
-
export interface CreateWidgetSessionOperationRequest {
|
|
101
|
-
createWidgetSessionRequest?: CreateWidgetSessionRequest;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
94
|
export interface GetAttachmentOperationRequest {
|
|
105
95
|
sessionId: string;
|
|
106
96
|
attachmentId: string;
|
|
@@ -149,6 +139,14 @@ export interface SubmitNativeChallengeResponseOperationRequest {
|
|
|
149
139
|
* @interface SessionsApiInterface
|
|
150
140
|
*/
|
|
151
141
|
export interface SessionsApiInterface {
|
|
142
|
+
/**
|
|
143
|
+
* Creates request options for cancelSession without sending the request
|
|
144
|
+
* @param {string} sessionId
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
* @memberof SessionsApiInterface
|
|
147
|
+
*/
|
|
148
|
+
cancelSessionRequestOpts(requestParameters: CancelSessionRequest): Promise<runtime.RequestOpts>;
|
|
149
|
+
|
|
152
150
|
/**
|
|
153
151
|
* Cancel a Session by its ID
|
|
154
152
|
* @summary Cancel Session
|
|
@@ -165,6 +163,14 @@ export interface SessionsApiInterface {
|
|
|
165
163
|
*/
|
|
166
164
|
cancelSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CancelSessionResponse>;
|
|
167
165
|
|
|
166
|
+
/**
|
|
167
|
+
* Creates request options for createDirectProviderSession without sending the request
|
|
168
|
+
* @param {CreateDirectProviderSessionRequest} [createDirectProviderSessionRequest]
|
|
169
|
+
* @throws {RequiredError}
|
|
170
|
+
* @memberof SessionsApiInterface
|
|
171
|
+
*/
|
|
172
|
+
createDirectProviderSessionRequestOpts(requestParameters: CreateDirectProviderSessionOperationRequest): Promise<runtime.RequestOpts>;
|
|
173
|
+
|
|
168
174
|
/**
|
|
169
175
|
* 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.
|
|
170
176
|
* @summary Create Direct Provider Session
|
|
@@ -181,6 +187,14 @@ export interface SessionsApiInterface {
|
|
|
181
187
|
*/
|
|
182
188
|
createDirectProviderSession(createDirectProviderSessionRequest?: CreateDirectProviderSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateDirectProviderSessionResponse>;
|
|
183
189
|
|
|
190
|
+
/**
|
|
191
|
+
* Creates request options for createHostedProviderSession without sending the request
|
|
192
|
+
* @param {CreateHostedProviderSessionRequest} [createHostedProviderSessionRequest]
|
|
193
|
+
* @throws {RequiredError}
|
|
194
|
+
* @memberof SessionsApiInterface
|
|
195
|
+
*/
|
|
196
|
+
createHostedProviderSessionRequestOpts(requestParameters: CreateHostedProviderSessionOperationRequest): Promise<runtime.RequestOpts>;
|
|
197
|
+
|
|
184
198
|
/**
|
|
185
199
|
* Verify a user\'s identity with a specific provider, using Trinsic-hosted UI for providers which require additional user interaction.
|
|
186
200
|
* @summary Create Hosted Provider Session
|
|
@@ -198,20 +212,14 @@ export interface SessionsApiInterface {
|
|
|
198
212
|
createHostedProviderSession(createHostedProviderSessionRequest?: CreateHostedProviderSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateHostedProviderSessionResponse>;
|
|
199
213
|
|
|
200
214
|
/**
|
|
201
|
-
*
|
|
202
|
-
* @
|
|
203
|
-
* @param {
|
|
204
|
-
* @param {
|
|
215
|
+
* Creates request options for getAttachment without sending the request
|
|
216
|
+
* @param {string} sessionId The ID of the Session to fetch the Attachment from
|
|
217
|
+
* @param {string} attachmentId The ID of the Attachment to fetch
|
|
218
|
+
* @param {GetAttachmentRequest} [getAttachmentRequest]
|
|
205
219
|
* @throws {RequiredError}
|
|
206
220
|
* @memberof SessionsApiInterface
|
|
207
221
|
*/
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* Verify a user\'s identity using Trinsic\'s hosted Widget flow.
|
|
212
|
-
* Create Widget Session
|
|
213
|
-
*/
|
|
214
|
-
createWidgetSession(createWidgetSessionRequest?: CreateWidgetSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateWidgetSessionResponse>;
|
|
222
|
+
getAttachmentRequestOpts(requestParameters: GetAttachmentOperationRequest): Promise<runtime.RequestOpts>;
|
|
215
223
|
|
|
216
224
|
/**
|
|
217
225
|
* Fetch an Attachment\'s contents.
|
|
@@ -231,6 +239,14 @@ export interface SessionsApiInterface {
|
|
|
231
239
|
*/
|
|
232
240
|
getAttachment(sessionId: string, attachmentId: string, getAttachmentRequest?: GetAttachmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAttachmentResponse>;
|
|
233
241
|
|
|
242
|
+
/**
|
|
243
|
+
* Creates request options for getSession without sending the request
|
|
244
|
+
* @param {string} sessionId
|
|
245
|
+
* @throws {RequiredError}
|
|
246
|
+
* @memberof SessionsApiInterface
|
|
247
|
+
*/
|
|
248
|
+
getSessionRequestOpts(requestParameters: GetSessionRequest): Promise<runtime.RequestOpts>;
|
|
249
|
+
|
|
234
250
|
/**
|
|
235
251
|
* Get a Session by its ID
|
|
236
252
|
* @summary Get Session
|
|
@@ -247,6 +263,15 @@ export interface SessionsApiInterface {
|
|
|
247
263
|
*/
|
|
248
264
|
getSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetSessionResponse>;
|
|
249
265
|
|
|
266
|
+
/**
|
|
267
|
+
* Creates request options for getSessionResult without sending the request
|
|
268
|
+
* @param {string} sessionId
|
|
269
|
+
* @param {GetSessionResultRequest} [getSessionResultRequest]
|
|
270
|
+
* @throws {RequiredError}
|
|
271
|
+
* @memberof SessionsApiInterface
|
|
272
|
+
*/
|
|
273
|
+
getSessionResultRequestOpts(requestParameters: GetSessionResultOperationRequest): Promise<runtime.RequestOpts>;
|
|
274
|
+
|
|
250
275
|
/**
|
|
251
276
|
*
|
|
252
277
|
* @summary Get Session Results
|
|
@@ -263,6 +288,18 @@ export interface SessionsApiInterface {
|
|
|
263
288
|
*/
|
|
264
289
|
getSessionResult(sessionId: string, getSessionResultRequest?: GetSessionResultRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetSessionResultResponse>;
|
|
265
290
|
|
|
291
|
+
/**
|
|
292
|
+
* Creates request options for listSessions without sending the request
|
|
293
|
+
* @param {string} verificationProfileId
|
|
294
|
+
* @param {SessionOrdering} [orderBy] The field by which sessions should be ordered
|
|
295
|
+
* @param {OrderDirection} [orderDirection]
|
|
296
|
+
* @param {number} [pageSize] The number of items to return per page -- must be between `1` and `50`
|
|
297
|
+
* @param {number} [page] The page number to return -- starts at `1`
|
|
298
|
+
* @throws {RequiredError}
|
|
299
|
+
* @memberof SessionsApiInterface
|
|
300
|
+
*/
|
|
301
|
+
listSessionsRequestOpts(requestParameters: ListSessionsRequest): Promise<runtime.RequestOpts>;
|
|
302
|
+
|
|
266
303
|
/**
|
|
267
304
|
* List Sessions created for a specific Verification Profile
|
|
268
305
|
* @summary List Sessions
|
|
@@ -283,6 +320,14 @@ export interface SessionsApiInterface {
|
|
|
283
320
|
*/
|
|
284
321
|
listSessions(verificationProfileId: string, orderBy?: SessionOrdering, orderDirection?: OrderDirection, pageSize?: number, page?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListSessionsResponse>;
|
|
285
322
|
|
|
323
|
+
/**
|
|
324
|
+
* Creates request options for recommendProviders without sending the request
|
|
325
|
+
* @param {RecommendProvidersRequest} [recommendProvidersRequest]
|
|
326
|
+
* @throws {RequiredError}
|
|
327
|
+
* @memberof SessionsApiInterface
|
|
328
|
+
*/
|
|
329
|
+
recommendProvidersRequestOpts(requestParameters: RecommendProvidersOperationRequest): Promise<runtime.RequestOpts>;
|
|
330
|
+
|
|
286
331
|
/**
|
|
287
332
|
* 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.
|
|
288
333
|
* @summary Recommend Providers
|
|
@@ -299,6 +344,14 @@ export interface SessionsApiInterface {
|
|
|
299
344
|
*/
|
|
300
345
|
recommendProviders(recommendProvidersRequest?: RecommendProvidersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecommendProvidersResponse>;
|
|
301
346
|
|
|
347
|
+
/**
|
|
348
|
+
* Creates request options for redactSession without sending the request
|
|
349
|
+
* @param {string} sessionId
|
|
350
|
+
* @throws {RequiredError}
|
|
351
|
+
* @memberof SessionsApiInterface
|
|
352
|
+
*/
|
|
353
|
+
redactSessionRequestOpts(requestParameters: RedactSessionRequest): Promise<runtime.RequestOpts>;
|
|
354
|
+
|
|
302
355
|
/**
|
|
303
356
|
* 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.
|
|
304
357
|
* @summary Redact Session
|
|
@@ -315,6 +368,15 @@ export interface SessionsApiInterface {
|
|
|
315
368
|
*/
|
|
316
369
|
redactSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
317
370
|
|
|
371
|
+
/**
|
|
372
|
+
* Creates request options for refreshStepContent without sending the request
|
|
373
|
+
* @param {string} sessionId
|
|
374
|
+
* @param {RefreshStepContentRequest} [refreshStepContentRequest]
|
|
375
|
+
* @throws {RequiredError}
|
|
376
|
+
* @memberof SessionsApiInterface
|
|
377
|
+
*/
|
|
378
|
+
refreshStepContentRequestOpts(requestParameters: RefreshStepContentOperationRequest): Promise<runtime.RequestOpts>;
|
|
379
|
+
|
|
318
380
|
/**
|
|
319
381
|
* Refreshes the content of a Step for a Direct Provider Session.
|
|
320
382
|
* @summary Refresh Step Content
|
|
@@ -332,6 +394,15 @@ export interface SessionsApiInterface {
|
|
|
332
394
|
*/
|
|
333
395
|
refreshStepContent(sessionId: string, refreshStepContentRequest?: RefreshStepContentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RefreshStepContentResponse>;
|
|
334
396
|
|
|
397
|
+
/**
|
|
398
|
+
* Creates request options for submitNativeChallengeResponse without sending the request
|
|
399
|
+
* @param {string} sessionId
|
|
400
|
+
* @param {SubmitNativeChallengeResponseRequest} [submitNativeChallengeResponseRequest]
|
|
401
|
+
* @throws {RequiredError}
|
|
402
|
+
* @memberof SessionsApiInterface
|
|
403
|
+
*/
|
|
404
|
+
submitNativeChallengeResponseRequestOpts(requestParameters: SubmitNativeChallengeResponseOperationRequest): Promise<runtime.RequestOpts>;
|
|
405
|
+
|
|
335
406
|
/**
|
|
336
407
|
* Submits the response from a Native Challenge (e.g., mDL exchange via DC API) and processes the results.
|
|
337
408
|
* @summary Submit Native Challenge Response
|
|
@@ -357,10 +428,9 @@ export interface SessionsApiInterface {
|
|
|
357
428
|
export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface {
|
|
358
429
|
|
|
359
430
|
/**
|
|
360
|
-
*
|
|
361
|
-
* Cancel Session
|
|
431
|
+
* Creates request options for cancelSession without sending the request
|
|
362
432
|
*/
|
|
363
|
-
async
|
|
433
|
+
async cancelSessionRequestOpts(requestParameters: CancelSessionRequest): Promise<runtime.RequestOpts> {
|
|
364
434
|
if (requestParameters['sessionId'] == null) {
|
|
365
435
|
throw new runtime.RequiredError(
|
|
366
436
|
'sessionId',
|
|
@@ -380,12 +450,25 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
380
450
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
381
451
|
}
|
|
382
452
|
}
|
|
383
|
-
|
|
384
|
-
|
|
453
|
+
|
|
454
|
+
let urlPath = `/api/v1/sessions/{sessionId}/cancel`;
|
|
455
|
+
urlPath = urlPath.replace(`{${"sessionId"}}`, encodeURIComponent(String(requestParameters['sessionId'])));
|
|
456
|
+
|
|
457
|
+
return {
|
|
458
|
+
path: urlPath,
|
|
385
459
|
method: 'POST',
|
|
386
460
|
headers: headerParameters,
|
|
387
461
|
query: queryParameters,
|
|
388
|
-
}
|
|
462
|
+
};
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* Cancel a Session by its ID
|
|
467
|
+
* Cancel Session
|
|
468
|
+
*/
|
|
469
|
+
async cancelSessionRaw(requestParameters: CancelSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CancelSessionResponse>> {
|
|
470
|
+
const requestOptions = await this.cancelSessionRequestOpts(requestParameters);
|
|
471
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
389
472
|
|
|
390
473
|
return new runtime.JSONApiResponse(response, (jsonValue) => CancelSessionResponseFromJSON(jsonValue));
|
|
391
474
|
}
|
|
@@ -400,10 +483,9 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
400
483
|
}
|
|
401
484
|
|
|
402
485
|
/**
|
|
403
|
-
*
|
|
404
|
-
* Create Direct Provider Session
|
|
486
|
+
* Creates request options for createDirectProviderSession without sending the request
|
|
405
487
|
*/
|
|
406
|
-
async
|
|
488
|
+
async createDirectProviderSessionRequestOpts(requestParameters: CreateDirectProviderSessionOperationRequest): Promise<runtime.RequestOpts> {
|
|
407
489
|
const queryParameters: any = {};
|
|
408
490
|
|
|
409
491
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -418,13 +500,25 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
418
500
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
419
501
|
}
|
|
420
502
|
}
|
|
421
|
-
|
|
422
|
-
|
|
503
|
+
|
|
504
|
+
let urlPath = `/api/v1/sessions/provider/direct`;
|
|
505
|
+
|
|
506
|
+
return {
|
|
507
|
+
path: urlPath,
|
|
423
508
|
method: 'POST',
|
|
424
509
|
headers: headerParameters,
|
|
425
510
|
query: queryParameters,
|
|
426
511
|
body: CreateDirectProviderSessionRequestToJSON(requestParameters['createDirectProviderSessionRequest']),
|
|
427
|
-
}
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* 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.
|
|
517
|
+
* Create Direct Provider Session
|
|
518
|
+
*/
|
|
519
|
+
async createDirectProviderSessionRaw(requestParameters: CreateDirectProviderSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateDirectProviderSessionResponse>> {
|
|
520
|
+
const requestOptions = await this.createDirectProviderSessionRequestOpts(requestParameters);
|
|
521
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
428
522
|
|
|
429
523
|
return new runtime.JSONApiResponse(response, (jsonValue) => CreateDirectProviderSessionResponseFromJSON(jsonValue));
|
|
430
524
|
}
|
|
@@ -439,10 +533,9 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
439
533
|
}
|
|
440
534
|
|
|
441
535
|
/**
|
|
442
|
-
*
|
|
443
|
-
* Create Hosted Provider Session
|
|
536
|
+
* Creates request options for createHostedProviderSession without sending the request
|
|
444
537
|
*/
|
|
445
|
-
async
|
|
538
|
+
async createHostedProviderSessionRequestOpts(requestParameters: CreateHostedProviderSessionOperationRequest): Promise<runtime.RequestOpts> {
|
|
446
539
|
const queryParameters: any = {};
|
|
447
540
|
|
|
448
541
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -457,70 +550,42 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
457
550
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
458
551
|
}
|
|
459
552
|
}
|
|
460
|
-
|
|
461
|
-
|
|
553
|
+
|
|
554
|
+
let urlPath = `/api/v1/sessions/provider/hosted`;
|
|
555
|
+
|
|
556
|
+
return {
|
|
557
|
+
path: urlPath,
|
|
462
558
|
method: 'POST',
|
|
463
559
|
headers: headerParameters,
|
|
464
560
|
query: queryParameters,
|
|
465
561
|
body: CreateHostedProviderSessionRequestToJSON(requestParameters['createHostedProviderSessionRequest']),
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => CreateHostedProviderSessionResponseFromJSON(jsonValue));
|
|
562
|
+
};
|
|
469
563
|
}
|
|
470
564
|
|
|
471
565
|
/**
|
|
472
566
|
* Verify a user\'s identity with a specific provider, using Trinsic-hosted UI for providers which require additional user interaction.
|
|
473
567
|
* Create Hosted Provider Session
|
|
474
568
|
*/
|
|
475
|
-
async
|
|
476
|
-
const
|
|
477
|
-
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
/**
|
|
481
|
-
* Verify a user\'s identity using Trinsic\'s hosted Widget flow.
|
|
482
|
-
* Create Widget Session
|
|
483
|
-
*/
|
|
484
|
-
async createWidgetSessionRaw(requestParameters: CreateWidgetSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateWidgetSessionResponse>> {
|
|
485
|
-
const queryParameters: any = {};
|
|
486
|
-
|
|
487
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
488
|
-
|
|
489
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
490
|
-
|
|
491
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
492
|
-
const token = this.configuration.accessToken;
|
|
493
|
-
const tokenString = await token("Bearer", []);
|
|
494
|
-
|
|
495
|
-
if (tokenString) {
|
|
496
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
const response = await this.request({
|
|
500
|
-
path: `/api/v1/sessions/widget`,
|
|
501
|
-
method: 'POST',
|
|
502
|
-
headers: headerParameters,
|
|
503
|
-
query: queryParameters,
|
|
504
|
-
body: CreateWidgetSessionRequestToJSON(requestParameters['createWidgetSessionRequest']),
|
|
505
|
-
}, initOverrides);
|
|
569
|
+
async createHostedProviderSessionRaw(requestParameters: CreateHostedProviderSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateHostedProviderSessionResponse>> {
|
|
570
|
+
const requestOptions = await this.createHostedProviderSessionRequestOpts(requestParameters);
|
|
571
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
506
572
|
|
|
507
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
573
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => CreateHostedProviderSessionResponseFromJSON(jsonValue));
|
|
508
574
|
}
|
|
509
575
|
|
|
510
576
|
/**
|
|
511
|
-
* Verify a user\'s identity using Trinsic
|
|
512
|
-
* Create
|
|
577
|
+
* Verify a user\'s identity with a specific provider, using Trinsic-hosted UI for providers which require additional user interaction.
|
|
578
|
+
* Create Hosted Provider Session
|
|
513
579
|
*/
|
|
514
|
-
async
|
|
515
|
-
const response = await this.
|
|
580
|
+
async createHostedProviderSession(createHostedProviderSessionRequest?: CreateHostedProviderSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateHostedProviderSessionResponse> {
|
|
581
|
+
const response = await this.createHostedProviderSessionRaw({ createHostedProviderSessionRequest: createHostedProviderSessionRequest }, initOverrides);
|
|
516
582
|
return await response.value();
|
|
517
583
|
}
|
|
518
584
|
|
|
519
585
|
/**
|
|
520
|
-
*
|
|
521
|
-
* Get Attachment
|
|
586
|
+
* Creates request options for getAttachment without sending the request
|
|
522
587
|
*/
|
|
523
|
-
async
|
|
588
|
+
async getAttachmentRequestOpts(requestParameters: GetAttachmentOperationRequest): Promise<runtime.RequestOpts> {
|
|
524
589
|
if (requestParameters['sessionId'] == null) {
|
|
525
590
|
throw new runtime.RequiredError(
|
|
526
591
|
'sessionId',
|
|
@@ -549,13 +614,27 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
549
614
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
550
615
|
}
|
|
551
616
|
}
|
|
552
|
-
|
|
553
|
-
|
|
617
|
+
|
|
618
|
+
let urlPath = `/api/v1/sessions/{sessionId}/attachments/{attachmentId}/get`;
|
|
619
|
+
urlPath = urlPath.replace(`{${"sessionId"}}`, encodeURIComponent(String(requestParameters['sessionId'])));
|
|
620
|
+
urlPath = urlPath.replace(`{${"attachmentId"}}`, encodeURIComponent(String(requestParameters['attachmentId'])));
|
|
621
|
+
|
|
622
|
+
return {
|
|
623
|
+
path: urlPath,
|
|
554
624
|
method: 'POST',
|
|
555
625
|
headers: headerParameters,
|
|
556
626
|
query: queryParameters,
|
|
557
627
|
body: GetAttachmentRequestToJSON(requestParameters['getAttachmentRequest']),
|
|
558
|
-
}
|
|
628
|
+
};
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* Fetch an Attachment\'s contents.
|
|
633
|
+
* Get Attachment
|
|
634
|
+
*/
|
|
635
|
+
async getAttachmentRaw(requestParameters: GetAttachmentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAttachmentResponse>> {
|
|
636
|
+
const requestOptions = await this.getAttachmentRequestOpts(requestParameters);
|
|
637
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
559
638
|
|
|
560
639
|
return new runtime.JSONApiResponse(response, (jsonValue) => GetAttachmentResponseFromJSON(jsonValue));
|
|
561
640
|
}
|
|
@@ -570,10 +649,9 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
570
649
|
}
|
|
571
650
|
|
|
572
651
|
/**
|
|
573
|
-
*
|
|
574
|
-
* Get Session
|
|
652
|
+
* Creates request options for getSession without sending the request
|
|
575
653
|
*/
|
|
576
|
-
async
|
|
654
|
+
async getSessionRequestOpts(requestParameters: GetSessionRequest): Promise<runtime.RequestOpts> {
|
|
577
655
|
if (requestParameters['sessionId'] == null) {
|
|
578
656
|
throw new runtime.RequiredError(
|
|
579
657
|
'sessionId',
|
|
@@ -593,12 +671,25 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
593
671
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
594
672
|
}
|
|
595
673
|
}
|
|
596
|
-
|
|
597
|
-
|
|
674
|
+
|
|
675
|
+
let urlPath = `/api/v1/sessions/{sessionId}`;
|
|
676
|
+
urlPath = urlPath.replace(`{${"sessionId"}}`, encodeURIComponent(String(requestParameters['sessionId'])));
|
|
677
|
+
|
|
678
|
+
return {
|
|
679
|
+
path: urlPath,
|
|
598
680
|
method: 'GET',
|
|
599
681
|
headers: headerParameters,
|
|
600
682
|
query: queryParameters,
|
|
601
|
-
}
|
|
683
|
+
};
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Get a Session by its ID
|
|
688
|
+
* Get Session
|
|
689
|
+
*/
|
|
690
|
+
async getSessionRaw(requestParameters: GetSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetSessionResponse>> {
|
|
691
|
+
const requestOptions = await this.getSessionRequestOpts(requestParameters);
|
|
692
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
602
693
|
|
|
603
694
|
return new runtime.JSONApiResponse(response, (jsonValue) => GetSessionResponseFromJSON(jsonValue));
|
|
604
695
|
}
|
|
@@ -613,9 +704,9 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
613
704
|
}
|
|
614
705
|
|
|
615
706
|
/**
|
|
616
|
-
*
|
|
707
|
+
* Creates request options for getSessionResult without sending the request
|
|
617
708
|
*/
|
|
618
|
-
async
|
|
709
|
+
async getSessionResultRequestOpts(requestParameters: GetSessionResultOperationRequest): Promise<runtime.RequestOpts> {
|
|
619
710
|
if (requestParameters['sessionId'] == null) {
|
|
620
711
|
throw new runtime.RequiredError(
|
|
621
712
|
'sessionId',
|
|
@@ -637,13 +728,25 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
637
728
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
638
729
|
}
|
|
639
730
|
}
|
|
640
|
-
|
|
641
|
-
|
|
731
|
+
|
|
732
|
+
let urlPath = `/api/v1/sessions/{sessionId}/results`;
|
|
733
|
+
urlPath = urlPath.replace(`{${"sessionId"}}`, encodeURIComponent(String(requestParameters['sessionId'])));
|
|
734
|
+
|
|
735
|
+
return {
|
|
736
|
+
path: urlPath,
|
|
642
737
|
method: 'POST',
|
|
643
738
|
headers: headerParameters,
|
|
644
739
|
query: queryParameters,
|
|
645
740
|
body: GetSessionResultRequestToJSON(requestParameters['getSessionResultRequest']),
|
|
646
|
-
}
|
|
741
|
+
};
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* Get Session Results
|
|
746
|
+
*/
|
|
747
|
+
async getSessionResultRaw(requestParameters: GetSessionResultOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetSessionResultResponse>> {
|
|
748
|
+
const requestOptions = await this.getSessionResultRequestOpts(requestParameters);
|
|
749
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
647
750
|
|
|
648
751
|
return new runtime.JSONApiResponse(response, (jsonValue) => GetSessionResultResponseFromJSON(jsonValue));
|
|
649
752
|
}
|
|
@@ -657,10 +760,9 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
657
760
|
}
|
|
658
761
|
|
|
659
762
|
/**
|
|
660
|
-
*
|
|
661
|
-
* List Sessions
|
|
763
|
+
* Creates request options for listSessions without sending the request
|
|
662
764
|
*/
|
|
663
|
-
async
|
|
765
|
+
async listSessionsRequestOpts(requestParameters: ListSessionsRequest): Promise<runtime.RequestOpts> {
|
|
664
766
|
if (requestParameters['verificationProfileId'] == null) {
|
|
665
767
|
throw new runtime.RequiredError(
|
|
666
768
|
'verificationProfileId',
|
|
@@ -696,12 +798,25 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
696
798
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
697
799
|
}
|
|
698
800
|
}
|
|
699
|
-
|
|
700
|
-
|
|
801
|
+
|
|
802
|
+
let urlPath = `/api/v1/verification-profiles/{verificationProfileId}/sessions`;
|
|
803
|
+
urlPath = urlPath.replace(`{${"verificationProfileId"}}`, encodeURIComponent(String(requestParameters['verificationProfileId'])));
|
|
804
|
+
|
|
805
|
+
return {
|
|
806
|
+
path: urlPath,
|
|
701
807
|
method: 'GET',
|
|
702
808
|
headers: headerParameters,
|
|
703
809
|
query: queryParameters,
|
|
704
|
-
}
|
|
810
|
+
};
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* List Sessions created for a specific Verification Profile
|
|
815
|
+
* List Sessions
|
|
816
|
+
*/
|
|
817
|
+
async listSessionsRaw(requestParameters: ListSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListSessionsResponse>> {
|
|
818
|
+
const requestOptions = await this.listSessionsRequestOpts(requestParameters);
|
|
819
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
705
820
|
|
|
706
821
|
return new runtime.JSONApiResponse(response, (jsonValue) => ListSessionsResponseFromJSON(jsonValue));
|
|
707
822
|
}
|
|
@@ -716,10 +831,9 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
716
831
|
}
|
|
717
832
|
|
|
718
833
|
/**
|
|
719
|
-
*
|
|
720
|
-
* Recommend Providers
|
|
834
|
+
* Creates request options for recommendProviders without sending the request
|
|
721
835
|
*/
|
|
722
|
-
async
|
|
836
|
+
async recommendProvidersRequestOpts(requestParameters: RecommendProvidersOperationRequest): Promise<runtime.RequestOpts> {
|
|
723
837
|
const queryParameters: any = {};
|
|
724
838
|
|
|
725
839
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -734,13 +848,25 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
734
848
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
735
849
|
}
|
|
736
850
|
}
|
|
737
|
-
|
|
738
|
-
|
|
851
|
+
|
|
852
|
+
let urlPath = `/api/v1/sessions/providers/recommend`;
|
|
853
|
+
|
|
854
|
+
return {
|
|
855
|
+
path: urlPath,
|
|
739
856
|
method: 'POST',
|
|
740
857
|
headers: headerParameters,
|
|
741
858
|
query: queryParameters,
|
|
742
859
|
body: RecommendProvidersRequestToJSON(requestParameters['recommendProvidersRequest']),
|
|
743
|
-
}
|
|
860
|
+
};
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* 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.
|
|
865
|
+
* Recommend Providers
|
|
866
|
+
*/
|
|
867
|
+
async recommendProvidersRaw(requestParameters: RecommendProvidersOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecommendProvidersResponse>> {
|
|
868
|
+
const requestOptions = await this.recommendProvidersRequestOpts(requestParameters);
|
|
869
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
744
870
|
|
|
745
871
|
return new runtime.JSONApiResponse(response, (jsonValue) => RecommendProvidersResponseFromJSON(jsonValue));
|
|
746
872
|
}
|
|
@@ -755,10 +881,9 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
755
881
|
}
|
|
756
882
|
|
|
757
883
|
/**
|
|
758
|
-
*
|
|
759
|
-
* Redact Session
|
|
884
|
+
* Creates request options for redactSession without sending the request
|
|
760
885
|
*/
|
|
761
|
-
async
|
|
886
|
+
async redactSessionRequestOpts(requestParameters: RedactSessionRequest): Promise<runtime.RequestOpts> {
|
|
762
887
|
if (requestParameters['sessionId'] == null) {
|
|
763
888
|
throw new runtime.RequiredError(
|
|
764
889
|
'sessionId',
|
|
@@ -778,12 +903,25 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
778
903
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
779
904
|
}
|
|
780
905
|
}
|
|
781
|
-
|
|
782
|
-
|
|
906
|
+
|
|
907
|
+
let urlPath = `/api/v1/sessions/{sessionId}/redact`;
|
|
908
|
+
urlPath = urlPath.replace(`{${"sessionId"}}`, encodeURIComponent(String(requestParameters['sessionId'])));
|
|
909
|
+
|
|
910
|
+
return {
|
|
911
|
+
path: urlPath,
|
|
783
912
|
method: 'POST',
|
|
784
913
|
headers: headerParameters,
|
|
785
914
|
query: queryParameters,
|
|
786
|
-
}
|
|
915
|
+
};
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* 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.
|
|
920
|
+
* Redact Session
|
|
921
|
+
*/
|
|
922
|
+
async redactSessionRaw(requestParameters: RedactSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
923
|
+
const requestOptions = await this.redactSessionRequestOpts(requestParameters);
|
|
924
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
787
925
|
|
|
788
926
|
return new runtime.VoidApiResponse(response);
|
|
789
927
|
}
|
|
@@ -797,10 +935,9 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
797
935
|
}
|
|
798
936
|
|
|
799
937
|
/**
|
|
800
|
-
*
|
|
801
|
-
* Refresh Step Content
|
|
938
|
+
* Creates request options for refreshStepContent without sending the request
|
|
802
939
|
*/
|
|
803
|
-
async
|
|
940
|
+
async refreshStepContentRequestOpts(requestParameters: RefreshStepContentOperationRequest): Promise<runtime.RequestOpts> {
|
|
804
941
|
if (requestParameters['sessionId'] == null) {
|
|
805
942
|
throw new runtime.RequiredError(
|
|
806
943
|
'sessionId',
|
|
@@ -822,13 +959,26 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
822
959
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
823
960
|
}
|
|
824
961
|
}
|
|
825
|
-
|
|
826
|
-
|
|
962
|
+
|
|
963
|
+
let urlPath = `/api/v1/sessions/{sessionId}/step/refresh`;
|
|
964
|
+
urlPath = urlPath.replace(`{${"sessionId"}}`, encodeURIComponent(String(requestParameters['sessionId'])));
|
|
965
|
+
|
|
966
|
+
return {
|
|
967
|
+
path: urlPath,
|
|
827
968
|
method: 'POST',
|
|
828
969
|
headers: headerParameters,
|
|
829
970
|
query: queryParameters,
|
|
830
971
|
body: RefreshStepContentRequestToJSON(requestParameters['refreshStepContentRequest']),
|
|
831
|
-
}
|
|
972
|
+
};
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* Refreshes the content of a Step for a Direct Provider Session.
|
|
977
|
+
* Refresh Step Content
|
|
978
|
+
*/
|
|
979
|
+
async refreshStepContentRaw(requestParameters: RefreshStepContentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RefreshStepContentResponse>> {
|
|
980
|
+
const requestOptions = await this.refreshStepContentRequestOpts(requestParameters);
|
|
981
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
832
982
|
|
|
833
983
|
return new runtime.JSONApiResponse(response, (jsonValue) => RefreshStepContentResponseFromJSON(jsonValue));
|
|
834
984
|
}
|
|
@@ -843,10 +993,9 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
843
993
|
}
|
|
844
994
|
|
|
845
995
|
/**
|
|
846
|
-
*
|
|
847
|
-
* Submit Native Challenge Response
|
|
996
|
+
* Creates request options for submitNativeChallengeResponse without sending the request
|
|
848
997
|
*/
|
|
849
|
-
async
|
|
998
|
+
async submitNativeChallengeResponseRequestOpts(requestParameters: SubmitNativeChallengeResponseOperationRequest): Promise<runtime.RequestOpts> {
|
|
850
999
|
if (requestParameters['sessionId'] == null) {
|
|
851
1000
|
throw new runtime.RequiredError(
|
|
852
1001
|
'sessionId',
|
|
@@ -868,13 +1017,26 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
868
1017
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
869
1018
|
}
|
|
870
1019
|
}
|
|
871
|
-
|
|
872
|
-
|
|
1020
|
+
|
|
1021
|
+
let urlPath = `/api/v1/sessions/{sessionId}/native-challenge/submit`;
|
|
1022
|
+
urlPath = urlPath.replace(`{${"sessionId"}}`, encodeURIComponent(String(requestParameters['sessionId'])));
|
|
1023
|
+
|
|
1024
|
+
return {
|
|
1025
|
+
path: urlPath,
|
|
873
1026
|
method: 'POST',
|
|
874
1027
|
headers: headerParameters,
|
|
875
1028
|
query: queryParameters,
|
|
876
1029
|
body: SubmitNativeChallengeResponseRequestToJSON(requestParameters['submitNativeChallengeResponseRequest']),
|
|
877
|
-
}
|
|
1030
|
+
};
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
/**
|
|
1034
|
+
* Submits the response from a Native Challenge (e.g., mDL exchange via DC API) and processes the results.
|
|
1035
|
+
* Submit Native Challenge Response
|
|
1036
|
+
*/
|
|
1037
|
+
async submitNativeChallengeResponseRaw(requestParameters: SubmitNativeChallengeResponseOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SubmitNativeChallengeResponseResponse>> {
|
|
1038
|
+
const requestOptions = await this.submitNativeChallengeResponseRequestOpts(requestParameters);
|
|
1039
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
878
1040
|
|
|
879
1041
|
return new runtime.JSONApiResponse(response, (jsonValue) => SubmitNativeChallengeResponseResponseFromJSON(jsonValue));
|
|
880
1042
|
}
|