trinsic_api 3.0.1 → 3.0.2.pre.preview

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 (122) hide show
  1. checksums.yaml +4 -4
  2. data/docs/AadhaarClaims.md +46 -0
  3. data/docs/AadhaarLanguage.md +20 -0
  4. data/docs/AadhaarLocalizedClaims.md +40 -0
  5. data/docs/AppleWalletInput.md +3 -1
  6. data/docs/ConnectIdAddress.md +26 -0
  7. data/docs/ConnectIdAgeVerification.md +20 -0
  8. data/docs/ConnectIdBeneficiaryAccount.md +24 -0
  9. data/docs/ConnectIdProviderOutput.md +38 -0
  10. data/docs/CzechMojeIdAddressOutput.md +28 -0
  11. data/docs/CzechMojeIdProviderOutput.md +62 -0
  12. data/docs/DigilockerAadhaarProviderOutput.md +30 -0
  13. data/docs/FaydaProviderOutput.md +7 -1
  14. data/docs/FinnishTrustNetworkProviderOutput.md +38 -0
  15. data/docs/FranceIdentiteInput.md +18 -0
  16. data/docs/FranceIdentiteProviderOutput.md +18 -0
  17. data/docs/FrejaIndirectProviderOutput.md +24 -0
  18. data/docs/FrejaProviderOutput.md +36 -8
  19. data/docs/GetProviderResponse.md +18 -0
  20. data/docs/GoogleWalletInput.md +3 -1
  21. data/docs/NigeriaNinLookup2ProviderOutput.md +40 -0
  22. data/docs/NorwegianBankIdProviderOutput.md +32 -0
  23. data/docs/OneIdProviderAddress.md +26 -0
  24. data/docs/OneIdProviderOutput.md +28 -0
  25. data/docs/OutputFrejaAddress.md +24 -0
  26. data/docs/OutputFrejaDocument.md +24 -0
  27. data/docs/PhilippinesDigitalNidProviderOutput.md +21 -1
  28. data/docs/PhilippinesPhysicalNidProviderOutput.md +17 -1
  29. data/docs/ProviderInput.md +6 -0
  30. data/docs/ProviderOutput.md +24 -2
  31. data/docs/ProvidersApi.md +70 -0
  32. data/docs/Raw18013DocumentRequest.md +20 -0
  33. data/docs/Raw18013RequestInput.md +18 -0
  34. data/docs/RecommendProvidersResponse.md +3 -1
  35. data/docs/SamsungWalletInput.md +18 -0
  36. data/docs/UkEvisaLookupInput.md +20 -0
  37. data/docs/UnitedKingdomEvisaProviderOutput.md +38 -0
  38. data/docs/VerificationProfileResponse.md +2 -0
  39. data/docs/VerificationProfilesApi.md +4 -0
  40. data/docs/YotiDeeplinkProviderOutput.md +40 -0
  41. data/lib/trinsic_api/api/providers_api.rb +63 -0
  42. data/lib/trinsic_api/api/verification_profiles_api.rb +6 -0
  43. data/lib/trinsic_api/models/aadhaar_claims.rb +376 -0
  44. data/lib/trinsic_api/models/aadhaar_language.rb +250 -0
  45. data/lib/trinsic_api/models/aadhaar_localized_claims.rb +343 -0
  46. data/lib/trinsic_api/models/apple_wallet_input.rb +16 -5
  47. data/lib/trinsic_api/models/connect_id_address.rb +266 -0
  48. data/lib/trinsic_api/models/connect_id_age_verification.rb +233 -0
  49. data/lib/trinsic_api/models/connect_id_beneficiary_account.rb +255 -0
  50. data/lib/trinsic_api/models/connect_id_provider_output.rb +333 -0
  51. data/lib/trinsic_api/models/czech_moje_id_address_output.rb +277 -0
  52. data/lib/trinsic_api/models/czech_moje_id_provider_output.rb +465 -0
  53. data/lib/trinsic_api/models/digilocker_aadhaar_provider_output.rb +305 -0
  54. data/lib/trinsic_api/models/fayda_provider_output.rb +38 -5
  55. data/lib/trinsic_api/models/finnish_trust_network_provider_output.rb +333 -0
  56. data/lib/trinsic_api/models/france_identite_input.rb +222 -0
  57. data/lib/trinsic_api/models/france_identite_provider_output.rb +239 -0
  58. data/lib/trinsic_api/models/freja_indirect_provider_output.rb +320 -0
  59. data/lib/trinsic_api/models/freja_provider_output.rb +185 -91
  60. data/lib/trinsic_api/models/get_provider_response.rb +238 -0
  61. data/lib/trinsic_api/models/google_wallet_input.rb +16 -5
  62. data/lib/trinsic_api/models/integration_step.rb +1 -1
  63. data/lib/trinsic_api/models/nigeria_nin_lookup2_provider_output.rb +392 -0
  64. data/lib/trinsic_api/models/norwegian_bank_id_provider_output.rb +300 -0
  65. data/lib/trinsic_api/models/one_id_provider_address.rb +266 -0
  66. data/lib/trinsic_api/models/one_id_provider_output.rb +278 -0
  67. data/lib/trinsic_api/models/output_freja_address.rb +255 -0
  68. data/lib/trinsic_api/models/output_freja_document.rb +255 -0
  69. data/lib/trinsic_api/models/philippines_digital_nid_provider_output.rb +114 -4
  70. data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +92 -4
  71. data/lib/trinsic_api/models/provider_input.rb +34 -1
  72. data/lib/trinsic_api/models/provider_output.rb +127 -6
  73. data/lib/trinsic_api/models/raw18013_document_request.rb +276 -0
  74. data/lib/trinsic_api/models/raw18013_request_input.rb +259 -0
  75. data/lib/trinsic_api/models/recommend_providers_response.rb +33 -4
  76. data/lib/trinsic_api/models/samsung_wallet_input.rb +222 -0
  77. data/lib/trinsic_api/models/uk_evisa_lookup_input.rb +283 -0
  78. data/lib/trinsic_api/models/united_kingdom_evisa_provider_output.rb +333 -0
  79. data/lib/trinsic_api/models/verification_profile_response.rb +28 -1
  80. data/lib/trinsic_api/models/yoti_deeplink_provider_output.rb +344 -0
  81. data/lib/trinsic_api/version.rb +1 -1
  82. data/lib/trinsic_api.rb +27 -0
  83. data/spec/api/providers_api_spec.rb +12 -0
  84. data/spec/api/verification_profiles_api_spec.rb +2 -0
  85. data/spec/models/aadhaar_claims_spec.rb +120 -0
  86. data/spec/models/aadhaar_language_spec.rb +42 -0
  87. data/spec/models/aadhaar_localized_claims_spec.rb +102 -0
  88. data/spec/models/apple_wallet_input_spec.rb +6 -0
  89. data/spec/models/connect_id_address_spec.rb +60 -0
  90. data/spec/models/connect_id_age_verification_spec.rb +42 -0
  91. data/spec/models/connect_id_beneficiary_account_spec.rb +54 -0
  92. data/spec/models/connect_id_provider_output_spec.rb +96 -0
  93. data/spec/models/czech_moje_id_address_output_spec.rb +66 -0
  94. data/spec/models/czech_moje_id_provider_output_spec.rb +168 -0
  95. data/spec/models/digilocker_aadhaar_provider_output_spec.rb +72 -0
  96. data/spec/models/fayda_provider_output_spec.rb +18 -0
  97. data/spec/models/finnish_trust_network_provider_output_spec.rb +96 -0
  98. data/spec/models/france_identite_input_spec.rb +36 -0
  99. data/spec/models/france_identite_provider_output_spec.rb +36 -0
  100. data/spec/models/freja_indirect_provider_output_spec.rb +54 -0
  101. data/spec/models/freja_provider_output_spec.rb +88 -4
  102. data/spec/models/get_provider_response_spec.rb +36 -0
  103. data/spec/models/google_wallet_input_spec.rb +6 -0
  104. data/spec/models/nigeria_nin_lookup2_provider_output_spec.rb +102 -0
  105. data/spec/models/norwegian_bank_id_provider_output_spec.rb +78 -0
  106. data/spec/models/one_id_provider_address_spec.rb +60 -0
  107. data/spec/models/one_id_provider_output_spec.rb +66 -0
  108. data/spec/models/output_freja_address_spec.rb +54 -0
  109. data/spec/models/output_freja_document_spec.rb +54 -0
  110. data/spec/models/philippines_digital_nid_provider_output_spec.rb +60 -0
  111. data/spec/models/philippines_physical_nid_provider_output_spec.rb +48 -0
  112. data/spec/models/provider_input_spec.rb +18 -0
  113. data/spec/models/provider_output_spec.rb +66 -0
  114. data/spec/models/raw18013_document_request_spec.rb +42 -0
  115. data/spec/models/raw18013_request_input_spec.rb +36 -0
  116. data/spec/models/recommend_providers_response_spec.rb +6 -0
  117. data/spec/models/samsung_wallet_input_spec.rb +36 -0
  118. data/spec/models/uk_evisa_lookup_input_spec.rb +42 -0
  119. data/spec/models/united_kingdom_evisa_provider_output_spec.rb +96 -0
  120. data/spec/models/verification_profile_response_spec.rb +6 -0
  121. data/spec/models/yoti_deeplink_provider_output_spec.rb +102 -0
  122. metadata +230 -122
@@ -0,0 +1,344 @@
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
+ # Exposed properties for the `yoti-deeplink` Provider which do not directly map to the normalized IdentityData model.
18
+ class YotiDeeplinkProviderOutput
19
+ # The unique id for your service of the individual. This is not shared between different services so if the user logs into a different service, the user will have a new id for the other service.
20
+ attr_accessor :remember_me_id
21
+
22
+ # The email address of the individual
23
+ attr_accessor :email
24
+
25
+ # The given name of the individual. This can correspond to first and middle names in English.
26
+ attr_accessor :given_name
27
+
28
+ # The family name of the individual
29
+ attr_accessor :family_name
30
+
31
+ # Full name of the individual which is composed of the given and family name. Unverified full name may be safe to use. For example, Aadhaar card provides full name, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as \"unverified\".
32
+ attr_accessor :full_name
33
+
34
+ # The date of birth of the individual. Unverified date of birth may be safe to use. For example, Aadhaar card provides date of birth, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as \"unverified\".
35
+ attr_accessor :date_of_birth
36
+
37
+ # The gender of the individual. Depending on the source or country, gender may not be verified. This is a setting that can be configured while setting up scopes. Unverified gender may be safe to use. For example, Aadhaar card provides gender, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as \"unverified\". In some countries Possible values: - \"MALE\" - \"FEMALE\" - \"TRANSGENDER\" - \"OTHER\"
38
+ attr_accessor :gender
39
+
40
+ # The nationality of the individual as a ISO alpha-3 code
41
+ attr_accessor :nationality
42
+
43
+ # The mobile phone number of the individual. This number was verified with a one time password (OTP) during the user's registration with Yoti. In some cases, Yoti may do additional checks against its sources to confirm the user's identity.
44
+ attr_accessor :mobile_number
45
+
46
+ # A structured postal address for the individual that comes from the underlying document or can be manually added. In the case of being manually added, the address is considered \"unverified\". Unverified addresses may be safe to use. For example, Aadhaar card provides an address, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as \"unverified\".
47
+ attr_accessor :structured_postal_address
48
+
49
+ # The whole address for the individual that comes from the underlying document or can be manually added. In the case of being manually added, the address is considered \"unverified\". The format of this will be different for each country. Refer to `StructuredPostalAddress` for a detailed version of the address.
50
+ attr_accessor :postal_address
51
+
52
+ # The details of the underlying document used to help create the Yoti credential
53
+ attr_accessor :document_details
54
+
55
+ # Attribute mapping from ruby-style variable name to JSON key.
56
+ def self.attribute_map
57
+ {
58
+ :'remember_me_id' => :'rememberMeId',
59
+ :'email' => :'email',
60
+ :'given_name' => :'givenName',
61
+ :'family_name' => :'familyName',
62
+ :'full_name' => :'fullName',
63
+ :'date_of_birth' => :'dateOfBirth',
64
+ :'gender' => :'gender',
65
+ :'nationality' => :'nationality',
66
+ :'mobile_number' => :'mobileNumber',
67
+ :'structured_postal_address' => :'structuredPostalAddress',
68
+ :'postal_address' => :'postalAddress',
69
+ :'document_details' => :'documentDetails'
70
+ }
71
+ end
72
+
73
+ # Returns attribute mapping this model knows about
74
+ def self.acceptable_attribute_map
75
+ attribute_map
76
+ end
77
+
78
+ # Returns all the JSON keys this model knows about
79
+ def self.acceptable_attributes
80
+ acceptable_attribute_map.values
81
+ end
82
+
83
+ # Attribute type mapping.
84
+ def self.openapi_types
85
+ {
86
+ :'remember_me_id' => :'String',
87
+ :'email' => :'String',
88
+ :'given_name' => :'String',
89
+ :'family_name' => :'String',
90
+ :'full_name' => :'String',
91
+ :'date_of_birth' => :'Date',
92
+ :'gender' => :'String',
93
+ :'nationality' => :'String',
94
+ :'mobile_number' => :'String',
95
+ :'structured_postal_address' => :'YotiStructuredPostalAddress',
96
+ :'postal_address' => :'String',
97
+ :'document_details' => :'YotiDocumentDetails'
98
+ }
99
+ end
100
+
101
+ # List of attributes with nullable: true
102
+ def self.openapi_nullable
103
+ Set.new([
104
+ :'remember_me_id',
105
+ :'email',
106
+ :'given_name',
107
+ :'family_name',
108
+ :'full_name',
109
+ :'date_of_birth',
110
+ :'gender',
111
+ :'nationality',
112
+ :'mobile_number',
113
+ :'structured_postal_address',
114
+ :'postal_address',
115
+ :'document_details'
116
+ ])
117
+ end
118
+
119
+ # Initializes the object
120
+ # @param [Hash] attributes Model attributes in the form of hash
121
+ def initialize(attributes = {})
122
+ if (!attributes.is_a?(Hash))
123
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::YotiDeeplinkProviderOutput` initialize method"
124
+ end
125
+
126
+ # check to see if the attribute exists and convert string to symbol for hash key
127
+ acceptable_attribute_map = self.class.acceptable_attribute_map
128
+ attributes = attributes.each_with_object({}) { |(k, v), h|
129
+ if (!acceptable_attribute_map.key?(k.to_sym))
130
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::YotiDeeplinkProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
131
+ end
132
+ h[k.to_sym] = v
133
+ }
134
+
135
+ if attributes.key?(:'remember_me_id')
136
+ self.remember_me_id = attributes[:'remember_me_id']
137
+ end
138
+
139
+ if attributes.key?(:'email')
140
+ self.email = attributes[:'email']
141
+ end
142
+
143
+ if attributes.key?(:'given_name')
144
+ self.given_name = attributes[:'given_name']
145
+ end
146
+
147
+ if attributes.key?(:'family_name')
148
+ self.family_name = attributes[:'family_name']
149
+ end
150
+
151
+ if attributes.key?(:'full_name')
152
+ self.full_name = attributes[:'full_name']
153
+ end
154
+
155
+ if attributes.key?(:'date_of_birth')
156
+ self.date_of_birth = attributes[:'date_of_birth']
157
+ end
158
+
159
+ if attributes.key?(:'gender')
160
+ self.gender = attributes[:'gender']
161
+ end
162
+
163
+ if attributes.key?(:'nationality')
164
+ self.nationality = attributes[:'nationality']
165
+ end
166
+
167
+ if attributes.key?(:'mobile_number')
168
+ self.mobile_number = attributes[:'mobile_number']
169
+ end
170
+
171
+ if attributes.key?(:'structured_postal_address')
172
+ self.structured_postal_address = attributes[:'structured_postal_address']
173
+ end
174
+
175
+ if attributes.key?(:'postal_address')
176
+ self.postal_address = attributes[:'postal_address']
177
+ end
178
+
179
+ if attributes.key?(:'document_details')
180
+ self.document_details = attributes[:'document_details']
181
+ end
182
+ end
183
+
184
+ # Show invalid properties with the reasons. Usually used together with valid?
185
+ # @return Array for valid properties with the reasons
186
+ def list_invalid_properties
187
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
188
+ invalid_properties = Array.new
189
+ invalid_properties
190
+ end
191
+
192
+ # Check to see if the all the properties in the model are valid
193
+ # @return true if the model is valid
194
+ def valid?
195
+ warn '[DEPRECATED] the `valid?` method is obsolete'
196
+ true
197
+ end
198
+
199
+ # Checks equality by comparing each attribute.
200
+ # @param [Object] Object to be compared
201
+ def ==(o)
202
+ return true if self.equal?(o)
203
+ self.class == o.class &&
204
+ remember_me_id == o.remember_me_id &&
205
+ email == o.email &&
206
+ given_name == o.given_name &&
207
+ family_name == o.family_name &&
208
+ full_name == o.full_name &&
209
+ date_of_birth == o.date_of_birth &&
210
+ gender == o.gender &&
211
+ nationality == o.nationality &&
212
+ mobile_number == o.mobile_number &&
213
+ structured_postal_address == o.structured_postal_address &&
214
+ postal_address == o.postal_address &&
215
+ document_details == o.document_details
216
+ end
217
+
218
+ # @see the `==` method
219
+ # @param [Object] Object to be compared
220
+ def eql?(o)
221
+ self == o
222
+ end
223
+
224
+ # Calculates hash code according to all attributes.
225
+ # @return [Integer] Hash code
226
+ def hash
227
+ [remember_me_id, email, given_name, family_name, full_name, date_of_birth, gender, nationality, mobile_number, structured_postal_address, postal_address, document_details].hash
228
+ end
229
+
230
+ # Builds the object from hash
231
+ # @param [Hash] attributes Model attributes in the form of hash
232
+ # @return [Object] Returns the model itself
233
+ def self.build_from_hash(attributes)
234
+ return nil unless attributes.is_a?(Hash)
235
+ attributes = attributes.transform_keys(&:to_sym)
236
+ transformed_hash = {}
237
+ openapi_types.each_pair do |key, type|
238
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
239
+ transformed_hash["#{key}"] = nil
240
+ elsif type =~ /\AArray<(.*)>/i
241
+ # check to ensure the input is an array given that the attribute
242
+ # is documented as an array but the input is not
243
+ if attributes[attribute_map[key]].is_a?(Array)
244
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
245
+ end
246
+ elsif !attributes[attribute_map[key]].nil?
247
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
248
+ end
249
+ end
250
+ new(transformed_hash)
251
+ end
252
+
253
+ # Deserializes the data based on type
254
+ # @param string type Data type
255
+ # @param string value Value to be deserialized
256
+ # @return [Object] Deserialized data
257
+ def self._deserialize(type, value)
258
+ case type.to_sym
259
+ when :Time
260
+ Time.parse(value)
261
+ when :Date
262
+ Date.parse(value)
263
+ when :String
264
+ value.to_s
265
+ when :Integer
266
+ value.to_i
267
+ when :Float
268
+ value.to_f
269
+ when :Boolean
270
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
271
+ true
272
+ else
273
+ false
274
+ end
275
+ when :Object
276
+ # generic object (usually a Hash), return directly
277
+ value
278
+ when /\AArray<(?<inner_type>.+)>\z/
279
+ inner_type = Regexp.last_match[:inner_type]
280
+ value.map { |v| _deserialize(inner_type, v) }
281
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
282
+ k_type = Regexp.last_match[:k_type]
283
+ v_type = Regexp.last_match[:v_type]
284
+ {}.tap do |hash|
285
+ value.each do |k, v|
286
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
287
+ end
288
+ end
289
+ else # model
290
+ # models (e.g. Pet) or oneOf
291
+ klass = TrinsicApi.const_get(type)
292
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
293
+ end
294
+ end
295
+
296
+ # Returns the string representation of the object
297
+ # @return [String] String presentation of the object
298
+ def to_s
299
+ to_hash.to_s
300
+ end
301
+
302
+ # to_body is an alias to to_hash (backward compatibility)
303
+ # @return [Hash] Returns the object in the form of hash
304
+ def to_body
305
+ to_hash
306
+ end
307
+
308
+ # Returns the object in the form of hash
309
+ # @return [Hash] Returns the object in the form of hash
310
+ def to_hash
311
+ hash = {}
312
+ self.class.attribute_map.each_pair do |attr, param|
313
+ value = self.send(attr)
314
+ if value.nil?
315
+ is_nullable = self.class.openapi_nullable.include?(attr)
316
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
317
+ end
318
+
319
+ hash[param] = _to_hash(value)
320
+ end
321
+ hash
322
+ end
323
+
324
+ # Outputs non-array value in the form of hash
325
+ # For object, use to_hash. Otherwise, just return the value
326
+ # @param [Object] value Any valid value
327
+ # @return [Hash] Returns the value in the form of hash
328
+ def _to_hash(value)
329
+ if value.is_a?(Array)
330
+ value.compact.map { |v| _to_hash(v) }
331
+ elsif value.is_a?(Hash)
332
+ {}.tap do |hash|
333
+ value.each { |k, v| hash[k] = _to_hash(v) }
334
+ end
335
+ elsif value.respond_to? :to_hash
336
+ value.to_hash
337
+ else
338
+ value
339
+ end
340
+ end
341
+
342
+ end
343
+
344
+ end
@@ -11,5 +11,5 @@ Generator version: 7.13.0
11
11
  =end
12
12
 
13
13
  module TrinsicApi
14
- VERSION = '3.0.1'
14
+ VERSION = '3.0.2-preview'
15
15
  end
data/lib/trinsic_api.rb CHANGED
@@ -17,7 +17,10 @@ require 'trinsic_api/version'
17
17
  require 'trinsic_api/configuration'
18
18
 
19
19
  # Models
20
+ require 'trinsic_api/models/aadhaar_claims'
20
21
  require 'trinsic_api/models/aadhaar_input'
22
+ require 'trinsic_api/models/aadhaar_language'
23
+ require 'trinsic_api/models/aadhaar_localized_claims'
21
24
  require 'trinsic_api/models/add_redirect_uri_request'
22
25
  require 'trinsic_api/models/add_redirect_uri_response'
23
26
  require 'trinsic_api/models/address'
@@ -30,6 +33,10 @@ require 'trinsic_api/models/belgium_id_card_provider_output'
30
33
  require 'trinsic_api/models/brazil_cpf_check_input'
31
34
  require 'trinsic_api/models/brazil_digital_cnh_input'
32
35
  require 'trinsic_api/models/cancel_session_response'
36
+ require 'trinsic_api/models/connect_id_address'
37
+ require 'trinsic_api/models/connect_id_age_verification'
38
+ require 'trinsic_api/models/connect_id_beneficiary_account'
39
+ require 'trinsic_api/models/connect_id_provider_output'
33
40
  require 'trinsic_api/models/contract_attachment'
34
41
  require 'trinsic_api/models/contract_attribute'
35
42
  require 'trinsic_api/models/cote_d_ivoire_nid_lookup2_input'
@@ -40,12 +47,19 @@ require 'trinsic_api/models/create_hosted_provider_session_response'
40
47
  require 'trinsic_api/models/create_verification_profile_response'
41
48
  require 'trinsic_api/models/create_widget_session_request'
42
49
  require 'trinsic_api/models/create_widget_session_response'
50
+ require 'trinsic_api/models/czech_moje_id_address_output'
51
+ require 'trinsic_api/models/czech_moje_id_provider_output'
43
52
  require 'trinsic_api/models/czechia_moje_id_provider_output'
53
+ require 'trinsic_api/models/digilocker_aadhaar_provider_output'
44
54
  require 'trinsic_api/models/document_data'
45
55
  require 'trinsic_api/models/document_type'
46
56
  require 'trinsic_api/models/estonia_id_card_provider_output'
47
57
  require 'trinsic_api/models/fayda_provider_output'
48
58
  require 'trinsic_api/models/finland_id_card_provider_output'
59
+ require 'trinsic_api/models/finnish_trust_network_provider_output'
60
+ require 'trinsic_api/models/france_identite_input'
61
+ require 'trinsic_api/models/france_identite_provider_output'
62
+ require 'trinsic_api/models/freja_indirect_provider_output'
49
63
  require 'trinsic_api/models/freja_provider_output'
50
64
  require 'trinsic_api/models/french_numerique_given_name'
51
65
  require 'trinsic_api/models/french_numerique_nationality'
@@ -53,6 +67,7 @@ require 'trinsic_api/models/french_numerique_phone'
53
67
  require 'trinsic_api/models/french_numerique_provider_output'
54
68
  require 'trinsic_api/models/get_attachment_request'
55
69
  require 'trinsic_api/models/get_attachment_response'
70
+ require 'trinsic_api/models/get_provider_response'
56
71
  require 'trinsic_api/models/get_session_response'
57
72
  require 'trinsic_api/models/get_session_result_request'
58
73
  require 'trinsic_api/models/get_session_result_response'
@@ -99,9 +114,15 @@ require 'trinsic_api/models/mobile_id_provider_output'
99
114
  require 'trinsic_api/models/nigeria_nin_biometric2_input'
100
115
  require 'trinsic_api/models/nigeria_nin_input'
101
116
  require 'trinsic_api/models/nigeria_nin_lookup2_input'
117
+ require 'trinsic_api/models/nigeria_nin_lookup2_provider_output'
102
118
  require 'trinsic_api/models/nigeria_nin_match2_input'
103
119
  require 'trinsic_api/models/nigeria_nin_match2_input_sex'
120
+ require 'trinsic_api/models/norwegian_bank_id_provider_output'
121
+ require 'trinsic_api/models/one_id_provider_address'
122
+ require 'trinsic_api/models/one_id_provider_output'
104
123
  require 'trinsic_api/models/order_direction'
124
+ require 'trinsic_api/models/output_freja_address'
125
+ require 'trinsic_api/models/output_freja_document'
105
126
  require 'trinsic_api/models/person_data'
106
127
  require 'trinsic_api/models/peru_dni_address'
107
128
  require 'trinsic_api/models/peru_dni_lookup_input'
@@ -119,6 +140,8 @@ require 'trinsic_api/models/provider'
119
140
  require 'trinsic_api/models/provider_health'
120
141
  require 'trinsic_api/models/provider_input'
121
142
  require 'trinsic_api/models/provider_output'
143
+ require 'trinsic_api/models/raw18013_document_request'
144
+ require 'trinsic_api/models/raw18013_request_input'
122
145
  require 'trinsic_api/models/recommend_provider_health_option'
123
146
  require 'trinsic_api/models/recommend_provider_information'
124
147
  require 'trinsic_api/models/recommend_providers_request'
@@ -129,6 +152,7 @@ require 'trinsic_api/models/refresh_step_content_request'
129
152
  require 'trinsic_api/models/refresh_step_content_response'
130
153
  require 'trinsic_api/models/result_collection'
131
154
  require 'trinsic_api/models/result_collection_method'
155
+ require 'trinsic_api/models/samsung_wallet_input'
132
156
  require 'trinsic_api/models/samsung_wallet_provider_output'
133
157
  require 'trinsic_api/models/serbia_id_card_provider_output'
134
158
  require 'trinsic_api/models/session'
@@ -153,7 +177,10 @@ require 'trinsic_api/models/sweden_bank_id_provider_output'
153
177
  require 'trinsic_api/models/trinsic_test_database_lookup_input'
154
178
  require 'trinsic_api/models/trinsic_test_sub_providers_input'
155
179
  require 'trinsic_api/models/uganda_nid_match2_input'
180
+ require 'trinsic_api/models/uk_evisa_lookup_input'
181
+ require 'trinsic_api/models/united_kingdom_evisa_provider_output'
156
182
  require 'trinsic_api/models/verification_profile_response'
183
+ require 'trinsic_api/models/yoti_deeplink_provider_output'
157
184
  require 'trinsic_api/models/yoti_document_details'
158
185
  require 'trinsic_api/models/yoti_provider_output'
159
186
  require 'trinsic_api/models/yoti_structured_postal_address'
@@ -32,6 +32,18 @@ describe 'ProvidersApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for get_provider
36
+ # Get Provider
37
+ # Get a single identity provider by ID, including its license status.
38
+ # @param provider_id The ID of the provider to retrieve
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [GetProviderResponse]
41
+ describe 'get_provider 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
+
35
47
  # unit tests for list_providers
36
48
  # List Providers
37
49
  # List all identity providers available to your Organization, including their license status.
@@ -41,6 +41,8 @@ describe 'VerificationProfilesApi' do
41
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
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
43
  # @option opts [File] :logo The logo of the verification profile.
44
+ # @option opts [String] :redaction_period The redaction period for verification data. Must be between 0 and 31 days, and at least 15 minutes greater than the session expiration. If not specified, defaults to 31 days.
45
+ # @option opts [String] :session_expiration The session expiration for verification sessions created with this profile. Must be between 15 minutes and 24 hours. Defaults to 1 hour if not specified.
44
46
  # @option opts [Boolean] :is_production_usage Whether this profile is for production usage. Only applicable for Live environment profiles. If not specified for Live profiles, defaults to false (Demo).
45
47
  # @return [CreateVerificationProfileResponse]
46
48
  describe 'create_verification_profile test' do
@@ -0,0 +1,120 @@
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::AadhaarClaims
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrinsicApi::AadhaarClaims do
21
+ let(:instance) { TrinsicApi::AadhaarClaims.new }
22
+
23
+ describe 'test an instance of AadhaarClaims' do
24
+ it 'should create an instance of AadhaarClaims' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrinsicApi::AadhaarClaims)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "name"' 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 "date_of_birth"' 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 "gender"' 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
+ describe 'test attribute "care_of"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "country"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "district"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "house"' 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
+ describe 'test attribute "location"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
78
+ describe 'test attribute "landmark"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
84
+ describe 'test attribute "postal_code"' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
+ end
88
+ end
89
+
90
+ describe 'test attribute "post_office"' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
96
+ describe 'test attribute "state"' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
+ end
100
+ end
101
+
102
+ describe 'test attribute "street"' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
+ end
106
+ end
107
+
108
+ describe 'test attribute "subdistrict"' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
111
+ end
112
+ end
113
+
114
+ describe 'test attribute "village_town_city"' do
115
+ it 'should work' do
116
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
117
+ end
118
+ end
119
+
120
+ end
@@ -0,0 +1,42 @@
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::AadhaarLanguage
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrinsicApi::AadhaarLanguage do
21
+ let(:instance) { TrinsicApi::AadhaarLanguage.new }
22
+
23
+ describe 'test an instance of AadhaarLanguage' do
24
+ it 'should create an instance of AadhaarLanguage' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrinsicApi::AadhaarLanguage)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "language_code"' 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 "language_name"' 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
+ end