trinsic_api 1.1.2 → 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 +32 -0
- data/docs/KnownIdentityData.md +18 -0
- data/docs/KnownPersonData.md +32 -0
- data/docs/MexicoCurpInput.md +18 -0
- data/docs/NetworkApi.md +37 -35
- 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/ProviderInformation.md +22 -0
- data/docs/ProviderInput.md +38 -0
- data/docs/RecommendRequest.md +26 -0
- data/docs/RecommendResponse.md +22 -0
- 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 +38 -37
- 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/{create_session_request.rb → indonesia_nik_input.rb} +105 -38
- 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 +287 -0
- data/lib/trinsic_api/models/known_identity_data.rb +217 -0
- data/lib/trinsic_api/models/{disclosed_fields_request.rb → known_person_data.rb} +57 -77
- 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 +253 -0
- data/lib/trinsic_api/models/provider_input.rb +326 -0
- data/lib/trinsic_api/models/recommend_request.rb +266 -0
- data/lib/trinsic_api/models/recommend_response.rb +262 -0
- 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 +40 -12
- data/spec/api/attachments_api_spec.rb +1 -1
- data/spec/api/network_api_spec.rb +12 -12
- 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 +78 -0
- data/spec/models/known_identity_data_spec.rb +36 -0
- data/spec/models/{disclosed_fields_request_spec.rb → known_person_data_spec.rb} +13 -37
- 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/philippine_match_input_spec.rb +60 -0
- 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 +48 -0
- data/spec/models/{disclosed_fields_spec.rb → provider_input_spec.rb} +18 -24
- data/spec/models/recommend_request_spec.rb +60 -0
- data/spec/models/recommend_response_spec.rb +48 -0
- 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/{create_session_request_spec.rb → south_africa_nid_input_spec.rb} +11 -11
- data/spec/models/step_refresh_info_spec.rb +48 -0
- data/spec/spec_helper.rb +1 -1
- data/trinsic_api.gemspec +1 -1
- metadata +173 -61
- data/docs/CreateSessionRequest.md +0 -24
- 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 -43
data/lib/trinsic_api.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
|
|
@@ -17,34 +17,62 @@ require 'trinsic_api/version'
|
|
17
17
|
require 'trinsic_api/configuration'
|
18
18
|
|
19
19
|
# Models
|
20
|
+
require 'trinsic_api/models/aadhaar_input'
|
20
21
|
require 'trinsic_api/models/address'
|
21
22
|
require 'trinsic_api/models/attachment_access_keys'
|
23
|
+
require 'trinsic_api/models/bangladesh_national_id_input'
|
24
|
+
require 'trinsic_api/models/brazil_cpf_check_input'
|
25
|
+
require 'trinsic_api/models/brazil_digital_cnh_input'
|
22
26
|
require 'trinsic_api/models/cancel_session_response'
|
23
|
-
require 'trinsic_api/models/
|
24
|
-
require 'trinsic_api/models/
|
25
|
-
require 'trinsic_api/models/
|
26
|
-
require 'trinsic_api/models/
|
27
|
+
require 'trinsic_api/models/create_advanced_provider_session_request'
|
28
|
+
require 'trinsic_api/models/create_advanced_provider_session_response'
|
29
|
+
require 'trinsic_api/models/create_hosted_provider_session_request'
|
30
|
+
require 'trinsic_api/models/create_hosted_provider_session_response'
|
31
|
+
require 'trinsic_api/models/create_widget_session_request'
|
32
|
+
require 'trinsic_api/models/create_widget_session_response'
|
27
33
|
require 'trinsic_api/models/document_data'
|
28
|
-
require 'trinsic_api/models/
|
34
|
+
require 'trinsic_api/models/document_scan_attachments'
|
35
|
+
require 'trinsic_api/models/document_type'
|
29
36
|
require 'trinsic_api/models/get_attachment_request'
|
30
37
|
require 'trinsic_api/models/get_attachment_response'
|
31
38
|
require 'trinsic_api/models/get_session_response'
|
32
39
|
require 'trinsic_api/models/get_session_result_request'
|
33
40
|
require 'trinsic_api/models/get_session_result_response'
|
41
|
+
require 'trinsic_api/models/http_validation_problem_details'
|
34
42
|
require 'trinsic_api/models/identity_data'
|
35
|
-
require 'trinsic_api/models/
|
43
|
+
require 'trinsic_api/models/indonesia_nik_input'
|
44
|
+
require 'trinsic_api/models/integration_capability'
|
45
|
+
require 'trinsic_api/models/integration_launch_method'
|
46
|
+
require 'trinsic_api/models/integration_step'
|
47
|
+
require 'trinsic_api/models/kenya_nid_input'
|
48
|
+
require 'trinsic_api/models/known_address'
|
49
|
+
require 'trinsic_api/models/known_identity_data'
|
50
|
+
require 'trinsic_api/models/known_person_data'
|
36
51
|
require 'trinsic_api/models/list_providers_response'
|
37
52
|
require 'trinsic_api/models/list_sessions_response'
|
53
|
+
require 'trinsic_api/models/mexico_curp_input'
|
54
|
+
require 'trinsic_api/models/nigeria_nin_input'
|
38
55
|
require 'trinsic_api/models/order_direction'
|
39
56
|
require 'trinsic_api/models/person_data'
|
57
|
+
require 'trinsic_api/models/philippine_match_input'
|
58
|
+
require 'trinsic_api/models/philippine_qr_input'
|
59
|
+
require 'trinsic_api/models/problem_details'
|
60
|
+
require 'trinsic_api/models/provider_attachments'
|
40
61
|
require 'trinsic_api/models/provider_info'
|
62
|
+
require 'trinsic_api/models/provider_information'
|
63
|
+
require 'trinsic_api/models/provider_input'
|
64
|
+
require 'trinsic_api/models/recommend_request'
|
65
|
+
require 'trinsic_api/models/recommend_response'
|
66
|
+
require 'trinsic_api/models/refresh_step_content_request'
|
67
|
+
require 'trinsic_api/models/refresh_step_content_response'
|
68
|
+
require 'trinsic_api/models/result_collection'
|
69
|
+
require 'trinsic_api/models/result_collection_method'
|
41
70
|
require 'trinsic_api/models/session'
|
42
|
-
require 'trinsic_api/models/
|
71
|
+
require 'trinsic_api/models/session_error_code'
|
43
72
|
require 'trinsic_api/models/session_ordering'
|
44
|
-
require 'trinsic_api/models/
|
45
|
-
require 'trinsic_api/models/
|
46
|
-
require 'trinsic_api/models/
|
47
|
-
require 'trinsic_api/models/verification_fail_code'
|
73
|
+
require 'trinsic_api/models/sex'
|
74
|
+
require 'trinsic_api/models/south_africa_nid_input'
|
75
|
+
require 'trinsic_api/models/step_refresh_info'
|
48
76
|
|
49
77
|
# APIs
|
50
78
|
require 'trinsic_api/api/attachments_api'
|
@@ -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
|
|
@@ -32,24 +32,24 @@ describe 'NetworkApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
36
|
-
#
|
37
|
-
#
|
38
|
-
# @param phone_number
|
35
|
+
# unit tests for list_providers
|
36
|
+
# List Identity Providers
|
37
|
+
# List all identity providers available for use
|
39
38
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
41
|
-
describe '
|
39
|
+
# @return [ListProvidersResponse]
|
40
|
+
describe 'list_providers test' do
|
42
41
|
it 'should work' do
|
43
42
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
43
|
end
|
45
44
|
end
|
46
45
|
|
47
|
-
# unit tests for
|
48
|
-
#
|
49
|
-
#
|
46
|
+
# unit tests for recommend_providers
|
47
|
+
# Recommend Providers
|
48
|
+
# Generate provider recommendations based on the given signals (phone number, countries, states).
|
50
49
|
# @param [Hash] opts the optional parameters
|
51
|
-
# @
|
52
|
-
|
50
|
+
# @option opts [RecommendRequest] :recommend_request
|
51
|
+
# @return [RecommendResponse]
|
52
|
+
describe 'recommend_providers test' do
|
53
53
|
it 'should work' do
|
54
54
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
55
55
|
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
|
|
@@ -44,13 +44,37 @@ describe 'SessionsApi' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
# unit tests for
|
48
|
-
# Create Session
|
49
|
-
#
|
47
|
+
# unit tests for create_advanced_provider_session
|
48
|
+
# Create Advanced Provider Session
|
49
|
+
# Verify a user's identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic's hosted UI will automatically be invoked to handle any capabilities you do not support.
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
|
-
# @option opts [
|
52
|
-
# @return [
|
53
|
-
describe '
|
51
|
+
# @option opts [CreateAdvancedProviderSessionRequest] :create_advanced_provider_session_request
|
52
|
+
# @return [CreateAdvancedProviderSessionResponse]
|
53
|
+
describe 'create_advanced_provider_session test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for create_hosted_provider_session
|
60
|
+
# Create Hosted Provider Session
|
61
|
+
# Verify a user's identity with a specific provider, using Trinsic-hosted UI for providers which require additional user interaction.
|
62
|
+
# @param [Hash] opts the optional parameters
|
63
|
+
# @option opts [CreateHostedProviderSessionRequest] :create_hosted_provider_session_request
|
64
|
+
# @return [CreateHostedProviderSessionResponse]
|
65
|
+
describe 'create_hosted_provider_session test' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# unit tests for create_widget_session
|
72
|
+
# Create Widget Session
|
73
|
+
# Verify a user's identity using Trinsic's hosted Widget flow.
|
74
|
+
# @param [Hash] opts the optional parameters
|
75
|
+
# @option opts [CreateWidgetSessionRequest] :create_widget_session_request
|
76
|
+
# @return [CreateWidgetSessionResponse]
|
77
|
+
describe 'create_widget_session test' do
|
54
78
|
it 'should work' do
|
55
79
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
56
80
|
end
|
@@ -107,4 +131,17 @@ describe 'SessionsApi' do
|
|
107
131
|
end
|
108
132
|
end
|
109
133
|
|
134
|
+
# unit tests for refresh_step_content
|
135
|
+
# Refresh Step Content
|
136
|
+
# Refreshes the content of a Step for an Advanced Provider Session.
|
137
|
+
# @param acceptance_session_id
|
138
|
+
# @param [Hash] opts the optional parameters
|
139
|
+
# @option opts [RefreshStepContentRequest] :refresh_step_content_request
|
140
|
+
# @return [RefreshStepContentResponse]
|
141
|
+
describe 'refresh_step_content test' do
|
142
|
+
it 'should work' do
|
143
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
110
147
|
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,26 +14,26 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for TrinsicApi::
|
17
|
+
# Unit tests for TrinsicApi::AadhaarInput
|
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::AadhaarInput do
|
21
|
+
let(:instance) { TrinsicApi::AadhaarInput.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
23
|
+
describe 'test an instance of AadhaarInput' do
|
24
|
+
it 'should create an instance of AadhaarInput' 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::AadhaarInput)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test attribute "
|
30
|
+
describe 'test attribute "full_name"' do
|
31
31
|
it 'should work' do
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
describe 'test attribute "
|
36
|
+
describe 'test attribute "date_of_birth"' 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
|
data/spec/models/address_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
|
|
@@ -51,7 +51,7 @@ describe TrinsicApi::Address do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
-
describe 'test attribute "
|
54
|
+
describe 'test attribute "subdivision"' do
|
55
55
|
it 'should work' do
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
57
|
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
|
|
@@ -51,4 +51,10 @@ describe TrinsicApi::AttachmentAccessKeys do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
describe 'test attribute "provider"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
54
60
|
end
|
@@ -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::BangladeshNationalIdInput
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::BangladeshNationalIdInput do
|
21
|
+
let(:instance) { TrinsicApi::BangladeshNationalIdInput.new }
|
22
|
+
|
23
|
+
describe 'test an instance of BangladeshNationalIdInput' do
|
24
|
+
it 'should create an instance of BangladeshNationalIdInput' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::BangladeshNationalIdInput)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "national_id_number"' 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 "name"' 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 "photo_base64"' 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
|
@@ -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,20 +14,20 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for TrinsicApi::
|
17
|
+
# Unit tests for TrinsicApi::BrazilCpfCheckInput
|
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::BrazilCpfCheckInput do
|
21
|
+
let(:instance) { TrinsicApi::BrazilCpfCheckInput.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
23
|
+
describe 'test an instance of BrazilCpfCheckInput' do
|
24
|
+
it 'should create an instance of BrazilCpfCheckInput' 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::BrazilCpfCheckInput)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test attribute "
|
30
|
+
describe 'test attribute "cpf_number"' do
|
31
31
|
it 'should work' do
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
33
|
end
|
@@ -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::BrazilDigitalCnhInput
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::BrazilDigitalCnhInput do
|
21
|
+
let(:instance) { TrinsicApi::BrazilDigitalCnhInput.new }
|
22
|
+
|
23
|
+
describe 'test an instance of BrazilDigitalCnhInput' do
|
24
|
+
it 'should create an instance of BrazilDigitalCnhInput' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::BrazilDigitalCnhInput)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "cpf_number"' 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 "digital_cnh_file"' 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 "digital_cnh_file_content_type"' 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 "facial_biometry_photo"' 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,60 @@
|
|
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::CreateAdvancedProviderSessionRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::CreateAdvancedProviderSessionRequest do
|
21
|
+
let(:instance) { TrinsicApi::CreateAdvancedProviderSessionRequest.new }
|
22
|
+
|
23
|
+
describe 'test an instance of CreateAdvancedProviderSessionRequest' do
|
24
|
+
it 'should create an instance of CreateAdvancedProviderSessionRequest' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::CreateAdvancedProviderSessionRequest)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "provider"' 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 "provider_input"' 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 "redirect_url"' 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 "capabilities"' 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
|
+
describe 'test attribute "fallback_to_hosted_ui"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
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::CreateAdvancedProviderSessionResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::CreateAdvancedProviderSessionResponse do
|
21
|
+
let(:instance) { TrinsicApi::CreateAdvancedProviderSessionResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of CreateAdvancedProviderSessionResponse' do
|
24
|
+
it 'should create an instance of CreateAdvancedProviderSessionResponse' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::CreateAdvancedProviderSessionResponse)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "session_id"' 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 "result_collection"' 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 "next_step"' 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
|
@@ -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::CreateHostedProviderSessionRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::CreateHostedProviderSessionRequest do
|
21
|
+
let(:instance) { TrinsicApi::CreateHostedProviderSessionRequest.new }
|
22
|
+
|
23
|
+
describe 'test an instance of CreateHostedProviderSessionRequest' do
|
24
|
+
it 'should create an instance of CreateHostedProviderSessionRequest' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::CreateHostedProviderSessionRequest)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "provider"' 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 "redirect_url"' 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 "provider_input"' 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
|
@@ -0,0 +1,42 @@
|
|
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::CreateHostedProviderSessionResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::CreateHostedProviderSessionResponse do
|
21
|
+
let(:instance) { TrinsicApi::CreateHostedProviderSessionResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of CreateHostedProviderSessionResponse' do
|
24
|
+
it 'should create an instance of CreateHostedProviderSessionResponse' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::CreateHostedProviderSessionResponse)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "session_id"' 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 "launch_url"' 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
|
+
end
|