didit-sdk 2.11.0 → 2.12.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: d237908b8d26f01a2c1b1f240404560f0840a60580942d4541504485c5e89d80
4
+ data.tar.gz: 6ec80811d16ada1ca9e3dea375c23d30424bbf133cc56c195d241304b49031b5
5
5
  SHA512:
6
- metadata.gz: 3f9d2e4c631cc28590475cb713fa56e92dafa80b32b504ba2505e1de88658d5b4916265ace38cc65b30d5ba91bb4abf6d8c0f967cb373b37d16d6ce0248a85b6
7
- data.tar.gz: 8a5e7c0ef5169cdf7fd53c99105a08f9e6a24a296aad8091e85e365b89d3b68e65b463131a3242699d350edff65246fd7a9355263136eb589f151b5f60c4a51d
6
+ metadata.gz: d446e8d8b357ace21eec7c8787ae8e779209a221bd568ac06afdb5963e112fcf915b5c59940ae96fe3ff289662af30fda2934a00b961f3e148faeefcc0dbd017
7
+ data.tar.gz: '0905abc26c9270edae21957afd9eb9854c976e070894c072148159e8cfbd66760177c85f395233ddf3436bbcecfb0a0aab42eb5f78ba6f022bc77bd158002288'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.12.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.11.0...v2.12.0) (2026-11-11)
4
+
5
+
6
+ ### Features
7
+
8
+ * **spec:** sync API spec 2026-11-11 ([99ec1de](https://github.com/didit-protocol/sdk-ruby/commit/99ec1de70b9b7741f5c3fce5e423b55d8e34d86e))
9
+
3
10
  ## [2.11.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.10.0...v2.11.0) (2026-11-11)
4
11
 
5
12
 
@@ -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
@@ -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,
@@ -5046,6 +5046,19 @@ module Didit
5046
5046
  VALUES = [INBOUND, OUTBOUND].freeze
5047
5047
  end
5048
5048
 
5049
+ # not_required when the transfer is not required; otherwise confirmed or not_confirmed follows
5050
+ # ownership_confirmed. With no verdict, requested means an active outbound ownership widget matches this transfer
5051
+ # and subject; otherwise not_requested. A request is not completed proof.
5052
+ module TransactionTravelRuleProofState
5053
+ NOT_REQUIRED = "not_required"
5054
+ CONFIRMED = "confirmed"
5055
+ NOT_CONFIRMED = "not_confirmed"
5056
+ REQUESTED = "requested"
5057
+ NOT_REQUESTED = "not_requested"
5058
+
5059
+ VALUES = [NOT_REQUIRED, CONFIRMED, NOT_CONFIRMED, REQUESTED, NOT_REQUESTED].freeze
5060
+ end
5061
+
5049
5062
  # On an outbound Lightning transfer whose payment request names no payee: why the transfer is `NOT_APPLICABLE`.
5050
5063
  # `LIGHTNING_NO_PAYEE_IDENTIFIER` (the request names no payee node, or could not be decoded),
5051
5064
  # `LIGHTNING_BOLT12_BLINDED_PAYEE` (the offer hides its payee behind blinded paths),
@@ -5678,6 +5691,19 @@ module Didit
5678
5691
  VALUES = [INBOUND, OUTBOUND].freeze
5679
5692
  end
5680
5693
 
5694
+ # not_required when the transfer is not required; otherwise confirmed or not_confirmed follows
5695
+ # ownership_confirmed. With no verdict, requested means an active outbound ownership widget matches this transfer
5696
+ # and subject; otherwise not_requested. A request is not completed proof.
5697
+ module TravelRuleTransferDetailProofState
5698
+ NOT_REQUIRED = "not_required"
5699
+ CONFIRMED = "confirmed"
5700
+ NOT_CONFIRMED = "not_confirmed"
5701
+ REQUESTED = "requested"
5702
+ NOT_REQUESTED = "not_requested"
5703
+
5704
+ VALUES = [NOT_REQUIRED, CONFIRMED, NOT_CONFIRMED, REQUESTED, NOT_REQUESTED].freeze
5705
+ end
5706
+
5681
5707
  # The rail the transfer was routed over, or null when no rail was selected (for example below the threshold, a
5682
5708
  # self-hosted counterparty wallet, an after-deposit registration, or no reachable counterparty). INTERNAL means
5683
5709
  # both sides are Didit applications; EMAIL means the counterparty was reached by an emailed pickup link. TEST_VASP
@@ -5837,6 +5863,16 @@ module Didit
5837
5863
  VALUES = [PENDING, VERIFIED, REJECTED, EXPIRED].freeze
5838
5864
  end
5839
5865
 
5866
+ # Structured rejection reason. Empty when none was recorded; a new claim or approval clears it. Read review_note
5867
+ # for the explanation.
5868
+ module TravelRuleWorkspaceClaimRejectionReason
5869
+ VALUE = ""
5870
+ DOMAIN_MISMATCH = "domain_mismatch"
5871
+ OTHER = "other"
5872
+
5873
+ VALUES = [VALUE, DOMAIN_MISMATCH, OTHER].freeze
5874
+ end
5875
+
5840
5876
  # Known values of an open enum: the API may send others.
5841
5877
  module TravelRuleWorkspaceClaimStatus
5842
5878
  UNCLAIMED = "unclaimed"
@@ -5865,6 +5901,14 @@ module Didit
5865
5901
  VALUES = [UNVERIFIED, CODE_SENT, VERIFIED].freeze
5866
5902
  end
5867
5903
 
5904
+ # Whether the quote comes from the plan or account contract.
5905
+ module TravelRuleWorkspaceOutboundPriceSource
5906
+ PLAN = "plan"
5907
+ CONTRACT = "contract"
5908
+
5909
+ VALUES = [PLAN, CONTRACT].freeze
5910
+ end
5911
+
5868
5912
  # Known values of an open enum: the API may send others.
5869
5913
  module UserDetailItemCommentsCommentType
5870
5914
  COMMENT = "COMMENT"
@@ -12302,6 +12346,8 @@ module Didit
12302
12346
  field :reason, "reason", :string
12303
12347
  field :next_actions, "next_actions", [:array, "TravelRuleNextAction"]
12304
12348
  field :chain_details, "chain_details", "TravelRuleChainDetails"
12349
+ field :not_required_reason, "not_required_reason", :string
12350
+ field :proof_state, "proof_state", :string
12305
12351
  end
12306
12352
 
12307
12353
  # The counterparty's directory entry, or `null` when the transfer links none.
@@ -12721,6 +12767,7 @@ module Didit
12721
12767
  field :disabled_networks, "disabled_networks", [:array, :string]
12722
12768
  field :networks, "networks", "TravelRuleSettingsDetailNetworks"
12723
12769
  field :didit_network, "didit_network", "TravelRuleSettingsDetailDiditNetwork"
12770
+ field :licence, "licence", :string
12724
12771
  end
12725
12772
 
12726
12773
  # Whether the Didit network lists your VASP profile, so other Didit customers find it in the directory and reach
@@ -12781,6 +12828,8 @@ module Didit
12781
12828
  field :reason, "reason", :string
12782
12829
  field :next_actions, "next_actions", [:array, "TravelRuleNextAction"]
12783
12830
  field :chain_details, "chain_details", "TravelRuleChainDetails"
12831
+ field :not_required_reason, "not_required_reason", :string
12832
+ field :proof_state, "proof_state", :string
12784
12833
  end
12785
12834
 
12786
12835
  class TravelRuleTransferDetailCounterpartyVasp < Didit::Model
@@ -12883,6 +12932,8 @@ module Didit
12883
12932
  field :billing_enabled_at, "billing_enabled_at", :datetime
12884
12933
  field :didit_network, "didit_network", :any
12885
12934
  field :settings, "settings", "TravelRuleSettingsDetail"
12935
+ field :outbound_price, "outbound_price", "TravelRuleWorkspaceOutboundPrice"
12936
+ field :licence, "licence", :string
12886
12937
  end
12887
12938
 
12888
12939
  class TravelRuleWorkspaceClaim < Didit::Model
@@ -12893,6 +12944,8 @@ module Didit
12893
12944
  field :review_note, "review_note", :string
12894
12945
  field :vasp_id, "vasp_id", :string
12895
12946
  field :vasp_name, "vasp_name", :string
12947
+ field :licence, "licence", :string
12948
+ field :rejection_reason, "rejection_reason", :string
12896
12949
  end
12897
12950
 
12898
12951
  class TravelRuleWorkspaceDomain < Didit::Model
@@ -12908,6 +12961,16 @@ module Didit
12908
12961
  field :txt, "txt", "TravelRuleWorkspaceTxtRecord"
12909
12962
  end
12910
12963
 
12964
+ # Own-account outbound quote, or null when a flat Travel Rule quote is unavailable. Does not enable billing.
12965
+ class TravelRuleWorkspaceOutboundPrice < Didit::Model
12966
+ field :list_price, "list_price", :string
12967
+ field :effective_price, "effective_price", :string
12968
+ field :currency, "currency", :string
12969
+ field :discount_pct, "discount_pct", :float
12970
+ field :product, "product", :string
12971
+ field :source, "source", :string
12972
+ end
12973
+
12911
12974
  # The TXT record to publish for the DNS proof. Empty until a proof has been started.
12912
12975
  class TravelRuleWorkspaceTxtRecord < Didit::Model
12913
12976
  field :host, "host", :string
@@ -13173,6 +13236,8 @@ module Didit
13173
13236
  field :pep_counterparty, "pep_counterparty", :boolean
13174
13237
  field :dominant_risk_category, "dominant_risk_category", :string
13175
13238
  field :risk_factors, "risk_factors", [:array, "WalletScreeningResultRiskFactors"]
13239
+ field :fallback_from_provider, "fallback_from_provider", :string
13240
+ field :fallback_reason, "fallback_reason", :string
13176
13241
  field :raw_response, "raw_response", :any
13177
13242
  field :report_signature, "report_signature", :string
13178
13243
  end
data/lib/didit/types.rb CHANGED
@@ -1539,6 +1539,7 @@ module Didit
1539
1539
  autoload :TransactionTravelRuleCounterpartyVasp, "didit/types/components"
1540
1540
  autoload :TransactionTravelRuleCounterpartyVaspDdScoreBreakdownValue, "didit/types/components"
1541
1541
  autoload :TransactionTravelRuleDirection, "didit/types/components"
1542
+ autoload :TransactionTravelRuleProofState, "didit/types/components"
1542
1543
  autoload :TransactionsCreateParamsTransactionCategory, "didit/types/transactions"
1543
1544
  autoload :TransactionsCreateParamsTransactionDetailsDirection, "didit/types/transactions"
1544
1545
  autoload :TransactionsCreateSdkTokenResponse, "didit/types/transactions"
@@ -1669,6 +1670,7 @@ module Didit
1669
1670
  autoload :TravelRuleTransferDetailCounterpartyVasp, "didit/types/components"
1670
1671
  autoload :TravelRuleTransferDetailCounterpartyVaspDdScoreBreakdownValue, "didit/types/components"
1671
1672
  autoload :TravelRuleTransferDetailDirection, "didit/types/components"
1673
+ autoload :TravelRuleTransferDetailProofState, "didit/types/components"
1672
1674
  autoload :TravelRuleTransferDetailRail, "didit/types/components"
1673
1675
  autoload :TravelRuleTransferDetailStatus, "didit/types/components"
1674
1676
  autoload :TravelRuleTransferDetailTimeline, "didit/types/components"
@@ -1700,11 +1702,14 @@ module Didit
1700
1702
  autoload :TravelRuleWidgetSessionResponse, "didit/types/components"
1701
1703
  autoload :TravelRuleWorkspace, "didit/types/components"
1702
1704
  autoload :TravelRuleWorkspaceClaim, "didit/types/components"
1705
+ autoload :TravelRuleWorkspaceClaimRejectionReason, "didit/types/components"
1703
1706
  autoload :TravelRuleWorkspaceClaimStatus, "didit/types/components"
1704
1707
  autoload :TravelRuleWorkspaceDomain, "didit/types/components"
1705
1708
  autoload :TravelRuleWorkspaceDomainCodeResponse, "didit/types/components"
1706
1709
  autoload :TravelRuleWorkspaceDomainCodeResponseStatus, "didit/types/components"
1707
1710
  autoload :TravelRuleWorkspaceDomainStatus, "didit/types/components"
1711
+ autoload :TravelRuleWorkspaceOutboundPrice, "didit/types/components"
1712
+ autoload :TravelRuleWorkspaceOutboundPriceSource, "didit/types/components"
1708
1713
  autoload :TravelRuleWorkspaceTxtRecord, "didit/types/components"
1709
1714
  autoload :UserDetailItem, "didit/types/components"
1710
1715
  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.12.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
@@ -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
@@ -4241,6 +4241,16 @@ module Didit
4241
4241
  VALUES: Array[String]
4242
4242
  end
4243
4243
 
4244
+ module TransactionTravelRuleProofState
4245
+ NOT_REQUIRED: String
4246
+ CONFIRMED: String
4247
+ NOT_CONFIRMED: String
4248
+ REQUESTED: String
4249
+ NOT_REQUESTED: String
4250
+
4251
+ VALUES: Array[String]
4252
+ end
4253
+
4244
4254
  module TravelRuleChainDetailsNotApplicableReason
4245
4255
  LIGHTNING_NO_PAYEE_IDENTIFIER: String
4246
4256
  LIGHTNING_BOL_T12_BLINDED_PAYEE: String
@@ -4760,6 +4770,16 @@ module Didit
4760
4770
  VALUES: Array[String]
4761
4771
  end
4762
4772
 
4773
+ module TravelRuleTransferDetailProofState
4774
+ NOT_REQUIRED: String
4775
+ CONFIRMED: String
4776
+ NOT_CONFIRMED: String
4777
+ REQUESTED: String
4778
+ NOT_REQUESTED: String
4779
+
4780
+ VALUES: Array[String]
4781
+ end
4782
+
4763
4783
  module TravelRuleTransferDetailRail
4764
4784
  INTERNAL: String
4765
4785
  TRP: String
@@ -4888,6 +4908,14 @@ module Didit
4888
4908
  VALUES: Array[String]
4889
4909
  end
4890
4910
 
4911
+ module TravelRuleWorkspaceClaimRejectionReason
4912
+ VALUE: String
4913
+ DOMAIN_MISMATCH: String
4914
+ OTHER: String
4915
+
4916
+ VALUES: Array[String]
4917
+ end
4918
+
4891
4919
  module TravelRuleWorkspaceClaimStatus
4892
4920
  UNCLAIMED: String
4893
4921
  PENDING_REVIEW: String
@@ -4913,6 +4941,13 @@ module Didit
4913
4941
  VALUES: Array[String]
4914
4942
  end
4915
4943
 
4944
+ module TravelRuleWorkspaceOutboundPriceSource
4945
+ PLAN: String
4946
+ CONTRACT: String
4947
+
4948
+ VALUES: Array[String]
4949
+ end
4950
+
4916
4951
  module UserDetailItemCommentsCommentType
4917
4952
  COMMENT: String
4918
4953
  STATUS_CHANGED: String
@@ -10889,6 +10924,8 @@ module Didit
10889
10924
  def reason: () -> String?
10890
10925
  def next_actions: () -> Array[Didit::Types::TravelRuleNextAction]?
10891
10926
  def chain_details: () -> Didit::Types::TravelRuleChainDetails?
10927
+ def not_required_reason: () -> String?
10928
+ def proof_state: () -> String?
10892
10929
  end
10893
10930
 
10894
10931
  class TransactionTravelRuleCounterpartyVasp < Didit::Model
@@ -11249,6 +11286,7 @@ module Didit
11249
11286
  def disabled_networks: () -> Array[String]?
11250
11287
  def networks: () -> Didit::Types::TravelRuleSettingsDetailNetworks?
11251
11288
  def didit_network: () -> Didit::Types::TravelRuleSettingsDetailDiditNetwork?
11289
+ def licence: () -> String?
11252
11290
  end
11253
11291
 
11254
11292
  class TravelRuleSettingsDetailDiditNetwork < Didit::Model
@@ -11299,6 +11337,8 @@ module Didit
11299
11337
  def reason: () -> String?
11300
11338
  def next_actions: () -> Array[Didit::Types::TravelRuleNextAction]?
11301
11339
  def chain_details: () -> Didit::Types::TravelRuleChainDetails?
11340
+ def not_required_reason: () -> String?
11341
+ def proof_state: () -> String?
11302
11342
  end
11303
11343
 
11304
11344
  class TravelRuleTransferDetailCounterpartyVasp < Didit::Model
@@ -11397,6 +11437,8 @@ module Didit
11397
11437
  def billing_enabled_at: () -> Time?
11398
11438
  def didit_network: () -> Hash[String, untyped]?
11399
11439
  def settings: () -> Didit::Types::TravelRuleSettingsDetail?
11440
+ def outbound_price: () -> Didit::Types::TravelRuleWorkspaceOutboundPrice?
11441
+ def licence: () -> String?
11400
11442
  end
11401
11443
 
11402
11444
  class TravelRuleWorkspaceClaim < Didit::Model
@@ -11407,6 +11449,8 @@ module Didit
11407
11449
  def review_note: () -> String?
11408
11450
  def vasp_id: () -> String?
11409
11451
  def vasp_name: () -> String?
11452
+ def licence: () -> String?
11453
+ def rejection_reason: () -> String?
11410
11454
  end
11411
11455
 
11412
11456
  class TravelRuleWorkspaceDomain < Didit::Model
@@ -11422,6 +11466,15 @@ module Didit
11422
11466
  def txt: () -> Didit::Types::TravelRuleWorkspaceTxtRecord?
11423
11467
  end
11424
11468
 
11469
+ class TravelRuleWorkspaceOutboundPrice < Didit::Model
11470
+ def list_price: () -> String
11471
+ def effective_price: () -> String?
11472
+ def currency: () -> String
11473
+ def discount_pct: () -> Float
11474
+ def product: () -> String
11475
+ def source: () -> String
11476
+ end
11477
+
11425
11478
  class TravelRuleWorkspaceTxtRecord < Didit::Model
11426
11479
  def host: () -> String?
11427
11480
  def value: () -> String?
@@ -11655,6 +11708,8 @@ module Didit
11655
11708
  def pep_counterparty: () -> bool?
11656
11709
  def dominant_risk_category: () -> String?
11657
11710
  def risk_factors: () -> Array[Didit::Types::WalletScreeningResultRiskFactors]?
11711
+ def fallback_from_provider: () -> String?
11712
+ def fallback_reason: () -> String?
11658
11713
  def raw_response: () -> Hash[String, untyped]?
11659
11714
  def report_signature: () -> String
11660
11715
  end
@@ -11960,7 +12015,7 @@ module Didit
11960
12015
 
11961
12016
  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
12017
 
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 }
12018
+ 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
12019
 
11965
12020
  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
12021
 
@@ -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
 
@@ -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.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didit