@trinsic/api 2.3.0-alpha1 → 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 +69 -29
- 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/KenyaNidBiometric2Input.d.ts +47 -0
- package/dist/esm/models/KenyaNidBiometric2Input.js +45 -0
- package/dist/esm/models/KenyaNidInput.d.ts +1 -1
- package/dist/esm/models/KenyaNidLookup2Input.d.ts +32 -0
- package/dist/esm/models/KenyaNidLookup2Input.js +41 -0
- package/dist/esm/models/KenyaNidMatch2Input.d.ts +63 -0
- package/dist/esm/models/KenyaNidMatch2Input.js +52 -0
- 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/NigeriaNinInput.d.ts +1 -1
- 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 +33 -0
- package/dist/esm/models/PhilippinesDigitalNidProviderOutput.js +43 -0
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +33 -0
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.js +43 -0
- 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 +117 -27
- package/dist/esm/models/ProviderInput.js +87 -49
- package/dist/esm/models/ProviderOutput.d.ts +208 -5
- package/dist/esm/models/ProviderOutput.js +89 -2
- 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/SouthAfricaNidInput.d.ts +1 -1
- package/dist/esm/models/SouthAfricaNidLookup2Input.d.ts +32 -0
- package/dist/esm/models/SouthAfricaNidLookup2Input.js +41 -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 +142 -12
- package/dist/esm/models/SpidProviderOutput.js +46 -4
- 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 +67 -25
- package/dist/esm/models/index.js +67 -25
- 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/KenyaNidBiometric2Input.d.ts +47 -0
- package/dist/models/KenyaNidBiometric2Input.js +52 -0
- package/dist/models/KenyaNidInput.d.ts +1 -1
- package/dist/models/KenyaNidLookup2Input.d.ts +32 -0
- package/dist/models/KenyaNidLookup2Input.js +48 -0
- package/dist/models/KenyaNidMatch2Input.d.ts +63 -0
- package/dist/models/KenyaNidMatch2Input.js +59 -0
- 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/NigeriaNinInput.d.ts +1 -1
- 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 +33 -0
- package/dist/models/PhilippinesDigitalNidProviderOutput.js +50 -0
- package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +33 -0
- package/dist/models/PhilippinesPhysicalNidProviderOutput.js +50 -0
- 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 +117 -27
- package/dist/models/ProviderInput.js +87 -49
- package/dist/models/ProviderOutput.d.ts +208 -5
- package/dist/models/ProviderOutput.js +89 -2
- 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/SouthAfricaNidInput.d.ts +1 -1
- package/dist/models/SouthAfricaNidLookup2Input.d.ts +32 -0
- package/dist/models/SouthAfricaNidLookup2Input.js +48 -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 +142 -12
- package/dist/models/SpidProviderOutput.js +46 -4
- 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 +67 -25
- package/dist/models/index.js +67 -25
- 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/KenyaNidBiometric2Input.ts +84 -0
- package/src/models/KenyaNidInput.ts +1 -1
- package/src/models/KenyaNidLookup2Input.ts +65 -0
- package/src/models/KenyaNidMatch2Input.ts +115 -0
- 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/NigeriaNinInput.ts +1 -1
- 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 +67 -0
- package/src/models/PhilippinesPhysicalNidProviderOutput.ts +67 -0
- 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 +304 -116
- package/src/models/ProviderOutput.ts +442 -7
- 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/SouthAfricaNidInput.ts +1 -1
- package/src/models/SouthAfricaNidLookup2Input.ts +65 -0
- package/src/models/SouthAfricaNidMatch2Input.ts +124 -0
- package/src/models/SouthAfricaNidMatch2InputSex.ts +53 -0
- package/src/models/SpidProviderOutput.ts +186 -16
- 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 +67 -25
- 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 -57
- package/dist/esm/models/AttachmentAccessKeys.js +0 -52
- 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/models/AttachmentAccessKeys.d.ts +0 -57
- package/dist/models/AttachmentAccessKeys.js +0 -59
- 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/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 -106
- 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/apis/SessionsApi.ts
CHANGED
|
@@ -22,12 +22,16 @@ import type {
|
|
|
22
22
|
CreateHostedProviderSessionResponse,
|
|
23
23
|
CreateWidgetSessionRequest,
|
|
24
24
|
CreateWidgetSessionResponse,
|
|
25
|
+
GetAttachmentRequest,
|
|
26
|
+
GetAttachmentResponse,
|
|
25
27
|
GetSessionResponse,
|
|
26
28
|
GetSessionResultRequest,
|
|
27
29
|
GetSessionResultResponse,
|
|
28
30
|
ListSessionsResponse,
|
|
29
31
|
OrderDirection,
|
|
30
32
|
ProblemDetails,
|
|
33
|
+
RecommendProvidersRequest,
|
|
34
|
+
RecommendProvidersResponse,
|
|
31
35
|
RefreshStepContentRequest,
|
|
32
36
|
RefreshStepContentResponse,
|
|
33
37
|
SessionOrdering,
|
|
@@ -49,6 +53,10 @@ import {
|
|
|
49
53
|
CreateWidgetSessionRequestToJSON,
|
|
50
54
|
CreateWidgetSessionResponseFromJSON,
|
|
51
55
|
CreateWidgetSessionResponseToJSON,
|
|
56
|
+
GetAttachmentRequestFromJSON,
|
|
57
|
+
GetAttachmentRequestToJSON,
|
|
58
|
+
GetAttachmentResponseFromJSON,
|
|
59
|
+
GetAttachmentResponseToJSON,
|
|
52
60
|
GetSessionResponseFromJSON,
|
|
53
61
|
GetSessionResponseToJSON,
|
|
54
62
|
GetSessionResultRequestFromJSON,
|
|
@@ -61,6 +69,10 @@ import {
|
|
|
61
69
|
OrderDirectionToJSON,
|
|
62
70
|
ProblemDetailsFromJSON,
|
|
63
71
|
ProblemDetailsToJSON,
|
|
72
|
+
RecommendProvidersRequestFromJSON,
|
|
73
|
+
RecommendProvidersRequestToJSON,
|
|
74
|
+
RecommendProvidersResponseFromJSON,
|
|
75
|
+
RecommendProvidersResponseToJSON,
|
|
64
76
|
RefreshStepContentRequestFromJSON,
|
|
65
77
|
RefreshStepContentRequestToJSON,
|
|
66
78
|
RefreshStepContentResponseFromJSON,
|
|
@@ -89,6 +101,12 @@ export interface CreateWidgetSessionOperationRequest {
|
|
|
89
101
|
createWidgetSessionRequest?: CreateWidgetSessionRequest;
|
|
90
102
|
}
|
|
91
103
|
|
|
104
|
+
export interface GetAttachmentOperationRequest {
|
|
105
|
+
sessionId: string;
|
|
106
|
+
attachmentId: string;
|
|
107
|
+
getAttachmentRequest?: GetAttachmentRequest;
|
|
108
|
+
}
|
|
109
|
+
|
|
92
110
|
export interface GetSessionRequest {
|
|
93
111
|
sessionId: string;
|
|
94
112
|
}
|
|
@@ -106,6 +124,10 @@ export interface ListSessionsRequest {
|
|
|
106
124
|
page?: number;
|
|
107
125
|
}
|
|
108
126
|
|
|
127
|
+
export interface RecommendProvidersOperationRequest {
|
|
128
|
+
recommendProvidersRequest?: RecommendProvidersRequest;
|
|
129
|
+
}
|
|
130
|
+
|
|
109
131
|
export interface RedactSessionRequest {
|
|
110
132
|
sessionId: string;
|
|
111
133
|
}
|
|
@@ -191,6 +213,24 @@ export interface SessionsApiInterface {
|
|
|
191
213
|
*/
|
|
192
214
|
createWidgetSession(createWidgetSessionRequest?: CreateWidgetSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateWidgetSessionResponse>;
|
|
193
215
|
|
|
216
|
+
/**
|
|
217
|
+
* Fetch an Attachment\'s contents.
|
|
218
|
+
* @summary Get Attachment
|
|
219
|
+
* @param {string} sessionId The ID of the Session to fetch the Attachment from
|
|
220
|
+
* @param {string} attachmentId The ID of the Attachment to fetch
|
|
221
|
+
* @param {GetAttachmentRequest} [getAttachmentRequest]
|
|
222
|
+
* @param {*} [options] Override http request option.
|
|
223
|
+
* @throws {RequiredError}
|
|
224
|
+
* @memberof SessionsApiInterface
|
|
225
|
+
*/
|
|
226
|
+
getAttachmentRaw(requestParameters: GetAttachmentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAttachmentResponse>>;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Fetch an Attachment\'s contents.
|
|
230
|
+
* Get Attachment
|
|
231
|
+
*/
|
|
232
|
+
getAttachment(sessionId: string, attachmentId: string, getAttachmentRequest?: GetAttachmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAttachmentResponse>;
|
|
233
|
+
|
|
194
234
|
/**
|
|
195
235
|
* Get a Session by its ID
|
|
196
236
|
* @summary Get Session
|
|
@@ -244,7 +284,23 @@ export interface SessionsApiInterface {
|
|
|
244
284
|
listSessions(verificationProfileId: string, orderBy?: SessionOrdering, orderDirection?: OrderDirection, pageSize?: number, page?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListSessionsResponse>;
|
|
245
285
|
|
|
246
286
|
/**
|
|
247
|
-
*
|
|
287
|
+
* 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
|
+
* @summary Recommend Providers
|
|
289
|
+
* @param {RecommendProvidersRequest} [recommendProvidersRequest]
|
|
290
|
+
* @param {*} [options] Override http request option.
|
|
291
|
+
* @throws {RequiredError}
|
|
292
|
+
* @memberof SessionsApiInterface
|
|
293
|
+
*/
|
|
294
|
+
recommendProvidersRaw(requestParameters: RecommendProvidersOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecommendProvidersResponse>>;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* 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.
|
|
298
|
+
* Recommend Providers
|
|
299
|
+
*/
|
|
300
|
+
recommendProviders(recommendProvidersRequest?: RecommendProvidersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecommendProvidersResponse>;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* 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.
|
|
248
304
|
* @summary Redact Session
|
|
249
305
|
* @param {string} sessionId
|
|
250
306
|
* @param {*} [options] Override http request option.
|
|
@@ -254,7 +310,7 @@ export interface SessionsApiInterface {
|
|
|
254
310
|
redactSessionRaw(requestParameters: RedactSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
255
311
|
|
|
256
312
|
/**
|
|
257
|
-
* Redact a Session, removing all identity data from Trinsic\'s servers. Every
|
|
313
|
+
* 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.
|
|
258
314
|
* Redact Session
|
|
259
315
|
*/
|
|
260
316
|
redactSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
@@ -460,6 +516,59 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
460
516
|
return await response.value();
|
|
461
517
|
}
|
|
462
518
|
|
|
519
|
+
/**
|
|
520
|
+
* Fetch an Attachment\'s contents.
|
|
521
|
+
* Get Attachment
|
|
522
|
+
*/
|
|
523
|
+
async getAttachmentRaw(requestParameters: GetAttachmentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAttachmentResponse>> {
|
|
524
|
+
if (requestParameters['sessionId'] == null) {
|
|
525
|
+
throw new runtime.RequiredError(
|
|
526
|
+
'sessionId',
|
|
527
|
+
'Required parameter "sessionId" was null or undefined when calling getAttachment().'
|
|
528
|
+
);
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
if (requestParameters['attachmentId'] == null) {
|
|
532
|
+
throw new runtime.RequiredError(
|
|
533
|
+
'attachmentId',
|
|
534
|
+
'Required parameter "attachmentId" was null or undefined when calling getAttachment().'
|
|
535
|
+
);
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
const queryParameters: any = {};
|
|
539
|
+
|
|
540
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
541
|
+
|
|
542
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
543
|
+
|
|
544
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
545
|
+
const token = this.configuration.accessToken;
|
|
546
|
+
const tokenString = await token("Bearer", []);
|
|
547
|
+
|
|
548
|
+
if (tokenString) {
|
|
549
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
const response = await this.request({
|
|
553
|
+
path: `/api/v1/sessions/{sessionId}/attachments/{attachmentId}/get`.replace(`{${"sessionId"}}`, encodeURIComponent(String(requestParameters['sessionId']))).replace(`{${"attachmentId"}}`, encodeURIComponent(String(requestParameters['attachmentId']))),
|
|
554
|
+
method: 'POST',
|
|
555
|
+
headers: headerParameters,
|
|
556
|
+
query: queryParameters,
|
|
557
|
+
body: GetAttachmentRequestToJSON(requestParameters['getAttachmentRequest']),
|
|
558
|
+
}, initOverrides);
|
|
559
|
+
|
|
560
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetAttachmentResponseFromJSON(jsonValue));
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* Fetch an Attachment\'s contents.
|
|
565
|
+
* Get Attachment
|
|
566
|
+
*/
|
|
567
|
+
async getAttachment(sessionId: string, attachmentId: string, getAttachmentRequest?: GetAttachmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAttachmentResponse> {
|
|
568
|
+
const response = await this.getAttachmentRaw({ sessionId: sessionId, attachmentId: attachmentId, getAttachmentRequest: getAttachmentRequest }, initOverrides);
|
|
569
|
+
return await response.value();
|
|
570
|
+
}
|
|
571
|
+
|
|
463
572
|
/**
|
|
464
573
|
* Get a Session by its ID
|
|
465
574
|
* Get Session
|
|
@@ -607,7 +716,46 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
607
716
|
}
|
|
608
717
|
|
|
609
718
|
/**
|
|
610
|
-
*
|
|
719
|
+
* 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.
|
|
720
|
+
* Recommend Providers
|
|
721
|
+
*/
|
|
722
|
+
async recommendProvidersRaw(requestParameters: RecommendProvidersOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecommendProvidersResponse>> {
|
|
723
|
+
const queryParameters: any = {};
|
|
724
|
+
|
|
725
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
726
|
+
|
|
727
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
728
|
+
|
|
729
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
730
|
+
const token = this.configuration.accessToken;
|
|
731
|
+
const tokenString = await token("Bearer", []);
|
|
732
|
+
|
|
733
|
+
if (tokenString) {
|
|
734
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
const response = await this.request({
|
|
738
|
+
path: `/api/v1/sessions/providers/recommend`,
|
|
739
|
+
method: 'POST',
|
|
740
|
+
headers: headerParameters,
|
|
741
|
+
query: queryParameters,
|
|
742
|
+
body: RecommendProvidersRequestToJSON(requestParameters['recommendProvidersRequest']),
|
|
743
|
+
}, initOverrides);
|
|
744
|
+
|
|
745
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RecommendProvidersResponseFromJSON(jsonValue));
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* 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.
|
|
750
|
+
* Recommend Providers
|
|
751
|
+
*/
|
|
752
|
+
async recommendProviders(recommendProvidersRequest?: RecommendProvidersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecommendProvidersResponse> {
|
|
753
|
+
const response = await this.recommendProvidersRaw({ recommendProvidersRequest: recommendProvidersRequest }, initOverrides);
|
|
754
|
+
return await response.value();
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* 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.
|
|
611
759
|
* Redact Session
|
|
612
760
|
*/
|
|
613
761
|
async redactSessionRaw(requestParameters: RedactSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -641,7 +789,7 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
|
|
641
789
|
}
|
|
642
790
|
|
|
643
791
|
/**
|
|
644
|
-
* Redact a Session, removing all identity data from Trinsic\'s servers. Every
|
|
792
|
+
* 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.
|
|
645
793
|
* Redact Session
|
|
646
794
|
*/
|
|
647
795
|
async redactSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -37,6 +37,7 @@ export interface CreateVerificationProfileRequest {
|
|
|
37
37
|
primaryColor?: string;
|
|
38
38
|
providers?: Array<string>;
|
|
39
39
|
logo?: Blob;
|
|
40
|
+
isProductionUsage?: boolean;
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
export interface GetVerificationProfileByIdRequest {
|
|
@@ -63,6 +64,7 @@ export interface VerificationProfilesApiInterface {
|
|
|
63
64
|
* @param {string} [primaryColor] The primary color of the verification profile. Must be a 6-character hex string prefixed with a \\\'#\\\' character. Example: #000000
|
|
64
65
|
* @param {Array<string>} [providers] The list of providers you\\\'d like to select for this profile. We will not currently enable any providers.
|
|
65
66
|
* @param {Blob} [logo] The logo of the verification profile.
|
|
67
|
+
* @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).
|
|
66
68
|
* @param {*} [options] Override http request option.
|
|
67
69
|
* @throws {RequiredError}
|
|
68
70
|
* @memberof VerificationProfilesApiInterface
|
|
@@ -73,7 +75,7 @@ export interface VerificationProfilesApiInterface {
|
|
|
73
75
|
* Creates a new verification profile within your organization.
|
|
74
76
|
* Create Verification Profile
|
|
75
77
|
*/
|
|
76
|
-
createVerificationProfile(alias: string, brandName: string, primaryColor?: string, providers?: Array<string>, logo?: Blob, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateVerificationProfileResponse>;
|
|
78
|
+
createVerificationProfile(alias: string, brandName: string, primaryColor?: string, providers?: Array<string>, logo?: Blob, isProductionUsage?: boolean, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateVerificationProfileResponse>;
|
|
77
79
|
|
|
78
80
|
/**
|
|
79
81
|
* Gets a specific verification profile by ID.
|
|
@@ -184,6 +186,10 @@ export class VerificationProfilesApi extends runtime.BaseAPI implements Verifica
|
|
|
184
186
|
formParams.append('Logo', requestParameters['logo'] as any);
|
|
185
187
|
}
|
|
186
188
|
|
|
189
|
+
if (requestParameters['isProductionUsage'] != null) {
|
|
190
|
+
formParams.append('IsProductionUsage', requestParameters['isProductionUsage'] as any);
|
|
191
|
+
}
|
|
192
|
+
|
|
187
193
|
const response = await this.request({
|
|
188
194
|
path: `/api/valpha/verification-profiles`,
|
|
189
195
|
method: 'POST',
|
|
@@ -199,8 +205,8 @@ export class VerificationProfilesApi extends runtime.BaseAPI implements Verifica
|
|
|
199
205
|
* Creates a new verification profile within your organization.
|
|
200
206
|
* Create Verification Profile
|
|
201
207
|
*/
|
|
202
|
-
async createVerificationProfile(alias: string, brandName: string, primaryColor?: string, providers?: Array<string>, logo?: Blob, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateVerificationProfileResponse> {
|
|
203
|
-
const response = await this.createVerificationProfileRaw({ alias: alias, brandName: brandName, primaryColor: primaryColor, providers: providers, logo: logo }, initOverrides);
|
|
208
|
+
async createVerificationProfile(alias: string, brandName: string, primaryColor?: string, providers?: Array<string>, logo?: Blob, isProductionUsage?: boolean, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateVerificationProfileResponse> {
|
|
209
|
+
const response = await this.createVerificationProfileRaw({ alias: alias, brandName: brandName, primaryColor: primaryColor, providers: providers, logo: logo, isProductionUsage: isProductionUsage }, initOverrides);
|
|
204
210
|
return await response.value();
|
|
205
211
|
}
|
|
206
212
|
|
package/src/apis/index.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './MdlApi';
|
|
6
|
-
export * from './NetworkApi';
|
|
3
|
+
export * from './ProvidersApi';
|
|
4
|
+
export * from './RedirectUrisApi';
|
|
7
5
|
export * from './SessionsApi';
|
|
8
6
|
export * from './VerificationProfilesApi';
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AddRedirectUriRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface AddRedirectUriRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AddRedirectUriRequest
|
|
26
|
+
*/
|
|
27
|
+
uri: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the AddRedirectUriRequest interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfAddRedirectUriRequest(value: object): value is AddRedirectUriRequest {
|
|
34
|
+
if (!('uri' in value) || value['uri'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function AddRedirectUriRequestFromJSON(json: any): AddRedirectUriRequest {
|
|
39
|
+
return AddRedirectUriRequestFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function AddRedirectUriRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddRedirectUriRequest {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'uri': json['uri'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function AddRedirectUriRequestToJSON(json: any): AddRedirectUriRequest {
|
|
53
|
+
return AddRedirectUriRequestToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function AddRedirectUriRequestToJSONTyped(value?: AddRedirectUriRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'uri': value['uri'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
package/src/models/Address.ts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Address information for an individual
|
|
18
18
|
* @export
|
|
19
19
|
* @interface Address
|
|
20
20
|
*/
|
|
@@ -44,7 +44,10 @@ export interface Address {
|
|
|
44
44
|
*/
|
|
45
45
|
city?: string | null;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* The subdivision code of the address.
|
|
48
|
+
*
|
|
49
|
+
* Subdivision refers to a state, province, or other similar division of a country.
|
|
50
|
+
* Examples include "CA" for California, "QC" for Québec, "MD" for Madrid, or "NSW" for New South Wales.
|
|
48
51
|
* @type {string}
|
|
49
52
|
* @memberof Address
|
|
50
53
|
*/
|
|
@@ -62,7 +65,7 @@ export interface Address {
|
|
|
62
65
|
*/
|
|
63
66
|
country?: string | null;
|
|
64
67
|
/**
|
|
65
|
-
*
|
|
68
|
+
* The full address as a single string
|
|
66
69
|
* @type {string}
|
|
67
70
|
* @memberof Address
|
|
68
71
|
*/
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { MdlOutput } from './MdlOutput';
|
|
17
|
+
import {
|
|
18
|
+
MdlOutputFromJSON,
|
|
19
|
+
MdlOutputFromJSONTyped,
|
|
20
|
+
MdlOutputToJSON,
|
|
21
|
+
MdlOutputToJSONTyped,
|
|
22
|
+
} from './MdlOutput';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Exposed properties for the `apple-wallet` Provider which do not directly map to the normalized IdentityData model.
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AppleWalletProviderOutput
|
|
28
|
+
*/
|
|
29
|
+
export interface AppleWalletProviderOutput {
|
|
30
|
+
/**
|
|
31
|
+
* The raw output of the mDL exchange performed through Apple Wallet.
|
|
32
|
+
* @type {MdlOutput}
|
|
33
|
+
* @memberof AppleWalletProviderOutput
|
|
34
|
+
*/
|
|
35
|
+
rawMdlOutput: MdlOutput;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the AppleWalletProviderOutput interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfAppleWalletProviderOutput(value: object): value is AppleWalletProviderOutput {
|
|
42
|
+
if (!('rawMdlOutput' in value) || value['rawMdlOutput'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function AppleWalletProviderOutputFromJSON(json: any): AppleWalletProviderOutput {
|
|
47
|
+
return AppleWalletProviderOutputFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function AppleWalletProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppleWalletProviderOutput {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'rawMdlOutput': MdlOutputFromJSON(json['rawMdlOutput']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function AppleWalletProviderOutputToJSON(json: any): AppleWalletProviderOutput {
|
|
61
|
+
return AppleWalletProviderOutputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function AppleWalletProviderOutputToJSONTyped(value?: AppleWalletProviderOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'rawMdlOutput': MdlOutputToJSON(value['rawMdlOutput']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AttachmentInfo
|
|
20
|
+
*/
|
|
21
|
+
export interface AttachmentInfo {
|
|
22
|
+
/**
|
|
23
|
+
* The unique identifier of the Attachment.
|
|
24
|
+
*
|
|
25
|
+
* Pass this to the `GetAttachment` endpoint, along with the Session ID and the `resultsAccessKey` for said Session.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AttachmentInfo
|
|
28
|
+
*/
|
|
29
|
+
id: string;
|
|
30
|
+
/**
|
|
31
|
+
* The type of the Attachment.
|
|
32
|
+
*
|
|
33
|
+
* Possible values:
|
|
34
|
+
* - "selfie"
|
|
35
|
+
* - "document_front"
|
|
36
|
+
* - "document_back"
|
|
37
|
+
* - "document_portrait"
|
|
38
|
+
* - "document_signature"
|
|
39
|
+
* - "document_scan_report"
|
|
40
|
+
*
|
|
41
|
+
* Additional attachment types may be defined for specific Providers.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof AttachmentInfo
|
|
44
|
+
*/
|
|
45
|
+
type: string;
|
|
46
|
+
/**
|
|
47
|
+
* The MIME type of the attachment's contents; eg, "image/jpeg" or "application/pdf".
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof AttachmentInfo
|
|
50
|
+
*/
|
|
51
|
+
contentType: string;
|
|
52
|
+
/**
|
|
53
|
+
* The size in bytes of the attachment.
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof AttachmentInfo
|
|
56
|
+
*/
|
|
57
|
+
sizeBytes: number;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the AttachmentInfo interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfAttachmentInfo(value: object): value is AttachmentInfo {
|
|
64
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
65
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
66
|
+
if (!('contentType' in value) || value['contentType'] === undefined) return false;
|
|
67
|
+
if (!('sizeBytes' in value) || value['sizeBytes'] === undefined) return false;
|
|
68
|
+
return true;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function AttachmentInfoFromJSON(json: any): AttachmentInfo {
|
|
72
|
+
return AttachmentInfoFromJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function AttachmentInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachmentInfo {
|
|
76
|
+
if (json == null) {
|
|
77
|
+
return json;
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'id': json['id'],
|
|
82
|
+
'type': json['type'],
|
|
83
|
+
'contentType': json['contentType'],
|
|
84
|
+
'sizeBytes': json['sizeBytes'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function AttachmentInfoToJSON(json: any): AttachmentInfo {
|
|
89
|
+
return AttachmentInfoToJSONTyped(json, false);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function AttachmentInfoToJSONTyped(value?: AttachmentInfo | null, ignoreDiscriminator: boolean = false): any {
|
|
93
|
+
if (value == null) {
|
|
94
|
+
return value;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
return {
|
|
98
|
+
|
|
99
|
+
'id': value['id'],
|
|
100
|
+
'type': value['type'],
|
|
101
|
+
'contentType': value['contentType'],
|
|
102
|
+
'sizeBytes': value['sizeBytes'],
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Indicates when an attribute will be available in verification results.
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const AttributeAvailability = {
|
|
21
|
+
Never: 'Never',
|
|
22
|
+
Sometimes: 'Sometimes',
|
|
23
|
+
Always: 'Always'
|
|
24
|
+
} as const;
|
|
25
|
+
export type AttributeAvailability = typeof AttributeAvailability[keyof typeof AttributeAvailability];
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export function instanceOfAttributeAvailability(value: any): boolean {
|
|
29
|
+
for (const key in AttributeAvailability) {
|
|
30
|
+
if (Object.prototype.hasOwnProperty.call(AttributeAvailability, key)) {
|
|
31
|
+
if (AttributeAvailability[key as keyof typeof AttributeAvailability] === value) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function AttributeAvailabilityFromJSON(json: any): AttributeAvailability {
|
|
40
|
+
return AttributeAvailabilityFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function AttributeAvailabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeAvailability {
|
|
44
|
+
return json as AttributeAvailability;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function AttributeAvailabilityToJSON(value?: AttributeAvailability | null): any {
|
|
48
|
+
return value as any;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function AttributeAvailabilityToJSONTyped(value: any, ignoreDiscriminator: boolean): AttributeAvailability {
|
|
52
|
+
return value as AttributeAvailability;
|
|
53
|
+
}
|
|
54
|
+
|