didit-sdk 2.17.0 → 2.18.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/didit/resources/reports.rb +114 -0
- data/lib/didit/resources/travel_rule.rb +295 -8
- data/lib/didit/resources/webhooks.rb +29 -0
- data/lib/didit/resources.rb +6 -0
- data/lib/didit/types/components.rb +346 -5
- data/lib/didit/types/reports.rb +8 -0
- data/lib/didit/types/travel_rule.rb +19 -0
- data/lib/didit/types.rb +34 -1
- data/lib/didit/version.rb +1 -1
- data/sig/didit/resources/reports.rbs +11 -0
- data/sig/didit/resources/travel_rule.rbs +17 -3
- data/sig/didit/resources/webhooks.rbs +1 -0
- data/sig/didit/resources.rbs +1 -0
- data/sig/didit/types/components.rbs +312 -1
- data/sig/didit/types/reports.rbs +7 -0
- data/sig/didit/types/travel_rule.rbs +27 -2
- metadata +5 -1
|
@@ -4,6 +4,7 @@ module Didit
|
|
|
4
4
|
module Resources
|
|
5
5
|
class TravelRule < Didit::Resource
|
|
6
6
|
def counterparty_contacts: () -> Didit::Resources::TravelRule::CounterpartyContacts
|
|
7
|
+
def documents: () -> Didit::Resources::TravelRule::Documents
|
|
7
8
|
def networks: () -> Didit::Resources::TravelRule::Networks
|
|
8
9
|
def transfers: () -> Didit::Resources::TravelRule::Transfers
|
|
9
10
|
def unmatched_deposits: () -> Didit::Resources::TravelRule::UnmatchedDeposits
|
|
@@ -14,8 +15,10 @@ module Didit
|
|
|
14
15
|
def clear_vasp_decision: (String vasp_id, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyDecisionResponse
|
|
15
16
|
def create_vasp: (name: String, email: String, ?lei: String, ?jurisdiction: String, ?invite: bool, ?request_options: Didit::request_options?) -> Didit::Types::VaspDirectoryEntry
|
|
16
17
|
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
|
|
18
|
+
def list_vasp_decision_history: (String vasp_id, ?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::TravelRuleDecisionEvent]
|
|
17
19
|
def list_vasp_questionnaires: (String vasp_id, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyQuestionnaireList
|
|
18
20
|
def list_vasp_reviewers: (?request_options: Didit::request_options?) -> Didit::Types::TravelRuleListVaspReviewersResponse
|
|
21
|
+
def list_vasp_shared_documents: (String vasp_id, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleListVaspSharedDocumentsResponse
|
|
19
22
|
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]
|
|
20
23
|
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
|
|
21
24
|
def retrieve_settings: (?request_options: Didit::request_options?) -> Didit::Types::TravelRuleSettingsDetail
|
|
@@ -25,13 +28,24 @@ module Didit
|
|
|
25
28
|
def review_vasp_screening_hit: (String vasp_id, screening_id: String, hit_id: String, review_status: String, ?reason: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleReviewVaspScreeningHitResponse
|
|
26
29
|
def screen_vasp: (String vasp_id, ?refresh: bool, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyScreeningResult
|
|
27
30
|
def send_compliance_email_confirmation: (?request_options: Didit::request_options?) -> Didit::Types::TravelRuleSendComplianceEmailConfirmationResponse
|
|
28
|
-
def send_vasp_questionnaire: (String vasp_id, ?sent_to: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyQuestionnaire
|
|
31
|
+
def send_vasp_questionnaire: (String vasp_id, ?sent_to: String, ?answer_by_days: Integer, ?requested_items: Array[String], ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyQuestionnaire
|
|
32
|
+
def share_vasp_documents: (String vasp_id, document_ids: Array[String], ?sent_to: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleDocumentShare
|
|
29
33
|
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
|
|
30
34
|
def update_vasp_decision: (String vasp_id, decision: String, ?reason: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyDecisionResponse
|
|
35
|
+
def withdraw_vasp_documents: (String vasp_id, ?request_options: Didit::request_options?) -> nil
|
|
36
|
+
def withdraw_vasp_questionnaire: (String vasp_id, String questionnaire_id, ?request_options: Didit::request_options?) -> nil
|
|
31
37
|
class CounterpartyContacts < Didit::Resource
|
|
32
|
-
def create: (counterparty: String, email: String, ?name: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyContact
|
|
38
|
+
def create: (counterparty: String, email: String, ?name: String, ?role: String, ?phone: String, ?receives_requests: bool, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyContact
|
|
33
39
|
def delete: (String contact_uuid, ?request_options: Didit::request_options?) -> nil
|
|
34
40
|
def list: (?counterparty: String, ?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::TravelRuleCounterpartyContact]
|
|
41
|
+
def update: (String contact_uuid, ?name: String, ?email: String, ?role: String, ?phone: String, ?receives_requests: bool, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyContact
|
|
42
|
+
end
|
|
43
|
+
class Documents < Didit::Resource
|
|
44
|
+
def create: (kind: String, file: Didit::upload, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleDocument
|
|
45
|
+
def delete: (String document_id, ?request_options: Didit::request_options?) -> nil
|
|
46
|
+
def download: (String document_id, ?request_options: Didit::request_options?) -> String
|
|
47
|
+
| (String document_id, ?request_options: Didit::request_options?) { (String chunk) -> void } -> nil
|
|
48
|
+
def list: (?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::TravelRuleDocument]
|
|
35
49
|
end
|
|
36
50
|
class Networks < Didit::Resource
|
|
37
51
|
def request_access: (String network, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleNetworkParticipant
|
|
@@ -54,7 +68,7 @@ module Didit
|
|
|
54
68
|
def list: (?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::WalletAddressEntry]
|
|
55
69
|
def list_transfers: (String entry_uuid, ?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::TravelRuleWalletTransfer]
|
|
56
70
|
def lookup: (address: String, chain: String, ?memo: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWalletLookup
|
|
57
|
-
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::
|
|
71
|
+
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::WalletAddressEntryUpdateResponse
|
|
58
72
|
end
|
|
59
73
|
class WalletProofs < Didit::Resource
|
|
60
74
|
def decide: (String proof_uuid, decision: String, ?note: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWalletProofReview
|
|
@@ -11,6 +11,7 @@ module Didit
|
|
|
11
11
|
def create: (label: String, url: String, ?enabled: bool, ?webhook_version: String, ?subscribed_events: Array[String], ?request_options: Didit::request_options?) -> Didit::Types::WebhooksDestinationsCreateResponse
|
|
12
12
|
def delete: (String destination_uuid, ?request_options: Didit::request_options?) -> nil
|
|
13
13
|
def list: (?request_options: Didit::request_options?) -> Array[Didit::Types::WebhooksDestinationsListResponseItem]
|
|
14
|
+
def list_activity: (String destination_uuid, ?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::WebhookDestinationActivity]
|
|
14
15
|
def list_deliveries: (String destination_uuid, ?limit: Integer, ?offset: Integer, ?date_from: Date | String, ?date_to: Date | String, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::WebhookDestinationDelivery]
|
|
15
16
|
def resend_delivery: (String destination_uuid, String delivery_uuid, ?request_options: Didit::request_options?) -> Didit::Types::WebhookDestinationDeliveryDetail
|
|
16
17
|
def retrieve: (String destination_uuid, ?request_options: Didit::request_options?) -> Didit::Types::WebhooksDestinationsRetrieveResponse
|
data/sig/didit/resources.rbs
CHANGED
|
@@ -38,6 +38,7 @@ module Didit
|
|
|
38
38
|
def questionnaires: () -> Didit::Resources::Questionnaires
|
|
39
39
|
def regulatory_reports: () -> Didit::Resources::RegulatoryReports
|
|
40
40
|
def report_templates: () -> Didit::Resources::ReportTemplates
|
|
41
|
+
def reports: () -> Didit::Resources::Reports
|
|
41
42
|
def sandbox: () -> Didit::Resources::Sandbox
|
|
42
43
|
def sessions: () -> Didit::Resources::Sessions
|
|
43
44
|
def transactions: () -> Didit::Resources::Transactions
|
|
@@ -252,6 +252,37 @@ module Didit
|
|
|
252
252
|
VALUES: Array[String]
|
|
253
253
|
end
|
|
254
254
|
|
|
255
|
+
module AsyncReportReportType
|
|
256
|
+
SESSION_EXPORT: String
|
|
257
|
+
TRANSACTION_EXPORT: String
|
|
258
|
+
BUSINESS_EXPORT: String
|
|
259
|
+
VENDOR_USER_EXPORT: String
|
|
260
|
+
VENDOR_BUSINESS_EXPORT: String
|
|
261
|
+
CASE_EXPORT: String
|
|
262
|
+
CASE_SLA_EXPORT: String
|
|
263
|
+
LIST_ENTRY_EXPORT: String
|
|
264
|
+
EVENT_EXPORT: String
|
|
265
|
+
COMPLIANCE_KYC_KYB: String
|
|
266
|
+
COMPLIANCE_AML_LOG: String
|
|
267
|
+
COMPLIANCE_TRAVEL_RULE: String
|
|
268
|
+
COMPLIANCE_SANCTIONS_PEP: String
|
|
269
|
+
COMPLIANCE_RISK_SUMMARY: String
|
|
270
|
+
COMPLIANCE_SAR_STR_DRAFT: String
|
|
271
|
+
COMPLIANCE_CTR: String
|
|
272
|
+
COMPLIANCE_CASE_SUMMARY: String
|
|
273
|
+
|
|
274
|
+
VALUES: Array[String]
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
module AsyncReportStatus
|
|
278
|
+
PENDING: String
|
|
279
|
+
PROCESSING: String
|
|
280
|
+
READY: String
|
|
281
|
+
FAILED: String
|
|
282
|
+
|
|
283
|
+
VALUES: Array[String]
|
|
284
|
+
end
|
|
285
|
+
|
|
255
286
|
module BankAccountCheckResponseResult
|
|
256
287
|
MATCH: String
|
|
257
288
|
CLOSE_MATCH: String
|
|
@@ -4616,6 +4647,22 @@ module Didit
|
|
|
4616
4647
|
VALUES: Array[String]
|
|
4617
4648
|
end
|
|
4618
4649
|
|
|
4650
|
+
module TravelRuleDocumentContentType
|
|
4651
|
+
APPLICATION_PDF: String
|
|
4652
|
+
|
|
4653
|
+
VALUES: Array[String]
|
|
4654
|
+
end
|
|
4655
|
+
|
|
4656
|
+
module TravelRuleDocumentKind
|
|
4657
|
+
QUESTIONNAIRE: String
|
|
4658
|
+
INCORPORATION: String
|
|
4659
|
+
LICENCE: String
|
|
4660
|
+
AML_POLICY: String
|
|
4661
|
+
OWNERSHIP: String
|
|
4662
|
+
|
|
4663
|
+
VALUES: Array[String]
|
|
4664
|
+
end
|
|
4665
|
+
|
|
4619
4666
|
module TravelRuleMatchingRulesCompanyAccount
|
|
4620
4667
|
NONE: String
|
|
4621
4668
|
STRICT: String
|
|
@@ -4994,6 +5041,14 @@ module Didit
|
|
|
4994
5041
|
VALUES: Array[String]
|
|
4995
5042
|
end
|
|
4996
5043
|
|
|
5044
|
+
module TravelRuleTransferProofRequestStatus
|
|
5045
|
+
PENDING: String
|
|
5046
|
+
COMPLETED: String
|
|
5047
|
+
EXPIRED: String
|
|
5048
|
+
|
|
5049
|
+
VALUES: Array[String]
|
|
5050
|
+
end
|
|
5051
|
+
|
|
4997
5052
|
module TravelRuleTransferRowBeneficiaryWalletType
|
|
4998
5053
|
VASP: String
|
|
4999
5054
|
SELF_HOSTED: String
|
|
@@ -5080,10 +5135,40 @@ module Didit
|
|
|
5080
5135
|
VALUES: Array[String]
|
|
5081
5136
|
end
|
|
5082
5137
|
|
|
5138
|
+
module TravelRuleWalletOwnershipProofMethod
|
|
5139
|
+
MESSAGE_SIGNING: String
|
|
5140
|
+
SATOSHI_TEST: String
|
|
5141
|
+
SCREENSHOT: String
|
|
5142
|
+
SELF_DECLARATION: String
|
|
5143
|
+
|
|
5144
|
+
VALUES: Array[String]
|
|
5145
|
+
end
|
|
5146
|
+
|
|
5147
|
+
module TravelRuleWalletOwnershipProofReuseStatus
|
|
5148
|
+
NOT_LINKED: String
|
|
5149
|
+
OWNERSHIP_CHANGED: String
|
|
5150
|
+
VERIFIED: String
|
|
5151
|
+
REJECTED: String
|
|
5152
|
+
EXPIRED: String
|
|
5153
|
+
AWAITING_PROOF: String
|
|
5154
|
+
|
|
5155
|
+
VALUES: Array[String]
|
|
5156
|
+
end
|
|
5157
|
+
|
|
5158
|
+
module TravelRuleWalletOwnershipProofStatus
|
|
5159
|
+
PENDING: String
|
|
5160
|
+
VERIFIED: String
|
|
5161
|
+
REJECTED: String
|
|
5162
|
+
EXPIRED: String
|
|
5163
|
+
|
|
5164
|
+
VALUES: Array[String]
|
|
5165
|
+
end
|
|
5166
|
+
|
|
5083
5167
|
module TravelRuleWalletProofFailureReason
|
|
5084
5168
|
VALUE: String
|
|
5085
5169
|
SIGNATURE_INVALID: String
|
|
5086
5170
|
SIGNATURE_UNSUPPORTED_SCHEME: String
|
|
5171
|
+
SIGNATURE_LOOKUP_FAILED: String
|
|
5087
5172
|
DEPOSIT_NOT_FOUND: String
|
|
5088
5173
|
DEPOSIT_UNCONFIRMED: String
|
|
5089
5174
|
DEPOSIT_LOOKUP_FAILED: String
|
|
@@ -5100,6 +5185,15 @@ module Didit
|
|
|
5100
5185
|
VALUES: Array[String]
|
|
5101
5186
|
end
|
|
5102
5187
|
|
|
5188
|
+
module TravelRuleWalletProofMethod
|
|
5189
|
+
MESSAGE_SIGNING: String
|
|
5190
|
+
SATOSHI_TEST: String
|
|
5191
|
+
SCREENSHOT: String
|
|
5192
|
+
SELF_DECLARATION: String
|
|
5193
|
+
|
|
5194
|
+
VALUES: Array[String]
|
|
5195
|
+
end
|
|
5196
|
+
|
|
5103
5197
|
module TravelRuleWalletProofReviewMethod
|
|
5104
5198
|
SCREENSHOT: String
|
|
5105
5199
|
|
|
@@ -5115,6 +5209,33 @@ module Didit
|
|
|
5115
5209
|
VALUES: Array[String]
|
|
5116
5210
|
end
|
|
5117
5211
|
|
|
5212
|
+
module TravelRuleWalletProofStatus
|
|
5213
|
+
PENDING: String
|
|
5214
|
+
VERIFIED: String
|
|
5215
|
+
REJECTED: String
|
|
5216
|
+
EXPIRED: String
|
|
5217
|
+
|
|
5218
|
+
VALUES: Array[String]
|
|
5219
|
+
end
|
|
5220
|
+
|
|
5221
|
+
module TravelRuleWalletProofSummaryMethod
|
|
5222
|
+
MESSAGE_SIGNING: String
|
|
5223
|
+
SATOSHI_TEST: String
|
|
5224
|
+
SCREENSHOT: String
|
|
5225
|
+
SELF_DECLARATION: String
|
|
5226
|
+
|
|
5227
|
+
VALUES: Array[String]
|
|
5228
|
+
end
|
|
5229
|
+
|
|
5230
|
+
module TravelRuleWalletProofSummaryStatus
|
|
5231
|
+
PENDING: String
|
|
5232
|
+
VERIFIED: String
|
|
5233
|
+
REJECTED: String
|
|
5234
|
+
EXPIRED: String
|
|
5235
|
+
|
|
5236
|
+
VALUES: Array[String]
|
|
5237
|
+
end
|
|
5238
|
+
|
|
5118
5239
|
module TravelRuleWalletTransferStatus
|
|
5119
5240
|
AWAITING_COUNTERPARTY: String
|
|
5120
5241
|
ON_HOLD: String
|
|
@@ -5372,6 +5493,22 @@ module Didit
|
|
|
5372
5493
|
VALUES: Array[String]
|
|
5373
5494
|
end
|
|
5374
5495
|
|
|
5496
|
+
module WalletAddressEntryOwnerType
|
|
5497
|
+
CUSTOMER: String
|
|
5498
|
+
INTERNAL: String
|
|
5499
|
+
VASP: String
|
|
5500
|
+
|
|
5501
|
+
VALUES: Array[String]
|
|
5502
|
+
end
|
|
5503
|
+
|
|
5504
|
+
module WalletAddressEntryUpdateResponseOwnerType
|
|
5505
|
+
CUSTOMER: String
|
|
5506
|
+
INTERNAL: String
|
|
5507
|
+
VASP: String
|
|
5508
|
+
|
|
5509
|
+
VALUES: Array[String]
|
|
5510
|
+
end
|
|
5511
|
+
|
|
5375
5512
|
module WalletAddressImportReportRowsStatus
|
|
5376
5513
|
CREATED: String
|
|
5377
5514
|
EXISTING: String
|
|
@@ -5514,6 +5651,12 @@ module Didit
|
|
|
5514
5651
|
VALUES: Array[String]
|
|
5515
5652
|
end
|
|
5516
5653
|
|
|
5654
|
+
module WebhookDestinationActivityType
|
|
5655
|
+
FAILURE_ALERT: String
|
|
5656
|
+
|
|
5657
|
+
VALUES: Array[String]
|
|
5658
|
+
end
|
|
5659
|
+
|
|
5517
5660
|
module WebhookEvent
|
|
5518
5661
|
STATUS_UPDATED: String
|
|
5519
5662
|
DATA_UPDATED: String
|
|
@@ -6233,6 +6376,52 @@ module Didit
|
|
|
6233
6376
|
def reached: () -> Integer?
|
|
6234
6377
|
end
|
|
6235
6378
|
|
|
6379
|
+
class AsyncReport < Didit::Model
|
|
6380
|
+
def uuid: () -> String
|
|
6381
|
+
def report_type: () -> String
|
|
6382
|
+
def report_type_display: () -> String
|
|
6383
|
+
def status: () -> String
|
|
6384
|
+
def status_display: () -> String
|
|
6385
|
+
def parameters: () -> Hash[String, untyped]
|
|
6386
|
+
def requested_by_user_id: () -> String?
|
|
6387
|
+
def requested_by_email: () -> String?
|
|
6388
|
+
def requested_by_name: () -> String?
|
|
6389
|
+
def row_count: () -> Integer?
|
|
6390
|
+
def failed_item_ids: () -> Array[String]
|
|
6391
|
+
def failed_count: () -> Integer
|
|
6392
|
+
def file_size: () -> Integer?
|
|
6393
|
+
def files: () -> Array[Didit::Types::AsyncReportFile]
|
|
6394
|
+
def scheduled_report: () -> String?
|
|
6395
|
+
def error_message: () -> String?
|
|
6396
|
+
def deletion_pending: () -> bool
|
|
6397
|
+
def eta_seconds: () -> Integer?
|
|
6398
|
+
def started_at: () -> Time?
|
|
6399
|
+
def completed_at: () -> Time?
|
|
6400
|
+
def expires_at: () -> Time
|
|
6401
|
+
def created_at: () -> Time
|
|
6402
|
+
def updated_at: () -> Time
|
|
6403
|
+
end
|
|
6404
|
+
|
|
6405
|
+
class AsyncReportFile < Didit::Model
|
|
6406
|
+
def name: () -> String
|
|
6407
|
+
def format: () -> String
|
|
6408
|
+
def rows: () -> Integer?
|
|
6409
|
+
def bytes: () -> Integer
|
|
6410
|
+
end
|
|
6411
|
+
|
|
6412
|
+
class AsyncReportList < Didit::Model
|
|
6413
|
+
def count: () -> Integer
|
|
6414
|
+
def `next`: () -> String?
|
|
6415
|
+
def previous: () -> String?
|
|
6416
|
+
def results: () -> Array[Didit::Types::AsyncReport]
|
|
6417
|
+
def counts: () -> Didit::Types::AsyncReportListCounts
|
|
6418
|
+
end
|
|
6419
|
+
|
|
6420
|
+
class AsyncReportListCounts < Didit::Model
|
|
6421
|
+
def report_type: () -> Hash[String, Integer]
|
|
6422
|
+
def status: () -> Hash[String, Integer]
|
|
6423
|
+
end
|
|
6424
|
+
|
|
6236
6425
|
class BankAccountCheckPricing < Didit::Model
|
|
6237
6426
|
def available: () -> bool
|
|
6238
6427
|
def price_usd: () -> String?
|
|
@@ -11002,6 +11191,7 @@ module Didit
|
|
|
11002
11191
|
def not_required_reason: () -> String?
|
|
11003
11192
|
def proof_state: () -> String?
|
|
11004
11193
|
def user_choice: () -> Didit::Types::TravelRuleUserChoice?
|
|
11194
|
+
def proof_request: () -> Didit::Types::TravelRuleTransferProofRequest?
|
|
11005
11195
|
end
|
|
11006
11196
|
|
|
11007
11197
|
class TransactionListTravelRuleCounterpartyVasp < Didit::Model
|
|
@@ -11221,6 +11411,7 @@ module Didit
|
|
|
11221
11411
|
def not_required_reason: () -> String?
|
|
11222
11412
|
def proof_state: () -> String?
|
|
11223
11413
|
def user_choice: () -> Didit::Types::TravelRuleUserChoice?
|
|
11414
|
+
def proof_request: () -> Didit::Types::TravelRuleTransferProofRequest?
|
|
11224
11415
|
end
|
|
11225
11416
|
|
|
11226
11417
|
class TransactionTravelRuleCounterpartyVasp < Didit::Model
|
|
@@ -11277,6 +11468,9 @@ module Didit
|
|
|
11277
11468
|
def invalid_detail: () -> String?
|
|
11278
11469
|
def invalid_at: () -> Time?
|
|
11279
11470
|
def created_at: () -> Time?
|
|
11471
|
+
def role: () -> String?
|
|
11472
|
+
def phone: () -> String?
|
|
11473
|
+
def receives_requests: () -> bool?
|
|
11280
11474
|
end
|
|
11281
11475
|
|
|
11282
11476
|
class TravelRuleCounterpartyDecision < Didit::Model
|
|
@@ -11307,6 +11501,16 @@ module Didit
|
|
|
11307
11501
|
def valid_until: () -> Time?
|
|
11308
11502
|
def current: () -> bool?
|
|
11309
11503
|
def answers: () -> Hash[String, String]?
|
|
11504
|
+
def requested_items: () -> Array[String]?
|
|
11505
|
+
def reminder_sent_at: () -> Time?
|
|
11506
|
+
def documents: () -> Array[Didit::Types::TravelRuleCounterpartyQuestionnaireDocuments]?
|
|
11507
|
+
end
|
|
11508
|
+
|
|
11509
|
+
class TravelRuleCounterpartyQuestionnaireDocuments < Didit::Model
|
|
11510
|
+
def id: () -> String?
|
|
11511
|
+
def name: () -> String?
|
|
11512
|
+
def kind: () -> String?
|
|
11513
|
+
def received_at: () -> Time?
|
|
11310
11514
|
end
|
|
11311
11515
|
|
|
11312
11516
|
class TravelRuleCounterpartyQuestionnaireList < Didit::Model
|
|
@@ -11378,6 +11582,14 @@ module Didit
|
|
|
11378
11582
|
def actor: () -> String?
|
|
11379
11583
|
end
|
|
11380
11584
|
|
|
11585
|
+
class TravelRuleDecisionEvent < Didit::Model
|
|
11586
|
+
def id: () -> String?
|
|
11587
|
+
def decision: () -> String?
|
|
11588
|
+
def reason: () -> String?
|
|
11589
|
+
def actor: () -> String?
|
|
11590
|
+
def created_at: () -> Time?
|
|
11591
|
+
end
|
|
11592
|
+
|
|
11381
11593
|
class TravelRuleDelivery < Didit::Model
|
|
11382
11594
|
def kind: () -> String
|
|
11383
11595
|
def status: () -> String
|
|
@@ -11432,6 +11644,20 @@ module Didit
|
|
|
11432
11644
|
def at: () -> Time?
|
|
11433
11645
|
end
|
|
11434
11646
|
|
|
11647
|
+
class TravelRuleDocument < Didit::Model
|
|
11648
|
+
def id: () -> String
|
|
11649
|
+
def name: () -> String
|
|
11650
|
+
def kind: () -> String
|
|
11651
|
+
def uploaded_at: () -> Time?
|
|
11652
|
+
def received_at: () -> Time?
|
|
11653
|
+
def content_type: () -> String
|
|
11654
|
+
end
|
|
11655
|
+
|
|
11656
|
+
class TravelRuleDocumentShare < Didit::Model
|
|
11657
|
+
def shared_with: () -> String?
|
|
11658
|
+
def url: () -> String?
|
|
11659
|
+
end
|
|
11660
|
+
|
|
11435
11661
|
class TravelRuleInboundResponse < Didit::Model
|
|
11436
11662
|
def transaction_id: () -> String?
|
|
11437
11663
|
def txn_id: () -> String?
|
|
@@ -11706,6 +11932,7 @@ module Didit
|
|
|
11706
11932
|
def cancelled_by: () -> String?
|
|
11707
11933
|
def notify_on_answer: () -> bool?
|
|
11708
11934
|
def user_choice: () -> Didit::Types::TravelRuleUserChoice?
|
|
11935
|
+
def proof_request: () -> Didit::Types::TravelRuleTransferProofRequest?
|
|
11709
11936
|
end
|
|
11710
11937
|
|
|
11711
11938
|
class TravelRuleTransferDetailCounterpartyVasp < Didit::Model
|
|
@@ -11731,6 +11958,13 @@ module Didit
|
|
|
11731
11958
|
def reason: () -> String?
|
|
11732
11959
|
end
|
|
11733
11960
|
|
|
11961
|
+
class TravelRuleTransferProofRequest < Didit::Model
|
|
11962
|
+
def request_id: () -> String
|
|
11963
|
+
def status: () -> String
|
|
11964
|
+
def expires_at: () -> Time
|
|
11965
|
+
def proof: () -> Didit::Types::TravelRuleWalletProof?
|
|
11966
|
+
end
|
|
11967
|
+
|
|
11734
11968
|
class TravelRuleTransferRow < Didit::Model
|
|
11735
11969
|
def id: () -> String?
|
|
11736
11970
|
def transaction_id: () -> String?
|
|
@@ -11809,6 +12043,41 @@ module Didit
|
|
|
11809
12043
|
def proof_state: () -> String?
|
|
11810
12044
|
end
|
|
11811
12045
|
|
|
12046
|
+
class TravelRuleWalletOwnershipProof < Didit::Model
|
|
12047
|
+
def proof_id: () -> String?
|
|
12048
|
+
def method_: () -> String?
|
|
12049
|
+
def status: () -> String?
|
|
12050
|
+
def failure_reason: () -> String
|
|
12051
|
+
def latest_attempt: () -> Didit::Types::TravelRuleWalletProofSummary?
|
|
12052
|
+
def network_eligible: () -> bool
|
|
12053
|
+
def reuse_status: () -> String
|
|
12054
|
+
end
|
|
12055
|
+
|
|
12056
|
+
class TravelRuleWalletProof < Didit::Model
|
|
12057
|
+
def proof_id: () -> String?
|
|
12058
|
+
def method_: () -> String?
|
|
12059
|
+
def status: () -> String?
|
|
12060
|
+
def wallet_address: () -> String?
|
|
12061
|
+
def chain: () -> String?
|
|
12062
|
+
def holder_name: () -> String?
|
|
12063
|
+
def is_ownership_verified: () -> bool?
|
|
12064
|
+
def transaction_id: () -> String?
|
|
12065
|
+
def file_name: () -> String?
|
|
12066
|
+
def content_type: () -> String?
|
|
12067
|
+
def screenshot_url: () -> String?
|
|
12068
|
+
def attempts: () -> Integer?
|
|
12069
|
+
def failure_reason: () -> String?
|
|
12070
|
+
def method_chosen_at: () -> Time?
|
|
12071
|
+
def decided_at: () -> Time?
|
|
12072
|
+
def decided_by: () -> String?
|
|
12073
|
+
def review_note: () -> String?
|
|
12074
|
+
def created_at: () -> Time?
|
|
12075
|
+
def application_id: () -> String?
|
|
12076
|
+
def user_id: () -> String?
|
|
12077
|
+
def holder_vendor_data: () -> String?
|
|
12078
|
+
def wallet_label: () -> String?
|
|
12079
|
+
end
|
|
12080
|
+
|
|
11812
12081
|
class TravelRuleWalletProofReview < Didit::Model
|
|
11813
12082
|
def proof_id: () -> String?
|
|
11814
12083
|
def method_: () -> String?
|
|
@@ -11828,6 +12097,27 @@ module Didit
|
|
|
11828
12097
|
def decided_by: () -> String?
|
|
11829
12098
|
def review_note: () -> String?
|
|
11830
12099
|
def created_at: () -> Time?
|
|
12100
|
+
def application_id: () -> String?
|
|
12101
|
+
def user_id: () -> String?
|
|
12102
|
+
def holder_vendor_data: () -> String?
|
|
12103
|
+
def wallet_label: () -> String?
|
|
12104
|
+
end
|
|
12105
|
+
|
|
12106
|
+
class TravelRuleWalletProofSummary < Didit::Model
|
|
12107
|
+
def proof_id: () -> String?
|
|
12108
|
+
def method_: () -> String?
|
|
12109
|
+
def status: () -> String?
|
|
12110
|
+
def failure_reason: () -> String
|
|
12111
|
+
end
|
|
12112
|
+
|
|
12113
|
+
class TravelRuleWalletProofTotals < Didit::Model
|
|
12114
|
+
def wallets: () -> Integer
|
|
12115
|
+
def customer_wallets: () -> Integer
|
|
12116
|
+
def verified_control_wallets: () -> Integer
|
|
12117
|
+
def message_signing: () -> Integer
|
|
12118
|
+
def satoshi_test: () -> Integer
|
|
12119
|
+
def screenshot: () -> Integer
|
|
12120
|
+
def self_declaration: () -> Integer
|
|
11831
12121
|
end
|
|
11832
12122
|
|
|
11833
12123
|
class TravelRuleWalletTransfer < Didit::Model
|
|
@@ -12074,13 +12364,20 @@ module Didit
|
|
|
12074
12364
|
def address_hash: () -> String?
|
|
12075
12365
|
def memo: () -> String?
|
|
12076
12366
|
def receiving_travel_address: () -> String?
|
|
12367
|
+
def ownership_proof: () -> Didit::Types::TravelRuleWalletOwnershipProof?
|
|
12368
|
+
def label: () -> String?
|
|
12369
|
+
def owner_type: () -> String?
|
|
12077
12370
|
end
|
|
12078
12371
|
|
|
12079
|
-
class
|
|
12372
|
+
class WalletAddressEntryUpdateResponse < Didit::Model
|
|
12080
12373
|
def holder_name: () -> String?
|
|
12081
12374
|
def holder_vendor_data: () -> String?
|
|
12082
12375
|
def entity_type: () -> String?
|
|
12083
12376
|
def travel_address: () -> String?
|
|
12377
|
+
def receiving_travel_address: () -> String?
|
|
12378
|
+
def label: () -> String?
|
|
12379
|
+
def owner_type: () -> String?
|
|
12380
|
+
def ownership_proof: () -> Didit::Types::TravelRuleWalletOwnershipProof?
|
|
12084
12381
|
end
|
|
12085
12382
|
|
|
12086
12383
|
class WalletAddressImportReport < Didit::Model
|
|
@@ -12234,6 +12531,20 @@ module Didit
|
|
|
12234
12531
|
def updated_at: () -> Time
|
|
12235
12532
|
end
|
|
12236
12533
|
|
|
12534
|
+
class WebhookDestinationActivity < Didit::Model
|
|
12535
|
+
def id: () -> String
|
|
12536
|
+
def `type`: () -> String
|
|
12537
|
+
def occurred_at: () -> Time
|
|
12538
|
+
def failure_count: () -> Integer
|
|
12539
|
+
end
|
|
12540
|
+
|
|
12541
|
+
class WebhookDestinationActivityList < Didit::Model
|
|
12542
|
+
def count: () -> Integer
|
|
12543
|
+
def `next`: () -> String?
|
|
12544
|
+
def previous: () -> String?
|
|
12545
|
+
def results: () -> Array[Didit::Types::WebhookDestinationActivity]
|
|
12546
|
+
end
|
|
12547
|
+
|
|
12237
12548
|
class WebhookDestinationDelivery < Didit::Model
|
|
12238
12549
|
def uuid: () -> String
|
|
12239
12550
|
def session_id: () -> String?
|
|
@@ -142,10 +142,28 @@ module Didit
|
|
|
142
142
|
def results: () -> Array[Didit::Types::TravelRuleCounterpartyContact]?
|
|
143
143
|
end
|
|
144
144
|
|
|
145
|
+
class TravelRuleDocumentsListResponse < Didit::Model
|
|
146
|
+
def count: () -> Integer?
|
|
147
|
+
def `next`: () -> String?
|
|
148
|
+
def previous: () -> String?
|
|
149
|
+
def results: () -> Array[Didit::Types::TravelRuleDocument]?
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
class TravelRuleListVaspDecisionHistoryResponse < Didit::Model
|
|
153
|
+
def count: () -> Integer?
|
|
154
|
+
def `next`: () -> String?
|
|
155
|
+
def previous: () -> String?
|
|
156
|
+
def results: () -> Array[Didit::Types::TravelRuleDecisionEvent]?
|
|
157
|
+
end
|
|
158
|
+
|
|
145
159
|
class TravelRuleListVaspReviewersResponse < Didit::Model
|
|
146
160
|
def results: () -> Array[Didit::Types::TravelRuleVaspReviewer]?
|
|
147
161
|
end
|
|
148
162
|
|
|
163
|
+
class TravelRuleListVaspSharedDocumentsResponse < Didit::Model
|
|
164
|
+
def documents: () -> Array[Didit::Types::TravelRuleDocument]?
|
|
165
|
+
end
|
|
166
|
+
|
|
149
167
|
class TravelRuleListVaspsResponse < Didit::Model
|
|
150
168
|
def count: () -> Integer?
|
|
151
169
|
def `next`: () -> String?
|
|
@@ -181,6 +199,7 @@ module Didit
|
|
|
181
199
|
def `next`: () -> String?
|
|
182
200
|
def previous: () -> String?
|
|
183
201
|
def results: () -> Array[Didit::Types::WalletAddressEntry]?
|
|
202
|
+
def proof_totals: () -> Didit::Types::TravelRuleWalletProofTotals?
|
|
184
203
|
end
|
|
185
204
|
|
|
186
205
|
class TravelRuleWalletAddressesListTransfersResponse < Didit::Model
|
|
@@ -199,12 +218,16 @@ module Didit
|
|
|
199
218
|
|
|
200
219
|
type travel_rule_assign_vasp_params = { assignee_email: String? }
|
|
201
220
|
|
|
202
|
-
type travel_rule_counterparty_contacts_create_params = { counterparty: String, email: String, ?name: String }
|
|
221
|
+
type travel_rule_counterparty_contacts_create_params = { counterparty: String, email: String, ?name: String, ?role: String, ?phone: String, ?receives_requests: bool }
|
|
222
|
+
|
|
223
|
+
type travel_rule_counterparty_contacts_update_params = { ?name: String, ?email: String, ?role: String, ?phone: String, ?receives_requests: bool }
|
|
203
224
|
|
|
204
225
|
type travel_rule_create_vasp_params = { name: String, email: String, ?lei: String, ?jurisdiction: String, ?invite: bool }
|
|
205
226
|
|
|
206
227
|
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 }
|
|
207
228
|
|
|
229
|
+
type travel_rule_documents_create_params = { kind: String, file: Didit::upload }
|
|
230
|
+
|
|
208
231
|
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] }
|
|
209
232
|
|
|
210
233
|
type travel_rule_networks_update_questionnaire_params_licences = { regulator: String, jurisdiction: String, licence_type: String, licence_number: String }
|
|
@@ -217,7 +240,9 @@ module Didit
|
|
|
217
240
|
|
|
218
241
|
type travel_rule_screen_vasp_params = { ?refresh: bool }
|
|
219
242
|
|
|
220
|
-
type travel_rule_send_vasp_questionnaire_params = { ?sent_to: String }
|
|
243
|
+
type travel_rule_send_vasp_questionnaire_params = { ?sent_to: String, ?answer_by_days: Integer, ?requested_items: Array[String] }
|
|
244
|
+
|
|
245
|
+
type travel_rule_share_vasp_documents_params = { document_ids: Array[String], ?sent_to: String }
|
|
221
246
|
|
|
222
247
|
type travel_rule_unmatched_deposits_match_params = { transaction_id: String }
|
|
223
248
|
|
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.
|
|
4
|
+
version: 2.18.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Didit
|
|
@@ -104,6 +104,7 @@ files:
|
|
|
104
104
|
- lib/didit/resources/questionnaires.rb
|
|
105
105
|
- lib/didit/resources/regulatory_reports.rb
|
|
106
106
|
- lib/didit/resources/report_templates.rb
|
|
107
|
+
- lib/didit/resources/reports.rb
|
|
107
108
|
- lib/didit/resources/sandbox.rb
|
|
108
109
|
- lib/didit/resources/sessions.rb
|
|
109
110
|
- lib/didit/resources/transactions.rb
|
|
@@ -148,6 +149,7 @@ files:
|
|
|
148
149
|
- lib/didit/types/questionnaires.rb
|
|
149
150
|
- lib/didit/types/regulatory_reports.rb
|
|
150
151
|
- lib/didit/types/report_templates.rb
|
|
152
|
+
- lib/didit/types/reports.rb
|
|
151
153
|
- lib/didit/types/sessions.rb
|
|
152
154
|
- lib/didit/types/transactions.rb
|
|
153
155
|
- lib/didit/types/travel_rule.rb
|
|
@@ -218,6 +220,7 @@ files:
|
|
|
218
220
|
- sig/didit/resources/questionnaires.rbs
|
|
219
221
|
- sig/didit/resources/regulatory_reports.rbs
|
|
220
222
|
- sig/didit/resources/report_templates.rbs
|
|
223
|
+
- sig/didit/resources/reports.rbs
|
|
221
224
|
- sig/didit/resources/sandbox.rbs
|
|
222
225
|
- sig/didit/resources/sessions.rbs
|
|
223
226
|
- sig/didit/resources/transactions.rbs
|
|
@@ -261,6 +264,7 @@ files:
|
|
|
261
264
|
- sig/didit/types/questionnaires.rbs
|
|
262
265
|
- sig/didit/types/regulatory_reports.rbs
|
|
263
266
|
- sig/didit/types/report_templates.rbs
|
|
267
|
+
- sig/didit/types/reports.rbs
|
|
264
268
|
- sig/didit/types/sessions.rbs
|
|
265
269
|
- sig/didit/types/transactions.rbs
|
|
266
270
|
- sig/didit/types/travel_rule.rbs
|