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.
- checksums.yaml +4 -4
- data/docs/AddRedirectUriResponse.md +18 -0
- data/docs/AttachmentAccessKeys.md +2 -0
- data/docs/ContractField.md +2 -0
- data/docs/ContractIdentifierField.md +22 -0
- data/docs/CreateHostedProviderSessionResponse.md +1 -1
- data/docs/CreateVerificationProfileResponse.md +18 -0
- data/docs/CreateWidgetSessionResponse.md +1 -1
- data/docs/EnvironmentRedirectUrisAddRequest.md +18 -0
- data/docs/EnvironmentRedirectUrisApi.md +222 -0
- data/docs/FaydaProviderOutput.md +18 -0
- data/docs/Identifier.md +22 -0
- data/docs/IdentityData.md +5 -1
- data/docs/IntegrationStep.md +1 -1
- data/docs/KenyaNidBiometric2Input.md +22 -0
- data/docs/KenyaNidInput.md +1 -1
- data/docs/KenyaNidLookup2Input.md +18 -0
- data/docs/KenyaNidMatch2Input.md +28 -0
- data/docs/ListEnvironmentRedirectUrisResponse.md +20 -0
- data/docs/ListVerificationProfilesResponse.md +20 -0
- data/docs/MexicoCurpProviderOutput.md +18 -0
- data/docs/NigeriaNinInput.md +1 -1
- data/docs/PhilippinesDigitalNidProviderOutput.md +18 -0
- data/docs/PhilippinesPhysicalNidProviderOutput.md +18 -0
- data/docs/ProviderContract.md +2 -0
- data/docs/ProviderInput.md +8 -0
- data/docs/ProviderOutput.md +26 -0
- data/docs/RedirectUriResponse.md +20 -0
- data/docs/SexV1.md +15 -0
- data/docs/SouthAfricaNidInput.md +1 -1
- data/docs/SouthAfricaNidLookup2Input.md +18 -0
- data/docs/SpidBillingInformation.md +22 -0
- data/docs/SpidInput.md +3 -1
- data/docs/SpidProviderOutput.md +44 -0
- data/docs/VerificationProfileResponse.md +28 -0
- data/docs/VerificationProfilesApi.md +231 -0
- data/lib/trinsic_api/api/environment_redirect_uris_api.rb +228 -0
- data/lib/trinsic_api/api/verification_profiles_api.rb +273 -0
- data/lib/trinsic_api/models/add_redirect_uri_response.rb +237 -0
- data/lib/trinsic_api/models/attachment_access_keys.rb +11 -1
- data/lib/trinsic_api/models/contract_field.rb +28 -1
- data/lib/trinsic_api/models/contract_identifier_field.rb +315 -0
- data/lib/trinsic_api/models/create_verification_profile_response.rb +238 -0
- data/lib/trinsic_api/models/environment_redirect_uris_add_request.rb +237 -0
- data/lib/trinsic_api/models/fayda_provider_output.rb +222 -0
- data/lib/trinsic_api/models/identifier.rb +289 -0
- data/lib/trinsic_api/models/identity_data.rb +43 -5
- data/lib/trinsic_api/models/kenya_nid_biometric2_input.rb +246 -0
- data/lib/trinsic_api/models/kenya_nid_input.rb +1 -1
- data/lib/trinsic_api/models/kenya_nid_lookup2_input.rb +222 -0
- data/lib/trinsic_api/models/kenya_nid_match2_input.rb +299 -0
- data/lib/trinsic_api/models/list_environment_redirect_uris_response.rb +268 -0
- data/lib/trinsic_api/models/list_verification_profiles_response.rb +266 -0
- data/lib/trinsic_api/models/mexico_curp_provider_output.rb +222 -0
- data/lib/trinsic_api/models/nigeria_nin_input.rb +1 -1
- data/lib/trinsic_api/models/philippines_digital_nid_provider_output.rb +238 -0
- data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +238 -0
- data/lib/trinsic_api/models/provider_contract.rb +14 -1
- data/lib/trinsic_api/models/provider_input.rb +45 -1
- data/lib/trinsic_api/models/provider_output.rb +261 -0
- data/lib/trinsic_api/models/redirect_uri_response.rb +263 -0
- data/lib/trinsic_api/models/sex_v1.rb +42 -0
- data/lib/trinsic_api/models/south_africa_nid_input.rb +1 -1
- data/lib/trinsic_api/models/south_africa_nid_lookup2_input.rb +222 -0
- data/lib/trinsic_api/models/spid_billing_information.rb +293 -0
- data/lib/trinsic_api/models/spid_input.rb +16 -5
- data/lib/trinsic_api/models/spid_provider_output.rb +397 -0
- data/lib/trinsic_api/models/verification_profile_response.rb +375 -0
- data/lib/trinsic_api/version.rb +1 -1
- data/lib/trinsic_api.rb +23 -0
- data/spec/api/environment_redirect_uris_api_spec.rb +72 -0
- data/spec/api/verification_profiles_api_spec.rb +76 -0
- data/spec/models/add_redirect_uri_response_spec.rb +36 -0
- data/spec/models/attachment_access_keys_spec.rb +6 -0
- data/spec/models/contract_field_spec.rb +6 -0
- data/spec/models/contract_identifier_field_spec.rb +48 -0
- data/spec/models/create_verification_profile_response_spec.rb +36 -0
- data/spec/models/environment_redirect_uris_add_request_spec.rb +36 -0
- data/spec/models/fayda_provider_output_spec.rb +36 -0
- data/spec/models/identifier_spec.rb +48 -0
- data/spec/models/identity_data_spec.rb +12 -0
- data/spec/models/kenya_nid_biometric2_input_spec.rb +48 -0
- data/spec/models/kenya_nid_lookup2_input_spec.rb +36 -0
- data/spec/models/kenya_nid_match2_input_spec.rb +66 -0
- data/spec/models/list_environment_redirect_uris_response_spec.rb +42 -0
- data/spec/models/list_verification_profiles_response_spec.rb +42 -0
- data/spec/models/mexico_curp_provider_output_spec.rb +36 -0
- data/spec/models/philippines_digital_nid_provider_output_spec.rb +36 -0
- data/spec/models/philippines_physical_nid_provider_output_spec.rb +36 -0
- data/spec/models/provider_contract_spec.rb +6 -0
- data/spec/models/provider_input_spec.rb +24 -0
- data/spec/models/provider_output_spec.rb +60 -0
- data/spec/models/redirect_uri_response_spec.rb +42 -0
- data/spec/models/sex_v1_spec.rb +30 -0
- data/spec/models/south_africa_nid_lookup2_input_spec.rb +36 -0
- data/spec/models/spid_billing_information_spec.rb +48 -0
- data/spec/models/spid_input_spec.rb +6 -0
- data/spec/models/spid_provider_output_spec.rb +114 -0
- data/spec/models/verification_profile_response_spec.rb +66 -0
- metadata +94 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ceb20a76b3ebff0814c4e9ef9a7043835e84d821a8121a43af33379a1593a76c
|
|
4
|
+
data.tar.gz: 4752bcc20ae9699e9882c01285f4b8336eb8d7b93e345c65d8b4c17b7a0d93f7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
```
|
data/docs/ContractField.md
CHANGED
|
@@ -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://
|
|
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://
|
|
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 \"*\" 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
|
+
|
data/docs/Identifier.md
ADDED
|
@@ -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<Identifier>**](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
|
|
data/docs/IntegrationStep.md
CHANGED
|
@@ -15,7 +15,7 @@ require 'trinsic_api'
|
|
|
15
15
|
|
|
16
16
|
instance = TrinsicApi::IntegrationStep.new(
|
|
17
17
|
method: null,
|
|
18
|
-
content: https://
|
|
18
|
+
content: https://verify.trinsic.id/api/session/launch?clientToken=...,
|
|
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's Kenyan National ID number | [optional] |
|
|
8
|
+
| **liveness_images** | **Array<String>** | 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
|
+
|
data/docs/KenyaNidInput.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
| **last_name** | **String** | The user's middle name as it appears in their National ID (optional) | |
|
|
10
10
|
| **date_of_birth** | **Date** | The user's date of birth, in `YYYY-MM-DD` format | |
|
|
11
11
|
| **gender** | **String** | The user's gender as it appears in their National ID (e.g., male, female) | |
|
|
12
|
-
| **national_id_number** | **String** | The user's
|
|
12
|
+
| **national_id_number** | **String** | The user'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'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's Kenyan National ID number | [optional] |
|
|
8
|
+
| **given_name** | **String** | The user's first name as it appears in their National ID | [optional] |
|
|
9
|
+
| **family_name** | **String** | The user's last name as it appears in their National ID | [optional] |
|
|
10
|
+
| **middle_name** | **String** | The user's middle name as it appears in their National ID (optional) | [optional] |
|
|
11
|
+
| **date_of_birth** | **Date** | The user's date of birth, in `YYYY-MM-DD` format | [optional] |
|
|
12
|
+
| **sex** | [**SexV1**](SexV1.md) | The user'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<RedirectUriResponse>**](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<VerificationProfileResponse>**](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
|
+
|
data/docs/NigeriaNinInput.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
| **phone_number** | **String** | The user's phone number (optional) | [optional] |
|
|
11
11
|
| **date_of_birth** | **Date** | The user's date of birth, in `YYYY-MM-DD` format | |
|
|
12
12
|
| **gender** | **String** | The user's gender as it appears in their National ID (e.g., male, female) | [optional] |
|
|
13
|
-
| **national_id_number** | **String** | The user's
|
|
13
|
+
| **national_id_number** | **String** | The user'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
|
+
|
data/docs/ProviderContract.md
CHANGED
|
@@ -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 `false`, 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 `false`, 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<ContractField>**](ContractField.md) | Information about the fields that this Provider will return in verification results. | [optional] |
|
|
24
|
+
| **available_identifiers** | [**Array<ContractIdentifierField>**](ContractIdentifierField.md) | Information about the identifiers this Provider returns in verification results. | [optional] |
|
|
24
25
|
| **sub_providers** | [**Array<SubProviderMetadata>**](SubProviderMetadata.md) | Metadata about the sub-providers which are available for this Provider. For example, Italy'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
|
)
|