@trinsic/api 2.3.0-alpha2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +63 -30
- package/dist/apis/ProvidersApi.d.ts +53 -0
- package/dist/apis/{AttachmentsApi.js → ProvidersApi.js} +16 -15
- package/dist/{esm/apis/EnvironmentRedirectUrisApi.d.ts → apis/RedirectUrisApi.d.ts} +24 -24
- package/dist/apis/{EnvironmentRedirectUrisApi.js → RedirectUrisApi.js} +14 -14
- package/dist/apis/SessionsApi.d.ts +63 -5
- package/dist/apis/SessionsApi.js +80 -2
- package/dist/apis/VerificationProfilesApi.d.ts +4 -2
- package/dist/apis/VerificationProfilesApi.js +5 -2
- package/dist/apis/index.d.ts +2 -4
- package/dist/apis/index.js +2 -4
- package/dist/esm/apis/ProvidersApi.d.ts +53 -0
- package/dist/esm/apis/{AttachmentsApi.js → ProvidersApi.js} +15 -14
- package/dist/{apis/EnvironmentRedirectUrisApi.d.ts → esm/apis/RedirectUrisApi.d.ts} +24 -24
- package/dist/esm/apis/{EnvironmentRedirectUrisApi.js → RedirectUrisApi.js} +13 -13
- package/dist/esm/apis/SessionsApi.d.ts +63 -5
- package/dist/esm/apis/SessionsApi.js +81 -3
- package/dist/esm/apis/VerificationProfilesApi.d.ts +4 -2
- package/dist/esm/apis/VerificationProfilesApi.js +5 -2
- package/dist/esm/apis/index.d.ts +2 -4
- package/dist/esm/apis/index.js +2 -4
- package/dist/esm/models/AddRedirectUriRequest.d.ts +32 -0
- package/dist/esm/models/{EnvironmentRedirectUrisAddRequest.js → AddRedirectUriRequest.js} +8 -8
- package/dist/esm/models/Address.d.ts +5 -2
- package/dist/esm/models/AppleWalletProviderOutput.d.ts +33 -0
- package/dist/esm/models/AppleWalletProviderOutput.js +44 -0
- package/dist/esm/models/AttachmentInfo.d.ts +62 -0
- package/dist/esm/models/AttachmentInfo.js +55 -0
- package/dist/esm/models/AttributeAvailability.d.ts +26 -0
- package/dist/esm/models/AttributeAvailability.js +44 -0
- package/dist/esm/models/AustriaHandySignaturProviderOutput.d.ts +38 -0
- package/dist/esm/models/AustriaHandySignaturProviderOutput.js +47 -0
- package/dist/esm/models/BelgiumIdCardProviderOutput.d.ts +57 -0
- package/dist/esm/models/BelgiumIdCardProviderOutput.js +55 -0
- package/dist/esm/models/ContractAttachment.d.ts +49 -0
- package/dist/esm/models/ContractAttachment.js +48 -0
- package/dist/esm/models/ContractAttribute.d.ts +39 -0
- package/dist/esm/models/ContractAttribute.js +48 -0
- package/dist/esm/models/CoteDIvoireNidLookup2Input.d.ts +32 -0
- package/dist/esm/models/CoteDIvoireNidLookup2Input.js +41 -0
- package/dist/esm/models/CzechiaMojeIdProviderOutput.d.ts +52 -0
- package/dist/esm/models/CzechiaMojeIdProviderOutput.js +55 -0
- package/dist/esm/models/DocumentData.d.ts +13 -5
- package/dist/esm/models/DocumentData.js +2 -0
- package/dist/esm/models/EstoniaIdCardProviderOutput.d.ts +64 -0
- package/dist/esm/models/EstoniaIdCardProviderOutput.js +55 -0
- package/dist/esm/models/FaydaProviderOutput.d.ts +1 -1
- package/dist/esm/models/FinlandIdCardProviderOutput.d.ts +63 -0
- package/dist/esm/models/FinlandIdCardProviderOutput.js +55 -0
- package/dist/esm/models/FrejaProviderOutput.d.ts +53 -0
- package/dist/esm/models/FrejaProviderOutput.js +55 -0
- package/dist/esm/models/FrenchNumeriqueGivenName.d.ts +45 -0
- package/dist/esm/models/FrenchNumeriqueGivenName.js +45 -0
- package/dist/esm/models/FrenchNumeriqueNationality.d.ts +38 -0
- package/dist/esm/models/FrenchNumeriqueNationality.js +43 -0
- package/dist/esm/models/FrenchNumeriquePhone.d.ts +44 -0
- package/dist/esm/models/FrenchNumeriquePhone.js +45 -0
- package/dist/esm/models/FrenchNumeriqueProviderOutput.d.ts +205 -0
- package/dist/esm/models/FrenchNumeriqueProviderOutput.js +92 -0
- package/dist/esm/models/GetAttachmentRequest.d.ts +4 -8
- package/dist/esm/models/GetAttachmentRequest.js +3 -7
- package/dist/esm/models/GoogleWalletProviderOutput.d.ts +33 -0
- package/dist/esm/models/GoogleWalletProviderOutput.js +44 -0
- package/dist/esm/models/IdentityData.d.ts +15 -13
- package/dist/esm/models/IdentityData.js +4 -7
- package/dist/esm/models/ItsmeProviderOutput.d.ts +69 -0
- package/dist/esm/models/ItsmeProviderOutput.js +55 -0
- package/dist/esm/models/KenyaNidMatch2Input.d.ts +3 -3
- package/dist/esm/models/KenyaNidMatch2Input.js +3 -3
- package/dist/esm/models/KenyaNidMatch2InputSex.d.ts +25 -0
- package/dist/esm/models/KenyaNidMatch2InputSex.js +43 -0
- package/dist/esm/models/LaWalletProviderOutput.d.ts +148 -0
- package/dist/esm/models/LaWalletProviderOutput.js +109 -0
- package/dist/esm/models/LatviaEparakstsMobileProviderOutput.d.ts +60 -0
- package/dist/esm/models/LatviaEparakstsMobileProviderOutput.js +51 -0
- package/dist/esm/models/LatviaEparakstsProviderOutput.d.ts +60 -0
- package/dist/esm/models/LatviaEparakstsProviderOutput.js +51 -0
- package/dist/esm/models/ListProvidersResponse.d.ts +4 -4
- package/dist/esm/models/ListProvidersResponse.js +3 -3
- package/dist/esm/models/ListRedirectUrisResponse.d.ts +39 -0
- package/dist/esm/models/{ListEnvironmentRedirectUrisResponse.js → ListRedirectUrisResponse.js} +8 -8
- package/dist/esm/models/LithuaniaIdCardProviderOutput.d.ts +68 -0
- package/dist/esm/models/LithuaniaIdCardProviderOutput.js +55 -0
- package/dist/esm/models/LloydsSmartIdProviderOutput.d.ts +112 -0
- package/dist/esm/models/LloydsSmartIdProviderOutput.js +65 -0
- package/dist/esm/models/Match.d.ts +8 -0
- package/dist/esm/models/MatchData.d.ts +26 -3
- package/dist/esm/models/MatchData.js +2 -0
- package/dist/esm/models/MdlOutput.d.ts +60 -0
- package/dist/esm/models/MdlOutput.js +56 -0
- package/dist/esm/models/MdlOutputCertificateData.d.ts +60 -0
- package/dist/esm/models/{MdlCertificateData.js → MdlOutputCertificateData.js} +8 -8
- package/dist/esm/models/MdlOutputFieldData.d.ts +39 -0
- package/dist/esm/models/{ExternalMdlFieldData.js → MdlOutputFieldData.js} +11 -11
- package/dist/esm/models/MdlOutputFieldDataType.d.ts +29 -0
- package/dist/esm/models/MdlOutputFieldDataType.js +47 -0
- package/dist/esm/models/MexicoCurpProviderOutput.d.ts +1 -1
- package/dist/esm/models/MitIdProviderOutput.d.ts +137 -0
- package/dist/esm/models/MitIdProviderOutput.js +61 -0
- package/dist/esm/models/MobileIdInput.d.ts +3 -3
- package/dist/esm/models/MobileIdInput.js +3 -3
- package/dist/esm/models/MobileIdLanguage.d.ts +27 -0
- package/dist/esm/models/{Language.js → MobileIdLanguage.js} +10 -10
- package/dist/esm/models/MobileIdProviderOutput.d.ts +118 -0
- package/dist/esm/models/MobileIdProviderOutput.js +57 -0
- package/dist/esm/models/NigeriaNinBiometric2Input.d.ts +47 -0
- package/dist/esm/models/NigeriaNinBiometric2Input.js +45 -0
- package/dist/esm/models/NigeriaNinLookup2Input.d.ts +32 -0
- package/dist/esm/models/NigeriaNinLookup2Input.js +41 -0
- package/dist/esm/models/NigeriaNinMatch2Input.d.ts +70 -0
- package/dist/esm/models/NigeriaNinMatch2Input.js +54 -0
- package/dist/esm/models/NigeriaNinMatch2InputSex.d.ts +25 -0
- package/dist/esm/models/NigeriaNinMatch2InputSex.js +43 -0
- package/dist/esm/models/PersonData.d.ts +8 -6
- package/dist/esm/models/PeruDniAddress.d.ts +53 -0
- package/dist/esm/models/PeruDniAddress.js +51 -0
- package/dist/esm/models/PeruDniLookupInput.d.ts +37 -0
- package/dist/esm/models/PeruDniLookupInput.js +41 -0
- package/dist/esm/models/PeruDniProviderOutput.d.ts +213 -0
- package/dist/esm/models/PeruDniProviderOutput.js +88 -0
- package/dist/esm/models/PhilippinesDigitalNidProviderOutput.d.ts +3 -2
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +3 -2
- package/dist/esm/models/PolandEdoAppProviderOutput.d.ts +62 -0
- package/dist/esm/models/PolandEdoAppProviderOutput.js +55 -0
- package/dist/esm/models/PolandMojeIdProviderOutput.d.ts +56 -0
- package/dist/esm/models/PolandMojeIdProviderOutput.js +51 -0
- package/dist/esm/models/PortugalIdCardProviderOutput.d.ts +50 -0
- package/dist/esm/models/PortugalIdCardProviderOutput.js +55 -0
- package/dist/esm/models/PostOfficeEasyIdProviderOutput.d.ts +112 -0
- package/dist/esm/models/PostOfficeEasyIdProviderOutput.js +65 -0
- package/dist/esm/models/{ProviderContract.d.ts → Provider.d.ts} +71 -68
- package/dist/esm/models/{ProviderContract.js → Provider.js} +37 -30
- package/dist/esm/models/ProviderInput.d.ts +90 -28
- package/dist/esm/models/ProviderInput.js +83 -57
- package/dist/esm/models/ProviderOutput.d.ts +200 -11
- package/dist/esm/models/ProviderOutput.js +87 -6
- package/dist/esm/models/RecommendProviderHealthOption.d.ts +26 -0
- package/dist/esm/models/RecommendProviderHealthOption.js +44 -0
- package/dist/esm/models/RecommendProviderInformation.d.ts +85 -0
- package/dist/esm/models/{ProviderInfo.js → RecommendProviderInformation.js} +17 -17
- package/dist/esm/models/RecommendProvidersRequest.d.ts +46 -0
- package/dist/esm/models/{RecommendRequest.js → RecommendProvidersRequest.js} +11 -10
- package/dist/esm/models/RecommendProvidersResponse.d.ts +33 -0
- package/dist/esm/models/RecommendProvidersResponse.js +44 -0
- package/dist/esm/models/SamsungWalletProviderOutput.d.ts +33 -0
- package/dist/esm/models/SamsungWalletProviderOutput.js +44 -0
- package/dist/esm/models/SerbiaIdCardProviderOutput.d.ts +63 -0
- package/dist/esm/models/SerbiaIdCardProviderOutput.js +55 -0
- package/dist/esm/models/SmartIdInput.d.ts +0 -7
- package/dist/esm/models/SmartIdInput.js +0 -2
- package/dist/esm/models/SmartIdProviderOutput.d.ts +175 -0
- package/dist/esm/models/SmartIdProviderOutput.js +65 -0
- package/dist/esm/models/SouthAfricaNidBiometric2Input.d.ts +47 -0
- package/dist/esm/models/SouthAfricaNidBiometric2Input.js +45 -0
- package/dist/esm/models/SouthAfricaNidMatch2Input.d.ts +70 -0
- package/dist/esm/models/SouthAfricaNidMatch2Input.js +54 -0
- package/dist/esm/models/SouthAfricaNidMatch2InputSex.d.ts +25 -0
- package/dist/esm/models/SouthAfricaNidMatch2InputSex.js +43 -0
- package/dist/esm/models/SpidProviderOutput.d.ts +84 -16
- package/dist/esm/models/SpidProviderOutput.js +22 -2
- package/dist/esm/models/SubProviderMetadata.d.ts +0 -9
- package/dist/esm/models/SubProviderMetadata.js +0 -4
- package/dist/esm/models/SwedenBankIdProviderOutput.d.ts +110 -0
- package/dist/esm/models/SwedenBankIdProviderOutput.js +65 -0
- package/dist/esm/models/UgandaNidMatch2Input.d.ts +45 -0
- package/dist/esm/models/UgandaNidMatch2Input.js +45 -0
- package/dist/esm/models/VerificationProfileResponse.d.ts +6 -0
- package/dist/esm/models/VerificationProfileResponse.js +4 -0
- package/dist/esm/models/YotiDocumentDetails.d.ts +62 -0
- package/dist/esm/models/YotiDocumentDetails.js +49 -0
- package/dist/esm/models/YotiProviderOutput.d.ts +112 -0
- package/dist/esm/models/YotiProviderOutput.js +65 -0
- package/dist/esm/models/YotiStructuredPostalAddress.d.ts +152 -0
- package/dist/esm/models/YotiStructuredPostalAddress.js +79 -0
- package/dist/esm/models/ZimbabweNidLookup2Input.d.ts +32 -0
- package/dist/esm/models/ZimbabweNidLookup2Input.js +41 -0
- package/dist/esm/models/index.d.ts +61 -26
- package/dist/esm/models/index.js +61 -26
- package/dist/models/AddRedirectUriRequest.d.ts +32 -0
- package/dist/models/AddRedirectUriRequest.js +50 -0
- package/dist/models/Address.d.ts +5 -2
- package/dist/models/AppleWalletProviderOutput.d.ts +33 -0
- package/dist/models/AppleWalletProviderOutput.js +51 -0
- package/dist/models/AttachmentInfo.d.ts +62 -0
- package/dist/models/AttachmentInfo.js +62 -0
- package/dist/models/AttributeAvailability.d.ts +26 -0
- package/dist/models/AttributeAvailability.js +52 -0
- package/dist/models/AustriaHandySignaturProviderOutput.d.ts +38 -0
- package/dist/models/AustriaHandySignaturProviderOutput.js +54 -0
- package/dist/models/BelgiumIdCardProviderOutput.d.ts +57 -0
- package/dist/models/BelgiumIdCardProviderOutput.js +62 -0
- package/dist/models/ContractAttachment.d.ts +49 -0
- package/dist/models/ContractAttachment.js +55 -0
- package/dist/models/ContractAttribute.d.ts +39 -0
- package/dist/models/ContractAttribute.js +55 -0
- package/dist/models/CoteDIvoireNidLookup2Input.d.ts +32 -0
- package/dist/models/CoteDIvoireNidLookup2Input.js +48 -0
- package/dist/models/CzechiaMojeIdProviderOutput.d.ts +52 -0
- package/dist/models/CzechiaMojeIdProviderOutput.js +62 -0
- package/dist/models/DocumentData.d.ts +13 -5
- package/dist/models/DocumentData.js +2 -0
- package/dist/models/EstoniaIdCardProviderOutput.d.ts +64 -0
- package/dist/models/EstoniaIdCardProviderOutput.js +62 -0
- package/dist/models/FaydaProviderOutput.d.ts +1 -1
- package/dist/models/FinlandIdCardProviderOutput.d.ts +63 -0
- package/dist/models/FinlandIdCardProviderOutput.js +62 -0
- package/dist/models/FrejaProviderOutput.d.ts +53 -0
- package/dist/models/FrejaProviderOutput.js +62 -0
- package/dist/models/FrenchNumeriqueGivenName.d.ts +45 -0
- package/dist/models/FrenchNumeriqueGivenName.js +52 -0
- package/dist/models/FrenchNumeriqueNationality.d.ts +38 -0
- package/dist/models/FrenchNumeriqueNationality.js +50 -0
- package/dist/models/FrenchNumeriquePhone.d.ts +44 -0
- package/dist/models/FrenchNumeriquePhone.js +52 -0
- package/dist/models/FrenchNumeriqueProviderOutput.d.ts +205 -0
- package/dist/models/FrenchNumeriqueProviderOutput.js +99 -0
- package/dist/models/GetAttachmentRequest.d.ts +4 -8
- package/dist/models/GetAttachmentRequest.js +3 -7
- package/dist/models/GoogleWalletProviderOutput.d.ts +33 -0
- package/dist/models/GoogleWalletProviderOutput.js +51 -0
- package/dist/models/IdentityData.d.ts +15 -13
- package/dist/models/IdentityData.js +4 -7
- package/dist/models/ItsmeProviderOutput.d.ts +69 -0
- package/dist/models/ItsmeProviderOutput.js +62 -0
- package/dist/models/KenyaNidMatch2Input.d.ts +3 -3
- package/dist/models/KenyaNidMatch2Input.js +3 -3
- package/dist/models/KenyaNidMatch2InputSex.d.ts +25 -0
- package/dist/models/KenyaNidMatch2InputSex.js +51 -0
- package/dist/models/LaWalletProviderOutput.d.ts +148 -0
- package/dist/models/LaWalletProviderOutput.js +116 -0
- package/dist/models/LatviaEparakstsMobileProviderOutput.d.ts +60 -0
- package/dist/models/LatviaEparakstsMobileProviderOutput.js +58 -0
- package/dist/models/LatviaEparakstsProviderOutput.d.ts +60 -0
- package/dist/models/LatviaEparakstsProviderOutput.js +58 -0
- package/dist/models/ListProvidersResponse.d.ts +4 -4
- package/dist/models/ListProvidersResponse.js +3 -3
- package/dist/models/ListRedirectUrisResponse.d.ts +39 -0
- package/dist/models/ListRedirectUrisResponse.js +55 -0
- package/dist/models/LithuaniaIdCardProviderOutput.d.ts +68 -0
- package/dist/models/LithuaniaIdCardProviderOutput.js +62 -0
- package/dist/models/LloydsSmartIdProviderOutput.d.ts +112 -0
- package/dist/models/LloydsSmartIdProviderOutput.js +72 -0
- package/dist/models/Match.d.ts +8 -0
- package/dist/models/MatchData.d.ts +26 -3
- package/dist/models/MatchData.js +2 -0
- package/dist/models/MdlOutput.d.ts +60 -0
- package/dist/models/MdlOutput.js +63 -0
- package/dist/models/MdlOutputCertificateData.d.ts +60 -0
- package/dist/models/{MdlCertificateData.js → MdlOutputCertificateData.js} +13 -13
- package/dist/models/MdlOutputFieldData.d.ts +39 -0
- package/dist/models/MdlOutputFieldData.js +55 -0
- package/dist/models/MdlOutputFieldDataType.d.ts +29 -0
- package/dist/models/MdlOutputFieldDataType.js +55 -0
- package/dist/models/MexicoCurpProviderOutput.d.ts +1 -1
- package/dist/models/MitIdProviderOutput.d.ts +137 -0
- package/dist/models/MitIdProviderOutput.js +68 -0
- package/dist/models/MobileIdInput.d.ts +3 -3
- package/dist/models/MobileIdInput.js +3 -3
- package/dist/models/MobileIdLanguage.d.ts +27 -0
- package/dist/models/MobileIdLanguage.js +53 -0
- package/dist/models/MobileIdProviderOutput.d.ts +118 -0
- package/dist/models/MobileIdProviderOutput.js +64 -0
- package/dist/models/NigeriaNinBiometric2Input.d.ts +47 -0
- package/dist/models/NigeriaNinBiometric2Input.js +52 -0
- package/dist/models/NigeriaNinLookup2Input.d.ts +32 -0
- package/dist/models/NigeriaNinLookup2Input.js +48 -0
- package/dist/models/NigeriaNinMatch2Input.d.ts +70 -0
- package/dist/models/NigeriaNinMatch2Input.js +61 -0
- package/dist/models/NigeriaNinMatch2InputSex.d.ts +25 -0
- package/dist/models/NigeriaNinMatch2InputSex.js +51 -0
- package/dist/models/PersonData.d.ts +8 -6
- package/dist/models/PeruDniAddress.d.ts +53 -0
- package/dist/models/PeruDniAddress.js +58 -0
- package/dist/models/PeruDniLookupInput.d.ts +37 -0
- package/dist/models/PeruDniLookupInput.js +48 -0
- package/dist/models/PeruDniProviderOutput.d.ts +213 -0
- package/dist/models/PeruDniProviderOutput.js +95 -0
- package/dist/models/PhilippinesDigitalNidProviderOutput.d.ts +3 -2
- package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +3 -2
- package/dist/models/PolandEdoAppProviderOutput.d.ts +62 -0
- package/dist/models/PolandEdoAppProviderOutput.js +62 -0
- package/dist/models/PolandMojeIdProviderOutput.d.ts +56 -0
- package/dist/models/PolandMojeIdProviderOutput.js +58 -0
- package/dist/models/PortugalIdCardProviderOutput.d.ts +50 -0
- package/dist/models/PortugalIdCardProviderOutput.js +62 -0
- package/dist/models/PostOfficeEasyIdProviderOutput.d.ts +112 -0
- package/dist/models/PostOfficeEasyIdProviderOutput.js +72 -0
- package/dist/models/{ProviderContract.d.ts → Provider.d.ts} +71 -68
- package/dist/models/{ProviderContract.js → Provider.js} +42 -35
- package/dist/models/ProviderInput.d.ts +90 -28
- package/dist/models/ProviderInput.js +83 -57
- package/dist/models/ProviderOutput.d.ts +200 -11
- package/dist/models/ProviderOutput.js +87 -6
- package/dist/models/RecommendProviderHealthOption.d.ts +26 -0
- package/dist/models/RecommendProviderHealthOption.js +52 -0
- package/dist/models/RecommendProviderInformation.d.ts +85 -0
- package/dist/models/{ProviderInfo.js → RecommendProviderInformation.js} +22 -22
- package/dist/models/RecommendProvidersRequest.d.ts +46 -0
- package/dist/models/RecommendProvidersRequest.js +56 -0
- package/dist/models/RecommendProvidersResponse.d.ts +33 -0
- package/dist/models/RecommendProvidersResponse.js +51 -0
- package/dist/models/SamsungWalletProviderOutput.d.ts +33 -0
- package/dist/models/SamsungWalletProviderOutput.js +51 -0
- package/dist/models/SerbiaIdCardProviderOutput.d.ts +63 -0
- package/dist/models/SerbiaIdCardProviderOutput.js +62 -0
- package/dist/models/SmartIdInput.d.ts +0 -7
- package/dist/models/SmartIdInput.js +0 -2
- package/dist/models/SmartIdProviderOutput.d.ts +175 -0
- package/dist/models/SmartIdProviderOutput.js +72 -0
- package/dist/models/SouthAfricaNidBiometric2Input.d.ts +47 -0
- package/dist/models/SouthAfricaNidBiometric2Input.js +52 -0
- package/dist/models/SouthAfricaNidMatch2Input.d.ts +70 -0
- package/dist/models/SouthAfricaNidMatch2Input.js +61 -0
- package/dist/models/SouthAfricaNidMatch2InputSex.d.ts +25 -0
- package/dist/models/SouthAfricaNidMatch2InputSex.js +51 -0
- package/dist/models/SpidProviderOutput.d.ts +84 -16
- package/dist/models/SpidProviderOutput.js +22 -2
- package/dist/models/SubProviderMetadata.d.ts +0 -9
- package/dist/models/SubProviderMetadata.js +0 -4
- package/dist/models/SwedenBankIdProviderOutput.d.ts +110 -0
- package/dist/models/SwedenBankIdProviderOutput.js +72 -0
- package/dist/models/UgandaNidMatch2Input.d.ts +45 -0
- package/dist/models/UgandaNidMatch2Input.js +52 -0
- package/dist/models/VerificationProfileResponse.d.ts +6 -0
- package/dist/models/VerificationProfileResponse.js +4 -0
- package/dist/models/YotiDocumentDetails.d.ts +62 -0
- package/dist/models/YotiDocumentDetails.js +56 -0
- package/dist/models/YotiProviderOutput.d.ts +112 -0
- package/dist/models/YotiProviderOutput.js +72 -0
- package/dist/models/YotiStructuredPostalAddress.d.ts +152 -0
- package/dist/models/YotiStructuredPostalAddress.js +86 -0
- package/dist/models/ZimbabweNidLookup2Input.d.ts +32 -0
- package/dist/models/ZimbabweNidLookup2Input.js +48 -0
- package/dist/models/index.d.ts +61 -26
- package/dist/models/index.js +61 -26
- package/package.json +1 -1
- package/src/apis/ProvidersApi.ts +102 -0
- package/src/apis/{EnvironmentRedirectUrisApi.ts → RedirectUrisApi.ts} +35 -35
- package/src/apis/SessionsApi.ts +152 -4
- package/src/apis/VerificationProfilesApi.ts +9 -3
- package/src/apis/index.ts +2 -4
- package/src/models/AddRedirectUriRequest.ts +66 -0
- package/src/models/Address.ts +6 -3
- package/src/models/AppleWalletProviderOutput.ts +74 -0
- package/src/models/AttachmentInfo.ts +105 -0
- package/src/models/AttributeAvailability.ts +54 -0
- package/src/models/AustriaHandySignaturProviderOutput.ts +75 -0
- package/src/models/BelgiumIdCardProviderOutput.ts +100 -0
- package/src/models/ContractAttachment.ts +95 -0
- package/src/models/ContractAttribute.ts +85 -0
- package/src/models/CoteDIvoireNidLookup2Input.ts +65 -0
- package/src/models/CzechiaMojeIdProviderOutput.ts +95 -0
- package/src/models/DocumentData.ts +16 -6
- package/src/models/EstoniaIdCardProviderOutput.ts +107 -0
- package/src/models/FaydaProviderOutput.ts +1 -1
- package/src/models/FinlandIdCardProviderOutput.ts +106 -0
- package/src/models/FrejaProviderOutput.ts +96 -0
- package/src/models/FrenchNumeriqueGivenName.ts +82 -0
- package/src/models/FrenchNumeriqueNationality.ts +73 -0
- package/src/models/FrenchNumeriquePhone.ts +81 -0
- package/src/models/FrenchNumeriqueProviderOutput.ts +305 -0
- package/src/models/GetAttachmentRequest.ts +7 -14
- package/src/models/GoogleWalletProviderOutput.ts +74 -0
- package/src/models/IdentityData.ts +27 -33
- package/src/models/ItsmeProviderOutput.ts +113 -0
- package/src/models/KenyaNidMatch2Input.ts +10 -10
- package/src/models/KenyaNidMatch2InputSex.ts +53 -0
- package/src/models/LaWalletProviderOutput.ts +232 -0
- package/src/models/LatviaEparakstsMobileProviderOutput.ts +100 -0
- package/src/models/LatviaEparakstsProviderOutput.ts +100 -0
- package/src/models/ListProvidersResponse.ts +11 -11
- package/src/models/{ListEnvironmentRedirectUrisResponse.ts → ListRedirectUrisResponse.ts} +12 -12
- package/src/models/LithuaniaIdCardProviderOutput.ts +111 -0
- package/src/models/LloydsSmartIdProviderOutput.ts +180 -0
- package/src/models/Match.ts +10 -2
- package/src/models/MatchData.ts +36 -11
- package/src/models/MdlOutput.ts +112 -0
- package/src/models/{MdlCertificateData.ts → MdlOutputCertificateData.ts} +18 -16
- package/src/models/MdlOutputFieldData.ts +85 -0
- package/src/models/MdlOutputFieldDataType.ts +57 -0
- package/src/models/MexicoCurpProviderOutput.ts +1 -1
- package/src/models/MitIdProviderOutput.ts +190 -0
- package/src/models/MobileIdInput.ts +10 -10
- package/src/models/MobileIdLanguage.ts +55 -0
- package/src/models/MobileIdProviderOutput.ts +167 -0
- package/src/models/NigeriaNinBiometric2Input.ts +84 -0
- package/src/models/NigeriaNinLookup2Input.ts +65 -0
- package/src/models/NigeriaNinMatch2Input.ts +124 -0
- package/src/models/NigeriaNinMatch2InputSex.ts +53 -0
- package/src/models/PersonData.ts +9 -7
- package/src/models/PeruDniAddress.ts +93 -0
- package/src/models/PeruDniLookupInput.ts +70 -0
- package/src/models/PeruDniProviderOutput.ts +291 -0
- package/src/models/PhilippinesDigitalNidProviderOutput.ts +3 -2
- package/src/models/PhilippinesPhysicalNidProviderOutput.ts +3 -2
- package/src/models/PolandEdoAppProviderOutput.ts +105 -0
- package/src/models/PolandMojeIdProviderOutput.ts +96 -0
- package/src/models/PortugalIdCardProviderOutput.ts +93 -0
- package/src/models/PostOfficeEasyIdProviderOutput.ts +180 -0
- package/src/models/{ProviderContract.ts → Provider.ts} +106 -98
- package/src/models/ProviderInput.ts +255 -127
- package/src/models/ProviderOutput.ts +430 -25
- package/src/models/RecommendProviderHealthOption.ts +54 -0
- package/src/models/{ProviderInformation.ts → RecommendProviderInformation.ts} +45 -56
- package/src/models/{RecommendRequest.ts → RecommendProvidersRequest.ts} +27 -18
- package/src/models/RecommendProvidersResponse.ts +74 -0
- package/src/models/SamsungWalletProviderOutput.ts +74 -0
- package/src/models/SerbiaIdCardProviderOutput.ts +106 -0
- package/src/models/SmartIdInput.ts +0 -9
- package/src/models/SmartIdProviderOutput.ts +232 -0
- package/src/models/SouthAfricaNidBiometric2Input.ts +84 -0
- package/src/models/SouthAfricaNidMatch2Input.ts +124 -0
- package/src/models/SouthAfricaNidMatch2InputSex.ts +53 -0
- package/src/models/SpidProviderOutput.ts +106 -18
- package/src/models/SubProviderMetadata.ts +0 -12
- package/src/models/SwedenBankIdProviderOutput.ts +167 -0
- package/src/models/UgandaNidMatch2Input.ts +82 -0
- package/src/models/VerificationProfileResponse.ts +9 -0
- package/src/models/YotiDocumentDetails.ts +103 -0
- package/src/models/YotiProviderOutput.ts +180 -0
- package/src/models/YotiStructuredPostalAddress.ts +223 -0
- package/src/models/ZimbabweNidLookup2Input.ts +65 -0
- package/src/models/index.ts +61 -26
- package/dist/apis/AttachmentsApi.d.ts +0 -53
- package/dist/apis/MdlApi.d.ts +0 -80
- package/dist/apis/MdlApi.js +0 -105
- package/dist/apis/NetworkApi.d.ts +0 -109
- package/dist/apis/NetworkApi.js +0 -146
- package/dist/esm/apis/AttachmentsApi.d.ts +0 -53
- package/dist/esm/apis/MdlApi.d.ts +0 -80
- package/dist/esm/apis/MdlApi.js +0 -101
- package/dist/esm/apis/NetworkApi.d.ts +0 -109
- package/dist/esm/apis/NetworkApi.js +0 -142
- package/dist/esm/models/AttachmentAccessKeys.d.ts +0 -63
- package/dist/esm/models/AttachmentAccessKeys.js +0 -54
- package/dist/esm/models/BangladeshNidInput.d.ts +0 -58
- package/dist/esm/models/BangladeshNidInput.js +0 -55
- package/dist/esm/models/ContractField.d.ts +0 -46
- package/dist/esm/models/ContractField.js +0 -52
- package/dist/esm/models/ContractIdentifierField.d.ts +0 -45
- package/dist/esm/models/ContractIdentifierField.js +0 -52
- package/dist/esm/models/CreateMdlExchangeRequest.d.ts +0 -102
- package/dist/esm/models/CreateMdlExchangeRequest.js +0 -66
- package/dist/esm/models/CreateMdlExchangeResponse.d.ts +0 -48
- package/dist/esm/models/CreateMdlExchangeResponse.js +0 -51
- package/dist/esm/models/DocumentScanAttachments.d.ts +0 -32
- package/dist/esm/models/DocumentScanAttachments.js +0 -41
- package/dist/esm/models/EnvironmentRedirectUrisAddRequest.d.ts +0 -32
- package/dist/esm/models/ExternalMdlFieldData.d.ts +0 -39
- package/dist/esm/models/FieldAvailability.d.ts +0 -26
- package/dist/esm/models/FieldAvailability.js +0 -44
- package/dist/esm/models/FinalizeMdlExchangeRequest.d.ts +0 -50
- package/dist/esm/models/FinalizeMdlExchangeRequest.js +0 -55
- package/dist/esm/models/FinalizeMdlExchangeResponse.d.ts +0 -55
- package/dist/esm/models/FinalizeMdlExchangeResponse.js +0 -54
- package/dist/esm/models/Identifier.d.ts +0 -44
- package/dist/esm/models/Identifier.js +0 -51
- package/dist/esm/models/Language.d.ts +0 -27
- package/dist/esm/models/ListEnvironmentRedirectUrisResponse.d.ts +0 -39
- package/dist/esm/models/ListProviderContractsResponse.d.ts +0 -33
- package/dist/esm/models/ListProviderContractsResponse.js +0 -44
- package/dist/esm/models/MdlCertificateData.d.ts +0 -58
- package/dist/esm/models/MdlFieldDataType.d.ts +0 -28
- package/dist/esm/models/MdlFieldDataType.js +0 -46
- package/dist/esm/models/MdlIdentityData.d.ts +0 -50
- package/dist/esm/models/MdlIdentityData.js +0 -52
- package/dist/esm/models/ProviderAttachments.d.ts +0 -33
- package/dist/esm/models/ProviderAttachments.js +0 -42
- package/dist/esm/models/ProviderInfo.d.ts +0 -76
- package/dist/esm/models/ProviderInformation.d.ts +0 -88
- package/dist/esm/models/ProviderInformation.js +0 -74
- package/dist/esm/models/RecommendRequest.d.ts +0 -45
- package/dist/esm/models/RecommendResponse.d.ts +0 -47
- package/dist/esm/models/RecommendResponse.js +0 -52
- package/dist/esm/models/SexV1.d.ts +0 -27
- package/dist/esm/models/SexV1.js +0 -45
- package/dist/models/AttachmentAccessKeys.d.ts +0 -63
- package/dist/models/AttachmentAccessKeys.js +0 -61
- package/dist/models/BangladeshNidInput.d.ts +0 -58
- package/dist/models/BangladeshNidInput.js +0 -62
- package/dist/models/ContractField.d.ts +0 -46
- package/dist/models/ContractField.js +0 -59
- package/dist/models/ContractIdentifierField.d.ts +0 -45
- package/dist/models/ContractIdentifierField.js +0 -59
- package/dist/models/CreateMdlExchangeRequest.d.ts +0 -102
- package/dist/models/CreateMdlExchangeRequest.js +0 -73
- package/dist/models/CreateMdlExchangeResponse.d.ts +0 -48
- package/dist/models/CreateMdlExchangeResponse.js +0 -58
- package/dist/models/DocumentScanAttachments.d.ts +0 -32
- package/dist/models/DocumentScanAttachments.js +0 -48
- package/dist/models/EnvironmentRedirectUrisAddRequest.d.ts +0 -32
- package/dist/models/EnvironmentRedirectUrisAddRequest.js +0 -50
- package/dist/models/ExternalMdlFieldData.d.ts +0 -39
- package/dist/models/ExternalMdlFieldData.js +0 -55
- package/dist/models/FieldAvailability.d.ts +0 -26
- package/dist/models/FieldAvailability.js +0 -52
- package/dist/models/FinalizeMdlExchangeRequest.d.ts +0 -50
- package/dist/models/FinalizeMdlExchangeRequest.js +0 -62
- package/dist/models/FinalizeMdlExchangeResponse.d.ts +0 -55
- package/dist/models/FinalizeMdlExchangeResponse.js +0 -61
- package/dist/models/Identifier.d.ts +0 -44
- package/dist/models/Identifier.js +0 -58
- package/dist/models/Language.d.ts +0 -27
- package/dist/models/Language.js +0 -53
- package/dist/models/ListEnvironmentRedirectUrisResponse.d.ts +0 -39
- package/dist/models/ListEnvironmentRedirectUrisResponse.js +0 -55
- package/dist/models/ListProviderContractsResponse.d.ts +0 -33
- package/dist/models/ListProviderContractsResponse.js +0 -51
- package/dist/models/MdlCertificateData.d.ts +0 -58
- package/dist/models/MdlFieldDataType.d.ts +0 -28
- package/dist/models/MdlFieldDataType.js +0 -54
- package/dist/models/MdlIdentityData.d.ts +0 -50
- package/dist/models/MdlIdentityData.js +0 -59
- package/dist/models/ProviderAttachments.d.ts +0 -33
- package/dist/models/ProviderAttachments.js +0 -49
- package/dist/models/ProviderInfo.d.ts +0 -76
- package/dist/models/ProviderInformation.d.ts +0 -88
- package/dist/models/ProviderInformation.js +0 -81
- package/dist/models/RecommendRequest.d.ts +0 -45
- package/dist/models/RecommendRequest.js +0 -55
- package/dist/models/RecommendResponse.d.ts +0 -47
- package/dist/models/RecommendResponse.js +0 -59
- package/dist/models/SexV1.d.ts +0 -27
- package/dist/models/SexV1.js +0 -53
- package/src/apis/AttachmentsApi.ts +0 -104
- package/src/apis/MdlApi.ts +0 -169
- package/src/apis/NetworkApi.ts +0 -242
- package/src/models/AttachmentAccessKeys.ts +0 -114
- package/src/models/BangladeshNidInput.ts +0 -102
- package/src/models/ContractField.ts +0 -95
- package/src/models/ContractIdentifierField.ts +0 -94
- package/src/models/CreateMdlExchangeRequest.ts +0 -159
- package/src/models/CreateMdlExchangeResponse.ts +0 -88
- package/src/models/DocumentScanAttachments.ts +0 -65
- package/src/models/EnvironmentRedirectUrisAddRequest.ts +0 -66
- package/src/models/ExternalMdlFieldData.ts +0 -85
- package/src/models/FieldAvailability.ts +0 -54
- package/src/models/FinalizeMdlExchangeRequest.ts +0 -93
- package/src/models/FinalizeMdlExchangeResponse.ts +0 -115
- package/src/models/Identifier.ts +0 -84
- package/src/models/Language.ts +0 -55
- package/src/models/ListProviderContractsResponse.ts +0 -74
- package/src/models/MdlFieldDataType.ts +0 -56
- package/src/models/MdlIdentityData.ts +0 -99
- package/src/models/ProviderAttachments.ts +0 -73
- package/src/models/ProviderInfo.ts +0 -134
- package/src/models/RecommendResponse.ts +0 -94
- package/src/models/SexV1.ts +0 -55
package/dist/apis/SessionsApi.js
CHANGED
|
@@ -174,6 +174,48 @@ class SessionsApi extends runtime.BaseAPI {
|
|
|
174
174
|
return yield response.value();
|
|
175
175
|
});
|
|
176
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* Fetch an Attachment\'s contents.
|
|
179
|
+
* Get Attachment
|
|
180
|
+
*/
|
|
181
|
+
getAttachmentRaw(requestParameters, initOverrides) {
|
|
182
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
183
|
+
if (requestParameters['sessionId'] == null) {
|
|
184
|
+
throw new runtime.RequiredError('sessionId', 'Required parameter "sessionId" was null or undefined when calling getAttachment().');
|
|
185
|
+
}
|
|
186
|
+
if (requestParameters['attachmentId'] == null) {
|
|
187
|
+
throw new runtime.RequiredError('attachmentId', 'Required parameter "attachmentId" was null or undefined when calling getAttachment().');
|
|
188
|
+
}
|
|
189
|
+
const queryParameters = {};
|
|
190
|
+
const headerParameters = {};
|
|
191
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
192
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
193
|
+
const token = this.configuration.accessToken;
|
|
194
|
+
const tokenString = yield token("Bearer", []);
|
|
195
|
+
if (tokenString) {
|
|
196
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
const response = yield this.request({
|
|
200
|
+
path: `/api/v1/sessions/{sessionId}/attachments/{attachmentId}/get`.replace(`{${"sessionId"}}`, encodeURIComponent(String(requestParameters['sessionId']))).replace(`{${"attachmentId"}}`, encodeURIComponent(String(requestParameters['attachmentId']))),
|
|
201
|
+
method: 'POST',
|
|
202
|
+
headers: headerParameters,
|
|
203
|
+
query: queryParameters,
|
|
204
|
+
body: (0, index_1.GetAttachmentRequestToJSON)(requestParameters['getAttachmentRequest']),
|
|
205
|
+
}, initOverrides);
|
|
206
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetAttachmentResponseFromJSON)(jsonValue));
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Fetch an Attachment\'s contents.
|
|
211
|
+
* Get Attachment
|
|
212
|
+
*/
|
|
213
|
+
getAttachment(sessionId, attachmentId, getAttachmentRequest, initOverrides) {
|
|
214
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
215
|
+
const response = yield this.getAttachmentRaw({ sessionId: sessionId, attachmentId: attachmentId, getAttachmentRequest: getAttachmentRequest }, initOverrides);
|
|
216
|
+
return yield response.value();
|
|
217
|
+
});
|
|
218
|
+
}
|
|
177
219
|
/**
|
|
178
220
|
* Get a Session by its ID
|
|
179
221
|
* Get Session
|
|
@@ -298,7 +340,43 @@ class SessionsApi extends runtime.BaseAPI {
|
|
|
298
340
|
});
|
|
299
341
|
}
|
|
300
342
|
/**
|
|
301
|
-
*
|
|
343
|
+
* 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.
|
|
344
|
+
* Recommend Providers
|
|
345
|
+
*/
|
|
346
|
+
recommendProvidersRaw(requestParameters, initOverrides) {
|
|
347
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
348
|
+
const queryParameters = {};
|
|
349
|
+
const headerParameters = {};
|
|
350
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
351
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
352
|
+
const token = this.configuration.accessToken;
|
|
353
|
+
const tokenString = yield token("Bearer", []);
|
|
354
|
+
if (tokenString) {
|
|
355
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
const response = yield this.request({
|
|
359
|
+
path: `/api/v1/sessions/providers/recommend`,
|
|
360
|
+
method: 'POST',
|
|
361
|
+
headers: headerParameters,
|
|
362
|
+
query: queryParameters,
|
|
363
|
+
body: (0, index_1.RecommendProvidersRequestToJSON)(requestParameters['recommendProvidersRequest']),
|
|
364
|
+
}, initOverrides);
|
|
365
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.RecommendProvidersResponseFromJSON)(jsonValue));
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* 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.
|
|
370
|
+
* Recommend Providers
|
|
371
|
+
*/
|
|
372
|
+
recommendProviders(recommendProvidersRequest, initOverrides) {
|
|
373
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
374
|
+
const response = yield this.recommendProvidersRaw({ recommendProvidersRequest: recommendProvidersRequest }, initOverrides);
|
|
375
|
+
return yield response.value();
|
|
376
|
+
});
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* 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.
|
|
302
380
|
* Redact Session
|
|
303
381
|
*/
|
|
304
382
|
redactSessionRaw(requestParameters, initOverrides) {
|
|
@@ -325,7 +403,7 @@ class SessionsApi extends runtime.BaseAPI {
|
|
|
325
403
|
});
|
|
326
404
|
}
|
|
327
405
|
/**
|
|
328
|
-
* Redact a Session, removing all identity data from Trinsic\'s servers. Every
|
|
406
|
+
* 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.
|
|
329
407
|
* Redact Session
|
|
330
408
|
*/
|
|
331
409
|
redactSession(sessionId, initOverrides) {
|
|
@@ -17,6 +17,7 @@ export interface CreateVerificationProfileRequest {
|
|
|
17
17
|
primaryColor?: string;
|
|
18
18
|
providers?: Array<string>;
|
|
19
19
|
logo?: Blob;
|
|
20
|
+
isProductionUsage?: boolean;
|
|
20
21
|
}
|
|
21
22
|
export interface GetVerificationProfileByIdRequest {
|
|
22
23
|
id: string;
|
|
@@ -40,6 +41,7 @@ export interface VerificationProfilesApiInterface {
|
|
|
40
41
|
* @param {string} [primaryColor] The primary color of the verification profile. Must be a 6-character hex string prefixed with a \\\'#\\\' character. Example: #000000
|
|
41
42
|
* @param {Array<string>} [providers] The list of providers you\\\'d like to select for this profile. We will not currently enable any providers.
|
|
42
43
|
* @param {Blob} [logo] The logo of the verification profile.
|
|
44
|
+
* @param {boolean} [isProductionUsage] Whether this profile is for production usage. Only applicable for Live environment profiles. If not specified for Live profiles, defaults to false (Demo).
|
|
43
45
|
* @param {*} [options] Override http request option.
|
|
44
46
|
* @throws {RequiredError}
|
|
45
47
|
* @memberof VerificationProfilesApiInterface
|
|
@@ -49,7 +51,7 @@ export interface VerificationProfilesApiInterface {
|
|
|
49
51
|
* Creates a new verification profile within your organization.
|
|
50
52
|
* Create Verification Profile
|
|
51
53
|
*/
|
|
52
|
-
createVerificationProfile(alias: string, brandName: string, primaryColor?: string, providers?: Array<string>, logo?: Blob, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateVerificationProfileResponse>;
|
|
54
|
+
createVerificationProfile(alias: string, brandName: string, primaryColor?: string, providers?: Array<string>, logo?: Blob, isProductionUsage?: boolean, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateVerificationProfileResponse>;
|
|
53
55
|
/**
|
|
54
56
|
* Gets a specific verification profile by ID.
|
|
55
57
|
* @summary Get Verification Profile
|
|
@@ -93,7 +95,7 @@ export declare class VerificationProfilesApi extends runtime.BaseAPI implements
|
|
|
93
95
|
* Creates a new verification profile within your organization.
|
|
94
96
|
* Create Verification Profile
|
|
95
97
|
*/
|
|
96
|
-
createVerificationProfile(alias: string, brandName: string, primaryColor?: string, providers?: Array<string>, logo?: Blob, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateVerificationProfileResponse>;
|
|
98
|
+
createVerificationProfile(alias: string, brandName: string, primaryColor?: string, providers?: Array<string>, logo?: Blob, isProductionUsage?: boolean, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateVerificationProfileResponse>;
|
|
97
99
|
/**
|
|
98
100
|
* Gets a specific verification profile by ID.
|
|
99
101
|
* Get Verification Profile
|
|
@@ -82,6 +82,9 @@ class VerificationProfilesApi extends runtime.BaseAPI {
|
|
|
82
82
|
if (requestParameters['logo'] != null) {
|
|
83
83
|
formParams.append('Logo', requestParameters['logo']);
|
|
84
84
|
}
|
|
85
|
+
if (requestParameters['isProductionUsage'] != null) {
|
|
86
|
+
formParams.append('IsProductionUsage', requestParameters['isProductionUsage']);
|
|
87
|
+
}
|
|
85
88
|
const response = yield this.request({
|
|
86
89
|
path: `/api/valpha/verification-profiles`,
|
|
87
90
|
method: 'POST',
|
|
@@ -96,9 +99,9 @@ class VerificationProfilesApi extends runtime.BaseAPI {
|
|
|
96
99
|
* Creates a new verification profile within your organization.
|
|
97
100
|
* Create Verification Profile
|
|
98
101
|
*/
|
|
99
|
-
createVerificationProfile(alias, brandName, primaryColor, providers, logo, initOverrides) {
|
|
102
|
+
createVerificationProfile(alias, brandName, primaryColor, providers, logo, isProductionUsage, initOverrides) {
|
|
100
103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
101
|
-
const response = yield this.createVerificationProfileRaw({ alias: alias, brandName: brandName, primaryColor: primaryColor, providers: providers, logo: logo }, initOverrides);
|
|
104
|
+
const response = yield this.createVerificationProfileRaw({ alias: alias, brandName: brandName, primaryColor: primaryColor, providers: providers, logo: logo, isProductionUsage: isProductionUsage }, initOverrides);
|
|
102
105
|
return yield response.value();
|
|
103
106
|
});
|
|
104
107
|
}
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './MdlApi';
|
|
4
|
-
export * from './NetworkApi';
|
|
1
|
+
export * from './ProvidersApi';
|
|
2
|
+
export * from './RedirectUrisApi';
|
|
5
3
|
export * from './SessionsApi';
|
|
6
4
|
export * from './VerificationProfilesApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -16,9 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
21
|
-
__exportStar(require("./MdlApi"), exports);
|
|
22
|
-
__exportStar(require("./NetworkApi"), exports);
|
|
19
|
+
__exportStar(require("./ProvidersApi"), exports);
|
|
20
|
+
__exportStar(require("./RedirectUrisApi"), exports);
|
|
23
21
|
__exportStar(require("./SessionsApi"), exports);
|
|
24
22
|
__exportStar(require("./VerificationProfilesApi"), exports);
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { ListProvidersResponse } from '../models/index';
|
|
14
|
+
export interface ListProvidersRequest {
|
|
15
|
+
licensed?: boolean;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* ProvidersApi - interface
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ProvidersApiInterface
|
|
22
|
+
*/
|
|
23
|
+
export interface ProvidersApiInterface {
|
|
24
|
+
/**
|
|
25
|
+
* List all identity providers available to your Organization, including their license status.
|
|
26
|
+
* @summary List Providers
|
|
27
|
+
* @param {boolean} [licensed] Filter by license status. If not specified, returns all providers.
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
* @memberof ProvidersApiInterface
|
|
31
|
+
*/
|
|
32
|
+
listProvidersRaw(requestParameters: ListProvidersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProvidersResponse>>;
|
|
33
|
+
/**
|
|
34
|
+
* List all identity providers available to your Organization, including their license status.
|
|
35
|
+
* List Providers
|
|
36
|
+
*/
|
|
37
|
+
listProviders(licensed?: boolean, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListProvidersResponse>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
export declare class ProvidersApi extends runtime.BaseAPI implements ProvidersApiInterface {
|
|
43
|
+
/**
|
|
44
|
+
* List all identity providers available to your Organization, including their license status.
|
|
45
|
+
* List Providers
|
|
46
|
+
*/
|
|
47
|
+
listProvidersRaw(requestParameters: ListProvidersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProvidersResponse>>;
|
|
48
|
+
/**
|
|
49
|
+
* List all identity providers available to your Organization, including their license status.
|
|
50
|
+
* List Providers
|
|
51
|
+
*/
|
|
52
|
+
listProviders(licensed?: boolean, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListProvidersResponse>;
|
|
53
|
+
}
|
|
@@ -21,20 +21,22 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import {
|
|
24
|
+
import { ListProvidersResponseFromJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
|
-
export class
|
|
28
|
+
export class ProvidersApi extends runtime.BaseAPI {
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* List all identity providers available to your Organization, including their license status.
|
|
31
|
+
* List Providers
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
listProvidersRaw(requestParameters, initOverrides) {
|
|
34
34
|
return __awaiter(this, void 0, void 0, function* () {
|
|
35
35
|
const queryParameters = {};
|
|
36
|
+
if (requestParameters['licensed'] != null) {
|
|
37
|
+
queryParameters['licensed'] = requestParameters['licensed'];
|
|
38
|
+
}
|
|
36
39
|
const headerParameters = {};
|
|
37
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
38
40
|
if (this.configuration && this.configuration.accessToken) {
|
|
39
41
|
const token = this.configuration.accessToken;
|
|
40
42
|
const tokenString = yield token("Bearer", []);
|
|
@@ -43,22 +45,21 @@ export class AttachmentsApi extends runtime.BaseAPI {
|
|
|
43
45
|
}
|
|
44
46
|
}
|
|
45
47
|
const response = yield this.request({
|
|
46
|
-
path: `/api/v1/
|
|
47
|
-
method: '
|
|
48
|
+
path: `/api/v1/providers`,
|
|
49
|
+
method: 'GET',
|
|
48
50
|
headers: headerParameters,
|
|
49
51
|
query: queryParameters,
|
|
50
|
-
body: GetAttachmentRequestToJSON(requestParameters['getAttachmentRequest']),
|
|
51
52
|
}, initOverrides);
|
|
52
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
53
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ListProvidersResponseFromJSON(jsonValue));
|
|
53
54
|
});
|
|
54
55
|
}
|
|
55
56
|
/**
|
|
56
|
-
*
|
|
57
|
-
*
|
|
57
|
+
* List all identity providers available to your Organization, including their license status.
|
|
58
|
+
* List Providers
|
|
58
59
|
*/
|
|
59
|
-
|
|
60
|
+
listProviders(licensed, initOverrides) {
|
|
60
61
|
return __awaiter(this, void 0, void 0, function* () {
|
|
61
|
-
const response = yield this.
|
|
62
|
+
const response = yield this.listProvidersRaw({ licensed: licensed }, initOverrides);
|
|
62
63
|
return yield response.value();
|
|
63
64
|
});
|
|
64
65
|
}
|
|
@@ -10,31 +10,31 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
13
|
+
import type { AddRedirectUriRequest, AddRedirectUriResponse, ListRedirectUrisResponse } from '../models/index';
|
|
14
14
|
export interface DeleteRequest {
|
|
15
15
|
id: string;
|
|
16
16
|
}
|
|
17
17
|
export interface AddRequest {
|
|
18
|
-
|
|
18
|
+
addRedirectUriRequest?: AddRedirectUriRequest;
|
|
19
19
|
}
|
|
20
20
|
export interface ListRequest {
|
|
21
21
|
page?: number;
|
|
22
22
|
pageSize?: number;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* RedirectUrisApi - interface
|
|
26
26
|
*
|
|
27
27
|
* @export
|
|
28
|
-
* @interface
|
|
28
|
+
* @interface RedirectUrisApiInterface
|
|
29
29
|
*/
|
|
30
|
-
export interface
|
|
30
|
+
export interface RedirectUrisApiInterface {
|
|
31
31
|
/**
|
|
32
32
|
* Delete a redirect uri from the environment.
|
|
33
33
|
* @summary Delete Redirect URI
|
|
34
34
|
* @param {string} id The id of the redirect uri to delete.
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
36
36
|
* @throws {RequiredError}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof RedirectUrisApiInterface
|
|
38
38
|
*/
|
|
39
39
|
_deleteRaw(requestParameters: DeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
40
40
|
/**
|
|
@@ -43,39 +43,39 @@ export interface EnvironmentRedirectUrisApiInterface {
|
|
|
43
43
|
*/
|
|
44
44
|
_delete(id: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
45
45
|
/**
|
|
46
|
-
* Add a new redirect uri to the environment.
|
|
46
|
+
* Add a new redirect uri to the authenticated environment.
|
|
47
47
|
* @summary Add Redirect URI
|
|
48
|
-
* @param {
|
|
48
|
+
* @param {AddRedirectUriRequest} [addRedirectUriRequest] Request for uri to add to the environment. Must be absolute, not relative. Wildcard \"*\" accepted.
|
|
49
49
|
* @param {*} [options] Override http request option.
|
|
50
50
|
* @throws {RequiredError}
|
|
51
|
-
* @memberof
|
|
51
|
+
* @memberof RedirectUrisApiInterface
|
|
52
52
|
*/
|
|
53
53
|
addRaw(requestParameters: AddRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AddRedirectUriResponse>>;
|
|
54
54
|
/**
|
|
55
|
-
* Add a new redirect uri to the environment.
|
|
55
|
+
* Add a new redirect uri to the authenticated environment.
|
|
56
56
|
* Add Redirect URI
|
|
57
57
|
*/
|
|
58
|
-
add(
|
|
58
|
+
add(addRedirectUriRequest?: AddRedirectUriRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AddRedirectUriResponse>;
|
|
59
59
|
/**
|
|
60
|
-
* List
|
|
60
|
+
* List registered Redirect URIs for the authenticated environment
|
|
61
61
|
* @summary List Redirect URIs
|
|
62
62
|
* @param {number} [page] Number of pages of uris to return.
|
|
63
63
|
* @param {number} [pageSize] Size of the list to be returned. Accepted range from 1 to 100
|
|
64
64
|
* @param {*} [options] Override http request option.
|
|
65
65
|
* @throws {RequiredError}
|
|
66
|
-
* @memberof
|
|
66
|
+
* @memberof RedirectUrisApiInterface
|
|
67
67
|
*/
|
|
68
|
-
listRaw(requestParameters: ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
68
|
+
listRaw(requestParameters: ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListRedirectUrisResponse>>;
|
|
69
69
|
/**
|
|
70
|
-
* List
|
|
70
|
+
* List registered Redirect URIs for the authenticated environment
|
|
71
71
|
* List Redirect URIs
|
|
72
72
|
*/
|
|
73
|
-
list(page?: number, pageSize?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
73
|
+
list(page?: number, pageSize?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListRedirectUrisResponse>;
|
|
74
74
|
}
|
|
75
75
|
/**
|
|
76
76
|
*
|
|
77
77
|
*/
|
|
78
|
-
export declare class
|
|
78
|
+
export declare class RedirectUrisApi extends runtime.BaseAPI implements RedirectUrisApiInterface {
|
|
79
79
|
/**
|
|
80
80
|
* Delete a redirect uri from the environment.
|
|
81
81
|
* Delete Redirect URI
|
|
@@ -87,23 +87,23 @@ export declare class EnvironmentRedirectUrisApi extends runtime.BaseAPI implemen
|
|
|
87
87
|
*/
|
|
88
88
|
_delete(id: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
89
89
|
/**
|
|
90
|
-
* Add a new redirect uri to the environment.
|
|
90
|
+
* Add a new redirect uri to the authenticated environment.
|
|
91
91
|
* Add Redirect URI
|
|
92
92
|
*/
|
|
93
93
|
addRaw(requestParameters: AddRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AddRedirectUriResponse>>;
|
|
94
94
|
/**
|
|
95
|
-
* Add a new redirect uri to the environment.
|
|
95
|
+
* Add a new redirect uri to the authenticated environment.
|
|
96
96
|
* Add Redirect URI
|
|
97
97
|
*/
|
|
98
|
-
add(
|
|
98
|
+
add(addRedirectUriRequest?: AddRedirectUriRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AddRedirectUriResponse>;
|
|
99
99
|
/**
|
|
100
|
-
* List
|
|
100
|
+
* List registered Redirect URIs for the authenticated environment
|
|
101
101
|
* List Redirect URIs
|
|
102
102
|
*/
|
|
103
|
-
listRaw(requestParameters: ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
103
|
+
listRaw(requestParameters: ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListRedirectUrisResponse>>;
|
|
104
104
|
/**
|
|
105
|
-
* List
|
|
105
|
+
* List registered Redirect URIs for the authenticated environment
|
|
106
106
|
* List Redirect URIs
|
|
107
107
|
*/
|
|
108
|
-
list(page?: number, pageSize?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
108
|
+
list(page?: number, pageSize?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListRedirectUrisResponse>;
|
|
109
109
|
}
|
|
@@ -21,11 +21,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import {
|
|
24
|
+
import { AddRedirectUriRequestToJSON, AddRedirectUriResponseFromJSON, ListRedirectUrisResponseFromJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
|
-
export class
|
|
28
|
+
export class RedirectUrisApi extends runtime.BaseAPI {
|
|
29
29
|
/**
|
|
30
30
|
* Delete a redirect uri from the environment.
|
|
31
31
|
* Delete Redirect URI
|
|
@@ -45,7 +45,7 @@ export class EnvironmentRedirectUrisApi extends runtime.BaseAPI {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
const response = yield this.request({
|
|
48
|
-
path: `/api/valpha/
|
|
48
|
+
path: `/api/valpha/redirect-uris/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
49
49
|
method: 'DELETE',
|
|
50
50
|
headers: headerParameters,
|
|
51
51
|
query: queryParameters,
|
|
@@ -63,7 +63,7 @@ export class EnvironmentRedirectUrisApi extends runtime.BaseAPI {
|
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
|
-
* Add a new redirect uri to the environment.
|
|
66
|
+
* Add a new redirect uri to the authenticated environment.
|
|
67
67
|
* Add Redirect URI
|
|
68
68
|
*/
|
|
69
69
|
addRaw(requestParameters, initOverrides) {
|
|
@@ -79,27 +79,27 @@ export class EnvironmentRedirectUrisApi extends runtime.BaseAPI {
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
const response = yield this.request({
|
|
82
|
-
path: `/api/valpha/
|
|
82
|
+
path: `/api/valpha/redirect-uris`,
|
|
83
83
|
method: 'POST',
|
|
84
84
|
headers: headerParameters,
|
|
85
85
|
query: queryParameters,
|
|
86
|
-
body:
|
|
86
|
+
body: AddRedirectUriRequestToJSON(requestParameters['addRedirectUriRequest']),
|
|
87
87
|
}, initOverrides);
|
|
88
88
|
return new runtime.JSONApiResponse(response, (jsonValue) => AddRedirectUriResponseFromJSON(jsonValue));
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
|
-
* Add a new redirect uri to the environment.
|
|
92
|
+
* Add a new redirect uri to the authenticated environment.
|
|
93
93
|
* Add Redirect URI
|
|
94
94
|
*/
|
|
95
|
-
add(
|
|
95
|
+
add(addRedirectUriRequest, initOverrides) {
|
|
96
96
|
return __awaiter(this, void 0, void 0, function* () {
|
|
97
|
-
const response = yield this.addRaw({
|
|
97
|
+
const response = yield this.addRaw({ addRedirectUriRequest: addRedirectUriRequest }, initOverrides);
|
|
98
98
|
return yield response.value();
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
101
|
/**
|
|
102
|
-
* List
|
|
102
|
+
* List registered Redirect URIs for the authenticated environment
|
|
103
103
|
* List Redirect URIs
|
|
104
104
|
*/
|
|
105
105
|
listRaw(requestParameters, initOverrides) {
|
|
@@ -120,16 +120,16 @@ export class EnvironmentRedirectUrisApi extends runtime.BaseAPI {
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
const response = yield this.request({
|
|
123
|
-
path: `/api/valpha/
|
|
123
|
+
path: `/api/valpha/redirect-uris`,
|
|
124
124
|
method: 'GET',
|
|
125
125
|
headers: headerParameters,
|
|
126
126
|
query: queryParameters,
|
|
127
127
|
}, initOverrides);
|
|
128
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
128
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ListRedirectUrisResponseFromJSON(jsonValue));
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
131
|
/**
|
|
132
|
-
* List
|
|
132
|
+
* List registered Redirect URIs for the authenticated environment
|
|
133
133
|
* List Redirect URIs
|
|
134
134
|
*/
|
|
135
135
|
list(page, pageSize, initOverrides) {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { CancelSessionResponse, CreateDirectProviderSessionRequest, CreateDirectProviderSessionResponse, CreateHostedProviderSessionRequest, CreateHostedProviderSessionResponse, CreateWidgetSessionRequest, CreateWidgetSessionResponse, GetSessionResponse, GetSessionResultRequest, GetSessionResultResponse, ListSessionsResponse, OrderDirection, RefreshStepContentRequest, RefreshStepContentResponse, SessionOrdering, SubmitNativeChallengeResponseRequest, SubmitNativeChallengeResponseResponse } from '../models/index';
|
|
13
|
+
import type { CancelSessionResponse, CreateDirectProviderSessionRequest, CreateDirectProviderSessionResponse, CreateHostedProviderSessionRequest, CreateHostedProviderSessionResponse, CreateWidgetSessionRequest, CreateWidgetSessionResponse, GetAttachmentRequest, GetAttachmentResponse, GetSessionResponse, GetSessionResultRequest, GetSessionResultResponse, ListSessionsResponse, OrderDirection, RecommendProvidersRequest, RecommendProvidersResponse, RefreshStepContentRequest, RefreshStepContentResponse, SessionOrdering, SubmitNativeChallengeResponseRequest, SubmitNativeChallengeResponseResponse } from '../models/index';
|
|
14
14
|
export interface CancelSessionRequest {
|
|
15
15
|
sessionId: string;
|
|
16
16
|
}
|
|
@@ -23,6 +23,11 @@ export interface CreateHostedProviderSessionOperationRequest {
|
|
|
23
23
|
export interface CreateWidgetSessionOperationRequest {
|
|
24
24
|
createWidgetSessionRequest?: CreateWidgetSessionRequest;
|
|
25
25
|
}
|
|
26
|
+
export interface GetAttachmentOperationRequest {
|
|
27
|
+
sessionId: string;
|
|
28
|
+
attachmentId: string;
|
|
29
|
+
getAttachmentRequest?: GetAttachmentRequest;
|
|
30
|
+
}
|
|
26
31
|
export interface GetSessionRequest {
|
|
27
32
|
sessionId: string;
|
|
28
33
|
}
|
|
@@ -37,6 +42,9 @@ export interface ListSessionsRequest {
|
|
|
37
42
|
pageSize?: number;
|
|
38
43
|
page?: number;
|
|
39
44
|
}
|
|
45
|
+
export interface RecommendProvidersOperationRequest {
|
|
46
|
+
recommendProvidersRequest?: RecommendProvidersRequest;
|
|
47
|
+
}
|
|
40
48
|
export interface RedactSessionRequest {
|
|
41
49
|
sessionId: string;
|
|
42
50
|
}
|
|
@@ -111,6 +119,22 @@ export interface SessionsApiInterface {
|
|
|
111
119
|
* Create Widget Session
|
|
112
120
|
*/
|
|
113
121
|
createWidgetSession(createWidgetSessionRequest?: CreateWidgetSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateWidgetSessionResponse>;
|
|
122
|
+
/**
|
|
123
|
+
* Fetch an Attachment\'s contents.
|
|
124
|
+
* @summary Get Attachment
|
|
125
|
+
* @param {string} sessionId The ID of the Session to fetch the Attachment from
|
|
126
|
+
* @param {string} attachmentId The ID of the Attachment to fetch
|
|
127
|
+
* @param {GetAttachmentRequest} [getAttachmentRequest]
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
* @memberof SessionsApiInterface
|
|
131
|
+
*/
|
|
132
|
+
getAttachmentRaw(requestParameters: GetAttachmentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAttachmentResponse>>;
|
|
133
|
+
/**
|
|
134
|
+
* Fetch an Attachment\'s contents.
|
|
135
|
+
* Get Attachment
|
|
136
|
+
*/
|
|
137
|
+
getAttachment(sessionId: string, attachmentId: string, getAttachmentRequest?: GetAttachmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAttachmentResponse>;
|
|
114
138
|
/**
|
|
115
139
|
* Get a Session by its ID
|
|
116
140
|
* @summary Get Session
|
|
@@ -158,7 +182,21 @@ export interface SessionsApiInterface {
|
|
|
158
182
|
*/
|
|
159
183
|
listSessions(verificationProfileId: string, orderBy?: SessionOrdering, orderDirection?: OrderDirection, pageSize?: number, page?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListSessionsResponse>;
|
|
160
184
|
/**
|
|
161
|
-
*
|
|
185
|
+
* 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.
|
|
186
|
+
* @summary Recommend Providers
|
|
187
|
+
* @param {RecommendProvidersRequest} [recommendProvidersRequest]
|
|
188
|
+
* @param {*} [options] Override http request option.
|
|
189
|
+
* @throws {RequiredError}
|
|
190
|
+
* @memberof SessionsApiInterface
|
|
191
|
+
*/
|
|
192
|
+
recommendProvidersRaw(requestParameters: RecommendProvidersOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecommendProvidersResponse>>;
|
|
193
|
+
/**
|
|
194
|
+
* 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.
|
|
195
|
+
* Recommend Providers
|
|
196
|
+
*/
|
|
197
|
+
recommendProviders(recommendProvidersRequest?: RecommendProvidersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecommendProvidersResponse>;
|
|
198
|
+
/**
|
|
199
|
+
* 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.
|
|
162
200
|
* @summary Redact Session
|
|
163
201
|
* @param {string} sessionId
|
|
164
202
|
* @param {*} [options] Override http request option.
|
|
@@ -167,7 +205,7 @@ export interface SessionsApiInterface {
|
|
|
167
205
|
*/
|
|
168
206
|
redactSessionRaw(requestParameters: RedactSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
169
207
|
/**
|
|
170
|
-
* Redact a Session, removing all identity data from Trinsic\'s servers. Every
|
|
208
|
+
* 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.
|
|
171
209
|
* Redact Session
|
|
172
210
|
*/
|
|
173
211
|
redactSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
@@ -246,6 +284,16 @@ export declare class SessionsApi extends runtime.BaseAPI implements SessionsApiI
|
|
|
246
284
|
* Create Widget Session
|
|
247
285
|
*/
|
|
248
286
|
createWidgetSession(createWidgetSessionRequest?: CreateWidgetSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateWidgetSessionResponse>;
|
|
287
|
+
/**
|
|
288
|
+
* Fetch an Attachment\'s contents.
|
|
289
|
+
* Get Attachment
|
|
290
|
+
*/
|
|
291
|
+
getAttachmentRaw(requestParameters: GetAttachmentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAttachmentResponse>>;
|
|
292
|
+
/**
|
|
293
|
+
* Fetch an Attachment\'s contents.
|
|
294
|
+
* Get Attachment
|
|
295
|
+
*/
|
|
296
|
+
getAttachment(sessionId: string, attachmentId: string, getAttachmentRequest?: GetAttachmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAttachmentResponse>;
|
|
249
297
|
/**
|
|
250
298
|
* Get a Session by its ID
|
|
251
299
|
* Get Session
|
|
@@ -275,12 +323,22 @@ export declare class SessionsApi extends runtime.BaseAPI implements SessionsApiI
|
|
|
275
323
|
*/
|
|
276
324
|
listSessions(verificationProfileId: string, orderBy?: SessionOrdering, orderDirection?: OrderDirection, pageSize?: number, page?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListSessionsResponse>;
|
|
277
325
|
/**
|
|
278
|
-
*
|
|
326
|
+
* 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.
|
|
327
|
+
* Recommend Providers
|
|
328
|
+
*/
|
|
329
|
+
recommendProvidersRaw(requestParameters: RecommendProvidersOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecommendProvidersResponse>>;
|
|
330
|
+
/**
|
|
331
|
+
* 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.
|
|
332
|
+
* Recommend Providers
|
|
333
|
+
*/
|
|
334
|
+
recommendProviders(recommendProvidersRequest?: RecommendProvidersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecommendProvidersResponse>;
|
|
335
|
+
/**
|
|
336
|
+
* 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.
|
|
279
337
|
* Redact Session
|
|
280
338
|
*/
|
|
281
339
|
redactSessionRaw(requestParameters: RedactSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
282
340
|
/**
|
|
283
|
-
* Redact a Session, removing all identity data from Trinsic\'s servers. Every
|
|
341
|
+
* 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.
|
|
284
342
|
* Redact Session
|
|
285
343
|
*/
|
|
286
344
|
redactSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|