trinsic_api 3.3.0.pre.alpha4 → 3.3.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.
- checksums.yaml +4 -4
- data/docs/AadhaarDocumentOutput.md +28 -0
- data/docs/BrazilCnhProviderOutput.md +4 -0
- data/docs/BrazilCpfProviderOutput.md +0 -2
- data/docs/ChinaResidentIdMatchOutput.md +7 -1
- data/docs/CoteDIvoireNidLookup2ProviderOutput.md +4 -0
- data/docs/CzechBankIdProviderOutput.md +2 -2
- data/docs/CzechMojeIdProviderOutput.md +2 -0
- data/docs/DigidentityAddressOutput.md +22 -0
- data/docs/DigidentityProviderOutput.md +40 -0
- data/docs/DigilockerAadhaarProviderOutput.md +5 -1
- data/docs/ElSalvadorDuiProviderOutput.md +2 -2
- data/docs/FinnishTrustNetworkAddressOutput.md +3 -1
- data/docs/FinnishTrustNetworkProviderOutput.md +1 -1
- data/docs/{SignzyIndiaAadhaarFetchProviderOutput.md → IndiaDigilockerAadhaarFetchProviderOutput.md} +6 -2
- data/docs/IndonesiaDukcapilMatchProviderOutput.md +6 -0
- data/docs/ItsmeProviderOutput.md +2 -0
- data/docs/KenyaNidLookup2ProviderOutput.md +4 -0
- data/docs/KoreaTelcoMatchProviderOutput.md +6 -0
- data/docs/NigeriaNinLookup2ProviderOutput.md +4 -0
- data/docs/PhilippinesPhysicalNidProviderOutput.md +5 -1
- data/docs/PolandMobywatelMatchProviderOutput.md +4 -0
- data/docs/Provider.md +6 -2
- data/docs/ProviderInput.md +0 -12
- data/docs/ProviderOutput.md +9 -29
- data/docs/RecommendProviderInformation.md +6 -2
- data/docs/SouthAfricaNidLookup2ProviderOutput.md +2 -0
- data/docs/SubProviderMetadata.md +6 -4
- data/docs/SubmitNativeChallengeResponseRequest.md +1 -1
- data/docs/ZimbabweNidLookup2ProviderOutput.md +2 -0
- data/lib/trinsic_api/api_client.rb +1 -1
- data/lib/trinsic_api/models/{belgium_id_card_provider_output.rb → aadhaar_document_output.rb} +52 -30
- data/lib/trinsic_api/models/brazil_cnh_provider_output.rb +23 -1
- data/lib/trinsic_api/models/brazil_cpf_provider_output.rb +1 -12
- data/lib/trinsic_api/models/china_resident_id_match_output.rb +38 -5
- data/lib/trinsic_api/models/cote_d_ivoire_nid_lookup2_provider_output.rb +23 -1
- data/lib/trinsic_api/models/czech_bank_id_provider_output.rb +2 -2
- data/lib/trinsic_api/models/czech_moje_id_provider_output.rb +12 -1
- data/lib/trinsic_api/models/{nigeria_nin_match2_sex_field.rb → digidentity_address_output.rb} +31 -20
- data/lib/trinsic_api/models/{nigeria_nin_match2_input.rb → digidentity_provider_output.rb} +101 -67
- data/lib/trinsic_api/models/digilocker_aadhaar_provider_output.rb +27 -5
- data/lib/trinsic_api/models/el_salvador_dui_provider_output.rb +2 -2
- data/lib/trinsic_api/models/finnish_trust_network_address_output.rb +16 -5
- data/lib/trinsic_api/models/{signzy_india_aadhaar_fetch_provider_output.rb → india_digilocker_aadhaar_fetch_provider_output.rb} +26 -4
- data/lib/trinsic_api/models/indonesia_dukcapil_match_provider_output.rb +34 -1
- data/lib/trinsic_api/models/itsme_provider_output.rb +12 -1
- data/lib/trinsic_api/models/kenya_nid_lookup2_provider_output.rb +23 -1
- data/lib/trinsic_api/models/korea_telco_match_provider_output.rb +34 -1
- data/lib/trinsic_api/models/nigeria_nin_lookup2_provider_output.rb +23 -1
- data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +27 -5
- data/lib/trinsic_api/models/poland_mobywatel_match_provider_output.rb +23 -1
- data/lib/trinsic_api/models/provider.rb +71 -17
- data/lib/trinsic_api/models/provider_input.rb +1 -67
- data/lib/trinsic_api/models/provider_output.rb +46 -156
- data/lib/trinsic_api/models/recommend_provider_information.rb +71 -17
- data/lib/trinsic_api/models/south_africa_nid_lookup2_provider_output.rb +12 -1
- data/lib/trinsic_api/models/sub_provider_metadata.rb +68 -25
- data/lib/trinsic_api/models/submit_native_challenge_response_request.rb +1 -1
- data/lib/trinsic_api/models/zimbabwe_nid_lookup2_provider_output.rb +12 -1
- data/lib/trinsic_api/version.rb +1 -1
- data/lib/trinsic_api.rb +4 -37
- data/spec/models/{kenya_nid_input_spec.rb → aadhaar_document_output_spec.rb} +12 -12
- data/spec/models/brazil_cnh_provider_output_spec.rb +12 -0
- data/spec/models/brazil_cpf_provider_output_spec.rb +0 -6
- data/spec/models/china_resident_id_match_output_spec.rb +18 -0
- data/spec/models/cote_d_ivoire_nid_lookup2_provider_output_spec.rb +12 -0
- data/spec/models/czech_moje_id_provider_output_spec.rb +6 -0
- data/spec/models/{latvia_eparaksts_provider_output_spec.rb → digidentity_address_output_spec.rb} +9 -9
- data/spec/models/{yoti_deeplink_provider_output_spec.rb → digidentity_provider_output_spec.rb} +18 -18
- data/spec/models/digilocker_aadhaar_provider_output_spec.rb +12 -0
- data/spec/models/finnish_trust_network_address_output_spec.rb +6 -0
- data/spec/models/{signzy_india_aadhaar_fetch_provider_output_spec.rb → india_digilocker_aadhaar_fetch_provider_output_spec.rb} +18 -6
- data/spec/models/indonesia_dukcapil_match_provider_output_spec.rb +18 -0
- data/spec/models/itsme_provider_output_spec.rb +6 -0
- data/spec/models/kenya_nid_lookup2_provider_output_spec.rb +12 -0
- data/spec/models/korea_telco_match_provider_output_spec.rb +18 -0
- data/spec/models/nigeria_nin_lookup2_provider_output_spec.rb +12 -0
- data/spec/models/philippines_physical_nid_provider_output_spec.rb +12 -0
- data/spec/models/poland_mobywatel_match_provider_output_spec.rb +12 -0
- data/spec/models/provider_input_spec.rb +0 -36
- data/spec/models/provider_output_spec.rb +21 -81
- data/spec/models/provider_spec.rb +13 -1
- data/spec/models/recommend_provider_information_spec.rb +13 -1
- data/spec/models/south_africa_nid_lookup2_provider_output_spec.rb +6 -0
- data/spec/models/sub_provider_metadata_spec.rb +8 -2
- data/spec/models/zimbabwe_nid_lookup2_provider_output_spec.rb +6 -0
- metadata +293 -425
- data/docs/BelgiumIdCardProviderOutput.md +0 -24
- data/docs/CzechiaMojeIdProviderOutput.md +0 -24
- data/docs/EstoniaIdCardProviderOutput.md +0 -24
- data/docs/FinlandIdCardProviderOutput.md +0 -24
- data/docs/FrejaIndirectProviderOutput.md +0 -24
- data/docs/KenyaNidInput.md +0 -28
- data/docs/KenyaNidMatch2DateOfBirthField.md +0 -20
- data/docs/KenyaNidMatch2FullNameField.md +0 -20
- data/docs/KenyaNidMatch2Input.md +0 -28
- data/docs/KenyaNidMatch2InputSex.md +0 -15
- data/docs/KenyaNidMatch2NationalIdNumberField.md +0 -20
- data/docs/KenyaNidMatch2ProviderOutput.md +0 -24
- data/docs/KenyaNidMatch2SexField.md +0 -20
- data/docs/LatviaEparakstsProviderOutput.md +0 -22
- data/docs/LithuaniaIdCardProviderOutput.md +0 -24
- data/docs/LloydsSmartIdProviderOutput.md +0 -40
- data/docs/NigeriaNinInput.md +0 -30
- data/docs/NigeriaNinMatch2DateOfBirthField.md +0 -20
- data/docs/NigeriaNinMatch2FullNameField.md +0 -20
- data/docs/NigeriaNinMatch2Input.md +0 -30
- data/docs/NigeriaNinMatch2InputSex.md +0 -15
- data/docs/NigeriaNinMatch2NationalIdNumberField.md +0 -20
- data/docs/NigeriaNinMatch2PhoneNumberField.md +0 -20
- data/docs/NigeriaNinMatch2ProviderOutput.md +0 -26
- data/docs/NigeriaNinMatch2SexField.md +0 -20
- data/docs/PortugalIdCardProviderOutput.md +0 -24
- data/docs/SerbiaIdCardProviderOutput.md +0 -24
- data/docs/SouthAfricaNidInput.md +0 -24
- data/docs/SouthAfricaNidMatch2DateOfBirthField.md +0 -20
- data/docs/SouthAfricaNidMatch2FullNameField.md +0 -20
- data/docs/SouthAfricaNidMatch2Input.md +0 -28
- data/docs/SouthAfricaNidMatch2InputSex.md +0 -15
- data/docs/SouthAfricaNidMatch2NationalIdNumberField.md +0 -20
- data/docs/SouthAfricaNidMatch2ProviderOutput.md +0 -26
- data/docs/SouthAfricaNidMatch2SexField.md +0 -20
- data/docs/YotiDeeplinkProviderOutput.md +0 -40
- data/lib/trinsic_api/models/czechia_moje_id_provider_output.rb +0 -196
- data/lib/trinsic_api/models/estonia_id_card_provider_output.rb +0 -196
- data/lib/trinsic_api/models/finland_id_card_provider_output.rb +0 -196
- data/lib/trinsic_api/models/freja_indirect_provider_output.rb +0 -196
- data/lib/trinsic_api/models/kenya_nid_input.rb +0 -353
- data/lib/trinsic_api/models/kenya_nid_match2_date_of_birth_field.rb +0 -173
- data/lib/trinsic_api/models/kenya_nid_match2_full_name_field.rb +0 -173
- data/lib/trinsic_api/models/kenya_nid_match2_input.rb +0 -239
- data/lib/trinsic_api/models/kenya_nid_match2_input_sex.rb +0 -41
- data/lib/trinsic_api/models/kenya_nid_match2_national_id_number_field.rb +0 -173
- data/lib/trinsic_api/models/kenya_nid_match2_provider_output.rb +0 -196
- data/lib/trinsic_api/models/kenya_nid_match2_sex_field.rb +0 -173
- data/lib/trinsic_api/models/latvia_eparaksts_provider_output.rb +0 -185
- data/lib/trinsic_api/models/lithuania_id_card_provider_output.rb +0 -196
- data/lib/trinsic_api/models/lloyds_smart_id_provider_output.rb +0 -284
- data/lib/trinsic_api/models/nigeria_nin_input.rb +0 -339
- data/lib/trinsic_api/models/nigeria_nin_match2_date_of_birth_field.rb +0 -173
- data/lib/trinsic_api/models/nigeria_nin_match2_full_name_field.rb +0 -173
- data/lib/trinsic_api/models/nigeria_nin_match2_input_sex.rb +0 -41
- data/lib/trinsic_api/models/nigeria_nin_match2_national_id_number_field.rb +0 -173
- data/lib/trinsic_api/models/nigeria_nin_match2_phone_number_field.rb +0 -173
- data/lib/trinsic_api/models/nigeria_nin_match2_provider_output.rb +0 -207
- data/lib/trinsic_api/models/portugal_id_card_provider_output.rb +0 -196
- data/lib/trinsic_api/models/serbia_id_card_provider_output.rb +0 -196
- data/lib/trinsic_api/models/south_africa_nid_input.rb +0 -306
- data/lib/trinsic_api/models/south_africa_nid_match2_date_of_birth_field.rb +0 -173
- data/lib/trinsic_api/models/south_africa_nid_match2_full_name_field.rb +0 -173
- data/lib/trinsic_api/models/south_africa_nid_match2_input.rb +0 -239
- data/lib/trinsic_api/models/south_africa_nid_match2_input_sex.rb +0 -41
- data/lib/trinsic_api/models/south_africa_nid_match2_national_id_number_field.rb +0 -173
- data/lib/trinsic_api/models/south_africa_nid_match2_provider_output.rb +0 -207
- data/lib/trinsic_api/models/south_africa_nid_match2_sex_field.rb +0 -173
- data/lib/trinsic_api/models/yoti_deeplink_provider_output.rb +0 -284
- data/spec/models/belgium_id_card_provider_output_spec.rb +0 -54
- data/spec/models/czechia_moje_id_provider_output_spec.rb +0 -54
- data/spec/models/estonia_id_card_provider_output_spec.rb +0 -54
- data/spec/models/finland_id_card_provider_output_spec.rb +0 -54
- data/spec/models/freja_indirect_provider_output_spec.rb +0 -54
- data/spec/models/kenya_nid_match2_date_of_birth_field_spec.rb +0 -42
- data/spec/models/kenya_nid_match2_full_name_field_spec.rb +0 -42
- data/spec/models/kenya_nid_match2_input_sex_spec.rb +0 -30
- data/spec/models/kenya_nid_match2_input_spec.rb +0 -66
- data/spec/models/kenya_nid_match2_national_id_number_field_spec.rb +0 -42
- data/spec/models/kenya_nid_match2_provider_output_spec.rb +0 -54
- data/spec/models/kenya_nid_match2_sex_field_spec.rb +0 -42
- data/spec/models/lithuania_id_card_provider_output_spec.rb +0 -54
- data/spec/models/lloyds_smart_id_provider_output_spec.rb +0 -102
- data/spec/models/nigeria_nin_input_spec.rb +0 -72
- data/spec/models/nigeria_nin_match2_date_of_birth_field_spec.rb +0 -42
- data/spec/models/nigeria_nin_match2_full_name_field_spec.rb +0 -42
- data/spec/models/nigeria_nin_match2_input_sex_spec.rb +0 -30
- data/spec/models/nigeria_nin_match2_input_spec.rb +0 -72
- data/spec/models/nigeria_nin_match2_national_id_number_field_spec.rb +0 -42
- data/spec/models/nigeria_nin_match2_phone_number_field_spec.rb +0 -42
- data/spec/models/nigeria_nin_match2_provider_output_spec.rb +0 -60
- data/spec/models/nigeria_nin_match2_sex_field_spec.rb +0 -42
- data/spec/models/portugal_id_card_provider_output_spec.rb +0 -54
- data/spec/models/serbia_id_card_provider_output_spec.rb +0 -54
- data/spec/models/south_africa_nid_input_spec.rb +0 -54
- data/spec/models/south_africa_nid_match2_date_of_birth_field_spec.rb +0 -42
- data/spec/models/south_africa_nid_match2_full_name_field_spec.rb +0 -42
- data/spec/models/south_africa_nid_match2_input_sex_spec.rb +0 -30
- data/spec/models/south_africa_nid_match2_input_spec.rb +0 -66
- data/spec/models/south_africa_nid_match2_national_id_number_field_spec.rb +0 -42
- data/spec/models/south_africa_nid_match2_provider_output_spec.rb +0 -60
- data/spec/models/south_africa_nid_match2_sex_field_spec.rb +0 -42
|
@@ -16,6 +16,12 @@ require 'time'
|
|
|
16
16
|
module TrinsicApi
|
|
17
17
|
# Exposed properties for the `poland-mobywatel-match` Provider which do not directly map to the normalized IdentityData model.
|
|
18
18
|
class PolandMobywatelMatchProviderOutput < ApiModelBase
|
|
19
|
+
# Whether the uploaded selfie matches the wallet portrait.
|
|
20
|
+
attr_accessor :is_match_for_uploaded_selfie
|
|
21
|
+
|
|
22
|
+
# Combined result of the portrait similarity, forbidden-face, and single-face checks.
|
|
23
|
+
attr_accessor :image_authenticity
|
|
24
|
+
|
|
19
25
|
# Given name as provided by the individual.
|
|
20
26
|
attr_accessor :given_name
|
|
21
27
|
|
|
@@ -79,6 +85,8 @@ module TrinsicApi
|
|
|
79
85
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
80
86
|
def self.attribute_map
|
|
81
87
|
{
|
|
88
|
+
:'is_match_for_uploaded_selfie' => :'isMatchForUploadedSelfie',
|
|
89
|
+
:'image_authenticity' => :'imageAuthenticity',
|
|
82
90
|
:'given_name' => :'givenName',
|
|
83
91
|
:'family_name' => :'familyName',
|
|
84
92
|
:'nationality' => :'nationality',
|
|
@@ -115,6 +123,8 @@ module TrinsicApi
|
|
|
115
123
|
# Attribute type mapping.
|
|
116
124
|
def self.openapi_types
|
|
117
125
|
{
|
|
126
|
+
:'is_match_for_uploaded_selfie' => :'Boolean',
|
|
127
|
+
:'image_authenticity' => :'Boolean',
|
|
118
128
|
:'given_name' => :'String',
|
|
119
129
|
:'family_name' => :'String',
|
|
120
130
|
:'nationality' => :'String',
|
|
@@ -141,6 +151,8 @@ module TrinsicApi
|
|
|
141
151
|
# List of attributes with nullable: true
|
|
142
152
|
def self.openapi_nullable
|
|
143
153
|
Set.new([
|
|
154
|
+
:'is_match_for_uploaded_selfie',
|
|
155
|
+
:'image_authenticity',
|
|
144
156
|
:'given_name',
|
|
145
157
|
:'family_name',
|
|
146
158
|
:'nationality',
|
|
@@ -190,6 +202,14 @@ module TrinsicApi
|
|
|
190
202
|
h[k.to_sym] = v
|
|
191
203
|
}
|
|
192
204
|
|
|
205
|
+
if attributes.key?(:'is_match_for_uploaded_selfie')
|
|
206
|
+
self.is_match_for_uploaded_selfie = attributes[:'is_match_for_uploaded_selfie']
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
if attributes.key?(:'image_authenticity')
|
|
210
|
+
self.image_authenticity = attributes[:'image_authenticity']
|
|
211
|
+
end
|
|
212
|
+
|
|
193
213
|
if attributes.key?(:'given_name')
|
|
194
214
|
self.given_name = attributes[:'given_name']
|
|
195
215
|
end
|
|
@@ -291,6 +311,8 @@ module TrinsicApi
|
|
|
291
311
|
def ==(o)
|
|
292
312
|
return true if self.equal?(o)
|
|
293
313
|
self.class == o.class &&
|
|
314
|
+
is_match_for_uploaded_selfie == o.is_match_for_uploaded_selfie &&
|
|
315
|
+
image_authenticity == o.image_authenticity &&
|
|
294
316
|
given_name == o.given_name &&
|
|
295
317
|
family_name == o.family_name &&
|
|
296
318
|
nationality == o.nationality &&
|
|
@@ -322,7 +344,7 @@ module TrinsicApi
|
|
|
322
344
|
# Calculates hash code according to all attributes.
|
|
323
345
|
# @return [Integer] Hash code
|
|
324
346
|
def hash
|
|
325
|
-
[given_name, family_name, nationality, date_of_birth, personal_number, expiration_date, is_match_for_given_names, is_match_for_family_name, is_match_for_expiration_date, is_match_for_personal_number, is_match_for_nationality, is_match_for_birth_date, is_match_for_selfie, is_not_too_similar_to_document_portrait, is_not_different_face, is_single_face, is_over_age, is_age_estimation_match_for_selfie, age_estimation_threshold, estimated_age_from_selfie].hash
|
|
347
|
+
[is_match_for_uploaded_selfie, image_authenticity, given_name, family_name, nationality, date_of_birth, personal_number, expiration_date, is_match_for_given_names, is_match_for_family_name, is_match_for_expiration_date, is_match_for_personal_number, is_match_for_nationality, is_match_for_birth_date, is_match_for_selfie, is_not_too_similar_to_document_portrait, is_not_different_face, is_single_face, is_over_age, is_age_estimation_match_for_selfie, age_estimation_threshold, estimated_age_from_selfie].hash
|
|
326
348
|
end
|
|
327
349
|
|
|
328
350
|
# Builds the object from hash
|
|
@@ -24,8 +24,14 @@ module TrinsicApi
|
|
|
24
24
|
# Localized display names for the Provider, if any, keyed by lowercase BCP 47 language codes (eg \"fr\"). If a particular language code is not present, fall back to `name`. This should not be confused for the list of languages the Provider officially supports.
|
|
25
25
|
attr_accessor :localized_display_names
|
|
26
26
|
|
|
27
|
-
# The URL of the provider's logo
|
|
28
|
-
attr_accessor :
|
|
27
|
+
# The URL of the provider's app logo. The filename extension identifies the image format.
|
|
28
|
+
attr_accessor :app_logo_url
|
|
29
|
+
|
|
30
|
+
# The URL of the provider's logo for light surfaces. The filename extension identifies the image format.
|
|
31
|
+
attr_accessor :light_logo_url
|
|
32
|
+
|
|
33
|
+
# The URL of the provider's logo for dark surfaces. The filename extension identifies the image format.
|
|
34
|
+
attr_accessor :dark_logo_url
|
|
29
35
|
|
|
30
36
|
# The Provider's subtext recommended to be shown next to the name. This is flavor text, not a full, human-readable description of the provider.
|
|
31
37
|
attr_accessor :subtext
|
|
@@ -109,7 +115,9 @@ module TrinsicApi
|
|
|
109
115
|
:'id' => :'id',
|
|
110
116
|
:'name' => :'name',
|
|
111
117
|
:'localized_display_names' => :'localizedDisplayNames',
|
|
112
|
-
:'
|
|
118
|
+
:'app_logo_url' => :'appLogoUrl',
|
|
119
|
+
:'light_logo_url' => :'lightLogoUrl',
|
|
120
|
+
:'dark_logo_url' => :'darkLogoUrl',
|
|
113
121
|
:'subtext' => :'subtext',
|
|
114
122
|
:'regions' => :'regions',
|
|
115
123
|
:'countries' => :'countries',
|
|
@@ -147,7 +155,9 @@ module TrinsicApi
|
|
|
147
155
|
:'id' => :'String',
|
|
148
156
|
:'name' => :'String',
|
|
149
157
|
:'localized_display_names' => :'Hash<String, String>',
|
|
150
|
-
:'
|
|
158
|
+
:'app_logo_url' => :'String',
|
|
159
|
+
:'light_logo_url' => :'String',
|
|
160
|
+
:'dark_logo_url' => :'String',
|
|
151
161
|
:'subtext' => :'String',
|
|
152
162
|
:'regions' => :'Array<String>',
|
|
153
163
|
:'countries' => :'Array<String>',
|
|
@@ -224,10 +234,22 @@ module TrinsicApi
|
|
|
224
234
|
end
|
|
225
235
|
end
|
|
226
236
|
|
|
227
|
-
if attributes.key?(:'
|
|
228
|
-
self.
|
|
237
|
+
if attributes.key?(:'app_logo_url')
|
|
238
|
+
self.app_logo_url = attributes[:'app_logo_url']
|
|
239
|
+
else
|
|
240
|
+
self.app_logo_url = nil
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
if attributes.key?(:'light_logo_url')
|
|
244
|
+
self.light_logo_url = attributes[:'light_logo_url']
|
|
229
245
|
else
|
|
230
|
-
self.
|
|
246
|
+
self.light_logo_url = nil
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
if attributes.key?(:'dark_logo_url')
|
|
250
|
+
self.dark_logo_url = attributes[:'dark_logo_url']
|
|
251
|
+
else
|
|
252
|
+
self.dark_logo_url = nil
|
|
231
253
|
end
|
|
232
254
|
|
|
233
255
|
if attributes.key?(:'subtext')
|
|
@@ -358,8 +380,16 @@ module TrinsicApi
|
|
|
358
380
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
359
381
|
end
|
|
360
382
|
|
|
361
|
-
if @
|
|
362
|
-
invalid_properties.push('invalid value for "
|
|
383
|
+
if @app_logo_url.nil?
|
|
384
|
+
invalid_properties.push('invalid value for "app_logo_url", app_logo_url cannot be nil.')
|
|
385
|
+
end
|
|
386
|
+
|
|
387
|
+
if @light_logo_url.nil?
|
|
388
|
+
invalid_properties.push('invalid value for "light_logo_url", light_logo_url cannot be nil.')
|
|
389
|
+
end
|
|
390
|
+
|
|
391
|
+
if @dark_logo_url.nil?
|
|
392
|
+
invalid_properties.push('invalid value for "dark_logo_url", dark_logo_url cannot be nil.')
|
|
363
393
|
end
|
|
364
394
|
|
|
365
395
|
if @subtext.nil?
|
|
@@ -427,7 +457,9 @@ module TrinsicApi
|
|
|
427
457
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
428
458
|
return false if @id.nil?
|
|
429
459
|
return false if @name.nil?
|
|
430
|
-
return false if @
|
|
460
|
+
return false if @app_logo_url.nil?
|
|
461
|
+
return false if @light_logo_url.nil?
|
|
462
|
+
return false if @dark_logo_url.nil?
|
|
431
463
|
return false if @subtext.nil?
|
|
432
464
|
return false if @regions.nil?
|
|
433
465
|
return false if @countries.nil?
|
|
@@ -466,13 +498,33 @@ module TrinsicApi
|
|
|
466
498
|
end
|
|
467
499
|
|
|
468
500
|
# Custom attribute writer method with validation
|
|
469
|
-
# @param [Object]
|
|
470
|
-
def
|
|
471
|
-
if
|
|
472
|
-
fail ArgumentError, '
|
|
501
|
+
# @param [Object] app_logo_url Value to be assigned
|
|
502
|
+
def app_logo_url=(app_logo_url)
|
|
503
|
+
if app_logo_url.nil?
|
|
504
|
+
fail ArgumentError, 'app_logo_url cannot be nil'
|
|
505
|
+
end
|
|
506
|
+
|
|
507
|
+
@app_logo_url = app_logo_url
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
# Custom attribute writer method with validation
|
|
511
|
+
# @param [Object] light_logo_url Value to be assigned
|
|
512
|
+
def light_logo_url=(light_logo_url)
|
|
513
|
+
if light_logo_url.nil?
|
|
514
|
+
fail ArgumentError, 'light_logo_url cannot be nil'
|
|
515
|
+
end
|
|
516
|
+
|
|
517
|
+
@light_logo_url = light_logo_url
|
|
518
|
+
end
|
|
519
|
+
|
|
520
|
+
# Custom attribute writer method with validation
|
|
521
|
+
# @param [Object] dark_logo_url Value to be assigned
|
|
522
|
+
def dark_logo_url=(dark_logo_url)
|
|
523
|
+
if dark_logo_url.nil?
|
|
524
|
+
fail ArgumentError, 'dark_logo_url cannot be nil'
|
|
473
525
|
end
|
|
474
526
|
|
|
475
|
-
@
|
|
527
|
+
@dark_logo_url = dark_logo_url
|
|
476
528
|
end
|
|
477
529
|
|
|
478
530
|
# Custom attribute writer method with validation
|
|
@@ -623,7 +675,9 @@ module TrinsicApi
|
|
|
623
675
|
id == o.id &&
|
|
624
676
|
name == o.name &&
|
|
625
677
|
localized_display_names == o.localized_display_names &&
|
|
626
|
-
|
|
678
|
+
app_logo_url == o.app_logo_url &&
|
|
679
|
+
light_logo_url == o.light_logo_url &&
|
|
680
|
+
dark_logo_url == o.dark_logo_url &&
|
|
627
681
|
subtext == o.subtext &&
|
|
628
682
|
regions == o.regions &&
|
|
629
683
|
countries == o.countries &&
|
|
@@ -653,7 +707,7 @@ module TrinsicApi
|
|
|
653
707
|
# Calculates hash code according to all attributes.
|
|
654
708
|
# @return [Integer] Hash code
|
|
655
709
|
def hash
|
|
656
|
-
[id, name, localized_display_names,
|
|
710
|
+
[id, name, localized_display_names, app_logo_url, light_logo_url, dark_logo_url, subtext, regions, countries, subdivisions, licensed, launch_method, collection_method, results_may_be_delayed_after_redirect, has_refreshable_content, requires_input, has_trinsic_interface, supports_direct_provider_sessions, supported_languages, available_attributes, available_attachments, sub_providers, live_health, test_health].hash
|
|
657
711
|
end
|
|
658
712
|
|
|
659
713
|
# Builds the object from hash
|
|
@@ -33,24 +33,12 @@ module TrinsicApi
|
|
|
33
33
|
# Input for the `mexico-curp-lookup` provider
|
|
34
34
|
attr_accessor :mexico_curp_lookup
|
|
35
35
|
|
|
36
|
-
# Input for the `south-africa-nid-lookup` provider
|
|
37
|
-
attr_accessor :south_africa_nid_lookup
|
|
38
|
-
|
|
39
|
-
# Input for the `kenya-nid-lookup` provider
|
|
40
|
-
attr_accessor :kenya_nid_lookup
|
|
41
|
-
|
|
42
|
-
# Input for the `kenya-nid-match-2` provider
|
|
43
|
-
attr_accessor :kenya_nid_match_2
|
|
44
|
-
|
|
45
36
|
# Input for the `kenya-nid-lookup-2` provider
|
|
46
37
|
attr_accessor :kenya_nid_lookup_2
|
|
47
38
|
|
|
48
39
|
# Input for the `south-africa-nid-lookup-2` provider
|
|
49
40
|
attr_accessor :south_africa_nid_lookup_2
|
|
50
41
|
|
|
51
|
-
# Input for the `south-africa-nid-match-2` provider
|
|
52
|
-
attr_accessor :south_africa_nid_match_2
|
|
53
|
-
|
|
54
42
|
# Input for the `nigeria-nin-lookup-2` provider
|
|
55
43
|
attr_accessor :nigeria_nin_lookup_2
|
|
56
44
|
|
|
@@ -66,15 +54,9 @@ module TrinsicApi
|
|
|
66
54
|
# Input for the `zimbabwe-nid-lookup-2` provider
|
|
67
55
|
attr_accessor :zimbabwe_nid_lookup_2
|
|
68
56
|
|
|
69
|
-
# Input for the `nigeria-nin-match-2` provider
|
|
70
|
-
attr_accessor :nigeria_nin_match_2
|
|
71
|
-
|
|
72
57
|
# Input for the `uganda-nid-match-2` provider
|
|
73
58
|
attr_accessor :uganda_nid_match_2
|
|
74
59
|
|
|
75
|
-
# Input for the `nigeria-nin-lookup` provider
|
|
76
|
-
attr_accessor :nigeria_nin_lookup
|
|
77
|
-
|
|
78
60
|
# Input for the `india-digilocker-aadhaar-match` provider
|
|
79
61
|
attr_accessor :india_digilocker_aadhaar_match
|
|
80
62
|
|
|
@@ -192,20 +174,14 @@ module TrinsicApi
|
|
|
192
174
|
:'evrotrust' => :'evrotrust',
|
|
193
175
|
:'indonesia_dukcapil_match' => :'indonesia-dukcapil-match',
|
|
194
176
|
:'mexico_curp_lookup' => :'mexico-curp-lookup',
|
|
195
|
-
:'south_africa_nid_lookup' => :'south-africa-nid-lookup',
|
|
196
|
-
:'kenya_nid_lookup' => :'kenya-nid-lookup',
|
|
197
|
-
:'kenya_nid_match_2' => :'kenya-nid-match-2',
|
|
198
177
|
:'kenya_nid_lookup_2' => :'kenya-nid-lookup-2',
|
|
199
178
|
:'south_africa_nid_lookup_2' => :'south-africa-nid-lookup-2',
|
|
200
|
-
:'south_africa_nid_match_2' => :'south-africa-nid-match-2',
|
|
201
179
|
:'nigeria_nin_lookup_2' => :'nigeria-nin-lookup-2',
|
|
202
180
|
:'nigeria_nin_lookup_3' => :'nigeria-nin-lookup-3',
|
|
203
181
|
:'kenya_nid_lookup_3' => :'kenya-nid-lookup-3',
|
|
204
182
|
:'cote_divoire_nid_lookup_2' => :'cote-divoire-nid-lookup-2',
|
|
205
183
|
:'zimbabwe_nid_lookup_2' => :'zimbabwe-nid-lookup-2',
|
|
206
|
-
:'nigeria_nin_match_2' => :'nigeria-nin-match-2',
|
|
207
184
|
:'uganda_nid_match_2' => :'uganda-nid-match-2',
|
|
208
|
-
:'nigeria_nin_lookup' => :'nigeria-nin-lookup',
|
|
209
185
|
:'india_digilocker_aadhaar_match' => :'india-digilocker-aadhaar-match',
|
|
210
186
|
:'india_pan_lookup' => :'india-pan-lookup',
|
|
211
187
|
:'korea_telco_match' => :'korea-telco-match',
|
|
@@ -265,20 +241,14 @@ module TrinsicApi
|
|
|
265
241
|
:'evrotrust' => :'EvrotrustInput',
|
|
266
242
|
:'indonesia_dukcapil_match' => :'IndonesiaDukcapilMatchInput',
|
|
267
243
|
:'mexico_curp_lookup' => :'MexicoCurpInput',
|
|
268
|
-
:'south_africa_nid_lookup' => :'SouthAfricaNidInput',
|
|
269
|
-
:'kenya_nid_lookup' => :'KenyaNidInput',
|
|
270
|
-
:'kenya_nid_match_2' => :'KenyaNidMatch2Input',
|
|
271
244
|
:'kenya_nid_lookup_2' => :'KenyaNidLookup2Input',
|
|
272
245
|
:'south_africa_nid_lookup_2' => :'SouthAfricaNidLookup2Input',
|
|
273
|
-
:'south_africa_nid_match_2' => :'SouthAfricaNidMatch2Input',
|
|
274
246
|
:'nigeria_nin_lookup_2' => :'NigeriaNinLookup2Input',
|
|
275
247
|
:'nigeria_nin_lookup_3' => :'NigeriaNinLookup3Input',
|
|
276
248
|
:'kenya_nid_lookup_3' => :'KenyaNidLookup3Input',
|
|
277
249
|
:'cote_divoire_nid_lookup_2' => :'CoteDIvoireNidLookup2Input',
|
|
278
250
|
:'zimbabwe_nid_lookup_2' => :'ZimbabweNidLookup2Input',
|
|
279
|
-
:'nigeria_nin_match_2' => :'NigeriaNinMatch2Input',
|
|
280
251
|
:'uganda_nid_match_2' => :'UgandaNidMatch2Input',
|
|
281
|
-
:'nigeria_nin_lookup' => :'NigeriaNinInput',
|
|
282
252
|
:'india_digilocker_aadhaar_match' => :'AadhaarInput',
|
|
283
253
|
:'india_pan_lookup' => :'IndiaPanLookupInput',
|
|
284
254
|
:'korea_telco_match' => :'KoreaTelcoMatchInput',
|
|
@@ -328,20 +298,14 @@ module TrinsicApi
|
|
|
328
298
|
:'evrotrust',
|
|
329
299
|
:'indonesia_dukcapil_match',
|
|
330
300
|
:'mexico_curp_lookup',
|
|
331
|
-
:'south_africa_nid_lookup',
|
|
332
|
-
:'kenya_nid_lookup',
|
|
333
|
-
:'kenya_nid_match_2',
|
|
334
301
|
:'kenya_nid_lookup_2',
|
|
335
302
|
:'south_africa_nid_lookup_2',
|
|
336
|
-
:'south_africa_nid_match_2',
|
|
337
303
|
:'nigeria_nin_lookup_2',
|
|
338
304
|
:'nigeria_nin_lookup_3',
|
|
339
305
|
:'kenya_nid_lookup_3',
|
|
340
306
|
:'cote_divoire_nid_lookup_2',
|
|
341
307
|
:'zimbabwe_nid_lookup_2',
|
|
342
|
-
:'nigeria_nin_match_2',
|
|
343
308
|
:'uganda_nid_match_2',
|
|
344
|
-
:'nigeria_nin_lookup',
|
|
345
309
|
:'india_digilocker_aadhaar_match',
|
|
346
310
|
:'india_pan_lookup',
|
|
347
311
|
:'korea_telco_match',
|
|
@@ -432,18 +396,6 @@ module TrinsicApi
|
|
|
432
396
|
self.mexico_curp_lookup = attributes[:'mexico_curp_lookup']
|
|
433
397
|
end
|
|
434
398
|
|
|
435
|
-
if attributes.key?(:'south_africa_nid_lookup')
|
|
436
|
-
self.south_africa_nid_lookup = attributes[:'south_africa_nid_lookup']
|
|
437
|
-
end
|
|
438
|
-
|
|
439
|
-
if attributes.key?(:'kenya_nid_lookup')
|
|
440
|
-
self.kenya_nid_lookup = attributes[:'kenya_nid_lookup']
|
|
441
|
-
end
|
|
442
|
-
|
|
443
|
-
if attributes.key?(:'kenya_nid_match_2')
|
|
444
|
-
self.kenya_nid_match_2 = attributes[:'kenya_nid_match_2']
|
|
445
|
-
end
|
|
446
|
-
|
|
447
399
|
if attributes.key?(:'kenya_nid_lookup_2')
|
|
448
400
|
self.kenya_nid_lookup_2 = attributes[:'kenya_nid_lookup_2']
|
|
449
401
|
end
|
|
@@ -452,10 +404,6 @@ module TrinsicApi
|
|
|
452
404
|
self.south_africa_nid_lookup_2 = attributes[:'south_africa_nid_lookup_2']
|
|
453
405
|
end
|
|
454
406
|
|
|
455
|
-
if attributes.key?(:'south_africa_nid_match_2')
|
|
456
|
-
self.south_africa_nid_match_2 = attributes[:'south_africa_nid_match_2']
|
|
457
|
-
end
|
|
458
|
-
|
|
459
407
|
if attributes.key?(:'nigeria_nin_lookup_2')
|
|
460
408
|
self.nigeria_nin_lookup_2 = attributes[:'nigeria_nin_lookup_2']
|
|
461
409
|
end
|
|
@@ -476,18 +424,10 @@ module TrinsicApi
|
|
|
476
424
|
self.zimbabwe_nid_lookup_2 = attributes[:'zimbabwe_nid_lookup_2']
|
|
477
425
|
end
|
|
478
426
|
|
|
479
|
-
if attributes.key?(:'nigeria_nin_match_2')
|
|
480
|
-
self.nigeria_nin_match_2 = attributes[:'nigeria_nin_match_2']
|
|
481
|
-
end
|
|
482
|
-
|
|
483
427
|
if attributes.key?(:'uganda_nid_match_2')
|
|
484
428
|
self.uganda_nid_match_2 = attributes[:'uganda_nid_match_2']
|
|
485
429
|
end
|
|
486
430
|
|
|
487
|
-
if attributes.key?(:'nigeria_nin_lookup')
|
|
488
|
-
self.nigeria_nin_lookup = attributes[:'nigeria_nin_lookup']
|
|
489
|
-
end
|
|
490
|
-
|
|
491
431
|
if attributes.key?(:'india_digilocker_aadhaar_match')
|
|
492
432
|
self.india_digilocker_aadhaar_match = attributes[:'india_digilocker_aadhaar_match']
|
|
493
433
|
end
|
|
@@ -663,20 +603,14 @@ module TrinsicApi
|
|
|
663
603
|
evrotrust == o.evrotrust &&
|
|
664
604
|
indonesia_dukcapil_match == o.indonesia_dukcapil_match &&
|
|
665
605
|
mexico_curp_lookup == o.mexico_curp_lookup &&
|
|
666
|
-
south_africa_nid_lookup == o.south_africa_nid_lookup &&
|
|
667
|
-
kenya_nid_lookup == o.kenya_nid_lookup &&
|
|
668
|
-
kenya_nid_match_2 == o.kenya_nid_match_2 &&
|
|
669
606
|
kenya_nid_lookup_2 == o.kenya_nid_lookup_2 &&
|
|
670
607
|
south_africa_nid_lookup_2 == o.south_africa_nid_lookup_2 &&
|
|
671
|
-
south_africa_nid_match_2 == o.south_africa_nid_match_2 &&
|
|
672
608
|
nigeria_nin_lookup_2 == o.nigeria_nin_lookup_2 &&
|
|
673
609
|
nigeria_nin_lookup_3 == o.nigeria_nin_lookup_3 &&
|
|
674
610
|
kenya_nid_lookup_3 == o.kenya_nid_lookup_3 &&
|
|
675
611
|
cote_divoire_nid_lookup_2 == o.cote_divoire_nid_lookup_2 &&
|
|
676
612
|
zimbabwe_nid_lookup_2 == o.zimbabwe_nid_lookup_2 &&
|
|
677
|
-
nigeria_nin_match_2 == o.nigeria_nin_match_2 &&
|
|
678
613
|
uganda_nid_match_2 == o.uganda_nid_match_2 &&
|
|
679
|
-
nigeria_nin_lookup == o.nigeria_nin_lookup &&
|
|
680
614
|
india_digilocker_aadhaar_match == o.india_digilocker_aadhaar_match &&
|
|
681
615
|
india_pan_lookup == o.india_pan_lookup &&
|
|
682
616
|
korea_telco_match == o.korea_telco_match &&
|
|
@@ -725,7 +659,7 @@ module TrinsicApi
|
|
|
725
659
|
# Calculates hash code according to all attributes.
|
|
726
660
|
# @return [Integer] Hash code
|
|
727
661
|
def hash
|
|
728
|
-
[trinsic_mock_output, indonesia_nik_lookup, china_resident_id_match, evrotrust, indonesia_dukcapil_match, mexico_curp_lookup,
|
|
662
|
+
[trinsic_mock_output, indonesia_nik_lookup, china_resident_id_match, evrotrust, indonesia_dukcapil_match, mexico_curp_lookup, kenya_nid_lookup_2, south_africa_nid_lookup_2, nigeria_nin_lookup_2, nigeria_nin_lookup_3, kenya_nid_lookup_3, cote_divoire_nid_lookup_2, zimbabwe_nid_lookup_2, uganda_nid_match_2, india_digilocker_aadhaar_match, india_pan_lookup, korea_telco_match, brazil_cpf_lookup, brazil_digital_cnh, jordan_sanad, philippines_philsys_match, philippines_physical_national_id_qr, philippines_digital_national_id_qr, smart_id, mobile_id, netherlands_idin, finnish_trust_network, czech_bank_id, australia_connect_id, italy_spid, google_wallet, apple_wallet, samsung_wallet, france_identite, moldova_evo_wallet, germany_eudi_sandbox, denmark_altid, austria_valera_eudi_sandbox, netherlands_eudi_sandbox, poland_mobywatel_match, bolivia_ci_lookup, colombia_cc_lookup, el_salvador_dui_lookup, guatemala_cui_lookup, panama_cedula_lookup, peru_dni_lookup, uk_evisa_lookup, usa_arizona_wallet, usa_california_dmv, trinsic_test_database_lookup, trinsic_test_sub_providers].hash
|
|
729
663
|
end
|
|
730
664
|
|
|
731
665
|
# Builds the object from hash
|