trinsic_api 1.2.0 → 2.0.0.pre.alpha3
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/AadhaarInput.md +20 -0
- data/docs/Address.md +3 -3
- data/docs/AttachmentAccessKeys.md +7 -5
- data/docs/BangladeshNationalIdInput.md +24 -0
- data/docs/BrazilCpfCheckInput.md +18 -0
- data/docs/BrazilDigitalCnhInput.md +24 -0
- data/docs/CreateAdvancedProviderSessionRequest.md +26 -0
- data/docs/CreateAdvancedProviderSessionResponse.md +22 -0
- data/docs/CreateHostedProviderSessionRequest.md +22 -0
- data/docs/CreateHostedProviderSessionResponse.md +20 -0
- data/docs/CreateWidgetSessionRequest.md +22 -0
- data/docs/{CreateSessionResponse.md → CreateWidgetSessionResponse.md} +5 -5
- data/docs/DocumentData.md +3 -3
- data/docs/DocumentScanAttachments.md +18 -0
- data/docs/{SessionState.md → DocumentType.md} +2 -2
- data/docs/HttpValidationProblemDetails.md +28 -0
- data/docs/IdentityData.md +4 -4
- data/docs/IndonesiaNikInput.md +22 -0
- data/docs/{FailureMessage.md → IntegrationCapability.md} +2 -5
- data/docs/IntegrationLaunchMethod.md +15 -0
- data/docs/IntegrationStep.md +22 -0
- data/docs/KenyaNidInput.md +28 -0
- data/docs/KnownAddress.md +3 -1
- data/docs/KnownPersonData.md +4 -0
- data/docs/MexicoCurpInput.md +18 -0
- data/docs/NetworkApi.md +2 -72
- data/docs/NigeriaNinInput.md +30 -0
- data/docs/PersonData.md +14 -12
- data/docs/PhilippineMatchInput.md +26 -0
- data/docs/PhilippineQRInput.md +20 -0
- data/docs/ProblemDetails.md +26 -0
- data/docs/ProviderAttachments.md +18 -0
- data/docs/ProviderInfo.md +3 -1
- data/docs/ProviderInput.md +38 -0
- data/docs/RecommendRequest.md +7 -3
- data/docs/RefreshStepContentRequest.md +18 -0
- data/docs/RefreshStepContentResponse.md +18 -0
- data/docs/ResultCollection.md +20 -0
- data/docs/ResultCollectionMethod.md +15 -0
- data/docs/Session.md +6 -8
- data/docs/{VerificationFailCode.md → SessionErrorCode.md} +2 -2
- data/docs/SessionsApi.md +236 -18
- data/docs/{SessionFailCode.md → Sex.md} +2 -2
- data/docs/SouthAfricaNidInput.md +24 -0
- data/docs/StepRefreshInfo.md +22 -0
- data/lib/trinsic_api/api/attachments_api.rb +1 -1
- data/lib/trinsic_api/api/network_api.rb +3 -66
- data/lib/trinsic_api/api/sessions_api.rb +217 -19
- data/lib/trinsic_api/api_client.rb +1 -1
- data/lib/trinsic_api/api_error.rb +1 -1
- data/lib/trinsic_api/configuration.rb +1 -1
- data/lib/trinsic_api/models/{validation_result.rb → aadhaar_input.rb} +21 -26
- data/lib/trinsic_api/models/address.rb +16 -10
- data/lib/trinsic_api/models/attachment_access_keys.rb +25 -10
- data/lib/trinsic_api/models/bangladesh_national_id_input.rb +249 -0
- data/lib/trinsic_api/models/brazil_cpf_check_input.rb +261 -0
- data/lib/trinsic_api/models/brazil_digital_cnh_input.rb +294 -0
- data/lib/trinsic_api/models/cancel_session_response.rb +1 -1
- data/lib/trinsic_api/models/create_advanced_provider_session_request.rb +312 -0
- data/lib/trinsic_api/models/create_advanced_provider_session_response.rb +256 -0
- data/lib/trinsic_api/models/create_hosted_provider_session_request.rb +288 -0
- data/lib/trinsic_api/models/create_hosted_provider_session_response.rb +233 -0
- data/lib/trinsic_api/models/create_widget_session_request.rb +240 -0
- data/lib/trinsic_api/models/{create_session_response.rb → create_widget_session_response.rb} +18 -17
- data/lib/trinsic_api/models/document_data.rb +32 -4
- data/lib/trinsic_api/models/{failure_message.rb → document_scan_attachments.rb} +12 -18
- data/lib/trinsic_api/models/{session_state.rb → document_type.rb} +9 -11
- data/lib/trinsic_api/models/get_attachment_request.rb +1 -1
- data/lib/trinsic_api/models/get_attachment_response.rb +1 -1
- data/lib/trinsic_api/models/get_session_response.rb +1 -1
- data/lib/trinsic_api/models/get_session_result_request.rb +1 -1
- data/lib/trinsic_api/models/get_session_result_response.rb +2 -1
- data/lib/trinsic_api/models/http_validation_problem_details.rb +273 -0
- data/lib/trinsic_api/models/identity_data.rb +5 -5
- data/lib/trinsic_api/models/{disclosed_fields_request.rb → indonesia_nik_input.rb} +94 -93
- data/lib/trinsic_api/models/integration_capability.rb +44 -0
- data/lib/trinsic_api/models/integration_launch_method.rb +42 -0
- data/lib/trinsic_api/models/integration_step.rb +275 -0
- data/lib/trinsic_api/models/kenya_nid_input.rb +397 -0
- data/lib/trinsic_api/models/known_address.rb +20 -2
- data/lib/trinsic_api/models/known_identity_data.rb +2 -1
- data/lib/trinsic_api/models/known_person_data.rb +30 -2
- data/lib/trinsic_api/models/list_providers_response.rb +1 -1
- data/lib/trinsic_api/models/list_sessions_response.rb +1 -1
- data/lib/trinsic_api/models/mexico_curp_input.rb +250 -0
- data/lib/trinsic_api/models/nigeria_nin_input.rb +383 -0
- data/lib/trinsic_api/models/order_direction.rb +1 -1
- data/lib/trinsic_api/models/person_data.rb +50 -15
- data/lib/trinsic_api/models/philippine_match_input.rb +260 -0
- data/lib/trinsic_api/models/philippine_qr_input.rb +227 -0
- data/lib/trinsic_api/models/problem_details.rb +255 -0
- data/lib/trinsic_api/models/provider_attachments.rb +215 -0
- data/lib/trinsic_api/models/provider_info.rb +18 -5
- data/lib/trinsic_api/models/provider_information.rb +1 -1
- data/lib/trinsic_api/models/{create_session_request.rb → provider_input.rb} +111 -42
- data/lib/trinsic_api/models/recommend_request.rb +38 -18
- data/lib/trinsic_api/models/recommend_response.rb +1 -1
- data/lib/trinsic_api/models/refresh_step_content_request.rb +216 -0
- data/lib/trinsic_api/models/{identity_lookup_response.rb → refresh_step_content_response.rb} +16 -16
- data/lib/trinsic_api/models/{verification.rb → result_collection.rb} +27 -20
- data/lib/trinsic_api/models/result_collection_method.rb +40 -0
- data/lib/trinsic_api/models/session.rb +32 -48
- data/lib/trinsic_api/models/session_error_code.rb +48 -0
- data/lib/trinsic_api/models/session_ordering.rb +1 -1
- data/lib/trinsic_api/models/sex.rb +42 -0
- data/lib/trinsic_api/models/{disclosed_fields.rb → south_africa_nid_input.rb} +107 -154
- data/lib/trinsic_api/models/step_refresh_info.rb +256 -0
- data/lib/trinsic_api/version.rb +2 -2
- data/lib/trinsic_api.rb +34 -12
- data/spec/api/attachments_api_spec.rb +1 -1
- data/spec/api/network_api_spec.rb +2 -14
- data/spec/api/sessions_api_spec.rb +44 -7
- data/spec/models/{verification_spec.rb → aadhaar_input_spec.rb} +9 -9
- data/spec/models/address_spec.rb +2 -2
- data/spec/models/attachment_access_keys_spec.rb +7 -1
- data/spec/models/bangladesh_national_id_input_spec.rb +54 -0
- data/spec/models/{identity_lookup_response_spec.rb → brazil_cpf_check_input_spec.rb} +8 -8
- data/spec/models/brazil_digital_cnh_input_spec.rb +54 -0
- data/spec/models/cancel_session_response_spec.rb +1 -1
- data/spec/models/create_advanced_provider_session_request_spec.rb +60 -0
- data/spec/models/create_advanced_provider_session_response_spec.rb +48 -0
- data/spec/models/create_hosted_provider_session_request_spec.rb +48 -0
- data/spec/models/create_hosted_provider_session_response_spec.rb +42 -0
- data/spec/models/create_widget_session_request_spec.rb +48 -0
- data/spec/models/{create_session_response_spec.rb → create_widget_session_response_spec.rb} +8 -8
- data/spec/models/document_data_spec.rb +1 -1
- data/spec/models/document_scan_attachments_spec.rb +36 -0
- data/spec/models/{session_state_spec.rb → document_type_spec.rb} +7 -7
- data/spec/models/get_attachment_request_spec.rb +1 -1
- data/spec/models/get_attachment_response_spec.rb +1 -1
- data/spec/models/get_session_response_spec.rb +1 -1
- data/spec/models/get_session_result_request_spec.rb +1 -1
- data/spec/models/get_session_result_response_spec.rb +1 -1
- data/spec/models/http_validation_problem_details_spec.rb +66 -0
- data/spec/models/identity_data_spec.rb +1 -1
- data/spec/models/indonesia_nik_input_spec.rb +48 -0
- data/spec/models/integration_capability_spec.rb +30 -0
- data/spec/models/integration_launch_method_spec.rb +30 -0
- data/spec/models/integration_step_spec.rb +48 -0
- data/spec/models/kenya_nid_input_spec.rb +66 -0
- data/spec/models/known_address_spec.rb +7 -1
- data/spec/models/known_identity_data_spec.rb +1 -1
- data/spec/models/known_person_data_spec.rb +13 -1
- data/spec/models/list_providers_response_spec.rb +1 -1
- data/spec/models/list_sessions_response_spec.rb +1 -1
- data/spec/models/{failure_message_spec.rb → mexico_curp_input_spec.rb} +8 -8
- data/spec/models/nigeria_nin_input_spec.rb +72 -0
- data/spec/models/order_direction_spec.rb +1 -1
- data/spec/models/person_data_spec.rb +8 -2
- data/spec/models/{create_session_request_spec.rb → philippine_match_input_spec.rb} +12 -12
- data/spec/models/philippine_qr_input_spec.rb +42 -0
- data/spec/models/problem_details_spec.rb +60 -0
- data/spec/models/provider_attachments_spec.rb +36 -0
- data/spec/models/provider_info_spec.rb +7 -1
- data/spec/models/provider_information_spec.rb +1 -1
- data/spec/models/{disclosed_fields_spec.rb → provider_input_spec.rb} +18 -24
- data/spec/models/recommend_request_spec.rb +14 -2
- data/spec/models/recommend_response_spec.rb +1 -1
- data/spec/models/refresh_step_content_request_spec.rb +36 -0
- data/spec/models/refresh_step_content_response_spec.rb +36 -0
- data/spec/models/result_collection_method_spec.rb +30 -0
- data/spec/models/{validation_result_spec.rb → result_collection_spec.rb} +9 -9
- data/spec/models/{verification_fail_code_spec.rb → session_error_code_spec.rb} +7 -7
- data/spec/models/session_ordering_spec.rb +1 -1
- data/spec/models/session_spec.rb +4 -10
- data/spec/models/{session_fail_code_spec.rb → sex_spec.rb} +7 -7
- data/spec/models/south_africa_nid_input_spec.rb +54 -0
- data/spec/models/step_refresh_info_spec.rb +48 -0
- data/spec/spec_helper.rb +1 -1
- data/trinsic_api.gemspec +1 -1
- metadata +154 -66
- data/docs/CreateSessionRequest.md +0 -26
- data/docs/DisclosedFields.md +0 -40
- data/docs/DisclosedFieldsRequest.md +0 -40
- data/docs/IdentityLookupResponse.md +0 -18
- data/docs/ValidationResult.md +0 -20
- data/docs/Verification.md +0 -20
- data/lib/trinsic_api/models/session_fail_code.rb +0 -45
- data/lib/trinsic_api/models/verification_fail_code.rb +0 -44
- data/spec/models/disclosed_fields_request_spec.rb +0 -102
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# TrinsicApi::NigeriaNinInput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **first_name** | **String** | The user's first name as it appears in their National ID | |
|
|
8
|
+
| **middle_name** | **String** | The user's middle name as it appears in their National ID (optional) | [optional] |
|
|
9
|
+
| **last_name** | **String** | The user's last name as it appears in their National ID (optional) | |
|
|
10
|
+
| **phone_number** | **String** | The user's phone number (optional) | [optional] |
|
|
11
|
+
| **date_of_birth** | **Date** | The user's date of birth, in `YYYY-MM-DD` format | |
|
|
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 South African National ID number | |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'trinsic_api'
|
|
19
|
+
|
|
20
|
+
instance = TrinsicApi::NigeriaNinInput.new(
|
|
21
|
+
first_name: null,
|
|
22
|
+
middle_name: null,
|
|
23
|
+
last_name: null,
|
|
24
|
+
phone_number: null,
|
|
25
|
+
date_of_birth: null,
|
|
26
|
+
gender: null,
|
|
27
|
+
national_id_number: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
data/docs/PersonData.md
CHANGED
|
@@ -4,15 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **given_name** | **String** |
|
|
8
|
-
| **family_name** | **String** |
|
|
9
|
-
| **middle_name** | **String** |
|
|
10
|
-
| **full_name** | **String** |
|
|
7
|
+
| **given_name** | **String** | | [optional] |
|
|
8
|
+
| **family_name** | **String** | | [optional] |
|
|
9
|
+
| **middle_name** | **String** | | [optional] |
|
|
10
|
+
| **full_name** | **String** | | [optional] |
|
|
11
|
+
| **suffix** | **String** | | [optional] |
|
|
11
12
|
| **nationality** | **String** | | [optional] |
|
|
12
|
-
| **
|
|
13
|
+
| **sex** | [**Sex**](Sex.md) | | [optional] |
|
|
13
14
|
| **phone_number** | **String** | | [optional] |
|
|
14
|
-
| **address** | [**Address**](Address.md) |
|
|
15
|
-
| **date_of_birth** | **
|
|
15
|
+
| **address** | [**Address**](Address.md) | | [optional] |
|
|
16
|
+
| **date_of_birth** | **Date** | | [optional] |
|
|
16
17
|
|
|
17
18
|
## Example
|
|
18
19
|
|
|
@@ -20,12 +21,13 @@
|
|
|
20
21
|
require 'trinsic_api'
|
|
21
22
|
|
|
22
23
|
instance = TrinsicApi::PersonData.new(
|
|
23
|
-
given_name:
|
|
24
|
-
family_name:
|
|
25
|
-
middle_name:
|
|
26
|
-
full_name:
|
|
24
|
+
given_name: null,
|
|
25
|
+
family_name: null,
|
|
26
|
+
middle_name: null,
|
|
27
|
+
full_name: null,
|
|
28
|
+
suffix: null,
|
|
27
29
|
nationality: null,
|
|
28
|
-
|
|
30
|
+
sex: null,
|
|
29
31
|
phone_number: null,
|
|
30
32
|
address: null,
|
|
31
33
|
date_of_birth: null
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# TrinsicApi::PhilippineMatchInput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **given_name** | **String** | The user's given / first name | [optional] |
|
|
8
|
+
| **middle_name** | **String** | The user's middle name | [optional] |
|
|
9
|
+
| **family_name** | **String** | The user's family / last name | [optional] |
|
|
10
|
+
| **suffix** | **String** | The user's name suffix | [optional] |
|
|
11
|
+
| **date_of_birth** | **Date** | The user's date of birth, in `YYYY-MM-DD` format | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'trinsic_api'
|
|
17
|
+
|
|
18
|
+
instance = TrinsicApi::PhilippineMatchInput.new(
|
|
19
|
+
given_name: null,
|
|
20
|
+
middle_name: null,
|
|
21
|
+
family_name: null,
|
|
22
|
+
suffix: null,
|
|
23
|
+
date_of_birth: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# TrinsicApi::PhilippineQRInput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **qr_code_text** | **String** | The raw text of the user's QR code after decoding it. | [optional] |
|
|
8
|
+
| **qr_code_image** | **String** | The raw bytes of the image containing the user's QR code. | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'trinsic_api'
|
|
14
|
+
|
|
15
|
+
instance = TrinsicApi::PhilippineQRInput.new(
|
|
16
|
+
qr_code_text: null,
|
|
17
|
+
qr_code_image: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# TrinsicApi::ProblemDetails
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **type** | **String** | | [optional] |
|
|
8
|
+
| **title** | **String** | | [optional] |
|
|
9
|
+
| **status** | **Integer** | | [optional] |
|
|
10
|
+
| **detail** | **String** | | [optional] |
|
|
11
|
+
| **instance** | **String** | | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'trinsic_api'
|
|
17
|
+
|
|
18
|
+
instance = TrinsicApi::ProblemDetails.new(
|
|
19
|
+
type: null,
|
|
20
|
+
title: null,
|
|
21
|
+
status: null,
|
|
22
|
+
detail: null,
|
|
23
|
+
instance: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# TrinsicApi::ProviderAttachments
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **document_scan** | [**DocumentScanAttachments**](DocumentScanAttachments.md) | | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'trinsic_api'
|
|
13
|
+
|
|
14
|
+
instance = TrinsicApi::ProviderAttachments.new(
|
|
15
|
+
document_scan: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
data/docs/ProviderInfo.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
| **id** | **String** | The ID of the provider | |
|
|
8
8
|
| **name** | **String** | The friendly, human-readable name of the provider | |
|
|
9
9
|
| **logo_url** | **String** | A URL pointing to the provider's logo | |
|
|
10
|
+
| **child_provider_ids** | **Array<String>** | List of child provider id's where the provider allows deep-launching of a specific provider. | [optional] |
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,7 +17,8 @@ require 'trinsic_api'
|
|
|
16
17
|
instance = TrinsicApi::ProviderInfo.new(
|
|
17
18
|
id: yoti | clear | ...,
|
|
18
19
|
name: Yoti | CLEAR | ...,
|
|
19
|
-
logo_url: null
|
|
20
|
+
logo_url: null,
|
|
21
|
+
child_provider_ids: null
|
|
20
22
|
)
|
|
21
23
|
```
|
|
22
24
|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# TrinsicApi::ProviderInput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **indonesia_nik** | [**IndonesiaNikInput**](IndonesiaNikInput.md) | Input for the `f-indonesia-nik` integration | [optional] |
|
|
8
|
+
| **mexico_curp** | [**MexicoCurpInput**](MexicoCurpInput.md) | Input for the `f-mexico-curp` integration | [optional] |
|
|
9
|
+
| **south_africa_nid** | [**SouthAfricaNidInput**](SouthAfricaNidInput.md) | Input for the `f-south-africa-nid` integration | [optional] |
|
|
10
|
+
| **kenya_nid** | [**KenyaNidInput**](KenyaNidInput.md) | Input for the `f-kenya-nid` integration | [optional] |
|
|
11
|
+
| **nigeria_nin** | [**NigeriaNinInput**](NigeriaNinInput.md) | Input for the `f-nigeria-nin` integration | [optional] |
|
|
12
|
+
| **aadhaar** | [**AadhaarInput**](AadhaarInput.md) | Input for the `f-india-aadhaar-match` integration | [optional] |
|
|
13
|
+
| **bangladesh_national_id** | [**BangladeshNationalIdInput**](BangladeshNationalIdInput.md) | Input for the `bangladesh-nid` integration | [optional] |
|
|
14
|
+
| **brazil_cpf_check** | [**BrazilCpfCheckInput**](BrazilCpfCheckInput.md) | Input for the `g-brazil-cpf` integration | [optional] |
|
|
15
|
+
| **brazil_digital_cnh** | [**BrazilDigitalCnhInput**](BrazilDigitalCnhInput.md) | Input for the `g-brazil-digital-cnh` integration | [optional] |
|
|
16
|
+
| **philippine_match** | [**PhilippineMatchInput**](PhilippineMatchInput.md) | Input for the `b-philsys-biometric` integration | [optional] |
|
|
17
|
+
| **philippine_qr** | [**PhilippineQRInput**](PhilippineQRInput.md) | Input for the `b-philippine-qr-digital-national-id` and `b-philippine-qr-ephill-id` integrations | [optional] |
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
require 'trinsic_api'
|
|
23
|
+
|
|
24
|
+
instance = TrinsicApi::ProviderInput.new(
|
|
25
|
+
indonesia_nik: null,
|
|
26
|
+
mexico_curp: null,
|
|
27
|
+
south_africa_nid: null,
|
|
28
|
+
kenya_nid: null,
|
|
29
|
+
nigeria_nin: null,
|
|
30
|
+
aadhaar: null,
|
|
31
|
+
bangladesh_national_id: null,
|
|
32
|
+
brazil_cpf_check: null,
|
|
33
|
+
brazil_digital_cnh: null,
|
|
34
|
+
philippine_match: null,
|
|
35
|
+
philippine_qr: null
|
|
36
|
+
)
|
|
37
|
+
```
|
|
38
|
+
|
data/docs/RecommendRequest.md
CHANGED
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **phone_number** | **String** | The phone number of the user you
|
|
7
|
+
| **phone_number** | **String** | The phone number of the user you wish to generate a recommendation for. Will be used to look up the user's identity in the network | [optional] |
|
|
8
8
|
| **countries** | **Array<String>** | A list of countries, in alpha-2 ISO 3166 format, you wish to specify for the recommendation, this can include the user's country of residence, nationality, etc. | [optional] |
|
|
9
|
-
| **
|
|
9
|
+
| **subdivisions** | **Array<String>** | If one of the countries has subdivisions, for example the US states, you can specify a list of these to further refine the recommendation (e.g., CA, UT, NY) | [optional] |
|
|
10
|
+
| **ip_addresses** | **Array<String>** | Provide the IP addresses of the user you wish to generate a recommendation for. Will be used to look up the user's geographic location. | [optional] |
|
|
11
|
+
| **include_disabled_providers** | **Boolean** | If true, the recommendation will include providers that are disabled for the app | [optional] |
|
|
10
12
|
|
|
11
13
|
## Example
|
|
12
14
|
|
|
@@ -16,7 +18,9 @@ require 'trinsic_api'
|
|
|
16
18
|
instance = TrinsicApi::RecommendRequest.new(
|
|
17
19
|
phone_number: null,
|
|
18
20
|
countries: null,
|
|
19
|
-
|
|
21
|
+
subdivisions: null,
|
|
22
|
+
ip_addresses: null,
|
|
23
|
+
include_disabled_providers: null
|
|
20
24
|
)
|
|
21
25
|
```
|
|
22
26
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# TrinsicApi::RefreshStepContentRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **results_access_key** | **String** | The `ResultsAccessKey` returned when the Session was created | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'trinsic_api'
|
|
13
|
+
|
|
14
|
+
instance = TrinsicApi::RefreshStepContentRequest.new(
|
|
15
|
+
results_access_key: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# TrinsicApi::RefreshStepContentResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **next_step** | [**IntegrationStep**](IntegrationStep.md) | The integration's next step with refreshed content | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'trinsic_api'
|
|
13
|
+
|
|
14
|
+
instance = TrinsicApi::RefreshStepContentResponse.new(
|
|
15
|
+
next_step: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# TrinsicApi::ResultCollection
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **method** | [**ResultCollectionMethod**](ResultCollectionMethod.md) | The method by which the results of the Acceptance Session should be collected. | |
|
|
8
|
+
| **results_access_key** | **String** | If the method is `PollResult`, this is the key that should be used to poll for the results. | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'trinsic_api'
|
|
14
|
+
|
|
15
|
+
instance = TrinsicApi::ResultCollection.new(
|
|
16
|
+
method: null,
|
|
17
|
+
results_access_key: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# TrinsicApi::ResultCollectionMethod
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
|
|
8
|
+
## Example
|
|
9
|
+
|
|
10
|
+
```ruby
|
|
11
|
+
require 'trinsic_api'
|
|
12
|
+
|
|
13
|
+
instance = TrinsicApi::ResultCollectionMethod.new()
|
|
14
|
+
```
|
|
15
|
+
|
data/docs/Session.md
CHANGED
|
@@ -5,10 +5,9 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **id** | **String** | | |
|
|
8
|
-
| **
|
|
9
|
-
| **
|
|
10
|
-
| **
|
|
11
|
-
| **disclosed_fields** | [**DisclosedFields**](DisclosedFields.md) | The fields that were requested to be disclosed when the Session was created | |
|
|
8
|
+
| **done** | **Boolean** | Whether the Session is in a terminal / final state. If this is `true`, inspect the value of `Success` to determine whether the Session was successful. | |
|
|
9
|
+
| **success** | **Boolean** | Whether the Session has completed successfully. If this is `false`, the Session is either not yet done, or has failed. Inspect `Done` and `ErrorCode` for more information. If this is `true`, the Session has completed successfully. | |
|
|
10
|
+
| **error_code** | [**SessionErrorCode**](SessionErrorCode.md) | The reason for the Session's failure. Only present if `Success` is `false`. | [optional] |
|
|
12
11
|
| **created** | **Integer** | The unix timestamp, in seconds, when this session was created | |
|
|
13
12
|
| **updated** | **Integer** | The unix timestamp, in seconds, when this session's state last changed | |
|
|
14
13
|
|
|
@@ -19,10 +18,9 @@ require 'trinsic_api'
|
|
|
19
18
|
|
|
20
19
|
instance = TrinsicApi::Session.new(
|
|
21
20
|
id: 678c1ff6-2178-49e7-81d2-548afb6f85ec,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
disclosed_fields: null,
|
|
21
|
+
done: null,
|
|
22
|
+
success: null,
|
|
23
|
+
error_code: null,
|
|
26
24
|
created: 1722526411,
|
|
27
25
|
updated: 1722526722
|
|
28
26
|
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# TrinsicApi::
|
|
1
|
+
# TrinsicApi::SessionErrorCode
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
```ruby
|
|
11
11
|
require 'trinsic_api'
|
|
12
12
|
|
|
13
|
-
instance = TrinsicApi::
|
|
13
|
+
instance = TrinsicApi::SessionErrorCode.new()
|
|
14
14
|
```
|
|
15
15
|
|