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
data/spec/models/session_spec.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#Trinsic API
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
@@ -33,25 +33,19 @@ describe TrinsicApi::Session do
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
describe 'test attribute "
|
36
|
+
describe 'test attribute "done"' do
|
37
37
|
it 'should work' do
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
-
describe 'test attribute "
|
42
|
+
describe 'test attribute "success"' do
|
43
43
|
it 'should work' do
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
-
describe 'test attribute "
|
49
|
-
it 'should work' do
|
50
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
-
end
|
52
|
-
end
|
53
|
-
|
54
|
-
describe 'test attribute "disclosed_fields"' do
|
48
|
+
describe 'test attribute "error_code"' do
|
55
49
|
it 'should work' do
|
56
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
51
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#Trinsic API
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
@@ -14,16 +14,16 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for TrinsicApi::
|
17
|
+
# Unit tests for TrinsicApi::Sex
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe TrinsicApi::
|
21
|
-
let(:instance) { TrinsicApi::
|
20
|
+
describe TrinsicApi::Sex do
|
21
|
+
let(:instance) { TrinsicApi::Sex.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
23
|
+
describe 'test an instance of Sex' do
|
24
|
+
it 'should create an instance of Sex' do
|
25
25
|
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(TrinsicApi::
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::Sex)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
@@ -0,0 +1,54 @@
|
|
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.8.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TrinsicApi::SouthAfricaNidInput
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::SouthAfricaNidInput do
|
21
|
+
let(:instance) { TrinsicApi::SouthAfricaNidInput.new }
|
22
|
+
|
23
|
+
describe 'test an instance of SouthAfricaNidInput' do
|
24
|
+
it 'should create an instance of SouthAfricaNidInput' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::SouthAfricaNidInput)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "full_name"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "date_of_birth"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "gender"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "national_id_number"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
@@ -0,0 +1,48 @@
|
|
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.8.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TrinsicApi::StepRefreshInfo
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::StepRefreshInfo do
|
21
|
+
let(:instance) { TrinsicApi::StepRefreshInfo.new }
|
22
|
+
|
23
|
+
describe 'test an instance of StepRefreshInfo' do
|
24
|
+
it 'should create an instance of StepRefreshInfo' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::StepRefreshInfo)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "expires_at"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "refresh_after"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "time_to_live_seconds"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
end
|
data/spec/spec_helper.rb
CHANGED
data/trinsic_api.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trinsic_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0.pre.alpha3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Trinsic
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -61,43 +61,65 @@ files:
|
|
61
61
|
- LICENSE
|
62
62
|
- README.md
|
63
63
|
- Rakefile
|
64
|
+
- docs/AadhaarInput.md
|
64
65
|
- docs/Address.md
|
65
66
|
- docs/AttachmentAccessKeys.md
|
66
67
|
- docs/AttachmentsApi.md
|
68
|
+
- docs/BangladeshNationalIdInput.md
|
69
|
+
- docs/BrazilCpfCheckInput.md
|
70
|
+
- docs/BrazilDigitalCnhInput.md
|
67
71
|
- docs/CancelSessionResponse.md
|
68
|
-
- docs/
|
69
|
-
- docs/
|
70
|
-
- docs/
|
71
|
-
- docs/
|
72
|
+
- docs/CreateAdvancedProviderSessionRequest.md
|
73
|
+
- docs/CreateAdvancedProviderSessionResponse.md
|
74
|
+
- docs/CreateHostedProviderSessionRequest.md
|
75
|
+
- docs/CreateHostedProviderSessionResponse.md
|
76
|
+
- docs/CreateWidgetSessionRequest.md
|
77
|
+
- docs/CreateWidgetSessionResponse.md
|
72
78
|
- docs/DocumentData.md
|
73
|
-
- docs/
|
79
|
+
- docs/DocumentScanAttachments.md
|
80
|
+
- docs/DocumentType.md
|
74
81
|
- docs/GetAttachmentRequest.md
|
75
82
|
- docs/GetAttachmentResponse.md
|
76
83
|
- docs/GetSessionResponse.md
|
77
84
|
- docs/GetSessionResultRequest.md
|
78
85
|
- docs/GetSessionResultResponse.md
|
86
|
+
- docs/HttpValidationProblemDetails.md
|
79
87
|
- docs/IdentityData.md
|
80
|
-
- docs/
|
88
|
+
- docs/IndonesiaNikInput.md
|
89
|
+
- docs/IntegrationCapability.md
|
90
|
+
- docs/IntegrationLaunchMethod.md
|
91
|
+
- docs/IntegrationStep.md
|
92
|
+
- docs/KenyaNidInput.md
|
81
93
|
- docs/KnownAddress.md
|
82
94
|
- docs/KnownIdentityData.md
|
83
95
|
- docs/KnownPersonData.md
|
84
96
|
- docs/ListProvidersResponse.md
|
85
97
|
- docs/ListSessionsResponse.md
|
98
|
+
- docs/MexicoCurpInput.md
|
86
99
|
- docs/NetworkApi.md
|
100
|
+
- docs/NigeriaNinInput.md
|
87
101
|
- docs/OrderDirection.md
|
88
102
|
- docs/PersonData.md
|
103
|
+
- docs/PhilippineMatchInput.md
|
104
|
+
- docs/PhilippineQRInput.md
|
105
|
+
- docs/ProblemDetails.md
|
106
|
+
- docs/ProviderAttachments.md
|
89
107
|
- docs/ProviderInfo.md
|
90
108
|
- docs/ProviderInformation.md
|
109
|
+
- docs/ProviderInput.md
|
91
110
|
- docs/RecommendRequest.md
|
92
111
|
- docs/RecommendResponse.md
|
112
|
+
- docs/RefreshStepContentRequest.md
|
113
|
+
- docs/RefreshStepContentResponse.md
|
114
|
+
- docs/ResultCollection.md
|
115
|
+
- docs/ResultCollectionMethod.md
|
93
116
|
- docs/Session.md
|
94
|
-
- docs/
|
117
|
+
- docs/SessionErrorCode.md
|
95
118
|
- docs/SessionOrdering.md
|
96
|
-
- docs/SessionState.md
|
97
119
|
- docs/SessionsApi.md
|
98
|
-
- docs/
|
99
|
-
- docs/
|
100
|
-
- docs/
|
120
|
+
- docs/Sex.md
|
121
|
+
- docs/SouthAfricaNidInput.md
|
122
|
+
- docs/StepRefreshInfo.md
|
101
123
|
- git_push.sh
|
102
124
|
- lib/trinsic_api.rb
|
103
125
|
- lib/trinsic_api/api/attachments_api.rb
|
@@ -106,85 +128,129 @@ files:
|
|
106
128
|
- lib/trinsic_api/api_client.rb
|
107
129
|
- lib/trinsic_api/api_error.rb
|
108
130
|
- lib/trinsic_api/configuration.rb
|
131
|
+
- lib/trinsic_api/models/aadhaar_input.rb
|
109
132
|
- lib/trinsic_api/models/address.rb
|
110
133
|
- lib/trinsic_api/models/attachment_access_keys.rb
|
134
|
+
- lib/trinsic_api/models/bangladesh_national_id_input.rb
|
135
|
+
- lib/trinsic_api/models/brazil_cpf_check_input.rb
|
136
|
+
- lib/trinsic_api/models/brazil_digital_cnh_input.rb
|
111
137
|
- lib/trinsic_api/models/cancel_session_response.rb
|
112
|
-
- lib/trinsic_api/models/
|
113
|
-
- lib/trinsic_api/models/
|
114
|
-
- lib/trinsic_api/models/
|
115
|
-
- lib/trinsic_api/models/
|
138
|
+
- lib/trinsic_api/models/create_advanced_provider_session_request.rb
|
139
|
+
- lib/trinsic_api/models/create_advanced_provider_session_response.rb
|
140
|
+
- lib/trinsic_api/models/create_hosted_provider_session_request.rb
|
141
|
+
- lib/trinsic_api/models/create_hosted_provider_session_response.rb
|
142
|
+
- lib/trinsic_api/models/create_widget_session_request.rb
|
143
|
+
- lib/trinsic_api/models/create_widget_session_response.rb
|
116
144
|
- lib/trinsic_api/models/document_data.rb
|
117
|
-
- lib/trinsic_api/models/
|
145
|
+
- lib/trinsic_api/models/document_scan_attachments.rb
|
146
|
+
- lib/trinsic_api/models/document_type.rb
|
118
147
|
- lib/trinsic_api/models/get_attachment_request.rb
|
119
148
|
- lib/trinsic_api/models/get_attachment_response.rb
|
120
149
|
- lib/trinsic_api/models/get_session_response.rb
|
121
150
|
- lib/trinsic_api/models/get_session_result_request.rb
|
122
151
|
- lib/trinsic_api/models/get_session_result_response.rb
|
152
|
+
- lib/trinsic_api/models/http_validation_problem_details.rb
|
123
153
|
- lib/trinsic_api/models/identity_data.rb
|
124
|
-
- lib/trinsic_api/models/
|
154
|
+
- lib/trinsic_api/models/indonesia_nik_input.rb
|
155
|
+
- lib/trinsic_api/models/integration_capability.rb
|
156
|
+
- lib/trinsic_api/models/integration_launch_method.rb
|
157
|
+
- lib/trinsic_api/models/integration_step.rb
|
158
|
+
- lib/trinsic_api/models/kenya_nid_input.rb
|
125
159
|
- lib/trinsic_api/models/known_address.rb
|
126
160
|
- lib/trinsic_api/models/known_identity_data.rb
|
127
161
|
- lib/trinsic_api/models/known_person_data.rb
|
128
162
|
- lib/trinsic_api/models/list_providers_response.rb
|
129
163
|
- lib/trinsic_api/models/list_sessions_response.rb
|
164
|
+
- lib/trinsic_api/models/mexico_curp_input.rb
|
165
|
+
- lib/trinsic_api/models/nigeria_nin_input.rb
|
130
166
|
- lib/trinsic_api/models/order_direction.rb
|
131
167
|
- lib/trinsic_api/models/person_data.rb
|
168
|
+
- lib/trinsic_api/models/philippine_match_input.rb
|
169
|
+
- lib/trinsic_api/models/philippine_qr_input.rb
|
170
|
+
- lib/trinsic_api/models/problem_details.rb
|
171
|
+
- lib/trinsic_api/models/provider_attachments.rb
|
132
172
|
- lib/trinsic_api/models/provider_info.rb
|
133
173
|
- lib/trinsic_api/models/provider_information.rb
|
174
|
+
- lib/trinsic_api/models/provider_input.rb
|
134
175
|
- lib/trinsic_api/models/recommend_request.rb
|
135
176
|
- lib/trinsic_api/models/recommend_response.rb
|
177
|
+
- lib/trinsic_api/models/refresh_step_content_request.rb
|
178
|
+
- lib/trinsic_api/models/refresh_step_content_response.rb
|
179
|
+
- lib/trinsic_api/models/result_collection.rb
|
180
|
+
- lib/trinsic_api/models/result_collection_method.rb
|
136
181
|
- lib/trinsic_api/models/session.rb
|
137
|
-
- lib/trinsic_api/models/
|
182
|
+
- lib/trinsic_api/models/session_error_code.rb
|
138
183
|
- lib/trinsic_api/models/session_ordering.rb
|
139
|
-
- lib/trinsic_api/models/
|
140
|
-
- lib/trinsic_api/models/
|
141
|
-
- lib/trinsic_api/models/
|
142
|
-
- lib/trinsic_api/models/verification_fail_code.rb
|
184
|
+
- lib/trinsic_api/models/sex.rb
|
185
|
+
- lib/trinsic_api/models/south_africa_nid_input.rb
|
186
|
+
- lib/trinsic_api/models/step_refresh_info.rb
|
143
187
|
- lib/trinsic_api/version.rb
|
144
188
|
- spec/api/attachments_api_spec.rb
|
145
189
|
- spec/api/network_api_spec.rb
|
146
190
|
- spec/api/sessions_api_spec.rb
|
191
|
+
- spec/models/aadhaar_input_spec.rb
|
147
192
|
- spec/models/address_spec.rb
|
148
193
|
- spec/models/attachment_access_keys_spec.rb
|
194
|
+
- spec/models/bangladesh_national_id_input_spec.rb
|
195
|
+
- spec/models/brazil_cpf_check_input_spec.rb
|
196
|
+
- spec/models/brazil_digital_cnh_input_spec.rb
|
149
197
|
- spec/models/cancel_session_response_spec.rb
|
150
|
-
- spec/models/
|
151
|
-
- spec/models/
|
152
|
-
- spec/models/
|
153
|
-
- spec/models/
|
198
|
+
- spec/models/create_advanced_provider_session_request_spec.rb
|
199
|
+
- spec/models/create_advanced_provider_session_response_spec.rb
|
200
|
+
- spec/models/create_hosted_provider_session_request_spec.rb
|
201
|
+
- spec/models/create_hosted_provider_session_response_spec.rb
|
202
|
+
- spec/models/create_widget_session_request_spec.rb
|
203
|
+
- spec/models/create_widget_session_response_spec.rb
|
154
204
|
- spec/models/document_data_spec.rb
|
155
|
-
- spec/models/
|
205
|
+
- spec/models/document_scan_attachments_spec.rb
|
206
|
+
- spec/models/document_type_spec.rb
|
156
207
|
- spec/models/get_attachment_request_spec.rb
|
157
208
|
- spec/models/get_attachment_response_spec.rb
|
158
209
|
- spec/models/get_session_response_spec.rb
|
159
210
|
- spec/models/get_session_result_request_spec.rb
|
160
211
|
- spec/models/get_session_result_response_spec.rb
|
212
|
+
- spec/models/http_validation_problem_details_spec.rb
|
161
213
|
- spec/models/identity_data_spec.rb
|
162
|
-
- spec/models/
|
214
|
+
- spec/models/indonesia_nik_input_spec.rb
|
215
|
+
- spec/models/integration_capability_spec.rb
|
216
|
+
- spec/models/integration_launch_method_spec.rb
|
217
|
+
- spec/models/integration_step_spec.rb
|
218
|
+
- spec/models/kenya_nid_input_spec.rb
|
163
219
|
- spec/models/known_address_spec.rb
|
164
220
|
- spec/models/known_identity_data_spec.rb
|
165
221
|
- spec/models/known_person_data_spec.rb
|
166
222
|
- spec/models/list_providers_response_spec.rb
|
167
223
|
- spec/models/list_sessions_response_spec.rb
|
224
|
+
- spec/models/mexico_curp_input_spec.rb
|
225
|
+
- spec/models/nigeria_nin_input_spec.rb
|
168
226
|
- spec/models/order_direction_spec.rb
|
169
227
|
- spec/models/person_data_spec.rb
|
228
|
+
- spec/models/philippine_match_input_spec.rb
|
229
|
+
- spec/models/philippine_qr_input_spec.rb
|
230
|
+
- spec/models/problem_details_spec.rb
|
231
|
+
- spec/models/provider_attachments_spec.rb
|
170
232
|
- spec/models/provider_info_spec.rb
|
171
233
|
- spec/models/provider_information_spec.rb
|
234
|
+
- spec/models/provider_input_spec.rb
|
172
235
|
- spec/models/recommend_request_spec.rb
|
173
236
|
- spec/models/recommend_response_spec.rb
|
174
|
-
- spec/models/
|
237
|
+
- spec/models/refresh_step_content_request_spec.rb
|
238
|
+
- spec/models/refresh_step_content_response_spec.rb
|
239
|
+
- spec/models/result_collection_method_spec.rb
|
240
|
+
- spec/models/result_collection_spec.rb
|
241
|
+
- spec/models/session_error_code_spec.rb
|
175
242
|
- spec/models/session_ordering_spec.rb
|
176
243
|
- spec/models/session_spec.rb
|
177
|
-
- spec/models/
|
178
|
-
- spec/models/
|
179
|
-
- spec/models/
|
180
|
-
- spec/models/verification_spec.rb
|
244
|
+
- spec/models/sex_spec.rb
|
245
|
+
- spec/models/south_africa_nid_input_spec.rb
|
246
|
+
- spec/models/step_refresh_info_spec.rb
|
181
247
|
- spec/spec_helper.rb
|
182
248
|
- trinsic_api.gemspec
|
183
249
|
homepage: https://trinsic.id
|
184
250
|
licenses:
|
185
251
|
- MIT
|
186
252
|
metadata: {}
|
187
|
-
post_install_message:
|
253
|
+
post_install_message:
|
188
254
|
rdoc_options: []
|
189
255
|
require_paths:
|
190
256
|
- lib
|
@@ -200,45 +266,67 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
200
266
|
version: '0'
|
201
267
|
requirements: []
|
202
268
|
rubygems_version: 3.5.22
|
203
|
-
signing_key:
|
269
|
+
signing_key:
|
204
270
|
specification_version: 4
|
205
271
|
summary: Trinsic API Ruby Library
|
206
272
|
test_files:
|
207
273
|
- spec/api/sessions_api_spec.rb
|
208
274
|
- spec/api/attachments_api_spec.rb
|
209
275
|
- spec/api/network_api_spec.rb
|
210
|
-
- spec/models/recommend_response_spec.rb
|
211
|
-
- spec/models/session_spec.rb
|
212
|
-
- spec/models/recommend_request_spec.rb
|
213
|
-
- spec/models/disclosed_fields_spec.rb
|
214
|
-
- spec/models/disclosed_fields_request_spec.rb
|
215
|
-
- spec/models/identity_lookup_response_spec.rb
|
216
|
-
- spec/models/list_providers_response_spec.rb
|
217
|
-
- spec/models/attachment_access_keys_spec.rb
|
218
|
-
- spec/models/cancel_session_response_spec.rb
|
219
|
-
- spec/models/known_address_spec.rb
|
220
|
-
- spec/models/session_state_spec.rb
|
221
|
-
- spec/models/known_person_data_spec.rb
|
222
|
-
- spec/models/verification_fail_code_spec.rb
|
223
|
-
- spec/models/provider_information_spec.rb
|
224
|
-
- spec/models/document_data_spec.rb
|
225
|
-
- spec/models/get_session_result_response_spec.rb
|
226
|
-
- spec/models/verification_spec.rb
|
227
|
-
- spec/models/list_sessions_response_spec.rb
|
228
|
-
- spec/models/create_session_response_spec.rb
|
229
|
-
- spec/models/order_direction_spec.rb
|
230
|
-
- spec/models/validation_result_spec.rb
|
231
|
-
- spec/models/provider_info_spec.rb
|
232
276
|
- spec/models/known_identity_data_spec.rb
|
233
|
-
- spec/models/
|
234
|
-
- spec/models/
|
277
|
+
- spec/models/create_hosted_provider_session_response_spec.rb
|
278
|
+
- spec/models/http_validation_problem_details_spec.rb
|
279
|
+
- spec/models/cancel_session_response_spec.rb
|
280
|
+
- spec/models/step_refresh_info_spec.rb
|
235
281
|
- spec/models/get_attachment_request_spec.rb
|
282
|
+
- spec/models/brazil_digital_cnh_input_spec.rb
|
283
|
+
- spec/models/create_advanced_provider_session_request_spec.rb
|
284
|
+
- spec/models/south_africa_nid_input_spec.rb
|
285
|
+
- spec/models/aadhaar_input_spec.rb
|
286
|
+
- spec/models/philippine_qr_input_spec.rb
|
287
|
+
- spec/models/list_sessions_response_spec.rb
|
236
288
|
- spec/models/address_spec.rb
|
237
|
-
- spec/models/
|
238
|
-
- spec/models/
|
289
|
+
- spec/models/kenya_nid_input_spec.rb
|
290
|
+
- spec/models/refresh_step_content_response_spec.rb
|
239
291
|
- spec/models/session_ordering_spec.rb
|
240
|
-
- spec/models/
|
241
|
-
- spec/models/
|
292
|
+
- spec/models/provider_information_spec.rb
|
293
|
+
- spec/models/document_type_spec.rb
|
294
|
+
- spec/models/provider_input_spec.rb
|
295
|
+
- spec/models/refresh_step_content_request_spec.rb
|
296
|
+
- spec/models/mexico_curp_input_spec.rb
|
297
|
+
- spec/models/brazil_cpf_check_input_spec.rb
|
298
|
+
- spec/models/order_direction_spec.rb
|
242
299
|
- spec/models/person_data_spec.rb
|
300
|
+
- spec/models/create_widget_session_response_spec.rb
|
301
|
+
- spec/models/session_error_code_spec.rb
|
243
302
|
- spec/models/get_session_result_request_spec.rb
|
303
|
+
- spec/models/sex_spec.rb
|
304
|
+
- spec/models/bangladesh_national_id_input_spec.rb
|
305
|
+
- spec/models/create_hosted_provider_session_request_spec.rb
|
306
|
+
- spec/models/philippine_match_input_spec.rb
|
307
|
+
- spec/models/get_attachment_response_spec.rb
|
308
|
+
- spec/models/provider_info_spec.rb
|
309
|
+
- spec/models/known_person_data_spec.rb
|
310
|
+
- spec/models/document_scan_attachments_spec.rb
|
311
|
+
- spec/models/recommend_response_spec.rb
|
312
|
+
- spec/models/integration_launch_method_spec.rb
|
313
|
+
- spec/models/integration_capability_spec.rb
|
314
|
+
- spec/models/create_widget_session_request_spec.rb
|
315
|
+
- spec/models/nigeria_nin_input_spec.rb
|
316
|
+
- spec/models/known_address_spec.rb
|
317
|
+
- spec/models/recommend_request_spec.rb
|
318
|
+
- spec/models/list_providers_response_spec.rb
|
319
|
+
- spec/models/session_spec.rb
|
320
|
+
- spec/models/result_collection_spec.rb
|
321
|
+
- spec/models/get_session_result_response_spec.rb
|
322
|
+
- spec/models/provider_attachments_spec.rb
|
323
|
+
- spec/models/document_data_spec.rb
|
324
|
+
- spec/models/result_collection_method_spec.rb
|
325
|
+
- spec/models/create_advanced_provider_session_response_spec.rb
|
326
|
+
- spec/models/integration_step_spec.rb
|
327
|
+
- spec/models/identity_data_spec.rb
|
328
|
+
- spec/models/attachment_access_keys_spec.rb
|
329
|
+
- spec/models/indonesia_nik_input_spec.rb
|
330
|
+
- spec/models/problem_details_spec.rb
|
331
|
+
- spec/models/get_session_response_spec.rb
|
244
332
|
- spec/spec_helper.rb
|
@@ -1,26 +0,0 @@
|
|
1
|
-
# TrinsicApi::CreateSessionRequest
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **launch_provider_directly** | **Boolean** | Whether to immediately launch the identity provider, without invoking the Trinsic Widget UI. Users will not be shown the Widget; therefore, reuse of credentials, selection of an identity provider, and saving a verification for future reuse are not available to the end user in this mode. Sessions created with this option enabled must be created with a `RedirectUrl` specified, and cannot be invoked using the frontend SDK at this time. | [optional] |
|
8
|
-
| **enable_remember_me** | **Boolean** | Whether to enable Trinsic's \"Remember Me\" feature, which allows users to save their credentials for future use. This option is only relevant when `LaunchProviderDirectly` is unspecified or set to `false`. If `LaunchProviderDirectly` is `true`, this field must be unspecified or set to `false`. If this field is set to `true`, then: - The user will be prompted to authenticate with their phone number at the start of the flow - If the user has previously saved a verification for reuse with Trinsic, they will be offered the ability to reuse it - After the user has verified their identity (and if the identity provider in question supports it), they will be prompted to save their credentials for future use If this field is set to `false`, then: - The user will not be prompted to authenticate with their phone number at the start of the flow. - Instead, the user will be immediately shown the list of available providers - The user will not be offered the ability to reuse a previously-saved Trinsic credential - After the user has verified their identity, they will not be prompted to save their credentials for future use - Instead, they will immediately return to your product | [optional] |
|
9
|
-
| **providers** | **Array<String>** | The list of allowed identity providers. If not specified, all available providers will be allowed. If `LaunchMethodDirectly` is `true`, this field must be set, and must have only a single entry. If `LaunchMethodDirectly` is not specified or is `false`, this field may have any number of entries. | [optional] |
|
10
|
-
| **known_identity_data** | [**KnownIdentityData**](KnownIdentityData.md) | Known identity data of an individual being verified. Provide this to Trinsic during Session creation to enable improved identity provider selection recommendations. | [optional] |
|
11
|
-
| **disclosed_fields** | [**DisclosedFieldsRequest**](DisclosedFieldsRequest.md) | Specific identity attributes to request. If not provided, all available attributes will be requested. | [optional] |
|
12
|
-
|
13
|
-
## Example
|
14
|
-
|
15
|
-
```ruby
|
16
|
-
require 'trinsic_api'
|
17
|
-
|
18
|
-
instance = TrinsicApi::CreateSessionRequest.new(
|
19
|
-
launch_provider_directly: null,
|
20
|
-
enable_remember_me: false,
|
21
|
-
providers: null,
|
22
|
-
known_identity_data: null,
|
23
|
-
disclosed_fields: null
|
24
|
-
)
|
25
|
-
```
|
26
|
-
|
data/docs/DisclosedFields.md
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
# TrinsicApi::DisclosedFields
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **id_number** | **Boolean** | | |
|
8
|
-
| **given_name** | **Boolean** | | |
|
9
|
-
| **family_name** | **Boolean** | | |
|
10
|
-
| **address** | **Boolean** | | |
|
11
|
-
| **date_of_birth** | **Boolean** | | |
|
12
|
-
| **country** | **Boolean** | | |
|
13
|
-
| **issue_date** | **Boolean** | | |
|
14
|
-
| **expiration_date** | **Boolean** | | |
|
15
|
-
| **document_front** | **Boolean** | | |
|
16
|
-
| **document_back** | **Boolean** | | |
|
17
|
-
| **document_portrait** | **Boolean** | | |
|
18
|
-
| **selfie** | **Boolean** | | |
|
19
|
-
|
20
|
-
## Example
|
21
|
-
|
22
|
-
```ruby
|
23
|
-
require 'trinsic_api'
|
24
|
-
|
25
|
-
instance = TrinsicApi::DisclosedFields.new(
|
26
|
-
id_number: null,
|
27
|
-
given_name: null,
|
28
|
-
family_name: null,
|
29
|
-
address: null,
|
30
|
-
date_of_birth: null,
|
31
|
-
country: null,
|
32
|
-
issue_date: null,
|
33
|
-
expiration_date: null,
|
34
|
-
document_front: null,
|
35
|
-
document_back: null,
|
36
|
-
document_portrait: null,
|
37
|
-
selfie: null
|
38
|
-
)
|
39
|
-
```
|
40
|
-
|
@@ -1,40 +0,0 @@
|
|
1
|
-
# TrinsicApi::DisclosedFieldsRequest
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **id_number** | **Boolean** | | [optional] |
|
8
|
-
| **given_name** | **Boolean** | | [optional] |
|
9
|
-
| **family_name** | **Boolean** | | [optional] |
|
10
|
-
| **address** | **Boolean** | | [optional] |
|
11
|
-
| **date_of_birth** | **Boolean** | | [optional] |
|
12
|
-
| **country** | **Boolean** | | [optional] |
|
13
|
-
| **issue_date** | **Boolean** | | [optional] |
|
14
|
-
| **expiration_date** | **Boolean** | | [optional] |
|
15
|
-
| **document_front** | **Boolean** | | [optional] |
|
16
|
-
| **document_back** | **Boolean** | | [optional] |
|
17
|
-
| **document_portrait** | **Boolean** | | [optional] |
|
18
|
-
| **selfie** | **Boolean** | | [optional] |
|
19
|
-
|
20
|
-
## Example
|
21
|
-
|
22
|
-
```ruby
|
23
|
-
require 'trinsic_api'
|
24
|
-
|
25
|
-
instance = TrinsicApi::DisclosedFieldsRequest.new(
|
26
|
-
id_number: null,
|
27
|
-
given_name: null,
|
28
|
-
family_name: null,
|
29
|
-
address: null,
|
30
|
-
date_of_birth: null,
|
31
|
-
country: null,
|
32
|
-
issue_date: null,
|
33
|
-
expiration_date: null,
|
34
|
-
document_front: null,
|
35
|
-
document_back: null,
|
36
|
-
document_portrait: null,
|
37
|
-
selfie: null
|
38
|
-
)
|
39
|
-
```
|
40
|
-
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# TrinsicApi::IdentityLookupResponse
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **identity_in_network** | **Boolean** | Whether the given phone number is known to have an identity in the network. | |
|
8
|
-
|
9
|
-
## Example
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'trinsic_api'
|
13
|
-
|
14
|
-
instance = TrinsicApi::IdentityLookupResponse.new(
|
15
|
-
identity_in_network: null
|
16
|
-
)
|
17
|
-
```
|
18
|
-
|