trinsic_api 2.2.0 → 2.3.0.pre.alpha2

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 (100) hide show
  1. checksums.yaml +4 -4
  2. data/docs/AddRedirectUriResponse.md +18 -0
  3. data/docs/AttachmentAccessKeys.md +2 -0
  4. data/docs/ContractField.md +2 -0
  5. data/docs/ContractIdentifierField.md +22 -0
  6. data/docs/CreateHostedProviderSessionResponse.md +1 -1
  7. data/docs/CreateVerificationProfileResponse.md +18 -0
  8. data/docs/CreateWidgetSessionResponse.md +1 -1
  9. data/docs/EnvironmentRedirectUrisAddRequest.md +18 -0
  10. data/docs/EnvironmentRedirectUrisApi.md +222 -0
  11. data/docs/FaydaProviderOutput.md +18 -0
  12. data/docs/Identifier.md +22 -0
  13. data/docs/IdentityData.md +5 -1
  14. data/docs/IntegrationStep.md +1 -1
  15. data/docs/KenyaNidBiometric2Input.md +22 -0
  16. data/docs/KenyaNidInput.md +1 -1
  17. data/docs/KenyaNidLookup2Input.md +18 -0
  18. data/docs/KenyaNidMatch2Input.md +28 -0
  19. data/docs/ListEnvironmentRedirectUrisResponse.md +20 -0
  20. data/docs/ListVerificationProfilesResponse.md +20 -0
  21. data/docs/MexicoCurpProviderOutput.md +18 -0
  22. data/docs/NigeriaNinInput.md +1 -1
  23. data/docs/PhilippinesDigitalNidProviderOutput.md +18 -0
  24. data/docs/PhilippinesPhysicalNidProviderOutput.md +18 -0
  25. data/docs/ProviderContract.md +2 -0
  26. data/docs/ProviderInput.md +8 -0
  27. data/docs/ProviderOutput.md +26 -0
  28. data/docs/RedirectUriResponse.md +20 -0
  29. data/docs/SexV1.md +15 -0
  30. data/docs/SouthAfricaNidInput.md +1 -1
  31. data/docs/SouthAfricaNidLookup2Input.md +18 -0
  32. data/docs/SpidBillingInformation.md +22 -0
  33. data/docs/SpidInput.md +3 -1
  34. data/docs/SpidProviderOutput.md +44 -0
  35. data/docs/VerificationProfileResponse.md +28 -0
  36. data/docs/VerificationProfilesApi.md +231 -0
  37. data/lib/trinsic_api/api/environment_redirect_uris_api.rb +228 -0
  38. data/lib/trinsic_api/api/verification_profiles_api.rb +273 -0
  39. data/lib/trinsic_api/models/add_redirect_uri_response.rb +237 -0
  40. data/lib/trinsic_api/models/attachment_access_keys.rb +11 -1
  41. data/lib/trinsic_api/models/contract_field.rb +28 -1
  42. data/lib/trinsic_api/models/contract_identifier_field.rb +315 -0
  43. data/lib/trinsic_api/models/create_verification_profile_response.rb +238 -0
  44. data/lib/trinsic_api/models/environment_redirect_uris_add_request.rb +237 -0
  45. data/lib/trinsic_api/models/fayda_provider_output.rb +222 -0
  46. data/lib/trinsic_api/models/identifier.rb +289 -0
  47. data/lib/trinsic_api/models/identity_data.rb +43 -5
  48. data/lib/trinsic_api/models/kenya_nid_biometric2_input.rb +246 -0
  49. data/lib/trinsic_api/models/kenya_nid_input.rb +1 -1
  50. data/lib/trinsic_api/models/kenya_nid_lookup2_input.rb +222 -0
  51. data/lib/trinsic_api/models/kenya_nid_match2_input.rb +299 -0
  52. data/lib/trinsic_api/models/list_environment_redirect_uris_response.rb +268 -0
  53. data/lib/trinsic_api/models/list_verification_profiles_response.rb +266 -0
  54. data/lib/trinsic_api/models/mexico_curp_provider_output.rb +222 -0
  55. data/lib/trinsic_api/models/nigeria_nin_input.rb +1 -1
  56. data/lib/trinsic_api/models/philippines_digital_nid_provider_output.rb +238 -0
  57. data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +238 -0
  58. data/lib/trinsic_api/models/provider_contract.rb +14 -1
  59. data/lib/trinsic_api/models/provider_input.rb +45 -1
  60. data/lib/trinsic_api/models/provider_output.rb +261 -0
  61. data/lib/trinsic_api/models/redirect_uri_response.rb +263 -0
  62. data/lib/trinsic_api/models/sex_v1.rb +42 -0
  63. data/lib/trinsic_api/models/south_africa_nid_input.rb +1 -1
  64. data/lib/trinsic_api/models/south_africa_nid_lookup2_input.rb +222 -0
  65. data/lib/trinsic_api/models/spid_billing_information.rb +293 -0
  66. data/lib/trinsic_api/models/spid_input.rb +16 -5
  67. data/lib/trinsic_api/models/spid_provider_output.rb +397 -0
  68. data/lib/trinsic_api/models/verification_profile_response.rb +375 -0
  69. data/lib/trinsic_api/version.rb +1 -1
  70. data/lib/trinsic_api.rb +23 -0
  71. data/spec/api/environment_redirect_uris_api_spec.rb +72 -0
  72. data/spec/api/verification_profiles_api_spec.rb +76 -0
  73. data/spec/models/add_redirect_uri_response_spec.rb +36 -0
  74. data/spec/models/attachment_access_keys_spec.rb +6 -0
  75. data/spec/models/contract_field_spec.rb +6 -0
  76. data/spec/models/contract_identifier_field_spec.rb +48 -0
  77. data/spec/models/create_verification_profile_response_spec.rb +36 -0
  78. data/spec/models/environment_redirect_uris_add_request_spec.rb +36 -0
  79. data/spec/models/fayda_provider_output_spec.rb +36 -0
  80. data/spec/models/identifier_spec.rb +48 -0
  81. data/spec/models/identity_data_spec.rb +12 -0
  82. data/spec/models/kenya_nid_biometric2_input_spec.rb +48 -0
  83. data/spec/models/kenya_nid_lookup2_input_spec.rb +36 -0
  84. data/spec/models/kenya_nid_match2_input_spec.rb +66 -0
  85. data/spec/models/list_environment_redirect_uris_response_spec.rb +42 -0
  86. data/spec/models/list_verification_profiles_response_spec.rb +42 -0
  87. data/spec/models/mexico_curp_provider_output_spec.rb +36 -0
  88. data/spec/models/philippines_digital_nid_provider_output_spec.rb +36 -0
  89. data/spec/models/philippines_physical_nid_provider_output_spec.rb +36 -0
  90. data/spec/models/provider_contract_spec.rb +6 -0
  91. data/spec/models/provider_input_spec.rb +24 -0
  92. data/spec/models/provider_output_spec.rb +60 -0
  93. data/spec/models/redirect_uri_response_spec.rb +42 -0
  94. data/spec/models/sex_v1_spec.rb +30 -0
  95. data/spec/models/south_africa_nid_lookup2_input_spec.rb +36 -0
  96. data/spec/models/spid_billing_information_spec.rb +48 -0
  97. data/spec/models/spid_input_spec.rb +6 -0
  98. data/spec/models/spid_provider_output_spec.rb +114 -0
  99. data/spec/models/verification_profile_response_spec.rb +66 -0
  100. metadata +94 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7119195ef1973bb58ec167091a9fb2b4bec432da992452638f76af0163dff5b4
4
- data.tar.gz: d725f104318f759292c70adf177d7e0a0909d97a5946720d28a9eed09e2e3108
3
+ metadata.gz: ceb20a76b3ebff0814c4e9ef9a7043835e84d821a8121a43af33379a1593a76c
4
+ data.tar.gz: 4752bcc20ae9699e9882c01285f4b8336eb8d7b93e345c65d8b4c17b7a0d93f7
5
5
  SHA512:
6
- metadata.gz: 29575cae410be8e818ff5918930730731b4efe8616023f7a99f2e1936c5e116c87849d4b6c295920e2fedcb355f9b0231d1bbba417ad3d27c15b6e4739e1189a
7
- data.tar.gz: 1296cfb9a8eaa46d654431b010eb714c7b73f6890e2b28d48ac60e0162ca82e9e9b479512114ac95a5ecacd5a98d9ddcbcaf11c250dae95c01774b38789deb3a
6
+ metadata.gz: 044ebe2fbdd4e9d184823d96bfdaefaba43cf88eb620473a55153575f1eeb54e3d3fe2620f3ad9c29c6b27678e46f9252d518c5796d4f7069e819a3b989cbf4e
7
+ data.tar.gz: 3aefba01cfb157792d5a64f130d3d01c8f14f08205b38b5ee75cf9f625c5a3ed30205f70ef27348e6f74c079df43f041b64ecbf090db15158bdad2040d63382c
@@ -0,0 +1,18 @@
1
+ # TrinsicApi::AddRedirectUriResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'trinsic_api'
13
+
14
+ instance = TrinsicApi::AddRedirectUriResponse.new(
15
+ id: null
16
+ )
17
+ ```
18
+
@@ -8,6 +8,7 @@
8
8
  | **document_front** | **String** | | [optional] |
9
9
  | **document_back** | **String** | | [optional] |
10
10
  | **document_portrait** | **String** | | [optional] |
11
+ | **document_signature** | **String** | | [optional] |
11
12
  | **provider** | [**ProviderAttachments**](ProviderAttachments.md) | | |
12
13
 
13
14
  ## Example
@@ -20,6 +21,7 @@ instance = TrinsicApi::AttachmentAccessKeys.new(
20
21
  document_front: null,
21
22
  document_back: null,
22
23
  document_portrait: null,
24
+ document_signature: null,
23
25
  provider: null
24
26
  )
25
27
  ```
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | The name of the field as it appears in verification results. | |
8
+ | **scope** | **String** | The scope of the field as it appears in verification results. | |
8
9
  | **outputted** | [**FieldAvailability**](FieldAvailability.md) | Indicates when this field will be present in verification results. | |
9
10
 
10
11
  ## Example
@@ -14,6 +15,7 @@ require 'trinsic_api'
14
15
 
15
16
  instance = TrinsicApi::ContractField.new(
16
17
  name: person.givenName,
18
+ scope: person.givenName,
17
19
  outputted: null
18
20
  )
19
21
  ```
@@ -0,0 +1,22 @@
1
+ # TrinsicApi::ContractIdentifierField
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **scope** | **String** | The scope of the identifier as it appears in verification results. | |
8
+ | **outputted** | [**FieldAvailability**](FieldAvailability.md) | Indicates when this field will be present in verification results. | |
9
+ | **description** | **String** | A human-readable description of the identifier, written by Trinsic. | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'trinsic_api'
15
+
16
+ instance = TrinsicApi::ContractIdentifierField.new(
17
+ scope: vatNumber,
18
+ outputted: null,
19
+ description: Italian fiscal number from the SPID identity
20
+ )
21
+ ```
22
+
@@ -15,7 +15,7 @@ require 'trinsic_api'
15
15
 
16
16
  instance = TrinsicApi::CreateHostedProviderSessionResponse.new(
17
17
  session_id: null,
18
- launch_url: https://api.trinsic.id/api/session/launch?clientToken=...,
18
+ launch_url: https://verify.trinsic.id/api/session/launch?clientToken=...,
19
19
  results_access_key: 417zNGHMJp6Ht2jCoktTLNGDRZEt4BqTwwQ8Q9ZaQz8aS4Jd7nD1xff2WLhPS69j5q9QT4gvgV79Gv7QtaXwu5YC9Utr35...
20
20
  )
21
21
  ```
@@ -0,0 +1,18 @@
1
+ # TrinsicApi::CreateVerificationProfileResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The ID of the verification profile | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'trinsic_api'
13
+
14
+ instance = TrinsicApi::CreateVerificationProfileResponse.new(
15
+ id: null
16
+ )
17
+ ```
18
+
@@ -15,7 +15,7 @@ require 'trinsic_api'
15
15
 
16
16
  instance = TrinsicApi::CreateWidgetSessionResponse.new(
17
17
  session_id: null,
18
- launch_url: https://api.trinsic.id/api/session/launch?clientToken=...,
18
+ launch_url: https://verify.trinsic.id/api/session/launch?clientToken=...,
19
19
  results_access_key: 417zNGHMJp6Ht2jCoktTLNGDRZEt4BqTwwQ8Q9ZaQz8aS4Jd7nD1xff2WLhPS69j5q9QT4gvgV79Gv7QtaXwu5YC9Utr35...
20
20
  )
21
21
  ```
@@ -0,0 +1,18 @@
1
+ # TrinsicApi::EnvironmentRedirectUrisAddRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **uri** | **String** | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'trinsic_api'
13
+
14
+ instance = TrinsicApi::EnvironmentRedirectUrisAddRequest.new(
15
+ uri: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,222 @@
1
+ # TrinsicApi::EnvironmentRedirectUrisApi
2
+
3
+ All URIs are relative to *https://api.trinsic.id*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**add**](EnvironmentRedirectUrisApi.md#add) | **POST** /api/valpha/environments/redirect-uris | Add Redirect URI |
8
+ | [**delete**](EnvironmentRedirectUrisApi.md#delete) | **DELETE** /api/valpha/environments/redirect-uris/{id} | Delete Redirect URI |
9
+ | [**list**](EnvironmentRedirectUrisApi.md#list) | **GET** /api/valpha/environments/redirect-uris | List Redirect URIs |
10
+
11
+
12
+ ## add
13
+
14
+ > <AddRedirectUriResponse> add(opts)
15
+
16
+ Add Redirect URI
17
+
18
+ Add a new redirect uri to the environment.
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::EnvironmentRedirectUrisApi.new
32
+ opts = {
33
+ environment_redirect_uris_add_request: TrinsicApi::EnvironmentRedirectUrisAddRequest.new({uri: 'uri_example'}) # EnvironmentRedirectUrisAddRequest | Request for uri to add to the environment. Must be absolute, not relative. Wildcard \"*\" accepted.
34
+ }
35
+
36
+ begin
37
+ # Add Redirect URI
38
+ result = api_instance.add(opts)
39
+ p result
40
+ rescue TrinsicApi::ApiError => e
41
+ puts "Error when calling EnvironmentRedirectUrisApi->add: #{e}"
42
+ end
43
+ ```
44
+
45
+ #### Using the add_with_http_info variant
46
+
47
+ This returns an Array which contains the response data, status code and headers.
48
+
49
+ > <Array(<AddRedirectUriResponse>, Integer, Hash)> add_with_http_info(opts)
50
+
51
+ ```ruby
52
+ begin
53
+ # Add Redirect URI
54
+ data, status_code, headers = api_instance.add_with_http_info(opts)
55
+ p status_code # => 2xx
56
+ p headers # => { ... }
57
+ p data # => <AddRedirectUriResponse>
58
+ rescue TrinsicApi::ApiError => e
59
+ puts "Error when calling EnvironmentRedirectUrisApi->add_with_http_info: #{e}"
60
+ end
61
+ ```
62
+
63
+ ### Parameters
64
+
65
+ | Name | Type | Description | Notes |
66
+ | ---- | ---- | ----------- | ----- |
67
+ | **environment_redirect_uris_add_request** | [**EnvironmentRedirectUrisAddRequest**](EnvironmentRedirectUrisAddRequest.md) | Request for uri to add to the environment. Must be absolute, not relative. Wildcard \&quot;*\&quot; accepted. | [optional] |
68
+
69
+ ### Return type
70
+
71
+ [**AddRedirectUriResponse**](AddRedirectUriResponse.md)
72
+
73
+ ### Authorization
74
+
75
+ [Bearer](../README.md#Bearer)
76
+
77
+ ### HTTP request headers
78
+
79
+ - **Content-Type**: application/json, text/json, application/*+json
80
+ - **Accept**: text/plain, application/json, text/json, application/problem+json
81
+
82
+
83
+ ## delete
84
+
85
+ > delete(id)
86
+
87
+ Delete Redirect URI
88
+
89
+ Delete a redirect uri from the environment.
90
+
91
+ ### Examples
92
+
93
+ ```ruby
94
+ require 'time'
95
+ require 'trinsic_api'
96
+ # setup authorization
97
+ TrinsicApi.configure do |config|
98
+ # Configure Bearer authorization: Bearer
99
+ config.access_token = 'YOUR_BEARER_TOKEN'
100
+ end
101
+
102
+ api_instance = TrinsicApi::EnvironmentRedirectUrisApi.new
103
+ id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The id of the redirect uri to delete.
104
+
105
+ begin
106
+ # Delete Redirect URI
107
+ api_instance.delete(id)
108
+ rescue TrinsicApi::ApiError => e
109
+ puts "Error when calling EnvironmentRedirectUrisApi->delete: #{e}"
110
+ end
111
+ ```
112
+
113
+ #### Using the delete_with_http_info variant
114
+
115
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
116
+
117
+ > <Array(nil, Integer, Hash)> delete_with_http_info(id)
118
+
119
+ ```ruby
120
+ begin
121
+ # Delete Redirect URI
122
+ data, status_code, headers = api_instance.delete_with_http_info(id)
123
+ p status_code # => 2xx
124
+ p headers # => { ... }
125
+ p data # => nil
126
+ rescue TrinsicApi::ApiError => e
127
+ puts "Error when calling EnvironmentRedirectUrisApi->delete_with_http_info: #{e}"
128
+ end
129
+ ```
130
+
131
+ ### Parameters
132
+
133
+ | Name | Type | Description | Notes |
134
+ | ---- | ---- | ----------- | ----- |
135
+ | **id** | **String** | The id of the redirect uri to delete. | |
136
+
137
+ ### Return type
138
+
139
+ nil (empty response body)
140
+
141
+ ### Authorization
142
+
143
+ [Bearer](../README.md#Bearer)
144
+
145
+ ### HTTP request headers
146
+
147
+ - **Content-Type**: Not defined
148
+ - **Accept**: application/problem+json
149
+
150
+
151
+ ## list
152
+
153
+ > <ListEnvironmentRedirectUrisResponse> list(opts)
154
+
155
+ List Redirect URIs
156
+
157
+ List redirect URIs within the environment.
158
+
159
+ ### Examples
160
+
161
+ ```ruby
162
+ require 'time'
163
+ require 'trinsic_api'
164
+ # setup authorization
165
+ TrinsicApi.configure do |config|
166
+ # Configure Bearer authorization: Bearer
167
+ config.access_token = 'YOUR_BEARER_TOKEN'
168
+ end
169
+
170
+ api_instance = TrinsicApi::EnvironmentRedirectUrisApi.new
171
+ opts = {
172
+ page: 56, # Integer | Number of pages of uris to return.
173
+ page_size: 56 # Integer | Size of the list to be returned. Accepted range from 1 to 100
174
+ }
175
+
176
+ begin
177
+ # List Redirect URIs
178
+ result = api_instance.list(opts)
179
+ p result
180
+ rescue TrinsicApi::ApiError => e
181
+ puts "Error when calling EnvironmentRedirectUrisApi->list: #{e}"
182
+ end
183
+ ```
184
+
185
+ #### Using the list_with_http_info variant
186
+
187
+ This returns an Array which contains the response data, status code and headers.
188
+
189
+ > <Array(<ListEnvironmentRedirectUrisResponse>, Integer, Hash)> list_with_http_info(opts)
190
+
191
+ ```ruby
192
+ begin
193
+ # List Redirect URIs
194
+ data, status_code, headers = api_instance.list_with_http_info(opts)
195
+ p status_code # => 2xx
196
+ p headers # => { ... }
197
+ p data # => <ListEnvironmentRedirectUrisResponse>
198
+ rescue TrinsicApi::ApiError => e
199
+ puts "Error when calling EnvironmentRedirectUrisApi->list_with_http_info: #{e}"
200
+ end
201
+ ```
202
+
203
+ ### Parameters
204
+
205
+ | Name | Type | Description | Notes |
206
+ | ---- | ---- | ----------- | ----- |
207
+ | **page** | **Integer** | Number of pages of uris to return. | [optional][default to 1] |
208
+ | **page_size** | **Integer** | Size of the list to be returned. Accepted range from 1 to 100 | [optional][default to 20] |
209
+
210
+ ### Return type
211
+
212
+ [**ListEnvironmentRedirectUrisResponse**](ListEnvironmentRedirectUrisResponse.md)
213
+
214
+ ### Authorization
215
+
216
+ [Bearer](../README.md#Bearer)
217
+
218
+ ### HTTP request headers
219
+
220
+ - **Content-Type**: Not defined
221
+ - **Accept**: text/plain, application/json, text/json, application/problem+json
222
+
@@ -0,0 +1,18 @@
1
+ # TrinsicApi::FaydaProviderOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **sub** | **String** | A unique eKYC identifying token used to match the original eKYC token received from the provider when the user was initially registered. Since Fayda does not return identifying data, it is the responsibility of the relying party to keep the unique user token received from Fayda when the user was initially registered to do a comparison of the subs to verify that it is the same person. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'trinsic_api'
13
+
14
+ instance = TrinsicApi::FaydaProviderOutput.new(
15
+ sub: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,22 @@
1
+ # TrinsicApi::Identifier
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **identifier** | **String** | | |
8
+ | **scope** | **String** | | |
9
+ | **description** | **String** | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'trinsic_api'
15
+
16
+ instance = TrinsicApi::Identifier.new(
17
+ identifier: null,
18
+ scope: null,
19
+ description: null
20
+ )
21
+ ```
22
+
data/docs/IdentityData.md CHANGED
@@ -10,6 +10,8 @@
10
10
  | **document** | [**DocumentData**](DocumentData.md) | | [optional] |
11
11
  | **match** | [**MatchData**](MatchData.md) | | [optional] |
12
12
  | **attachment_access_keys** | [**AttachmentAccessKeys**](AttachmentAccessKeys.md) | | [optional] |
13
+ | **provider_output** | [**ProviderOutput**](ProviderOutput.md) | | [optional] |
14
+ | **identifiers** | [**Array&lt;Identifier&gt;**](Identifier.md) | | |
13
15
 
14
16
  ## Example
15
17
 
@@ -22,7 +24,9 @@ instance = TrinsicApi::IdentityData.new(
22
24
  person: null,
23
25
  document: null,
24
26
  match: null,
25
- attachment_access_keys: null
27
+ attachment_access_keys: null,
28
+ provider_output: null,
29
+ identifiers: null
26
30
  )
27
31
  ```
28
32
 
@@ -15,7 +15,7 @@ require 'trinsic_api'
15
15
 
16
16
  instance = TrinsicApi::IntegrationStep.new(
17
17
  method: null,
18
- content: https://api.trinsic.id/api/session/launch?clientToken&#x3D;...,
18
+ content: https://verify.trinsic.id/api/session/launch?clientToken&#x3D;...,
19
19
  refresh: null
20
20
  )
21
21
  ```
@@ -0,0 +1,22 @@
1
+ # TrinsicApi::KenyaNidBiometric2Input
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id_number** | **String** | The user&#39;s Kenyan National ID number | [optional] |
8
+ | **liveness_images** | **Array&lt;String&gt;** | An array of exactly 8 images required for biometric liveness verification. The first 7 images should be liveness frames captured during the liveness detection process, and the last image (8th) should be a selfie of the user. All images must be in JPEG format and each image must be less than 15MB in size. | [optional] |
9
+ | **test_selfie** | **String** | Test selfie for test environment (optional, maximum 15MB). Must be JPEG format. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'trinsic_api'
15
+
16
+ instance = TrinsicApi::KenyaNidBiometric2Input.new(
17
+ id_number: null,
18
+ liveness_images: null,
19
+ test_selfie: null
20
+ )
21
+ ```
22
+
@@ -9,7 +9,7 @@
9
9
  | **last_name** | **String** | The user&#39;s middle name as it appears in their National ID (optional) | |
10
10
  | **date_of_birth** | **Date** | The user&#39;s date of birth, in &#x60;YYYY-MM-DD&#x60; format | |
11
11
  | **gender** | **String** | The user&#39;s gender as it appears in their National ID (e.g., male, female) | |
12
- | **national_id_number** | **String** | The user&#39;s South Kenya National ID number | |
12
+ | **national_id_number** | **String** | The user&#39;s Kenya National ID number | |
13
13
 
14
14
  ## Example
15
15
 
@@ -0,0 +1,18 @@
1
+ # TrinsicApi::KenyaNidLookup2Input
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::KenyaNidLookup2Input.new(
15
+ id_number: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,28 @@
1
+ # TrinsicApi::KenyaNidMatch2Input
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id_number** | **String** | The user&#39;s Kenyan National ID number | [optional] |
8
+ | **given_name** | **String** | The user&#39;s first name as it appears in their National ID | [optional] |
9
+ | **family_name** | **String** | The user&#39;s last name as it appears in their National ID | [optional] |
10
+ | **middle_name** | **String** | The user&#39;s middle name as it appears in their National ID (optional) | [optional] |
11
+ | **date_of_birth** | **Date** | The user&#39;s date of birth, in &#x60;YYYY-MM-DD&#x60; format | [optional] |
12
+ | **sex** | [**SexV1**](SexV1.md) | The user&#39;s sex as it appears in their National ID | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'trinsic_api'
18
+
19
+ instance = TrinsicApi::KenyaNidMatch2Input.new(
20
+ id_number: null,
21
+ given_name: null,
22
+ family_name: null,
23
+ middle_name: null,
24
+ date_of_birth: null,
25
+ sex: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,20 @@
1
+ # TrinsicApi::ListEnvironmentRedirectUrisResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **uris** | [**Array&lt;RedirectUriResponse&gt;**](RedirectUriResponse.md) | List of redirect uris within the environment. | |
8
+ | **more** | **Boolean** | Whether there are additional pages of uris to retrieve | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'trinsic_api'
14
+
15
+ instance = TrinsicApi::ListEnvironmentRedirectUrisResponse.new(
16
+ uris: null,
17
+ more: true
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # TrinsicApi::ListVerificationProfilesResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **verification_profiles** | [**Array&lt;VerificationProfileResponse&gt;**](VerificationProfileResponse.md) | | |
8
+ | **more** | **Boolean** | Whether there are additional pages of verification profiles to retrieve | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'trinsic_api'
14
+
15
+ instance = TrinsicApi::ListVerificationProfilesResponse.new(
16
+ verification_profiles: null,
17
+ more: true
18
+ )
19
+ ```
20
+
@@ -0,0 +1,18 @@
1
+ # TrinsicApi::MexicoCurpProviderOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **curp_status** | **String** | Curp status for the subject. Possible values: - AN: Alta Normal (Normal registration) - Active - AH: Alta con Homonimia (Registration with homonymy) - Active - RCC: Registro de cambio afectando a CURP (Change affecting CURP) - Active - RCN: Registro de cambio no afectando a CURP (Change not affecting CURP) - Active - BAP: Baja por documento apócrifo (Low due to apocryphal document) - Inactive - BSU: Baja sin uso (Low curp without use) - Inactive - BD: Baja por defunción (Low curp due to death) - Inactive - BDM: Baja administrativa (Low, due to administrative process) - Inactive - BDP: Baja por adopción (Low, due to adoption) - Inactive - BJD: Baja Judicial (Low for judicial reasons) - Inactive | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'trinsic_api'
13
+
14
+ instance = TrinsicApi::MexicoCurpProviderOutput.new(
15
+ curp_status: null
16
+ )
17
+ ```
18
+
@@ -10,7 +10,7 @@
10
10
  | **phone_number** | **String** | The user&#39;s phone number (optional) | [optional] |
11
11
  | **date_of_birth** | **Date** | The user&#39;s date of birth, in &#x60;YYYY-MM-DD&#x60; format | |
12
12
  | **gender** | **String** | The user&#39;s gender as it appears in their National ID (e.g., male, female) | [optional] |
13
- | **national_id_number** | **String** | The user&#39;s South African National ID number | |
13
+ | **national_id_number** | **String** | The user&#39;s National ID number | |
14
14
 
15
15
  ## Example
16
16
 
@@ -0,0 +1,18 @@
1
+ # TrinsicApi::PhilippinesDigitalNidProviderOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **philsys_card_number** | **String** | The PhilSys card number. | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'trinsic_api'
13
+
14
+ instance = TrinsicApi::PhilippinesDigitalNidProviderOutput.new(
15
+ philsys_card_number: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # TrinsicApi::PhilippinesPhysicalNidProviderOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **philsys_card_number** | **String** | The PhilSys card number. | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'trinsic_api'
13
+
14
+ instance = TrinsicApi::PhilippinesPhysicalNidProviderOutput.new(
15
+ philsys_card_number: null
16
+ )
17
+ ```
18
+
@@ -21,6 +21,7 @@
21
21
  | **supports_advanced_provider_sessions** | **Boolean** | Whether this Provider can be fully whitelabeled/OEMed through the Direct Provider Sessions API. If &#x60;false&#x60;, the Provider may still be launched through Direct Provider Sessions; however, it will necessarily require a Trinsic-hosted UI to function. | |
22
22
  | **supports_direct_provider_sessions** | **Boolean** | Whether this Provider can be fully whitelabeled/OEMed through the Direct Provider Sessions API. If &#x60;false&#x60;, the Provider may still be launched through Direct Provider Sessions; however, it will necessarily require a Trinsic-hosted UI to function. | |
23
23
  | **available_fields** | [**Array&lt;ContractField&gt;**](ContractField.md) | Information about the fields that this Provider will return in verification results. | [optional] |
24
+ | **available_identifiers** | [**Array&lt;ContractIdentifierField&gt;**](ContractIdentifierField.md) | Information about the identifiers this Provider returns in verification results. | [optional] |
24
25
  | **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] |
25
26
  | **health** | [**ProviderHealth**](ProviderHealth.md) | The health for an integration to be able to successfully perform a verification session. | |
26
27
 
@@ -47,6 +48,7 @@ instance = TrinsicApi::ProviderContract.new(
47
48
  supports_advanced_provider_sessions: true,
48
49
  supports_direct_provider_sessions: true,
49
50
  available_fields: null,
51
+ available_identifiers: null,
50
52
  sub_providers: null,
51
53
  health: null
52
54
  )