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.
Files changed (189) hide show
  1. checksums.yaml +4 -4
  2. data/docs/AadhaarDocumentOutput.md +28 -0
  3. data/docs/BrazilCnhProviderOutput.md +4 -0
  4. data/docs/BrazilCpfProviderOutput.md +0 -2
  5. data/docs/ChinaResidentIdMatchOutput.md +7 -1
  6. data/docs/CoteDIvoireNidLookup2ProviderOutput.md +4 -0
  7. data/docs/CzechBankIdProviderOutput.md +2 -2
  8. data/docs/CzechMojeIdProviderOutput.md +2 -0
  9. data/docs/DigidentityAddressOutput.md +22 -0
  10. data/docs/DigidentityProviderOutput.md +40 -0
  11. data/docs/DigilockerAadhaarProviderOutput.md +5 -1
  12. data/docs/ElSalvadorDuiProviderOutput.md +2 -2
  13. data/docs/FinnishTrustNetworkAddressOutput.md +3 -1
  14. data/docs/FinnishTrustNetworkProviderOutput.md +1 -1
  15. data/docs/{SignzyIndiaAadhaarFetchProviderOutput.md → IndiaDigilockerAadhaarFetchProviderOutput.md} +6 -2
  16. data/docs/IndonesiaDukcapilMatchProviderOutput.md +6 -0
  17. data/docs/ItsmeProviderOutput.md +2 -0
  18. data/docs/KenyaNidLookup2ProviderOutput.md +4 -0
  19. data/docs/KoreaTelcoMatchProviderOutput.md +6 -0
  20. data/docs/NigeriaNinLookup2ProviderOutput.md +4 -0
  21. data/docs/PhilippinesPhysicalNidProviderOutput.md +5 -1
  22. data/docs/PolandMobywatelMatchProviderOutput.md +4 -0
  23. data/docs/Provider.md +6 -2
  24. data/docs/ProviderInput.md +0 -12
  25. data/docs/ProviderOutput.md +9 -29
  26. data/docs/RecommendProviderInformation.md +6 -2
  27. data/docs/SouthAfricaNidLookup2ProviderOutput.md +2 -0
  28. data/docs/SubProviderMetadata.md +6 -4
  29. data/docs/SubmitNativeChallengeResponseRequest.md +1 -1
  30. data/docs/ZimbabweNidLookup2ProviderOutput.md +2 -0
  31. data/lib/trinsic_api/api_client.rb +1 -1
  32. data/lib/trinsic_api/models/{belgium_id_card_provider_output.rb → aadhaar_document_output.rb} +52 -30
  33. data/lib/trinsic_api/models/brazil_cnh_provider_output.rb +23 -1
  34. data/lib/trinsic_api/models/brazil_cpf_provider_output.rb +1 -12
  35. data/lib/trinsic_api/models/china_resident_id_match_output.rb +38 -5
  36. data/lib/trinsic_api/models/cote_d_ivoire_nid_lookup2_provider_output.rb +23 -1
  37. data/lib/trinsic_api/models/czech_bank_id_provider_output.rb +2 -2
  38. data/lib/trinsic_api/models/czech_moje_id_provider_output.rb +12 -1
  39. data/lib/trinsic_api/models/{nigeria_nin_match2_sex_field.rb → digidentity_address_output.rb} +31 -20
  40. data/lib/trinsic_api/models/{nigeria_nin_match2_input.rb → digidentity_provider_output.rb} +101 -67
  41. data/lib/trinsic_api/models/digilocker_aadhaar_provider_output.rb +27 -5
  42. data/lib/trinsic_api/models/el_salvador_dui_provider_output.rb +2 -2
  43. data/lib/trinsic_api/models/finnish_trust_network_address_output.rb +16 -5
  44. data/lib/trinsic_api/models/{signzy_india_aadhaar_fetch_provider_output.rb → india_digilocker_aadhaar_fetch_provider_output.rb} +26 -4
  45. data/lib/trinsic_api/models/indonesia_dukcapil_match_provider_output.rb +34 -1
  46. data/lib/trinsic_api/models/itsme_provider_output.rb +12 -1
  47. data/lib/trinsic_api/models/kenya_nid_lookup2_provider_output.rb +23 -1
  48. data/lib/trinsic_api/models/korea_telco_match_provider_output.rb +34 -1
  49. data/lib/trinsic_api/models/nigeria_nin_lookup2_provider_output.rb +23 -1
  50. data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +27 -5
  51. data/lib/trinsic_api/models/poland_mobywatel_match_provider_output.rb +23 -1
  52. data/lib/trinsic_api/models/provider.rb +71 -17
  53. data/lib/trinsic_api/models/provider_input.rb +1 -67
  54. data/lib/trinsic_api/models/provider_output.rb +46 -156
  55. data/lib/trinsic_api/models/recommend_provider_information.rb +71 -17
  56. data/lib/trinsic_api/models/south_africa_nid_lookup2_provider_output.rb +12 -1
  57. data/lib/trinsic_api/models/sub_provider_metadata.rb +68 -25
  58. data/lib/trinsic_api/models/submit_native_challenge_response_request.rb +1 -1
  59. data/lib/trinsic_api/models/zimbabwe_nid_lookup2_provider_output.rb +12 -1
  60. data/lib/trinsic_api/version.rb +1 -1
  61. data/lib/trinsic_api.rb +4 -37
  62. data/spec/models/{kenya_nid_input_spec.rb → aadhaar_document_output_spec.rb} +12 -12
  63. data/spec/models/brazil_cnh_provider_output_spec.rb +12 -0
  64. data/spec/models/brazil_cpf_provider_output_spec.rb +0 -6
  65. data/spec/models/china_resident_id_match_output_spec.rb +18 -0
  66. data/spec/models/cote_d_ivoire_nid_lookup2_provider_output_spec.rb +12 -0
  67. data/spec/models/czech_moje_id_provider_output_spec.rb +6 -0
  68. data/spec/models/{latvia_eparaksts_provider_output_spec.rb → digidentity_address_output_spec.rb} +9 -9
  69. data/spec/models/{yoti_deeplink_provider_output_spec.rb → digidentity_provider_output_spec.rb} +18 -18
  70. data/spec/models/digilocker_aadhaar_provider_output_spec.rb +12 -0
  71. data/spec/models/finnish_trust_network_address_output_spec.rb +6 -0
  72. data/spec/models/{signzy_india_aadhaar_fetch_provider_output_spec.rb → india_digilocker_aadhaar_fetch_provider_output_spec.rb} +18 -6
  73. data/spec/models/indonesia_dukcapil_match_provider_output_spec.rb +18 -0
  74. data/spec/models/itsme_provider_output_spec.rb +6 -0
  75. data/spec/models/kenya_nid_lookup2_provider_output_spec.rb +12 -0
  76. data/spec/models/korea_telco_match_provider_output_spec.rb +18 -0
  77. data/spec/models/nigeria_nin_lookup2_provider_output_spec.rb +12 -0
  78. data/spec/models/philippines_physical_nid_provider_output_spec.rb +12 -0
  79. data/spec/models/poland_mobywatel_match_provider_output_spec.rb +12 -0
  80. data/spec/models/provider_input_spec.rb +0 -36
  81. data/spec/models/provider_output_spec.rb +21 -81
  82. data/spec/models/provider_spec.rb +13 -1
  83. data/spec/models/recommend_provider_information_spec.rb +13 -1
  84. data/spec/models/south_africa_nid_lookup2_provider_output_spec.rb +6 -0
  85. data/spec/models/sub_provider_metadata_spec.rb +8 -2
  86. data/spec/models/zimbabwe_nid_lookup2_provider_output_spec.rb +6 -0
  87. metadata +293 -425
  88. data/docs/BelgiumIdCardProviderOutput.md +0 -24
  89. data/docs/CzechiaMojeIdProviderOutput.md +0 -24
  90. data/docs/EstoniaIdCardProviderOutput.md +0 -24
  91. data/docs/FinlandIdCardProviderOutput.md +0 -24
  92. data/docs/FrejaIndirectProviderOutput.md +0 -24
  93. data/docs/KenyaNidInput.md +0 -28
  94. data/docs/KenyaNidMatch2DateOfBirthField.md +0 -20
  95. data/docs/KenyaNidMatch2FullNameField.md +0 -20
  96. data/docs/KenyaNidMatch2Input.md +0 -28
  97. data/docs/KenyaNidMatch2InputSex.md +0 -15
  98. data/docs/KenyaNidMatch2NationalIdNumberField.md +0 -20
  99. data/docs/KenyaNidMatch2ProviderOutput.md +0 -24
  100. data/docs/KenyaNidMatch2SexField.md +0 -20
  101. data/docs/LatviaEparakstsProviderOutput.md +0 -22
  102. data/docs/LithuaniaIdCardProviderOutput.md +0 -24
  103. data/docs/LloydsSmartIdProviderOutput.md +0 -40
  104. data/docs/NigeriaNinInput.md +0 -30
  105. data/docs/NigeriaNinMatch2DateOfBirthField.md +0 -20
  106. data/docs/NigeriaNinMatch2FullNameField.md +0 -20
  107. data/docs/NigeriaNinMatch2Input.md +0 -30
  108. data/docs/NigeriaNinMatch2InputSex.md +0 -15
  109. data/docs/NigeriaNinMatch2NationalIdNumberField.md +0 -20
  110. data/docs/NigeriaNinMatch2PhoneNumberField.md +0 -20
  111. data/docs/NigeriaNinMatch2ProviderOutput.md +0 -26
  112. data/docs/NigeriaNinMatch2SexField.md +0 -20
  113. data/docs/PortugalIdCardProviderOutput.md +0 -24
  114. data/docs/SerbiaIdCardProviderOutput.md +0 -24
  115. data/docs/SouthAfricaNidInput.md +0 -24
  116. data/docs/SouthAfricaNidMatch2DateOfBirthField.md +0 -20
  117. data/docs/SouthAfricaNidMatch2FullNameField.md +0 -20
  118. data/docs/SouthAfricaNidMatch2Input.md +0 -28
  119. data/docs/SouthAfricaNidMatch2InputSex.md +0 -15
  120. data/docs/SouthAfricaNidMatch2NationalIdNumberField.md +0 -20
  121. data/docs/SouthAfricaNidMatch2ProviderOutput.md +0 -26
  122. data/docs/SouthAfricaNidMatch2SexField.md +0 -20
  123. data/docs/YotiDeeplinkProviderOutput.md +0 -40
  124. data/lib/trinsic_api/models/czechia_moje_id_provider_output.rb +0 -196
  125. data/lib/trinsic_api/models/estonia_id_card_provider_output.rb +0 -196
  126. data/lib/trinsic_api/models/finland_id_card_provider_output.rb +0 -196
  127. data/lib/trinsic_api/models/freja_indirect_provider_output.rb +0 -196
  128. data/lib/trinsic_api/models/kenya_nid_input.rb +0 -353
  129. data/lib/trinsic_api/models/kenya_nid_match2_date_of_birth_field.rb +0 -173
  130. data/lib/trinsic_api/models/kenya_nid_match2_full_name_field.rb +0 -173
  131. data/lib/trinsic_api/models/kenya_nid_match2_input.rb +0 -239
  132. data/lib/trinsic_api/models/kenya_nid_match2_input_sex.rb +0 -41
  133. data/lib/trinsic_api/models/kenya_nid_match2_national_id_number_field.rb +0 -173
  134. data/lib/trinsic_api/models/kenya_nid_match2_provider_output.rb +0 -196
  135. data/lib/trinsic_api/models/kenya_nid_match2_sex_field.rb +0 -173
  136. data/lib/trinsic_api/models/latvia_eparaksts_provider_output.rb +0 -185
  137. data/lib/trinsic_api/models/lithuania_id_card_provider_output.rb +0 -196
  138. data/lib/trinsic_api/models/lloyds_smart_id_provider_output.rb +0 -284
  139. data/lib/trinsic_api/models/nigeria_nin_input.rb +0 -339
  140. data/lib/trinsic_api/models/nigeria_nin_match2_date_of_birth_field.rb +0 -173
  141. data/lib/trinsic_api/models/nigeria_nin_match2_full_name_field.rb +0 -173
  142. data/lib/trinsic_api/models/nigeria_nin_match2_input_sex.rb +0 -41
  143. data/lib/trinsic_api/models/nigeria_nin_match2_national_id_number_field.rb +0 -173
  144. data/lib/trinsic_api/models/nigeria_nin_match2_phone_number_field.rb +0 -173
  145. data/lib/trinsic_api/models/nigeria_nin_match2_provider_output.rb +0 -207
  146. data/lib/trinsic_api/models/portugal_id_card_provider_output.rb +0 -196
  147. data/lib/trinsic_api/models/serbia_id_card_provider_output.rb +0 -196
  148. data/lib/trinsic_api/models/south_africa_nid_input.rb +0 -306
  149. data/lib/trinsic_api/models/south_africa_nid_match2_date_of_birth_field.rb +0 -173
  150. data/lib/trinsic_api/models/south_africa_nid_match2_full_name_field.rb +0 -173
  151. data/lib/trinsic_api/models/south_africa_nid_match2_input.rb +0 -239
  152. data/lib/trinsic_api/models/south_africa_nid_match2_input_sex.rb +0 -41
  153. data/lib/trinsic_api/models/south_africa_nid_match2_national_id_number_field.rb +0 -173
  154. data/lib/trinsic_api/models/south_africa_nid_match2_provider_output.rb +0 -207
  155. data/lib/trinsic_api/models/south_africa_nid_match2_sex_field.rb +0 -173
  156. data/lib/trinsic_api/models/yoti_deeplink_provider_output.rb +0 -284
  157. data/spec/models/belgium_id_card_provider_output_spec.rb +0 -54
  158. data/spec/models/czechia_moje_id_provider_output_spec.rb +0 -54
  159. data/spec/models/estonia_id_card_provider_output_spec.rb +0 -54
  160. data/spec/models/finland_id_card_provider_output_spec.rb +0 -54
  161. data/spec/models/freja_indirect_provider_output_spec.rb +0 -54
  162. data/spec/models/kenya_nid_match2_date_of_birth_field_spec.rb +0 -42
  163. data/spec/models/kenya_nid_match2_full_name_field_spec.rb +0 -42
  164. data/spec/models/kenya_nid_match2_input_sex_spec.rb +0 -30
  165. data/spec/models/kenya_nid_match2_input_spec.rb +0 -66
  166. data/spec/models/kenya_nid_match2_national_id_number_field_spec.rb +0 -42
  167. data/spec/models/kenya_nid_match2_provider_output_spec.rb +0 -54
  168. data/spec/models/kenya_nid_match2_sex_field_spec.rb +0 -42
  169. data/spec/models/lithuania_id_card_provider_output_spec.rb +0 -54
  170. data/spec/models/lloyds_smart_id_provider_output_spec.rb +0 -102
  171. data/spec/models/nigeria_nin_input_spec.rb +0 -72
  172. data/spec/models/nigeria_nin_match2_date_of_birth_field_spec.rb +0 -42
  173. data/spec/models/nigeria_nin_match2_full_name_field_spec.rb +0 -42
  174. data/spec/models/nigeria_nin_match2_input_sex_spec.rb +0 -30
  175. data/spec/models/nigeria_nin_match2_input_spec.rb +0 -72
  176. data/spec/models/nigeria_nin_match2_national_id_number_field_spec.rb +0 -42
  177. data/spec/models/nigeria_nin_match2_phone_number_field_spec.rb +0 -42
  178. data/spec/models/nigeria_nin_match2_provider_output_spec.rb +0 -60
  179. data/spec/models/nigeria_nin_match2_sex_field_spec.rb +0 -42
  180. data/spec/models/portugal_id_card_provider_output_spec.rb +0 -54
  181. data/spec/models/serbia_id_card_provider_output_spec.rb +0 -54
  182. data/spec/models/south_africa_nid_input_spec.rb +0 -54
  183. data/spec/models/south_africa_nid_match2_date_of_birth_field_spec.rb +0 -42
  184. data/spec/models/south_africa_nid_match2_full_name_field_spec.rb +0 -42
  185. data/spec/models/south_africa_nid_match2_input_sex_spec.rb +0 -30
  186. data/spec/models/south_africa_nid_match2_input_spec.rb +0 -66
  187. data/spec/models/south_africa_nid_match2_national_id_number_field_spec.rb +0 -42
  188. data/spec/models/south_africa_nid_match2_provider_output_spec.rb +0 -60
  189. data/spec/models/south_africa_nid_match2_sex_field_spec.rb +0 -42
@@ -1,24 +0,0 @@
1
- # TrinsicApi::SerbiaIdCardProviderOutput
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **first_name** | **String** | The first name of the verified individual | [optional] |
8
- | **last_name** | **String** | The last name of the verified individual | [optional] |
9
- | **date_of_birth** | **Date** | The date of birth of the verified individual | [optional] |
10
- | **unique_master_citizen_number** | **String** | The 13-digit Serbian Unique Master Citizen Number (\"JMBG\" / \"Jedinstveni Matični Broj Građana\") of the verified individual. This is in the format DDMMYYYRRSSSC, where: - DDMM is the day and month of birth - YYY is the last three digits of the year of birth - RR is the political region code of the region of birth (if born after 1976) or of first registration (if born before 1976) - SSS is a unique sex-specific serial number for individuals born on the same date in the same region - C is a checksum digit If YYY is between 000 and 099, the millennium digit of the year is \"2\"; the individual was born after the year 2000. If YYY is between 800 and 999, the millennium digit of the year is \"1\"; the individual was born before the year 2000. If SSS is between 000 and 499, the individual is male. If SSS is between 500 and 999, the individual is female. | [optional] |
11
-
12
- ## Example
13
-
14
- ```ruby
15
- require 'trinsic_api'
16
-
17
- instance = TrinsicApi::SerbiaIdCardProviderOutput.new(
18
- first_name: John,
19
- last_name: Doe,
20
- date_of_birth: Tue Dec 10 00:00:00 UTC 1985,
21
- unique_master_citizen_number: 3006990711231
22
- )
23
- ```
24
-
@@ -1,24 +0,0 @@
1
- # TrinsicApi::SouthAfricaNidInput
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **full_name** | **String** | The user's full name as it appears in their National ID | |
8
- | **date_of_birth** | **Date** | The user's date of birth, in `YYYY-MM-DD` format | |
9
- | **gender** | **String** | The user's gender as it appears in their National ID (e.g., male, female) | |
10
- | **national_id_number** | **String** | The user's National ID number | |
11
-
12
- ## Example
13
-
14
- ```ruby
15
- require 'trinsic_api'
16
-
17
- instance = TrinsicApi::SouthAfricaNidInput.new(
18
- full_name: null,
19
- date_of_birth: null,
20
- gender: null,
21
- national_id_number: null
22
- )
23
- ```
24
-
@@ -1,20 +0,0 @@
1
- # TrinsicApi::SouthAfricaNidMatch2DateOfBirthField
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **input_value** | **Date** | The date of birth submitted for this check. | [optional] |
8
- | **outcome** | **String** | The outcome of comparing the submitted date of birth to the issuer record. Possible values: - Exact Match - Partial Match - Transposed - No Match - Not Returned | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'trinsic_api'
14
-
15
- instance = TrinsicApi::SouthAfricaNidMatch2DateOfBirthField.new(
16
- input_value: Tue Jan 30 00:00:00 UTC 1990,
17
- outcome: Partial Match
18
- )
19
- ```
20
-
@@ -1,20 +0,0 @@
1
- # TrinsicApi::SouthAfricaNidMatch2FullNameField
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **input_value** | **String** | The full name string submitted for this check (as provided in the match input). | [optional] |
8
- | **outcome** | **String** | The outcome of comparing the submitted full name to the issuer record. Possible values: - Exact Match - Partial Match - Transposed - No Match - Not Returned | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'trinsic_api'
14
-
15
- instance = TrinsicApi::SouthAfricaNidMatch2FullNameField.new(
16
- input_value: MOKOENA THABO,
17
- outcome: Transposed
18
- )
19
- ```
20
-
@@ -1,28 +0,0 @@
1
- # TrinsicApi::SouthAfricaNidMatch2Input
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **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
- | **given_name** | **String** | The user's first name as it appears in their National ID | [optional] |
9
- | **family_name** | **String** | The user's last name as it appears in their National ID | [optional] |
10
- | **middle_name** | **String** | The user's middle name as it appears in their National ID (optional) | [optional] |
11
- | **date_of_birth** | **Date** | The user's date of birth, in `YYYY-MM-DD` format | [optional] |
12
- | **sex** | [**SouthAfricaNidMatch2InputSex**](SouthAfricaNidMatch2InputSex.md) | The user's sex as it appears in their National ID | [optional] |
13
-
14
- ## Example
15
-
16
- ```ruby
17
- require 'trinsic_api'
18
-
19
- instance = TrinsicApi::SouthAfricaNidMatch2Input.new(
20
- id_number: null,
21
- given_name: null,
22
- family_name: null,
23
- middle_name: null,
24
- date_of_birth: null,
25
- sex: null
26
- )
27
- ```
28
-
@@ -1,15 +0,0 @@
1
- # TrinsicApi::SouthAfricaNidMatch2InputSex
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- ## Example
9
-
10
- ```ruby
11
- require 'trinsic_api'
12
-
13
- instance = TrinsicApi::SouthAfricaNidMatch2InputSex.new()
14
- ```
15
-
@@ -1,20 +0,0 @@
1
- # TrinsicApi::SouthAfricaNidMatch2NationalIdNumberField
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **input_value** | **String** | The South African National Identity Number (13 digits) is issued for life by the Department of Home Affairs (DHA) and stored in the Home Affairs National Identification System (HANIS) 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
- | **outcome** | **String** | The outcome of verifying the national ID number. Possible values: - Verified - Not Verified - Not Done - Issuer Unavailable - Not Returned | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'trinsic_api'
14
-
15
- instance = TrinsicApi::SouthAfricaNidMatch2NationalIdNumberField.new(
16
- input_value: 9001315000082,
17
- outcome: Verified
18
- )
19
- ```
20
-
@@ -1,26 +0,0 @@
1
- # TrinsicApi::SouthAfricaNidMatch2ProviderOutput
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **national_id_number** | [**SouthAfricaNidMatch2NationalIdNumberField**](SouthAfricaNidMatch2NationalIdNumberField.md) | Outcome of the verification of the national ID number. | [optional] |
8
- | **full_name** | [**SouthAfricaNidMatch2FullNameField**](SouthAfricaNidMatch2FullNameField.md) | Outcome of the verification of the full name. | [optional] |
9
- | **date_of_birth** | [**SouthAfricaNidMatch2DateOfBirthField**](SouthAfricaNidMatch2DateOfBirthField.md) | Outcome of the verification of the date of birth. | [optional] |
10
- | **sex** | [**SouthAfricaNidMatch2SexField**](SouthAfricaNidMatch2SexField.md) | Outcome of the verification of the sex. | [optional] |
11
- | **citizenship_status** | **String** | Citizenship status of the individual, if the ID number is valid. Possible values: - Citizen - PermanentResident | [optional] |
12
-
13
- ## Example
14
-
15
- ```ruby
16
- require 'trinsic_api'
17
-
18
- instance = TrinsicApi::SouthAfricaNidMatch2ProviderOutput.new(
19
- national_id_number: null,
20
- full_name: null,
21
- date_of_birth: null,
22
- sex: null,
23
- citizenship_status: Citizen
24
- )
25
- ```
26
-
@@ -1,20 +0,0 @@
1
- # TrinsicApi::SouthAfricaNidMatch2SexField
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **input_value** | **String** | The sex value submitted for this check. Possible input values: - Male - Female | [optional] |
8
- | **outcome** | **String** | The outcome of comparing the submitted sex to the issuer record. Possible values: - Exact Match - No Match - Not Provided - Not Returned | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'trinsic_api'
14
-
15
- instance = TrinsicApi::SouthAfricaNidMatch2SexField.new(
16
- input_value: Female,
17
- outcome: No Match
18
- )
19
- ```
20
-
@@ -1,40 +0,0 @@
1
- # TrinsicApi::YotiDeeplinkProviderOutput
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
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
- | **email** | **String** | The email address of the individual | [optional] |
9
- | **given_name** | **String** | The given name of the individual. This can correspond to first and middle names in English. | [optional] |
10
- | **family_name** | **String** | The family name of the individual | [optional] |
11
- | **full_name** | **String** | Full name of the individual which is composed of the given and family name. Unverified full name may be safe to use. For example, Aadhaar card provides full name, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as \"unverified\". | [optional] |
12
- | **date_of_birth** | **Date** | The date of birth of the individual. Unverified date of birth may be safe to use. For example, Aadhaar card provides date of birth, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as \"unverified\". | [optional] |
13
- | **gender** | **String** | The gender of the individual. Depending on the source or country, gender may not be verified. This is a setting that can be configured while setting up scopes. Unverified gender may be safe to use. For example, Aadhaar card provides gender, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as \"unverified\". In some countries Possible values: - \"MALE\" - \"FEMALE\" - \"TRANSGENDER\" - \"OTHER\" | [optional] |
14
- | **nationality** | **String** | The nationality of the individual as a ISO alpha-3 code | [optional] |
15
- | **mobile_number** | **String** | The mobile phone number of the individual. This number was verified with a one time password (OTP) during the individual's registration with Yoti. In some cases, Yoti may do additional checks against its sources to confirm the individual's identity. | [optional] |
16
- | **structured_postal_address** | [**YotiStructuredPostalAddress**](YotiStructuredPostalAddress.md) | A structured postal address for the individual that comes from the underlying document or can be manually added. In the case of being manually added, the address is considered \"unverified\". Unverified addresses may be safe to use. For example, Aadhaar card provides an address, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as \"unverified\". | [optional] |
17
- | **postal_address** | **String** | The whole address for the individual that comes from the underlying document or can be manually added. In the case of being manually added, the address is considered \"unverified\". The format of this will be different for each country. Refer to `StructuredPostalAddress` for a detailed version of the address. | [optional] |
18
- | **document_details** | [**YotiDocumentDetails**](YotiDocumentDetails.md) | The details of the underlying document used to help create the Yoti credential | [optional] |
19
-
20
- ## Example
21
-
22
- ```ruby
23
- require 'trinsic_api'
24
-
25
- instance = TrinsicApi::YotiDeeplinkProviderOutput.new(
26
- yoti_remember_me_id: Ic3NCB/dWVB1k4QPOD98IpDJ8ut04 lPHPSNV0RWikAc+szH2NrZFK1 nG+cZgaXe8,
27
- email: johndoe@example.com,
28
- given_name: John Alvin,
29
- family_name: Doe,
30
- full_name: John Alvin Doe,
31
- date_of_birth: Thu Jan 31 00:00:00 UTC 1985,
32
- gender: MALE,
33
- nationality: GBR,
34
- mobile_number: +447777123456,
35
- structured_postal_address: null,
36
- postal_address: 6th Floor, 107 Leadenhall St, London, EC3A 4AF,
37
- document_details: null
38
- )
39
- ```
40
-
@@ -1,196 +0,0 @@
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.26.0
10
-
11
- =end
12
-
13
- require 'date'
14
- require 'time'
15
-
16
- module TrinsicApi
17
- # Exposed properties for the `a-mojeid` Provider which do not directly map to the normalized IdentityData model.
18
- class CzechiaMojeIdProviderOutput < ApiModelBase
19
- # The first name of the verified individual
20
- attr_accessor :first_name
21
-
22
- # The last name of the verified individual
23
- attr_accessor :last_name
24
-
25
- # The date of birth of the verified individual
26
- attr_accessor :date_of_birth
27
-
28
- # The OpenID 2.0 Identifier (\"openid2_id\") of the verified individual's MojeID account. This is an HTTPS URL which uniquely identifies the individual within the MojeID system.
29
- attr_accessor :open_id2_identifier
30
-
31
- # Attribute mapping from ruby-style variable name to JSON key.
32
- def self.attribute_map
33
- {
34
- :'first_name' => :'firstName',
35
- :'last_name' => :'lastName',
36
- :'date_of_birth' => :'dateOfBirth',
37
- :'open_id2_identifier' => :'openId2Identifier'
38
- }
39
- end
40
-
41
- # Returns attribute mapping this model knows about
42
- def self.acceptable_attribute_map
43
- attribute_map
44
- end
45
-
46
- # Returns all the JSON keys this model knows about
47
- def self.acceptable_attributes
48
- acceptable_attribute_map.values
49
- end
50
-
51
- # Attribute type mapping.
52
- def self.openapi_types
53
- {
54
- :'first_name' => :'String',
55
- :'last_name' => :'String',
56
- :'date_of_birth' => :'Date',
57
- :'open_id2_identifier' => :'String'
58
- }
59
- end
60
-
61
- # List of attributes with nullable: true
62
- def self.openapi_nullable
63
- Set.new([
64
- :'first_name',
65
- :'last_name',
66
- :'date_of_birth',
67
- :'open_id2_identifier'
68
- ])
69
- end
70
-
71
- # Returns attribute type mapping
72
- def self.acceptable_openapi_types
73
- openapi_types
74
- end
75
-
76
- # Returns the nullable attributes
77
- def self.acceptable_openapi_nullable
78
- openapi_nullable
79
- end
80
-
81
- # Initializes the object
82
- # @param [Hash] attributes Model attributes in the form of hash
83
- def initialize(attributes = {})
84
- if (!attributes.is_a?(Hash))
85
- fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::CzechiaMojeIdProviderOutput` initialize method"
86
- end
87
-
88
- # check to see if the attribute exists and convert string to symbol for hash key
89
- acceptable_attribute_map = self.class.acceptable_attribute_map
90
- attributes = attributes.each_with_object({}) { |(k, v), h|
91
- if (!acceptable_attribute_map.key?(k.to_sym))
92
- fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::CzechiaMojeIdProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
93
- end
94
- h[k.to_sym] = v
95
- }
96
-
97
- if attributes.key?(:'first_name')
98
- self.first_name = attributes[:'first_name']
99
- end
100
-
101
- if attributes.key?(:'last_name')
102
- self.last_name = attributes[:'last_name']
103
- end
104
-
105
- if attributes.key?(:'date_of_birth')
106
- self.date_of_birth = attributes[:'date_of_birth']
107
- end
108
-
109
- if attributes.key?(:'open_id2_identifier')
110
- self.open_id2_identifier = attributes[:'open_id2_identifier']
111
- end
112
- end
113
-
114
- # Show invalid properties with the reasons. Usually used together with valid?
115
- # @return Array for valid properties with the reasons
116
- def list_invalid_properties
117
- warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
118
- invalid_properties = Array.new
119
- invalid_properties
120
- end
121
-
122
- # Check to see if the all the properties in the model are valid
123
- # @return true if the model is valid
124
- def valid?
125
- warn '[DEPRECATED] the `valid?` method is obsolete'
126
- true
127
- end
128
-
129
- # Checks equality by comparing each attribute.
130
- # @param [Object] Object to be compared
131
- def ==(o)
132
- return true if self.equal?(o)
133
- self.class == o.class &&
134
- first_name == o.first_name &&
135
- last_name == o.last_name &&
136
- date_of_birth == o.date_of_birth &&
137
- open_id2_identifier == o.open_id2_identifier
138
- end
139
-
140
- # @see the `==` method
141
- # @param [Object] Object to be compared
142
- def eql?(o)
143
- self == o
144
- end
145
-
146
- # Calculates hash code according to all attributes.
147
- # @return [Integer] Hash code
148
- def hash
149
- [first_name, last_name, date_of_birth, open_id2_identifier].hash
150
- end
151
-
152
- # Builds the object from hash
153
- # @param [Hash] attributes Model attributes in the form of hash
154
- # @return [Object] Returns the model itself
155
- def self.build_from_hash(attributes)
156
- return nil unless attributes.is_a?(Hash)
157
- attributes = attributes.transform_keys(&:to_sym)
158
- # include attributes inherited from allOf parents (the nearest declaration wins)
159
- map = acceptable_attribute_map
160
- transformed_hash = {}
161
- acceptable_openapi_types.each_pair do |key, type|
162
- if attributes.key?(map[key]) && attributes[map[key]].nil?
163
- transformed_hash["#{key}"] = nil
164
- elsif type =~ /\AArray<(.*)>/i
165
- # check to ensure the input is an array given that the attribute
166
- # is documented as an array but the input is not
167
- if attributes[map[key]].is_a?(Array)
168
- transformed_hash["#{key}"] = attributes[map[key]].map { |v| _deserialize($1, v) }
169
- end
170
- elsif !attributes[map[key]].nil?
171
- transformed_hash["#{key}"] = _deserialize(type, attributes[map[key]])
172
- end
173
- end
174
- new(transformed_hash)
175
- end
176
-
177
- # Returns the object in the form of hash
178
- # @return [Hash] Returns the object in the form of hash
179
- def to_hash
180
- hash = {}
181
- # include attributes inherited from allOf parents (the nearest declaration wins)
182
- self.class.acceptable_attribute_map.each_pair do |attr, param|
183
- value = self.send(attr)
184
- if value.nil?
185
- is_nullable = self.class.acceptable_openapi_nullable.include?(attr)
186
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
187
- end
188
-
189
- hash[param] = _to_hash(value)
190
- end
191
- hash
192
- end
193
-
194
- end
195
-
196
- end
@@ -1,196 +0,0 @@
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.26.0
10
-
11
- =end
12
-
13
- require 'date'
14
- require 'time'
15
-
16
- module TrinsicApi
17
- # Exposed properties for the `a-ee-web-eid-login` Provider which do not directly map to the normalized IdentityData model.
18
- class EstoniaIdCardProviderOutput < ApiModelBase
19
- # The first name of the verified individual
20
- attr_accessor :first_name
21
-
22
- # The last name of the verified individual
23
- attr_accessor :last_name
24
-
25
- # The date of birth of the verified individual
26
- attr_accessor :date_of_birth
27
-
28
- # The 11-digit Estonian personal identification code (\"isikukood\") of the verified individual. This is in the format GYYMMDDSSSC, where: - G combines the century and sex of birth - YYMMDD is the date of birth within the given century - SSS is a serial number distinguishing people born on the same date - C is a checksum digit If G is odd, the individual is male. If G is even, the individual is female. If G is 1 or 2, the individual was born in the 19th century (1800-1899). If G is 3 or 4, the individual was born in the 20th century (1900-1999). If G is 5 or 6, the individual was born in the 21st century (2000-2099). If G is 7 or 8, the individual was born in the 22nd century (2100-2199).
29
- attr_accessor :personal_identification_code
30
-
31
- # Attribute mapping from ruby-style variable name to JSON key.
32
- def self.attribute_map
33
- {
34
- :'first_name' => :'firstName',
35
- :'last_name' => :'lastName',
36
- :'date_of_birth' => :'dateOfBirth',
37
- :'personal_identification_code' => :'personalIdentificationCode'
38
- }
39
- end
40
-
41
- # Returns attribute mapping this model knows about
42
- def self.acceptable_attribute_map
43
- attribute_map
44
- end
45
-
46
- # Returns all the JSON keys this model knows about
47
- def self.acceptable_attributes
48
- acceptable_attribute_map.values
49
- end
50
-
51
- # Attribute type mapping.
52
- def self.openapi_types
53
- {
54
- :'first_name' => :'String',
55
- :'last_name' => :'String',
56
- :'date_of_birth' => :'Date',
57
- :'personal_identification_code' => :'String'
58
- }
59
- end
60
-
61
- # List of attributes with nullable: true
62
- def self.openapi_nullable
63
- Set.new([
64
- :'first_name',
65
- :'last_name',
66
- :'date_of_birth',
67
- :'personal_identification_code'
68
- ])
69
- end
70
-
71
- # Returns attribute type mapping
72
- def self.acceptable_openapi_types
73
- openapi_types
74
- end
75
-
76
- # Returns the nullable attributes
77
- def self.acceptable_openapi_nullable
78
- openapi_nullable
79
- end
80
-
81
- # Initializes the object
82
- # @param [Hash] attributes Model attributes in the form of hash
83
- def initialize(attributes = {})
84
- if (!attributes.is_a?(Hash))
85
- fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::EstoniaIdCardProviderOutput` initialize method"
86
- end
87
-
88
- # check to see if the attribute exists and convert string to symbol for hash key
89
- acceptable_attribute_map = self.class.acceptable_attribute_map
90
- attributes = attributes.each_with_object({}) { |(k, v), h|
91
- if (!acceptable_attribute_map.key?(k.to_sym))
92
- fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::EstoniaIdCardProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
93
- end
94
- h[k.to_sym] = v
95
- }
96
-
97
- if attributes.key?(:'first_name')
98
- self.first_name = attributes[:'first_name']
99
- end
100
-
101
- if attributes.key?(:'last_name')
102
- self.last_name = attributes[:'last_name']
103
- end
104
-
105
- if attributes.key?(:'date_of_birth')
106
- self.date_of_birth = attributes[:'date_of_birth']
107
- end
108
-
109
- if attributes.key?(:'personal_identification_code')
110
- self.personal_identification_code = attributes[:'personal_identification_code']
111
- end
112
- end
113
-
114
- # Show invalid properties with the reasons. Usually used together with valid?
115
- # @return Array for valid properties with the reasons
116
- def list_invalid_properties
117
- warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
118
- invalid_properties = Array.new
119
- invalid_properties
120
- end
121
-
122
- # Check to see if the all the properties in the model are valid
123
- # @return true if the model is valid
124
- def valid?
125
- warn '[DEPRECATED] the `valid?` method is obsolete'
126
- true
127
- end
128
-
129
- # Checks equality by comparing each attribute.
130
- # @param [Object] Object to be compared
131
- def ==(o)
132
- return true if self.equal?(o)
133
- self.class == o.class &&
134
- first_name == o.first_name &&
135
- last_name == o.last_name &&
136
- date_of_birth == o.date_of_birth &&
137
- personal_identification_code == o.personal_identification_code
138
- end
139
-
140
- # @see the `==` method
141
- # @param [Object] Object to be compared
142
- def eql?(o)
143
- self == o
144
- end
145
-
146
- # Calculates hash code according to all attributes.
147
- # @return [Integer] Hash code
148
- def hash
149
- [first_name, last_name, date_of_birth, personal_identification_code].hash
150
- end
151
-
152
- # Builds the object from hash
153
- # @param [Hash] attributes Model attributes in the form of hash
154
- # @return [Object] Returns the model itself
155
- def self.build_from_hash(attributes)
156
- return nil unless attributes.is_a?(Hash)
157
- attributes = attributes.transform_keys(&:to_sym)
158
- # include attributes inherited from allOf parents (the nearest declaration wins)
159
- map = acceptable_attribute_map
160
- transformed_hash = {}
161
- acceptable_openapi_types.each_pair do |key, type|
162
- if attributes.key?(map[key]) && attributes[map[key]].nil?
163
- transformed_hash["#{key}"] = nil
164
- elsif type =~ /\AArray<(.*)>/i
165
- # check to ensure the input is an array given that the attribute
166
- # is documented as an array but the input is not
167
- if attributes[map[key]].is_a?(Array)
168
- transformed_hash["#{key}"] = attributes[map[key]].map { |v| _deserialize($1, v) }
169
- end
170
- elsif !attributes[map[key]].nil?
171
- transformed_hash["#{key}"] = _deserialize(type, attributes[map[key]])
172
- end
173
- end
174
- new(transformed_hash)
175
- end
176
-
177
- # Returns the object in the form of hash
178
- # @return [Hash] Returns the object in the form of hash
179
- def to_hash
180
- hash = {}
181
- # include attributes inherited from allOf parents (the nearest declaration wins)
182
- self.class.acceptable_attribute_map.each_pair do |attr, param|
183
- value = self.send(attr)
184
- if value.nil?
185
- is_nullable = self.class.acceptable_openapi_nullable.include?(attr)
186
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
187
- end
188
-
189
- hash[param] = _to_hash(value)
190
- end
191
- hash
192
- end
193
-
194
- end
195
-
196
- end