trinsic_api 3.1.0 → 3.2.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/AppleWalletDigitalIdBirthDate.md +20 -0
- data/docs/AppleWalletDigitalIdCredential.md +54 -0
- data/docs/AppleWalletProviderOutput.md +2 -0
- data/docs/BrazilCnhFacialBiometryOutput.md +24 -0
- data/docs/BrazilCnhMatchFieldDateOnly.md +20 -0
- data/docs/BrazilCnhMatchFieldString.md +20 -0
- data/docs/BrazilCnhProviderOutput.md +48 -0
- data/docs/CreateDirectProviderSessionRequest.md +1 -1
- data/docs/CreateHostedProviderSessionRequest.md +1 -1
- data/docs/CzechBankIdAddress.md +36 -0
- data/docs/CzechBankIdCard.md +30 -0
- data/docs/CzechBankIdProviderOutput.md +78 -0
- data/docs/CzechBankIdTitle.md +20 -0
- data/docs/CzechBankIdVerification.md +22 -0
- data/docs/DiiaIssuerOutput.md +28 -0
- data/docs/DiiaProviderOutput.md +20 -0
- data/docs/DiiaSubjectOutput.md +26 -0
- data/docs/IdemiaPreviewProviderAddress.md +32 -0
- data/docs/IdemiaPreviewProviderOutput.md +76 -0
- data/docs/IndiaDigilockerAadhaarMatchDateOfBirthField.md +20 -0
- data/docs/IndiaDigilockerAadhaarMatchFullNameField.md +20 -0
- data/docs/IndiaDigilockerAadhaarMatchProviderOutput.md +20 -0
- data/docs/IndonesiaDukcapilMatchDateOfBirthField.md +20 -0
- data/docs/IndonesiaDukcapilMatchFullNameField.md +20 -0
- data/docs/IndonesiaDukcapilMatchNationalIdNumberField.md +20 -0
- data/docs/IndonesiaDukcapilMatchProviderOutput.md +38 -0
- data/docs/IndonesiaNikMatch.md +34 -0
- data/docs/IndonesiaNikMatchField.md +20 -0
- data/docs/InteracAddress.md +26 -0
- data/docs/InteracProviderOutput.md +34 -0
- data/docs/ItsmeAddress.md +28 -0
- data/docs/ItsmeProviderOutput.md +19 -1
- data/docs/KenyaNidMatch2DateOfBirthField.md +20 -0
- data/docs/KenyaNidMatch2FullNameField.md +20 -0
- data/docs/KenyaNidMatch2NationalIdNumberField.md +20 -0
- data/docs/KenyaNidMatch2ProviderOutput.md +24 -0
- data/docs/KenyaNidMatch2SexField.md +20 -0
- data/docs/LloydsSmartIdProviderOutput.md +2 -2
- data/docs/MexicoCurpProviderOutput.md +23 -1
- data/docs/NigeriaNinLookup2Input.md +1 -1
- data/docs/NigeriaNinLookup2ProviderOutput.md +2 -2
- data/docs/NigeriaNinMatch2DateOfBirthField.md +20 -0
- data/docs/NigeriaNinMatch2FullNameField.md +20 -0
- data/docs/NigeriaNinMatch2Input.md +1 -1
- data/docs/NigeriaNinMatch2NationalIdNumberField.md +20 -0
- data/docs/NigeriaNinMatch2PhoneNumberField.md +20 -0
- data/docs/NigeriaNinMatch2ProviderOutput.md +26 -0
- data/docs/NigeriaNinMatch2SexField.md +20 -0
- data/docs/PhilippinesPhilsysMatchProviderOutput.md +26 -0
- data/docs/PostOfficeEasyIdProviderOutput.md +2 -2
- data/docs/ProviderInput.md +0 -6
- data/docs/ProviderOutput.md +37 -3
- data/docs/SouthAfricaNidLookup2Input.md +1 -1
- data/docs/SouthAfricaNidLookup2ProviderOutput.md +36 -0
- data/docs/SouthAfricaNidMatch2DateOfBirthField.md +20 -0
- data/docs/SouthAfricaNidMatch2FullNameField.md +20 -0
- data/docs/SouthAfricaNidMatch2Input.md +2 -4
- data/docs/SouthAfricaNidMatch2NationalIdNumberField.md +20 -0
- data/docs/SouthAfricaNidMatch2ProviderOutput.md +26 -0
- data/docs/SouthAfricaNidMatch2SexField.md +20 -0
- data/docs/UAEPassProviderOutput.md +62 -0
- data/docs/UgandaNidMatch2DateOfBirthField.md +20 -0
- data/docs/UgandaNidMatch2Input.md +1 -1
- data/docs/UgandaNidMatch2NationalIdNumberField.md +20 -0
- data/docs/UgandaNidMatch2ProviderOutput.md +22 -0
- data/docs/UgandaNidMatch2SecondaryIdNumberField.md +20 -0
- data/docs/VerimiAddressOutput.md +28 -0
- data/docs/VerimiProviderOutput.md +68 -0
- data/docs/YotiDeeplinkProviderOutput.md +2 -2
- data/docs/YotiProviderOutput.md +2 -2
- data/docs/ZimbabweNidLookup2Input.md +1 -1
- data/docs/ZimbabweNidLookup2ProviderOutput.md +34 -0
- data/lib/trinsic_api/models/apple_wallet_digital_id_birth_date.rb +177 -0
- data/lib/trinsic_api/models/apple_wallet_digital_id_credential.rb +350 -0
- data/lib/trinsic_api/models/apple_wallet_provider_output.rb +12 -1
- data/lib/trinsic_api/models/brazil_cnh_facial_biometry_output.rb +198 -0
- data/lib/trinsic_api/models/{south_africa_nid_biometric2_input.rb → brazil_cnh_match_field_date_only.rb} +36 -33
- data/lib/trinsic_api/models/{nigeria_nin_biometric2_input.rb → brazil_cnh_match_field_string.rb} +20 -33
- data/lib/trinsic_api/models/brazil_cnh_provider_output.rb +315 -0
- data/lib/trinsic_api/models/create_direct_provider_session_request.rb +1 -1
- data/lib/trinsic_api/models/create_hosted_provider_session_request.rb +1 -1
- data/lib/trinsic_api/models/czech_bank_id_address.rb +296 -0
- data/lib/trinsic_api/models/czech_bank_id_card.rb +279 -0
- data/lib/trinsic_api/models/czech_bank_id_provider_output.rb +504 -0
- data/lib/trinsic_api/models/czech_bank_id_title.rb +160 -0
- data/lib/trinsic_api/models/czech_bank_id_verification.rb +203 -0
- data/lib/trinsic_api/models/diia_issuer_output.rb +204 -0
- data/lib/trinsic_api/models/diia_provider_output.rb +193 -0
- data/lib/trinsic_api/models/diia_subject_output.rb +193 -0
- data/lib/trinsic_api/models/idemia_preview_provider_address.rb +226 -0
- data/lib/trinsic_api/models/idemia_preview_provider_output.rb +469 -0
- data/lib/trinsic_api/models/india_digilocker_aadhaar_match_date_of_birth_field.rb +192 -0
- data/lib/trinsic_api/models/india_digilocker_aadhaar_match_full_name_field.rb +192 -0
- data/lib/trinsic_api/models/india_digilocker_aadhaar_match_provider_output.rb +161 -0
- data/lib/trinsic_api/models/indonesia_dukcapil_match_date_of_birth_field.rb +192 -0
- data/lib/trinsic_api/models/indonesia_dukcapil_match_full_name_field.rb +192 -0
- data/lib/trinsic_api/models/indonesia_dukcapil_match_national_id_number_field.rb +192 -0
- data/lib/trinsic_api/models/indonesia_dukcapil_match_provider_output.rb +404 -0
- data/lib/trinsic_api/models/indonesia_nik_match.rb +238 -0
- data/lib/trinsic_api/models/indonesia_nik_match_field.rb +192 -0
- data/lib/trinsic_api/models/{kenya_nid_biometric2_input.rb → interac_address.rb} +50 -30
- data/lib/trinsic_api/models/interac_provider_output.rb +237 -0
- data/lib/trinsic_api/models/itsme_address.rb +204 -0
- data/lib/trinsic_api/models/itsme_provider_output.rb +104 -5
- data/lib/trinsic_api/models/kenya_nid_match2_date_of_birth_field.rb +192 -0
- data/lib/trinsic_api/models/kenya_nid_match2_full_name_field.rb +192 -0
- data/lib/trinsic_api/models/kenya_nid_match2_national_id_number_field.rb +192 -0
- data/lib/trinsic_api/models/kenya_nid_match2_provider_output.rb +215 -0
- data/lib/trinsic_api/models/kenya_nid_match2_sex_field.rb +192 -0
- data/lib/trinsic_api/models/lloyds_smart_id_provider_output.rb +8 -8
- data/lib/trinsic_api/models/mexico_curp_provider_output.rb +126 -5
- data/lib/trinsic_api/models/nigeria_nin_lookup2_input.rb +1 -1
- data/lib/trinsic_api/models/nigeria_nin_lookup2_provider_output.rb +1 -1
- data/lib/trinsic_api/models/nigeria_nin_match2_date_of_birth_field.rb +192 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_full_name_field.rb +192 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_input.rb +1 -1
- data/lib/trinsic_api/models/nigeria_nin_match2_national_id_number_field.rb +192 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_phone_number_field.rb +192 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_provider_output.rb +226 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_sex_field.rb +192 -0
- data/lib/trinsic_api/models/philippines_philsys_match_provider_output.rb +226 -0
- data/lib/trinsic_api/models/post_office_easy_id_provider_output.rb +8 -8
- data/lib/trinsic_api/models/provider_input.rb +1 -34
- data/lib/trinsic_api/models/provider_output.rb +203 -16
- data/lib/trinsic_api/models/south_africa_nid_lookup2_input.rb +1 -1
- data/lib/trinsic_api/models/south_africa_nid_lookup2_provider_output.rb +377 -0
- data/lib/trinsic_api/models/south_africa_nid_match2_date_of_birth_field.rb +192 -0
- data/lib/trinsic_api/models/south_africa_nid_match2_full_name_field.rb +192 -0
- data/lib/trinsic_api/models/south_africa_nid_match2_input.rb +6 -17
- data/lib/trinsic_api/models/south_africa_nid_match2_national_id_number_field.rb +192 -0
- data/lib/trinsic_api/models/south_africa_nid_match2_provider_output.rb +226 -0
- data/lib/trinsic_api/models/south_africa_nid_match2_sex_field.rb +192 -0
- data/lib/trinsic_api/models/uae_pass_provider_output.rb +394 -0
- data/lib/trinsic_api/models/uganda_nid_match2_date_of_birth_field.rb +192 -0
- data/lib/trinsic_api/models/uganda_nid_match2_input.rb +1 -1
- data/lib/trinsic_api/models/uganda_nid_match2_national_id_number_field.rb +192 -0
- data/lib/trinsic_api/models/uganda_nid_match2_provider_output.rb +220 -0
- data/lib/trinsic_api/models/uganda_nid_match2_secondary_id_number_field.rb +192 -0
- data/lib/trinsic_api/models/verimi_address_output.rb +204 -0
- data/lib/trinsic_api/models/verimi_provider_output.rb +425 -0
- data/lib/trinsic_api/models/yoti_deeplink_provider_output.rb +8 -8
- data/lib/trinsic_api/models/yoti_provider_output.rb +8 -8
- data/lib/trinsic_api/models/zimbabwe_nid_lookup2_input.rb +1 -1
- data/lib/trinsic_api/models/zimbabwe_nid_lookup2_provider_output.rb +334 -0
- data/lib/trinsic_api/version.rb +1 -1
- data/lib/trinsic_api.rb +54 -3
- data/spec/models/apple_wallet_digital_id_birth_date_spec.rb +42 -0
- data/spec/models/apple_wallet_digital_id_credential_spec.rb +144 -0
- data/spec/models/apple_wallet_provider_output_spec.rb +6 -0
- data/spec/models/brazil_cnh_facial_biometry_output_spec.rb +54 -0
- data/spec/models/brazil_cnh_match_field_date_only_spec.rb +42 -0
- data/spec/models/brazil_cnh_match_field_string_spec.rb +42 -0
- data/spec/models/brazil_cnh_provider_output_spec.rb +126 -0
- data/spec/models/czech_bank_id_address_spec.rb +90 -0
- data/spec/models/czech_bank_id_card_spec.rb +72 -0
- data/spec/models/czech_bank_id_provider_output_spec.rb +216 -0
- data/spec/models/czech_bank_id_title_spec.rb +42 -0
- data/spec/models/{kenya_nid_biometric2_input_spec.rb → czech_bank_id_verification_spec.rb} +9 -9
- data/spec/models/diia_issuer_output_spec.rb +66 -0
- data/spec/models/diia_provider_output_spec.rb +42 -0
- data/spec/models/diia_subject_output_spec.rb +60 -0
- data/spec/models/idemia_preview_provider_address_spec.rb +78 -0
- data/spec/models/idemia_preview_provider_output_spec.rb +210 -0
- data/spec/models/india_digilocker_aadhaar_match_date_of_birth_field_spec.rb +42 -0
- data/spec/models/india_digilocker_aadhaar_match_full_name_field_spec.rb +42 -0
- data/spec/models/india_digilocker_aadhaar_match_provider_output_spec.rb +42 -0
- data/spec/models/indonesia_dukcapil_match_date_of_birth_field_spec.rb +42 -0
- data/spec/models/indonesia_dukcapil_match_full_name_field_spec.rb +42 -0
- data/spec/models/indonesia_dukcapil_match_national_id_number_field_spec.rb +42 -0
- data/spec/models/indonesia_dukcapil_match_provider_output_spec.rb +96 -0
- data/spec/models/indonesia_nik_match_field_spec.rb +42 -0
- data/spec/models/indonesia_nik_match_spec.rb +84 -0
- data/spec/models/interac_address_spec.rb +60 -0
- data/spec/models/interac_provider_output_spec.rb +84 -0
- data/spec/models/itsme_address_spec.rb +66 -0
- data/spec/models/itsme_provider_output_spec.rb +54 -0
- data/spec/models/kenya_nid_match2_date_of_birth_field_spec.rb +42 -0
- data/spec/models/kenya_nid_match2_full_name_field_spec.rb +42 -0
- data/spec/models/kenya_nid_match2_national_id_number_field_spec.rb +42 -0
- data/spec/models/kenya_nid_match2_provider_output_spec.rb +54 -0
- data/spec/models/kenya_nid_match2_sex_field_spec.rb +42 -0
- data/spec/models/lloyds_smart_id_provider_output_spec.rb +1 -1
- data/spec/models/mexico_curp_provider_output_spec.rb +66 -0
- data/spec/models/{nigeria_nin_biometric2_input_spec.rb → nigeria_nin_match2_date_of_birth_field_spec.rb} +8 -14
- data/spec/models/nigeria_nin_match2_full_name_field_spec.rb +42 -0
- data/spec/models/nigeria_nin_match2_national_id_number_field_spec.rb +42 -0
- data/spec/models/nigeria_nin_match2_phone_number_field_spec.rb +42 -0
- data/spec/models/nigeria_nin_match2_provider_output_spec.rb +60 -0
- data/spec/models/nigeria_nin_match2_sex_field_spec.rb +42 -0
- data/spec/models/philippines_philsys_match_provider_output_spec.rb +60 -0
- data/spec/models/post_office_easy_id_provider_output_spec.rb +1 -1
- data/spec/models/provider_input_spec.rb +0 -18
- data/spec/models/provider_output_spec.rb +108 -6
- data/spec/models/south_africa_nid_lookup2_provider_output_spec.rb +90 -0
- data/spec/models/south_africa_nid_match2_date_of_birth_field_spec.rb +42 -0
- data/spec/models/south_africa_nid_match2_full_name_field_spec.rb +42 -0
- data/spec/models/south_africa_nid_match2_input_spec.rb +0 -6
- data/spec/models/south_africa_nid_match2_national_id_number_field_spec.rb +42 -0
- data/spec/models/south_africa_nid_match2_provider_output_spec.rb +60 -0
- data/spec/models/south_africa_nid_match2_sex_field_spec.rb +42 -0
- data/spec/models/uae_pass_provider_output_spec.rb +168 -0
- data/spec/models/uganda_nid_match2_date_of_birth_field_spec.rb +42 -0
- data/spec/models/uganda_nid_match2_national_id_number_field_spec.rb +42 -0
- data/spec/models/{south_africa_nid_biometric2_input_spec.rb → uganda_nid_match2_provider_output_spec.rb} +9 -9
- data/spec/models/uganda_nid_match2_secondary_id_number_field_spec.rb +42 -0
- data/spec/models/verimi_address_output_spec.rb +66 -0
- data/spec/models/verimi_provider_output_spec.rb +186 -0
- data/spec/models/yoti_deeplink_provider_output_spec.rb +1 -1
- data/spec/models/yoti_provider_output_spec.rb +1 -1
- data/spec/models/zimbabwe_nid_lookup2_provider_output_spec.rb +84 -0
- metadata +408 -204
- data/docs/KenyaNidBiometric2Input.md +0 -22
- data/docs/NigeriaNinBiometric2Input.md +0 -22
- data/docs/SouthAfricaNidBiometric2Input.md +0 -22
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# TrinsicApi::UgandaNidMatch2SecondaryIdNumberField
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **input_value** | **String** | The card number on the national ID document, distinct from the National ID number. Format: - 9 numeric digits - There is no publicly documented encoding scheme for encoding personal information in the card number - No check digit or algorithm has been publicly documented by NIRA | |
|
|
8
|
+
| **outcome** | **String** | The outcome of comparing the submitted card number with NIRA database. Possible values: - Exact Match - No Match - Not Returned | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'trinsic_api'
|
|
14
|
+
|
|
15
|
+
instance = TrinsicApi::UgandaNidMatch2SecondaryIdNumberField.new(
|
|
16
|
+
input_value: 012345678,
|
|
17
|
+
outcome: Exact Match
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# TrinsicApi::VerimiAddressOutput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **full_address** | **String** | The formatted address. | [optional] |
|
|
8
|
+
| **country_code** | **String** | The ISO 3166-1 alpha-2 country code. | [optional] |
|
|
9
|
+
| **postal_code** | **String** | The postal code. | [optional] |
|
|
10
|
+
| **street** | **String** | The street name. | [optional] |
|
|
11
|
+
| **building_number** | **String** | The building number. | [optional] |
|
|
12
|
+
| **city** | **String** | The city. | [optional] |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'trinsic_api'
|
|
18
|
+
|
|
19
|
+
instance = TrinsicApi::VerimiAddressOutput.new(
|
|
20
|
+
full_address: Willy-Brandt-Strasse 1 10557 Berlin Deutschland,
|
|
21
|
+
country_code: DE,
|
|
22
|
+
postal_code: 10557,
|
|
23
|
+
street: Willy-Brandt-Strasse,
|
|
24
|
+
building_number: 1,
|
|
25
|
+
city: Berlin
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# TrinsicApi::VerimiProviderOutput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **full_name** | **String** | The full name of the individual. | [optional] |
|
|
8
|
+
| **date_of_birth** | **Date** | The date of birth of the individual. | [optional] |
|
|
9
|
+
| **given_name** | **String** | The given name of the individual. | [optional] |
|
|
10
|
+
| **middle_name** | **String** | The middle name of the individual. | [optional] |
|
|
11
|
+
| **family_name** | **String** | The family name of the individual. | [optional] |
|
|
12
|
+
| **email** | **String** | The email address of the individual. | [optional] |
|
|
13
|
+
| **email_verified** | **Boolean** | Whether the email address has been verified by Verimi. | [optional] |
|
|
14
|
+
| **phone_number** | **String** | The phone number of the individual in E.164 format. | [optional] |
|
|
15
|
+
| **phone_number_verified** | **Boolean** | Whether the phone number has been verified by Verimi. | [optional] |
|
|
16
|
+
| **gender** | **String** | The gender of the individual. | [optional] |
|
|
17
|
+
| **zone_information** | **String** | The individual's time zone as an IANA Time Zone Database zoneinfo identifier. | [optional] |
|
|
18
|
+
| **locale** | **String** | The selected language or locale of the individual as a BCP 47 language tag. | [optional] |
|
|
19
|
+
| **citizenship** | **String** | The citizenship of the individual. This is an ISO-3166-1 alpha-2 country code. | [optional] |
|
|
20
|
+
| **place_of_birth** | **String** | The place of birth of the individual. | [optional] |
|
|
21
|
+
| **document_number** | **String** | The document number of the identity document used by the individual. | [optional] |
|
|
22
|
+
| **document_type** | **String** | The identity document type. Known values: - I: ID card. - P: Passport. | [optional] |
|
|
23
|
+
| **document_expiration_date** | **Date** | The expiration date of the identity document. | [optional] |
|
|
24
|
+
| **document_issue_date** | **Date** | The issue date of the identity document. | [optional] |
|
|
25
|
+
| **document_issuing_authority** | **String** | The authority that issued the identity document. | [optional] |
|
|
26
|
+
| **verification_method** | **String** | The verification method used to prove the individual's identity. | [optional] |
|
|
27
|
+
| **verification_date** | **Date** | The date when the individual proved their identity with Verimi. | [optional] |
|
|
28
|
+
| **level_of_assurance** | **String** | The level of assurance for the verification. Known values: - Low: The individual has self-asserted their identity. - Substantial: The individual has completed identity proofing and strong authentication. - High: The individual has completed identity proofing with stronger cryptographic authentication requirements. | [optional] |
|
|
29
|
+
| **authentication_method** | **String** | The authentication method for the completed identification. Known values: - email - loa.dipp.default - loa.dipp.2fa - idcard | [optional] |
|
|
30
|
+
| **pseudonym** | **String** | The pseudonymous identifier. For German eID, this is the restricted identifier (rID), scoped to the relying-party sector. | [optional] |
|
|
31
|
+
| **address** | [**VerimiAddressOutput**](VerimiAddressOutput.md) | The individual's structured address. | [optional] |
|
|
32
|
+
| **issuing_country** | **String** | The ISO 3166-1 alpha-2 country code for the country that issued the identity document. | [optional] |
|
|
33
|
+
|
|
34
|
+
## Example
|
|
35
|
+
|
|
36
|
+
```ruby
|
|
37
|
+
require 'trinsic_api'
|
|
38
|
+
|
|
39
|
+
instance = TrinsicApi::VerimiProviderOutput.new(
|
|
40
|
+
full_name: Ove Henriksen,
|
|
41
|
+
date_of_birth: Sun Aug 15 00:00:00 UTC 1943,
|
|
42
|
+
given_name: Erika,
|
|
43
|
+
middle_name: Maria,
|
|
44
|
+
family_name: Mustermann,
|
|
45
|
+
email: erika.mustermann@example.de,
|
|
46
|
+
email_verified: true,
|
|
47
|
+
phone_number: +4915112345678,
|
|
48
|
+
phone_number_verified: true,
|
|
49
|
+
gender: female,
|
|
50
|
+
zone_information: Europe/Berlin,
|
|
51
|
+
locale: de-DE,
|
|
52
|
+
citizenship: DE,
|
|
53
|
+
place_of_birth: Munich,
|
|
54
|
+
document_number: C01X00T47,
|
|
55
|
+
document_type: I,
|
|
56
|
+
document_expiration_date: Mon May 20 00:00:00 UTC 2030,
|
|
57
|
+
document_issue_date: Thu May 21 00:00:00 UTC 2020,
|
|
58
|
+
document_issuing_authority: Stadt Koln,
|
|
59
|
+
verification_method: EID,
|
|
60
|
+
verification_date: Wed Apr 23 00:00:00 UTC 2025,
|
|
61
|
+
level_of_assurance: Substantial,
|
|
62
|
+
authentication_method: idcard,
|
|
63
|
+
pseudonym: 9f6a5d89e2b741c0a7f8d3e4b5c6a91234567890abcdef1234567890abcdef12,
|
|
64
|
+
address: null,
|
|
65
|
+
issuing_country: DE
|
|
66
|
+
)
|
|
67
|
+
```
|
|
68
|
+
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
7
|
+
| **yoti_remember_me_id** | **String** | A Yoti-generated unique ID for this individual, consistent across repeat shares and different for each Relying Party. | [optional] |
|
|
8
8
|
| **email** | **String** | The email address of the individual | [optional] |
|
|
9
9
|
| **given_name** | **String** | The given name of the individual. This can correspond to first and middle names in English. | [optional] |
|
|
10
10
|
| **family_name** | **String** | The family name of the individual | [optional] |
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
require 'trinsic_api'
|
|
24
24
|
|
|
25
25
|
instance = TrinsicApi::YotiDeeplinkProviderOutput.new(
|
|
26
|
-
|
|
26
|
+
yoti_remember_me_id: Ic3NCB/dWVB1k4QPOD98IpDJ8ut04 lPHPSNV0RWikAc+szH2NrZFK1 nG+cZgaXe8,
|
|
27
27
|
email: johndoe@example.com,
|
|
28
28
|
given_name: John Alvin,
|
|
29
29
|
family_name: Doe,
|
data/docs/YotiProviderOutput.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
7
|
+
| **yoti_remember_me_id** | **String** | A Yoti-generated unique ID for this individual, consistent across repeat shares and different for each Relying Party. | [optional] |
|
|
8
8
|
| **email** | **String** | The email address of the individual | [optional] |
|
|
9
9
|
| **given_name** | **String** | The given name of the individual. This can correspond to first and middle names in English. | [optional] |
|
|
10
10
|
| **family_name** | **String** | The family name of the individual | [optional] |
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
require 'trinsic_api'
|
|
24
24
|
|
|
25
25
|
instance = TrinsicApi::YotiProviderOutput.new(
|
|
26
|
-
|
|
26
|
+
yoti_remember_me_id: Ic3NCB/dWVB1k4QPOD98IpDJ8ut04 lPHPSNV0RWikAc+szH2NrZFK1 nG+cZgaXe8,
|
|
27
27
|
email: johndoe@example.com,
|
|
28
28
|
given_name: John Alvin,
|
|
29
29
|
family_name: Doe,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id_number** | **String** |
|
|
7
|
+
| **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
8
|
|
|
9
9
|
## Example
|
|
10
10
|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# TrinsicApi::ZimbabweNidLookup2ProviderOutput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **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 | |
|
|
8
|
+
| **given_name** | **String** | Given name(s) of the individual. | |
|
|
9
|
+
| **family_name** | **String** | Family name of the individual. | |
|
|
10
|
+
| **full_name** | **String** | Full name of the individual. | |
|
|
11
|
+
| **sex** | **String** | Sex of the individual. Possible values: - Male - Female - Not Applicable - Unknown | |
|
|
12
|
+
| **date_of_birth** | **Date** | Date of birth of the individual. | |
|
|
13
|
+
| **place_of_birth** | **String** | Place of birth, typically a municipality or city within Zimbabwe. | [optional] |
|
|
14
|
+
| **is_alive** | **Boolean** | Whether individual is reported as alive by the Zimbabwean government. | [optional] |
|
|
15
|
+
| **date_of_death** | **Date** | Date of death of the individual, when available. | [optional] |
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```ruby
|
|
20
|
+
require 'trinsic_api'
|
|
21
|
+
|
|
22
|
+
instance = TrinsicApi::ZimbabweNidLookup2ProviderOutput.new(
|
|
23
|
+
national_id_number: 12345678A12,
|
|
24
|
+
given_name: ELIZABETH MARY,
|
|
25
|
+
family_name: MOYO,
|
|
26
|
+
full_name: ELIZABETH MARY MOYO,
|
|
27
|
+
sex: Female,
|
|
28
|
+
date_of_birth: Fri Nov 01 00:00:00 UTC 1940,
|
|
29
|
+
place_of_birth: Harare,
|
|
30
|
+
is_alive: false,
|
|
31
|
+
date_of_death: Wed Jan 10 00:00:00 UTC 2024
|
|
32
|
+
)
|
|
33
|
+
```
|
|
34
|
+
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Trinsic API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module TrinsicApi
|
|
17
|
+
# A date of birth field as encoded in an Apple Wallet Digital ID credential, possibly with an \"approximate mask\" indicating uncertain digits.
|
|
18
|
+
class AppleWalletDigitalIdBirthDate < ApiModelBase
|
|
19
|
+
# The encoded date of birth.
|
|
20
|
+
attr_accessor :date_of_birth
|
|
21
|
+
|
|
22
|
+
# An 8-character mask of `1`s and `0`s, where a `1` indicates that the corresponding digit in the birth date (formatted as YYYYMMDD) is uncertain or unknown. For example, a mask of \"00000011\" indicates that the day-of-month on which the individual was born is not certain.
|
|
23
|
+
attr_accessor :approximate_mask
|
|
24
|
+
|
|
25
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
26
|
+
def self.attribute_map
|
|
27
|
+
{
|
|
28
|
+
:'date_of_birth' => :'dateOfBirth',
|
|
29
|
+
:'approximate_mask' => :'approximateMask'
|
|
30
|
+
}
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Returns attribute mapping this model knows about
|
|
34
|
+
def self.acceptable_attribute_map
|
|
35
|
+
attribute_map
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Returns all the JSON keys this model knows about
|
|
39
|
+
def self.acceptable_attributes
|
|
40
|
+
acceptable_attribute_map.values
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Attribute type mapping.
|
|
44
|
+
def self.openapi_types
|
|
45
|
+
{
|
|
46
|
+
:'date_of_birth' => :'Date',
|
|
47
|
+
:'approximate_mask' => :'String'
|
|
48
|
+
}
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# List of attributes with nullable: true
|
|
52
|
+
def self.openapi_nullable
|
|
53
|
+
Set.new([
|
|
54
|
+
:'approximate_mask'
|
|
55
|
+
])
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Initializes the object
|
|
59
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
60
|
+
def initialize(attributes = {})
|
|
61
|
+
if (!attributes.is_a?(Hash))
|
|
62
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::AppleWalletDigitalIdBirthDate` initialize method"
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
66
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
67
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
68
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
69
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::AppleWalletDigitalIdBirthDate`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
70
|
+
end
|
|
71
|
+
h[k.to_sym] = v
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
if attributes.key?(:'date_of_birth')
|
|
75
|
+
self.date_of_birth = attributes[:'date_of_birth']
|
|
76
|
+
else
|
|
77
|
+
self.date_of_birth = nil
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
if attributes.key?(:'approximate_mask')
|
|
81
|
+
self.approximate_mask = attributes[:'approximate_mask']
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
86
|
+
# @return Array for valid properties with the reasons
|
|
87
|
+
def list_invalid_properties
|
|
88
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
89
|
+
invalid_properties = Array.new
|
|
90
|
+
if @date_of_birth.nil?
|
|
91
|
+
invalid_properties.push('invalid value for "date_of_birth", date_of_birth cannot be nil.')
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
invalid_properties
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# Check to see if the all the properties in the model are valid
|
|
98
|
+
# @return true if the model is valid
|
|
99
|
+
def valid?
|
|
100
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
101
|
+
return false if @date_of_birth.nil?
|
|
102
|
+
true
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# Custom attribute writer method with validation
|
|
106
|
+
# @param [Object] date_of_birth Value to be assigned
|
|
107
|
+
def date_of_birth=(date_of_birth)
|
|
108
|
+
if date_of_birth.nil?
|
|
109
|
+
fail ArgumentError, 'date_of_birth cannot be nil'
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
@date_of_birth = date_of_birth
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# Checks equality by comparing each attribute.
|
|
116
|
+
# @param [Object] Object to be compared
|
|
117
|
+
def ==(o)
|
|
118
|
+
return true if self.equal?(o)
|
|
119
|
+
self.class == o.class &&
|
|
120
|
+
date_of_birth == o.date_of_birth &&
|
|
121
|
+
approximate_mask == o.approximate_mask
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
# @see the `==` method
|
|
125
|
+
# @param [Object] Object to be compared
|
|
126
|
+
def eql?(o)
|
|
127
|
+
self == o
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
# Calculates hash code according to all attributes.
|
|
131
|
+
# @return [Integer] Hash code
|
|
132
|
+
def hash
|
|
133
|
+
[date_of_birth, approximate_mask].hash
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
# Builds the object from hash
|
|
137
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
138
|
+
# @return [Object] Returns the model itself
|
|
139
|
+
def self.build_from_hash(attributes)
|
|
140
|
+
return nil unless attributes.is_a?(Hash)
|
|
141
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
142
|
+
transformed_hash = {}
|
|
143
|
+
openapi_types.each_pair do |key, type|
|
|
144
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
145
|
+
transformed_hash["#{key}"] = nil
|
|
146
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
147
|
+
# check to ensure the input is an array given that the attribute
|
|
148
|
+
# is documented as an array but the input is not
|
|
149
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
150
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
151
|
+
end
|
|
152
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
153
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
154
|
+
end
|
|
155
|
+
end
|
|
156
|
+
new(transformed_hash)
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
# Returns the object in the form of hash
|
|
160
|
+
# @return [Hash] Returns the object in the form of hash
|
|
161
|
+
def to_hash
|
|
162
|
+
hash = {}
|
|
163
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
164
|
+
value = self.send(attr)
|
|
165
|
+
if value.nil?
|
|
166
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
167
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
hash[param] = _to_hash(value)
|
|
171
|
+
end
|
|
172
|
+
hash
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
end
|