didit-sdk 2.10.0 → 2.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2349,6 +2349,31 @@ module Didit
2349
2349
  VALUES: Array[String]
2350
2350
  end
2351
2351
 
2352
+ module SandboxScenarioDefaultStatus
2353
+ APPROVED: String
2354
+ DECLINED: String
2355
+ IN_REVIEW: String
2356
+
2357
+ VALUES: Array[String]
2358
+ end
2359
+
2360
+ module SandboxScenarioGroup
2361
+ ID_DOCUMENT: String
2362
+ SELFIE: String
2363
+ PHONE_EMAIL: String
2364
+ ADDRESS: String
2365
+ QUESTIONNAIRE: String
2366
+ DATABASE: String
2367
+ AML: String
2368
+ BANK: String
2369
+ LOCATION: String
2370
+ SIGNATURE: String
2371
+ COMPANY: String
2372
+ OTHER: String
2373
+
2374
+ VALUES: Array[String]
2375
+ end
2376
+
2352
2377
  module SandboxSimulateResponsePreviousStatus
2353
2378
  NOT_STARTED: String
2354
2379
  IN_PROGRESS: String
@@ -2374,6 +2399,65 @@ module Didit
2374
2399
  VALUES: Array[String]
2375
2400
  end
2376
2401
 
2402
+ module SandboxTestVaspDefaultScenario
2403
+ ACCEPT: String
2404
+ DECLINE: String
2405
+ NAME_MISMATCH: String
2406
+ NOT_REACHABLE: String
2407
+ TIMEOUT: String
2408
+ SELF_HOSTED: String
2409
+
2410
+ VALUES: Array[String]
2411
+ end
2412
+
2413
+ module SandboxTestVaspInboundScenarios
2414
+ ACCEPT: String
2415
+ NAME_MISMATCH: String
2416
+
2417
+ VALUES: Array[String]
2418
+ end
2419
+
2420
+ module SandboxTestVaspRoutes
2421
+ TEST_VASP: String
2422
+
2423
+ VALUES: Array[String]
2424
+ end
2425
+
2426
+ module SandboxTestVaspScenarioRoute
2427
+ TEST_VASP: String
2428
+
2429
+ VALUES: Array[String]
2430
+ end
2431
+
2432
+ module SandboxTestVaspScenarioSlug
2433
+ ACCEPT: String
2434
+ DECLINE: String
2435
+ NAME_MISMATCH: String
2436
+ NOT_REACHABLE: String
2437
+ TIMEOUT: String
2438
+ SELF_HOSTED: String
2439
+
2440
+ VALUES: Array[String]
2441
+ end
2442
+
2443
+ module SandboxTestVaspScenarioTravelRuleStatus
2444
+ AWAITING_COUNTERPARTY: String
2445
+ ON_HOLD: String
2446
+ COMPLETED: String
2447
+ FINISHED: String
2448
+ CANCELLED: String
2449
+ EXPIRED: String
2450
+ COUNTERPARTY_MISMATCHED_DATA: String
2451
+ COUNTERPARTY_VASP_NOT_FOUND: String
2452
+ COUNTERPARTY_VASP_NOT_REACHABLE: String
2453
+ UNCONFIRMED_OWNERSHIP: String
2454
+ COUNTERPARTY_VASP_GENERAL_DECLINE: String
2455
+ NOT_ENOUGH_COUNTERPARTY_DATA: String
2456
+ NOT_APPLICABLE: String
2457
+
2458
+ VALUES: Array[String]
2459
+ end
2460
+
2377
2461
  module SessionDecisionBiometricConsentDeclineReason
2378
2462
  BIOMETRIC_CONSENT_DECLINED: String
2379
2463
 
@@ -4157,6 +4241,16 @@ module Didit
4157
4241
  VALUES: Array[String]
4158
4242
  end
4159
4243
 
4244
+ module TransactionTravelRuleProofState
4245
+ NOT_REQUIRED: String
4246
+ CONFIRMED: String
4247
+ NOT_CONFIRMED: String
4248
+ REQUESTED: String
4249
+ NOT_REQUESTED: String
4250
+
4251
+ VALUES: Array[String]
4252
+ end
4253
+
4160
4254
  module TravelRuleChainDetailsNotApplicableReason
4161
4255
  LIGHTNING_NO_PAYEE_IDENTIFIER: String
4162
4256
  LIGHTNING_BOL_T12_BLINDED_PAYEE: String
@@ -4676,6 +4770,16 @@ module Didit
4676
4770
  VALUES: Array[String]
4677
4771
  end
4678
4772
 
4773
+ module TravelRuleTransferDetailProofState
4774
+ NOT_REQUIRED: String
4775
+ CONFIRMED: String
4776
+ NOT_CONFIRMED: String
4777
+ REQUESTED: String
4778
+ NOT_REQUESTED: String
4779
+
4780
+ VALUES: Array[String]
4781
+ end
4782
+
4679
4783
  module TravelRuleTransferDetailRail
4680
4784
  INTERNAL: String
4681
4785
  TRP: String
@@ -4804,6 +4908,14 @@ module Didit
4804
4908
  VALUES: Array[String]
4805
4909
  end
4806
4910
 
4911
+ module TravelRuleWorkspaceClaimRejectionReason
4912
+ VALUE: String
4913
+ DOMAIN_MISMATCH: String
4914
+ OTHER: String
4915
+
4916
+ VALUES: Array[String]
4917
+ end
4918
+
4807
4919
  module TravelRuleWorkspaceClaimStatus
4808
4920
  UNCLAIMED: String
4809
4921
  PENDING_REVIEW: String
@@ -4829,6 +4941,13 @@ module Didit
4829
4941
  VALUES: Array[String]
4830
4942
  end
4831
4943
 
4944
+ module TravelRuleWorkspaceOutboundPriceSource
4945
+ PLAN: String
4946
+ CONTRACT: String
4947
+
4948
+ VALUES: Array[String]
4949
+ end
4950
+
4832
4951
  module UserDetailItemCommentsCommentType
4833
4952
  COMMENT: String
4834
4953
  STATUS_CHANGED: String
@@ -8464,6 +8583,89 @@ module Didit
8464
8583
  def value: () -> untyped
8465
8584
  end
8466
8585
 
8586
+ class SandboxDeliveryConventions < Didit::Model
8587
+ def email_optin: () -> Didit::Types::SandboxDeliveryConventionsEmailOptin
8588
+ def phone_otp_code: () -> Didit::Types::SandboxOtpConvention
8589
+ def email_otp_code: () -> Didit::Types::SandboxOtpConvention
8590
+ end
8591
+
8592
+ class SandboxDeliveryConventionsEmailOptin < Didit::Model
8593
+ def description: () -> String
8594
+ def patterns: () -> Array[Didit::Types::SandboxDeliveryConventionsEmailOptinPatterns]
8595
+ end
8596
+
8597
+ class SandboxDeliveryConventionsEmailOptinPatterns < Didit::Model
8598
+ def pattern: () -> String
8599
+ def example: () -> String
8600
+ end
8601
+
8602
+ class SandboxMagicValue < Didit::Model
8603
+ def risk: () -> String
8604
+ def feature: () -> String
8605
+ def input_field: () -> String
8606
+ def magic_value: () -> String
8607
+ def description: () -> String
8608
+ end
8609
+
8610
+ class SandboxOtpConvention < Didit::Model
8611
+ def description: () -> String
8612
+ def value: () -> String
8613
+ end
8614
+
8615
+ class SandboxRiskCase < Didit::Model
8616
+ def risk: () -> String
8617
+ def feature: () -> String
8618
+ def status_path: () -> String
8619
+ def default_status: () -> String
8620
+ end
8621
+
8622
+ class SandboxSampleDocument < Didit::Model
8623
+ def sandbox_sample: () -> String?
8624
+ def document_name: () -> String
8625
+ def is_default: () -> bool
8626
+ def first_name: () -> String?
8627
+ def last_name: () -> String?
8628
+ def date_of_birth: () -> String?
8629
+ def gender: () -> String?
8630
+ def nationality: () -> String?
8631
+ def id_country: () -> String?
8632
+ def identification_number: () -> String?
8633
+ end
8634
+
8635
+ class SandboxSampleIdentity < Didit::Model
8636
+ def date_of_birth: () -> String
8637
+ def date_of_issue: () -> String
8638
+ def date_of_expiry: () -> String
8639
+ def documents: () -> Array[Didit::Types::SandboxSampleDocument]
8640
+ end
8641
+
8642
+ class SandboxScenario < Didit::Model
8643
+ def slug: () -> String
8644
+ def title: () -> String
8645
+ def description: () -> String
8646
+ def default_status: () -> String
8647
+ def steps: () -> Array[String]
8648
+ def group: () -> String
8649
+ def magic_inputs: () -> Hash[String, String]
8650
+ def warnings: () -> Array[Didit::Types::SandboxScenarioWarning]
8651
+ end
8652
+
8653
+ class SandboxScenarioCatalog < Didit::Model
8654
+ def scenarios: () -> Array[Didit::Types::SandboxScenario]
8655
+ def magic_values: () -> Array[Didit::Types::SandboxMagicValue]
8656
+ def risk_cases: () -> Array[Didit::Types::SandboxRiskCase]
8657
+ def sample_identity: () -> Didit::Types::SandboxSampleIdentity
8658
+ def delivery_conventions: () -> Didit::Types::SandboxDeliveryConventions
8659
+ def travel_rule: () -> Didit::Types::SandboxTestVasp
8660
+ end
8661
+
8662
+ class SandboxScenarioWarning < Didit::Model
8663
+ def risk: () -> String
8664
+ def feature: () -> String
8665
+ def input_field: () -> String
8666
+ def magic_value: () -> String
8667
+ end
8668
+
8467
8669
  class SandboxSimulateResponse < Didit::Model
8468
8670
  def session_id: () -> String
8469
8671
  def previous_status: () -> String
@@ -8473,6 +8675,33 @@ module Didit
8473
8675
  def send_webhooks: () -> bool
8474
8676
  end
8475
8677
 
8678
+ class SandboxTestVasp < Didit::Model
8679
+ def legal_name: () -> String
8680
+ def lei: () -> String
8681
+ def jurisdiction: () -> String
8682
+ def compliance_email: () -> String
8683
+ def travel_address: () -> String
8684
+ def network_codes: () -> Hash[String, String]
8685
+ def routes: () -> Array[String]
8686
+ def chain: () -> String
8687
+ def timeout_window_seconds: () -> Integer
8688
+ def default_scenario: () -> String
8689
+ def inbound_scenarios: () -> Array[String]
8690
+ def scenarios: () -> Array[Didit::Types::SandboxTestVaspScenario]
8691
+ end
8692
+
8693
+ class SandboxTestVaspScenario < Didit::Model
8694
+ def slug: () -> String
8695
+ def route: () -> String
8696
+ def title: () -> String
8697
+ def description: () -> String
8698
+ def beneficiary_name: () -> String
8699
+ def beneficiary_wallet_address: () -> String
8700
+ def chain: () -> String
8701
+ def travel_rule_status: () -> String
8702
+ def answers: () -> bool
8703
+ end
8704
+
8476
8705
  class SessionDecision < Didit::Model
8477
8706
  def session_id: () -> String?
8478
8707
  def session_kind: () -> String?
@@ -10695,6 +10924,8 @@ module Didit
10695
10924
  def reason: () -> String?
10696
10925
  def next_actions: () -> Array[Didit::Types::TravelRuleNextAction]?
10697
10926
  def chain_details: () -> Didit::Types::TravelRuleChainDetails?
10927
+ def not_required_reason: () -> String?
10928
+ def proof_state: () -> String?
10698
10929
  end
10699
10930
 
10700
10931
  class TransactionTravelRuleCounterpartyVasp < Didit::Model
@@ -11029,6 +11260,7 @@ module Didit
11029
11260
  class TravelRuleSettingsDetail < Didit::Model
11030
11261
  def is_enabled: () -> bool?
11031
11262
  def jurisdiction: () -> String?
11263
+ def vasp_jurisdiction: () -> String?
11032
11264
  def name_matching_strictness: () -> String?
11033
11265
  def confirmation_timeout_hours: () -> Integer?
11034
11266
  def timeout_outcome: () -> String?
@@ -11054,6 +11286,7 @@ module Didit
11054
11286
  def disabled_networks: () -> Array[String]?
11055
11287
  def networks: () -> Didit::Types::TravelRuleSettingsDetailNetworks?
11056
11288
  def didit_network: () -> Didit::Types::TravelRuleSettingsDetailDiditNetwork?
11289
+ def licence: () -> String?
11057
11290
  end
11058
11291
 
11059
11292
  class TravelRuleSettingsDetailDiditNetwork < Didit::Model
@@ -11104,6 +11337,8 @@ module Didit
11104
11337
  def reason: () -> String?
11105
11338
  def next_actions: () -> Array[Didit::Types::TravelRuleNextAction]?
11106
11339
  def chain_details: () -> Didit::Types::TravelRuleChainDetails?
11340
+ def not_required_reason: () -> String?
11341
+ def proof_state: () -> String?
11107
11342
  end
11108
11343
 
11109
11344
  class TravelRuleTransferDetailCounterpartyVasp < Didit::Model
@@ -11150,6 +11385,8 @@ module Didit
11150
11385
  def originator_wallet_type: () -> String?
11151
11386
  def beneficiary_wallet_type: () -> String?
11152
11387
  def matched_transaction_id: () -> String?
11388
+ def scenario: () -> String?
11389
+ def webhooks_count: () -> Integer?
11153
11390
  def deadline_at: () -> Time?
11154
11391
  def created_at: () -> Time?
11155
11392
  end
@@ -11200,6 +11437,8 @@ module Didit
11200
11437
  def billing_enabled_at: () -> Time?
11201
11438
  def didit_network: () -> Hash[String, untyped]?
11202
11439
  def settings: () -> Didit::Types::TravelRuleSettingsDetail?
11440
+ def outbound_price: () -> Didit::Types::TravelRuleWorkspaceOutboundPrice?
11441
+ def licence: () -> String?
11203
11442
  end
11204
11443
 
11205
11444
  class TravelRuleWorkspaceClaim < Didit::Model
@@ -11210,6 +11449,8 @@ module Didit
11210
11449
  def review_note: () -> String?
11211
11450
  def vasp_id: () -> String?
11212
11451
  def vasp_name: () -> String?
11452
+ def licence: () -> String?
11453
+ def rejection_reason: () -> String?
11213
11454
  end
11214
11455
 
11215
11456
  class TravelRuleWorkspaceDomain < Didit::Model
@@ -11225,6 +11466,15 @@ module Didit
11225
11466
  def txt: () -> Didit::Types::TravelRuleWorkspaceTxtRecord?
11226
11467
  end
11227
11468
 
11469
+ class TravelRuleWorkspaceOutboundPrice < Didit::Model
11470
+ def list_price: () -> String
11471
+ def effective_price: () -> String?
11472
+ def currency: () -> String
11473
+ def discount_pct: () -> Float
11474
+ def product: () -> String
11475
+ def source: () -> String
11476
+ end
11477
+
11228
11478
  class TravelRuleWorkspaceTxtRecord < Didit::Model
11229
11479
  def host: () -> String?
11230
11480
  def value: () -> String?
@@ -11458,6 +11708,8 @@ module Didit
11458
11708
  def pep_counterparty: () -> bool?
11459
11709
  def dominant_risk_category: () -> String?
11460
11710
  def risk_factors: () -> Array[Didit::Types::WalletScreeningResultRiskFactors]?
11711
+ def fallback_from_provider: () -> String?
11712
+ def fallback_reason: () -> String?
11461
11713
  def raw_response: () -> Hash[String, untyped]?
11462
11714
  def report_signature: () -> String
11463
11715
  end
@@ -11763,7 +12015,7 @@ module Didit
11763
12015
 
11764
12016
  type wallet_address_import_row = { ?address: String, ?address_hash: String, ?chain: String, ?memo: String, ?holder_name: String, ?holder_vendor_data: String, ?entity_type: String, ?label: String, ?owner_type: String, ?travel_address: String, ?self_declared: bool }
11765
12017
 
11766
- type wallet_screening_result = { provider: String, screening_type: String, risk_score: Integer, severity: String, status: String, summary: String, wallet_address: String, ?transaction_hash: String?, blockchain: String, ?block_timestamp: String?, ?total_value_usd: (Float | Integer)?, ?fee_usd: (Float | Integer)?, ?sender_rows: Array[Hash[String | Symbol, untyped]], ?receiver_rows: Array[Hash[String | Symbol, untyped]], ?transaction_flows: Array[Hash[String | Symbol, untyped]], ?transaction_flows_status: String?, ?transaction_flows_error: String?, source_of_funds: Array[Didit::Types::wallet_screening_result_source_of_funds], destination_of_funds: Array[Didit::Types::wallet_screening_result_destination_of_funds], counterparty_connections: Array[Didit::Types::wallet_screening_result_counterparty_connections], ?network_nodes: Array[Hash[String | Symbol, untyped]], ?network_edges: Array[Hash[String | Symbol, untyped]], sanctions_hit: bool, ?pep_counterparty: bool?, dominant_risk_category: String?, ?risk_factors: Array[Didit::Types::wallet_screening_result_risk_factors], ?raw_response: Hash[String | Symbol, untyped], report_signature: String }
12018
+ type wallet_screening_result = { provider: String, screening_type: String, risk_score: Integer, severity: String, status: String, summary: String, wallet_address: String, ?transaction_hash: String?, blockchain: String, ?block_timestamp: String?, ?total_value_usd: (Float | Integer)?, ?fee_usd: (Float | Integer)?, ?sender_rows: Array[Hash[String | Symbol, untyped]], ?receiver_rows: Array[Hash[String | Symbol, untyped]], ?transaction_flows: Array[Hash[String | Symbol, untyped]], ?transaction_flows_status: String?, ?transaction_flows_error: String?, source_of_funds: Array[Didit::Types::wallet_screening_result_source_of_funds], destination_of_funds: Array[Didit::Types::wallet_screening_result_destination_of_funds], counterparty_connections: Array[Didit::Types::wallet_screening_result_counterparty_connections], ?network_nodes: Array[Hash[String | Symbol, untyped]], ?network_edges: Array[Hash[String | Symbol, untyped]], sanctions_hit: bool, ?pep_counterparty: bool?, dominant_risk_category: String?, ?risk_factors: Array[Didit::Types::wallet_screening_result_risk_factors], ?fallback_from_provider: String?, ?fallback_reason: String?, ?raw_response: Hash[String | Symbol, untyped], report_signature: String }
11767
12019
 
11768
12020
  type wallet_screening_result_counterparty_connections = { ?entity_name: String?, ?entity_type: String?, ?entity_subtype: String?, ?risk_level: String, ?categories: Array[String], ?received_usd: (Float | Integer)?, ?sent_usd: (Float | Integer)?, ?received_hops: Integer?, ?sent_hops: Integer?, ?percentage: Float | Integer, ?is_direct: bool, ?country: String?, ?provider_entity_id: String? }
11769
12021
 
@@ -1800,7 +1800,7 @@ module Didit
1800
1800
 
1801
1801
  type sessions_update_poa_data_params_poa_parsed_address = { ?address_type: String?, ?city: String?, ?region: String?, ?street_1: String?, ?street_2: String?, ?postal_code: String?, ?country: String? }
1802
1802
 
1803
- type sessions_update_status_params = { new_status: String, ?comment: String, ?nodes_to_resubmit: Array[Didit::Types::sessions_update_status_params_nodes_to_resubmit], ?send_email: bool, ?email_address: String, ?email_language: String, ?email_preview_token: String }
1803
+ type sessions_update_status_params = { new_status: String, ?comment: String, ?nodes_to_resubmit: Array[Didit::Types::sessions_update_status_params_nodes_to_resubmit], ?send_email: bool, ?email_address: String, ?email_language: String, ?email_preview_token: String, ?link_to_session_id: String, ?link_reason: String }
1804
1804
 
1805
1805
  type sessions_update_status_params_nodes_to_resubmit = { node_id: String, feature: String }
1806
1806
 
@@ -176,7 +176,7 @@ module Didit
176
176
 
177
177
  type travel_rule_unmatched_deposits_match_params = { transaction_id: String }
178
178
 
179
- type travel_rule_update_settings_params = { ?is_enabled: bool, ?legal_name: String, ?lei: String, ?jurisdiction: String, ?name_matching_strictness: String, ?confirmation_timeout_hours: Integer, ?timeout_outcome: String, ?compliance_email: String, ?is_discoverable: bool, ?threshold_amount: String, ?ownership_validation_mode: String, ?simplified_validation_threshold: String, ?data_sharing_fields: Didit::Types::travel_rule_data_sharing_fields, ?matching_rules: Didit::Types::travel_rule_matching_rules, ?inbound_auto_accept: bool, ?allow_self_declaration: bool, ?allow_screenshot_proof: bool, ?auto_wallet_verification: bool, ?vasp_attribution_enabled: bool, ?counterparty_screening_enabled: bool, ?sunrise_policy: String, ?non_responsive_policy: String, ?disabled_networks: Array[String] }
179
+ type travel_rule_update_settings_params = { ?is_enabled: bool, ?legal_name: String, ?lei: String, ?jurisdiction: String, ?vasp_jurisdiction: String, ?name_matching_strictness: String, ?confirmation_timeout_hours: Integer, ?timeout_outcome: String, ?compliance_email: String, ?is_discoverable: bool, ?threshold_amount: String, ?ownership_validation_mode: String, ?simplified_validation_threshold: String, ?data_sharing_fields: Didit::Types::travel_rule_data_sharing_fields, ?matching_rules: Didit::Types::travel_rule_matching_rules, ?inbound_auto_accept: bool, ?allow_self_declaration: bool, ?allow_screenshot_proof: bool, ?auto_wallet_verification: bool, ?vasp_attribution_enabled: bool, ?counterparty_screening_enabled: bool, ?sunrise_policy: String, ?non_responsive_policy: String, ?disabled_networks: Array[String], ?licence: String }
180
180
 
181
181
  type travel_rule_update_vasp_decision_params = { decision: String, ?reason: String }
182
182
 
@@ -188,7 +188,7 @@ module Didit
188
188
 
189
189
  type travel_rule_wallet_proofs_decide_params = { decision: String, ?note: String }
190
190
 
191
- type travel_rule_workspace_claim_params = { vasp_id: String }
191
+ type travel_rule_workspace_claim_params = { vasp_id: String, ?licence: String }
192
192
 
193
193
  type travel_rule_workspace_confirm_domain_params = { code: String }
194
194
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: didit-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.0
4
+ version: 2.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didit
@@ -44,6 +44,7 @@ files:
44
44
  - lib/didit-sdk.rb
45
45
  - lib/didit.rb
46
46
  - lib/didit/authentication.rb
47
+ - lib/didit/authentication/agent_consent_request.rb
47
48
  - lib/didit/authentication/base64_url.rb
48
49
  - lib/didit/authentication/cache.rb
49
50
  - lib/didit/authentication/http.rb
@@ -103,6 +104,7 @@ files:
103
104
  - lib/didit/resources/questionnaires.rb
104
105
  - lib/didit/resources/regulatory_reports.rb
105
106
  - lib/didit/resources/report_templates.rb
107
+ - lib/didit/resources/sandbox.rb
106
108
  - lib/didit/resources/sessions.rb
107
109
  - lib/didit/resources/transactions.rb
108
110
  - lib/didit/resources/travel_rule.rb
@@ -162,6 +164,7 @@ files:
162
164
  - lib/didit/webhooks/verifier.rb
163
165
  - sig/didit.rbs
164
166
  - sig/didit/authentication.rbs
167
+ - sig/didit/authentication/agent_consent_request.rbs
165
168
  - sig/didit/authentication/base64_url.rbs
166
169
  - sig/didit/authentication/cache.rbs
167
170
  - sig/didit/authentication/http.rbs
@@ -215,6 +218,7 @@ files:
215
218
  - sig/didit/resources/questionnaires.rbs
216
219
  - sig/didit/resources/regulatory_reports.rbs
217
220
  - sig/didit/resources/report_templates.rbs
221
+ - sig/didit/resources/sandbox.rbs
218
222
  - sig/didit/resources/sessions.rbs
219
223
  - sig/didit/resources/transactions.rbs
220
224
  - sig/didit/resources/travel_rule.rbs