trinsic_api 2.1.0 → 2.1.1.pre.alpha2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/IdentityData.md +2 -0
- data/docs/IndonesiaDukcapilMatchInput.md +32 -0
- data/docs/Match.md +20 -0
- data/docs/MatchData.md +36 -0
- data/docs/ProviderInput.md +2 -0
- data/lib/trinsic_api/models/identity_data.rb +11 -1
- data/lib/trinsic_api/models/indonesia_dukcapil_match_input.rb +299 -0
- data/lib/trinsic_api/models/match.rb +231 -0
- data/lib/trinsic_api/models/match_data.rb +311 -0
- data/lib/trinsic_api/models/provider_input.rb +12 -1
- data/lib/trinsic_api/version.rb +1 -1
- data/lib/trinsic_api.rb +3 -0
- data/spec/models/identity_data_spec.rb +6 -0
- data/spec/models/indonesia_dukcapil_match_input_spec.rb +78 -0
- data/spec/models/match_data_spec.rb +90 -0
- data/spec/models/match_spec.rb +42 -0
- data/spec/models/provider_input_spec.rb +6 -0
- metadata +69 -57
@@ -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::IndonesiaDukcapilMatchInput
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::IndonesiaDukcapilMatchInput do
|
21
|
+
let(:instance) { TrinsicApi::IndonesiaDukcapilMatchInput.new }
|
22
|
+
|
23
|
+
describe 'test an instance of IndonesiaDukcapilMatchInput' do
|
24
|
+
it 'should create an instance of IndonesiaDukcapilMatchInput' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::IndonesiaDukcapilMatchInput)
|
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 "nik_id_number"' 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 "email"' 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 "phone_number"' 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 "selfie_image"' 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 "document_image"' 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 "consent_given_at"' 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,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
|
@@ -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::Match
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::Match do
|
21
|
+
let(:instance) { TrinsicApi::Match.new }
|
22
|
+
|
23
|
+
describe 'test an instance of Match' do
|
24
|
+
it 'should create an instance of Match' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::Match)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "probability_value"' 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 "boolean_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
|
@@ -33,6 +33,12 @@ describe TrinsicApi::ProviderInput do
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
+
describe 'test attribute "indonesia_dukcapil_match"' 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 "mexico_curp"' do
|
37
43
|
it 'should work' do
|
38
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
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: 2.1.
|
4
|
+
version: 2.1.1.pre.alpha2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Trinsic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -88,6 +88,7 @@ files:
|
|
88
88
|
- docs/HttpValidationProblemDetails.md
|
89
89
|
- docs/IdentityData.md
|
90
90
|
- docs/IdinInput.md
|
91
|
+
- docs/IndonesiaDukcapilMatchInput.md
|
91
92
|
- docs/IndonesiaNikInput.md
|
92
93
|
- docs/IntegrationCapability.md
|
93
94
|
- docs/IntegrationLaunchMethod.md
|
@@ -97,6 +98,8 @@ files:
|
|
97
98
|
- docs/ListProviderContractsResponse.md
|
98
99
|
- docs/ListProvidersResponse.md
|
99
100
|
- docs/ListSessionsResponse.md
|
101
|
+
- docs/Match.md
|
102
|
+
- docs/MatchData.md
|
100
103
|
- docs/MexicoCurpInput.md
|
101
104
|
- docs/MobileIdInput.md
|
102
105
|
- docs/NetworkApi.md
|
@@ -165,6 +168,7 @@ files:
|
|
165
168
|
- lib/trinsic_api/models/http_validation_problem_details.rb
|
166
169
|
- lib/trinsic_api/models/identity_data.rb
|
167
170
|
- lib/trinsic_api/models/idin_input.rb
|
171
|
+
- lib/trinsic_api/models/indonesia_dukcapil_match_input.rb
|
168
172
|
- lib/trinsic_api/models/indonesia_nik_input.rb
|
169
173
|
- lib/trinsic_api/models/integration_capability.rb
|
170
174
|
- lib/trinsic_api/models/integration_launch_method.rb
|
@@ -174,6 +178,8 @@ files:
|
|
174
178
|
- lib/trinsic_api/models/list_provider_contracts_response.rb
|
175
179
|
- lib/trinsic_api/models/list_providers_response.rb
|
176
180
|
- lib/trinsic_api/models/list_sessions_response.rb
|
181
|
+
- lib/trinsic_api/models/match.rb
|
182
|
+
- lib/trinsic_api/models/match_data.rb
|
177
183
|
- lib/trinsic_api/models/mexico_curp_input.rb
|
178
184
|
- lib/trinsic_api/models/mobile_id_input.rb
|
179
185
|
- lib/trinsic_api/models/nigeria_nin_input.rb
|
@@ -236,6 +242,7 @@ files:
|
|
236
242
|
- spec/models/http_validation_problem_details_spec.rb
|
237
243
|
- spec/models/identity_data_spec.rb
|
238
244
|
- spec/models/idin_input_spec.rb
|
245
|
+
- spec/models/indonesia_dukcapil_match_input_spec.rb
|
239
246
|
- spec/models/indonesia_nik_input_spec.rb
|
240
247
|
- spec/models/integration_capability_spec.rb
|
241
248
|
- spec/models/integration_launch_method_spec.rb
|
@@ -245,6 +252,8 @@ files:
|
|
245
252
|
- spec/models/list_provider_contracts_response_spec.rb
|
246
253
|
- spec/models/list_providers_response_spec.rb
|
247
254
|
- spec/models/list_sessions_response_spec.rb
|
255
|
+
- spec/models/match_data_spec.rb
|
256
|
+
- spec/models/match_spec.rb
|
248
257
|
- spec/models/mexico_curp_input_spec.rb
|
249
258
|
- spec/models/mobile_id_input_spec.rb
|
250
259
|
- spec/models/nigeria_nin_input_spec.rb
|
@@ -306,71 +315,74 @@ test_files:
|
|
306
315
|
- spec/api/network_api_spec.rb
|
307
316
|
- spec/api/sessions_api_spec.rb
|
308
317
|
- spec/api/attachments_api_spec.rb
|
309
|
-
- spec/models/address_spec.rb
|
310
|
-
- spec/models/provider_contract_spec.rb
|
311
|
-
- spec/models/get_attachment_response_spec.rb
|
312
|
-
- spec/models/session_ordering_spec.rb
|
313
|
-
- spec/models/session_spec.rb
|
314
|
-
- spec/models/contract_field_spec.rb
|
315
|
-
- spec/models/idin_input_spec.rb
|
316
|
-
- spec/models/step_refresh_info_spec.rb
|
317
|
-
- spec/models/aadhaar_input_spec.rb
|
318
|
-
- spec/models/refresh_step_content_response_spec.rb
|
319
|
-
- spec/models/brazil_cpf_check_input_spec.rb
|
320
|
-
- spec/models/mexico_curp_input_spec.rb
|
321
|
-
- spec/models/trinsic_test_database_lookup_input_spec.rb
|
322
|
-
- spec/models/provider_health_spec.rb
|
323
|
-
- spec/models/list_providers_response_spec.rb
|
324
|
-
- spec/models/result_collection_method_spec.rb
|
325
|
-
- spec/models/indonesia_nik_input_spec.rb
|
326
318
|
- spec/models/philippine_match_input_spec.rb
|
327
|
-
- spec/models/
|
328
|
-
- spec/models/integration_capability_spec.rb
|
329
|
-
- spec/models/south_africa_nid_input_spec.rb
|
330
|
-
- spec/models/create_hosted_provider_session_request_spec.rb
|
331
|
-
- spec/models/document_data_spec.rb
|
332
|
-
- spec/models/sub_provider_metadata_spec.rb
|
333
|
-
- spec/models/mobile_id_input_spec.rb
|
319
|
+
- spec/models/session_error_code_spec.rb
|
334
320
|
- spec/models/order_direction_spec.rb
|
335
|
-
- spec/models/
|
321
|
+
- spec/models/refresh_step_content_response_spec.rb
|
322
|
+
- spec/models/create_advanced_provider_session_response_spec.rb
|
323
|
+
- spec/models/match_spec.rb
|
336
324
|
- spec/models/spid_input_spec.rb
|
337
|
-
- spec/models/
|
338
|
-
- spec/models/
|
339
|
-
- spec/models/
|
340
|
-
- spec/models/
|
341
|
-
- spec/models/
|
342
|
-
- spec/models/
|
343
|
-
- spec/models/kenya_nid_input_spec.rb
|
344
|
-
- spec/models/trinsic_test_sub_providers_input_spec.rb
|
325
|
+
- spec/models/contract_field_spec.rb
|
326
|
+
- spec/models/list_provider_contracts_response_spec.rb
|
327
|
+
- spec/models/field_availability_spec.rb
|
328
|
+
- spec/models/list_providers_response_spec.rb
|
329
|
+
- spec/models/session_spec.rb
|
330
|
+
- spec/models/cancel_session_response_spec.rb
|
345
331
|
- spec/models/smart_id_input_spec.rb
|
346
|
-
- spec/models/
|
347
|
-
- spec/models/
|
332
|
+
- spec/models/document_scan_attachments_spec.rb
|
333
|
+
- spec/models/trinsic_test_sub_providers_input_spec.rb
|
348
334
|
- spec/models/list_sessions_response_spec.rb
|
349
|
-
- spec/models/
|
335
|
+
- spec/models/provider_information_spec.rb
|
336
|
+
- spec/models/result_collection_spec.rb
|
337
|
+
- spec/models/indonesia_dukcapil_match_input_spec.rb
|
338
|
+
- spec/models/problem_details_spec.rb
|
350
339
|
- spec/models/philippine_qr_input_spec.rb
|
351
|
-
- spec/models/person_data_spec.rb
|
352
|
-
- spec/models/create_advanced_provider_session_request_spec.rb
|
353
|
-
- spec/models/integration_launch_method_spec.rb
|
354
|
-
- spec/models/document_scan_attachments_spec.rb
|
355
340
|
- spec/models/recommend_request_spec.rb
|
341
|
+
- spec/models/provider_contract_spec.rb
|
342
|
+
- spec/models/create_advanced_provider_session_request_spec.rb
|
343
|
+
- spec/models/person_data_spec.rb
|
344
|
+
- spec/models/create_widget_session_response_spec.rb
|
345
|
+
- spec/models/result_collection_method_spec.rb
|
346
|
+
- spec/models/idin_input_spec.rb
|
347
|
+
- spec/models/sex_spec.rb
|
348
|
+
- spec/models/provider_input_spec.rb
|
349
|
+
- spec/models/address_spec.rb
|
350
|
+
- spec/models/document_type_spec.rb
|
351
|
+
- spec/models/provider_info_spec.rb
|
352
|
+
- spec/models/document_data_spec.rb
|
353
|
+
- spec/models/refresh_step_content_request_spec.rb
|
354
|
+
- spec/models/mobile_id_input_spec.rb
|
355
|
+
- spec/models/session_ordering_spec.rb
|
356
|
+
- spec/models/brazil_digital_cnh_input_spec.rb
|
357
|
+
- spec/models/match_data_spec.rb
|
358
|
+
- spec/models/aadhaar_input_spec.rb
|
359
|
+
- spec/models/nigeria_nin_input_spec.rb
|
360
|
+
- spec/models/attachment_access_keys_spec.rb
|
361
|
+
- spec/models/sub_provider_metadata_spec.rb
|
362
|
+
- spec/models/trinsic_test_database_lookup_input_spec.rb
|
363
|
+
- spec/models/language_spec.rb
|
356
364
|
- spec/models/provider_attachments_spec.rb
|
365
|
+
- spec/models/http_validation_problem_details_spec.rb
|
366
|
+
- spec/models/create_hosted_provider_session_response_spec.rb
|
367
|
+
- spec/models/recommendation_info_spec.rb
|
368
|
+
- spec/models/integration_launch_method_spec.rb
|
357
369
|
- spec/models/integration_step_spec.rb
|
370
|
+
- spec/models/brazil_cpf_check_input_spec.rb
|
358
371
|
- spec/models/bangladesh_nid_input_spec.rb
|
359
372
|
- spec/models/identity_data_spec.rb
|
360
|
-
- spec/models/
|
361
|
-
- spec/models/
|
362
|
-
- spec/models/
|
363
|
-
- spec/models/
|
373
|
+
- spec/models/mexico_curp_input_spec.rb
|
374
|
+
- spec/models/indonesia_nik_input_spec.rb
|
375
|
+
- spec/models/south_africa_nid_input_spec.rb
|
376
|
+
- spec/models/create_hosted_provider_session_request_spec.rb
|
364
377
|
- spec/models/get_session_response_spec.rb
|
365
|
-
- spec/models/
|
366
|
-
- spec/models/
|
367
|
-
- spec/models/
|
368
|
-
- spec/models/
|
369
|
-
- spec/models/
|
370
|
-
- spec/models/
|
371
|
-
- spec/models/
|
372
|
-
- spec/models/
|
373
|
-
- spec/models/
|
374
|
-
- spec/models/
|
375
|
-
- spec/models/result_collection_spec.rb
|
378
|
+
- spec/models/create_widget_session_request_spec.rb
|
379
|
+
- spec/models/step_refresh_info_spec.rb
|
380
|
+
- spec/models/get_session_result_response_spec.rb
|
381
|
+
- spec/models/recommend_response_spec.rb
|
382
|
+
- spec/models/get_attachment_response_spec.rb
|
383
|
+
- spec/models/provider_health_spec.rb
|
384
|
+
- spec/models/get_session_result_request_spec.rb
|
385
|
+
- spec/models/integration_capability_spec.rb
|
386
|
+
- spec/models/kenya_nid_input_spec.rb
|
387
|
+
- spec/models/get_attachment_request_spec.rb
|
376
388
|
- spec/spec_helper.rb
|