didit-sdk 2.25.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cdf128fe760d0a4da10d8ac085f8817af7d21342fe058205c3451751f788bf36
4
- data.tar.gz: 664e74fd6c18a9d573bc5b5d9b32e00a374542cddcef16adf66816e841e95eb3
3
+ metadata.gz: 12811b545130c316d0ad9a160ce1c7baa2923f2ca89783531375f0983dab232c
4
+ data.tar.gz: 48e181609a524d51ccb3e4fc2943d2f26a12e9fd9c370c24a306122db9767656
5
5
  SHA512:
6
- metadata.gz: e9514f82c251e47f65f0381692f73513efcd1859dd56a985bf304623d845a161702b76c9aaa73094eac6cdf065c67c337ce9f41530fce1b53a968a5c6680d969
7
- data.tar.gz: 6927bb4537e90f466b5ac5d9b19bb23dc43fd4bdcaf2ccafd0b7d6215a50a67289b4c121ceb476463a78234bf14d443d2d1b2015c2bbf063fef24ed48e32263a
6
+ metadata.gz: cf78d06eb017fcb7f41a4d08fdee12766e2cbd6617f61cf1bc377ef77f12b6d009d41ed261655d5e5bd4531e7388259b45ee06321f589f60357571883937ab25
7
+ data.tar.gz: 94f43808186aee1f23bddb622fd2d26df09f964d30f8d65955f8815e2c2a1cac6f4131f0434c722e50a9a82d0d7fe0cdbbc2e6aedc2b12ff99c9ec9942e2d709
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
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
+
3
10
  ## [2.25.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.24.0...v2.25.0) (2026-11-19)
4
11
 
5
12
 
@@ -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
@@ -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. This
238
- # endpoint does not support filtering or search parameters - fetch pages and filter client-side.
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.
@@ -9836,10 +9850,30 @@ module Didit
9836
9850
  # transaction_party) carry id, kind, subject, node_status (approved | in_review | declined | not_completed), and
9837
9851
  # tags. Signal nodes (kind: signal) carry id, kind, uuid, signal_type, subject_count, coverage, is_hub,
9838
9852
  # is_datacenter_ip, is_high_collision_device, node_status (signal_active | signal_guarded), tags, risk_evidence,
9839
- # 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.
9840
9855
  class NetworkGraphNode < Didit::Model
9841
9856
  field :id, "id", :string
9842
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
9843
9877
  end
9844
9878
 
9845
9879
  # Network counts for the list's views and filter options, each network counted once. Returned only when `summary`
@@ -10050,6 +10084,80 @@ module Didit
10050
10084
  field :last_seen_at, "last_seen_at", :datetime
10051
10085
  end
10052
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
+
10053
10161
  # One of your application's tags on the network.
10054
10162
  class NetworkTag < Didit::Model
10055
10163
  field :uuid, "uuid", :string
@@ -14092,6 +14200,23 @@ module Didit
14092
14200
  field :color, "color", :string
14093
14201
  end
14094
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
+
14095
14220
  # A VASP of the directory or a member of the Didit network, with the routes your application has to it. A customer
14096
14221
  # is a member of the Didit network only while its application is live, its Travel Rule is on, its profile is
14097
14222
  # discoverable, has a legal name and a confirmed compliance email, has an LEI that GLEIF lists as issued to an
@@ -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"
@@ -1832,6 +1845,9 @@ module Didit
1832
1845
  autoload :UsersCreateResponseTagsTagSource, "didit/types/users"
1833
1846
  autoload :UsersCreateResponseVerificationLink, "didit/types/users"
1834
1847
  autoload :UsersListResponse, "didit/types/users"
1848
+ autoload :UsersLookupDetail, "didit/types/components"
1849
+ autoload :UsersLookupNotFound, "didit/types/components"
1850
+ autoload :UsersLookupResponse, "didit/types/components"
1835
1851
  autoload :UsersUpdateParamsStatus, "didit/types/users"
1836
1852
  autoload :UsersUpdateStatusParamsStatus, "didit/types/users"
1837
1853
  autoload :UsersUploadFaceResponse, "didit/types/users"
data/lib/didit/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Didit
4
- VERSION = "2.25.0" # x-release-please-version
4
+ VERSION = "2.26.0" # x-release-please-version
5
5
  end
@@ -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 list: (?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::UserListItem]
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
@@ -8545,6 +8558,22 @@ module Didit
8545
8558
  class NetworkGraphNode < Didit::Model
8546
8559
  def id: () -> String?
8547
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?
8548
8577
  end
8549
8578
 
8550
8579
  class NetworkListCounts < Didit::Model
@@ -8728,6 +8757,77 @@ module Didit
8728
8757
  def last_seen_at: () -> Time?
8729
8758
  end
8730
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
+
8731
8831
  class NetworkTag < Didit::Model
8732
8832
  def uuid: () -> String?
8733
8833
  def name: () -> String?
@@ -12441,6 +12541,23 @@ module Didit
12441
12541
  def color: () -> String?
12442
12542
  end
12443
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
+
12444
12561
  class VaspDirectoryEntry < Didit::Model
12445
12562
  def id: () -> String?
12446
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
@@ -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] }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: didit-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.25.0
4
+ version: 2.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didit