trinsic_api 3.2.1 → 3.3.0.pre.alpha2

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 (146) hide show
  1. checksums.yaml +4 -4
  2. data/docs/BrazilCnhProviderOutput.md +2 -0
  3. data/docs/BrazilCpfCheckInput.md +3 -3
  4. data/docs/BrazilCpfProviderOutput.md +1 -1
  5. data/docs/BrazilDigitalCnhInput.md +1 -1
  6. data/docs/ConnectIdAgeVerification.md +9 -1
  7. data/docs/ConnectIdInput.md +18 -0
  8. data/docs/CreateDirectProviderSessionRequest.md +2 -0
  9. data/docs/CreateHostedProviderSessionRequest.md +2 -0
  10. data/docs/CzechBankIdInput.md +18 -0
  11. data/docs/DeveloperApi.md +153 -0
  12. data/docs/DigilockerAadhaarProviderOutput.md +1 -1
  13. data/docs/FinnishTrustNetworkAddressOutput.md +22 -0
  14. data/docs/FinnishTrustNetworkInput.md +18 -0
  15. data/docs/FinnishTrustNetworkProviderOutput.md +2 -0
  16. data/docs/GetAttachmentResponse.md +2 -0
  17. data/docs/GetSessionResultRequest.md +3 -1
  18. data/docs/GetSessionResultResponse.md +3 -1
  19. data/docs/HPKETestRequest.md +22 -0
  20. data/docs/HPKETestVPRequest.md +20 -0
  21. data/docs/IdemiaMobileIdProviderOutput.md +1 -5
  22. data/docs/IndiaPanLookupProviderOutput.md +1 -1
  23. data/docs/IndonesiaDukcapilMatchInput.md +1 -1
  24. data/docs/JapanMyNumberProviderOutput.md +24 -0
  25. data/docs/JordanSanadInput.md +18 -0
  26. data/docs/MitIdAddressOutput.md +28 -0
  27. data/docs/MitIdProviderOutput.md +3 -1
  28. data/docs/PolandMobywatelMatchInput.md +1 -1
  29. data/docs/Provider.md +2 -0
  30. data/docs/ProviderInput.md +10 -0
  31. data/docs/ProviderOutput.md +8 -0
  32. data/docs/RecommendProviderInformation.md +2 -0
  33. data/docs/RecommendProvidersRequest.md +1 -1
  34. data/docs/RevolutProviderOutput.md +28 -0
  35. data/docs/SanadProviderOutput.md +28 -0
  36. data/docs/SaudiArabiaNafathAddress.md +50 -0
  37. data/docs/SaudiArabiaNafathCitizenAttributes.md +68 -0
  38. data/docs/SaudiArabiaNafathHeadOfHousehold.md +26 -0
  39. data/docs/SaudiArabiaNafathProviderOutput.md +38 -0
  40. data/docs/SaudiArabiaNafathResidentAttributes.md +68 -0
  41. data/docs/SaudiArabiaNafathVisitorAttributes.md +72 -0
  42. data/docs/SessionsApi.md +2 -2
  43. data/docs/SignzyIndiaAadhaarFetchProviderOutput.md +1 -1
  44. data/docs/SingpassPersonalCatalog.md +2 -2
  45. data/docs/SwedenBankIdProviderOutput.md +7 -3
  46. data/docs/TrinsicHPKEBundle.md +24 -0
  47. data/docs/TrinsicHPKEMetadata.md +30 -0
  48. data/docs/TrinsicTestDatabaseLookupInput.md +1 -1
  49. data/docs/UkEvisaLookupInput.md +1 -1
  50. data/docs/UsaArizonaWalletInput.md +18 -0
  51. data/docs/VerificationProfileResponse.md +2 -0
  52. data/docs/VerificationProfilesApi.md +3 -1
  53. data/docs/YotiStructuredPostalAddress.md +1 -1
  54. data/lib/trinsic_api/api/developer_api.rb +156 -0
  55. data/lib/trinsic_api/api/verification_profiles_api.rb +3 -0
  56. data/lib/trinsic_api/api_client.rb +1 -0
  57. data/lib/trinsic_api/models/brazil_cnh_provider_output.rb +12 -1
  58. data/lib/trinsic_api/models/brazil_cpf_check_input.rb +12 -22
  59. data/lib/trinsic_api/models/brazil_cpf_provider_output.rb +1 -1
  60. data/lib/trinsic_api/models/brazil_digital_cnh_input.rb +1 -1
  61. data/lib/trinsic_api/models/connect_id_age_verification.rb +46 -2
  62. data/lib/trinsic_api/models/connect_id_input.rb +149 -0
  63. data/lib/trinsic_api/models/create_direct_provider_session_request.rb +28 -1
  64. data/lib/trinsic_api/models/create_hosted_provider_session_request.rb +28 -1
  65. data/lib/trinsic_api/models/czech_bank_id_input.rb +149 -0
  66. data/lib/trinsic_api/models/digilocker_aadhaar_provider_output.rb +1 -1
  67. data/lib/trinsic_api/models/finnish_trust_network_address_output.rb +171 -0
  68. data/lib/trinsic_api/models/finnish_trust_network_input.rb +149 -0
  69. data/lib/trinsic_api/models/finnish_trust_network_provider_output.rb +12 -1
  70. data/lib/trinsic_api/models/get_attachment_response.rb +12 -1
  71. data/lib/trinsic_api/models/get_session_result_request.rb +15 -4
  72. data/lib/trinsic_api/models/get_session_result_response.rb +16 -5
  73. data/lib/trinsic_api/models/hpke_test_request.rb +219 -0
  74. data/lib/trinsic_api/models/hpke_test_vp_request.rb +192 -0
  75. data/lib/trinsic_api/models/idemia_mobile_id_provider_output.rb +1 -23
  76. data/lib/trinsic_api/models/india_pan_lookup_provider_output.rb +1 -1
  77. data/lib/trinsic_api/models/indonesia_dukcapil_match_input.rb +1 -1
  78. data/lib/trinsic_api/models/japan_my_number_provider_output.rb +183 -0
  79. data/lib/trinsic_api/models/jordan_sanad_input.rb +164 -0
  80. data/lib/trinsic_api/models/mit_id_address_output.rb +204 -0
  81. data/lib/trinsic_api/models/mit_id_provider_output.rb +16 -5
  82. data/lib/trinsic_api/models/poland_mobywatel_match_input.rb +1 -1
  83. data/lib/trinsic_api/models/provider.rb +14 -1
  84. data/lib/trinsic_api/models/provider_input.rb +56 -1
  85. data/lib/trinsic_api/models/provider_output.rb +45 -1
  86. data/lib/trinsic_api/models/recommend_provider_information.rb +14 -1
  87. data/lib/trinsic_api/models/recommend_providers_request.rb +1 -1
  88. data/lib/trinsic_api/models/revolut_provider_output.rb +204 -0
  89. data/lib/trinsic_api/models/sanad_provider_output.rb +205 -0
  90. data/lib/trinsic_api/models/saudi_arabia_nafath_address.rb +325 -0
  91. data/lib/trinsic_api/models/saudi_arabia_nafath_citizen_attributes.rb +426 -0
  92. data/lib/trinsic_api/models/saudi_arabia_nafath_head_of_household.rb +193 -0
  93. data/lib/trinsic_api/models/saudi_arabia_nafath_provider_output.rb +260 -0
  94. data/lib/trinsic_api/models/saudi_arabia_nafath_resident_attributes.rb +426 -0
  95. data/lib/trinsic_api/models/saudi_arabia_nafath_visitor_attributes.rb +446 -0
  96. data/lib/trinsic_api/models/signzy_india_aadhaar_fetch_provider_output.rb +1 -1
  97. data/lib/trinsic_api/models/singpass_personal_catalog.rb +9 -9
  98. data/lib/trinsic_api/models/sweden_bank_id_provider_output.rb +24 -2
  99. data/lib/trinsic_api/models/trinsic_hpke_bundle.rb +246 -0
  100. data/lib/trinsic_api/models/trinsic_hpke_metadata.rb +327 -0
  101. data/lib/trinsic_api/models/trinsic_test_database_lookup_input.rb +1 -1
  102. data/lib/trinsic_api/models/uk_evisa_lookup_input.rb +1 -1
  103. data/lib/trinsic_api/models/usa_arizona_wallet_input.rb +149 -0
  104. data/lib/trinsic_api/models/verification_profile_response.rb +28 -1
  105. data/lib/trinsic_api/version.rb +1 -1
  106. data/lib/trinsic_api.rb +21 -0
  107. data/spec/api/developer_api_spec.rb +60 -0
  108. data/spec/api/verification_profiles_api_spec.rb +1 -0
  109. data/spec/models/brazil_cnh_provider_output_spec.rb +6 -0
  110. data/spec/models/connect_id_age_verification_spec.rb +24 -0
  111. data/spec/models/connect_id_input_spec.rb +36 -0
  112. data/spec/models/create_direct_provider_session_request_spec.rb +6 -0
  113. data/spec/models/create_hosted_provider_session_request_spec.rb +6 -0
  114. data/spec/models/czech_bank_id_input_spec.rb +36 -0
  115. data/spec/models/finnish_trust_network_address_output_spec.rb +48 -0
  116. data/spec/models/finnish_trust_network_input_spec.rb +36 -0
  117. data/spec/models/finnish_trust_network_provider_output_spec.rb +6 -0
  118. data/spec/models/get_attachment_response_spec.rb +6 -0
  119. data/spec/models/get_session_result_request_spec.rb +6 -0
  120. data/spec/models/get_session_result_response_spec.rb +6 -0
  121. data/spec/models/hpke_test_request_spec.rb +48 -0
  122. data/spec/models/hpke_test_vp_request_spec.rb +42 -0
  123. data/spec/models/idemia_mobile_id_provider_output_spec.rb +0 -12
  124. data/spec/models/japan_my_number_provider_output_spec.rb +54 -0
  125. data/spec/models/jordan_sanad_input_spec.rb +36 -0
  126. data/spec/models/mit_id_address_output_spec.rb +66 -0
  127. data/spec/models/mit_id_provider_output_spec.rb +6 -0
  128. data/spec/models/provider_input_spec.rb +30 -0
  129. data/spec/models/provider_output_spec.rb +24 -0
  130. data/spec/models/provider_spec.rb +6 -0
  131. data/spec/models/recommend_provider_information_spec.rb +6 -0
  132. data/spec/models/revolut_provider_output_spec.rb +66 -0
  133. data/spec/models/sanad_provider_output_spec.rb +66 -0
  134. data/spec/models/saudi_arabia_nafath_address_spec.rb +132 -0
  135. data/spec/models/saudi_arabia_nafath_citizen_attributes_spec.rb +186 -0
  136. data/spec/models/saudi_arabia_nafath_head_of_household_spec.rb +60 -0
  137. data/spec/models/saudi_arabia_nafath_provider_output_spec.rb +96 -0
  138. data/spec/models/saudi_arabia_nafath_resident_attributes_spec.rb +186 -0
  139. data/spec/models/saudi_arabia_nafath_visitor_attributes_spec.rb +198 -0
  140. data/spec/models/singpass_personal_catalog_spec.rb +1 -1
  141. data/spec/models/sweden_bank_id_provider_output_spec.rb +12 -0
  142. data/spec/models/trinsic_hpke_bundle_spec.rb +54 -0
  143. data/spec/models/trinsic_hpke_metadata_spec.rb +72 -0
  144. data/spec/models/usa_arizona_wallet_input_spec.rb +36 -0
  145. data/spec/models/verification_profile_response_spec.rb +6 -0
  146. metadata +375 -291
@@ -165,6 +165,12 @@ module TrinsicApi
165
165
  # Exposed properties for the `itsme` Provider which do not directly map to the normalized IdentityData model.
166
166
  attr_accessor :itsme
167
167
 
168
+ # Verified attributes for the `japan-mynumber` provider, including the original sex code.
169
+ attr_accessor :japan_mynumber
170
+
171
+ # Exposed properties for the `jordan-sanad` Provider which do not directly map to the normalized IdentityData model.
172
+ attr_accessor :jordan_sanad
173
+
168
174
  # Exposed properties for the `kenya-nid-lookup-2` Provider which do not directly map to the normalized IdentityData model.
169
175
  attr_accessor :kenya_nid_lookup_2
170
176
 
@@ -204,6 +210,9 @@ module TrinsicApi
204
210
  # Exposed properties for the `oneid` Provider which do not directly map to the normalized IdentityData model.
205
211
  attr_accessor :oneid
206
212
 
213
+ # Identity claims returned by Revolut.
214
+ attr_accessor :revolut
215
+
207
216
  # Exposed properties for the `peru-dni-lookup` Provider which do not directly map to the normalized IdentityData model.
208
217
  attr_accessor :peru_dni_lookup
209
218
 
@@ -228,6 +237,9 @@ module TrinsicApi
228
237
  # Exposed properties for the `samsung-wallet` Provider which do not directly map to the normalized IdentityData model.
229
238
  attr_accessor :samsung_wallet
230
239
 
240
+ # Exposed properties for the `saudi-arabia-nafath` Provider which do not directly map to the normalized IdentityData model.
241
+ attr_accessor :saudi_arabia_nafath
242
+
231
243
  # Exposed properties for the `singpass-login` Provider which do not directly map to the normalized IdentityData model.
232
244
  attr_accessor :singpass_login
233
245
 
@@ -332,6 +344,8 @@ module TrinsicApi
332
344
  :'china_resident_id_match' => :'china-resident-id-match',
333
345
  :'italy_spid' => :'italy-spid',
334
346
  :'itsme' => :'itsme',
347
+ :'japan_mynumber' => :'japan-mynumber',
348
+ :'jordan_sanad' => :'jordan-sanad',
335
349
  :'kenya_nid_lookup_2' => :'kenya-nid-lookup-2',
336
350
  :'kenya_nid_lookup_3' => :'kenya-nid-lookup-3',
337
351
  :'kenya_nid_match_2' => :'kenya-nid-match-2',
@@ -345,6 +359,7 @@ module TrinsicApi
345
359
  :'nigeria_nin_lookup_3' => :'nigeria-nin-lookup-3',
346
360
  :'nigeria_nin_match_2' => :'nigeria-nin-match-2',
347
361
  :'oneid' => :'oneid',
362
+ :'revolut' => :'revolut',
348
363
  :'peru_dni_lookup' => :'peru-dni-lookup',
349
364
  :'norway_bankid' => :'norway-bankid',
350
365
  :'philippines_digital_national_id_qr' => :'philippines-digital-national-id-qr',
@@ -353,6 +368,7 @@ module TrinsicApi
353
368
  :'poland_mobywatel_match' => :'poland-mobywatel-match',
354
369
  :'post_office_easyid' => :'post-office-easyid',
355
370
  :'samsung_wallet' => :'samsung-wallet',
371
+ :'saudi_arabia_nafath' => :'saudi-arabia-nafath',
356
372
  :'singpass_login' => :'singpass-login',
357
373
  :'singpass_myinfo' => :'singpass-myinfo',
358
374
  :'smart_id' => :'smart-id',
@@ -436,6 +452,8 @@ module TrinsicApi
436
452
  :'china_resident_id_match' => :'ChinaResidentIdMatchOutput',
437
453
  :'italy_spid' => :'SpidProviderOutput',
438
454
  :'itsme' => :'ItsmeProviderOutput',
455
+ :'japan_mynumber' => :'JapanMyNumberProviderOutput',
456
+ :'jordan_sanad' => :'SanadProviderOutput',
439
457
  :'kenya_nid_lookup_2' => :'KenyaNidLookup2ProviderOutput',
440
458
  :'kenya_nid_lookup_3' => :'KenyaNidLookup3ProviderOutput',
441
459
  :'kenya_nid_match_2' => :'KenyaNidMatch2ProviderOutput',
@@ -449,6 +467,7 @@ module TrinsicApi
449
467
  :'nigeria_nin_lookup_3' => :'NigeriaNinLookup3ProviderOutput',
450
468
  :'nigeria_nin_match_2' => :'NigeriaNinMatch2ProviderOutput',
451
469
  :'oneid' => :'OneIdProviderOutput',
470
+ :'revolut' => :'RevolutProviderOutput',
452
471
  :'peru_dni_lookup' => :'PeruDniProviderOutput',
453
472
  :'norway_bankid' => :'NorwegianBankIdProviderOutput',
454
473
  :'philippines_digital_national_id_qr' => :'PhilippinesDigitalNidProviderOutput',
@@ -457,6 +476,7 @@ module TrinsicApi
457
476
  :'poland_mobywatel_match' => :'PolandMobywatelMatchProviderOutput',
458
477
  :'post_office_easyid' => :'PostOfficeEasyIdProviderOutput',
459
478
  :'samsung_wallet' => :'SamsungWalletProviderOutput',
479
+ :'saudi_arabia_nafath' => :'SaudiArabiaNafathProviderOutput',
460
480
  :'singpass_login' => :'SingpassLoginProviderOutput',
461
481
  :'singpass_myinfo' => :'SingpassMyInfoProviderOutput',
462
482
  :'smart_id' => :'SmartIdProviderOutput',
@@ -530,6 +550,8 @@ module TrinsicApi
530
550
  :'china_resident_id_match',
531
551
  :'italy_spid',
532
552
  :'itsme',
553
+ :'japan_mynumber',
554
+ :'jordan_sanad',
533
555
  :'kenya_nid_lookup_2',
534
556
  :'kenya_nid_lookup_3',
535
557
  :'kenya_nid_match_2',
@@ -543,6 +565,7 @@ module TrinsicApi
543
565
  :'nigeria_nin_lookup_3',
544
566
  :'nigeria_nin_match_2',
545
567
  :'oneid',
568
+ :'revolut',
546
569
  :'peru_dni_lookup',
547
570
  :'norway_bankid',
548
571
  :'philippines_digital_national_id_qr',
@@ -551,6 +574,7 @@ module TrinsicApi
551
574
  :'poland_mobywatel_match',
552
575
  :'post_office_easyid',
553
576
  :'samsung_wallet',
577
+ :'saudi_arabia_nafath',
554
578
  :'singpass_login',
555
579
  :'singpass_myinfo',
556
580
  :'smart_id',
@@ -787,6 +811,14 @@ module TrinsicApi
787
811
  self.itsme = attributes[:'itsme']
788
812
  end
789
813
 
814
+ if attributes.key?(:'japan_mynumber')
815
+ self.japan_mynumber = attributes[:'japan_mynumber']
816
+ end
817
+
818
+ if attributes.key?(:'jordan_sanad')
819
+ self.jordan_sanad = attributes[:'jordan_sanad']
820
+ end
821
+
790
822
  if attributes.key?(:'kenya_nid_lookup_2')
791
823
  self.kenya_nid_lookup_2 = attributes[:'kenya_nid_lookup_2']
792
824
  end
@@ -839,6 +871,10 @@ module TrinsicApi
839
871
  self.oneid = attributes[:'oneid']
840
872
  end
841
873
 
874
+ if attributes.key?(:'revolut')
875
+ self.revolut = attributes[:'revolut']
876
+ end
877
+
842
878
  if attributes.key?(:'peru_dni_lookup')
843
879
  self.peru_dni_lookup = attributes[:'peru_dni_lookup']
844
880
  end
@@ -871,6 +907,10 @@ module TrinsicApi
871
907
  self.samsung_wallet = attributes[:'samsung_wallet']
872
908
  end
873
909
 
910
+ if attributes.key?(:'saudi_arabia_nafath')
911
+ self.saudi_arabia_nafath = attributes[:'saudi_arabia_nafath']
912
+ end
913
+
874
914
  if attributes.key?(:'singpass_login')
875
915
  self.singpass_login = attributes[:'singpass_login']
876
916
  end
@@ -1010,6 +1050,8 @@ module TrinsicApi
1010
1050
  china_resident_id_match == o.china_resident_id_match &&
1011
1051
  italy_spid == o.italy_spid &&
1012
1052
  itsme == o.itsme &&
1053
+ japan_mynumber == o.japan_mynumber &&
1054
+ jordan_sanad == o.jordan_sanad &&
1013
1055
  kenya_nid_lookup_2 == o.kenya_nid_lookup_2 &&
1014
1056
  kenya_nid_lookup_3 == o.kenya_nid_lookup_3 &&
1015
1057
  kenya_nid_match_2 == o.kenya_nid_match_2 &&
@@ -1023,6 +1065,7 @@ module TrinsicApi
1023
1065
  nigeria_nin_lookup_3 == o.nigeria_nin_lookup_3 &&
1024
1066
  nigeria_nin_match_2 == o.nigeria_nin_match_2 &&
1025
1067
  oneid == o.oneid &&
1068
+ revolut == o.revolut &&
1026
1069
  peru_dni_lookup == o.peru_dni_lookup &&
1027
1070
  norway_bankid == o.norway_bankid &&
1028
1071
  philippines_digital_national_id_qr == o.philippines_digital_national_id_qr &&
@@ -1031,6 +1074,7 @@ module TrinsicApi
1031
1074
  poland_mobywatel_match == o.poland_mobywatel_match &&
1032
1075
  post_office_easyid == o.post_office_easyid &&
1033
1076
  samsung_wallet == o.samsung_wallet &&
1077
+ saudi_arabia_nafath == o.saudi_arabia_nafath &&
1034
1078
  singpass_login == o.singpass_login &&
1035
1079
  singpass_myinfo == o.singpass_myinfo &&
1036
1080
  smart_id == o.smart_id &&
@@ -1059,7 +1103,7 @@ module TrinsicApi
1059
1103
  # Calculates hash code according to all attributes.
1060
1104
  # @return [Integer] Hash code
1061
1105
  def hash
1062
- [a_at_handy_signatur_login, a_be_id_login, a_edoapp_eid_login, a_ee_web_eid_login, a_fi_id_login, a_freja_eid_login, a_itsme_login, a_lt_id_login, a_lv_eparaksts_id_login, a_lv_eparaksts_mobile_login, a_mojeid, a_pl_mojeid_login, a_pt_id_login, a_rs_id_login, apple_wallet, audkenni, australia_connect_id, austria_valera_eudi_sandbox, bolivia_ci_lookup, brazil_cpf_lookup, brazil_digital_cnh, canada_interac, clear, colombia_cc_lookup, cote_divoire_nid_lookup_2, denmark_altid, el_salvador_dui_lookup, czech_bank_id, czech_republic_mojeid, denmark_mitid, ethiopia_fayda, evrotrust, finnish_trust_network, eudi_reference_wallet, france_identite, france_identite_numerique, freja, germany_eudi_sandbox, google_wallet, guatemala_cui_lookup, panama_cedula_lookup, india_digilocker_aadhaar, india_digilocker_aadhaar_fetch, india_digilocker_aadhaar_match, india_pan_lookup, indonesia_dukcapil_match, indonesia_nik_lookup, china_resident_id_match, italy_spid, itsme, kenya_nid_lookup_2, kenya_nid_lookup_3, kenya_nid_match_2, korea_telco_match, lloyds_smart_id, mexico_curp_lookup, mobile_id, moldova_evo_wallet, netherlands_eudi_sandbox, nigeria_nin_lookup_2, nigeria_nin_lookup_3, nigeria_nin_match_2, oneid, peru_dni_lookup, norway_bankid, philippines_digital_national_id_qr, philippines_philsys_match, philippines_physical_national_id_qr, poland_mobywatel_match, post_office_easyid, samsung_wallet, singpass_login, singpass_myinfo, smart_id, south_africa_nid_lookup_2, south_africa_nid_match_2, uae_pass, uganda_nid_match_2, uk_evisa_lookup, sweden_bankid, ukraine_diia, usa_alaska_mobile_id, usa_louisiana_wallet, usa_new_york_mobile_id, netherlands_idin, yoti, yoti_deeplink, zimbabwe_nid_lookup_2].hash
1106
+ [a_at_handy_signatur_login, a_be_id_login, a_edoapp_eid_login, a_ee_web_eid_login, a_fi_id_login, a_freja_eid_login, a_itsme_login, a_lt_id_login, a_lv_eparaksts_id_login, a_lv_eparaksts_mobile_login, a_mojeid, a_pl_mojeid_login, a_pt_id_login, a_rs_id_login, apple_wallet, audkenni, australia_connect_id, austria_valera_eudi_sandbox, bolivia_ci_lookup, brazil_cpf_lookup, brazil_digital_cnh, canada_interac, clear, colombia_cc_lookup, cote_divoire_nid_lookup_2, denmark_altid, el_salvador_dui_lookup, czech_bank_id, czech_republic_mojeid, denmark_mitid, ethiopia_fayda, evrotrust, finnish_trust_network, eudi_reference_wallet, france_identite, france_identite_numerique, freja, germany_eudi_sandbox, google_wallet, guatemala_cui_lookup, panama_cedula_lookup, india_digilocker_aadhaar, india_digilocker_aadhaar_fetch, india_digilocker_aadhaar_match, india_pan_lookup, indonesia_dukcapil_match, indonesia_nik_lookup, china_resident_id_match, italy_spid, itsme, japan_mynumber, jordan_sanad, kenya_nid_lookup_2, kenya_nid_lookup_3, kenya_nid_match_2, korea_telco_match, lloyds_smart_id, mexico_curp_lookup, mobile_id, moldova_evo_wallet, netherlands_eudi_sandbox, nigeria_nin_lookup_2, nigeria_nin_lookup_3, nigeria_nin_match_2, oneid, revolut, peru_dni_lookup, norway_bankid, philippines_digital_national_id_qr, philippines_philsys_match, philippines_physical_national_id_qr, poland_mobywatel_match, post_office_easyid, samsung_wallet, saudi_arabia_nafath, singpass_login, singpass_myinfo, smart_id, south_africa_nid_lookup_2, south_africa_nid_match_2, uae_pass, uganda_nid_match_2, uk_evisa_lookup, sweden_bankid, ukraine_diia, usa_alaska_mobile_id, usa_louisiana_wallet, usa_new_york_mobile_id, netherlands_idin, yoti, yoti_deeplink, zimbabwe_nid_lookup_2].hash
1063
1107
  end
1064
1108
 
1065
1109
  # Builds the object from hash
@@ -21,6 +21,9 @@ module TrinsicApi
21
21
  # The friendly, human-readable name of the provider
22
22
  attr_accessor :name
23
23
 
24
+ # 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.
25
+ attr_accessor :localized_display_names
26
+
24
27
  # A URL pointing to the provider's logo
25
28
  attr_accessor :logo_url
26
29
 
@@ -47,6 +50,7 @@ module TrinsicApi
47
50
  {
48
51
  :'id' => :'id',
49
52
  :'name' => :'name',
53
+ :'localized_display_names' => :'localizedDisplayNames',
50
54
  :'logo_url' => :'logoUrl',
51
55
  :'subtext' => :'subtext',
52
56
  :'health' => :'health',
@@ -72,6 +76,7 @@ module TrinsicApi
72
76
  {
73
77
  :'id' => :'String',
74
78
  :'name' => :'String',
79
+ :'localized_display_names' => :'Hash<String, String>',
75
80
  :'logo_url' => :'String',
76
81
  :'subtext' => :'String',
77
82
  :'health' => :'String',
@@ -85,6 +90,7 @@ module TrinsicApi
85
90
  # List of attributes with nullable: true
86
91
  def self.openapi_nullable
87
92
  Set.new([
93
+ :'localized_display_names',
88
94
  :'sub_providers',
89
95
  ])
90
96
  end
@@ -117,6 +123,12 @@ module TrinsicApi
117
123
  self.name = nil
118
124
  end
119
125
 
126
+ if attributes.key?(:'localized_display_names')
127
+ if (value = attributes[:'localized_display_names']).is_a?(Hash)
128
+ self.localized_display_names = value
129
+ end
130
+ end
131
+
120
132
  if attributes.key?(:'logo_url')
121
133
  self.logo_url = attributes[:'logo_url']
122
134
  else
@@ -308,6 +320,7 @@ module TrinsicApi
308
320
  self.class == o.class &&
309
321
  id == o.id &&
310
322
  name == o.name &&
323
+ localized_display_names == o.localized_display_names &&
311
324
  logo_url == o.logo_url &&
312
325
  subtext == o.subtext &&
313
326
  health == o.health &&
@@ -326,7 +339,7 @@ module TrinsicApi
326
339
  # Calculates hash code according to all attributes.
327
340
  # @return [Integer] Hash code
328
341
  def hash
329
- [id, name, logo_url, subtext, health, sub_providers, regions, countries, subdivisions].hash
342
+ [id, name, localized_display_names, logo_url, subtext, health, sub_providers, regions, countries, subdivisions].hash
330
343
  end
331
344
 
332
345
  # Builds the object from hash
@@ -18,7 +18,7 @@ module TrinsicApi
18
18
  # The ID of the VerificationProfile to use for this recommendation.
19
19
  attr_accessor :verification_profile_id
20
20
 
21
- # Information about the user you wish to generate a recommendation for.
21
+ # Information about the user you wish to generate a recommendation for. When no location can be determined from this information, all eligible providers are returned in the remainder.
22
22
  attr_accessor :recommendation_info
23
23
 
24
24
  # Filter providers by health status.
@@ -0,0 +1,204 @@
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
+ class RevolutProviderOutput < ApiModelBase
18
+ # The Revolut subject identifier.
19
+ attr_accessor :subject
20
+
21
+ # The individual's full name.
22
+ attr_accessor :name
23
+
24
+ # The email address returned by Revolut.
25
+ attr_accessor :email
26
+
27
+ # Whether Revolut verified the email address.
28
+ attr_accessor :email_verified
29
+
30
+ # The phone number in E.164 format.
31
+ attr_accessor :phone
32
+
33
+ # Whether Revolut verified the phone number.
34
+ attr_accessor :phone_verified
35
+
36
+ # Attribute mapping from ruby-style variable name to JSON key.
37
+ def self.attribute_map
38
+ {
39
+ :'subject' => :'subject',
40
+ :'name' => :'name',
41
+ :'email' => :'email',
42
+ :'email_verified' => :'emailVerified',
43
+ :'phone' => :'phone',
44
+ :'phone_verified' => :'phoneVerified'
45
+ }
46
+ end
47
+
48
+ # Returns attribute mapping this model knows about
49
+ def self.acceptable_attribute_map
50
+ attribute_map
51
+ end
52
+
53
+ # Returns all the JSON keys this model knows about
54
+ def self.acceptable_attributes
55
+ acceptable_attribute_map.values
56
+ end
57
+
58
+ # Attribute type mapping.
59
+ def self.openapi_types
60
+ {
61
+ :'subject' => :'String',
62
+ :'name' => :'String',
63
+ :'email' => :'String',
64
+ :'email_verified' => :'Boolean',
65
+ :'phone' => :'String',
66
+ :'phone_verified' => :'Boolean'
67
+ }
68
+ end
69
+
70
+ # List of attributes with nullable: true
71
+ def self.openapi_nullable
72
+ Set.new([
73
+ :'subject',
74
+ :'name',
75
+ :'email',
76
+ :'email_verified',
77
+ :'phone',
78
+ :'phone_verified'
79
+ ])
80
+ end
81
+
82
+ # Initializes the object
83
+ # @param [Hash] attributes Model attributes in the form of hash
84
+ def initialize(attributes = {})
85
+ if (!attributes.is_a?(Hash))
86
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::RevolutProviderOutput` initialize method"
87
+ end
88
+
89
+ # check to see if the attribute exists and convert string to symbol for hash key
90
+ acceptable_attribute_map = self.class.acceptable_attribute_map
91
+ attributes = attributes.each_with_object({}) { |(k, v), h|
92
+ if (!acceptable_attribute_map.key?(k.to_sym))
93
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::RevolutProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
94
+ end
95
+ h[k.to_sym] = v
96
+ }
97
+
98
+ if attributes.key?(:'subject')
99
+ self.subject = attributes[:'subject']
100
+ end
101
+
102
+ if attributes.key?(:'name')
103
+ self.name = attributes[:'name']
104
+ end
105
+
106
+ if attributes.key?(:'email')
107
+ self.email = attributes[:'email']
108
+ end
109
+
110
+ if attributes.key?(:'email_verified')
111
+ self.email_verified = attributes[:'email_verified']
112
+ end
113
+
114
+ if attributes.key?(:'phone')
115
+ self.phone = attributes[:'phone']
116
+ end
117
+
118
+ if attributes.key?(:'phone_verified')
119
+ self.phone_verified = attributes[:'phone_verified']
120
+ end
121
+ end
122
+
123
+ # Show invalid properties with the reasons. Usually used together with valid?
124
+ # @return Array for valid properties with the reasons
125
+ def list_invalid_properties
126
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
127
+ invalid_properties = Array.new
128
+ invalid_properties
129
+ end
130
+
131
+ # Check to see if the all the properties in the model are valid
132
+ # @return true if the model is valid
133
+ def valid?
134
+ warn '[DEPRECATED] the `valid?` method is obsolete'
135
+ true
136
+ end
137
+
138
+ # Checks equality by comparing each attribute.
139
+ # @param [Object] Object to be compared
140
+ def ==(o)
141
+ return true if self.equal?(o)
142
+ self.class == o.class &&
143
+ subject == o.subject &&
144
+ name == o.name &&
145
+ email == o.email &&
146
+ email_verified == o.email_verified &&
147
+ phone == o.phone &&
148
+ phone_verified == o.phone_verified
149
+ end
150
+
151
+ # @see the `==` method
152
+ # @param [Object] Object to be compared
153
+ def eql?(o)
154
+ self == o
155
+ end
156
+
157
+ # Calculates hash code according to all attributes.
158
+ # @return [Integer] Hash code
159
+ def hash
160
+ [subject, name, email, email_verified, phone, phone_verified].hash
161
+ end
162
+
163
+ # Builds the object from hash
164
+ # @param [Hash] attributes Model attributes in the form of hash
165
+ # @return [Object] Returns the model itself
166
+ def self.build_from_hash(attributes)
167
+ return nil unless attributes.is_a?(Hash)
168
+ attributes = attributes.transform_keys(&:to_sym)
169
+ transformed_hash = {}
170
+ openapi_types.each_pair do |key, type|
171
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
172
+ transformed_hash["#{key}"] = nil
173
+ elsif type =~ /\AArray<(.*)>/i
174
+ # check to ensure the input is an array given that the attribute
175
+ # is documented as an array but the input is not
176
+ if attributes[attribute_map[key]].is_a?(Array)
177
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
178
+ end
179
+ elsif !attributes[attribute_map[key]].nil?
180
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
181
+ end
182
+ end
183
+ new(transformed_hash)
184
+ end
185
+
186
+ # Returns the object in the form of hash
187
+ # @return [Hash] Returns the object in the form of hash
188
+ def to_hash
189
+ hash = {}
190
+ self.class.attribute_map.each_pair do |attr, param|
191
+ value = self.send(attr)
192
+ if value.nil?
193
+ is_nullable = self.class.openapi_nullable.include?(attr)
194
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
195
+ end
196
+
197
+ hash[param] = _to_hash(value)
198
+ end
199
+ hash
200
+ end
201
+
202
+ end
203
+
204
+ end
@@ -0,0 +1,205 @@
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
+ # Exposed properties for the `jordan-sanad` Provider which do not directly map to the normalized IdentityData model.
18
+ class SanadProviderOutput < ApiModelBase
19
+ # The national number (الرقم الوطني). This is a ten-digit number, with leading zeros preserved. The number is different from the identity-card number.
20
+ attr_accessor :national_number
21
+
22
+ # The date of birth of the individual.
23
+ attr_accessor :date_of_birth
24
+
25
+ # The full name of the individual.
26
+ attr_accessor :full_name
27
+
28
+ # The identity-card number, separate from the national number. The format is three letters and five digits.
29
+ attr_accessor :document_number
30
+
31
+ # The document expiration date.
32
+ attr_accessor :expiration_date
33
+
34
+ # The QR creation date, not the document's issue date.
35
+ attr_accessor :qr_created_date
36
+
37
+ # Attribute mapping from ruby-style variable name to JSON key.
38
+ def self.attribute_map
39
+ {
40
+ :'national_number' => :'nationalNumber',
41
+ :'date_of_birth' => :'dateOfBirth',
42
+ :'full_name' => :'fullName',
43
+ :'document_number' => :'documentNumber',
44
+ :'expiration_date' => :'expirationDate',
45
+ :'qr_created_date' => :'qrCreatedDate'
46
+ }
47
+ end
48
+
49
+ # Returns attribute mapping this model knows about
50
+ def self.acceptable_attribute_map
51
+ attribute_map
52
+ end
53
+
54
+ # Returns all the JSON keys this model knows about
55
+ def self.acceptable_attributes
56
+ acceptable_attribute_map.values
57
+ end
58
+
59
+ # Attribute type mapping.
60
+ def self.openapi_types
61
+ {
62
+ :'national_number' => :'String',
63
+ :'date_of_birth' => :'Date',
64
+ :'full_name' => :'String',
65
+ :'document_number' => :'String',
66
+ :'expiration_date' => :'Date',
67
+ :'qr_created_date' => :'Date'
68
+ }
69
+ end
70
+
71
+ # List of attributes with nullable: true
72
+ def self.openapi_nullable
73
+ Set.new([
74
+ :'national_number',
75
+ :'date_of_birth',
76
+ :'full_name',
77
+ :'document_number',
78
+ :'expiration_date',
79
+ :'qr_created_date'
80
+ ])
81
+ end
82
+
83
+ # Initializes the object
84
+ # @param [Hash] attributes Model attributes in the form of hash
85
+ def initialize(attributes = {})
86
+ if (!attributes.is_a?(Hash))
87
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::SanadProviderOutput` initialize method"
88
+ end
89
+
90
+ # check to see if the attribute exists and convert string to symbol for hash key
91
+ acceptable_attribute_map = self.class.acceptable_attribute_map
92
+ attributes = attributes.each_with_object({}) { |(k, v), h|
93
+ if (!acceptable_attribute_map.key?(k.to_sym))
94
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::SanadProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
95
+ end
96
+ h[k.to_sym] = v
97
+ }
98
+
99
+ if attributes.key?(:'national_number')
100
+ self.national_number = attributes[:'national_number']
101
+ end
102
+
103
+ if attributes.key?(:'date_of_birth')
104
+ self.date_of_birth = attributes[:'date_of_birth']
105
+ end
106
+
107
+ if attributes.key?(:'full_name')
108
+ self.full_name = attributes[:'full_name']
109
+ end
110
+
111
+ if attributes.key?(:'document_number')
112
+ self.document_number = attributes[:'document_number']
113
+ end
114
+
115
+ if attributes.key?(:'expiration_date')
116
+ self.expiration_date = attributes[:'expiration_date']
117
+ end
118
+
119
+ if attributes.key?(:'qr_created_date')
120
+ self.qr_created_date = attributes[:'qr_created_date']
121
+ end
122
+ end
123
+
124
+ # Show invalid properties with the reasons. Usually used together with valid?
125
+ # @return Array for valid properties with the reasons
126
+ def list_invalid_properties
127
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
128
+ invalid_properties = Array.new
129
+ invalid_properties
130
+ end
131
+
132
+ # Check to see if the all the properties in the model are valid
133
+ # @return true if the model is valid
134
+ def valid?
135
+ warn '[DEPRECATED] the `valid?` method is obsolete'
136
+ true
137
+ end
138
+
139
+ # Checks equality by comparing each attribute.
140
+ # @param [Object] Object to be compared
141
+ def ==(o)
142
+ return true if self.equal?(o)
143
+ self.class == o.class &&
144
+ national_number == o.national_number &&
145
+ date_of_birth == o.date_of_birth &&
146
+ full_name == o.full_name &&
147
+ document_number == o.document_number &&
148
+ expiration_date == o.expiration_date &&
149
+ qr_created_date == o.qr_created_date
150
+ end
151
+
152
+ # @see the `==` method
153
+ # @param [Object] Object to be compared
154
+ def eql?(o)
155
+ self == o
156
+ end
157
+
158
+ # Calculates hash code according to all attributes.
159
+ # @return [Integer] Hash code
160
+ def hash
161
+ [national_number, date_of_birth, full_name, document_number, expiration_date, qr_created_date].hash
162
+ end
163
+
164
+ # Builds the object from hash
165
+ # @param [Hash] attributes Model attributes in the form of hash
166
+ # @return [Object] Returns the model itself
167
+ def self.build_from_hash(attributes)
168
+ return nil unless attributes.is_a?(Hash)
169
+ attributes = attributes.transform_keys(&:to_sym)
170
+ transformed_hash = {}
171
+ openapi_types.each_pair do |key, type|
172
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
173
+ transformed_hash["#{key}"] = nil
174
+ elsif type =~ /\AArray<(.*)>/i
175
+ # check to ensure the input is an array given that the attribute
176
+ # is documented as an array but the input is not
177
+ if attributes[attribute_map[key]].is_a?(Array)
178
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
179
+ end
180
+ elsif !attributes[attribute_map[key]].nil?
181
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
182
+ end
183
+ end
184
+ new(transformed_hash)
185
+ end
186
+
187
+ # Returns the object in the form of hash
188
+ # @return [Hash] Returns the object in the form of hash
189
+ def to_hash
190
+ hash = {}
191
+ self.class.attribute_map.each_pair do |attr, param|
192
+ value = self.send(attr)
193
+ if value.nil?
194
+ is_nullable = self.class.openapi_nullable.include?(attr)
195
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
196
+ end
197
+
198
+ hash[param] = _to_hash(value)
199
+ end
200
+ hash
201
+ end
202
+
203
+ end
204
+
205
+ end