didit-sdk 2.11.0 → 2.13.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: c25cb467ffdc9235af3e6f724703223f127c76da7ad008139d922764d2182dd3
4
- data.tar.gz: 1e9bd3ec03b421bc80b8f6fb71566e7b6b42bb63ba59ce4af742f73eab4f10c6
3
+ metadata.gz: 88b2a67f60c7c6817959479e213a2458a19e281c0b1d25ce2e2d5e5b20e04cc7
4
+ data.tar.gz: a5bd939f7fe5bbc01a41fd3e6b563c549a72282f348648f10c55dad73ce230d6
5
5
  SHA512:
6
- metadata.gz: 3f9d2e4c631cc28590475cb713fa56e92dafa80b32b504ba2505e1de88658d5b4916265ace38cc65b30d5ba91bb4abf6d8c0f967cb373b37d16d6ce0248a85b6
7
- data.tar.gz: 8a5e7c0ef5169cdf7fd53c99105a08f9e6a24a296aad8091e85e365b89d3b68e65b463131a3242699d350edff65246fd7a9355263136eb589f151b5f60c4a51d
6
+ metadata.gz: 15ba2f596d5b7014f98963637698fd4b5dac96dd547f8fb9fc9414d2f7d6d2aef8d8f5302dce36e41619421c9d4b89f31f3b7db51407d292eac02d76861ab348
7
+ data.tar.gz: 8fae87cb3eddd611a32b34162415ab6951f5684022bddee23776514d74c783efe62c77680aa4b8f6fbea7ecda076a2630573d0e782742f1fb0fe097850f5e563
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.13.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.12.0...v2.13.0) (2026-11-11)
4
+
5
+
6
+ ### Features
7
+
8
+ * **spec:** sync API spec 2026-11-11 ([918c23f](https://github.com/didit-protocol/sdk-ruby/commit/918c23f87009d9d61c568fc270fd97a17b0aa2b0))
9
+
10
+ ## [2.12.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.11.0...v2.12.0) (2026-11-11)
11
+
12
+
13
+ ### Features
14
+
15
+ * **spec:** sync API spec 2026-11-11 ([99ec1de](https://github.com/didit-protocol/sdk-ruby/commit/99ec1de70b9b7741f5c3fce5e423b55d8e34d86e))
16
+
3
17
  ## [2.11.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.10.0...v2.11.0) (2026-11-11)
4
18
 
5
19
 
@@ -142,7 +142,9 @@ module Didit
142
142
  # Set initiate_login_uri to your HTTPS sign-in page on the exact website_url hostname, or an empty string to
143
143
  # disable admin-sent sign-in links. Changing website_url also revalidates the saved sign-in URI. Invalid
144
144
  # values return 400 with an initiate_login_uri field error; hostname and URI policy failures use
145
- # https_url_on_registered_website_required.
145
+ # https_url_on_registered_website_required. An MCP token (a "Log in with Didit" grant, `token_use` `mcp`) also
146
+ # needs the `didit:management` scope, which carries the `applications` resource; a grant limited to
147
+ # `didit:verification` is refused with 403 before anything is created.
146
148
  #
147
149
  # +POST /organizations/me/{org_id}/applications/+
148
150
  #
@@ -201,7 +203,9 @@ module Didit
201
203
  #
202
204
  # List the organization's applications, 50 per page by default. Use this to discover `app_id` values when
203
205
  # recovering credentials from a new machine, then call `GET /organizations/me/{org_id}/applications/{app_id}/`
204
- # for the API key. Requires an owner or admin Bearer token.
206
+ # for the API key. Requires an owner or admin Bearer token. An MCP token (a "Log in with Didit" grant,
207
+ # `token_use` `mcp`) also needs the `didit:management` scope, which carries the `applications` resource; a
208
+ # grant limited to `didit:verification` is refused with 403 before any application is listed.
205
209
  #
206
210
  # +GET /organizations/me/{org_id}/applications/+
207
211
  #
@@ -229,7 +233,9 @@ module Didit
229
233
  # Get Application Credentials
230
234
  #
231
235
  # Read one application's full record including `client_id` and `api_key`. Use this to recover a lost
232
- # `api_key`.
236
+ # `api_key`. An MCP token (a "Log in with Didit" grant, `token_use` `mcp`) also needs the `didit:management`
237
+ # scope, which carries the `applications` resource; a grant limited to `didit:verification` is refused with
238
+ # 403 before the application is read.
233
239
  #
234
240
  # +GET /organizations/me/{org_id}/applications/{app_id}/+
235
241
  #
@@ -259,7 +265,9 @@ module Didit
259
265
  # Set initiate_login_uri to your HTTPS sign-in page on the exact website_url hostname, or an empty string to
260
266
  # disable admin-sent sign-in links. Changing website_url also revalidates the saved sign-in URI. Invalid
261
267
  # values return 400 with an initiate_login_uri field error; hostname and URI policy failures use
262
- # https_url_on_registered_website_required.
268
+ # https_url_on_registered_website_required. An MCP token (a "Log in with Didit" grant, `token_use` `mcp`) also
269
+ # needs the `didit:management` scope, which carries the `applications` resource; a grant limited to
270
+ # `didit:verification` is refused with 403 before anything is changed.
263
271
  #
264
272
  # +PATCH /organizations/me/{org_id}/applications/{app_id}/+
265
273
  #
@@ -1569,9 +1569,13 @@ module Didit
1569
1569
  # @param contact_id [String]
1570
1570
  # @param purpose [String] * `identity_document` - identity_document * `proof_of_address` - proof_of_address *
1571
1571
  # `business_document` - business_document * `confirm_details` - confirm_details * `review_in_progress` -
1572
- # review_in_progress
1572
+ # review_in_progress * `source_of_funds` - Request a document showing the source of payment funds. *
1573
+ # `purpose_of_payment` - Request a document explaining the payment purpose. Both are available for person and
1574
+ # busin...
1573
1575
  # @param request_id [String]
1574
- # @param expires_at [Time, String]
1576
+ # @param expires_at [Time, String] Use the expiry covered by the preview token. Source-of-funds and
1577
+ # purpose-of-payment requests allow up to 14 days; other purposes allow up to seven days. The default remains
1578
+ # seven days. Changing the expiry without a matching preview is rejected.
1575
1579
  # @param preview_token [String]
1576
1580
  # @param language [String]
1577
1581
  # @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
@@ -1638,7 +1642,9 @@ module Didit
1638
1642
  # @param contact_id [String]
1639
1643
  # @param purpose [String] * `identity_document` - identity_document * `proof_of_address` - proof_of_address *
1640
1644
  # `business_document` - business_document * `confirm_details` - confirm_details * `review_in_progress` -
1641
- # review_in_progress
1645
+ # review_in_progress * `source_of_funds` - Request a document showing the source of payment funds. *
1646
+ # `purpose_of_payment` - Request a document explaining the payment purpose. Both are available for person and
1647
+ # busin...
1642
1648
  # @param language [String]
1643
1649
  # @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
1644
1650
  # @return [Didit::Types::CustomerMessagingCaseRequestPreviewResponse]
@@ -215,7 +215,10 @@ module Didit
215
215
  #
216
216
  # Takes another action with a category and a reason. Also overrides a decision the Investigator took on its own
217
217
  # while it still stands. Restricted keys need the `decisions` scope (write); transaction alerts also need
218
- # `transactions` (write). Escalating a verification or transaction opens a case.
218
+ # `transactions` (write). Escalating a verification or transaction opens a case. Automated transaction decisions
219
+ # can be overridden only while the original decision still stands. The original decision remains unchanged, the
220
+ # override is recorded separately, and an immediate policy question is raised for its recorded situations with
221
+ # the original policy action. The override does not charge for another automated decision.
219
222
  #
220
223
  # +POST /v3/investigator/runs/{run_id}/override/+
221
224
  #
@@ -2460,10 +2460,25 @@ module Didit
2460
2460
  # `email_preview_token`: the update then sends exactly the previewed email, or returns `409` before changing
2461
2461
  # anything when the email or the session changed since the preview or the receipt is older than 15 minutes.
2462
2462
  #
2463
- # Repeating `Approved` or `Declined` on a session that already has that status changes nothing and returns
2464
- # `200`: no webhook, no activity entry and no email. Repeating `Resubmitted` returns `400` (`The new status is
2465
- # the same as the current status.`). Missing or invalid credentials and missing permissions return `403`; an
2466
- # expired scoped API key returns `401`.
2463
+ # Repeating `Approved` or `Declined` on a session that already has that status returns `200` without a status
2464
+ # webhook, status activity entry or email. An `Approved` request can still create a same-person link as
2465
+ # described below. Repeating `Resubmitted` returns `400` (`The new status is the same as the current status.`).
2466
+ # Missing or invalid credentials and missing permissions return `403`; an expired scoped API key returns `401`.
2467
+ #
2468
+ # To record a reviewer decision that two verifications belong to the same person, send `new_status: "Approved"`,
2469
+ # `link_to_session_id` and `link_reason`. Both sessions must be distinct, live KYC verifications in the same
2470
+ # application. The target need not be approved or have a person profile. `link_reason` is separate from
2471
+ # `comment`, must be nonblank after trimming and accepts at most 2000 characters. A reason without a target,
2472
+ # linking with another status, an invalid or unavailable target, a self-link, or a KYB participant returns
2473
+ # `400`. Approval and linking succeed together or neither changes. If either session already belongs to a group,
2474
+ # their groups are joined. An already-approved source can be linked for the first time without another status
2475
+ # event or email. A retry within the same group creates no additional link audit. Concurrent group edits return
2476
+ # `409`; retry the request.
2477
+ #
2478
+ # Grouping does not merge person profiles, profile fields or biometric data. Each verification keeps its
2479
+ # original profile association and deletion ownership. Deleting a verification removes it from the group. Link
2480
+ # actions have a separate audit recording the actor, time and `link_reason`; they are not status-review entries.
2481
+ # Group navigation and unlinking are console-only, with no public read or unlink endpoint.
2467
2482
  #
2468
2483
  # +PATCH /v3/session/{sessionId}/update-status/+
2469
2484
  #
@@ -2491,6 +2506,13 @@ module Didit
2491
2506
  # Email](/sessions-api/preview-resubmission) (for `Resubmitted`): its `preview_token`. Valid only with
2492
2507
  # `send_email: true`; without it the request returns `400`. The recipient, language, session status, sender and
2493
2508
  # email (and, for a resubmission, the selected s...
2509
+ # @param link_to_session_id [String] Optional UUID of another live KYC verification in the same application.
2510
+ # Requires new_status=Approved and link_reason. Both participants must be KYC; self-links, deleted, missing and
2511
+ # foreign-application targets return 400. The target need not be approved or have a person profile. Existing
2512
+ # groups are joined.
2513
+ # @param link_reason [String] Reviewer reason for the same-person link, required with link_to_session_id and
2514
+ # rejected without it. Leading and trailing whitespace is trimmed; the result must be nonblank and at most 2000
2515
+ # characters. Recorded in the separate link audit. comment does not substitute for this field.
2494
2516
  # @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
2495
2517
  # @return [Didit::Types::SessionsUpdateStatusResponse]
2496
2518
  def update_status(
@@ -2502,6 +2524,8 @@ module Didit
2502
2524
  email_address: OMIT,
2503
2525
  email_language: OMIT,
2504
2526
  email_preview_token: OMIT,
2527
+ link_to_session_id: OMIT,
2528
+ link_reason: OMIT,
2505
2529
  request_options: nil
2506
2530
  )
2507
2531
  @client.request(
@@ -2515,7 +2539,9 @@ module Didit
2515
2539
  "send_email" => send_email,
2516
2540
  "email_address" => email_address,
2517
2541
  "email_language" => email_language,
2518
- "email_preview_token" => email_preview_token
2542
+ "email_preview_token" => email_preview_token,
2543
+ "link_to_session_id" => link_to_session_id,
2544
+ "link_reason" => link_reason
2519
2545
  },
2520
2546
  response: Types::SessionsUpdateStatusResponse,
2521
2547
  request_options: request_options
@@ -426,6 +426,8 @@ module Didit
426
426
  # @param evaluation_mode [String]
427
427
  # @param scope [Hash] Which transactions the rule applies to. Only these three keys are accepted.
428
428
  # @param period_days [Integer]
429
+ # @param rule_id [String] Optional ID of the rule being edited. Excludes that rule from overlap comparisons;
430
+ # does not change the candidate configuration.
429
431
  # @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
430
432
  # @return [Didit::Types::TransactionRuleBacktestResult]
431
433
  def backtest(
@@ -434,6 +436,7 @@ module Didit
434
436
  evaluation_mode: OMIT,
435
437
  scope: OMIT,
436
438
  period_days: OMIT,
439
+ rule_id: OMIT,
437
440
  request_options: nil
438
441
  )
439
442
  @client.request(
@@ -444,7 +447,8 @@ module Didit
444
447
  "aggregation" => aggregation,
445
448
  "evaluation_mode" => evaluation_mode,
446
449
  "scope" => scope,
447
- "period_days" => period_days
450
+ "period_days" => period_days,
451
+ "rule_id" => rule_id
448
452
  },
449
453
  response: Types::TransactionRuleBacktestResult,
450
454
  request_options: request_options
@@ -846,6 +850,34 @@ module Didit
846
850
  )
847
851
  end
848
852
 
853
+ # List Travel Rule delivery history
854
+ #
855
+ # Read the complete delivery history for a transaction, oldest first. Requires transaction read permission.
856
+ # Unlike the newest 100 entries embedded in detail, this endpoint paginates the full history. See [delivery
857
+ # history](/management-api/travel-rule/list-deliveries).
858
+ #
859
+ # +GET /v3/transactions/{transaction_id}/travel-rule/deliveries/+
860
+ #
861
+ # @param transaction_id [String] Didit-stable transaction UUID that owns the transfer.
862
+ # @param limit [Integer] Entries per page. Defaults to 100 and larger values are capped at 100; a value above
863
+ # 1,000,000 returns `400`.
864
+ # @param offset [Integer] Number of entries to skip, up to 1,000,000. A larger value returns `400`.
865
+ # @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
866
+ # @return [Didit::Page<Didit::Types::TravelRuleDeliveryLogEntry>]
867
+ def list_deliveries(transaction_id, limit: OMIT, offset: OMIT, request_options: nil)
868
+ @client.request(
869
+ :get,
870
+ "/v3/transactions/{transaction_id}/travel-rule/deliveries/",
871
+ path_params: { "transaction_id" => transaction_id },
872
+ query: {
873
+ "limit" => limit,
874
+ "offset" => offset
875
+ },
876
+ page: Types::TravelRuleDeliveryLogEntry,
877
+ request_options: request_options
878
+ )
879
+ end
880
+
849
881
  # List Travel Rule messages
850
882
  #
851
883
  # Messages and document requests exchanged with the counterparty VASP about this transfer.
@@ -469,6 +469,7 @@ module Didit
469
469
  # response field of the same name.
470
470
  # @param disabled_networks [Array<String>] Networks opted out of platform membership. Does not disable your
471
471
  # connected own memberships or provision unavailable networks.
472
+ # @param licence [String] VASP licence or registration reference. Empty when not supplied.
472
473
  # @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
473
474
  # @return [Didit::Types::TravelRuleSettingsDetail]
474
475
  def update_settings(
@@ -496,6 +497,7 @@ module Didit
496
497
  sunrise_policy: OMIT,
497
498
  non_responsive_policy: OMIT,
498
499
  disabled_networks: OMIT,
500
+ licence: OMIT,
499
501
  request_options: nil
500
502
  )
501
503
  @client.request(
@@ -525,7 +527,8 @@ module Didit
525
527
  "counterparty_screening_enabled" => counterparty_screening_enabled,
526
528
  "sunrise_policy" => sunrise_policy,
527
529
  "non_responsive_policy" => non_responsive_policy,
528
- "disabled_networks" => disabled_networks
530
+ "disabled_networks" => disabled_networks,
531
+ "licence" => licence
529
532
  },
530
533
  response: Types::TravelRuleSettingsDetail,
531
534
  request_options: request_options
@@ -1186,14 +1189,18 @@ module Didit
1186
1189
  # +POST /v3/travel-rule/workspace/claim/+
1187
1190
  #
1188
1191
  # @param vasp_id [String] The directory entry this workspace is. Read ids from `GET /v3/travel-rule/vasps/`.
1192
+ # @param licence [String] Optional licence or registration reference, up to 255 characters; empty clears it.
1193
+ # Omission preserves it for the same directory entry and clears it when claiming a different entry. Applied to
1194
+ # the VASP profile only when the claim is granted.
1189
1195
  # @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
1190
1196
  # @return [Didit::Types::TravelRuleWorkspace]
1191
- def claim(vasp_id:, request_options: nil)
1197
+ def claim(vasp_id:, licence: OMIT, request_options: nil)
1192
1198
  @client.request(
1193
1199
  :post,
1194
1200
  "/v3/travel-rule/workspace/claim/",
1195
1201
  body: {
1196
- "vasp_id" => vasp_id
1202
+ "vasp_id" => vasp_id,
1203
+ "licence" => licence
1197
1204
  },
1198
1205
  response: Types::TravelRuleWorkspace,
1199
1206
  request_options: request_options
@@ -51,7 +51,10 @@ module Didit
51
51
  #
52
52
  # +POST /v3/wallet-screening/pdf/+
53
53
  #
54
- # @param provider [String] Provider that performed the screening (e.g. `merklescience`, `crystal`).
54
+ # @param provider [String] Provider that performed the screening (e.g. `merklescience`, `crystal`). When the
55
+ # provider you connected in the Marketplace rejected or failed the screening and that connection's fallback to
56
+ # Didit is on, this names Didit's managed screening, not the provider you connected, and
57
+ # `fallback_from_provider` names the provider that failed.
55
58
  # @param screening_type [String] Always `WALLET_SCREENING` for this endpoint.
56
59
  # @param risk_score [Integer] Normalised 0-100 risk score. Higher means greater exposure to risky entities.
57
60
  # Merkle Science grades an address 0-5, which maps to 0, 15, 35, 55, 75 or 95.
@@ -110,6 +113,14 @@ module Didit
110
113
  # score alone is not actionable. Ordered high-risk first, then by the value that moved through each driver,
111
114
  # capped at the five strongest; `source_of_funds` and `destination_of_funds` always carry the complete
112
115
  # breakdow...
116
+ # @param fallback_from_provider [String, nil] Set when the provider you connected in the Marketplace rejected or
117
+ # failed this screening and it ran on Didit's managed provider instead, because that connection's **Fall back to
118
+ # Didit** setting is on: the key of the provider that failed (`crystal`, `chainalysis`, `elliptic` or
119
+ # `trmlabs`). The screening is billed at the managed rate and the failed call is not billed. `null` on every
120
+ # other screenin...
121
+ # @param fallback_reason [String, nil] Why the provider you connected failed, when `fallback_from_provider` is
122
+ # set, for example `Your Crystal account has reached its call limit. Raise the limit with Crystal to screen with
123
+ # it again.` `null` on every other screening.
113
124
  # @param raw_response [Hash] The provider's own payload. Its shape is provider-specific and can change without
114
125
  # notice: read the normalised fields instead of parsing it.
115
126
  # @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
@@ -142,6 +153,8 @@ module Didit
142
153
  network_edges: OMIT,
143
154
  pep_counterparty: OMIT,
144
155
  risk_factors: OMIT,
156
+ fallback_from_provider: OMIT,
157
+ fallback_reason: OMIT,
145
158
  raw_response: OMIT,
146
159
  request_options: nil,
147
160
  &block
@@ -177,6 +190,8 @@ module Didit
177
190
  "network_edges" => network_edges,
178
191
  "pep_counterparty" => pep_counterparty,
179
192
  "risk_factors" => risk_factors,
193
+ "fallback_from_provider" => fallback_from_provider,
194
+ "fallback_reason" => fallback_reason,
180
195
  "raw_response" => raw_response
181
196
  },
182
197
  response: :binary,
@@ -881,14 +881,19 @@ module Didit
881
881
  # * `business_document` - business_document
882
882
  # * `confirm_details` - confirm_details
883
883
  # * `review_in_progress` - review_in_progress
884
+ # * `source_of_funds` - Request a document showing the source of payment funds.
885
+ # * `purpose_of_payment` - Request a document explaining the payment purpose. Both are available for person and
886
+ # business cases.
884
887
  module CustomerMessagingPurposeEnum
885
888
  IDENTITY_DOCUMENT = "identity_document"
886
889
  PROOF_OF_ADDRESS = "proof_of_address"
887
890
  BUSINESS_DOCUMENT = "business_document"
888
891
  CONFIRM_DETAILS = "confirm_details"
889
892
  REVIEW_IN_PROGRESS = "review_in_progress"
893
+ SOURCE_OF_FUNDS = "source_of_funds"
894
+ PURPOSE_OF_PAYMENT = "purpose_of_payment"
890
895
 
891
- VALUES = [IDENTITY_DOCUMENT, PROOF_OF_ADDRESS, BUSINESS_DOCUMENT, CONFIRM_DETAILS, REVIEW_IN_PROGRESS].freeze
896
+ VALUES = [IDENTITY_DOCUMENT, PROOF_OF_ADDRESS, BUSINESS_DOCUMENT, CONFIRM_DETAILS, REVIEW_IN_PROGRESS, SOURCE_OF_FUNDS, PURPOSE_OF_PAYMENT].freeze
892
897
  end
893
898
 
894
899
  # * `identity_document` - identity_document
@@ -896,14 +901,19 @@ module Didit
896
901
  # * `business_document` - business_document
897
902
  # * `confirm_details` - confirm_details
898
903
  # * `review_in_progress` - review_in_progress
904
+ # * `source_of_funds` - Request a document showing the source of payment funds.
905
+ # * `purpose_of_payment` - Request a document explaining the payment purpose. Both are available for person and
906
+ # business cases.
899
907
  module CustomerMessagingPurposesEnum
900
908
  IDENTITY_DOCUMENT = "identity_document"
901
909
  PROOF_OF_ADDRESS = "proof_of_address"
902
910
  BUSINESS_DOCUMENT = "business_document"
903
911
  CONFIRM_DETAILS = "confirm_details"
904
912
  REVIEW_IN_PROGRESS = "review_in_progress"
913
+ SOURCE_OF_FUNDS = "source_of_funds"
914
+ PURPOSE_OF_PAYMENT = "purpose_of_payment"
905
915
 
906
- VALUES = [IDENTITY_DOCUMENT, PROOF_OF_ADDRESS, BUSINESS_DOCUMENT, CONFIRM_DETAILS, REVIEW_IN_PROGRESS].freeze
916
+ VALUES = [IDENTITY_DOCUMENT, PROOF_OF_ADDRESS, BUSINESS_DOCUMENT, CONFIRM_DETAILS, REVIEW_IN_PROGRESS, SOURCE_OF_FUNDS, PURPOSE_OF_PAYMENT].freeze
907
917
  end
908
918
 
909
919
  # * `ISL` - ISL
@@ -4741,6 +4751,27 @@ module Didit
4741
4751
  VALUES = [DIDIT, CUSTOM].freeze
4742
4752
  end
4743
4753
 
4754
+ # Which side of the exchange this transfer is.
4755
+ module TransactionListTravelRuleDirection
4756
+ INBOUND = "INBOUND"
4757
+ OUTBOUND = "OUTBOUND"
4758
+
4759
+ VALUES = [INBOUND, OUTBOUND].freeze
4760
+ end
4761
+
4762
+ # not_required when the transfer is not required; otherwise confirmed or not_confirmed follows
4763
+ # ownership_confirmed. With no verdict, requested means an active outbound ownership widget matches this transfer
4764
+ # and subject; otherwise not_requested. A request is not completed proof.
4765
+ module TransactionListTravelRuleProofState
4766
+ NOT_REQUIRED = "not_required"
4767
+ CONFIRMED = "confirmed"
4768
+ NOT_CONFIRMED = "not_confirmed"
4769
+ REQUESTED = "requested"
4770
+ NOT_REQUESTED = "not_requested"
4771
+
4772
+ VALUES = [NOT_REQUIRED, CONFIRMED, NOT_CONFIRMED, REQUESTED, NOT_REQUESTED].freeze
4773
+ end
4774
+
4744
4775
  # Status after the change.
4745
4776
  module TransactionNoteMetadataNewStatus
4746
4777
  APPROVED = "APPROVED"
@@ -5046,6 +5077,19 @@ module Didit
5046
5077
  VALUES = [INBOUND, OUTBOUND].freeze
5047
5078
  end
5048
5079
 
5080
+ # not_required when the transfer is not required; otherwise confirmed or not_confirmed follows
5081
+ # ownership_confirmed. With no verdict, requested means an active outbound ownership widget matches this transfer
5082
+ # and subject; otherwise not_requested. A request is not completed proof.
5083
+ module TransactionTravelRuleProofState
5084
+ NOT_REQUIRED = "not_required"
5085
+ CONFIRMED = "confirmed"
5086
+ NOT_CONFIRMED = "not_confirmed"
5087
+ REQUESTED = "requested"
5088
+ NOT_REQUESTED = "not_requested"
5089
+
5090
+ VALUES = [NOT_REQUIRED, CONFIRMED, NOT_CONFIRMED, REQUESTED, NOT_REQUESTED].freeze
5091
+ end
5092
+
5049
5093
  # On an outbound Lightning transfer whose payment request names no payee: why the transfer is `NOT_APPLICABLE`.
5050
5094
  # `LIGHTNING_NO_PAYEE_IDENTIFIER` (the request names no payee node, or could not be decoded),
5051
5095
  # `LIGHTNING_BOLT12_BLINDED_PAYEE` (the offer hides its payee behind blinded paths),
@@ -5248,6 +5292,42 @@ module Didit
5248
5292
  VALUES = [SEND, ANSWER, TXID, CANCEL, POLL].freeze
5249
5293
  end
5250
5294
 
5295
+ # What the message carries. `SEND`: the transfer's first message to the counterparty (outbound; the rail is chosen
5296
+ # when it is sent). `ANSWER`: your accept or decline, owed to the network that asked (inbound). `TXID`: the
5297
+ # on-chain transaction hash, after you finish the transfer. `CANCEL`: the cancellation, after you cancel it.
5298
+ # `POLL`: a status query to a network that offers one, repeated every 5 minutes while the transfer waits on the
5299
+ # counterparty.
5300
+ module TravelRuleDeliveryLogEntryKind
5301
+ SEND = "SEND"
5302
+ ANSWER = "ANSWER"
5303
+ TXID = "TXID"
5304
+ CANCEL = "CANCEL"
5305
+ POLL = "POLL"
5306
+
5307
+ VALUES = [SEND, ANSWER, TXID, CANCEL, POLL].freeze
5308
+ end
5309
+
5310
+ # Supplier-neutral transport type; null until selected.
5311
+ module TravelRuleDeliveryLogEntryRail
5312
+ EMAIL = "EMAIL"
5313
+ TRP = "TRP"
5314
+ INTERNAL = "INTERNAL"
5315
+ NETWORK = "NETWORK"
5316
+
5317
+ VALUES = [EMAIL, TRP, INTERNAL, NETWORK].freeze
5318
+ end
5319
+
5320
+ # Current delivery status.
5321
+ module TravelRuleDeliveryLogEntryStatus
5322
+ QUEUED = "QUEUED"
5323
+ SENDING = "SENDING"
5324
+ RETRYING = "RETRYING"
5325
+ DELIVERED = "DELIVERED"
5326
+ FAILED = "FAILED"
5327
+
5328
+ VALUES = [QUEUED, SENDING, RETRYING, DELIVERED, FAILED].freeze
5329
+ end
5330
+
5251
5331
  # The rail that carries the message. Empty until Didit has chosen one for a first message.
5252
5332
  module TravelRuleDeliveryRail
5253
5333
  INTERNAL = "INTERNAL"
@@ -5678,6 +5758,19 @@ module Didit
5678
5758
  VALUES = [INBOUND, OUTBOUND].freeze
5679
5759
  end
5680
5760
 
5761
+ # not_required when the transfer is not required; otherwise confirmed or not_confirmed follows
5762
+ # ownership_confirmed. With no verdict, requested means an active outbound ownership widget matches this transfer
5763
+ # and subject; otherwise not_requested. A request is not completed proof.
5764
+ module TravelRuleTransferDetailProofState
5765
+ NOT_REQUIRED = "not_required"
5766
+ CONFIRMED = "confirmed"
5767
+ NOT_CONFIRMED = "not_confirmed"
5768
+ REQUESTED = "requested"
5769
+ NOT_REQUESTED = "not_requested"
5770
+
5771
+ VALUES = [NOT_REQUIRED, CONFIRMED, NOT_CONFIRMED, REQUESTED, NOT_REQUESTED].freeze
5772
+ end
5773
+
5681
5774
  # The rail the transfer was routed over, or null when no rail was selected (for example below the threshold, a
5682
5775
  # self-hosted counterparty wallet, an after-deposit registration, or no reachable counterparty). INTERNAL means
5683
5776
  # both sides are Didit applications; EMAIL means the counterparty was reached by an emailed pickup link. TEST_VASP
@@ -5837,6 +5930,16 @@ module Didit
5837
5930
  VALUES = [PENDING, VERIFIED, REJECTED, EXPIRED].freeze
5838
5931
  end
5839
5932
 
5933
+ # Structured rejection reason. Empty when none was recorded; a new claim or approval clears it. Read review_note
5934
+ # for the explanation.
5935
+ module TravelRuleWorkspaceClaimRejectionReason
5936
+ VALUE = ""
5937
+ DOMAIN_MISMATCH = "domain_mismatch"
5938
+ OTHER = "other"
5939
+
5940
+ VALUES = [VALUE, DOMAIN_MISMATCH, OTHER].freeze
5941
+ end
5942
+
5840
5943
  # Known values of an open enum: the API may send others.
5841
5944
  module TravelRuleWorkspaceClaimStatus
5842
5945
  UNCLAIMED = "unclaimed"
@@ -5865,6 +5968,14 @@ module Didit
5865
5968
  VALUES = [UNVERIFIED, CODE_SENT, VERIFIED].freeze
5866
5969
  end
5867
5970
 
5971
+ # Whether the quote comes from the plan or account contract.
5972
+ module TravelRuleWorkspaceOutboundPriceSource
5973
+ PLAN = "plan"
5974
+ CONTRACT = "contract"
5975
+
5976
+ VALUES = [PLAN, CONTRACT].freeze
5977
+ end
5978
+
5868
5979
  # Known values of an open enum: the API may send others.
5869
5980
  module UserDetailItemCommentsCommentType
5870
5981
  COMMENT = "COMMENT"
@@ -11760,6 +11871,9 @@ module Didit
11760
11871
  field :id, "id", :string
11761
11872
  field :uuid, "uuid", :string
11762
11873
  field :title, "title", :string
11874
+ field :language, "language", :string
11875
+ field :source_revision, "source_revision", :string
11876
+ field :translation_id, "translation_id", :string
11763
11877
  field :file_name, "file_name", :string
11764
11878
  field :pages, "pages", :integer
11765
11879
  field :size_bytes, "size_bytes", :integer
@@ -12095,6 +12209,50 @@ module Didit
12095
12209
  field :source, "source", :string
12096
12210
  end
12097
12211
 
12212
+ # Travel Rule summary on a transaction list item. Includes latest delivery but omits deliveries and
12213
+ # deliveries_truncated.
12214
+ class TransactionListTravelRule < Didit::Model
12215
+ field :uuid, "uuid", :string
12216
+ field :status, "status", :string
12217
+ field :protocol, "protocol", :string
12218
+ field :required, "required", :boolean
12219
+ field :obligations_count, "obligations_count", :integer
12220
+ field :originator_data, "originator_data", :any
12221
+ field :beneficiary_data, "beneficiary_data", :any
12222
+ field :name_match, "name_match", :any
12223
+ field :data_match, "data_match", "TravelRuleDataMatch"
12224
+ field :mismatched_fields, "mismatched_fields", [:array, :string]
12225
+ field :data_unmasked, "data_unmasked", "TravelRuleDataUnmasked"
12226
+ field :data_masked, "data_masked", :boolean
12227
+ field :metadata, "metadata", :any
12228
+ field :direction, "direction", :string
12229
+ field :rail, "rail", :string
12230
+ field :counterparty_vasp, "counterparty_vasp", "TransactionListTravelRuleCounterpartyVasp"
12231
+ field :delivery, "delivery", "TravelRuleDelivery"
12232
+ field :discovery, "discovery", [:array, "TravelRuleDiscoveryStep"]
12233
+ field :reason, "reason", :string
12234
+ field :next_actions, "next_actions", [:array, "TravelRuleNextAction"]
12235
+ field :chain_details, "chain_details", "TravelRuleChainDetails"
12236
+ field :not_required_reason, "not_required_reason", :string
12237
+ field :proof_state, "proof_state", :string
12238
+ end
12239
+
12240
+ # The counterparty's directory entry, or `null` when the transfer links none.
12241
+ class TransactionListTravelRuleCounterpartyVasp < Didit::Model
12242
+ field :name, "name", :string
12243
+ field :lei, "lei", :string
12244
+ field :dd_score, "dd_score", :integer
12245
+ field :dd_score_breakdown, "dd_score_breakdown", [:map, "TransactionListTravelRuleCounterpartyVaspDdScoreBreakdownValue"]
12246
+ field :dd_assessed_at, "dd_assessed_at", :datetime
12247
+ end
12248
+
12249
+ class TransactionListTravelRuleCounterpartyVaspDdScoreBreakdownValue < Didit::Model
12250
+ field :points, "points", :float
12251
+ field :max, "max", :integer
12252
+ field :reason, "reason", :string
12253
+ field :detail, "detail", :string
12254
+ end
12255
+
12098
12256
  # One note on a monitored transaction's review timeline.
12099
12257
  class TransactionNote < Didit::Model
12100
12258
  field :uuid, "uuid", :string
@@ -12154,6 +12312,9 @@ module Didit
12154
12312
  field :matched, "matched", :integer
12155
12313
  field :affected_entities, "affected_entities", :integer
12156
12314
  field :period_days, "period_days", :integer
12315
+ field :truncated, "truncated", :boolean
12316
+ field :overlapping_rules, "overlapping_rules", [:array, "TransactionRuleOverlap"]
12317
+ field :overlapping_rules_truncated, "overlapping_rules_truncated", :boolean
12157
12318
  end
12158
12319
 
12159
12320
  # A condition reads only the transaction being evaluated - it never filters the aggregation window.
@@ -12220,6 +12381,13 @@ module Didit
12220
12381
  field :is_installed, "is_installed", :boolean
12221
12382
  end
12222
12383
 
12384
+ class TransactionRuleOverlap < Didit::Model
12385
+ field :rule_id, "rule_id", :string
12386
+ field :name, "name", :string
12387
+ field :actions, "actions", [:array, "TransactionRuleAction"]
12388
+ field :overlap_count, "overlap_count", :integer
12389
+ end
12390
+
12223
12391
  # Which transactions the rule applies to. Only these three keys are accepted.
12224
12392
  class TransactionRuleScope < Didit::Model
12225
12393
  field :transaction_types, "transaction_types", [:array, :string]
@@ -12275,11 +12443,8 @@ module Didit
12275
12443
  field :source, "source", :string
12276
12444
  end
12277
12445
 
12278
- # A transaction's Travel Rule transfer, as `GET /v3/transactions/{transaction_id}/`, the `201` of `POST
12279
- # /v3/transactions/` and each row of `GET /v3/transactions/` return it. `direction`, `rail`, `counterparty_vasp`,
12280
- # `delivery`, `discovery`, `reason` and `next_actions` have the same shape as on `PATCH
12281
- # /v3/transactions/{transaction_id}/travel-rule/`, so one read of a transaction says why its transfer is stuck and
12282
- # what moves it on.
12446
+ # Travel Rule transfer on transaction detail and creation responses. Includes latest delivery and bounded delivery
12447
+ # history. Transaction lists omit the history fields.
12283
12448
  class TransactionTravelRule < Didit::Model
12284
12449
  field :uuid, "uuid", :string
12285
12450
  field :status, "status", :string
@@ -12302,6 +12467,10 @@ module Didit
12302
12467
  field :reason, "reason", :string
12303
12468
  field :next_actions, "next_actions", [:array, "TravelRuleNextAction"]
12304
12469
  field :chain_details, "chain_details", "TravelRuleChainDetails"
12470
+ field :deliveries, "deliveries", [:array, "TravelRuleDeliveryLogEntry"]
12471
+ field :deliveries_truncated, "deliveries_truncated", :boolean
12472
+ field :not_required_reason, "not_required_reason", :string
12473
+ field :proof_state, "proof_state", :string
12305
12474
  end
12306
12475
 
12307
12476
  # The counterparty's directory entry, or `null` when the transfer links none.
@@ -12482,6 +12651,24 @@ module Didit
12482
12651
  field :delivered_at, "delivered_at", :datetime
12483
12652
  end
12484
12653
 
12654
+ # One supplier-neutral entry in the delivery history.
12655
+ class TravelRuleDeliveryLogEntry < Didit::Model
12656
+ field :uuid, "uuid", :string
12657
+ field :kind, "kind", :string
12658
+ field :status, "status", :string
12659
+ field :rail, "rail", :string
12660
+ field :created_at, "created_at", :datetime
12661
+ field :delivered_at, "delivered_at", :datetime
12662
+ field :detail_lines, "detail_lines", [:array, :string]
12663
+ end
12664
+
12665
+ class TravelRuleDeliveryLogPage < Didit::Model
12666
+ field :count, "count", :integer
12667
+ field :next, "next", :string
12668
+ field :previous, "previous", :string
12669
+ field :results, "results", [:array, "TravelRuleDeliveryLogEntry"]
12670
+ end
12671
+
12485
12672
  # One step of the counterparty discovery Didit ran for an outbound transfer, in the order it ran them. The first
12486
12673
  # step that names a VASP with a route ends the chain.
12487
12674
  class TravelRuleDiscoveryStep < Didit::Model
@@ -12721,6 +12908,7 @@ module Didit
12721
12908
  field :disabled_networks, "disabled_networks", [:array, :string]
12722
12909
  field :networks, "networks", "TravelRuleSettingsDetailNetworks"
12723
12910
  field :didit_network, "didit_network", "TravelRuleSettingsDetailDiditNetwork"
12911
+ field :licence, "licence", :string
12724
12912
  end
12725
12913
 
12726
12914
  # Whether the Didit network lists your VASP profile, so other Didit customers find it in the directory and reach
@@ -12781,6 +12969,10 @@ module Didit
12781
12969
  field :reason, "reason", :string
12782
12970
  field :next_actions, "next_actions", [:array, "TravelRuleNextAction"]
12783
12971
  field :chain_details, "chain_details", "TravelRuleChainDetails"
12972
+ field :deliveries, "deliveries", [:array, "TravelRuleDeliveryLogEntry"]
12973
+ field :deliveries_truncated, "deliveries_truncated", :boolean
12974
+ field :not_required_reason, "not_required_reason", :string
12975
+ field :proof_state, "proof_state", :string
12784
12976
  end
12785
12977
 
12786
12978
  class TravelRuleTransferDetailCounterpartyVasp < Didit::Model
@@ -12883,6 +13075,8 @@ module Didit
12883
13075
  field :billing_enabled_at, "billing_enabled_at", :datetime
12884
13076
  field :didit_network, "didit_network", :any
12885
13077
  field :settings, "settings", "TravelRuleSettingsDetail"
13078
+ field :outbound_price, "outbound_price", "TravelRuleWorkspaceOutboundPrice"
13079
+ field :licence, "licence", :string
12886
13080
  end
12887
13081
 
12888
13082
  class TravelRuleWorkspaceClaim < Didit::Model
@@ -12893,6 +13087,8 @@ module Didit
12893
13087
  field :review_note, "review_note", :string
12894
13088
  field :vasp_id, "vasp_id", :string
12895
13089
  field :vasp_name, "vasp_name", :string
13090
+ field :licence, "licence", :string
13091
+ field :rejection_reason, "rejection_reason", :string
12896
13092
  end
12897
13093
 
12898
13094
  class TravelRuleWorkspaceDomain < Didit::Model
@@ -12908,6 +13104,16 @@ module Didit
12908
13104
  field :txt, "txt", "TravelRuleWorkspaceTxtRecord"
12909
13105
  end
12910
13106
 
13107
+ # Own-account outbound quote, or null when a flat Travel Rule quote is unavailable. Does not enable billing.
13108
+ class TravelRuleWorkspaceOutboundPrice < Didit::Model
13109
+ field :list_price, "list_price", :string
13110
+ field :effective_price, "effective_price", :string
13111
+ field :currency, "currency", :string
13112
+ field :discount_pct, "discount_pct", :float
13113
+ field :product, "product", :string
13114
+ field :source, "source", :string
13115
+ end
13116
+
12911
13117
  # The TXT record to publish for the DNS proof. Empty until a proof has been started.
12912
13118
  class TravelRuleWorkspaceTxtRecord < Didit::Model
12913
13119
  field :host, "host", :string
@@ -13173,6 +13379,8 @@ module Didit
13173
13379
  field :pep_counterparty, "pep_counterparty", :boolean
13174
13380
  field :dominant_risk_category, "dominant_risk_category", :string
13175
13381
  field :risk_factors, "risk_factors", [:array, "WalletScreeningResultRiskFactors"]
13382
+ field :fallback_from_provider, "fallback_from_provider", :string
13383
+ field :fallback_reason, "fallback_reason", :string
13176
13384
  field :raw_response, "raw_response", :any
13177
13385
  field :report_signature, "report_signature", :string
13178
13386
  end
@@ -210,7 +210,7 @@ module Didit
210
210
  field :decision_reason_label, "decision_reason_label", :string
211
211
  field :assigned_to_name, "assigned_to_name", :string
212
212
  field :travel_rule_status, "travel_rule_status", :string
213
- field :travel_rule, "travel_rule", "TransactionTravelRule"
213
+ field :travel_rule, "travel_rule", "TransactionListTravelRule"
214
214
  end
215
215
 
216
216
  class TransactionsListResponseResultsTags < Didit::Model
data/lib/didit/types.rb CHANGED
@@ -1491,6 +1491,11 @@ module Didit
1491
1491
  autoload :TransactionDetailStatus, "didit/types/components"
1492
1492
  autoload :TransactionDetailTags, "didit/types/components"
1493
1493
  autoload :TransactionDetailTagsSource, "didit/types/components"
1494
+ autoload :TransactionListTravelRule, "didit/types/components"
1495
+ autoload :TransactionListTravelRuleCounterpartyVasp, "didit/types/components"
1496
+ autoload :TransactionListTravelRuleCounterpartyVaspDdScoreBreakdownValue, "didit/types/components"
1497
+ autoload :TransactionListTravelRuleDirection, "didit/types/components"
1498
+ autoload :TransactionListTravelRuleProofState, "didit/types/components"
1494
1499
  autoload :TransactionNote, "didit/types/components"
1495
1500
  autoload :TransactionNoteMetadata, "didit/types/components"
1496
1501
  autoload :TransactionNoteMetadataNewStatus, "didit/types/components"
@@ -1525,6 +1530,7 @@ module Didit
1525
1530
  autoload :TransactionRuleInstallResult, "didit/types/components"
1526
1531
  autoload :TransactionRuleLibraryEntry, "didit/types/components"
1527
1532
  autoload :TransactionRuleLibraryEntryEvaluationMode, "didit/types/components"
1533
+ autoload :TransactionRuleOverlap, "didit/types/components"
1528
1534
  autoload :TransactionRuleScope, "didit/types/components"
1529
1535
  autoload :TransactionRuleScopeDirections, "didit/types/components"
1530
1536
  autoload :TransactionSummary, "didit/types/components"
@@ -1539,6 +1545,7 @@ module Didit
1539
1545
  autoload :TransactionTravelRuleCounterpartyVasp, "didit/types/components"
1540
1546
  autoload :TransactionTravelRuleCounterpartyVaspDdScoreBreakdownValue, "didit/types/components"
1541
1547
  autoload :TransactionTravelRuleDirection, "didit/types/components"
1548
+ autoload :TransactionTravelRuleProofState, "didit/types/components"
1542
1549
  autoload :TransactionsCreateParamsTransactionCategory, "didit/types/transactions"
1543
1550
  autoload :TransactionsCreateParamsTransactionDetailsDirection, "didit/types/transactions"
1544
1551
  autoload :TransactionsCreateSdkTokenResponse, "didit/types/transactions"
@@ -1599,6 +1606,11 @@ module Didit
1599
1606
  autoload :TravelRuleDataUnmaskedReason, "didit/types/components"
1600
1607
  autoload :TravelRuleDelivery, "didit/types/components"
1601
1608
  autoload :TravelRuleDeliveryKind, "didit/types/components"
1609
+ autoload :TravelRuleDeliveryLogEntry, "didit/types/components"
1610
+ autoload :TravelRuleDeliveryLogEntryKind, "didit/types/components"
1611
+ autoload :TravelRuleDeliveryLogEntryRail, "didit/types/components"
1612
+ autoload :TravelRuleDeliveryLogEntryStatus, "didit/types/components"
1613
+ autoload :TravelRuleDeliveryLogPage, "didit/types/components"
1602
1614
  autoload :TravelRuleDeliveryRail, "didit/types/components"
1603
1615
  autoload :TravelRuleDeliveryStatus, "didit/types/components"
1604
1616
  autoload :TravelRuleDiscoveryStep, "didit/types/components"
@@ -1669,6 +1681,7 @@ module Didit
1669
1681
  autoload :TravelRuleTransferDetailCounterpartyVasp, "didit/types/components"
1670
1682
  autoload :TravelRuleTransferDetailCounterpartyVaspDdScoreBreakdownValue, "didit/types/components"
1671
1683
  autoload :TravelRuleTransferDetailDirection, "didit/types/components"
1684
+ autoload :TravelRuleTransferDetailProofState, "didit/types/components"
1672
1685
  autoload :TravelRuleTransferDetailRail, "didit/types/components"
1673
1686
  autoload :TravelRuleTransferDetailStatus, "didit/types/components"
1674
1687
  autoload :TravelRuleTransferDetailTimeline, "didit/types/components"
@@ -1700,11 +1713,14 @@ module Didit
1700
1713
  autoload :TravelRuleWidgetSessionResponse, "didit/types/components"
1701
1714
  autoload :TravelRuleWorkspace, "didit/types/components"
1702
1715
  autoload :TravelRuleWorkspaceClaim, "didit/types/components"
1716
+ autoload :TravelRuleWorkspaceClaimRejectionReason, "didit/types/components"
1703
1717
  autoload :TravelRuleWorkspaceClaimStatus, "didit/types/components"
1704
1718
  autoload :TravelRuleWorkspaceDomain, "didit/types/components"
1705
1719
  autoload :TravelRuleWorkspaceDomainCodeResponse, "didit/types/components"
1706
1720
  autoload :TravelRuleWorkspaceDomainCodeResponseStatus, "didit/types/components"
1707
1721
  autoload :TravelRuleWorkspaceDomainStatus, "didit/types/components"
1722
+ autoload :TravelRuleWorkspaceOutboundPrice, "didit/types/components"
1723
+ autoload :TravelRuleWorkspaceOutboundPriceSource, "didit/types/components"
1708
1724
  autoload :TravelRuleWorkspaceTxtRecord, "didit/types/components"
1709
1725
  autoload :UserDetailItem, "didit/types/components"
1710
1726
  autoload :UserDetailItemComments, "didit/types/components"
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.11.0" # x-release-please-version
4
+ VERSION = "2.13.0" # x-release-please-version
5
5
  end
@@ -46,7 +46,7 @@ module Didit
46
46
  def update_kyb_party: (String session_id, String party_uuid, is_skipped: bool, ?request_options: Didit::request_options?) -> Didit::Types::SessionsUpdateKybPartyResponse
47
47
  def update_kyb_party_draft: (String session_id, String draft_id, ?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, ?node_id: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsUpdateKybPartyDraftResponse
48
48
  def update_poa_data: (String session_id, ?issuing_state: String?, ?document_type: String, ?document_language: String?, ?issuer: String?, ?issue_date: (Date | String)?, ?poa_address: String?, ?name_on_document: String?, ?extra_fields: (Hash[String | Symbol, untyped])?, ?poa_parsed_address: Didit::Types::sessions_update_poa_data_params_poa_parsed_address?, ?node_id: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsUpdatePoaDataResponse
49
- def update_status: (String session_id, new_status: String, ?comment: String, ?nodes_to_resubmit: Array[Didit::Types::sessions_update_status_params_nodes_to_resubmit], ?send_email: bool, ?email_address: String, ?email_language: String, ?email_preview_token: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsUpdateStatusResponse
49
+ def update_status: (String session_id, new_status: String, ?comment: String, ?nodes_to_resubmit: Array[Didit::Types::sessions_update_status_params_nodes_to_resubmit], ?send_email: bool, ?email_address: String, ?email_language: String, ?email_preview_token: String, ?link_to_session_id: String, ?link_reason: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsUpdateStatusResponse
50
50
  def upload_kyb_documents: (String session_id, documents: Array[Didit::upload], ?document_passwords: Array[String], ?document_group: String, ?locale: String, ?node_id: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsUploadKybDocumentsResponse
51
51
  class Imports < Didit::Resource
52
52
  def cancel: (String import_id, ?request_options: Didit::request_options?) -> Didit::Types::SessionImportJob
@@ -21,7 +21,7 @@ module Didit
21
21
  def list: (String transaction_id, ?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::TransactionNote]
22
22
  end
23
23
  class Rules < Didit::Resource
24
- def backtest: (?conditions: Array[Didit::Types::transaction_rule_condition], ?aggregation: Array[Didit::Types::transaction_rule_aggregation], ?evaluation_mode: String, ?scope: Didit::Types::transaction_rule_scope, ?period_days: Integer, ?request_options: Didit::request_options?) -> Didit::Types::TransactionRuleBacktestResult
24
+ def backtest: (?conditions: Array[Didit::Types::transaction_rule_condition], ?aggregation: Array[Didit::Types::transaction_rule_aggregation], ?evaluation_mode: String, ?scope: Didit::Types::transaction_rule_scope, ?period_days: Integer, ?rule_id: String, ?request_options: Didit::request_options?) -> Didit::Types::TransactionRuleBacktestResult
25
25
  def create: (title: String, category: String, mode: String, ?description: String?, ?evaluation_mode: String, ?scope: Didit::Types::transaction_rule_scope, ?conditions: Array[Didit::Types::transaction_rule_condition], ?aggregation: Array[Didit::Types::transaction_rule_aggregation], ?actions: Array[(Didit::Types::transaction_rule_action_add_score | Didit::Types::transaction_rule_action_change_status | Didit::Types::transaction_rule_action_add_tags | Didit::Types::transaction_rule_action_add_note | Didit::Types::transaction_rule_action_add_to_list | Didit::Types::transaction_rule_action_open_case)], ?metadata: Hash[String | Symbol, untyped], ?request_options: Didit::request_options?) -> Didit::Types::TransactionRuleDetail
26
26
  def delete: (String rule_uuid, ?request_options: Didit::request_options?) -> nil
27
27
  def install_library: (?library_keys: Array[String], ?bundle: String, ?request_options: Didit::request_options?) -> Didit::Types::TransactionRuleInstallResult
@@ -34,6 +34,7 @@ module Didit
34
34
  class TravelRule < Didit::Resource
35
35
  def confirm_ownership: (String transaction_id, confirmed: bool, ?wallet_address: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleTransferDetail
36
36
  def create_message: (String transaction_id, ?kind: String, ?body: String, ?requested_documents: Array[String], ?reply_to: String?, ?files: Array[Didit::upload], ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleMessage
37
+ def list_deliveries: (String transaction_id, ?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::TravelRuleDeliveryLogEntry]
37
38
  def list_messages: (String transaction_id, ?request_options: Didit::request_options?) -> Array[Didit::Types::TravelRuleMessage]
38
39
  def trigger_test_vasp_inbound: (beneficiary_wallet_address: String, ?scenario: String, ?chain: String, ?amount: String, ?currency: String, ?reference: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleTestVaspInboundResponse
39
40
  def update_transfer: (String transaction_id, ?payment_txn_id: String, ?action: String, ?compliance_email: String, ?wallet_address: String, ?memo: String, ?beneficiary_vasp: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleTransferDetail
@@ -22,7 +22,7 @@ module Didit
22
22
  def screen_vasp: (String vasp_id, ?refresh: bool, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyScreeningResult
23
23
  def send_compliance_email_confirmation: (?request_options: Didit::request_options?) -> Didit::Types::TravelRuleSendComplianceEmailConfirmationResponse
24
24
  def send_vasp_questionnaire: (String vasp_id, ?sent_to: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyQuestionnaire
25
- def update_settings: (?is_enabled: bool, ?legal_name: String, ?lei: String, ?jurisdiction: String, ?vasp_jurisdiction: String, ?name_matching_strictness: String, ?confirmation_timeout_hours: Integer, ?timeout_outcome: String, ?compliance_email: String, ?is_discoverable: bool, ?threshold_amount: String, ?ownership_validation_mode: String, ?simplified_validation_threshold: String, ?data_sharing_fields: Didit::Types::travel_rule_data_sharing_fields, ?matching_rules: Didit::Types::travel_rule_matching_rules, ?inbound_auto_accept: bool, ?allow_self_declaration: bool, ?allow_screenshot_proof: bool, ?auto_wallet_verification: bool, ?vasp_attribution_enabled: bool, ?counterparty_screening_enabled: bool, ?sunrise_policy: String, ?non_responsive_policy: String, ?disabled_networks: Array[String], ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleSettingsDetail
25
+ def update_settings: (?is_enabled: bool, ?legal_name: String, ?lei: String, ?jurisdiction: String, ?vasp_jurisdiction: String, ?name_matching_strictness: String, ?confirmation_timeout_hours: Integer, ?timeout_outcome: String, ?compliance_email: String, ?is_discoverable: bool, ?threshold_amount: String, ?ownership_validation_mode: String, ?simplified_validation_threshold: String, ?data_sharing_fields: Didit::Types::travel_rule_data_sharing_fields, ?matching_rules: Didit::Types::travel_rule_matching_rules, ?inbound_auto_accept: bool, ?allow_self_declaration: bool, ?allow_screenshot_proof: bool, ?auto_wallet_verification: bool, ?vasp_attribution_enabled: bool, ?counterparty_screening_enabled: bool, ?sunrise_policy: String, ?non_responsive_policy: String, ?disabled_networks: Array[String], ?licence: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleSettingsDetail
26
26
  def update_vasp_decision: (String vasp_id, decision: String, ?reason: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyDecisionResponse
27
27
  class CounterpartyContacts < Didit::Resource
28
28
  def create: (counterparty: String, email: String, ?name: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyContact
@@ -55,7 +55,7 @@ module Didit
55
55
  def list: (?status: String, ?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::TravelRuleWalletProofReview]
56
56
  end
57
57
  class Workspace < Didit::Resource
58
- def claim: (vasp_id: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWorkspace
58
+ def claim: (vasp_id: String, ?licence: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWorkspace
59
59
  def confirm_domain: (code: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWorkspace
60
60
  def enable_billing: (?enabled: bool, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWorkspace
61
61
  def get: (?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWorkspace
@@ -4,8 +4,8 @@ module Didit
4
4
  module Resources
5
5
  class WalletScreening < Didit::Resource
6
6
  def screen: (wallet_address: String, ?blockchain: String, ?direction: String, ?request_options: Didit::request_options?) -> Didit::Types::WalletScreeningResult
7
- def screen_pdf: (provider: String, screening_type: String, risk_score: Integer, severity: String, status: String, summary: String, wallet_address: String, blockchain: String, source_of_funds: Array[Didit::Types::wallet_screening_result_source_of_funds], destination_of_funds: Array[Didit::Types::wallet_screening_result_destination_of_funds], counterparty_connections: Array[Didit::Types::wallet_screening_result_counterparty_connections], sanctions_hit: bool, dominant_risk_category: String?, report_signature: String, ?transaction_hash: String?, ?block_timestamp: String?, ?total_value_usd: (Float | Integer)?, ?fee_usd: (Float | Integer)?, ?sender_rows: Array[Hash[String | Symbol, untyped]], ?receiver_rows: Array[Hash[String | Symbol, untyped]], ?transaction_flows: Array[Hash[String | Symbol, untyped]], ?transaction_flows_status: String?, ?transaction_flows_error: String?, ?network_nodes: Array[Hash[String | Symbol, untyped]], ?network_edges: Array[Hash[String | Symbol, untyped]], ?pep_counterparty: bool?, ?risk_factors: Array[Didit::Types::wallet_screening_result_risk_factors], ?raw_response: Hash[String | Symbol, untyped], ?request_options: Didit::request_options?) -> String
8
- | (provider: String, screening_type: String, risk_score: Integer, severity: String, status: String, summary: String, wallet_address: String, blockchain: String, source_of_funds: Array[Didit::Types::wallet_screening_result_source_of_funds], destination_of_funds: Array[Didit::Types::wallet_screening_result_destination_of_funds], counterparty_connections: Array[Didit::Types::wallet_screening_result_counterparty_connections], sanctions_hit: bool, dominant_risk_category: String?, report_signature: String, ?transaction_hash: String?, ?block_timestamp: String?, ?total_value_usd: (Float | Integer)?, ?fee_usd: (Float | Integer)?, ?sender_rows: Array[Hash[String | Symbol, untyped]], ?receiver_rows: Array[Hash[String | Symbol, untyped]], ?transaction_flows: Array[Hash[String | Symbol, untyped]], ?transaction_flows_status: String?, ?transaction_flows_error: String?, ?network_nodes: Array[Hash[String | Symbol, untyped]], ?network_edges: Array[Hash[String | Symbol, untyped]], ?pep_counterparty: bool?, ?risk_factors: Array[Didit::Types::wallet_screening_result_risk_factors], ?raw_response: Hash[String | Symbol, untyped], ?request_options: Didit::request_options?) { (String chunk) -> void } -> nil
7
+ def screen_pdf: (provider: String, screening_type: String, risk_score: Integer, severity: String, status: String, summary: String, wallet_address: String, blockchain: String, source_of_funds: Array[Didit::Types::wallet_screening_result_source_of_funds], destination_of_funds: Array[Didit::Types::wallet_screening_result_destination_of_funds], counterparty_connections: Array[Didit::Types::wallet_screening_result_counterparty_connections], sanctions_hit: bool, dominant_risk_category: String?, report_signature: String, ?transaction_hash: String?, ?block_timestamp: String?, ?total_value_usd: (Float | Integer)?, ?fee_usd: (Float | Integer)?, ?sender_rows: Array[Hash[String | Symbol, untyped]], ?receiver_rows: Array[Hash[String | Symbol, untyped]], ?transaction_flows: Array[Hash[String | Symbol, untyped]], ?transaction_flows_status: String?, ?transaction_flows_error: String?, ?network_nodes: Array[Hash[String | Symbol, untyped]], ?network_edges: Array[Hash[String | Symbol, untyped]], ?pep_counterparty: bool?, ?risk_factors: Array[Didit::Types::wallet_screening_result_risk_factors], ?fallback_from_provider: String?, ?fallback_reason: String?, ?raw_response: Hash[String | Symbol, untyped], ?request_options: Didit::request_options?) -> String
8
+ | (provider: String, screening_type: String, risk_score: Integer, severity: String, status: String, summary: String, wallet_address: String, blockchain: String, source_of_funds: Array[Didit::Types::wallet_screening_result_source_of_funds], destination_of_funds: Array[Didit::Types::wallet_screening_result_destination_of_funds], counterparty_connections: Array[Didit::Types::wallet_screening_result_counterparty_connections], sanctions_hit: bool, dominant_risk_category: String?, report_signature: String, ?transaction_hash: String?, ?block_timestamp: String?, ?total_value_usd: (Float | Integer)?, ?fee_usd: (Float | Integer)?, ?sender_rows: Array[Hash[String | Symbol, untyped]], ?receiver_rows: Array[Hash[String | Symbol, untyped]], ?transaction_flows: Array[Hash[String | Symbol, untyped]], ?transaction_flows_status: String?, ?transaction_flows_error: String?, ?network_nodes: Array[Hash[String | Symbol, untyped]], ?network_edges: Array[Hash[String | Symbol, untyped]], ?pep_counterparty: bool?, ?risk_factors: Array[Didit::Types::wallet_screening_result_risk_factors], ?fallback_from_provider: String?, ?fallback_reason: String?, ?raw_response: Hash[String | Symbol, untyped], ?request_options: Didit::request_options?) { (String chunk) -> void } -> nil
9
9
  end
10
10
  end
11
11
  end
@@ -753,6 +753,8 @@ module Didit
753
753
  BUSINESS_DOCUMENT: String
754
754
  CONFIRM_DETAILS: String
755
755
  REVIEW_IN_PROGRESS: String
756
+ SOURCE_OF_FUNDS: String
757
+ PURPOSE_OF_PAYMENT: String
756
758
 
757
759
  VALUES: Array[String]
758
760
  end
@@ -763,6 +765,8 @@ module Didit
763
765
  BUSINESS_DOCUMENT: String
764
766
  CONFIRM_DETAILS: String
765
767
  REVIEW_IN_PROGRESS: String
768
+ SOURCE_OF_FUNDS: String
769
+ PURPOSE_OF_PAYMENT: String
766
770
 
767
771
  VALUES: Array[String]
768
772
  end
@@ -3977,6 +3981,23 @@ module Didit
3977
3981
  VALUES: Array[String]
3978
3982
  end
3979
3983
 
3984
+ module TransactionListTravelRuleDirection
3985
+ INBOUND: String
3986
+ OUTBOUND: String
3987
+
3988
+ VALUES: Array[String]
3989
+ end
3990
+
3991
+ module TransactionListTravelRuleProofState
3992
+ NOT_REQUIRED: String
3993
+ CONFIRMED: String
3994
+ NOT_CONFIRMED: String
3995
+ REQUESTED: String
3996
+ NOT_REQUESTED: String
3997
+
3998
+ VALUES: Array[String]
3999
+ end
4000
+
3980
4001
  module TransactionNoteMetadataNewStatus
3981
4002
  APPROVED: String
3982
4003
  IN_REVIEW: String
@@ -4241,6 +4262,16 @@ module Didit
4241
4262
  VALUES: Array[String]
4242
4263
  end
4243
4264
 
4265
+ module TransactionTravelRuleProofState
4266
+ NOT_REQUIRED: String
4267
+ CONFIRMED: String
4268
+ NOT_CONFIRMED: String
4269
+ REQUESTED: String
4270
+ NOT_REQUESTED: String
4271
+
4272
+ VALUES: Array[String]
4273
+ end
4274
+
4244
4275
  module TravelRuleChainDetailsNotApplicableReason
4245
4276
  LIGHTNING_NO_PAYEE_IDENTIFIER: String
4246
4277
  LIGHTNING_BOL_T12_BLINDED_PAYEE: String
@@ -4405,6 +4436,35 @@ module Didit
4405
4436
  VALUES: Array[String]
4406
4437
  end
4407
4438
 
4439
+ module TravelRuleDeliveryLogEntryKind
4440
+ SEND: String
4441
+ ANSWER: String
4442
+ TXID: String
4443
+ CANCEL: String
4444
+ POLL: String
4445
+
4446
+ VALUES: Array[String]
4447
+ end
4448
+
4449
+ module TravelRuleDeliveryLogEntryRail
4450
+ EMAIL: String
4451
+ TRP: String
4452
+ INTERNAL: String
4453
+ NETWORK: String
4454
+
4455
+ VALUES: Array[String]
4456
+ end
4457
+
4458
+ module TravelRuleDeliveryLogEntryStatus
4459
+ QUEUED: String
4460
+ SENDING: String
4461
+ RETRYING: String
4462
+ DELIVERED: String
4463
+ FAILED: String
4464
+
4465
+ VALUES: Array[String]
4466
+ end
4467
+
4408
4468
  module TravelRuleDeliveryRail
4409
4469
  INTERNAL: String
4410
4470
  TRP: String
@@ -4760,6 +4820,16 @@ module Didit
4760
4820
  VALUES: Array[String]
4761
4821
  end
4762
4822
 
4823
+ module TravelRuleTransferDetailProofState
4824
+ NOT_REQUIRED: String
4825
+ CONFIRMED: String
4826
+ NOT_CONFIRMED: String
4827
+ REQUESTED: String
4828
+ NOT_REQUESTED: String
4829
+
4830
+ VALUES: Array[String]
4831
+ end
4832
+
4763
4833
  module TravelRuleTransferDetailRail
4764
4834
  INTERNAL: String
4765
4835
  TRP: String
@@ -4888,6 +4958,14 @@ module Didit
4888
4958
  VALUES: Array[String]
4889
4959
  end
4890
4960
 
4961
+ module TravelRuleWorkspaceClaimRejectionReason
4962
+ VALUE: String
4963
+ DOMAIN_MISMATCH: String
4964
+ OTHER: String
4965
+
4966
+ VALUES: Array[String]
4967
+ end
4968
+
4891
4969
  module TravelRuleWorkspaceClaimStatus
4892
4970
  UNCLAIMED: String
4893
4971
  PENDING_REVIEW: String
@@ -4913,6 +4991,13 @@ module Didit
4913
4991
  VALUES: Array[String]
4914
4992
  end
4915
4993
 
4994
+ module TravelRuleWorkspaceOutboundPriceSource
4995
+ PLAN: String
4996
+ CONTRACT: String
4997
+
4998
+ VALUES: Array[String]
4999
+ end
5000
+
4916
5001
  module UserDetailItemCommentsCommentType
4917
5002
  COMMENT: String
4918
5003
  STATUS_CHANGED: String
@@ -10394,6 +10479,9 @@ module Didit
10394
10479
  def id: () -> String?
10395
10480
  def uuid: () -> String?
10396
10481
  def title: () -> String?
10482
+ def language: () -> String?
10483
+ def source_revision: () -> String?
10484
+ def translation_id: () -> String?
10397
10485
  def file_name: () -> String?
10398
10486
  def pages: () -> Integer?
10399
10487
  def size_bytes: () -> Integer?
@@ -10702,6 +10790,47 @@ module Didit
10702
10790
  def source: () -> String?
10703
10791
  end
10704
10792
 
10793
+ class TransactionListTravelRule < Didit::Model
10794
+ def uuid: () -> String?
10795
+ def status: () -> String?
10796
+ def protocol: () -> String?
10797
+ def required: () -> bool?
10798
+ def obligations_count: () -> Integer?
10799
+ def originator_data: () -> Hash[String, untyped]?
10800
+ def beneficiary_data: () -> Hash[String, untyped]?
10801
+ def name_match: () -> Hash[String, untyped]?
10802
+ def data_match: () -> Didit::Types::TravelRuleDataMatch?
10803
+ def mismatched_fields: () -> Array[String]?
10804
+ def data_unmasked: () -> Didit::Types::TravelRuleDataUnmasked?
10805
+ def data_masked: () -> bool?
10806
+ def metadata: () -> Hash[String, untyped]?
10807
+ def direction: () -> String?
10808
+ def rail: () -> String?
10809
+ def counterparty_vasp: () -> Didit::Types::TransactionListTravelRuleCounterpartyVasp?
10810
+ def delivery: () -> Didit::Types::TravelRuleDelivery?
10811
+ def discovery: () -> Array[Didit::Types::TravelRuleDiscoveryStep]?
10812
+ def reason: () -> String?
10813
+ def next_actions: () -> Array[Didit::Types::TravelRuleNextAction]?
10814
+ def chain_details: () -> Didit::Types::TravelRuleChainDetails?
10815
+ def not_required_reason: () -> String?
10816
+ def proof_state: () -> String?
10817
+ end
10818
+
10819
+ class TransactionListTravelRuleCounterpartyVasp < Didit::Model
10820
+ def name: () -> String?
10821
+ def lei: () -> String?
10822
+ def dd_score: () -> Integer?
10823
+ def dd_score_breakdown: () -> Hash[String, Didit::Types::TransactionListTravelRuleCounterpartyVaspDdScoreBreakdownValue]?
10824
+ def dd_assessed_at: () -> Time?
10825
+ end
10826
+
10827
+ class TransactionListTravelRuleCounterpartyVaspDdScoreBreakdownValue < Didit::Model
10828
+ def points: () -> Float?
10829
+ def max: () -> Integer?
10830
+ def reason: () -> String?
10831
+ def detail: () -> String?
10832
+ end
10833
+
10705
10834
  class TransactionNote < Didit::Model
10706
10835
  def uuid: () -> String
10707
10836
  def note: () -> String
@@ -10746,10 +10875,13 @@ module Didit
10746
10875
  end
10747
10876
 
10748
10877
  class TransactionRuleBacktestResult < Didit::Model
10749
- def evaluated: () -> Integer?
10750
- def matched: () -> Integer?
10751
- def affected_entities: () -> Integer?
10752
- def period_days: () -> Integer?
10878
+ def evaluated: () -> Integer
10879
+ def matched: () -> Integer
10880
+ def affected_entities: () -> Integer
10881
+ def period_days: () -> Integer
10882
+ def truncated: () -> bool
10883
+ def overlapping_rules: () -> Array[Didit::Types::TransactionRuleOverlap]
10884
+ def overlapping_rules_truncated: () -> bool
10753
10885
  end
10754
10886
 
10755
10887
  class TransactionRuleCondition < Didit::Model
@@ -10815,6 +10947,13 @@ module Didit
10815
10947
  def is_installed: () -> bool?
10816
10948
  end
10817
10949
 
10950
+ class TransactionRuleOverlap < Didit::Model
10951
+ def rule_id: () -> String
10952
+ def name: () -> String
10953
+ def actions: () -> Array[Didit::Types::TransactionRuleAction]
10954
+ def overlap_count: () -> Integer
10955
+ end
10956
+
10818
10957
  class TransactionRuleScope < Didit::Model
10819
10958
  def transaction_types: () -> Array[String]?
10820
10959
  def directions: () -> Array[String]?
@@ -10889,6 +11028,10 @@ module Didit
10889
11028
  def reason: () -> String?
10890
11029
  def next_actions: () -> Array[Didit::Types::TravelRuleNextAction]?
10891
11030
  def chain_details: () -> Didit::Types::TravelRuleChainDetails?
11031
+ def deliveries: () -> Array[Didit::Types::TravelRuleDeliveryLogEntry]?
11032
+ def deliveries_truncated: () -> bool?
11033
+ def not_required_reason: () -> String?
11034
+ def proof_state: () -> String?
10892
11035
  end
10893
11036
 
10894
11037
  class TransactionTravelRuleCounterpartyVasp < Didit::Model
@@ -11035,6 +11178,23 @@ module Didit
11035
11178
  def delivered_at: () -> Time?
11036
11179
  end
11037
11180
 
11181
+ class TravelRuleDeliveryLogEntry < Didit::Model
11182
+ def uuid: () -> String
11183
+ def kind: () -> String
11184
+ def status: () -> String
11185
+ def rail: () -> String?
11186
+ def created_at: () -> Time
11187
+ def delivered_at: () -> Time?
11188
+ def detail_lines: () -> Array[String]
11189
+ end
11190
+
11191
+ class TravelRuleDeliveryLogPage < Didit::Model
11192
+ def count: () -> Integer
11193
+ def `next`: () -> String?
11194
+ def previous: () -> String?
11195
+ def results: () -> Array[Didit::Types::TravelRuleDeliveryLogEntry]
11196
+ end
11197
+
11038
11198
  class TravelRuleDiscoveryStep < Didit::Model
11039
11199
  def step: () -> String?
11040
11200
  def outcome: () -> String?
@@ -11249,6 +11409,7 @@ module Didit
11249
11409
  def disabled_networks: () -> Array[String]?
11250
11410
  def networks: () -> Didit::Types::TravelRuleSettingsDetailNetworks?
11251
11411
  def didit_network: () -> Didit::Types::TravelRuleSettingsDetailDiditNetwork?
11412
+ def licence: () -> String?
11252
11413
  end
11253
11414
 
11254
11415
  class TravelRuleSettingsDetailDiditNetwork < Didit::Model
@@ -11299,6 +11460,10 @@ module Didit
11299
11460
  def reason: () -> String?
11300
11461
  def next_actions: () -> Array[Didit::Types::TravelRuleNextAction]?
11301
11462
  def chain_details: () -> Didit::Types::TravelRuleChainDetails?
11463
+ def deliveries: () -> Array[Didit::Types::TravelRuleDeliveryLogEntry]?
11464
+ def deliveries_truncated: () -> bool?
11465
+ def not_required_reason: () -> String?
11466
+ def proof_state: () -> String?
11302
11467
  end
11303
11468
 
11304
11469
  class TravelRuleTransferDetailCounterpartyVasp < Didit::Model
@@ -11397,6 +11562,8 @@ module Didit
11397
11562
  def billing_enabled_at: () -> Time?
11398
11563
  def didit_network: () -> Hash[String, untyped]?
11399
11564
  def settings: () -> Didit::Types::TravelRuleSettingsDetail?
11565
+ def outbound_price: () -> Didit::Types::TravelRuleWorkspaceOutboundPrice?
11566
+ def licence: () -> String?
11400
11567
  end
11401
11568
 
11402
11569
  class TravelRuleWorkspaceClaim < Didit::Model
@@ -11407,6 +11574,8 @@ module Didit
11407
11574
  def review_note: () -> String?
11408
11575
  def vasp_id: () -> String?
11409
11576
  def vasp_name: () -> String?
11577
+ def licence: () -> String?
11578
+ def rejection_reason: () -> String?
11410
11579
  end
11411
11580
 
11412
11581
  class TravelRuleWorkspaceDomain < Didit::Model
@@ -11422,6 +11591,15 @@ module Didit
11422
11591
  def txt: () -> Didit::Types::TravelRuleWorkspaceTxtRecord?
11423
11592
  end
11424
11593
 
11594
+ class TravelRuleWorkspaceOutboundPrice < Didit::Model
11595
+ def list_price: () -> String
11596
+ def effective_price: () -> String?
11597
+ def currency: () -> String
11598
+ def discount_pct: () -> Float
11599
+ def product: () -> String
11600
+ def source: () -> String
11601
+ end
11602
+
11425
11603
  class TravelRuleWorkspaceTxtRecord < Didit::Model
11426
11604
  def host: () -> String?
11427
11605
  def value: () -> String?
@@ -11655,6 +11833,8 @@ module Didit
11655
11833
  def pep_counterparty: () -> bool?
11656
11834
  def dominant_risk_category: () -> String?
11657
11835
  def risk_factors: () -> Array[Didit::Types::WalletScreeningResultRiskFactors]?
11836
+ def fallback_from_provider: () -> String?
11837
+ def fallback_reason: () -> String?
11658
11838
  def raw_response: () -> Hash[String, untyped]?
11659
11839
  def report_signature: () -> String
11660
11840
  end
@@ -11960,7 +12140,7 @@ module Didit
11960
12140
 
11961
12141
  type wallet_address_import_row = { ?address: String, ?address_hash: String, ?chain: String, ?memo: String, ?holder_name: String, ?holder_vendor_data: String, ?entity_type: String, ?label: String, ?owner_type: String, ?travel_address: String, ?self_declared: bool }
11962
12142
 
11963
- type wallet_screening_result = { provider: String, screening_type: String, risk_score: Integer, severity: String, status: String, summary: String, wallet_address: String, ?transaction_hash: String?, blockchain: String, ?block_timestamp: String?, ?total_value_usd: (Float | Integer)?, ?fee_usd: (Float | Integer)?, ?sender_rows: Array[Hash[String | Symbol, untyped]], ?receiver_rows: Array[Hash[String | Symbol, untyped]], ?transaction_flows: Array[Hash[String | Symbol, untyped]], ?transaction_flows_status: String?, ?transaction_flows_error: String?, source_of_funds: Array[Didit::Types::wallet_screening_result_source_of_funds], destination_of_funds: Array[Didit::Types::wallet_screening_result_destination_of_funds], counterparty_connections: Array[Didit::Types::wallet_screening_result_counterparty_connections], ?network_nodes: Array[Hash[String | Symbol, untyped]], ?network_edges: Array[Hash[String | Symbol, untyped]], sanctions_hit: bool, ?pep_counterparty: bool?, dominant_risk_category: String?, ?risk_factors: Array[Didit::Types::wallet_screening_result_risk_factors], ?raw_response: Hash[String | Symbol, untyped], report_signature: String }
12143
+ type wallet_screening_result = { provider: String, screening_type: String, risk_score: Integer, severity: String, status: String, summary: String, wallet_address: String, ?transaction_hash: String?, blockchain: String, ?block_timestamp: String?, ?total_value_usd: (Float | Integer)?, ?fee_usd: (Float | Integer)?, ?sender_rows: Array[Hash[String | Symbol, untyped]], ?receiver_rows: Array[Hash[String | Symbol, untyped]], ?transaction_flows: Array[Hash[String | Symbol, untyped]], ?transaction_flows_status: String?, ?transaction_flows_error: String?, source_of_funds: Array[Didit::Types::wallet_screening_result_source_of_funds], destination_of_funds: Array[Didit::Types::wallet_screening_result_destination_of_funds], counterparty_connections: Array[Didit::Types::wallet_screening_result_counterparty_connections], ?network_nodes: Array[Hash[String | Symbol, untyped]], ?network_edges: Array[Hash[String | Symbol, untyped]], sanctions_hit: bool, ?pep_counterparty: bool?, dominant_risk_category: String?, ?risk_factors: Array[Didit::Types::wallet_screening_result_risk_factors], ?fallback_from_provider: String?, ?fallback_reason: String?, ?raw_response: Hash[String | Symbol, untyped], report_signature: String }
11964
12144
 
11965
12145
  type wallet_screening_result_counterparty_connections = { ?entity_name: String?, ?entity_type: String?, ?entity_subtype: String?, ?risk_level: String, ?categories: Array[String], ?received_usd: (Float | Integer)?, ?sent_usd: (Float | Integer)?, ?received_hops: Integer?, ?sent_hops: Integer?, ?percentage: Float | Integer, ?is_direct: bool, ?country: String?, ?provider_entity_id: String? }
11966
12146
 
@@ -1800,7 +1800,7 @@ module Didit
1800
1800
 
1801
1801
  type sessions_update_poa_data_params_poa_parsed_address = { ?address_type: String?, ?city: String?, ?region: String?, ?street_1: String?, ?street_2: String?, ?postal_code: String?, ?country: String? }
1802
1802
 
1803
- type sessions_update_status_params = { new_status: String, ?comment: String, ?nodes_to_resubmit: Array[Didit::Types::sessions_update_status_params_nodes_to_resubmit], ?send_email: bool, ?email_address: String, ?email_language: String, ?email_preview_token: String }
1803
+ type sessions_update_status_params = { new_status: String, ?comment: String, ?nodes_to_resubmit: Array[Didit::Types::sessions_update_status_params_nodes_to_resubmit], ?send_email: bool, ?email_address: String, ?email_language: String, ?email_preview_token: String, ?link_to_session_id: String, ?link_reason: String }
1804
1804
 
1805
1805
  type sessions_update_status_params_nodes_to_resubmit = { node_id: String, feature: String }
1806
1806
 
@@ -182,7 +182,7 @@ module Didit
182
182
  def decision_reason_label: () -> String?
183
183
  def assigned_to_name: () -> String?
184
184
  def travel_rule_status: () -> String?
185
- def travel_rule: () -> Didit::Types::TransactionTravelRule?
185
+ def travel_rule: () -> Didit::Types::TransactionListTravelRule?
186
186
  end
187
187
 
188
188
  class TransactionsListResponseResultsTags < Didit::Model
@@ -252,7 +252,7 @@ module Didit
252
252
 
253
253
  type transactions_notes_create_params = { note: String, ?mentioned_emails: Array[String] }
254
254
 
255
- type transactions_rules_backtest_params = { ?conditions: Array[Didit::Types::transaction_rule_condition], ?aggregation: Array[Didit::Types::transaction_rule_aggregation], ?evaluation_mode: String, ?scope: Didit::Types::transaction_rule_scope, ?period_days: Integer }
255
+ type transactions_rules_backtest_params = { ?conditions: Array[Didit::Types::transaction_rule_condition], ?aggregation: Array[Didit::Types::transaction_rule_aggregation], ?evaluation_mode: String, ?scope: Didit::Types::transaction_rule_scope, ?period_days: Integer, ?rule_id: String }
256
256
 
257
257
  type transactions_rules_create_params = { title: String, ?description: String?, category: String, mode: String, ?evaluation_mode: String, ?scope: Didit::Types::transaction_rule_scope, ?conditions: Array[Didit::Types::transaction_rule_condition], ?aggregation: Array[Didit::Types::transaction_rule_aggregation], ?actions: Array[(Didit::Types::transaction_rule_action_add_score | Didit::Types::transaction_rule_action_change_status | Didit::Types::transaction_rule_action_add_tags | Didit::Types::transaction_rule_action_add_note | Didit::Types::transaction_rule_action_add_to_list | Didit::Types::transaction_rule_action_open_case)], ?metadata: Hash[String | Symbol, untyped] }
258
258
 
@@ -176,7 +176,7 @@ module Didit
176
176
 
177
177
  type travel_rule_unmatched_deposits_match_params = { transaction_id: String }
178
178
 
179
- type travel_rule_update_settings_params = { ?is_enabled: bool, ?legal_name: String, ?lei: String, ?jurisdiction: String, ?vasp_jurisdiction: String, ?name_matching_strictness: String, ?confirmation_timeout_hours: Integer, ?timeout_outcome: String, ?compliance_email: String, ?is_discoverable: bool, ?threshold_amount: String, ?ownership_validation_mode: String, ?simplified_validation_threshold: String, ?data_sharing_fields: Didit::Types::travel_rule_data_sharing_fields, ?matching_rules: Didit::Types::travel_rule_matching_rules, ?inbound_auto_accept: bool, ?allow_self_declaration: bool, ?allow_screenshot_proof: bool, ?auto_wallet_verification: bool, ?vasp_attribution_enabled: bool, ?counterparty_screening_enabled: bool, ?sunrise_policy: String, ?non_responsive_policy: String, ?disabled_networks: Array[String] }
179
+ type travel_rule_update_settings_params = { ?is_enabled: bool, ?legal_name: String, ?lei: String, ?jurisdiction: String, ?vasp_jurisdiction: String, ?name_matching_strictness: String, ?confirmation_timeout_hours: Integer, ?timeout_outcome: String, ?compliance_email: String, ?is_discoverable: bool, ?threshold_amount: String, ?ownership_validation_mode: String, ?simplified_validation_threshold: String, ?data_sharing_fields: Didit::Types::travel_rule_data_sharing_fields, ?matching_rules: Didit::Types::travel_rule_matching_rules, ?inbound_auto_accept: bool, ?allow_self_declaration: bool, ?allow_screenshot_proof: bool, ?auto_wallet_verification: bool, ?vasp_attribution_enabled: bool, ?counterparty_screening_enabled: bool, ?sunrise_policy: String, ?non_responsive_policy: String, ?disabled_networks: Array[String], ?licence: String }
180
180
 
181
181
  type travel_rule_update_vasp_decision_params = { decision: String, ?reason: String }
182
182
 
@@ -188,7 +188,7 @@ module Didit
188
188
 
189
189
  type travel_rule_wallet_proofs_decide_params = { decision: String, ?note: String }
190
190
 
191
- type travel_rule_workspace_claim_params = { vasp_id: String }
191
+ type travel_rule_workspace_claim_params = { vasp_id: String, ?licence: String }
192
192
 
193
193
  type travel_rule_workspace_confirm_domain_params = { code: String }
194
194
 
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.11.0
4
+ version: 2.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didit