trinsic_api 2.0.0.pre.alpha3 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/docs/AttachmentsApi.md +1 -1
  4. data/docs/BrazilDigitalCnhInput.md +2 -2
  5. data/docs/CreateAdvancedProviderSessionRequest.md +3 -3
  6. data/docs/CreateHostedProviderSessionResponse.md +4 -2
  7. data/docs/CreateWidgetSessionRequest.md +3 -3
  8. data/docs/CreateWidgetSessionResponse.md +4 -2
  9. data/docs/IdentityData.md +2 -0
  10. data/docs/IdinInput.md +18 -0
  11. data/docs/Language.md +15 -0
  12. data/docs/ListProviderContractsResponse.md +18 -0
  13. data/docs/MobileIdInput.md +22 -0
  14. data/docs/NetworkApi.md +71 -4
  15. data/docs/ProviderContract.md +46 -0
  16. data/docs/ProviderInfo.md +1 -3
  17. data/docs/ProviderInformation.md +3 -3
  18. data/docs/ProviderInput.md +24 -12
  19. data/docs/RecommendRequest.md +2 -10
  20. data/docs/RecommendationInfo.md +24 -0
  21. data/docs/ResultCollection.md +2 -2
  22. data/docs/Session.md +3 -3
  23. data/docs/SessionsApi.md +2 -2
  24. data/docs/SmartIdInput.md +18 -0
  25. data/docs/SpidInput.md +18 -0
  26. data/docs/StepRefreshInfo.md +1 -1
  27. data/docs/SubProviderMetadata.md +24 -0
  28. data/docs/TrinsicTestDatabaseLookupInput.md +24 -0
  29. data/docs/TrinsicTestSubProvidersInput.md +18 -0
  30. data/lib/trinsic_api/api/attachments_api.rb +2 -2
  31. data/lib/trinsic_api/api/network_api.rb +59 -2
  32. data/lib/trinsic_api/api/sessions_api.rb +4 -4
  33. data/lib/trinsic_api/models/brazil_digital_cnh_input.rb +2 -2
  34. data/lib/trinsic_api/models/create_advanced_provider_session_request.rb +3 -3
  35. data/lib/trinsic_api/models/create_hosted_provider_session_response.rb +29 -6
  36. data/lib/trinsic_api/models/create_widget_session_request.rb +10 -10
  37. data/lib/trinsic_api/models/create_widget_session_response.rb +29 -6
  38. data/lib/trinsic_api/models/identity_data.rb +11 -1
  39. data/lib/trinsic_api/models/{known_identity_data.rb → idin_input.rb} +12 -13
  40. data/lib/trinsic_api/models/integration_launch_method.rb +2 -2
  41. data/lib/trinsic_api/models/language.rb +42 -0
  42. data/lib/trinsic_api/models/list_provider_contracts_response.rb +224 -0
  43. data/lib/trinsic_api/models/mobile_id_input.rb +260 -0
  44. data/lib/trinsic_api/models/provider_contract.rb +482 -0
  45. data/lib/trinsic_api/models/provider_info.rb +4 -17
  46. data/lib/trinsic_api/models/provider_input.rb +82 -16
  47. data/lib/trinsic_api/models/recommend_request.rb +9 -59
  48. data/lib/trinsic_api/models/recommendation_info.rb +256 -0
  49. data/lib/trinsic_api/models/result_collection.rb +8 -2
  50. data/lib/trinsic_api/models/session.rb +3 -3
  51. data/lib/trinsic_api/models/smart_id_input.rb +216 -0
  52. data/lib/trinsic_api/models/spid_input.rb +216 -0
  53. data/lib/trinsic_api/models/step_refresh_info.rb +1 -1
  54. data/lib/trinsic_api/models/{known_address.rb → sub_provider_metadata.rb} +59 -72
  55. data/lib/trinsic_api/models/{known_person_data.rb → trinsic_test_database_lookup_input.rb} +22 -66
  56. data/lib/trinsic_api/models/trinsic_test_sub_providers_input.rb +216 -0
  57. data/lib/trinsic_api/version.rb +1 -1
  58. data/lib/trinsic_api.rb +11 -3
  59. data/spec/api/attachments_api_spec.rb +1 -1
  60. data/spec/api/network_api_spec.rb +12 -1
  61. data/spec/api/sessions_api_spec.rb +2 -2
  62. data/spec/models/create_hosted_provider_session_response_spec.rb +6 -0
  63. data/spec/models/create_widget_session_request_spec.rb +1 -1
  64. data/spec/models/create_widget_session_response_spec.rb +6 -0
  65. data/spec/models/identity_data_spec.rb +6 -0
  66. data/spec/models/{known_identity_data_spec.rb → idin_input_spec.rb} +7 -7
  67. data/spec/models/language_spec.rb +30 -0
  68. data/spec/models/list_provider_contracts_response_spec.rb +36 -0
  69. data/spec/models/mobile_id_input_spec.rb +48 -0
  70. data/spec/models/provider_contract_spec.rb +120 -0
  71. data/spec/models/provider_info_spec.rb +0 -6
  72. data/spec/models/provider_input_spec.rb +36 -0
  73. data/spec/models/recommend_request_spec.rb +1 -25
  74. data/spec/models/recommendation_info_spec.rb +54 -0
  75. data/spec/models/smart_id_input_spec.rb +36 -0
  76. data/spec/models/spid_input_spec.rb +36 -0
  77. data/spec/models/sub_provider_metadata_spec.rb +54 -0
  78. data/spec/models/{known_person_data_spec.rb → trinsic_test_database_lookup_input_spec.rb} +8 -32
  79. data/spec/models/trinsic_test_sub_providers_input_spec.rb +36 -0
  80. metadata +46 -14
  81. data/docs/KnownAddress.md +0 -32
  82. data/docs/KnownIdentityData.md +0 -18
  83. data/docs/KnownPersonData.md +0 -32
  84. data/spec/models/known_address_spec.rb +0 -78
@@ -14,42 +14,26 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module TrinsicApi
17
- class KnownPersonData
18
- # Given (first) name of the individual
17
+ class TrinsicTestDatabaseLookupInput
18
+ # The given name to use for the output of the test Session. This is required; if not provided, Trinsic's Fallback UI will be invoked to collect it from the user. Can be any non-empty value.
19
19
  attr_accessor :given_name
20
20
 
21
- # Family (last) name of the individual
21
+ # The family name to use for the output of the test Session. This is required; if not provided, Trinsic's Fallback UI will be invoked to collect it from the user. Can be any non-empty value.
22
22
  attr_accessor :family_name
23
23
 
24
- # Middle name of the individual
25
- attr_accessor :middle_name
24
+ # A 6-digit code; must be \"123456\" for the Session to succeed. This is required; if not provided, Trinsic's Fallback UI will be invoked to collect it from the user. Any other value will cause the Session to fail.
25
+ attr_accessor :identity_code
26
26
 
27
- # Full name of the individual.
28
- attr_accessor :full_name
29
-
30
- # Suffix of the individual
31
- attr_accessor :suffix
32
-
33
- # The phone number (with preceding + character and country code) of the individual being verified
34
- attr_accessor :phone_number
35
-
36
- # The address of the individual being verified
37
- attr_accessor :address
38
-
39
- # Date of birth of the individual, in the format \"YYYY-MM-DD\"
40
- attr_accessor :date_of_birth
27
+ # An optional selfie image, base64-encoded. Will replace the existing test selfie attachment output if provided.
28
+ attr_accessor :selfie_base64
41
29
 
42
30
  # Attribute mapping from ruby-style variable name to JSON key.
43
31
  def self.attribute_map
44
32
  {
45
33
  :'given_name' => :'givenName',
46
34
  :'family_name' => :'familyName',
47
- :'middle_name' => :'middleName',
48
- :'full_name' => :'fullName',
49
- :'suffix' => :'suffix',
50
- :'phone_number' => :'phoneNumber',
51
- :'address' => :'address',
52
- :'date_of_birth' => :'dateOfBirth'
35
+ :'identity_code' => :'identityCode',
36
+ :'selfie_base64' => :'selfieBase64'
53
37
  }
54
38
  end
55
39
 
@@ -63,12 +47,8 @@ module TrinsicApi
63
47
  {
64
48
  :'given_name' => :'String',
65
49
  :'family_name' => :'String',
66
- :'middle_name' => :'String',
67
- :'full_name' => :'String',
68
- :'suffix' => :'String',
69
- :'phone_number' => :'String',
70
- :'address' => :'KnownAddress',
71
- :'date_of_birth' => :'String'
50
+ :'identity_code' => :'String',
51
+ :'selfie_base64' => :'String'
72
52
  }
73
53
  end
74
54
 
@@ -77,12 +57,8 @@ module TrinsicApi
77
57
  Set.new([
78
58
  :'given_name',
79
59
  :'family_name',
80
- :'middle_name',
81
- :'full_name',
82
- :'suffix',
83
- :'phone_number',
84
- :'address',
85
- :'date_of_birth'
60
+ :'identity_code',
61
+ :'selfie_base64'
86
62
  ])
87
63
  end
88
64
 
@@ -90,13 +66,13 @@ module TrinsicApi
90
66
  # @param [Hash] attributes Model attributes in the form of hash
91
67
  def initialize(attributes = {})
92
68
  if (!attributes.is_a?(Hash))
93
- fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::KnownPersonData` initialize method"
69
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::TrinsicTestDatabaseLookupInput` initialize method"
94
70
  end
95
71
 
96
72
  # check to see if the attribute exists and convert string to symbol for hash key
97
73
  attributes = attributes.each_with_object({}) { |(k, v), h|
98
74
  if (!self.class.attribute_map.key?(k.to_sym))
99
- fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::KnownPersonData`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
75
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::TrinsicTestDatabaseLookupInput`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
100
76
  end
101
77
  h[k.to_sym] = v
102
78
  }
@@ -109,28 +85,12 @@ module TrinsicApi
109
85
  self.family_name = attributes[:'family_name']
110
86
  end
111
87
 
112
- if attributes.key?(:'middle_name')
113
- self.middle_name = attributes[:'middle_name']
114
- end
115
-
116
- if attributes.key?(:'full_name')
117
- self.full_name = attributes[:'full_name']
118
- end
119
-
120
- if attributes.key?(:'suffix')
121
- self.suffix = attributes[:'suffix']
122
- end
123
-
124
- if attributes.key?(:'phone_number')
125
- self.phone_number = attributes[:'phone_number']
126
- end
127
-
128
- if attributes.key?(:'address')
129
- self.address = attributes[:'address']
88
+ if attributes.key?(:'identity_code')
89
+ self.identity_code = attributes[:'identity_code']
130
90
  end
131
91
 
132
- if attributes.key?(:'date_of_birth')
133
- self.date_of_birth = attributes[:'date_of_birth']
92
+ if attributes.key?(:'selfie_base64')
93
+ self.selfie_base64 = attributes[:'selfie_base64']
134
94
  end
135
95
  end
136
96
 
@@ -156,12 +116,8 @@ module TrinsicApi
156
116
  self.class == o.class &&
157
117
  given_name == o.given_name &&
158
118
  family_name == o.family_name &&
159
- middle_name == o.middle_name &&
160
- full_name == o.full_name &&
161
- suffix == o.suffix &&
162
- phone_number == o.phone_number &&
163
- address == o.address &&
164
- date_of_birth == o.date_of_birth
119
+ identity_code == o.identity_code &&
120
+ selfie_base64 == o.selfie_base64
165
121
  end
166
122
 
167
123
  # @see the `==` method
@@ -173,7 +129,7 @@ module TrinsicApi
173
129
  # Calculates hash code according to all attributes.
174
130
  # @return [Integer] Hash code
175
131
  def hash
176
- [given_name, family_name, middle_name, full_name, suffix, phone_number, address, date_of_birth].hash
132
+ [given_name, family_name, identity_code, selfie_base64].hash
177
133
  end
178
134
 
179
135
  # Builds the object from hash
@@ -0,0 +1,216 @@
1
+ =begin
2
+ #Trinsic API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.8.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module TrinsicApi
17
+ class TrinsicTestSubProvidersInput
18
+ # The ID of the specific IDP to invoke within the test federated provider. Valid options are `sub-provider-a` and `sub-provider-b`. If not specified, the user will be prompted to select one.
19
+ attr_accessor :sub_provider_id
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'sub_provider_id' => :'subProviderId'
25
+ }
26
+ end
27
+
28
+ # Returns all the JSON keys this model knows about
29
+ def self.acceptable_attributes
30
+ attribute_map.values
31
+ end
32
+
33
+ # Attribute type mapping.
34
+ def self.openapi_types
35
+ {
36
+ :'sub_provider_id' => :'String'
37
+ }
38
+ end
39
+
40
+ # List of attributes with nullable: true
41
+ def self.openapi_nullable
42
+ Set.new([
43
+ :'sub_provider_id'
44
+ ])
45
+ end
46
+
47
+ # Initializes the object
48
+ # @param [Hash] attributes Model attributes in the form of hash
49
+ def initialize(attributes = {})
50
+ if (!attributes.is_a?(Hash))
51
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::TrinsicTestSubProvidersInput` initialize method"
52
+ end
53
+
54
+ # check to see if the attribute exists and convert string to symbol for hash key
55
+ attributes = attributes.each_with_object({}) { |(k, v), h|
56
+ if (!self.class.attribute_map.key?(k.to_sym))
57
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::TrinsicTestSubProvidersInput`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
58
+ end
59
+ h[k.to_sym] = v
60
+ }
61
+
62
+ if attributes.key?(:'sub_provider_id')
63
+ self.sub_provider_id = attributes[:'sub_provider_id']
64
+ end
65
+ end
66
+
67
+ # Show invalid properties with the reasons. Usually used together with valid?
68
+ # @return Array for valid properties with the reasons
69
+ def list_invalid_properties
70
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
71
+ invalid_properties = Array.new
72
+ invalid_properties
73
+ end
74
+
75
+ # Check to see if the all the properties in the model are valid
76
+ # @return true if the model is valid
77
+ def valid?
78
+ warn '[DEPRECATED] the `valid?` method is obsolete'
79
+ true
80
+ end
81
+
82
+ # Checks equality by comparing each attribute.
83
+ # @param [Object] Object to be compared
84
+ def ==(o)
85
+ return true if self.equal?(o)
86
+ self.class == o.class &&
87
+ sub_provider_id == o.sub_provider_id
88
+ end
89
+
90
+ # @see the `==` method
91
+ # @param [Object] Object to be compared
92
+ def eql?(o)
93
+ self == o
94
+ end
95
+
96
+ # Calculates hash code according to all attributes.
97
+ # @return [Integer] Hash code
98
+ def hash
99
+ [sub_provider_id].hash
100
+ end
101
+
102
+ # Builds the object from hash
103
+ # @param [Hash] attributes Model attributes in the form of hash
104
+ # @return [Object] Returns the model itself
105
+ def self.build_from_hash(attributes)
106
+ return nil unless attributes.is_a?(Hash)
107
+ attributes = attributes.transform_keys(&:to_sym)
108
+ transformed_hash = {}
109
+ openapi_types.each_pair do |key, type|
110
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
111
+ transformed_hash["#{key}"] = nil
112
+ elsif type =~ /\AArray<(.*)>/i
113
+ # check to ensure the input is an array given that the attribute
114
+ # is documented as an array but the input is not
115
+ if attributes[attribute_map[key]].is_a?(Array)
116
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
117
+ end
118
+ elsif !attributes[attribute_map[key]].nil?
119
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
120
+ end
121
+ end
122
+ new(transformed_hash)
123
+ end
124
+
125
+ # Deserializes the data based on type
126
+ # @param string type Data type
127
+ # @param string value Value to be deserialized
128
+ # @return [Object] Deserialized data
129
+ def self._deserialize(type, value)
130
+ case type.to_sym
131
+ when :Time
132
+ Time.parse(value)
133
+ when :Date
134
+ Date.parse(value)
135
+ when :String
136
+ value.to_s
137
+ when :Integer
138
+ value.to_i
139
+ when :Float
140
+ value.to_f
141
+ when :Boolean
142
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
143
+ true
144
+ else
145
+ false
146
+ end
147
+ when :Object
148
+ # generic object (usually a Hash), return directly
149
+ value
150
+ when /\AArray<(?<inner_type>.+)>\z/
151
+ inner_type = Regexp.last_match[:inner_type]
152
+ value.map { |v| _deserialize(inner_type, v) }
153
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
154
+ k_type = Regexp.last_match[:k_type]
155
+ v_type = Regexp.last_match[:v_type]
156
+ {}.tap do |hash|
157
+ value.each do |k, v|
158
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
159
+ end
160
+ end
161
+ else # model
162
+ # models (e.g. Pet) or oneOf
163
+ klass = TrinsicApi.const_get(type)
164
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
165
+ end
166
+ end
167
+
168
+ # Returns the string representation of the object
169
+ # @return [String] String presentation of the object
170
+ def to_s
171
+ to_hash.to_s
172
+ end
173
+
174
+ # to_body is an alias to to_hash (backward compatibility)
175
+ # @return [Hash] Returns the object in the form of hash
176
+ def to_body
177
+ to_hash
178
+ end
179
+
180
+ # Returns the object in the form of hash
181
+ # @return [Hash] Returns the object in the form of hash
182
+ def to_hash
183
+ hash = {}
184
+ self.class.attribute_map.each_pair do |attr, param|
185
+ value = self.send(attr)
186
+ if value.nil?
187
+ is_nullable = self.class.openapi_nullable.include?(attr)
188
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
189
+ end
190
+
191
+ hash[param] = _to_hash(value)
192
+ end
193
+ hash
194
+ end
195
+
196
+ # Outputs non-array value in the form of hash
197
+ # For object, use to_hash. Otherwise, just return the value
198
+ # @param [Object] value Any valid value
199
+ # @return [Hash] Returns the value in the form of hash
200
+ def _to_hash(value)
201
+ if value.is_a?(Array)
202
+ value.compact.map { |v| _to_hash(v) }
203
+ elsif value.is_a?(Hash)
204
+ {}.tap do |hash|
205
+ value.each { |k, v| hash[k] = _to_hash(v) }
206
+ end
207
+ elsif value.respond_to? :to_hash
208
+ value.to_hash
209
+ else
210
+ value
211
+ end
212
+ end
213
+
214
+ end
215
+
216
+ end
@@ -11,5 +11,5 @@ Generator version: 7.8.0
11
11
  =end
12
12
 
13
13
  module TrinsicApi
14
- VERSION = '2.0.0-alpha3'
14
+ VERSION = '2.0.0'
15
15
  end
data/lib/trinsic_api.rb CHANGED
@@ -40,17 +40,18 @@ require 'trinsic_api/models/get_session_result_request'
40
40
  require 'trinsic_api/models/get_session_result_response'
41
41
  require 'trinsic_api/models/http_validation_problem_details'
42
42
  require 'trinsic_api/models/identity_data'
43
+ require 'trinsic_api/models/idin_input'
43
44
  require 'trinsic_api/models/indonesia_nik_input'
44
45
  require 'trinsic_api/models/integration_capability'
45
46
  require 'trinsic_api/models/integration_launch_method'
46
47
  require 'trinsic_api/models/integration_step'
47
48
  require 'trinsic_api/models/kenya_nid_input'
48
- require 'trinsic_api/models/known_address'
49
- require 'trinsic_api/models/known_identity_data'
50
- require 'trinsic_api/models/known_person_data'
49
+ require 'trinsic_api/models/language'
50
+ require 'trinsic_api/models/list_provider_contracts_response'
51
51
  require 'trinsic_api/models/list_providers_response'
52
52
  require 'trinsic_api/models/list_sessions_response'
53
53
  require 'trinsic_api/models/mexico_curp_input'
54
+ require 'trinsic_api/models/mobile_id_input'
54
55
  require 'trinsic_api/models/nigeria_nin_input'
55
56
  require 'trinsic_api/models/order_direction'
56
57
  require 'trinsic_api/models/person_data'
@@ -58,11 +59,13 @@ require 'trinsic_api/models/philippine_match_input'
58
59
  require 'trinsic_api/models/philippine_qr_input'
59
60
  require 'trinsic_api/models/problem_details'
60
61
  require 'trinsic_api/models/provider_attachments'
62
+ require 'trinsic_api/models/provider_contract'
61
63
  require 'trinsic_api/models/provider_info'
62
64
  require 'trinsic_api/models/provider_information'
63
65
  require 'trinsic_api/models/provider_input'
64
66
  require 'trinsic_api/models/recommend_request'
65
67
  require 'trinsic_api/models/recommend_response'
68
+ require 'trinsic_api/models/recommendation_info'
66
69
  require 'trinsic_api/models/refresh_step_content_request'
67
70
  require 'trinsic_api/models/refresh_step_content_response'
68
71
  require 'trinsic_api/models/result_collection'
@@ -71,8 +74,13 @@ require 'trinsic_api/models/session'
71
74
  require 'trinsic_api/models/session_error_code'
72
75
  require 'trinsic_api/models/session_ordering'
73
76
  require 'trinsic_api/models/sex'
77
+ require 'trinsic_api/models/smart_id_input'
74
78
  require 'trinsic_api/models/south_africa_nid_input'
79
+ require 'trinsic_api/models/spid_input'
75
80
  require 'trinsic_api/models/step_refresh_info'
81
+ require 'trinsic_api/models/sub_provider_metadata'
82
+ require 'trinsic_api/models/trinsic_test_database_lookup_input'
83
+ require 'trinsic_api/models/trinsic_test_sub_providers_input'
76
84
 
77
85
  # APIs
78
86
  require 'trinsic_api/api/attachments_api'
@@ -34,7 +34,7 @@ describe 'AttachmentsApi' do
34
34
 
35
35
  # unit tests for get_attachment
36
36
  # Get Attachment
37
- # Exchange an Attachment Access Key (from &#x60;IdentityData.Attachments&#x60;) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
37
+ # Exchange an Attachment Access Key (from &#x60;IdentityData.Attachments&#x60;) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [GetAttachmentRequest] :get_attachment_request
40
40
  # @return [GetAttachmentResponse]
@@ -32,8 +32,19 @@ describe 'NetworkApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for list_provider_contracts
36
+ # List Provider Contracts
37
+ # List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [ListProviderContractsResponse]
40
+ describe 'list_provider_contracts test' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
35
46
  # unit tests for list_providers
36
- # List Identity Providers
47
+ # List Providers
37
48
  # List all identity providers available for use
38
49
  # @param [Hash] opts the optional parameters
39
50
  # @return [ListProvidersResponse]
@@ -46,7 +46,7 @@ describe 'SessionsApi' do
46
46
 
47
47
  # unit tests for create_advanced_provider_session
48
48
  # Create Advanced Provider Session
49
- # Verify a user&#39;s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the &#x60;Capabilities&#x60; field. If &#x60;FallbackToHostedUi&#x60; is &#x60;true&#x60;, Trinsic&#39;s hosted UI will automatically be invoked to handle any capabilities you do not support.
49
+ # Verify a user&#39;s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the &#x60;Capabilities&#x60; field. If &#x60;FallbackToHostedUi&#x60; is &#x60;true&#x60;, Trinsic&#39;s hosted UI will automatically be invoked to handle any capabilities you do not support.
50
50
  # @param [Hash] opts the optional parameters
51
51
  # @option opts [CreateAdvancedProviderSessionRequest] :create_advanced_provider_session_request
52
52
  # @return [CreateAdvancedProviderSessionResponse]
@@ -121,7 +121,7 @@ describe 'SessionsApi' do
121
121
 
122
122
  # unit tests for redact_session
123
123
  # Redact Session
124
- # Redact a Session, removing all identity data from Trinsic&#39;s servers. Every application has a redaction period that dictates how long we will hold on to your users&#39; PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
124
+ # Redact a Session, removing all identity data from Trinsic&#39;s servers. Every application has a redaction period that dictates how long we will hold on to your users&#39; PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
125
125
  # @param session_id
126
126
  # @param [Hash] opts the optional parameters
127
127
  # @return [nil]
@@ -39,4 +39,10 @@ describe TrinsicApi::CreateHostedProviderSessionResponse do
39
39
  end
40
40
  end
41
41
 
42
+ describe 'test attribute "results_access_key"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
42
48
  end
@@ -39,7 +39,7 @@ describe TrinsicApi::CreateWidgetSessionRequest do
39
39
  end
40
40
  end
41
41
 
42
- describe 'test attribute "known_identity_data"' do
42
+ describe 'test attribute "recommendation_info"' do
43
43
  it 'should work' do
44
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
45
  end
@@ -39,4 +39,10 @@ describe TrinsicApi::CreateWidgetSessionResponse do
39
39
  end
40
40
  end
41
41
 
42
+ describe 'test attribute "results_access_key"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
42
48
  end
@@ -33,6 +33,12 @@ describe TrinsicApi::IdentityData do
33
33
  end
34
34
  end
35
35
 
36
+ describe 'test attribute "originating_sub_provider_id"' 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 "person"' do
37
43
  it 'should work' do
38
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -14,20 +14,20 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for TrinsicApi::KnownIdentityData
17
+ # Unit tests for TrinsicApi::IdinInput
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe TrinsicApi::KnownIdentityData do
21
- let(:instance) { TrinsicApi::KnownIdentityData.new }
20
+ describe TrinsicApi::IdinInput do
21
+ let(:instance) { TrinsicApi::IdinInput.new }
22
22
 
23
- describe 'test an instance of KnownIdentityData' do
24
- it 'should create an instance of KnownIdentityData' do
23
+ describe 'test an instance of IdinInput' do
24
+ it 'should create an instance of IdinInput' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(TrinsicApi::KnownIdentityData)
26
+ #expect(instance).to be_instance_of(TrinsicApi::IdinInput)
27
27
  end
28
28
  end
29
29
 
30
- describe 'test attribute "person"' do
30
+ describe 'test attribute "sub_provider_id"' do
31
31
  it 'should work' do
32
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
33
  end
@@ -0,0 +1,30 @@
1
+ =begin
2
+ #Trinsic API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.8.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TrinsicApi::Language
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrinsicApi::Language do
21
+ let(:instance) { TrinsicApi::Language.new }
22
+
23
+ describe 'test an instance of Language' do
24
+ it 'should create an instance of Language' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrinsicApi::Language)
27
+ end
28
+ end
29
+
30
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #Trinsic API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.8.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TrinsicApi::ListProviderContractsResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrinsicApi::ListProviderContractsResponse do
21
+ let(:instance) { TrinsicApi::ListProviderContractsResponse.new }
22
+
23
+ describe 'test an instance of ListProviderContractsResponse' do
24
+ it 'should create an instance of ListProviderContractsResponse' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrinsicApi::ListProviderContractsResponse)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "provider_contracts"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #Trinsic API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.8.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TrinsicApi::MobileIdInput
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrinsicApi::MobileIdInput do
21
+ let(:instance) { TrinsicApi::MobileIdInput.new }
22
+
23
+ describe 'test an instance of MobileIdInput' do
24
+ it 'should create an instance of MobileIdInput' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrinsicApi::MobileIdInput)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "mobile_id_phone_number"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "mobile_id_national_identity_number"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "mobile_id_language"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ end