trinsic_api 3.2.1 → 3.3.0.pre.alpha2
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/BrazilCnhProviderOutput.md +2 -0
- data/docs/BrazilCpfCheckInput.md +3 -3
- data/docs/BrazilCpfProviderOutput.md +1 -1
- data/docs/BrazilDigitalCnhInput.md +1 -1
- data/docs/ConnectIdAgeVerification.md +9 -1
- data/docs/ConnectIdInput.md +18 -0
- data/docs/CreateDirectProviderSessionRequest.md +2 -0
- data/docs/CreateHostedProviderSessionRequest.md +2 -0
- data/docs/CzechBankIdInput.md +18 -0
- data/docs/DeveloperApi.md +153 -0
- data/docs/DigilockerAadhaarProviderOutput.md +1 -1
- data/docs/FinnishTrustNetworkAddressOutput.md +22 -0
- data/docs/FinnishTrustNetworkInput.md +18 -0
- data/docs/FinnishTrustNetworkProviderOutput.md +2 -0
- data/docs/GetAttachmentResponse.md +2 -0
- data/docs/GetSessionResultRequest.md +3 -1
- data/docs/GetSessionResultResponse.md +3 -1
- data/docs/HPKETestRequest.md +22 -0
- data/docs/HPKETestVPRequest.md +20 -0
- data/docs/IdemiaMobileIdProviderOutput.md +1 -5
- data/docs/IndiaPanLookupProviderOutput.md +1 -1
- data/docs/IndonesiaDukcapilMatchInput.md +1 -1
- data/docs/JapanMyNumberProviderOutput.md +24 -0
- data/docs/JordanSanadInput.md +18 -0
- data/docs/MitIdAddressOutput.md +28 -0
- data/docs/MitIdProviderOutput.md +3 -1
- data/docs/PolandMobywatelMatchInput.md +1 -1
- data/docs/Provider.md +2 -0
- data/docs/ProviderInput.md +10 -0
- data/docs/ProviderOutput.md +8 -0
- data/docs/RecommendProviderInformation.md +2 -0
- data/docs/RecommendProvidersRequest.md +1 -1
- data/docs/RevolutProviderOutput.md +28 -0
- data/docs/SanadProviderOutput.md +28 -0
- data/docs/SaudiArabiaNafathAddress.md +50 -0
- data/docs/SaudiArabiaNafathCitizenAttributes.md +68 -0
- data/docs/SaudiArabiaNafathHeadOfHousehold.md +26 -0
- data/docs/SaudiArabiaNafathProviderOutput.md +38 -0
- data/docs/SaudiArabiaNafathResidentAttributes.md +68 -0
- data/docs/SaudiArabiaNafathVisitorAttributes.md +72 -0
- data/docs/SessionsApi.md +2 -2
- data/docs/SignzyIndiaAadhaarFetchProviderOutput.md +1 -1
- data/docs/SingpassPersonalCatalog.md +2 -2
- data/docs/SwedenBankIdProviderOutput.md +7 -3
- data/docs/TrinsicHPKEBundle.md +24 -0
- data/docs/TrinsicHPKEMetadata.md +30 -0
- data/docs/TrinsicTestDatabaseLookupInput.md +1 -1
- data/docs/UkEvisaLookupInput.md +1 -1
- data/docs/UsaArizonaWalletInput.md +18 -0
- data/docs/VerificationProfileResponse.md +2 -0
- data/docs/VerificationProfilesApi.md +3 -1
- data/docs/YotiStructuredPostalAddress.md +1 -1
- data/lib/trinsic_api/api/developer_api.rb +156 -0
- data/lib/trinsic_api/api/verification_profiles_api.rb +3 -0
- data/lib/trinsic_api/api_client.rb +1 -0
- data/lib/trinsic_api/models/brazil_cnh_provider_output.rb +12 -1
- data/lib/trinsic_api/models/brazil_cpf_check_input.rb +12 -22
- data/lib/trinsic_api/models/brazil_cpf_provider_output.rb +1 -1
- data/lib/trinsic_api/models/brazil_digital_cnh_input.rb +1 -1
- data/lib/trinsic_api/models/connect_id_age_verification.rb +46 -2
- data/lib/trinsic_api/models/connect_id_input.rb +149 -0
- data/lib/trinsic_api/models/create_direct_provider_session_request.rb +28 -1
- data/lib/trinsic_api/models/create_hosted_provider_session_request.rb +28 -1
- data/lib/trinsic_api/models/czech_bank_id_input.rb +149 -0
- data/lib/trinsic_api/models/digilocker_aadhaar_provider_output.rb +1 -1
- data/lib/trinsic_api/models/finnish_trust_network_address_output.rb +171 -0
- data/lib/trinsic_api/models/finnish_trust_network_input.rb +149 -0
- data/lib/trinsic_api/models/finnish_trust_network_provider_output.rb +12 -1
- data/lib/trinsic_api/models/get_attachment_response.rb +12 -1
- data/lib/trinsic_api/models/get_session_result_request.rb +15 -4
- data/lib/trinsic_api/models/get_session_result_response.rb +16 -5
- data/lib/trinsic_api/models/hpke_test_request.rb +219 -0
- data/lib/trinsic_api/models/hpke_test_vp_request.rb +192 -0
- data/lib/trinsic_api/models/idemia_mobile_id_provider_output.rb +1 -23
- data/lib/trinsic_api/models/india_pan_lookup_provider_output.rb +1 -1
- data/lib/trinsic_api/models/indonesia_dukcapil_match_input.rb +1 -1
- data/lib/trinsic_api/models/japan_my_number_provider_output.rb +183 -0
- data/lib/trinsic_api/models/jordan_sanad_input.rb +164 -0
- data/lib/trinsic_api/models/mit_id_address_output.rb +204 -0
- data/lib/trinsic_api/models/mit_id_provider_output.rb +16 -5
- data/lib/trinsic_api/models/poland_mobywatel_match_input.rb +1 -1
- data/lib/trinsic_api/models/provider.rb +14 -1
- data/lib/trinsic_api/models/provider_input.rb +56 -1
- data/lib/trinsic_api/models/provider_output.rb +45 -1
- data/lib/trinsic_api/models/recommend_provider_information.rb +14 -1
- data/lib/trinsic_api/models/recommend_providers_request.rb +1 -1
- data/lib/trinsic_api/models/revolut_provider_output.rb +204 -0
- data/lib/trinsic_api/models/sanad_provider_output.rb +205 -0
- data/lib/trinsic_api/models/saudi_arabia_nafath_address.rb +325 -0
- data/lib/trinsic_api/models/saudi_arabia_nafath_citizen_attributes.rb +426 -0
- data/lib/trinsic_api/models/saudi_arabia_nafath_head_of_household.rb +193 -0
- data/lib/trinsic_api/models/saudi_arabia_nafath_provider_output.rb +260 -0
- data/lib/trinsic_api/models/saudi_arabia_nafath_resident_attributes.rb +426 -0
- data/lib/trinsic_api/models/saudi_arabia_nafath_visitor_attributes.rb +446 -0
- data/lib/trinsic_api/models/signzy_india_aadhaar_fetch_provider_output.rb +1 -1
- data/lib/trinsic_api/models/singpass_personal_catalog.rb +9 -9
- data/lib/trinsic_api/models/sweden_bank_id_provider_output.rb +24 -2
- data/lib/trinsic_api/models/trinsic_hpke_bundle.rb +246 -0
- data/lib/trinsic_api/models/trinsic_hpke_metadata.rb +327 -0
- data/lib/trinsic_api/models/trinsic_test_database_lookup_input.rb +1 -1
- data/lib/trinsic_api/models/uk_evisa_lookup_input.rb +1 -1
- data/lib/trinsic_api/models/usa_arizona_wallet_input.rb +149 -0
- data/lib/trinsic_api/models/verification_profile_response.rb +28 -1
- data/lib/trinsic_api/version.rb +1 -1
- data/lib/trinsic_api.rb +21 -0
- data/spec/api/developer_api_spec.rb +60 -0
- data/spec/api/verification_profiles_api_spec.rb +1 -0
- data/spec/models/brazil_cnh_provider_output_spec.rb +6 -0
- data/spec/models/connect_id_age_verification_spec.rb +24 -0
- data/spec/models/connect_id_input_spec.rb +36 -0
- data/spec/models/create_direct_provider_session_request_spec.rb +6 -0
- data/spec/models/create_hosted_provider_session_request_spec.rb +6 -0
- data/spec/models/czech_bank_id_input_spec.rb +36 -0
- data/spec/models/finnish_trust_network_address_output_spec.rb +48 -0
- data/spec/models/finnish_trust_network_input_spec.rb +36 -0
- data/spec/models/finnish_trust_network_provider_output_spec.rb +6 -0
- data/spec/models/get_attachment_response_spec.rb +6 -0
- data/spec/models/get_session_result_request_spec.rb +6 -0
- data/spec/models/get_session_result_response_spec.rb +6 -0
- data/spec/models/hpke_test_request_spec.rb +48 -0
- data/spec/models/hpke_test_vp_request_spec.rb +42 -0
- data/spec/models/idemia_mobile_id_provider_output_spec.rb +0 -12
- data/spec/models/japan_my_number_provider_output_spec.rb +54 -0
- data/spec/models/jordan_sanad_input_spec.rb +36 -0
- data/spec/models/mit_id_address_output_spec.rb +66 -0
- data/spec/models/mit_id_provider_output_spec.rb +6 -0
- data/spec/models/provider_input_spec.rb +30 -0
- data/spec/models/provider_output_spec.rb +24 -0
- data/spec/models/provider_spec.rb +6 -0
- data/spec/models/recommend_provider_information_spec.rb +6 -0
- data/spec/models/revolut_provider_output_spec.rb +66 -0
- data/spec/models/sanad_provider_output_spec.rb +66 -0
- data/spec/models/saudi_arabia_nafath_address_spec.rb +132 -0
- data/spec/models/saudi_arabia_nafath_citizen_attributes_spec.rb +186 -0
- data/spec/models/saudi_arabia_nafath_head_of_household_spec.rb +60 -0
- data/spec/models/saudi_arabia_nafath_provider_output_spec.rb +96 -0
- data/spec/models/saudi_arabia_nafath_resident_attributes_spec.rb +186 -0
- data/spec/models/saudi_arabia_nafath_visitor_attributes_spec.rb +198 -0
- data/spec/models/singpass_personal_catalog_spec.rb +1 -1
- data/spec/models/sweden_bank_id_provider_output_spec.rb +12 -0
- data/spec/models/trinsic_hpke_bundle_spec.rb +54 -0
- data/spec/models/trinsic_hpke_metadata_spec.rb +72 -0
- data/spec/models/usa_arizona_wallet_input_spec.rb +36 -0
- data/spec/models/verification_profile_response_spec.rb +6 -0
- metadata +375 -291
|
@@ -0,0 +1,204 @@
|
|
|
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
|
+
class MitIdAddressOutput < ApiModelBase
|
|
18
|
+
# The city name returned by MitID.
|
|
19
|
+
attr_accessor :city_name
|
|
20
|
+
|
|
21
|
+
# The postal district name returned by MitID.
|
|
22
|
+
attr_accessor :zip_name
|
|
23
|
+
|
|
24
|
+
# The street number.
|
|
25
|
+
attr_accessor :street_number
|
|
26
|
+
|
|
27
|
+
# The street name.
|
|
28
|
+
attr_accessor :street_name
|
|
29
|
+
|
|
30
|
+
# The zip code.
|
|
31
|
+
attr_accessor :zip_code
|
|
32
|
+
|
|
33
|
+
# The ISO 3166-1 alpha-2 country code, set to DK (Denmark).
|
|
34
|
+
attr_accessor :country_code
|
|
35
|
+
|
|
36
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
|
+
def self.attribute_map
|
|
38
|
+
{
|
|
39
|
+
:'city_name' => :'cityName',
|
|
40
|
+
:'zip_name' => :'zipName',
|
|
41
|
+
:'street_number' => :'streetNumber',
|
|
42
|
+
:'street_name' => :'streetName',
|
|
43
|
+
:'zip_code' => :'zipCode',
|
|
44
|
+
:'country_code' => :'countryCode'
|
|
45
|
+
}
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# Returns attribute mapping this model knows about
|
|
49
|
+
def self.acceptable_attribute_map
|
|
50
|
+
attribute_map
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Returns all the JSON keys this model knows about
|
|
54
|
+
def self.acceptable_attributes
|
|
55
|
+
acceptable_attribute_map.values
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Attribute type mapping.
|
|
59
|
+
def self.openapi_types
|
|
60
|
+
{
|
|
61
|
+
:'city_name' => :'String',
|
|
62
|
+
:'zip_name' => :'String',
|
|
63
|
+
:'street_number' => :'String',
|
|
64
|
+
:'street_name' => :'String',
|
|
65
|
+
:'zip_code' => :'String',
|
|
66
|
+
:'country_code' => :'String'
|
|
67
|
+
}
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# List of attributes with nullable: true
|
|
71
|
+
def self.openapi_nullable
|
|
72
|
+
Set.new([
|
|
73
|
+
:'city_name',
|
|
74
|
+
:'zip_name',
|
|
75
|
+
:'street_number',
|
|
76
|
+
:'street_name',
|
|
77
|
+
:'zip_code',
|
|
78
|
+
:'country_code'
|
|
79
|
+
])
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# Initializes the object
|
|
83
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
84
|
+
def initialize(attributes = {})
|
|
85
|
+
if (!attributes.is_a?(Hash))
|
|
86
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::MitIdAddressOutput` initialize method"
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
90
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
91
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
92
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
93
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::MitIdAddressOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
94
|
+
end
|
|
95
|
+
h[k.to_sym] = v
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
if attributes.key?(:'city_name')
|
|
99
|
+
self.city_name = attributes[:'city_name']
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
if attributes.key?(:'zip_name')
|
|
103
|
+
self.zip_name = attributes[:'zip_name']
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
if attributes.key?(:'street_number')
|
|
107
|
+
self.street_number = attributes[:'street_number']
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
if attributes.key?(:'street_name')
|
|
111
|
+
self.street_name = attributes[:'street_name']
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
if attributes.key?(:'zip_code')
|
|
115
|
+
self.zip_code = attributes[:'zip_code']
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
if attributes.key?(:'country_code')
|
|
119
|
+
self.country_code = attributes[:'country_code']
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
124
|
+
# @return Array for valid properties with the reasons
|
|
125
|
+
def list_invalid_properties
|
|
126
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
127
|
+
invalid_properties = Array.new
|
|
128
|
+
invalid_properties
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
# Check to see if the all the properties in the model are valid
|
|
132
|
+
# @return true if the model is valid
|
|
133
|
+
def valid?
|
|
134
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
135
|
+
true
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
# Checks equality by comparing each attribute.
|
|
139
|
+
# @param [Object] Object to be compared
|
|
140
|
+
def ==(o)
|
|
141
|
+
return true if self.equal?(o)
|
|
142
|
+
self.class == o.class &&
|
|
143
|
+
city_name == o.city_name &&
|
|
144
|
+
zip_name == o.zip_name &&
|
|
145
|
+
street_number == o.street_number &&
|
|
146
|
+
street_name == o.street_name &&
|
|
147
|
+
zip_code == o.zip_code &&
|
|
148
|
+
country_code == o.country_code
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# @see the `==` method
|
|
152
|
+
# @param [Object] Object to be compared
|
|
153
|
+
def eql?(o)
|
|
154
|
+
self == o
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# Calculates hash code according to all attributes.
|
|
158
|
+
# @return [Integer] Hash code
|
|
159
|
+
def hash
|
|
160
|
+
[city_name, zip_name, street_number, street_name, zip_code, country_code].hash
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
# Builds the object from hash
|
|
164
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
165
|
+
# @return [Object] Returns the model itself
|
|
166
|
+
def self.build_from_hash(attributes)
|
|
167
|
+
return nil unless attributes.is_a?(Hash)
|
|
168
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
169
|
+
transformed_hash = {}
|
|
170
|
+
openapi_types.each_pair do |key, type|
|
|
171
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
172
|
+
transformed_hash["#{key}"] = nil
|
|
173
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
174
|
+
# check to ensure the input is an array given that the attribute
|
|
175
|
+
# is documented as an array but the input is not
|
|
176
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
177
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
178
|
+
end
|
|
179
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
180
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
181
|
+
end
|
|
182
|
+
end
|
|
183
|
+
new(transformed_hash)
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
# Returns the object in the form of hash
|
|
187
|
+
# @return [Hash] Returns the object in the form of hash
|
|
188
|
+
def to_hash
|
|
189
|
+
hash = {}
|
|
190
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
191
|
+
value = self.send(attr)
|
|
192
|
+
if value.nil?
|
|
193
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
194
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
hash[param] = _to_hash(value)
|
|
198
|
+
end
|
|
199
|
+
hash
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
end
|
|
@@ -49,6 +49,9 @@ module TrinsicApi
|
|
|
49
49
|
# The organization number (CVR number) of the organization the individual is authorized to represent. This is only returned if the requested scope is for an organization verification and the individual provides a private source on behalf of a company.
|
|
50
50
|
attr_accessor :authorized_representative_number
|
|
51
51
|
|
|
52
|
+
# The individual's address.
|
|
53
|
+
attr_accessor :address
|
|
54
|
+
|
|
52
55
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
53
56
|
def self.attribute_map
|
|
54
57
|
{
|
|
@@ -62,7 +65,8 @@ module TrinsicApi
|
|
|
62
65
|
:'civil_registration_number' => :'civilRegistrationNumber',
|
|
63
66
|
:'organization_name' => :'organizationName',
|
|
64
67
|
:'organization_number' => :'organizationNumber',
|
|
65
|
-
:'authorized_representative_number' => :'authorizedRepresentativeNumber'
|
|
68
|
+
:'authorized_representative_number' => :'authorizedRepresentativeNumber',
|
|
69
|
+
:'address' => :'address'
|
|
66
70
|
}
|
|
67
71
|
end
|
|
68
72
|
|
|
@@ -89,7 +93,8 @@ module TrinsicApi
|
|
|
89
93
|
:'civil_registration_number' => :'String',
|
|
90
94
|
:'organization_name' => :'String',
|
|
91
95
|
:'organization_number' => :'String',
|
|
92
|
-
:'authorized_representative_number' => :'String'
|
|
96
|
+
:'authorized_representative_number' => :'String',
|
|
97
|
+
:'address' => :'MitIdAddressOutput'
|
|
93
98
|
}
|
|
94
99
|
end
|
|
95
100
|
|
|
@@ -106,7 +111,8 @@ module TrinsicApi
|
|
|
106
111
|
:'civil_registration_number',
|
|
107
112
|
:'organization_name',
|
|
108
113
|
:'organization_number',
|
|
109
|
-
:'authorized_representative_number'
|
|
114
|
+
:'authorized_representative_number',
|
|
115
|
+
:'address'
|
|
110
116
|
])
|
|
111
117
|
end
|
|
112
118
|
|
|
@@ -169,6 +175,10 @@ module TrinsicApi
|
|
|
169
175
|
if attributes.key?(:'authorized_representative_number')
|
|
170
176
|
self.authorized_representative_number = attributes[:'authorized_representative_number']
|
|
171
177
|
end
|
|
178
|
+
|
|
179
|
+
if attributes.key?(:'address')
|
|
180
|
+
self.address = attributes[:'address']
|
|
181
|
+
end
|
|
172
182
|
end
|
|
173
183
|
|
|
174
184
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -201,7 +211,8 @@ module TrinsicApi
|
|
|
201
211
|
civil_registration_number == o.civil_registration_number &&
|
|
202
212
|
organization_name == o.organization_name &&
|
|
203
213
|
organization_number == o.organization_number &&
|
|
204
|
-
authorized_representative_number == o.authorized_representative_number
|
|
214
|
+
authorized_representative_number == o.authorized_representative_number &&
|
|
215
|
+
address == o.address
|
|
205
216
|
end
|
|
206
217
|
|
|
207
218
|
# @see the `==` method
|
|
@@ -213,7 +224,7 @@ module TrinsicApi
|
|
|
213
224
|
# Calculates hash code according to all attributes.
|
|
214
225
|
# @return [Integer] Hash code
|
|
215
226
|
def hash
|
|
216
|
-
[full_name, date_of_birth, unique_identifier, authentication_assurance_level, identity_authentication_level, level_of_assurance, identification_source, civil_registration_number, organization_name, organization_number, authorized_representative_number].hash
|
|
227
|
+
[full_name, date_of_birth, unique_identifier, authentication_assurance_level, identity_authentication_level, level_of_assurance, identification_source, civil_registration_number, organization_name, organization_number, authorized_representative_number, address].hash
|
|
217
228
|
end
|
|
218
229
|
|
|
219
230
|
# Builds the object from hash
|
|
@@ -33,7 +33,7 @@ module TrinsicApi
|
|
|
33
33
|
# Document expiration date as it appears on mobile ID (mDowód).
|
|
34
34
|
attr_accessor :expiration_date
|
|
35
35
|
|
|
36
|
-
# The raw bytes of an optional selfie image collected from the individual. Requirements from the provider: - JPEG or PNG - At least 720 pixels wide (1080 pixels recommended) - Not exceeding 10 MB - Clear, front-facing photo with good lighting and no sunglasses or face coverings.
|
|
36
|
+
# The raw bytes of an optional selfie image collected from the individual. When using an SDK, this can be a raw byte array. In raw JSON form this is Base64. Requirements from the provider: - JPEG or PNG - At least 720 pixels wide (1080 pixels recommended) - Not exceeding 10 MB - Clear, front-facing photo with good lighting and no sunglasses or face coverings.
|
|
37
37
|
attr_accessor :selfie_bytes
|
|
38
38
|
|
|
39
39
|
# The MIME type of the file contained in SelfieBytes. Must be one of `image/jpeg` or `image/png`.
|
|
@@ -21,6 +21,9 @@ module TrinsicApi
|
|
|
21
21
|
# The display name of the provider
|
|
22
22
|
attr_accessor :name
|
|
23
23
|
|
|
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
|
+
attr_accessor :localized_display_names
|
|
26
|
+
|
|
24
27
|
# The URL of the provider's logo
|
|
25
28
|
attr_accessor :logo_url
|
|
26
29
|
|
|
@@ -105,6 +108,7 @@ module TrinsicApi
|
|
|
105
108
|
{
|
|
106
109
|
:'id' => :'id',
|
|
107
110
|
:'name' => :'name',
|
|
111
|
+
:'localized_display_names' => :'localizedDisplayNames',
|
|
108
112
|
:'logo_url' => :'logoUrl',
|
|
109
113
|
:'subtext' => :'subtext',
|
|
110
114
|
:'regions' => :'regions',
|
|
@@ -142,6 +146,7 @@ module TrinsicApi
|
|
|
142
146
|
{
|
|
143
147
|
:'id' => :'String',
|
|
144
148
|
:'name' => :'String',
|
|
149
|
+
:'localized_display_names' => :'Hash<String, String>',
|
|
145
150
|
:'logo_url' => :'String',
|
|
146
151
|
:'subtext' => :'String',
|
|
147
152
|
:'regions' => :'Array<String>',
|
|
@@ -167,6 +172,7 @@ module TrinsicApi
|
|
|
167
172
|
# List of attributes with nullable: true
|
|
168
173
|
def self.openapi_nullable
|
|
169
174
|
Set.new([
|
|
175
|
+
:'localized_display_names',
|
|
170
176
|
:'supported_languages',
|
|
171
177
|
:'available_attributes',
|
|
172
178
|
:'available_attachments',
|
|
@@ -202,6 +208,12 @@ module TrinsicApi
|
|
|
202
208
|
self.name = nil
|
|
203
209
|
end
|
|
204
210
|
|
|
211
|
+
if attributes.key?(:'localized_display_names')
|
|
212
|
+
if (value = attributes[:'localized_display_names']).is_a?(Hash)
|
|
213
|
+
self.localized_display_names = value
|
|
214
|
+
end
|
|
215
|
+
end
|
|
216
|
+
|
|
205
217
|
if attributes.key?(:'logo_url')
|
|
206
218
|
self.logo_url = attributes[:'logo_url']
|
|
207
219
|
else
|
|
@@ -600,6 +612,7 @@ module TrinsicApi
|
|
|
600
612
|
self.class == o.class &&
|
|
601
613
|
id == o.id &&
|
|
602
614
|
name == o.name &&
|
|
615
|
+
localized_display_names == o.localized_display_names &&
|
|
603
616
|
logo_url == o.logo_url &&
|
|
604
617
|
subtext == o.subtext &&
|
|
605
618
|
regions == o.regions &&
|
|
@@ -630,7 +643,7 @@ module TrinsicApi
|
|
|
630
643
|
# Calculates hash code according to all attributes.
|
|
631
644
|
# @return [Integer] Hash code
|
|
632
645
|
def hash
|
|
633
|
-
[id, name, 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
|
|
646
|
+
[id, name, localized_display_names, 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
|
|
634
647
|
end
|
|
635
648
|
|
|
636
649
|
# Builds the object from hash
|
|
@@ -90,6 +90,9 @@ module TrinsicApi
|
|
|
90
90
|
# Input for the `brazil-digital-cnh` provider
|
|
91
91
|
attr_accessor :brazil_digital_cnh
|
|
92
92
|
|
|
93
|
+
# Input for the `jordan-sanad` provider.
|
|
94
|
+
attr_accessor :jordan_sanad
|
|
95
|
+
|
|
93
96
|
# Input for the `philippines-philsys-match` provider
|
|
94
97
|
attr_accessor :philippines_philsys_match
|
|
95
98
|
|
|
@@ -108,6 +111,15 @@ module TrinsicApi
|
|
|
108
111
|
# Input for the `netherlands-idin` provider
|
|
109
112
|
attr_accessor :netherlands_idin
|
|
110
113
|
|
|
114
|
+
# Input for the `finnish-trust-network` provider.
|
|
115
|
+
attr_accessor :finnish_trust_network
|
|
116
|
+
|
|
117
|
+
# Input for the `czech-bank-id` provider.
|
|
118
|
+
attr_accessor :czech_bank_id
|
|
119
|
+
|
|
120
|
+
# Input for the `australia-connect-id` provider.
|
|
121
|
+
attr_accessor :australia_connect_id
|
|
122
|
+
|
|
111
123
|
# Input for the `italy-spid` provider
|
|
112
124
|
attr_accessor :italy_spid
|
|
113
125
|
|
|
@@ -159,6 +171,9 @@ module TrinsicApi
|
|
|
159
171
|
# Input for the `uk-evisa-lookup` provider
|
|
160
172
|
attr_accessor :uk_evisa_lookup
|
|
161
173
|
|
|
174
|
+
# Input for the `usa-arizona-wallet` provider
|
|
175
|
+
attr_accessor :usa_arizona_wallet
|
|
176
|
+
|
|
162
177
|
# Input for the `usa-california-dmv` provider
|
|
163
178
|
attr_accessor :usa_california_dmv
|
|
164
179
|
|
|
@@ -196,12 +211,16 @@ module TrinsicApi
|
|
|
196
211
|
:'korea_telco_match' => :'korea-telco-match',
|
|
197
212
|
:'brazil_cpf_lookup' => :'brazil-cpf-lookup',
|
|
198
213
|
:'brazil_digital_cnh' => :'brazil-digital-cnh',
|
|
214
|
+
:'jordan_sanad' => :'jordan-sanad',
|
|
199
215
|
:'philippines_philsys_match' => :'philippines-philsys-match',
|
|
200
216
|
:'philippines_physical_national_id_qr' => :'philippines-physical-national-id-qr',
|
|
201
217
|
:'philippines_digital_national_id_qr' => :'philippines-digital-national-id-qr',
|
|
202
218
|
:'smart_id' => :'smart-id',
|
|
203
219
|
:'mobile_id' => :'mobile-id',
|
|
204
220
|
:'netherlands_idin' => :'netherlands-idin',
|
|
221
|
+
:'finnish_trust_network' => :'finnish-trust-network',
|
|
222
|
+
:'czech_bank_id' => :'czech-bank-id',
|
|
223
|
+
:'australia_connect_id' => :'australia-connect-id',
|
|
205
224
|
:'italy_spid' => :'italy-spid',
|
|
206
225
|
:'google_wallet' => :'google-wallet',
|
|
207
226
|
:'apple_wallet' => :'apple-wallet',
|
|
@@ -220,6 +239,7 @@ module TrinsicApi
|
|
|
220
239
|
:'panama_cedula_lookup' => :'panama-cedula-lookup',
|
|
221
240
|
:'peru_dni_lookup' => :'peru-dni-lookup',
|
|
222
241
|
:'uk_evisa_lookup' => :'uk-evisa-lookup',
|
|
242
|
+
:'usa_arizona_wallet' => :'usa-arizona-wallet',
|
|
223
243
|
:'usa_california_dmv' => :'usa-california-dmv',
|
|
224
244
|
:'trinsic_test_database_lookup' => :'trinsic-test-database-lookup',
|
|
225
245
|
:'trinsic_test_sub_providers' => :'trinsic-test-sub-providers'
|
|
@@ -264,12 +284,16 @@ module TrinsicApi
|
|
|
264
284
|
:'korea_telco_match' => :'KoreaTelcoMatchInput',
|
|
265
285
|
:'brazil_cpf_lookup' => :'BrazilCpfCheckInput',
|
|
266
286
|
:'brazil_digital_cnh' => :'BrazilDigitalCnhInput',
|
|
287
|
+
:'jordan_sanad' => :'JordanSanadInput',
|
|
267
288
|
:'philippines_philsys_match' => :'PhilippineMatchInput',
|
|
268
289
|
:'philippines_physical_national_id_qr' => :'PhilippineQRInput',
|
|
269
290
|
:'philippines_digital_national_id_qr' => :'PhilippineQRInput',
|
|
270
291
|
:'smart_id' => :'SmartIdInput',
|
|
271
292
|
:'mobile_id' => :'MobileIdInput',
|
|
272
293
|
:'netherlands_idin' => :'IdinInput',
|
|
294
|
+
:'finnish_trust_network' => :'FinnishTrustNetworkInput',
|
|
295
|
+
:'czech_bank_id' => :'CzechBankIdInput',
|
|
296
|
+
:'australia_connect_id' => :'ConnectIdInput',
|
|
273
297
|
:'italy_spid' => :'SpidInput',
|
|
274
298
|
:'google_wallet' => :'GoogleWalletInput',
|
|
275
299
|
:'apple_wallet' => :'AppleWalletInput',
|
|
@@ -288,6 +312,7 @@ module TrinsicApi
|
|
|
288
312
|
:'panama_cedula_lookup' => :'PanamaCedulaLookupInput',
|
|
289
313
|
:'peru_dni_lookup' => :'PeruDniLookupInput',
|
|
290
314
|
:'uk_evisa_lookup' => :'UkEvisaLookupInput',
|
|
315
|
+
:'usa_arizona_wallet' => :'UsaArizonaWalletInput',
|
|
291
316
|
:'usa_california_dmv' => :'UsaCaliforniaDmvInput',
|
|
292
317
|
:'trinsic_test_database_lookup' => :'TrinsicTestDatabaseLookupInput',
|
|
293
318
|
:'trinsic_test_sub_providers' => :'TrinsicTestSubProvidersInput'
|
|
@@ -322,12 +347,16 @@ module TrinsicApi
|
|
|
322
347
|
:'korea_telco_match',
|
|
323
348
|
:'brazil_cpf_lookup',
|
|
324
349
|
:'brazil_digital_cnh',
|
|
350
|
+
:'jordan_sanad',
|
|
325
351
|
:'philippines_philsys_match',
|
|
326
352
|
:'philippines_physical_national_id_qr',
|
|
327
353
|
:'philippines_digital_national_id_qr',
|
|
328
354
|
:'smart_id',
|
|
329
355
|
:'mobile_id',
|
|
330
356
|
:'netherlands_idin',
|
|
357
|
+
:'finnish_trust_network',
|
|
358
|
+
:'czech_bank_id',
|
|
359
|
+
:'australia_connect_id',
|
|
331
360
|
:'italy_spid',
|
|
332
361
|
:'google_wallet',
|
|
333
362
|
:'apple_wallet',
|
|
@@ -346,6 +375,7 @@ module TrinsicApi
|
|
|
346
375
|
:'panama_cedula_lookup',
|
|
347
376
|
:'peru_dni_lookup',
|
|
348
377
|
:'uk_evisa_lookup',
|
|
378
|
+
:'usa_arizona_wallet',
|
|
349
379
|
:'usa_california_dmv',
|
|
350
380
|
:'trinsic_test_database_lookup',
|
|
351
381
|
:'trinsic_test_sub_providers'
|
|
@@ -468,6 +498,10 @@ module TrinsicApi
|
|
|
468
498
|
self.brazil_digital_cnh = attributes[:'brazil_digital_cnh']
|
|
469
499
|
end
|
|
470
500
|
|
|
501
|
+
if attributes.key?(:'jordan_sanad')
|
|
502
|
+
self.jordan_sanad = attributes[:'jordan_sanad']
|
|
503
|
+
end
|
|
504
|
+
|
|
471
505
|
if attributes.key?(:'philippines_philsys_match')
|
|
472
506
|
self.philippines_philsys_match = attributes[:'philippines_philsys_match']
|
|
473
507
|
end
|
|
@@ -492,6 +526,18 @@ module TrinsicApi
|
|
|
492
526
|
self.netherlands_idin = attributes[:'netherlands_idin']
|
|
493
527
|
end
|
|
494
528
|
|
|
529
|
+
if attributes.key?(:'finnish_trust_network')
|
|
530
|
+
self.finnish_trust_network = attributes[:'finnish_trust_network']
|
|
531
|
+
end
|
|
532
|
+
|
|
533
|
+
if attributes.key?(:'czech_bank_id')
|
|
534
|
+
self.czech_bank_id = attributes[:'czech_bank_id']
|
|
535
|
+
end
|
|
536
|
+
|
|
537
|
+
if attributes.key?(:'australia_connect_id')
|
|
538
|
+
self.australia_connect_id = attributes[:'australia_connect_id']
|
|
539
|
+
end
|
|
540
|
+
|
|
495
541
|
if attributes.key?(:'italy_spid')
|
|
496
542
|
self.italy_spid = attributes[:'italy_spid']
|
|
497
543
|
end
|
|
@@ -564,6 +610,10 @@ module TrinsicApi
|
|
|
564
610
|
self.uk_evisa_lookup = attributes[:'uk_evisa_lookup']
|
|
565
611
|
end
|
|
566
612
|
|
|
613
|
+
if attributes.key?(:'usa_arizona_wallet')
|
|
614
|
+
self.usa_arizona_wallet = attributes[:'usa_arizona_wallet']
|
|
615
|
+
end
|
|
616
|
+
|
|
567
617
|
if attributes.key?(:'usa_california_dmv')
|
|
568
618
|
self.usa_california_dmv = attributes[:'usa_california_dmv']
|
|
569
619
|
end
|
|
@@ -622,12 +672,16 @@ module TrinsicApi
|
|
|
622
672
|
korea_telco_match == o.korea_telco_match &&
|
|
623
673
|
brazil_cpf_lookup == o.brazil_cpf_lookup &&
|
|
624
674
|
brazil_digital_cnh == o.brazil_digital_cnh &&
|
|
675
|
+
jordan_sanad == o.jordan_sanad &&
|
|
625
676
|
philippines_philsys_match == o.philippines_philsys_match &&
|
|
626
677
|
philippines_physical_national_id_qr == o.philippines_physical_national_id_qr &&
|
|
627
678
|
philippines_digital_national_id_qr == o.philippines_digital_national_id_qr &&
|
|
628
679
|
smart_id == o.smart_id &&
|
|
629
680
|
mobile_id == o.mobile_id &&
|
|
630
681
|
netherlands_idin == o.netherlands_idin &&
|
|
682
|
+
finnish_trust_network == o.finnish_trust_network &&
|
|
683
|
+
czech_bank_id == o.czech_bank_id &&
|
|
684
|
+
australia_connect_id == o.australia_connect_id &&
|
|
631
685
|
italy_spid == o.italy_spid &&
|
|
632
686
|
google_wallet == o.google_wallet &&
|
|
633
687
|
apple_wallet == o.apple_wallet &&
|
|
@@ -646,6 +700,7 @@ module TrinsicApi
|
|
|
646
700
|
panama_cedula_lookup == o.panama_cedula_lookup &&
|
|
647
701
|
peru_dni_lookup == o.peru_dni_lookup &&
|
|
648
702
|
uk_evisa_lookup == o.uk_evisa_lookup &&
|
|
703
|
+
usa_arizona_wallet == o.usa_arizona_wallet &&
|
|
649
704
|
usa_california_dmv == o.usa_california_dmv &&
|
|
650
705
|
trinsic_test_database_lookup == o.trinsic_test_database_lookup &&
|
|
651
706
|
trinsic_test_sub_providers == o.trinsic_test_sub_providers
|
|
@@ -660,7 +715,7 @@ module TrinsicApi
|
|
|
660
715
|
# Calculates hash code according to all attributes.
|
|
661
716
|
# @return [Integer] Hash code
|
|
662
717
|
def hash
|
|
663
|
-
[trinsic_mock_output, indonesia_nik_lookup, china_resident_id_match, evrotrust, indonesia_dukcapil_match, mexico_curp_lookup, south_africa_nid_lookup, kenya_nid_lookup, kenya_nid_match_2, kenya_nid_lookup_2, south_africa_nid_lookup_2, south_africa_nid_match_2, nigeria_nin_lookup_2, nigeria_nin_lookup_3, kenya_nid_lookup_3, cote_divoire_nid_lookup_2, zimbabwe_nid_lookup_2, nigeria_nin_match_2, uganda_nid_match_2, nigeria_nin_lookup, india_digilocker_aadhaar_match, india_pan_lookup, korea_telco_match, brazil_cpf_lookup, brazil_digital_cnh, philippines_philsys_match, philippines_physical_national_id_qr, philippines_digital_national_id_qr, smart_id, mobile_id, netherlands_idin, 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_california_dmv, trinsic_test_database_lookup, trinsic_test_sub_providers].hash
|
|
718
|
+
[trinsic_mock_output, indonesia_nik_lookup, china_resident_id_match, evrotrust, indonesia_dukcapil_match, mexico_curp_lookup, south_africa_nid_lookup, kenya_nid_lookup, kenya_nid_match_2, kenya_nid_lookup_2, south_africa_nid_lookup_2, south_africa_nid_match_2, nigeria_nin_lookup_2, nigeria_nin_lookup_3, kenya_nid_lookup_3, cote_divoire_nid_lookup_2, zimbabwe_nid_lookup_2, nigeria_nin_match_2, uganda_nid_match_2, nigeria_nin_lookup, 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
|
|
664
719
|
end
|
|
665
720
|
|
|
666
721
|
# Builds the object from hash
|