didit-sdk 2.15.0 → 2.16.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: 97801d2b0ff521137a0a3ee9b944982989e81d9f6af6612210d1a67ac496ca84
4
- data.tar.gz: 774649779cd7c8ecb6b6bc45ecfc78ab9dd6ceb1059363cb3bc937a8b5787a6f
3
+ metadata.gz: 976573d86ac3ea0f7e6a9d72e8251f43f2f05435ecf6737320c90a27a7358afc
4
+ data.tar.gz: 5b093e8f2ed8c29f81d8025986f368da53b26a7ff31e326707ef4e785ddfd509
5
5
  SHA512:
6
- metadata.gz: ffb2f0d32d840b2d75eb6ca483aad10fd6e24b1097dbb482734c545caf1f196bf863430143a4fe6edb109fc667759a9fd3ead4c6a4656e3ad12928badeb297b1
7
- data.tar.gz: d30065b7e2b1c6507e9eda1943a7f6a19bac26d3d71614c6d3e629a4a24d61a8f2596bdea7c4ebe9cd7c8c095291d6ed6bc5546f78873acf741e7610ede53d1c
6
+ metadata.gz: c31b3c5e914b6399197d2754dc40bc047cb4fce6a2b2a92592d20f9a2b6b55a09291108cb0b898738248ad0bf259a30f19f78248ba4d199612e43e4d4af4088c
7
+ data.tar.gz: 785bb3225fb64562fcd11bbefc16b3cfb522898f54d7e37c427c89d9f8b20da19ab56959321c224012c31c3ab9963b5dacbcdc6fb8d9927564c8a03e5ac2c02c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.16.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.15.0...v2.16.0) (2026-11-13)
4
+
5
+
6
+ ### Features
7
+
8
+ * **spec:** sync API spec 2026-11-13 ([06b3c4d](https://github.com/didit-protocol/sdk-ruby/commit/06b3c4d2507ca40ee8b02adcb53340e46af34cd5))
9
+
3
10
  ## [2.15.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.14.0...v2.15.0) (2026-11-13)
4
11
 
5
12
 
@@ -117,6 +117,16 @@ module Didit
117
117
  # completion.
118
118
  # @param expires_in_minutes [Integer] Optional. Lifetime of the minted link, in minutes. Automatically extended
119
119
  # to cover the Satoshi test window when SATOSHI_TEST is offered.
120
+ # @param wallet_entry_id [String] Optional. Request the ownership proof of this address book entry instead of
121
+ # passing `wallet_address` and `chain`. The entry must be a customer wallet with a holder
122
+ # (`holder_vendor_data`), an address and a chain; the saved wallet and holder are always used and a conflicting
123
+ # `wallet_address`, `chain`, `holder_name` or `vendor_data` is rejected. Cannot be combined with
124
+ # `transaction_id`.
125
+ # @param request_action [String] Only with `wallet_entry_id`. `ensure` and `resend` return the entry's active
126
+ # link when it has one (`200`) and create one otherwise (`201`). `new` revokes the active link and creates
127
+ # another; it needs `request_key`.
128
+ # @param request_key [String] Only with `request_action: new`. An idempotency key: repeating the call with the
129
+ # same key returns the same link while it is active, and `410` once it has been revoked or has expired.
120
130
  # @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
121
131
  # @return [Didit::Types::TravelRuleWidgetSessionResponse]
122
132
  def create_widget_session(
@@ -128,6 +138,9 @@ module Didit
128
138
  satoshi_deposit_address: OMIT,
129
139
  callback_url: OMIT,
130
140
  expires_in_minutes: OMIT,
141
+ wallet_entry_id: OMIT,
142
+ request_action: OMIT,
143
+ request_key: OMIT,
131
144
  request_options: nil
132
145
  )
133
146
  @client.request(
@@ -141,7 +154,10 @@ module Didit
141
154
  "transaction_id" => transaction_id,
142
155
  "satoshi_deposit_address" => satoshi_deposit_address,
143
156
  "callback_url" => callback_url,
144
- "expires_in_minutes" => expires_in_minutes
157
+ "expires_in_minutes" => expires_in_minutes,
158
+ "wallet_entry_id" => wallet_entry_id,
159
+ "request_action" => request_action,
160
+ "request_key" => request_key
145
161
  },
146
162
  response: Types::TravelRuleWidgetSessionResponse,
147
163
  request_options: request_options
@@ -838,8 +854,10 @@ module Didit
838
854
  # List Travel Rule transfers
839
855
  #
840
856
  # Your application's Travel Rule transfers, newest first, paginated with `limit` (default 50) and `offset`.
841
- # Rows carry VASP names, wallets and memos only, never person data. Comma-separated values select several. An
842
- # unknown value answers 400 naming the parameter, for example `{"direction": ["Unknown value(s): inbound."]}`.
857
+ # Rows carry VASP names, wallets, memos, the transaction's review decision, your own end user's name (masked
858
+ # exactly as the transaction detail masks it), the counterparty VASP's jurisdiction, the chain and the fiat
859
+ # amount; they never carry the counterparty's person data. Comma-separated values select several. An unknown
860
+ # value answers 400 naming the parameter, for example `{"direction": ["Unknown value(s): inbound."]}`.
843
861
  #
844
862
  # +GET /v3/travel-rule/transfers/+
845
863
  #
@@ -1115,6 +1133,61 @@ module Didit
1115
1133
  )
1116
1134
  end
1117
1135
 
1136
+ # List the transfers that used a wallet address
1137
+ #
1138
+ # Paginated list of your Travel Rule transfers whose originator or beneficiary wallet is this address book
1139
+ # entry, newest first. The endpoint answers 404 once the entry is deleted.
1140
+ #
1141
+ # +GET /v3/travel-rule/wallet-addresses/{entry_uuid}/transfers/+
1142
+ #
1143
+ # @param entry_uuid [String]
1144
+ # @param limit [Integer]
1145
+ # @param offset [Integer]
1146
+ # @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
1147
+ # @return [Didit::Page<Didit::Types::TravelRuleWalletTransfer>]
1148
+ def list_transfers(entry_uuid, limit: OMIT, offset: OMIT, request_options: nil)
1149
+ @client.request(
1150
+ :get,
1151
+ "/v3/travel-rule/wallet-addresses/{entry_uuid}/transfers/",
1152
+ path_params: { "entry_uuid" => entry_uuid },
1153
+ query: {
1154
+ "limit" => limit,
1155
+ "offset" => offset
1156
+ },
1157
+ page: Types::TravelRuleWalletTransfer,
1158
+ request_options: request_options
1159
+ )
1160
+ end
1161
+
1162
+ # Look up a wallet address
1163
+ #
1164
+ # Checks one exact address, chain and memo against your own wallet address book and then against wallets
1165
+ # proven by other Didit Travel Rule participants. It never screens the wallet, never sends a message and never
1166
+ # returns holder data from another application. `directory_checked` is always `false`: the lookup does not
1167
+ # search a public directory, so `none` means the wallet is neither in your book nor proven on Didit, not that
1168
+ # it is unknown elsewhere.
1169
+ #
1170
+ # +GET /v3/travel-rule/wallet-addresses/lookup/+
1171
+ #
1172
+ # @param address [String] The wallet address.
1173
+ # @param chain [String] Chain token, for example `ETH`, `BTC` or `SOL`.
1174
+ # @param memo [String] Destination tag or memo, for chains that use one.
1175
+ # @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
1176
+ # @return [Didit::Types::TravelRuleWalletLookup]
1177
+ def lookup(address:, chain:, memo: OMIT, request_options: nil)
1178
+ @client.request(
1179
+ :get,
1180
+ "/v3/travel-rule/wallet-addresses/lookup/",
1181
+ query: {
1182
+ "address" => address,
1183
+ "chain" => chain,
1184
+ "memo" => memo
1185
+ },
1186
+ response: Types::TravelRuleWalletLookup,
1187
+ request_options: request_options
1188
+ )
1189
+ end
1190
+
1118
1191
  # Update wallet address holder metadata
1119
1192
  #
1120
1193
  # Partial update of holder_name, holder_vendor_data, entity_type, and travel_address. Setting travel_address
@@ -4448,7 +4448,7 @@ module Didit
4448
4448
  VALUES = [TYPED, DRAWN].freeze
4449
4449
  end
4450
4450
 
4451
- # `null` for a Simple signature, which has no code.
4451
+ # `null` for a Simple signature, which has no code. Always `sms` for a Qualified (QES) signature.
4452
4452
  module SignatureResultConfirmationChannel
4453
4453
  EMAIL = "email"
4454
4454
  SMS = "sms"
@@ -4456,6 +4456,16 @@ module Didit
4456
4456
  VALUES = [EMAIL, SMS].freeze
4457
4457
  end
4458
4458
 
4459
+ # Who sent the code: `didit`, or `qualified_provider` for a Qualified (QES) signature, whose code comes by SMS
4460
+ # from the qualified trust service provider and authorizes the signer's qualified certificate. `null` for a Simple
4461
+ # signature.
4462
+ module SignatureResultConfirmationSentBy
4463
+ DIDIT = "didit"
4464
+ QUALIFIED_PROVIDER = "qualified_provider"
4465
+
4466
+ VALUES = [DIDIT, QUALIFIED_PROVIDER].freeze
4467
+ end
4468
+
4459
4469
  # Known values of an open enum: the API may send others.
4460
4470
  module SignatureResultDeclinedAction
4461
4471
  DECLINE = "DECLINE"
@@ -4498,7 +4508,7 @@ module Didit
4498
4508
  VALUES = [SIGNED, DECLINED, NOT_SIGNED, NOT_REACHED].freeze
4499
4509
  end
4500
4510
 
4501
- # `pdf` for a Simple signature, `pades` for Advanced (AES).
4511
+ # `pdf` for a Simple signature, `pades` for Advanced (AES) and Qualified (QES).
4502
4512
  module SignatureResultFormat
4503
4513
  PDF = "pdf"
4504
4514
  PADES = "pades"
@@ -4506,7 +4516,8 @@ module Didit
4506
4516
  VALUES = [PDF, PADES].freeze
4507
4517
  end
4508
4518
 
4509
- # `simple` (default) or `aes`. `qes` (Qualified Electronic Signature, QES) is an add-on that is not available yet.
4519
+ # `simple` (default), `aes` or `qes` (Qualified electronic signature, QES, an add-on: a qualified trust service
4520
+ # provider issues the signer a qualified certificate and signs after the signer enters the code it texts them).
4510
4521
  module SignatureResultLevel
4511
4522
  SIMPLE = "simple"
4512
4523
  AES = "aes"
@@ -4542,6 +4553,20 @@ module Didit
4542
4553
  VALUES = [INTRO, REVIEW, CODE, SIGNING, SIGNED, DECLINED].freeze
4543
4554
  end
4544
4555
 
4556
+ # Known values of an open enum: the API may send others.
4557
+ module SignatureResultValidationDocumentsFailedChecks
4558
+ INTEGRITY = "integrity"
4559
+ TRUSTED = "trusted"
4560
+ NOT_REVOKED = "not_revoked"
4561
+ COVERAGE = "coverage"
4562
+ TIMESTAMP = "timestamp"
4563
+ QUALIFIED_CERTIFICATE = "qualified_certificate"
4564
+ SIGNER_NAMED = "signer_named"
4565
+ ORIGINAL_KEPT = "original_kept"
4566
+
4567
+ VALUES = [INTEGRITY, TRUSTED, NOT_REVOKED, COVERAGE, TIMESTAMP, QUALIFIED_CERTIFICATE, SIGNER_NAMED, ORIGINAL_KEPT].freeze
4568
+ end
4569
+
4545
4570
  # The step's outcome. A warning sets it through its rule; custom status rules apply after.
4546
4571
  module SignatureResultVerdict
4547
4572
  NOT_FINISHED = "Not Finished"
@@ -5335,6 +5360,15 @@ module Didit
5335
5360
  VALUES = [OWNERSHIP_CONFIRMED, WALLET_PROOF, ADDRESS_BOOK_MATCH, OWN_VERIFIED_WALLET, INQUIRY_APPROVED, KNOWN_PAYMENT_METHOD, TRAVEL_ADDRESS].freeze
5336
5361
  end
5337
5362
 
5363
+ # `email_undeliverable`: the email bounced or the address does not accept mail. `delivery_failed`: any other
5364
+ # failure.
5365
+ module TravelRuleDeliveryFailureCode
5366
+ EMAIL_UNDELIVERABLE = "email_undeliverable"
5367
+ DELIVERY_FAILED = "delivery_failed"
5368
+
5369
+ VALUES = [EMAIL_UNDELIVERABLE, DELIVERY_FAILED].freeze
5370
+ end
5371
+
5338
5372
  # What the message carries. `SEND`: the transfer's first message to the counterparty (outbound; the rail is chosen
5339
5373
  # when it is sent). `ANSWER`: your accept or decline, owed to the network that asked (inbound). `TXID`: the
5340
5374
  # on-chain transaction hash, after you finish the transfer. `CANCEL`: the cancellation, after you cancel it.
@@ -5350,6 +5384,15 @@ module Didit
5350
5384
  VALUES = [SEND, ANSWER, TXID, CANCEL, POLL].freeze
5351
5385
  end
5352
5386
 
5387
+ # `email_undeliverable`: the email bounced or the address does not accept mail. `delivery_failed`: any other
5388
+ # failure.
5389
+ module TravelRuleDeliveryLogEntryFailureCode
5390
+ EMAIL_UNDELIVERABLE = "email_undeliverable"
5391
+ DELIVERY_FAILED = "delivery_failed"
5392
+
5393
+ VALUES = [EMAIL_UNDELIVERABLE, DELIVERY_FAILED].freeze
5394
+ end
5395
+
5353
5396
  # What the message carries. `SEND`: the transfer's first message to the counterparty (outbound; the rail is chosen
5354
5397
  # when it is sent). `ANSWER`: your accept or decline, owed to the network that asked (inbound). `TXID`: the
5355
5398
  # on-chain transaction hash, after you finish the transfer. `CANCEL`: the cancellation, after you cancel it.
@@ -5395,9 +5438,10 @@ module Didit
5395
5438
  VERIFYVASP = "VERIFYVASP"
5396
5439
  SYGNA = "SYGNA"
5397
5440
  EMAIL = "EMAIL"
5441
+ TEST_VASP = "TEST_VASP"
5398
5442
  VALUE = ""
5399
5443
 
5400
- VALUES = [INTERNAL, TRP, GTR, TRUST, VERIFYVASP, SYGNA, EMAIL, VALUE].freeze
5444
+ VALUES = [INTERNAL, TRP, GTR, TRUST, VERIFYVASP, SYGNA, EMAIL, TEST_VASP, VALUE].freeze
5401
5445
  end
5402
5446
 
5403
5447
  # `QUEUED`: waiting to be sent. `SENDING`: an attempt is running. `RETRYING`: an attempt failed and the next one
@@ -5931,6 +5975,17 @@ module Didit
5931
5975
  VALUES = [INTERNAL, TRP, GTR, TRUST, VERIFYVASP, SYGNA, EMAIL, TEST_VASP].freeze
5932
5976
  end
5933
5977
 
5978
+ # The transaction's own review decision, which can differ from the transfer's `status`: a transfer may wait on its
5979
+ # counterparty while its transaction is approved, or be stuck while its transaction is in review.
5980
+ module TravelRuleTransferRowReviewStatus
5981
+ APPROVED = "APPROVED"
5982
+ IN_REVIEW = "IN_REVIEW"
5983
+ DECLINED = "DECLINED"
5984
+ AWAITING_USER = "AWAITING_USER"
5985
+
5986
+ VALUES = [APPROVED, IN_REVIEW, DECLINED, AWAITING_USER].freeze
5987
+ end
5988
+
5934
5989
  # Known values of an open enum: the API may send others.
5935
5990
  module TravelRuleTransferRowStatus
5936
5991
  AWAITING_COUNTERPARTY = "AWAITING_COUNTERPARTY"
@@ -5950,6 +6005,25 @@ module Didit
5950
6005
  VALUES = [AWAITING_COUNTERPARTY, ON_HOLD, COMPLETED, FINISHED, CANCELLED, EXPIRED, COUNTERPARTY_MISMATCHED_DATA, COUNTERPARTY_VASP_NOT_FOUND, COUNTERPARTY_VASP_NOT_REACHABLE, UNCONFIRMED_OWNERSHIP, COUNTERPARTY_VASP_GENERAL_DECLINE, NOT_ENOUGH_COUNTERPARTY_DATA, NOT_APPLICABLE].freeze
5951
6006
  end
5952
6007
 
6008
+ # `book`: the wallet is in your address book (`entry_id`). `didit`: exactly one other Didit participant has proven
6009
+ # ownership of it (`vasp_name`, `proof_state`). `ambiguous`: more than one other participant has proven it, so
6010
+ # nothing about them is returned. `none`: no match.
6011
+ module TravelRuleWalletLookupMatch
6012
+ BOOK = "book"
6013
+ DIDIT = "didit"
6014
+ AMBIGUOUS = "ambiguous"
6015
+ NONE = "none"
6016
+
6017
+ VALUES = [BOOK, DIDIT, AMBIGUOUS, NONE].freeze
6018
+ end
6019
+
6020
+ # Only with `match: didit`.
6021
+ module TravelRuleWalletLookupProofState
6022
+ VERIFIED = "verified"
6023
+
6024
+ VALUES = [VERIFIED].freeze
6025
+ end
6026
+
5953
6027
  # Why a wallet-ownership proof, or its last attempt, fell short of VERIFIED. Empty when nothing failed. A PENDING
5954
6028
  # proof can carry one: the last attempt failed and the end user can try again. DEPOSIT_MISMATCH, DEPOSIT_STALE,
5955
6029
  # TXID_REUSED and REVIEW_REJECTED close the proof as REJECTED. SIGNATURE_INVALID: the signature does not match the
@@ -5999,6 +6073,25 @@ module Didit
5999
6073
  VALUES = [PENDING, VERIFIED, REJECTED, EXPIRED].freeze
6000
6074
  end
6001
6075
 
6076
+ # Known values of an open enum: the API may send others.
6077
+ module TravelRuleWalletTransferStatus
6078
+ AWAITING_COUNTERPARTY = "AWAITING_COUNTERPARTY"
6079
+ ON_HOLD = "ON_HOLD"
6080
+ COMPLETED = "COMPLETED"
6081
+ FINISHED = "FINISHED"
6082
+ CANCELLED = "CANCELLED"
6083
+ EXPIRED = "EXPIRED"
6084
+ COUNTERPARTY_MISMATCHED_DATA = "COUNTERPARTY_MISMATCHED_DATA"
6085
+ COUNTERPARTY_VASP_NOT_FOUND = "COUNTERPARTY_VASP_NOT_FOUND"
6086
+ COUNTERPARTY_VASP_NOT_REACHABLE = "COUNTERPARTY_VASP_NOT_REACHABLE"
6087
+ UNCONFIRMED_OWNERSHIP = "UNCONFIRMED_OWNERSHIP"
6088
+ COUNTERPARTY_VASP_GENERAL_DECLINE = "COUNTERPARTY_VASP_GENERAL_DECLINE"
6089
+ NOT_ENOUGH_COUNTERPARTY_DATA = "NOT_ENOUGH_COUNTERPARTY_DATA"
6090
+ NOT_APPLICABLE = "NOT_APPLICABLE"
6091
+
6092
+ VALUES = [AWAITING_COUNTERPARTY, ON_HOLD, COMPLETED, FINISHED, CANCELLED, EXPIRED, COUNTERPARTY_MISMATCHED_DATA, COUNTERPARTY_VASP_NOT_FOUND, COUNTERPARTY_VASP_NOT_REACHABLE, UNCONFIRMED_OWNERSHIP, COUNTERPARTY_VASP_GENERAL_DECLINE, NOT_ENOUGH_COUNTERPARTY_DATA, NOT_APPLICABLE].freeze
6093
+ end
6094
+
6002
6095
  # Structured rejection reason. Empty when none was recorded; a new claim or approval clears it. Read review_note
6003
6096
  # for the explanation.
6004
6097
  module TravelRuleWorkspaceClaimRejectionReason
@@ -11942,6 +12035,7 @@ module Didit
11942
12035
  end
11943
12036
 
11944
12037
  class SignatureResultConfirmation < Didit::Model
12038
+ field :sent_by, "sent_by", :string
11945
12039
  field :channel, "channel", :string
11946
12040
  field :destination, "destination", :string
11947
12041
  field :confirmed_at, "confirmed_at", :datetime
@@ -12015,6 +12109,7 @@ module Didit
12015
12109
  field :reason, "reason", :string
12016
12110
  field :checked_at, "checked_at", :datetime
12017
12111
  field :documents, "documents", [:array, "SignatureResultValidationDocuments"]
12112
+ field :profile, "profile", :string
12018
12113
  end
12019
12114
 
12020
12115
  class SignatureResultValidationDocuments < Didit::Model
@@ -12027,6 +12122,9 @@ module Didit
12027
12122
  field :trusted_list, "trusted_list", "SignatureResultValidationDocumentsTrustedList"
12028
12123
  field :certificate, "certificate", "SignatureResultValidationDocumentsCertificate"
12029
12124
  field :timestamp, "timestamp", "SignatureResultValidationDocumentsTimestamp"
12125
+ field :qualified, "qualified", :boolean
12126
+ field :profile, "profile", :string
12127
+ field :failed_checks, "failed_checks", [:array, :string]
12030
12128
  end
12031
12129
 
12032
12130
  # The certificate the documents were signed with. `null` until signed, and always `null` for a Simple signature.
@@ -12036,17 +12134,28 @@ module Didit
12036
12134
  field :serial, "serial", :string
12037
12135
  field :valid_from, "valid_from", :datetime
12038
12136
  field :valid_until, "valid_until", :datetime
12137
+ field :qualified_statements, "qualified_statements", "SignatureResultValidationDocumentsCertificateQualifiedStatements"
12039
12138
  end
12040
12139
 
12041
- # The RFC 3161 timestamp in the signature, issued by Didit. `null` until signed, and always `null` for a Simple
12042
- # signature.
12140
+ # QES: which ETSI EN 319 412-5 statements the certificate carries.
12141
+ class SignatureResultValidationDocumentsCertificateQualifiedStatements < Didit::Model
12142
+ field :qc_compliance, "qc_compliance", :boolean
12143
+ field :qc_sscd, "qc_sscd", :boolean
12144
+ field :qc_type_esign, "qc_type_esign", :boolean
12145
+ end
12146
+
12147
+ # The RFC 3161 timestamp in the signature: issued by Didit for AES, by the qualified trust service provider for
12148
+ # QES. `null` until signed, and always `null` for a Simple signature.
12043
12149
  class SignatureResultValidationDocumentsTimestamp < Didit::Model
12044
12150
  field :time, "time", :datetime
12045
12151
  field :qualified, "qualified", :boolean
12046
12152
  field :valid, "valid", :boolean
12047
12153
  end
12048
12154
 
12049
- # EU Trusted List check. For AES: `{"status": "not_applicable", "reason": "aes_not_qualified"}`.
12155
+ # EU Trusted List check. AES: `{"status": "not_applicable", "reason": "aes_not_qualified"}`. QES: `{"status":
12156
+ # "granted"}` when the certificate is a qualified certificate for electronic signatures issued under the qualified
12157
+ # trust service provider's Trusted List entry, else `{"status": "not_granted", ...}`. A sandbox session's
12158
+ # qualified level is sealed by Didit: `{"status": "not_applicable", "reason": "sandbox"}`.
12050
12159
  class SignatureResultValidationDocumentsTrustedList < Didit::Model
12051
12160
  field :status, "status", :string
12052
12161
  field :reason, "reason", :string
@@ -12732,6 +12841,16 @@ module Didit
12732
12841
  field :last_error, "last_error", :string
12733
12842
  field :next_attempt_at, "next_attempt_at", :datetime
12734
12843
  field :delivered_at, "delivered_at", :datetime
12844
+ field :updated_at, "updated_at", :datetime
12845
+ field :failure, "failure", "TravelRuleDeliveryFailure"
12846
+ field :route, "route", :string
12847
+ end
12848
+
12849
+ # Why the last attempt failed, or null while the message has not failed. The message is a fixed customer-safe
12850
+ # sentence: it never carries the counterparty's own text or a transport error.
12851
+ class TravelRuleDeliveryFailure < Didit::Model
12852
+ field :code, "code", :string
12853
+ field :message, "message", :string
12735
12854
  end
12736
12855
 
12737
12856
  # One supplier-neutral entry in the delivery history.
@@ -12743,6 +12862,18 @@ module Didit
12743
12862
  field :created_at, "created_at", :datetime
12744
12863
  field :delivered_at, "delivered_at", :datetime
12745
12864
  field :detail_lines, "detail_lines", [:array, :string]
12865
+ field :attempts, "attempts", :integer
12866
+ field :updated_at, "updated_at", :datetime
12867
+ field :next_attempt_at, "next_attempt_at", :datetime
12868
+ field :failure, "failure", "TravelRuleDeliveryLogEntryFailure"
12869
+ field :route, "route", :string
12870
+ end
12871
+
12872
+ # Why the last attempt failed, or null while the message has not failed. The message is a fixed customer-safe
12873
+ # sentence: it never carries the counterparty's own text or a transport error.
12874
+ class TravelRuleDeliveryLogEntryFailure < Didit::Model
12875
+ field :code, "code", :string
12876
+ field :message, "message", :string
12746
12877
  end
12747
12878
 
12748
12879
  class TravelRuleDeliveryLogPage < Didit::Model
@@ -13085,22 +13216,29 @@ module Didit
13085
13216
  field :reason, "reason", :string
13086
13217
  end
13087
13218
 
13088
- # One Travel Rule transfer as the transfers list shows it: VASP names, wallets and memos only, never the
13089
- # originator or beneficiary person data.
13219
+ # One Travel Rule transfer as the transfers list shows it: VASP names, wallets, memos, the transaction's review
13220
+ # decision, your own end user's name (masked exactly as the transaction detail masks it), the counterparty VASP's
13221
+ # jurisdiction, the chain and the fiat amount. It never carries the counterparty's person data.
13090
13222
  class TravelRuleTransferRow < Didit::Model
13091
13223
  field :id, "id", :string
13092
13224
  field :transaction_id, "transaction_id", :string
13093
13225
  field :txn_id, "txn_id", :string
13094
13226
  field :txn_date, "txn_date", :datetime
13227
+ field :review_status, "review_status", :string
13228
+ field :person_name, "person_name", :string
13095
13229
  field :kind, "kind", :string
13096
13230
  field :direction, "direction", :string
13097
13231
  field :status, "status", :string
13098
13232
  field :reason, "reason", :string
13099
13233
  field :rail, "rail", :string
13100
13234
  field :asset, "asset", :string
13235
+ field :chain, "chain", :string
13101
13236
  field :amount, "amount", :string
13237
+ field :fiat_amount, "fiat_amount", :string
13238
+ field :fiat_currency, "fiat_currency", :string
13102
13239
  field :originator_vasp, "originator_vasp", :string
13103
13240
  field :beneficiary_vasp, "beneficiary_vasp", :string
13241
+ field :counterparty_jurisdiction, "counterparty_jurisdiction", :string
13104
13242
  field :originator_wallet, "originator_wallet", :string
13105
13243
  field :beneficiary_wallet, "beneficiary_wallet", :string
13106
13244
  field :originator_memo, "originator_memo", :string
@@ -13138,6 +13276,14 @@ module Didit
13138
13276
  field :vout, "vout", :integer
13139
13277
  end
13140
13278
 
13279
+ class TravelRuleWalletLookup < Didit::Model
13280
+ field :match, "match", :string
13281
+ field :directory_checked, "directory_checked", :boolean
13282
+ field :entry_id, "entry_id", :string
13283
+ field :vasp_name, "vasp_name", :string
13284
+ field :proof_state, "proof_state", :string
13285
+ end
13286
+
13141
13287
  class TravelRuleWalletProofReview < Didit::Model
13142
13288
  field :proof_id, "proof_id", :string
13143
13289
  field :method_, "method", :string
@@ -13159,6 +13305,12 @@ module Didit
13159
13305
  field :created_at, "created_at", :datetime
13160
13306
  end
13161
13307
 
13308
+ class TravelRuleWalletTransfer < Didit::Model
13309
+ field :transfer_id, "transfer_id", :string
13310
+ field :status, "status", :string
13311
+ field :created_at, "created_at", :datetime
13312
+ end
13313
+
13162
13314
  class TravelRuleWidgetSessionResponse < Didit::Model
13163
13315
  field :widget_session_id, "widget_session_id", :string
13164
13316
  field :token, "token", :string
@@ -3,6 +3,16 @@
3
3
 
4
4
  module Didit
5
5
  module Types
6
+ # Only with `wallet_entry_id`. `ensure` and `resend` return the entry's active link when it has one (`200`) and
7
+ # create one otherwise (`201`). `new` revokes the active link and creates another; it needs `request_key`.
8
+ module TravelRuleCreateWidgetSessionParamsRequestAction
9
+ ENSURE = "ensure"
10
+ RESEND = "resend"
11
+ NEW = "new"
12
+
13
+ VALUES = [ENSURE, RESEND, NEW].freeze
14
+ end
15
+
6
16
  # Known values of an open enum: the API may send others.
7
17
  module TravelRuleListVaspsParamsKind
8
18
  DIRECTORY = "directory"
@@ -165,6 +175,13 @@ module Didit
165
175
  field :results, "results", [:array, "WalletAddressEntry"]
166
176
  end
167
177
 
178
+ class TravelRuleWalletAddressesListTransfersResponse < Didit::Model
179
+ field :count, "count", :integer
180
+ field :next, "next", :string
181
+ field :previous, "previous", :string
182
+ field :results, "results", [:array, "TravelRuleWalletTransfer"]
183
+ end
184
+
168
185
  class TravelRuleWalletProofsListResponse < Didit::Model
169
186
  field :count, "count", :integer
170
187
  field :next, "next", :string
data/lib/didit/types.rb CHANGED
@@ -1429,6 +1429,7 @@ module Didit
1429
1429
  autoload :SignatureResultCertificate, "didit/types/components"
1430
1430
  autoload :SignatureResultConfirmation, "didit/types/components"
1431
1431
  autoload :SignatureResultConfirmationChannel, "didit/types/components"
1432
+ autoload :SignatureResultConfirmationSentBy, "didit/types/components"
1432
1433
  autoload :SignatureResultDeclinedAction, "didit/types/components"
1433
1434
  autoload :SignatureResultDocuments, "didit/types/components"
1434
1435
  autoload :SignatureResultDocumentsConversion, "didit/types/components"
@@ -1447,6 +1448,8 @@ module Didit
1447
1448
  autoload :SignatureResultValidation, "didit/types/components"
1448
1449
  autoload :SignatureResultValidationDocuments, "didit/types/components"
1449
1450
  autoload :SignatureResultValidationDocumentsCertificate, "didit/types/components"
1451
+ autoload :SignatureResultValidationDocumentsCertificateQualifiedStatements, "didit/types/components"
1452
+ autoload :SignatureResultValidationDocumentsFailedChecks, "didit/types/components"
1450
1453
  autoload :SignatureResultValidationDocumentsTimestamp, "didit/types/components"
1451
1454
  autoload :SignatureResultValidationDocumentsTrustedList, "didit/types/components"
1452
1455
  autoload :SignatureResultVerdict, "didit/types/components"
@@ -1598,6 +1601,7 @@ module Didit
1598
1601
  autoload :TravelRuleCounterpartyScreeningResultOutcome, "didit/types/components"
1599
1602
  autoload :TravelRuleCounterpartyScreeningStatus, "didit/types/components"
1600
1603
  autoload :TravelRuleCounterpartyScreeningStatusValues, "didit/types/components"
1604
+ autoload :TravelRuleCreateWidgetSessionParamsRequestAction, "didit/types/travel_rule"
1601
1605
  autoload :TravelRuleDataMatch, "didit/types/components"
1602
1606
  autoload :TravelRuleDataMatchFieldsValue, "didit/types/components"
1603
1607
  autoload :TravelRuleDataMatchFieldsValueResult, "didit/types/components"
@@ -1609,8 +1613,12 @@ module Didit
1609
1613
  autoload :TravelRuleDataUnmasked, "didit/types/components"
1610
1614
  autoload :TravelRuleDataUnmaskedReason, "didit/types/components"
1611
1615
  autoload :TravelRuleDelivery, "didit/types/components"
1616
+ autoload :TravelRuleDeliveryFailure, "didit/types/components"
1617
+ autoload :TravelRuleDeliveryFailureCode, "didit/types/components"
1612
1618
  autoload :TravelRuleDeliveryKind, "didit/types/components"
1613
1619
  autoload :TravelRuleDeliveryLogEntry, "didit/types/components"
1620
+ autoload :TravelRuleDeliveryLogEntryFailure, "didit/types/components"
1621
+ autoload :TravelRuleDeliveryLogEntryFailureCode, "didit/types/components"
1614
1622
  autoload :TravelRuleDeliveryLogEntryKind, "didit/types/components"
1615
1623
  autoload :TravelRuleDeliveryLogEntryRail, "didit/types/components"
1616
1624
  autoload :TravelRuleDeliveryLogEntryStatus, "didit/types/components"
@@ -1696,6 +1704,7 @@ module Didit
1696
1704
  autoload :TravelRuleTransferRowKind, "didit/types/components"
1697
1705
  autoload :TravelRuleTransferRowOriginatorWalletType, "didit/types/components"
1698
1706
  autoload :TravelRuleTransferRowRail, "didit/types/components"
1707
+ autoload :TravelRuleTransferRowReviewStatus, "didit/types/components"
1699
1708
  autoload :TravelRuleTransferRowStatus, "didit/types/components"
1700
1709
  autoload :TravelRuleTransfersListResponse, "didit/types/travel_rule"
1701
1710
  autoload :TravelRuleUnmatchedDepositsListResponse, "didit/types/travel_rule"
@@ -1710,6 +1719,10 @@ module Didit
1710
1719
  autoload :TravelRuleUserLinkResponse, "didit/types/components"
1711
1720
  autoload :TravelRuleUtxoEntry, "didit/types/components"
1712
1721
  autoload :TravelRuleWalletAddressesListResponse, "didit/types/travel_rule"
1722
+ autoload :TravelRuleWalletAddressesListTransfersResponse, "didit/types/travel_rule"
1723
+ autoload :TravelRuleWalletLookup, "didit/types/components"
1724
+ autoload :TravelRuleWalletLookupMatch, "didit/types/components"
1725
+ autoload :TravelRuleWalletLookupProofState, "didit/types/components"
1713
1726
  autoload :TravelRuleWalletProofFailureReason, "didit/types/components"
1714
1727
  autoload :TravelRuleWalletProofReview, "didit/types/components"
1715
1728
  autoload :TravelRuleWalletProofReviewMethod, "didit/types/components"
@@ -1717,6 +1730,8 @@ module Didit
1717
1730
  autoload :TravelRuleWalletProofsDecideParamsDecision, "didit/types/travel_rule"
1718
1731
  autoload :TravelRuleWalletProofsListParamsStatus, "didit/types/travel_rule"
1719
1732
  autoload :TravelRuleWalletProofsListResponse, "didit/types/travel_rule"
1733
+ autoload :TravelRuleWalletTransfer, "didit/types/components"
1734
+ autoload :TravelRuleWalletTransferStatus, "didit/types/components"
1720
1735
  autoload :TravelRuleWidgetSessionResponse, "didit/types/components"
1721
1736
  autoload :TravelRuleWorkspace, "didit/types/components"
1722
1737
  autoload :TravelRuleWorkspaceClaim, "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.15.0" # x-release-please-version
4
+ VERSION = "2.16.0" # x-release-please-version
5
5
  end
@@ -12,7 +12,7 @@ module Didit
12
12
  def workspace: () -> Didit::Resources::TravelRule::Workspace
13
13
  def clear_vasp_decision: (String vasp_id, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyDecisionResponse
14
14
  def create_vasp: (name: String, email: String, ?lei: String, ?jurisdiction: String, ?invite: bool, ?request_options: Didit::request_options?) -> Didit::Types::VaspDirectoryEntry
15
- def create_widget_session: (?wallet_address: String, ?chain: String, ?holder_name: String, ?vendor_data: String, ?transaction_id: String?, ?satoshi_deposit_address: String, ?callback_url: String, ?expires_in_minutes: Integer, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWidgetSessionResponse
15
+ def create_widget_session: (?wallet_address: String, ?chain: String, ?holder_name: String, ?vendor_data: String, ?transaction_id: String?, ?satoshi_deposit_address: String, ?callback_url: String, ?expires_in_minutes: Integer, ?wallet_entry_id: String, ?request_action: String, ?request_key: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWidgetSessionResponse
16
16
  def list_vasp_questionnaires: (String vasp_id, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyQuestionnaireList
17
17
  def list_vasps: (?search: String, ?network: String, ?jurisdiction: String, ?reachable: bool, ?kind: String, ?risk: String, ?responsiveness: String, ?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::VaspDirectoryEntry]
18
18
  def register_inbound: (chain: String, txid: String, wallet_address: String, amount: String, currency: String, ?originator_data: Hash[String | Symbol, untyped], ?beneficiary_data: Hash[String | Symbol, untyped], ?originating_vasp: Didit::Types::travel_rule_register_inbound_params_originating_vasp, ?memo: String, ?utxo: Didit::Types::travel_rule_utxo, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleInboundResponse
@@ -49,6 +49,8 @@ module Didit
49
49
  def create: (address: String, ?chain: String, ?holder_vendor_data: String, ?holder_name: String, ?entity_type: String, ?self_declared: bool, ?travel_address: String, ?memo: String, ?request_options: Didit::request_options?) -> Didit::Types::WalletAddressEntry
50
50
  def delete: (String entry_uuid, ?request_options: Didit::request_options?) -> nil
51
51
  def list: (?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::WalletAddressEntry]
52
+ def list_transfers: (String entry_uuid, ?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::TravelRuleWalletTransfer]
53
+ def lookup: (address: String, chain: String, ?memo: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWalletLookup
52
54
  def update: (String entry_uuid, ?holder_name: String, ?holder_vendor_data: String, ?entity_type: String, ?travel_address: String, ?request_options: Didit::request_options?) -> Didit::Types::WalletAddressEntryUpdate
53
55
  end
54
56
  class WalletProofs < Didit::Resource
@@ -3717,6 +3717,13 @@ module Didit
3717
3717
  VALUES: Array[String]
3718
3718
  end
3719
3719
 
3720
+ module SignatureResultConfirmationSentBy
3721
+ DIDIT: String
3722
+ QUALIFIED_PROVIDER: String
3723
+
3724
+ VALUES: Array[String]
3725
+ end
3726
+
3720
3727
  module SignatureResultDeclinedAction
3721
3728
  DECLINE: String
3722
3729
  REVIEW: String
@@ -3793,6 +3800,19 @@ module Didit
3793
3800
  VALUES: Array[String]
3794
3801
  end
3795
3802
 
3803
+ module SignatureResultValidationDocumentsFailedChecks
3804
+ INTEGRITY: String
3805
+ TRUSTED: String
3806
+ NOT_REVOKED: String
3807
+ COVERAGE: String
3808
+ TIMESTAMP: String
3809
+ QUALIFIED_CERTIFICATE: String
3810
+ SIGNER_NAMED: String
3811
+ ORIGINAL_KEPT: String
3812
+
3813
+ VALUES: Array[String]
3814
+ end
3815
+
3796
3816
  module SignatureResultVerdict
3797
3817
  NOT_FINISHED: String
3798
3818
  APPROVED: String
@@ -4474,6 +4494,13 @@ module Didit
4474
4494
  VALUES: Array[String]
4475
4495
  end
4476
4496
 
4497
+ module TravelRuleDeliveryFailureCode
4498
+ EMAIL_UNDELIVERABLE: String
4499
+ DELIVERY_FAILED: String
4500
+
4501
+ VALUES: Array[String]
4502
+ end
4503
+
4477
4504
  module TravelRuleDeliveryKind
4478
4505
  SEND: String
4479
4506
  ANSWER: String
@@ -4484,6 +4511,13 @@ module Didit
4484
4511
  VALUES: Array[String]
4485
4512
  end
4486
4513
 
4514
+ module TravelRuleDeliveryLogEntryFailureCode
4515
+ EMAIL_UNDELIVERABLE: String
4516
+ DELIVERY_FAILED: String
4517
+
4518
+ VALUES: Array[String]
4519
+ end
4520
+
4487
4521
  module TravelRuleDeliveryLogEntryKind
4488
4522
  SEND: String
4489
4523
  ANSWER: String
@@ -4521,6 +4555,7 @@ module Didit
4521
4555
  VERIFYVASP: String
4522
4556
  SYGNA: String
4523
4557
  EMAIL: String
4558
+ TEST_VASP: String
4524
4559
  VALUE: String
4525
4560
 
4526
4561
  VALUES: Array[String]
@@ -4963,6 +4998,15 @@ module Didit
4963
4998
  VALUES: Array[String]
4964
4999
  end
4965
5000
 
5001
+ module TravelRuleTransferRowReviewStatus
5002
+ APPROVED: String
5003
+ IN_REVIEW: String
5004
+ DECLINED: String
5005
+ AWAITING_USER: String
5006
+
5007
+ VALUES: Array[String]
5008
+ end
5009
+
4966
5010
  module TravelRuleTransferRowStatus
4967
5011
  AWAITING_COUNTERPARTY: String
4968
5012
  ON_HOLD: String
@@ -4981,6 +5025,21 @@ module Didit
4981
5025
  VALUES: Array[String]
4982
5026
  end
4983
5027
 
5028
+ module TravelRuleWalletLookupMatch
5029
+ BOOK: String
5030
+ DIDIT: String
5031
+ AMBIGUOUS: String
5032
+ NONE: String
5033
+
5034
+ VALUES: Array[String]
5035
+ end
5036
+
5037
+ module TravelRuleWalletLookupProofState
5038
+ VERIFIED: String
5039
+
5040
+ VALUES: Array[String]
5041
+ end
5042
+
4984
5043
  module TravelRuleWalletProofFailureReason
4985
5044
  VALUE: String
4986
5045
  SIGNATURE_INVALID: String
@@ -5016,6 +5075,24 @@ module Didit
5016
5075
  VALUES: Array[String]
5017
5076
  end
5018
5077
 
5078
+ module TravelRuleWalletTransferStatus
5079
+ AWAITING_COUNTERPARTY: String
5080
+ ON_HOLD: String
5081
+ COMPLETED: String
5082
+ FINISHED: String
5083
+ CANCELLED: String
5084
+ EXPIRED: String
5085
+ COUNTERPARTY_MISMATCHED_DATA: String
5086
+ COUNTERPARTY_VASP_NOT_FOUND: String
5087
+ COUNTERPARTY_VASP_NOT_REACHABLE: String
5088
+ UNCONFIRMED_OWNERSHIP: String
5089
+ COUNTERPARTY_VASP_GENERAL_DECLINE: String
5090
+ NOT_ENOUGH_COUNTERPARTY_DATA: String
5091
+ NOT_APPLICABLE: String
5092
+
5093
+ VALUES: Array[String]
5094
+ end
5095
+
5019
5096
  module TravelRuleWorkspaceClaimRejectionReason
5020
5097
  VALUE: String
5021
5098
  DOMAIN_MISMATCH: String
@@ -10527,6 +10604,7 @@ module Didit
10527
10604
  end
10528
10605
 
10529
10606
  class SignatureResultConfirmation < Didit::Model
10607
+ def sent_by: () -> String?
10530
10608
  def channel: () -> String?
10531
10609
  def destination: () -> String?
10532
10610
  def confirmed_at: () -> Time?
@@ -10593,6 +10671,7 @@ module Didit
10593
10671
  def reason: () -> String?
10594
10672
  def checked_at: () -> Time?
10595
10673
  def documents: () -> Array[Didit::Types::SignatureResultValidationDocuments]?
10674
+ def profile: () -> String?
10596
10675
  end
10597
10676
 
10598
10677
  class SignatureResultValidationDocuments < Didit::Model
@@ -10605,6 +10684,9 @@ module Didit
10605
10684
  def trusted_list: () -> Didit::Types::SignatureResultValidationDocumentsTrustedList?
10606
10685
  def certificate: () -> Didit::Types::SignatureResultValidationDocumentsCertificate?
10607
10686
  def timestamp: () -> Didit::Types::SignatureResultValidationDocumentsTimestamp?
10687
+ def qualified: () -> bool?
10688
+ def profile: () -> String?
10689
+ def failed_checks: () -> Array[String]?
10608
10690
  end
10609
10691
 
10610
10692
  class SignatureResultValidationDocumentsCertificate < Didit::Model
@@ -10613,6 +10695,13 @@ module Didit
10613
10695
  def serial: () -> String?
10614
10696
  def valid_from: () -> Time?
10615
10697
  def valid_until: () -> Time?
10698
+ def qualified_statements: () -> Didit::Types::SignatureResultValidationDocumentsCertificateQualifiedStatements?
10699
+ end
10700
+
10701
+ class SignatureResultValidationDocumentsCertificateQualifiedStatements < Didit::Model
10702
+ def qc_compliance: () -> bool?
10703
+ def qc_sscd: () -> bool?
10704
+ def qc_type_esign: () -> bool?
10616
10705
  end
10617
10706
 
10618
10707
  class SignatureResultValidationDocumentsTimestamp < Didit::Model
@@ -11236,6 +11325,14 @@ module Didit
11236
11325
  def last_error: () -> String
11237
11326
  def next_attempt_at: () -> Time?
11238
11327
  def delivered_at: () -> Time?
11328
+ def updated_at: () -> Time
11329
+ def failure: () -> Didit::Types::TravelRuleDeliveryFailure?
11330
+ def route: () -> String?
11331
+ end
11332
+
11333
+ class TravelRuleDeliveryFailure < Didit::Model
11334
+ def code: () -> String
11335
+ def message: () -> String
11239
11336
  end
11240
11337
 
11241
11338
  class TravelRuleDeliveryLogEntry < Didit::Model
@@ -11246,6 +11343,16 @@ module Didit
11246
11343
  def created_at: () -> Time
11247
11344
  def delivered_at: () -> Time?
11248
11345
  def detail_lines: () -> Array[String]
11346
+ def attempts: () -> Integer
11347
+ def updated_at: () -> Time
11348
+ def next_attempt_at: () -> Time?
11349
+ def failure: () -> Didit::Types::TravelRuleDeliveryLogEntryFailure?
11350
+ def route: () -> String?
11351
+ end
11352
+
11353
+ class TravelRuleDeliveryLogEntryFailure < Didit::Model
11354
+ def code: () -> String
11355
+ def message: () -> String
11249
11356
  end
11250
11357
 
11251
11358
  class TravelRuleDeliveryLogPage < Didit::Model
@@ -11558,15 +11665,21 @@ module Didit
11558
11665
  def transaction_id: () -> String?
11559
11666
  def txn_id: () -> String?
11560
11667
  def txn_date: () -> Time?
11668
+ def review_status: () -> String?
11669
+ def person_name: () -> String?
11561
11670
  def kind: () -> String?
11562
11671
  def direction: () -> String?
11563
11672
  def status: () -> String?
11564
11673
  def reason: () -> String?
11565
11674
  def rail: () -> String?
11566
11675
  def asset: () -> String?
11676
+ def chain: () -> String?
11567
11677
  def amount: () -> String?
11678
+ def fiat_amount: () -> String?
11679
+ def fiat_currency: () -> String?
11568
11680
  def originator_vasp: () -> String?
11569
11681
  def beneficiary_vasp: () -> String?
11682
+ def counterparty_jurisdiction: () -> String?
11570
11683
  def originator_wallet: () -> String?
11571
11684
  def beneficiary_wallet: () -> String?
11572
11685
  def originator_memo: () -> String?
@@ -11603,6 +11716,14 @@ module Didit
11603
11716
  def vout: () -> Integer?
11604
11717
  end
11605
11718
 
11719
+ class TravelRuleWalletLookup < Didit::Model
11720
+ def match: () -> String
11721
+ def directory_checked: () -> bool
11722
+ def entry_id: () -> String?
11723
+ def vasp_name: () -> String?
11724
+ def proof_state: () -> String?
11725
+ end
11726
+
11606
11727
  class TravelRuleWalletProofReview < Didit::Model
11607
11728
  def proof_id: () -> String?
11608
11729
  def method_: () -> String?
@@ -11624,6 +11745,12 @@ module Didit
11624
11745
  def created_at: () -> Time?
11625
11746
  end
11626
11747
 
11748
+ class TravelRuleWalletTransfer < Didit::Model
11749
+ def transfer_id: () -> String
11750
+ def status: () -> String
11751
+ def created_at: () -> Time
11752
+ end
11753
+
11627
11754
  class TravelRuleWidgetSessionResponse < Didit::Model
11628
11755
  def widget_session_id: () -> String?
11629
11756
  def token: () -> String?
@@ -2,6 +2,14 @@
2
2
 
3
3
  module Didit
4
4
  module Types
5
+ module TravelRuleCreateWidgetSessionParamsRequestAction
6
+ ENSURE: String
7
+ RESEND: String
8
+ NEW: String
9
+
10
+ VALUES: Array[String]
11
+ end
12
+
5
13
  module TravelRuleListVaspsParamsKind
6
14
  DIRECTORY: String
7
15
  DIDIT: String
@@ -151,6 +159,13 @@ module Didit
151
159
  def results: () -> Array[Didit::Types::WalletAddressEntry]?
152
160
  end
153
161
 
162
+ class TravelRuleWalletAddressesListTransfersResponse < Didit::Model
163
+ def count: () -> Integer?
164
+ def `next`: () -> String?
165
+ def previous: () -> String?
166
+ def results: () -> Array[Didit::Types::TravelRuleWalletTransfer]?
167
+ end
168
+
154
169
  class TravelRuleWalletProofsListResponse < Didit::Model
155
170
  def count: () -> Integer?
156
171
  def `next`: () -> String?
@@ -162,7 +177,7 @@ module Didit
162
177
 
163
178
  type travel_rule_create_vasp_params = { name: String, email: String, ?lei: String, ?jurisdiction: String, ?invite: bool }
164
179
 
165
- type travel_rule_create_widget_session_params = { ?wallet_address: String, ?chain: String, ?holder_name: String, ?vendor_data: String, ?transaction_id: String?, ?satoshi_deposit_address: String, ?callback_url: String, ?expires_in_minutes: Integer }
180
+ type travel_rule_create_widget_session_params = { ?wallet_address: String, ?chain: String, ?holder_name: String, ?vendor_data: String, ?transaction_id: String?, ?satoshi_deposit_address: String, ?callback_url: String, ?expires_in_minutes: Integer, ?wallet_entry_id: String, ?request_action: String, ?request_key: String }
166
181
 
167
182
  type travel_rule_networks_update_questionnaire_params = { ?legal_name: String, ?registration_number: String, ?incorporation_country: String, ?registered_address: String, ?website: String, ?lei: String, ?licences: Array[Didit::Types::travel_rule_networks_update_questionnaire_params_licences], ?operating_jurisdictions: Array[String], ?compliance_officer_name: String, ?compliance_officer_email: String, ?aml_ctf_policy_attested: bool, ?sanctions_screening_attested: bool, ?data_protection_attested: bool, ?data_protection_contact_email: String, ?expected_monthly_transfers: Integer, ?expected_monthly_volume_usd: String, ?assets: Array[String] }
168
183
 
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.15.0
4
+ version: 2.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didit