trinsic_api 3.0.1 → 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 (525) 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 +24 -0
  5. data/docs/AadhaarLanguage.md +20 -0
  6. data/docs/AadhaarLocalizedClaims.md +22 -0
  7. data/docs/AppleWalletInput.md +3 -1
  8. data/docs/AudkenniProviderOutput.md +24 -0
  9. data/docs/BoliviaCiLookupInput.md +20 -0
  10. data/docs/BoliviaCiProviderOutput.md +26 -0
  11. data/docs/BrazilCpfCheckInput.md +5 -1
  12. data/docs/ChinaResidentIdMatchInput.md +24 -0
  13. data/docs/ChinaResidentIdMatchOutput.md +22 -0
  14. data/docs/ColombiaCcLookupInput.md +20 -0
  15. data/docs/ColombiaCcProviderOutput.md +36 -0
  16. data/docs/ColombiaExpeditionPlace.md +20 -0
  17. data/docs/ConnectIdAddress.md +26 -0
  18. data/docs/ConnectIdAgeVerification.md +20 -0
  19. data/docs/ConnectIdProviderOutput.md +36 -0
  20. data/docs/CoteDIvoireNidLookup2ProviderOutput.md +34 -0
  21. data/docs/CreateDirectProviderSessionRequest.md +2 -0
  22. data/docs/CreateHostedProviderSessionRequest.md +2 -0
  23. data/docs/CzechMojeIdAddressOutput.md +28 -0
  24. data/docs/CzechMojeIdProviderOutput.md +66 -0
  25. data/docs/CzechiaMojeIdProviderOutput.md +1 -1
  26. data/docs/DigilockerAadhaarProviderOutput.md +30 -0
  27. data/docs/ElSalvadorDuiLookupInput.md +20 -0
  28. data/docs/ElSalvadorDuiProviderOutput.md +22 -0
  29. data/docs/FaydaProviderAddress.md +22 -0
  30. data/docs/FaydaProviderOutput.md +20 -2
  31. data/docs/FinnishTrustNetworkProviderOutput.md +38 -0
  32. data/docs/FranceIdentiteInput.md +18 -0
  33. data/docs/FranceIdentiteProviderOutput.md +18 -0
  34. data/docs/FrejaIndirectProviderOutput.md +24 -0
  35. data/docs/FrejaProviderOutput.md +36 -8
  36. data/docs/FrenchNumeriqueGivenName.md +1 -1
  37. data/docs/FrenchNumeriqueProviderOutput.md +7 -7
  38. data/docs/GetProviderResponse.md +18 -0
  39. data/docs/GoogleWalletInput.md +3 -1
  40. data/docs/GuatemalaCuiLookupInput.md +18 -0
  41. data/docs/GuatemalaCuiProviderOutput.md +36 -0
  42. data/docs/IndiaPanLookupInput.md +18 -0
  43. data/docs/IndiaPanLookupProviderOutput.md +32 -0
  44. data/docs/IndiaPanStructuredNumber.md +28 -0
  45. data/docs/KenyaNidBiometric2Input.md +1 -1
  46. data/docs/KenyaNidLookup2Input.md +1 -1
  47. data/docs/KenyaNidLookup2ProviderOutput.md +1 -1
  48. data/docs/KenyaNidMatch2Input.md +1 -1
  49. data/docs/KoreaTelcoMatchInput.md +28 -0
  50. data/docs/KoreaTelcoMatchProviderOutput.md +22 -0
  51. data/docs/KoreaTelcoMatchSex.md +15 -0
  52. data/docs/LloydsSmartIdProviderOutput.md +2 -2
  53. data/docs/MdlOutput.md +2 -2
  54. data/docs/MitIdProviderOutput.md +5 -5
  55. data/docs/MobileCarrier.md +15 -0
  56. data/docs/MobileOperatingSystem.md +15 -0
  57. data/docs/NetherlandsIdinAddress.md +26 -0
  58. data/docs/NetherlandsIdinProviderOutput.md +36 -0
  59. data/docs/NigeriaNinLookup2ProviderOutput.md +40 -0
  60. data/docs/NorwegianBankIdProviderOutput.md +32 -0
  61. data/docs/OneIdProviderAddress.md +26 -0
  62. data/docs/OneIdProviderOutput.md +28 -0
  63. data/docs/OutputFrejaAddress.md +24 -0
  64. data/docs/OutputFrejaDocument.md +24 -0
  65. data/docs/PanamaCedulaLookupInput.md +20 -0
  66. data/docs/PanamaCedulaProviderOutput.md +32 -0
  67. data/docs/PeruDniProviderOutput.md +1 -1
  68. data/docs/PhilippinesDigitalNidProviderOutput.md +21 -1
  69. data/docs/PhilippinesPhysicalNidProviderOutput.md +17 -1
  70. data/docs/PolandMobywatelMatchInput.md +32 -0
  71. data/docs/PolandMobywatelMatchProviderOutput.md +56 -0
  72. data/docs/PostOfficeEasyIdProviderOutput.md +2 -2
  73. data/docs/Provider.md +2 -0
  74. data/docs/ProviderInput.md +26 -0
  75. data/docs/ProviderOutput.md +54 -2
  76. data/docs/ProviderSupportedLanguage.md +20 -0
  77. data/docs/ProvidersApi.md +70 -0
  78. data/docs/Raw18013DocumentRequest.md +20 -0
  79. data/docs/Raw18013RequestInput.md +18 -0
  80. data/docs/RecommendProviderInformation.md +3 -3
  81. data/docs/RecommendProvidersResponse.md +3 -1
  82. data/docs/SamsungWalletInput.md +18 -0
  83. data/docs/SessionsApi.md +0 -72
  84. data/docs/SignzyIndiaAadhaarFetchProviderOutput.md +40 -0
  85. data/docs/SingpassLoginProviderOutput.md +30 -0
  86. data/docs/SingpassMyInfoDescription.md +20 -0
  87. data/docs/SingpassMyInfoProviderOutput.md +20 -0
  88. data/docs/SingpassMyInfoRegisteredAddressOutput.md +36 -0
  89. data/docs/SingpassPersonalCatalog.md +64 -0
  90. data/docs/SingpassPhoneNumber.md +22 -0
  91. data/docs/SmartIdProviderOutput.md +1 -1
  92. data/docs/SwedenBankIdProviderOutput.md +3 -3
  93. data/docs/UkEvisaLookupInput.md +20 -0
  94. data/docs/UnitedKingdomEvisaProviderOutput.md +38 -0
  95. data/docs/UsaCaliforniaDmvInput.md +18 -0
  96. data/docs/VerificationProfileResponse.md +4 -0
  97. data/docs/VerificationProfilesApi.md +76 -0
  98. data/docs/YotiDeeplinkProviderOutput.md +40 -0
  99. data/docs/YotiProviderOutput.md +2 -2
  100. data/lib/trinsic_api/api/providers_api.rb +64 -1
  101. data/lib/trinsic_api/api/redirect_uris_api.rb +1 -1
  102. data/lib/trinsic_api/api/sessions_api.rb +1 -65
  103. data/lib/trinsic_api/api/verification_profiles_api.rb +80 -4
  104. data/lib/trinsic_api/api_client.rb +7 -3
  105. data/lib/trinsic_api/api_error.rb +1 -1
  106. data/lib/trinsic_api/api_model_base.rb +88 -0
  107. data/lib/trinsic_api/configuration.rb +1 -1
  108. data/lib/trinsic_api/models/aadhaar_address.rb +271 -0
  109. data/lib/trinsic_api/models/aadhaar_claims.rb +182 -0
  110. data/lib/trinsic_api/models/aadhaar_input.rb +2 -75
  111. data/lib/trinsic_api/models/aadhaar_language.rb +177 -0
  112. data/lib/trinsic_api/models/aadhaar_localized_claims.rb +171 -0
  113. data/lib/trinsic_api/models/add_redirect_uri_request.rb +4 -77
  114. data/lib/trinsic_api/models/add_redirect_uri_response.rb +2 -75
  115. data/lib/trinsic_api/models/address.rb +2 -75
  116. data/lib/trinsic_api/models/apple_wallet_input.rb +18 -80
  117. data/lib/trinsic_api/models/apple_wallet_provider_output.rb +2 -75
  118. data/lib/trinsic_api/models/attachment_info.rb +2 -75
  119. data/lib/trinsic_api/models/attribute_availability.rb +1 -1
  120. data/lib/trinsic_api/models/audkenni_provider_output.rb +231 -0
  121. data/lib/trinsic_api/models/austria_handy_signatur_provider_output.rb +2 -75
  122. data/lib/trinsic_api/models/belgium_id_card_provider_output.rb +2 -75
  123. data/lib/trinsic_api/models/bolivia_ci_lookup_input.rb +160 -0
  124. data/lib/trinsic_api/models/bolivia_ci_provider_output.rb +258 -0
  125. data/lib/trinsic_api/models/brazil_cpf_check_input.rb +30 -81
  126. data/lib/trinsic_api/models/brazil_digital_cnh_input.rb +4 -77
  127. data/lib/trinsic_api/models/cancel_session_response.rb +2 -75
  128. data/lib/trinsic_api/models/china_resident_id_match_input.rb +284 -0
  129. data/lib/trinsic_api/models/china_resident_id_match_output.rb +172 -0
  130. data/lib/trinsic_api/models/colombia_cc_lookup_input.rb +160 -0
  131. data/lib/trinsic_api/models/colombia_cc_provider_output.rb +411 -0
  132. data/lib/trinsic_api/models/colombia_expedition_place.rb +161 -0
  133. data/lib/trinsic_api/models/connect_id_address.rb +193 -0
  134. data/lib/trinsic_api/models/connect_id_age_verification.rb +160 -0
  135. data/lib/trinsic_api/models/connect_id_provider_output.rb +249 -0
  136. data/lib/trinsic_api/models/contract_attachment.rb +2 -75
  137. data/lib/trinsic_api/models/contract_attribute.rb +2 -75
  138. data/lib/trinsic_api/models/cote_d_ivoire_nid_lookup2_input.rb +2 -75
  139. data/lib/trinsic_api/models/cote_d_ivoire_nid_lookup2_provider_output.rb +334 -0
  140. data/lib/trinsic_api/models/create_direct_provider_session_request.rb +18 -78
  141. data/lib/trinsic_api/models/create_direct_provider_session_response.rb +2 -75
  142. data/lib/trinsic_api/models/create_hosted_provider_session_request.rb +20 -80
  143. data/lib/trinsic_api/models/create_hosted_provider_session_response.rb +2 -75
  144. data/lib/trinsic_api/models/create_verification_profile_response.rb +2 -75
  145. data/lib/trinsic_api/models/czech_moje_id_address_output.rb +204 -0
  146. data/lib/trinsic_api/models/czech_moje_id_provider_output.rb +414 -0
  147. data/lib/trinsic_api/models/czechia_moje_id_provider_output.rb +3 -76
  148. data/lib/trinsic_api/models/digilocker_aadhaar_provider_output.rb +232 -0
  149. data/lib/trinsic_api/models/document_data.rb +2 -75
  150. data/lib/trinsic_api/models/document_type.rb +1 -1
  151. data/lib/trinsic_api/models/el_salvador_dui_lookup_input.rb +160 -0
  152. data/lib/trinsic_api/models/el_salvador_dui_provider_output.rb +220 -0
  153. data/lib/trinsic_api/models/estonia_id_card_provider_output.rb +2 -75
  154. data/lib/trinsic_api/models/fayda_provider_address.rb +171 -0
  155. data/lib/trinsic_api/models/fayda_provider_output.rb +107 -81
  156. data/lib/trinsic_api/models/finland_id_card_provider_output.rb +2 -75
  157. data/lib/trinsic_api/models/finnish_trust_network_provider_output.rb +260 -0
  158. data/lib/trinsic_api/models/france_identite_input.rb +149 -0
  159. data/lib/trinsic_api/models/france_identite_provider_output.rb +166 -0
  160. data/lib/trinsic_api/models/freja_indirect_provider_output.rb +247 -0
  161. data/lib/trinsic_api/models/freja_provider_output.rb +187 -166
  162. data/lib/trinsic_api/models/french_numerique_given_name.rb +3 -76
  163. data/lib/trinsic_api/models/french_numerique_nationality.rb +2 -75
  164. data/lib/trinsic_api/models/french_numerique_phone.rb +2 -75
  165. data/lib/trinsic_api/models/french_numerique_provider_output.rb +9 -82
  166. data/lib/trinsic_api/models/get_attachment_request.rb +4 -77
  167. data/lib/trinsic_api/models/get_attachment_response.rb +2 -75
  168. data/lib/trinsic_api/models/get_provider_response.rb +165 -0
  169. data/lib/trinsic_api/models/get_session_response.rb +2 -75
  170. data/lib/trinsic_api/models/get_session_result_request.rb +2 -75
  171. data/lib/trinsic_api/models/get_session_result_response.rb +2 -75
  172. data/lib/trinsic_api/models/google_wallet_input.rb +18 -80
  173. data/lib/trinsic_api/models/google_wallet_provider_output.rb +2 -75
  174. data/lib/trinsic_api/models/guatemala_cui_lookup_input.rb +149 -0
  175. data/lib/trinsic_api/models/guatemala_cui_provider_output.rb +395 -0
  176. data/lib/trinsic_api/models/identity_data.rb +2 -75
  177. data/lib/trinsic_api/models/idin_input.rb +2 -75
  178. data/lib/trinsic_api/models/india_pan_lookup_input.rb +174 -0
  179. data/lib/trinsic_api/models/india_pan_lookup_provider_output.rb +227 -0
  180. data/lib/trinsic_api/models/india_pan_structured_number.rb +284 -0
  181. data/lib/trinsic_api/models/indonesia_dukcapil_match_input.rb +2 -75
  182. data/lib/trinsic_api/models/indonesia_nik_input.rb +6 -79
  183. data/lib/trinsic_api/models/integration_capability.rb +1 -1
  184. data/lib/trinsic_api/models/integration_launch_method.rb +1 -1
  185. data/lib/trinsic_api/models/integration_step.rb +3 -76
  186. data/lib/trinsic_api/models/itsme_provider_output.rb +2 -75
  187. data/lib/trinsic_api/models/kenya_nid_biometric2_input.rb +3 -76
  188. data/lib/trinsic_api/models/kenya_nid_input.rb +10 -83
  189. data/lib/trinsic_api/models/kenya_nid_lookup2_address.rb +2 -75
  190. data/lib/trinsic_api/models/kenya_nid_lookup2_input.rb +3 -76
  191. data/lib/trinsic_api/models/kenya_nid_lookup2_provider_output.rb +3 -76
  192. data/lib/trinsic_api/models/kenya_nid_match2_input.rb +3 -76
  193. data/lib/trinsic_api/models/kenya_nid_match2_input_sex.rb +1 -1
  194. data/lib/trinsic_api/models/korea_telco_match_input.rb +340 -0
  195. data/lib/trinsic_api/models/korea_telco_match_provider_output.rb +220 -0
  196. data/lib/trinsic_api/models/korea_telco_match_sex.rb +40 -0
  197. data/lib/trinsic_api/models/la_wallet_provider_output.rb +2 -75
  198. data/lib/trinsic_api/models/latvia_eparaksts_mobile_provider_output.rb +2 -75
  199. data/lib/trinsic_api/models/latvia_eparaksts_provider_output.rb +2 -75
  200. data/lib/trinsic_api/models/list_providers_response.rb +2 -75
  201. data/lib/trinsic_api/models/list_redirect_uris_response.rb +2 -75
  202. data/lib/trinsic_api/models/list_sessions_response.rb +2 -75
  203. data/lib/trinsic_api/models/list_verification_profiles_response.rb +2 -75
  204. data/lib/trinsic_api/models/lithuania_id_card_provider_output.rb +2 -75
  205. data/lib/trinsic_api/models/lloyds_smart_id_provider_output.rb +4 -77
  206. data/lib/trinsic_api/models/match.rb +2 -75
  207. data/lib/trinsic_api/models/match_data.rb +2 -75
  208. data/lib/trinsic_api/models/mdl_exchange_mechanism.rb +1 -1
  209. data/lib/trinsic_api/models/mdl_output.rb +4 -77
  210. data/lib/trinsic_api/models/mdl_output_certificate_data.rb +2 -75
  211. data/lib/trinsic_api/models/mdl_output_field_data.rb +2 -75
  212. data/lib/trinsic_api/models/mdl_output_field_data_type.rb +1 -1
  213. data/lib/trinsic_api/models/mexico_curp_input.rb +4 -77
  214. data/lib/trinsic_api/models/mexico_curp_provider_output.rb +2 -75
  215. data/lib/trinsic_api/models/mit_id_provider_output.rb +7 -80
  216. data/lib/trinsic_api/models/mobile_carrier.rb +41 -0
  217. data/lib/trinsic_api/models/mobile_id_input.rb +2 -75
  218. data/lib/trinsic_api/models/mobile_id_language.rb +1 -1
  219. data/lib/trinsic_api/models/mobile_id_provider_output.rb +2 -75
  220. data/lib/trinsic_api/models/mobile_operating_system.rb +41 -0
  221. data/lib/trinsic_api/models/netherlands_idin_address.rb +273 -0
  222. data/lib/trinsic_api/models/netherlands_idin_provider_output.rb +377 -0
  223. data/lib/trinsic_api/models/nigeria_nin_biometric2_input.rb +2 -75
  224. data/lib/trinsic_api/models/nigeria_nin_input.rb +8 -81
  225. data/lib/trinsic_api/models/nigeria_nin_lookup2_input.rb +2 -75
  226. data/lib/trinsic_api/models/nigeria_nin_lookup2_provider_output.rb +319 -0
  227. data/lib/trinsic_api/models/nigeria_nin_match2_input.rb +2 -75
  228. data/lib/trinsic_api/models/nigeria_nin_match2_input_sex.rb +1 -1
  229. data/lib/trinsic_api/models/norwegian_bank_id_provider_output.rb +227 -0
  230. data/lib/trinsic_api/models/one_id_provider_address.rb +193 -0
  231. data/lib/trinsic_api/models/one_id_provider_output.rb +205 -0
  232. data/lib/trinsic_api/models/order_direction.rb +1 -1
  233. data/lib/trinsic_api/models/output_freja_address.rb +182 -0
  234. data/lib/trinsic_api/models/output_freja_document.rb +182 -0
  235. data/lib/trinsic_api/models/panama_cedula_lookup_input.rb +160 -0
  236. data/lib/trinsic_api/models/panama_cedula_provider_output.rb +307 -0
  237. data/lib/trinsic_api/models/person_data.rb +2 -75
  238. data/lib/trinsic_api/models/peru_dni_address.rb +2 -75
  239. data/lib/trinsic_api/models/peru_dni_lookup_input.rb +2 -75
  240. data/lib/trinsic_api/models/peru_dni_provider_output.rb +3 -76
  241. data/lib/trinsic_api/models/philippine_match_input.rb +2 -75
  242. data/lib/trinsic_api/models/philippine_qr_input.rb +2 -75
  243. data/lib/trinsic_api/models/philippines_digital_nid_provider_output.rb +116 -79
  244. data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +94 -79
  245. data/lib/trinsic_api/models/poland_edo_app_provider_output.rb +2 -75
  246. data/lib/trinsic_api/models/poland_mobywatel_match_input.rb +226 -0
  247. data/lib/trinsic_api/models/poland_mobywatel_match_provider_output.rb +359 -0
  248. data/lib/trinsic_api/models/poland_moje_id_provider_output.rb +2 -75
  249. data/lib/trinsic_api/models/portugal_id_card_provider_output.rb +2 -75
  250. data/lib/trinsic_api/models/post_office_easy_id_provider_output.rb +4 -77
  251. data/lib/trinsic_api/models/problem_details.rb +2 -75
  252. data/lib/trinsic_api/models/provider.rb +16 -76
  253. data/lib/trinsic_api/models/provider_health.rb +1 -1
  254. data/lib/trinsic_api/models/provider_input.rb +146 -76
  255. data/lib/trinsic_api/models/provider_output.rb +294 -81
  256. data/lib/trinsic_api/models/provider_supported_language.rb +176 -0
  257. data/lib/trinsic_api/models/raw18013_document_request.rb +203 -0
  258. data/lib/trinsic_api/models/raw18013_request_input.rb +186 -0
  259. data/lib/trinsic_api/models/recommend_provider_health_option.rb +1 -1
  260. data/lib/trinsic_api/models/recommend_provider_information.rb +2 -75
  261. data/lib/trinsic_api/models/recommend_providers_request.rb +2 -75
  262. data/lib/trinsic_api/models/recommend_providers_response.rb +35 -79
  263. data/lib/trinsic_api/models/recommendation_info.rb +2 -75
  264. data/lib/trinsic_api/models/redirect_uri_response.rb +4 -77
  265. data/lib/trinsic_api/models/refresh_step_content_request.rb +4 -77
  266. data/lib/trinsic_api/models/refresh_step_content_response.rb +2 -75
  267. data/lib/trinsic_api/models/result_collection.rb +2 -75
  268. data/lib/trinsic_api/models/result_collection_method.rb +1 -1
  269. data/lib/trinsic_api/models/samsung_wallet_input.rb +149 -0
  270. data/lib/trinsic_api/models/samsung_wallet_provider_output.rb +2 -75
  271. data/lib/trinsic_api/models/serbia_id_card_provider_output.rb +2 -75
  272. data/lib/trinsic_api/models/session.rb +2 -75
  273. data/lib/trinsic_api/models/session_error_code.rb +1 -1
  274. data/lib/trinsic_api/models/session_ordering.rb +1 -1
  275. data/lib/trinsic_api/models/sex.rb +1 -1
  276. data/lib/trinsic_api/models/signzy_india_aadhaar_fetch_provider_output.rb +305 -0
  277. data/lib/trinsic_api/models/singpass_login_provider_output.rb +216 -0
  278. data/lib/trinsic_api/models/singpass_my_info_description.rb +160 -0
  279. data/lib/trinsic_api/models/singpass_my_info_provider_output.rb +161 -0
  280. data/lib/trinsic_api/models/{http_validation_problem_details.rb → singpass_my_info_registered_address_output.rb} +91 -126
  281. data/lib/trinsic_api/models/singpass_personal_catalog.rb +403 -0
  282. data/lib/trinsic_api/models/singpass_phone_number.rb +172 -0
  283. data/lib/trinsic_api/models/smart_id_input.rb +2 -75
  284. data/lib/trinsic_api/models/smart_id_provider_output.rb +3 -76
  285. data/lib/trinsic_api/models/south_africa_nid_biometric2_input.rb +2 -75
  286. data/lib/trinsic_api/models/south_africa_nid_input.rb +8 -81
  287. data/lib/trinsic_api/models/south_africa_nid_lookup2_input.rb +2 -75
  288. data/lib/trinsic_api/models/south_africa_nid_match2_input.rb +2 -75
  289. data/lib/trinsic_api/models/south_africa_nid_match2_input_sex.rb +1 -1
  290. data/lib/trinsic_api/models/spid_billing_information.rb +2 -75
  291. data/lib/trinsic_api/models/spid_input.rb +2 -75
  292. data/lib/trinsic_api/models/spid_provider_output.rb +2 -75
  293. data/lib/trinsic_api/models/step_refresh_info.rb +2 -75
  294. data/lib/trinsic_api/models/sub_provider_metadata.rb +2 -75
  295. data/lib/trinsic_api/models/submit_native_challenge_response_request.rb +6 -79
  296. data/lib/trinsic_api/models/submit_native_challenge_response_response.rb +2 -75
  297. data/lib/trinsic_api/models/sweden_bank_id_provider_output.rb +5 -78
  298. data/lib/trinsic_api/models/trinsic_test_database_lookup_input.rb +2 -75
  299. data/lib/trinsic_api/models/trinsic_test_sub_providers_input.rb +2 -75
  300. data/lib/trinsic_api/models/uganda_nid_match2_input.rb +2 -75
  301. data/lib/trinsic_api/models/uk_evisa_lookup_input.rb +210 -0
  302. data/lib/trinsic_api/models/united_kingdom_evisa_provider_output.rb +260 -0
  303. data/lib/trinsic_api/models/usa_california_dmv_input.rb +149 -0
  304. data/lib/trinsic_api/models/verification_profile_response.rb +41 -76
  305. data/lib/trinsic_api/models/yoti_deeplink_provider_output.rb +271 -0
  306. data/lib/trinsic_api/models/yoti_document_details.rb +2 -75
  307. data/lib/trinsic_api/models/yoti_provider_output.rb +4 -77
  308. data/lib/trinsic_api/models/yoti_structured_postal_address.rb +2 -75
  309. data/lib/trinsic_api/models/zimbabwe_nid_lookup2_input.rb +2 -75
  310. data/lib/trinsic_api/version.rb +2 -2
  311. data/lib/trinsic_api.rb +66 -4
  312. data/spec/api/providers_api_spec.rb +13 -1
  313. data/spec/api/redirect_uris_api_spec.rb +1 -1
  314. data/spec/api/sessions_api_spec.rb +1 -13
  315. data/spec/api/verification_profiles_api_spec.rb +16 -1
  316. data/spec/models/aadhaar_address_spec.rb +102 -0
  317. data/spec/models/{create_widget_session_request_spec.rb → aadhaar_claims_spec.rb} +11 -11
  318. data/spec/models/aadhaar_input_spec.rb +2 -2
  319. data/spec/models/aadhaar_language_spec.rb +42 -0
  320. data/spec/models/aadhaar_localized_claims_spec.rb +48 -0
  321. data/spec/models/add_redirect_uri_request_spec.rb +2 -2
  322. data/spec/models/add_redirect_uri_response_spec.rb +2 -2
  323. data/spec/models/address_spec.rb +2 -2
  324. data/spec/models/apple_wallet_input_spec.rb +8 -2
  325. data/spec/models/apple_wallet_provider_output_spec.rb +2 -2
  326. data/spec/models/attachment_info_spec.rb +2 -2
  327. data/spec/models/attribute_availability_spec.rb +2 -2
  328. data/spec/models/audkenni_provider_output_spec.rb +54 -0
  329. data/spec/models/austria_handy_signatur_provider_output_spec.rb +2 -2
  330. data/spec/models/belgium_id_card_provider_output_spec.rb +2 -2
  331. data/spec/models/bolivia_ci_lookup_input_spec.rb +42 -0
  332. data/spec/models/bolivia_ci_provider_output_spec.rb +60 -0
  333. data/spec/models/brazil_cpf_check_input_spec.rb +14 -2
  334. data/spec/models/brazil_digital_cnh_input_spec.rb +2 -2
  335. data/spec/models/cancel_session_response_spec.rb +2 -2
  336. data/spec/models/china_resident_id_match_input_spec.rb +54 -0
  337. data/spec/models/china_resident_id_match_output_spec.rb +48 -0
  338. data/spec/models/colombia_cc_lookup_input_spec.rb +42 -0
  339. data/spec/models/colombia_cc_provider_output_spec.rb +90 -0
  340. data/spec/models/colombia_expedition_place_spec.rb +42 -0
  341. data/spec/models/connect_id_address_spec.rb +60 -0
  342. data/spec/models/connect_id_age_verification_spec.rb +42 -0
  343. data/spec/models/connect_id_provider_output_spec.rb +90 -0
  344. data/spec/models/contract_attachment_spec.rb +2 -2
  345. data/spec/models/contract_attribute_spec.rb +2 -2
  346. data/spec/models/cote_d_ivoire_nid_lookup2_input_spec.rb +2 -2
  347. data/spec/models/cote_d_ivoire_nid_lookup2_provider_output_spec.rb +84 -0
  348. data/spec/models/create_direct_provider_session_request_spec.rb +8 -2
  349. data/spec/models/create_direct_provider_session_response_spec.rb +2 -2
  350. data/spec/models/create_hosted_provider_session_request_spec.rb +8 -2
  351. data/spec/models/create_hosted_provider_session_response_spec.rb +2 -2
  352. data/spec/models/create_verification_profile_response_spec.rb +2 -2
  353. data/spec/models/czech_moje_id_address_output_spec.rb +66 -0
  354. data/spec/models/czech_moje_id_provider_output_spec.rb +180 -0
  355. data/spec/models/czechia_moje_id_provider_output_spec.rb +2 -2
  356. data/spec/models/digilocker_aadhaar_provider_output_spec.rb +72 -0
  357. data/spec/models/document_data_spec.rb +2 -2
  358. data/spec/models/document_type_spec.rb +2 -2
  359. data/spec/models/el_salvador_dui_lookup_input_spec.rb +42 -0
  360. data/spec/models/{create_widget_session_response_spec.rb → el_salvador_dui_provider_output_spec.rb} +10 -10
  361. data/spec/models/estonia_id_card_provider_output_spec.rb +2 -2
  362. data/spec/models/fayda_provider_address_spec.rb +48 -0
  363. data/spec/models/fayda_provider_output_spec.rb +56 -2
  364. data/spec/models/finland_id_card_provider_output_spec.rb +2 -2
  365. data/spec/models/finnish_trust_network_provider_output_spec.rb +96 -0
  366. data/spec/models/france_identite_input_spec.rb +36 -0
  367. data/spec/models/france_identite_provider_output_spec.rb +36 -0
  368. data/spec/models/freja_indirect_provider_output_spec.rb +54 -0
  369. data/spec/models/freja_provider_output_spec.rb +90 -6
  370. data/spec/models/french_numerique_given_name_spec.rb +2 -2
  371. data/spec/models/french_numerique_nationality_spec.rb +2 -2
  372. data/spec/models/french_numerique_phone_spec.rb +2 -2
  373. data/spec/models/french_numerique_provider_output_spec.rb +2 -2
  374. data/spec/models/get_attachment_request_spec.rb +2 -2
  375. data/spec/models/get_attachment_response_spec.rb +2 -2
  376. data/spec/models/get_provider_response_spec.rb +36 -0
  377. data/spec/models/get_session_response_spec.rb +2 -2
  378. data/spec/models/get_session_result_request_spec.rb +2 -2
  379. data/spec/models/get_session_result_response_spec.rb +2 -2
  380. data/spec/models/google_wallet_input_spec.rb +8 -2
  381. data/spec/models/google_wallet_provider_output_spec.rb +2 -2
  382. data/spec/models/guatemala_cui_lookup_input_spec.rb +36 -0
  383. data/spec/models/guatemala_cui_provider_output_spec.rb +90 -0
  384. data/spec/models/identity_data_spec.rb +2 -2
  385. data/spec/models/idin_input_spec.rb +2 -2
  386. data/spec/models/india_pan_lookup_input_spec.rb +36 -0
  387. data/spec/models/india_pan_lookup_provider_output_spec.rb +78 -0
  388. data/spec/models/india_pan_structured_number_spec.rb +66 -0
  389. data/spec/models/indonesia_dukcapil_match_input_spec.rb +2 -2
  390. data/spec/models/indonesia_nik_input_spec.rb +2 -2
  391. data/spec/models/integration_capability_spec.rb +2 -2
  392. data/spec/models/integration_launch_method_spec.rb +2 -2
  393. data/spec/models/integration_step_spec.rb +2 -2
  394. data/spec/models/itsme_provider_output_spec.rb +2 -2
  395. data/spec/models/kenya_nid_biometric2_input_spec.rb +2 -2
  396. data/spec/models/kenya_nid_input_spec.rb +2 -2
  397. data/spec/models/kenya_nid_lookup2_address_spec.rb +2 -2
  398. data/spec/models/kenya_nid_lookup2_input_spec.rb +2 -2
  399. data/spec/models/kenya_nid_lookup2_provider_output_spec.rb +2 -2
  400. data/spec/models/kenya_nid_match2_input_sex_spec.rb +2 -2
  401. data/spec/models/kenya_nid_match2_input_spec.rb +2 -2
  402. data/spec/models/{http_validation_problem_details_spec.rb → korea_telco_match_input_spec.rb} +13 -13
  403. data/spec/models/korea_telco_match_provider_output_spec.rb +48 -0
  404. data/spec/models/korea_telco_match_sex_spec.rb +30 -0
  405. data/spec/models/la_wallet_provider_output_spec.rb +2 -2
  406. data/spec/models/latvia_eparaksts_mobile_provider_output_spec.rb +2 -2
  407. data/spec/models/latvia_eparaksts_provider_output_spec.rb +2 -2
  408. data/spec/models/list_providers_response_spec.rb +2 -2
  409. data/spec/models/list_redirect_uris_response_spec.rb +2 -2
  410. data/spec/models/list_sessions_response_spec.rb +2 -2
  411. data/spec/models/list_verification_profiles_response_spec.rb +2 -2
  412. data/spec/models/lithuania_id_card_provider_output_spec.rb +2 -2
  413. data/spec/models/lloyds_smart_id_provider_output_spec.rb +2 -2
  414. data/spec/models/match_data_spec.rb +2 -2
  415. data/spec/models/match_spec.rb +2 -2
  416. data/spec/models/mdl_exchange_mechanism_spec.rb +2 -2
  417. data/spec/models/mdl_output_certificate_data_spec.rb +2 -2
  418. data/spec/models/mdl_output_field_data_spec.rb +2 -2
  419. data/spec/models/mdl_output_field_data_type_spec.rb +2 -2
  420. data/spec/models/mdl_output_spec.rb +2 -2
  421. data/spec/models/mexico_curp_input_spec.rb +2 -2
  422. data/spec/models/mexico_curp_provider_output_spec.rb +2 -2
  423. data/spec/models/mit_id_provider_output_spec.rb +2 -2
  424. data/spec/models/mobile_carrier_spec.rb +30 -0
  425. data/spec/models/mobile_id_input_spec.rb +2 -2
  426. data/spec/models/mobile_id_language_spec.rb +2 -2
  427. data/spec/models/mobile_id_provider_output_spec.rb +2 -2
  428. data/spec/models/mobile_operating_system_spec.rb +30 -0
  429. data/spec/models/netherlands_idin_address_spec.rb +60 -0
  430. data/spec/models/netherlands_idin_provider_output_spec.rb +90 -0
  431. data/spec/models/nigeria_nin_biometric2_input_spec.rb +2 -2
  432. data/spec/models/nigeria_nin_input_spec.rb +2 -2
  433. data/spec/models/nigeria_nin_lookup2_input_spec.rb +2 -2
  434. data/spec/models/nigeria_nin_lookup2_provider_output_spec.rb +102 -0
  435. data/spec/models/nigeria_nin_match2_input_sex_spec.rb +2 -2
  436. data/spec/models/nigeria_nin_match2_input_spec.rb +2 -2
  437. data/spec/models/norwegian_bank_id_provider_output_spec.rb +78 -0
  438. data/spec/models/one_id_provider_address_spec.rb +60 -0
  439. data/spec/models/one_id_provider_output_spec.rb +66 -0
  440. data/spec/models/order_direction_spec.rb +2 -2
  441. data/spec/models/output_freja_address_spec.rb +54 -0
  442. data/spec/models/output_freja_document_spec.rb +54 -0
  443. data/spec/models/panama_cedula_lookup_input_spec.rb +42 -0
  444. data/spec/models/panama_cedula_provider_output_spec.rb +78 -0
  445. data/spec/models/person_data_spec.rb +2 -2
  446. data/spec/models/peru_dni_address_spec.rb +2 -2
  447. data/spec/models/peru_dni_lookup_input_spec.rb +2 -2
  448. data/spec/models/peru_dni_provider_output_spec.rb +2 -2
  449. data/spec/models/philippine_match_input_spec.rb +2 -2
  450. data/spec/models/philippine_qr_input_spec.rb +2 -2
  451. data/spec/models/philippines_digital_nid_provider_output_spec.rb +62 -2
  452. data/spec/models/philippines_physical_nid_provider_output_spec.rb +50 -2
  453. data/spec/models/poland_edo_app_provider_output_spec.rb +2 -2
  454. data/spec/models/poland_mobywatel_match_input_spec.rb +78 -0
  455. data/spec/models/poland_mobywatel_match_provider_output_spec.rb +150 -0
  456. data/spec/models/poland_moje_id_provider_output_spec.rb +2 -2
  457. data/spec/models/portugal_id_card_provider_output_spec.rb +2 -2
  458. data/spec/models/post_office_easy_id_provider_output_spec.rb +2 -2
  459. data/spec/models/problem_details_spec.rb +2 -2
  460. data/spec/models/provider_health_spec.rb +2 -2
  461. data/spec/models/provider_input_spec.rb +80 -2
  462. data/spec/models/provider_output_spec.rb +158 -2
  463. data/spec/models/provider_spec.rb +8 -2
  464. data/spec/models/provider_supported_language_spec.rb +42 -0
  465. data/spec/models/raw18013_document_request_spec.rb +42 -0
  466. data/spec/models/raw18013_request_input_spec.rb +36 -0
  467. data/spec/models/recommend_provider_health_option_spec.rb +2 -2
  468. data/spec/models/recommend_provider_information_spec.rb +2 -2
  469. data/spec/models/recommend_providers_request_spec.rb +2 -2
  470. data/spec/models/recommend_providers_response_spec.rb +8 -2
  471. data/spec/models/recommendation_info_spec.rb +2 -2
  472. data/spec/models/redirect_uri_response_spec.rb +2 -2
  473. data/spec/models/refresh_step_content_request_spec.rb +2 -2
  474. data/spec/models/refresh_step_content_response_spec.rb +2 -2
  475. data/spec/models/result_collection_method_spec.rb +2 -2
  476. data/spec/models/result_collection_spec.rb +2 -2
  477. data/spec/models/samsung_wallet_input_spec.rb +36 -0
  478. data/spec/models/samsung_wallet_provider_output_spec.rb +2 -2
  479. data/spec/models/serbia_id_card_provider_output_spec.rb +2 -2
  480. data/spec/models/session_error_code_spec.rb +2 -2
  481. data/spec/models/session_ordering_spec.rb +2 -2
  482. data/spec/models/session_spec.rb +2 -2
  483. data/spec/models/sex_spec.rb +2 -2
  484. data/spec/models/signzy_india_aadhaar_fetch_provider_output_spec.rb +102 -0
  485. data/spec/models/singpass_login_provider_output_spec.rb +72 -0
  486. data/spec/models/singpass_my_info_description_spec.rb +42 -0
  487. data/spec/models/singpass_my_info_provider_output_spec.rb +42 -0
  488. data/spec/models/singpass_my_info_registered_address_output_spec.rb +90 -0
  489. data/spec/models/singpass_personal_catalog_spec.rb +174 -0
  490. data/spec/models/singpass_phone_number_spec.rb +48 -0
  491. data/spec/models/smart_id_input_spec.rb +2 -2
  492. data/spec/models/smart_id_provider_output_spec.rb +2 -2
  493. data/spec/models/south_africa_nid_biometric2_input_spec.rb +2 -2
  494. data/spec/models/south_africa_nid_input_spec.rb +2 -2
  495. data/spec/models/south_africa_nid_lookup2_input_spec.rb +2 -2
  496. data/spec/models/south_africa_nid_match2_input_sex_spec.rb +2 -2
  497. data/spec/models/south_africa_nid_match2_input_spec.rb +2 -2
  498. data/spec/models/spid_billing_information_spec.rb +2 -2
  499. data/spec/models/spid_input_spec.rb +2 -2
  500. data/spec/models/spid_provider_output_spec.rb +2 -2
  501. data/spec/models/step_refresh_info_spec.rb +2 -2
  502. data/spec/models/sub_provider_metadata_spec.rb +2 -2
  503. data/spec/models/submit_native_challenge_response_request_spec.rb +2 -2
  504. data/spec/models/submit_native_challenge_response_response_spec.rb +2 -2
  505. data/spec/models/sweden_bank_id_provider_output_spec.rb +2 -2
  506. data/spec/models/trinsic_test_database_lookup_input_spec.rb +2 -2
  507. data/spec/models/trinsic_test_sub_providers_input_spec.rb +2 -2
  508. data/spec/models/uganda_nid_match2_input_spec.rb +2 -2
  509. data/spec/models/uk_evisa_lookup_input_spec.rb +42 -0
  510. data/spec/models/united_kingdom_evisa_provider_output_spec.rb +96 -0
  511. data/spec/models/usa_california_dmv_input_spec.rb +36 -0
  512. data/spec/models/verification_profile_response_spec.rb +14 -2
  513. data/spec/models/yoti_deeplink_provider_output_spec.rb +102 -0
  514. data/spec/models/yoti_document_details_spec.rb +2 -2
  515. data/spec/models/yoti_provider_output_spec.rb +2 -2
  516. data/spec/models/yoti_structured_postal_address_spec.rb +2 -2
  517. data/spec/models/zimbabwe_nid_lookup2_input_spec.rb +2 -2
  518. data/spec/spec_helper.rb +1 -1
  519. data/trinsic_api.gemspec +1 -1
  520. metadata +381 -136
  521. data/docs/CreateWidgetSessionRequest.md +0 -24
  522. data/docs/CreateWidgetSessionResponse.md +0 -22
  523. data/docs/HttpValidationProblemDetails.md +0 -28
  524. data/lib/trinsic_api/models/create_widget_session_request.rb +0 -273
  525. 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
 
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module TrinsicApi
17
17
  # Exposed properties for the `smart-id` Provider which do not directly map to the normalized IdentityData model.
18
- class SmartIdProviderOutput
18
+ class SmartIdProviderOutput < ApiModelBase
19
19
  # The given name (first name) of the individual, extracted from the Smart ID authentication certificate's Subject Distinguished Name \"G\" (givenName) attribute.
20
20
  attr_accessor :given_name
21
21
 
@@ -46,7 +46,7 @@ module TrinsicApi
46
46
  # 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.
47
47
  attr_accessor :certificate_level
48
48
 
49
- # 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.
49
+ # 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.
50
50
  attr_accessor :document_number
51
51
 
52
52
  # 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
@@ -261,61 +261,6 @@ module TrinsicApi
261
261
  new(transformed_hash)
262
262
  end
263
263
 
264
- # Deserializes the data based on type
265
- # @param string type Data type
266
- # @param string value Value to be deserialized
267
- # @return [Object] Deserialized data
268
- def self._deserialize(type, value)
269
- case type.to_sym
270
- when :Time
271
- Time.parse(value)
272
- when :Date
273
- Date.parse(value)
274
- when :String
275
- value.to_s
276
- when :Integer
277
- value.to_i
278
- when :Float
279
- value.to_f
280
- when :Boolean
281
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
282
- true
283
- else
284
- false
285
- end
286
- when :Object
287
- # generic object (usually a Hash), return directly
288
- value
289
- when /\AArray<(?<inner_type>.+)>\z/
290
- inner_type = Regexp.last_match[:inner_type]
291
- value.map { |v| _deserialize(inner_type, v) }
292
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
293
- k_type = Regexp.last_match[:k_type]
294
- v_type = Regexp.last_match[:v_type]
295
- {}.tap do |hash|
296
- value.each do |k, v|
297
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
298
- end
299
- end
300
- else # model
301
- # models (e.g. Pet) or oneOf
302
- klass = TrinsicApi.const_get(type)
303
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
304
- end
305
- end
306
-
307
- # Returns the string representation of the object
308
- # @return [String] String presentation of the object
309
- def to_s
310
- to_hash.to_s
311
- end
312
-
313
- # to_body is an alias to to_hash (backward compatibility)
314
- # @return [Hash] Returns the object in the form of hash
315
- def to_body
316
- to_hash
317
- end
318
-
319
264
  # Returns the object in the form of hash
320
265
  # @return [Hash] Returns the object in the form of hash
321
266
  def to_hash
@@ -332,24 +277,6 @@ module TrinsicApi
332
277
  hash
333
278
  end
334
279
 
335
- # Outputs non-array value in the form of hash
336
- # For object, use to_hash. Otherwise, just return the value
337
- # @param [Object] value Any valid value
338
- # @return [Hash] Returns the value in the form of hash
339
- def _to_hash(value)
340
- if value.is_a?(Array)
341
- value.compact.map { |v| _to_hash(v) }
342
- elsif value.is_a?(Hash)
343
- {}.tap do |hash|
344
- value.each { |k, v| hash[k] = _to_hash(v) }
345
- end
346
- elsif value.respond_to? :to_hash
347
- value.to_hash
348
- else
349
- value
350
- end
351
- end
352
-
353
280
  end
354
281
 
355
282
  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 SouthAfricaNidBiometric2Input
17
+ class SouthAfricaNidBiometric2Input < ApiModelBase
18
18
  # The user's South African National ID number
19
19
  attr_accessor :id_number
20
20
 
@@ -152,61 +152,6 @@ module TrinsicApi
152
152
  new(transformed_hash)
153
153
  end
154
154
 
155
- # Deserializes the data based on type
156
- # @param string type Data type
157
- # @param string value Value to be deserialized
158
- # @return [Object] Deserialized data
159
- def self._deserialize(type, value)
160
- case type.to_sym
161
- when :Time
162
- Time.parse(value)
163
- when :Date
164
- Date.parse(value)
165
- when :String
166
- value.to_s
167
- when :Integer
168
- value.to_i
169
- when :Float
170
- value.to_f
171
- when :Boolean
172
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
173
- true
174
- else
175
- false
176
- end
177
- when :Object
178
- # generic object (usually a Hash), return directly
179
- value
180
- when /\AArray<(?<inner_type>.+)>\z/
181
- inner_type = Regexp.last_match[:inner_type]
182
- value.map { |v| _deserialize(inner_type, v) }
183
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
184
- k_type = Regexp.last_match[:k_type]
185
- v_type = Regexp.last_match[:v_type]
186
- {}.tap do |hash|
187
- value.each do |k, v|
188
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
189
- end
190
- end
191
- else # model
192
- # models (e.g. Pet) or oneOf
193
- klass = TrinsicApi.const_get(type)
194
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
195
- end
196
- end
197
-
198
- # Returns the string representation of the object
199
- # @return [String] String presentation of the object
200
- def to_s
201
- to_hash.to_s
202
- end
203
-
204
- # to_body is an alias to to_hash (backward compatibility)
205
- # @return [Hash] Returns the object in the form of hash
206
- def to_body
207
- to_hash
208
- end
209
-
210
155
  # Returns the object in the form of hash
211
156
  # @return [Hash] Returns the object in the form of hash
212
157
  def to_hash
@@ -223,24 +168,6 @@ module TrinsicApi
223
168
  hash
224
169
  end
225
170
 
226
- # Outputs non-array value in the form of hash
227
- # For object, use to_hash. Otherwise, just return the value
228
- # @param [Object] value Any valid value
229
- # @return [Hash] Returns the value in the form of hash
230
- def _to_hash(value)
231
- if value.is_a?(Array)
232
- value.compact.map { |v| _to_hash(v) }
233
- elsif value.is_a?(Hash)
234
- {}.tap do |hash|
235
- value.each { |k, v| hash[k] = _to_hash(v) }
236
- end
237
- elsif value.respond_to? :to_hash
238
- value.to_hash
239
- else
240
- value
241
- end
242
- end
243
-
244
171
  end
245
172
 
246
173
  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 SouthAfricaNidInput
17
+ class SouthAfricaNidInput < ApiModelBase
18
18
  # The user's full name as it appears in their National ID
19
19
  attr_accessor :full_name
20
20
 
@@ -114,7 +114,7 @@ module TrinsicApi
114
114
  end
115
115
 
116
116
  if @full_name.to_s.length < 1
117
- invalid_properties.push('invalid value for "full_name", the character length must be great than or equal to 1.')
117
+ invalid_properties.push('invalid value for "full_name", the character length must be greater than or equal to 1.')
118
118
  end
119
119
 
120
120
  if @date_of_birth.nil?
@@ -126,7 +126,7 @@ module TrinsicApi
126
126
  end
127
127
 
128
128
  if @gender.to_s.length < 1
129
- invalid_properties.push('invalid value for "gender", the character length must be great than or equal to 1.')
129
+ invalid_properties.push('invalid value for "gender", the character length must be greater than or equal to 1.')
130
130
  end
131
131
 
132
132
  if @national_id_number.nil?
@@ -138,7 +138,7 @@ module TrinsicApi
138
138
  end
139
139
 
140
140
  if @national_id_number.to_s.length < 13
141
- invalid_properties.push('invalid value for "national_id_number", the character length must be great than or equal to 13.')
141
+ invalid_properties.push('invalid value for "national_id_number", the character length must be greater than or equal to 13.')
142
142
  end
143
143
 
144
144
  pattern = Regexp.new(/^\d*$/)
@@ -173,7 +173,7 @@ module TrinsicApi
173
173
  end
174
174
 
175
175
  if full_name.to_s.length < 1
176
- fail ArgumentError, 'invalid value for "full_name", the character length must be great than or equal to 1.'
176
+ fail ArgumentError, 'invalid value for "full_name", the character length must be greater than or equal to 1.'
177
177
  end
178
178
 
179
179
  @full_name = full_name
@@ -197,7 +197,7 @@ module TrinsicApi
197
197
  end
198
198
 
199
199
  if gender.to_s.length < 1
200
- fail ArgumentError, 'invalid value for "gender", the character length must be great than or equal to 1.'
200
+ fail ArgumentError, 'invalid value for "gender", the character length must be greater than or equal to 1.'
201
201
  end
202
202
 
203
203
  @gender = gender
@@ -215,7 +215,7 @@ module TrinsicApi
215
215
  end
216
216
 
217
217
  if national_id_number.to_s.length < 13
218
- fail ArgumentError, 'invalid value for "national_id_number", the character length must be great than or equal to 13.'
218
+ fail ArgumentError, 'invalid value for "national_id_number", the character length must be greater than or equal to 13.'
219
219
  end
220
220
 
221
221
  pattern = Regexp.new(/^\d*$/)
@@ -272,61 +272,6 @@ module TrinsicApi
272
272
  new(transformed_hash)
273
273
  end
274
274
 
275
- # Deserializes the data based on type
276
- # @param string type Data type
277
- # @param string value Value to be deserialized
278
- # @return [Object] Deserialized data
279
- def self._deserialize(type, value)
280
- case type.to_sym
281
- when :Time
282
- Time.parse(value)
283
- when :Date
284
- Date.parse(value)
285
- when :String
286
- value.to_s
287
- when :Integer
288
- value.to_i
289
- when :Float
290
- value.to_f
291
- when :Boolean
292
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
293
- true
294
- else
295
- false
296
- end
297
- when :Object
298
- # generic object (usually a Hash), return directly
299
- value
300
- when /\AArray<(?<inner_type>.+)>\z/
301
- inner_type = Regexp.last_match[:inner_type]
302
- value.map { |v| _deserialize(inner_type, v) }
303
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
304
- k_type = Regexp.last_match[:k_type]
305
- v_type = Regexp.last_match[:v_type]
306
- {}.tap do |hash|
307
- value.each do |k, v|
308
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
309
- end
310
- end
311
- else # model
312
- # models (e.g. Pet) or oneOf
313
- klass = TrinsicApi.const_get(type)
314
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
315
- end
316
- end
317
-
318
- # Returns the string representation of the object
319
- # @return [String] String presentation of the object
320
- def to_s
321
- to_hash.to_s
322
- end
323
-
324
- # to_body is an alias to to_hash (backward compatibility)
325
- # @return [Hash] Returns the object in the form of hash
326
- def to_body
327
- to_hash
328
- end
329
-
330
275
  # Returns the object in the form of hash
331
276
  # @return [Hash] Returns the object in the form of hash
332
277
  def to_hash
@@ -343,24 +288,6 @@ module TrinsicApi
343
288
  hash
344
289
  end
345
290
 
346
- # Outputs non-array value in the form of hash
347
- # For object, use to_hash. Otherwise, just return the value
348
- # @param [Object] value Any valid value
349
- # @return [Hash] Returns the value in the form of hash
350
- def _to_hash(value)
351
- if value.is_a?(Array)
352
- value.compact.map { |v| _to_hash(v) }
353
- elsif value.is_a?(Hash)
354
- {}.tap do |hash|
355
- value.each { |k, v| hash[k] = _to_hash(v) }
356
- end
357
- elsif value.respond_to? :to_hash
358
- value.to_hash
359
- else
360
- value
361
- end
362
- end
363
-
364
291
  end
365
292
 
366
293
  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 SouthAfricaNidLookup2Input
17
+ class SouthAfricaNidLookup2Input < ApiModelBase
18
18
  # The user's National ID number
19
19
  attr_accessor :id_number
20
20
 
@@ -128,61 +128,6 @@ module TrinsicApi
128
128
  new(transformed_hash)
129
129
  end
130
130
 
131
- # Deserializes the data based on type
132
- # @param string type Data type
133
- # @param string value Value to be deserialized
134
- # @return [Object] Deserialized data
135
- def self._deserialize(type, value)
136
- case type.to_sym
137
- when :Time
138
- Time.parse(value)
139
- when :Date
140
- Date.parse(value)
141
- when :String
142
- value.to_s
143
- when :Integer
144
- value.to_i
145
- when :Float
146
- value.to_f
147
- when :Boolean
148
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
149
- true
150
- else
151
- false
152
- end
153
- when :Object
154
- # generic object (usually a Hash), return directly
155
- value
156
- when /\AArray<(?<inner_type>.+)>\z/
157
- inner_type = Regexp.last_match[:inner_type]
158
- value.map { |v| _deserialize(inner_type, v) }
159
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
160
- k_type = Regexp.last_match[:k_type]
161
- v_type = Regexp.last_match[:v_type]
162
- {}.tap do |hash|
163
- value.each do |k, v|
164
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
165
- end
166
- end
167
- else # model
168
- # models (e.g. Pet) or oneOf
169
- klass = TrinsicApi.const_get(type)
170
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
171
- end
172
- end
173
-
174
- # Returns the string representation of the object
175
- # @return [String] String presentation of the object
176
- def to_s
177
- to_hash.to_s
178
- end
179
-
180
- # to_body is an alias to to_hash (backward compatibility)
181
- # @return [Hash] Returns the object in the form of hash
182
- def to_body
183
- to_hash
184
- end
185
-
186
131
  # Returns the object in the form of hash
187
132
  # @return [Hash] Returns the object in the form of hash
188
133
  def to_hash
@@ -199,24 +144,6 @@ module TrinsicApi
199
144
  hash
200
145
  end
201
146
 
202
- # Outputs non-array value in the form of hash
203
- # For object, use to_hash. Otherwise, just return the value
204
- # @param [Object] value Any valid value
205
- # @return [Hash] Returns the value in the form of hash
206
- def _to_hash(value)
207
- if value.is_a?(Array)
208
- value.compact.map { |v| _to_hash(v) }
209
- elsif value.is_a?(Hash)
210
- {}.tap do |hash|
211
- value.each { |k, v| hash[k] = _to_hash(v) }
212
- end
213
- elsif value.respond_to? :to_hash
214
- value.to_hash
215
- else
216
- value
217
- end
218
- end
219
-
220
147
  end
221
148
 
222
149
  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 SouthAfricaNidMatch2Input
17
+ class SouthAfricaNidMatch2Input < ApiModelBase
18
18
  # The user's South African National ID number
19
19
  attr_accessor :id_number
20
20
 
@@ -216,61 +216,6 @@ module TrinsicApi
216
216
  new(transformed_hash)
217
217
  end
218
218
 
219
- # Deserializes the data based on type
220
- # @param string type Data type
221
- # @param string value Value to be deserialized
222
- # @return [Object] Deserialized data
223
- def self._deserialize(type, value)
224
- case type.to_sym
225
- when :Time
226
- Time.parse(value)
227
- when :Date
228
- Date.parse(value)
229
- when :String
230
- value.to_s
231
- when :Integer
232
- value.to_i
233
- when :Float
234
- value.to_f
235
- when :Boolean
236
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
237
- true
238
- else
239
- false
240
- end
241
- when :Object
242
- # generic object (usually a Hash), return directly
243
- value
244
- when /\AArray<(?<inner_type>.+)>\z/
245
- inner_type = Regexp.last_match[:inner_type]
246
- value.map { |v| _deserialize(inner_type, v) }
247
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
248
- k_type = Regexp.last_match[:k_type]
249
- v_type = Regexp.last_match[:v_type]
250
- {}.tap do |hash|
251
- value.each do |k, v|
252
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
253
- end
254
- end
255
- else # model
256
- # models (e.g. Pet) or oneOf
257
- klass = TrinsicApi.const_get(type)
258
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
259
- end
260
- end
261
-
262
- # Returns the string representation of the object
263
- # @return [String] String presentation of the object
264
- def to_s
265
- to_hash.to_s
266
- end
267
-
268
- # to_body is an alias to to_hash (backward compatibility)
269
- # @return [Hash] Returns the object in the form of hash
270
- def to_body
271
- to_hash
272
- end
273
-
274
219
  # Returns the object in the form of hash
275
220
  # @return [Hash] Returns the object in the form of hash
276
221
  def to_hash
@@ -287,24 +232,6 @@ module TrinsicApi
287
232
  hash
288
233
  end
289
234
 
290
- # Outputs non-array value in the form of hash
291
- # For object, use to_hash. Otherwise, just return the value
292
- # @param [Object] value Any valid value
293
- # @return [Hash] Returns the value in the form of hash
294
- def _to_hash(value)
295
- if value.is_a?(Array)
296
- value.compact.map { |v| _to_hash(v) }
297
- elsif value.is_a?(Hash)
298
- {}.tap do |hash|
299
- value.each { |k, v| hash[k] = _to_hash(v) }
300
- end
301
- elsif value.respond_to? :to_hash
302
- value.to_hash
303
- else
304
- value
305
- end
306
- end
307
-
308
235
  end
309
236
 
310
237
  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
 
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module TrinsicApi
17
17
  # Billing information for a SPID Verification.
18
- class SpidBillingInformation
18
+ class SpidBillingInformation < ApiModelBase
19
19
  # Whether this SPID verification has resulted in a billable event.
20
20
  attr_accessor :is_billable
21
21
 
@@ -199,61 +199,6 @@ module TrinsicApi
199
199
  new(transformed_hash)
200
200
  end
201
201
 
202
- # Deserializes the data based on type
203
- # @param string type Data type
204
- # @param string value Value to be deserialized
205
- # @return [Object] Deserialized data
206
- def self._deserialize(type, value)
207
- case type.to_sym
208
- when :Time
209
- Time.parse(value)
210
- when :Date
211
- Date.parse(value)
212
- when :String
213
- value.to_s
214
- when :Integer
215
- value.to_i
216
- when :Float
217
- value.to_f
218
- when :Boolean
219
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
220
- true
221
- else
222
- false
223
- end
224
- when :Object
225
- # generic object (usually a Hash), return directly
226
- value
227
- when /\AArray<(?<inner_type>.+)>\z/
228
- inner_type = Regexp.last_match[:inner_type]
229
- value.map { |v| _deserialize(inner_type, v) }
230
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
231
- k_type = Regexp.last_match[:k_type]
232
- v_type = Regexp.last_match[:v_type]
233
- {}.tap do |hash|
234
- value.each do |k, v|
235
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
236
- end
237
- end
238
- else # model
239
- # models (e.g. Pet) or oneOf
240
- klass = TrinsicApi.const_get(type)
241
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
242
- end
243
- end
244
-
245
- # Returns the string representation of the object
246
- # @return [String] String presentation of the object
247
- def to_s
248
- to_hash.to_s
249
- end
250
-
251
- # to_body is an alias to to_hash (backward compatibility)
252
- # @return [Hash] Returns the object in the form of hash
253
- def to_body
254
- to_hash
255
- end
256
-
257
202
  # Returns the object in the form of hash
258
203
  # @return [Hash] Returns the object in the form of hash
259
204
  def to_hash
@@ -270,24 +215,6 @@ module TrinsicApi
270
215
  hash
271
216
  end
272
217
 
273
- # Outputs non-array value in the form of hash
274
- # For object, use to_hash. Otherwise, just return the value
275
- # @param [Object] value Any valid value
276
- # @return [Hash] Returns the value in the form of hash
277
- def _to_hash(value)
278
- if value.is_a?(Array)
279
- value.compact.map { |v| _to_hash(v) }
280
- elsif value.is_a?(Hash)
281
- {}.tap do |hash|
282
- value.each { |k, v| hash[k] = _to_hash(v) }
283
- end
284
- elsif value.respond_to? :to_hash
285
- value.to_hash
286
- else
287
- value
288
- end
289
- end
290
-
291
218
  end
292
219
 
293
220
  end