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
@@ -6,18 +6,28 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **billing_information** | [**SpidBillingInformation**](SpidBillingInformation.md) | Information about the billable status of this SPID Verification. Present only if your account has period-based billing enabled for SPID. Contact Trinsic to enable this. | [optional] |
8
8
  | **identity_provider_entity_id** | **String** | The SPID Entity ID of the Identity Provider which issued the SPID identity. This is an HTTPS URI which uniquely identifies the IdP within the SPID federation. A normalized / simplified representation of this value is present in the `originatingSubProviderId` field in Trinsic's normalized data model. | |
9
- | **spid_code** | **String** | The identifier of the user's SPID credential. This uniquely identifies the credential within the SPID federation. | |
10
- | **spid_credential_expiration_date** | **Date** | Expiration date of the user's SPID credential. This is not the same as the expiration date of the underlying identity document (such as a passport) which was used to create the SPID identity. | [optional] |
11
- | **place_of_birth** | **String** | The user's place of birth. | [optional] |
12
- | **county_of_birth** | **String** | The user's county of birth. | [optional] |
13
- | **raw_id_card** | **String** | The raw, space-separated string value for the \"IdCard\" field from the SPID identity. Trinsic additionally parses this field and uses it to populate the `Document` object in the normalized data model. | [optional] |
14
- | **email** | **String** | The email address of the user. | [optional] |
15
- | **digital_address** | **String** | The digital address of the user. | [optional] |
16
- | **fiscal_number** | **String** | Fiscal tax number for the subject. | [optional] |
17
- | **iva_code** | **String** | VAT number for the subject. | [optional] |
18
- | **company_name** | **String** | The name of the company which the user is associated with. | [optional] |
19
- | **company_fiscal_number** | **String** | The fiscal tax number of the company which the user is associated with. | [optional] |
20
- | **registered_office** | **String** | The registered office address of the company which the user is associated with. | [optional] |
9
+ | **spid_code** | **String** | The identifier of the SPID credential, uniquely identifying it within the SPID federation. The format of this string is specific to each individual Identity Provider. | |
10
+ | **spid_credential_expiration_date** | **Date** | Expiration date of the SPID credential. This is not the same as the expiration date of the underlying identity document (such as a passport) which was used to create the SPID identity. | [optional] |
11
+ | **raw_id_card** | **String** | The raw, space-separated string value for the \"IdCard\" field from the SPID credential. Trinsic additionally parses this field and uses it to populate the `Document` object in the normalized data model. | [optional] |
12
+ | **given_name** | **String** | The individual's first / given name(s) | [optional] |
13
+ | **family_name** | **String** | The individual's last / family name(s) | [optional] |
14
+ | **date_of_birth** | **Date** | The date of birth of the individual | [optional] |
15
+ | **gender** | **String** | The gender of the individual. Possible values: \"M\" | \"F\" | [optional] |
16
+ | **place_of_birth** | **String** | The individual's place of birth. This is a 4-digit Belfiore Code identifying either the municipality of birth (for births in Italy) or a foreign country (for births outside Italy). | [optional] |
17
+ | **county_of_birth** | **String** | The individual's county (province) of birth, abbreviated. For foreign births, this is \"EE\". | [optional] |
18
+ | **domicile_street_address** | **String** | The street address of the individual's residence. This includes street name, street type, and house number, in the standard format for the given state. | [optional] |
19
+ | **domicile_postal_code** | **String** | The postal code of the individual's residence | [optional] |
20
+ | **domicile_municipality** | **String** | The municipality of the individual's residence | [optional] |
21
+ | **domicile_province** | **String** | The province of the individual's residence | [optional] |
22
+ | **domicile_nation** | **String** | The 2-digit country code of the individual's residence | [optional] |
23
+ | **email** | **String** | The email address of the individual | [optional] |
24
+ | **mobile_phone** | **String** | The mobile phone number of the individual, in Italian format. | [optional] |
25
+ | **digital_address** | **String** | The PEC (Italian Certified Email) address of the individual or organization. | [optional] |
26
+ | **fiscal_number** | **String** | Fiscal tax number for the individual. | [optional] |
27
+ | **iva_code** | **String** | The VAT number of the organization which was verified, or of the organization which the verified individual is associated with. | [optional] |
28
+ | **company_name** | **String** | The name of the organization which was verified, or of the organization which the verified individual is associated with. | [optional] |
29
+ | **company_fiscal_number** | **String** | The fiscal tax number of the organization which was verified, or of the organization which the verified individual is associated with. | [optional] |
30
+ | **registered_office** | **String** | The registered office address of the organization which was verified, or of the organization which the verified individual is associated with. | [optional] |
21
31
 
22
32
  ## Example
23
33
 
@@ -26,19 +36,29 @@ require 'trinsic_api'
26
36
 
27
37
  instance = TrinsicApi::SpidProviderOutput.new(
28
38
  billing_information: null,
29
- identity_provider_entity_id: null,
30
- spid_code: null,
31
- spid_credential_expiration_date: null,
32
- place_of_birth: null,
33
- county_of_birth: null,
34
- raw_id_card: null,
35
- email: null,
36
- digital_address: null,
37
- fiscal_number: null,
38
- iva_code: null,
39
- company_name: null,
40
- company_fiscal_number: null,
41
- registered_office: null
39
+ identity_provider_entity_id: https://spid.register.it,
40
+ spid_code: SPID-002,
41
+ spid_credential_expiration_date: Sat Dec 21 00:00:00 UTC 2030,
42
+ raw_id_card: passaporto KK1234567 questuraLivorno 2016-09-04 2026-09-03,
43
+ given_name: Ada,
44
+ family_name: Lovelace,
45
+ date_of_birth: Tue Dec 10 00:00:00 UTC 1985,
46
+ gender: F,
47
+ place_of_birth: G702,
48
+ county_of_birth: PI,
49
+ domicile_street_address: Via Liszt 21,
50
+ domicile_postal_code: 00144,
51
+ domicile_municipality: Rome,
52
+ domicile_province: RM,
53
+ domicile_nation: IT,
54
+ email: example@example.com,
55
+ mobile_phone: 34912345678,
56
+ digital_address: name@pecdomain.it,
57
+ fiscal_number: TINIT-ABCXYZ00W00Z000Z,
58
+ iva_code: VATIT-12345678901,
59
+ company_name: ACME Corporation,
60
+ company_fiscal_number: TINIT-12345678901,
61
+ registered_office: via Listz 21 00144 Rome
42
62
  )
43
63
  ```
44
64
 
@@ -7,7 +7,6 @@
7
7
  | **id** | **String** | The ID of the sub-provider. This cannot be used as a standalone Provider ID when creating a Session. It must be passed in via the Provider-specific input. | |
8
8
  | **name** | **String** | The name of the sub-provider | |
9
9
  | **subtext** | **String** | The Provider's subtext recommended to be shown next to the name. This is flavor text, not a full, human-readable description of the provider. | |
10
- | **description** | **String** | The Provider's subtext recommended to be shown next to the name. This is flavor text, not a full, human-readable description of the provider. | |
11
10
  | **logo_url** | **String** | A URL pointing to the logo on Trinsic's CDN. May be a PNG, JPG, or SVG image. | |
12
11
 
13
12
  ## Example
@@ -19,7 +18,6 @@ instance = TrinsicApi::SubProviderMetadata.new(
19
18
  id: null,
20
19
  name: null,
21
20
  subtext: dmv.ca.gov,
22
- description: dmv.ca.gov,
23
21
  logo_url: null
24
22
  )
25
23
  ```
@@ -0,0 +1,42 @@
1
+ # TrinsicApi::SwedenBankIdProviderOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **full_name** | **String** | The full name of the individual. | [optional] |
8
+ | **date_of_birth** | **Date** | The date of birth of the individual. | [optional] |
9
+ | **personal_identity_number** | **String** | The Swedish personal number (personnummer) associated with the verified individual. The value is typically a 12-digit number. This is in the format YYYYMMDDXXXX, where: - YYYYMMDD is the date of birth. - XXXX is an individual number, indicating gender. If XXXX is even, the individual is female. If XXXX is odd, the individual is male. | [optional] |
10
+ | **given_name** | **String** | The given name of the individual | [optional] |
11
+ | **family_name** | **String** | The family name of the individual | [optional] |
12
+ | **country** | **String** | The end user's country on the verified certificate. This is ISO 2-character code of the country. | [optional] |
13
+ | **certificate_policy** | **String** | The object identifier policy of the individual's verified certificate | [optional] |
14
+ | **common_name** | **String** | The common name of the end user's verified certificate | [optional] |
15
+ | **distinguished_name** | **String** | The distinguished name of the end user's verified certificate | [optional] |
16
+ | **personal_identity_number_issuing_country** | **String** | The country that issued the Swedish personal number. This is an ISO 2-character code of the country and is extracted from the certificate. This will always be `SE`. | [optional] |
17
+ | **authentication_device_ip** | **String** | The IP address of the device used for authentication | [optional] |
18
+ | **not_before** | **Time** | The certificate validity start date (not before) in UTC | [optional] |
19
+ | **not_after** | **Time** | The certificate validity end date (not after) in UTC | [optional] |
20
+
21
+ ## Example
22
+
23
+ ```ruby
24
+ require 'trinsic_api'
25
+
26
+ instance = TrinsicApi::SwedenBankIdProviderOutput.new(
27
+ full_name: Ove Henriksen,
28
+ date_of_birth: Sun Aug 15 00:00:00 UTC 1943,
29
+ personal_identity_number: 20200101-1231,
30
+ given_name: Ove,
31
+ family_name: Henriksen,
32
+ country: SE,
33
+ certificate_policy: 1.2.752.78.1.1,
34
+ common_name: Ove Henriksenn,
35
+ distinguished_name: N=Ove Henriksen, OID.2.5.4.41=(180427 13.09) Ove Henriksen - BankID på fil, SERIALNUMBER=19531​​0021935, GIVENNAME=Ove, SURNAME=Henriksen, O=Testbank A AB (publ), C=SE ​,
36
+ personal_identity_number_issuing_country: SE,
37
+ authentication_device_ip: 192.168.1.100,
38
+ not_before: 2024-01-01T00:00Z,
39
+ not_after: 2029-06-30T23:59:59Z
40
+ )
41
+ ```
42
+
@@ -0,0 +1,22 @@
1
+ # TrinsicApi::UgandaNidMatch2Input
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id_number** | **String** | The user's Uganda National ID number (NIN) - 14 alphanumeric characters | [optional] |
8
+ | **secondary_id_number** | **String** | The card number on the document (secondary ID number). Required for Uganda Basic KYC instead of first name and last name. | [optional] |
9
+ | **date_of_birth** | **Date** | The user's date of birth, in `YYYY-MM-DD` format | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'trinsic_api'
15
+
16
+ instance = TrinsicApi::UgandaNidMatch2Input.new(
17
+ id_number: null,
18
+ secondary_id_number: null,
19
+ date_of_birth: null
20
+ )
21
+ ```
22
+
@@ -10,6 +10,7 @@
10
10
  | **logo_url** | **String** | The URL of the verification profile's logo. | |
11
11
  | **primary_color** | **String** | The primary color of the verification profile. | |
12
12
  | **enabled_providers** | **Array<String>** | The providers that are currently enabled for the verification profile. | |
13
+ | **is_production_usage** | **Boolean** | Whether this profile is for production usage. Only applicable for Live environment profiles. | |
13
14
 
14
15
  ## Example
15
16
 
@@ -22,7 +23,8 @@ instance = TrinsicApi::VerificationProfileResponse.new(
22
23
  brand_name: null,
23
24
  logo_url: null,
24
25
  primary_color: null,
25
- enabled_providers: null
26
+ enabled_providers: null,
27
+ is_production_usage: null
26
28
  )
27
29
  ```
28
30
 
@@ -34,7 +34,8 @@ brand_name = 'brand_name_example' # String | The brand name of the verification
34
34
  opts = {
35
35
  primary_color: 'primary_color_example', # String | The primary color of the verification profile. Must be a 6-character hex string prefixed with a '#' character. Example: #000000
36
36
  providers: ['inner_example'], # Array<String> | The list of providers you'd like to select for this profile. We will not currently enable any providers.
37
- logo: File.new('/path/to/some/file') # File | The logo of the verification profile.
37
+ logo: File.new('/path/to/some/file'), # File | The logo of the verification profile.
38
+ is_production_usage: true # Boolean | Whether this profile is for production usage. Only applicable for Live environment profiles. If not specified for Live profiles, defaults to false (Demo).
38
39
  }
39
40
 
40
41
  begin
@@ -73,6 +74,7 @@ end
73
74
  | **primary_color** | **String** | The primary color of the verification profile. Must be a 6-character hex string prefixed with a &#39;#&#39; character. Example: #000000 | [optional] |
74
75
  | **providers** | [**Array&lt;String&gt;**](String.md) | The list of providers you&#39;d like to select for this profile. We will not currently enable any providers. | [optional] |
75
76
  | **logo** | **File** | The logo of the verification profile. | [optional] |
77
+ | **is_production_usage** | **Boolean** | Whether this profile is for production usage. Only applicable for Live environment profiles. If not specified for Live profiles, defaults to false (Demo). | [optional] |
76
78
 
77
79
  ### Return type
78
80
 
@@ -0,0 +1,26 @@
1
+ # TrinsicApi::YotiDocumentDetails
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | The type of document used to create the Yoti credential. Possible values: - PASSPORT: A government-issued identity document - DRIVING_LICENCE: A government-issued identity card - NATIONAL_ID: A government-issued identity card - PASS_CARD: A physical or digital identity card that is accredited by the UK&#39;s national Proof of Age Standards Scheme (PASS) | [optional] |
8
+ | **issuing_country** | **String** | The issuing country&#39;s ISO alpha-3 code | [optional] |
9
+ | **document_number** | **String** | The arbitrary document number for the provided document type | [optional] |
10
+ | **expiration_date** | **Date** | The document&#39;s expiration date in YYYY-MM-DD format | [optional] |
11
+ | **issuing_authority** | **String** | The document&#39;s issuing authority. This can either be a country code as a specified ISO alpha-3 or the name of the issuing authority. | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'trinsic_api'
17
+
18
+ instance = TrinsicApi::YotiDocumentDetails.new(
19
+ type: PASSPORT,
20
+ issuing_country: GBR,
21
+ document_number: 123456789,
22
+ expiration_date: Mon Mar 21 00:00:00 UTC 2016,
23
+ issuing_authority: GBR
24
+ )
25
+ ```
26
+
@@ -0,0 +1,40 @@
1
+ # TrinsicApi::YotiProviderOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **remember_me_id** | **String** | The unique id for your service of the individual. This is not shared between different services so if the user logs into a different service, the user will have a new id for the other service. | [optional] |
8
+ | **email** | **String** | The email address of the individual | [optional] |
9
+ | **given_name** | **String** | The given name of the individual. This can correspond to first and middle names in English. | [optional] |
10
+ | **family_name** | **String** | The family name of the individual | [optional] |
11
+ | **full_name** | **String** | Full name of the individual which is composed of the given and family name. Unverified full name may be safe to use. For example, Aadhaar card provides full name, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as \&quot;unverified\&quot;. | [optional] |
12
+ | **date_of_birth** | **Date** | The date of birth of the individual. Unverified date of birth may be safe to use. For example, Aadhaar card provides date of birth, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as \&quot;unverified\&quot;. | [optional] |
13
+ | **gender** | **String** | The gender of the individual. Depending on the source or country, gender may not be verified. This is a setting that can be configured while setting up scopes. Unverified gender may be safe to use. For example, Aadhaar card provides gender, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as \&quot;unverified\&quot;. In some countries Possible values: - \&quot;MALE\&quot; - \&quot;FEMALE\&quot; - \&quot;TRANSGENDER\&quot; - \&quot;OTHER\&quot; | [optional] |
14
+ | **nationality** | **String** | The nationality of the individual as a ISO alpha-3 code | [optional] |
15
+ | **mobile_number** | **String** | The mobile phone number of the individual. This number was verified with a one time password (OTP) during the user&#39;s registration with Yoti. In some cases, Yoti may do additional checks against its sources to confirm the user&#39;s identity. | [optional] |
16
+ | **structured_postal_address** | [**YotiStructuredPostalAddress**](YotiStructuredPostalAddress.md) | A structured postal address for the individual that comes from the underlying document or can be manually added. In the case of being manually added, the address is considered \&quot;unverified\&quot;. Unverified addresses may be safe to use. For example, Aadhaar card provides an address, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as \&quot;unverified\&quot;. | [optional] |
17
+ | **postal_address** | **String** | The whole address for the individual that comes from the underlying document or can be manually added. In the case of being manually added, the address is considered \&quot;unverified\&quot;. The format of this will be different for each country. Refer to &#x60;StructuredPostalAddress&#x60; for a detailed version of the address. | [optional] |
18
+ | **document_details** | [**YotiDocumentDetails**](YotiDocumentDetails.md) | The details of the underlying document used to help create the Yoti credential | [optional] |
19
+
20
+ ## Example
21
+
22
+ ```ruby
23
+ require 'trinsic_api'
24
+
25
+ instance = TrinsicApi::YotiProviderOutput.new(
26
+ remember_me_id: 9f63ff98-e1e3-433c-9b86-7c697d0b4e5f,
27
+ email: johndoe@example.com,
28
+ given_name: John Alvin,
29
+ family_name: Doe,
30
+ full_name: John Alvin Doe,
31
+ date_of_birth: Thu Jan 31 00:00:00 UTC 1985,
32
+ gender: MALE,
33
+ nationality: GBR,
34
+ mobile_number: +447777123456,
35
+ structured_postal_address: null,
36
+ postal_address: 6th Floor, 107 Leadenhall St, London, EC3A 4AF,
37
+ document_details: null
38
+ )
39
+ ```
40
+
@@ -0,0 +1,56 @@
1
+ # TrinsicApi::YotiStructuredPostalAddress
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **country** | **String** | The address&#39;s country. This field does not have a specified format, but is recommended to use for the country field. | [optional] |
8
+ | **country_iso** | **String** | The address&#39;s ISO alpha-3 country code | [optional] |
9
+ | **formatted_address** | **String** | The whole address in proper order and formatted with line breaks. Examples: United Kingdom: \&quot;15a North Street\\nCARSHALTON\\nSM5 2HW\\nUK\&quot; India: \&quot;S/O: Vipen Kumar Aggarwal\\nHouse No.86-A\\nRajguru Nagar\\nLudhiana\\nPunjab\\n141012\\nIndia\&quot; United States of America: \&quot;1512 Ferry Street\\nAnniston AL 36201\\nUSA\&quot; | [optional] |
10
+ | **line1** | **String** | The first line of the address | [optional] |
11
+ | **line2** | **String** | The second line of the address | [optional] |
12
+ | **line3** | **String** | The third line of the address | [optional] |
13
+ | **line4** | **String** | The fourth line of the address | [optional] |
14
+ | **town_city** | **String** | The address&#39;s town or city | [optional] |
15
+ | **state** | **String** | The address&#39;s state. This is an optional field that may only appear for US addresses. | [optional] |
16
+ | **postal_code** | **String** | The address&#39;s postal code | [optional] |
17
+ | **building_number** | **String** | The address&#39;s building number | [optional] |
18
+ | **building** | **String** | The address&#39;s building name | [optional] |
19
+ | **sub_building** | **String** | The address&#39;s sub building or specific part of the building | [optional] |
20
+ | **locality** | **String** | The address&#39;ss locality can be an area, a village, a region, or a known neighborhood | [optional] |
21
+ | **delivery_point_reference_number** | **String** | The unique delivery point reference number. This is an 8-digit code used in the UK for identifying delivery addresses. | [optional] |
22
+ | **landmark** | **String** | The address&#39;s landmark. A landmark is a recognizable feature or place that helps locate the address. This optional field may appear only for Indian addresses. | [optional] |
23
+ | **subdistrict** | **String** | The address&#39;s subdistrict. This optional field may appear only for Indian addresses. | [optional] |
24
+ | **district** | **String** | The address&#39;s district. This optional field may appear only for Indian addresses. | [optional] |
25
+ | **post_office** | **String** | The address&#39;s post office. This optional field may appear only for Indian addresses. | [optional] |
26
+ | **care_of** | **String** | The address&#39;s care-of field. This indicates that mail should be delivered to an individual through another person or entity who is a known resident at the address. This optional field may appear only for Indian addresses. | [optional] |
27
+
28
+ ## Example
29
+
30
+ ```ruby
31
+ require 'trinsic_api'
32
+
33
+ instance = TrinsicApi::YotiStructuredPostalAddress.new(
34
+ country: UK,
35
+ country_iso: USA,
36
+ formatted_address: 15a North Street\nCARSHALTON\nSM5 2HW\nUK,
37
+ line1: 15a North Street,
38
+ line2: 15a North Street,
39
+ line3: 15a North Street,
40
+ line4: 15a North Street,
41
+ town_city: Los Angeles,
42
+ state: CA,
43
+ postal_code: SM5 2HW,
44
+ building_number: 15a,
45
+ building: House No.86-A,
46
+ sub_building: Apt 4B,
47
+ locality: FRAMINGHAM PIGOT,
48
+ delivery_point_reference_number: 23747208,
49
+ landmark: Behind Bank XYZ,
50
+ subdistrict: Ludhiana,
51
+ district: Ludhiana,
52
+ post_office: Rajguru Nagar,
53
+ care_of: Jane Doe
54
+ )
55
+ ```
56
+
@@ -0,0 +1,18 @@
1
+ # TrinsicApi::ZimbabweNidLookup2Input
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id_number** | **String** | The user&#39;s National ID number | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'trinsic_api'
13
+
14
+ instance = TrinsicApi::ZimbabweNidLookup2Input.new(
15
+ id_number: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,82 @@
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 ProvidersApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # List Providers
23
+ # List all identity providers available to your Organization, including their license status.
24
+ # @param [Hash] opts the optional parameters
25
+ # @option opts [Boolean] :licensed Filter by license status. If not specified, returns all providers.
26
+ # @return [ListProvidersResponse]
27
+ def list_providers(opts = {})
28
+ data, _status_code, _headers = list_providers_with_http_info(opts)
29
+ data
30
+ end
31
+
32
+ # List Providers
33
+ # List all identity providers available to your Organization, including their license status.
34
+ # @param [Hash] opts the optional parameters
35
+ # @option opts [Boolean] :licensed Filter by license status. If not specified, returns all providers.
36
+ # @return [Array<(ListProvidersResponse, Integer, Hash)>] ListProvidersResponse data, response status code and response headers
37
+ def list_providers_with_http_info(opts = {})
38
+ if @api_client.config.debugging
39
+ @api_client.config.logger.debug 'Calling API: ProvidersApi.list_providers ...'
40
+ end
41
+ # resource path
42
+ local_var_path = '/api/v1/providers'
43
+
44
+ # query parameters
45
+ query_params = opts[:query_params] || {}
46
+ query_params[:'licensed'] = opts[:'licensed'] if !opts[:'licensed'].nil?
47
+
48
+ # header parameters
49
+ header_params = opts[:header_params] || {}
50
+ # HTTP header 'Accept' (if needed)
51
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json', 'application/problem+json']) unless header_params['Accept']
52
+
53
+ # form parameters
54
+ form_params = opts[:form_params] || {}
55
+
56
+ # http body (model)
57
+ post_body = opts[:debug_body]
58
+
59
+ # return_type
60
+ return_type = opts[:debug_return_type] || 'ListProvidersResponse'
61
+
62
+ # auth_names
63
+ auth_names = opts[:debug_auth_names] || ['Bearer']
64
+
65
+ new_options = opts.merge(
66
+ :operation => :"ProvidersApi.list_providers",
67
+ :header_params => header_params,
68
+ :query_params => query_params,
69
+ :form_params => form_params,
70
+ :body => post_body,
71
+ :auth_names => auth_names,
72
+ :return_type => return_type
73
+ )
74
+
75
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
76
+ if @api_client.config.debugging
77
+ @api_client.config.logger.debug "API called: ProvidersApi#list_providers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
78
+ end
79
+ return data, status_code, headers
80
+ end
81
+ end
82
+ end
@@ -13,16 +13,16 @@ Generator version: 7.13.0
13
13
  require 'cgi'
14
14
 
15
15
  module TrinsicApi
16
- class EnvironmentRedirectUrisApi
16
+ class RedirectUrisApi
17
17
  attr_accessor :api_client
18
18
 
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
22
  # Add Redirect URI
23
- # Add a new redirect uri to the environment.
23
+ # Add a new redirect uri to the authenticated environment.
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [EnvironmentRedirectUrisAddRequest] :environment_redirect_uris_add_request Request for uri to add to the environment. Must be absolute, not relative. Wildcard \&quot;*\&quot; accepted.
25
+ # @option opts [AddRedirectUriRequest] :add_redirect_uri_request Request for uri to add to the environment. Must be absolute, not relative. Wildcard \&quot;*\&quot; accepted.
26
26
  # @return [AddRedirectUriResponse]
27
27
  def add(opts = {})
28
28
  data, _status_code, _headers = add_with_http_info(opts)
@@ -30,16 +30,16 @@ module TrinsicApi
30
30
  end
31
31
 
32
32
  # Add Redirect URI
33
- # Add a new redirect uri to the environment.
33
+ # Add a new redirect uri to the authenticated environment.
34
34
  # @param [Hash] opts the optional parameters
35
- # @option opts [EnvironmentRedirectUrisAddRequest] :environment_redirect_uris_add_request Request for uri to add to the environment. Must be absolute, not relative. Wildcard \&quot;*\&quot; accepted.
35
+ # @option opts [AddRedirectUriRequest] :add_redirect_uri_request Request for uri to add to the environment. Must be absolute, not relative. Wildcard \&quot;*\&quot; accepted.
36
36
  # @return [Array<(AddRedirectUriResponse, Integer, Hash)>] AddRedirectUriResponse data, response status code and response headers
37
37
  def add_with_http_info(opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: EnvironmentRedirectUrisApi.add ...'
39
+ @api_client.config.logger.debug 'Calling API: RedirectUrisApi.add ...'
40
40
  end
41
41
  # resource path
42
- local_var_path = '/api/valpha/environments/redirect-uris'
42
+ local_var_path = '/api/valpha/redirect-uris'
43
43
 
44
44
  # query parameters
45
45
  query_params = opts[:query_params] || {}
@@ -58,7 +58,7 @@ module TrinsicApi
58
58
  form_params = opts[:form_params] || {}
59
59
 
60
60
  # http body (model)
61
- post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'environment_redirect_uris_add_request'])
61
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'add_redirect_uri_request'])
62
62
 
63
63
  # return_type
64
64
  return_type = opts[:debug_return_type] || 'AddRedirectUriResponse'
@@ -67,7 +67,7 @@ module TrinsicApi
67
67
  auth_names = opts[:debug_auth_names] || ['Bearer']
68
68
 
69
69
  new_options = opts.merge(
70
- :operation => :"EnvironmentRedirectUrisApi.add",
70
+ :operation => :"RedirectUrisApi.add",
71
71
  :header_params => header_params,
72
72
  :query_params => query_params,
73
73
  :form_params => form_params,
@@ -78,7 +78,7 @@ module TrinsicApi
78
78
 
79
79
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
80
80
  if @api_client.config.debugging
81
- @api_client.config.logger.debug "API called: EnvironmentRedirectUrisApi#add\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: RedirectUrisApi#add\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
82
  end
83
83
  return data, status_code, headers
84
84
  end
@@ -100,14 +100,14 @@ module TrinsicApi
100
100
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
101
101
  def delete_with_http_info(id, opts = {})
102
102
  if @api_client.config.debugging
103
- @api_client.config.logger.debug 'Calling API: EnvironmentRedirectUrisApi.delete ...'
103
+ @api_client.config.logger.debug 'Calling API: RedirectUrisApi.delete ...'
104
104
  end
105
105
  # verify the required parameter 'id' is set
106
106
  if @api_client.config.client_side_validation && id.nil?
107
- fail ArgumentError, "Missing the required parameter 'id' when calling EnvironmentRedirectUrisApi.delete"
107
+ fail ArgumentError, "Missing the required parameter 'id' when calling RedirectUrisApi.delete"
108
108
  end
109
109
  # resource path
110
- local_var_path = '/api/valpha/environments/redirect-uris/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
110
+ local_var_path = '/api/valpha/redirect-uris/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
111
111
 
112
112
  # query parameters
113
113
  query_params = opts[:query_params] || {}
@@ -130,7 +130,7 @@ module TrinsicApi
130
130
  auth_names = opts[:debug_auth_names] || ['Bearer']
131
131
 
132
132
  new_options = opts.merge(
133
- :operation => :"EnvironmentRedirectUrisApi.delete",
133
+ :operation => :"RedirectUrisApi.delete",
134
134
  :header_params => header_params,
135
135
  :query_params => query_params,
136
136
  :form_params => form_params,
@@ -141,50 +141,50 @@ module TrinsicApi
141
141
 
142
142
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
143
143
  if @api_client.config.debugging
144
- @api_client.config.logger.debug "API called: EnvironmentRedirectUrisApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
144
+ @api_client.config.logger.debug "API called: RedirectUrisApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
145
145
  end
146
146
  return data, status_code, headers
147
147
  end
148
148
 
149
149
  # List Redirect URIs
150
- # List redirect URIs within the environment.
150
+ # List registered Redirect URIs for the authenticated environment
151
151
  # @param [Hash] opts the optional parameters
152
152
  # @option opts [Integer] :page Number of pages of uris to return. (default to 1)
153
153
  # @option opts [Integer] :page_size Size of the list to be returned. Accepted range from 1 to 100 (default to 20)
154
- # @return [ListEnvironmentRedirectUrisResponse]
154
+ # @return [ListRedirectUrisResponse]
155
155
  def list(opts = {})
156
156
  data, _status_code, _headers = list_with_http_info(opts)
157
157
  data
158
158
  end
159
159
 
160
160
  # List Redirect URIs
161
- # List redirect URIs within the environment.
161
+ # List registered Redirect URIs for the authenticated environment
162
162
  # @param [Hash] opts the optional parameters
163
163
  # @option opts [Integer] :page Number of pages of uris to return. (default to 1)
164
164
  # @option opts [Integer] :page_size Size of the list to be returned. Accepted range from 1 to 100 (default to 20)
165
- # @return [Array<(ListEnvironmentRedirectUrisResponse, Integer, Hash)>] ListEnvironmentRedirectUrisResponse data, response status code and response headers
165
+ # @return [Array<(ListRedirectUrisResponse, Integer, Hash)>] ListRedirectUrisResponse data, response status code and response headers
166
166
  def list_with_http_info(opts = {})
167
167
  if @api_client.config.debugging
168
- @api_client.config.logger.debug 'Calling API: EnvironmentRedirectUrisApi.list ...'
168
+ @api_client.config.logger.debug 'Calling API: RedirectUrisApi.list ...'
169
169
  end
170
170
  if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] > 2147483647
171
- fail ArgumentError, 'invalid value for "opts[:"page"]" when calling EnvironmentRedirectUrisApi.list, must be smaller than or equal to 2147483647.'
171
+ fail ArgumentError, 'invalid value for "opts[:"page"]" when calling RedirectUrisApi.list, must be smaller than or equal to 2147483647.'
172
172
  end
173
173
 
174
174
  if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] < 1
175
- fail ArgumentError, 'invalid value for "opts[:"page"]" when calling EnvironmentRedirectUrisApi.list, must be greater than or equal to 1.'
175
+ fail ArgumentError, 'invalid value for "opts[:"page"]" when calling RedirectUrisApi.list, must be greater than or equal to 1.'
176
176
  end
177
177
 
178
178
  if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 100
179
- fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling EnvironmentRedirectUrisApi.list, must be smaller than or equal to 100.'
179
+ fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling RedirectUrisApi.list, must be smaller than or equal to 100.'
180
180
  end
181
181
 
182
182
  if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1
183
- fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling EnvironmentRedirectUrisApi.list, must be greater than or equal to 1.'
183
+ fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling RedirectUrisApi.list, must be greater than or equal to 1.'
184
184
  end
185
185
 
186
186
  # resource path
187
- local_var_path = '/api/valpha/environments/redirect-uris'
187
+ local_var_path = '/api/valpha/redirect-uris'
188
188
 
189
189
  # query parameters
190
190
  query_params = opts[:query_params] || {}
@@ -203,13 +203,13 @@ module TrinsicApi
203
203
  post_body = opts[:debug_body]
204
204
 
205
205
  # return_type
206
- return_type = opts[:debug_return_type] || 'ListEnvironmentRedirectUrisResponse'
206
+ return_type = opts[:debug_return_type] || 'ListRedirectUrisResponse'
207
207
 
208
208
  # auth_names
209
209
  auth_names = opts[:debug_auth_names] || ['Bearer']
210
210
 
211
211
  new_options = opts.merge(
212
- :operation => :"EnvironmentRedirectUrisApi.list",
212
+ :operation => :"RedirectUrisApi.list",
213
213
  :header_params => header_params,
214
214
  :query_params => query_params,
215
215
  :form_params => form_params,
@@ -220,7 +220,7 @@ module TrinsicApi
220
220
 
221
221
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
222
222
  if @api_client.config.debugging
223
- @api_client.config.logger.debug "API called: EnvironmentRedirectUrisApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
223
+ @api_client.config.logger.debug "API called: RedirectUrisApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
224
224
  end
225
225
  return data, status_code, headers
226
226
  end