didit-sdk 2.24.0 → 2.26.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 +14 -0
- data/lib/didit/resources/networks.rb +54 -0
- data/lib/didit/resources/travel_rule.rb +6 -3
- data/lib/didit/resources/users.rb +66 -4
- data/lib/didit/types/components.rb +185 -13
- data/lib/didit/types/networks.rb +14 -0
- data/lib/didit/types.rb +19 -0
- data/lib/didit/version.rb +1 -1
- data/sig/didit/resources/networks.rbs +1 -0
- data/sig/didit/resources/users.rbs +3 -1
- data/sig/didit/types/components.rbs +150 -0
- data/sig/didit/types/networks.rbs +15 -0
- data/sig/didit/types/users.rbs +2 -0
- 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: 12811b545130c316d0ad9a160ce1c7baa2923f2ca89783531375f0983dab232c
|
|
4
|
+
data.tar.gz: 48e181609a524d51ccb3e4fc2943d2f26a12e9fd9c370c24a306122db9767656
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cf78d06eb017fcb7f41a4d08fdee12766e2cbd6617f61cf1bc377ef77f12b6d009d41ed261655d5e5bd4531e7388259b45ee06321f589f60357571883937ab25
|
|
7
|
+
data.tar.gz: 94f43808186aee1f23bddb622fd2d26df09f964d30f8d65955f8815e2c2a1cac6f4131f0434c722e50a9a82d0d7fe0cdbbc2e6aedc2b12ff99c9ec9942e2d709
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.26.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.25.0...v2.26.0) (2026-11-20)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **spec:** sync API spec 2026-11-20 ([7f9d7d3](https://github.com/didit-protocol/sdk-ruby/commit/7f9d7d39268c61adfe4c412988f66ce1975c6d1c))
|
|
9
|
+
|
|
10
|
+
## [2.25.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.24.0...v2.25.0) (2026-11-19)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **spec:** sync API spec 2026-11-19 ([2f95636](https://github.com/didit-protocol/sdk-ruby/commit/2f956364b31e6cdd7d597d0d71d5e9dbce6f3e27))
|
|
16
|
+
|
|
3
17
|
## [2.24.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.23.0...v2.24.0) (2026-11-19)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -347,6 +347,60 @@ module Didit
|
|
|
347
347
|
)
|
|
348
348
|
end
|
|
349
349
|
|
|
350
|
+
# Search signals
|
|
351
|
+
#
|
|
352
|
+
# Check one value against every network of your organization before you open an investigation. Choose a
|
|
353
|
+
# `signal_type` and send its value: an address, a phone number, an email, a device fingerprint, a document
|
|
354
|
+
# number with its issuing state and type, or a face image. A `wallet_address` search takes the address and
|
|
355
|
+
# optionally its destination tag or memo in `tag`, and answers with the `wallet` object: accounts, payouts, the
|
|
356
|
+
# amount paid out and the payout dates. A wallet many accounts use is a shared service: it answers `match_count:
|
|
357
|
+
# 0` and no matches, with `is_shared_service: true`.
|
|
358
|
+
#
|
|
359
|
+
# Requires the `read:networks` permission. Searches are limited per organization: when the budget is spent the
|
|
360
|
+
# call answers `429`.
|
|
361
|
+
#
|
|
362
|
+
# +POST /v3/organization/{organization_id}/application/{application_id}/networks/signals/search/+
|
|
363
|
+
#
|
|
364
|
+
# @param signal_type [String]
|
|
365
|
+
# @param value [String] The value to search. Required for every type but `face`, which refuses it. For
|
|
366
|
+
# `wallet_address` it is the address.
|
|
367
|
+
# @param image [Pathname, IO, String, Didit::FilePart] A JPG, JPEG, PNG, WebP or TIFF image of at most 5 MB.
|
|
368
|
+
# `face` only, and required there. Send the request as `multipart/form-data`.
|
|
369
|
+
# @param issuing_state [String] `document_number` only, and required there.
|
|
370
|
+
# @param document_type [String] `document_number` only, and required there.
|
|
371
|
+
# @param region [String] `document_number` only, required for a regionally issued document.
|
|
372
|
+
# @param tag [String] The destination tag or memo of a wallet. `wallet_address` only, blank allowed. Any other
|
|
373
|
+
# type returns `400` `tag only applies to wallet_address searches.`
|
|
374
|
+
# @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
|
|
375
|
+
# @return [Didit::Types::NetworkSignalSearchResponse]
|
|
376
|
+
def search_signals(
|
|
377
|
+
signal_type:,
|
|
378
|
+
value: OMIT,
|
|
379
|
+
image: OMIT,
|
|
380
|
+
issuing_state: OMIT,
|
|
381
|
+
document_type: OMIT,
|
|
382
|
+
region: OMIT,
|
|
383
|
+
tag: OMIT,
|
|
384
|
+
request_options: nil
|
|
385
|
+
)
|
|
386
|
+
@client.request(
|
|
387
|
+
:post,
|
|
388
|
+
"/v3/organization/{organization_id}/application/{application_id}/networks/signals/search/",
|
|
389
|
+
body: {
|
|
390
|
+
"signal_type" => signal_type,
|
|
391
|
+
"value" => value,
|
|
392
|
+
"image" => image,
|
|
393
|
+
"issuing_state" => issuing_state,
|
|
394
|
+
"document_type" => document_type,
|
|
395
|
+
"region" => region,
|
|
396
|
+
"tag" => tag
|
|
397
|
+
},
|
|
398
|
+
scope: :application,
|
|
399
|
+
response: Types::NetworkSignalSearchResponse,
|
|
400
|
+
request_options: request_options
|
|
401
|
+
)
|
|
402
|
+
end
|
|
403
|
+
|
|
350
404
|
# The +networks.notes+ resource.
|
|
351
405
|
class Notes < Didit::Resource
|
|
352
406
|
# Add a private network note
|
|
@@ -688,7 +688,10 @@ module Didit
|
|
|
688
688
|
#
|
|
689
689
|
# @param is_enabled [Boolean]
|
|
690
690
|
# @param legal_name [String]
|
|
691
|
-
# @param lei [String]
|
|
691
|
+
# @param lei [String] Your Legal Entity Identifier (ISO 17442): 20 letters and digits whose last two are check
|
|
692
|
+
# digits (ISO 7064 MOD 97-10). It is stored in upper case. Anything else answers 400 with 'Enter a valid LEI: 20
|
|
693
|
+
# letters and digits whose last two are its check digits (ISO 17442).' Send an empty string to clear it. When
|
|
694
|
+
# the LEI, the legal name or the country changes, Didit checks the LEI with GLEIF; didit_netw...
|
|
692
695
|
# @param jurisdiction [String]
|
|
693
696
|
# @param vasp_jurisdiction [String] Your VASP profile's own jurisdiction, up to 3 characters (for example `GB`
|
|
694
697
|
# or `USA`), shown to other Didit customers in the VASP directory. Independent of `jurisdiction`, which sets the
|
|
@@ -702,8 +705,8 @@ module Didit
|
|
|
702
705
|
# /v3/travel-rule/settings/compliance-email/confirmation/); changing it needs a new confirmation.
|
|
703
706
|
# @param is_discoverable [Boolean] Whether your VASP profile can be listed in the Didit network: found in GET
|
|
704
707
|
# /v3/travel-rule/vasps/ by other Didit customers and reached on the INTERNAL rail. Listing also needs a live
|
|
705
|
-
# application, Travel Rule on, a legal name
|
|
706
|
-
#
|
|
708
|
+
# application, Travel Rule on, a legal name, a confirmed compliance email, an LEI that GLEIF lists as issued to
|
|
709
|
+
# an active entity and a review by Didit that you are a virtual asset service provider; didit_network says w...
|
|
707
710
|
# @param threshold_amount [String] Decimal string, zero or greater, in your application's default currency.
|
|
708
711
|
# Minimum transfer amount that triggers a managed exchange.
|
|
709
712
|
# @param ownership_validation_mode [String] See the response field of the same name.
|
|
@@ -231,11 +231,35 @@ module Didit
|
|
|
231
231
|
)
|
|
232
232
|
end
|
|
233
233
|
|
|
234
|
+
# Get a user lookup
|
|
235
|
+
#
|
|
236
|
+
# Read back a lookup made with [Look up users](#post-/v3/users/lookup/): the same counts and `not_found` list,
|
|
237
|
+
# plus the `identifiers` you submitted after blanks and duplicates were removed, in order. A lookup lives 24
|
|
238
|
+
# hours and belongs to the application that made it; an expired, unknown or other application's `lookup_id`
|
|
239
|
+
# returns `404` with `code: lookup_not_found`.
|
|
240
|
+
#
|
|
241
|
+
# +GET /v3/users/lookup/{lookup_id}/+
|
|
242
|
+
#
|
|
243
|
+
# @param lookup_id [String] The `lookup_id` returned by Look up users.
|
|
244
|
+
# @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
|
|
245
|
+
# @return [Didit::Types::UsersLookupDetail]
|
|
246
|
+
def get_lookup(lookup_id, request_options: nil)
|
|
247
|
+
@client.request(
|
|
248
|
+
:get,
|
|
249
|
+
"/v3/users/lookup/{lookup_id}/",
|
|
250
|
+
path_params: { "lookup_id" => lookup_id },
|
|
251
|
+
response: Types::UsersLookupDetail,
|
|
252
|
+
request_options: request_options
|
|
253
|
+
)
|
|
254
|
+
end
|
|
255
|
+
|
|
234
256
|
# List users
|
|
235
257
|
#
|
|
236
258
|
# List [users](/entities/users) Didit assembles from KYC sessions sharing the same `vendor_data` (free-form
|
|
237
|
-
# string, NOT a UUID), plus users created via the API. Paginated, ordered by `last_session_at` desc
|
|
238
|
-
#
|
|
259
|
+
# string, NOT a UUID), plus users created via the API. Paginated, ordered by `last_session_at` desc, or by the
|
|
260
|
+
# position in your list when `lookup` is set. Pass `lookup` to read only the users a list of identifiers
|
|
261
|
+
# resolved to (see [Look up users](#post-/v3/users/lookup/)). No other filter or search parameter is supported:
|
|
262
|
+
# fetch pages and filter client-side.
|
|
239
263
|
#
|
|
240
264
|
# +GET /v3/users/+
|
|
241
265
|
#
|
|
@@ -243,15 +267,20 @@ module Didit
|
|
|
243
267
|
# small for latency.
|
|
244
268
|
# @param offset [Integer] Zero-based offset of the first record to return. Prefer following the `next` URL from
|
|
245
269
|
# the previous page over computing this by hand.
|
|
270
|
+
# @param lookup [String] A `lookup_id` returned by `POST /v3/users/lookup/`. The list returns only the users
|
|
271
|
+
# that lookup matched, ordered by the position of their identifier in the list you submitted, paginated with
|
|
272
|
+
# `limit` and `offset`. An expired or unknown `lookup_id` returns `404` with `code: lookup_not_found`; submit
|
|
273
|
+
# the list again.
|
|
246
274
|
# @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
|
|
247
275
|
# @return [Didit::Page<Didit::Types::UserListItem>]
|
|
248
|
-
def list(limit: OMIT, offset: OMIT, request_options: nil)
|
|
276
|
+
def list(limit: OMIT, offset: OMIT, lookup: OMIT, request_options: nil)
|
|
249
277
|
@client.request(
|
|
250
278
|
:get,
|
|
251
279
|
"/v3/users/",
|
|
252
280
|
query: {
|
|
253
281
|
"limit" => limit,
|
|
254
|
-
"offset" => offset
|
|
282
|
+
"offset" => offset,
|
|
283
|
+
"lookup" => lookup
|
|
255
284
|
},
|
|
256
285
|
page: Types::UserListItem,
|
|
257
286
|
request_options: request_options
|
|
@@ -278,6 +307,39 @@ module Didit
|
|
|
278
307
|
)
|
|
279
308
|
end
|
|
280
309
|
|
|
310
|
+
# Look up users
|
|
311
|
+
#
|
|
312
|
+
# Resolve a list of up to 20,000 identifiers to the users of your application, in one call. Each identifier is
|
|
313
|
+
# matched, in this order, against `vendor_data` (exactly), the Didit user ID (a UUID), then a verified email
|
|
314
|
+
# (case-insensitive). An email can match several users, and all of them count. Blank entries are dropped and
|
|
315
|
+
# duplicates removed, keeping the first; 1 to 20,000 identifiers must remain, and a request sends at most
|
|
316
|
+
# 100,000 entries before that clean-up. The call only reads. It answers with a `lookup_id`, the counts and the
|
|
317
|
+
# identifiers that matched nobody, each with its 1-based `position` in the submitted list.
|
|
318
|
+
#
|
|
319
|
+
# Pass the `lookup_id` as `lookup` to [List users](#get-/v3/users/) to page through exactly the matched users,
|
|
320
|
+
# in the order you submitted them. The result is kept for 24 hours for your application only, then answers `404`
|
|
321
|
+
# with `code: lookup_not_found`.
|
|
322
|
+
#
|
|
323
|
+
# +POST /v3/users/lookup/+
|
|
324
|
+
#
|
|
325
|
+
# @param identifiers [Array<String>] Each entry is a `vendor_data` value, a Didit user ID or a verified email.
|
|
326
|
+
# Send at most 100,000 entries. Blank entries are dropped and duplicates removed, keeping the first, and at most
|
|
327
|
+
# 20,000 identifiers must remain. Either limit exceeded is a `400` with `code: too_many_identifiers`, and an
|
|
328
|
+
# empty list is a `400` too.
|
|
329
|
+
# @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
|
|
330
|
+
# @return [Didit::Types::UsersLookupResponse]
|
|
331
|
+
def lookup(identifiers:, request_options: nil)
|
|
332
|
+
@client.request(
|
|
333
|
+
:post,
|
|
334
|
+
"/v3/users/lookup/",
|
|
335
|
+
body: {
|
|
336
|
+
"identifiers" => identifiers
|
|
337
|
+
},
|
|
338
|
+
response: Types::UsersLookupResponse,
|
|
339
|
+
request_options: request_options
|
|
340
|
+
)
|
|
341
|
+
end
|
|
342
|
+
|
|
281
343
|
# Get user
|
|
282
344
|
#
|
|
283
345
|
# Fetch one [user](/entities/users) by `vendor_data` (exact match). Adds `metadata`, `comments`, and
|
|
@@ -1366,8 +1366,9 @@ module Didit
|
|
|
1366
1366
|
PHONE = "phone"
|
|
1367
1367
|
EMAIL = "email"
|
|
1368
1368
|
ADDRESS = "address"
|
|
1369
|
+
WALLET_ADDRESS = "wallet_address"
|
|
1369
1370
|
|
|
1370
|
-
VALUES = [IP_ADDRESS, DEVICE, FACE, DOCUMENT_NUMBER, PHONE, EMAIL, ADDRESS].freeze
|
|
1371
|
+
VALUES = [IP_ADDRESS, DEVICE, FACE, DOCUMENT_NUMBER, PHONE, EMAIL, ADDRESS, WALLET_ADDRESS].freeze
|
|
1371
1372
|
end
|
|
1372
1373
|
|
|
1373
1374
|
# Why a waiting override never applied, or `null`. `cancelled_by_reviewer`: cancelled with the cancel endpoint.
|
|
@@ -2528,8 +2529,9 @@ module Didit
|
|
|
2528
2529
|
PHONE = "phone"
|
|
2529
2530
|
EMAIL = "email"
|
|
2530
2531
|
ADDRESS = "address"
|
|
2532
|
+
WALLET_ADDRESS = "wallet_address"
|
|
2531
2533
|
|
|
2532
|
-
VALUES = [IP_ADDRESS, DEVICE, FACE, DOCUMENT_NUMBER, PHONE, EMAIL, ADDRESS].freeze
|
|
2534
|
+
VALUES = [IP_ADDRESS, DEVICE, FACE, DOCUMENT_NUMBER, PHONE, EMAIL, ADDRESS, WALLET_ADDRESS].freeze
|
|
2533
2535
|
end
|
|
2534
2536
|
|
|
2535
2537
|
# Network lifecycle status. Distinct from the per-applicant outcome_status inside a network
|
|
@@ -2552,8 +2554,9 @@ module Didit
|
|
|
2552
2554
|
PHONE = "phone"
|
|
2553
2555
|
EMAIL = "email"
|
|
2554
2556
|
ADDRESS = "address"
|
|
2557
|
+
WALLET_ADDRESS = "wallet_address"
|
|
2555
2558
|
|
|
2556
|
-
VALUES = [IP_ADDRESS, DEVICE, FACE, DOCUMENT_NUMBER, PHONE, EMAIL, ADDRESS].freeze
|
|
2559
|
+
VALUES = [IP_ADDRESS, DEVICE, FACE, DOCUMENT_NUMBER, PHONE, EMAIL, ADDRESS, WALLET_ADDRESS].freeze
|
|
2557
2560
|
end
|
|
2558
2561
|
|
|
2559
2562
|
# Known values of an open enum: the API may send others.
|
|
@@ -2575,6 +2578,15 @@ module Didit
|
|
|
2575
2578
|
VALUES = [VENDOR_USER, VENDOR_BUSINESS, TRANSACTION_PARTY, SIGNAL].freeze
|
|
2576
2579
|
end
|
|
2577
2580
|
|
|
2581
|
+
# The blockchain, read from the address format only. `null` for EVM addresses and other formats.
|
|
2582
|
+
module NetworkGraphNodeWalletNetwork
|
|
2583
|
+
TRON = "tron"
|
|
2584
|
+
BITCOIN = "bitcoin"
|
|
2585
|
+
SOLANA = "solana"
|
|
2586
|
+
|
|
2587
|
+
VALUES = [TRON, BITCOIN, SOLANA].freeze
|
|
2588
|
+
end
|
|
2589
|
+
|
|
2578
2590
|
# Known values of an open enum: the API may send others.
|
|
2579
2591
|
module NetworkListItemPatternTypes
|
|
2580
2592
|
EXACT_SAME_DEVICE = "exact_same_device"
|
|
@@ -2599,8 +2611,9 @@ module Didit
|
|
|
2599
2611
|
PHONE = "phone"
|
|
2600
2612
|
EMAIL = "email"
|
|
2601
2613
|
ADDRESS = "address"
|
|
2614
|
+
WALLET_ADDRESS = "wallet_address"
|
|
2602
2615
|
|
|
2603
|
-
VALUES = [IP_ADDRESS, DEVICE, FACE, DOCUMENT_NUMBER, PHONE, EMAIL, ADDRESS].freeze
|
|
2616
|
+
VALUES = [IP_ADDRESS, DEVICE, FACE, DOCUMENT_NUMBER, PHONE, EMAIL, ADDRESS, WALLET_ADDRESS].freeze
|
|
2604
2617
|
end
|
|
2605
2618
|
|
|
2606
2619
|
# Network lifecycle status. Distinct from the per-applicant outcome_status inside a network
|
|
@@ -2690,8 +2703,9 @@ module Didit
|
|
|
2690
2703
|
PHONE = "phone"
|
|
2691
2704
|
EMAIL = "email"
|
|
2692
2705
|
ADDRESS = "address"
|
|
2706
|
+
WALLET_ADDRESS = "wallet_address"
|
|
2693
2707
|
|
|
2694
|
-
VALUES = [IP_ADDRESS, DEVICE, FACE, DOCUMENT_NUMBER, PHONE, EMAIL, ADDRESS].freeze
|
|
2708
|
+
VALUES = [IP_ADDRESS, DEVICE, FACE, DOCUMENT_NUMBER, PHONE, EMAIL, ADDRESS, WALLET_ADDRESS].freeze
|
|
2695
2709
|
end
|
|
2696
2710
|
|
|
2697
2711
|
# `didit` for a Didit preset tag, `custom` for a tag your team created.
|
|
@@ -5972,18 +5986,49 @@ module Didit
|
|
|
5972
5986
|
VALUES = [SELECT_COUNTERPARTY_VASP, DECLARE_SELF_HOSTED, ADD_VASP_HINT, UPDATE_COMPLIANCE_EMAIL, RESEND].freeze
|
|
5973
5987
|
end
|
|
5974
5988
|
|
|
5989
|
+
# no_lei: no LEI is set. no_gleif_record: GLEIF has not been asked yet. gleif_lei_unknown: GLEIF has no record of
|
|
5990
|
+
# this LEI. gleif_other_lei: the GLEIF record on file is for a different LEI. gleif_entity_inactive: the GLEIF
|
|
5991
|
+
# entity is not active. gleif_lei_not_issued: the LEI is not in issued status (for example it lapsed).
|
|
5992
|
+
# gleif_name_mismatch: GLEIF's legal name does not match your legal name. gleif_country_mismatch: GLEIF's country
|
|
5993
|
+
# does not match your country. gleif_consistent: active, issued and consistent with your legal name and country.
|
|
5994
|
+
module TravelRuleSettingsDetailDiditNetworkLeiCheckReason
|
|
5995
|
+
NO_LEI = "no_lei"
|
|
5996
|
+
NO_GLEIF_RECORD = "no_gleif_record"
|
|
5997
|
+
GLEIF_LEI_UNKNOWN = "gleif_lei_unknown"
|
|
5998
|
+
GLEIF_OTHER_LEI = "gleif_other_lei"
|
|
5999
|
+
GLEIF_ENTITY_INACTIVE = "gleif_entity_inactive"
|
|
6000
|
+
GLEIF_LEI_NOT_ISSUED = "gleif_lei_not_issued"
|
|
6001
|
+
GLEIF_NAME_MISMATCH = "gleif_name_mismatch"
|
|
6002
|
+
GLEIF_COUNTRY_MISMATCH = "gleif_country_mismatch"
|
|
6003
|
+
GLEIF_CONSISTENT = "gleif_consistent"
|
|
6004
|
+
|
|
6005
|
+
VALUES = [NO_LEI, NO_GLEIF_RECORD, GLEIF_LEI_UNKNOWN, GLEIF_OTHER_LEI, GLEIF_ENTITY_INACTIVE, GLEIF_LEI_NOT_ISSUED, GLEIF_NAME_MISMATCH, GLEIF_COUNTRY_MISMATCH, GLEIF_CONSISTENT].freeze
|
|
6006
|
+
end
|
|
6007
|
+
|
|
6008
|
+
# Known values of an open enum: the API may send others.
|
|
6009
|
+
module TravelRuleSettingsDetailDiditNetworkLeiCheckStatus
|
|
6010
|
+
PASS = "pass"
|
|
6011
|
+
FAIL = "fail"
|
|
6012
|
+
UNKNOWN = "unknown"
|
|
6013
|
+
|
|
6014
|
+
VALUES = [PASS, FAIL, UNKNOWN].freeze
|
|
6015
|
+
end
|
|
6016
|
+
|
|
5975
6017
|
# Known values of an open enum: the API may send others.
|
|
5976
6018
|
module TravelRuleSettingsDetailDiditNetworkMissing
|
|
5977
6019
|
TRAVEL_RULE_OFF = "travel_rule_off"
|
|
5978
6020
|
SANDBOX_APPLICATION = "sandbox_application"
|
|
5979
6021
|
NOT_DISCOVERABLE = "not_discoverable"
|
|
5980
6022
|
LEGAL_NAME_MISSING = "legal_name_missing"
|
|
6023
|
+
LEI_MISSING = "lei_missing"
|
|
6024
|
+
LEI_UNVERIFIED = "lei_unverified"
|
|
5981
6025
|
COMPLIANCE_EMAIL_MISSING = "compliance_email_missing"
|
|
5982
6026
|
COMPLIANCE_EMAIL_UNCONFIRMED = "compliance_email_unconfirmed"
|
|
5983
6027
|
EXCLUDED_BY_STAFF = "excluded_by_staff"
|
|
5984
6028
|
INTERNAL_ORGANIZATION = "internal_organization"
|
|
6029
|
+
REVIEW_PENDING = "review_pending"
|
|
5985
6030
|
|
|
5986
|
-
VALUES = [TRAVEL_RULE_OFF, SANDBOX_APPLICATION, NOT_DISCOVERABLE, LEGAL_NAME_MISSING, COMPLIANCE_EMAIL_MISSING, COMPLIANCE_EMAIL_UNCONFIRMED, EXCLUDED_BY_STAFF, INTERNAL_ORGANIZATION].freeze
|
|
6031
|
+
VALUES = [TRAVEL_RULE_OFF, SANDBOX_APPLICATION, NOT_DISCOVERABLE, LEGAL_NAME_MISSING, LEI_MISSING, LEI_UNVERIFIED, COMPLIANCE_EMAIL_MISSING, COMPLIANCE_EMAIL_UNCONFIRMED, EXCLUDED_BY_STAFF, INTERNAL_ORGANIZATION, REVIEW_PENDING].freeze
|
|
5987
6032
|
end
|
|
5988
6033
|
|
|
5989
6034
|
# Known values of an open enum: the API may send others.
|
|
@@ -9805,10 +9850,30 @@ module Didit
|
|
|
9805
9850
|
# transaction_party) carry id, kind, subject, node_status (approved | in_review | declined | not_completed), and
|
|
9806
9851
|
# tags. Signal nodes (kind: signal) carry id, kind, uuid, signal_type, subject_count, coverage, is_hub,
|
|
9807
9852
|
# is_datacenter_ip, is_high_collision_device, node_status (signal_active | signal_guarded), tags, risk_evidence,
|
|
9808
|
-
# first_seen_at, and last_seen_at.
|
|
9853
|
+
# first_seen_at, and last_seen_at. A signal node with `signal_type: wallet_address` also carries `wallet`: where
|
|
9854
|
+
# the money went through that wallet. Every other node has no `wallet` key.
|
|
9809
9855
|
class NetworkGraphNode < Didit::Model
|
|
9810
9856
|
field :id, "id", :string
|
|
9811
9857
|
field :kind, "kind", :string
|
|
9858
|
+
field :wallet, "wallet", "NetworkGraphNodeWallet"
|
|
9859
|
+
end
|
|
9860
|
+
|
|
9861
|
+
# Only on a signal node of type `wallet_address`.
|
|
9862
|
+
class NetworkGraphNodeWallet < Didit::Model
|
|
9863
|
+
field :asset, "asset", :string
|
|
9864
|
+
field :network, "network", :string
|
|
9865
|
+
field :account_count, "account_count", :integer
|
|
9866
|
+
field :payout_count, "payout_count", :integer
|
|
9867
|
+
field :paid_out, "paid_out", "NetworkGraphNodeWalletPaidOut"
|
|
9868
|
+
field :first_payout_at, "first_payout_at", :datetime
|
|
9869
|
+
field :last_payout_at, "last_payout_at", :datetime
|
|
9870
|
+
end
|
|
9871
|
+
|
|
9872
|
+
# Sum of each payout's amount in the application's default currency. Payouts without one are counted but not
|
|
9873
|
+
# summed. `null` when none.
|
|
9874
|
+
class NetworkGraphNodeWalletPaidOut < Didit::Model
|
|
9875
|
+
field :amount, "amount", :string
|
|
9876
|
+
field :currency, "currency", :string
|
|
9812
9877
|
end
|
|
9813
9878
|
|
|
9814
9879
|
# Network counts for the list's views and filter options, each network counted once. Returned only when `summary`
|
|
@@ -10019,6 +10084,80 @@ module Didit
|
|
|
10019
10084
|
field :last_seen_at, "last_seen_at", :datetime
|
|
10020
10085
|
end
|
|
10021
10086
|
|
|
10087
|
+
class NetworkSignalSearchMatch < Didit::Model
|
|
10088
|
+
field :uuid, "uuid", :string
|
|
10089
|
+
field :signal_type, "signal_type", :string
|
|
10090
|
+
field :quality_flags, "quality_flags", "NetworkSignalSearchMatchQualityFlags"
|
|
10091
|
+
field :subject_count, "subject_count", :integer
|
|
10092
|
+
field :first_seen_at, "first_seen_at", :datetime
|
|
10093
|
+
field :last_seen_at, "last_seen_at", :datetime
|
|
10094
|
+
field :subjects, "subjects", [:array, :any]
|
|
10095
|
+
field :networks, "networks", [:array, "NetworkListItem"]
|
|
10096
|
+
end
|
|
10097
|
+
|
|
10098
|
+
class NetworkSignalSearchMatchQualityFlags < Didit::Model
|
|
10099
|
+
field :is_datacenter_ip, "is_datacenter_ip", :boolean
|
|
10100
|
+
field :is_high_collision_device, "is_high_collision_device", :boolean
|
|
10101
|
+
field :is_hub, "is_hub", :boolean
|
|
10102
|
+
end
|
|
10103
|
+
|
|
10104
|
+
class NetworkSignalSearchRecentPayout < Didit::Model
|
|
10105
|
+
field :uuid, "uuid", :string
|
|
10106
|
+
field :transaction_number, "transaction_number", :integer
|
|
10107
|
+
field :txn_id, "txn_id", :string
|
|
10108
|
+
field :txn_date, "txn_date", :datetime
|
|
10109
|
+
field :amount, "amount", :string
|
|
10110
|
+
field :currency, "currency", :string
|
|
10111
|
+
field :paid_out, "paid_out", "NetworkSignalSearchRecentPayoutPaidOut"
|
|
10112
|
+
field :account, "account", "NetworkSignalSearchRecentPayoutAccount"
|
|
10113
|
+
end
|
|
10114
|
+
|
|
10115
|
+
class NetworkSignalSearchRecentPayoutAccount < Didit::Model
|
|
10116
|
+
field :vendor_user_id, "vendor_user_id", :string
|
|
10117
|
+
field :vendor_data, "vendor_data", :string
|
|
10118
|
+
field :full_name, "full_name", :string
|
|
10119
|
+
end
|
|
10120
|
+
|
|
10121
|
+
class NetworkSignalSearchRecentPayoutPaidOut < Didit::Model
|
|
10122
|
+
field :amount, "amount", :string
|
|
10123
|
+
field :currency, "currency", :string
|
|
10124
|
+
end
|
|
10125
|
+
|
|
10126
|
+
class NetworkSignalSearchResponse < Didit::Model
|
|
10127
|
+
field :signal_type, "signal_type", :string
|
|
10128
|
+
field :match_count, "match_count", :integer
|
|
10129
|
+
field :matches, "matches", [:array, "NetworkSignalSearchMatch"]
|
|
10130
|
+
field :enrichment_available, "enrichment_available", :boolean
|
|
10131
|
+
field :enrichment, "enrichment", :any
|
|
10132
|
+
field :cross_organization, "cross_organization", "NetworkSignalSearchResponseCrossOrganization"
|
|
10133
|
+
field :wallet, "wallet", "NetworkSignalSearchWallet"
|
|
10134
|
+
end
|
|
10135
|
+
|
|
10136
|
+
class NetworkSignalSearchResponseCrossOrganization < Didit::Model
|
|
10137
|
+
field :available, "available", :boolean
|
|
10138
|
+
field :signals_checked, "signals_checked", :integer
|
|
10139
|
+
field :insights, "insights", [:array, :any]
|
|
10140
|
+
end
|
|
10141
|
+
|
|
10142
|
+
# Only on a `wallet_address` search: what the address did in your organization.
|
|
10143
|
+
class NetworkSignalSearchWallet < Didit::Model
|
|
10144
|
+
field :signal_id, "signal_id", :string
|
|
10145
|
+
field :is_shared_service, "is_shared_service", :boolean
|
|
10146
|
+
field :account_count, "account_count", :integer
|
|
10147
|
+
field :payout_count, "payout_count", :integer
|
|
10148
|
+
field :paid_out, "paid_out", "NetworkSignalSearchWalletPaidOut"
|
|
10149
|
+
field :first_payout_at, "first_payout_at", :datetime
|
|
10150
|
+
field :last_payout_at, "last_payout_at", :datetime
|
|
10151
|
+
field :recent_payouts, "recent_payouts", [:array, "NetworkSignalSearchRecentPayout"]
|
|
10152
|
+
end
|
|
10153
|
+
|
|
10154
|
+
# Sum of each payout's amount in the application's default currency. Payouts without one are counted but not
|
|
10155
|
+
# summed.
|
|
10156
|
+
class NetworkSignalSearchWalletPaidOut < Didit::Model
|
|
10157
|
+
field :amount, "amount", :string
|
|
10158
|
+
field :currency, "currency", :string
|
|
10159
|
+
end
|
|
10160
|
+
|
|
10022
10161
|
# One of your application's tags on the network.
|
|
10023
10162
|
class NetworkTag < Didit::Model
|
|
10024
10163
|
field :uuid, "uuid", :string
|
|
@@ -13653,11 +13792,23 @@ module Didit
|
|
|
13653
13792
|
end
|
|
13654
13793
|
|
|
13655
13794
|
# Whether the Didit network lists your VASP profile, so other Didit customers find it in the directory and reach
|
|
13656
|
-
# it on the INTERNAL rail, and each condition it still misses.
|
|
13795
|
+
# it on the INTERNAL rail, and each condition it still misses. Listing needs: a live (not sandbox) application
|
|
13796
|
+
# with Travel Rule on, Discoverable on, a legal name, a compliance email confirmed through the emailed link, an
|
|
13797
|
+
# LEI that GLEIF lists as issued to an active entity, and a review by Didit that the company is a virtual asset
|
|
13798
|
+
# service provider (the review is for that LEI: changing the LEI or the legal name needs a new review).
|
|
13657
13799
|
class TravelRuleSettingsDetailDiditNetwork < Didit::Model
|
|
13658
13800
|
field :listed, "listed", :boolean
|
|
13659
13801
|
field :missing, "missing", [:array, :string]
|
|
13660
13802
|
field :compliance_email_confirmed, "compliance_email_confirmed", :boolean
|
|
13803
|
+
field :lei_check, "lei_check", "TravelRuleSettingsDetailDiditNetworkLeiCheck"
|
|
13804
|
+
end
|
|
13805
|
+
|
|
13806
|
+
# What GLEIF said about your current LEI. null before the LEI was first checked.
|
|
13807
|
+
class TravelRuleSettingsDetailDiditNetworkLeiCheck < Didit::Model
|
|
13808
|
+
field :status, "status", :string
|
|
13809
|
+
field :reason, "reason", :string
|
|
13810
|
+
field :gleif_legal_name, "gleif_legal_name", :string
|
|
13811
|
+
field :checked_at, "checked_at", :datetime
|
|
13661
13812
|
end
|
|
13662
13813
|
|
|
13663
13814
|
# Per network, how this application would send and why it cannot. No network, including GTR, is included by
|
|
@@ -14049,12 +14200,30 @@ module Didit
|
|
|
14049
14200
|
field :color, "color", :string
|
|
14050
14201
|
end
|
|
14051
14202
|
|
|
14203
|
+
class UsersLookupNotFound < Didit::Model
|
|
14204
|
+
field :identifier, "identifier", :string
|
|
14205
|
+
field :position, "position", :integer
|
|
14206
|
+
end
|
|
14207
|
+
|
|
14208
|
+
class UsersLookupResponse < Didit::Model
|
|
14209
|
+
field :lookup_id, "lookup_id", :string
|
|
14210
|
+
field :requested, "requested", :integer
|
|
14211
|
+
field :found, "found", :integer
|
|
14212
|
+
field :not_found, "not_found", [:array, "UsersLookupNotFound"]
|
|
14213
|
+
field :expires_at, "expires_at", :datetime
|
|
14214
|
+
end
|
|
14215
|
+
|
|
14216
|
+
class UsersLookupDetail < UsersLookupResponse
|
|
14217
|
+
field :identifiers, "identifiers", [:array, :string]
|
|
14218
|
+
end
|
|
14219
|
+
|
|
14052
14220
|
# A VASP of the directory or a member of the Didit network, with the routes your application has to it. A customer
|
|
14053
14221
|
# is a member of the Didit network only while its application is live, its Travel Rule is on, its profile is
|
|
14054
|
-
# discoverable, has a legal name and a confirmed compliance email,
|
|
14055
|
-
#
|
|
14056
|
-
#
|
|
14057
|
-
#
|
|
14222
|
+
# discoverable, has a legal name and a confirmed compliance email, has an LEI that GLEIF lists as issued to an
|
|
14223
|
+
# active entity and has been reviewed by Didit as a virtual asset service provider, and Didit has not marked the
|
|
14224
|
+
# application as a test, demo, internal or not-a-VASP one. Each row also carries the shared due-diligence
|
|
14225
|
+
# assessment (dd_score, risk_level, responsiveness, essential_checks) and your application's own decision, entity
|
|
14226
|
+
# screening and questionnaires, which no other customer sees.
|
|
14058
14227
|
class VaspDirectoryEntry < Didit::Model
|
|
14059
14228
|
field :id, "id", :string
|
|
14060
14229
|
field :kind, "kind", :string
|
|
@@ -14122,7 +14291,10 @@ module Didit
|
|
|
14122
14291
|
# LEI register), licence (a MiCA authorisation is on record and current), domain (the entry's domain matches its
|
|
14123
14292
|
# TRP endpoint or the website its register gives) and lei (its LEI record is active, issued and consistent with
|
|
14124
14293
|
# the entry's names and country). The essentials component of dd_score is the share of decided checks that pass.
|
|
14125
|
-
# Empty until the weekly directory refresh first checks the entry
|
|
14294
|
+
# Empty until the weekly directory refresh first checks the entry. A Didit network member (kind didit) carries the
|
|
14295
|
+
# report too: registration, licence and domain come from the registered directory entry with the same LEI when
|
|
14296
|
+
# there is one (else registration fails with no_register, licence is unknown with no_licence_record and domain is
|
|
14297
|
+
# unknown with no_domain), and the lei check is GLEIF's answer against the member's own legal name and country.
|
|
14126
14298
|
class VaspDirectoryEntryEssentialChecks < Didit::Model
|
|
14127
14299
|
field :level, "level", :string
|
|
14128
14300
|
field :checked_at, "checked_at", :datetime
|
data/lib/didit/types/networks.rb
CHANGED
|
@@ -76,6 +76,20 @@ module Didit
|
|
|
76
76
|
VALUES = [NETWORK_DETECTED, SIGNAL_OBSERVED, NETWORK_ACTIVE, NETWORK_IN_REVIEW, NETWORK_RESOLVED, NETWORK_DISMISSED, VERIFICATION_ATTEMPT, TRANSACTION, LOGIN, RULE_HIT, CASE_LINKED, NOTE_ADDED].freeze
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
+
# Known values of an open enum: the API may send others.
|
|
80
|
+
module NetworksSearchSignalsParamsSignalType
|
|
81
|
+
IP_ADDRESS = "ip_address"
|
|
82
|
+
DEVICE = "device"
|
|
83
|
+
FACE = "face"
|
|
84
|
+
DOCUMENT_NUMBER = "document_number"
|
|
85
|
+
PHONE = "phone"
|
|
86
|
+
EMAIL = "email"
|
|
87
|
+
ADDRESS = "address"
|
|
88
|
+
WALLET_ADDRESS = "wallet_address"
|
|
89
|
+
|
|
90
|
+
VALUES = [IP_ADDRESS, DEVICE, FACE, DOCUMENT_NUMBER, PHONE, EMAIL, ADDRESS, WALLET_ADDRESS].freeze
|
|
91
|
+
end
|
|
92
|
+
|
|
79
93
|
class NetworksListMembersResponse < Didit::Model
|
|
80
94
|
field :results, "results", [:array, "NetworkMember"]
|
|
81
95
|
end
|
data/lib/didit/types.rb
CHANGED
|
@@ -847,6 +847,9 @@ module Didit
|
|
|
847
847
|
autoload :NetworkGraphMetrics, "didit/types/components"
|
|
848
848
|
autoload :NetworkGraphNode, "didit/types/components"
|
|
849
849
|
autoload :NetworkGraphNodeKind, "didit/types/components"
|
|
850
|
+
autoload :NetworkGraphNodeWallet, "didit/types/components"
|
|
851
|
+
autoload :NetworkGraphNodeWalletNetwork, "didit/types/components"
|
|
852
|
+
autoload :NetworkGraphNodeWalletPaidOut, "didit/types/components"
|
|
850
853
|
autoload :NetworkListCounts, "didit/types/components"
|
|
851
854
|
autoload :NetworkListCountsFacets, "didit/types/components"
|
|
852
855
|
autoload :NetworkListCountsFacetsAssignee, "didit/types/components"
|
|
@@ -879,6 +882,15 @@ module Didit
|
|
|
879
882
|
autoload :NetworkRiskDisplayBand, "didit/types/components"
|
|
880
883
|
autoload :NetworkSignal, "didit/types/components"
|
|
881
884
|
autoload :NetworkSignalNodeStatus, "didit/types/components"
|
|
885
|
+
autoload :NetworkSignalSearchMatch, "didit/types/components"
|
|
886
|
+
autoload :NetworkSignalSearchMatchQualityFlags, "didit/types/components"
|
|
887
|
+
autoload :NetworkSignalSearchRecentPayout, "didit/types/components"
|
|
888
|
+
autoload :NetworkSignalSearchRecentPayoutAccount, "didit/types/components"
|
|
889
|
+
autoload :NetworkSignalSearchRecentPayoutPaidOut, "didit/types/components"
|
|
890
|
+
autoload :NetworkSignalSearchResponse, "didit/types/components"
|
|
891
|
+
autoload :NetworkSignalSearchResponseCrossOrganization, "didit/types/components"
|
|
892
|
+
autoload :NetworkSignalSearchWallet, "didit/types/components"
|
|
893
|
+
autoload :NetworkSignalSearchWalletPaidOut, "didit/types/components"
|
|
882
894
|
autoload :NetworkSignalSignalType, "didit/types/components"
|
|
883
895
|
autoload :NetworkTag, "didit/types/components"
|
|
884
896
|
autoload :NetworkTagSource, "didit/types/components"
|
|
@@ -896,6 +908,7 @@ module Didit
|
|
|
896
908
|
autoload :NetworksRetrieveTimelineParamsContract, "didit/types/networks"
|
|
897
909
|
autoload :NetworksRetrieveTimelineParamsEventType, "didit/types/networks"
|
|
898
910
|
autoload :NetworksRetrieveTimelineResponse, "didit/types/networks"
|
|
911
|
+
autoload :NetworksSearchSignalsParamsSignalType, "didit/types/networks"
|
|
899
912
|
autoload :OngoingMonitoringJob, "didit/types/components"
|
|
900
913
|
autoload :OngoingMonitoringJobEstimate, "didit/types/components"
|
|
901
914
|
autoload :OngoingMonitoringJobOutcomes, "didit/types/components"
|
|
@@ -1727,6 +1740,9 @@ module Didit
|
|
|
1727
1740
|
autoload :TravelRuleSendComplianceEmailConfirmationResponse, "didit/types/travel_rule"
|
|
1728
1741
|
autoload :TravelRuleSettingsDetail, "didit/types/components"
|
|
1729
1742
|
autoload :TravelRuleSettingsDetailDiditNetwork, "didit/types/components"
|
|
1743
|
+
autoload :TravelRuleSettingsDetailDiditNetworkLeiCheck, "didit/types/components"
|
|
1744
|
+
autoload :TravelRuleSettingsDetailDiditNetworkLeiCheckReason, "didit/types/components"
|
|
1745
|
+
autoload :TravelRuleSettingsDetailDiditNetworkLeiCheckStatus, "didit/types/components"
|
|
1730
1746
|
autoload :TravelRuleSettingsDetailDiditNetworkMissing, "didit/types/components"
|
|
1731
1747
|
autoload :TravelRuleSettingsDetailDisabledNetworks, "didit/types/components"
|
|
1732
1748
|
autoload :TravelRuleSettingsDetailNameMatchingStrictness, "didit/types/components"
|
|
@@ -1829,6 +1845,9 @@ module Didit
|
|
|
1829
1845
|
autoload :UsersCreateResponseTagsTagSource, "didit/types/users"
|
|
1830
1846
|
autoload :UsersCreateResponseVerificationLink, "didit/types/users"
|
|
1831
1847
|
autoload :UsersListResponse, "didit/types/users"
|
|
1848
|
+
autoload :UsersLookupDetail, "didit/types/components"
|
|
1849
|
+
autoload :UsersLookupNotFound, "didit/types/components"
|
|
1850
|
+
autoload :UsersLookupResponse, "didit/types/components"
|
|
1832
1851
|
autoload :UsersUpdateParamsStatus, "didit/types/users"
|
|
1833
1852
|
autoload :UsersUpdateStatusParamsStatus, "didit/types/users"
|
|
1834
1853
|
autoload :UsersUploadFaceResponse, "didit/types/users"
|
data/lib/didit/version.rb
CHANGED
|
@@ -15,6 +15,7 @@ module Didit
|
|
|
15
15
|
def retrieve_graph: (String network_uuid, ?depth: String, ?focus_kind: String, ?focus_id: String, ?request_options: Didit::request_options?) -> Didit::Types::NetworkGraph
|
|
16
16
|
def retrieve_map: (String network_uuid, ?request_options: Didit::request_options?) -> Didit::Types::NetworkMap
|
|
17
17
|
def retrieve_timeline: (String network_uuid, ?contract: String, ?limit: Integer, ?cursor: String, ?event_type: Array[String], ?request_options: Didit::request_options?) -> Didit::Types::NetworksRetrieveTimelineResponse
|
|
18
|
+
def search_signals: (signal_type: String, ?value: String, ?image: Didit::upload, ?issuing_state: String, ?document_type: String, ?region: String, ?tag: String, ?request_options: Didit::request_options?) -> Didit::Types::NetworkSignalSearchResponse
|
|
18
19
|
class Notes < Didit::Resource
|
|
19
20
|
def create: (String network_uuid, comment: String, client_reference: String, ?idempotency_key: String, ?request_options: Didit::request_options?) -> Didit::Types::NetworkNote
|
|
20
21
|
def delete: (String network_uuid, String note_uuid, ?idempotency_key: String, ?request_options: Didit::request_options?) -> nil
|
|
@@ -7,8 +7,10 @@ module Didit
|
|
|
7
7
|
def create: (vendor_data: String, ?full_name: String?, ?display_name: String?, ?date_of_birth: (Date | String)?, ?status: String, ?metadata: (Hash[String | Symbol, untyped])?, ?approved_emails: Array[String], ?approved_phones: Array[String], ?issuing_states: Array[String], ?first_name: String, ?last_name: String, ?email: String, ?phone_number: String, ?country: String, ?send_verification_link: bool, ?workflow_id: String, ?language: String, ?idempotency_key: String, ?request_options: Didit::request_options?) -> Didit::Types::UsersCreateResponse
|
|
8
8
|
def generate_pdf: (String vendor_data, ?request_options: Didit::request_options?) -> String
|
|
9
9
|
| (String vendor_data, ?request_options: Didit::request_options?) { (String chunk) -> void } -> nil
|
|
10
|
-
def
|
|
10
|
+
def get_lookup: (String lookup_id, ?request_options: Didit::request_options?) -> Didit::Types::UsersLookupDetail
|
|
11
|
+
def list: (?limit: Integer, ?offset: Integer, ?lookup: String, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::UserListItem]
|
|
11
12
|
def list_networks: (String vendor_user_uuid, ?request_options: Didit::request_options?) -> Didit::Types::EntityNetworkMembershipList
|
|
13
|
+
def lookup: (identifiers: Array[String], ?request_options: Didit::request_options?) -> Didit::Types::UsersLookupResponse
|
|
12
14
|
def retrieve: (String vendor_data, ?request_options: Didit::request_options?) -> Didit::Types::UserDetailItem
|
|
13
15
|
def retrieve_ongoing_monitoring_job: (String job_id, ?request_options: Didit::request_options?) -> Didit::Types::OngoingMonitoringJob
|
|
14
16
|
def set_aml_monitoring: (is_enabled: bool, ?estimate_only: bool, ?vendor_data_list: Array[String], ?didit_internal_id_list: Array[String], ?idempotency_key: String, ?request_options: Didit::request_options?) -> (Didit::Types::AMLMonitoringToggleResult | Didit::Types::AMLMonitoringJob)
|
|
@@ -1122,6 +1122,7 @@ module Didit
|
|
|
1122
1122
|
PHONE: String
|
|
1123
1123
|
EMAIL: String
|
|
1124
1124
|
ADDRESS: String
|
|
1125
|
+
WALLET_ADDRESS: String
|
|
1125
1126
|
|
|
1126
1127
|
VALUES: Array[String]
|
|
1127
1128
|
end
|
|
@@ -2094,6 +2095,7 @@ module Didit
|
|
|
2094
2095
|
PHONE: String
|
|
2095
2096
|
EMAIL: String
|
|
2096
2097
|
ADDRESS: String
|
|
2098
|
+
WALLET_ADDRESS: String
|
|
2097
2099
|
|
|
2098
2100
|
VALUES: Array[String]
|
|
2099
2101
|
end
|
|
@@ -2115,6 +2117,7 @@ module Didit
|
|
|
2115
2117
|
PHONE: String
|
|
2116
2118
|
EMAIL: String
|
|
2117
2119
|
ADDRESS: String
|
|
2120
|
+
WALLET_ADDRESS: String
|
|
2118
2121
|
|
|
2119
2122
|
VALUES: Array[String]
|
|
2120
2123
|
end
|
|
@@ -2136,6 +2139,14 @@ module Didit
|
|
|
2136
2139
|
VALUES: Array[String]
|
|
2137
2140
|
end
|
|
2138
2141
|
|
|
2142
|
+
module NetworkGraphNodeWalletNetwork
|
|
2143
|
+
TRON: String
|
|
2144
|
+
BITCOIN: String
|
|
2145
|
+
SOLANA: String
|
|
2146
|
+
|
|
2147
|
+
VALUES: Array[String]
|
|
2148
|
+
end
|
|
2149
|
+
|
|
2139
2150
|
module NetworkListItemPatternTypes
|
|
2140
2151
|
EXACT_SAME_DEVICE: String
|
|
2141
2152
|
SIMILAR_DEVICE: String
|
|
@@ -2158,6 +2169,7 @@ module Didit
|
|
|
2158
2169
|
PHONE: String
|
|
2159
2170
|
EMAIL: String
|
|
2160
2171
|
ADDRESS: String
|
|
2172
|
+
WALLET_ADDRESS: String
|
|
2161
2173
|
|
|
2162
2174
|
VALUES: Array[String]
|
|
2163
2175
|
end
|
|
@@ -2234,6 +2246,7 @@ module Didit
|
|
|
2234
2246
|
PHONE: String
|
|
2235
2247
|
EMAIL: String
|
|
2236
2248
|
ADDRESS: String
|
|
2249
|
+
WALLET_ADDRESS: String
|
|
2237
2250
|
|
|
2238
2251
|
VALUES: Array[String]
|
|
2239
2252
|
end
|
|
@@ -4997,15 +5010,40 @@ module Didit
|
|
|
4997
5010
|
VALUES: Array[String]
|
|
4998
5011
|
end
|
|
4999
5012
|
|
|
5013
|
+
module TravelRuleSettingsDetailDiditNetworkLeiCheckReason
|
|
5014
|
+
NO_LEI: String
|
|
5015
|
+
NO_GLEIF_RECORD: String
|
|
5016
|
+
GLEIF_LEI_UNKNOWN: String
|
|
5017
|
+
GLEIF_OTHER_LEI: String
|
|
5018
|
+
GLEIF_ENTITY_INACTIVE: String
|
|
5019
|
+
GLEIF_LEI_NOT_ISSUED: String
|
|
5020
|
+
GLEIF_NAME_MISMATCH: String
|
|
5021
|
+
GLEIF_COUNTRY_MISMATCH: String
|
|
5022
|
+
GLEIF_CONSISTENT: String
|
|
5023
|
+
|
|
5024
|
+
VALUES: Array[String]
|
|
5025
|
+
end
|
|
5026
|
+
|
|
5027
|
+
module TravelRuleSettingsDetailDiditNetworkLeiCheckStatus
|
|
5028
|
+
PASS: String
|
|
5029
|
+
FAIL: String
|
|
5030
|
+
UNKNOWN: String
|
|
5031
|
+
|
|
5032
|
+
VALUES: Array[String]
|
|
5033
|
+
end
|
|
5034
|
+
|
|
5000
5035
|
module TravelRuleSettingsDetailDiditNetworkMissing
|
|
5001
5036
|
TRAVEL_RULE_OFF: String
|
|
5002
5037
|
SANDBOX_APPLICATION: String
|
|
5003
5038
|
NOT_DISCOVERABLE: String
|
|
5004
5039
|
LEGAL_NAME_MISSING: String
|
|
5040
|
+
LEI_MISSING: String
|
|
5041
|
+
LEI_UNVERIFIED: String
|
|
5005
5042
|
COMPLIANCE_EMAIL_MISSING: String
|
|
5006
5043
|
COMPLIANCE_EMAIL_UNCONFIRMED: String
|
|
5007
5044
|
EXCLUDED_BY_STAFF: String
|
|
5008
5045
|
INTERNAL_ORGANIZATION: String
|
|
5046
|
+
REVIEW_PENDING: String
|
|
5009
5047
|
|
|
5010
5048
|
VALUES: Array[String]
|
|
5011
5049
|
end
|
|
@@ -8520,6 +8558,22 @@ module Didit
|
|
|
8520
8558
|
class NetworkGraphNode < Didit::Model
|
|
8521
8559
|
def id: () -> String?
|
|
8522
8560
|
def kind: () -> String?
|
|
8561
|
+
def wallet: () -> Didit::Types::NetworkGraphNodeWallet?
|
|
8562
|
+
end
|
|
8563
|
+
|
|
8564
|
+
class NetworkGraphNodeWallet < Didit::Model
|
|
8565
|
+
def asset: () -> String?
|
|
8566
|
+
def network: () -> String?
|
|
8567
|
+
def account_count: () -> Integer?
|
|
8568
|
+
def payout_count: () -> Integer?
|
|
8569
|
+
def paid_out: () -> Didit::Types::NetworkGraphNodeWalletPaidOut?
|
|
8570
|
+
def first_payout_at: () -> Time?
|
|
8571
|
+
def last_payout_at: () -> Time?
|
|
8572
|
+
end
|
|
8573
|
+
|
|
8574
|
+
class NetworkGraphNodeWalletPaidOut < Didit::Model
|
|
8575
|
+
def amount: () -> String?
|
|
8576
|
+
def currency: () -> String?
|
|
8523
8577
|
end
|
|
8524
8578
|
|
|
8525
8579
|
class NetworkListCounts < Didit::Model
|
|
@@ -8703,6 +8757,77 @@ module Didit
|
|
|
8703
8757
|
def last_seen_at: () -> Time?
|
|
8704
8758
|
end
|
|
8705
8759
|
|
|
8760
|
+
class NetworkSignalSearchMatch < Didit::Model
|
|
8761
|
+
def uuid: () -> String?
|
|
8762
|
+
def signal_type: () -> String?
|
|
8763
|
+
def quality_flags: () -> Didit::Types::NetworkSignalSearchMatchQualityFlags?
|
|
8764
|
+
def subject_count: () -> Integer?
|
|
8765
|
+
def first_seen_at: () -> Time?
|
|
8766
|
+
def last_seen_at: () -> Time?
|
|
8767
|
+
def subjects: () -> Array[Hash[String, untyped]]?
|
|
8768
|
+
def networks: () -> Array[Didit::Types::NetworkListItem]?
|
|
8769
|
+
end
|
|
8770
|
+
|
|
8771
|
+
class NetworkSignalSearchMatchQualityFlags < Didit::Model
|
|
8772
|
+
def is_datacenter_ip: () -> bool?
|
|
8773
|
+
def is_high_collision_device: () -> bool?
|
|
8774
|
+
def is_hub: () -> bool?
|
|
8775
|
+
end
|
|
8776
|
+
|
|
8777
|
+
class NetworkSignalSearchRecentPayout < Didit::Model
|
|
8778
|
+
def uuid: () -> String?
|
|
8779
|
+
def transaction_number: () -> Integer?
|
|
8780
|
+
def txn_id: () -> String?
|
|
8781
|
+
def txn_date: () -> Time?
|
|
8782
|
+
def amount: () -> String?
|
|
8783
|
+
def currency: () -> String?
|
|
8784
|
+
def paid_out: () -> Didit::Types::NetworkSignalSearchRecentPayoutPaidOut?
|
|
8785
|
+
def account: () -> Didit::Types::NetworkSignalSearchRecentPayoutAccount?
|
|
8786
|
+
end
|
|
8787
|
+
|
|
8788
|
+
class NetworkSignalSearchRecentPayoutAccount < Didit::Model
|
|
8789
|
+
def vendor_user_id: () -> String?
|
|
8790
|
+
def vendor_data: () -> String?
|
|
8791
|
+
def full_name: () -> String?
|
|
8792
|
+
end
|
|
8793
|
+
|
|
8794
|
+
class NetworkSignalSearchRecentPayoutPaidOut < Didit::Model
|
|
8795
|
+
def amount: () -> String
|
|
8796
|
+
def currency: () -> String
|
|
8797
|
+
end
|
|
8798
|
+
|
|
8799
|
+
class NetworkSignalSearchResponse < Didit::Model
|
|
8800
|
+
def signal_type: () -> String
|
|
8801
|
+
def match_count: () -> Integer
|
|
8802
|
+
def matches: () -> Array[Didit::Types::NetworkSignalSearchMatch]
|
|
8803
|
+
def enrichment_available: () -> bool?
|
|
8804
|
+
def enrichment: () -> Hash[String, untyped]?
|
|
8805
|
+
def cross_organization: () -> Didit::Types::NetworkSignalSearchResponseCrossOrganization?
|
|
8806
|
+
def wallet: () -> Didit::Types::NetworkSignalSearchWallet?
|
|
8807
|
+
end
|
|
8808
|
+
|
|
8809
|
+
class NetworkSignalSearchResponseCrossOrganization < Didit::Model
|
|
8810
|
+
def available: () -> bool?
|
|
8811
|
+
def signals_checked: () -> Integer?
|
|
8812
|
+
def insights: () -> Array[Hash[String, untyped]]?
|
|
8813
|
+
end
|
|
8814
|
+
|
|
8815
|
+
class NetworkSignalSearchWallet < Didit::Model
|
|
8816
|
+
def signal_id: () -> String?
|
|
8817
|
+
def is_shared_service: () -> bool?
|
|
8818
|
+
def account_count: () -> Integer?
|
|
8819
|
+
def payout_count: () -> Integer?
|
|
8820
|
+
def paid_out: () -> Didit::Types::NetworkSignalSearchWalletPaidOut?
|
|
8821
|
+
def first_payout_at: () -> Time?
|
|
8822
|
+
def last_payout_at: () -> Time?
|
|
8823
|
+
def recent_payouts: () -> Array[Didit::Types::NetworkSignalSearchRecentPayout]?
|
|
8824
|
+
end
|
|
8825
|
+
|
|
8826
|
+
class NetworkSignalSearchWalletPaidOut < Didit::Model
|
|
8827
|
+
def amount: () -> String
|
|
8828
|
+
def currency: () -> String
|
|
8829
|
+
end
|
|
8830
|
+
|
|
8706
8831
|
class NetworkTag < Didit::Model
|
|
8707
8832
|
def uuid: () -> String?
|
|
8708
8833
|
def name: () -> String?
|
|
@@ -12043,6 +12168,14 @@ module Didit
|
|
|
12043
12168
|
def listed: () -> bool?
|
|
12044
12169
|
def missing: () -> Array[String]?
|
|
12045
12170
|
def compliance_email_confirmed: () -> bool?
|
|
12171
|
+
def lei_check: () -> Didit::Types::TravelRuleSettingsDetailDiditNetworkLeiCheck?
|
|
12172
|
+
end
|
|
12173
|
+
|
|
12174
|
+
class TravelRuleSettingsDetailDiditNetworkLeiCheck < Didit::Model
|
|
12175
|
+
def status: () -> String?
|
|
12176
|
+
def reason: () -> String?
|
|
12177
|
+
def gleif_legal_name: () -> String?
|
|
12178
|
+
def checked_at: () -> Time?
|
|
12046
12179
|
end
|
|
12047
12180
|
|
|
12048
12181
|
class TravelRuleSettingsDetailNetworks < Didit::Model
|
|
@@ -12408,6 +12541,23 @@ module Didit
|
|
|
12408
12541
|
def color: () -> String?
|
|
12409
12542
|
end
|
|
12410
12543
|
|
|
12544
|
+
class UsersLookupDetail < Didit::Types::UsersLookupResponse
|
|
12545
|
+
def identifiers: () -> Array[String]
|
|
12546
|
+
end
|
|
12547
|
+
|
|
12548
|
+
class UsersLookupNotFound < Didit::Model
|
|
12549
|
+
def identifier: () -> String
|
|
12550
|
+
def position: () -> Integer
|
|
12551
|
+
end
|
|
12552
|
+
|
|
12553
|
+
class UsersLookupResponse < Didit::Model
|
|
12554
|
+
def lookup_id: () -> String
|
|
12555
|
+
def requested: () -> Integer
|
|
12556
|
+
def found: () -> Integer
|
|
12557
|
+
def not_found: () -> Array[Didit::Types::UsersLookupNotFound]
|
|
12558
|
+
def expires_at: () -> Time
|
|
12559
|
+
end
|
|
12560
|
+
|
|
12411
12561
|
class VaspDirectoryEntry < Didit::Model
|
|
12412
12562
|
def id: () -> String?
|
|
12413
12563
|
def kind: () -> String?
|
|
@@ -64,6 +64,19 @@ module Didit
|
|
|
64
64
|
VALUES: Array[String]
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
+
module NetworksSearchSignalsParamsSignalType
|
|
68
|
+
IP_ADDRESS: String
|
|
69
|
+
DEVICE: String
|
|
70
|
+
FACE: String
|
|
71
|
+
DOCUMENT_NUMBER: String
|
|
72
|
+
PHONE: String
|
|
73
|
+
EMAIL: String
|
|
74
|
+
ADDRESS: String
|
|
75
|
+
WALLET_ADDRESS: String
|
|
76
|
+
|
|
77
|
+
VALUES: Array[String]
|
|
78
|
+
end
|
|
79
|
+
|
|
67
80
|
class NetworksListMembersResponse < Didit::Model
|
|
68
81
|
def results: () -> Array[Didit::Types::NetworkMember]?
|
|
69
82
|
end
|
|
@@ -109,5 +122,7 @@ module Didit
|
|
|
109
122
|
type networks_notes_create_params = { comment: String, client_reference: String }
|
|
110
123
|
|
|
111
124
|
type networks_remove_tag_params = { tag_uuid: String }
|
|
125
|
+
|
|
126
|
+
type networks_search_signals_params = { signal_type: String, ?value: String, ?image: Didit::upload, ?issuing_state: String, ?document_type: String, ?region: String, ?tag: String }
|
|
112
127
|
end
|
|
113
128
|
end
|
data/sig/didit/types/users.rbs
CHANGED
|
@@ -168,6 +168,8 @@ module Didit
|
|
|
168
168
|
|
|
169
169
|
type users_create_params = { vendor_data: String, ?full_name: String?, ?display_name: String?, ?date_of_birth: (Date | String)?, ?status: String, ?metadata: (Hash[String | Symbol, untyped])?, ?approved_emails: Array[String], ?approved_phones: Array[String], ?issuing_states: Array[String], ?first_name: String, ?last_name: String, ?email: String, ?phone_number: String, ?country: String, ?send_verification_link: bool, ?workflow_id: String, ?language: String }
|
|
170
170
|
|
|
171
|
+
type users_lookup_params = { identifiers: Array[String] }
|
|
172
|
+
|
|
171
173
|
type users_set_aml_monitoring_params = { is_enabled: bool, ?estimate_only: bool, ?vendor_data_list: Array[String], ?didit_internal_id_list: Array[String] }
|
|
172
174
|
|
|
173
175
|
type users_set_ongoing_monitoring_params = { is_enabled: bool, ?estimate_only: bool, ?update_all: bool, ?filter_search: String, ?filter_status: Array[String], ?filter_country: String, ?filter_date_from: Date | String, ?filter_date_to: Date | String, ?didit_internal_id_list: Array[String] }
|