trinsic_api 2.0.0.pre.alpha3 → 2.0.1

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 (183) 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/IntegrationStep.md +1 -1
  12. data/docs/Language.md +15 -0
  13. data/docs/ListProviderContractsResponse.md +18 -0
  14. data/docs/MobileIdInput.md +22 -0
  15. data/docs/NetworkApi.md +71 -4
  16. data/docs/ProviderContract.md +48 -0
  17. data/docs/ProviderHealth.md +15 -0
  18. data/docs/ProviderInfo.md +1 -3
  19. data/docs/ProviderInformation.md +3 -3
  20. data/docs/ProviderInput.md +24 -12
  21. data/docs/RecommendRequest.md +2 -10
  22. data/docs/RecommendationInfo.md +24 -0
  23. data/docs/ResultCollection.md +2 -2
  24. data/docs/Session.md +3 -3
  25. data/docs/SessionsApi.md +2 -2
  26. data/docs/SmartIdInput.md +18 -0
  27. data/docs/SpidInput.md +18 -0
  28. data/docs/StepRefreshInfo.md +1 -1
  29. data/docs/SubProviderMetadata.md +24 -0
  30. data/docs/TrinsicTestDatabaseLookupInput.md +24 -0
  31. data/docs/TrinsicTestSubProvidersInput.md +18 -0
  32. data/docs/WellKnownApi.md +71 -0
  33. data/lib/trinsic_api/api/attachments_api.rb +3 -3
  34. data/lib/trinsic_api/api/network_api.rb +60 -3
  35. data/lib/trinsic_api/api/sessions_api.rb +5 -5
  36. data/lib/trinsic_api/api/well_known_api.rb +75 -0
  37. data/lib/trinsic_api/api_client.rb +8 -9
  38. data/lib/trinsic_api/api_error.rb +1 -1
  39. data/lib/trinsic_api/configuration.rb +1 -1
  40. data/lib/trinsic_api/models/aadhaar_input.rb +10 -4
  41. data/lib/trinsic_api/models/address.rb +10 -4
  42. data/lib/trinsic_api/models/attachment_access_keys.rb +20 -4
  43. data/lib/trinsic_api/models/bangladesh_national_id_input.rb +10 -4
  44. data/lib/trinsic_api/models/brazil_cpf_check_input.rb +10 -4
  45. data/lib/trinsic_api/models/brazil_digital_cnh_input.rb +12 -6
  46. data/lib/trinsic_api/models/cancel_session_response.rb +20 -4
  47. data/lib/trinsic_api/models/create_advanced_provider_session_request.rb +13 -7
  48. data/lib/trinsic_api/models/create_advanced_provider_session_response.rb +40 -4
  49. data/lib/trinsic_api/models/create_hosted_provider_session_request.rb +10 -4
  50. data/lib/trinsic_api/models/create_hosted_provider_session_response.rb +69 -10
  51. data/lib/trinsic_api/models/create_widget_session_request.rb +20 -14
  52. data/lib/trinsic_api/models/create_widget_session_response.rb +69 -10
  53. data/lib/trinsic_api/models/document_data.rb +10 -4
  54. data/lib/trinsic_api/models/document_scan_attachments.rb +10 -4
  55. data/lib/trinsic_api/models/document_type.rb +1 -1
  56. data/lib/trinsic_api/models/get_attachment_request.rb +10 -4
  57. data/lib/trinsic_api/models/get_attachment_response.rb +30 -4
  58. data/lib/trinsic_api/models/get_session_response.rb +20 -4
  59. data/lib/trinsic_api/models/get_session_result_request.rb +20 -4
  60. data/lib/trinsic_api/models/get_session_result_response.rb +20 -4
  61. data/lib/trinsic_api/models/http_validation_problem_details.rb +10 -4
  62. data/lib/trinsic_api/models/identity_data.rb +21 -5
  63. data/lib/trinsic_api/models/{known_identity_data.rb → idin_input.rb} +21 -16
  64. data/lib/trinsic_api/models/indonesia_nik_input.rb +20 -4
  65. data/lib/trinsic_api/models/integration_capability.rb +1 -1
  66. data/lib/trinsic_api/models/integration_launch_method.rb +3 -3
  67. data/lib/trinsic_api/models/integration_step.rb +30 -6
  68. data/lib/trinsic_api/models/kenya_nid_input.rb +20 -4
  69. data/lib/trinsic_api/models/language.rb +42 -0
  70. data/lib/trinsic_api/models/{known_address.rb → list_provider_contracts_response.rb} +39 -86
  71. data/lib/trinsic_api/models/list_providers_response.rb +20 -4
  72. data/lib/trinsic_api/models/list_sessions_response.rb +40 -4
  73. data/lib/trinsic_api/models/mexico_curp_input.rb +10 -4
  74. data/lib/trinsic_api/models/mobile_id_input.rb +266 -0
  75. data/lib/trinsic_api/models/nigeria_nin_input.rb +20 -4
  76. data/lib/trinsic_api/models/order_direction.rb +1 -1
  77. data/lib/trinsic_api/models/person_data.rb +10 -4
  78. data/lib/trinsic_api/models/philippine_match_input.rb +10 -4
  79. data/lib/trinsic_api/models/philippine_qr_input.rb +10 -4
  80. data/lib/trinsic_api/models/problem_details.rb +10 -4
  81. data/lib/trinsic_api/models/provider_attachments.rb +10 -4
  82. data/lib/trinsic_api/models/provider_contract.rb +655 -0
  83. data/lib/trinsic_api/models/provider_health.rb +40 -0
  84. data/lib/trinsic_api/models/provider_info.rb +44 -21
  85. data/lib/trinsic_api/models/provider_information.rb +40 -4
  86. data/lib/trinsic_api/models/provider_input.rb +92 -20
  87. data/lib/trinsic_api/models/recommend_request.rb +19 -63
  88. data/lib/trinsic_api/models/recommend_response.rb +40 -4
  89. data/lib/trinsic_api/models/recommendation_info.rb +262 -0
  90. data/lib/trinsic_api/models/refresh_step_content_request.rb +10 -4
  91. data/lib/trinsic_api/models/refresh_step_content_response.rb +20 -4
  92. data/lib/trinsic_api/models/result_collection.rb +38 -6
  93. data/lib/trinsic_api/models/result_collection_method.rb +1 -1
  94. data/lib/trinsic_api/models/session.rb +63 -7
  95. data/lib/trinsic_api/models/session_error_code.rb +1 -1
  96. data/lib/trinsic_api/models/session_ordering.rb +1 -1
  97. data/lib/trinsic_api/models/sex.rb +1 -1
  98. data/lib/trinsic_api/models/smart_id_input.rb +222 -0
  99. data/lib/trinsic_api/models/south_africa_nid_input.rb +20 -4
  100. data/lib/trinsic_api/models/spid_input.rb +222 -0
  101. data/lib/trinsic_api/models/step_refresh_info.rb +41 -5
  102. data/lib/trinsic_api/models/sub_provider_metadata.rb +320 -0
  103. data/lib/trinsic_api/models/{known_person_data.rb → trinsic_test_database_lookup_input.rb} +31 -69
  104. data/lib/trinsic_api/models/trinsic_test_sub_providers_input.rb +222 -0
  105. data/lib/trinsic_api/version.rb +2 -2
  106. data/lib/trinsic_api.rb +14 -4
  107. data/spec/api/attachments_api_spec.rb +2 -2
  108. data/spec/api/network_api_spec.rb +13 -2
  109. data/spec/api/sessions_api_spec.rb +3 -3
  110. data/spec/api/well_known_api_spec.rb +44 -0
  111. data/spec/models/aadhaar_input_spec.rb +1 -1
  112. data/spec/models/address_spec.rb +1 -1
  113. data/spec/models/attachment_access_keys_spec.rb +1 -1
  114. data/spec/models/bangladesh_national_id_input_spec.rb +1 -1
  115. data/spec/models/brazil_cpf_check_input_spec.rb +1 -1
  116. data/spec/models/brazil_digital_cnh_input_spec.rb +1 -1
  117. data/spec/models/cancel_session_response_spec.rb +1 -1
  118. data/spec/models/create_advanced_provider_session_request_spec.rb +1 -1
  119. data/spec/models/create_advanced_provider_session_response_spec.rb +1 -1
  120. data/spec/models/create_hosted_provider_session_request_spec.rb +1 -1
  121. data/spec/models/create_hosted_provider_session_response_spec.rb +7 -1
  122. data/spec/models/create_widget_session_request_spec.rb +2 -2
  123. data/spec/models/create_widget_session_response_spec.rb +7 -1
  124. data/spec/models/document_data_spec.rb +1 -1
  125. data/spec/models/document_scan_attachments_spec.rb +1 -1
  126. data/spec/models/document_type_spec.rb +1 -1
  127. data/spec/models/get_attachment_request_spec.rb +1 -1
  128. data/spec/models/get_attachment_response_spec.rb +1 -1
  129. data/spec/models/get_session_response_spec.rb +1 -1
  130. data/spec/models/get_session_result_request_spec.rb +1 -1
  131. data/spec/models/get_session_result_response_spec.rb +1 -1
  132. data/spec/models/http_validation_problem_details_spec.rb +1 -1
  133. data/spec/models/identity_data_spec.rb +7 -1
  134. data/spec/models/{known_identity_data_spec.rb → idin_input_spec.rb} +8 -8
  135. data/spec/models/indonesia_nik_input_spec.rb +1 -1
  136. data/spec/models/integration_capability_spec.rb +1 -1
  137. data/spec/models/integration_launch_method_spec.rb +1 -1
  138. data/spec/models/integration_step_spec.rb +1 -1
  139. data/spec/models/kenya_nid_input_spec.rb +1 -1
  140. data/spec/models/language_spec.rb +30 -0
  141. data/spec/models/list_provider_contracts_response_spec.rb +36 -0
  142. data/spec/models/list_providers_response_spec.rb +1 -1
  143. data/spec/models/list_sessions_response_spec.rb +1 -1
  144. data/spec/models/mexico_curp_input_spec.rb +1 -1
  145. data/spec/models/mobile_id_input_spec.rb +48 -0
  146. data/spec/models/nigeria_nin_input_spec.rb +1 -1
  147. data/spec/models/order_direction_spec.rb +1 -1
  148. data/spec/models/person_data_spec.rb +1 -1
  149. data/spec/models/philippine_match_input_spec.rb +1 -1
  150. data/spec/models/philippine_qr_input_spec.rb +1 -1
  151. data/spec/models/problem_details_spec.rb +1 -1
  152. data/spec/models/provider_attachments_spec.rb +1 -1
  153. data/spec/models/provider_contract_spec.rb +126 -0
  154. data/spec/models/provider_health_spec.rb +30 -0
  155. data/spec/models/provider_info_spec.rb +1 -7
  156. data/spec/models/provider_information_spec.rb +1 -1
  157. data/spec/models/provider_input_spec.rb +37 -1
  158. data/spec/models/recommend_request_spec.rb +2 -26
  159. data/spec/models/recommend_response_spec.rb +1 -1
  160. data/spec/models/recommendation_info_spec.rb +54 -0
  161. data/spec/models/refresh_step_content_request_spec.rb +1 -1
  162. data/spec/models/refresh_step_content_response_spec.rb +1 -1
  163. data/spec/models/result_collection_method_spec.rb +1 -1
  164. data/spec/models/result_collection_spec.rb +1 -1
  165. data/spec/models/session_error_code_spec.rb +1 -1
  166. data/spec/models/session_ordering_spec.rb +1 -1
  167. data/spec/models/session_spec.rb +1 -1
  168. data/spec/models/sex_spec.rb +1 -1
  169. data/spec/models/smart_id_input_spec.rb +36 -0
  170. data/spec/models/south_africa_nid_input_spec.rb +1 -1
  171. data/spec/models/spid_input_spec.rb +36 -0
  172. data/spec/models/step_refresh_info_spec.rb +1 -1
  173. data/spec/models/sub_provider_metadata_spec.rb +54 -0
  174. data/spec/models/trinsic_test_database_lookup_input_spec.rb +54 -0
  175. data/spec/models/trinsic_test_sub_providers_input_spec.rb +36 -0
  176. data/spec/spec_helper.rb +1 -1
  177. data/trinsic_api.gemspec +1 -1
  178. metadata +96 -56
  179. data/docs/KnownAddress.md +0 -32
  180. data/docs/KnownIdentityData.md +0 -18
  181. data/docs/KnownPersonData.md +0 -32
  182. data/spec/models/known_address_spec.rb +0 -78
  183. data/spec/models/known_person_data_spec.rb +0 -78
@@ -0,0 +1,222 @@
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 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 attribute mapping this model knows about
29
+ def self.acceptable_attribute_map
30
+ attribute_map
31
+ end
32
+
33
+ # Returns all the JSON keys this model knows about
34
+ def self.acceptable_attributes
35
+ acceptable_attribute_map.values
36
+ end
37
+
38
+ # Attribute type mapping.
39
+ def self.openapi_types
40
+ {
41
+ :'sub_provider_id' => :'String'
42
+ }
43
+ end
44
+
45
+ # List of attributes with nullable: true
46
+ def self.openapi_nullable
47
+ Set.new([
48
+ :'sub_provider_id'
49
+ ])
50
+ end
51
+
52
+ # Initializes the object
53
+ # @param [Hash] attributes Model attributes in the form of hash
54
+ def initialize(attributes = {})
55
+ if (!attributes.is_a?(Hash))
56
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::TrinsicTestSubProvidersInput` initialize method"
57
+ end
58
+
59
+ # check to see if the attribute exists and convert string to symbol for hash key
60
+ acceptable_attribute_map = self.class.acceptable_attribute_map
61
+ attributes = attributes.each_with_object({}) { |(k, v), h|
62
+ if (!acceptable_attribute_map.key?(k.to_sym))
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::TrinsicTestSubProvidersInput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
64
+ end
65
+ h[k.to_sym] = v
66
+ }
67
+
68
+ if attributes.key?(:'sub_provider_id')
69
+ self.sub_provider_id = attributes[:'sub_provider_id']
70
+ end
71
+ end
72
+
73
+ # Show invalid properties with the reasons. Usually used together with valid?
74
+ # @return Array for valid properties with the reasons
75
+ def list_invalid_properties
76
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
77
+ invalid_properties = Array.new
78
+ invalid_properties
79
+ end
80
+
81
+ # Check to see if the all the properties in the model are valid
82
+ # @return true if the model is valid
83
+ def valid?
84
+ warn '[DEPRECATED] the `valid?` method is obsolete'
85
+ true
86
+ end
87
+
88
+ # Checks equality by comparing each attribute.
89
+ # @param [Object] Object to be compared
90
+ def ==(o)
91
+ return true if self.equal?(o)
92
+ self.class == o.class &&
93
+ sub_provider_id == o.sub_provider_id
94
+ end
95
+
96
+ # @see the `==` method
97
+ # @param [Object] Object to be compared
98
+ def eql?(o)
99
+ self == o
100
+ end
101
+
102
+ # Calculates hash code according to all attributes.
103
+ # @return [Integer] Hash code
104
+ def hash
105
+ [sub_provider_id].hash
106
+ end
107
+
108
+ # Builds the object from hash
109
+ # @param [Hash] attributes Model attributes in the form of hash
110
+ # @return [Object] Returns the model itself
111
+ def self.build_from_hash(attributes)
112
+ return nil unless attributes.is_a?(Hash)
113
+ attributes = attributes.transform_keys(&:to_sym)
114
+ transformed_hash = {}
115
+ openapi_types.each_pair do |key, type|
116
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
117
+ transformed_hash["#{key}"] = nil
118
+ elsif type =~ /\AArray<(.*)>/i
119
+ # check to ensure the input is an array given that the attribute
120
+ # is documented as an array but the input is not
121
+ if attributes[attribute_map[key]].is_a?(Array)
122
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
123
+ end
124
+ elsif !attributes[attribute_map[key]].nil?
125
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
126
+ end
127
+ end
128
+ new(transformed_hash)
129
+ end
130
+
131
+ # Deserializes the data based on type
132
+ # @param string type Data type
133
+ # @param string value Value to be deserialized
134
+ # @return [Object] Deserialized data
135
+ def self._deserialize(type, value)
136
+ case type.to_sym
137
+ when :Time
138
+ Time.parse(value)
139
+ when :Date
140
+ Date.parse(value)
141
+ when :String
142
+ value.to_s
143
+ when :Integer
144
+ value.to_i
145
+ when :Float
146
+ value.to_f
147
+ when :Boolean
148
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
149
+ true
150
+ else
151
+ false
152
+ end
153
+ when :Object
154
+ # generic object (usually a Hash), return directly
155
+ value
156
+ when /\AArray<(?<inner_type>.+)>\z/
157
+ inner_type = Regexp.last_match[:inner_type]
158
+ value.map { |v| _deserialize(inner_type, v) }
159
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
160
+ k_type = Regexp.last_match[:k_type]
161
+ v_type = Regexp.last_match[:v_type]
162
+ {}.tap do |hash|
163
+ value.each do |k, v|
164
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
165
+ end
166
+ end
167
+ else # model
168
+ # models (e.g. Pet) or oneOf
169
+ klass = TrinsicApi.const_get(type)
170
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
171
+ end
172
+ end
173
+
174
+ # Returns the string representation of the object
175
+ # @return [String] String presentation of the object
176
+ def to_s
177
+ to_hash.to_s
178
+ end
179
+
180
+ # to_body is an alias to to_hash (backward compatibility)
181
+ # @return [Hash] Returns the object in the form of hash
182
+ def to_body
183
+ to_hash
184
+ end
185
+
186
+ # Returns the object in the form of hash
187
+ # @return [Hash] Returns the object in the form of hash
188
+ def to_hash
189
+ hash = {}
190
+ self.class.attribute_map.each_pair do |attr, param|
191
+ value = self.send(attr)
192
+ if value.nil?
193
+ is_nullable = self.class.openapi_nullable.include?(attr)
194
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
195
+ end
196
+
197
+ hash[param] = _to_hash(value)
198
+ end
199
+ hash
200
+ end
201
+
202
+ # Outputs non-array value in the form of hash
203
+ # For object, use to_hash. Otherwise, just return the value
204
+ # @param [Object] value Any valid value
205
+ # @return [Hash] Returns the value in the form of hash
206
+ def _to_hash(value)
207
+ if value.is_a?(Array)
208
+ value.compact.map { |v| _to_hash(v) }
209
+ elsif value.is_a?(Hash)
210
+ {}.tap do |hash|
211
+ value.each { |k, v| hash[k] = _to_hash(v) }
212
+ end
213
+ elsif value.respond_to? :to_hash
214
+ value.to_hash
215
+ else
216
+ value
217
+ end
218
+ end
219
+
220
+ end
221
+
222
+ end
@@ -6,10 +6,10 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
13
13
  module TrinsicApi
14
- VERSION = '2.0.0-alpha3'
14
+ VERSION = '2.0.1'
15
15
  end
data/lib/trinsic_api.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -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,14 @@ 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'
63
+ require 'trinsic_api/models/provider_health'
61
64
  require 'trinsic_api/models/provider_info'
62
65
  require 'trinsic_api/models/provider_information'
63
66
  require 'trinsic_api/models/provider_input'
64
67
  require 'trinsic_api/models/recommend_request'
65
68
  require 'trinsic_api/models/recommend_response'
69
+ require 'trinsic_api/models/recommendation_info'
66
70
  require 'trinsic_api/models/refresh_step_content_request'
67
71
  require 'trinsic_api/models/refresh_step_content_response'
68
72
  require 'trinsic_api/models/result_collection'
@@ -71,13 +75,19 @@ require 'trinsic_api/models/session'
71
75
  require 'trinsic_api/models/session_error_code'
72
76
  require 'trinsic_api/models/session_ordering'
73
77
  require 'trinsic_api/models/sex'
78
+ require 'trinsic_api/models/smart_id_input'
74
79
  require 'trinsic_api/models/south_africa_nid_input'
80
+ require 'trinsic_api/models/spid_input'
75
81
  require 'trinsic_api/models/step_refresh_info'
82
+ require 'trinsic_api/models/sub_provider_metadata'
83
+ require 'trinsic_api/models/trinsic_test_database_lookup_input'
84
+ require 'trinsic_api/models/trinsic_test_sub_providers_input'
76
85
 
77
86
  # APIs
78
87
  require 'trinsic_api/api/attachments_api'
79
88
  require 'trinsic_api/api/network_api'
80
89
  require 'trinsic_api/api/sessions_api'
90
+ require 'trinsic_api/api/well_known_api'
81
91
 
82
92
  module TrinsicApi
83
93
  class << self
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -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]
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -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]
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -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]
@@ -0,0 +1,44 @@
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::WellKnownApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'WellKnownApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = TrinsicApi::WellKnownApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of WellKnownApi' do
30
+ it 'should create an instance of WellKnownApi' do
31
+ expect(@api_instance).to be_instance_of(TrinsicApi::WellKnownApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for interac_jwk
36
+ # @param [Hash] opts the optional parameters
37
+ # @return [nil]
38
+ describe 'interac_jwk test' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
41
+ end
42
+ end
43
+
44
+ end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -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
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -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
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -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
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12