trinsic_api 3.3.0.pre.alpha4 → 3.3.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.
- checksums.yaml +4 -4
- data/docs/AadhaarDocumentOutput.md +28 -0
- data/docs/BrazilCnhProviderOutput.md +4 -0
- data/docs/BrazilCpfProviderOutput.md +0 -2
- data/docs/ChinaResidentIdMatchOutput.md +7 -1
- data/docs/CoteDIvoireNidLookup2ProviderOutput.md +4 -0
- data/docs/CzechBankIdProviderOutput.md +2 -2
- data/docs/CzechMojeIdProviderOutput.md +2 -0
- data/docs/DigidentityAddressOutput.md +22 -0
- data/docs/DigidentityProviderOutput.md +40 -0
- data/docs/DigilockerAadhaarProviderOutput.md +5 -1
- data/docs/ElSalvadorDuiProviderOutput.md +2 -2
- data/docs/FinnishTrustNetworkAddressOutput.md +3 -1
- data/docs/FinnishTrustNetworkProviderOutput.md +1 -1
- data/docs/{SignzyIndiaAadhaarFetchProviderOutput.md → IndiaDigilockerAadhaarFetchProviderOutput.md} +6 -2
- data/docs/IndonesiaDukcapilMatchProviderOutput.md +6 -0
- data/docs/ItsmeProviderOutput.md +2 -0
- data/docs/KenyaNidLookup2ProviderOutput.md +4 -0
- data/docs/KoreaTelcoMatchProviderOutput.md +6 -0
- data/docs/NigeriaNinLookup2ProviderOutput.md +4 -0
- data/docs/PhilippinesPhysicalNidProviderOutput.md +5 -1
- data/docs/PolandMobywatelMatchProviderOutput.md +4 -0
- data/docs/Provider.md +6 -2
- data/docs/ProviderInput.md +0 -12
- data/docs/ProviderOutput.md +9 -29
- data/docs/RecommendProviderInformation.md +6 -2
- data/docs/SouthAfricaNidLookup2ProviderOutput.md +2 -0
- data/docs/SubProviderMetadata.md +6 -4
- data/docs/SubmitNativeChallengeResponseRequest.md +1 -1
- data/docs/ZimbabweNidLookup2ProviderOutput.md +2 -0
- data/lib/trinsic_api/api_client.rb +1 -1
- data/lib/trinsic_api/models/{belgium_id_card_provider_output.rb → aadhaar_document_output.rb} +52 -30
- data/lib/trinsic_api/models/brazil_cnh_provider_output.rb +23 -1
- data/lib/trinsic_api/models/brazil_cpf_provider_output.rb +1 -12
- data/lib/trinsic_api/models/china_resident_id_match_output.rb +38 -5
- data/lib/trinsic_api/models/cote_d_ivoire_nid_lookup2_provider_output.rb +23 -1
- data/lib/trinsic_api/models/czech_bank_id_provider_output.rb +2 -2
- data/lib/trinsic_api/models/czech_moje_id_provider_output.rb +12 -1
- data/lib/trinsic_api/models/{nigeria_nin_match2_sex_field.rb → digidentity_address_output.rb} +31 -20
- data/lib/trinsic_api/models/{nigeria_nin_match2_input.rb → digidentity_provider_output.rb} +101 -67
- data/lib/trinsic_api/models/digilocker_aadhaar_provider_output.rb +27 -5
- data/lib/trinsic_api/models/el_salvador_dui_provider_output.rb +2 -2
- data/lib/trinsic_api/models/finnish_trust_network_address_output.rb +16 -5
- data/lib/trinsic_api/models/{signzy_india_aadhaar_fetch_provider_output.rb → india_digilocker_aadhaar_fetch_provider_output.rb} +26 -4
- data/lib/trinsic_api/models/indonesia_dukcapil_match_provider_output.rb +34 -1
- data/lib/trinsic_api/models/itsme_provider_output.rb +12 -1
- data/lib/trinsic_api/models/kenya_nid_lookup2_provider_output.rb +23 -1
- data/lib/trinsic_api/models/korea_telco_match_provider_output.rb +34 -1
- data/lib/trinsic_api/models/nigeria_nin_lookup2_provider_output.rb +23 -1
- data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +27 -5
- data/lib/trinsic_api/models/poland_mobywatel_match_provider_output.rb +23 -1
- data/lib/trinsic_api/models/provider.rb +71 -17
- data/lib/trinsic_api/models/provider_input.rb +1 -67
- data/lib/trinsic_api/models/provider_output.rb +46 -156
- data/lib/trinsic_api/models/recommend_provider_information.rb +71 -17
- data/lib/trinsic_api/models/south_africa_nid_lookup2_provider_output.rb +12 -1
- data/lib/trinsic_api/models/sub_provider_metadata.rb +68 -25
- data/lib/trinsic_api/models/submit_native_challenge_response_request.rb +1 -1
- data/lib/trinsic_api/models/zimbabwe_nid_lookup2_provider_output.rb +12 -1
- data/lib/trinsic_api/version.rb +1 -1
- data/lib/trinsic_api.rb +4 -37
- data/spec/models/{kenya_nid_input_spec.rb → aadhaar_document_output_spec.rb} +12 -12
- data/spec/models/brazil_cnh_provider_output_spec.rb +12 -0
- data/spec/models/brazil_cpf_provider_output_spec.rb +0 -6
- data/spec/models/china_resident_id_match_output_spec.rb +18 -0
- data/spec/models/cote_d_ivoire_nid_lookup2_provider_output_spec.rb +12 -0
- data/spec/models/czech_moje_id_provider_output_spec.rb +6 -0
- data/spec/models/{latvia_eparaksts_provider_output_spec.rb → digidentity_address_output_spec.rb} +9 -9
- data/spec/models/{yoti_deeplink_provider_output_spec.rb → digidentity_provider_output_spec.rb} +18 -18
- data/spec/models/digilocker_aadhaar_provider_output_spec.rb +12 -0
- data/spec/models/finnish_trust_network_address_output_spec.rb +6 -0
- data/spec/models/{signzy_india_aadhaar_fetch_provider_output_spec.rb → india_digilocker_aadhaar_fetch_provider_output_spec.rb} +18 -6
- data/spec/models/indonesia_dukcapil_match_provider_output_spec.rb +18 -0
- data/spec/models/itsme_provider_output_spec.rb +6 -0
- data/spec/models/kenya_nid_lookup2_provider_output_spec.rb +12 -0
- data/spec/models/korea_telco_match_provider_output_spec.rb +18 -0
- data/spec/models/nigeria_nin_lookup2_provider_output_spec.rb +12 -0
- data/spec/models/philippines_physical_nid_provider_output_spec.rb +12 -0
- data/spec/models/poland_mobywatel_match_provider_output_spec.rb +12 -0
- data/spec/models/provider_input_spec.rb +0 -36
- data/spec/models/provider_output_spec.rb +21 -81
- data/spec/models/provider_spec.rb +13 -1
- data/spec/models/recommend_provider_information_spec.rb +13 -1
- data/spec/models/south_africa_nid_lookup2_provider_output_spec.rb +6 -0
- data/spec/models/sub_provider_metadata_spec.rb +8 -2
- data/spec/models/zimbabwe_nid_lookup2_provider_output_spec.rb +6 -0
- metadata +293 -425
- data/docs/BelgiumIdCardProviderOutput.md +0 -24
- data/docs/CzechiaMojeIdProviderOutput.md +0 -24
- data/docs/EstoniaIdCardProviderOutput.md +0 -24
- data/docs/FinlandIdCardProviderOutput.md +0 -24
- data/docs/FrejaIndirectProviderOutput.md +0 -24
- data/docs/KenyaNidInput.md +0 -28
- data/docs/KenyaNidMatch2DateOfBirthField.md +0 -20
- data/docs/KenyaNidMatch2FullNameField.md +0 -20
- data/docs/KenyaNidMatch2Input.md +0 -28
- data/docs/KenyaNidMatch2InputSex.md +0 -15
- data/docs/KenyaNidMatch2NationalIdNumberField.md +0 -20
- data/docs/KenyaNidMatch2ProviderOutput.md +0 -24
- data/docs/KenyaNidMatch2SexField.md +0 -20
- data/docs/LatviaEparakstsProviderOutput.md +0 -22
- data/docs/LithuaniaIdCardProviderOutput.md +0 -24
- data/docs/LloydsSmartIdProviderOutput.md +0 -40
- data/docs/NigeriaNinInput.md +0 -30
- data/docs/NigeriaNinMatch2DateOfBirthField.md +0 -20
- data/docs/NigeriaNinMatch2FullNameField.md +0 -20
- data/docs/NigeriaNinMatch2Input.md +0 -30
- data/docs/NigeriaNinMatch2InputSex.md +0 -15
- data/docs/NigeriaNinMatch2NationalIdNumberField.md +0 -20
- data/docs/NigeriaNinMatch2PhoneNumberField.md +0 -20
- data/docs/NigeriaNinMatch2ProviderOutput.md +0 -26
- data/docs/NigeriaNinMatch2SexField.md +0 -20
- data/docs/PortugalIdCardProviderOutput.md +0 -24
- data/docs/SerbiaIdCardProviderOutput.md +0 -24
- data/docs/SouthAfricaNidInput.md +0 -24
- data/docs/SouthAfricaNidMatch2DateOfBirthField.md +0 -20
- data/docs/SouthAfricaNidMatch2FullNameField.md +0 -20
- data/docs/SouthAfricaNidMatch2Input.md +0 -28
- data/docs/SouthAfricaNidMatch2InputSex.md +0 -15
- data/docs/SouthAfricaNidMatch2NationalIdNumberField.md +0 -20
- data/docs/SouthAfricaNidMatch2ProviderOutput.md +0 -26
- data/docs/SouthAfricaNidMatch2SexField.md +0 -20
- data/docs/YotiDeeplinkProviderOutput.md +0 -40
- data/lib/trinsic_api/models/czechia_moje_id_provider_output.rb +0 -196
- data/lib/trinsic_api/models/estonia_id_card_provider_output.rb +0 -196
- data/lib/trinsic_api/models/finland_id_card_provider_output.rb +0 -196
- data/lib/trinsic_api/models/freja_indirect_provider_output.rb +0 -196
- data/lib/trinsic_api/models/kenya_nid_input.rb +0 -353
- data/lib/trinsic_api/models/kenya_nid_match2_date_of_birth_field.rb +0 -173
- data/lib/trinsic_api/models/kenya_nid_match2_full_name_field.rb +0 -173
- data/lib/trinsic_api/models/kenya_nid_match2_input.rb +0 -239
- data/lib/trinsic_api/models/kenya_nid_match2_input_sex.rb +0 -41
- data/lib/trinsic_api/models/kenya_nid_match2_national_id_number_field.rb +0 -173
- data/lib/trinsic_api/models/kenya_nid_match2_provider_output.rb +0 -196
- data/lib/trinsic_api/models/kenya_nid_match2_sex_field.rb +0 -173
- data/lib/trinsic_api/models/latvia_eparaksts_provider_output.rb +0 -185
- data/lib/trinsic_api/models/lithuania_id_card_provider_output.rb +0 -196
- data/lib/trinsic_api/models/lloyds_smart_id_provider_output.rb +0 -284
- data/lib/trinsic_api/models/nigeria_nin_input.rb +0 -339
- data/lib/trinsic_api/models/nigeria_nin_match2_date_of_birth_field.rb +0 -173
- data/lib/trinsic_api/models/nigeria_nin_match2_full_name_field.rb +0 -173
- data/lib/trinsic_api/models/nigeria_nin_match2_input_sex.rb +0 -41
- data/lib/trinsic_api/models/nigeria_nin_match2_national_id_number_field.rb +0 -173
- data/lib/trinsic_api/models/nigeria_nin_match2_phone_number_field.rb +0 -173
- data/lib/trinsic_api/models/nigeria_nin_match2_provider_output.rb +0 -207
- data/lib/trinsic_api/models/portugal_id_card_provider_output.rb +0 -196
- data/lib/trinsic_api/models/serbia_id_card_provider_output.rb +0 -196
- data/lib/trinsic_api/models/south_africa_nid_input.rb +0 -306
- data/lib/trinsic_api/models/south_africa_nid_match2_date_of_birth_field.rb +0 -173
- data/lib/trinsic_api/models/south_africa_nid_match2_full_name_field.rb +0 -173
- data/lib/trinsic_api/models/south_africa_nid_match2_input.rb +0 -239
- data/lib/trinsic_api/models/south_africa_nid_match2_input_sex.rb +0 -41
- data/lib/trinsic_api/models/south_africa_nid_match2_national_id_number_field.rb +0 -173
- data/lib/trinsic_api/models/south_africa_nid_match2_provider_output.rb +0 -207
- data/lib/trinsic_api/models/south_africa_nid_match2_sex_field.rb +0 -173
- data/lib/trinsic_api/models/yoti_deeplink_provider_output.rb +0 -284
- data/spec/models/belgium_id_card_provider_output_spec.rb +0 -54
- data/spec/models/czechia_moje_id_provider_output_spec.rb +0 -54
- data/spec/models/estonia_id_card_provider_output_spec.rb +0 -54
- data/spec/models/finland_id_card_provider_output_spec.rb +0 -54
- data/spec/models/freja_indirect_provider_output_spec.rb +0 -54
- data/spec/models/kenya_nid_match2_date_of_birth_field_spec.rb +0 -42
- data/spec/models/kenya_nid_match2_full_name_field_spec.rb +0 -42
- data/spec/models/kenya_nid_match2_input_sex_spec.rb +0 -30
- data/spec/models/kenya_nid_match2_input_spec.rb +0 -66
- data/spec/models/kenya_nid_match2_national_id_number_field_spec.rb +0 -42
- data/spec/models/kenya_nid_match2_provider_output_spec.rb +0 -54
- data/spec/models/kenya_nid_match2_sex_field_spec.rb +0 -42
- data/spec/models/lithuania_id_card_provider_output_spec.rb +0 -54
- data/spec/models/lloyds_smart_id_provider_output_spec.rb +0 -102
- data/spec/models/nigeria_nin_input_spec.rb +0 -72
- data/spec/models/nigeria_nin_match2_date_of_birth_field_spec.rb +0 -42
- data/spec/models/nigeria_nin_match2_full_name_field_spec.rb +0 -42
- data/spec/models/nigeria_nin_match2_input_sex_spec.rb +0 -30
- data/spec/models/nigeria_nin_match2_input_spec.rb +0 -72
- data/spec/models/nigeria_nin_match2_national_id_number_field_spec.rb +0 -42
- data/spec/models/nigeria_nin_match2_phone_number_field_spec.rb +0 -42
- data/spec/models/nigeria_nin_match2_provider_output_spec.rb +0 -60
- data/spec/models/nigeria_nin_match2_sex_field_spec.rb +0 -42
- data/spec/models/portugal_id_card_provider_output_spec.rb +0 -54
- data/spec/models/serbia_id_card_provider_output_spec.rb +0 -54
- data/spec/models/south_africa_nid_input_spec.rb +0 -54
- data/spec/models/south_africa_nid_match2_date_of_birth_field_spec.rb +0 -42
- data/spec/models/south_africa_nid_match2_full_name_field_spec.rb +0 -42
- data/spec/models/south_africa_nid_match2_input_sex_spec.rb +0 -30
- data/spec/models/south_africa_nid_match2_input_spec.rb +0 -66
- data/spec/models/south_africa_nid_match2_national_id_number_field_spec.rb +0 -42
- data/spec/models/south_africa_nid_match2_provider_output_spec.rb +0 -60
- data/spec/models/south_africa_nid_match2_sex_field_spec.rb +0 -42
data/docs/ProviderOutput.md
CHANGED
|
@@ -5,19 +5,10 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **a_at_handy_signatur_login** | [**AustriaHandySignaturProviderOutput**](AustriaHandySignaturProviderOutput.md) | Exposed properties for the `a-at-handy-signatur-login` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
8
|
-
| **a_be_id_login** | [**BelgiumIdCardProviderOutput**](BelgiumIdCardProviderOutput.md) | Exposed properties for the `a-be-id-login` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
9
8
|
| **a_edoapp_eid_login** | [**PolandEdoAppProviderOutput**](PolandEdoAppProviderOutput.md) | Exposed properties for the `a-edoapp-eid-login` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
10
|
-
| **a_ee_web_eid_login** | [**EstoniaIdCardProviderOutput**](EstoniaIdCardProviderOutput.md) | Exposed properties for the `a-ee-web-eid-login` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
11
|
-
| **a_fi_id_login** | [**FinlandIdCardProviderOutput**](FinlandIdCardProviderOutput.md) | Exposed properties for the `a-fi-id-login` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
12
|
-
| **a_freja_eid_login** | [**FrejaIndirectProviderOutput**](FrejaIndirectProviderOutput.md) | Exposed properties for the `a-freja-eid-login` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
13
9
|
| **a_itsme_login** | [**ItsmeLoginProviderOutput**](ItsmeLoginProviderOutput.md) | Exposed properties for the `a-itsme-login` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
14
|
-
| **a_lt_id_login** | [**LithuaniaIdCardProviderOutput**](LithuaniaIdCardProviderOutput.md) | Exposed properties for the `a-lt-id-login` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
15
|
-
| **a_lv_eparaksts_id_login** | [**LatviaEparakstsProviderOutput**](LatviaEparakstsProviderOutput.md) | Exposed properties for the `a-lv-eparaksts-id-login` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
16
10
|
| **a_lv_eparaksts_mobile_login** | [**LatviaEparakstsMobileProviderOutput**](LatviaEparakstsMobileProviderOutput.md) | Exposed properties for the `a-lv-eparaksts-mobile-login` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
17
|
-
| **a_mojeid** | [**CzechiaMojeIdProviderOutput**](CzechiaMojeIdProviderOutput.md) | Exposed properties for the `a-mojeid` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
18
11
|
| **a_pl_mojeid_login** | [**PolandMojeIdProviderOutput**](PolandMojeIdProviderOutput.md) | Exposed properties for the `a-pl-mojeid-login` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
19
|
-
| **a_pt_id_login** | [**PortugalIdCardProviderOutput**](PortugalIdCardProviderOutput.md) | Exposed properties for the `a-pt-id-login` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
20
|
-
| **a_rs_id_login** | [**SerbiaIdCardProviderOutput**](SerbiaIdCardProviderOutput.md) | Exposed properties for the `a-rs-id-login` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
21
12
|
| **apple_wallet** | [**AppleWalletProviderOutput**](AppleWalletProviderOutput.md) | Exposed properties for the `apple-wallet` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
22
13
|
| **audkenni** | [**AudkenniProviderOutput**](AudkenniProviderOutput.md) | Exposed properties for the `audkenni` provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
23
14
|
| **australia_connect_id** | [**ConnectIdProviderOutput**](ConnectIdProviderOutput.md) | Exposed properties for the `australia-connect-id` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
@@ -30,6 +21,7 @@
|
|
|
30
21
|
| **colombia_cc_lookup** | [**ColombiaCcProviderOutput**](ColombiaCcProviderOutput.md) | Exposed properties for the `colombia-cc-lookup` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
31
22
|
| **cote_divoire_nid_lookup_2** | [**CoteDIvoireNidLookup2ProviderOutput**](CoteDIvoireNidLookup2ProviderOutput.md) | Exposed properties for the `cote-divoire-nid-lookup-2` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
32
23
|
| **denmark_altid** | [**DenmarkAltIdProviderOutput**](DenmarkAltIdProviderOutput.md) | Exposed properties for the `denmark-altid` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
24
|
+
| **digidentity** | [**DigidentityProviderOutput**](DigidentityProviderOutput.md) | Identity values and verification results returned for the digidentity provider. | [optional] |
|
|
33
25
|
| **el_salvador_dui_lookup** | [**ElSalvadorDuiProviderOutput**](ElSalvadorDuiProviderOutput.md) | Exposed properties for the `el-salvador-dui-lookup` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
34
26
|
| **czech_bank_id** | [**CzechBankIdProviderOutput**](CzechBankIdProviderOutput.md) | Exposed properties for the `czech-bank-id` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
35
27
|
| **czech_republic_mojeid** | [**CzechMojeIdProviderOutput**](CzechMojeIdProviderOutput.md) | Exposed properties for the `czech-moje-id` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
@@ -46,7 +38,7 @@
|
|
|
46
38
|
| **guatemala_cui_lookup** | [**GuatemalaCuiProviderOutput**](GuatemalaCuiProviderOutput.md) | Exposed properties for the `guatemala-cui-lookup` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
47
39
|
| **panama_cedula_lookup** | [**PanamaCedulaProviderOutput**](PanamaCedulaProviderOutput.md) | Exposed properties for the `panama-cedula-lookup` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
48
40
|
| **india_digilocker_aadhaar** | [**DigilockerAadhaarProviderOutput**](DigilockerAadhaarProviderOutput.md) | Exposed properties for the `india-digilocker-aadhaar` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
49
|
-
| **india_digilocker_aadhaar_fetch** | [**
|
|
41
|
+
| **india_digilocker_aadhaar_fetch** | [**IndiaDigilockerAadhaarFetchProviderOutput**](IndiaDigilockerAadhaarFetchProviderOutput.md) | Exposed properties for the `india-digilocker-aadhaar-fetch` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
50
42
|
| **india_digilocker_aadhaar_match** | [**IndiaDigilockerAadhaarMatchProviderOutput**](IndiaDigilockerAadhaarMatchProviderOutput.md) | Exposed properties for the `india-digilocker-aadhaar-match` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
51
43
|
| **india_pan_lookup** | [**IndiaPanLookupProviderOutput**](IndiaPanLookupProviderOutput.md) | Exposed properties for the `india-pan-lookup` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
52
44
|
| **indonesia_dukcapil_match** | [**IndonesiaDukcapilMatchProviderOutput**](IndonesiaDukcapilMatchProviderOutput.md) | Exposed properties for the `indonesia-dukcapil-match` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
@@ -58,16 +50,13 @@
|
|
|
58
50
|
| **jordan_sanad** | [**SanadProviderOutput**](SanadProviderOutput.md) | Exposed properties for the `jordan-sanad` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
59
51
|
| **kenya_nid_lookup_2** | [**KenyaNidLookup2ProviderOutput**](KenyaNidLookup2ProviderOutput.md) | Exposed properties for the `kenya-nid-lookup-2` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
60
52
|
| **kenya_nid_lookup_3** | [**KenyaNidLookup3ProviderOutput**](KenyaNidLookup3ProviderOutput.md) | Exposed properties for the `kenya-nid-lookup-3` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
61
|
-
| **kenya_nid_match_2** | [**KenyaNidMatch2ProviderOutput**](KenyaNidMatch2ProviderOutput.md) | Exposed properties for the `kenya-nid-match-2` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
62
53
|
| **korea_telco_match** | [**KoreaTelcoMatchProviderOutput**](KoreaTelcoMatchProviderOutput.md) | Exposed properties for the `korea-telco-match` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
63
|
-
| **lloyds_smart_id** | [**LloydsSmartIdProviderOutput**](LloydsSmartIdProviderOutput.md) | Exposed properties for the `lloyds-smart-id` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
64
54
|
| **mexico_curp_lookup** | [**MexicoCurpProviderOutput**](MexicoCurpProviderOutput.md) | Exposed properties for the `mexico-curp-lookup` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
65
55
|
| **mobile_id** | [**MobileIdProviderOutput**](MobileIdProviderOutput.md) | Exposed properties for the `mobile-id` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
66
56
|
| **moldova_evo_wallet** | [**MoldovaEvoWalletProviderOutput**](MoldovaEvoWalletProviderOutput.md) | Exposed properties for the `moldova-evo-wallet` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
67
57
|
| **netherlands_eudi_sandbox** | [**NetherlandsEudiSandboxProviderOutput**](NetherlandsEudiSandboxProviderOutput.md) | Exposed properties for the `netherlands-eudi-sandbox` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
68
58
|
| **nigeria_nin_lookup_2** | [**NigeriaNinLookup2ProviderOutput**](NigeriaNinLookup2ProviderOutput.md) | Exposed properties for the `nigeria-nin-lookup-2` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
69
59
|
| **nigeria_nin_lookup_3** | [**NigeriaNinLookup3ProviderOutput**](NigeriaNinLookup3ProviderOutput.md) | Exposed properties for the `nigeria-nin-lookup-3` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
70
|
-
| **nigeria_nin_match_2** | [**NigeriaNinMatch2ProviderOutput**](NigeriaNinMatch2ProviderOutput.md) | Exposed properties for the `nigeria-nin-match-2` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
71
60
|
| **oneid** | [**OneIdProviderOutput**](OneIdProviderOutput.md) | Exposed properties for the `oneid` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
72
61
|
| **revolut** | [**RevolutProviderOutput**](RevolutProviderOutput.md) | Identity claims returned by Revolut. | [optional] |
|
|
73
62
|
| **peru_dni_lookup** | [**PeruDniProviderOutput**](PeruDniProviderOutput.md) | Exposed properties for the `peru-dni-lookup` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
@@ -83,18 +72,19 @@
|
|
|
83
72
|
| **singpass_myinfo** | [**SingpassMyInfoProviderOutput**](SingpassMyInfoProviderOutput.md) | Exposed properties for the `singpass-myinfo` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
84
73
|
| **smart_id** | [**SmartIdProviderOutput**](SmartIdProviderOutput.md) | Exposed properties for the `smart-id` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
85
74
|
| **south_africa_nid_lookup_2** | [**SouthAfricaNidLookup2ProviderOutput**](SouthAfricaNidLookup2ProviderOutput.md) | Exposed properties for the `south-africa-nid-lookup-2` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
86
|
-
| **south_africa_nid_match_2** | [**SouthAfricaNidMatch2ProviderOutput**](SouthAfricaNidMatch2ProviderOutput.md) | Exposed properties for the `south-africa-nid-match-2` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
87
75
|
| **uae_pass** | [**UAEPassProviderOutput**](UAEPassProviderOutput.md) | Exposed properties for the `uae-pass` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
88
76
|
| **uganda_nid_match_2** | [**UgandaNidMatch2ProviderOutput**](UgandaNidMatch2ProviderOutput.md) | Exposed properties for the `uganda-nid-match-2` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
89
77
|
| **uk_evisa_lookup** | [**UnitedKingdomEvisaProviderOutput**](UnitedKingdomEvisaProviderOutput.md) | Exposed properties for the `uk-evisa-lookup` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
90
78
|
| **sweden_bankid** | [**SwedenBankIdProviderOutput**](SwedenBankIdProviderOutput.md) | Exposed properties for the `sweden-bankid` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
91
79
|
| **ukraine_diia** | [**DiiaProviderOutput**](DiiaProviderOutput.md) | Exposed properties for the `ukraine-diia` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
92
80
|
| **usa_alaska_mobile_id** | [**AlaskaMobileIdProviderOutput**](AlaskaMobileIdProviderOutput.md) | Exposed properties for the `usa-alaska-mobile-id` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
81
|
+
| **usa_arkansas_mobile_id** | [**IdemiaMobileIdProviderOutput**](IdemiaMobileIdProviderOutput.md) | Exposed properties for the `usa-arkansas-mobile-id` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
82
|
+
| **usa_kentucky_mobile_id** | [**IdemiaMobileIdProviderOutput**](IdemiaMobileIdProviderOutput.md) | Exposed properties for the `usa-kentucky-mobile-id` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
93
83
|
| **usa_louisiana_wallet** | [**LaWalletProviderOutput**](LaWalletProviderOutput.md) | Exposed properties for the `usa-louisiana-wallet` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
94
84
|
| **usa_new_york_mobile_id** | [**IdemiaMobileIdProviderOutput**](IdemiaMobileIdProviderOutput.md) | Exposed properties for the `usa-new-york-mobile-id` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
85
|
+
| **usa_west_virginia_mobile_id** | [**IdemiaMobileIdProviderOutput**](IdemiaMobileIdProviderOutput.md) | Exposed properties for the `usa-west-virginia-mobile-id` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
95
86
|
| **netherlands_idin** | [**NetherlandsIdinProviderOutput**](NetherlandsIdinProviderOutput.md) | Exposed properties for the `netherlands-idin` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
96
87
|
| **yoti** | [**YotiProviderOutput**](YotiProviderOutput.md) | Exposed properties for the `yoti` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
97
|
-
| **yoti_deeplink** | [**YotiDeeplinkProviderOutput**](YotiDeeplinkProviderOutput.md) | Exposed properties for the `yoti-deeplink` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
98
88
|
| **zimbabwe_nid_lookup_2** | [**ZimbabweNidLookup2ProviderOutput**](ZimbabweNidLookup2ProviderOutput.md) | Exposed properties for the `zimbabwe-nid-lookup-2` Provider which do not directly map to the normalized IdentityData model. | [optional] |
|
|
99
89
|
|
|
100
90
|
## Example
|
|
@@ -104,19 +94,10 @@ require 'trinsic_api'
|
|
|
104
94
|
|
|
105
95
|
instance = TrinsicApi::ProviderOutput.new(
|
|
106
96
|
a_at_handy_signatur_login: null,
|
|
107
|
-
a_be_id_login: null,
|
|
108
97
|
a_edoapp_eid_login: null,
|
|
109
|
-
a_ee_web_eid_login: null,
|
|
110
|
-
a_fi_id_login: null,
|
|
111
|
-
a_freja_eid_login: null,
|
|
112
98
|
a_itsme_login: null,
|
|
113
|
-
a_lt_id_login: null,
|
|
114
|
-
a_lv_eparaksts_id_login: null,
|
|
115
99
|
a_lv_eparaksts_mobile_login: null,
|
|
116
|
-
a_mojeid: null,
|
|
117
100
|
a_pl_mojeid_login: null,
|
|
118
|
-
a_pt_id_login: null,
|
|
119
|
-
a_rs_id_login: null,
|
|
120
101
|
apple_wallet: null,
|
|
121
102
|
audkenni: null,
|
|
122
103
|
australia_connect_id: null,
|
|
@@ -129,6 +110,7 @@ instance = TrinsicApi::ProviderOutput.new(
|
|
|
129
110
|
colombia_cc_lookup: null,
|
|
130
111
|
cote_divoire_nid_lookup_2: null,
|
|
131
112
|
denmark_altid: null,
|
|
113
|
+
digidentity: null,
|
|
132
114
|
el_salvador_dui_lookup: null,
|
|
133
115
|
czech_bank_id: null,
|
|
134
116
|
czech_republic_mojeid: null,
|
|
@@ -157,16 +139,13 @@ instance = TrinsicApi::ProviderOutput.new(
|
|
|
157
139
|
jordan_sanad: null,
|
|
158
140
|
kenya_nid_lookup_2: null,
|
|
159
141
|
kenya_nid_lookup_3: null,
|
|
160
|
-
kenya_nid_match_2: null,
|
|
161
142
|
korea_telco_match: null,
|
|
162
|
-
lloyds_smart_id: null,
|
|
163
143
|
mexico_curp_lookup: null,
|
|
164
144
|
mobile_id: null,
|
|
165
145
|
moldova_evo_wallet: null,
|
|
166
146
|
netherlands_eudi_sandbox: null,
|
|
167
147
|
nigeria_nin_lookup_2: null,
|
|
168
148
|
nigeria_nin_lookup_3: null,
|
|
169
|
-
nigeria_nin_match_2: null,
|
|
170
149
|
oneid: null,
|
|
171
150
|
revolut: null,
|
|
172
151
|
peru_dni_lookup: null,
|
|
@@ -182,18 +161,19 @@ instance = TrinsicApi::ProviderOutput.new(
|
|
|
182
161
|
singpass_myinfo: null,
|
|
183
162
|
smart_id: null,
|
|
184
163
|
south_africa_nid_lookup_2: null,
|
|
185
|
-
south_africa_nid_match_2: null,
|
|
186
164
|
uae_pass: null,
|
|
187
165
|
uganda_nid_match_2: null,
|
|
188
166
|
uk_evisa_lookup: null,
|
|
189
167
|
sweden_bankid: null,
|
|
190
168
|
ukraine_diia: null,
|
|
191
169
|
usa_alaska_mobile_id: null,
|
|
170
|
+
usa_arkansas_mobile_id: null,
|
|
171
|
+
usa_kentucky_mobile_id: null,
|
|
192
172
|
usa_louisiana_wallet: null,
|
|
193
173
|
usa_new_york_mobile_id: null,
|
|
174
|
+
usa_west_virginia_mobile_id: null,
|
|
194
175
|
netherlands_idin: null,
|
|
195
176
|
yoti: null,
|
|
196
|
-
yoti_deeplink: null,
|
|
197
177
|
zimbabwe_nid_lookup_2: null
|
|
198
178
|
)
|
|
199
179
|
```
|
|
@@ -7,7 +7,9 @@
|
|
|
7
7
|
| **id** | **String** | The ID of the provider | [readonly] |
|
|
8
8
|
| **name** | **String** | The friendly, human-readable name of the provider | [readonly] |
|
|
9
9
|
| **localized_display_names** | **Hash<String, String>** | Localized display names for the Provider, if any, keyed by lowercase BCP 47 language codes (eg \"fr\"). If a particular language code is not present, fall back to `name`. This should not be confused for the list of languages the Provider officially supports. | [optional][readonly] |
|
|
10
|
-
| **
|
|
10
|
+
| **app_logo_url** | **String** | The URL of the provider's app logo. The filename extension identifies the image format. | |
|
|
11
|
+
| **light_logo_url** | **String** | The URL of the provider's logo for light surfaces. The filename extension identifies the image format. | |
|
|
12
|
+
| **dark_logo_url** | **String** | The URL of the provider's logo for dark surfaces. The filename extension identifies the image format. | |
|
|
11
13
|
| **subtext** | **String** | The Provider's subtext recommended to be shown next to the name. This is flavor text, not a full, human-readable description of the provider. | [readonly] |
|
|
12
14
|
| **health** | **String** | The current health status of the provider | [readonly] |
|
|
13
15
|
| **sub_providers** | [**Array<SubProviderMetadata>**](SubProviderMetadata.md) | Metadata about the sub-providers which are available for this Provider. For example, Italy's SPID is a Provider which aggregates access to multiple sub-providers. | [optional] |
|
|
@@ -24,7 +26,9 @@ instance = TrinsicApi::RecommendProviderInformation.new(
|
|
|
24
26
|
id: null,
|
|
25
27
|
name: null,
|
|
26
28
|
localized_display_names: {"en":"Brazil CPF","pt":"Verificação CPF"},
|
|
27
|
-
|
|
29
|
+
app_logo_url: null,
|
|
30
|
+
light_logo_url: null,
|
|
31
|
+
dark_logo_url: null,
|
|
28
32
|
subtext: dmv.ca.gov,
|
|
29
33
|
health: online | offline,
|
|
30
34
|
sub_providers: null,
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **issuing_country** | **String** | Country of the identity registry, as an ISO 3166-1 alpha-2 code. | [optional] |
|
|
7
8
|
| **national_id_number** | **String** | The South African National Identity Number (13 digits). Issued for life by the Department of Home Affairs (DHA) and stored in the HANIS (Home Affairs National Identification System) database. The same number is mandatory for banking, employment, taxation, and voting, and is printed on both the legacy green ID book and the Smart ID Card (rolled out from 2013 onward). Format: - YYMMDD G(4) C A Z - YYMMDD is the date of birth - G(4) is the gender code (below 5000 female, 5000 or above male) - C is the citizenship indicator (0 citizen, 1 permanent resident) - A is reserved (it had a politically sensitive meaning in the past, but is currently semantically meaningless) - Z is a Luhn check digit | [optional] |
|
|
8
9
|
| **citizenship_status** | **String** | Citizenship status of the individual. Possible values: - Citizen - PermanentResident - Refugee | [optional] |
|
|
9
10
|
| **first_name** | **String** | First name of the individual. | [optional] |
|
|
@@ -21,6 +22,7 @@
|
|
|
21
22
|
require 'trinsic_api'
|
|
22
23
|
|
|
23
24
|
instance = TrinsicApi::SouthAfricaNidLookup2ProviderOutput.new(
|
|
25
|
+
issuing_country: ZA,
|
|
24
26
|
national_id_number: 9001315000082,
|
|
25
27
|
citizenship_status: Citizen,
|
|
26
28
|
first_name: THABO,
|
data/docs/SubProviderMetadata.md
CHANGED
|
@@ -7,8 +7,9 @@
|
|
|
7
7
|
| **id** | **String** | The ID of the sub-provider. This cannot be used as a standalone Provider ID when creating a Session. It must be passed in via the Provider-specific input. | |
|
|
8
8
|
| **name** | **String** | The name of the sub-provider | |
|
|
9
9
|
| **subtext** | **String** | The Provider's subtext recommended to be shown next to the name. This is flavor text, not a full, human-readable description of the provider. | |
|
|
10
|
-
| **
|
|
11
|
-
| **
|
|
10
|
+
| **app_logo_url** | **String** | The URL of the sub-provider's app logo. The filename extension identifies the image format. | [readonly] |
|
|
11
|
+
| **light_logo_url** | **String** | The URL of the sub-provider's logo for light surfaces. The filename extension identifies the image format. | [readonly] |
|
|
12
|
+
| **dark_logo_url** | **String** | The URL of the sub-provider's logo for dark surfaces. The filename extension identifies the image format. | [readonly] |
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -19,8 +20,9 @@ instance = TrinsicApi::SubProviderMetadata.new(
|
|
|
19
20
|
id: null,
|
|
20
21
|
name: null,
|
|
21
22
|
subtext: dmv.ca.gov,
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
app_logo_url: null,
|
|
24
|
+
light_logo_url: null,
|
|
25
|
+
dark_logo_url: null
|
|
24
26
|
)
|
|
25
27
|
```
|
|
26
28
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **results_access_key** | **String** | The Results Access Key for the Session in question | |
|
|
8
|
-
| **response_token** | **String** | The response token retrieved from a Trinsic UI SDK's
|
|
8
|
+
| **response_token** | **String** | The response token retrieved from a Trinsic UI SDK's performNativeChallenge() call. | |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **issuing_country** | **String** | Country of the identity registry, as an ISO 3166-1 alpha-2 code. | [optional] |
|
|
7
8
|
| **national_id_number** | **String** | Zimbabwe National ID number (NID) issued by the Zimbabwean government. Format: - 8-9 digits followed by 1 letter and 2 digits - Regex: /^[0-9]{8,9}[A-Za-z]\\d{2}$/ - There is no publicly documented encoding scheme for encoding personal information in the NID - No check digit or algorithm has been publicly documented by the Zimbabwean government | [optional] |
|
|
8
9
|
| **given_name** | **String** | Given name(s) of the individual. | [optional] |
|
|
9
10
|
| **family_name** | **String** | Family name of the individual. | [optional] |
|
|
@@ -20,6 +21,7 @@
|
|
|
20
21
|
require 'trinsic_api'
|
|
21
22
|
|
|
22
23
|
instance = TrinsicApi::ZimbabweNidLookup2ProviderOutput.new(
|
|
24
|
+
issuing_country: ZW,
|
|
23
25
|
national_id_number: 12345678A12,
|
|
24
26
|
given_name: ELIZABETH MARY,
|
|
25
27
|
family_name: MOYO,
|
|
@@ -96,7 +96,7 @@ module TrinsicApi
|
|
|
96
96
|
http_method = http_method.to_sym.downcase
|
|
97
97
|
|
|
98
98
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
|
99
|
-
header_params['X-Trinsic-SDK'] = "ruby/3.3.0
|
|
99
|
+
header_params['X-Trinsic-SDK'] = "ruby/3.3.0"
|
|
100
100
|
query_params = opts[:query_params] || {}
|
|
101
101
|
form_params = opts[:form_params] || {}
|
|
102
102
|
follow_location = opts[:follow_location] || true
|
data/lib/trinsic_api/models/{belgium_id_card_provider_output.rb → aadhaar_document_output.rb}
RENAMED
|
@@ -14,27 +14,35 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
|
-
#
|
|
18
|
-
class
|
|
19
|
-
# The
|
|
20
|
-
attr_accessor :
|
|
17
|
+
# The identity details extracted from an Aadhaar document.
|
|
18
|
+
class AadhaarDocumentOutput < ApiModelBase
|
|
19
|
+
# The last four digits of the Aadhaar number on the document.
|
|
20
|
+
attr_accessor :aadhaar_number_last_four
|
|
21
21
|
|
|
22
|
-
# The
|
|
23
|
-
attr_accessor :
|
|
22
|
+
# The full name on the Aadhaar document.
|
|
23
|
+
attr_accessor :name
|
|
24
24
|
|
|
25
|
-
# The date of birth
|
|
25
|
+
# The date of birth on the Aadhaar document, in YYYY-MM-DD format.
|
|
26
26
|
attr_accessor :date_of_birth
|
|
27
27
|
|
|
28
|
-
# The
|
|
29
|
-
attr_accessor :
|
|
28
|
+
# The gender value on the Aadhaar document.
|
|
29
|
+
attr_accessor :gender
|
|
30
|
+
|
|
31
|
+
# The address on the Aadhaar document.
|
|
32
|
+
attr_accessor :address
|
|
33
|
+
|
|
34
|
+
# The complete address returned with the Aadhaar details.
|
|
35
|
+
attr_accessor :full_address
|
|
30
36
|
|
|
31
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
32
38
|
def self.attribute_map
|
|
33
39
|
{
|
|
34
|
-
:'
|
|
35
|
-
:'
|
|
40
|
+
:'aadhaar_number_last_four' => :'aadhaarNumberLastFour',
|
|
41
|
+
:'name' => :'name',
|
|
36
42
|
:'date_of_birth' => :'dateOfBirth',
|
|
37
|
-
:'
|
|
43
|
+
:'gender' => :'gender',
|
|
44
|
+
:'address' => :'address',
|
|
45
|
+
:'full_address' => :'fullAddress'
|
|
38
46
|
}
|
|
39
47
|
end
|
|
40
48
|
|
|
@@ -51,20 +59,24 @@ module TrinsicApi
|
|
|
51
59
|
# Attribute type mapping.
|
|
52
60
|
def self.openapi_types
|
|
53
61
|
{
|
|
54
|
-
:'
|
|
55
|
-
:'
|
|
62
|
+
:'aadhaar_number_last_four' => :'String',
|
|
63
|
+
:'name' => :'String',
|
|
56
64
|
:'date_of_birth' => :'Date',
|
|
57
|
-
:'
|
|
65
|
+
:'gender' => :'String',
|
|
66
|
+
:'address' => :'AadhaarAddress',
|
|
67
|
+
:'full_address' => :'String'
|
|
58
68
|
}
|
|
59
69
|
end
|
|
60
70
|
|
|
61
71
|
# List of attributes with nullable: true
|
|
62
72
|
def self.openapi_nullable
|
|
63
73
|
Set.new([
|
|
64
|
-
:'
|
|
65
|
-
:'
|
|
74
|
+
:'aadhaar_number_last_four',
|
|
75
|
+
:'name',
|
|
66
76
|
:'date_of_birth',
|
|
67
|
-
:'
|
|
77
|
+
:'gender',
|
|
78
|
+
:'address',
|
|
79
|
+
:'full_address'
|
|
68
80
|
])
|
|
69
81
|
end
|
|
70
82
|
|
|
@@ -82,32 +94,40 @@ module TrinsicApi
|
|
|
82
94
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
83
95
|
def initialize(attributes = {})
|
|
84
96
|
if (!attributes.is_a?(Hash))
|
|
85
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::
|
|
97
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::AadhaarDocumentOutput` initialize method"
|
|
86
98
|
end
|
|
87
99
|
|
|
88
100
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
89
101
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
90
102
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
91
103
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
92
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::
|
|
104
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::AadhaarDocumentOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
93
105
|
end
|
|
94
106
|
h[k.to_sym] = v
|
|
95
107
|
}
|
|
96
108
|
|
|
97
|
-
if attributes.key?(:'
|
|
98
|
-
self.
|
|
109
|
+
if attributes.key?(:'aadhaar_number_last_four')
|
|
110
|
+
self.aadhaar_number_last_four = attributes[:'aadhaar_number_last_four']
|
|
99
111
|
end
|
|
100
112
|
|
|
101
|
-
if attributes.key?(:'
|
|
102
|
-
self.
|
|
113
|
+
if attributes.key?(:'name')
|
|
114
|
+
self.name = attributes[:'name']
|
|
103
115
|
end
|
|
104
116
|
|
|
105
117
|
if attributes.key?(:'date_of_birth')
|
|
106
118
|
self.date_of_birth = attributes[:'date_of_birth']
|
|
107
119
|
end
|
|
108
120
|
|
|
109
|
-
if attributes.key?(:'
|
|
110
|
-
self.
|
|
121
|
+
if attributes.key?(:'gender')
|
|
122
|
+
self.gender = attributes[:'gender']
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
if attributes.key?(:'address')
|
|
126
|
+
self.address = attributes[:'address']
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
if attributes.key?(:'full_address')
|
|
130
|
+
self.full_address = attributes[:'full_address']
|
|
111
131
|
end
|
|
112
132
|
end
|
|
113
133
|
|
|
@@ -131,10 +151,12 @@ module TrinsicApi
|
|
|
131
151
|
def ==(o)
|
|
132
152
|
return true if self.equal?(o)
|
|
133
153
|
self.class == o.class &&
|
|
134
|
-
|
|
135
|
-
|
|
154
|
+
aadhaar_number_last_four == o.aadhaar_number_last_four &&
|
|
155
|
+
name == o.name &&
|
|
136
156
|
date_of_birth == o.date_of_birth &&
|
|
137
|
-
|
|
157
|
+
gender == o.gender &&
|
|
158
|
+
address == o.address &&
|
|
159
|
+
full_address == o.full_address
|
|
138
160
|
end
|
|
139
161
|
|
|
140
162
|
# @see the `==` method
|
|
@@ -146,7 +168,7 @@ module TrinsicApi
|
|
|
146
168
|
# Calculates hash code according to all attributes.
|
|
147
169
|
# @return [Integer] Hash code
|
|
148
170
|
def hash
|
|
149
|
-
[
|
|
171
|
+
[aadhaar_number_last_four, name, date_of_birth, gender, address, full_address].hash
|
|
150
172
|
end
|
|
151
173
|
|
|
152
174
|
# Builds the object from hash
|
|
@@ -16,6 +16,12 @@ require 'time'
|
|
|
16
16
|
module TrinsicApi
|
|
17
17
|
# Exposed properties for the `brazil-digital-cnh` Provider which do not directly map to the normalized IdentityData model.
|
|
18
18
|
class BrazilCnhProviderOutput < ApiModelBase
|
|
19
|
+
# The most recent issue date decoded from the CNH QR code, in YYYY-MM-DD format.
|
|
20
|
+
attr_accessor :last_issue_date
|
|
21
|
+
|
|
22
|
+
# The expiration date decoded from the CNH QR code, in YYYY-MM-DD format.
|
|
23
|
+
attr_accessor :expiration_date
|
|
24
|
+
|
|
19
25
|
# The individual's CPF number. A CPF (Cadastro de Pessoas Físicas) is the Brazilian individual taxpayer identification number for residents and foreigners. It is an 11-digit number managed by the Federal Revenue Service, the last 2 digits are check digits, calculated based on the first 9 digits. The 9th digit indicates the fiscal region responsible for the registration,
|
|
20
26
|
attr_accessor :cpf_number
|
|
21
27
|
|
|
@@ -70,6 +76,8 @@ module TrinsicApi
|
|
|
70
76
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
71
77
|
def self.attribute_map
|
|
72
78
|
{
|
|
79
|
+
:'last_issue_date' => :'lastIssueDate',
|
|
80
|
+
:'expiration_date' => :'expirationDate',
|
|
73
81
|
:'cpf_number' => :'cpfNumber',
|
|
74
82
|
:'full_name' => :'fullName',
|
|
75
83
|
:'full_name_similarity' => :'fullNameSimilarity',
|
|
@@ -103,6 +111,8 @@ module TrinsicApi
|
|
|
103
111
|
# Attribute type mapping.
|
|
104
112
|
def self.openapi_types
|
|
105
113
|
{
|
|
114
|
+
:'last_issue_date' => :'Date',
|
|
115
|
+
:'expiration_date' => :'Date',
|
|
106
116
|
:'cpf_number' => :'String',
|
|
107
117
|
:'full_name' => :'BrazilCnhMatchFieldString',
|
|
108
118
|
:'full_name_similarity' => :'Float',
|
|
@@ -126,6 +136,8 @@ module TrinsicApi
|
|
|
126
136
|
# List of attributes with nullable: true
|
|
127
137
|
def self.openapi_nullable
|
|
128
138
|
Set.new([
|
|
139
|
+
:'last_issue_date',
|
|
140
|
+
:'expiration_date',
|
|
129
141
|
:'cpf_number',
|
|
130
142
|
:'full_name',
|
|
131
143
|
:'full_name_similarity',
|
|
@@ -172,6 +184,14 @@ module TrinsicApi
|
|
|
172
184
|
h[k.to_sym] = v
|
|
173
185
|
}
|
|
174
186
|
|
|
187
|
+
if attributes.key?(:'last_issue_date')
|
|
188
|
+
self.last_issue_date = attributes[:'last_issue_date']
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
if attributes.key?(:'expiration_date')
|
|
192
|
+
self.expiration_date = attributes[:'expiration_date']
|
|
193
|
+
end
|
|
194
|
+
|
|
175
195
|
if attributes.key?(:'cpf_number')
|
|
176
196
|
self.cpf_number = attributes[:'cpf_number']
|
|
177
197
|
end
|
|
@@ -261,6 +281,8 @@ module TrinsicApi
|
|
|
261
281
|
def ==(o)
|
|
262
282
|
return true if self.equal?(o)
|
|
263
283
|
self.class == o.class &&
|
|
284
|
+
last_issue_date == o.last_issue_date &&
|
|
285
|
+
expiration_date == o.expiration_date &&
|
|
264
286
|
cpf_number == o.cpf_number &&
|
|
265
287
|
full_name == o.full_name &&
|
|
266
288
|
full_name_similarity == o.full_name_similarity &&
|
|
@@ -289,7 +311,7 @@ module TrinsicApi
|
|
|
289
311
|
# Calculates hash code according to all attributes.
|
|
290
312
|
# @return [Integer] Hash code
|
|
291
313
|
def hash
|
|
292
|
-
[cpf_number, full_name, full_name_similarity, origin_document, date_of_birth, mother_full_name, father_full_name, category, registration_number, registration_number_check_digits_valid, first_issue_date, observations, issue_city, issue_state, validation_number, renach_number, facial_biometry].hash
|
|
314
|
+
[last_issue_date, expiration_date, cpf_number, full_name, full_name_similarity, origin_document, date_of_birth, mother_full_name, father_full_name, category, registration_number, registration_number_check_digits_valid, first_issue_date, observations, issue_city, issue_state, validation_number, renach_number, facial_biometry].hash
|
|
293
315
|
end
|
|
294
316
|
|
|
295
317
|
# Builds the object from hash
|
|
@@ -40,9 +40,6 @@ module TrinsicApi
|
|
|
40
40
|
# The date of birth of the individual.
|
|
41
41
|
attr_accessor :date_of_birth
|
|
42
42
|
|
|
43
|
-
# Deprecated as of September 19, 2026. The year of death of the individual, if applicable.
|
|
44
|
-
attr_accessor :year_of_death
|
|
45
|
-
|
|
46
43
|
# The date of registration of the individual with the Federal Revenue Service.
|
|
47
44
|
attr_accessor :date_of_registration
|
|
48
45
|
|
|
@@ -60,7 +57,6 @@ module TrinsicApi
|
|
|
60
57
|
:'name' => :'name',
|
|
61
58
|
:'social_name' => :'socialName',
|
|
62
59
|
:'date_of_birth' => :'dateOfBirth',
|
|
63
|
-
:'year_of_death' => :'yearOfDeath',
|
|
64
60
|
:'date_of_registration' => :'dateOfRegistration',
|
|
65
61
|
:'biometric_verification' => :'biometricVerification'
|
|
66
62
|
}
|
|
@@ -87,7 +83,6 @@ module TrinsicApi
|
|
|
87
83
|
:'name' => :'String',
|
|
88
84
|
:'social_name' => :'String',
|
|
89
85
|
:'date_of_birth' => :'Date',
|
|
90
|
-
:'year_of_death' => :'String',
|
|
91
86
|
:'date_of_registration' => :'Date',
|
|
92
87
|
:'biometric_verification' => :'BrazilBiometricVerificationOutput'
|
|
93
88
|
}
|
|
@@ -104,7 +99,6 @@ module TrinsicApi
|
|
|
104
99
|
:'name',
|
|
105
100
|
:'social_name',
|
|
106
101
|
:'date_of_birth',
|
|
107
|
-
:'year_of_death',
|
|
108
102
|
:'date_of_registration',
|
|
109
103
|
:'biometric_verification'
|
|
110
104
|
])
|
|
@@ -170,10 +164,6 @@ module TrinsicApi
|
|
|
170
164
|
self.date_of_birth = attributes[:'date_of_birth']
|
|
171
165
|
end
|
|
172
166
|
|
|
173
|
-
if attributes.key?(:'year_of_death')
|
|
174
|
-
self.year_of_death = attributes[:'year_of_death']
|
|
175
|
-
end
|
|
176
|
-
|
|
177
167
|
if attributes.key?(:'date_of_registration')
|
|
178
168
|
self.date_of_registration = attributes[:'date_of_registration']
|
|
179
169
|
end
|
|
@@ -211,7 +201,6 @@ module TrinsicApi
|
|
|
211
201
|
name == o.name &&
|
|
212
202
|
social_name == o.social_name &&
|
|
213
203
|
date_of_birth == o.date_of_birth &&
|
|
214
|
-
year_of_death == o.year_of_death &&
|
|
215
204
|
date_of_registration == o.date_of_registration &&
|
|
216
205
|
biometric_verification == o.biometric_verification
|
|
217
206
|
end
|
|
@@ -225,7 +214,7 @@ module TrinsicApi
|
|
|
225
214
|
# Calculates hash code according to all attributes.
|
|
226
215
|
# @return [Integer] Hash code
|
|
227
216
|
def hash
|
|
228
|
-
[preview_raw_error_code, cpf_number, fiscal_regions, status_code, status_description, name, social_name, date_of_birth,
|
|
217
|
+
[preview_raw_error_code, cpf_number, fiscal_regions, status_code, status_description, name, social_name, date_of_birth, date_of_registration, biometric_verification].hash
|
|
229
218
|
end
|
|
230
219
|
|
|
231
220
|
# Builds the object from hash
|
|
@@ -19,18 +19,30 @@ module TrinsicApi
|
|
|
19
19
|
# The fullname of the individual in Chinese.
|
|
20
20
|
attr_accessor :full_name
|
|
21
21
|
|
|
22
|
+
# Whether the submitted full name matched the authoritative record.
|
|
23
|
+
attr_accessor :full_name_match
|
|
24
|
+
|
|
22
25
|
# The birthdate of the individual.
|
|
23
26
|
attr_accessor :date_of_birth
|
|
24
27
|
|
|
28
|
+
# Whether the submitted date of birth matched the authoritative record.
|
|
29
|
+
attr_accessor :date_of_birth_match
|
|
30
|
+
|
|
25
31
|
# The Resident ID number from the People's Republic of China (PRC) ID card. The Resident ID number is an 18-digit number follows the format (AAAAAAYYYYMMDDXXX@): - Six digits (AAAAAA) are the area code of where the person was born or the area of first issuance for those who were born before the resident system was created. - Eight digits are the birthdate of the individual in YYYYMMDD format - Three digits are the order code assigned to individual. Males are assigned odd numbers and females even numbers. - Final digit is the checksum confirming the validity of the ID number's first 17 digits using ISO 7064:1983, MOD 11-2.
|
|
26
32
|
attr_accessor :resident_id_number
|
|
27
33
|
|
|
34
|
+
# Whether the submitted resident ID number matched the authoritative record.
|
|
35
|
+
attr_accessor :resident_id_number_match
|
|
36
|
+
|
|
28
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
38
|
def self.attribute_map
|
|
30
39
|
{
|
|
31
40
|
:'full_name' => :'fullName',
|
|
41
|
+
:'full_name_match' => :'fullNameMatch',
|
|
32
42
|
:'date_of_birth' => :'dateOfBirth',
|
|
33
|
-
:'
|
|
43
|
+
:'date_of_birth_match' => :'dateOfBirthMatch',
|
|
44
|
+
:'resident_id_number' => :'residentIdNumber',
|
|
45
|
+
:'resident_id_number_match' => :'residentIdNumberMatch'
|
|
34
46
|
}
|
|
35
47
|
end
|
|
36
48
|
|
|
@@ -48,8 +60,11 @@ module TrinsicApi
|
|
|
48
60
|
def self.openapi_types
|
|
49
61
|
{
|
|
50
62
|
:'full_name' => :'String',
|
|
63
|
+
:'full_name_match' => :'Boolean',
|
|
51
64
|
:'date_of_birth' => :'Date',
|
|
52
|
-
:'
|
|
65
|
+
:'date_of_birth_match' => :'Boolean',
|
|
66
|
+
:'resident_id_number' => :'String',
|
|
67
|
+
:'resident_id_number_match' => :'Boolean'
|
|
53
68
|
}
|
|
54
69
|
end
|
|
55
70
|
|
|
@@ -57,8 +72,11 @@ module TrinsicApi
|
|
|
57
72
|
def self.openapi_nullable
|
|
58
73
|
Set.new([
|
|
59
74
|
:'full_name',
|
|
75
|
+
:'full_name_match',
|
|
60
76
|
:'date_of_birth',
|
|
61
|
-
:'
|
|
77
|
+
:'date_of_birth_match',
|
|
78
|
+
:'resident_id_number',
|
|
79
|
+
:'resident_id_number_match'
|
|
62
80
|
])
|
|
63
81
|
end
|
|
64
82
|
|
|
@@ -92,13 +110,25 @@ module TrinsicApi
|
|
|
92
110
|
self.full_name = attributes[:'full_name']
|
|
93
111
|
end
|
|
94
112
|
|
|
113
|
+
if attributes.key?(:'full_name_match')
|
|
114
|
+
self.full_name_match = attributes[:'full_name_match']
|
|
115
|
+
end
|
|
116
|
+
|
|
95
117
|
if attributes.key?(:'date_of_birth')
|
|
96
118
|
self.date_of_birth = attributes[:'date_of_birth']
|
|
97
119
|
end
|
|
98
120
|
|
|
121
|
+
if attributes.key?(:'date_of_birth_match')
|
|
122
|
+
self.date_of_birth_match = attributes[:'date_of_birth_match']
|
|
123
|
+
end
|
|
124
|
+
|
|
99
125
|
if attributes.key?(:'resident_id_number')
|
|
100
126
|
self.resident_id_number = attributes[:'resident_id_number']
|
|
101
127
|
end
|
|
128
|
+
|
|
129
|
+
if attributes.key?(:'resident_id_number_match')
|
|
130
|
+
self.resident_id_number_match = attributes[:'resident_id_number_match']
|
|
131
|
+
end
|
|
102
132
|
end
|
|
103
133
|
|
|
104
134
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -122,8 +152,11 @@ module TrinsicApi
|
|
|
122
152
|
return true if self.equal?(o)
|
|
123
153
|
self.class == o.class &&
|
|
124
154
|
full_name == o.full_name &&
|
|
155
|
+
full_name_match == o.full_name_match &&
|
|
125
156
|
date_of_birth == o.date_of_birth &&
|
|
126
|
-
|
|
157
|
+
date_of_birth_match == o.date_of_birth_match &&
|
|
158
|
+
resident_id_number == o.resident_id_number &&
|
|
159
|
+
resident_id_number_match == o.resident_id_number_match
|
|
127
160
|
end
|
|
128
161
|
|
|
129
162
|
# @see the `==` method
|
|
@@ -135,7 +168,7 @@ module TrinsicApi
|
|
|
135
168
|
# Calculates hash code according to all attributes.
|
|
136
169
|
# @return [Integer] Hash code
|
|
137
170
|
def hash
|
|
138
|
-
[full_name, date_of_birth, resident_id_number].hash
|
|
171
|
+
[full_name, full_name_match, date_of_birth, date_of_birth_match, resident_id_number, resident_id_number_match].hash
|
|
139
172
|
end
|
|
140
173
|
|
|
141
174
|
# Builds the object from hash
|