trinsic_api 2.2.0 → 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 (64) 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/ProviderContract.md +2 -0
  15. data/docs/ProviderOutput.md +22 -0
  16. data/docs/RedirectUriResponse.md +20 -0
  17. data/docs/SpidBillingInformation.md +22 -0
  18. data/docs/SpidInput.md +3 -1
  19. data/docs/SpidProviderOutput.md +26 -0
  20. data/docs/VerificationProfileResponse.md +28 -0
  21. data/docs/VerificationProfilesApi.md +231 -0
  22. data/lib/trinsic_api/api/environment_redirect_uris_api.rb +228 -0
  23. data/lib/trinsic_api/api/verification_profiles_api.rb +273 -0
  24. data/lib/trinsic_api/models/add_redirect_uri_response.rb +237 -0
  25. data/lib/trinsic_api/models/contract_field.rb +28 -1
  26. data/lib/trinsic_api/models/contract_identifier_field.rb +315 -0
  27. data/lib/trinsic_api/models/create_verification_profile_response.rb +238 -0
  28. data/lib/trinsic_api/models/environment_redirect_uris_add_request.rb +237 -0
  29. data/lib/trinsic_api/models/fayda_provider_output.rb +222 -0
  30. data/lib/trinsic_api/models/identifier.rb +289 -0
  31. data/lib/trinsic_api/models/identity_data.rb +43 -5
  32. data/lib/trinsic_api/models/list_environment_redirect_uris_response.rb +268 -0
  33. data/lib/trinsic_api/models/list_verification_profiles_response.rb +266 -0
  34. data/lib/trinsic_api/models/mexico_curp_provider_output.rb +222 -0
  35. data/lib/trinsic_api/models/provider_contract.rb +14 -1
  36. data/lib/trinsic_api/models/provider_output.rb +241 -0
  37. data/lib/trinsic_api/models/redirect_uri_response.rb +263 -0
  38. data/lib/trinsic_api/models/spid_billing_information.rb +293 -0
  39. data/lib/trinsic_api/models/spid_input.rb +16 -5
  40. data/lib/trinsic_api/models/spid_provider_output.rb +266 -0
  41. data/lib/trinsic_api/models/verification_profile_response.rb +375 -0
  42. data/lib/trinsic_api/version.rb +1 -1
  43. data/lib/trinsic_api.rb +16 -0
  44. data/spec/api/environment_redirect_uris_api_spec.rb +72 -0
  45. data/spec/api/verification_profiles_api_spec.rb +76 -0
  46. data/spec/models/add_redirect_uri_response_spec.rb +36 -0
  47. data/spec/models/contract_field_spec.rb +6 -0
  48. data/spec/models/contract_identifier_field_spec.rb +48 -0
  49. data/spec/models/create_verification_profile_response_spec.rb +36 -0
  50. data/spec/models/environment_redirect_uris_add_request_spec.rb +36 -0
  51. data/spec/models/fayda_provider_output_spec.rb +36 -0
  52. data/spec/models/identifier_spec.rb +48 -0
  53. data/spec/models/identity_data_spec.rb +12 -0
  54. data/spec/models/list_environment_redirect_uris_response_spec.rb +42 -0
  55. data/spec/models/list_verification_profiles_response_spec.rb +42 -0
  56. data/spec/models/mexico_curp_provider_output_spec.rb +36 -0
  57. data/spec/models/provider_contract_spec.rb +6 -0
  58. data/spec/models/provider_output_spec.rb +48 -0
  59. data/spec/models/redirect_uri_response_spec.rb +42 -0
  60. data/spec/models/spid_billing_information_spec.rb +48 -0
  61. data/spec/models/spid_input_spec.rb +6 -0
  62. data/spec/models/spid_provider_output_spec.rb +60 -0
  63. data/spec/models/verification_profile_response_spec.rb +66 -0
  64. metadata +66 -2
@@ -0,0 +1,375 @@
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 'date'
14
+ require 'time'
15
+
16
+ module TrinsicApi
17
+ class VerificationProfileResponse
18
+ # The ID of the verification profile
19
+ attr_accessor :id
20
+
21
+ # An alias of the verification profile shown to developers and administrators.
22
+ attr_accessor :_alias
23
+
24
+ # The brand name of the verification profile shown to end-users.
25
+ attr_accessor :brand_name
26
+
27
+ # The URL of the verification profile's logo.
28
+ attr_accessor :logo_url
29
+
30
+ # The primary color of the verification profile.
31
+ attr_accessor :primary_color
32
+
33
+ # The providers that are currently enabled for the verification profile.
34
+ attr_accessor :enabled_providers
35
+
36
+ # Attribute mapping from ruby-style variable name to JSON key.
37
+ def self.attribute_map
38
+ {
39
+ :'id' => :'id',
40
+ :'_alias' => :'alias',
41
+ :'brand_name' => :'brandName',
42
+ :'logo_url' => :'logoUrl',
43
+ :'primary_color' => :'primaryColor',
44
+ :'enabled_providers' => :'enabledProviders'
45
+ }
46
+ end
47
+
48
+ # Returns attribute mapping this model knows about
49
+ def self.acceptable_attribute_map
50
+ attribute_map
51
+ end
52
+
53
+ # Returns all the JSON keys this model knows about
54
+ def self.acceptable_attributes
55
+ acceptable_attribute_map.values
56
+ end
57
+
58
+ # Attribute type mapping.
59
+ def self.openapi_types
60
+ {
61
+ :'id' => :'String',
62
+ :'_alias' => :'String',
63
+ :'brand_name' => :'String',
64
+ :'logo_url' => :'String',
65
+ :'primary_color' => :'String',
66
+ :'enabled_providers' => :'Array<String>'
67
+ }
68
+ end
69
+
70
+ # List of attributes with nullable: true
71
+ def self.openapi_nullable
72
+ Set.new([
73
+ ])
74
+ end
75
+
76
+ # Initializes the object
77
+ # @param [Hash] attributes Model attributes in the form of hash
78
+ def initialize(attributes = {})
79
+ if (!attributes.is_a?(Hash))
80
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::VerificationProfileResponse` initialize method"
81
+ end
82
+
83
+ # check to see if the attribute exists and convert string to symbol for hash key
84
+ acceptable_attribute_map = self.class.acceptable_attribute_map
85
+ attributes = attributes.each_with_object({}) { |(k, v), h|
86
+ if (!acceptable_attribute_map.key?(k.to_sym))
87
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::VerificationProfileResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
88
+ end
89
+ h[k.to_sym] = v
90
+ }
91
+
92
+ if attributes.key?(:'id')
93
+ self.id = attributes[:'id']
94
+ else
95
+ self.id = nil
96
+ end
97
+
98
+ if attributes.key?(:'_alias')
99
+ self._alias = attributes[:'_alias']
100
+ else
101
+ self._alias = nil
102
+ end
103
+
104
+ if attributes.key?(:'brand_name')
105
+ self.brand_name = attributes[:'brand_name']
106
+ else
107
+ self.brand_name = nil
108
+ end
109
+
110
+ if attributes.key?(:'logo_url')
111
+ self.logo_url = attributes[:'logo_url']
112
+ else
113
+ self.logo_url = nil
114
+ end
115
+
116
+ if attributes.key?(:'primary_color')
117
+ self.primary_color = attributes[:'primary_color']
118
+ else
119
+ self.primary_color = nil
120
+ end
121
+
122
+ if attributes.key?(:'enabled_providers')
123
+ if (value = attributes[:'enabled_providers']).is_a?(Array)
124
+ self.enabled_providers = value
125
+ end
126
+ else
127
+ self.enabled_providers = nil
128
+ end
129
+ end
130
+
131
+ # Show invalid properties with the reasons. Usually used together with valid?
132
+ # @return Array for valid properties with the reasons
133
+ def list_invalid_properties
134
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
135
+ invalid_properties = Array.new
136
+ if @id.nil?
137
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
138
+ end
139
+
140
+ if @_alias.nil?
141
+ invalid_properties.push('invalid value for "_alias", _alias cannot be nil.')
142
+ end
143
+
144
+ if @brand_name.nil?
145
+ invalid_properties.push('invalid value for "brand_name", brand_name cannot be nil.')
146
+ end
147
+
148
+ if @logo_url.nil?
149
+ invalid_properties.push('invalid value for "logo_url", logo_url cannot be nil.')
150
+ end
151
+
152
+ if @primary_color.nil?
153
+ invalid_properties.push('invalid value for "primary_color", primary_color cannot be nil.')
154
+ end
155
+
156
+ if @enabled_providers.nil?
157
+ invalid_properties.push('invalid value for "enabled_providers", enabled_providers cannot be nil.')
158
+ end
159
+
160
+ invalid_properties
161
+ end
162
+
163
+ # Check to see if the all the properties in the model are valid
164
+ # @return true if the model is valid
165
+ def valid?
166
+ warn '[DEPRECATED] the `valid?` method is obsolete'
167
+ return false if @id.nil?
168
+ return false if @_alias.nil?
169
+ return false if @brand_name.nil?
170
+ return false if @logo_url.nil?
171
+ return false if @primary_color.nil?
172
+ return false if @enabled_providers.nil?
173
+ true
174
+ end
175
+
176
+ # Custom attribute writer method with validation
177
+ # @param [Object] id Value to be assigned
178
+ def id=(id)
179
+ if id.nil?
180
+ fail ArgumentError, 'id cannot be nil'
181
+ end
182
+
183
+ @id = id
184
+ end
185
+
186
+ # Custom attribute writer method with validation
187
+ # @param [Object] _alias Value to be assigned
188
+ def _alias=(_alias)
189
+ if _alias.nil?
190
+ fail ArgumentError, '_alias cannot be nil'
191
+ end
192
+
193
+ @_alias = _alias
194
+ end
195
+
196
+ # Custom attribute writer method with validation
197
+ # @param [Object] brand_name Value to be assigned
198
+ def brand_name=(brand_name)
199
+ if brand_name.nil?
200
+ fail ArgumentError, 'brand_name cannot be nil'
201
+ end
202
+
203
+ @brand_name = brand_name
204
+ end
205
+
206
+ # Custom attribute writer method with validation
207
+ # @param [Object] logo_url Value to be assigned
208
+ def logo_url=(logo_url)
209
+ if logo_url.nil?
210
+ fail ArgumentError, 'logo_url cannot be nil'
211
+ end
212
+
213
+ @logo_url = logo_url
214
+ end
215
+
216
+ # Custom attribute writer method with validation
217
+ # @param [Object] primary_color Value to be assigned
218
+ def primary_color=(primary_color)
219
+ if primary_color.nil?
220
+ fail ArgumentError, 'primary_color cannot be nil'
221
+ end
222
+
223
+ @primary_color = primary_color
224
+ end
225
+
226
+ # Custom attribute writer method with validation
227
+ # @param [Object] enabled_providers Value to be assigned
228
+ def enabled_providers=(enabled_providers)
229
+ if enabled_providers.nil?
230
+ fail ArgumentError, 'enabled_providers cannot be nil'
231
+ end
232
+
233
+ @enabled_providers = enabled_providers
234
+ end
235
+
236
+ # Checks equality by comparing each attribute.
237
+ # @param [Object] Object to be compared
238
+ def ==(o)
239
+ return true if self.equal?(o)
240
+ self.class == o.class &&
241
+ id == o.id &&
242
+ _alias == o._alias &&
243
+ brand_name == o.brand_name &&
244
+ logo_url == o.logo_url &&
245
+ primary_color == o.primary_color &&
246
+ enabled_providers == o.enabled_providers
247
+ end
248
+
249
+ # @see the `==` method
250
+ # @param [Object] Object to be compared
251
+ def eql?(o)
252
+ self == o
253
+ end
254
+
255
+ # Calculates hash code according to all attributes.
256
+ # @return [Integer] Hash code
257
+ def hash
258
+ [id, _alias, brand_name, logo_url, primary_color, enabled_providers].hash
259
+ end
260
+
261
+ # Builds the object from hash
262
+ # @param [Hash] attributes Model attributes in the form of hash
263
+ # @return [Object] Returns the model itself
264
+ def self.build_from_hash(attributes)
265
+ return nil unless attributes.is_a?(Hash)
266
+ attributes = attributes.transform_keys(&:to_sym)
267
+ transformed_hash = {}
268
+ openapi_types.each_pair do |key, type|
269
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
270
+ transformed_hash["#{key}"] = nil
271
+ elsif type =~ /\AArray<(.*)>/i
272
+ # check to ensure the input is an array given that the attribute
273
+ # is documented as an array but the input is not
274
+ if attributes[attribute_map[key]].is_a?(Array)
275
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
276
+ end
277
+ elsif !attributes[attribute_map[key]].nil?
278
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
279
+ end
280
+ end
281
+ new(transformed_hash)
282
+ end
283
+
284
+ # Deserializes the data based on type
285
+ # @param string type Data type
286
+ # @param string value Value to be deserialized
287
+ # @return [Object] Deserialized data
288
+ def self._deserialize(type, value)
289
+ case type.to_sym
290
+ when :Time
291
+ Time.parse(value)
292
+ when :Date
293
+ Date.parse(value)
294
+ when :String
295
+ value.to_s
296
+ when :Integer
297
+ value.to_i
298
+ when :Float
299
+ value.to_f
300
+ when :Boolean
301
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
302
+ true
303
+ else
304
+ false
305
+ end
306
+ when :Object
307
+ # generic object (usually a Hash), return directly
308
+ value
309
+ when /\AArray<(?<inner_type>.+)>\z/
310
+ inner_type = Regexp.last_match[:inner_type]
311
+ value.map { |v| _deserialize(inner_type, v) }
312
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
313
+ k_type = Regexp.last_match[:k_type]
314
+ v_type = Regexp.last_match[:v_type]
315
+ {}.tap do |hash|
316
+ value.each do |k, v|
317
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
318
+ end
319
+ end
320
+ else # model
321
+ # models (e.g. Pet) or oneOf
322
+ klass = TrinsicApi.const_get(type)
323
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
324
+ end
325
+ end
326
+
327
+ # Returns the string representation of the object
328
+ # @return [String] String presentation of the object
329
+ def to_s
330
+ to_hash.to_s
331
+ end
332
+
333
+ # to_body is an alias to to_hash (backward compatibility)
334
+ # @return [Hash] Returns the object in the form of hash
335
+ def to_body
336
+ to_hash
337
+ end
338
+
339
+ # Returns the object in the form of hash
340
+ # @return [Hash] Returns the object in the form of hash
341
+ def to_hash
342
+ hash = {}
343
+ self.class.attribute_map.each_pair do |attr, param|
344
+ value = self.send(attr)
345
+ if value.nil?
346
+ is_nullable = self.class.openapi_nullable.include?(attr)
347
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
348
+ end
349
+
350
+ hash[param] = _to_hash(value)
351
+ end
352
+ hash
353
+ end
354
+
355
+ # Outputs non-array value in the form of hash
356
+ # For object, use to_hash. Otherwise, just return the value
357
+ # @param [Object] value Any valid value
358
+ # @return [Hash] Returns the value in the form of hash
359
+ def _to_hash(value)
360
+ if value.is_a?(Array)
361
+ value.compact.map { |v| _to_hash(v) }
362
+ elsif value.is_a?(Hash)
363
+ {}.tap do |hash|
364
+ value.each { |k, v| hash[k] = _to_hash(v) }
365
+ end
366
+ elsif value.respond_to? :to_hash
367
+ value.to_hash
368
+ else
369
+ value
370
+ end
371
+ end
372
+
373
+ end
374
+
375
+ end
@@ -11,5 +11,5 @@ Generator version: 7.13.0
11
11
  =end
12
12
 
13
13
  module TrinsicApi
14
- VERSION = '2.2.0'
14
+ VERSION = '2.3.0-alpha1'
15
15
  end
data/lib/trinsic_api.rb CHANGED
@@ -18,6 +18,7 @@ require 'trinsic_api/configuration'
18
18
 
19
19
  # Models
20
20
  require 'trinsic_api/models/aadhaar_input'
21
+ require 'trinsic_api/models/add_redirect_uri_response'
21
22
  require 'trinsic_api/models/address'
22
23
  require 'trinsic_api/models/apple_wallet_input'
23
24
  require 'trinsic_api/models/attachment_access_keys'
@@ -26,18 +27,22 @@ require 'trinsic_api/models/brazil_cpf_check_input'
26
27
  require 'trinsic_api/models/brazil_digital_cnh_input'
27
28
  require 'trinsic_api/models/cancel_session_response'
28
29
  require 'trinsic_api/models/contract_field'
30
+ require 'trinsic_api/models/contract_identifier_field'
29
31
  require 'trinsic_api/models/create_direct_provider_session_request'
30
32
  require 'trinsic_api/models/create_direct_provider_session_response'
31
33
  require 'trinsic_api/models/create_hosted_provider_session_request'
32
34
  require 'trinsic_api/models/create_hosted_provider_session_response'
33
35
  require 'trinsic_api/models/create_mdl_exchange_request'
34
36
  require 'trinsic_api/models/create_mdl_exchange_response'
37
+ require 'trinsic_api/models/create_verification_profile_response'
35
38
  require 'trinsic_api/models/create_widget_session_request'
36
39
  require 'trinsic_api/models/create_widget_session_response'
37
40
  require 'trinsic_api/models/document_data'
38
41
  require 'trinsic_api/models/document_scan_attachments'
39
42
  require 'trinsic_api/models/document_type'
43
+ require 'trinsic_api/models/environment_redirect_uris_add_request'
40
44
  require 'trinsic_api/models/external_mdl_field_data'
45
+ require 'trinsic_api/models/fayda_provider_output'
41
46
  require 'trinsic_api/models/field_availability'
42
47
  require 'trinsic_api/models/finalize_mdl_exchange_request'
43
48
  require 'trinsic_api/models/finalize_mdl_exchange_response'
@@ -48,6 +53,7 @@ require 'trinsic_api/models/get_session_result_request'
48
53
  require 'trinsic_api/models/get_session_result_response'
49
54
  require 'trinsic_api/models/google_wallet_input'
50
55
  require 'trinsic_api/models/http_validation_problem_details'
56
+ require 'trinsic_api/models/identifier'
51
57
  require 'trinsic_api/models/identity_data'
52
58
  require 'trinsic_api/models/idin_input'
53
59
  require 'trinsic_api/models/indonesia_dukcapil_match_input'
@@ -57,9 +63,11 @@ require 'trinsic_api/models/integration_launch_method'
57
63
  require 'trinsic_api/models/integration_step'
58
64
  require 'trinsic_api/models/kenya_nid_input'
59
65
  require 'trinsic_api/models/language'
66
+ require 'trinsic_api/models/list_environment_redirect_uris_response'
60
67
  require 'trinsic_api/models/list_provider_contracts_response'
61
68
  require 'trinsic_api/models/list_providers_response'
62
69
  require 'trinsic_api/models/list_sessions_response'
70
+ require 'trinsic_api/models/list_verification_profiles_response'
63
71
  require 'trinsic_api/models/match'
64
72
  require 'trinsic_api/models/match_data'
65
73
  require 'trinsic_api/models/mdl_certificate_data'
@@ -67,6 +75,7 @@ require 'trinsic_api/models/mdl_exchange_mechanism'
67
75
  require 'trinsic_api/models/mdl_field_data_type'
68
76
  require 'trinsic_api/models/mdl_identity_data'
69
77
  require 'trinsic_api/models/mexico_curp_input'
78
+ require 'trinsic_api/models/mexico_curp_provider_output'
70
79
  require 'trinsic_api/models/mobile_id_input'
71
80
  require 'trinsic_api/models/nigeria_nin_input'
72
81
  require 'trinsic_api/models/order_direction'
@@ -80,9 +89,11 @@ require 'trinsic_api/models/provider_health'
80
89
  require 'trinsic_api/models/provider_info'
81
90
  require 'trinsic_api/models/provider_information'
82
91
  require 'trinsic_api/models/provider_input'
92
+ require 'trinsic_api/models/provider_output'
83
93
  require 'trinsic_api/models/recommend_request'
84
94
  require 'trinsic_api/models/recommend_response'
85
95
  require 'trinsic_api/models/recommendation_info'
96
+ require 'trinsic_api/models/redirect_uri_response'
86
97
  require 'trinsic_api/models/refresh_step_content_request'
87
98
  require 'trinsic_api/models/refresh_step_content_response'
88
99
  require 'trinsic_api/models/result_collection'
@@ -93,19 +104,24 @@ require 'trinsic_api/models/session_ordering'
93
104
  require 'trinsic_api/models/sex'
94
105
  require 'trinsic_api/models/smart_id_input'
95
106
  require 'trinsic_api/models/south_africa_nid_input'
107
+ require 'trinsic_api/models/spid_billing_information'
96
108
  require 'trinsic_api/models/spid_input'
109
+ require 'trinsic_api/models/spid_provider_output'
97
110
  require 'trinsic_api/models/step_refresh_info'
98
111
  require 'trinsic_api/models/sub_provider_metadata'
99
112
  require 'trinsic_api/models/submit_native_challenge_response_request'
100
113
  require 'trinsic_api/models/submit_native_challenge_response_response'
101
114
  require 'trinsic_api/models/trinsic_test_database_lookup_input'
102
115
  require 'trinsic_api/models/trinsic_test_sub_providers_input'
116
+ require 'trinsic_api/models/verification_profile_response'
103
117
 
104
118
  # APIs
105
119
  require 'trinsic_api/api/attachments_api'
120
+ require 'trinsic_api/api/environment_redirect_uris_api'
106
121
  require 'trinsic_api/api/mdl_api'
107
122
  require 'trinsic_api/api/network_api'
108
123
  require 'trinsic_api/api/sessions_api'
124
+ require 'trinsic_api/api/verification_profiles_api'
109
125
 
110
126
  module TrinsicApi
111
127
  class << self
@@ -0,0 +1,72 @@
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
+
16
+ # Unit tests for TrinsicApi::EnvironmentRedirectUrisApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'EnvironmentRedirectUrisApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = TrinsicApi::EnvironmentRedirectUrisApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of EnvironmentRedirectUrisApi' do
30
+ it 'should create an instance of EnvironmentRedirectUrisApi' do
31
+ expect(@api_instance).to be_instance_of(TrinsicApi::EnvironmentRedirectUrisApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for add
36
+ # Add Redirect URI
37
+ # Add a new redirect uri to the environment.
38
+ # @param [Hash] opts the optional parameters
39
+ # @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.
40
+ # @return [AddRedirectUriResponse]
41
+ describe 'add test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for delete
48
+ # Delete Redirect URI
49
+ # Delete a redirect uri from the environment.
50
+ # @param id The id of the redirect uri to delete.
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [nil]
53
+ describe 'delete test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
56
+ end
57
+ end
58
+
59
+ # unit tests for list
60
+ # List Redirect URIs
61
+ # List redirect URIs within the environment.
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [Integer] :page Number of pages of uris to return.
64
+ # @option opts [Integer] :page_size Size of the list to be returned. Accepted range from 1 to 100
65
+ # @return [ListEnvironmentRedirectUrisResponse]
66
+ describe 'list test' 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
+ end
@@ -0,0 +1,76 @@
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
+
16
+ # Unit tests for TrinsicApi::VerificationProfilesApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'VerificationProfilesApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = TrinsicApi::VerificationProfilesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of VerificationProfilesApi' do
30
+ it 'should create an instance of VerificationProfilesApi' do
31
+ expect(@api_instance).to be_instance_of(TrinsicApi::VerificationProfilesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create_verification_profile
36
+ # Create Verification Profile
37
+ # Creates a new verification profile within your organization.
38
+ # @param _alias An alias of the verification profile shown to developers and administrators.
39
+ # @param brand_name The brand name of the verification profile shown to end-users.
40
+ # @param [Hash] opts the optional parameters
41
+ # @option opts [String] :primary_color The primary color of the verification profile. Must be a 6-character hex string prefixed with a &#39;#&#39; character. Example: #000000
42
+ # @option opts [Array<String>] :providers The list of providers you&#39;d like to select for this profile. We will not currently enable any providers.
43
+ # @option opts [File] :logo The logo of the verification profile.
44
+ # @return [CreateVerificationProfileResponse]
45
+ describe 'create_verification_profile test' do
46
+ it 'should work' do
47
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
48
+ end
49
+ end
50
+
51
+ # unit tests for get_verification_profile_by_id
52
+ # Get Verification Profile
53
+ # Gets a specific verification profile by ID.
54
+ # @param id
55
+ # @param [Hash] opts the optional parameters
56
+ # @return [VerificationProfileResponse]
57
+ describe 'get_verification_profile_by_id test' do
58
+ it 'should work' do
59
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
60
+ end
61
+ end
62
+
63
+ # unit tests for list_verification_profiles
64
+ # List Verification Profiles
65
+ # List the verification profiles for the current organization and environment.
66
+ # @param [Hash] opts the optional parameters
67
+ # @option opts [Integer] :page
68
+ # @option opts [Integer] :page_size Size of the list to be returned. Accepted range from 1 to 100
69
+ # @return [ListVerificationProfilesResponse]
70
+ describe 'list_verification_profiles test' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
+ end
74
+ end
75
+
76
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #Trinsic API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.13.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TrinsicApi::AddRedirectUriResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrinsicApi::AddRedirectUriResponse do
21
+ let(:instance) { TrinsicApi::AddRedirectUriResponse.new }
22
+
23
+ describe 'test an instance of AddRedirectUriResponse' do
24
+ it 'should create an instance of AddRedirectUriResponse' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrinsicApi::AddRedirectUriResponse)
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
+ end
@@ -33,6 +33,12 @@ describe TrinsicApi::ContractField do
33
33
  end
34
34
  end
35
35
 
36
+ describe 'test attribute "scope"' 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 "outputted"' do
37
43
  it 'should work' do
38
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/