trinsic_api 2.2.0.pre.alpha1 → 2.3.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.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/docs/AddRedirectUriResponse.md +18 -0
  3. data/docs/ContractField.md +2 -0
  4. data/docs/ContractIdentifierField.md +22 -0
  5. data/docs/CreateVerificationProfileResponse.md +18 -0
  6. data/docs/EnvironmentRedirectUrisAddRequest.md +18 -0
  7. data/docs/EnvironmentRedirectUrisApi.md +222 -0
  8. data/docs/FaydaProviderOutput.md +18 -0
  9. data/docs/Identifier.md +22 -0
  10. data/docs/IdentityData.md +5 -1
  11. data/docs/ListEnvironmentRedirectUrisResponse.md +20 -0
  12. data/docs/ListVerificationProfilesResponse.md +20 -0
  13. data/docs/MexicoCurpProviderOutput.md +18 -0
  14. data/docs/NetworkApi.md +7 -5
  15. data/docs/ProviderContract.md +2 -0
  16. data/docs/ProviderOutput.md +22 -0
  17. data/docs/RedirectUriResponse.md +20 -0
  18. data/docs/SessionsApi.md +14 -14
  19. data/docs/SpidBillingInformation.md +22 -0
  20. data/docs/SpidInput.md +3 -1
  21. data/docs/SpidProviderOutput.md +26 -0
  22. data/docs/VerificationProfileResponse.md +28 -0
  23. data/docs/VerificationProfilesApi.md +231 -0
  24. data/lib/trinsic_api/api/environment_redirect_uris_api.rb +228 -0
  25. data/lib/trinsic_api/api/network_api.rb +6 -2
  26. data/lib/trinsic_api/api/sessions_api.rb +18 -18
  27. data/lib/trinsic_api/api/verification_profiles_api.rb +273 -0
  28. data/lib/trinsic_api/models/add_redirect_uri_response.rb +237 -0
  29. data/lib/trinsic_api/models/contract_field.rb +28 -1
  30. data/lib/trinsic_api/models/contract_identifier_field.rb +315 -0
  31. data/lib/trinsic_api/models/create_verification_profile_response.rb +238 -0
  32. data/lib/trinsic_api/models/environment_redirect_uris_add_request.rb +237 -0
  33. data/lib/trinsic_api/models/fayda_provider_output.rb +222 -0
  34. data/lib/trinsic_api/models/identifier.rb +289 -0
  35. data/lib/trinsic_api/models/identity_data.rb +43 -5
  36. data/lib/trinsic_api/models/list_environment_redirect_uris_response.rb +268 -0
  37. data/lib/trinsic_api/models/list_verification_profiles_response.rb +266 -0
  38. data/lib/trinsic_api/models/mexico_curp_provider_output.rb +222 -0
  39. data/lib/trinsic_api/models/provider_contract.rb +14 -1
  40. data/lib/trinsic_api/models/provider_output.rb +241 -0
  41. data/lib/trinsic_api/models/redirect_uri_response.rb +263 -0
  42. data/lib/trinsic_api/models/spid_billing_information.rb +293 -0
  43. data/lib/trinsic_api/models/spid_input.rb +16 -5
  44. data/lib/trinsic_api/models/spid_provider_output.rb +266 -0
  45. data/lib/trinsic_api/models/verification_profile_response.rb +375 -0
  46. data/lib/trinsic_api/version.rb +1 -1
  47. data/lib/trinsic_api.rb +16 -0
  48. data/spec/api/environment_redirect_uris_api_spec.rb +72 -0
  49. data/spec/api/network_api_spec.rb +3 -1
  50. data/spec/api/sessions_api_spec.rb +2 -2
  51. data/spec/api/verification_profiles_api_spec.rb +76 -0
  52. data/spec/models/add_redirect_uri_response_spec.rb +36 -0
  53. data/spec/models/contract_field_spec.rb +6 -0
  54. data/spec/models/contract_identifier_field_spec.rb +48 -0
  55. data/spec/models/create_verification_profile_response_spec.rb +36 -0
  56. data/spec/models/environment_redirect_uris_add_request_spec.rb +36 -0
  57. data/spec/models/fayda_provider_output_spec.rb +36 -0
  58. data/spec/models/identifier_spec.rb +48 -0
  59. data/spec/models/identity_data_spec.rb +12 -0
  60. data/spec/models/list_environment_redirect_uris_response_spec.rb +42 -0
  61. data/spec/models/list_verification_profiles_response_spec.rb +42 -0
  62. data/spec/models/mexico_curp_provider_output_spec.rb +36 -0
  63. data/spec/models/provider_contract_spec.rb +6 -0
  64. data/spec/models/provider_output_spec.rb +48 -0
  65. data/spec/models/redirect_uri_response_spec.rb +42 -0
  66. data/spec/models/spid_billing_information_spec.rb +48 -0
  67. data/spec/models/spid_input_spec.rb +6 -0
  68. data/spec/models/spid_provider_output_spec.rb +60 -0
  69. data/spec/models/verification_profile_response_spec.rb +66 -0
  70. metadata +66 -2
@@ -0,0 +1,22 @@
1
+ # TrinsicApi::SpidBillingInformation
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **is_billable** | **Boolean** | Whether this SPID verification has resulted in a billable event. | |
8
+ | **verification_type** | **String** | The billable verification type for this SPID verification. Possible values: \"Authentication\" | \"Registration\" | |
9
+ | **verification_level** | **Integer** | The billable verification level for this SPID verification. Possible values: 1 | 2 | 3 | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'trinsic_api'
15
+
16
+ instance = TrinsicApi::SpidBillingInformation.new(
17
+ is_billable: true,
18
+ verification_type: "Authentication",
19
+ verification_level: 1
20
+ )
21
+ ```
22
+
data/docs/SpidInput.md CHANGED
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **sub_provider_id** | **String** | The ID of the specific IDP to invoke within SPID. If not specified, the user will be prompted to select an IDP. | [optional] |
8
+ | **billing_tracking_secret** | **String** | Only applicable if period-based billing is enabled for your Verification Profile. Contact Trinsic to enable this. A secret UTF-8 string between 32 and 64 characters in length, used to enable privacy-preserving tracking of unique user verifications during a billing period. WARNING: This value must NOT change during the course of a billing period for a given Verification Profile, or double-billing may occur. If multiple Verification Profiles are configured to use the same Trinsic-managed SPID Service Provider, the same Billing Tracking Secret must be provided across all such Verification Profiles. | [optional] |
8
9
 
9
10
  ## Example
10
11
 
@@ -12,7 +13,8 @@
12
13
  require 'trinsic_api'
13
14
 
14
15
  instance = TrinsicApi::SpidInput.new(
15
- sub_provider_id: null
16
+ sub_provider_id: null,
17
+ billing_tracking_secret: null
16
18
  )
17
19
  ```
18
20
 
@@ -0,0 +1,26 @@
1
+ # TrinsicApi::SpidProviderOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **billing_information** | [**SpidBillingInformation**](SpidBillingInformation.md) | Information about the billable status of this SPID Verification. Present only if your account has period-based billing enabled for SPID. Contact Trinsic to enable this. | [optional] |
8
+ | **fiscal_number** | **String** | Fiscal tax number for the subject. | [optional] |
9
+ | **spid_code** | **String** | Unique user identifier contained within the SPID identity. | [optional] |
10
+ | **iva_code** | **String** | VAT number for the subject. | [optional] |
11
+ | **spid_credential_expiration_date** | **Date** | Expiration date of the user's SPID credential. This is not the same as the expiration date of the underlying identity document (such as a passport) which was used to create the SPID identity. | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'trinsic_api'
17
+
18
+ instance = TrinsicApi::SpidProviderOutput.new(
19
+ billing_information: null,
20
+ fiscal_number: null,
21
+ spid_code: null,
22
+ iva_code: null,
23
+ spid_credential_expiration_date: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,28 @@
1
+ # TrinsicApi::VerificationProfileResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The ID of the verification profile | |
8
+ | **_alias** | **String** | An alias of the verification profile shown to developers and administrators. | |
9
+ | **brand_name** | **String** | The brand name of the verification profile shown to end-users. | |
10
+ | **logo_url** | **String** | The URL of the verification profile's logo. | |
11
+ | **primary_color** | **String** | The primary color of the verification profile. | |
12
+ | **enabled_providers** | **Array<String>** | The providers that are currently enabled for the verification profile. | |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'trinsic_api'
18
+
19
+ instance = TrinsicApi::VerificationProfileResponse.new(
20
+ id: null,
21
+ _alias: null,
22
+ brand_name: null,
23
+ logo_url: null,
24
+ primary_color: null,
25
+ enabled_providers: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,231 @@
1
+ # TrinsicApi::VerificationProfilesApi
2
+
3
+ All URIs are relative to *https://api.trinsic.id*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create_verification_profile**](VerificationProfilesApi.md#create_verification_profile) | **POST** /api/valpha/verification-profiles | Create Verification Profile |
8
+ | [**get_verification_profile_by_id**](VerificationProfilesApi.md#get_verification_profile_by_id) | **GET** /api/valpha/verification-profiles/{id} | Get Verification Profile |
9
+ | [**list_verification_profiles**](VerificationProfilesApi.md#list_verification_profiles) | **GET** /api/valpha/verification-profiles | List Verification Profiles |
10
+
11
+
12
+ ## create_verification_profile
13
+
14
+ > <CreateVerificationProfileResponse> create_verification_profile(_alias, brand_name, opts)
15
+
16
+ Create Verification Profile
17
+
18
+ Creates a new verification profile within your organization.
19
+
20
+ ### Examples
21
+
22
+ ```ruby
23
+ require 'time'
24
+ require 'trinsic_api'
25
+ # setup authorization
26
+ TrinsicApi.configure do |config|
27
+ # Configure Bearer authorization: Bearer
28
+ config.access_token = 'YOUR_BEARER_TOKEN'
29
+ end
30
+
31
+ api_instance = TrinsicApi::VerificationProfilesApi.new
32
+ _alias = '_alias_example' # String | An alias of the verification profile shown to developers and administrators.
33
+ brand_name = 'brand_name_example' # String | The brand name of the verification profile shown to end-users.
34
+ opts = {
35
+ primary_color: 'primary_color_example', # String | The primary color of the verification profile. Must be a 6-character hex string prefixed with a '#' character. Example: #000000
36
+ providers: ['inner_example'], # Array<String> | The list of providers you'd like to select for this profile. We will not currently enable any providers.
37
+ logo: File.new('/path/to/some/file') # File | The logo of the verification profile.
38
+ }
39
+
40
+ begin
41
+ # Create Verification Profile
42
+ result = api_instance.create_verification_profile(_alias, brand_name, opts)
43
+ p result
44
+ rescue TrinsicApi::ApiError => e
45
+ puts "Error when calling VerificationProfilesApi->create_verification_profile: #{e}"
46
+ end
47
+ ```
48
+
49
+ #### Using the create_verification_profile_with_http_info variant
50
+
51
+ This returns an Array which contains the response data, status code and headers.
52
+
53
+ > <Array(<CreateVerificationProfileResponse>, Integer, Hash)> create_verification_profile_with_http_info(_alias, brand_name, opts)
54
+
55
+ ```ruby
56
+ begin
57
+ # Create Verification Profile
58
+ data, status_code, headers = api_instance.create_verification_profile_with_http_info(_alias, brand_name, opts)
59
+ p status_code # => 2xx
60
+ p headers # => { ... }
61
+ p data # => <CreateVerificationProfileResponse>
62
+ rescue TrinsicApi::ApiError => e
63
+ puts "Error when calling VerificationProfilesApi->create_verification_profile_with_http_info: #{e}"
64
+ end
65
+ ```
66
+
67
+ ### Parameters
68
+
69
+ | Name | Type | Description | Notes |
70
+ | ---- | ---- | ----------- | ----- |
71
+ | **_alias** | **String** | An alias of the verification profile shown to developers and administrators. | |
72
+ | **brand_name** | **String** | The brand name of the verification profile shown to end-users. | |
73
+ | **primary_color** | **String** | The primary color of the verification profile. Must be a 6-character hex string prefixed with a &#39;#&#39; character. Example: #000000 | [optional] |
74
+ | **providers** | [**Array&lt;String&gt;**](String.md) | The list of providers you&#39;d like to select for this profile. We will not currently enable any providers. | [optional] |
75
+ | **logo** | **File** | The logo of the verification profile. | [optional] |
76
+
77
+ ### Return type
78
+
79
+ [**CreateVerificationProfileResponse**](CreateVerificationProfileResponse.md)
80
+
81
+ ### Authorization
82
+
83
+ [Bearer](../README.md#Bearer)
84
+
85
+ ### HTTP request headers
86
+
87
+ - **Content-Type**: multipart/form-data
88
+ - **Accept**: text/plain, application/json, text/json, application/problem+json
89
+
90
+
91
+ ## get_verification_profile_by_id
92
+
93
+ > <VerificationProfileResponse> get_verification_profile_by_id(id)
94
+
95
+ Get Verification Profile
96
+
97
+ Gets a specific verification profile by ID.
98
+
99
+ ### Examples
100
+
101
+ ```ruby
102
+ require 'time'
103
+ require 'trinsic_api'
104
+ # setup authorization
105
+ TrinsicApi.configure do |config|
106
+ # Configure Bearer authorization: Bearer
107
+ config.access_token = 'YOUR_BEARER_TOKEN'
108
+ end
109
+
110
+ api_instance = TrinsicApi::VerificationProfilesApi.new
111
+ id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
112
+
113
+ begin
114
+ # Get Verification Profile
115
+ result = api_instance.get_verification_profile_by_id(id)
116
+ p result
117
+ rescue TrinsicApi::ApiError => e
118
+ puts "Error when calling VerificationProfilesApi->get_verification_profile_by_id: #{e}"
119
+ end
120
+ ```
121
+
122
+ #### Using the get_verification_profile_by_id_with_http_info variant
123
+
124
+ This returns an Array which contains the response data, status code and headers.
125
+
126
+ > <Array(<VerificationProfileResponse>, Integer, Hash)> get_verification_profile_by_id_with_http_info(id)
127
+
128
+ ```ruby
129
+ begin
130
+ # Get Verification Profile
131
+ data, status_code, headers = api_instance.get_verification_profile_by_id_with_http_info(id)
132
+ p status_code # => 2xx
133
+ p headers # => { ... }
134
+ p data # => <VerificationProfileResponse>
135
+ rescue TrinsicApi::ApiError => e
136
+ puts "Error when calling VerificationProfilesApi->get_verification_profile_by_id_with_http_info: #{e}"
137
+ end
138
+ ```
139
+
140
+ ### Parameters
141
+
142
+ | Name | Type | Description | Notes |
143
+ | ---- | ---- | ----------- | ----- |
144
+ | **id** | **String** | | |
145
+
146
+ ### Return type
147
+
148
+ [**VerificationProfileResponse**](VerificationProfileResponse.md)
149
+
150
+ ### Authorization
151
+
152
+ [Bearer](../README.md#Bearer)
153
+
154
+ ### HTTP request headers
155
+
156
+ - **Content-Type**: Not defined
157
+ - **Accept**: text/plain, application/json, text/json, application/problem+json
158
+
159
+
160
+ ## list_verification_profiles
161
+
162
+ > <ListVerificationProfilesResponse> list_verification_profiles(opts)
163
+
164
+ List Verification Profiles
165
+
166
+ List the verification profiles for the current organization and environment.
167
+
168
+ ### Examples
169
+
170
+ ```ruby
171
+ require 'time'
172
+ require 'trinsic_api'
173
+ # setup authorization
174
+ TrinsicApi.configure do |config|
175
+ # Configure Bearer authorization: Bearer
176
+ config.access_token = 'YOUR_BEARER_TOKEN'
177
+ end
178
+
179
+ api_instance = TrinsicApi::VerificationProfilesApi.new
180
+ opts = {
181
+ page: 56, # Integer |
182
+ page_size: 56 # Integer | Size of the list to be returned. Accepted range from 1 to 100
183
+ }
184
+
185
+ begin
186
+ # List Verification Profiles
187
+ result = api_instance.list_verification_profiles(opts)
188
+ p result
189
+ rescue TrinsicApi::ApiError => e
190
+ puts "Error when calling VerificationProfilesApi->list_verification_profiles: #{e}"
191
+ end
192
+ ```
193
+
194
+ #### Using the list_verification_profiles_with_http_info variant
195
+
196
+ This returns an Array which contains the response data, status code and headers.
197
+
198
+ > <Array(<ListVerificationProfilesResponse>, Integer, Hash)> list_verification_profiles_with_http_info(opts)
199
+
200
+ ```ruby
201
+ begin
202
+ # List Verification Profiles
203
+ data, status_code, headers = api_instance.list_verification_profiles_with_http_info(opts)
204
+ p status_code # => 2xx
205
+ p headers # => { ... }
206
+ p data # => <ListVerificationProfilesResponse>
207
+ rescue TrinsicApi::ApiError => e
208
+ puts "Error when calling VerificationProfilesApi->list_verification_profiles_with_http_info: #{e}"
209
+ end
210
+ ```
211
+
212
+ ### Parameters
213
+
214
+ | Name | Type | Description | Notes |
215
+ | ---- | ---- | ----------- | ----- |
216
+ | **page** | **Integer** | | [optional][default to 1] |
217
+ | **page_size** | **Integer** | Size of the list to be returned. Accepted range from 1 to 100 | [optional][default to 20] |
218
+
219
+ ### Return type
220
+
221
+ [**ListVerificationProfilesResponse**](ListVerificationProfilesResponse.md)
222
+
223
+ ### Authorization
224
+
225
+ [Bearer](../README.md#Bearer)
226
+
227
+ ### HTTP request headers
228
+
229
+ - **Content-Type**: Not defined
230
+ - **Accept**: text/plain, application/json, text/json, application/problem+json
231
+
@@ -0,0 +1,228 @@
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 'cgi'
14
+
15
+ module TrinsicApi
16
+ class EnvironmentRedirectUrisApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Add Redirect URI
23
+ # Add a new redirect uri to the environment.
24
+ # @param [Hash] opts the optional parameters
25
+ # @option opts [EnvironmentRedirectUrisAddRequest] :environment_redirect_uris_add_request Request for uri to add to the environment. Must be absolute, not relative. Wildcard \&quot;*\&quot; accepted.
26
+ # @return [AddRedirectUriResponse]
27
+ def add(opts = {})
28
+ data, _status_code, _headers = add_with_http_info(opts)
29
+ data
30
+ end
31
+
32
+ # Add Redirect URI
33
+ # Add a new redirect uri to the environment.
34
+ # @param [Hash] opts the optional parameters
35
+ # @option opts [EnvironmentRedirectUrisAddRequest] :environment_redirect_uris_add_request Request for uri to add to the environment. Must be absolute, not relative. Wildcard \&quot;*\&quot; accepted.
36
+ # @return [Array<(AddRedirectUriResponse, Integer, Hash)>] AddRedirectUriResponse data, response status code and response headers
37
+ def add_with_http_info(opts = {})
38
+ if @api_client.config.debugging
39
+ @api_client.config.logger.debug 'Calling API: EnvironmentRedirectUrisApi.add ...'
40
+ end
41
+ # resource path
42
+ local_var_path = '/api/valpha/environments/redirect-uris'
43
+
44
+ # query parameters
45
+ query_params = opts[:query_params] || {}
46
+
47
+ # header parameters
48
+ header_params = opts[:header_params] || {}
49
+ # HTTP header 'Accept' (if needed)
50
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json', 'application/problem+json']) unless header_params['Accept']
51
+ # HTTP header 'Content-Type'
52
+ content_type = @api_client.select_header_content_type(['application/json', 'text/json', 'application/*+json'])
53
+ if !content_type.nil?
54
+ header_params['Content-Type'] = content_type
55
+ end
56
+
57
+ # form parameters
58
+ form_params = opts[:form_params] || {}
59
+
60
+ # http body (model)
61
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'environment_redirect_uris_add_request'])
62
+
63
+ # return_type
64
+ return_type = opts[:debug_return_type] || 'AddRedirectUriResponse'
65
+
66
+ # auth_names
67
+ auth_names = opts[:debug_auth_names] || ['Bearer']
68
+
69
+ new_options = opts.merge(
70
+ :operation => :"EnvironmentRedirectUrisApi.add",
71
+ :header_params => header_params,
72
+ :query_params => query_params,
73
+ :form_params => form_params,
74
+ :body => post_body,
75
+ :auth_names => auth_names,
76
+ :return_type => return_type
77
+ )
78
+
79
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
80
+ if @api_client.config.debugging
81
+ @api_client.config.logger.debug "API called: EnvironmentRedirectUrisApi#add\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
+ end
83
+ return data, status_code, headers
84
+ end
85
+
86
+ # Delete Redirect URI
87
+ # Delete a redirect uri from the environment.
88
+ # @param id [String] The id of the redirect uri to delete.
89
+ # @param [Hash] opts the optional parameters
90
+ # @return [nil]
91
+ def delete(id, opts = {})
92
+ delete_with_http_info(id, opts)
93
+ nil
94
+ end
95
+
96
+ # Delete Redirect URI
97
+ # Delete a redirect uri from the environment.
98
+ # @param id [String] The id of the redirect uri to delete.
99
+ # @param [Hash] opts the optional parameters
100
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
101
+ def delete_with_http_info(id, opts = {})
102
+ if @api_client.config.debugging
103
+ @api_client.config.logger.debug 'Calling API: EnvironmentRedirectUrisApi.delete ...'
104
+ end
105
+ # verify the required parameter 'id' is set
106
+ if @api_client.config.client_side_validation && id.nil?
107
+ fail ArgumentError, "Missing the required parameter 'id' when calling EnvironmentRedirectUrisApi.delete"
108
+ end
109
+ # resource path
110
+ local_var_path = '/api/valpha/environments/redirect-uris/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
111
+
112
+ # query parameters
113
+ query_params = opts[:query_params] || {}
114
+
115
+ # header parameters
116
+ header_params = opts[:header_params] || {}
117
+ # HTTP header 'Accept' (if needed)
118
+ header_params['Accept'] = @api_client.select_header_accept(['application/problem+json']) unless header_params['Accept']
119
+
120
+ # form parameters
121
+ form_params = opts[:form_params] || {}
122
+
123
+ # http body (model)
124
+ post_body = opts[:debug_body]
125
+
126
+ # return_type
127
+ return_type = opts[:debug_return_type]
128
+
129
+ # auth_names
130
+ auth_names = opts[:debug_auth_names] || ['Bearer']
131
+
132
+ new_options = opts.merge(
133
+ :operation => :"EnvironmentRedirectUrisApi.delete",
134
+ :header_params => header_params,
135
+ :query_params => query_params,
136
+ :form_params => form_params,
137
+ :body => post_body,
138
+ :auth_names => auth_names,
139
+ :return_type => return_type
140
+ )
141
+
142
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
143
+ if @api_client.config.debugging
144
+ @api_client.config.logger.debug "API called: EnvironmentRedirectUrisApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
145
+ end
146
+ return data, status_code, headers
147
+ end
148
+
149
+ # List Redirect URIs
150
+ # List redirect URIs within the environment.
151
+ # @param [Hash] opts the optional parameters
152
+ # @option opts [Integer] :page Number of pages of uris to return. (default to 1)
153
+ # @option opts [Integer] :page_size Size of the list to be returned. Accepted range from 1 to 100 (default to 20)
154
+ # @return [ListEnvironmentRedirectUrisResponse]
155
+ def list(opts = {})
156
+ data, _status_code, _headers = list_with_http_info(opts)
157
+ data
158
+ end
159
+
160
+ # List Redirect URIs
161
+ # List redirect URIs within the environment.
162
+ # @param [Hash] opts the optional parameters
163
+ # @option opts [Integer] :page Number of pages of uris to return. (default to 1)
164
+ # @option opts [Integer] :page_size Size of the list to be returned. Accepted range from 1 to 100 (default to 20)
165
+ # @return [Array<(ListEnvironmentRedirectUrisResponse, Integer, Hash)>] ListEnvironmentRedirectUrisResponse data, response status code and response headers
166
+ def list_with_http_info(opts = {})
167
+ if @api_client.config.debugging
168
+ @api_client.config.logger.debug 'Calling API: EnvironmentRedirectUrisApi.list ...'
169
+ end
170
+ if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] > 2147483647
171
+ fail ArgumentError, 'invalid value for "opts[:"page"]" when calling EnvironmentRedirectUrisApi.list, must be smaller than or equal to 2147483647.'
172
+ end
173
+
174
+ if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] < 1
175
+ fail ArgumentError, 'invalid value for "opts[:"page"]" when calling EnvironmentRedirectUrisApi.list, must be greater than or equal to 1.'
176
+ end
177
+
178
+ if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 100
179
+ fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling EnvironmentRedirectUrisApi.list, must be smaller than or equal to 100.'
180
+ end
181
+
182
+ if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1
183
+ fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling EnvironmentRedirectUrisApi.list, must be greater than or equal to 1.'
184
+ end
185
+
186
+ # resource path
187
+ local_var_path = '/api/valpha/environments/redirect-uris'
188
+
189
+ # query parameters
190
+ query_params = opts[:query_params] || {}
191
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
192
+ query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
193
+
194
+ # header parameters
195
+ header_params = opts[:header_params] || {}
196
+ # HTTP header 'Accept' (if needed)
197
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json', 'application/problem+json']) unless header_params['Accept']
198
+
199
+ # form parameters
200
+ form_params = opts[:form_params] || {}
201
+
202
+ # http body (model)
203
+ post_body = opts[:debug_body]
204
+
205
+ # return_type
206
+ return_type = opts[:debug_return_type] || 'ListEnvironmentRedirectUrisResponse'
207
+
208
+ # auth_names
209
+ auth_names = opts[:debug_auth_names] || ['Bearer']
210
+
211
+ new_options = opts.merge(
212
+ :operation => :"EnvironmentRedirectUrisApi.list",
213
+ :header_params => header_params,
214
+ :query_params => query_params,
215
+ :form_params => form_params,
216
+ :body => post_body,
217
+ :auth_names => auth_names,
218
+ :return_type => return_type
219
+ )
220
+
221
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
222
+ if @api_client.config.debugging
223
+ @api_client.config.logger.debug "API called: EnvironmentRedirectUrisApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
224
+ end
225
+ return data, status_code, headers
226
+ end
227
+ end
228
+ end
@@ -82,18 +82,22 @@ module TrinsicApi
82
82
  return data, status_code, headers
83
83
  end
84
84
 
85
+ # List Providers
86
+ # List all identity providers available for use
85
87
  # @param verification_profile_id [String]
86
88
  # @param [Hash] opts the optional parameters
87
- # @option opts [String] :health
89
+ # @option opts [String] :health Filter providers by health status. Valid values: \&quot;online\&quot;, \&quot;offline\&quot;, \&quot;all\&quot;. Defaults to \&quot;all\&quot;.
88
90
  # @return [ListProvidersResponse]
89
91
  def list_providers(verification_profile_id, opts = {})
90
92
  data, _status_code, _headers = list_providers_with_http_info(verification_profile_id, opts)
91
93
  data
92
94
  end
93
95
 
96
+ # List Providers
97
+ # List all identity providers available for use
94
98
  # @param verification_profile_id [String]
95
99
  # @param [Hash] opts the optional parameters
96
- # @option opts [String] :health
100
+ # @option opts [String] :health Filter providers by health status. Valid values: \&quot;online\&quot;, \&quot;offline\&quot;, \&quot;all\&quot;. Defaults to \&quot;all\&quot;.
97
101
  # @return [Array<(ListProvidersResponse, Integer, Hash)>] ListProvidersResponse data, response status code and response headers
98
102
  def list_providers_with_http_info(verification_profile_id, opts = {})
99
103
  if @api_client.config.debugging
@@ -561,31 +561,31 @@ module TrinsicApi
561
561
 
562
562
  # Refresh Step Content
563
563
  # Refreshes the content of a Step for a Direct Provider Session.
564
- # @param acceptance_session_id [String]
564
+ # @param session_id [String]
565
565
  # @param [Hash] opts the optional parameters
566
566
  # @option opts [RefreshStepContentRequest] :refresh_step_content_request
567
567
  # @return [RefreshStepContentResponse]
568
- def refresh_step_content(acceptance_session_id, opts = {})
569
- data, _status_code, _headers = refresh_step_content_with_http_info(acceptance_session_id, opts)
568
+ def refresh_step_content(session_id, opts = {})
569
+ data, _status_code, _headers = refresh_step_content_with_http_info(session_id, opts)
570
570
  data
571
571
  end
572
572
 
573
573
  # Refresh Step Content
574
574
  # Refreshes the content of a Step for a Direct Provider Session.
575
- # @param acceptance_session_id [String]
575
+ # @param session_id [String]
576
576
  # @param [Hash] opts the optional parameters
577
577
  # @option opts [RefreshStepContentRequest] :refresh_step_content_request
578
578
  # @return [Array<(RefreshStepContentResponse, Integer, Hash)>] RefreshStepContentResponse data, response status code and response headers
579
- def refresh_step_content_with_http_info(acceptance_session_id, opts = {})
579
+ def refresh_step_content_with_http_info(session_id, opts = {})
580
580
  if @api_client.config.debugging
581
581
  @api_client.config.logger.debug 'Calling API: SessionsApi.refresh_step_content ...'
582
582
  end
583
- # verify the required parameter 'acceptance_session_id' is set
584
- if @api_client.config.client_side_validation && acceptance_session_id.nil?
585
- fail ArgumentError, "Missing the required parameter 'acceptance_session_id' when calling SessionsApi.refresh_step_content"
583
+ # verify the required parameter 'session_id' is set
584
+ if @api_client.config.client_side_validation && session_id.nil?
585
+ fail ArgumentError, "Missing the required parameter 'session_id' when calling SessionsApi.refresh_step_content"
586
586
  end
587
587
  # resource path
588
- local_var_path = '/api/v1/sessions/{acceptanceSessionId}/step/refresh'.sub('{' + 'acceptanceSessionId' + '}', CGI.escape(acceptance_session_id.to_s))
588
+ local_var_path = '/api/v1/sessions/{sessionId}/step/refresh'.sub('{' + 'sessionId' + '}', CGI.escape(session_id.to_s))
589
589
 
590
590
  # query parameters
591
591
  query_params = opts[:query_params] || {}
@@ -631,31 +631,31 @@ module TrinsicApi
631
631
 
632
632
  # Submit Native Challenge Response
633
633
  # Submits the response from a Native Challenge (e.g., mDL exchange via DC API) and processes the results.
634
- # @param acceptance_session_id [String]
634
+ # @param session_id [String]
635
635
  # @param [Hash] opts the optional parameters
636
636
  # @option opts [SubmitNativeChallengeResponseRequest] :submit_native_challenge_response_request
637
637
  # @return [SubmitNativeChallengeResponseResponse]
638
- def submit_native_challenge_response(acceptance_session_id, opts = {})
639
- data, _status_code, _headers = submit_native_challenge_response_with_http_info(acceptance_session_id, opts)
638
+ def submit_native_challenge_response(session_id, opts = {})
639
+ data, _status_code, _headers = submit_native_challenge_response_with_http_info(session_id, opts)
640
640
  data
641
641
  end
642
642
 
643
643
  # Submit Native Challenge Response
644
644
  # Submits the response from a Native Challenge (e.g., mDL exchange via DC API) and processes the results.
645
- # @param acceptance_session_id [String]
645
+ # @param session_id [String]
646
646
  # @param [Hash] opts the optional parameters
647
647
  # @option opts [SubmitNativeChallengeResponseRequest] :submit_native_challenge_response_request
648
648
  # @return [Array<(SubmitNativeChallengeResponseResponse, Integer, Hash)>] SubmitNativeChallengeResponseResponse data, response status code and response headers
649
- def submit_native_challenge_response_with_http_info(acceptance_session_id, opts = {})
649
+ def submit_native_challenge_response_with_http_info(session_id, opts = {})
650
650
  if @api_client.config.debugging
651
651
  @api_client.config.logger.debug 'Calling API: SessionsApi.submit_native_challenge_response ...'
652
652
  end
653
- # verify the required parameter 'acceptance_session_id' is set
654
- if @api_client.config.client_side_validation && acceptance_session_id.nil?
655
- fail ArgumentError, "Missing the required parameter 'acceptance_session_id' when calling SessionsApi.submit_native_challenge_response"
653
+ # verify the required parameter 'session_id' is set
654
+ if @api_client.config.client_side_validation && session_id.nil?
655
+ fail ArgumentError, "Missing the required parameter 'session_id' when calling SessionsApi.submit_native_challenge_response"
656
656
  end
657
657
  # resource path
658
- local_var_path = '/api/v1/sessions/{acceptanceSessionId}/native-challenge/submit'.sub('{' + 'acceptanceSessionId' + '}', CGI.escape(acceptance_session_id.to_s))
658
+ local_var_path = '/api/v1/sessions/{sessionId}/native-challenge/submit'.sub('{' + 'sessionId' + '}', CGI.escape(session_id.to_s))
659
659
 
660
660
  # query parameters
661
661
  query_params = opts[:query_params] || {}