trinsic_api 3.0.2.pre.preview → 3.1.0.pre.preview1

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 (505) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -2
  3. data/docs/AadhaarAddress.md +40 -0
  4. data/docs/AadhaarClaims.md +2 -24
  5. data/docs/AadhaarLanguage.md +1 -1
  6. data/docs/AadhaarLocalizedClaims.md +2 -20
  7. data/docs/AudkenniProviderOutput.md +24 -0
  8. data/docs/BoliviaCiLookupInput.md +20 -0
  9. data/docs/BoliviaCiProviderOutput.md +26 -0
  10. data/docs/BrazilCpfCheckInput.md +5 -1
  11. data/docs/ChinaResidentIdMatchInput.md +24 -0
  12. data/docs/ChinaResidentIdMatchOutput.md +22 -0
  13. data/docs/ColombiaCcLookupInput.md +20 -0
  14. data/docs/ColombiaCcProviderOutput.md +36 -0
  15. data/docs/ColombiaExpeditionPlace.md +20 -0
  16. data/docs/ConnectIdProviderOutput.md +0 -2
  17. data/docs/CoteDIvoireNidLookup2ProviderOutput.md +34 -0
  18. data/docs/CreateDirectProviderSessionRequest.md +2 -0
  19. data/docs/CreateHostedProviderSessionRequest.md +2 -0
  20. data/docs/CzechMojeIdProviderOutput.md +5 -1
  21. data/docs/CzechiaMojeIdProviderOutput.md +1 -1
  22. data/docs/DigilockerAadhaarProviderOutput.md +8 -8
  23. data/docs/ElSalvadorDuiLookupInput.md +20 -0
  24. data/docs/ElSalvadorDuiProviderOutput.md +22 -0
  25. data/docs/FaydaProviderAddress.md +22 -0
  26. data/docs/FaydaProviderOutput.md +14 -2
  27. data/docs/FinnishTrustNetworkProviderOutput.md +2 -2
  28. data/docs/FrejaProviderOutput.md +1 -1
  29. data/docs/FrenchNumeriqueGivenName.md +1 -1
  30. data/docs/FrenchNumeriqueProviderOutput.md +7 -7
  31. data/docs/GoogleWalletInput.md +1 -1
  32. data/docs/GuatemalaCuiLookupInput.md +18 -0
  33. data/docs/GuatemalaCuiProviderOutput.md +36 -0
  34. data/docs/IndiaPanLookupInput.md +18 -0
  35. data/docs/IndiaPanLookupProviderOutput.md +32 -0
  36. data/docs/IndiaPanStructuredNumber.md +28 -0
  37. data/docs/KenyaNidBiometric2Input.md +1 -1
  38. data/docs/KenyaNidLookup2Input.md +1 -1
  39. data/docs/KenyaNidLookup2ProviderOutput.md +1 -1
  40. data/docs/KenyaNidMatch2Input.md +1 -1
  41. data/docs/KoreaTelcoMatchInput.md +28 -0
  42. data/docs/KoreaTelcoMatchProviderOutput.md +22 -0
  43. data/docs/KoreaTelcoMatchSex.md +15 -0
  44. data/docs/LloydsSmartIdProviderOutput.md +2 -2
  45. data/docs/MdlOutput.md +2 -2
  46. data/docs/MitIdProviderOutput.md +5 -5
  47. data/docs/MobileCarrier.md +15 -0
  48. data/docs/MobileOperatingSystem.md +15 -0
  49. data/docs/NetherlandsIdinAddress.md +26 -0
  50. data/docs/NetherlandsIdinProviderOutput.md +36 -0
  51. data/docs/NorwegianBankIdProviderOutput.md +2 -2
  52. data/docs/PanamaCedulaLookupInput.md +20 -0
  53. data/docs/PanamaCedulaProviderOutput.md +32 -0
  54. data/docs/PeruDniProviderOutput.md +1 -1
  55. data/docs/PolandMobywatelMatchInput.md +32 -0
  56. data/docs/PolandMobywatelMatchProviderOutput.md +56 -0
  57. data/docs/PostOfficeEasyIdProviderOutput.md +2 -2
  58. data/docs/Provider.md +2 -0
  59. data/docs/ProviderInput.md +20 -0
  60. data/docs/ProviderOutput.md +34 -4
  61. data/docs/ProviderSupportedLanguage.md +20 -0
  62. data/docs/RecommendProviderInformation.md +3 -3
  63. data/docs/SessionsApi.md +0 -72
  64. data/docs/SignzyIndiaAadhaarFetchProviderOutput.md +40 -0
  65. data/docs/SingpassLoginProviderOutput.md +30 -0
  66. data/docs/SingpassMyInfoDescription.md +20 -0
  67. data/docs/SingpassMyInfoProviderOutput.md +20 -0
  68. data/docs/SingpassMyInfoRegisteredAddressOutput.md +36 -0
  69. data/docs/SingpassPersonalCatalog.md +64 -0
  70. data/docs/SingpassPhoneNumber.md +22 -0
  71. data/docs/SmartIdProviderOutput.md +1 -1
  72. data/docs/SwedenBankIdProviderOutput.md +3 -3
  73. data/docs/UnitedKingdomEvisaProviderOutput.md +1 -1
  74. data/docs/UsaCaliforniaDmvInput.md +18 -0
  75. data/docs/VerificationProfileResponse.md +2 -0
  76. data/docs/VerificationProfilesApi.md +72 -0
  77. data/docs/YotiDeeplinkProviderOutput.md +2 -2
  78. data/docs/YotiProviderOutput.md +2 -2
  79. data/lib/trinsic_api/api/providers_api.rb +1 -1
  80. data/lib/trinsic_api/api/redirect_uris_api.rb +1 -1
  81. data/lib/trinsic_api/api/sessions_api.rb +1 -65
  82. data/lib/trinsic_api/api/verification_profiles_api.rb +74 -4
  83. data/lib/trinsic_api/api_client.rb +7 -3
  84. data/lib/trinsic_api/api_error.rb +1 -1
  85. data/lib/trinsic_api/api_model_base.rb +88 -0
  86. data/lib/trinsic_api/configuration.rb +1 -1
  87. data/lib/trinsic_api/models/aadhaar_address.rb +271 -0
  88. data/lib/trinsic_api/models/aadhaar_claims.rb +11 -205
  89. data/lib/trinsic_api/models/aadhaar_input.rb +2 -75
  90. data/lib/trinsic_api/models/aadhaar_language.rb +3 -76
  91. data/lib/trinsic_api/models/aadhaar_localized_claims.rb +11 -183
  92. data/lib/trinsic_api/models/add_redirect_uri_request.rb +4 -77
  93. data/lib/trinsic_api/models/add_redirect_uri_response.rb +2 -75
  94. data/lib/trinsic_api/models/address.rb +2 -75
  95. data/lib/trinsic_api/models/apple_wallet_input.rb +2 -75
  96. data/lib/trinsic_api/models/apple_wallet_provider_output.rb +2 -75
  97. data/lib/trinsic_api/models/attachment_info.rb +2 -75
  98. data/lib/trinsic_api/models/attribute_availability.rb +1 -1
  99. data/lib/trinsic_api/models/audkenni_provider_output.rb +231 -0
  100. data/lib/trinsic_api/models/austria_handy_signatur_provider_output.rb +2 -75
  101. data/lib/trinsic_api/models/belgium_id_card_provider_output.rb +2 -75
  102. data/lib/trinsic_api/models/bolivia_ci_lookup_input.rb +160 -0
  103. data/lib/trinsic_api/models/bolivia_ci_provider_output.rb +258 -0
  104. data/lib/trinsic_api/models/brazil_cpf_check_input.rb +30 -81
  105. data/lib/trinsic_api/models/brazil_digital_cnh_input.rb +4 -77
  106. data/lib/trinsic_api/models/cancel_session_response.rb +2 -75
  107. data/lib/trinsic_api/models/china_resident_id_match_input.rb +284 -0
  108. data/lib/trinsic_api/models/china_resident_id_match_output.rb +172 -0
  109. data/lib/trinsic_api/models/colombia_cc_lookup_input.rb +160 -0
  110. data/lib/trinsic_api/models/colombia_cc_provider_output.rb +411 -0
  111. data/lib/trinsic_api/models/colombia_expedition_place.rb +161 -0
  112. data/lib/trinsic_api/models/connect_id_address.rb +2 -75
  113. data/lib/trinsic_api/models/connect_id_age_verification.rb +2 -75
  114. data/lib/trinsic_api/models/connect_id_provider_output.rb +3 -87
  115. data/lib/trinsic_api/models/contract_attachment.rb +2 -75
  116. data/lib/trinsic_api/models/contract_attribute.rb +2 -75
  117. data/lib/trinsic_api/models/cote_d_ivoire_nid_lookup2_input.rb +2 -75
  118. data/lib/trinsic_api/models/cote_d_ivoire_nid_lookup2_provider_output.rb +334 -0
  119. data/lib/trinsic_api/models/create_direct_provider_session_request.rb +18 -78
  120. data/lib/trinsic_api/models/create_direct_provider_session_response.rb +2 -75
  121. data/lib/trinsic_api/models/create_hosted_provider_session_request.rb +20 -80
  122. data/lib/trinsic_api/models/create_hosted_provider_session_response.rb +2 -75
  123. data/lib/trinsic_api/models/create_verification_profile_response.rb +2 -75
  124. data/lib/trinsic_api/models/czech_moje_id_address_output.rb +2 -75
  125. data/lib/trinsic_api/models/czech_moje_id_provider_output.rb +26 -77
  126. data/lib/trinsic_api/models/czechia_moje_id_provider_output.rb +3 -76
  127. data/lib/trinsic_api/models/digilocker_aadhaar_provider_output.rb +24 -97
  128. data/lib/trinsic_api/models/document_data.rb +2 -75
  129. data/lib/trinsic_api/models/document_type.rb +1 -1
  130. data/lib/trinsic_api/models/el_salvador_dui_lookup_input.rb +160 -0
  131. data/lib/trinsic_api/models/el_salvador_dui_provider_output.rb +220 -0
  132. data/lib/trinsic_api/models/estonia_id_card_provider_output.rb +2 -75
  133. data/lib/trinsic_api/models/fayda_provider_address.rb +171 -0
  134. data/lib/trinsic_api/models/fayda_provider_output.rb +74 -81
  135. data/lib/trinsic_api/models/finland_id_card_provider_output.rb +2 -75
  136. data/lib/trinsic_api/models/finnish_trust_network_provider_output.rb +4 -77
  137. data/lib/trinsic_api/models/france_identite_input.rb +2 -75
  138. data/lib/trinsic_api/models/france_identite_provider_output.rb +2 -75
  139. data/lib/trinsic_api/models/freja_indirect_provider_output.rb +2 -75
  140. data/lib/trinsic_api/models/freja_provider_output.rb +3 -76
  141. data/lib/trinsic_api/models/french_numerique_given_name.rb +3 -76
  142. data/lib/trinsic_api/models/french_numerique_nationality.rb +2 -75
  143. data/lib/trinsic_api/models/french_numerique_phone.rb +2 -75
  144. data/lib/trinsic_api/models/french_numerique_provider_output.rb +9 -82
  145. data/lib/trinsic_api/models/get_attachment_request.rb +4 -77
  146. data/lib/trinsic_api/models/get_attachment_response.rb +2 -75
  147. data/lib/trinsic_api/models/get_provider_response.rb +2 -75
  148. data/lib/trinsic_api/models/get_session_response.rb +2 -75
  149. data/lib/trinsic_api/models/get_session_result_request.rb +2 -75
  150. data/lib/trinsic_api/models/get_session_result_response.rb +2 -75
  151. data/lib/trinsic_api/models/google_wallet_input.rb +3 -76
  152. data/lib/trinsic_api/models/google_wallet_provider_output.rb +2 -75
  153. data/lib/trinsic_api/models/guatemala_cui_lookup_input.rb +149 -0
  154. data/lib/trinsic_api/models/guatemala_cui_provider_output.rb +395 -0
  155. data/lib/trinsic_api/models/identity_data.rb +2 -75
  156. data/lib/trinsic_api/models/idin_input.rb +2 -75
  157. data/lib/trinsic_api/models/india_pan_lookup_input.rb +174 -0
  158. data/lib/trinsic_api/models/india_pan_lookup_provider_output.rb +227 -0
  159. data/lib/trinsic_api/models/india_pan_structured_number.rb +284 -0
  160. data/lib/trinsic_api/models/indonesia_dukcapil_match_input.rb +2 -75
  161. data/lib/trinsic_api/models/indonesia_nik_input.rb +6 -79
  162. data/lib/trinsic_api/models/integration_capability.rb +1 -1
  163. data/lib/trinsic_api/models/integration_launch_method.rb +1 -1
  164. data/lib/trinsic_api/models/integration_step.rb +2 -75
  165. data/lib/trinsic_api/models/itsme_provider_output.rb +2 -75
  166. data/lib/trinsic_api/models/kenya_nid_biometric2_input.rb +3 -76
  167. data/lib/trinsic_api/models/kenya_nid_input.rb +10 -83
  168. data/lib/trinsic_api/models/kenya_nid_lookup2_address.rb +2 -75
  169. data/lib/trinsic_api/models/kenya_nid_lookup2_input.rb +3 -76
  170. data/lib/trinsic_api/models/kenya_nid_lookup2_provider_output.rb +3 -76
  171. data/lib/trinsic_api/models/kenya_nid_match2_input.rb +3 -76
  172. data/lib/trinsic_api/models/kenya_nid_match2_input_sex.rb +1 -1
  173. data/lib/trinsic_api/models/korea_telco_match_input.rb +340 -0
  174. data/lib/trinsic_api/models/korea_telco_match_provider_output.rb +220 -0
  175. data/lib/trinsic_api/models/korea_telco_match_sex.rb +40 -0
  176. data/lib/trinsic_api/models/la_wallet_provider_output.rb +2 -75
  177. data/lib/trinsic_api/models/latvia_eparaksts_mobile_provider_output.rb +2 -75
  178. data/lib/trinsic_api/models/latvia_eparaksts_provider_output.rb +2 -75
  179. data/lib/trinsic_api/models/list_providers_response.rb +2 -75
  180. data/lib/trinsic_api/models/list_redirect_uris_response.rb +2 -75
  181. data/lib/trinsic_api/models/list_sessions_response.rb +2 -75
  182. data/lib/trinsic_api/models/list_verification_profiles_response.rb +2 -75
  183. data/lib/trinsic_api/models/lithuania_id_card_provider_output.rb +2 -75
  184. data/lib/trinsic_api/models/lloyds_smart_id_provider_output.rb +4 -77
  185. data/lib/trinsic_api/models/match.rb +2 -75
  186. data/lib/trinsic_api/models/match_data.rb +2 -75
  187. data/lib/trinsic_api/models/mdl_exchange_mechanism.rb +1 -1
  188. data/lib/trinsic_api/models/mdl_output.rb +4 -77
  189. data/lib/trinsic_api/models/mdl_output_certificate_data.rb +2 -75
  190. data/lib/trinsic_api/models/mdl_output_field_data.rb +2 -75
  191. data/lib/trinsic_api/models/mdl_output_field_data_type.rb +1 -1
  192. data/lib/trinsic_api/models/mexico_curp_input.rb +4 -77
  193. data/lib/trinsic_api/models/mexico_curp_provider_output.rb +2 -75
  194. data/lib/trinsic_api/models/mit_id_provider_output.rb +7 -80
  195. data/lib/trinsic_api/models/mobile_carrier.rb +41 -0
  196. data/lib/trinsic_api/models/mobile_id_input.rb +2 -75
  197. data/lib/trinsic_api/models/mobile_id_language.rb +1 -1
  198. data/lib/trinsic_api/models/mobile_id_provider_output.rb +2 -75
  199. data/lib/trinsic_api/models/mobile_operating_system.rb +41 -0
  200. data/lib/trinsic_api/models/netherlands_idin_address.rb +273 -0
  201. data/lib/trinsic_api/models/netherlands_idin_provider_output.rb +377 -0
  202. data/lib/trinsic_api/models/nigeria_nin_biometric2_input.rb +2 -75
  203. data/lib/trinsic_api/models/nigeria_nin_input.rb +8 -81
  204. data/lib/trinsic_api/models/nigeria_nin_lookup2_input.rb +2 -75
  205. data/lib/trinsic_api/models/nigeria_nin_lookup2_provider_output.rb +2 -75
  206. data/lib/trinsic_api/models/nigeria_nin_match2_input.rb +2 -75
  207. data/lib/trinsic_api/models/nigeria_nin_match2_input_sex.rb +1 -1
  208. data/lib/trinsic_api/models/norwegian_bank_id_provider_output.rb +4 -77
  209. data/lib/trinsic_api/models/one_id_provider_address.rb +2 -75
  210. data/lib/trinsic_api/models/one_id_provider_output.rb +2 -75
  211. data/lib/trinsic_api/models/order_direction.rb +1 -1
  212. data/lib/trinsic_api/models/output_freja_address.rb +2 -75
  213. data/lib/trinsic_api/models/output_freja_document.rb +2 -75
  214. data/lib/trinsic_api/models/panama_cedula_lookup_input.rb +160 -0
  215. data/lib/trinsic_api/models/panama_cedula_provider_output.rb +307 -0
  216. data/lib/trinsic_api/models/person_data.rb +2 -75
  217. data/lib/trinsic_api/models/peru_dni_address.rb +2 -75
  218. data/lib/trinsic_api/models/peru_dni_lookup_input.rb +2 -75
  219. data/lib/trinsic_api/models/peru_dni_provider_output.rb +3 -76
  220. data/lib/trinsic_api/models/philippine_match_input.rb +2 -75
  221. data/lib/trinsic_api/models/philippine_qr_input.rb +2 -75
  222. data/lib/trinsic_api/models/philippines_digital_nid_provider_output.rb +2 -75
  223. data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +2 -75
  224. data/lib/trinsic_api/models/poland_edo_app_provider_output.rb +2 -75
  225. data/lib/trinsic_api/models/poland_mobywatel_match_input.rb +226 -0
  226. data/lib/trinsic_api/models/poland_mobywatel_match_provider_output.rb +359 -0
  227. data/lib/trinsic_api/models/poland_moje_id_provider_output.rb +2 -75
  228. data/lib/trinsic_api/models/portugal_id_card_provider_output.rb +2 -75
  229. data/lib/trinsic_api/models/post_office_easy_id_provider_output.rb +4 -77
  230. data/lib/trinsic_api/models/problem_details.rb +2 -75
  231. data/lib/trinsic_api/models/provider.rb +16 -76
  232. data/lib/trinsic_api/models/provider_health.rb +1 -1
  233. data/lib/trinsic_api/models/provider_input.rb +113 -76
  234. data/lib/trinsic_api/models/provider_output.rb +190 -98
  235. data/lib/trinsic_api/models/provider_supported_language.rb +176 -0
  236. data/lib/trinsic_api/models/raw18013_document_request.rb +4 -77
  237. data/lib/trinsic_api/models/raw18013_request_input.rb +2 -75
  238. data/lib/trinsic_api/models/recommend_provider_health_option.rb +1 -1
  239. data/lib/trinsic_api/models/recommend_provider_information.rb +2 -75
  240. data/lib/trinsic_api/models/recommend_providers_request.rb +2 -75
  241. data/lib/trinsic_api/models/recommend_providers_response.rb +2 -75
  242. data/lib/trinsic_api/models/recommendation_info.rb +2 -75
  243. data/lib/trinsic_api/models/redirect_uri_response.rb +4 -77
  244. data/lib/trinsic_api/models/refresh_step_content_request.rb +4 -77
  245. data/lib/trinsic_api/models/refresh_step_content_response.rb +2 -75
  246. data/lib/trinsic_api/models/result_collection.rb +2 -75
  247. data/lib/trinsic_api/models/result_collection_method.rb +1 -1
  248. data/lib/trinsic_api/models/samsung_wallet_input.rb +2 -75
  249. data/lib/trinsic_api/models/samsung_wallet_provider_output.rb +2 -75
  250. data/lib/trinsic_api/models/serbia_id_card_provider_output.rb +2 -75
  251. data/lib/trinsic_api/models/session.rb +2 -75
  252. data/lib/trinsic_api/models/session_error_code.rb +1 -1
  253. data/lib/trinsic_api/models/session_ordering.rb +1 -1
  254. data/lib/trinsic_api/models/sex.rb +1 -1
  255. data/lib/trinsic_api/models/signzy_india_aadhaar_fetch_provider_output.rb +305 -0
  256. data/lib/trinsic_api/models/{connect_id_beneficiary_account.rb → singpass_login_provider_output.rb} +71 -110
  257. data/lib/trinsic_api/models/singpass_my_info_description.rb +160 -0
  258. data/lib/trinsic_api/models/singpass_my_info_provider_output.rb +161 -0
  259. data/lib/trinsic_api/models/{http_validation_problem_details.rb → singpass_my_info_registered_address_output.rb} +91 -126
  260. data/lib/trinsic_api/models/singpass_personal_catalog.rb +403 -0
  261. data/lib/trinsic_api/models/singpass_phone_number.rb +172 -0
  262. data/lib/trinsic_api/models/smart_id_input.rb +2 -75
  263. data/lib/trinsic_api/models/smart_id_provider_output.rb +3 -76
  264. data/lib/trinsic_api/models/south_africa_nid_biometric2_input.rb +2 -75
  265. data/lib/trinsic_api/models/south_africa_nid_input.rb +8 -81
  266. data/lib/trinsic_api/models/south_africa_nid_lookup2_input.rb +2 -75
  267. data/lib/trinsic_api/models/south_africa_nid_match2_input.rb +2 -75
  268. data/lib/trinsic_api/models/south_africa_nid_match2_input_sex.rb +1 -1
  269. data/lib/trinsic_api/models/spid_billing_information.rb +2 -75
  270. data/lib/trinsic_api/models/spid_input.rb +2 -75
  271. data/lib/trinsic_api/models/spid_provider_output.rb +2 -75
  272. data/lib/trinsic_api/models/step_refresh_info.rb +2 -75
  273. data/lib/trinsic_api/models/sub_provider_metadata.rb +2 -75
  274. data/lib/trinsic_api/models/submit_native_challenge_response_request.rb +6 -79
  275. data/lib/trinsic_api/models/submit_native_challenge_response_response.rb +2 -75
  276. data/lib/trinsic_api/models/sweden_bank_id_provider_output.rb +5 -78
  277. data/lib/trinsic_api/models/trinsic_test_database_lookup_input.rb +2 -75
  278. data/lib/trinsic_api/models/trinsic_test_sub_providers_input.rb +2 -75
  279. data/lib/trinsic_api/models/uganda_nid_match2_input.rb +2 -75
  280. data/lib/trinsic_api/models/uk_evisa_lookup_input.rb +4 -77
  281. data/lib/trinsic_api/models/united_kingdom_evisa_provider_output.rb +3 -76
  282. data/lib/trinsic_api/models/usa_california_dmv_input.rb +149 -0
  283. data/lib/trinsic_api/models/verification_profile_response.rb +14 -76
  284. data/lib/trinsic_api/models/yoti_deeplink_provider_output.rb +4 -77
  285. data/lib/trinsic_api/models/yoti_document_details.rb +2 -75
  286. data/lib/trinsic_api/models/yoti_provider_output.rb +4 -77
  287. data/lib/trinsic_api/models/yoti_structured_postal_address.rb +2 -75
  288. data/lib/trinsic_api/models/zimbabwe_nid_lookup2_input.rb +2 -75
  289. data/lib/trinsic_api/version.rb +2 -2
  290. data/lib/trinsic_api.rb +40 -5
  291. data/spec/api/providers_api_spec.rb +1 -1
  292. data/spec/api/redirect_uris_api_spec.rb +1 -1
  293. data/spec/api/sessions_api_spec.rb +1 -13
  294. data/spec/api/verification_profiles_api_spec.rb +14 -1
  295. data/spec/models/aadhaar_address_spec.rb +102 -0
  296. data/spec/models/aadhaar_claims_spec.rb +3 -69
  297. data/spec/models/aadhaar_input_spec.rb +2 -2
  298. data/spec/models/aadhaar_language_spec.rb +2 -2
  299. data/spec/models/aadhaar_localized_claims_spec.rb +3 -57
  300. data/spec/models/add_redirect_uri_request_spec.rb +2 -2
  301. data/spec/models/add_redirect_uri_response_spec.rb +2 -2
  302. data/spec/models/address_spec.rb +2 -2
  303. data/spec/models/apple_wallet_input_spec.rb +2 -2
  304. data/spec/models/apple_wallet_provider_output_spec.rb +2 -2
  305. data/spec/models/attachment_info_spec.rb +2 -2
  306. data/spec/models/attribute_availability_spec.rb +2 -2
  307. data/spec/models/{create_widget_session_request_spec.rb → audkenni_provider_output_spec.rb} +11 -11
  308. data/spec/models/austria_handy_signatur_provider_output_spec.rb +2 -2
  309. data/spec/models/belgium_id_card_provider_output_spec.rb +2 -2
  310. data/spec/models/bolivia_ci_lookup_input_spec.rb +42 -0
  311. data/spec/models/bolivia_ci_provider_output_spec.rb +60 -0
  312. data/spec/models/brazil_cpf_check_input_spec.rb +14 -2
  313. data/spec/models/brazil_digital_cnh_input_spec.rb +2 -2
  314. data/spec/models/cancel_session_response_spec.rb +2 -2
  315. data/spec/models/{connect_id_beneficiary_account_spec.rb → china_resident_id_match_input_spec.rb} +11 -11
  316. data/spec/models/china_resident_id_match_output_spec.rb +48 -0
  317. data/spec/models/colombia_cc_lookup_input_spec.rb +42 -0
  318. data/spec/models/colombia_cc_provider_output_spec.rb +90 -0
  319. data/spec/models/colombia_expedition_place_spec.rb +42 -0
  320. data/spec/models/connect_id_address_spec.rb +2 -2
  321. data/spec/models/connect_id_age_verification_spec.rb +2 -2
  322. data/spec/models/connect_id_provider_output_spec.rb +2 -8
  323. data/spec/models/contract_attachment_spec.rb +2 -2
  324. data/spec/models/contract_attribute_spec.rb +2 -2
  325. data/spec/models/cote_d_ivoire_nid_lookup2_input_spec.rb +2 -2
  326. data/spec/models/cote_d_ivoire_nid_lookup2_provider_output_spec.rb +84 -0
  327. data/spec/models/create_direct_provider_session_request_spec.rb +8 -2
  328. data/spec/models/create_direct_provider_session_response_spec.rb +2 -2
  329. data/spec/models/create_hosted_provider_session_request_spec.rb +8 -2
  330. data/spec/models/create_hosted_provider_session_response_spec.rb +2 -2
  331. data/spec/models/create_verification_profile_response_spec.rb +2 -2
  332. data/spec/models/czech_moje_id_address_output_spec.rb +2 -2
  333. data/spec/models/czech_moje_id_provider_output_spec.rb +14 -2
  334. data/spec/models/czechia_moje_id_provider_output_spec.rb +2 -2
  335. data/spec/models/digilocker_aadhaar_provider_output_spec.rb +8 -8
  336. data/spec/models/document_data_spec.rb +2 -2
  337. data/spec/models/document_type_spec.rb +2 -2
  338. data/spec/models/el_salvador_dui_lookup_input_spec.rb +42 -0
  339. data/spec/models/{create_widget_session_response_spec.rb → el_salvador_dui_provider_output_spec.rb} +10 -10
  340. data/spec/models/estonia_id_card_provider_output_spec.rb +2 -2
  341. data/spec/models/fayda_provider_address_spec.rb +48 -0
  342. data/spec/models/fayda_provider_output_spec.rb +38 -2
  343. data/spec/models/finland_id_card_provider_output_spec.rb +2 -2
  344. data/spec/models/finnish_trust_network_provider_output_spec.rb +2 -2
  345. data/spec/models/france_identite_input_spec.rb +2 -2
  346. data/spec/models/france_identite_provider_output_spec.rb +2 -2
  347. data/spec/models/freja_indirect_provider_output_spec.rb +2 -2
  348. data/spec/models/freja_provider_output_spec.rb +2 -2
  349. data/spec/models/french_numerique_given_name_spec.rb +2 -2
  350. data/spec/models/french_numerique_nationality_spec.rb +2 -2
  351. data/spec/models/french_numerique_phone_spec.rb +2 -2
  352. data/spec/models/french_numerique_provider_output_spec.rb +2 -2
  353. data/spec/models/get_attachment_request_spec.rb +2 -2
  354. data/spec/models/get_attachment_response_spec.rb +2 -2
  355. data/spec/models/get_provider_response_spec.rb +2 -2
  356. data/spec/models/get_session_response_spec.rb +2 -2
  357. data/spec/models/get_session_result_request_spec.rb +2 -2
  358. data/spec/models/get_session_result_response_spec.rb +2 -2
  359. data/spec/models/google_wallet_input_spec.rb +2 -2
  360. data/spec/models/google_wallet_provider_output_spec.rb +2 -2
  361. data/spec/models/guatemala_cui_lookup_input_spec.rb +36 -0
  362. data/spec/models/guatemala_cui_provider_output_spec.rb +90 -0
  363. data/spec/models/identity_data_spec.rb +2 -2
  364. data/spec/models/idin_input_spec.rb +2 -2
  365. data/spec/models/india_pan_lookup_input_spec.rb +36 -0
  366. data/spec/models/india_pan_lookup_provider_output_spec.rb +78 -0
  367. data/spec/models/india_pan_structured_number_spec.rb +66 -0
  368. data/spec/models/indonesia_dukcapil_match_input_spec.rb +2 -2
  369. data/spec/models/indonesia_nik_input_spec.rb +2 -2
  370. data/spec/models/integration_capability_spec.rb +2 -2
  371. data/spec/models/integration_launch_method_spec.rb +2 -2
  372. data/spec/models/integration_step_spec.rb +2 -2
  373. data/spec/models/itsme_provider_output_spec.rb +2 -2
  374. data/spec/models/kenya_nid_biometric2_input_spec.rb +2 -2
  375. data/spec/models/kenya_nid_input_spec.rb +2 -2
  376. data/spec/models/kenya_nid_lookup2_address_spec.rb +2 -2
  377. data/spec/models/kenya_nid_lookup2_input_spec.rb +2 -2
  378. data/spec/models/kenya_nid_lookup2_provider_output_spec.rb +2 -2
  379. data/spec/models/kenya_nid_match2_input_sex_spec.rb +2 -2
  380. data/spec/models/kenya_nid_match2_input_spec.rb +2 -2
  381. data/spec/models/{http_validation_problem_details_spec.rb → korea_telco_match_input_spec.rb} +13 -13
  382. data/spec/models/korea_telco_match_provider_output_spec.rb +48 -0
  383. data/spec/models/korea_telco_match_sex_spec.rb +30 -0
  384. data/spec/models/la_wallet_provider_output_spec.rb +2 -2
  385. data/spec/models/latvia_eparaksts_mobile_provider_output_spec.rb +2 -2
  386. data/spec/models/latvia_eparaksts_provider_output_spec.rb +2 -2
  387. data/spec/models/list_providers_response_spec.rb +2 -2
  388. data/spec/models/list_redirect_uris_response_spec.rb +2 -2
  389. data/spec/models/list_sessions_response_spec.rb +2 -2
  390. data/spec/models/list_verification_profiles_response_spec.rb +2 -2
  391. data/spec/models/lithuania_id_card_provider_output_spec.rb +2 -2
  392. data/spec/models/lloyds_smart_id_provider_output_spec.rb +2 -2
  393. data/spec/models/match_data_spec.rb +2 -2
  394. data/spec/models/match_spec.rb +2 -2
  395. data/spec/models/mdl_exchange_mechanism_spec.rb +2 -2
  396. data/spec/models/mdl_output_certificate_data_spec.rb +2 -2
  397. data/spec/models/mdl_output_field_data_spec.rb +2 -2
  398. data/spec/models/mdl_output_field_data_type_spec.rb +2 -2
  399. data/spec/models/mdl_output_spec.rb +2 -2
  400. data/spec/models/mexico_curp_input_spec.rb +2 -2
  401. data/spec/models/mexico_curp_provider_output_spec.rb +2 -2
  402. data/spec/models/mit_id_provider_output_spec.rb +2 -2
  403. data/spec/models/mobile_carrier_spec.rb +30 -0
  404. data/spec/models/mobile_id_input_spec.rb +2 -2
  405. data/spec/models/mobile_id_language_spec.rb +2 -2
  406. data/spec/models/mobile_id_provider_output_spec.rb +2 -2
  407. data/spec/models/mobile_operating_system_spec.rb +30 -0
  408. data/spec/models/netherlands_idin_address_spec.rb +60 -0
  409. data/spec/models/netherlands_idin_provider_output_spec.rb +90 -0
  410. data/spec/models/nigeria_nin_biometric2_input_spec.rb +2 -2
  411. data/spec/models/nigeria_nin_input_spec.rb +2 -2
  412. data/spec/models/nigeria_nin_lookup2_input_spec.rb +2 -2
  413. data/spec/models/nigeria_nin_lookup2_provider_output_spec.rb +2 -2
  414. data/spec/models/nigeria_nin_match2_input_sex_spec.rb +2 -2
  415. data/spec/models/nigeria_nin_match2_input_spec.rb +2 -2
  416. data/spec/models/norwegian_bank_id_provider_output_spec.rb +2 -2
  417. data/spec/models/one_id_provider_address_spec.rb +2 -2
  418. data/spec/models/one_id_provider_output_spec.rb +2 -2
  419. data/spec/models/order_direction_spec.rb +2 -2
  420. data/spec/models/output_freja_address_spec.rb +2 -2
  421. data/spec/models/output_freja_document_spec.rb +2 -2
  422. data/spec/models/panama_cedula_lookup_input_spec.rb +42 -0
  423. data/spec/models/panama_cedula_provider_output_spec.rb +78 -0
  424. data/spec/models/person_data_spec.rb +2 -2
  425. data/spec/models/peru_dni_address_spec.rb +2 -2
  426. data/spec/models/peru_dni_lookup_input_spec.rb +2 -2
  427. data/spec/models/peru_dni_provider_output_spec.rb +2 -2
  428. data/spec/models/philippine_match_input_spec.rb +2 -2
  429. data/spec/models/philippine_qr_input_spec.rb +2 -2
  430. data/spec/models/philippines_digital_nid_provider_output_spec.rb +2 -2
  431. data/spec/models/philippines_physical_nid_provider_output_spec.rb +2 -2
  432. data/spec/models/poland_edo_app_provider_output_spec.rb +2 -2
  433. data/spec/models/poland_mobywatel_match_input_spec.rb +78 -0
  434. data/spec/models/poland_mobywatel_match_provider_output_spec.rb +150 -0
  435. data/spec/models/poland_moje_id_provider_output_spec.rb +2 -2
  436. data/spec/models/portugal_id_card_provider_output_spec.rb +2 -2
  437. data/spec/models/post_office_easy_id_provider_output_spec.rb +2 -2
  438. data/spec/models/problem_details_spec.rb +2 -2
  439. data/spec/models/provider_health_spec.rb +2 -2
  440. data/spec/models/provider_input_spec.rb +62 -2
  441. data/spec/models/provider_output_spec.rb +96 -6
  442. data/spec/models/provider_spec.rb +8 -2
  443. data/spec/models/provider_supported_language_spec.rb +42 -0
  444. data/spec/models/raw18013_document_request_spec.rb +2 -2
  445. data/spec/models/raw18013_request_input_spec.rb +2 -2
  446. data/spec/models/recommend_provider_health_option_spec.rb +2 -2
  447. data/spec/models/recommend_provider_information_spec.rb +2 -2
  448. data/spec/models/recommend_providers_request_spec.rb +2 -2
  449. data/spec/models/recommend_providers_response_spec.rb +2 -2
  450. data/spec/models/recommendation_info_spec.rb +2 -2
  451. data/spec/models/redirect_uri_response_spec.rb +2 -2
  452. data/spec/models/refresh_step_content_request_spec.rb +2 -2
  453. data/spec/models/refresh_step_content_response_spec.rb +2 -2
  454. data/spec/models/result_collection_method_spec.rb +2 -2
  455. data/spec/models/result_collection_spec.rb +2 -2
  456. data/spec/models/samsung_wallet_input_spec.rb +2 -2
  457. data/spec/models/samsung_wallet_provider_output_spec.rb +2 -2
  458. data/spec/models/serbia_id_card_provider_output_spec.rb +2 -2
  459. data/spec/models/session_error_code_spec.rb +2 -2
  460. data/spec/models/session_ordering_spec.rb +2 -2
  461. data/spec/models/session_spec.rb +2 -2
  462. data/spec/models/sex_spec.rb +2 -2
  463. data/spec/models/signzy_india_aadhaar_fetch_provider_output_spec.rb +102 -0
  464. data/spec/models/singpass_login_provider_output_spec.rb +72 -0
  465. data/spec/models/singpass_my_info_description_spec.rb +42 -0
  466. data/spec/models/singpass_my_info_provider_output_spec.rb +42 -0
  467. data/spec/models/singpass_my_info_registered_address_output_spec.rb +90 -0
  468. data/spec/models/singpass_personal_catalog_spec.rb +174 -0
  469. data/spec/models/singpass_phone_number_spec.rb +48 -0
  470. data/spec/models/smart_id_input_spec.rb +2 -2
  471. data/spec/models/smart_id_provider_output_spec.rb +2 -2
  472. data/spec/models/south_africa_nid_biometric2_input_spec.rb +2 -2
  473. data/spec/models/south_africa_nid_input_spec.rb +2 -2
  474. data/spec/models/south_africa_nid_lookup2_input_spec.rb +2 -2
  475. data/spec/models/south_africa_nid_match2_input_sex_spec.rb +2 -2
  476. data/spec/models/south_africa_nid_match2_input_spec.rb +2 -2
  477. data/spec/models/spid_billing_information_spec.rb +2 -2
  478. data/spec/models/spid_input_spec.rb +2 -2
  479. data/spec/models/spid_provider_output_spec.rb +2 -2
  480. data/spec/models/step_refresh_info_spec.rb +2 -2
  481. data/spec/models/sub_provider_metadata_spec.rb +2 -2
  482. data/spec/models/submit_native_challenge_response_request_spec.rb +2 -2
  483. data/spec/models/submit_native_challenge_response_response_spec.rb +2 -2
  484. data/spec/models/sweden_bank_id_provider_output_spec.rb +2 -2
  485. data/spec/models/trinsic_test_database_lookup_input_spec.rb +2 -2
  486. data/spec/models/trinsic_test_sub_providers_input_spec.rb +2 -2
  487. data/spec/models/uganda_nid_match2_input_spec.rb +2 -2
  488. data/spec/models/uk_evisa_lookup_input_spec.rb +2 -2
  489. data/spec/models/united_kingdom_evisa_provider_output_spec.rb +2 -2
  490. data/spec/models/usa_california_dmv_input_spec.rb +36 -0
  491. data/spec/models/verification_profile_response_spec.rb +8 -2
  492. data/spec/models/yoti_deeplink_provider_output_spec.rb +2 -2
  493. data/spec/models/yoti_document_details_spec.rb +2 -2
  494. data/spec/models/yoti_provider_output_spec.rb +2 -2
  495. data/spec/models/yoti_structured_postal_address_spec.rb +2 -2
  496. data/spec/models/zimbabwe_nid_lookup2_input_spec.rb +2 -2
  497. data/spec/spec_helper.rb +1 -1
  498. data/trinsic_api.gemspec +1 -1
  499. metadata +299 -162
  500. data/docs/ConnectIdBeneficiaryAccount.md +0 -24
  501. data/docs/CreateWidgetSessionRequest.md +0 -24
  502. data/docs/CreateWidgetSessionResponse.md +0 -22
  503. data/docs/HttpValidationProblemDetails.md +0 -28
  504. data/lib/trinsic_api/models/create_widget_session_request.rb +0 -273
  505. data/lib/trinsic_api/models/create_widget_session_response.rb +0 -292
@@ -0,0 +1,36 @@
1
+ # TrinsicApi::SingpassMyInfoRegisteredAddressOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | The address type. Possible values: - SG (Structured Address) - UNFORMATTED Structured addresses most likely will be a Singapore address. Unformatted are typically a non-Singapore address, however it might still be an unformatted Singapore address. | [optional] |
8
+ | **block** | **String** | The block number. This will only be present if the type is \"SG\" | [optional] |
9
+ | **building** | **String** | The building name. This will only be present if the type is \"SG\" | [optional] |
10
+ | **floor** | **String** | The floor number. This will only be present if the type is \"SG\" | [optional] |
11
+ | **unit** | **String** | The unit number. This will only be present if the type is \"SG\" | [optional] |
12
+ | **street** | **String** | The street name. This will only be present if the type is \"SG\" | [optional] |
13
+ | **postal** | **String** | The postal code. This will only be present if the type is \"SG\" | [optional] |
14
+ | **country** | **String** | The ISO-2 country code and description for the address. This will only be present if the type is \"SG\" | [optional] |
15
+ | **line1** | **String** | The first line of the unformatted address. This will only be present if the type is \"UNFORMATTED\" | [optional] |
16
+ | **line2** | **String** | The second line of the unformatted address. This will only be present if the type is \"UNFORMATTED\" | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'trinsic_api'
22
+
23
+ instance = TrinsicApi::SingpassMyInfoRegisteredAddressOutput.new(
24
+ type: SG,
25
+ block: 548,
26
+ building: Bedok Mall,
27
+ floor: 09,
28
+ unit: 128,
29
+ street: BEDOK NORTH AVENUE 1,
30
+ postal: 460548,
31
+ country: SG,
32
+ line1: 123 Market St.,
33
+ line2: San Francisco, CA 81111 US
34
+ )
35
+ ```
36
+
@@ -0,0 +1,64 @@
1
+ # TrinsicApi::SingpassPersonalCatalog
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **identity_number** | **String** | The Unique Identifier Number (UINFIN) for the user. The number can be either a National Registration Identity Card or a Foreign Identification Number (NRIC/FIN). Follows the format @xxxxxxx#: - @ is the status of the holder. - Singapore citizens and permanent residents born before 1 January 2000 are assigned the letter \"S\". - Singapore citizens and permanent residents born on or after 1 January 2000 are assigned the letter \"T\". - Foreigners issued with long-term passes before 1 January 2000 are assigned the letter \"F\". - Foreigners issued with long-term passes from 1 January 2000 to 31 December 2021 are assigned the letter \"G\". - Foreigners issued with long-term passes on or after 1 January 2022 are assigned the letter \"M\". - xxxxxxx is seven digit serial number. - # is the checksum letter. | [optional] |
8
+ | **partial_identity_number** | **String** | The partial National Registration Identity Card or Foreign Identification Number (NRIC/FIN) shown by Singpass. The value hides all but the last three digits and checksum. | [optional] |
9
+ | **name** | **String** | The name of verified individual composed of all the possible names. The name is assembled in the following format (where applicable): 1. Principal Name (The first name section) 2. Hanyu Pinyin Name 3. Alias Name 4. Hanyu Pinyin Alias Name 5. Married Name (optional): Available only for females, prefixed with \"MRS\" | [optional] |
10
+ | **alias_name** | **String** | The individual's alternate legally recognized name. | [optional] |
11
+ | **hanyu_pinyin_name** | **String** | The individual's Hanyu Pinyin name. | [optional] |
12
+ | **hanyu_pinyin_alias_name** | **String** | The individual's Hanyu Pinyin alias name. | [optional] |
13
+ | **married_name** | **String** | The individual's married name. This appears when Singpass has a legally recognized married surname on file. | [optional] |
14
+ | **email** | **String** | The user's email address. | [optional] |
15
+ | **mobile_number** | [**SingpassPhoneNumber**](SingpassPhoneNumber.md) | The user's mobile number, split into prefix, area code, and subscriber number. | [optional] |
16
+ | **dialect** | [**SingpassMyInfoDescription**](SingpassMyInfoDescription.md) | The user's dialect. | [optional] |
17
+ | **date_of_birth** | **Date** | The user's date of birth. | [optional] |
18
+ | **residential_status** | [**SingpassMyInfoDescription**](SingpassMyInfoDescription.md) | The user's residential status. Possible values (code description): - A Alien - C Citizen - P PR - U Unknown - N NOT APPLICABLE | [optional] |
19
+ | **nationality** | **String** | The user's nationality in IS0-2 country code format. | [optional] |
20
+ | **birth_country** | **String** | The user's birth country in IS0-2 country code format. | [optional] |
21
+ | **passport_number** | **String** | The user's passport number. | [optional] |
22
+ | **passport_expiry_date** | **Date** | The user's passport expiry date. | [optional] |
23
+ | **pass_type** | [**SingpassMyInfoDescription**](SingpassMyInfoDescription.md) | The Pass type of the individual. Possible values: (code description) - RPass Work Permit - SPass S Pass - P1Pass Employment Pass - P2Pass Employment Pass - QPass Employment Pass - PEP Personalised Employment Pass - WHP Work Holiday Pass - TEP Training Employment Pass - Entre EntrePass - OVE Overseas Networks & Expertise Pass - DP Dependent Pass - LTVP Long-Term Visit Pass - LOC Letter of Consent - MWP Miscellaneous Work Pass - STP Student's Pass - LTVP+ Long-Term Visit Pass Plus - IEO Immigration Exemption Order Note that this only applies to a FIN holder. | [optional] |
24
+ | **pass_status** | **String** | Pass status. Possible values: - Live - Approved (Interim status in which the FIN holder has yet to receive the pass) Note that this only applies to a FIN holder. | [optional] |
25
+ | **pass_expiry_date** | **Date** | Pass expiration date. Note that this only applies to a FIN holder. | [optional] |
26
+ | **employment_sector** | **String** | The user's employment sector. | [optional] |
27
+ | **registered_address** | [**SingpassMyInfoRegisteredAddressOutput**](SingpassMyInfoRegisteredAddressOutput.md) | The user's registered address. | [optional] |
28
+ | **house_developmenet_board_type** | [**SingpassMyInfoDescription**](SingpassMyInfoDescription.md) | Housing and Development Board (HBD) flat type code and description. This value will be null if not HBD Possible values (code description): - 111 1-ROOM FLAT (HDB) - 112 2-ROOM FLAT (HDB) - 113 3-ROOM FLAT (HDB) - 114 4-ROOM FLAT (HDB) - 115 5-ROOM FLAT (HDB) - 116 EXECUTIVE FLAT (HDB) - 118 STUDIO APARTMENT (HDB) | [optional] |
29
+ | **housing_type** | [**SingpassMyInfoDescription**](SingpassMyInfoDescription.md) | The user's housing type. Possible values (code description): - 121 DETACHED HOUSE - 122 SEMI-DETACHED HOUSE - 123 TERRACE HOUSE - 131 CONDOMINIUM - 132 EXECUTIVE CONDOMINIUM - 139 APARTMENT | [optional] |
30
+ | **sex** | **String** | Sex of the individual. Possible values: - Female - Male - Unknown | [optional] |
31
+
32
+ ## Example
33
+
34
+ ```ruby
35
+ require 'trinsic_api'
36
+
37
+ instance = TrinsicApi::SingpassPersonalCatalog.new(
38
+ identity_number: S1234567A,
39
+ partial_identity_number: *****567A,
40
+ name: CHEN PEI NI (CHEN PEI NI) @ LEE PEI HUI (LI PEI HUI) MRS TAN,
41
+ alias_name: LEE PEI HUI,
42
+ hanyu_pinyin_name: LI PEI HUI,
43
+ hanyu_pinyin_alias_name: LI PEI HUI,
44
+ married_name: MRS TAN,
45
+ email: myinfotesting@gmail.com,
46
+ mobile_number: null,
47
+ dialect: null,
48
+ date_of_birth: Sat Mar 03 00:00:00 UTC 1990,
49
+ residential_status: null,
50
+ nationality: SG,
51
+ birth_country: SG,
52
+ passport_number: E35463874W,
53
+ passport_expiry_date: Tue Jan 01 00:00:00 UTC 2030,
54
+ pass_type: null,
55
+ pass_status: Live,
56
+ pass_expiry_date: Tue Dec 31 00:00:00 UTC 2030,
57
+ employment_sector: Technology,
58
+ registered_address: null,
59
+ house_developmenet_board_type: null,
60
+ housing_type: null,
61
+ sex: Female
62
+ )
63
+ ```
64
+
@@ -0,0 +1,22 @@
1
+ # TrinsicApi::SingpassPhoneNumber
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **prefix** | **String** | The phone number prefix. | [optional] |
8
+ | **area_code** | **String** | The phone number area code. | [optional] |
9
+ | **number** | **String** | The phone number's subscriber number. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'trinsic_api'
15
+
16
+ instance = TrinsicApi::SingpassPhoneNumber.new(
17
+ prefix: +,
18
+ area_code: 65,
19
+ number: 97399245
20
+ )
21
+ ```
22
+
@@ -14,7 +14,7 @@
14
14
  | **serial_number** | **String** | The SERIALNUMBER attribute from the Smart ID authentication certificate's Subject Distinguished Name. Format: \"{identity-type}{country-code}-{identifier}\" Components: - identity-type (3 chars): PNO (Personal Number), PAS (Passport), IDC (ID Card) - country-code (2 chars): ISO 3166-1 alpha-2 (EE, LT, LV) - identifier: The personal code | [optional] |
15
15
  | **certificate_subject** | **String** | The full Subject Distinguished Name (Subject DN) from the Smart ID authentication certificate. Contains comma-separated RDN (Relative Distinguished Name) components including C (Country), CN (Common Name), SN (Surname), G (Given Name), and SERIALNUMBER (Personal identifier). | [optional] |
16
16
  | **certificate_level** | **String** | The certificate level indicating the authentication assurance level. Possible values: - QUALIFIED: Highest assurance level (eIDAS QES - Qualified Electronic Signature), legally equivalent to a handwritten signature. This is the standard production level. - ADVANCED: Lower assurance level (eIDAS AdES), also called \"Smart-ID Basic\". Only available in test environments for test accounts. | [optional] |
17
- | **document_number** | **String** | A unique identifier for the Smart ID account/document used for this authentication. Format: PNO{CC}-{personal-code}-{device-id}-{qualification} Components: - PNO = Personal Number (identity type) - CC = Country code (EE, LT, LV) - personal-code = The individual's personal code - device-id = Random 4-character device identifier - qualification = NQ (non-qualified) or Q (qualified certificate) This is a stable identifier that can be used to recognize returning users across sessions. | [optional] |
17
+ | **document_number** | **String** | A unique identifier for the Smart ID account/document used for this authentication. Format: PNO{CC}-{personal-code}-{device-id}-{qualification} Components: - PNO = Personal Number (identity type) - CC = Country code (EE, LT, LV) - personal-code = The individual's personal code - device-id = Random 4-character device identifier - qualification = NQ (non-qualified) or Q (qualified certificate) This is a stable identifier that can be used to recognize returning individuals across sessions. | [optional] |
18
18
  | **interaction_flow_used** | **String** | Indicates which interaction flow was used during the Smart ID authentication process. This reflects which of the allowedInteractionsOrder options was actually used. Possible values: - displayTextAndPIN: User saw text and entered PIN - verificationCodeChoice: User selected from multiple verification codes - confirmationMessage: User confirmed a message - confirmationMessageAndVerificationCodeChoice: Combination of both | [optional] |
19
19
  | **device_ip_address** | **String** | The IP address of the device where the Smart ID app was used for authentication. Can be IPv4 or IPv6 format. | [optional] |
20
20
 
@@ -9,10 +9,10 @@
9
9
  | **personal_identity_number** | **String** | The Swedish personal number (personnummer) associated with the verified individual. The value is typically a 12-digit number. This is in the format YYYYMMDDXXXX, where: - YYYYMMDD is the date of birth. - XXXX is an individual number, indicating gender. If XXXX is even, the individual is female. If XXXX is odd, the individual is male. | [optional] |
10
10
  | **given_name** | **String** | The given name of the individual | [optional] |
11
11
  | **family_name** | **String** | The family name of the individual | [optional] |
12
- | **country** | **String** | The end user's country on the verified certificate. This is ISO 2-character code of the country. | [optional] |
12
+ | **country** | **String** | The individual's country on the verified certificate. This is ISO 2-character code of the country. | [optional] |
13
13
  | **certificate_policy** | **String** | The object identifier policy of the individual's verified certificate | [optional] |
14
- | **common_name** | **String** | The common name of the end user's verified certificate | [optional] |
15
- | **distinguished_name** | **String** | The distinguished name of the end user's verified certificate | [optional] |
14
+ | **common_name** | **String** | The common name of the individual's verified certificate | [optional] |
15
+ | **distinguished_name** | **String** | The distinguished name of the individual's verified certificate | [optional] |
16
16
  | **personal_identity_number_issuing_country** | **String** | The country that issued the Swedish personal number. This is an ISO 2-character code of the country and is extracted from the certificate. This will always be `SE`. | [optional] |
17
17
  | **authentication_device_ip** | **String** | The IP address of the device used for authentication | [optional] |
18
18
  | **not_before** | **Time** | The certificate validity start date (not before) in UTC | [optional] |
@@ -13,7 +13,7 @@
13
13
  | **valid_from** | **Date** | The start date from which the eVisa is valid. Only returned for immigration_status and right_to_rent verifications — not returned for right_to_work. | [optional] |
14
14
  | **nationality** | **String** | The nationality of the individual as recorded on the eVisa. Only present for immigration_status verifications. | [optional] |
15
15
  | **immigration_status** | **String** | The immigration status of the individual. Only present for immigration_status verifications. This is a personalized record for each individual, and there is no single definitive list. Some common values: - Settled - Pre-settled - Student - Graduate - Youth Mobility - Global Talent - Skilled Worker - Limited leave | [optional] |
16
- | **outcome** | **String** | Overall verification outcome: \"pass\" or \"fail\". | [optional] |
16
+ | **outcome** | **String** | Overall verification outcome: \"pass\", \"fail\", or \"inconclusive\". \"inconclusive\" is returned for indefinite immigration statuses not yet on the provider's official list — identity details are still returned, but date validations cannot be performed. | [optional] |
17
17
  | **evidence_type** | **String** | Type of verification. List of possible values: - immigration_status - right_to_work - right_to_rent | [optional] |
18
18
 
19
19
  ## Example
@@ -0,0 +1,18 @@
1
+ # TrinsicApi::UsaCaliforniaDmvInput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **preview_raw18013_request** | [**Raw18013RequestInput**](Raw18013RequestInput.md) | The raw 18013-7 exchange request to use for this verification. If set, this overrides any default configuration on your Verification Profile. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'trinsic_api'
13
+
14
+ instance = TrinsicApi::UsaCaliforniaDmvInput.new(
15
+ preview_raw18013_request: null
16
+ )
17
+ ```
18
+
@@ -7,6 +7,7 @@
7
7
  | **id** | **String** | The ID of the verification profile | |
8
8
  | **_alias** | **String** | An alias of the verification profile shown to developers and administrators. | |
9
9
  | **brand_name** | **String** | The brand name of the verification profile shown to end-users. | |
10
+ | **external_id** | **String** | A customer-defined external ID for this verification profile, unique within your organization. | [optional] |
10
11
  | **logo_url** | **String** | The URL of the verification profile's logo. | |
11
12
  | **primary_color** | **String** | The primary color of the verification profile. | |
12
13
  | **enabled_providers** | **Array<String>** | The providers that are currently enabled for the verification profile. | |
@@ -22,6 +23,7 @@ instance = TrinsicApi::VerificationProfileResponse.new(
22
23
  id: null,
23
24
  _alias: null,
24
25
  brand_name: null,
26
+ external_id: null,
25
27
  logo_url: null,
26
28
  primary_color: null,
27
29
  enabled_providers: null,
@@ -5,6 +5,7 @@ All URIs are relative to *https://api.trinsic.id*
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**create_verification_profile**](VerificationProfilesApi.md#create_verification_profile) | **POST** /api/valpha/verification-profiles | Create Verification Profile |
8
+ | [**get_verification_profile_by_external_id**](VerificationProfilesApi.md#get_verification_profile_by_external_id) | **GET** /api/valpha/verification-profiles/external-ids/{externalId} | Get Verification Profile by External ID |
8
9
  | [**get_verification_profile_by_id**](VerificationProfilesApi.md#get_verification_profile_by_id) | **GET** /api/valpha/verification-profiles/{id} | Get Verification Profile |
9
10
  | [**list_verification_profiles**](VerificationProfilesApi.md#list_verification_profiles) | **GET** /api/valpha/verification-profiles | List Verification Profiles |
10
11
 
@@ -33,6 +34,7 @@ _alias = '_alias_example' # String | An alias of the verification profile shown
33
34
  brand_name = 'brand_name_example' # String | The brand name of the verification profile shown to end-users.
34
35
  opts = {
35
36
  primary_color: 'primary_color_example', # String | The primary color of the verification profile. Must be a 6-character hex string prefixed with a '#' character. Example: #000000
37
+ external_id: 'external_id_example', # String | A customer-defined external ID for this verification profile. Must be unique within your organization and be at most 255 characters long.
36
38
  providers: ['inner_example'], # Array<String> | The list of providers you'd like to select for this profile. We will not currently enable any providers.
37
39
  logo: File.new('/path/to/some/file'), # File | The logo of the verification profile.
38
40
  redaction_period: 'redaction_period_example', # String | The redaction period for verification data. Must be between 0 and 31 days, and at least 15 minutes greater than the session expiration. If not specified, defaults to 31 days.
@@ -74,6 +76,7 @@ end
74
76
  | **_alias** | **String** | An alias of the verification profile shown to developers and administrators. | |
75
77
  | **brand_name** | **String** | The brand name of the verification profile shown to end-users. | |
76
78
  | **primary_color** | **String** | The primary color of the verification profile. Must be a 6-character hex string prefixed with a &#39;#&#39; character. Example: #000000 | [optional] |
79
+ | **external_id** | **String** | A customer-defined external ID for this verification profile. Must be unique within your organization and be at most 255 characters long. | [optional] |
77
80
  | **providers** | [**Array&lt;String&gt;**](String.md) | The list of providers you&#39;d like to select for this profile. We will not currently enable any providers. | [optional] |
78
81
  | **logo** | **File** | The logo of the verification profile. | [optional] |
79
82
  | **redaction_period** | **String** | The redaction period for verification data. Must be between 0 and 31 days, and at least 15 minutes greater than the session expiration. If not specified, defaults to 31 days. | [optional] |
@@ -94,6 +97,75 @@ end
94
97
  - **Accept**: text/plain, application/json, text/json, application/problem+json
95
98
 
96
99
 
100
+ ## get_verification_profile_by_external_id
101
+
102
+ > <VerificationProfileResponse> get_verification_profile_by_external_id(external_id)
103
+
104
+ Get Verification Profile by External ID
105
+
106
+ Gets a specific verification profile by its customer-defined external ID.
107
+
108
+ ### Examples
109
+
110
+ ```ruby
111
+ require 'time'
112
+ require 'trinsic_api'
113
+ # setup authorization
114
+ TrinsicApi.configure do |config|
115
+ # Configure Bearer authorization: Bearer
116
+ config.access_token = 'YOUR_BEARER_TOKEN'
117
+ end
118
+
119
+ api_instance = TrinsicApi::VerificationProfilesApi.new
120
+ external_id = 'external_id_example' # String | Customer-defined external ID
121
+
122
+ begin
123
+ # Get Verification Profile by External ID
124
+ result = api_instance.get_verification_profile_by_external_id(external_id)
125
+ p result
126
+ rescue TrinsicApi::ApiError => e
127
+ puts "Error when calling VerificationProfilesApi->get_verification_profile_by_external_id: #{e}"
128
+ end
129
+ ```
130
+
131
+ #### Using the get_verification_profile_by_external_id_with_http_info variant
132
+
133
+ This returns an Array which contains the response data, status code and headers.
134
+
135
+ > <Array(<VerificationProfileResponse>, Integer, Hash)> get_verification_profile_by_external_id_with_http_info(external_id)
136
+
137
+ ```ruby
138
+ begin
139
+ # Get Verification Profile by External ID
140
+ data, status_code, headers = api_instance.get_verification_profile_by_external_id_with_http_info(external_id)
141
+ p status_code # => 2xx
142
+ p headers # => { ... }
143
+ p data # => <VerificationProfileResponse>
144
+ rescue TrinsicApi::ApiError => e
145
+ puts "Error when calling VerificationProfilesApi->get_verification_profile_by_external_id_with_http_info: #{e}"
146
+ end
147
+ ```
148
+
149
+ ### Parameters
150
+
151
+ | Name | Type | Description | Notes |
152
+ | ---- | ---- | ----------- | ----- |
153
+ | **external_id** | **String** | Customer-defined external ID | |
154
+
155
+ ### Return type
156
+
157
+ [**VerificationProfileResponse**](VerificationProfileResponse.md)
158
+
159
+ ### Authorization
160
+
161
+ [Bearer](../README.md#Bearer)
162
+
163
+ ### HTTP request headers
164
+
165
+ - **Content-Type**: Not defined
166
+ - **Accept**: text/plain, application/json, text/json, application/problem+json
167
+
168
+
97
169
  ## get_verification_profile_by_id
98
170
 
99
171
  > <VerificationProfileResponse> get_verification_profile_by_id(id)
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **remember_me_id** | **String** | The unique id for your service of the individual. This is not shared between different services so if the user logs into a different service, the user will have a new id for the other service. | [optional] |
7
+ | **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] |
@@ -12,7 +12,7 @@
12
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 \&quot;unverified\&quot;. | [optional] |
13
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 \&quot;unverified\&quot;. In some countries Possible values: - \&quot;MALE\&quot; - \&quot;FEMALE\&quot; - \&quot;TRANSGENDER\&quot; - \&quot;OTHER\&quot; | [optional] |
14
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 user&#39;s registration with Yoti. In some cases, Yoti may do additional checks against its sources to confirm the user&#39;s identity. | [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&#39;s registration with Yoti. In some cases, Yoti may do additional checks against its sources to confirm the individual&#39;s identity. | [optional] |
16
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 \&quot;unverified\&quot;. 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 \&quot;unverified\&quot;. | [optional] |
17
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 \&quot;unverified\&quot;. The format of this will be different for each country. Refer to &#x60;StructuredPostalAddress&#x60; for a detailed version of the address. | [optional] |
18
18
  | **document_details** | [**YotiDocumentDetails**](YotiDocumentDetails.md) | The details of the underlying document used to help create the Yoti credential | [optional] |
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **remember_me_id** | **String** | The unique id for your service of the individual. This is not shared between different services so if the user logs into a different service, the user will have a new id for the other service. | [optional] |
7
+ | **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] |
@@ -12,7 +12,7 @@
12
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 \&quot;unverified\&quot;. | [optional] |
13
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 \&quot;unverified\&quot;. In some countries Possible values: - \&quot;MALE\&quot; - \&quot;FEMALE\&quot; - \&quot;TRANSGENDER\&quot; - \&quot;OTHER\&quot; | [optional] |
14
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 user&#39;s registration with Yoti. In some cases, Yoti may do additional checks against its sources to confirm the user&#39;s identity. | [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&#39;s registration with Yoti. In some cases, Yoti may do additional checks against its sources to confirm the individual&#39;s identity. | [optional] |
16
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 \&quot;unverified\&quot;. 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 \&quot;unverified\&quot;. | [optional] |
17
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 \&quot;unverified\&quot;. The format of this will be different for each country. Refer to &#x60;StructuredPostalAddress&#x60; for a detailed version of the address. | [optional] |
18
18
  | **document_details** | [**YotiDocumentDetails**](YotiDocumentDetails.md) | The details of the underlying document used to help create the Yoti credential | [optional] |
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.13.0
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.13.0
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.13.0
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -210,70 +210,6 @@ module TrinsicApi
210
210
  return data, status_code, headers
211
211
  end
212
212
 
213
- # Create Widget Session
214
- # Verify a user's identity using Trinsic's hosted Widget flow.
215
- # @param [Hash] opts the optional parameters
216
- # @option opts [CreateWidgetSessionRequest] :create_widget_session_request
217
- # @return [CreateWidgetSessionResponse]
218
- def create_widget_session(opts = {})
219
- data, _status_code, _headers = create_widget_session_with_http_info(opts)
220
- data
221
- end
222
-
223
- # Create Widget Session
224
- # Verify a user&#39;s identity using Trinsic&#39;s hosted Widget flow.
225
- # @param [Hash] opts the optional parameters
226
- # @option opts [CreateWidgetSessionRequest] :create_widget_session_request
227
- # @return [Array<(CreateWidgetSessionResponse, Integer, Hash)>] CreateWidgetSessionResponse data, response status code and response headers
228
- def create_widget_session_with_http_info(opts = {})
229
- if @api_client.config.debugging
230
- @api_client.config.logger.debug 'Calling API: SessionsApi.create_widget_session ...'
231
- end
232
- # resource path
233
- local_var_path = '/api/v1/sessions/widget'
234
-
235
- # query parameters
236
- query_params = opts[:query_params] || {}
237
-
238
- # header parameters
239
- header_params = opts[:header_params] || {}
240
- # HTTP header 'Accept' (if needed)
241
- header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json', 'application/problem+json']) unless header_params['Accept']
242
- # HTTP header 'Content-Type'
243
- content_type = @api_client.select_header_content_type(['application/json', 'text/json', 'application/*+json'])
244
- if !content_type.nil?
245
- header_params['Content-Type'] = content_type
246
- end
247
-
248
- # form parameters
249
- form_params = opts[:form_params] || {}
250
-
251
- # http body (model)
252
- post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_widget_session_request'])
253
-
254
- # return_type
255
- return_type = opts[:debug_return_type] || 'CreateWidgetSessionResponse'
256
-
257
- # auth_names
258
- auth_names = opts[:debug_auth_names] || ['Bearer']
259
-
260
- new_options = opts.merge(
261
- :operation => :"SessionsApi.create_widget_session",
262
- :header_params => header_params,
263
- :query_params => query_params,
264
- :form_params => form_params,
265
- :body => post_body,
266
- :auth_names => auth_names,
267
- :return_type => return_type
268
- )
269
-
270
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
271
- if @api_client.config.debugging
272
- @api_client.config.logger.debug "API called: SessionsApi#create_widget_session\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
273
- end
274
- return data, status_code, headers
275
- end
276
-
277
213
  # Get Attachment
278
214
  # Fetch an Attachment's contents.
279
215
  # @param session_id [String] The ID of the Session to fetch the Attachment from
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.13.0
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -25,6 +25,7 @@ module TrinsicApi
25
25
  # @param brand_name [String] The brand name of the verification profile shown to end-users.
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @option opts [String] :primary_color The primary color of the verification profile. Must be a 6-character hex string prefixed with a &#39;#&#39; character. Example: #000000
28
+ # @option opts [String] :external_id A customer-defined external ID for this verification profile. Must be unique within your organization and be at most 255 characters long.
28
29
  # @option opts [Array<String>] :providers The list of providers you&#39;d like to select for this profile. We will not currently enable any providers.
29
30
  # @option opts [File] :logo The logo of the verification profile.
30
31
  # @option opts [String] :redaction_period The redaction period for verification data. Must be between 0 and 31 days, and at least 15 minutes greater than the session expiration. If not specified, defaults to 31 days.
@@ -42,6 +43,7 @@ module TrinsicApi
42
43
  # @param brand_name [String] The brand name of the verification profile shown to end-users.
43
44
  # @param [Hash] opts the optional parameters
44
45
  # @option opts [String] :primary_color The primary color of the verification profile. Must be a 6-character hex string prefixed with a &#39;#&#39; character. Example: #000000
46
+ # @option opts [String] :external_id A customer-defined external ID for this verification profile. Must be unique within your organization and be at most 255 characters long.
45
47
  # @option opts [Array<String>] :providers The list of providers you&#39;d like to select for this profile. We will not currently enable any providers.
46
48
  # @option opts [File] :logo The logo of the verification profile.
47
49
  # @option opts [String] :redaction_period The redaction period for verification data. Must be between 0 and 31 days, and at least 15 minutes greater than the session expiration. If not specified, defaults to 31 days.
@@ -61,7 +63,7 @@ module TrinsicApi
61
63
  end
62
64
 
63
65
  if @api_client.config.client_side_validation && _alias.to_s.length < 1
64
- fail ArgumentError, 'invalid value for "_alias" when calling VerificationProfilesApi.create_verification_profile, the character length must be great than or equal to 1.'
66
+ fail ArgumentError, 'invalid value for "_alias" when calling VerificationProfilesApi.create_verification_profile, the character length must be greater than or equal to 1.'
65
67
  end
66
68
 
67
69
  # verify the required parameter 'brand_name' is set
@@ -73,7 +75,7 @@ module TrinsicApi
73
75
  end
74
76
 
75
77
  if @api_client.config.client_side_validation && brand_name.to_s.length < 1
76
- fail ArgumentError, 'invalid value for "brand_name" when calling VerificationProfilesApi.create_verification_profile, the character length must be great than or equal to 1.'
78
+ fail ArgumentError, 'invalid value for "brand_name" when calling VerificationProfilesApi.create_verification_profile, the character length must be greater than or equal to 1.'
77
79
  end
78
80
 
79
81
  if @api_client.config.client_side_validation && !opts[:'primary_color'].nil? && opts[:'primary_color'].to_s.length > 7
@@ -81,7 +83,11 @@ module TrinsicApi
81
83
  end
82
84
 
83
85
  if @api_client.config.client_side_validation && !opts[:'primary_color'].nil? && opts[:'primary_color'].to_s.length < 7
84
- fail ArgumentError, 'invalid value for "opts[:"primary_color"]" when calling VerificationProfilesApi.create_verification_profile, the character length must be great than or equal to 7.'
86
+ fail ArgumentError, 'invalid value for "opts[:"primary_color"]" when calling VerificationProfilesApi.create_verification_profile, the character length must be greater than or equal to 7.'
87
+ end
88
+
89
+ if @api_client.config.client_side_validation && !opts[:'external_id'].nil? && opts[:'external_id'].to_s.length > 255
90
+ fail ArgumentError, 'invalid value for "opts[:"external_id"]" when calling VerificationProfilesApi.create_verification_profile, the character length must be smaller than or equal to 255.'
85
91
  end
86
92
 
87
93
  # resource path
@@ -105,6 +111,7 @@ module TrinsicApi
105
111
  form_params['Alias'] = _alias
106
112
  form_params['BrandName'] = brand_name
107
113
  form_params['PrimaryColor'] = opts[:'primary_color'] if !opts[:'primary_color'].nil?
114
+ form_params['ExternalId'] = opts[:'external_id'] if !opts[:'external_id'].nil?
108
115
  form_params['Providers'] = @api_client.build_collection_param(opts[:'providers'], :multi) if !opts[:'providers'].nil?
109
116
  form_params['Logo'] = opts[:'logo'] if !opts[:'logo'].nil?
110
117
  form_params['RedactionPeriod'] = opts[:'redaction_period'] if !opts[:'redaction_period'].nil?
@@ -137,6 +144,69 @@ module TrinsicApi
137
144
  return data, status_code, headers
138
145
  end
139
146
 
147
+ # Get Verification Profile by External ID
148
+ # Gets a specific verification profile by its customer-defined external ID.
149
+ # @param external_id [String] Customer-defined external ID
150
+ # @param [Hash] opts the optional parameters
151
+ # @return [VerificationProfileResponse]
152
+ def get_verification_profile_by_external_id(external_id, opts = {})
153
+ data, _status_code, _headers = get_verification_profile_by_external_id_with_http_info(external_id, opts)
154
+ data
155
+ end
156
+
157
+ # Get Verification Profile by External ID
158
+ # Gets a specific verification profile by its customer-defined external ID.
159
+ # @param external_id [String] Customer-defined external ID
160
+ # @param [Hash] opts the optional parameters
161
+ # @return [Array<(VerificationProfileResponse, Integer, Hash)>] VerificationProfileResponse data, response status code and response headers
162
+ def get_verification_profile_by_external_id_with_http_info(external_id, opts = {})
163
+ if @api_client.config.debugging
164
+ @api_client.config.logger.debug 'Calling API: VerificationProfilesApi.get_verification_profile_by_external_id ...'
165
+ end
166
+ # verify the required parameter 'external_id' is set
167
+ if @api_client.config.client_side_validation && external_id.nil?
168
+ fail ArgumentError, "Missing the required parameter 'external_id' when calling VerificationProfilesApi.get_verification_profile_by_external_id"
169
+ end
170
+ # resource path
171
+ local_var_path = '/api/valpha/verification-profiles/external-ids/{externalId}'.sub('{' + 'externalId' + '}', CGI.escape(external_id.to_s))
172
+
173
+ # query parameters
174
+ query_params = opts[:query_params] || {}
175
+
176
+ # header parameters
177
+ header_params = opts[:header_params] || {}
178
+ # HTTP header 'Accept' (if needed)
179
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json', 'application/problem+json']) unless header_params['Accept']
180
+
181
+ # form parameters
182
+ form_params = opts[:form_params] || {}
183
+
184
+ # http body (model)
185
+ post_body = opts[:debug_body]
186
+
187
+ # return_type
188
+ return_type = opts[:debug_return_type] || 'VerificationProfileResponse'
189
+
190
+ # auth_names
191
+ auth_names = opts[:debug_auth_names] || ['Bearer']
192
+
193
+ new_options = opts.merge(
194
+ :operation => :"VerificationProfilesApi.get_verification_profile_by_external_id",
195
+ :header_params => header_params,
196
+ :query_params => query_params,
197
+ :form_params => form_params,
198
+ :body => post_body,
199
+ :auth_names => auth_names,
200
+ :return_type => return_type
201
+ )
202
+
203
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
204
+ if @api_client.config.debugging
205
+ @api_client.config.logger.debug "API called: VerificationProfilesApi#get_verification_profile_by_external_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
206
+ end
207
+ return data, status_code, headers
208
+ end
209
+
140
210
  # Get Verification Profile
141
211
  # Gets a specific verification profile by ID.
142
212
  # @param id [String]
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.13.0
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -278,9 +278,13 @@ module TrinsicApi
278
278
  data.each { |k, v| hash[k] = convert_to_type(v, sub_type) }
279
279
  end
280
280
  else
281
- # models (e.g. Pet) or oneOf
281
+ # models (e.g. Pet) or oneOf/anyOf
282
282
  klass = TrinsicApi.const_get(return_type)
283
- klass.respond_to?(:openapi_one_of) ? klass.build(data) : klass.build_from_hash(data)
283
+ if klass.respond_to?(:openapi_one_of) || klass.respond_to?(:openapi_any_of)
284
+ klass.build(data)
285
+ else
286
+ klass.build_from_hash(data)
287
+ end
284
288
  end
285
289
  end
286
290
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.13.0
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12