trinsic_api 2.1.0.pre.alpha1 → 2.1.1.pre.alpha1
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/IndonesiaDukcapilBiometricMatchInput.md +32 -0
- data/docs/ProviderInput.md +2 -0
- data/lib/trinsic_api/models/indonesia_dukcapil_biometric_match_input.rb +299 -0
- data/lib/trinsic_api/models/provider_input.rb +12 -1
- data/lib/trinsic_api/version.rb +1 -1
- data/lib/trinsic_api.rb +1 -0
- data/spec/models/indonesia_dukcapil_biometric_match_input_spec.rb +78 -0
- data/spec/models/provider_input_spec.rb +6 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a346d0651e7c914f39cdef64d102ac58d2a2cc2daf632abc1b32d5122d206e1c
|
4
|
+
data.tar.gz: 73e7f867e74146e7016868de55ef50a6a4873b97f10fb8c6535448aef5838e50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ad1af9364ec817ad3700e70bf4d55f07bcb41a86f43389c6a87321779e7d6b5794b685483d1d7c6e16a921e186986da500e47e2f275c6e3e8790a0a41ffc928
|
7
|
+
data.tar.gz: b7c0e7e868aa712a840c35727c5a8b1f52bad5ddd9085c798ee9309686a75dd70423104ab186ae9886578198fa43bed8977d4ea7f570749fd4345ef354733251
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# TrinsicApi::IndonesiaDukcapilBiometricMatchInput
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **full_name** | **String** | The user's full name | [optional] |
|
8
|
+
| **date_of_birth** | **Date** | The user's date of birth, in `YYYY-MM-DD` format | [optional] |
|
9
|
+
| **nik_id_number** | **String** | The user's Indonesia NIK ID number | [optional] |
|
10
|
+
| **email** | **String** | The email address of the individual. Either email or phone number must be provided. | [optional] |
|
11
|
+
| **phone_number** | **String** | The phone number of the individual. Either email or phone number must be provided. | [optional] |
|
12
|
+
| **selfie_image** | **String** | The raw bytes of the selfie image of the individual. Must be JPEG format; 1MB maximum. | [optional] |
|
13
|
+
| **document_image** | **String** | The raw bytes of the image of the individual's KTP government ID. Must be JPEG format; 1MB maximum. Optional. | [optional] |
|
14
|
+
| **consent_given_at** | **Time** | The timestamp when consent was given by the user for the verification. | [optional] |
|
15
|
+
|
16
|
+
## Example
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'trinsic_api'
|
20
|
+
|
21
|
+
instance = TrinsicApi::IndonesiaDukcapilBiometricMatchInput.new(
|
22
|
+
full_name: null,
|
23
|
+
date_of_birth: null,
|
24
|
+
nik_id_number: null,
|
25
|
+
email: null,
|
26
|
+
phone_number: null,
|
27
|
+
selfie_image: null,
|
28
|
+
document_image: null,
|
29
|
+
consent_given_at: null
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
data/docs/ProviderInput.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **indonesia_nik** | [**IndonesiaNikInput**](IndonesiaNikInput.md) | Input for the `indonesia-nik-lookup` provider | [optional] |
|
8
|
+
| **indonesia_dukcapil_biometric_match** | [**IndonesiaDukcapilBiometricMatchInput**](IndonesiaDukcapilBiometricMatchInput.md) | Input for the `indonesia-dukcapil-biometric-match` provider | [optional] |
|
8
9
|
| **mexico_curp** | [**MexicoCurpInput**](MexicoCurpInput.md) | Input for the `mexico-curp-lookup` provider | [optional] |
|
9
10
|
| **south_africa_nid** | [**SouthAfricaNidInput**](SouthAfricaNidInput.md) | Input for the `south-africa-nid-lookup` provider | [optional] |
|
10
11
|
| **kenya_nid** | [**KenyaNidInput**](KenyaNidInput.md) | Input for the `kenya-nid-lookup` provider | [optional] |
|
@@ -29,6 +30,7 @@ require 'trinsic_api'
|
|
29
30
|
|
30
31
|
instance = TrinsicApi::ProviderInput.new(
|
31
32
|
indonesia_nik: null,
|
33
|
+
indonesia_dukcapil_biometric_match: null,
|
32
34
|
mexico_curp: null,
|
33
35
|
south_africa_nid: null,
|
34
36
|
kenya_nid: null,
|
@@ -0,0 +1,299 @@
|
|
1
|
+
=begin
|
2
|
+
#Trinsic API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.13.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module TrinsicApi
|
17
|
+
class IndonesiaDukcapilBiometricMatchInput
|
18
|
+
# The user's full name
|
19
|
+
attr_accessor :full_name
|
20
|
+
|
21
|
+
# The user's date of birth, in `YYYY-MM-DD` format
|
22
|
+
attr_accessor :date_of_birth
|
23
|
+
|
24
|
+
# The user's Indonesia NIK ID number
|
25
|
+
attr_accessor :nik_id_number
|
26
|
+
|
27
|
+
# The email address of the individual. Either email or phone number must be provided.
|
28
|
+
attr_accessor :email
|
29
|
+
|
30
|
+
# The phone number of the individual. Either email or phone number must be provided.
|
31
|
+
attr_accessor :phone_number
|
32
|
+
|
33
|
+
# The raw bytes of the selfie image of the individual. Must be JPEG format; 1MB maximum.
|
34
|
+
attr_accessor :selfie_image
|
35
|
+
|
36
|
+
# The raw bytes of the image of the individual's KTP government ID. Must be JPEG format; 1MB maximum. Optional.
|
37
|
+
attr_accessor :document_image
|
38
|
+
|
39
|
+
# The timestamp when consent was given by the user for the verification.
|
40
|
+
attr_accessor :consent_given_at
|
41
|
+
|
42
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
43
|
+
def self.attribute_map
|
44
|
+
{
|
45
|
+
:'full_name' => :'fullName',
|
46
|
+
:'date_of_birth' => :'dateOfBirth',
|
47
|
+
:'nik_id_number' => :'nikIdNumber',
|
48
|
+
:'email' => :'email',
|
49
|
+
:'phone_number' => :'phoneNumber',
|
50
|
+
:'selfie_image' => :'selfieImage',
|
51
|
+
:'document_image' => :'documentImage',
|
52
|
+
:'consent_given_at' => :'consentGivenAt'
|
53
|
+
}
|
54
|
+
end
|
55
|
+
|
56
|
+
# Returns attribute mapping this model knows about
|
57
|
+
def self.acceptable_attribute_map
|
58
|
+
attribute_map
|
59
|
+
end
|
60
|
+
|
61
|
+
# Returns all the JSON keys this model knows about
|
62
|
+
def self.acceptable_attributes
|
63
|
+
acceptable_attribute_map.values
|
64
|
+
end
|
65
|
+
|
66
|
+
# Attribute type mapping.
|
67
|
+
def self.openapi_types
|
68
|
+
{
|
69
|
+
:'full_name' => :'String',
|
70
|
+
:'date_of_birth' => :'Date',
|
71
|
+
:'nik_id_number' => :'String',
|
72
|
+
:'email' => :'String',
|
73
|
+
:'phone_number' => :'String',
|
74
|
+
:'selfie_image' => :'String',
|
75
|
+
:'document_image' => :'String',
|
76
|
+
:'consent_given_at' => :'Time'
|
77
|
+
}
|
78
|
+
end
|
79
|
+
|
80
|
+
# List of attributes with nullable: true
|
81
|
+
def self.openapi_nullable
|
82
|
+
Set.new([
|
83
|
+
:'full_name',
|
84
|
+
:'date_of_birth',
|
85
|
+
:'nik_id_number',
|
86
|
+
:'email',
|
87
|
+
:'phone_number',
|
88
|
+
:'selfie_image',
|
89
|
+
:'document_image',
|
90
|
+
:'consent_given_at'
|
91
|
+
])
|
92
|
+
end
|
93
|
+
|
94
|
+
# Initializes the object
|
95
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
96
|
+
def initialize(attributes = {})
|
97
|
+
if (!attributes.is_a?(Hash))
|
98
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::IndonesiaDukcapilBiometricMatchInput` initialize method"
|
99
|
+
end
|
100
|
+
|
101
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
102
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
103
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
104
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
105
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::IndonesiaDukcapilBiometricMatchInput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
106
|
+
end
|
107
|
+
h[k.to_sym] = v
|
108
|
+
}
|
109
|
+
|
110
|
+
if attributes.key?(:'full_name')
|
111
|
+
self.full_name = attributes[:'full_name']
|
112
|
+
end
|
113
|
+
|
114
|
+
if attributes.key?(:'date_of_birth')
|
115
|
+
self.date_of_birth = attributes[:'date_of_birth']
|
116
|
+
end
|
117
|
+
|
118
|
+
if attributes.key?(:'nik_id_number')
|
119
|
+
self.nik_id_number = attributes[:'nik_id_number']
|
120
|
+
end
|
121
|
+
|
122
|
+
if attributes.key?(:'email')
|
123
|
+
self.email = attributes[:'email']
|
124
|
+
end
|
125
|
+
|
126
|
+
if attributes.key?(:'phone_number')
|
127
|
+
self.phone_number = attributes[:'phone_number']
|
128
|
+
end
|
129
|
+
|
130
|
+
if attributes.key?(:'selfie_image')
|
131
|
+
self.selfie_image = attributes[:'selfie_image']
|
132
|
+
end
|
133
|
+
|
134
|
+
if attributes.key?(:'document_image')
|
135
|
+
self.document_image = attributes[:'document_image']
|
136
|
+
end
|
137
|
+
|
138
|
+
if attributes.key?(:'consent_given_at')
|
139
|
+
self.consent_given_at = attributes[:'consent_given_at']
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
144
|
+
# @return Array for valid properties with the reasons
|
145
|
+
def list_invalid_properties
|
146
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
147
|
+
invalid_properties = Array.new
|
148
|
+
invalid_properties
|
149
|
+
end
|
150
|
+
|
151
|
+
# Check to see if the all the properties in the model are valid
|
152
|
+
# @return true if the model is valid
|
153
|
+
def valid?
|
154
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
155
|
+
true
|
156
|
+
end
|
157
|
+
|
158
|
+
# Checks equality by comparing each attribute.
|
159
|
+
# @param [Object] Object to be compared
|
160
|
+
def ==(o)
|
161
|
+
return true if self.equal?(o)
|
162
|
+
self.class == o.class &&
|
163
|
+
full_name == o.full_name &&
|
164
|
+
date_of_birth == o.date_of_birth &&
|
165
|
+
nik_id_number == o.nik_id_number &&
|
166
|
+
email == o.email &&
|
167
|
+
phone_number == o.phone_number &&
|
168
|
+
selfie_image == o.selfie_image &&
|
169
|
+
document_image == o.document_image &&
|
170
|
+
consent_given_at == o.consent_given_at
|
171
|
+
end
|
172
|
+
|
173
|
+
# @see the `==` method
|
174
|
+
# @param [Object] Object to be compared
|
175
|
+
def eql?(o)
|
176
|
+
self == o
|
177
|
+
end
|
178
|
+
|
179
|
+
# Calculates hash code according to all attributes.
|
180
|
+
# @return [Integer] Hash code
|
181
|
+
def hash
|
182
|
+
[full_name, date_of_birth, nik_id_number, email, phone_number, selfie_image, document_image, consent_given_at].hash
|
183
|
+
end
|
184
|
+
|
185
|
+
# Builds the object from hash
|
186
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
187
|
+
# @return [Object] Returns the model itself
|
188
|
+
def self.build_from_hash(attributes)
|
189
|
+
return nil unless attributes.is_a?(Hash)
|
190
|
+
attributes = attributes.transform_keys(&:to_sym)
|
191
|
+
transformed_hash = {}
|
192
|
+
openapi_types.each_pair do |key, type|
|
193
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
194
|
+
transformed_hash["#{key}"] = nil
|
195
|
+
elsif type =~ /\AArray<(.*)>/i
|
196
|
+
# check to ensure the input is an array given that the attribute
|
197
|
+
# is documented as an array but the input is not
|
198
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
199
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
200
|
+
end
|
201
|
+
elsif !attributes[attribute_map[key]].nil?
|
202
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
203
|
+
end
|
204
|
+
end
|
205
|
+
new(transformed_hash)
|
206
|
+
end
|
207
|
+
|
208
|
+
# Deserializes the data based on type
|
209
|
+
# @param string type Data type
|
210
|
+
# @param string value Value to be deserialized
|
211
|
+
# @return [Object] Deserialized data
|
212
|
+
def self._deserialize(type, value)
|
213
|
+
case type.to_sym
|
214
|
+
when :Time
|
215
|
+
Time.parse(value)
|
216
|
+
when :Date
|
217
|
+
Date.parse(value)
|
218
|
+
when :String
|
219
|
+
value.to_s
|
220
|
+
when :Integer
|
221
|
+
value.to_i
|
222
|
+
when :Float
|
223
|
+
value.to_f
|
224
|
+
when :Boolean
|
225
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
226
|
+
true
|
227
|
+
else
|
228
|
+
false
|
229
|
+
end
|
230
|
+
when :Object
|
231
|
+
# generic object (usually a Hash), return directly
|
232
|
+
value
|
233
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
234
|
+
inner_type = Regexp.last_match[:inner_type]
|
235
|
+
value.map { |v| _deserialize(inner_type, v) }
|
236
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
237
|
+
k_type = Regexp.last_match[:k_type]
|
238
|
+
v_type = Regexp.last_match[:v_type]
|
239
|
+
{}.tap do |hash|
|
240
|
+
value.each do |k, v|
|
241
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
242
|
+
end
|
243
|
+
end
|
244
|
+
else # model
|
245
|
+
# models (e.g. Pet) or oneOf
|
246
|
+
klass = TrinsicApi.const_get(type)
|
247
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
251
|
+
# Returns the string representation of the object
|
252
|
+
# @return [String] String presentation of the object
|
253
|
+
def to_s
|
254
|
+
to_hash.to_s
|
255
|
+
end
|
256
|
+
|
257
|
+
# to_body is an alias to to_hash (backward compatibility)
|
258
|
+
# @return [Hash] Returns the object in the form of hash
|
259
|
+
def to_body
|
260
|
+
to_hash
|
261
|
+
end
|
262
|
+
|
263
|
+
# Returns the object in the form of hash
|
264
|
+
# @return [Hash] Returns the object in the form of hash
|
265
|
+
def to_hash
|
266
|
+
hash = {}
|
267
|
+
self.class.attribute_map.each_pair do |attr, param|
|
268
|
+
value = self.send(attr)
|
269
|
+
if value.nil?
|
270
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
271
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
272
|
+
end
|
273
|
+
|
274
|
+
hash[param] = _to_hash(value)
|
275
|
+
end
|
276
|
+
hash
|
277
|
+
end
|
278
|
+
|
279
|
+
# Outputs non-array value in the form of hash
|
280
|
+
# For object, use to_hash. Otherwise, just return the value
|
281
|
+
# @param [Object] value Any valid value
|
282
|
+
# @return [Hash] Returns the value in the form of hash
|
283
|
+
def _to_hash(value)
|
284
|
+
if value.is_a?(Array)
|
285
|
+
value.compact.map { |v| _to_hash(v) }
|
286
|
+
elsif value.is_a?(Hash)
|
287
|
+
{}.tap do |hash|
|
288
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
289
|
+
end
|
290
|
+
elsif value.respond_to? :to_hash
|
291
|
+
value.to_hash
|
292
|
+
else
|
293
|
+
value
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
297
|
+
end
|
298
|
+
|
299
|
+
end
|
@@ -18,6 +18,9 @@ module TrinsicApi
|
|
18
18
|
# Input for the `indonesia-nik-lookup` provider
|
19
19
|
attr_accessor :indonesia_nik
|
20
20
|
|
21
|
+
# Input for the `indonesia-dukcapil-biometric-match` provider
|
22
|
+
attr_accessor :indonesia_dukcapil_biometric_match
|
23
|
+
|
21
24
|
# Input for the `mexico-curp-lookup` provider
|
22
25
|
attr_accessor :mexico_curp
|
23
26
|
|
@@ -70,6 +73,7 @@ module TrinsicApi
|
|
70
73
|
def self.attribute_map
|
71
74
|
{
|
72
75
|
:'indonesia_nik' => :'indonesiaNik',
|
76
|
+
:'indonesia_dukcapil_biometric_match' => :'indonesiaDukcapilBiometricMatch',
|
73
77
|
:'mexico_curp' => :'mexicoCurp',
|
74
78
|
:'south_africa_nid' => :'southAfricaNid',
|
75
79
|
:'kenya_nid' => :'kenyaNid',
|
@@ -103,6 +107,7 @@ module TrinsicApi
|
|
103
107
|
def self.openapi_types
|
104
108
|
{
|
105
109
|
:'indonesia_nik' => :'IndonesiaNikInput',
|
110
|
+
:'indonesia_dukcapil_biometric_match' => :'IndonesiaDukcapilBiometricMatchInput',
|
106
111
|
:'mexico_curp' => :'MexicoCurpInput',
|
107
112
|
:'south_africa_nid' => :'SouthAfricaNidInput',
|
108
113
|
:'kenya_nid' => :'KenyaNidInput',
|
@@ -126,6 +131,7 @@ module TrinsicApi
|
|
126
131
|
def self.openapi_nullable
|
127
132
|
Set.new([
|
128
133
|
:'indonesia_nik',
|
134
|
+
:'indonesia_dukcapil_biometric_match',
|
129
135
|
:'mexico_curp',
|
130
136
|
:'south_africa_nid',
|
131
137
|
:'kenya_nid',
|
@@ -165,6 +171,10 @@ module TrinsicApi
|
|
165
171
|
self.indonesia_nik = attributes[:'indonesia_nik']
|
166
172
|
end
|
167
173
|
|
174
|
+
if attributes.key?(:'indonesia_dukcapil_biometric_match')
|
175
|
+
self.indonesia_dukcapil_biometric_match = attributes[:'indonesia_dukcapil_biometric_match']
|
176
|
+
end
|
177
|
+
|
168
178
|
if attributes.key?(:'mexico_curp')
|
169
179
|
self.mexico_curp = attributes[:'mexico_curp']
|
170
180
|
end
|
@@ -251,6 +261,7 @@ module TrinsicApi
|
|
251
261
|
return true if self.equal?(o)
|
252
262
|
self.class == o.class &&
|
253
263
|
indonesia_nik == o.indonesia_nik &&
|
264
|
+
indonesia_dukcapil_biometric_match == o.indonesia_dukcapil_biometric_match &&
|
254
265
|
mexico_curp == o.mexico_curp &&
|
255
266
|
south_africa_nid == o.south_africa_nid &&
|
256
267
|
kenya_nid == o.kenya_nid &&
|
@@ -278,7 +289,7 @@ module TrinsicApi
|
|
278
289
|
# Calculates hash code according to all attributes.
|
279
290
|
# @return [Integer] Hash code
|
280
291
|
def hash
|
281
|
-
[indonesia_nik, mexico_curp, south_africa_nid, kenya_nid, nigeria_nin, aadhaar, bangladesh_national_id, brazil_cpf_check, brazil_digital_cnh, philippine_match, philippine_qr, smart_id, mobile_id, idin, spid, trinsic_test_database_lookup, trinsic_test_sub_providers].hash
|
292
|
+
[indonesia_nik, indonesia_dukcapil_biometric_match, mexico_curp, south_africa_nid, kenya_nid, nigeria_nin, aadhaar, bangladesh_national_id, brazil_cpf_check, brazil_digital_cnh, philippine_match, philippine_qr, smart_id, mobile_id, idin, spid, trinsic_test_database_lookup, trinsic_test_sub_providers].hash
|
282
293
|
end
|
283
294
|
|
284
295
|
# Builds the object from hash
|
data/lib/trinsic_api/version.rb
CHANGED
data/lib/trinsic_api.rb
CHANGED
@@ -43,6 +43,7 @@ require 'trinsic_api/models/get_session_result_response'
|
|
43
43
|
require 'trinsic_api/models/http_validation_problem_details'
|
44
44
|
require 'trinsic_api/models/identity_data'
|
45
45
|
require 'trinsic_api/models/idin_input'
|
46
|
+
require 'trinsic_api/models/indonesia_dukcapil_biometric_match_input'
|
46
47
|
require 'trinsic_api/models/indonesia_nik_input'
|
47
48
|
require 'trinsic_api/models/integration_capability'
|
48
49
|
require 'trinsic_api/models/integration_launch_method'
|
@@ -0,0 +1,78 @@
|
|
1
|
+
=begin
|
2
|
+
#Trinsic API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.13.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TrinsicApi::IndonesiaDukcapilBiometricMatchInput
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe TrinsicApi::IndonesiaDukcapilBiometricMatchInput do
|
21
|
+
let(:instance) { TrinsicApi::IndonesiaDukcapilBiometricMatchInput.new }
|
22
|
+
|
23
|
+
describe 'test an instance of IndonesiaDukcapilBiometricMatchInput' do
|
24
|
+
it 'should create an instance of IndonesiaDukcapilBiometricMatchInput' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::IndonesiaDukcapilBiometricMatchInput)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "full_name"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "date_of_birth"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "nik_id_number"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "email"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "phone_number"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
describe 'test attribute "selfie_image"' do
|
61
|
+
it 'should work' do
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
describe 'test attribute "document_image"' do
|
67
|
+
it 'should work' do
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
describe 'test attribute "consent_given_at"' do
|
73
|
+
it 'should work' do
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
end
|
@@ -33,6 +33,12 @@ describe TrinsicApi::ProviderInput do
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
+
describe 'test attribute "indonesia_dukcapil_biometric_match"' 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
|
+
|
36
42
|
describe 'test attribute "mexico_curp"' do
|
37
43
|
it 'should work' do
|
38
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trinsic_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1.pre.alpha1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Trinsic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -88,6 +88,7 @@ files:
|
|
88
88
|
- docs/HttpValidationProblemDetails.md
|
89
89
|
- docs/IdentityData.md
|
90
90
|
- docs/IdinInput.md
|
91
|
+
- docs/IndonesiaDukcapilBiometricMatchInput.md
|
91
92
|
- docs/IndonesiaNikInput.md
|
92
93
|
- docs/IntegrationCapability.md
|
93
94
|
- docs/IntegrationLaunchMethod.md
|
@@ -165,6 +166,7 @@ files:
|
|
165
166
|
- lib/trinsic_api/models/http_validation_problem_details.rb
|
166
167
|
- lib/trinsic_api/models/identity_data.rb
|
167
168
|
- lib/trinsic_api/models/idin_input.rb
|
169
|
+
- lib/trinsic_api/models/indonesia_dukcapil_biometric_match_input.rb
|
168
170
|
- lib/trinsic_api/models/indonesia_nik_input.rb
|
169
171
|
- lib/trinsic_api/models/integration_capability.rb
|
170
172
|
- lib/trinsic_api/models/integration_launch_method.rb
|
@@ -236,6 +238,7 @@ files:
|
|
236
238
|
- spec/models/http_validation_problem_details_spec.rb
|
237
239
|
- spec/models/identity_data_spec.rb
|
238
240
|
- spec/models/idin_input_spec.rb
|
241
|
+
- spec/models/indonesia_dukcapil_biometric_match_input_spec.rb
|
239
242
|
- spec/models/indonesia_nik_input_spec.rb
|
240
243
|
- spec/models/integration_capability_spec.rb
|
241
244
|
- spec/models/integration_launch_method_spec.rb
|
@@ -310,6 +313,7 @@ test_files:
|
|
310
313
|
- spec/models/provider_contract_spec.rb
|
311
314
|
- spec/models/get_attachment_response_spec.rb
|
312
315
|
- spec/models/session_ordering_spec.rb
|
316
|
+
- spec/models/indonesia_dukcapil_biometric_match_input_spec.rb
|
313
317
|
- spec/models/session_spec.rb
|
314
318
|
- spec/models/contract_field_spec.rb
|
315
319
|
- spec/models/idin_input_spec.rb
|