didit-sdk 2.17.0 → 2.19.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.
@@ -287,6 +287,39 @@ module Didit
287
287
  VALUES = [SESSIONS_VOLUME, WORKFLOW_FUNNEL, AVERAGE_VERIFICATION_TIME, COUNTRY_DISTRIBUTION, WARNING_INSIGHTS, CONVERSION_RATE, CONVERSION_BY_COUNTRY, RESUBMISSION_INSIGHTS, ORIGINAL_STATUS_DISTRIBUTION, DATABASE_VALIDATION_COVERAGE, DATABASE_VALIDATION_LATENCY, DEMOGRAPHICS, DEVICE_DETAILS, HORIZONTAL_BAR, KYB_REGISTRY_COVERAGE, KYB_REGISTRY_DATA_COMPLETENESS, METRIC, TIME_SERIES, BREAKDOWN, STATUS_TIME_SERIES, LEADERBOARD, HISTOGRAM].freeze
288
288
  end
289
289
 
290
+ # Export or compliance-report kind.
291
+ module AsyncReportReportType
292
+ SESSION_EXPORT = "SESSION_EXPORT"
293
+ TRANSACTION_EXPORT = "TRANSACTION_EXPORT"
294
+ BUSINESS_EXPORT = "BUSINESS_EXPORT"
295
+ VENDOR_USER_EXPORT = "VENDOR_USER_EXPORT"
296
+ VENDOR_BUSINESS_EXPORT = "VENDOR_BUSINESS_EXPORT"
297
+ CASE_EXPORT = "CASE_EXPORT"
298
+ CASE_SLA_EXPORT = "CASE_SLA_EXPORT"
299
+ LIST_ENTRY_EXPORT = "LIST_ENTRY_EXPORT"
300
+ EVENT_EXPORT = "EVENT_EXPORT"
301
+ COMPLIANCE_KYC_KYB = "COMPLIANCE_KYC_KYB"
302
+ COMPLIANCE_AML_LOG = "COMPLIANCE_AML_LOG"
303
+ COMPLIANCE_TRAVEL_RULE = "COMPLIANCE_TRAVEL_RULE"
304
+ COMPLIANCE_SANCTIONS_PEP = "COMPLIANCE_SANCTIONS_PEP"
305
+ COMPLIANCE_RISK_SUMMARY = "COMPLIANCE_RISK_SUMMARY"
306
+ COMPLIANCE_SAR_STR_DRAFT = "COMPLIANCE_SAR_STR_DRAFT"
307
+ COMPLIANCE_CTR = "COMPLIANCE_CTR"
308
+ COMPLIANCE_CASE_SUMMARY = "COMPLIANCE_CASE_SUMMARY"
309
+
310
+ VALUES = [SESSION_EXPORT, TRANSACTION_EXPORT, BUSINESS_EXPORT, VENDOR_USER_EXPORT, VENDOR_BUSINESS_EXPORT, CASE_EXPORT, CASE_SLA_EXPORT, LIST_ENTRY_EXPORT, EVENT_EXPORT, COMPLIANCE_KYC_KYB, COMPLIANCE_AML_LOG, COMPLIANCE_TRAVEL_RULE, COMPLIANCE_SANCTIONS_PEP, COMPLIANCE_RISK_SUMMARY, COMPLIANCE_SAR_STR_DRAFT, COMPLIANCE_CTR, COMPLIANCE_CASE_SUMMARY].freeze
311
+ end
312
+
313
+ # Generation state. READY may include individual failures; inspect failed_count.
314
+ module AsyncReportStatus
315
+ PENDING = "PENDING"
316
+ PROCESSING = "PROCESSING"
317
+ READY = "READY"
318
+ FAILED = "FAILED"
319
+
320
+ VALUES = [PENDING, PROCESSING, READY, FAILED].freeze
321
+ end
322
+
290
323
  # `match`: the bank holds the account under the name you sent. `close_match`: under a close name, for example a
291
324
  # missing middle name or a typo. `no_match`: under another name, or there is no such account. `cannot_verify`: the
292
325
  # bank answered without comparing the name, for example for a blocked or closed account.
@@ -5512,6 +5545,25 @@ module Didit
5512
5545
  VALUES = [INTERNAL_ADDRESS_BOOK, WALLET_ATTRIBUTION, NETWORK_LOOKUP, CUSTOMER_HINT, END_USER].freeze
5513
5546
  end
5514
5547
 
5548
+ # Known values of an open enum: the API may send others.
5549
+ module TravelRuleDocumentContentType
5550
+ APPLICATION_PDF = "application/pdf"
5551
+
5552
+ VALUES = [APPLICATION_PDF].freeze
5553
+ end
5554
+
5555
+ # `questionnaire`: the due-diligence questionnaire answers. `incorporation`: certificate of incorporation.
5556
+ # `licence`: licence or registration. `aml_policy`: AML and CFT policy. `ownership`: ownership structure.
5557
+ module TravelRuleDocumentKind
5558
+ QUESTIONNAIRE = "questionnaire"
5559
+ INCORPORATION = "incorporation"
5560
+ LICENCE = "licence"
5561
+ AML_POLICY = "aml_policy"
5562
+ OWNERSHIP = "ownership"
5563
+
5564
+ VALUES = [QUESTIONNAIRE, INCORPORATION, LICENCE, AML_POLICY, OWNERSHIP].freeze
5565
+ end
5566
+
5515
5567
  # The wallet the exchange was routed by. Default `STRICT`.
5516
5568
  module TravelRuleMatchingRulesCompanyAccount
5517
5569
  NONE = "NONE"
@@ -5970,6 +6022,16 @@ module Didit
5970
6022
  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
5971
6023
  end
5972
6024
 
6025
+ # COMPLETED when the request was completed; otherwise EXPIRED once expires_at has passed, or PENDING. This is the
6026
+ # request status, not the proof verdict.
6027
+ module TravelRuleTransferProofRequestStatus
6028
+ PENDING = "PENDING"
6029
+ COMPLETED = "COMPLETED"
6030
+ EXPIRED = "EXPIRED"
6031
+
6032
+ VALUES = [PENDING, COMPLETED, EXPIRED].freeze
6033
+ end
6034
+
5973
6035
  # Known values of an open enum: the API may send others.
5974
6036
  module TravelRuleTransferRowBeneficiaryWalletType
5975
6037
  VASP = "vasp"
@@ -6070,6 +6132,40 @@ module Didit
6070
6132
  VALUES = [VERIFIED].freeze
6071
6133
  end
6072
6134
 
6135
+ # Proof method, or null when no proof exists.
6136
+ module TravelRuleWalletOwnershipProofMethod
6137
+ MESSAGE_SIGNING = "MESSAGE_SIGNING"
6138
+ SATOSHI_TEST = "SATOSHI_TEST"
6139
+ SCREENSHOT = "SCREENSHOT"
6140
+ SELF_DECLARATION = "SELF_DECLARATION"
6141
+
6142
+ VALUES = [MESSAGE_SIGNING, SATOSHI_TEST, SCREENSHOT, SELF_DECLARATION].freeze
6143
+ end
6144
+
6145
+ # NOT_LINKED when holder_vendor_data is empty; otherwise OWNERSHIP_CHANGED after reassignment without a current
6146
+ # proof; VERIFIED for a current proof on a verified wallet; otherwise the latest REJECTED or EXPIRED status, or
6147
+ # AWAITING_PROOF.
6148
+ module TravelRuleWalletOwnershipProofReuseStatus
6149
+ NOT_LINKED = "NOT_LINKED"
6150
+ OWNERSHIP_CHANGED = "OWNERSHIP_CHANGED"
6151
+ VERIFIED = "VERIFIED"
6152
+ REJECTED = "REJECTED"
6153
+ EXPIRED = "EXPIRED"
6154
+ AWAITING_PROOF = "AWAITING_PROOF"
6155
+
6156
+ VALUES = [NOT_LINKED, OWNERSHIP_CHANGED, VERIFIED, REJECTED, EXPIRED, AWAITING_PROOF].freeze
6157
+ end
6158
+
6159
+ # Proof status, or null when no proof exists.
6160
+ module TravelRuleWalletOwnershipProofStatus
6161
+ PENDING = "PENDING"
6162
+ VERIFIED = "VERIFIED"
6163
+ REJECTED = "REJECTED"
6164
+ EXPIRED = "EXPIRED"
6165
+
6166
+ VALUES = [PENDING, VERIFIED, REJECTED, EXPIRED].freeze
6167
+ end
6168
+
6073
6169
  # Why a wallet-ownership proof, or its last attempt, fell short of VERIFIED. Empty when nothing failed. A PENDING
6074
6170
  # proof can carry one: the last attempt failed and the end user can try again. DEPOSIT_MISMATCH, DEPOSIT_STALE,
6075
6171
  # TXID_REUSED and REVIEW_REJECTED close the proof as REJECTED. SIGNATURE_INVALID: the signature does not match the
@@ -6081,11 +6177,13 @@ module Didit
6081
6177
  # this chain. WINDOW_EXPIRED: the test window closed. OWNERSHIP_CHANGED: the wallet's holder changed, or the
6082
6178
  # wallet was deleted from your address book, after the widget session was minted. METHOD_SWITCHED: the end user
6083
6179
  # picked another method before finishing this one. REVIEW_REJECTED: your reviewer rejected the screenshot.
6084
- # ABANDONED: the widget session lapsed before the end user finished.
6180
+ # ABANDONED: the widget session lapsed before the end user finished. SIGNATURE_LOOKUP_FAILED: the chain could not
6181
+ # be checked for a smart-contract wallet signature; retry verification.
6085
6182
  module TravelRuleWalletProofFailureReason
6086
6183
  VALUE = ""
6087
6184
  SIGNATURE_INVALID = "SIGNATURE_INVALID"
6088
6185
  SIGNATURE_UNSUPPORTED_SCHEME = "SIGNATURE_UNSUPPORTED_SCHEME"
6186
+ SIGNATURE_LOOKUP_FAILED = "SIGNATURE_LOOKUP_FAILED"
6089
6187
  DEPOSIT_NOT_FOUND = "DEPOSIT_NOT_FOUND"
6090
6188
  DEPOSIT_UNCONFIRMED = "DEPOSIT_UNCONFIRMED"
6091
6189
  DEPOSIT_LOOKUP_FAILED = "DEPOSIT_LOOKUP_FAILED"
@@ -6099,7 +6197,17 @@ module Didit
6099
6197
  REVIEW_REJECTED = "REVIEW_REJECTED"
6100
6198
  ABANDONED = "ABANDONED"
6101
6199
 
6102
- VALUES = [VALUE, SIGNATURE_INVALID, SIGNATURE_UNSUPPORTED_SCHEME, DEPOSIT_NOT_FOUND, DEPOSIT_UNCONFIRMED, DEPOSIT_LOOKUP_FAILED, DEPOSIT_MISMATCH, DEPOSIT_STALE, TXID_REUSED, CHAIN_UNSUPPORTED, WINDOW_EXPIRED, OWNERSHIP_CHANGED, METHOD_SWITCHED, REVIEW_REJECTED, ABANDONED].freeze
6200
+ VALUES = [VALUE, SIGNATURE_INVALID, SIGNATURE_UNSUPPORTED_SCHEME, SIGNATURE_LOOKUP_FAILED, DEPOSIT_NOT_FOUND, DEPOSIT_UNCONFIRMED, DEPOSIT_LOOKUP_FAILED, DEPOSIT_MISMATCH, DEPOSIT_STALE, TXID_REUSED, CHAIN_UNSUPPORTED, WINDOW_EXPIRED, OWNERSHIP_CHANGED, METHOD_SWITCHED, REVIEW_REJECTED, ABANDONED].freeze
6201
+ end
6202
+
6203
+ # Known values of an open enum: the API may send others.
6204
+ module TravelRuleWalletProofMethod
6205
+ MESSAGE_SIGNING = "MESSAGE_SIGNING"
6206
+ SATOSHI_TEST = "SATOSHI_TEST"
6207
+ SCREENSHOT = "SCREENSHOT"
6208
+ SELF_DECLARATION = "SELF_DECLARATION"
6209
+
6210
+ VALUES = [MESSAGE_SIGNING, SATOSHI_TEST, SCREENSHOT, SELF_DECLARATION].freeze
6103
6211
  end
6104
6212
 
6105
6213
  # Known values of an open enum: the API may send others.
@@ -6119,6 +6227,36 @@ module Didit
6119
6227
  VALUES = [PENDING, VERIFIED, REJECTED, EXPIRED].freeze
6120
6228
  end
6121
6229
 
6230
+ # Known values of an open enum: the API may send others.
6231
+ module TravelRuleWalletProofStatus
6232
+ PENDING = "PENDING"
6233
+ VERIFIED = "VERIFIED"
6234
+ REJECTED = "REJECTED"
6235
+ EXPIRED = "EXPIRED"
6236
+
6237
+ VALUES = [PENDING, VERIFIED, REJECTED, EXPIRED].freeze
6238
+ end
6239
+
6240
+ # Proof method, or null when no proof exists.
6241
+ module TravelRuleWalletProofSummaryMethod
6242
+ MESSAGE_SIGNING = "MESSAGE_SIGNING"
6243
+ SATOSHI_TEST = "SATOSHI_TEST"
6244
+ SCREENSHOT = "SCREENSHOT"
6245
+ SELF_DECLARATION = "SELF_DECLARATION"
6246
+
6247
+ VALUES = [MESSAGE_SIGNING, SATOSHI_TEST, SCREENSHOT, SELF_DECLARATION].freeze
6248
+ end
6249
+
6250
+ # Proof status, or null when no proof exists.
6251
+ module TravelRuleWalletProofSummaryStatus
6252
+ PENDING = "PENDING"
6253
+ VERIFIED = "VERIFIED"
6254
+ REJECTED = "REJECTED"
6255
+ EXPIRED = "EXPIRED"
6256
+
6257
+ VALUES = [PENDING, VERIFIED, REJECTED, EXPIRED].freeze
6258
+ end
6259
+
6122
6260
  # Known values of an open enum: the API may send others.
6123
6261
  module TravelRuleWalletTransferStatus
6124
6262
  AWAITING_COUNTERPARTY = "AWAITING_COUNTERPARTY"
@@ -6422,6 +6560,24 @@ module Didit
6422
6560
  VALUES = [DIDIT_NETWORK, DIRECTORY, ADDED_BY_YOU].freeze
6423
6561
  end
6424
6562
 
6563
+ # Wallet owner type.
6564
+ module WalletAddressEntryOwnerType
6565
+ CUSTOMER = "customer"
6566
+ INTERNAL = "internal"
6567
+ VASP = "vasp"
6568
+
6569
+ VALUES = [CUSTOMER, INTERNAL, VASP].freeze
6570
+ end
6571
+
6572
+ # Wallet owner type.
6573
+ module WalletAddressEntryUpdateResponseOwnerType
6574
+ CUSTOMER = "customer"
6575
+ INTERNAL = "internal"
6576
+ VASP = "vasp"
6577
+
6578
+ VALUES = [CUSTOMER, INTERNAL, VASP].freeze
6579
+ end
6580
+
6425
6581
  # `created`: added to the book. `existing`: the wallet is already in the book and was left untouched. `duplicate`:
6426
6582
  # repeats an earlier row of this import. `failed`: see `errors`.
6427
6583
  module WalletAddressImportReportRowsStatus
@@ -6599,6 +6755,13 @@ module Didit
6599
6755
  VALUES = [V1, V2, V3].freeze
6600
6756
  end
6601
6757
 
6758
+ # Activity type.
6759
+ module WebhookDestinationActivityType
6760
+ FAILURE_ALERT = "failure_alert"
6761
+
6762
+ VALUES = [FAILURE_ALERT].freeze
6763
+ end
6764
+
6602
6765
  # Supported webhook event name. Use these exact strings in `subscribed_events`; unsupported values are rejected.
6603
6766
  module WebhookEvent
6604
6767
  STATUS_UPDATED = "status.updated"
@@ -7359,6 +7522,53 @@ module Didit
7359
7522
  field :reached, "reached", :integer
7360
7523
  end
7361
7524
 
7525
+ class AsyncReport < Didit::Model
7526
+ field :uuid, "uuid", :string
7527
+ field :report_type, "report_type", :string
7528
+ field :report_type_display, "report_type_display", :string
7529
+ field :status, "status", :string
7530
+ field :status_display, "status_display", :string
7531
+ field :parameters, "parameters", :any
7532
+ field :requested_by_user_id, "requested_by_user_id", :string
7533
+ field :requested_by_email, "requested_by_email", :string
7534
+ field :requested_by_name, "requested_by_name", :string
7535
+ field :row_count, "row_count", :integer
7536
+ field :failed_item_ids, "failed_item_ids", [:array, :string]
7537
+ field :failed_count, "failed_count", :integer
7538
+ field :file_size, "file_size", :integer
7539
+ field :files, "files", [:array, "AsyncReportFile"]
7540
+ field :scheduled_report, "scheduled_report", :string
7541
+ field :error_message, "error_message", :string
7542
+ field :deletion_pending, "deletion_pending", :boolean
7543
+ field :eta_seconds, "eta_seconds", :integer
7544
+ field :started_at, "started_at", :datetime
7545
+ field :completed_at, "completed_at", :datetime
7546
+ field :expires_at, "expires_at", :datetime
7547
+ field :created_at, "created_at", :datetime
7548
+ field :updated_at, "updated_at", :datetime
7549
+ end
7550
+
7551
+ class AsyncReportFile < Didit::Model
7552
+ field :name, "name", :string
7553
+ field :format, "format", :string
7554
+ field :rows, "rows", :integer
7555
+ field :bytes, "bytes", :integer
7556
+ end
7557
+
7558
+ class AsyncReportList < Didit::Model
7559
+ field :count, "count", :integer
7560
+ field :next, "next", :string
7561
+ field :previous, "previous", :string
7562
+ field :results, "results", [:array, "AsyncReport"]
7563
+ field :counts, "counts", "AsyncReportListCounts"
7564
+ end
7565
+
7566
+ # Counts of all reports the caller can read, before the list filters.
7567
+ class AsyncReportListCounts < Didit::Model
7568
+ field :report_type, "report_type", [:map, :integer]
7569
+ field :status, "status", [:map, :integer]
7570
+ end
7571
+
7362
7572
  # Account check: the person types their account number and Didit checks it with the bank. Priced per country.
7363
7573
  class BankAccountCheckPricing < Didit::Model
7364
7574
  field :available, "available", :boolean
@@ -12472,6 +12682,7 @@ module Didit
12472
12682
  field :not_required_reason, "not_required_reason", :string
12473
12683
  field :proof_state, "proof_state", :string
12474
12684
  field :user_choice, "user_choice", "TravelRuleUserChoice"
12685
+ field :proof_request, "proof_request", "TravelRuleTransferProofRequest"
12475
12686
  end
12476
12687
 
12477
12688
  # The counterparty's directory entry, or `null` when the transfer links none.
@@ -12709,6 +12920,7 @@ module Didit
12709
12920
  field :not_required_reason, "not_required_reason", :string
12710
12921
  field :proof_state, "proof_state", :string
12711
12922
  field :user_choice, "user_choice", "TravelRuleUserChoice"
12923
+ field :proof_request, "proof_request", "TravelRuleTransferProofRequest"
12712
12924
  end
12713
12925
 
12714
12926
  # The counterparty's directory entry, or `null` when the transfer links none.
@@ -12773,6 +12985,9 @@ module Didit
12773
12985
  field :invalid_detail, "invalid_detail", :string
12774
12986
  field :invalid_at, "invalid_at", :datetime
12775
12987
  field :created_at, "created_at", :datetime
12988
+ field :role, "role", :string
12989
+ field :phone, "phone", :string
12990
+ field :receives_requests, "receives_requests", :boolean
12776
12991
  end
12777
12992
 
12778
12993
  # Your application's decision on a counterparty VASP. Private to your application: it never changes the shared
@@ -12811,6 +13026,16 @@ module Didit
12811
13026
  field :valid_until, "valid_until", :datetime
12812
13027
  field :current, "current", :boolean
12813
13028
  field :answers, "answers", [:map, :string]
13029
+ field :requested_items, "requested_items", [:array, :string]
13030
+ field :reminder_sent_at, "reminder_sent_at", :datetime
13031
+ field :documents, "documents", [:array, "TravelRuleCounterpartyQuestionnaireDocuments"]
13032
+ end
13033
+
13034
+ class TravelRuleCounterpartyQuestionnaireDocuments < Didit::Model
13035
+ field :id, "id", :string
13036
+ field :name, "name", :string
13037
+ field :kind, "kind", :string
13038
+ field :received_at, "received_at", :datetime
12814
13039
  end
12815
13040
 
12816
13041
  class TravelRuleCounterpartyQuestionnaireList < Didit::Model
@@ -12894,6 +13119,14 @@ module Didit
12894
13119
  field :actor, "actor", :string
12895
13120
  end
12896
13121
 
13122
+ class TravelRuleDecisionEvent < Didit::Model
13123
+ field :id, "id", :string
13124
+ field :decision, "decision", :string
13125
+ field :reason, "reason", :string
13126
+ field :actor, "actor", :string
13127
+ field :created_at, "created_at", :datetime
13128
+ end
13129
+
12897
13130
  # Where the latest message the transfer owes the other side stands. Didit contacts the counterparty after the
12898
13131
  # request that created or changed the transfer has returned, so this object says whether that message got through:
12899
13132
  # queued, being sent, waiting to be retried after an error, delivered, or failed. A failure the network may still
@@ -12963,6 +13196,21 @@ module Didit
12963
13196
  field :at, "at", :datetime
12964
13197
  end
12965
13198
 
13199
+ # A PDF document. Never carries the file content.
13200
+ class TravelRuleDocument < Didit::Model
13201
+ field :id, "id", :string
13202
+ field :name, "name", :string
13203
+ field :kind, "kind", :string
13204
+ field :uploaded_at, "uploaded_at", :datetime
13205
+ field :received_at, "received_at", :datetime
13206
+ field :content_type, "content_type", :string
13207
+ end
13208
+
13209
+ class TravelRuleDocumentShare < Didit::Model
13210
+ field :shared_with, "shared_with", :string
13211
+ field :url, "url", :string
13212
+ end
13213
+
12966
13214
  class TravelRuleInboundResponse < Didit::Model
12967
13215
  field :transaction_id, "transaction_id", :string
12968
13216
  field :txn_id, "txn_id", :string
@@ -13271,6 +13519,7 @@ module Didit
13271
13519
  field :cancelled_by, "cancelled_by", :string
13272
13520
  field :notify_on_answer, "notify_on_answer", :boolean
13273
13521
  field :user_choice, "user_choice", "TravelRuleUserChoice"
13522
+ field :proof_request, "proof_request", "TravelRuleTransferProofRequest"
13274
13523
  end
13275
13524
 
13276
13525
  class TravelRuleTransferDetailCounterpartyVasp < Didit::Model
@@ -13296,6 +13545,13 @@ module Didit
13296
13545
  field :reason, "reason", :string
13297
13546
  end
13298
13547
 
13548
+ class TravelRuleTransferProofRequest < Didit::Model
13549
+ field :request_id, "request_id", :string
13550
+ field :status, "status", :string
13551
+ field :expires_at, "expires_at", :datetime
13552
+ field :proof, "proof", "TravelRuleWalletProof"
13553
+ end
13554
+
13299
13555
  # One Travel Rule transfer as the transfers list shows it: VASP names, wallets, memos, the transaction's review
13300
13556
  # decision, your own end user's name (masked exactly as the transaction detail masks it), the counterparty VASP's
13301
13557
  # jurisdiction, the chain and the fiat amount. It never carries the counterparty's person data.
@@ -13379,6 +13635,47 @@ module Didit
13379
13635
  field :proof_state, "proof_state", :string
13380
13636
  end
13381
13637
 
13638
+ # Current valid proof, preferring the most recently verified proof; otherwise the latest attempt. A failed retry
13639
+ # does not replace a current valid proof. This metadata is read-only.
13640
+ class TravelRuleWalletOwnershipProof < Didit::Model
13641
+ field :proof_id, "proof_id", :string
13642
+ field :method_, "method", :string
13643
+ field :status, "status", :string
13644
+ field :failure_reason, "failure_reason", :string
13645
+ field :latest_attempt, "latest_attempt", "TravelRuleWalletProofSummary"
13646
+ field :network_eligible, "network_eligible", :boolean
13647
+ field :reuse_status, "reuse_status", :string
13648
+ end
13649
+
13650
+ # Proof attached to a transfer request. Supports every ownership method; screenshot-only metadata can be null.
13651
+ # Review history, notes and decision attribution remain available.
13652
+ class TravelRuleWalletProof < Didit::Model
13653
+ field :proof_id, "proof_id", :string
13654
+ field :method_, "method", :string
13655
+ field :status, "status", :string
13656
+ field :wallet_address, "wallet_address", :string
13657
+ field :chain, "chain", :string
13658
+ field :holder_name, "holder_name", :string
13659
+ field :is_ownership_verified, "is_ownership_verified", :boolean
13660
+ field :transaction_id, "transaction_id", :string
13661
+ field :file_name, "file_name", :string
13662
+ field :content_type, "content_type", :string
13663
+ field :screenshot_url, "screenshot_url", :string
13664
+ field :attempts, "attempts", :integer
13665
+ field :failure_reason, "failure_reason", :string
13666
+ field :method_chosen_at, "method_chosen_at", :datetime
13667
+ field :decided_at, "decided_at", :datetime
13668
+ field :decided_by, "decided_by", :string
13669
+ field :review_note, "review_note", :string
13670
+ field :created_at, "created_at", :datetime
13671
+ field :application_id, "application_id", :string
13672
+ field :user_id, "user_id", :string
13673
+ field :holder_vendor_data, "holder_vendor_data", :string
13674
+ field :wallet_label, "wallet_label", :string
13675
+ end
13676
+
13677
+ # Uploaded screenshot proof returned by the review queue and decision endpoint. Submitter attribution is
13678
+ # independent of the current wallet holder.
13382
13679
  class TravelRuleWalletProofReview < Didit::Model
13383
13680
  field :proof_id, "proof_id", :string
13384
13681
  field :method_, "method", :string
@@ -13398,6 +13695,29 @@ module Didit
13398
13695
  field :decided_by, "decided_by", :string
13399
13696
  field :review_note, "review_note", :string
13400
13697
  field :created_at, "created_at", :datetime
13698
+ field :application_id, "application_id", :string
13699
+ field :user_id, "user_id", :string
13700
+ field :holder_vendor_data, "holder_vendor_data", :string
13701
+ field :wallet_label, "wallet_label", :string
13702
+ end
13703
+
13704
+ class TravelRuleWalletProofSummary < Didit::Model
13705
+ field :proof_id, "proof_id", :string
13706
+ field :method_, "method", :string
13707
+ field :status, "status", :string
13708
+ field :failure_reason, "failure_reason", :string
13709
+ end
13710
+
13711
+ # Exact totals over the entire application-scoped wallet set before limit/offset pagination. Method counts overlap
13712
+ # and must not be summed to obtain distinct verified wallets.
13713
+ class TravelRuleWalletProofTotals < Didit::Model
13714
+ field :wallets, "wallets", :integer
13715
+ field :customer_wallets, "customer_wallets", :integer
13716
+ field :verified_control_wallets, "verified_control_wallets", :integer
13717
+ field :message_signing, "MESSAGE_SIGNING", :integer
13718
+ field :satoshi_test, "SATOSHI_TEST", :integer
13719
+ field :screenshot, "SCREENSHOT", :integer
13720
+ field :self_declaration, "SELF_DECLARATION", :integer
13401
13721
  end
13402
13722
 
13403
13723
  class TravelRuleWalletTransfer < Didit::Model
@@ -13675,15 +13995,22 @@ module Didit
13675
13995
  field :address_hash, "address_hash", :string
13676
13996
  field :memo, "memo", :string
13677
13997
  field :receiving_travel_address, "receiving_travel_address", :string
13998
+ field :ownership_proof, "ownership_proof", "TravelRuleWalletOwnershipProof"
13999
+ field :label, "label", :string
14000
+ field :owner_type, "owner_type", :string
13678
14001
  end
13679
14002
 
13680
- # PATCH is a partial update; the response echoes only holder_name, holder_vendor_data, entity_type,
13681
- # travel_address, receiving_travel_address, label, and owner_type.
13682
- class WalletAddressEntryUpdate < Didit::Model
14003
+ # Updated holder metadata and read-only ownership metadata. This is a partial wallet representation, not the full
14004
+ # list/create entry.
14005
+ class WalletAddressEntryUpdateResponse < Didit::Model
13683
14006
  field :holder_name, "holder_name", :string
13684
14007
  field :holder_vendor_data, "holder_vendor_data", :string
13685
14008
  field :entity_type, "entity_type", :string
13686
14009
  field :travel_address, "travel_address", :string
14010
+ field :receiving_travel_address, "receiving_travel_address", :string
14011
+ field :label, "label", :string
14012
+ field :owner_type, "owner_type", :string
14013
+ field :ownership_proof, "ownership_proof", "TravelRuleWalletOwnershipProof"
13687
14014
  end
13688
14015
 
13689
14016
  # What happened to each row of an import, in the order sent.
@@ -13842,6 +14169,20 @@ module Didit
13842
14169
  field :updated_at, "updated_at", :datetime
13843
14170
  end
13844
14171
 
14172
+ class WebhookDestinationActivity < Didit::Model
14173
+ field :id, "id", :string
14174
+ field :type, "type", :string
14175
+ field :occurred_at, "occurred_at", :datetime
14176
+ field :failure_count, "failure_count", :integer
14177
+ end
14178
+
14179
+ class WebhookDestinationActivityList < Didit::Model
14180
+ field :count, "count", :integer
14181
+ field :next, "next", :string
14182
+ field :previous, "previous", :string
14183
+ field :results, "results", [:array, "WebhookDestinationActivity"]
14184
+ end
14185
+
13845
14186
  # One delivery attempt to a webhook destination. The first send of an event, each automatic retry and each resend
13846
14187
  # are separate deliveries.
13847
14188
  class WebhookDestinationDelivery < Didit::Model
@@ -0,0 +1,8 @@
1
+ # Code generated by codegen from openapi/*.json. DO NOT EDIT.
2
+ # frozen_string_literal: true
3
+
4
+ module Didit
5
+ module Types
6
+
7
+ end
8
+ end
@@ -159,10 +159,28 @@ module Didit
159
159
  field :results, "results", [:array, "TravelRuleCounterpartyContact"]
160
160
  end
161
161
 
162
+ class TravelRuleDocumentsListResponse < Didit::Model
163
+ field :count, "count", :integer
164
+ field :next, "next", :string
165
+ field :previous, "previous", :string
166
+ field :results, "results", [:array, "TravelRuleDocument"]
167
+ end
168
+
169
+ class TravelRuleListVaspDecisionHistoryResponse < Didit::Model
170
+ field :count, "count", :integer
171
+ field :next, "next", :string
172
+ field :previous, "previous", :string
173
+ field :results, "results", [:array, "TravelRuleDecisionEvent"]
174
+ end
175
+
162
176
  class TravelRuleListVaspReviewersResponse < Didit::Model
163
177
  field :results, "results", [:array, "TravelRuleVaspReviewer"]
164
178
  end
165
179
 
180
+ class TravelRuleListVaspSharedDocumentsResponse < Didit::Model
181
+ field :documents, "documents", [:array, "TravelRuleDocument"]
182
+ end
183
+
166
184
  class TravelRuleListVaspsResponse < Didit::Model
167
185
  field :count, "count", :integer
168
186
  field :next, "next", :string
@@ -198,6 +216,7 @@ module Didit
198
216
  field :next, "next", :string
199
217
  field :previous, "previous", :string
200
218
  field :results, "results", [:array, "WalletAddressEntry"]
219
+ field :proof_totals, "proof_totals", "TravelRuleWalletProofTotals"
201
220
  end
202
221
 
203
222
  class TravelRuleWalletAddressesListTransfersResponse < Didit::Model
data/lib/didit/types.rb CHANGED
@@ -142,6 +142,12 @@ module Didit
142
142
  autoload :ApplicationProduct, "didit/types/account_components"
143
143
  autoload :ApplicationProductProduct, "didit/types/account_components"
144
144
  autoload :ApplicationProductStatus, "didit/types/account_components"
145
+ autoload :AsyncReport, "didit/types/components"
146
+ autoload :AsyncReportFile, "didit/types/components"
147
+ autoload :AsyncReportList, "didit/types/components"
148
+ autoload :AsyncReportListCounts, "didit/types/components"
149
+ autoload :AsyncReportReportType, "didit/types/components"
150
+ autoload :AsyncReportStatus, "didit/types/components"
145
151
  autoload :BankAccountCheckPricing, "didit/types/components"
146
152
  autoload :BankAccountCheckResponse, "didit/types/components"
147
153
  autoload :BankAccountCheckResponseResult, "didit/types/components"
@@ -1595,6 +1601,7 @@ module Didit
1595
1601
  autoload :TravelRuleCounterpartyDecisionInheritedFrom, "didit/types/components"
1596
1602
  autoload :TravelRuleCounterpartyDecisionResponse, "didit/types/components"
1597
1603
  autoload :TravelRuleCounterpartyQuestionnaire, "didit/types/components"
1604
+ autoload :TravelRuleCounterpartyQuestionnaireDocuments, "didit/types/components"
1598
1605
  autoload :TravelRuleCounterpartyQuestionnaireList, "didit/types/components"
1599
1606
  autoload :TravelRuleCounterpartyQuestionnaireStatus, "didit/types/components"
1600
1607
  autoload :TravelRuleCounterpartyScreening, "didit/types/components"
@@ -1620,6 +1627,7 @@ module Didit
1620
1627
  autoload :TravelRuleDataSharingFieldsIndividual, "didit/types/components"
1621
1628
  autoload :TravelRuleDataUnmasked, "didit/types/components"
1622
1629
  autoload :TravelRuleDataUnmaskedReason, "didit/types/components"
1630
+ autoload :TravelRuleDecisionEvent, "didit/types/components"
1623
1631
  autoload :TravelRuleDelivery, "didit/types/components"
1624
1632
  autoload :TravelRuleDeliveryFailure, "didit/types/components"
1625
1633
  autoload :TravelRuleDeliveryFailureCode, "didit/types/components"
@@ -1636,8 +1644,15 @@ module Didit
1636
1644
  autoload :TravelRuleDiscoveryStep, "didit/types/components"
1637
1645
  autoload :TravelRuleDiscoveryStepOutcome, "didit/types/components"
1638
1646
  autoload :TravelRuleDiscoveryStepStep, "didit/types/components"
1647
+ autoload :TravelRuleDocument, "didit/types/components"
1648
+ autoload :TravelRuleDocumentContentType, "didit/types/components"
1649
+ autoload :TravelRuleDocumentKind, "didit/types/components"
1650
+ autoload :TravelRuleDocumentShare, "didit/types/components"
1651
+ autoload :TravelRuleDocumentsListResponse, "didit/types/travel_rule"
1639
1652
  autoload :TravelRuleInboundResponse, "didit/types/components"
1653
+ autoload :TravelRuleListVaspDecisionHistoryResponse, "didit/types/travel_rule"
1640
1654
  autoload :TravelRuleListVaspReviewersResponse, "didit/types/travel_rule"
1655
+ autoload :TravelRuleListVaspSharedDocumentsResponse, "didit/types/travel_rule"
1641
1656
  autoload :TravelRuleListVaspsParamsKind, "didit/types/travel_rule"
1642
1657
  autoload :TravelRuleListVaspsParamsNetwork, "didit/types/travel_rule"
1643
1658
  autoload :TravelRuleListVaspsParamsResponsiveness, "didit/types/travel_rule"
@@ -1712,6 +1727,8 @@ module Didit
1712
1727
  autoload :TravelRuleTransferDetailRail, "didit/types/components"
1713
1728
  autoload :TravelRuleTransferDetailStatus, "didit/types/components"
1714
1729
  autoload :TravelRuleTransferDetailTimeline, "didit/types/components"
1730
+ autoload :TravelRuleTransferProofRequest, "didit/types/components"
1731
+ autoload :TravelRuleTransferProofRequestStatus, "didit/types/components"
1715
1732
  autoload :TravelRuleTransferRow, "didit/types/components"
1716
1733
  autoload :TravelRuleTransferRowBeneficiaryWalletType, "didit/types/components"
1717
1734
  autoload :TravelRuleTransferRowDirection, "didit/types/components"
@@ -1739,10 +1756,21 @@ module Didit
1739
1756
  autoload :TravelRuleWalletLookup, "didit/types/components"
1740
1757
  autoload :TravelRuleWalletLookupMatch, "didit/types/components"
1741
1758
  autoload :TravelRuleWalletLookupProofState, "didit/types/components"
1759
+ autoload :TravelRuleWalletOwnershipProof, "didit/types/components"
1760
+ autoload :TravelRuleWalletOwnershipProofMethod, "didit/types/components"
1761
+ autoload :TravelRuleWalletOwnershipProofReuseStatus, "didit/types/components"
1762
+ autoload :TravelRuleWalletOwnershipProofStatus, "didit/types/components"
1763
+ autoload :TravelRuleWalletProof, "didit/types/components"
1742
1764
  autoload :TravelRuleWalletProofFailureReason, "didit/types/components"
1765
+ autoload :TravelRuleWalletProofMethod, "didit/types/components"
1743
1766
  autoload :TravelRuleWalletProofReview, "didit/types/components"
1744
1767
  autoload :TravelRuleWalletProofReviewMethod, "didit/types/components"
1745
1768
  autoload :TravelRuleWalletProofReviewStatus, "didit/types/components"
1769
+ autoload :TravelRuleWalletProofStatus, "didit/types/components"
1770
+ autoload :TravelRuleWalletProofSummary, "didit/types/components"
1771
+ autoload :TravelRuleWalletProofSummaryMethod, "didit/types/components"
1772
+ autoload :TravelRuleWalletProofSummaryStatus, "didit/types/components"
1773
+ autoload :TravelRuleWalletProofTotals, "didit/types/components"
1746
1774
  autoload :TravelRuleWalletProofsDecideParamsDecision, "didit/types/travel_rule"
1747
1775
  autoload :TravelRuleWalletProofsListParamsStatus, "didit/types/travel_rule"
1748
1776
  autoload :TravelRuleWalletProofsListResponse, "didit/types/travel_rule"
@@ -1818,7 +1846,9 @@ module Didit
1818
1846
  autoload :VaspDirectoryEntryUmbrella, "didit/types/components"
1819
1847
  autoload :VerifyEmailResponse, "didit/types/account_components"
1820
1848
  autoload :WalletAddressEntry, "didit/types/components"
1821
- autoload :WalletAddressEntryUpdate, "didit/types/components"
1849
+ autoload :WalletAddressEntryOwnerType, "didit/types/components"
1850
+ autoload :WalletAddressEntryUpdateResponse, "didit/types/components"
1851
+ autoload :WalletAddressEntryUpdateResponseOwnerType, "didit/types/components"
1822
1852
  autoload :WalletAddressImportReport, "didit/types/components"
1823
1853
  autoload :WalletAddressImportReportRows, "didit/types/components"
1824
1854
  autoload :WalletAddressImportReportRowsStatus, "didit/types/components"
@@ -1849,6 +1879,9 @@ module Didit
1849
1879
  autoload :WebhookConfigDestinationWebhookVersion, "didit/types/components"
1850
1880
  autoload :WebhookConfigFaceRetentionPolicy, "didit/types/components"
1851
1881
  autoload :WebhookConfigWebhookVersion, "didit/types/components"
1882
+ autoload :WebhookDestinationActivity, "didit/types/components"
1883
+ autoload :WebhookDestinationActivityList, "didit/types/components"
1884
+ autoload :WebhookDestinationActivityType, "didit/types/components"
1852
1885
  autoload :WebhookDestinationDelivery, "didit/types/components"
1853
1886
  autoload :WebhookDestinationDeliveryDetail, "didit/types/components"
1854
1887
  autoload :WebhookEvent, "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.17.0" # x-release-please-version
4
+ VERSION = "2.19.0" # x-release-please-version
5
5
  end