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
@@ -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
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module TrinsicApi
17
- class MdlOutputFieldData
17
+ class MdlOutputFieldData < ApiModelBase
18
18
  # The type of data contained in `value`.
19
19
  attr_accessor :type
20
20
 
@@ -193,61 +193,6 @@ module TrinsicApi
193
193
  new(transformed_hash)
194
194
  end
195
195
 
196
- # Deserializes the data based on type
197
- # @param string type Data type
198
- # @param string value Value to be deserialized
199
- # @return [Object] Deserialized data
200
- def self._deserialize(type, value)
201
- case type.to_sym
202
- when :Time
203
- Time.parse(value)
204
- when :Date
205
- Date.parse(value)
206
- when :String
207
- value.to_s
208
- when :Integer
209
- value.to_i
210
- when :Float
211
- value.to_f
212
- when :Boolean
213
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
214
- true
215
- else
216
- false
217
- end
218
- when :Object
219
- # generic object (usually a Hash), return directly
220
- value
221
- when /\AArray<(?<inner_type>.+)>\z/
222
- inner_type = Regexp.last_match[:inner_type]
223
- value.map { |v| _deserialize(inner_type, v) }
224
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
225
- k_type = Regexp.last_match[:k_type]
226
- v_type = Regexp.last_match[:v_type]
227
- {}.tap do |hash|
228
- value.each do |k, v|
229
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
230
- end
231
- end
232
- else # model
233
- # models (e.g. Pet) or oneOf
234
- klass = TrinsicApi.const_get(type)
235
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
236
- end
237
- end
238
-
239
- # Returns the string representation of the object
240
- # @return [String] String presentation of the object
241
- def to_s
242
- to_hash.to_s
243
- end
244
-
245
- # to_body is an alias to to_hash (backward compatibility)
246
- # @return [Hash] Returns the object in the form of hash
247
- def to_body
248
- to_hash
249
- end
250
-
251
196
  # Returns the object in the form of hash
252
197
  # @return [Hash] Returns the object in the form of hash
253
198
  def to_hash
@@ -264,24 +209,6 @@ module TrinsicApi
264
209
  hash
265
210
  end
266
211
 
267
- # Outputs non-array value in the form of hash
268
- # For object, use to_hash. Otherwise, just return the value
269
- # @param [Object] value Any valid value
270
- # @return [Hash] Returns the value in the form of hash
271
- def _to_hash(value)
272
- if value.is_a?(Array)
273
- value.compact.map { |v| _to_hash(v) }
274
- elsif value.is_a?(Hash)
275
- {}.tap do |hash|
276
- value.each { |k, v| hash[k] = _to_hash(v) }
277
- end
278
- elsif value.respond_to? :to_hash
279
- value.to_hash
280
- else
281
- value
282
- end
283
- end
284
-
285
212
  end
286
213
 
287
214
  end
@@ -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
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module TrinsicApi
17
- class MexicoCurpInput
17
+ class MexicoCurpInput < ApiModelBase
18
18
  # The user's CURP number
19
19
  attr_accessor :curp
20
20
 
@@ -85,7 +85,7 @@ module TrinsicApi
85
85
  end
86
86
 
87
87
  if @curp.to_s.length < 18
88
- invalid_properties.push('invalid value for "curp", the character length must be great than or equal to 18.')
88
+ invalid_properties.push('invalid value for "curp", the character length must be greater than or equal to 18.')
89
89
  end
90
90
 
91
91
  invalid_properties
@@ -113,7 +113,7 @@ module TrinsicApi
113
113
  end
114
114
 
115
115
  if curp.to_s.length < 18
116
- fail ArgumentError, 'invalid value for "curp", the character length must be great than or equal to 18.'
116
+ fail ArgumentError, 'invalid value for "curp", the character length must be greater than or equal to 18.'
117
117
  end
118
118
 
119
119
  @curp = curp
@@ -162,61 +162,6 @@ module TrinsicApi
162
162
  new(transformed_hash)
163
163
  end
164
164
 
165
- # Deserializes the data based on type
166
- # @param string type Data type
167
- # @param string value Value to be deserialized
168
- # @return [Object] Deserialized data
169
- def self._deserialize(type, value)
170
- case type.to_sym
171
- when :Time
172
- Time.parse(value)
173
- when :Date
174
- Date.parse(value)
175
- when :String
176
- value.to_s
177
- when :Integer
178
- value.to_i
179
- when :Float
180
- value.to_f
181
- when :Boolean
182
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
183
- true
184
- else
185
- false
186
- end
187
- when :Object
188
- # generic object (usually a Hash), return directly
189
- value
190
- when /\AArray<(?<inner_type>.+)>\z/
191
- inner_type = Regexp.last_match[:inner_type]
192
- value.map { |v| _deserialize(inner_type, v) }
193
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
194
- k_type = Regexp.last_match[:k_type]
195
- v_type = Regexp.last_match[:v_type]
196
- {}.tap do |hash|
197
- value.each do |k, v|
198
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
199
- end
200
- end
201
- else # model
202
- # models (e.g. Pet) or oneOf
203
- klass = TrinsicApi.const_get(type)
204
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
205
- end
206
- end
207
-
208
- # Returns the string representation of the object
209
- # @return [String] String presentation of the object
210
- def to_s
211
- to_hash.to_s
212
- end
213
-
214
- # to_body is an alias to to_hash (backward compatibility)
215
- # @return [Hash] Returns the object in the form of hash
216
- def to_body
217
- to_hash
218
- end
219
-
220
165
  # Returns the object in the form of hash
221
166
  # @return [Hash] Returns the object in the form of hash
222
167
  def to_hash
@@ -233,24 +178,6 @@ module TrinsicApi
233
178
  hash
234
179
  end
235
180
 
236
- # Outputs non-array value in the form of hash
237
- # For object, use to_hash. Otherwise, just return the value
238
- # @param [Object] value Any valid value
239
- # @return [Hash] Returns the value in the form of hash
240
- def _to_hash(value)
241
- if value.is_a?(Array)
242
- value.compact.map { |v| _to_hash(v) }
243
- elsif value.is_a?(Hash)
244
- {}.tap do |hash|
245
- value.each { |k, v| hash[k] = _to_hash(v) }
246
- end
247
- elsif value.respond_to? :to_hash
248
- value.to_hash
249
- else
250
- value
251
- end
252
- end
253
-
254
181
  end
255
182
 
256
183
  end
@@ -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
 
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module TrinsicApi
17
17
  # Exposed properties for the `mexico-curp-lookup` Provider which do not directly map to the normalized IdentityData model.
18
- class MexicoCurpProviderOutput
18
+ class MexicoCurpProviderOutput < ApiModelBase
19
19
  # Curp status for the subject. Possible values: - AN: Alta Normal (Normal registration) - Active - AH: Alta con Homonimia (Registration with homonymy) - Active - RCC: Registro de cambio afectando a CURP (Change affecting CURP) - Active - RCN: Registro de cambio no afectando a CURP (Change not affecting CURP) - Active - BAP: Baja por documento apócrifo (Low due to apocryphal document) - Inactive - BSU: Baja sin uso (Low curp without use) - Inactive - BD: Baja por defunción (Low curp due to death) - Inactive - BDM: Baja administrativa (Low, due to administrative process) - Inactive - BDP: Baja por adopción (Low, due to adoption) - Inactive - BJD: Baja Judicial (Low for judicial reasons) - Inactive
20
20
  attr_accessor :curp_status
21
21
 
@@ -129,61 +129,6 @@ module TrinsicApi
129
129
  new(transformed_hash)
130
130
  end
131
131
 
132
- # Deserializes the data based on type
133
- # @param string type Data type
134
- # @param string value Value to be deserialized
135
- # @return [Object] Deserialized data
136
- def self._deserialize(type, value)
137
- case type.to_sym
138
- when :Time
139
- Time.parse(value)
140
- when :Date
141
- Date.parse(value)
142
- when :String
143
- value.to_s
144
- when :Integer
145
- value.to_i
146
- when :Float
147
- value.to_f
148
- when :Boolean
149
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
150
- true
151
- else
152
- false
153
- end
154
- when :Object
155
- # generic object (usually a Hash), return directly
156
- value
157
- when /\AArray<(?<inner_type>.+)>\z/
158
- inner_type = Regexp.last_match[:inner_type]
159
- value.map { |v| _deserialize(inner_type, v) }
160
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
161
- k_type = Regexp.last_match[:k_type]
162
- v_type = Regexp.last_match[:v_type]
163
- {}.tap do |hash|
164
- value.each do |k, v|
165
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
166
- end
167
- end
168
- else # model
169
- # models (e.g. Pet) or oneOf
170
- klass = TrinsicApi.const_get(type)
171
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
172
- end
173
- end
174
-
175
- # Returns the string representation of the object
176
- # @return [String] String presentation of the object
177
- def to_s
178
- to_hash.to_s
179
- end
180
-
181
- # to_body is an alias to to_hash (backward compatibility)
182
- # @return [Hash] Returns the object in the form of hash
183
- def to_body
184
- to_hash
185
- end
186
-
187
132
  # Returns the object in the form of hash
188
133
  # @return [Hash] Returns the object in the form of hash
189
134
  def to_hash
@@ -200,24 +145,6 @@ module TrinsicApi
200
145
  hash
201
146
  end
202
147
 
203
- # Outputs non-array value in the form of hash
204
- # For object, use to_hash. Otherwise, just return the value
205
- # @param [Object] value Any valid value
206
- # @return [Hash] Returns the value in the form of hash
207
- def _to_hash(value)
208
- if value.is_a?(Array)
209
- value.compact.map { |v| _to_hash(v) }
210
- elsif value.is_a?(Hash)
211
- {}.tap do |hash|
212
- value.each { |k, v| hash[k] = _to_hash(v) }
213
- end
214
- elsif value.respond_to? :to_hash
215
- value.to_hash
216
- else
217
- value
218
- end
219
- end
220
-
221
148
  end
222
149
 
223
150
  end
@@ -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
 
@@ -15,26 +15,26 @@ require 'time'
15
15
 
16
16
  module TrinsicApi
17
17
  # Exposed properties for the `denmark-mitid` Provider which do not directly map to the normalized IdentityData model.
18
- class MitIdProviderOutput
18
+ class MitIdProviderOutput < ApiModelBase
19
19
  # The full name of the individual.
20
20
  attr_accessor :full_name
21
21
 
22
22
  # The date of birth of the individual.
23
23
  attr_accessor :date_of_birth
24
24
 
25
- # A stable unique identifier representing the user in MitID's system. It is recommended to use this identifier instead of using the civil registration number (CPR number) directly.
25
+ # A stable unique identifier representing the individual in MitID's system. It is recommended to use this identifier instead of using the civil registration number (CPR number) directly.
26
26
  attr_accessor :unique_identifier
27
27
 
28
28
  # The authentication assurance level (AAL) for the verification. The National Institute of Standards and Technology (NIST) measures the confidence in a digital identity's authentication strength set by a set of requirements for different levels. More information can be found here: https://pages.nist.gov/800-63-4/sp800-63b/aal/#AAL_SEC4 Possible values: - https://data.gov.dk/concept/core/nsis/Low - (Level 1) Provides basic confidence that the authenticator is either single factor or multifactor authentication. - https://data.gov.dk/concept/core/nsis/Substantial - (Level 2) Provides high confidence that the authenticator uses two distinct authentication factors that use secure authentication protocols. - https://data.gov.dk/concept/core/nsis/High - (Level 3) Provides very high confidence that the authenticator uses an non-exportable private key and another authentication factor. **Note**: These urls are not valid anymore, but they still contain the level of assurance name.
29
29
  attr_accessor :authentication_assurance_level
30
30
 
31
- # The identity assurance level (IAL) for the verification. The National Institute of Standards and Technology (NIST) measures the confidence of the digital identity's verification set by a set of requirements for different levels. More information can be found here: https://pages.nist.gov/800-63-4/sp800-63b/aal/#AAL_SEC4 Possible values: - https://data.gov.dk/concept/core/nsis/Low - (Level 1) The user has self asserted their identity and is neither verified nor validated. - https://data.gov.dk/concept/core/nsis/Substantial - (Level 2) The user has performed either a remote or in-person identity proofing. - https://data.gov.dk/concept/core/nsis/High - (Level 3) The user has performed an in person identity proofing with an authorized representative. **Note**: These urls are not valid anymore, but they still contain the level of assurance name.
31
+ # The identity assurance level (IAL) for the verification. The National Institute of Standards and Technology (NIST) measures the confidence of the digital identity's verification set by a set of requirements for different levels. More information can be found here: https://pages.nist.gov/800-63-4/sp800-63b/aal/#AAL_SEC4 Possible values: - https://data.gov.dk/concept/core/nsis/Low - (Level 1) The individual has self asserted their identity and is neither verified nor validated. - https://data.gov.dk/concept/core/nsis/Substantial - (Level 2) The individual has performed either a remote or in-person identity proofing. - https://data.gov.dk/concept/core/nsis/High - (Level 3) The individual has performed an in person identity proofing with an authorized representative. **Note**: These urls are not valid anymore, but they still contain the level of assurance name.
32
32
  attr_accessor :identity_authentication_level
33
33
 
34
- # The level of assurance (LOA) for the verification. This is an older retired model that is a combination of Identity Assurance Level and Authentication Assurance Level. The National Institute of Standards and Technology (NIST) measures the confidence of the digital identity's verification and authentication strength by a set of requirements for different levels. Possible values: - https://data.gov.dk/concept/core/nsis/Low - (Level 1) The user has self asserted their identity and multifactor authentication is not required. - https://data.gov.dk/concept/core/nsis/Substantial - (Level 3) The user has performed either a remote or in-person identity proofing and multifactor authentication is required. - https://data.gov.dk/concept/core/nsis/High - (Level 4) The user has performed an in person identity proofing with an authorized representative and has strong cryptographic authentication requirements. **Note**: These urls are not valid anymore, but they still contain the level of assurance name. MitID only returns three of the four potential levels and does not include level 2. More information can be found here: - https://pages.nist.gov/800-63-3/sp800-63-3.html - https://pages.nist.gov/800-63-3/
34
+ # The level of assurance (LOA) for the verification. This is an older retired model that is a combination of Identity Assurance Level and Authentication Assurance Level. The National Institute of Standards and Technology (NIST) measures the confidence of the digital identity's verification and authentication strength by a set of requirements for different levels. Possible values: - https://data.gov.dk/concept/core/nsis/Low - (Level 1) The individual has self asserted their identity and multifactor authentication is not required. - https://data.gov.dk/concept/core/nsis/Substantial - (Level 3) The individual has performed either a remote or in-person identity proofing and multifactor authentication is required. - https://data.gov.dk/concept/core/nsis/High - (Level 4) The individual has performed an in person identity proofing with an authorized representative and has strong cryptographic authentication requirements. **Note**: These urls are not valid anymore, but they still contain the level of assurance name. MitID only returns three of the four potential levels and does not include level 2. More information can be found here: - https://pages.nist.gov/800-63-3/sp800-63-3.html - https://pages.nist.gov/800-63-3/
35
35
  attr_accessor :level_of_assurance
36
36
 
37
- # The source of the identification for the verification Possible values: - private - The verification is from a private individual. - professional - The verification is a user in behalf of a organization.
37
+ # The source of the identification for the verification Possible values: - private - The verification is from a private individual. - professional - The verification is an individual on behalf of an organization.
38
38
  attr_accessor :identification_source
39
39
 
40
40
  # The civil registration number (CPR number) of the individual for the verification. The CPR number is a 10-digit number in the format DDMMYYY-XXXX, where: - DDMMYYY represents the individual's date of birth (day, month, year). - XXXX is a unique identifier. If XXXX is even, the individual is female. If XXXX is odd, the individual is male. More information can be found here: https://international.kk.dk/live/cpr-registration-and-documents/cpr-number
@@ -46,7 +46,7 @@ module TrinsicApi
46
46
  # The organization number (CVR number). This is an 8-digit unique identifier for the organization. This will be prefixed with \"DK\" for VAT numbers.
47
47
  attr_accessor :organization_number
48
48
 
49
- # The organization number (CVR number) of the organization the user is authorized to represent. This is only returned if the requested scope is for an organization verification and the user provides a private source in behalf of a company.
49
+ # The organization number (CVR number) of the organization the individual is authorized to represent. This is only returned if the requested scope is for an organization verification and the individual provides a private source on behalf of a company.
50
50
  attr_accessor :authorized_representative_number
51
51
 
52
52
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -239,61 +239,6 @@ module TrinsicApi
239
239
  new(transformed_hash)
240
240
  end
241
241
 
242
- # Deserializes the data based on type
243
- # @param string type Data type
244
- # @param string value Value to be deserialized
245
- # @return [Object] Deserialized data
246
- def self._deserialize(type, value)
247
- case type.to_sym
248
- when :Time
249
- Time.parse(value)
250
- when :Date
251
- Date.parse(value)
252
- when :String
253
- value.to_s
254
- when :Integer
255
- value.to_i
256
- when :Float
257
- value.to_f
258
- when :Boolean
259
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
260
- true
261
- else
262
- false
263
- end
264
- when :Object
265
- # generic object (usually a Hash), return directly
266
- value
267
- when /\AArray<(?<inner_type>.+)>\z/
268
- inner_type = Regexp.last_match[:inner_type]
269
- value.map { |v| _deserialize(inner_type, v) }
270
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
271
- k_type = Regexp.last_match[:k_type]
272
- v_type = Regexp.last_match[:v_type]
273
- {}.tap do |hash|
274
- value.each do |k, v|
275
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
276
- end
277
- end
278
- else # model
279
- # models (e.g. Pet) or oneOf
280
- klass = TrinsicApi.const_get(type)
281
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
282
- end
283
- end
284
-
285
- # Returns the string representation of the object
286
- # @return [String] String presentation of the object
287
- def to_s
288
- to_hash.to_s
289
- end
290
-
291
- # to_body is an alias to to_hash (backward compatibility)
292
- # @return [Hash] Returns the object in the form of hash
293
- def to_body
294
- to_hash
295
- end
296
-
297
242
  # Returns the object in the form of hash
298
243
  # @return [Hash] Returns the object in the form of hash
299
244
  def to_hash
@@ -310,24 +255,6 @@ module TrinsicApi
310
255
  hash
311
256
  end
312
257
 
313
- # Outputs non-array value in the form of hash
314
- # For object, use to_hash. Otherwise, just return the value
315
- # @param [Object] value Any valid value
316
- # @return [Hash] Returns the value in the form of hash
317
- def _to_hash(value)
318
- if value.is_a?(Array)
319
- value.compact.map { |v| _to_hash(v) }
320
- elsif value.is_a?(Hash)
321
- {}.tap do |hash|
322
- value.each { |k, v| hash[k] = _to_hash(v) }
323
- end
324
- elsif value.respond_to? :to_hash
325
- value.to_hash
326
- else
327
- value
328
- end
329
- end
330
-
331
258
  end
332
259
 
333
260
  end
@@ -0,0 +1,41 @@
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 MobileCarrier
18
+ LGU = "Lgu".freeze
19
+ SKT = "Skt".freeze
20
+ KT = "Kt".freeze
21
+
22
+ def self.all_vars
23
+ @all_vars ||= [LGU, SKT, KT].freeze
24
+ end
25
+
26
+ # Builds the enum from string
27
+ # @param [String] The enum value in the form of the string
28
+ # @return [String] The enum value
29
+ def self.build_from_hash(value)
30
+ new.build_from_hash(value)
31
+ end
32
+
33
+ # Builds the enum from string
34
+ # @param [String] The enum value in the form of the string
35
+ # @return [String] The enum value
36
+ def build_from_hash(value)
37
+ return value if MobileCarrier.all_vars.include?(value)
38
+ raise "Invalid ENUM value #{value} for class #MobileCarrier"
39
+ end
40
+ end
41
+ end
@@ -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
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module TrinsicApi
17
- class MobileIdInput
17
+ class MobileIdInput < ApiModelBase
18
18
  # The user's phone number in E.164 format
19
19
  attr_accessor :mobile_id_phone_number
20
20
 
@@ -172,61 +172,6 @@ module TrinsicApi
172
172
  new(transformed_hash)
173
173
  end
174
174
 
175
- # Deserializes the data based on type
176
- # @param string type Data type
177
- # @param string value Value to be deserialized
178
- # @return [Object] Deserialized data
179
- def self._deserialize(type, value)
180
- case type.to_sym
181
- when :Time
182
- Time.parse(value)
183
- when :Date
184
- Date.parse(value)
185
- when :String
186
- value.to_s
187
- when :Integer
188
- value.to_i
189
- when :Float
190
- value.to_f
191
- when :Boolean
192
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
193
- true
194
- else
195
- false
196
- end
197
- when :Object
198
- # generic object (usually a Hash), return directly
199
- value
200
- when /\AArray<(?<inner_type>.+)>\z/
201
- inner_type = Regexp.last_match[:inner_type]
202
- value.map { |v| _deserialize(inner_type, v) }
203
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
204
- k_type = Regexp.last_match[:k_type]
205
- v_type = Regexp.last_match[:v_type]
206
- {}.tap do |hash|
207
- value.each do |k, v|
208
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
209
- end
210
- end
211
- else # model
212
- # models (e.g. Pet) or oneOf
213
- klass = TrinsicApi.const_get(type)
214
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
215
- end
216
- end
217
-
218
- # Returns the string representation of the object
219
- # @return [String] String presentation of the object
220
- def to_s
221
- to_hash.to_s
222
- end
223
-
224
- # to_body is an alias to to_hash (backward compatibility)
225
- # @return [Hash] Returns the object in the form of hash
226
- def to_body
227
- to_hash
228
- end
229
-
230
175
  # Returns the object in the form of hash
231
176
  # @return [Hash] Returns the object in the form of hash
232
177
  def to_hash
@@ -243,24 +188,6 @@ module TrinsicApi
243
188
  hash
244
189
  end
245
190
 
246
- # Outputs non-array value in the form of hash
247
- # For object, use to_hash. Otherwise, just return the value
248
- # @param [Object] value Any valid value
249
- # @return [Hash] Returns the value in the form of hash
250
- def _to_hash(value)
251
- if value.is_a?(Array)
252
- value.compact.map { |v| _to_hash(v) }
253
- elsif value.is_a?(Hash)
254
- {}.tap do |hash|
255
- value.each { |k, v| hash[k] = _to_hash(v) }
256
- end
257
- elsif value.respond_to? :to_hash
258
- value.to_hash
259
- else
260
- value
261
- end
262
- end
263
-
264
191
  end
265
192
 
266
193
  end
@@ -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