@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
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Trinsic API
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfProviderInformation = instanceOfProviderInformation;
|
|
17
|
-
exports.ProviderInformationFromJSON = ProviderInformationFromJSON;
|
|
18
|
-
exports.ProviderInformationFromJSONTyped = ProviderInformationFromJSONTyped;
|
|
19
|
-
exports.ProviderInformationToJSON = ProviderInformationToJSON;
|
|
20
|
-
exports.ProviderInformationToJSONTyped = ProviderInformationToJSONTyped;
|
|
21
|
-
const SubProviderMetadata_1 = require("./SubProviderMetadata");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProviderInformation interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProviderInformation(value) {
|
|
26
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('logoUrl' in value) || value['logoUrl'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('subtext' in value) || value['subtext'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('providerId' in value) || value['providerId'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('providerDisplayName' in value) || value['providerDisplayName'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('providerLogo' in value) || value['providerLogo'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('health' in value) || value['health'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
function ProviderInformationFromJSON(json) {
|
|
45
|
-
return ProviderInformationFromJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
function ProviderInformationFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
-
if (json == null) {
|
|
49
|
-
return json;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'id': json['id'],
|
|
53
|
-
'name': json['name'],
|
|
54
|
-
'logoUrl': json['logoUrl'],
|
|
55
|
-
'subtext': json['subtext'],
|
|
56
|
-
'providerId': json['providerId'],
|
|
57
|
-
'providerDisplayName': json['providerDisplayName'],
|
|
58
|
-
'providerLogo': json['providerLogo'],
|
|
59
|
-
'health': json['health'],
|
|
60
|
-
'subProviders': json['subProviders'] == null ? undefined : (json['subProviders'].map(SubProviderMetadata_1.SubProviderMetadataFromJSON)),
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
function ProviderInformationToJSON(json) {
|
|
64
|
-
return ProviderInformationToJSONTyped(json, false);
|
|
65
|
-
}
|
|
66
|
-
function ProviderInformationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
-
if (value == null) {
|
|
68
|
-
return value;
|
|
69
|
-
}
|
|
70
|
-
return {
|
|
71
|
-
'id': value['id'],
|
|
72
|
-
'name': value['name'],
|
|
73
|
-
'logoUrl': value['logoUrl'],
|
|
74
|
-
'subtext': value['subtext'],
|
|
75
|
-
'providerId': value['providerId'],
|
|
76
|
-
'providerDisplayName': value['providerDisplayName'],
|
|
77
|
-
'providerLogo': value['providerLogo'],
|
|
78
|
-
'health': value['health'],
|
|
79
|
-
'subProviders': value['subProviders'] == null ? undefined : (value['subProviders'].map(SubProviderMetadata_1.SubProviderMetadataToJSON)),
|
|
80
|
-
};
|
|
81
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
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 type { RecommendationInfo } from './RecommendationInfo';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface RecommendRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface RecommendRequest {
|
|
19
|
-
/**
|
|
20
|
-
* The ID of the VerificationProfile to use for this recommendation.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof RecommendRequest
|
|
23
|
-
*/
|
|
24
|
-
verificationProfileId: string;
|
|
25
|
-
/**
|
|
26
|
-
* Information about the user you wish to generate a recommendation for.
|
|
27
|
-
* @type {RecommendationInfo}
|
|
28
|
-
* @memberof RecommendRequest
|
|
29
|
-
*/
|
|
30
|
-
recommendationInfo?: RecommendationInfo | null;
|
|
31
|
-
/**
|
|
32
|
-
* Filter providers by health status. Valid values: "online", "offline", "all". Defaults to "online".
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof RecommendRequest
|
|
35
|
-
*/
|
|
36
|
-
health?: string | null;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the RecommendRequest interface.
|
|
40
|
-
*/
|
|
41
|
-
export declare function instanceOfRecommendRequest(value: object): value is RecommendRequest;
|
|
42
|
-
export declare function RecommendRequestFromJSON(json: any): RecommendRequest;
|
|
43
|
-
export declare function RecommendRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecommendRequest;
|
|
44
|
-
export declare function RecommendRequestToJSON(json: any): RecommendRequest;
|
|
45
|
-
export declare function RecommendRequestToJSONTyped(value?: RecommendRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Trinsic API
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfRecommendRequest = instanceOfRecommendRequest;
|
|
17
|
-
exports.RecommendRequestFromJSON = RecommendRequestFromJSON;
|
|
18
|
-
exports.RecommendRequestFromJSONTyped = RecommendRequestFromJSONTyped;
|
|
19
|
-
exports.RecommendRequestToJSON = RecommendRequestToJSON;
|
|
20
|
-
exports.RecommendRequestToJSONTyped = RecommendRequestToJSONTyped;
|
|
21
|
-
const RecommendationInfo_1 = require("./RecommendationInfo");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the RecommendRequest interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfRecommendRequest(value) {
|
|
26
|
-
if (!('verificationProfileId' in value) || value['verificationProfileId'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
function RecommendRequestFromJSON(json) {
|
|
31
|
-
return RecommendRequestFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
function RecommendRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'verificationProfileId': json['verificationProfileId'],
|
|
39
|
-
'recommendationInfo': json['recommendationInfo'] == null ? undefined : (0, RecommendationInfo_1.RecommendationInfoFromJSON)(json['recommendationInfo']),
|
|
40
|
-
'health': json['health'] == null ? undefined : json['health'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function RecommendRequestToJSON(json) {
|
|
44
|
-
return RecommendRequestToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function RecommendRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'verificationProfileId': value['verificationProfileId'],
|
|
52
|
-
'recommendationInfo': (0, RecommendationInfo_1.RecommendationInfoToJSON)(value['recommendationInfo']),
|
|
53
|
-
'health': value['health'],
|
|
54
|
-
};
|
|
55
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
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 type { ProviderInformation } from './ProviderInformation';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface RecommendResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface RecommendResponse {
|
|
19
|
-
/**
|
|
20
|
-
* The providers which the user is known to have a credential with.
|
|
21
|
-
* @type {Array<ProviderInformation>}
|
|
22
|
-
* @memberof RecommendResponse
|
|
23
|
-
*/
|
|
24
|
-
recognized: Array<ProviderInformation>;
|
|
25
|
-
/**
|
|
26
|
-
* The providers which the user is deemed sufficiently likely to have a credential with.
|
|
27
|
-
* @type {Array<ProviderInformation>}
|
|
28
|
-
* @memberof RecommendResponse
|
|
29
|
-
*/
|
|
30
|
-
relevant: Array<ProviderInformation>;
|
|
31
|
-
/**
|
|
32
|
-
* The providers which the user is unlikely to have a credential with.
|
|
33
|
-
*
|
|
34
|
-
* This includes all providers available to your app which were not included in the Recognized or Relevant lists.
|
|
35
|
-
* @type {Array<ProviderInformation>}
|
|
36
|
-
* @memberof RecommendResponse
|
|
37
|
-
*/
|
|
38
|
-
remainder: Array<ProviderInformation>;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Check if a given object implements the RecommendResponse interface.
|
|
42
|
-
*/
|
|
43
|
-
export declare function instanceOfRecommendResponse(value: object): value is RecommendResponse;
|
|
44
|
-
export declare function RecommendResponseFromJSON(json: any): RecommendResponse;
|
|
45
|
-
export declare function RecommendResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecommendResponse;
|
|
46
|
-
export declare function RecommendResponseToJSON(json: any): RecommendResponse;
|
|
47
|
-
export declare function RecommendResponseToJSONTyped(value?: RecommendResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Trinsic API
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfRecommendResponse = instanceOfRecommendResponse;
|
|
17
|
-
exports.RecommendResponseFromJSON = RecommendResponseFromJSON;
|
|
18
|
-
exports.RecommendResponseFromJSONTyped = RecommendResponseFromJSONTyped;
|
|
19
|
-
exports.RecommendResponseToJSON = RecommendResponseToJSON;
|
|
20
|
-
exports.RecommendResponseToJSONTyped = RecommendResponseToJSONTyped;
|
|
21
|
-
const ProviderInformation_1 = require("./ProviderInformation");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the RecommendResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfRecommendResponse(value) {
|
|
26
|
-
if (!('recognized' in value) || value['recognized'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('relevant' in value) || value['relevant'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('remainder' in value) || value['remainder'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
function RecommendResponseFromJSON(json) {
|
|
35
|
-
return RecommendResponseFromJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
function RecommendResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
-
if (json == null) {
|
|
39
|
-
return json;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'recognized': (json['recognized'].map(ProviderInformation_1.ProviderInformationFromJSON)),
|
|
43
|
-
'relevant': (json['relevant'].map(ProviderInformation_1.ProviderInformationFromJSON)),
|
|
44
|
-
'remainder': (json['remainder'].map(ProviderInformation_1.ProviderInformationFromJSON)),
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
function RecommendResponseToJSON(json) {
|
|
48
|
-
return RecommendResponseToJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
function RecommendResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'recognized': (value['recognized'].map(ProviderInformation_1.ProviderInformationToJSON)),
|
|
56
|
-
'relevant': (value['relevant'].map(ProviderInformation_1.ProviderInformationToJSON)),
|
|
57
|
-
'remainder': (value['remainder'].map(ProviderInformation_1.ProviderInformationToJSON)),
|
|
58
|
-
};
|
|
59
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
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
|
-
import * as runtime from '../runtime';
|
|
17
|
-
import type {
|
|
18
|
-
GetAttachmentRequest,
|
|
19
|
-
GetAttachmentResponse,
|
|
20
|
-
ProblemDetails,
|
|
21
|
-
} from '../models/index';
|
|
22
|
-
import {
|
|
23
|
-
GetAttachmentRequestFromJSON,
|
|
24
|
-
GetAttachmentRequestToJSON,
|
|
25
|
-
GetAttachmentResponseFromJSON,
|
|
26
|
-
GetAttachmentResponseToJSON,
|
|
27
|
-
ProblemDetailsFromJSON,
|
|
28
|
-
ProblemDetailsToJSON,
|
|
29
|
-
} from '../models/index';
|
|
30
|
-
|
|
31
|
-
export interface GetAttachmentOperationRequest {
|
|
32
|
-
getAttachmentRequest?: GetAttachmentRequest;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* AttachmentsApi - interface
|
|
37
|
-
*
|
|
38
|
-
* @export
|
|
39
|
-
* @interface AttachmentsApiInterface
|
|
40
|
-
*/
|
|
41
|
-
export interface AttachmentsApiInterface {
|
|
42
|
-
/**
|
|
43
|
-
* Exchange an Attachment Access Key (from `IdentityData.AttachmentAccessKeys`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
|
|
44
|
-
* @summary Get Attachment
|
|
45
|
-
* @param {GetAttachmentRequest} [getAttachmentRequest]
|
|
46
|
-
* @param {*} [options] Override http request option.
|
|
47
|
-
* @throws {RequiredError}
|
|
48
|
-
* @memberof AttachmentsApiInterface
|
|
49
|
-
*/
|
|
50
|
-
getAttachmentRaw(requestParameters: GetAttachmentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAttachmentResponse>>;
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Exchange an Attachment Access Key (from `IdentityData.AttachmentAccessKeys`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
|
|
54
|
-
* Get Attachment
|
|
55
|
-
*/
|
|
56
|
-
getAttachment(getAttachmentRequest?: GetAttachmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAttachmentResponse>;
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
|
-
export class AttachmentsApi extends runtime.BaseAPI implements AttachmentsApiInterface {
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Exchange an Attachment Access Key (from `IdentityData.AttachmentAccessKeys`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
|
|
67
|
-
* Get Attachment
|
|
68
|
-
*/
|
|
69
|
-
async getAttachmentRaw(requestParameters: GetAttachmentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAttachmentResponse>> {
|
|
70
|
-
const queryParameters: any = {};
|
|
71
|
-
|
|
72
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
73
|
-
|
|
74
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
75
|
-
|
|
76
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
77
|
-
const token = this.configuration.accessToken;
|
|
78
|
-
const tokenString = await token("Bearer", []);
|
|
79
|
-
|
|
80
|
-
if (tokenString) {
|
|
81
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
const response = await this.request({
|
|
85
|
-
path: `/api/v1/attachments/attachment`,
|
|
86
|
-
method: 'POST',
|
|
87
|
-
headers: headerParameters,
|
|
88
|
-
query: queryParameters,
|
|
89
|
-
body: GetAttachmentRequestToJSON(requestParameters['getAttachmentRequest']),
|
|
90
|
-
}, initOverrides);
|
|
91
|
-
|
|
92
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GetAttachmentResponseFromJSON(jsonValue));
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* Exchange an Attachment Access Key (from `IdentityData.AttachmentAccessKeys`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
|
|
97
|
-
* Get Attachment
|
|
98
|
-
*/
|
|
99
|
-
async getAttachment(getAttachmentRequest?: GetAttachmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAttachmentResponse> {
|
|
100
|
-
const response = await this.getAttachmentRaw({ getAttachmentRequest: getAttachmentRequest }, initOverrides);
|
|
101
|
-
return await response.value();
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
}
|
package/src/apis/MdlApi.ts
DELETED
|
@@ -1,169 +0,0 @@
|
|
|
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
|
-
import * as runtime from '../runtime';
|
|
17
|
-
import type {
|
|
18
|
-
CreateMdlExchangeRequest,
|
|
19
|
-
CreateMdlExchangeResponse,
|
|
20
|
-
FinalizeMdlExchangeRequest,
|
|
21
|
-
FinalizeMdlExchangeResponse,
|
|
22
|
-
ProblemDetails,
|
|
23
|
-
} from '../models/index';
|
|
24
|
-
import {
|
|
25
|
-
CreateMdlExchangeRequestFromJSON,
|
|
26
|
-
CreateMdlExchangeRequestToJSON,
|
|
27
|
-
CreateMdlExchangeResponseFromJSON,
|
|
28
|
-
CreateMdlExchangeResponseToJSON,
|
|
29
|
-
FinalizeMdlExchangeRequestFromJSON,
|
|
30
|
-
FinalizeMdlExchangeRequestToJSON,
|
|
31
|
-
FinalizeMdlExchangeResponseFromJSON,
|
|
32
|
-
FinalizeMdlExchangeResponseToJSON,
|
|
33
|
-
ProblemDetailsFromJSON,
|
|
34
|
-
ProblemDetailsToJSON,
|
|
35
|
-
} from '../models/index';
|
|
36
|
-
|
|
37
|
-
export interface CreateMdlExchangeOperationRequest {
|
|
38
|
-
createMdlExchangeRequest?: CreateMdlExchangeRequest;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export interface FinalizeMdlExchangeOperationRequest {
|
|
42
|
-
finalizeMdlExchangeRequest?: FinalizeMdlExchangeRequest;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* MdlApi - interface
|
|
47
|
-
*
|
|
48
|
-
* @export
|
|
49
|
-
* @interface MdlApiInterface
|
|
50
|
-
*/
|
|
51
|
-
export interface MdlApiInterface {
|
|
52
|
-
/**
|
|
53
|
-
* Creates a new mDL Exchange, returning an exchange ID, request object string, and context string. mDL Exchanges are ephemeral until completion -- no state is stored within Trinsic until the exchange is finalized. This API currently only supports Google Wallet on Android via Web or Native. Apple Wallet support is coming soon.
|
|
54
|
-
* @summary Create mDL Exchange
|
|
55
|
-
* @param {CreateMdlExchangeRequest} [createMdlExchangeRequest]
|
|
56
|
-
* @param {*} [options] Override http request option.
|
|
57
|
-
* @throws {RequiredError}
|
|
58
|
-
* @memberof MdlApiInterface
|
|
59
|
-
*/
|
|
60
|
-
createMdlExchangeRaw(requestParameters: CreateMdlExchangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateMdlExchangeResponse>>;
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Creates a new mDL Exchange, returning an exchange ID, request object string, and context string. mDL Exchanges are ephemeral until completion -- no state is stored within Trinsic until the exchange is finalized. This API currently only supports Google Wallet on Android via Web or Native. Apple Wallet support is coming soon.
|
|
64
|
-
* Create mDL Exchange
|
|
65
|
-
*/
|
|
66
|
-
createMdlExchange(createMdlExchangeRequest?: CreateMdlExchangeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateMdlExchangeResponse>;
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Finalizes an mDL Exchange, processing the results
|
|
70
|
-
* @summary Finalize mDL Exchange
|
|
71
|
-
* @param {FinalizeMdlExchangeRequest} [finalizeMdlExchangeRequest]
|
|
72
|
-
* @param {*} [options] Override http request option.
|
|
73
|
-
* @throws {RequiredError}
|
|
74
|
-
* @memberof MdlApiInterface
|
|
75
|
-
*/
|
|
76
|
-
finalizeMdlExchangeRaw(requestParameters: FinalizeMdlExchangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FinalizeMdlExchangeResponse>>;
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* Finalizes an mDL Exchange, processing the results
|
|
80
|
-
* Finalize mDL Exchange
|
|
81
|
-
*/
|
|
82
|
-
finalizeMdlExchange(finalizeMdlExchangeRequest?: FinalizeMdlExchangeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FinalizeMdlExchangeResponse>;
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
*/
|
|
89
|
-
export class MdlApi extends runtime.BaseAPI implements MdlApiInterface {
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Creates a new mDL Exchange, returning an exchange ID, request object string, and context string. mDL Exchanges are ephemeral until completion -- no state is stored within Trinsic until the exchange is finalized. This API currently only supports Google Wallet on Android via Web or Native. Apple Wallet support is coming soon.
|
|
93
|
-
* Create mDL Exchange
|
|
94
|
-
*/
|
|
95
|
-
async createMdlExchangeRaw(requestParameters: CreateMdlExchangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateMdlExchangeResponse>> {
|
|
96
|
-
const queryParameters: any = {};
|
|
97
|
-
|
|
98
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
99
|
-
|
|
100
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
101
|
-
|
|
102
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
103
|
-
const token = this.configuration.accessToken;
|
|
104
|
-
const tokenString = await token("Bearer", []);
|
|
105
|
-
|
|
106
|
-
if (tokenString) {
|
|
107
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
const response = await this.request({
|
|
111
|
-
path: `/api/valpha/mdl/exchanges/create`,
|
|
112
|
-
method: 'POST',
|
|
113
|
-
headers: headerParameters,
|
|
114
|
-
query: queryParameters,
|
|
115
|
-
body: CreateMdlExchangeRequestToJSON(requestParameters['createMdlExchangeRequest']),
|
|
116
|
-
}, initOverrides);
|
|
117
|
-
|
|
118
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => CreateMdlExchangeResponseFromJSON(jsonValue));
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* Creates a new mDL Exchange, returning an exchange ID, request object string, and context string. mDL Exchanges are ephemeral until completion -- no state is stored within Trinsic until the exchange is finalized. This API currently only supports Google Wallet on Android via Web or Native. Apple Wallet support is coming soon.
|
|
123
|
-
* Create mDL Exchange
|
|
124
|
-
*/
|
|
125
|
-
async createMdlExchange(createMdlExchangeRequest?: CreateMdlExchangeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateMdlExchangeResponse> {
|
|
126
|
-
const response = await this.createMdlExchangeRaw({ createMdlExchangeRequest: createMdlExchangeRequest }, initOverrides);
|
|
127
|
-
return await response.value();
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* Finalizes an mDL Exchange, processing the results
|
|
132
|
-
* Finalize mDL Exchange
|
|
133
|
-
*/
|
|
134
|
-
async finalizeMdlExchangeRaw(requestParameters: FinalizeMdlExchangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FinalizeMdlExchangeResponse>> {
|
|
135
|
-
const queryParameters: any = {};
|
|
136
|
-
|
|
137
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
138
|
-
|
|
139
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
140
|
-
|
|
141
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
142
|
-
const token = this.configuration.accessToken;
|
|
143
|
-
const tokenString = await token("Bearer", []);
|
|
144
|
-
|
|
145
|
-
if (tokenString) {
|
|
146
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
const response = await this.request({
|
|
150
|
-
path: `/api/valpha/mdl/exchanges/finalize`,
|
|
151
|
-
method: 'POST',
|
|
152
|
-
headers: headerParameters,
|
|
153
|
-
query: queryParameters,
|
|
154
|
-
body: FinalizeMdlExchangeRequestToJSON(requestParameters['finalizeMdlExchangeRequest']),
|
|
155
|
-
}, initOverrides);
|
|
156
|
-
|
|
157
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => FinalizeMdlExchangeResponseFromJSON(jsonValue));
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* Finalizes an mDL Exchange, processing the results
|
|
162
|
-
* Finalize mDL Exchange
|
|
163
|
-
*/
|
|
164
|
-
async finalizeMdlExchange(finalizeMdlExchangeRequest?: FinalizeMdlExchangeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FinalizeMdlExchangeResponse> {
|
|
165
|
-
const response = await this.finalizeMdlExchangeRaw({ finalizeMdlExchangeRequest: finalizeMdlExchangeRequest }, initOverrides);
|
|
166
|
-
return await response.value();
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
}
|