trinsic_api 2.1.1.pre.alpha1 → 2.2.0.pre.alpha1
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/AppleWalletInput.md +18 -0
- data/docs/AttachmentsApi.md +1 -1
- data/docs/{CreateAdvancedProviderSessionRequest.md → CreateDirectProviderSessionRequest.md} +5 -3
- data/docs/{CreateAdvancedProviderSessionResponse.md → CreateDirectProviderSessionResponse.md} +2 -2
- data/docs/CreateHostedProviderSessionRequest.md +3 -1
- data/docs/CreateMdlExchangeRequest.md +32 -0
- data/docs/CreateMdlExchangeResponse.md +22 -0
- data/docs/CreateWidgetSessionRequest.md +3 -1
- data/docs/ExternalMdlFieldData.md +20 -0
- data/docs/FinalizeMdlExchangeRequest.md +24 -0
- data/docs/FinalizeMdlExchangeResponse.md +24 -0
- data/docs/GetAttachmentRequest.md +3 -1
- data/docs/GoogleWalletInput.md +18 -0
- data/docs/IdentityData.md +2 -0
- data/docs/{IndonesiaDukcapilBiometricMatchInput.md → IndonesiaDukcapilMatchInput.md} +3 -3
- data/docs/Match.md +20 -0
- data/docs/MatchData.md +36 -0
- data/docs/MdlApi.md +151 -0
- data/docs/MdlCertificateData.md +26 -0
- data/docs/MdlExchangeMechanism.md +15 -0
- data/docs/MdlFieldDataType.md +15 -0
- data/docs/MdlIdentityData.md +22 -0
- data/docs/NetworkApi.md +21 -18
- data/docs/ProviderContract.md +7 -5
- data/docs/ProviderInput.md +6 -2
- data/docs/RecommendRequest.md +2 -0
- data/docs/SessionsApi.md +103 -27
- data/docs/SubmitNativeChallengeResponseRequest.md +20 -0
- data/docs/SubmitNativeChallengeResponseResponse.md +18 -0
- data/lib/trinsic_api/api/mdl_api.rb +150 -0
- data/lib/trinsic_api/api/network_api.rb +22 -14
- data/lib/trinsic_api/api/sessions_api.rb +99 -23
- data/lib/trinsic_api/models/apple_wallet_input.rb +244 -0
- data/lib/trinsic_api/models/{create_advanced_provider_session_request.rb → create_direct_provider_session_request.rb} +32 -5
- data/lib/trinsic_api/models/{create_advanced_provider_session_response.rb → create_direct_provider_session_response.rb} +3 -3
- data/lib/trinsic_api/models/create_hosted_provider_session_request.rb +29 -2
- data/lib/trinsic_api/models/create_mdl_exchange_request.rb +404 -0
- data/lib/trinsic_api/models/create_mdl_exchange_response.rb +292 -0
- data/lib/trinsic_api/models/create_widget_session_request.rb +29 -2
- data/lib/trinsic_api/models/external_mdl_field_data.rb +287 -0
- data/lib/trinsic_api/models/finalize_mdl_exchange_request.rb +319 -0
- data/lib/trinsic_api/models/finalize_mdl_exchange_response.rb +287 -0
- data/lib/trinsic_api/models/get_attachment_request.rb +31 -4
- data/lib/trinsic_api/models/google_wallet_input.rb +244 -0
- data/lib/trinsic_api/models/identity_data.rb +11 -1
- data/lib/trinsic_api/models/{indonesia_dukcapil_biometric_match_input.rb → indonesia_dukcapil_match_input.rb} +4 -4
- data/lib/trinsic_api/models/integration_capability.rb +2 -1
- data/lib/trinsic_api/models/integration_launch_method.rb +2 -1
- data/lib/trinsic_api/models/integration_step.rb +1 -1
- data/lib/trinsic_api/models/match.rb +231 -0
- data/lib/trinsic_api/models/match_data.rb +311 -0
- data/lib/trinsic_api/models/mdl_certificate_data.rb +346 -0
- data/lib/trinsic_api/models/mdl_exchange_mechanism.rb +40 -0
- data/lib/trinsic_api/models/mdl_field_data_type.rb +43 -0
- data/lib/trinsic_api/models/mdl_identity_data.rb +294 -0
- data/lib/trinsic_api/models/provider_contract.rb +33 -6
- data/lib/trinsic_api/models/provider_input.rb +31 -9
- data/lib/trinsic_api/models/recommend_request.rb +28 -1
- data/lib/trinsic_api/models/result_collection_method.rb +2 -1
- data/lib/trinsic_api/models/session_error_code.rb +3 -1
- data/lib/trinsic_api/models/submit_native_challenge_response_request.rb +283 -0
- data/lib/trinsic_api/models/submit_native_challenge_response_response.rb +238 -0
- data/lib/trinsic_api/version.rb +1 -1
- data/lib/trinsic_api.rb +19 -3
- data/spec/api/mdl_api_spec.rb +59 -0
- data/spec/api/network_api_spec.rb +3 -3
- data/spec/api/sessions_api_spec.rb +21 -7
- data/spec/models/apple_wallet_input_spec.rb +36 -0
- data/spec/models/{create_advanced_provider_session_request_spec.rb → create_direct_provider_session_request_spec.rb} +12 -6
- data/spec/models/{create_advanced_provider_session_response_spec.rb → create_direct_provider_session_response_spec.rb} +6 -6
- data/spec/models/create_hosted_provider_session_request_spec.rb +6 -0
- data/spec/models/create_mdl_exchange_request_spec.rb +78 -0
- data/spec/models/create_mdl_exchange_response_spec.rb +48 -0
- data/spec/models/create_widget_session_request_spec.rb +6 -0
- data/spec/models/external_mdl_field_data_spec.rb +42 -0
- data/spec/models/finalize_mdl_exchange_request_spec.rb +54 -0
- data/spec/models/finalize_mdl_exchange_response_spec.rb +54 -0
- data/spec/models/get_attachment_request_spec.rb +6 -0
- data/spec/models/google_wallet_input_spec.rb +36 -0
- data/spec/models/identity_data_spec.rb +6 -0
- data/spec/models/{indonesia_dukcapil_biometric_match_input_spec.rb → indonesia_dukcapil_match_input_spec.rb} +6 -6
- data/spec/models/match_data_spec.rb +90 -0
- data/spec/models/match_spec.rb +42 -0
- data/spec/models/mdl_certificate_data_spec.rb +60 -0
- data/spec/models/mdl_exchange_mechanism_spec.rb +30 -0
- data/spec/models/mdl_field_data_type_spec.rb +30 -0
- data/spec/models/mdl_identity_data_spec.rb +48 -0
- data/spec/models/provider_contract_spec.rb +6 -0
- data/spec/models/provider_input_spec.rb +13 -1
- data/spec/models/recommend_request_spec.rb +6 -0
- data/spec/models/submit_native_challenge_response_request_spec.rb +42 -0
- data/spec/models/submit_native_challenge_response_response_spec.rb +36 -0
- metadata +130 -66
@@ -44,13 +44,13 @@ describe 'SessionsApi' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
# unit tests for
|
48
|
-
# Create
|
47
|
+
# unit tests for create_direct_provider_session
|
48
|
+
# Create Direct Provider Session
|
49
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 [CreateDirectProviderSessionRequest] :create_direct_provider_session_request
|
52
|
+
# @return [CreateDirectProviderSessionResponse]
|
53
|
+
describe 'create_direct_provider_session test' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
56
56
|
end
|
@@ -106,7 +106,8 @@ describe 'SessionsApi' do
|
|
106
106
|
|
107
107
|
# unit tests for list_sessions
|
108
108
|
# List Sessions
|
109
|
-
# List Sessions created
|
109
|
+
# List Sessions created for a specific Verification Profile
|
110
|
+
# @param verification_profile_id
|
110
111
|
# @param [Hash] opts the optional parameters
|
111
112
|
# @option opts [SessionOrdering] :order_by The field by which sessions should be ordered
|
112
113
|
# @option opts [OrderDirection] :order_direction
|
@@ -133,7 +134,7 @@ describe 'SessionsApi' do
|
|
133
134
|
|
134
135
|
# unit tests for refresh_step_content
|
135
136
|
# Refresh Step Content
|
136
|
-
# Refreshes the content of a Step for
|
137
|
+
# Refreshes the content of a Step for a Direct Provider Session.
|
137
138
|
# @param acceptance_session_id
|
138
139
|
# @param [Hash] opts the optional parameters
|
139
140
|
# @option opts [RefreshStepContentRequest] :refresh_step_content_request
|
@@ -144,4 +145,17 @@ describe 'SessionsApi' do
|
|
144
145
|
end
|
145
146
|
end
|
146
147
|
|
148
|
+
# unit tests for submit_native_challenge_response
|
149
|
+
# Submit Native Challenge Response
|
150
|
+
# Submits the response from a Native Challenge (e.g., mDL exchange via DC API) and processes the results.
|
151
|
+
# @param acceptance_session_id
|
152
|
+
# @param [Hash] opts the optional parameters
|
153
|
+
# @option opts [SubmitNativeChallengeResponseRequest] :submit_native_challenge_response_request
|
154
|
+
# @return [SubmitNativeChallengeResponseResponse]
|
155
|
+
describe 'submit_native_challenge_response test' do
|
156
|
+
it 'should work' do
|
157
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
147
161
|
end
|
@@ -0,0 +1,36 @@
|
|
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.13.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TrinsicApi::AppleWalletInput
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::AppleWalletInput do
|
21
|
+
let(:instance) { TrinsicApi::AppleWalletInput.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AppleWalletInput' do
|
24
|
+
it 'should create an instance of AppleWalletInput' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::AppleWalletInput)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "exchange_mechanism"' 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
|
+
end
|
@@ -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::CreateDirectProviderSessionRequest
|
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::CreateDirectProviderSessionRequest do
|
21
|
+
let(:instance) { TrinsicApi::CreateDirectProviderSessionRequest.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
23
|
+
describe 'test an instance of CreateDirectProviderSessionRequest' do
|
24
|
+
it 'should create an instance of CreateDirectProviderSessionRequest' 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::CreateDirectProviderSessionRequest)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
@@ -33,6 +33,12 @@ describe TrinsicApi::CreateAdvancedProviderSessionRequest do
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
+
describe 'test attribute "verification_profile_id"' 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
|
+
|
36
42
|
describe 'test attribute "redirect_url"' do
|
37
43
|
it 'should work' do
|
38
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -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::CreateDirectProviderSessionResponse
|
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::CreateDirectProviderSessionResponse do
|
21
|
+
let(:instance) { TrinsicApi::CreateDirectProviderSessionResponse.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
23
|
+
describe 'test an instance of CreateDirectProviderSessionResponse' do
|
24
|
+
it 'should create an instance of CreateDirectProviderSessionResponse' 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::CreateDirectProviderSessionResponse)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
@@ -33,6 +33,12 @@ describe TrinsicApi::CreateHostedProviderSessionRequest do
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
+
describe 'test attribute "verification_profile_id"' 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
|
+
|
36
42
|
describe 'test attribute "redirect_url"' do
|
37
43
|
it 'should work' do
|
38
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -0,0 +1,78 @@
|
|
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.13.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TrinsicApi::CreateMdlExchangeRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::CreateMdlExchangeRequest do
|
21
|
+
let(:instance) { TrinsicApi::CreateMdlExchangeRequest.new }
|
22
|
+
|
23
|
+
describe 'test an instance of CreateMdlExchangeRequest' do
|
24
|
+
it 'should create an instance of CreateMdlExchangeRequest' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::CreateMdlExchangeRequest)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "verification_profile_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 "provider"' 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 "exchange_mechanism"' 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 "document_type"' 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 "name_spaces"' 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
|
+
describe 'test attribute "digital_credentials_api_host"' do
|
61
|
+
it 'should work' do
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
describe 'test attribute "android_native_app_package_name"' do
|
67
|
+
it 'should work' do
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
describe 'test attribute "android_native_app_signing_certificate_fingerprint"' do
|
73
|
+
it 'should work' do
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
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.13.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TrinsicApi::CreateMdlExchangeResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::CreateMdlExchangeResponse do
|
21
|
+
let(:instance) { TrinsicApi::CreateMdlExchangeResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of CreateMdlExchangeResponse' do
|
24
|
+
it 'should create an instance of CreateMdlExchangeResponse' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::CreateMdlExchangeResponse)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "exchange_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 "request_object_base64_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 "exchange_context"' 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
|
@@ -27,6 +27,12 @@ describe TrinsicApi::CreateWidgetSessionRequest do
|
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
|
+
describe 'test attribute "verification_profile_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
|
+
|
30
36
|
describe 'test attribute "redirect_url"' do
|
31
37
|
it 'should work' do
|
32
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -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.13.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TrinsicApi::ExternalMdlFieldData
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::ExternalMdlFieldData do
|
21
|
+
let(:instance) { TrinsicApi::ExternalMdlFieldData.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ExternalMdlFieldData' do
|
24
|
+
it 'should create an instance of ExternalMdlFieldData' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::ExternalMdlFieldData)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "type"' 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 "value"' 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
|
@@ -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.13.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TrinsicApi::FinalizeMdlExchangeRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::FinalizeMdlExchangeRequest do
|
21
|
+
let(:instance) { TrinsicApi::FinalizeMdlExchangeRequest.new }
|
22
|
+
|
23
|
+
describe 'test an instance of FinalizeMdlExchangeRequest' do
|
24
|
+
it 'should create an instance of FinalizeMdlExchangeRequest' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::FinalizeMdlExchangeRequest)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "verification_profile_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 "exchange_id"' 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 "exchange_context"' 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 "response_token"' 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,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.13.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TrinsicApi::FinalizeMdlExchangeResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::FinalizeMdlExchangeResponse do
|
21
|
+
let(:instance) { TrinsicApi::FinalizeMdlExchangeResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of FinalizeMdlExchangeResponse' do
|
24
|
+
it 'should create an instance of FinalizeMdlExchangeResponse' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::FinalizeMdlExchangeResponse)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "exchange_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 "created_session"' 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 "mdl_data"' 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 "normalized_identity_data"' 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,36 @@
|
|
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.13.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TrinsicApi::GoogleWalletInput
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::GoogleWalletInput do
|
21
|
+
let(:instance) { TrinsicApi::GoogleWalletInput.new }
|
22
|
+
|
23
|
+
describe 'test an instance of GoogleWalletInput' do
|
24
|
+
it 'should create an instance of GoogleWalletInput' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::GoogleWalletInput)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "exchange_mechanism"' 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
|
+
end
|
@@ -51,6 +51,12 @@ describe TrinsicApi::IdentityData do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
describe 'test attribute "match"' 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
|
describe 'test attribute "attachment_access_keys"' do
|
55
61
|
it 'should work' do
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -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::IndonesiaDukcapilMatchInput
|
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::IndonesiaDukcapilMatchInput do
|
21
|
+
let(:instance) { TrinsicApi::IndonesiaDukcapilMatchInput.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
23
|
+
describe 'test an instance of IndonesiaDukcapilMatchInput' do
|
24
|
+
it 'should create an instance of IndonesiaDukcapilMatchInput' 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::IndonesiaDukcapilMatchInput)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
@@ -0,0 +1,90 @@
|
|
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.13.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TrinsicApi::MatchData
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::MatchData do
|
21
|
+
let(:instance) { TrinsicApi::MatchData.new }
|
22
|
+
|
23
|
+
describe 'test an instance of MatchData' do
|
24
|
+
it 'should create an instance of MatchData' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::MatchData)
|
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 "full_name"' 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 "given_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 "middle_name"' 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 "family_name"' 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
|
+
describe 'test attribute "sex"' do
|
61
|
+
it 'should work' do
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
describe 'test attribute "date_of_birth"' do
|
67
|
+
it 'should work' do
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
describe 'test attribute "face_match"' do
|
73
|
+
it 'should work' do
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
describe 'test attribute "liveness"' do
|
79
|
+
it 'should work' do
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
describe 'test attribute "image_authenticity"' do
|
85
|
+
it 'should work' do
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
end
|