@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
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const NigeriaNinMatch2InputSex: {
|
|
17
|
+
readonly Male: "Male";
|
|
18
|
+
readonly Female: "Female";
|
|
19
|
+
};
|
|
20
|
+
export type NigeriaNinMatch2InputSex = typeof NigeriaNinMatch2InputSex[keyof typeof NigeriaNinMatch2InputSex];
|
|
21
|
+
export declare function instanceOfNigeriaNinMatch2InputSex(value: any): boolean;
|
|
22
|
+
export declare function NigeriaNinMatch2InputSexFromJSON(json: any): NigeriaNinMatch2InputSex;
|
|
23
|
+
export declare function NigeriaNinMatch2InputSexFromJSONTyped(json: any, ignoreDiscriminator: boolean): NigeriaNinMatch2InputSex;
|
|
24
|
+
export declare function NigeriaNinMatch2InputSexToJSON(value?: NigeriaNinMatch2InputSex | null): any;
|
|
25
|
+
export declare function NigeriaNinMatch2InputSexToJSONTyped(value: any, ignoreDiscriminator: boolean): NigeriaNinMatch2InputSex;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const NigeriaNinMatch2InputSex = {
|
|
19
|
+
Male: 'Male',
|
|
20
|
+
Female: 'Female'
|
|
21
|
+
};
|
|
22
|
+
export function instanceOfNigeriaNinMatch2InputSex(value) {
|
|
23
|
+
for (const key in NigeriaNinMatch2InputSex) {
|
|
24
|
+
if (Object.prototype.hasOwnProperty.call(NigeriaNinMatch2InputSex, key)) {
|
|
25
|
+
if (NigeriaNinMatch2InputSex[key] === value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
export function NigeriaNinMatch2InputSexFromJSON(json) {
|
|
33
|
+
return NigeriaNinMatch2InputSexFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function NigeriaNinMatch2InputSexFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
export function NigeriaNinMatch2InputSexToJSON(value) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
export function NigeriaNinMatch2InputSexToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
@@ -12,37 +12,39 @@
|
|
|
12
12
|
import type { Address } from './Address';
|
|
13
13
|
import type { Sex } from './Sex';
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Identity information for the individual being verified
|
|
16
16
|
* @export
|
|
17
17
|
* @interface PersonData
|
|
18
18
|
*/
|
|
19
19
|
export interface PersonData {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Given (first) name of the individual
|
|
22
22
|
* @type {string}
|
|
23
23
|
* @memberof PersonData
|
|
24
24
|
*/
|
|
25
25
|
givenName?: string | null;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Family (last) name of the individual
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof PersonData
|
|
30
30
|
*/
|
|
31
31
|
familyName?: string | null;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Middle name of the individual
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof PersonData
|
|
36
36
|
*/
|
|
37
37
|
middleName?: string | null;
|
|
38
38
|
/**
|
|
39
|
+
* The individual's full name as a single string.
|
|
39
40
|
*
|
|
41
|
+
* Useful for names which do not fit into a "first middle last" structure.
|
|
40
42
|
* @type {string}
|
|
41
43
|
* @memberof PersonData
|
|
42
44
|
*/
|
|
43
45
|
fullName?: string | null;
|
|
44
46
|
/**
|
|
45
|
-
*
|
|
47
|
+
* Suffix of the individual's name
|
|
46
48
|
* @type {string}
|
|
47
49
|
* @memberof PersonData
|
|
48
50
|
*/
|
|
@@ -66,7 +68,7 @@ export interface PersonData {
|
|
|
66
68
|
*/
|
|
67
69
|
phoneNumber?: string | null;
|
|
68
70
|
/**
|
|
69
|
-
*
|
|
71
|
+
* Address information for an individual
|
|
70
72
|
* @type {Address}
|
|
71
73
|
* @memberof PersonData
|
|
72
74
|
*/
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Not a typical address. Does not include street or city. Instead, includes region, province and district.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PeruDniAddress
|
|
16
|
+
*/
|
|
17
|
+
export interface PeruDniAddress {
|
|
18
|
+
/**
|
|
19
|
+
* Region in Peru (also known as department). This is the first level subdivision in the country.
|
|
20
|
+
*
|
|
21
|
+
* Format:
|
|
22
|
+
* - All uppercase.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof PeruDniAddress
|
|
25
|
+
*/
|
|
26
|
+
region: string;
|
|
27
|
+
/**
|
|
28
|
+
* Province within the region. This is the second level subdivision in the country.
|
|
29
|
+
*
|
|
30
|
+
* Format:
|
|
31
|
+
* - All uppercase.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PeruDniAddress
|
|
34
|
+
*/
|
|
35
|
+
province: string;
|
|
36
|
+
/**
|
|
37
|
+
* District within the province. This is the third level subdivision in the country.
|
|
38
|
+
*
|
|
39
|
+
* Format:
|
|
40
|
+
* - All uppercase.
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof PeruDniAddress
|
|
43
|
+
*/
|
|
44
|
+
district: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the PeruDniAddress interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfPeruDniAddress(value: object): value is PeruDniAddress;
|
|
50
|
+
export declare function PeruDniAddressFromJSON(json: any): PeruDniAddress;
|
|
51
|
+
export declare function PeruDniAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): PeruDniAddress;
|
|
52
|
+
export declare function PeruDniAddressToJSON(json: any): PeruDniAddress;
|
|
53
|
+
export declare function PeruDniAddressToJSONTyped(value?: PeruDniAddress | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* Check if a given object implements the PeruDniAddress interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPeruDniAddress(value) {
|
|
18
|
+
if (!('region' in value) || value['region'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('province' in value) || value['province'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('district' in value) || value['district'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function PeruDniAddressFromJSON(json) {
|
|
27
|
+
return PeruDniAddressFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function PeruDniAddressFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'region': json['region'],
|
|
35
|
+
'province': json['province'],
|
|
36
|
+
'district': json['district'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function PeruDniAddressToJSON(json) {
|
|
40
|
+
return PeruDniAddressToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function PeruDniAddressToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'region': value['region'],
|
|
48
|
+
'province': value['province'],
|
|
49
|
+
'district': value['district'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 PeruDniLookupInput
|
|
16
|
+
*/
|
|
17
|
+
export interface PeruDniLookupInput {
|
|
18
|
+
/**
|
|
19
|
+
* The user's DNI number (8 digits).
|
|
20
|
+
*
|
|
21
|
+
* Format:
|
|
22
|
+
* - Must not include verification digit. On the DNI card, a ninth digit appears after the first eight, with value
|
|
23
|
+
* 0-9 or A-K. This is not included in the DNI number when verifying against Peru's database.
|
|
24
|
+
* - Peru DNI is sometimes represented with dots. Though uncommon, if dots are included, they will be sanitized.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PeruDniLookupInput
|
|
27
|
+
*/
|
|
28
|
+
documentNumber?: string | null;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the PeruDniLookupInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export declare function instanceOfPeruDniLookupInput(value: object): value is PeruDniLookupInput;
|
|
34
|
+
export declare function PeruDniLookupInputFromJSON(json: any): PeruDniLookupInput;
|
|
35
|
+
export declare function PeruDniLookupInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PeruDniLookupInput;
|
|
36
|
+
export declare function PeruDniLookupInputToJSON(json: any): PeruDniLookupInput;
|
|
37
|
+
export declare function PeruDniLookupInputToJSONTyped(value?: PeruDniLookupInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
* Check if a given object implements the PeruDniLookupInput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPeruDniLookupInput(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PeruDniLookupInputFromJSON(json) {
|
|
21
|
+
return PeruDniLookupInputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PeruDniLookupInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'documentNumber': json['documentNumber'] == null ? undefined : json['documentNumber'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function PeruDniLookupInputToJSON(json) {
|
|
32
|
+
return PeruDniLookupInputToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function PeruDniLookupInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'documentNumber': value['documentNumber'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,213 @@
|
|
|
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 { PeruDniAddress } from './PeruDniAddress';
|
|
13
|
+
/**
|
|
14
|
+
* Exposed properties for the `peru-dni-lookup` Provider which do not directly map to the normalized IdentityData model.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PeruDniProviderOutput
|
|
17
|
+
*/
|
|
18
|
+
export interface PeruDniProviderOutput {
|
|
19
|
+
/**
|
|
20
|
+
* Information about the general area in which the DNI holder resides.
|
|
21
|
+
*
|
|
22
|
+
* This field is not always available.
|
|
23
|
+
* @type {PeruDniAddress}
|
|
24
|
+
* @memberof PeruDniProviderOutput
|
|
25
|
+
*/
|
|
26
|
+
address?: PeruDniAddress | null;
|
|
27
|
+
/**
|
|
28
|
+
* All names that appear on DNI, as an array of strings.
|
|
29
|
+
*
|
|
30
|
+
* Format:
|
|
31
|
+
* - All uppercase
|
|
32
|
+
* - Ordered by paternal family name, then maternal family name, then given names.
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof PeruDniProviderOutput
|
|
35
|
+
*/
|
|
36
|
+
arrayName: Array<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Marital status as it appears on the DNI.
|
|
39
|
+
*
|
|
40
|
+
* This field is not always available.
|
|
41
|
+
*
|
|
42
|
+
* Valid values:
|
|
43
|
+
* - "Single"
|
|
44
|
+
* - "Married"
|
|
45
|
+
* - "Divorced"
|
|
46
|
+
* - "Widowed"
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof PeruDniProviderOutput
|
|
49
|
+
*/
|
|
50
|
+
civilStatus?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* Date of birth as it appears on the DNI.
|
|
53
|
+
*
|
|
54
|
+
* This field is not always available.
|
|
55
|
+
* @type {Date}
|
|
56
|
+
* @memberof PeruDniProviderOutput
|
|
57
|
+
*/
|
|
58
|
+
dateOfBirth?: Date | null;
|
|
59
|
+
/**
|
|
60
|
+
* The user's National Identity Document number (Documento Nacional de Identidad or DNI).
|
|
61
|
+
*
|
|
62
|
+
* Format:
|
|
63
|
+
* - 8 digits
|
|
64
|
+
* - Does NOT include verification digit. On the DNI card, a ninth digit appears next to the first eight. It is
|
|
65
|
+
* 0-9 or A-K. This is NOT included in the DNI number when returned from Peru's database.
|
|
66
|
+
* - Does NOT include dots or hyphens
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof PeruDniProviderOutput
|
|
69
|
+
*/
|
|
70
|
+
documentNumber: string;
|
|
71
|
+
/**
|
|
72
|
+
* Should always be "DNI".
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof PeruDniProviderOutput
|
|
75
|
+
*/
|
|
76
|
+
documentType: string;
|
|
77
|
+
/**
|
|
78
|
+
* Date that the DNI was issued.
|
|
79
|
+
*
|
|
80
|
+
* This field is not always available.
|
|
81
|
+
*
|
|
82
|
+
* Format:
|
|
83
|
+
* - yyyy-MM-dd
|
|
84
|
+
* @type {Date}
|
|
85
|
+
* @memberof PeruDniProviderOutput
|
|
86
|
+
*/
|
|
87
|
+
expeditionDate?: Date | null;
|
|
88
|
+
/**
|
|
89
|
+
* Date that the DNI will expire. DNI expires every 8 years, unless the citizen is >= 60 years old, in which case
|
|
90
|
+
* it never expires.
|
|
91
|
+
*
|
|
92
|
+
* This field is not always available.
|
|
93
|
+
*
|
|
94
|
+
* Format:
|
|
95
|
+
* - yyyy-MM-dd
|
|
96
|
+
* @type {Date}
|
|
97
|
+
* @memberof PeruDniProviderOutput
|
|
98
|
+
*/
|
|
99
|
+
expirationDate?: Date | null;
|
|
100
|
+
/**
|
|
101
|
+
* Given names as they appear on DNI.
|
|
102
|
+
*
|
|
103
|
+
* Format:
|
|
104
|
+
* - All uppercase
|
|
105
|
+
* - Space-separated
|
|
106
|
+
* - Will include all given names
|
|
107
|
+
* @type {string}
|
|
108
|
+
* @memberof PeruDniProviderOutput
|
|
109
|
+
*/
|
|
110
|
+
firstName: string;
|
|
111
|
+
/**
|
|
112
|
+
* All names as they appear on DNI.
|
|
113
|
+
*
|
|
114
|
+
* Format:
|
|
115
|
+
* - All uppercase
|
|
116
|
+
* - Space-separated
|
|
117
|
+
* - Will include all names, given and family
|
|
118
|
+
* - Ordered by given names first, then paternal family name, then maternal family name
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof PeruDniProviderOutput
|
|
121
|
+
*/
|
|
122
|
+
fullName: string;
|
|
123
|
+
/**
|
|
124
|
+
* Family names as they appear on DNI.
|
|
125
|
+
*
|
|
126
|
+
* Format:
|
|
127
|
+
* - All uppercase
|
|
128
|
+
* - Will include all family names
|
|
129
|
+
* - Ordered by paternal family name first, then maternal family name
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof PeruDniProviderOutput
|
|
132
|
+
*/
|
|
133
|
+
lastName: string;
|
|
134
|
+
/**
|
|
135
|
+
* Maternal last name as it appears on DNI.
|
|
136
|
+
*
|
|
137
|
+
* Format:
|
|
138
|
+
* - All uppercase
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof PeruDniProviderOutput
|
|
141
|
+
*/
|
|
142
|
+
maternalLastName: string;
|
|
143
|
+
/**
|
|
144
|
+
* Paternal last name as it appears on DNI.
|
|
145
|
+
*
|
|
146
|
+
* Format:
|
|
147
|
+
* - All uppercase
|
|
148
|
+
* @type {string}
|
|
149
|
+
* @memberof PeruDniProviderOutput
|
|
150
|
+
*/
|
|
151
|
+
paternalLastName: string;
|
|
152
|
+
/**
|
|
153
|
+
* Sex as it appears on DNI.
|
|
154
|
+
*
|
|
155
|
+
* This field is not always available.
|
|
156
|
+
*
|
|
157
|
+
* Values:
|
|
158
|
+
* - "Male"
|
|
159
|
+
* - "Female"
|
|
160
|
+
* @type {string}
|
|
161
|
+
* @memberof PeruDniProviderOutput
|
|
162
|
+
*/
|
|
163
|
+
sex?: string | null;
|
|
164
|
+
/**
|
|
165
|
+
* In Peru, geographical locations have an official geographical code called UBIGEO, from the spanish "UBIcación
|
|
166
|
+
* GEOgráfica" (Geographic Location). This is an administrative geocode, is different from a postal code (which
|
|
167
|
+
* Peru also has) and is used to specifically delineate the administrative region, province and district hierarchy.
|
|
168
|
+
*
|
|
169
|
+
* There are two coding systems for UBIGEO: one from INEI (National Institute of Statistics and Informatics) and
|
|
170
|
+
* another from RENIEC (National Registry of Identification and Civil Status). The two coding systems are similar
|
|
171
|
+
* but are not 100% the same (some numbers will map to different geographic locations). This field follows the
|
|
172
|
+
* coding system from RENIEC.
|
|
173
|
+
*
|
|
174
|
+
* This field is not always available.
|
|
175
|
+
*
|
|
176
|
+
* Format:
|
|
177
|
+
* - Always 6 digits
|
|
178
|
+
* - First two digits represent region
|
|
179
|
+
* - Middle two are province
|
|
180
|
+
* - Last two are district
|
|
181
|
+
*
|
|
182
|
+
* Given the example 081304, that would correspond to:
|
|
183
|
+
* - 08 - Cusco Region
|
|
184
|
+
* - 0813 - Urubamba Province
|
|
185
|
+
* - 081304 - Machupicchu District
|
|
186
|
+
* @type {string}
|
|
187
|
+
* @memberof PeruDniProviderOutput
|
|
188
|
+
*/
|
|
189
|
+
ubigeoReniec?: string | null;
|
|
190
|
+
/**
|
|
191
|
+
* The final (ninth) digit of the DNI, which serves as a checksum over the first eight digits.
|
|
192
|
+
*
|
|
193
|
+
* This field is not always available.
|
|
194
|
+
*
|
|
195
|
+
* Format:
|
|
196
|
+
* - Single character
|
|
197
|
+
* - Either 0-9 or A-K
|
|
198
|
+
*
|
|
199
|
+
* Read more here:
|
|
200
|
+
* https://elcomercio.pe/mag/respuestas/cual-es-el-digito-verificador-de-mi-dni-documento-nacional-de-identidad-reniec-peru-nnda-nnlt-noticia/
|
|
201
|
+
* @type {string}
|
|
202
|
+
* @memberof PeruDniProviderOutput
|
|
203
|
+
*/
|
|
204
|
+
verificationDigit?: string | null;
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Check if a given object implements the PeruDniProviderOutput interface.
|
|
208
|
+
*/
|
|
209
|
+
export declare function instanceOfPeruDniProviderOutput(value: object): value is PeruDniProviderOutput;
|
|
210
|
+
export declare function PeruDniProviderOutputFromJSON(json: any): PeruDniProviderOutput;
|
|
211
|
+
export declare function PeruDniProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PeruDniProviderOutput;
|
|
212
|
+
export declare function PeruDniProviderOutputToJSON(json: any): PeruDniProviderOutput;
|
|
213
|
+
export declare function PeruDniProviderOutputToJSONTyped(value?: PeruDniProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,88 @@
|
|
|
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
|
+
import { PeruDniAddressFromJSON, PeruDniAddressToJSON, } from './PeruDniAddress';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PeruDniProviderOutput interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPeruDniProviderOutput(value) {
|
|
19
|
+
if (!('arrayName' in value) || value['arrayName'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('documentNumber' in value) || value['documentNumber'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('documentType' in value) || value['documentType'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('fullName' in value) || value['fullName'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('maternalLastName' in value) || value['maternalLastName'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('paternalLastName' in value) || value['paternalLastName'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
export function PeruDniProviderOutputFromJSON(json) {
|
|
38
|
+
return PeruDniProviderOutputFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function PeruDniProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'address': json['address'] == null ? undefined : PeruDniAddressFromJSON(json['address']),
|
|
46
|
+
'arrayName': json['arrayName'],
|
|
47
|
+
'civilStatus': json['civilStatus'] == null ? undefined : json['civilStatus'],
|
|
48
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
49
|
+
'documentNumber': json['documentNumber'],
|
|
50
|
+
'documentType': json['documentType'],
|
|
51
|
+
'expeditionDate': json['expeditionDate'] == null ? undefined : (new Date(json['expeditionDate'])),
|
|
52
|
+
'expirationDate': json['expirationDate'] == null ? undefined : (new Date(json['expirationDate'])),
|
|
53
|
+
'firstName': json['firstName'],
|
|
54
|
+
'fullName': json['fullName'],
|
|
55
|
+
'lastName': json['lastName'],
|
|
56
|
+
'maternalLastName': json['maternalLastName'],
|
|
57
|
+
'paternalLastName': json['paternalLastName'],
|
|
58
|
+
'sex': json['sex'] == null ? undefined : json['sex'],
|
|
59
|
+
'ubigeoReniec': json['ubigeoReniec'] == null ? undefined : json['ubigeoReniec'],
|
|
60
|
+
'verificationDigit': json['verificationDigit'] == null ? undefined : json['verificationDigit'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
export function PeruDniProviderOutputToJSON(json) {
|
|
64
|
+
return PeruDniProviderOutputToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
export function PeruDniProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'address': PeruDniAddressToJSON(value['address']),
|
|
72
|
+
'arrayName': value['arrayName'],
|
|
73
|
+
'civilStatus': value['civilStatus'],
|
|
74
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
|
|
75
|
+
'documentNumber': value['documentNumber'],
|
|
76
|
+
'documentType': value['documentType'],
|
|
77
|
+
'expeditionDate': value['expeditionDate'] == null ? undefined : (value['expeditionDate'].toISOString().substring(0, 10)),
|
|
78
|
+
'expirationDate': value['expirationDate'] == null ? undefined : (value['expirationDate'].toISOString().substring(0, 10)),
|
|
79
|
+
'firstName': value['firstName'],
|
|
80
|
+
'fullName': value['fullName'],
|
|
81
|
+
'lastName': value['lastName'],
|
|
82
|
+
'maternalLastName': value['maternalLastName'],
|
|
83
|
+
'paternalLastName': value['paternalLastName'],
|
|
84
|
+
'sex': value['sex'],
|
|
85
|
+
'ubigeoReniec': value['ubigeoReniec'],
|
|
86
|
+
'verificationDigit': value['verificationDigit'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
* Exposed properties for the `philippines-digital-national-id-qr` Provider which do not directly map to the normalized IdentityData model.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PhilippinesDigitalNidProviderOutput
|
|
16
|
+
*/
|
|
17
|
+
export interface PhilippinesDigitalNidProviderOutput {
|
|
18
|
+
/**
|
|
19
|
+
* The PhilSys Card Number (PCN). Every citizen or resident alien registered in PhilSys has a PhilSys Number (PSN). This number is tokenized into a card number to protect the PSN.
|
|
20
|
+
* The PhilSys Card Number is 12 characters long, and often is written in octets with dashes in between.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
23
|
+
*/
|
|
24
|
+
philsysCardNumber: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the PhilippinesDigitalNidProviderOutput interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfPhilippinesDigitalNidProviderOutput(value: object): value is PhilippinesDigitalNidProviderOutput;
|
|
30
|
+
export declare function PhilippinesDigitalNidProviderOutputFromJSON(json: any): PhilippinesDigitalNidProviderOutput;
|
|
31
|
+
export declare function PhilippinesDigitalNidProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhilippinesDigitalNidProviderOutput;
|
|
32
|
+
export declare function PhilippinesDigitalNidProviderOutputToJSON(json: any): PhilippinesDigitalNidProviderOutput;
|
|
33
|
+
export declare function PhilippinesDigitalNidProviderOutputToJSONTyped(value?: PhilippinesDigitalNidProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
* Check if a given object implements the PhilippinesDigitalNidProviderOutput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPhilippinesDigitalNidProviderOutput(value) {
|
|
18
|
+
if (!('philsysCardNumber' in value) || value['philsysCardNumber'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function PhilippinesDigitalNidProviderOutputFromJSON(json) {
|
|
23
|
+
return PhilippinesDigitalNidProviderOutputFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function PhilippinesDigitalNidProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'philsysCardNumber': json['philsysCardNumber'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function PhilippinesDigitalNidProviderOutputToJSON(json) {
|
|
34
|
+
return PhilippinesDigitalNidProviderOutputToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PhilippinesDigitalNidProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'philsysCardNumber': value['philsysCardNumber'],
|
|
42
|
+
};
|
|
43
|
+
}
|