trinsic_api 2.3.0.pre.alpha2 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (278) hide show
  1. checksums.yaml +4 -4
  2. data/docs/{EnvironmentRedirectUrisAddRequest.md → AddRedirectUriRequest.md} +2 -2
  3. data/docs/Address.md +2 -2
  4. data/docs/AppleWalletProviderOutput.md +18 -0
  5. data/docs/AttachmentInfo.md +24 -0
  6. data/docs/{MdlFieldDataType.md → AttributeAvailability.md} +2 -2
  7. data/docs/AustriaHandySignaturProviderOutput.md +20 -0
  8. data/docs/BelgiumIdCardProviderOutput.md +24 -0
  9. data/docs/ContractAttachment.md +20 -0
  10. data/docs/ContractAttribute.md +20 -0
  11. data/docs/CoteDIvoireNidLookup2Input.md +18 -0
  12. data/docs/CzechiaMojeIdProviderOutput.md +24 -0
  13. data/docs/DocumentData.md +12 -10
  14. data/docs/EstoniaIdCardProviderOutput.md +24 -0
  15. data/docs/FaydaProviderOutput.md +1 -1
  16. data/docs/FinlandIdCardProviderOutput.md +24 -0
  17. data/docs/FrejaProviderOutput.md +24 -0
  18. data/docs/FrenchNumeriqueGivenName.md +22 -0
  19. data/docs/FrenchNumeriqueNationality.md +20 -0
  20. data/docs/FrenchNumeriquePhone.md +22 -0
  21. data/docs/FrenchNumeriqueProviderOutput.md +66 -0
  22. data/docs/GetAttachmentRequest.md +2 -4
  23. data/docs/GoogleWalletProviderOutput.md +18 -0
  24. data/docs/IdentityData.md +9 -11
  25. data/docs/ItsmeProviderOutput.md +26 -0
  26. data/docs/KenyaNidMatch2Input.md +1 -1
  27. data/docs/{Language.md → KenyaNidMatch2InputSex.md} +2 -2
  28. data/docs/LaWalletProviderOutput.md +52 -0
  29. data/docs/LatviaEparakstsMobileProviderOutput.md +22 -0
  30. data/docs/LatviaEparakstsProviderOutput.md +22 -0
  31. data/docs/ListProvidersResponse.md +1 -1
  32. data/docs/{ListEnvironmentRedirectUrisResponse.md → ListRedirectUrisResponse.md} +2 -2
  33. data/docs/LithuaniaIdCardProviderOutput.md +24 -0
  34. data/docs/LloydsSmartIdProviderOutput.md +40 -0
  35. data/docs/Match.md +2 -2
  36. data/docs/MatchData.md +12 -10
  37. data/docs/MdlOutput.md +24 -0
  38. data/docs/MdlOutputCertificateData.md +26 -0
  39. data/docs/{ExternalMdlFieldData.md → MdlOutputFieldData.md} +3 -3
  40. data/docs/{FieldAvailability.md → MdlOutputFieldDataType.md} +2 -2
  41. data/docs/MexicoCurpProviderOutput.md +1 -1
  42. data/docs/MitIdProviderOutput.md +38 -0
  43. data/docs/MobileIdInput.md +1 -1
  44. data/docs/{SexV1.md → MobileIdLanguage.md} +2 -2
  45. data/docs/MobileIdProviderOutput.md +34 -0
  46. data/docs/NigeriaNinBiometric2Input.md +22 -0
  47. data/docs/NigeriaNinLookup2Input.md +18 -0
  48. data/docs/NigeriaNinMatch2Input.md +30 -0
  49. data/docs/NigeriaNinMatch2InputSex.md +15 -0
  50. data/docs/PersonData.md +10 -10
  51. data/docs/PeruDniAddress.md +22 -0
  52. data/docs/PeruDniLookupInput.md +18 -0
  53. data/docs/PeruDniProviderOutput.md +48 -0
  54. data/docs/PhilippinesDigitalNidProviderOutput.md +2 -2
  55. data/docs/PhilippinesPhysicalNidProviderOutput.md +2 -2
  56. data/docs/PolandEdoAppProviderOutput.md +24 -0
  57. data/docs/PolandMojeIdProviderOutput.md +22 -0
  58. data/docs/PortugalIdCardProviderOutput.md +24 -0
  59. data/docs/PostOfficeEasyIdProviderOutput.md +40 -0
  60. data/docs/{ProviderContract.md → Provider.md} +29 -25
  61. data/docs/ProviderInput.md +50 -32
  62. data/docs/ProviderOutput.md +61 -7
  63. data/docs/ProvidersApi.md +79 -0
  64. data/docs/RecommendProviderHealthOption.md +15 -0
  65. data/docs/{ProviderInformation.md → RecommendProviderInformation.md} +14 -14
  66. data/docs/{RecommendRequest.md → RecommendProvidersRequest.md} +3 -3
  67. data/docs/RecommendProvidersResponse.md +18 -0
  68. data/docs/{EnvironmentRedirectUrisApi.md → RedirectUrisApi.md} +21 -21
  69. data/docs/SamsungWalletProviderOutput.md +18 -0
  70. data/docs/SerbiaIdCardProviderOutput.md +24 -0
  71. data/docs/SessionsApi.md +149 -1
  72. data/docs/SmartIdInput.md +0 -2
  73. data/docs/SmartIdProviderOutput.md +42 -0
  74. data/docs/SouthAfricaNidBiometric2Input.md +22 -0
  75. data/docs/SouthAfricaNidMatch2Input.md +30 -0
  76. data/docs/SouthAfricaNidMatch2InputSex.md +15 -0
  77. data/docs/SpidProviderOutput.md +45 -25
  78. data/docs/SubProviderMetadata.md +0 -2
  79. data/docs/SwedenBankIdProviderOutput.md +42 -0
  80. data/docs/UgandaNidMatch2Input.md +22 -0
  81. data/docs/VerificationProfileResponse.md +3 -1
  82. data/docs/VerificationProfilesApi.md +3 -1
  83. data/docs/YotiDocumentDetails.md +26 -0
  84. data/docs/YotiProviderOutput.md +40 -0
  85. data/docs/YotiStructuredPostalAddress.md +56 -0
  86. data/docs/ZimbabweNidLookup2Input.md +18 -0
  87. data/lib/trinsic_api/api/providers_api.rb +82 -0
  88. data/lib/trinsic_api/api/{environment_redirect_uris_api.rb → redirect_uris_api.rb} +28 -28
  89. data/lib/trinsic_api/api/sessions_api.rb +142 -2
  90. data/lib/trinsic_api/api/verification_profiles_api.rb +3 -0
  91. data/lib/trinsic_api/models/{environment_redirect_uris_add_request.rb → add_redirect_uri_request.rb} +12 -3
  92. data/lib/trinsic_api/models/address.rb +3 -0
  93. data/lib/trinsic_api/models/apple_wallet_provider_output.rb +239 -0
  94. data/lib/trinsic_api/models/attachment_info.rb +319 -0
  95. data/lib/trinsic_api/models/{field_availability.rb → attribute_availability.rb} +3 -3
  96. data/lib/trinsic_api/models/austria_handy_signatur_provider_output.rb +266 -0
  97. data/lib/trinsic_api/models/{bangladesh_nid_input.rb → belgium_id_card_provider_output.rb} +60 -90
  98. data/lib/trinsic_api/models/{contract_identifier_field.rb → contract_attachment.rb} +25 -52
  99. data/lib/trinsic_api/models/{contract_field.rb → contract_attribute.rb} +8 -35
  100. data/lib/trinsic_api/models/cote_d_ivoire_nid_lookup2_input.rb +222 -0
  101. data/lib/trinsic_api/models/{finalize_mdl_exchange_response.rb → czechia_moje_id_provider_output.rb} +85 -52
  102. data/lib/trinsic_api/models/document_data.rb +18 -1
  103. data/lib/trinsic_api/models/estonia_id_card_provider_output.rb +320 -0
  104. data/lib/trinsic_api/models/fayda_provider_output.rb +1 -0
  105. data/lib/trinsic_api/models/finland_id_card_provider_output.rb +320 -0
  106. data/lib/trinsic_api/models/freja_provider_output.rb +320 -0
  107. data/lib/trinsic_api/models/french_numerique_given_name.rb +245 -0
  108. data/lib/trinsic_api/models/french_numerique_nationality.rb +234 -0
  109. data/lib/trinsic_api/models/french_numerique_phone.rb +245 -0
  110. data/lib/trinsic_api/models/french_numerique_provider_output.rb +487 -0
  111. data/lib/trinsic_api/models/get_attachment_request.rb +22 -49
  112. data/lib/trinsic_api/models/google_wallet_provider_output.rb +239 -0
  113. data/lib/trinsic_api/models/identity_data.rb +30 -33
  114. data/lib/trinsic_api/models/itsme_provider_output.rb +315 -0
  115. data/lib/trinsic_api/models/kenya_nid_match2_input.rb +1 -1
  116. data/lib/trinsic_api/models/{sex_v1.rb → kenya_nid_match2_input_sex.rb} +4 -6
  117. data/lib/trinsic_api/models/la_wallet_provider_output.rb +682 -0
  118. data/lib/trinsic_api/models/latvia_eparaksts_mobile_provider_output.rb +293 -0
  119. data/lib/trinsic_api/models/{create_mdl_exchange_response.rb → latvia_eparaksts_provider_output.rb} +53 -52
  120. data/lib/trinsic_api/models/list_providers_response.rb +2 -2
  121. data/lib/trinsic_api/models/{list_environment_redirect_uris_response.rb → list_redirect_uris_response.rb} +3 -3
  122. data/lib/trinsic_api/models/lithuania_id_card_provider_output.rb +320 -0
  123. data/lib/trinsic_api/models/lloyds_smart_id_provider_output.rb +344 -0
  124. data/lib/trinsic_api/models/match.rb +2 -0
  125. data/lib/trinsic_api/models/match_data.rb +23 -1
  126. data/lib/trinsic_api/models/{mdl_identity_data.rb → mdl_output.rb} +35 -8
  127. data/lib/trinsic_api/models/{mdl_certificate_data.rb → mdl_output_certificate_data.rb} +4 -4
  128. data/lib/trinsic_api/models/{external_mdl_field_data.rb → mdl_output_field_data.rb} +4 -4
  129. data/lib/trinsic_api/models/{mdl_field_data_type.rb → mdl_output_field_data_type.rb} +5 -4
  130. data/lib/trinsic_api/models/mexico_curp_provider_output.rb +1 -0
  131. data/lib/trinsic_api/models/mit_id_provider_output.rb +333 -0
  132. data/lib/trinsic_api/models/mobile_id_input.rb +1 -1
  133. data/lib/trinsic_api/models/{language.rb → mobile_id_language.rb} +3 -3
  134. data/lib/trinsic_api/models/mobile_id_provider_output.rb +311 -0
  135. data/lib/trinsic_api/models/nigeria_nin_biometric2_input.rb +246 -0
  136. data/lib/trinsic_api/models/{provider_attachments.rb → nigeria_nin_lookup2_input.rb} +12 -11
  137. data/lib/trinsic_api/models/{recommend_response.rb → nigeria_nin_match2_input.rb} +94 -82
  138. data/lib/trinsic_api/models/nigeria_nin_match2_input_sex.rb +40 -0
  139. data/lib/trinsic_api/models/person_data.rb +7 -0
  140. data/lib/trinsic_api/models/{identifier.rb → peru_dni_address.rb} +53 -49
  141. data/lib/trinsic_api/models/peru_dni_lookup_input.rb +222 -0
  142. data/lib/trinsic_api/models/peru_dni_provider_output.rb +518 -0
  143. data/lib/trinsic_api/models/philippines_digital_nid_provider_output.rb +2 -1
  144. data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +2 -1
  145. data/lib/trinsic_api/models/poland_edo_app_provider_output.rb +320 -0
  146. data/lib/trinsic_api/models/poland_moje_id_provider_output.rb +293 -0
  147. data/lib/trinsic_api/models/{finalize_mdl_exchange_request.rb → portugal_id_card_provider_output.rb} +69 -68
  148. data/lib/trinsic_api/models/post_office_easy_id_provider_output.rb +344 -0
  149. data/lib/trinsic_api/models/{provider_contract.rb → provider.rb} +183 -125
  150. data/lib/trinsic_api/models/provider_input.rb +223 -124
  151. data/lib/trinsic_api/models/provider_output.rb +317 -15
  152. data/lib/trinsic_api/models/recommend_provider_health_option.rb +41 -0
  153. data/lib/trinsic_api/models/{provider_information.rb → recommend_provider_information.rb} +79 -73
  154. data/lib/trinsic_api/models/{recommend_request.rb → recommend_providers_request.rb} +27 -5
  155. data/lib/trinsic_api/models/{list_provider_contracts_response.rb → recommend_providers_response.rb} +20 -21
  156. data/lib/trinsic_api/models/redirect_uri_response.rb +9 -0
  157. data/lib/trinsic_api/models/samsung_wallet_provider_output.rb +239 -0
  158. data/lib/trinsic_api/models/serbia_id_card_provider_output.rb +320 -0
  159. data/lib/trinsic_api/models/smart_id_input.rb +1 -12
  160. data/lib/trinsic_api/models/smart_id_provider_output.rb +355 -0
  161. data/lib/trinsic_api/models/south_africa_nid_biometric2_input.rb +246 -0
  162. data/lib/trinsic_api/models/south_africa_nid_match2_input.rb +310 -0
  163. data/lib/trinsic_api/models/south_africa_nid_match2_input_sex.rb +40 -0
  164. data/lib/trinsic_api/models/spid_provider_output.rb +131 -20
  165. data/lib/trinsic_api/models/sub_provider_metadata.rb +1 -28
  166. data/lib/trinsic_api/models/{provider_info.rb → sweden_bank_id_provider_output.rb} +121 -153
  167. data/lib/trinsic_api/models/uganda_nid_match2_input.rb +244 -0
  168. data/lib/trinsic_api/models/verification_profile_response.rb +31 -4
  169. data/lib/trinsic_api/models/yoti_document_details.rb +266 -0
  170. data/lib/trinsic_api/models/yoti_provider_output.rb +344 -0
  171. data/lib/trinsic_api/models/yoti_structured_postal_address.rb +431 -0
  172. data/lib/trinsic_api/models/{document_scan_attachments.rb → zimbabwe_nid_lookup2_input.rb} +12 -11
  173. data/lib/trinsic_api/version.rb +1 -1
  174. data/lib/trinsic_api.rb +63 -30
  175. data/spec/api/providers_api_spec.rb +47 -0
  176. data/spec/api/{environment_redirect_uris_api_spec.rb → redirect_uris_api_spec.rb} +10 -10
  177. data/spec/api/sessions_api_spec.rb +27 -1
  178. data/spec/api/verification_profiles_api_spec.rb +1 -0
  179. data/spec/models/{environment_redirect_uris_add_request_spec.rb → add_redirect_uri_request_spec.rb} +6 -6
  180. data/spec/models/{list_provider_contracts_response_spec.rb → apple_wallet_provider_output_spec.rb} +7 -7
  181. data/spec/models/attachment_info_spec.rb +54 -0
  182. data/spec/models/{mdl_field_data_type_spec.rb → attribute_availability_spec.rb} +6 -6
  183. data/spec/models/austria_handy_signatur_provider_output_spec.rb +42 -0
  184. data/spec/models/{finalize_mdl_exchange_response_spec.rb → belgium_id_card_provider_output_spec.rb} +10 -10
  185. data/spec/models/contract_attachment_spec.rb +42 -0
  186. data/spec/models/contract_attribute_spec.rb +42 -0
  187. data/spec/models/cote_d_ivoire_nid_lookup2_input_spec.rb +36 -0
  188. data/spec/models/czechia_moje_id_provider_output_spec.rb +54 -0
  189. data/spec/models/document_data_spec.rb +6 -0
  190. data/spec/models/estonia_id_card_provider_output_spec.rb +54 -0
  191. data/spec/models/finland_id_card_provider_output_spec.rb +54 -0
  192. data/spec/models/freja_provider_output_spec.rb +54 -0
  193. data/spec/models/french_numerique_given_name_spec.rb +48 -0
  194. data/spec/models/french_numerique_nationality_spec.rb +42 -0
  195. data/spec/models/{contract_identifier_field_spec.rb → french_numerique_phone_spec.rb} +9 -9
  196. data/spec/models/french_numerique_provider_output_spec.rb +180 -0
  197. data/spec/models/get_attachment_request_spec.rb +1 -7
  198. data/spec/models/google_wallet_provider_output_spec.rb +36 -0
  199. data/spec/models/identity_data_spec.rb +1 -7
  200. data/spec/models/{bangladesh_nid_input_spec.rb → itsme_provider_output_spec.rb} +11 -11
  201. data/spec/models/{sex_v1_spec.rb → kenya_nid_match2_input_sex_spec.rb} +6 -6
  202. data/spec/models/la_wallet_provider_output_spec.rb +138 -0
  203. data/spec/models/latvia_eparaksts_mobile_provider_output_spec.rb +48 -0
  204. data/spec/models/latvia_eparaksts_provider_output_spec.rb +48 -0
  205. data/spec/models/{list_environment_redirect_uris_response_spec.rb → list_redirect_uris_response_spec.rb} +6 -6
  206. data/spec/models/lithuania_id_card_provider_output_spec.rb +54 -0
  207. data/spec/models/lloyds_smart_id_provider_output_spec.rb +102 -0
  208. data/spec/models/match_data_spec.rb +6 -0
  209. data/spec/models/{mdl_certificate_data_spec.rb → mdl_output_certificate_data_spec.rb} +6 -6
  210. data/spec/models/{external_mdl_field_data_spec.rb → mdl_output_field_data_spec.rb} +6 -6
  211. data/spec/models/{field_availability_spec.rb → mdl_output_field_data_type_spec.rb} +6 -6
  212. data/spec/models/{mdl_identity_data_spec.rb → mdl_output_spec.rb} +12 -6
  213. data/spec/models/mit_id_provider_output_spec.rb +96 -0
  214. data/spec/models/{language_spec.rb → mobile_id_language_spec.rb} +6 -6
  215. data/spec/models/{create_mdl_exchange_request_spec.rb → mobile_id_provider_output_spec.rb} +20 -14
  216. data/spec/models/nigeria_nin_biometric2_input_spec.rb +48 -0
  217. data/spec/models/{document_scan_attachments_spec.rb → nigeria_nin_lookup2_input_spec.rb} +7 -7
  218. data/spec/models/nigeria_nin_match2_input_sex_spec.rb +30 -0
  219. data/spec/models/{provider_info_spec.rb → nigeria_nin_match2_input_spec.rb} +13 -13
  220. data/spec/models/{identifier_spec.rb → peru_dni_address_spec.rb} +9 -9
  221. data/spec/models/{provider_attachments_spec.rb → peru_dni_lookup_input_spec.rb} +7 -7
  222. data/spec/models/peru_dni_provider_output_spec.rb +126 -0
  223. data/spec/models/{finalize_mdl_exchange_request_spec.rb → poland_edo_app_provider_output_spec.rb} +10 -10
  224. data/spec/models/{create_mdl_exchange_response_spec.rb → poland_moje_id_provider_output_spec.rb} +9 -9
  225. data/spec/models/portugal_id_card_provider_output_spec.rb +54 -0
  226. data/spec/models/post_office_easy_id_provider_output_spec.rb +102 -0
  227. data/spec/models/provider_input_spec.rb +70 -16
  228. data/spec/models/provider_output_spec.rb +164 -2
  229. data/spec/models/{provider_contract_spec.rb → provider_spec.rb} +28 -16
  230. data/spec/models/recommend_provider_health_option_spec.rb +30 -0
  231. data/spec/models/{provider_information_spec.rb → recommend_provider_information_spec.rb} +11 -11
  232. data/spec/models/{recommend_request_spec.rb → recommend_providers_request_spec.rb} +6 -6
  233. data/spec/models/recommend_providers_response_spec.rb +36 -0
  234. data/spec/models/samsung_wallet_provider_output_spec.rb +36 -0
  235. data/spec/models/serbia_id_card_provider_output_spec.rb +54 -0
  236. data/spec/models/smart_id_input_spec.rb +0 -6
  237. data/spec/models/smart_id_provider_output_spec.rb +108 -0
  238. data/spec/models/south_africa_nid_biometric2_input_spec.rb +48 -0
  239. data/spec/models/south_africa_nid_match2_input_sex_spec.rb +30 -0
  240. data/spec/models/{attachment_access_keys_spec.rb → south_africa_nid_match2_input_spec.rb} +18 -12
  241. data/spec/models/spid_provider_output_spec.rb +61 -1
  242. data/spec/models/sub_provider_metadata_spec.rb +0 -6
  243. data/spec/models/sweden_bank_id_provider_output_spec.rb +108 -0
  244. data/spec/models/{contract_field_spec.rb → uganda_nid_match2_input_spec.rb} +9 -9
  245. data/spec/models/verification_profile_response_spec.rb +6 -0
  246. data/spec/models/yoti_document_details_spec.rb +60 -0
  247. data/spec/models/yoti_provider_output_spec.rb +102 -0
  248. data/spec/models/yoti_structured_postal_address_spec.rb +150 -0
  249. data/spec/models/zimbabwe_nid_lookup2_input_spec.rb +36 -0
  250. metadata +254 -122
  251. data/docs/AttachmentAccessKeys.md +0 -28
  252. data/docs/AttachmentsApi.md +0 -79
  253. data/docs/BangladeshNidInput.md +0 -26
  254. data/docs/ContractField.md +0 -22
  255. data/docs/ContractIdentifierField.md +0 -22
  256. data/docs/CreateMdlExchangeRequest.md +0 -32
  257. data/docs/CreateMdlExchangeResponse.md +0 -22
  258. data/docs/DocumentScanAttachments.md +0 -18
  259. data/docs/FinalizeMdlExchangeRequest.md +0 -24
  260. data/docs/FinalizeMdlExchangeResponse.md +0 -24
  261. data/docs/Identifier.md +0 -22
  262. data/docs/ListProviderContractsResponse.md +0 -18
  263. data/docs/MdlApi.md +0 -151
  264. data/docs/MdlCertificateData.md +0 -26
  265. data/docs/MdlIdentityData.md +0 -22
  266. data/docs/NetworkApi.md +0 -223
  267. data/docs/ProviderAttachments.md +0 -18
  268. data/docs/ProviderInfo.md +0 -30
  269. data/docs/RecommendResponse.md +0 -22
  270. data/lib/trinsic_api/api/attachments_api.rb +0 -86
  271. data/lib/trinsic_api/api/mdl_api.rb +0 -150
  272. data/lib/trinsic_api/api/network_api.rb +0 -215
  273. data/lib/trinsic_api/models/attachment_access_keys.rb +0 -287
  274. data/lib/trinsic_api/models/create_mdl_exchange_request.rb +0 -404
  275. data/spec/api/attachments_api_spec.rb +0 -47
  276. data/spec/api/mdl_api_spec.rb +0 -59
  277. data/spec/api/network_api_spec.rb +0 -72
  278. data/spec/models/recommend_response_spec.rb +0 -48
data/docs/NetworkApi.md DELETED
@@ -1,223 +0,0 @@
1
- # TrinsicApi::NetworkApi
2
-
3
- All URIs are relative to *https://api.trinsic.id*
4
-
5
- | Method | HTTP request | Description |
6
- | ------ | ------------ | ----------- |
7
- | [**list_provider_contracts**](NetworkApi.md#list_provider_contracts) | **GET** /api/v1/network/{verificationProfileId}/providers/contracts | List Provider Contracts |
8
- | [**list_providers**](NetworkApi.md#list_providers) | **GET** /api/v1/network/{verificationProfileId}/providers | List Providers |
9
- | [**recommend_providers**](NetworkApi.md#recommend_providers) | **POST** /api/v1/network/recommend | Recommend Providers |
10
-
11
-
12
- ## list_provider_contracts
13
-
14
- > <ListProviderContractsResponse> list_provider_contracts(verification_profile_id)
15
-
16
- List Provider Contracts
17
-
18
- List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
19
-
20
- ### Examples
21
-
22
- ```ruby
23
- require 'time'
24
- require 'trinsic_api'
25
- # setup authorization
26
- TrinsicApi.configure do |config|
27
- # Configure Bearer authorization: Bearer
28
- config.access_token = 'YOUR_BEARER_TOKEN'
29
- end
30
-
31
- api_instance = TrinsicApi::NetworkApi.new
32
- verification_profile_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
33
-
34
- begin
35
- # List Provider Contracts
36
- result = api_instance.list_provider_contracts(verification_profile_id)
37
- p result
38
- rescue TrinsicApi::ApiError => e
39
- puts "Error when calling NetworkApi->list_provider_contracts: #{e}"
40
- end
41
- ```
42
-
43
- #### Using the list_provider_contracts_with_http_info variant
44
-
45
- This returns an Array which contains the response data, status code and headers.
46
-
47
- > <Array(<ListProviderContractsResponse>, Integer, Hash)> list_provider_contracts_with_http_info(verification_profile_id)
48
-
49
- ```ruby
50
- begin
51
- # List Provider Contracts
52
- data, status_code, headers = api_instance.list_provider_contracts_with_http_info(verification_profile_id)
53
- p status_code # => 2xx
54
- p headers # => { ... }
55
- p data # => <ListProviderContractsResponse>
56
- rescue TrinsicApi::ApiError => e
57
- puts "Error when calling NetworkApi->list_provider_contracts_with_http_info: #{e}"
58
- end
59
- ```
60
-
61
- ### Parameters
62
-
63
- | Name | Type | Description | Notes |
64
- | ---- | ---- | ----------- | ----- |
65
- | **verification_profile_id** | **String** | | |
66
-
67
- ### Return type
68
-
69
- [**ListProviderContractsResponse**](ListProviderContractsResponse.md)
70
-
71
- ### Authorization
72
-
73
- [Bearer](../README.md#Bearer)
74
-
75
- ### HTTP request headers
76
-
77
- - **Content-Type**: Not defined
78
- - **Accept**: text/plain, application/json, text/json, application/problem+json
79
-
80
-
81
- ## list_providers
82
-
83
- > <ListProvidersResponse> list_providers(verification_profile_id, opts)
84
-
85
- List Providers
86
-
87
- List all identity providers available for use
88
-
89
- ### Examples
90
-
91
- ```ruby
92
- require 'time'
93
- require 'trinsic_api'
94
- # setup authorization
95
- TrinsicApi.configure do |config|
96
- # Configure Bearer authorization: Bearer
97
- config.access_token = 'YOUR_BEARER_TOKEN'
98
- end
99
-
100
- api_instance = TrinsicApi::NetworkApi.new
101
- verification_profile_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
102
- opts = {
103
- health: 'health_example' # String | Filter providers by health status. Valid values: \"online\", \"offline\", \"all\". Defaults to \"all\".
104
- }
105
-
106
- begin
107
- # List Providers
108
- result = api_instance.list_providers(verification_profile_id, opts)
109
- p result
110
- rescue TrinsicApi::ApiError => e
111
- puts "Error when calling NetworkApi->list_providers: #{e}"
112
- end
113
- ```
114
-
115
- #### Using the list_providers_with_http_info variant
116
-
117
- This returns an Array which contains the response data, status code and headers.
118
-
119
- > <Array(<ListProvidersResponse>, Integer, Hash)> list_providers_with_http_info(verification_profile_id, opts)
120
-
121
- ```ruby
122
- begin
123
- # List Providers
124
- data, status_code, headers = api_instance.list_providers_with_http_info(verification_profile_id, opts)
125
- p status_code # => 2xx
126
- p headers # => { ... }
127
- p data # => <ListProvidersResponse>
128
- rescue TrinsicApi::ApiError => e
129
- puts "Error when calling NetworkApi->list_providers_with_http_info: #{e}"
130
- end
131
- ```
132
-
133
- ### Parameters
134
-
135
- | Name | Type | Description | Notes |
136
- | ---- | ---- | ----------- | ----- |
137
- | **verification_profile_id** | **String** | | |
138
- | **health** | **String** | Filter providers by health status. Valid values: \&quot;online\&quot;, \&quot;offline\&quot;, \&quot;all\&quot;. Defaults to \&quot;all\&quot;. | [optional] |
139
-
140
- ### Return type
141
-
142
- [**ListProvidersResponse**](ListProvidersResponse.md)
143
-
144
- ### Authorization
145
-
146
- [Bearer](../README.md#Bearer)
147
-
148
- ### HTTP request headers
149
-
150
- - **Content-Type**: Not defined
151
- - **Accept**: text/plain, application/json, text/json, application/problem+json
152
-
153
-
154
- ## recommend_providers
155
-
156
- > <RecommendResponse> recommend_providers(opts)
157
-
158
- Recommend Providers
159
-
160
- Generate provider recommendations based on signals about the user's location (phone number, countries, states).
161
-
162
- ### Examples
163
-
164
- ```ruby
165
- require 'time'
166
- require 'trinsic_api'
167
- # setup authorization
168
- TrinsicApi.configure do |config|
169
- # Configure Bearer authorization: Bearer
170
- config.access_token = 'YOUR_BEARER_TOKEN'
171
- end
172
-
173
- api_instance = TrinsicApi::NetworkApi.new
174
- opts = {
175
- recommend_request: TrinsicApi::RecommendRequest.new({verification_profile_id: 'verification_profile_id_example'}) # RecommendRequest |
176
- }
177
-
178
- begin
179
- # Recommend Providers
180
- result = api_instance.recommend_providers(opts)
181
- p result
182
- rescue TrinsicApi::ApiError => e
183
- puts "Error when calling NetworkApi->recommend_providers: #{e}"
184
- end
185
- ```
186
-
187
- #### Using the recommend_providers_with_http_info variant
188
-
189
- This returns an Array which contains the response data, status code and headers.
190
-
191
- > <Array(<RecommendResponse>, Integer, Hash)> recommend_providers_with_http_info(opts)
192
-
193
- ```ruby
194
- begin
195
- # Recommend Providers
196
- data, status_code, headers = api_instance.recommend_providers_with_http_info(opts)
197
- p status_code # => 2xx
198
- p headers # => { ... }
199
- p data # => <RecommendResponse>
200
- rescue TrinsicApi::ApiError => e
201
- puts "Error when calling NetworkApi->recommend_providers_with_http_info: #{e}"
202
- end
203
- ```
204
-
205
- ### Parameters
206
-
207
- | Name | Type | Description | Notes |
208
- | ---- | ---- | ----------- | ----- |
209
- | **recommend_request** | [**RecommendRequest**](RecommendRequest.md) | | [optional] |
210
-
211
- ### Return type
212
-
213
- [**RecommendResponse**](RecommendResponse.md)
214
-
215
- ### Authorization
216
-
217
- [Bearer](../README.md#Bearer)
218
-
219
- ### HTTP request headers
220
-
221
- - **Content-Type**: application/json, text/json, application/*+json
222
- - **Accept**: text/plain, application/json, text/json, application/problem+json
223
-
@@ -1,18 +0,0 @@
1
- # TrinsicApi::ProviderAttachments
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **document_scan** | [**DocumentScanAttachments**](DocumentScanAttachments.md) | | [optional] |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'trinsic_api'
13
-
14
- instance = TrinsicApi::ProviderAttachments.new(
15
- document_scan: null
16
- )
17
- ```
18
-
data/docs/ProviderInfo.md DELETED
@@ -1,30 +0,0 @@
1
- # TrinsicApi::ProviderInfo
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | The ID of the provider | |
8
- | **name** | **String** | The friendly, human-readable name of the provider | |
9
- | **logo_url** | **String** | A URL pointing to the provider&#39;s logo | |
10
- | **subtext** | **String** | The Provider&#39;s subtext recommended to be shown next to the name. This is flavor text, not a full, human-readable description of the provider. | |
11
- | **description** | **String** | The Provider&#39;s description recommended to be shown next to the name. This is flavor text, not a full, human-readable description of the provider. | |
12
- | **health** | **String** | The current health status of the provider | |
13
- | **sub_providers** | [**Array&lt;SubProviderMetadata&gt;**](SubProviderMetadata.md) | Metadata about the sub-providers which are available for this Provider. For example, Italy&#39;s SPID is a Provider which aggregates access to multiple sub-providers. | [optional] |
14
-
15
- ## Example
16
-
17
- ```ruby
18
- require 'trinsic_api'
19
-
20
- instance = TrinsicApi::ProviderInfo.new(
21
- id: yoti | clear | ...,
22
- name: Yoti | CLEAR | ...,
23
- logo_url: null,
24
- subtext: dmv.ca.gov,
25
- description: dmv.ca.gov,
26
- health: online | offline,
27
- sub_providers: null
28
- )
29
- ```
30
-
@@ -1,22 +0,0 @@
1
- # TrinsicApi::RecommendResponse
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **recognized** | [**Array&lt;ProviderInformation&gt;**](ProviderInformation.md) | The providers which the user is known to have a credential with. | |
8
- | **relevant** | [**Array&lt;ProviderInformation&gt;**](ProviderInformation.md) | The providers which the user is deemed sufficiently likely to have a credential with. | |
9
- | **remainder** | [**Array&lt;ProviderInformation&gt;**](ProviderInformation.md) | The providers which the user is unlikely to have a credential with. This includes all providers available to your app which were not included in the Recognized or Relevant lists. | |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'trinsic_api'
15
-
16
- instance = TrinsicApi::RecommendResponse.new(
17
- recognized: null,
18
- relevant: null,
19
- remainder: null
20
- )
21
- ```
22
-
@@ -1,86 +0,0 @@
1
- =begin
2
- #Trinsic API
3
-
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
-
6
- The version of the OpenAPI document: v1
7
-
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.13.0
10
-
11
- =end
12
-
13
- require 'cgi'
14
-
15
- module TrinsicApi
16
- class AttachmentsApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
- # Get Attachment
23
- # Exchange an Attachment Access Key (from `IdentityData.AttachmentAccessKeys`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
24
- # @param [Hash] opts the optional parameters
25
- # @option opts [GetAttachmentRequest] :get_attachment_request
26
- # @return [GetAttachmentResponse]
27
- def get_attachment(opts = {})
28
- data, _status_code, _headers = get_attachment_with_http_info(opts)
29
- data
30
- end
31
-
32
- # Get Attachment
33
- # Exchange an Attachment Access Key (from &#x60;IdentityData.AttachmentAccessKeys&#x60;) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
34
- # @param [Hash] opts the optional parameters
35
- # @option opts [GetAttachmentRequest] :get_attachment_request
36
- # @return [Array<(GetAttachmentResponse, Integer, Hash)>] GetAttachmentResponse data, response status code and response headers
37
- def get_attachment_with_http_info(opts = {})
38
- if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: AttachmentsApi.get_attachment ...'
40
- end
41
- # resource path
42
- local_var_path = '/api/v1/attachments/attachment'
43
-
44
- # query parameters
45
- query_params = opts[:query_params] || {}
46
-
47
- # header parameters
48
- header_params = opts[:header_params] || {}
49
- # HTTP header 'Accept' (if needed)
50
- header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json', 'application/problem+json']) unless header_params['Accept']
51
- # HTTP header 'Content-Type'
52
- content_type = @api_client.select_header_content_type(['application/json', 'text/json', 'application/*+json'])
53
- if !content_type.nil?
54
- header_params['Content-Type'] = content_type
55
- end
56
-
57
- # form parameters
58
- form_params = opts[:form_params] || {}
59
-
60
- # http body (model)
61
- post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'get_attachment_request'])
62
-
63
- # return_type
64
- return_type = opts[:debug_return_type] || 'GetAttachmentResponse'
65
-
66
- # auth_names
67
- auth_names = opts[:debug_auth_names] || ['Bearer']
68
-
69
- new_options = opts.merge(
70
- :operation => :"AttachmentsApi.get_attachment",
71
- :header_params => header_params,
72
- :query_params => query_params,
73
- :form_params => form_params,
74
- :body => post_body,
75
- :auth_names => auth_names,
76
- :return_type => return_type
77
- )
78
-
79
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
80
- if @api_client.config.debugging
81
- @api_client.config.logger.debug "API called: AttachmentsApi#get_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
- end
83
- return data, status_code, headers
84
- end
85
- end
86
- end
@@ -1,150 +0,0 @@
1
- =begin
2
- #Trinsic API
3
-
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
-
6
- The version of the OpenAPI document: v1
7
-
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.13.0
10
-
11
- =end
12
-
13
- require 'cgi'
14
-
15
- module TrinsicApi
16
- class MdlApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
- # Create mDL Exchange
23
- # Creates a new mDL Exchange, returning an exchange ID, request object string, and context string. mDL Exchanges are ephemeral until completion -- no state is stored within Trinsic until the exchange is finalized. This API currently only supports Google Wallet on Android via Web or Native. Apple Wallet support is coming soon.
24
- # @param [Hash] opts the optional parameters
25
- # @option opts [CreateMdlExchangeRequest] :create_mdl_exchange_request
26
- # @return [CreateMdlExchangeResponse]
27
- def create_mdl_exchange(opts = {})
28
- data, _status_code, _headers = create_mdl_exchange_with_http_info(opts)
29
- data
30
- end
31
-
32
- # Create mDL Exchange
33
- # Creates a new mDL Exchange, returning an exchange ID, request object string, and context string. mDL Exchanges are ephemeral until completion -- no state is stored within Trinsic until the exchange is finalized. This API currently only supports Google Wallet on Android via Web or Native. Apple Wallet support is coming soon.
34
- # @param [Hash] opts the optional parameters
35
- # @option opts [CreateMdlExchangeRequest] :create_mdl_exchange_request
36
- # @return [Array<(CreateMdlExchangeResponse, Integer, Hash)>] CreateMdlExchangeResponse data, response status code and response headers
37
- def create_mdl_exchange_with_http_info(opts = {})
38
- if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: MdlApi.create_mdl_exchange ...'
40
- end
41
- # resource path
42
- local_var_path = '/api/valpha/mdl/exchanges/create'
43
-
44
- # query parameters
45
- query_params = opts[:query_params] || {}
46
-
47
- # header parameters
48
- header_params = opts[:header_params] || {}
49
- # HTTP header 'Accept' (if needed)
50
- header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json', 'application/problem+json']) unless header_params['Accept']
51
- # HTTP header 'Content-Type'
52
- content_type = @api_client.select_header_content_type(['application/json', 'text/json', 'application/*+json'])
53
- if !content_type.nil?
54
- header_params['Content-Type'] = content_type
55
- end
56
-
57
- # form parameters
58
- form_params = opts[:form_params] || {}
59
-
60
- # http body (model)
61
- post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_mdl_exchange_request'])
62
-
63
- # return_type
64
- return_type = opts[:debug_return_type] || 'CreateMdlExchangeResponse'
65
-
66
- # auth_names
67
- auth_names = opts[:debug_auth_names] || ['Bearer']
68
-
69
- new_options = opts.merge(
70
- :operation => :"MdlApi.create_mdl_exchange",
71
- :header_params => header_params,
72
- :query_params => query_params,
73
- :form_params => form_params,
74
- :body => post_body,
75
- :auth_names => auth_names,
76
- :return_type => return_type
77
- )
78
-
79
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
80
- if @api_client.config.debugging
81
- @api_client.config.logger.debug "API called: MdlApi#create_mdl_exchange\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
- end
83
- return data, status_code, headers
84
- end
85
-
86
- # Finalize mDL Exchange
87
- # Finalizes an mDL Exchange, processing the results
88
- # @param [Hash] opts the optional parameters
89
- # @option opts [FinalizeMdlExchangeRequest] :finalize_mdl_exchange_request
90
- # @return [FinalizeMdlExchangeResponse]
91
- def finalize_mdl_exchange(opts = {})
92
- data, _status_code, _headers = finalize_mdl_exchange_with_http_info(opts)
93
- data
94
- end
95
-
96
- # Finalize mDL Exchange
97
- # Finalizes an mDL Exchange, processing the results
98
- # @param [Hash] opts the optional parameters
99
- # @option opts [FinalizeMdlExchangeRequest] :finalize_mdl_exchange_request
100
- # @return [Array<(FinalizeMdlExchangeResponse, Integer, Hash)>] FinalizeMdlExchangeResponse data, response status code and response headers
101
- def finalize_mdl_exchange_with_http_info(opts = {})
102
- if @api_client.config.debugging
103
- @api_client.config.logger.debug 'Calling API: MdlApi.finalize_mdl_exchange ...'
104
- end
105
- # resource path
106
- local_var_path = '/api/valpha/mdl/exchanges/finalize'
107
-
108
- # query parameters
109
- query_params = opts[:query_params] || {}
110
-
111
- # header parameters
112
- header_params = opts[:header_params] || {}
113
- # HTTP header 'Accept' (if needed)
114
- header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json', 'application/problem+json']) unless header_params['Accept']
115
- # HTTP header 'Content-Type'
116
- content_type = @api_client.select_header_content_type(['application/json', 'text/json', 'application/*+json'])
117
- if !content_type.nil?
118
- header_params['Content-Type'] = content_type
119
- end
120
-
121
- # form parameters
122
- form_params = opts[:form_params] || {}
123
-
124
- # http body (model)
125
- post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'finalize_mdl_exchange_request'])
126
-
127
- # return_type
128
- return_type = opts[:debug_return_type] || 'FinalizeMdlExchangeResponse'
129
-
130
- # auth_names
131
- auth_names = opts[:debug_auth_names] || ['Bearer']
132
-
133
- new_options = opts.merge(
134
- :operation => :"MdlApi.finalize_mdl_exchange",
135
- :header_params => header_params,
136
- :query_params => query_params,
137
- :form_params => form_params,
138
- :body => post_body,
139
- :auth_names => auth_names,
140
- :return_type => return_type
141
- )
142
-
143
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
144
- if @api_client.config.debugging
145
- @api_client.config.logger.debug "API called: MdlApi#finalize_mdl_exchange\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
146
- end
147
- return data, status_code, headers
148
- end
149
- end
150
- end