didit-sdk 2.14.0 → 2.15.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/CHANGELOG.md +7 -0
- data/lib/didit/resources/account.rb +6 -4
- data/lib/didit/resources/address_validation.rb +2 -1
- data/lib/didit/resources/bank.rb +9 -4
- data/lib/didit/resources/sessions.rb +18 -9
- data/lib/didit/types/account_components.rb +5 -4
- data/lib/didit/types/components.rb +19 -0
- data/lib/didit/types/sessions.rb +4 -3
- data/lib/didit/types.rb +1 -0
- data/lib/didit/version.rb +1 -1
- data/sig/didit/resources/sessions.rbs +1 -1
- data/sig/didit/types/account_components.rbs +1 -0
- data/sig/didit/types/components.rbs +15 -0
- data/sig/didit/types/sessions.rbs +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 97801d2b0ff521137a0a3ee9b944982989e81d9f6af6612210d1a67ac496ca84
|
|
4
|
+
data.tar.gz: 774649779cd7c8ecb6b6bc45ecfc78ab9dd6ceb1059363cb3bc937a8b5787a6f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ffb2f0d32d840b2d75eb6ca483aad10fd6e24b1097dbb482734c545caf1f196bf863430143a4fe6edb109fc667759a9fd3ead4c6a4656e3ad12928badeb297b1
|
|
7
|
+
data.tar.gz: d30065b7e2b1c6507e9eda1943a7f6a19bac26d3d71614c6d3e629a4a24d61a8f2596bdea7c4ebe9cd7c8c095291d6ed6bc5546f78873acf741e7610ede53d1c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.15.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.14.0...v2.15.0) (2026-11-13)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **spec:** sync API spec 2026-11-13 ([9668e12](https://github.com/didit-protocol/sdk-ruby/commit/9668e1273ce001ec5208334bf1fa1fd61f9ebe51))
|
|
9
|
+
|
|
3
10
|
## [2.14.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.13.1...v2.14.0) (2026-11-12)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -157,8 +157,9 @@ module Didit
|
|
|
157
157
|
# @param description [String] Internal description for the application (not shown to end users).
|
|
158
158
|
# @param data_location [String] Where the application's verification data is stored and processed, chosen when
|
|
159
159
|
# the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney),
|
|
160
|
-
# `mx` (Mexico)
|
|
161
|
-
# data location is not available yet.` An organization's Sandbox
|
|
160
|
+
# `mx` (Mexico), `ae` (United Arab Emirates) and `us` (United States, N. Virginia) are coming soon: a request
|
|
161
|
+
# that names them answers 400 `This data location is not available yet.` An organization's Sandbox
|
|
162
|
+
# applicatio...
|
|
162
163
|
# @param initiate_login_uri [String] Application sign-in URL for an admin-sent sign-in link. Optional; an
|
|
163
164
|
# empty string disables sending. A nonempty value must use HTTPS and the exact hostname of website_url
|
|
164
165
|
# (subdomains must match), with no userinfo, query, fragment or whitespace and no port other than 443. The
|
|
@@ -281,8 +282,9 @@ module Didit
|
|
|
281
282
|
# @param description [String] Internal description for the application.
|
|
282
283
|
# @param data_location [String] Where the application's verification data is stored and processed, chosen when
|
|
283
284
|
# the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney),
|
|
284
|
-
# `mx` (Mexico)
|
|
285
|
-
# data location is not available yet.` An organization's Sandbox
|
|
285
|
+
# `mx` (Mexico), `ae` (United Arab Emirates) and `us` (United States, N. Virginia) are coming soon: a request
|
|
286
|
+
# that names them answers 400 `This data location is not available yet.` An organization's Sandbox
|
|
287
|
+
# applicatio...
|
|
286
288
|
# @param initiate_login_uri [String] Application sign-in URL for an admin-sent sign-in link. Optional; an
|
|
287
289
|
# empty string disables sending. A nonempty value must use HTTPS and the exact hostname of website_url
|
|
288
290
|
# (subdomains must match), with no userinfo, query, fragment or whitespace and no port other than 443. The
|
|
@@ -23,7 +23,8 @@ module Didit
|
|
|
23
23
|
# stored apart from the usage record: no session is created and the result is returned only in this response.
|
|
24
24
|
#
|
|
25
25
|
# **Sandbox.** Sandbox keys validate the request and always return a deterministic `verified` result that echoes
|
|
26
|
-
# the address sent,
|
|
26
|
+
# the address sent, with `address_type` and `is_residential` always `null` (the keys are present), without
|
|
27
|
+
# consuming credits.
|
|
27
28
|
#
|
|
28
29
|
# **Authentication.** Send your application's API key in `x-api-key`. Missing or invalid credentials return
|
|
29
30
|
# `403` - this API never returns `401`.
|
data/lib/didit/resources/bank.rb
CHANGED
|
@@ -16,8 +16,11 @@ module Didit
|
|
|
16
16
|
# business account.
|
|
17
17
|
#
|
|
18
18
|
# **What you get back.** `result` is `match`, `close_match`, `no_match` or `cannot_verify`. On a `close_match`,
|
|
19
|
-
# `holder_name` is the name the bank holds the account under, when the bank returned it. `
|
|
20
|
-
#
|
|
19
|
+
# `holder_name` is the name the bank holds the account under, when the bank returned it. `name_match_score` is
|
|
20
|
+
# the 0 to 100 similarity `result` was decided on, so you can apply your own threshold; `result` stays
|
|
21
|
+
# authoritative, decided with the default thresholds (a `match` from 85, a `close_match` from 70). It is `null`
|
|
22
|
+
# when no name was compared: a `cannot_verify`, or a `no_match` for an account that does not exist. `account`
|
|
23
|
+
# comes back masked to its last 4 characters.
|
|
21
24
|
#
|
|
22
25
|
# **Billing.** Each check the bank answers is billed once at the Account check price of the account's country,
|
|
23
26
|
# whatever the result: a `no_match`, an account that does not exist and a `cannot_verify` are billed too. A
|
|
@@ -28,8 +31,10 @@ module Didit
|
|
|
28
31
|
#
|
|
29
32
|
# **Sandbox.** Use a sandbox API key with the sample account details. A sandbox key calls no bank and is charged
|
|
30
33
|
# nothing. The last 4 characters of the IBAN, else of the account number, choose the answer: `0001` a
|
|
31
|
-
# `close_match` with a `holder_name`, `0002` a `close_match` without one
|
|
32
|
-
# `
|
|
34
|
+
# `close_match` with a `holder_name`, `0002` a `close_match` without one (`name_match_score` 78), `0003` a
|
|
35
|
+
# `no_match` (`name_match_score` 0), `0006` a `no_match` for an account that does not exist (`name_match_score`
|
|
36
|
+
# null), `0004` `cannot_verify`, `0005` a `503` and `0009` a `400`. Any other ending is a `match`
|
|
37
|
+
# (`name_match_score` 100).
|
|
33
38
|
#
|
|
34
39
|
# **API keys.** A scoped API key needs write access to sessions.
|
|
35
40
|
#
|
|
@@ -391,18 +391,20 @@ module Didit
|
|
|
391
391
|
# published workflow (created in the Console [Workflows](https://docs.didit.me/console/workflows) page) and an
|
|
392
392
|
# application API key with available credits. Sandbox applications bypass the credit check.
|
|
393
393
|
#
|
|
394
|
-
# **Idempotency:** when `vendor_data` is provided and an unfinished session
|
|
395
|
-
# `Resubmitted`, or `Awaiting User`) with the same `vendor_data` already exists
|
|
396
|
-
# latest published version** (and that session already has a hosted verification
|
|
397
|
-
# returned (still `201`) instead of creating a duplicate - with its `callback` and
|
|
398
|
-
# newly provided values. An unfinished session created on an older version of the
|
|
399
|
-
# been republished) is **not** reused; a new session pinned to the latest published
|
|
400
|
-
# Sessions in `Approved`, `Declined`, `In Review`, `Expired`, `Abandoned`, or `Kyc
|
|
394
|
+
# **Idempotency:** for a User Verification workflow, when `vendor_data` is provided and an unfinished session
|
|
395
|
+
# (`Not Started`, `In Progress`, `Resubmitted`, or `Awaiting User`) with the same `vendor_data` already exists
|
|
396
|
+
# on the workflow's **current latest published version** (and that session already has a hosted verification
|
|
397
|
+
# URL), the existing session is returned (still `201`) instead of creating a duplicate - with its `callback` and
|
|
398
|
+
# `metadata` updated to the newly provided values. An unfinished session created on an older version of the
|
|
399
|
+
# workflow (one that has since been republished) is **not** reused; a new session pinned to the latest published
|
|
400
|
+
# version is created instead. Sessions in `Approved`, `Declined`, `In Review`, `Expired`, `Abandoned`, or `Kyc
|
|
401
|
+
# Expired` are never reused. A Business Verification workflow creates a new session on every call.
|
|
401
402
|
#
|
|
402
403
|
# **Side effects:** the hosted verification URL is generated and stored; if
|
|
403
404
|
# `contact_details.send_notification_emails` is `true` and an email is provided, a verification invite email is
|
|
404
|
-
# sent. The session expires after
|
|
405
|
-
# `contact_details.phone` and
|
|
405
|
+
# sent. The session expires after `session_expiration_time` seconds when the request sets it, otherwise after
|
|
406
|
+
# the workflow's configured session expiration time. For KYB workflows, `contact_details.phone` and
|
|
407
|
+
# `expected_details` are ignored.
|
|
406
408
|
#
|
|
407
409
|
# +POST /v3/session/+
|
|
408
410
|
#
|
|
@@ -435,6 +437,11 @@ module Didit
|
|
|
435
437
|
# characters. Names are case-insensitive and stored in upper case. A name that does not exist yet in the
|
|
436
438
|
# application is created as a new tag. The tags show on the session in the console, where you can filter by
|
|
437
439
|
# them.
|
|
440
|
+
# @param session_expiration_time [Integer] Seconds this session's link stays valid, overriding the workflow's
|
|
441
|
+
# `session_expiration_time` for this session only. Whole number between 3600 (1 hour) and 2419200 (4 weeks), the
|
|
442
|
+
# same bounds as the workflow setting. Omit it to use the workflow's setting. A value outside the range, or one
|
|
443
|
+
# that is not a whole number, returns `400` on `session_expiration_time`. A session created by this call takes
|
|
444
|
+
# th...
|
|
438
445
|
# @param language [String] Language code (ISO 639-1) for the verification process interface. Controls the
|
|
439
446
|
# language displayed to the end user during verification. If not provided, the browser's language will be
|
|
440
447
|
# automatically detected and used. Check all the supported languages [here](/integration/supported-languages).
|
|
@@ -476,6 +483,7 @@ module Didit
|
|
|
476
483
|
callback_method: OMIT,
|
|
477
484
|
metadata: OMIT,
|
|
478
485
|
tags: OMIT,
|
|
486
|
+
session_expiration_time: OMIT,
|
|
479
487
|
language: OMIT,
|
|
480
488
|
contact_details: OMIT,
|
|
481
489
|
expected_details: OMIT,
|
|
@@ -497,6 +505,7 @@ module Didit
|
|
|
497
505
|
"callback_method" => callback_method,
|
|
498
506
|
"metadata" => metadata,
|
|
499
507
|
"tags" => tags,
|
|
508
|
+
"session_expiration_time" => session_expiration_time,
|
|
500
509
|
"language" => language,
|
|
501
510
|
"contact_details" => contact_details,
|
|
502
511
|
"expected_details" => expected_details,
|
|
@@ -15,16 +15,17 @@ module Didit
|
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
# Where the application's verification data is stored and processed, chosen when the application is created. `eu`
|
|
18
|
-
# is the European Union (Ireland), the default. `au` (Australia, Sydney), `mx` (Mexico)
|
|
19
|
-
# Emirates) are coming soon: a request that names them answers 400 `This
|
|
20
|
-
# organization's Sandbox application is always in the European Union.
|
|
18
|
+
# is the European Union (Ireland), the default. `au` (Australia, Sydney), `mx` (Mexico), `ae` (United Arab
|
|
19
|
+
# Emirates) and `us` (United States, N. Virginia) are coming soon: a request that names them answers 400 `This
|
|
20
|
+
# data location is not available yet.` An organization's Sandbox application is always in the European Union.
|
|
21
21
|
module ApplicationDataLocation
|
|
22
22
|
EU = "eu"
|
|
23
23
|
AU = "au"
|
|
24
24
|
MX = "mx"
|
|
25
25
|
AE = "ae"
|
|
26
|
+
US = "us"
|
|
26
27
|
|
|
27
|
-
VALUES = [EU, AU, MX, AE].freeze
|
|
28
|
+
VALUES = [EU, AU, MX, AE, US].freeze
|
|
28
29
|
end
|
|
29
30
|
|
|
30
31
|
# The application's environment. A `live` application bills every verification session and check created with its
|
|
@@ -190,6 +190,22 @@ module Didit
|
|
|
190
190
|
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE, GEOLOCATION, SIGNATURE].freeze
|
|
191
191
|
end
|
|
192
192
|
|
|
193
|
+
# The kind of delivery point the address is, for United States and Canadian addresses: `street`, `po_box` (a PO
|
|
194
|
+
# box or lock box), `high_rise` (a high-rise or business complex), `rural_route`, `general_delivery`, `firm` (a
|
|
195
|
+
# firm or company address) or `building`. `null` for addresses in other countries, when the address has no type on
|
|
196
|
+
# record, and when `status` is `unavailable`.
|
|
197
|
+
module AddressValidationResultAddressType
|
|
198
|
+
STREET = "street"
|
|
199
|
+
PO_BOX = "po_box"
|
|
200
|
+
HIGH_RISE = "high_rise"
|
|
201
|
+
RURAL_ROUTE = "rural_route"
|
|
202
|
+
GENERAL_DELIVERY = "general_delivery"
|
|
203
|
+
FIRM = "firm"
|
|
204
|
+
BUILDING = "building"
|
|
205
|
+
|
|
206
|
+
VALUES = [STREET, PO_BOX, HIGH_RISE, RURAL_ROUTE, GENERAL_DELIVERY, FIRM, BUILDING].freeze
|
|
207
|
+
end
|
|
208
|
+
|
|
193
209
|
# `verified`: the address was confirmed down to the building (or the flat or PO box). `partially_verified`: it was
|
|
194
210
|
# confirmed only to the street, or to the most precise level the postal reference data holds for that place.
|
|
195
211
|
# `not_verified`: only the region or the city matched, or nothing did. `unavailable`: the validation could not run
|
|
@@ -6906,6 +6922,8 @@ module Didit
|
|
|
6906
6922
|
field :formatted_address, "formatted_address", :string
|
|
6907
6923
|
field :latitude, "latitude", :float
|
|
6908
6924
|
field :longitude, "longitude", :float
|
|
6925
|
+
field :address_type, "address_type", :string
|
|
6926
|
+
field :is_residential, "is_residential", :boolean
|
|
6909
6927
|
end
|
|
6910
6928
|
|
|
6911
6929
|
# The normalised address. `null` when `status` is `unavailable`.
|
|
@@ -7212,6 +7230,7 @@ module Didit
|
|
|
7212
7230
|
field :request_id, "request_id", :string
|
|
7213
7231
|
field :result, "result", :string
|
|
7214
7232
|
field :holder_name, "holder_name", :string
|
|
7233
|
+
field :name_match_score, "name_match_score", :integer
|
|
7215
7234
|
field :account, "account", :string
|
|
7216
7235
|
field :vendor_data, "vendor_data", :string
|
|
7217
7236
|
field :created_at, "created_at", :datetime
|
data/lib/didit/types/sessions.rb
CHANGED
|
@@ -317,9 +317,9 @@ module Didit
|
|
|
317
317
|
VALUES = [EN, AR, BG, BN, BS, CA, CNR, CS, DA, DE, EL, ES, ET, FA, FI, FR, HE, HI, HR, HU, HY, ID, IT, JA, KA, KK, KO, KY, LT, LV, MK, MN, MS, NL, NO, PL, PT_BR, PT, RO, RU, SK, SL, SO, SQ, SR, SV, TH, TR, UK, UZ, VI, ZH_CN, ZH_TW, ZH].freeze
|
|
318
318
|
end
|
|
319
319
|
|
|
320
|
-
# Current status of the session. Newly created sessions return `Not Started`.
|
|
321
|
-
# existed for the same `vendor_data` on the workflow's latest published version,
|
|
322
|
-
# existing session.
|
|
320
|
+
# Current status of the session. Newly created sessions return `Not Started`. For a User Verification workflow, if
|
|
321
|
+
# a non-finished session already existed for the same `vendor_data` on the workflow's latest published version,
|
|
322
|
+
# the returned status reflects that existing session.
|
|
323
323
|
module SessionsCreateResponseStatus
|
|
324
324
|
NOT_STARTED = "Not Started"
|
|
325
325
|
IN_PROGRESS = "In Progress"
|
|
@@ -1368,6 +1368,7 @@ module Didit
|
|
|
1368
1368
|
field :vendor_data, "vendor_data", :string
|
|
1369
1369
|
field :metadata, "metadata", :any
|
|
1370
1370
|
field :tags, "tags", [:array, :string]
|
|
1371
|
+
field :expires_at, "expires_at", :datetime
|
|
1371
1372
|
field :status, "status", :string
|
|
1372
1373
|
field :callback, "callback", :string
|
|
1373
1374
|
field :workflow_id, "workflow_id", :string
|
data/lib/didit/types.rb
CHANGED
|
@@ -55,6 +55,7 @@ module Didit
|
|
|
55
55
|
autoload :AddressValidationResponse, "didit/types/components"
|
|
56
56
|
autoload :AddressValidationResult, "didit/types/components"
|
|
57
57
|
autoload :AddressValidationResultAddress, "didit/types/components"
|
|
58
|
+
autoload :AddressValidationResultAddressType, "didit/types/components"
|
|
58
59
|
autoload :AddressValidationResultStatus, "didit/types/components"
|
|
59
60
|
autoload :AddressValidationResultVerificationLevel, "didit/types/components"
|
|
60
61
|
autoload :AgeEstimationEstimateResponse, "didit/types/age_estimation"
|
data/lib/didit/version.rb
CHANGED
|
@@ -11,7 +11,7 @@ module Didit
|
|
|
11
11
|
def batch_delete: (?session_numbers: Array[String], ?delete_all: bool, ?retain_face_embeddings: bool?, ?face_retention_days: Integer, ?face_retention_deadline: Time | String, ?deletion_instruction: String, ?instruction_id: String, ?filter_status: (String | Array[String]), ?filter_vendor_data: String, ?filter_search: String, ?filter_workflow_id: (String | Array[String]), ?filter_date_from: Date | String, ?filter_date_to: Date | String, ?filter_country: (String | Array[String]), ?filter_document_type: (String | Array[String]), ?filter_document_name: (String | Array[String]), ?filter_region: (String | Array[String]), ?filter_didit_internal_id: String, ?filter_session_type: (String | Array[String]), ?filter_api_service: String, ?filter_screened_full_name: String, ?filter_warning: (String | Array[String]), ?filter_status_initialized_as_in_review: bool, ?filter_is_kyc_to_be_reviewed: bool, ?filter_euuid: String, ?filter_organization_name: (String | Array[String]), ?request_options: Didit::request_options?) -> (Didit::Types::SessionsBatchDeleteResponse | Didit::Types::SessionDeletionJob)
|
|
12
12
|
def bulk_update_aml_hit_status: (String session_id, hit_updates: Array[Didit::Types::sessions_bulk_update_aml_hit_status_params_hit_updates], ?node_id: String, ?node_id_query: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsBulkUpdateAmlHitStatusResponse
|
|
13
13
|
def cancel_feature_override: (String session_id, String override_id, ?request_options: Didit::request_options?) -> Didit::Types::FeatureStatusOverride
|
|
14
|
-
def create: (workflow_id: String, ?vendor_data: String, ?multi_account_segment: String, ?callback: String, ?callback_method: String, ?metadata: untyped, ?tags: Array[String], ?language: String, ?contact_details: Didit::Types::sessions_create_params_contact_details, ?expected_details: Didit::Types::sessions_create_params_expected_details, ?portrait_image: String, ?sandbox_scenario: String, ?sign: Didit::Types::sessions_create_params_sign, ?user_state: String, ?biometric_consent: Didit::Types::sessions_create_params_biometric_consent, ?request_options: Didit::request_options?) -> Didit::Types::SessionsCreateResponse
|
|
14
|
+
def create: (workflow_id: String, ?vendor_data: String, ?multi_account_segment: String, ?callback: String, ?callback_method: String, ?metadata: untyped, ?tags: Array[String], ?session_expiration_time: Integer, ?language: String, ?contact_details: Didit::Types::sessions_create_params_contact_details, ?expected_details: Didit::Types::sessions_create_params_expected_details, ?portrait_image: String, ?sandbox_scenario: String, ?sign: Didit::Types::sessions_create_params_sign, ?user_state: String, ?biometric_consent: Didit::Types::sessions_create_params_biometric_consent, ?request_options: Didit::request_options?) -> Didit::Types::SessionsCreateResponse
|
|
15
15
|
def create_kyb_party_draft: (String session_id, entity_type: String, nationality: String, ?full_name: String, ?first_name: String, ?last_name: String, ?role: String, ?roles: Array[String], ?position: String, ?date_of_birth: (Date | String)?, ?company_name: String, ?registration_number: String, ?email: String, ?ownership_percent: (Float | Integer)?, ?phone_number: String, ?custom_fields: Hash[String | Symbol, untyped], ?skip_verification: bool, ?node_id: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsCreateKybPartyDraftResponse
|
|
16
16
|
def delete: (String session_id, ?retain_face_embeddings: bool?, ?face_retention_days: Integer, ?face_retention_deadline: Time | String, ?deletion_instruction: String, ?instruction_id: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsDeleteResponse
|
|
17
17
|
def delete_kyb_party_draft: (String session_id, String draft_id, ?node_id: String, ?request_options: Didit::request_options?) -> nil
|
|
@@ -170,6 +170,18 @@ module Didit
|
|
|
170
170
|
VALUES: Array[String]
|
|
171
171
|
end
|
|
172
172
|
|
|
173
|
+
module AddressValidationResultAddressType
|
|
174
|
+
STREET: String
|
|
175
|
+
PO_BOX: String
|
|
176
|
+
HIGH_RISE: String
|
|
177
|
+
RURAL_ROUTE: String
|
|
178
|
+
GENERAL_DELIVERY: String
|
|
179
|
+
FIRM: String
|
|
180
|
+
BUILDING: String
|
|
181
|
+
|
|
182
|
+
VALUES: Array[String]
|
|
183
|
+
end
|
|
184
|
+
|
|
173
185
|
module AddressValidationResultStatus
|
|
174
186
|
VERIFIED: String
|
|
175
187
|
PARTIALLY_VERIFIED: String
|
|
@@ -5827,6 +5839,8 @@ module Didit
|
|
|
5827
5839
|
def formatted_address: () -> String?
|
|
5828
5840
|
def latitude: () -> Float?
|
|
5829
5841
|
def longitude: () -> Float?
|
|
5842
|
+
def address_type: () -> String?
|
|
5843
|
+
def is_residential: () -> bool?
|
|
5830
5844
|
end
|
|
5831
5845
|
|
|
5832
5846
|
class AddressValidationResultAddress < Didit::Model
|
|
@@ -6111,6 +6125,7 @@ module Didit
|
|
|
6111
6125
|
def request_id: () -> String
|
|
6112
6126
|
def result: () -> String
|
|
6113
6127
|
def holder_name: () -> String?
|
|
6128
|
+
def name_match_score: () -> Integer?
|
|
6114
6129
|
def account: () -> String
|
|
6115
6130
|
def vendor_data: () -> String?
|
|
6116
6131
|
def created_at: () -> Time
|
|
@@ -1209,6 +1209,7 @@ module Didit
|
|
|
1209
1209
|
def vendor_data: () -> String?
|
|
1210
1210
|
def metadata: () -> untyped
|
|
1211
1211
|
def tags: () -> Array[String]?
|
|
1212
|
+
def expires_at: () -> Time?
|
|
1212
1213
|
def status: () -> String
|
|
1213
1214
|
def callback: () -> String?
|
|
1214
1215
|
def workflow_id: () -> String
|
|
@@ -1736,7 +1737,7 @@ module Didit
|
|
|
1736
1737
|
|
|
1737
1738
|
type sessions_create_kyb_party_draft_params = { entity_type: String, ?full_name: String, ?first_name: String, ?last_name: String, ?role: String, ?roles: Array[String], ?position: String, ?date_of_birth: (Date | String)?, ?company_name: String, ?registration_number: String, ?email: String, ?ownership_percent: (Float | Integer)?, nationality: String, ?phone_number: String, ?custom_fields: Hash[String | Symbol, untyped], ?skip_verification: bool }
|
|
1738
1739
|
|
|
1739
|
-
type sessions_create_params = { workflow_id: String, ?vendor_data: String, ?multi_account_segment: String, ?callback: String, ?callback_method: String, ?metadata: untyped, ?tags: Array[String], ?language: String, ?contact_details: Didit::Types::sessions_create_params_contact_details, ?expected_details: Didit::Types::sessions_create_params_expected_details, ?portrait_image: String, ?sandbox_scenario: String, ?sign: Didit::Types::sessions_create_params_sign, ?user_state: String, ?biometric_consent: Didit::Types::sessions_create_params_biometric_consent }
|
|
1740
|
+
type sessions_create_params = { workflow_id: String, ?vendor_data: String, ?multi_account_segment: String, ?callback: String, ?callback_method: String, ?metadata: untyped, ?tags: Array[String], ?session_expiration_time: Integer, ?language: String, ?contact_details: Didit::Types::sessions_create_params_contact_details, ?expected_details: Didit::Types::sessions_create_params_expected_details, ?portrait_image: String, ?sandbox_scenario: String, ?sign: Didit::Types::sessions_create_params_sign, ?user_state: String, ?biometric_consent: Didit::Types::sessions_create_params_biometric_consent }
|
|
1740
1741
|
|
|
1741
1742
|
type sessions_create_params_biometric_consent = { given_at: Time | String, text_version: String }
|
|
1742
1743
|
|