trinsic_api 2.0.0.pre.alpha3 → 2.0.0

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.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/docs/AttachmentsApi.md +1 -1
  4. data/docs/BrazilDigitalCnhInput.md +2 -2
  5. data/docs/CreateAdvancedProviderSessionRequest.md +3 -3
  6. data/docs/CreateHostedProviderSessionResponse.md +4 -2
  7. data/docs/CreateWidgetSessionRequest.md +3 -3
  8. data/docs/CreateWidgetSessionResponse.md +4 -2
  9. data/docs/IdentityData.md +2 -0
  10. data/docs/IdinInput.md +18 -0
  11. data/docs/Language.md +15 -0
  12. data/docs/ListProviderContractsResponse.md +18 -0
  13. data/docs/MobileIdInput.md +22 -0
  14. data/docs/NetworkApi.md +71 -4
  15. data/docs/ProviderContract.md +46 -0
  16. data/docs/ProviderInfo.md +1 -3
  17. data/docs/ProviderInformation.md +3 -3
  18. data/docs/ProviderInput.md +24 -12
  19. data/docs/RecommendRequest.md +2 -10
  20. data/docs/RecommendationInfo.md +24 -0
  21. data/docs/ResultCollection.md +2 -2
  22. data/docs/Session.md +3 -3
  23. data/docs/SessionsApi.md +2 -2
  24. data/docs/SmartIdInput.md +18 -0
  25. data/docs/SpidInput.md +18 -0
  26. data/docs/StepRefreshInfo.md +1 -1
  27. data/docs/SubProviderMetadata.md +24 -0
  28. data/docs/TrinsicTestDatabaseLookupInput.md +24 -0
  29. data/docs/TrinsicTestSubProvidersInput.md +18 -0
  30. data/lib/trinsic_api/api/attachments_api.rb +2 -2
  31. data/lib/trinsic_api/api/network_api.rb +59 -2
  32. data/lib/trinsic_api/api/sessions_api.rb +4 -4
  33. data/lib/trinsic_api/models/brazil_digital_cnh_input.rb +2 -2
  34. data/lib/trinsic_api/models/create_advanced_provider_session_request.rb +3 -3
  35. data/lib/trinsic_api/models/create_hosted_provider_session_response.rb +29 -6
  36. data/lib/trinsic_api/models/create_widget_session_request.rb +10 -10
  37. data/lib/trinsic_api/models/create_widget_session_response.rb +29 -6
  38. data/lib/trinsic_api/models/identity_data.rb +11 -1
  39. data/lib/trinsic_api/models/{known_identity_data.rb → idin_input.rb} +12 -13
  40. data/lib/trinsic_api/models/integration_launch_method.rb +2 -2
  41. data/lib/trinsic_api/models/language.rb +42 -0
  42. data/lib/trinsic_api/models/list_provider_contracts_response.rb +224 -0
  43. data/lib/trinsic_api/models/mobile_id_input.rb +260 -0
  44. data/lib/trinsic_api/models/provider_contract.rb +482 -0
  45. data/lib/trinsic_api/models/provider_info.rb +4 -17
  46. data/lib/trinsic_api/models/provider_input.rb +82 -16
  47. data/lib/trinsic_api/models/recommend_request.rb +9 -59
  48. data/lib/trinsic_api/models/recommendation_info.rb +256 -0
  49. data/lib/trinsic_api/models/result_collection.rb +8 -2
  50. data/lib/trinsic_api/models/session.rb +3 -3
  51. data/lib/trinsic_api/models/smart_id_input.rb +216 -0
  52. data/lib/trinsic_api/models/spid_input.rb +216 -0
  53. data/lib/trinsic_api/models/step_refresh_info.rb +1 -1
  54. data/lib/trinsic_api/models/{known_address.rb → sub_provider_metadata.rb} +59 -72
  55. data/lib/trinsic_api/models/{known_person_data.rb → trinsic_test_database_lookup_input.rb} +22 -66
  56. data/lib/trinsic_api/models/trinsic_test_sub_providers_input.rb +216 -0
  57. data/lib/trinsic_api/version.rb +1 -1
  58. data/lib/trinsic_api.rb +11 -3
  59. data/spec/api/attachments_api_spec.rb +1 -1
  60. data/spec/api/network_api_spec.rb +12 -1
  61. data/spec/api/sessions_api_spec.rb +2 -2
  62. data/spec/models/create_hosted_provider_session_response_spec.rb +6 -0
  63. data/spec/models/create_widget_session_request_spec.rb +1 -1
  64. data/spec/models/create_widget_session_response_spec.rb +6 -0
  65. data/spec/models/identity_data_spec.rb +6 -0
  66. data/spec/models/{known_identity_data_spec.rb → idin_input_spec.rb} +7 -7
  67. data/spec/models/language_spec.rb +30 -0
  68. data/spec/models/list_provider_contracts_response_spec.rb +36 -0
  69. data/spec/models/mobile_id_input_spec.rb +48 -0
  70. data/spec/models/provider_contract_spec.rb +120 -0
  71. data/spec/models/provider_info_spec.rb +0 -6
  72. data/spec/models/provider_input_spec.rb +36 -0
  73. data/spec/models/recommend_request_spec.rb +1 -25
  74. data/spec/models/recommendation_info_spec.rb +54 -0
  75. data/spec/models/smart_id_input_spec.rb +36 -0
  76. data/spec/models/spid_input_spec.rb +36 -0
  77. data/spec/models/sub_provider_metadata_spec.rb +54 -0
  78. data/spec/models/{known_person_data_spec.rb → trinsic_test_database_lookup_input_spec.rb} +8 -32
  79. data/spec/models/trinsic_test_sub_providers_input_spec.rb +36 -0
  80. metadata +46 -14
  81. data/docs/KnownAddress.md +0 -32
  82. data/docs/KnownIdentityData.md +0 -18
  83. data/docs/KnownPersonData.md +0 -32
  84. data/spec/models/known_address_spec.rb +0 -78
@@ -0,0 +1,120 @@
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::ProviderContract
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrinsicApi::ProviderContract do
21
+ let(:instance) { TrinsicApi::ProviderContract.new }
22
+
23
+ describe 'test an instance of ProviderContract' do
24
+ it 'should create an instance of ProviderContract' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrinsicApi::ProviderContract)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "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 "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 "description"' 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 "logo_url"' 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 "available"' 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 "geography"' 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 "regions"' 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 "launch_method"' 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 "collection_method"' 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 "results_may_be_delayed_after_redirect"' 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
+ describe 'test attribute "has_refreshable_content"' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
96
+ describe 'test attribute "requires_input"' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
+ end
100
+ end
101
+
102
+ describe 'test attribute "has_trinsic_interface"' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
+ end
106
+ end
107
+
108
+ describe 'test attribute "supports_advanced_provider_sessions"' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
111
+ end
112
+ end
113
+
114
+ describe 'test attribute "sub_providers"' do
115
+ it 'should work' do
116
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
117
+ end
118
+ end
119
+
120
+ end
@@ -45,10 +45,4 @@ describe TrinsicApi::ProviderInfo do
45
45
  end
46
46
  end
47
47
 
48
- describe 'test attribute "child_provider_ids"' 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
48
  end
@@ -93,4 +93,40 @@ describe TrinsicApi::ProviderInput do
93
93
  end
94
94
  end
95
95
 
96
+ describe 'test attribute "smart_id"' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
+ end
100
+ end
101
+
102
+ describe 'test attribute "mobile_id"' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
+ end
106
+ end
107
+
108
+ describe 'test attribute "idin"' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
111
+ end
112
+ end
113
+
114
+ describe 'test attribute "spid"' do
115
+ it 'should work' do
116
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
117
+ end
118
+ end
119
+
120
+ describe 'test attribute "trinsic_test_database_lookup"' do
121
+ it 'should work' do
122
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
123
+ end
124
+ end
125
+
126
+ describe 'test attribute "trinsic_test_sub_providers"' do
127
+ it 'should work' do
128
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
129
+ end
130
+ end
131
+
96
132
  end
@@ -27,31 +27,7 @@ describe TrinsicApi::RecommendRequest do
27
27
  end
28
28
  end
29
29
 
30
- describe 'test attribute "phone_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 "countries"' 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 "subdivisions"' 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 "ip_addresses"' 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 "include_disabled_providers"' do
30
+ describe 'test attribute "recommendation_info"' do
55
31
  it 'should work' do
56
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
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::RecommendationInfo
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrinsicApi::RecommendationInfo do
21
+ let(:instance) { TrinsicApi::RecommendationInfo.new }
22
+
23
+ describe 'test an instance of RecommendationInfo' do
24
+ it 'should create an instance of RecommendationInfo' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrinsicApi::RecommendationInfo)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "phone_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 "countries"' 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 "subdivisions"' 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 "ip_addresses"' 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.8.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TrinsicApi::SmartIdInput
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrinsicApi::SmartIdInput do
21
+ let(:instance) { TrinsicApi::SmartIdInput.new }
22
+
23
+ describe 'test an instance of SmartIdInput' do
24
+ it 'should create an instance of SmartIdInput' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrinsicApi::SmartIdInput)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "smart_id_document_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
+ 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.8.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TrinsicApi::SpidInput
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrinsicApi::SpidInput do
21
+ let(:instance) { TrinsicApi::SpidInput.new }
22
+
23
+ describe 'test an instance of SpidInput' do
24
+ it 'should create an instance of SpidInput' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrinsicApi::SpidInput)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "sub_provider_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
+ 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::SubProviderMetadata
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrinsicApi::SubProviderMetadata do
21
+ let(:instance) { TrinsicApi::SubProviderMetadata.new }
22
+
23
+ describe 'test an instance of SubProviderMetadata' do
24
+ it 'should create an instance of SubProviderMetadata' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrinsicApi::SubProviderMetadata)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "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 "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 "description"' 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 "logo_url"' 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
@@ -14,16 +14,16 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for TrinsicApi::KnownPersonData
17
+ # Unit tests for TrinsicApi::TrinsicTestDatabaseLookupInput
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe TrinsicApi::KnownPersonData do
21
- let(:instance) { TrinsicApi::KnownPersonData.new }
20
+ describe TrinsicApi::TrinsicTestDatabaseLookupInput do
21
+ let(:instance) { TrinsicApi::TrinsicTestDatabaseLookupInput.new }
22
22
 
23
- describe 'test an instance of KnownPersonData' do
24
- it 'should create an instance of KnownPersonData' do
23
+ describe 'test an instance of TrinsicTestDatabaseLookupInput' do
24
+ it 'should create an instance of TrinsicTestDatabaseLookupInput' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(TrinsicApi::KnownPersonData)
26
+ #expect(instance).to be_instance_of(TrinsicApi::TrinsicTestDatabaseLookupInput)
27
27
  end
28
28
  end
29
29
 
@@ -39,37 +39,13 @@ describe TrinsicApi::KnownPersonData do
39
39
  end
40
40
  end
41
41
 
42
- describe 'test attribute "middle_name"' do
42
+ describe 'test attribute "identity_code"' 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 "full_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 "suffix"' 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 "phone_number"' 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 "address"' 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 "date_of_birth"' do
48
+ describe 'test attribute "selfie_base64"' do
73
49
  it 'should work' do
74
50
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
51
  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.8.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TrinsicApi::TrinsicTestSubProvidersInput
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrinsicApi::TrinsicTestSubProvidersInput do
21
+ let(:instance) { TrinsicApi::TrinsicTestSubProvidersInput.new }
22
+
23
+ describe 'test an instance of TrinsicTestSubProvidersInput' do
24
+ it 'should create an instance of TrinsicTestSubProvidersInput' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrinsicApi::TrinsicTestSubProvidersInput)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "sub_provider_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
+ end