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