@trinsic/api 2.3.0-alpha2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +63 -30
- package/dist/apis/ProvidersApi.d.ts +53 -0
- package/dist/apis/{AttachmentsApi.js → ProvidersApi.js} +16 -15
- package/dist/{esm/apis/EnvironmentRedirectUrisApi.d.ts → apis/RedirectUrisApi.d.ts} +24 -24
- package/dist/apis/{EnvironmentRedirectUrisApi.js → RedirectUrisApi.js} +14 -14
- package/dist/apis/SessionsApi.d.ts +63 -5
- package/dist/apis/SessionsApi.js +80 -2
- package/dist/apis/VerificationProfilesApi.d.ts +4 -2
- package/dist/apis/VerificationProfilesApi.js +5 -2
- package/dist/apis/index.d.ts +2 -4
- package/dist/apis/index.js +2 -4
- package/dist/esm/apis/ProvidersApi.d.ts +53 -0
- package/dist/esm/apis/{AttachmentsApi.js → ProvidersApi.js} +15 -14
- package/dist/{apis/EnvironmentRedirectUrisApi.d.ts → esm/apis/RedirectUrisApi.d.ts} +24 -24
- package/dist/esm/apis/{EnvironmentRedirectUrisApi.js → RedirectUrisApi.js} +13 -13
- package/dist/esm/apis/SessionsApi.d.ts +63 -5
- package/dist/esm/apis/SessionsApi.js +81 -3
- package/dist/esm/apis/VerificationProfilesApi.d.ts +4 -2
- package/dist/esm/apis/VerificationProfilesApi.js +5 -2
- package/dist/esm/apis/index.d.ts +2 -4
- package/dist/esm/apis/index.js +2 -4
- package/dist/esm/models/AddRedirectUriRequest.d.ts +32 -0
- package/dist/esm/models/{EnvironmentRedirectUrisAddRequest.js → AddRedirectUriRequest.js} +8 -8
- package/dist/esm/models/Address.d.ts +5 -2
- package/dist/esm/models/AppleWalletProviderOutput.d.ts +33 -0
- package/dist/esm/models/AppleWalletProviderOutput.js +44 -0
- package/dist/esm/models/AttachmentInfo.d.ts +62 -0
- package/dist/esm/models/AttachmentInfo.js +55 -0
- package/dist/esm/models/AttributeAvailability.d.ts +26 -0
- package/dist/esm/models/AttributeAvailability.js +44 -0
- package/dist/esm/models/AustriaHandySignaturProviderOutput.d.ts +38 -0
- package/dist/esm/models/AustriaHandySignaturProviderOutput.js +47 -0
- package/dist/esm/models/BelgiumIdCardProviderOutput.d.ts +57 -0
- package/dist/esm/models/BelgiumIdCardProviderOutput.js +55 -0
- package/dist/esm/models/ContractAttachment.d.ts +49 -0
- package/dist/esm/models/ContractAttachment.js +48 -0
- package/dist/esm/models/ContractAttribute.d.ts +39 -0
- package/dist/esm/models/ContractAttribute.js +48 -0
- package/dist/esm/models/CoteDIvoireNidLookup2Input.d.ts +32 -0
- package/dist/esm/models/CoteDIvoireNidLookup2Input.js +41 -0
- package/dist/esm/models/CzechiaMojeIdProviderOutput.d.ts +52 -0
- package/dist/esm/models/CzechiaMojeIdProviderOutput.js +55 -0
- package/dist/esm/models/DocumentData.d.ts +13 -5
- package/dist/esm/models/DocumentData.js +2 -0
- package/dist/esm/models/EstoniaIdCardProviderOutput.d.ts +64 -0
- package/dist/esm/models/EstoniaIdCardProviderOutput.js +55 -0
- package/dist/esm/models/FaydaProviderOutput.d.ts +1 -1
- package/dist/esm/models/FinlandIdCardProviderOutput.d.ts +63 -0
- package/dist/esm/models/FinlandIdCardProviderOutput.js +55 -0
- package/dist/esm/models/FrejaProviderOutput.d.ts +53 -0
- package/dist/esm/models/FrejaProviderOutput.js +55 -0
- package/dist/esm/models/FrenchNumeriqueGivenName.d.ts +45 -0
- package/dist/esm/models/FrenchNumeriqueGivenName.js +45 -0
- package/dist/esm/models/FrenchNumeriqueNationality.d.ts +38 -0
- package/dist/esm/models/FrenchNumeriqueNationality.js +43 -0
- package/dist/esm/models/FrenchNumeriquePhone.d.ts +44 -0
- package/dist/esm/models/FrenchNumeriquePhone.js +45 -0
- package/dist/esm/models/FrenchNumeriqueProviderOutput.d.ts +205 -0
- package/dist/esm/models/FrenchNumeriqueProviderOutput.js +92 -0
- package/dist/esm/models/GetAttachmentRequest.d.ts +4 -8
- package/dist/esm/models/GetAttachmentRequest.js +3 -7
- package/dist/esm/models/GoogleWalletProviderOutput.d.ts +33 -0
- package/dist/esm/models/GoogleWalletProviderOutput.js +44 -0
- package/dist/esm/models/IdentityData.d.ts +15 -13
- package/dist/esm/models/IdentityData.js +4 -7
- package/dist/esm/models/ItsmeProviderOutput.d.ts +69 -0
- package/dist/esm/models/ItsmeProviderOutput.js +55 -0
- package/dist/esm/models/KenyaNidMatch2Input.d.ts +3 -3
- package/dist/esm/models/KenyaNidMatch2Input.js +3 -3
- package/dist/esm/models/KenyaNidMatch2InputSex.d.ts +25 -0
- package/dist/esm/models/KenyaNidMatch2InputSex.js +43 -0
- package/dist/esm/models/LaWalletProviderOutput.d.ts +148 -0
- package/dist/esm/models/LaWalletProviderOutput.js +109 -0
- package/dist/esm/models/LatviaEparakstsMobileProviderOutput.d.ts +60 -0
- package/dist/esm/models/LatviaEparakstsMobileProviderOutput.js +51 -0
- package/dist/esm/models/LatviaEparakstsProviderOutput.d.ts +60 -0
- package/dist/esm/models/LatviaEparakstsProviderOutput.js +51 -0
- package/dist/esm/models/ListProvidersResponse.d.ts +4 -4
- package/dist/esm/models/ListProvidersResponse.js +3 -3
- package/dist/esm/models/ListRedirectUrisResponse.d.ts +39 -0
- package/dist/esm/models/{ListEnvironmentRedirectUrisResponse.js → ListRedirectUrisResponse.js} +8 -8
- package/dist/esm/models/LithuaniaIdCardProviderOutput.d.ts +68 -0
- package/dist/esm/models/LithuaniaIdCardProviderOutput.js +55 -0
- package/dist/esm/models/LloydsSmartIdProviderOutput.d.ts +112 -0
- package/dist/esm/models/LloydsSmartIdProviderOutput.js +65 -0
- package/dist/esm/models/Match.d.ts +8 -0
- package/dist/esm/models/MatchData.d.ts +26 -3
- package/dist/esm/models/MatchData.js +2 -0
- package/dist/esm/models/MdlOutput.d.ts +60 -0
- package/dist/esm/models/MdlOutput.js +56 -0
- package/dist/esm/models/MdlOutputCertificateData.d.ts +60 -0
- package/dist/esm/models/{MdlCertificateData.js → MdlOutputCertificateData.js} +8 -8
- package/dist/esm/models/MdlOutputFieldData.d.ts +39 -0
- package/dist/esm/models/{ExternalMdlFieldData.js → MdlOutputFieldData.js} +11 -11
- package/dist/esm/models/MdlOutputFieldDataType.d.ts +29 -0
- package/dist/esm/models/MdlOutputFieldDataType.js +47 -0
- package/dist/esm/models/MexicoCurpProviderOutput.d.ts +1 -1
- package/dist/esm/models/MitIdProviderOutput.d.ts +137 -0
- package/dist/esm/models/MitIdProviderOutput.js +61 -0
- package/dist/esm/models/MobileIdInput.d.ts +3 -3
- package/dist/esm/models/MobileIdInput.js +3 -3
- package/dist/esm/models/MobileIdLanguage.d.ts +27 -0
- package/dist/esm/models/{Language.js → MobileIdLanguage.js} +10 -10
- package/dist/esm/models/MobileIdProviderOutput.d.ts +118 -0
- package/dist/esm/models/MobileIdProviderOutput.js +57 -0
- package/dist/esm/models/NigeriaNinBiometric2Input.d.ts +47 -0
- package/dist/esm/models/NigeriaNinBiometric2Input.js +45 -0
- package/dist/esm/models/NigeriaNinLookup2Input.d.ts +32 -0
- package/dist/esm/models/NigeriaNinLookup2Input.js +41 -0
- package/dist/esm/models/NigeriaNinMatch2Input.d.ts +70 -0
- package/dist/esm/models/NigeriaNinMatch2Input.js +54 -0
- package/dist/esm/models/NigeriaNinMatch2InputSex.d.ts +25 -0
- package/dist/esm/models/NigeriaNinMatch2InputSex.js +43 -0
- package/dist/esm/models/PersonData.d.ts +8 -6
- package/dist/esm/models/PeruDniAddress.d.ts +53 -0
- package/dist/esm/models/PeruDniAddress.js +51 -0
- package/dist/esm/models/PeruDniLookupInput.d.ts +37 -0
- package/dist/esm/models/PeruDniLookupInput.js +41 -0
- package/dist/esm/models/PeruDniProviderOutput.d.ts +213 -0
- package/dist/esm/models/PeruDniProviderOutput.js +88 -0
- package/dist/esm/models/PhilippinesDigitalNidProviderOutput.d.ts +3 -2
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +3 -2
- package/dist/esm/models/PolandEdoAppProviderOutput.d.ts +62 -0
- package/dist/esm/models/PolandEdoAppProviderOutput.js +55 -0
- package/dist/esm/models/PolandMojeIdProviderOutput.d.ts +56 -0
- package/dist/esm/models/PolandMojeIdProviderOutput.js +51 -0
- package/dist/esm/models/PortugalIdCardProviderOutput.d.ts +50 -0
- package/dist/esm/models/PortugalIdCardProviderOutput.js +55 -0
- package/dist/esm/models/PostOfficeEasyIdProviderOutput.d.ts +112 -0
- package/dist/esm/models/PostOfficeEasyIdProviderOutput.js +65 -0
- package/dist/esm/models/{ProviderContract.d.ts → Provider.d.ts} +71 -68
- package/dist/esm/models/{ProviderContract.js → Provider.js} +37 -30
- package/dist/esm/models/ProviderInput.d.ts +90 -28
- package/dist/esm/models/ProviderInput.js +83 -57
- package/dist/esm/models/ProviderOutput.d.ts +200 -11
- package/dist/esm/models/ProviderOutput.js +87 -6
- package/dist/esm/models/RecommendProviderHealthOption.d.ts +26 -0
- package/dist/esm/models/RecommendProviderHealthOption.js +44 -0
- package/dist/esm/models/RecommendProviderInformation.d.ts +85 -0
- package/dist/esm/models/{ProviderInfo.js → RecommendProviderInformation.js} +17 -17
- package/dist/esm/models/RecommendProvidersRequest.d.ts +46 -0
- package/dist/esm/models/{RecommendRequest.js → RecommendProvidersRequest.js} +11 -10
- package/dist/esm/models/RecommendProvidersResponse.d.ts +33 -0
- package/dist/esm/models/RecommendProvidersResponse.js +44 -0
- package/dist/esm/models/SamsungWalletProviderOutput.d.ts +33 -0
- package/dist/esm/models/SamsungWalletProviderOutput.js +44 -0
- package/dist/esm/models/SerbiaIdCardProviderOutput.d.ts +63 -0
- package/dist/esm/models/SerbiaIdCardProviderOutput.js +55 -0
- package/dist/esm/models/SmartIdInput.d.ts +0 -7
- package/dist/esm/models/SmartIdInput.js +0 -2
- package/dist/esm/models/SmartIdProviderOutput.d.ts +175 -0
- package/dist/esm/models/SmartIdProviderOutput.js +65 -0
- package/dist/esm/models/SouthAfricaNidBiometric2Input.d.ts +47 -0
- package/dist/esm/models/SouthAfricaNidBiometric2Input.js +45 -0
- package/dist/esm/models/SouthAfricaNidMatch2Input.d.ts +70 -0
- package/dist/esm/models/SouthAfricaNidMatch2Input.js +54 -0
- package/dist/esm/models/SouthAfricaNidMatch2InputSex.d.ts +25 -0
- package/dist/esm/models/SouthAfricaNidMatch2InputSex.js +43 -0
- package/dist/esm/models/SpidProviderOutput.d.ts +84 -16
- package/dist/esm/models/SpidProviderOutput.js +22 -2
- package/dist/esm/models/SubProviderMetadata.d.ts +0 -9
- package/dist/esm/models/SubProviderMetadata.js +0 -4
- package/dist/esm/models/SwedenBankIdProviderOutput.d.ts +110 -0
- package/dist/esm/models/SwedenBankIdProviderOutput.js +65 -0
- package/dist/esm/models/UgandaNidMatch2Input.d.ts +45 -0
- package/dist/esm/models/UgandaNidMatch2Input.js +45 -0
- package/dist/esm/models/VerificationProfileResponse.d.ts +6 -0
- package/dist/esm/models/VerificationProfileResponse.js +4 -0
- package/dist/esm/models/YotiDocumentDetails.d.ts +62 -0
- package/dist/esm/models/YotiDocumentDetails.js +49 -0
- package/dist/esm/models/YotiProviderOutput.d.ts +112 -0
- package/dist/esm/models/YotiProviderOutput.js +65 -0
- package/dist/esm/models/YotiStructuredPostalAddress.d.ts +152 -0
- package/dist/esm/models/YotiStructuredPostalAddress.js +79 -0
- package/dist/esm/models/ZimbabweNidLookup2Input.d.ts +32 -0
- package/dist/esm/models/ZimbabweNidLookup2Input.js +41 -0
- package/dist/esm/models/index.d.ts +61 -26
- package/dist/esm/models/index.js +61 -26
- package/dist/models/AddRedirectUriRequest.d.ts +32 -0
- package/dist/models/AddRedirectUriRequest.js +50 -0
- package/dist/models/Address.d.ts +5 -2
- package/dist/models/AppleWalletProviderOutput.d.ts +33 -0
- package/dist/models/AppleWalletProviderOutput.js +51 -0
- package/dist/models/AttachmentInfo.d.ts +62 -0
- package/dist/models/AttachmentInfo.js +62 -0
- package/dist/models/AttributeAvailability.d.ts +26 -0
- package/dist/models/AttributeAvailability.js +52 -0
- package/dist/models/AustriaHandySignaturProviderOutput.d.ts +38 -0
- package/dist/models/AustriaHandySignaturProviderOutput.js +54 -0
- package/dist/models/BelgiumIdCardProviderOutput.d.ts +57 -0
- package/dist/models/BelgiumIdCardProviderOutput.js +62 -0
- package/dist/models/ContractAttachment.d.ts +49 -0
- package/dist/models/ContractAttachment.js +55 -0
- package/dist/models/ContractAttribute.d.ts +39 -0
- package/dist/models/ContractAttribute.js +55 -0
- package/dist/models/CoteDIvoireNidLookup2Input.d.ts +32 -0
- package/dist/models/CoteDIvoireNidLookup2Input.js +48 -0
- package/dist/models/CzechiaMojeIdProviderOutput.d.ts +52 -0
- package/dist/models/CzechiaMojeIdProviderOutput.js +62 -0
- package/dist/models/DocumentData.d.ts +13 -5
- package/dist/models/DocumentData.js +2 -0
- package/dist/models/EstoniaIdCardProviderOutput.d.ts +64 -0
- package/dist/models/EstoniaIdCardProviderOutput.js +62 -0
- package/dist/models/FaydaProviderOutput.d.ts +1 -1
- package/dist/models/FinlandIdCardProviderOutput.d.ts +63 -0
- package/dist/models/FinlandIdCardProviderOutput.js +62 -0
- package/dist/models/FrejaProviderOutput.d.ts +53 -0
- package/dist/models/FrejaProviderOutput.js +62 -0
- package/dist/models/FrenchNumeriqueGivenName.d.ts +45 -0
- package/dist/models/FrenchNumeriqueGivenName.js +52 -0
- package/dist/models/FrenchNumeriqueNationality.d.ts +38 -0
- package/dist/models/FrenchNumeriqueNationality.js +50 -0
- package/dist/models/FrenchNumeriquePhone.d.ts +44 -0
- package/dist/models/FrenchNumeriquePhone.js +52 -0
- package/dist/models/FrenchNumeriqueProviderOutput.d.ts +205 -0
- package/dist/models/FrenchNumeriqueProviderOutput.js +99 -0
- package/dist/models/GetAttachmentRequest.d.ts +4 -8
- package/dist/models/GetAttachmentRequest.js +3 -7
- package/dist/models/GoogleWalletProviderOutput.d.ts +33 -0
- package/dist/models/GoogleWalletProviderOutput.js +51 -0
- package/dist/models/IdentityData.d.ts +15 -13
- package/dist/models/IdentityData.js +4 -7
- package/dist/models/ItsmeProviderOutput.d.ts +69 -0
- package/dist/models/ItsmeProviderOutput.js +62 -0
- package/dist/models/KenyaNidMatch2Input.d.ts +3 -3
- package/dist/models/KenyaNidMatch2Input.js +3 -3
- package/dist/models/KenyaNidMatch2InputSex.d.ts +25 -0
- package/dist/models/KenyaNidMatch2InputSex.js +51 -0
- package/dist/models/LaWalletProviderOutput.d.ts +148 -0
- package/dist/models/LaWalletProviderOutput.js +116 -0
- package/dist/models/LatviaEparakstsMobileProviderOutput.d.ts +60 -0
- package/dist/models/LatviaEparakstsMobileProviderOutput.js +58 -0
- package/dist/models/LatviaEparakstsProviderOutput.d.ts +60 -0
- package/dist/models/LatviaEparakstsProviderOutput.js +58 -0
- package/dist/models/ListProvidersResponse.d.ts +4 -4
- package/dist/models/ListProvidersResponse.js +3 -3
- package/dist/models/ListRedirectUrisResponse.d.ts +39 -0
- package/dist/models/ListRedirectUrisResponse.js +55 -0
- package/dist/models/LithuaniaIdCardProviderOutput.d.ts +68 -0
- package/dist/models/LithuaniaIdCardProviderOutput.js +62 -0
- package/dist/models/LloydsSmartIdProviderOutput.d.ts +112 -0
- package/dist/models/LloydsSmartIdProviderOutput.js +72 -0
- package/dist/models/Match.d.ts +8 -0
- package/dist/models/MatchData.d.ts +26 -3
- package/dist/models/MatchData.js +2 -0
- package/dist/models/MdlOutput.d.ts +60 -0
- package/dist/models/MdlOutput.js +63 -0
- package/dist/models/MdlOutputCertificateData.d.ts +60 -0
- package/dist/models/{MdlCertificateData.js → MdlOutputCertificateData.js} +13 -13
- package/dist/models/MdlOutputFieldData.d.ts +39 -0
- package/dist/models/MdlOutputFieldData.js +55 -0
- package/dist/models/MdlOutputFieldDataType.d.ts +29 -0
- package/dist/models/MdlOutputFieldDataType.js +55 -0
- package/dist/models/MexicoCurpProviderOutput.d.ts +1 -1
- package/dist/models/MitIdProviderOutput.d.ts +137 -0
- package/dist/models/MitIdProviderOutput.js +68 -0
- package/dist/models/MobileIdInput.d.ts +3 -3
- package/dist/models/MobileIdInput.js +3 -3
- package/dist/models/MobileIdLanguage.d.ts +27 -0
- package/dist/models/MobileIdLanguage.js +53 -0
- package/dist/models/MobileIdProviderOutput.d.ts +118 -0
- package/dist/models/MobileIdProviderOutput.js +64 -0
- package/dist/models/NigeriaNinBiometric2Input.d.ts +47 -0
- package/dist/models/NigeriaNinBiometric2Input.js +52 -0
- package/dist/models/NigeriaNinLookup2Input.d.ts +32 -0
- package/dist/models/NigeriaNinLookup2Input.js +48 -0
- package/dist/models/NigeriaNinMatch2Input.d.ts +70 -0
- package/dist/models/NigeriaNinMatch2Input.js +61 -0
- package/dist/models/NigeriaNinMatch2InputSex.d.ts +25 -0
- package/dist/models/NigeriaNinMatch2InputSex.js +51 -0
- package/dist/models/PersonData.d.ts +8 -6
- package/dist/models/PeruDniAddress.d.ts +53 -0
- package/dist/models/PeruDniAddress.js +58 -0
- package/dist/models/PeruDniLookupInput.d.ts +37 -0
- package/dist/models/PeruDniLookupInput.js +48 -0
- package/dist/models/PeruDniProviderOutput.d.ts +213 -0
- package/dist/models/PeruDniProviderOutput.js +95 -0
- package/dist/models/PhilippinesDigitalNidProviderOutput.d.ts +3 -2
- package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +3 -2
- package/dist/models/PolandEdoAppProviderOutput.d.ts +62 -0
- package/dist/models/PolandEdoAppProviderOutput.js +62 -0
- package/dist/models/PolandMojeIdProviderOutput.d.ts +56 -0
- package/dist/models/PolandMojeIdProviderOutput.js +58 -0
- package/dist/models/PortugalIdCardProviderOutput.d.ts +50 -0
- package/dist/models/PortugalIdCardProviderOutput.js +62 -0
- package/dist/models/PostOfficeEasyIdProviderOutput.d.ts +112 -0
- package/dist/models/PostOfficeEasyIdProviderOutput.js +72 -0
- package/dist/models/{ProviderContract.d.ts → Provider.d.ts} +71 -68
- package/dist/models/{ProviderContract.js → Provider.js} +42 -35
- package/dist/models/ProviderInput.d.ts +90 -28
- package/dist/models/ProviderInput.js +83 -57
- package/dist/models/ProviderOutput.d.ts +200 -11
- package/dist/models/ProviderOutput.js +87 -6
- package/dist/models/RecommendProviderHealthOption.d.ts +26 -0
- package/dist/models/RecommendProviderHealthOption.js +52 -0
- package/dist/models/RecommendProviderInformation.d.ts +85 -0
- package/dist/models/{ProviderInfo.js → RecommendProviderInformation.js} +22 -22
- package/dist/models/RecommendProvidersRequest.d.ts +46 -0
- package/dist/models/RecommendProvidersRequest.js +56 -0
- package/dist/models/RecommendProvidersResponse.d.ts +33 -0
- package/dist/models/RecommendProvidersResponse.js +51 -0
- package/dist/models/SamsungWalletProviderOutput.d.ts +33 -0
- package/dist/models/SamsungWalletProviderOutput.js +51 -0
- package/dist/models/SerbiaIdCardProviderOutput.d.ts +63 -0
- package/dist/models/SerbiaIdCardProviderOutput.js +62 -0
- package/dist/models/SmartIdInput.d.ts +0 -7
- package/dist/models/SmartIdInput.js +0 -2
- package/dist/models/SmartIdProviderOutput.d.ts +175 -0
- package/dist/models/SmartIdProviderOutput.js +72 -0
- package/dist/models/SouthAfricaNidBiometric2Input.d.ts +47 -0
- package/dist/models/SouthAfricaNidBiometric2Input.js +52 -0
- package/dist/models/SouthAfricaNidMatch2Input.d.ts +70 -0
- package/dist/models/SouthAfricaNidMatch2Input.js +61 -0
- package/dist/models/SouthAfricaNidMatch2InputSex.d.ts +25 -0
- package/dist/models/SouthAfricaNidMatch2InputSex.js +51 -0
- package/dist/models/SpidProviderOutput.d.ts +84 -16
- package/dist/models/SpidProviderOutput.js +22 -2
- package/dist/models/SubProviderMetadata.d.ts +0 -9
- package/dist/models/SubProviderMetadata.js +0 -4
- package/dist/models/SwedenBankIdProviderOutput.d.ts +110 -0
- package/dist/models/SwedenBankIdProviderOutput.js +72 -0
- package/dist/models/UgandaNidMatch2Input.d.ts +45 -0
- package/dist/models/UgandaNidMatch2Input.js +52 -0
- package/dist/models/VerificationProfileResponse.d.ts +6 -0
- package/dist/models/VerificationProfileResponse.js +4 -0
- package/dist/models/YotiDocumentDetails.d.ts +62 -0
- package/dist/models/YotiDocumentDetails.js +56 -0
- package/dist/models/YotiProviderOutput.d.ts +112 -0
- package/dist/models/YotiProviderOutput.js +72 -0
- package/dist/models/YotiStructuredPostalAddress.d.ts +152 -0
- package/dist/models/YotiStructuredPostalAddress.js +86 -0
- package/dist/models/ZimbabweNidLookup2Input.d.ts +32 -0
- package/dist/models/ZimbabweNidLookup2Input.js +48 -0
- package/dist/models/index.d.ts +61 -26
- package/dist/models/index.js +61 -26
- package/package.json +1 -1
- package/src/apis/ProvidersApi.ts +102 -0
- package/src/apis/{EnvironmentRedirectUrisApi.ts → RedirectUrisApi.ts} +35 -35
- package/src/apis/SessionsApi.ts +152 -4
- package/src/apis/VerificationProfilesApi.ts +9 -3
- package/src/apis/index.ts +2 -4
- package/src/models/AddRedirectUriRequest.ts +66 -0
- package/src/models/Address.ts +6 -3
- package/src/models/AppleWalletProviderOutput.ts +74 -0
- package/src/models/AttachmentInfo.ts +105 -0
- package/src/models/AttributeAvailability.ts +54 -0
- package/src/models/AustriaHandySignaturProviderOutput.ts +75 -0
- package/src/models/BelgiumIdCardProviderOutput.ts +100 -0
- package/src/models/ContractAttachment.ts +95 -0
- package/src/models/ContractAttribute.ts +85 -0
- package/src/models/CoteDIvoireNidLookup2Input.ts +65 -0
- package/src/models/CzechiaMojeIdProviderOutput.ts +95 -0
- package/src/models/DocumentData.ts +16 -6
- package/src/models/EstoniaIdCardProviderOutput.ts +107 -0
- package/src/models/FaydaProviderOutput.ts +1 -1
- package/src/models/FinlandIdCardProviderOutput.ts +106 -0
- package/src/models/FrejaProviderOutput.ts +96 -0
- package/src/models/FrenchNumeriqueGivenName.ts +82 -0
- package/src/models/FrenchNumeriqueNationality.ts +73 -0
- package/src/models/FrenchNumeriquePhone.ts +81 -0
- package/src/models/FrenchNumeriqueProviderOutput.ts +305 -0
- package/src/models/GetAttachmentRequest.ts +7 -14
- package/src/models/GoogleWalletProviderOutput.ts +74 -0
- package/src/models/IdentityData.ts +27 -33
- package/src/models/ItsmeProviderOutput.ts +113 -0
- package/src/models/KenyaNidMatch2Input.ts +10 -10
- package/src/models/KenyaNidMatch2InputSex.ts +53 -0
- package/src/models/LaWalletProviderOutput.ts +232 -0
- package/src/models/LatviaEparakstsMobileProviderOutput.ts +100 -0
- package/src/models/LatviaEparakstsProviderOutput.ts +100 -0
- package/src/models/ListProvidersResponse.ts +11 -11
- package/src/models/{ListEnvironmentRedirectUrisResponse.ts → ListRedirectUrisResponse.ts} +12 -12
- package/src/models/LithuaniaIdCardProviderOutput.ts +111 -0
- package/src/models/LloydsSmartIdProviderOutput.ts +180 -0
- package/src/models/Match.ts +10 -2
- package/src/models/MatchData.ts +36 -11
- package/src/models/MdlOutput.ts +112 -0
- package/src/models/{MdlCertificateData.ts → MdlOutputCertificateData.ts} +18 -16
- package/src/models/MdlOutputFieldData.ts +85 -0
- package/src/models/MdlOutputFieldDataType.ts +57 -0
- package/src/models/MexicoCurpProviderOutput.ts +1 -1
- package/src/models/MitIdProviderOutput.ts +190 -0
- package/src/models/MobileIdInput.ts +10 -10
- package/src/models/MobileIdLanguage.ts +55 -0
- package/src/models/MobileIdProviderOutput.ts +167 -0
- package/src/models/NigeriaNinBiometric2Input.ts +84 -0
- package/src/models/NigeriaNinLookup2Input.ts +65 -0
- package/src/models/NigeriaNinMatch2Input.ts +124 -0
- package/src/models/NigeriaNinMatch2InputSex.ts +53 -0
- package/src/models/PersonData.ts +9 -7
- package/src/models/PeruDniAddress.ts +93 -0
- package/src/models/PeruDniLookupInput.ts +70 -0
- package/src/models/PeruDniProviderOutput.ts +291 -0
- package/src/models/PhilippinesDigitalNidProviderOutput.ts +3 -2
- package/src/models/PhilippinesPhysicalNidProviderOutput.ts +3 -2
- package/src/models/PolandEdoAppProviderOutput.ts +105 -0
- package/src/models/PolandMojeIdProviderOutput.ts +96 -0
- package/src/models/PortugalIdCardProviderOutput.ts +93 -0
- package/src/models/PostOfficeEasyIdProviderOutput.ts +180 -0
- package/src/models/{ProviderContract.ts → Provider.ts} +106 -98
- package/src/models/ProviderInput.ts +255 -127
- package/src/models/ProviderOutput.ts +430 -25
- package/src/models/RecommendProviderHealthOption.ts +54 -0
- package/src/models/{ProviderInformation.ts → RecommendProviderInformation.ts} +45 -56
- package/src/models/{RecommendRequest.ts → RecommendProvidersRequest.ts} +27 -18
- package/src/models/RecommendProvidersResponse.ts +74 -0
- package/src/models/SamsungWalletProviderOutput.ts +74 -0
- package/src/models/SerbiaIdCardProviderOutput.ts +106 -0
- package/src/models/SmartIdInput.ts +0 -9
- package/src/models/SmartIdProviderOutput.ts +232 -0
- package/src/models/SouthAfricaNidBiometric2Input.ts +84 -0
- package/src/models/SouthAfricaNidMatch2Input.ts +124 -0
- package/src/models/SouthAfricaNidMatch2InputSex.ts +53 -0
- package/src/models/SpidProviderOutput.ts +106 -18
- package/src/models/SubProviderMetadata.ts +0 -12
- package/src/models/SwedenBankIdProviderOutput.ts +167 -0
- package/src/models/UgandaNidMatch2Input.ts +82 -0
- package/src/models/VerificationProfileResponse.ts +9 -0
- package/src/models/YotiDocumentDetails.ts +103 -0
- package/src/models/YotiProviderOutput.ts +180 -0
- package/src/models/YotiStructuredPostalAddress.ts +223 -0
- package/src/models/ZimbabweNidLookup2Input.ts +65 -0
- package/src/models/index.ts +61 -26
- package/dist/apis/AttachmentsApi.d.ts +0 -53
- package/dist/apis/MdlApi.d.ts +0 -80
- package/dist/apis/MdlApi.js +0 -105
- package/dist/apis/NetworkApi.d.ts +0 -109
- package/dist/apis/NetworkApi.js +0 -146
- package/dist/esm/apis/AttachmentsApi.d.ts +0 -53
- package/dist/esm/apis/MdlApi.d.ts +0 -80
- package/dist/esm/apis/MdlApi.js +0 -101
- package/dist/esm/apis/NetworkApi.d.ts +0 -109
- package/dist/esm/apis/NetworkApi.js +0 -142
- package/dist/esm/models/AttachmentAccessKeys.d.ts +0 -63
- package/dist/esm/models/AttachmentAccessKeys.js +0 -54
- package/dist/esm/models/BangladeshNidInput.d.ts +0 -58
- package/dist/esm/models/BangladeshNidInput.js +0 -55
- package/dist/esm/models/ContractField.d.ts +0 -46
- package/dist/esm/models/ContractField.js +0 -52
- package/dist/esm/models/ContractIdentifierField.d.ts +0 -45
- package/dist/esm/models/ContractIdentifierField.js +0 -52
- package/dist/esm/models/CreateMdlExchangeRequest.d.ts +0 -102
- package/dist/esm/models/CreateMdlExchangeRequest.js +0 -66
- package/dist/esm/models/CreateMdlExchangeResponse.d.ts +0 -48
- package/dist/esm/models/CreateMdlExchangeResponse.js +0 -51
- package/dist/esm/models/DocumentScanAttachments.d.ts +0 -32
- package/dist/esm/models/DocumentScanAttachments.js +0 -41
- package/dist/esm/models/EnvironmentRedirectUrisAddRequest.d.ts +0 -32
- package/dist/esm/models/ExternalMdlFieldData.d.ts +0 -39
- package/dist/esm/models/FieldAvailability.d.ts +0 -26
- package/dist/esm/models/FieldAvailability.js +0 -44
- package/dist/esm/models/FinalizeMdlExchangeRequest.d.ts +0 -50
- package/dist/esm/models/FinalizeMdlExchangeRequest.js +0 -55
- package/dist/esm/models/FinalizeMdlExchangeResponse.d.ts +0 -55
- package/dist/esm/models/FinalizeMdlExchangeResponse.js +0 -54
- package/dist/esm/models/Identifier.d.ts +0 -44
- package/dist/esm/models/Identifier.js +0 -51
- package/dist/esm/models/Language.d.ts +0 -27
- package/dist/esm/models/ListEnvironmentRedirectUrisResponse.d.ts +0 -39
- package/dist/esm/models/ListProviderContractsResponse.d.ts +0 -33
- package/dist/esm/models/ListProviderContractsResponse.js +0 -44
- package/dist/esm/models/MdlCertificateData.d.ts +0 -58
- package/dist/esm/models/MdlFieldDataType.d.ts +0 -28
- package/dist/esm/models/MdlFieldDataType.js +0 -46
- package/dist/esm/models/MdlIdentityData.d.ts +0 -50
- package/dist/esm/models/MdlIdentityData.js +0 -52
- package/dist/esm/models/ProviderAttachments.d.ts +0 -33
- package/dist/esm/models/ProviderAttachments.js +0 -42
- package/dist/esm/models/ProviderInfo.d.ts +0 -76
- package/dist/esm/models/ProviderInformation.d.ts +0 -88
- package/dist/esm/models/ProviderInformation.js +0 -74
- package/dist/esm/models/RecommendRequest.d.ts +0 -45
- package/dist/esm/models/RecommendResponse.d.ts +0 -47
- package/dist/esm/models/RecommendResponse.js +0 -52
- package/dist/esm/models/SexV1.d.ts +0 -27
- package/dist/esm/models/SexV1.js +0 -45
- package/dist/models/AttachmentAccessKeys.d.ts +0 -63
- package/dist/models/AttachmentAccessKeys.js +0 -61
- package/dist/models/BangladeshNidInput.d.ts +0 -58
- package/dist/models/BangladeshNidInput.js +0 -62
- package/dist/models/ContractField.d.ts +0 -46
- package/dist/models/ContractField.js +0 -59
- package/dist/models/ContractIdentifierField.d.ts +0 -45
- package/dist/models/ContractIdentifierField.js +0 -59
- package/dist/models/CreateMdlExchangeRequest.d.ts +0 -102
- package/dist/models/CreateMdlExchangeRequest.js +0 -73
- package/dist/models/CreateMdlExchangeResponse.d.ts +0 -48
- package/dist/models/CreateMdlExchangeResponse.js +0 -58
- package/dist/models/DocumentScanAttachments.d.ts +0 -32
- package/dist/models/DocumentScanAttachments.js +0 -48
- package/dist/models/EnvironmentRedirectUrisAddRequest.d.ts +0 -32
- package/dist/models/EnvironmentRedirectUrisAddRequest.js +0 -50
- package/dist/models/ExternalMdlFieldData.d.ts +0 -39
- package/dist/models/ExternalMdlFieldData.js +0 -55
- package/dist/models/FieldAvailability.d.ts +0 -26
- package/dist/models/FieldAvailability.js +0 -52
- package/dist/models/FinalizeMdlExchangeRequest.d.ts +0 -50
- package/dist/models/FinalizeMdlExchangeRequest.js +0 -62
- package/dist/models/FinalizeMdlExchangeResponse.d.ts +0 -55
- package/dist/models/FinalizeMdlExchangeResponse.js +0 -61
- package/dist/models/Identifier.d.ts +0 -44
- package/dist/models/Identifier.js +0 -58
- package/dist/models/Language.d.ts +0 -27
- package/dist/models/Language.js +0 -53
- package/dist/models/ListEnvironmentRedirectUrisResponse.d.ts +0 -39
- package/dist/models/ListEnvironmentRedirectUrisResponse.js +0 -55
- package/dist/models/ListProviderContractsResponse.d.ts +0 -33
- package/dist/models/ListProviderContractsResponse.js +0 -51
- package/dist/models/MdlCertificateData.d.ts +0 -58
- package/dist/models/MdlFieldDataType.d.ts +0 -28
- package/dist/models/MdlFieldDataType.js +0 -54
- package/dist/models/MdlIdentityData.d.ts +0 -50
- package/dist/models/MdlIdentityData.js +0 -59
- package/dist/models/ProviderAttachments.d.ts +0 -33
- package/dist/models/ProviderAttachments.js +0 -49
- package/dist/models/ProviderInfo.d.ts +0 -76
- package/dist/models/ProviderInformation.d.ts +0 -88
- package/dist/models/ProviderInformation.js +0 -81
- package/dist/models/RecommendRequest.d.ts +0 -45
- package/dist/models/RecommendRequest.js +0 -55
- package/dist/models/RecommendResponse.d.ts +0 -47
- package/dist/models/RecommendResponse.js +0 -59
- package/dist/models/SexV1.d.ts +0 -27
- package/dist/models/SexV1.js +0 -53
- package/src/apis/AttachmentsApi.ts +0 -104
- package/src/apis/MdlApi.ts +0 -169
- package/src/apis/NetworkApi.ts +0 -242
- package/src/models/AttachmentAccessKeys.ts +0 -114
- package/src/models/BangladeshNidInput.ts +0 -102
- package/src/models/ContractField.ts +0 -95
- package/src/models/ContractIdentifierField.ts +0 -94
- package/src/models/CreateMdlExchangeRequest.ts +0 -159
- package/src/models/CreateMdlExchangeResponse.ts +0 -88
- package/src/models/DocumentScanAttachments.ts +0 -65
- package/src/models/EnvironmentRedirectUrisAddRequest.ts +0 -66
- package/src/models/ExternalMdlFieldData.ts +0 -85
- package/src/models/FieldAvailability.ts +0 -54
- package/src/models/FinalizeMdlExchangeRequest.ts +0 -93
- package/src/models/FinalizeMdlExchangeResponse.ts +0 -115
- package/src/models/Identifier.ts +0 -84
- package/src/models/Language.ts +0 -55
- package/src/models/ListProviderContractsResponse.ts +0 -74
- package/src/models/MdlFieldDataType.ts +0 -56
- package/src/models/MdlIdentityData.ts +0 -99
- package/src/models/ProviderAttachments.ts +0 -73
- package/src/models/ProviderInfo.ts +0 -134
- package/src/models/RecommendResponse.ts +0 -94
- package/src/models/SexV1.ts +0 -55
|
@@ -0,0 +1,112 @@
|
|
|
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 { YotiStructuredPostalAddress } from './YotiStructuredPostalAddress';
|
|
13
|
+
import type { YotiDocumentDetails } from './YotiDocumentDetails';
|
|
14
|
+
/**
|
|
15
|
+
* Exposed properties for the `lloyds-smart-id` Provider which do not directly map to the normalized IdentityData model.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface LloydsSmartIdProviderOutput
|
|
18
|
+
*/
|
|
19
|
+
export interface LloydsSmartIdProviderOutput {
|
|
20
|
+
/**
|
|
21
|
+
* The unique id for your service of the individual. This is not shared between different services so if the user logs into a different service, the user will have a new id for the other service.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof LloydsSmartIdProviderOutput
|
|
24
|
+
*/
|
|
25
|
+
rememberMeId?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* The email address of the individual
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof LloydsSmartIdProviderOutput
|
|
30
|
+
*/
|
|
31
|
+
email?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* The given name of the individual. This can correspond to first and middle names in English.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof LloydsSmartIdProviderOutput
|
|
36
|
+
*/
|
|
37
|
+
givenName?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* The family name of the individual
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof LloydsSmartIdProviderOutput
|
|
42
|
+
*/
|
|
43
|
+
familyName?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Full name of the individual which is composed of the given and family name.
|
|
46
|
+
* Unverified full name may be safe to use. For example, Aadhaar card provides full name, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof LloydsSmartIdProviderOutput
|
|
49
|
+
*/
|
|
50
|
+
fullName?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* The date of birth of the individual.
|
|
53
|
+
* Unverified date of birth may be safe to use. For example, Aadhaar card provides date of birth, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
|
|
54
|
+
* @type {Date}
|
|
55
|
+
* @memberof LloydsSmartIdProviderOutput
|
|
56
|
+
*/
|
|
57
|
+
dateOfBirth?: Date | null;
|
|
58
|
+
/**
|
|
59
|
+
* The gender of the individual. Depending on the source or country, gender may not be verified. This is a setting that can be configured while setting up scopes.
|
|
60
|
+
*
|
|
61
|
+
* Unverified gender may be safe to use. For example, Aadhaar card provides gender, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
|
|
62
|
+
* In some countries
|
|
63
|
+
* Possible values:
|
|
64
|
+
* - "MALE"
|
|
65
|
+
* - "FEMALE"
|
|
66
|
+
* - "TRANSGENDER"
|
|
67
|
+
* - "OTHER"
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof LloydsSmartIdProviderOutput
|
|
70
|
+
*/
|
|
71
|
+
gender?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* The nationality of the individual as a ISO alpha-3 code
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof LloydsSmartIdProviderOutput
|
|
76
|
+
*/
|
|
77
|
+
nationality?: string | null;
|
|
78
|
+
/**
|
|
79
|
+
* The mobile phone number of the individual. This number was verified with a one time password (OTP) during the user's registration with Yoti. In some cases, Yoti may do additional checks against its sources to confirm the user's identity.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof LloydsSmartIdProviderOutput
|
|
82
|
+
*/
|
|
83
|
+
mobileNumber?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* A structured postal address for the individual that comes from the underlying document or can be manually added. In the case of being manually added, the address is considered "unverified".
|
|
86
|
+
* Unverified addresses may be safe to use. For example, Aadhaar card provides an address, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
|
|
87
|
+
* @type {YotiStructuredPostalAddress}
|
|
88
|
+
* @memberof LloydsSmartIdProviderOutput
|
|
89
|
+
*/
|
|
90
|
+
structuredPostalAddress?: YotiStructuredPostalAddress | null;
|
|
91
|
+
/**
|
|
92
|
+
* The whole address for the individual that comes from the underlying document or can be manually added. In the case of being manually added, the address is considered "unverified". The format of this will be different for each country.
|
|
93
|
+
* Refer to `StructuredPostalAddress` for a detailed version of the address.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof LloydsSmartIdProviderOutput
|
|
96
|
+
*/
|
|
97
|
+
postalAddress?: string | null;
|
|
98
|
+
/**
|
|
99
|
+
* The details of the underlying document used to help create the Yoti credential
|
|
100
|
+
* @type {YotiDocumentDetails}
|
|
101
|
+
* @memberof LloydsSmartIdProviderOutput
|
|
102
|
+
*/
|
|
103
|
+
documentDetails?: YotiDocumentDetails | null;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Check if a given object implements the LloydsSmartIdProviderOutput interface.
|
|
107
|
+
*/
|
|
108
|
+
export declare function instanceOfLloydsSmartIdProviderOutput(value: object): value is LloydsSmartIdProviderOutput;
|
|
109
|
+
export declare function LloydsSmartIdProviderOutputFromJSON(json: any): LloydsSmartIdProviderOutput;
|
|
110
|
+
export declare function LloydsSmartIdProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LloydsSmartIdProviderOutput;
|
|
111
|
+
export declare function LloydsSmartIdProviderOutputToJSON(json: any): LloydsSmartIdProviderOutput;
|
|
112
|
+
export declare function LloydsSmartIdProviderOutputToJSONTyped(value?: LloydsSmartIdProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,72 @@
|
|
|
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.instanceOfLloydsSmartIdProviderOutput = instanceOfLloydsSmartIdProviderOutput;
|
|
17
|
+
exports.LloydsSmartIdProviderOutputFromJSON = LloydsSmartIdProviderOutputFromJSON;
|
|
18
|
+
exports.LloydsSmartIdProviderOutputFromJSONTyped = LloydsSmartIdProviderOutputFromJSONTyped;
|
|
19
|
+
exports.LloydsSmartIdProviderOutputToJSON = LloydsSmartIdProviderOutputToJSON;
|
|
20
|
+
exports.LloydsSmartIdProviderOutputToJSONTyped = LloydsSmartIdProviderOutputToJSONTyped;
|
|
21
|
+
const YotiStructuredPostalAddress_1 = require("./YotiStructuredPostalAddress");
|
|
22
|
+
const YotiDocumentDetails_1 = require("./YotiDocumentDetails");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the LloydsSmartIdProviderOutput interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfLloydsSmartIdProviderOutput(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function LloydsSmartIdProviderOutputFromJSON(json) {
|
|
30
|
+
return LloydsSmartIdProviderOutputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function LloydsSmartIdProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'rememberMeId': json['rememberMeId'] == null ? undefined : json['rememberMeId'],
|
|
38
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
39
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
40
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
41
|
+
'fullName': json['fullName'] == null ? undefined : json['fullName'],
|
|
42
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
43
|
+
'gender': json['gender'] == null ? undefined : json['gender'],
|
|
44
|
+
'nationality': json['nationality'] == null ? undefined : json['nationality'],
|
|
45
|
+
'mobileNumber': json['mobileNumber'] == null ? undefined : json['mobileNumber'],
|
|
46
|
+
'structuredPostalAddress': json['structuredPostalAddress'] == null ? undefined : (0, YotiStructuredPostalAddress_1.YotiStructuredPostalAddressFromJSON)(json['structuredPostalAddress']),
|
|
47
|
+
'postalAddress': json['postalAddress'] == null ? undefined : json['postalAddress'],
|
|
48
|
+
'documentDetails': json['documentDetails'] == null ? undefined : (0, YotiDocumentDetails_1.YotiDocumentDetailsFromJSON)(json['documentDetails']),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function LloydsSmartIdProviderOutputToJSON(json) {
|
|
52
|
+
return LloydsSmartIdProviderOutputToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function LloydsSmartIdProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'rememberMeId': value['rememberMeId'],
|
|
60
|
+
'email': value['email'],
|
|
61
|
+
'givenName': value['givenName'],
|
|
62
|
+
'familyName': value['familyName'],
|
|
63
|
+
'fullName': value['fullName'],
|
|
64
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
|
|
65
|
+
'gender': value['gender'],
|
|
66
|
+
'nationality': value['nationality'],
|
|
67
|
+
'mobileNumber': value['mobileNumber'],
|
|
68
|
+
'structuredPostalAddress': (0, YotiStructuredPostalAddress_1.YotiStructuredPostalAddressToJSON)(value['structuredPostalAddress']),
|
|
69
|
+
'postalAddress': value['postalAddress'],
|
|
70
|
+
'documentDetails': (0, YotiDocumentDetails_1.YotiDocumentDetailsToJSON)(value['documentDetails']),
|
|
71
|
+
};
|
|
72
|
+
}
|
package/dist/models/Match.d.ts
CHANGED
|
@@ -16,13 +16,21 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface Match {
|
|
18
18
|
/**
|
|
19
|
+
* The probability value of the match.
|
|
19
20
|
*
|
|
21
|
+
* This is a value between 0 and 1, where 1 indicates a perfect match and 0 indicates no match.
|
|
22
|
+
*
|
|
23
|
+
* This field is non-null when the underlying Provider's match output is in the form of a probability score.
|
|
20
24
|
* @type {number}
|
|
21
25
|
* @memberof Match
|
|
22
26
|
*/
|
|
23
27
|
probabilityValue?: number | null;
|
|
24
28
|
/**
|
|
29
|
+
* The boolean value of the match.
|
|
30
|
+
*
|
|
31
|
+
* This is a value of true or false, where true indicates a match and false indicates no match.
|
|
25
32
|
*
|
|
33
|
+
* This field is non-null when the underlying Provider's match output is in the form of a boolean value.
|
|
26
34
|
* @type {boolean}
|
|
27
35
|
* @memberof Match
|
|
28
36
|
*/
|
|
@@ -11,67 +11,90 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Match } from './Match';
|
|
13
13
|
/**
|
|
14
|
+
* Match results for the data being matched against.
|
|
14
15
|
*
|
|
16
|
+
* This applies to Providers which operate based on matching data / biometrics against a government database,
|
|
17
|
+
* returning match scores or results as opposed to the data itself.
|
|
15
18
|
* @export
|
|
16
19
|
* @interface MatchData
|
|
17
20
|
*/
|
|
18
21
|
export interface MatchData {
|
|
19
22
|
/**
|
|
20
|
-
*
|
|
23
|
+
* Whether the provided National ID Number matched the information on file for the individual
|
|
21
24
|
* @type {Match}
|
|
22
25
|
* @memberof MatchData
|
|
23
26
|
*/
|
|
24
27
|
nationalIdNumber?: Match | null;
|
|
25
28
|
/**
|
|
29
|
+
* The match score for the full name of the individual.
|
|
26
30
|
*
|
|
31
|
+
* Higher values indicate a closer match.
|
|
27
32
|
* @type {Match}
|
|
28
33
|
* @memberof MatchData
|
|
29
34
|
*/
|
|
30
35
|
fullName?: Match | null;
|
|
31
36
|
/**
|
|
37
|
+
* The match score for the given (first) name of the individual.
|
|
32
38
|
*
|
|
39
|
+
* Higher values indicate a closer match.
|
|
33
40
|
* @type {Match}
|
|
34
41
|
* @memberof MatchData
|
|
35
42
|
*/
|
|
36
43
|
givenName?: Match | null;
|
|
37
44
|
/**
|
|
45
|
+
* The match score for the middle name(s) of the individual.
|
|
38
46
|
*
|
|
47
|
+
* Higher values indicate a closer match.
|
|
39
48
|
* @type {Match}
|
|
40
49
|
* @memberof MatchData
|
|
41
50
|
*/
|
|
42
51
|
middleName?: Match | null;
|
|
43
52
|
/**
|
|
53
|
+
* The match score for the family (last) name of the individual.
|
|
44
54
|
*
|
|
55
|
+
* Higher values indicate a closer match.
|
|
45
56
|
* @type {Match}
|
|
46
57
|
* @memberof MatchData
|
|
47
58
|
*/
|
|
48
59
|
familyName?: Match | null;
|
|
49
60
|
/**
|
|
50
|
-
*
|
|
61
|
+
* Whether the provided sex of the individual matched the information on file for the individual
|
|
51
62
|
* @type {Match}
|
|
52
63
|
* @memberof MatchData
|
|
53
64
|
*/
|
|
54
65
|
sex?: Match | null;
|
|
55
66
|
/**
|
|
56
|
-
*
|
|
67
|
+
* Whether the provided date of birth matched the information on file for the individual
|
|
57
68
|
* @type {Match}
|
|
58
69
|
* @memberof MatchData
|
|
59
70
|
*/
|
|
60
71
|
dateOfBirth?: Match | null;
|
|
61
72
|
/**
|
|
73
|
+
* Whether the provided phone number matched the information on file for the individual
|
|
74
|
+
* @type {Match}
|
|
75
|
+
* @memberof MatchData
|
|
76
|
+
*/
|
|
77
|
+
phoneNumber?: Match | null;
|
|
78
|
+
/**
|
|
79
|
+
* The match score for the face match between the provided selfie image and the biometrics on file for the individual.
|
|
62
80
|
*
|
|
81
|
+
* Higher values indicate greater match confidence.
|
|
63
82
|
* @type {Match}
|
|
64
83
|
* @memberof MatchData
|
|
65
84
|
*/
|
|
66
85
|
faceMatch?: Match | null;
|
|
67
86
|
/**
|
|
87
|
+
* The confidence score for the liveness check performed against the selfie image of the individual.
|
|
68
88
|
*
|
|
89
|
+
* Higher values indicate lower suspicion.
|
|
69
90
|
* @type {Match}
|
|
70
91
|
* @memberof MatchData
|
|
71
92
|
*/
|
|
72
93
|
liveness?: Match | null;
|
|
73
94
|
/**
|
|
95
|
+
* The confidence score for the image manipulation check performed against the selfie image of the individual.
|
|
74
96
|
*
|
|
97
|
+
* Higher values indicate lower suspicion of image manipulation.
|
|
75
98
|
* @type {Match}
|
|
76
99
|
* @memberof MatchData
|
|
77
100
|
*/
|
package/dist/models/MatchData.js
CHANGED
|
@@ -40,6 +40,7 @@ function MatchDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'familyName': json['familyName'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['familyName']),
|
|
41
41
|
'sex': json['sex'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['sex']),
|
|
42
42
|
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['dateOfBirth']),
|
|
43
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['phoneNumber']),
|
|
43
44
|
'faceMatch': json['faceMatch'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['faceMatch']),
|
|
44
45
|
'liveness': json['liveness'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['liveness']),
|
|
45
46
|
'imageAuthenticity': json['imageAuthenticity'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['imageAuthenticity']),
|
|
@@ -60,6 +61,7 @@ function MatchDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
60
61
|
'familyName': (0, Match_1.MatchToJSON)(value['familyName']),
|
|
61
62
|
'sex': (0, Match_1.MatchToJSON)(value['sex']),
|
|
62
63
|
'dateOfBirth': (0, Match_1.MatchToJSON)(value['dateOfBirth']),
|
|
64
|
+
'phoneNumber': (0, Match_1.MatchToJSON)(value['phoneNumber']),
|
|
63
65
|
'faceMatch': (0, Match_1.MatchToJSON)(value['faceMatch']),
|
|
64
66
|
'liveness': (0, Match_1.MatchToJSON)(value['liveness']),
|
|
65
67
|
'imageAuthenticity': (0, Match_1.MatchToJSON)(value['imageAuthenticity']),
|
|
@@ -0,0 +1,60 @@
|
|
|
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 { MdlOutputCertificateData } from './MdlOutputCertificateData';
|
|
13
|
+
import type { MdlOutputFieldData } from './MdlOutputFieldData';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface MdlOutput
|
|
18
|
+
*/
|
|
19
|
+
export interface MdlOutput {
|
|
20
|
+
/**
|
|
21
|
+
* Information about the IACA Root Certificate which signed (directly or indirectly) the Document Signer Certificate for this mDL.
|
|
22
|
+
* @type {MdlOutputCertificateData}
|
|
23
|
+
* @memberof MdlOutput
|
|
24
|
+
*/
|
|
25
|
+
iacaRootCertificate: MdlOutputCertificateData;
|
|
26
|
+
/**
|
|
27
|
+
* Information about the Document Signer Certificate which signed the mDL presented by the user.
|
|
28
|
+
* @type {MdlOutputCertificateData}
|
|
29
|
+
* @memberof MdlOutput
|
|
30
|
+
*/
|
|
31
|
+
documentSignerCertificate: MdlOutputCertificateData;
|
|
32
|
+
/**
|
|
33
|
+
* The document type of the mDL presented by the user.
|
|
34
|
+
*
|
|
35
|
+
* Common values:
|
|
36
|
+
* - "org.iso.18013.5.1.mDL" for ISO 18013-5 mDLs
|
|
37
|
+
* - "com.google.wallet.idcard.1" for Google Wallet ID Cards
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof MdlOutput
|
|
40
|
+
*/
|
|
41
|
+
documentType: string;
|
|
42
|
+
/**
|
|
43
|
+
* The namespaces, and fields within those namespaces, which were present in the processed mDL.
|
|
44
|
+
* @type {{ [key: string]: { [key: string]: MdlOutputFieldData; }; }}
|
|
45
|
+
* @memberof MdlOutput
|
|
46
|
+
*/
|
|
47
|
+
nameSpaces: {
|
|
48
|
+
[key: string]: {
|
|
49
|
+
[key: string]: MdlOutputFieldData;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the MdlOutput interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfMdlOutput(value: object): value is MdlOutput;
|
|
57
|
+
export declare function MdlOutputFromJSON(json: any): MdlOutput;
|
|
58
|
+
export declare function MdlOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MdlOutput;
|
|
59
|
+
export declare function MdlOutputToJSON(json: any): MdlOutput;
|
|
60
|
+
export declare function MdlOutputToJSONTyped(value?: MdlOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfMdlOutput = instanceOfMdlOutput;
|
|
17
|
+
exports.MdlOutputFromJSON = MdlOutputFromJSON;
|
|
18
|
+
exports.MdlOutputFromJSONTyped = MdlOutputFromJSONTyped;
|
|
19
|
+
exports.MdlOutputToJSON = MdlOutputToJSON;
|
|
20
|
+
exports.MdlOutputToJSONTyped = MdlOutputToJSONTyped;
|
|
21
|
+
const MdlOutputCertificateData_1 = require("./MdlOutputCertificateData");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the MdlOutput interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfMdlOutput(value) {
|
|
26
|
+
if (!('iacaRootCertificate' in value) || value['iacaRootCertificate'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('documentSignerCertificate' in value) || value['documentSignerCertificate'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('documentType' in value) || value['documentType'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('nameSpaces' in value) || value['nameSpaces'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function MdlOutputFromJSON(json) {
|
|
37
|
+
return MdlOutputFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function MdlOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'iacaRootCertificate': (0, MdlOutputCertificateData_1.MdlOutputCertificateDataFromJSON)(json['iacaRootCertificate']),
|
|
45
|
+
'documentSignerCertificate': (0, MdlOutputCertificateData_1.MdlOutputCertificateDataFromJSON)(json['documentSignerCertificate']),
|
|
46
|
+
'documentType': json['documentType'],
|
|
47
|
+
'nameSpaces': json['nameSpaces'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function MdlOutputToJSON(json) {
|
|
51
|
+
return MdlOutputToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function MdlOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'iacaRootCertificate': (0, MdlOutputCertificateData_1.MdlOutputCertificateDataToJSON)(value['iacaRootCertificate']),
|
|
59
|
+
'documentSignerCertificate': (0, MdlOutputCertificateData_1.MdlOutputCertificateDataToJSON)(value['documentSignerCertificate']),
|
|
60
|
+
'documentType': value['documentType'],
|
|
61
|
+
'nameSpaces': value['nameSpaces'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MdlOutputCertificateData
|
|
16
|
+
*/
|
|
17
|
+
export interface MdlOutputCertificateData {
|
|
18
|
+
/**
|
|
19
|
+
* The serial number of the certificate
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MdlOutputCertificateData
|
|
22
|
+
*/
|
|
23
|
+
serialNumber: string;
|
|
24
|
+
/**
|
|
25
|
+
* The common name (CN) of the certificate
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MdlOutputCertificateData
|
|
28
|
+
*/
|
|
29
|
+
commonName: string;
|
|
30
|
+
/**
|
|
31
|
+
* The stateOrProvinceName field from the signing certificate.
|
|
32
|
+
*
|
|
33
|
+
* Per the ISO 18013-5 (mDL) spec, this is an ISO 3166-2:2020 country subdivision code (e.g., "US-CA" for California, USA).
|
|
34
|
+
*
|
|
35
|
+
* May be an empty string for certificates which are not state-specific (e.g., Google Wallet's ID Pass certificates).
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof MdlOutputCertificateData
|
|
38
|
+
*/
|
|
39
|
+
stateOrProvinceName: string;
|
|
40
|
+
/**
|
|
41
|
+
* The date before which this certificate is not valid.
|
|
42
|
+
* @type {Date}
|
|
43
|
+
* @memberof MdlOutputCertificateData
|
|
44
|
+
*/
|
|
45
|
+
notBefore: Date;
|
|
46
|
+
/**
|
|
47
|
+
* The date after which this certificate is not valid.
|
|
48
|
+
* @type {Date}
|
|
49
|
+
* @memberof MdlOutputCertificateData
|
|
50
|
+
*/
|
|
51
|
+
notAfter: Date;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the MdlOutputCertificateData interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfMdlOutputCertificateData(value: object): value is MdlOutputCertificateData;
|
|
57
|
+
export declare function MdlOutputCertificateDataFromJSON(json: any): MdlOutputCertificateData;
|
|
58
|
+
export declare function MdlOutputCertificateDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): MdlOutputCertificateData;
|
|
59
|
+
export declare function MdlOutputCertificateDataToJSON(json: any): MdlOutputCertificateData;
|
|
60
|
+
export declare function MdlOutputCertificateDataToJSONTyped(value?: MdlOutputCertificateData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfMdlOutputCertificateData = instanceOfMdlOutputCertificateData;
|
|
17
|
+
exports.MdlOutputCertificateDataFromJSON = MdlOutputCertificateDataFromJSON;
|
|
18
|
+
exports.MdlOutputCertificateDataFromJSONTyped = MdlOutputCertificateDataFromJSONTyped;
|
|
19
|
+
exports.MdlOutputCertificateDataToJSON = MdlOutputCertificateDataToJSON;
|
|
20
|
+
exports.MdlOutputCertificateDataToJSONTyped = MdlOutputCertificateDataToJSONTyped;
|
|
21
21
|
/**
|
|
22
|
-
* Check if a given object implements the
|
|
22
|
+
* Check if a given object implements the MdlOutputCertificateData interface.
|
|
23
23
|
*/
|
|
24
|
-
function
|
|
24
|
+
function instanceOfMdlOutputCertificateData(value) {
|
|
25
25
|
if (!('serialNumber' in value) || value['serialNumber'] === undefined)
|
|
26
26
|
return false;
|
|
27
27
|
if (!('commonName' in value) || value['commonName'] === undefined)
|
|
@@ -34,10 +34,10 @@ function instanceOfMdlCertificateData(value) {
|
|
|
34
34
|
return false;
|
|
35
35
|
return true;
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
return
|
|
37
|
+
function MdlOutputCertificateDataFromJSON(json) {
|
|
38
|
+
return MdlOutputCertificateDataFromJSONTyped(json, false);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function MdlOutputCertificateDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
41
|
if (json == null) {
|
|
42
42
|
return json;
|
|
43
43
|
}
|
|
@@ -49,10 +49,10 @@ function MdlCertificateDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'notAfter': (new Date(json['notAfter'])),
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
return
|
|
52
|
+
function MdlOutputCertificateDataToJSON(json) {
|
|
53
|
+
return MdlOutputCertificateDataToJSONTyped(json, false);
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function MdlOutputCertificateDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
56
|
if (value == null) {
|
|
57
57
|
return value;
|
|
58
58
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { MdlOutputFieldDataType } from './MdlOutputFieldDataType';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MdlOutputFieldData
|
|
17
|
+
*/
|
|
18
|
+
export interface MdlOutputFieldData {
|
|
19
|
+
/**
|
|
20
|
+
* The type of data contained in `value`.
|
|
21
|
+
* @type {MdlOutputFieldDataType}
|
|
22
|
+
* @memberof MdlOutputFieldData
|
|
23
|
+
*/
|
|
24
|
+
type: MdlOutputFieldDataType;
|
|
25
|
+
/**
|
|
26
|
+
* The string-encoded value of the field.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof MdlOutputFieldData
|
|
29
|
+
*/
|
|
30
|
+
value: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the MdlOutputFieldData interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfMdlOutputFieldData(value: object): value is MdlOutputFieldData;
|
|
36
|
+
export declare function MdlOutputFieldDataFromJSON(json: any): MdlOutputFieldData;
|
|
37
|
+
export declare function MdlOutputFieldDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): MdlOutputFieldData;
|
|
38
|
+
export declare function MdlOutputFieldDataToJSON(json: any): MdlOutputFieldData;
|
|
39
|
+
export declare function MdlOutputFieldDataToJSONTyped(value?: MdlOutputFieldData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfMdlOutputFieldData = instanceOfMdlOutputFieldData;
|
|
17
|
+
exports.MdlOutputFieldDataFromJSON = MdlOutputFieldDataFromJSON;
|
|
18
|
+
exports.MdlOutputFieldDataFromJSONTyped = MdlOutputFieldDataFromJSONTyped;
|
|
19
|
+
exports.MdlOutputFieldDataToJSON = MdlOutputFieldDataToJSON;
|
|
20
|
+
exports.MdlOutputFieldDataToJSONTyped = MdlOutputFieldDataToJSONTyped;
|
|
21
|
+
const MdlOutputFieldDataType_1 = require("./MdlOutputFieldDataType");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the MdlOutputFieldData interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfMdlOutputFieldData(value) {
|
|
26
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function MdlOutputFieldDataFromJSON(json) {
|
|
33
|
+
return MdlOutputFieldDataFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function MdlOutputFieldDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'type': (0, MdlOutputFieldDataType_1.MdlOutputFieldDataTypeFromJSON)(json['type']),
|
|
41
|
+
'value': json['value'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function MdlOutputFieldDataToJSON(json) {
|
|
45
|
+
return MdlOutputFieldDataToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function MdlOutputFieldDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'type': (0, MdlOutputFieldDataType_1.MdlOutputFieldDataTypeToJSON)(value['type']),
|
|
53
|
+
'value': value['value'],
|
|
54
|
+
};
|
|
55
|
+
}
|