trinsic_api 3.1.0.pre.preview1 → 3.1.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 (73) hide show
  1. checksums.yaml +4 -4
  2. data/docs/AgeOverOutput.md +20 -0
  3. data/docs/AppleWalletProviderOutput.md +2 -0
  4. data/docs/EudiAgeVerificationCredential.md +22 -0
  5. data/docs/EudiPidCredential.md +70 -0
  6. data/docs/FranceIdentiteProviderOutput.md +4 -0
  7. data/docs/GoogleWalletIdPassCredential.md +40 -0
  8. data/docs/GoogleWalletProviderOutput.md +4 -0
  9. data/docs/Iso180132BiometricDataBlockProduct.md +20 -0
  10. data/docs/Iso180132BiometricGroupTemplate.md +18 -0
  11. data/docs/Iso180132BiometricTemplate.md +24 -0
  12. data/docs/Iso180132BiometricTemplateHeader.md +36 -0
  13. data/docs/Iso180132BiometricValidityPeriod.md +20 -0
  14. data/docs/Iso180135AamvaDomesticDrivingPrivilege.md +22 -0
  15. data/docs/Iso180135AamvaDomesticVehicleClass.md +24 -0
  16. data/docs/Iso180135AamvaDomesticVehicleEndorsement.md +20 -0
  17. data/docs/Iso180135AamvaDomesticVehicleRestriction.md +20 -0
  18. data/docs/Iso180135AamvaNamespaceOutput.md +70 -0
  19. data/docs/Iso180135AamvaWeightRange.md +20 -0
  20. data/docs/Iso180135DrivingPrivilege.md +24 -0
  21. data/docs/Iso180135DrivingPrivilegeCode.md +22 -0
  22. data/docs/Iso180135MobileDriversLicenseCredential.md +20 -0
  23. data/docs/Iso180135StandardNamespaceOutput.md +86 -0
  24. data/docs/SamsungWalletProviderOutput.md +2 -0
  25. data/lib/trinsic_api/models/age_over_output.rb +193 -0
  26. data/lib/trinsic_api/models/apple_wallet_provider_output.rb +12 -1
  27. data/lib/trinsic_api/models/eudi_age_verification_credential.rb +174 -0
  28. data/lib/trinsic_api/models/eudi_pid_credential.rb +438 -0
  29. data/lib/trinsic_api/models/france_identite_provider_output.rb +23 -1
  30. data/lib/trinsic_api/models/google_wallet_id_pass_credential.rb +273 -0
  31. data/lib/trinsic_api/models/google_wallet_provider_output.rb +23 -1
  32. data/lib/trinsic_api/models/iso180132_biometric_data_block_product.rb +193 -0
  33. data/lib/trinsic_api/models/iso180132_biometric_group_template.rb +168 -0
  34. data/lib/trinsic_api/models/iso180132_biometric_template.rb +231 -0
  35. data/lib/trinsic_api/models/iso180132_biometric_template_header.rb +297 -0
  36. data/lib/trinsic_api/models/iso180132_biometric_validity_period.rb +193 -0
  37. data/lib/trinsic_api/models/iso180135_aamva_domestic_driving_privilege.rb +176 -0
  38. data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_class.rb +215 -0
  39. data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_endorsement.rb +177 -0
  40. data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_restriction.rb +177 -0
  41. data/lib/trinsic_api/models/iso180135_aamva_namespace_output.rb +438 -0
  42. data/lib/trinsic_api/models/iso180135_aamva_weight_range.rb +177 -0
  43. data/lib/trinsic_api/models/iso180135_driving_privilege.rb +201 -0
  44. data/lib/trinsic_api/models/iso180135_driving_privilege_code.rb +188 -0
  45. data/lib/trinsic_api/models/iso180135_mobile_drivers_license_credential.rb +161 -0
  46. data/lib/trinsic_api/models/iso180135_standard_namespace_output.rb +528 -0
  47. data/lib/trinsic_api/models/samsung_wallet_provider_output.rb +12 -1
  48. data/lib/trinsic_api/version.rb +1 -1
  49. data/lib/trinsic_api.rb +19 -0
  50. data/spec/models/age_over_output_spec.rb +42 -0
  51. data/spec/models/apple_wallet_provider_output_spec.rb +6 -0
  52. data/spec/models/eudi_age_verification_credential_spec.rb +48 -0
  53. data/spec/models/eudi_pid_credential_spec.rb +192 -0
  54. data/spec/models/france_identite_provider_output_spec.rb +12 -0
  55. data/spec/models/google_wallet_id_pass_credential_spec.rb +102 -0
  56. data/spec/models/google_wallet_provider_output_spec.rb +12 -0
  57. data/spec/models/iso180132_biometric_data_block_product_spec.rb +42 -0
  58. data/spec/models/iso180132_biometric_group_template_spec.rb +36 -0
  59. data/spec/models/iso180132_biometric_template_header_spec.rb +90 -0
  60. data/spec/models/iso180132_biometric_template_spec.rb +54 -0
  61. data/spec/models/iso180132_biometric_validity_period_spec.rb +42 -0
  62. data/spec/models/iso180135_aamva_domestic_driving_privilege_spec.rb +48 -0
  63. data/spec/models/iso180135_aamva_domestic_vehicle_class_spec.rb +54 -0
  64. data/spec/models/iso180135_aamva_domestic_vehicle_endorsement_spec.rb +42 -0
  65. data/spec/models/iso180135_aamva_domestic_vehicle_restriction_spec.rb +42 -0
  66. data/spec/models/iso180135_aamva_namespace_output_spec.rb +192 -0
  67. data/spec/models/iso180135_aamva_weight_range_spec.rb +42 -0
  68. data/spec/models/iso180135_driving_privilege_code_spec.rb +48 -0
  69. data/spec/models/iso180135_driving_privilege_spec.rb +54 -0
  70. data/spec/models/iso180135_mobile_drivers_license_credential_spec.rb +42 -0
  71. data/spec/models/iso180135_standard_namespace_output_spec.rb +240 -0
  72. data/spec/models/samsung_wallet_provider_output_spec.rb +6 -0
  73. metadata +78 -2
@@ -0,0 +1,528 @@
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.21.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module TrinsicApi
17
+ # Fields from the ISO 18013-5 standard mDL namespace.
18
+ class Iso180135StandardNamespaceOutput < ApiModelBase
19
+ # First name(s), other name(s), or secondary identifier of the individual.
20
+ attr_accessor :given_name
21
+
22
+ # The given name of the individual using the full UTF-8 character set.
23
+ attr_accessor :given_name_national_character
24
+
25
+ # Last name, surname, or primary identifier of the individual.
26
+ attr_accessor :family_name
27
+
28
+ # The family name of the individual using the full UTF-8 character set.
29
+ attr_accessor :family_name_national_character
30
+
31
+ # The date of birth of the individual.
32
+ attr_accessor :date_of_birth
33
+
34
+ # The date when the mDL was issued. This date marks the beginning of the Administrative Validity Period of the mDL, which is usually (but not necessarily always) the same as the issue date of the underlying physical document used to create the mDL, if one exists.
35
+ attr_accessor :issue_date
36
+
37
+ # The date when the mDL expires. This date marks the end of the Administrative Validity Period of the mDL, which is usually (but not necessarily always) the same as the expiration date of the underlying physical document used to create the mDL, if one exists.
38
+ attr_accessor :expiry_date
39
+
40
+ # Alpha-2 country code of the issuing authority's country or territory.
41
+ attr_accessor :issuing_country
42
+
43
+ # Name or identifier of the mDL issuing authority. This field's contents are arbitrary; it has no guaranteed format.
44
+ attr_accessor :issuing_authority
45
+
46
+ # ISO 3166-2 country-subdivision code for the jurisdiction that issued the mDL.
47
+ attr_accessor :issuing_jurisdiction
48
+
49
+ # Nationality of the individual as an ISO 3166-1 alpha-2 country code.
50
+ attr_accessor :nationality
51
+
52
+ # The document number assigned to the mDL. This is typically the same as the document number of the underlying physical document used to create the mDL, if one exists.
53
+ attr_accessor :document_number
54
+
55
+ # Driving privileges of the individual, parsed per ISO 18013-5.
56
+ attr_accessor :driving_privileges
57
+
58
+ # The UN Distinguishing sign of the issuing country according to ISO/IEC 18013-1.
59
+ attr_accessor :un_distinguishing_sign
60
+
61
+ # Audit control number assigned by the issuing authority. The meaning and semantics of this field are defined by the issuing authority in question.
62
+ attr_accessor :administrative_number
63
+
64
+ # The individual's sex as an ISO/IEC 5218 code. Possible values: - 0: Unknown - 1: Male - 2: Female - 9: Not Applicable
65
+ attr_accessor :sex
66
+
67
+ # The individual's height in centimeters.
68
+ attr_accessor :height_centimeters
69
+
70
+ # The individual's weight in kilograms.
71
+ attr_accessor :weight_kilograms
72
+
73
+ # The individual's eye color. Possible values: - \"black\" - \"blue\" - \"brown\" - \"dichromatic\" - \"grey\" - \"green\" - \"hazel\" - \"maroon\" - \"pink\" - \"unknown\"
74
+ attr_accessor :eye_color
75
+
76
+ # The individual's hair color. Possible values: - \"bald\" - \"black\" - \"blond\" - \"brown\" - \"grey\" - \"red\" - \"auburn\" - \"sandy\" - \"white\" - \"unknown\"
77
+ attr_accessor :hair_color
78
+
79
+ # Country and municipality or state/province where the individual was born.
80
+ attr_accessor :birth_place
81
+
82
+ # Address where the individual resides. The exact format of this field is variable and depends on the issuer. It may map exactly to a \"Line1\", or it may include city, state, and/or zip code as well.
83
+ attr_accessor :resident_address
84
+
85
+ # City where the individual resides.
86
+ attr_accessor :resident_city
87
+
88
+ # State, province, or district where the individual resides.
89
+ attr_accessor :resident_state
90
+
91
+ # Postal code where the individual resides.
92
+ attr_accessor :resident_postal_code
93
+
94
+ # Country where the individual resides as an ISO 3166-1 alpha-2 country code.
95
+ attr_accessor :resident_country
96
+
97
+ # Date and time when the portrait image was captured.
98
+ attr_accessor :portrait_capture_date
99
+
100
+ # Age of the individual in years.
101
+ attr_accessor :age_in_years
102
+
103
+ # Year of birth of the individual.
104
+ attr_accessor :age_birth_year
105
+
106
+ # Processed age-over claims returned by the mDL.
107
+ attr_accessor :age_over
108
+
109
+ # Facial biometric template group from `biometric_template_face`, parsed per ISO 18013-2 Annex C.
110
+ attr_accessor :biometric_template_face
111
+
112
+ # Vocal biometric template group from `biometric_template_voice`, parsed per ISO 18013-2 Annex C.
113
+ attr_accessor :biometric_template_voice
114
+
115
+ # Fingerprint biometric template group from `biometric_template_finger`, parsed per ISO 18013-2 Annex C.
116
+ attr_accessor :biometric_template_finger
117
+
118
+ # Iris biometric template group from `biometric_template_iris`, parsed per ISO 18013-2 Annex C.
119
+ attr_accessor :biometric_template_iris
120
+
121
+ # Retinal biometric template group from `biometric_template_retina`, parsed per ISO 18013-2 Annex C.
122
+ attr_accessor :biometric_template_retina
123
+
124
+ # Attribute mapping from ruby-style variable name to JSON key.
125
+ def self.attribute_map
126
+ {
127
+ :'given_name' => :'givenName',
128
+ :'given_name_national_character' => :'givenNameNationalCharacter',
129
+ :'family_name' => :'familyName',
130
+ :'family_name_national_character' => :'familyNameNationalCharacter',
131
+ :'date_of_birth' => :'dateOfBirth',
132
+ :'issue_date' => :'issueDate',
133
+ :'expiry_date' => :'expiryDate',
134
+ :'issuing_country' => :'issuingCountry',
135
+ :'issuing_authority' => :'issuingAuthority',
136
+ :'issuing_jurisdiction' => :'issuingJurisdiction',
137
+ :'nationality' => :'nationality',
138
+ :'document_number' => :'documentNumber',
139
+ :'driving_privileges' => :'drivingPrivileges',
140
+ :'un_distinguishing_sign' => :'unDistinguishingSign',
141
+ :'administrative_number' => :'administrativeNumber',
142
+ :'sex' => :'sex',
143
+ :'height_centimeters' => :'heightCentimeters',
144
+ :'weight_kilograms' => :'weightKilograms',
145
+ :'eye_color' => :'eyeColor',
146
+ :'hair_color' => :'hairColor',
147
+ :'birth_place' => :'birthPlace',
148
+ :'resident_address' => :'residentAddress',
149
+ :'resident_city' => :'residentCity',
150
+ :'resident_state' => :'residentState',
151
+ :'resident_postal_code' => :'residentPostalCode',
152
+ :'resident_country' => :'residentCountry',
153
+ :'portrait_capture_date' => :'portraitCaptureDate',
154
+ :'age_in_years' => :'ageInYears',
155
+ :'age_birth_year' => :'ageBirthYear',
156
+ :'age_over' => :'ageOver',
157
+ :'biometric_template_face' => :'biometricTemplateFace',
158
+ :'biometric_template_voice' => :'biometricTemplateVoice',
159
+ :'biometric_template_finger' => :'biometricTemplateFinger',
160
+ :'biometric_template_iris' => :'biometricTemplateIris',
161
+ :'biometric_template_retina' => :'biometricTemplateRetina'
162
+ }
163
+ end
164
+
165
+ # Returns attribute mapping this model knows about
166
+ def self.acceptable_attribute_map
167
+ attribute_map
168
+ end
169
+
170
+ # Returns all the JSON keys this model knows about
171
+ def self.acceptable_attributes
172
+ acceptable_attribute_map.values
173
+ end
174
+
175
+ # Attribute type mapping.
176
+ def self.openapi_types
177
+ {
178
+ :'given_name' => :'String',
179
+ :'given_name_national_character' => :'String',
180
+ :'family_name' => :'String',
181
+ :'family_name_national_character' => :'String',
182
+ :'date_of_birth' => :'Date',
183
+ :'issue_date' => :'Date',
184
+ :'expiry_date' => :'Date',
185
+ :'issuing_country' => :'String',
186
+ :'issuing_authority' => :'String',
187
+ :'issuing_jurisdiction' => :'String',
188
+ :'nationality' => :'String',
189
+ :'document_number' => :'String',
190
+ :'driving_privileges' => :'Array<Iso180135DrivingPrivilege>',
191
+ :'un_distinguishing_sign' => :'String',
192
+ :'administrative_number' => :'String',
193
+ :'sex' => :'Integer',
194
+ :'height_centimeters' => :'Integer',
195
+ :'weight_kilograms' => :'Integer',
196
+ :'eye_color' => :'String',
197
+ :'hair_color' => :'String',
198
+ :'birth_place' => :'String',
199
+ :'resident_address' => :'String',
200
+ :'resident_city' => :'String',
201
+ :'resident_state' => :'String',
202
+ :'resident_postal_code' => :'String',
203
+ :'resident_country' => :'String',
204
+ :'portrait_capture_date' => :'Time',
205
+ :'age_in_years' => :'Integer',
206
+ :'age_birth_year' => :'Integer',
207
+ :'age_over' => :'Array<AgeOverOutput>',
208
+ :'biometric_template_face' => :'Iso180132BiometricGroupTemplate',
209
+ :'biometric_template_voice' => :'Iso180132BiometricGroupTemplate',
210
+ :'biometric_template_finger' => :'Iso180132BiometricGroupTemplate',
211
+ :'biometric_template_iris' => :'Iso180132BiometricGroupTemplate',
212
+ :'biometric_template_retina' => :'Iso180132BiometricGroupTemplate'
213
+ }
214
+ end
215
+
216
+ # List of attributes with nullable: true
217
+ def self.openapi_nullable
218
+ Set.new([
219
+ :'given_name',
220
+ :'given_name_national_character',
221
+ :'family_name',
222
+ :'family_name_national_character',
223
+ :'date_of_birth',
224
+ :'issue_date',
225
+ :'expiry_date',
226
+ :'issuing_country',
227
+ :'issuing_authority',
228
+ :'issuing_jurisdiction',
229
+ :'nationality',
230
+ :'document_number',
231
+ :'driving_privileges',
232
+ :'un_distinguishing_sign',
233
+ :'administrative_number',
234
+ :'sex',
235
+ :'height_centimeters',
236
+ :'weight_kilograms',
237
+ :'eye_color',
238
+ :'hair_color',
239
+ :'birth_place',
240
+ :'resident_address',
241
+ :'resident_city',
242
+ :'resident_state',
243
+ :'resident_postal_code',
244
+ :'resident_country',
245
+ :'portrait_capture_date',
246
+ :'age_in_years',
247
+ :'age_birth_year',
248
+ :'age_over',
249
+ :'biometric_template_face',
250
+ :'biometric_template_voice',
251
+ :'biometric_template_finger',
252
+ :'biometric_template_iris',
253
+ :'biometric_template_retina'
254
+ ])
255
+ end
256
+
257
+ # Initializes the object
258
+ # @param [Hash] attributes Model attributes in the form of hash
259
+ def initialize(attributes = {})
260
+ if (!attributes.is_a?(Hash))
261
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::Iso180135StandardNamespaceOutput` initialize method"
262
+ end
263
+
264
+ # check to see if the attribute exists and convert string to symbol for hash key
265
+ acceptable_attribute_map = self.class.acceptable_attribute_map
266
+ attributes = attributes.each_with_object({}) { |(k, v), h|
267
+ if (!acceptable_attribute_map.key?(k.to_sym))
268
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::Iso180135StandardNamespaceOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
269
+ end
270
+ h[k.to_sym] = v
271
+ }
272
+
273
+ if attributes.key?(:'given_name')
274
+ self.given_name = attributes[:'given_name']
275
+ end
276
+
277
+ if attributes.key?(:'given_name_national_character')
278
+ self.given_name_national_character = attributes[:'given_name_national_character']
279
+ end
280
+
281
+ if attributes.key?(:'family_name')
282
+ self.family_name = attributes[:'family_name']
283
+ end
284
+
285
+ if attributes.key?(:'family_name_national_character')
286
+ self.family_name_national_character = attributes[:'family_name_national_character']
287
+ end
288
+
289
+ if attributes.key?(:'date_of_birth')
290
+ self.date_of_birth = attributes[:'date_of_birth']
291
+ end
292
+
293
+ if attributes.key?(:'issue_date')
294
+ self.issue_date = attributes[:'issue_date']
295
+ end
296
+
297
+ if attributes.key?(:'expiry_date')
298
+ self.expiry_date = attributes[:'expiry_date']
299
+ end
300
+
301
+ if attributes.key?(:'issuing_country')
302
+ self.issuing_country = attributes[:'issuing_country']
303
+ end
304
+
305
+ if attributes.key?(:'issuing_authority')
306
+ self.issuing_authority = attributes[:'issuing_authority']
307
+ end
308
+
309
+ if attributes.key?(:'issuing_jurisdiction')
310
+ self.issuing_jurisdiction = attributes[:'issuing_jurisdiction']
311
+ end
312
+
313
+ if attributes.key?(:'nationality')
314
+ self.nationality = attributes[:'nationality']
315
+ end
316
+
317
+ if attributes.key?(:'document_number')
318
+ self.document_number = attributes[:'document_number']
319
+ end
320
+
321
+ if attributes.key?(:'driving_privileges')
322
+ if (value = attributes[:'driving_privileges']).is_a?(Array)
323
+ self.driving_privileges = value
324
+ end
325
+ end
326
+
327
+ if attributes.key?(:'un_distinguishing_sign')
328
+ self.un_distinguishing_sign = attributes[:'un_distinguishing_sign']
329
+ end
330
+
331
+ if attributes.key?(:'administrative_number')
332
+ self.administrative_number = attributes[:'administrative_number']
333
+ end
334
+
335
+ if attributes.key?(:'sex')
336
+ self.sex = attributes[:'sex']
337
+ end
338
+
339
+ if attributes.key?(:'height_centimeters')
340
+ self.height_centimeters = attributes[:'height_centimeters']
341
+ end
342
+
343
+ if attributes.key?(:'weight_kilograms')
344
+ self.weight_kilograms = attributes[:'weight_kilograms']
345
+ end
346
+
347
+ if attributes.key?(:'eye_color')
348
+ self.eye_color = attributes[:'eye_color']
349
+ end
350
+
351
+ if attributes.key?(:'hair_color')
352
+ self.hair_color = attributes[:'hair_color']
353
+ end
354
+
355
+ if attributes.key?(:'birth_place')
356
+ self.birth_place = attributes[:'birth_place']
357
+ end
358
+
359
+ if attributes.key?(:'resident_address')
360
+ self.resident_address = attributes[:'resident_address']
361
+ end
362
+
363
+ if attributes.key?(:'resident_city')
364
+ self.resident_city = attributes[:'resident_city']
365
+ end
366
+
367
+ if attributes.key?(:'resident_state')
368
+ self.resident_state = attributes[:'resident_state']
369
+ end
370
+
371
+ if attributes.key?(:'resident_postal_code')
372
+ self.resident_postal_code = attributes[:'resident_postal_code']
373
+ end
374
+
375
+ if attributes.key?(:'resident_country')
376
+ self.resident_country = attributes[:'resident_country']
377
+ end
378
+
379
+ if attributes.key?(:'portrait_capture_date')
380
+ self.portrait_capture_date = attributes[:'portrait_capture_date']
381
+ end
382
+
383
+ if attributes.key?(:'age_in_years')
384
+ self.age_in_years = attributes[:'age_in_years']
385
+ end
386
+
387
+ if attributes.key?(:'age_birth_year')
388
+ self.age_birth_year = attributes[:'age_birth_year']
389
+ end
390
+
391
+ if attributes.key?(:'age_over')
392
+ if (value = attributes[:'age_over']).is_a?(Array)
393
+ self.age_over = value
394
+ end
395
+ end
396
+
397
+ if attributes.key?(:'biometric_template_face')
398
+ self.biometric_template_face = attributes[:'biometric_template_face']
399
+ end
400
+
401
+ if attributes.key?(:'biometric_template_voice')
402
+ self.biometric_template_voice = attributes[:'biometric_template_voice']
403
+ end
404
+
405
+ if attributes.key?(:'biometric_template_finger')
406
+ self.biometric_template_finger = attributes[:'biometric_template_finger']
407
+ end
408
+
409
+ if attributes.key?(:'biometric_template_iris')
410
+ self.biometric_template_iris = attributes[:'biometric_template_iris']
411
+ end
412
+
413
+ if attributes.key?(:'biometric_template_retina')
414
+ self.biometric_template_retina = attributes[:'biometric_template_retina']
415
+ end
416
+ end
417
+
418
+ # Show invalid properties with the reasons. Usually used together with valid?
419
+ # @return Array for valid properties with the reasons
420
+ def list_invalid_properties
421
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
422
+ invalid_properties = Array.new
423
+ invalid_properties
424
+ end
425
+
426
+ # Check to see if the all the properties in the model are valid
427
+ # @return true if the model is valid
428
+ def valid?
429
+ warn '[DEPRECATED] the `valid?` method is obsolete'
430
+ true
431
+ end
432
+
433
+ # Checks equality by comparing each attribute.
434
+ # @param [Object] Object to be compared
435
+ def ==(o)
436
+ return true if self.equal?(o)
437
+ self.class == o.class &&
438
+ given_name == o.given_name &&
439
+ given_name_national_character == o.given_name_national_character &&
440
+ family_name == o.family_name &&
441
+ family_name_national_character == o.family_name_national_character &&
442
+ date_of_birth == o.date_of_birth &&
443
+ issue_date == o.issue_date &&
444
+ expiry_date == o.expiry_date &&
445
+ issuing_country == o.issuing_country &&
446
+ issuing_authority == o.issuing_authority &&
447
+ issuing_jurisdiction == o.issuing_jurisdiction &&
448
+ nationality == o.nationality &&
449
+ document_number == o.document_number &&
450
+ driving_privileges == o.driving_privileges &&
451
+ un_distinguishing_sign == o.un_distinguishing_sign &&
452
+ administrative_number == o.administrative_number &&
453
+ sex == o.sex &&
454
+ height_centimeters == o.height_centimeters &&
455
+ weight_kilograms == o.weight_kilograms &&
456
+ eye_color == o.eye_color &&
457
+ hair_color == o.hair_color &&
458
+ birth_place == o.birth_place &&
459
+ resident_address == o.resident_address &&
460
+ resident_city == o.resident_city &&
461
+ resident_state == o.resident_state &&
462
+ resident_postal_code == o.resident_postal_code &&
463
+ resident_country == o.resident_country &&
464
+ portrait_capture_date == o.portrait_capture_date &&
465
+ age_in_years == o.age_in_years &&
466
+ age_birth_year == o.age_birth_year &&
467
+ age_over == o.age_over &&
468
+ biometric_template_face == o.biometric_template_face &&
469
+ biometric_template_voice == o.biometric_template_voice &&
470
+ biometric_template_finger == o.biometric_template_finger &&
471
+ biometric_template_iris == o.biometric_template_iris &&
472
+ biometric_template_retina == o.biometric_template_retina
473
+ end
474
+
475
+ # @see the `==` method
476
+ # @param [Object] Object to be compared
477
+ def eql?(o)
478
+ self == o
479
+ end
480
+
481
+ # Calculates hash code according to all attributes.
482
+ # @return [Integer] Hash code
483
+ def hash
484
+ [given_name, given_name_national_character, family_name, family_name_national_character, date_of_birth, issue_date, expiry_date, issuing_country, issuing_authority, issuing_jurisdiction, nationality, document_number, driving_privileges, un_distinguishing_sign, administrative_number, sex, height_centimeters, weight_kilograms, eye_color, hair_color, birth_place, resident_address, resident_city, resident_state, resident_postal_code, resident_country, portrait_capture_date, age_in_years, age_birth_year, age_over, biometric_template_face, biometric_template_voice, biometric_template_finger, biometric_template_iris, biometric_template_retina].hash
485
+ end
486
+
487
+ # Builds the object from hash
488
+ # @param [Hash] attributes Model attributes in the form of hash
489
+ # @return [Object] Returns the model itself
490
+ def self.build_from_hash(attributes)
491
+ return nil unless attributes.is_a?(Hash)
492
+ attributes = attributes.transform_keys(&:to_sym)
493
+ transformed_hash = {}
494
+ openapi_types.each_pair do |key, type|
495
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
496
+ transformed_hash["#{key}"] = nil
497
+ elsif type =~ /\AArray<(.*)>/i
498
+ # check to ensure the input is an array given that the attribute
499
+ # is documented as an array but the input is not
500
+ if attributes[attribute_map[key]].is_a?(Array)
501
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
502
+ end
503
+ elsif !attributes[attribute_map[key]].nil?
504
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
505
+ end
506
+ end
507
+ new(transformed_hash)
508
+ end
509
+
510
+ # Returns the object in the form of hash
511
+ # @return [Hash] Returns the object in the form of hash
512
+ def to_hash
513
+ hash = {}
514
+ self.class.attribute_map.each_pair do |attr, param|
515
+ value = self.send(attr)
516
+ if value.nil?
517
+ is_nullable = self.class.openapi_nullable.include?(attr)
518
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
519
+ end
520
+
521
+ hash[param] = _to_hash(value)
522
+ end
523
+ hash
524
+ end
525
+
526
+ end
527
+
528
+ end
@@ -16,12 +16,16 @@ require 'time'
16
16
  module TrinsicApi
17
17
  # Exposed properties for the `samsung-wallet` Provider which do not directly map to the normalized IdentityData model.
18
18
  class SamsungWalletProviderOutput < ApiModelBase
19
+ # A standard 18013-5 Mobile Driver's License credential, retrieved from the individual's wallet.
20
+ attr_accessor :mobile_drivers_license
21
+
19
22
  # The raw output of the mDL exchange performed through Samsung Wallet.
20
23
  attr_accessor :raw_mdl_output
21
24
 
22
25
  # Attribute mapping from ruby-style variable name to JSON key.
23
26
  def self.attribute_map
24
27
  {
28
+ :'mobile_drivers_license' => :'mobileDriversLicense',
25
29
  :'raw_mdl_output' => :'rawMdlOutput'
26
30
  }
27
31
  end
@@ -39,6 +43,7 @@ module TrinsicApi
39
43
  # Attribute type mapping.
40
44
  def self.openapi_types
41
45
  {
46
+ :'mobile_drivers_license' => :'Iso180135MobileDriversLicenseCredential',
42
47
  :'raw_mdl_output' => :'MdlOutput'
43
48
  }
44
49
  end
@@ -46,6 +51,7 @@ module TrinsicApi
46
51
  # List of attributes with nullable: true
47
52
  def self.openapi_nullable
48
53
  Set.new([
54
+ :'mobile_drivers_license',
49
55
  ])
50
56
  end
51
57
 
@@ -65,6 +71,10 @@ module TrinsicApi
65
71
  h[k.to_sym] = v
66
72
  }
67
73
 
74
+ if attributes.key?(:'mobile_drivers_license')
75
+ self.mobile_drivers_license = attributes[:'mobile_drivers_license']
76
+ end
77
+
68
78
  if attributes.key?(:'raw_mdl_output')
69
79
  self.raw_mdl_output = attributes[:'raw_mdl_output']
70
80
  else
@@ -107,6 +117,7 @@ module TrinsicApi
107
117
  def ==(o)
108
118
  return true if self.equal?(o)
109
119
  self.class == o.class &&
120
+ mobile_drivers_license == o.mobile_drivers_license &&
110
121
  raw_mdl_output == o.raw_mdl_output
111
122
  end
112
123
 
@@ -119,7 +130,7 @@ module TrinsicApi
119
130
  # Calculates hash code according to all attributes.
120
131
  # @return [Integer] Hash code
121
132
  def hash
122
- [raw_mdl_output].hash
133
+ [mobile_drivers_license, raw_mdl_output].hash
123
134
  end
124
135
 
125
136
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.21.0
11
11
  =end
12
12
 
13
13
  module TrinsicApi
14
- VERSION = '3.1.0-preview1'
14
+ VERSION = '3.1.0'
15
15
  end
data/lib/trinsic_api.rb CHANGED
@@ -26,6 +26,7 @@ require 'trinsic_api/models/aadhaar_localized_claims'
26
26
  require 'trinsic_api/models/add_redirect_uri_request'
27
27
  require 'trinsic_api/models/add_redirect_uri_response'
28
28
  require 'trinsic_api/models/address'
29
+ require 'trinsic_api/models/age_over_output'
29
30
  require 'trinsic_api/models/apple_wallet_input'
30
31
  require 'trinsic_api/models/apple_wallet_provider_output'
31
32
  require 'trinsic_api/models/attachment_info'
@@ -64,6 +65,8 @@ require 'trinsic_api/models/document_type'
64
65
  require 'trinsic_api/models/el_salvador_dui_lookup_input'
65
66
  require 'trinsic_api/models/el_salvador_dui_provider_output'
66
67
  require 'trinsic_api/models/estonia_id_card_provider_output'
68
+ require 'trinsic_api/models/eudi_age_verification_credential'
69
+ require 'trinsic_api/models/eudi_pid_credential'
67
70
  require 'trinsic_api/models/fayda_provider_address'
68
71
  require 'trinsic_api/models/fayda_provider_output'
69
72
  require 'trinsic_api/models/finland_id_card_provider_output'
@@ -82,6 +85,7 @@ require 'trinsic_api/models/get_provider_response'
82
85
  require 'trinsic_api/models/get_session_response'
83
86
  require 'trinsic_api/models/get_session_result_request'
84
87
  require 'trinsic_api/models/get_session_result_response'
88
+ require 'trinsic_api/models/google_wallet_id_pass_credential'
85
89
  require 'trinsic_api/models/google_wallet_input'
86
90
  require 'trinsic_api/models/google_wallet_provider_output'
87
91
  require 'trinsic_api/models/guatemala_cui_lookup_input'
@@ -96,6 +100,21 @@ require 'trinsic_api/models/indonesia_nik_input'
96
100
  require 'trinsic_api/models/integration_capability'
97
101
  require 'trinsic_api/models/integration_launch_method'
98
102
  require 'trinsic_api/models/integration_step'
103
+ require 'trinsic_api/models/iso180132_biometric_data_block_product'
104
+ require 'trinsic_api/models/iso180132_biometric_group_template'
105
+ require 'trinsic_api/models/iso180132_biometric_template'
106
+ require 'trinsic_api/models/iso180132_biometric_template_header'
107
+ require 'trinsic_api/models/iso180132_biometric_validity_period'
108
+ require 'trinsic_api/models/iso180135_aamva_domestic_driving_privilege'
109
+ require 'trinsic_api/models/iso180135_aamva_domestic_vehicle_class'
110
+ require 'trinsic_api/models/iso180135_aamva_domestic_vehicle_endorsement'
111
+ require 'trinsic_api/models/iso180135_aamva_domestic_vehicle_restriction'
112
+ require 'trinsic_api/models/iso180135_aamva_namespace_output'
113
+ require 'trinsic_api/models/iso180135_aamva_weight_range'
114
+ require 'trinsic_api/models/iso180135_driving_privilege'
115
+ require 'trinsic_api/models/iso180135_driving_privilege_code'
116
+ require 'trinsic_api/models/iso180135_mobile_drivers_license_credential'
117
+ require 'trinsic_api/models/iso180135_standard_namespace_output'
99
118
  require 'trinsic_api/models/itsme_provider_output'
100
119
  require 'trinsic_api/models/kenya_nid_biometric2_input'
101
120
  require 'trinsic_api/models/kenya_nid_input'
@@ -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.21.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TrinsicApi::AgeOverOutput
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe TrinsicApi::AgeOverOutput do
21
+ #let(:instance) { TrinsicApi::AgeOverOutput.new }
22
+
23
+ describe 'test an instance of AgeOverOutput' do
24
+ it 'should create an instance of AgeOverOutput' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TrinsicApi::AgeOverOutput)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "age"' 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 "is_over"' 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