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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/README.md +6 -1
- data/lib/didit/authentication/agent_consent_request.rb +76 -0
- data/lib/didit/authentication/types.rb +58 -0
- data/lib/didit/authentication.rb +49 -3
- data/lib/didit/resources/account.rb +26 -2
- data/lib/didit/resources/sandbox.rb +33 -0
- data/lib/didit/resources/sessions.rb +31 -5
- data/lib/didit/resources/travel_rule.rb +16 -3
- data/lib/didit/resources/wallet_screening.rb +16 -1
- data/lib/didit/resources.rb +6 -0
- data/lib/didit/types/account_components.rb +1 -0
- data/lib/didit/types/components.rb +270 -0
- data/lib/didit/types.rb +26 -0
- data/lib/didit/version.rb +1 -1
- data/sig/didit/authentication/agent_consent_request.rbs +19 -0
- data/sig/didit/authentication/types.rbs +26 -0
- data/sig/didit/authentication.rbs +7 -1
- data/sig/didit/resources/account.rbs +2 -2
- data/sig/didit/resources/sandbox.rbs +9 -0
- data/sig/didit/resources/sessions.rbs +1 -1
- data/sig/didit/resources/travel_rule.rbs +2 -2
- data/sig/didit/resources/wallet_screening.rbs +2 -2
- data/sig/didit/resources.rbs +1 -0
- data/sig/didit/types/account.rbs +2 -2
- data/sig/didit/types/account_components.rbs +1 -0
- data/sig/didit/types/components.rbs +253 -1
- data/sig/didit/types/sessions.rbs +1 -1
- data/sig/didit/types/travel_rule.rbs +2 -2
- metadata +5 -1
|
@@ -2821,6 +2821,33 @@ module Didit
|
|
|
2821
2821
|
VALUES = [EQUALS, IN, CONTAINS].freeze
|
|
2822
2822
|
end
|
|
2823
2823
|
|
|
2824
|
+
# The session status the scenario settles on.
|
|
2825
|
+
module SandboxScenarioDefaultStatus
|
|
2826
|
+
APPROVED = "Approved"
|
|
2827
|
+
DECLINED = "Declined"
|
|
2828
|
+
IN_REVIEW = "In Review"
|
|
2829
|
+
|
|
2830
|
+
VALUES = [APPROVED, DECLINED, IN_REVIEW].freeze
|
|
2831
|
+
end
|
|
2832
|
+
|
|
2833
|
+
# The picker group the scenario is listed under.
|
|
2834
|
+
module SandboxScenarioGroup
|
|
2835
|
+
ID_DOCUMENT = "id_document"
|
|
2836
|
+
SELFIE = "selfie"
|
|
2837
|
+
PHONE_EMAIL = "phone_email"
|
|
2838
|
+
ADDRESS = "address"
|
|
2839
|
+
QUESTIONNAIRE = "questionnaire"
|
|
2840
|
+
DATABASE = "database"
|
|
2841
|
+
AML = "aml"
|
|
2842
|
+
BANK = "bank"
|
|
2843
|
+
LOCATION = "location"
|
|
2844
|
+
SIGNATURE = "signature"
|
|
2845
|
+
COMPANY = "company"
|
|
2846
|
+
OTHER = "other"
|
|
2847
|
+
|
|
2848
|
+
VALUES = [ID_DOCUMENT, SELFIE, PHONE_EMAIL, ADDRESS, QUESTIONNAIRE, DATABASE, AML, BANK, LOCATION, SIGNATURE, COMPANY, OTHER].freeze
|
|
2849
|
+
end
|
|
2850
|
+
|
|
2824
2851
|
# The session's status before the simulation.
|
|
2825
2852
|
module SandboxSimulateResponsePreviousStatus
|
|
2826
2853
|
NOT_STARTED = "Not Started"
|
|
@@ -2848,6 +2875,71 @@ module Didit
|
|
|
2848
2875
|
VALUES = [APPROVED, DECLINED, IN_REVIEW, EXPIRED, ABANDONED].freeze
|
|
2849
2876
|
end
|
|
2850
2877
|
|
|
2878
|
+
# The scenario used when no trigger names one.
|
|
2879
|
+
module SandboxTestVaspDefaultScenario
|
|
2880
|
+
ACCEPT = "accept"
|
|
2881
|
+
DECLINE = "decline"
|
|
2882
|
+
NAME_MISMATCH = "name_mismatch"
|
|
2883
|
+
NOT_REACHABLE = "not_reachable"
|
|
2884
|
+
TIMEOUT = "timeout"
|
|
2885
|
+
SELF_HOSTED = "self_hosted"
|
|
2886
|
+
|
|
2887
|
+
VALUES = [ACCEPT, DECLINE, NAME_MISMATCH, NOT_REACHABLE, TIMEOUT, SELF_HOSTED].freeze
|
|
2888
|
+
end
|
|
2889
|
+
|
|
2890
|
+
# Known values of an open enum: the API may send others.
|
|
2891
|
+
module SandboxTestVaspInboundScenarios
|
|
2892
|
+
ACCEPT = "accept"
|
|
2893
|
+
NAME_MISMATCH = "name_mismatch"
|
|
2894
|
+
|
|
2895
|
+
VALUES = [ACCEPT, NAME_MISMATCH].freeze
|
|
2896
|
+
end
|
|
2897
|
+
|
|
2898
|
+
# Known values of an open enum: the API may send others.
|
|
2899
|
+
module SandboxTestVaspRoutes
|
|
2900
|
+
TEST_VASP = "TEST_VASP"
|
|
2901
|
+
|
|
2902
|
+
VALUES = [TEST_VASP].freeze
|
|
2903
|
+
end
|
|
2904
|
+
|
|
2905
|
+
# The rail this scenario answers over. It is always `TEST_VASP`, which runs in process inside Didit.
|
|
2906
|
+
module SandboxTestVaspScenarioRoute
|
|
2907
|
+
TEST_VASP = "TEST_VASP"
|
|
2908
|
+
|
|
2909
|
+
VALUES = [TEST_VASP].freeze
|
|
2910
|
+
end
|
|
2911
|
+
|
|
2912
|
+
# Scenario slug.
|
|
2913
|
+
module SandboxTestVaspScenarioSlug
|
|
2914
|
+
ACCEPT = "accept"
|
|
2915
|
+
DECLINE = "decline"
|
|
2916
|
+
NAME_MISMATCH = "name_mismatch"
|
|
2917
|
+
NOT_REACHABLE = "not_reachable"
|
|
2918
|
+
TIMEOUT = "timeout"
|
|
2919
|
+
SELF_HOSTED = "self_hosted"
|
|
2920
|
+
|
|
2921
|
+
VALUES = [ACCEPT, DECLINE, NAME_MISMATCH, NOT_REACHABLE, TIMEOUT, SELF_HOSTED].freeze
|
|
2922
|
+
end
|
|
2923
|
+
|
|
2924
|
+
# The status the exchange ends at.
|
|
2925
|
+
module SandboxTestVaspScenarioTravelRuleStatus
|
|
2926
|
+
AWAITING_COUNTERPARTY = "AWAITING_COUNTERPARTY"
|
|
2927
|
+
ON_HOLD = "ON_HOLD"
|
|
2928
|
+
COMPLETED = "COMPLETED"
|
|
2929
|
+
FINISHED = "FINISHED"
|
|
2930
|
+
CANCELLED = "CANCELLED"
|
|
2931
|
+
EXPIRED = "EXPIRED"
|
|
2932
|
+
COUNTERPARTY_MISMATCHED_DATA = "COUNTERPARTY_MISMATCHED_DATA"
|
|
2933
|
+
COUNTERPARTY_VASP_NOT_FOUND = "COUNTERPARTY_VASP_NOT_FOUND"
|
|
2934
|
+
COUNTERPARTY_VASP_NOT_REACHABLE = "COUNTERPARTY_VASP_NOT_REACHABLE"
|
|
2935
|
+
UNCONFIRMED_OWNERSHIP = "UNCONFIRMED_OWNERSHIP"
|
|
2936
|
+
COUNTERPARTY_VASP_GENERAL_DECLINE = "COUNTERPARTY_VASP_GENERAL_DECLINE"
|
|
2937
|
+
NOT_ENOUGH_COUNTERPARTY_DATA = "NOT_ENOUGH_COUNTERPARTY_DATA"
|
|
2938
|
+
NOT_APPLICABLE = "NOT_APPLICABLE"
|
|
2939
|
+
|
|
2940
|
+
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
|
|
2941
|
+
end
|
|
2942
|
+
|
|
2851
2943
|
# `BIOMETRIC_CONSENT_DECLINED` when a recorded decline ended the session, otherwise `null`.
|
|
2852
2944
|
module SessionDecisionBiometricConsentDeclineReason
|
|
2853
2945
|
BIOMETRIC_CONSENT_DECLINED = "BIOMETRIC_CONSENT_DECLINED"
|
|
@@ -4954,6 +5046,19 @@ module Didit
|
|
|
4954
5046
|
VALUES = [INBOUND, OUTBOUND].freeze
|
|
4955
5047
|
end
|
|
4956
5048
|
|
|
5049
|
+
# not_required when the transfer is not required; otherwise confirmed or not_confirmed follows
|
|
5050
|
+
# ownership_confirmed. With no verdict, requested means an active outbound ownership widget matches this transfer
|
|
5051
|
+
# and subject; otherwise not_requested. A request is not completed proof.
|
|
5052
|
+
module TransactionTravelRuleProofState
|
|
5053
|
+
NOT_REQUIRED = "not_required"
|
|
5054
|
+
CONFIRMED = "confirmed"
|
|
5055
|
+
NOT_CONFIRMED = "not_confirmed"
|
|
5056
|
+
REQUESTED = "requested"
|
|
5057
|
+
NOT_REQUESTED = "not_requested"
|
|
5058
|
+
|
|
5059
|
+
VALUES = [NOT_REQUIRED, CONFIRMED, NOT_CONFIRMED, REQUESTED, NOT_REQUESTED].freeze
|
|
5060
|
+
end
|
|
5061
|
+
|
|
4957
5062
|
# On an outbound Lightning transfer whose payment request names no payee: why the transfer is `NOT_APPLICABLE`.
|
|
4958
5063
|
# `LIGHTNING_NO_PAYEE_IDENTIFIER` (the request names no payee node, or could not be decoded),
|
|
4959
5064
|
# `LIGHTNING_BOLT12_BLINDED_PAYEE` (the offer hides its payee behind blinded paths),
|
|
@@ -5586,6 +5691,19 @@ module Didit
|
|
|
5586
5691
|
VALUES = [INBOUND, OUTBOUND].freeze
|
|
5587
5692
|
end
|
|
5588
5693
|
|
|
5694
|
+
# not_required when the transfer is not required; otherwise confirmed or not_confirmed follows
|
|
5695
|
+
# ownership_confirmed. With no verdict, requested means an active outbound ownership widget matches this transfer
|
|
5696
|
+
# and subject; otherwise not_requested. A request is not completed proof.
|
|
5697
|
+
module TravelRuleTransferDetailProofState
|
|
5698
|
+
NOT_REQUIRED = "not_required"
|
|
5699
|
+
CONFIRMED = "confirmed"
|
|
5700
|
+
NOT_CONFIRMED = "not_confirmed"
|
|
5701
|
+
REQUESTED = "requested"
|
|
5702
|
+
NOT_REQUESTED = "not_requested"
|
|
5703
|
+
|
|
5704
|
+
VALUES = [NOT_REQUIRED, CONFIRMED, NOT_CONFIRMED, REQUESTED, NOT_REQUESTED].freeze
|
|
5705
|
+
end
|
|
5706
|
+
|
|
5589
5707
|
# The rail the transfer was routed over, or null when no rail was selected (for example below the threshold, a
|
|
5590
5708
|
# self-hosted counterparty wallet, an after-deposit registration, or no reachable counterparty). INTERNAL means
|
|
5591
5709
|
# both sides are Didit applications; EMAIL means the counterparty was reached by an emailed pickup link. TEST_VASP
|
|
@@ -5745,6 +5863,16 @@ module Didit
|
|
|
5745
5863
|
VALUES = [PENDING, VERIFIED, REJECTED, EXPIRED].freeze
|
|
5746
5864
|
end
|
|
5747
5865
|
|
|
5866
|
+
# Structured rejection reason. Empty when none was recorded; a new claim or approval clears it. Read review_note
|
|
5867
|
+
# for the explanation.
|
|
5868
|
+
module TravelRuleWorkspaceClaimRejectionReason
|
|
5869
|
+
VALUE = ""
|
|
5870
|
+
DOMAIN_MISMATCH = "domain_mismatch"
|
|
5871
|
+
OTHER = "other"
|
|
5872
|
+
|
|
5873
|
+
VALUES = [VALUE, DOMAIN_MISMATCH, OTHER].freeze
|
|
5874
|
+
end
|
|
5875
|
+
|
|
5748
5876
|
# Known values of an open enum: the API may send others.
|
|
5749
5877
|
module TravelRuleWorkspaceClaimStatus
|
|
5750
5878
|
UNCLAIMED = "unclaimed"
|
|
@@ -5773,6 +5901,14 @@ module Didit
|
|
|
5773
5901
|
VALUES = [UNVERIFIED, CODE_SENT, VERIFIED].freeze
|
|
5774
5902
|
end
|
|
5775
5903
|
|
|
5904
|
+
# Whether the quote comes from the plan or account contract.
|
|
5905
|
+
module TravelRuleWorkspaceOutboundPriceSource
|
|
5906
|
+
PLAN = "plan"
|
|
5907
|
+
CONTRACT = "contract"
|
|
5908
|
+
|
|
5909
|
+
VALUES = [PLAN, CONTRACT].freeze
|
|
5910
|
+
end
|
|
5911
|
+
|
|
5776
5912
|
# Known values of an open enum: the API may send others.
|
|
5777
5913
|
module UserDetailItemCommentsCommentType
|
|
5778
5914
|
COMMENT = "COMMENT"
|
|
@@ -9681,6 +9817,89 @@ module Didit
|
|
|
9681
9817
|
field :value, "value", :any
|
|
9682
9818
|
end
|
|
9683
9819
|
|
|
9820
|
+
class SandboxDeliveryConventions < Didit::Model
|
|
9821
|
+
field :email_optin, "email_optin", "SandboxDeliveryConventionsEmailOptin"
|
|
9822
|
+
field :phone_otp_code, "phone_otp_code", "SandboxOtpConvention"
|
|
9823
|
+
field :email_otp_code, "email_otp_code", "SandboxOtpConvention"
|
|
9824
|
+
end
|
|
9825
|
+
|
|
9826
|
+
class SandboxDeliveryConventionsEmailOptin < Didit::Model
|
|
9827
|
+
field :description, "description", :string
|
|
9828
|
+
field :patterns, "patterns", [:array, "SandboxDeliveryConventionsEmailOptinPatterns"]
|
|
9829
|
+
end
|
|
9830
|
+
|
|
9831
|
+
class SandboxDeliveryConventionsEmailOptinPatterns < Didit::Model
|
|
9832
|
+
field :pattern, "pattern", :string
|
|
9833
|
+
field :example, "example", :string
|
|
9834
|
+
end
|
|
9835
|
+
|
|
9836
|
+
class SandboxMagicValue < Didit::Model
|
|
9837
|
+
field :risk, "risk", :string
|
|
9838
|
+
field :feature, "feature", :string
|
|
9839
|
+
field :input_field, "input_field", :string
|
|
9840
|
+
field :magic_value, "magic_value", :string
|
|
9841
|
+
field :description, "description", :string
|
|
9842
|
+
end
|
|
9843
|
+
|
|
9844
|
+
class SandboxOtpConvention < Didit::Model
|
|
9845
|
+
field :description, "description", :string
|
|
9846
|
+
field :value, "value", :string
|
|
9847
|
+
end
|
|
9848
|
+
|
|
9849
|
+
class SandboxRiskCase < Didit::Model
|
|
9850
|
+
field :risk, "risk", :string
|
|
9851
|
+
field :feature, "feature", :string
|
|
9852
|
+
field :status_path, "status_path", :string
|
|
9853
|
+
field :default_status, "default_status", :string
|
|
9854
|
+
end
|
|
9855
|
+
|
|
9856
|
+
class SandboxSampleDocument < Didit::Model
|
|
9857
|
+
field :sandbox_sample, "sandbox_sample", :string
|
|
9858
|
+
field :document_name, "document_name", :string
|
|
9859
|
+
field :is_default, "is_default", :boolean
|
|
9860
|
+
field :first_name, "first_name", :string
|
|
9861
|
+
field :last_name, "last_name", :string
|
|
9862
|
+
field :date_of_birth, "date_of_birth", :string
|
|
9863
|
+
field :gender, "gender", :string
|
|
9864
|
+
field :nationality, "nationality", :string
|
|
9865
|
+
field :id_country, "id_country", :string
|
|
9866
|
+
field :identification_number, "identification_number", :string
|
|
9867
|
+
end
|
|
9868
|
+
|
|
9869
|
+
class SandboxSampleIdentity < Didit::Model
|
|
9870
|
+
field :date_of_birth, "date_of_birth", :string
|
|
9871
|
+
field :date_of_issue, "date_of_issue", :string
|
|
9872
|
+
field :date_of_expiry, "date_of_expiry", :string
|
|
9873
|
+
field :documents, "documents", [:array, "SandboxSampleDocument"]
|
|
9874
|
+
end
|
|
9875
|
+
|
|
9876
|
+
class SandboxScenario < Didit::Model
|
|
9877
|
+
field :slug, "slug", :string
|
|
9878
|
+
field :title, "title", :string
|
|
9879
|
+
field :description, "description", :string
|
|
9880
|
+
field :default_status, "default_status", :string
|
|
9881
|
+
field :steps, "steps", [:array, :string]
|
|
9882
|
+
field :group, "group", :string
|
|
9883
|
+
field :magic_inputs, "magic_inputs", [:map, :string]
|
|
9884
|
+
field :warnings, "warnings", [:array, "SandboxScenarioWarning"]
|
|
9885
|
+
end
|
|
9886
|
+
|
|
9887
|
+
class SandboxScenarioCatalog < Didit::Model
|
|
9888
|
+
field :scenarios, "scenarios", [:array, "SandboxScenario"]
|
|
9889
|
+
field :magic_values, "magic_values", [:array, "SandboxMagicValue"]
|
|
9890
|
+
field :risk_cases, "risk_cases", [:array, "SandboxRiskCase"]
|
|
9891
|
+
field :sample_identity, "sample_identity", "SandboxSampleIdentity"
|
|
9892
|
+
field :delivery_conventions, "delivery_conventions", "SandboxDeliveryConventions"
|
|
9893
|
+
field :travel_rule, "travel_rule", "SandboxTestVasp"
|
|
9894
|
+
end
|
|
9895
|
+
|
|
9896
|
+
class SandboxScenarioWarning < Didit::Model
|
|
9897
|
+
field :risk, "risk", :string
|
|
9898
|
+
field :feature, "feature", :string
|
|
9899
|
+
field :input_field, "input_field", :string
|
|
9900
|
+
field :magic_value, "magic_value", :string
|
|
9901
|
+
end
|
|
9902
|
+
|
|
9684
9903
|
class SandboxSimulateResponse < Didit::Model
|
|
9685
9904
|
field :session_id, "session_id", :string
|
|
9686
9905
|
field :previous_status, "previous_status", :string
|
|
@@ -9690,6 +9909,33 @@ module Didit
|
|
|
9690
9909
|
field :send_webhooks, "send_webhooks", :boolean
|
|
9691
9910
|
end
|
|
9692
9911
|
|
|
9912
|
+
class SandboxTestVasp < Didit::Model
|
|
9913
|
+
field :legal_name, "legal_name", :string
|
|
9914
|
+
field :lei, "lei", :string
|
|
9915
|
+
field :jurisdiction, "jurisdiction", :string
|
|
9916
|
+
field :compliance_email, "compliance_email", :string
|
|
9917
|
+
field :travel_address, "travel_address", :string
|
|
9918
|
+
field :network_codes, "network_codes", [:map, :string]
|
|
9919
|
+
field :routes, "routes", [:array, :string]
|
|
9920
|
+
field :chain, "chain", :string
|
|
9921
|
+
field :timeout_window_seconds, "timeout_window_seconds", :integer
|
|
9922
|
+
field :default_scenario, "default_scenario", :string
|
|
9923
|
+
field :inbound_scenarios, "inbound_scenarios", [:array, :string]
|
|
9924
|
+
field :scenarios, "scenarios", [:array, "SandboxTestVaspScenario"]
|
|
9925
|
+
end
|
|
9926
|
+
|
|
9927
|
+
class SandboxTestVaspScenario < Didit::Model
|
|
9928
|
+
field :slug, "slug", :string
|
|
9929
|
+
field :route, "route", :string
|
|
9930
|
+
field :title, "title", :string
|
|
9931
|
+
field :description, "description", :string
|
|
9932
|
+
field :beneficiary_name, "beneficiary_name", :string
|
|
9933
|
+
field :beneficiary_wallet_address, "beneficiary_wallet_address", :string
|
|
9934
|
+
field :chain, "chain", :string
|
|
9935
|
+
field :travel_rule_status, "travel_rule_status", :string
|
|
9936
|
+
field :answers, "answers", :boolean
|
|
9937
|
+
end
|
|
9938
|
+
|
|
9693
9939
|
class SessionDecision < Didit::Model
|
|
9694
9940
|
field :session_id, "session_id", :string
|
|
9695
9941
|
field :session_kind, "session_kind", :string
|
|
@@ -12100,6 +12346,8 @@ module Didit
|
|
|
12100
12346
|
field :reason, "reason", :string
|
|
12101
12347
|
field :next_actions, "next_actions", [:array, "TravelRuleNextAction"]
|
|
12102
12348
|
field :chain_details, "chain_details", "TravelRuleChainDetails"
|
|
12349
|
+
field :not_required_reason, "not_required_reason", :string
|
|
12350
|
+
field :proof_state, "proof_state", :string
|
|
12103
12351
|
end
|
|
12104
12352
|
|
|
12105
12353
|
# The counterparty's directory entry, or `null` when the transfer links none.
|
|
@@ -12493,6 +12741,7 @@ module Didit
|
|
|
12493
12741
|
class TravelRuleSettingsDetail < Didit::Model
|
|
12494
12742
|
field :is_enabled, "is_enabled", :boolean
|
|
12495
12743
|
field :jurisdiction, "jurisdiction", :string
|
|
12744
|
+
field :vasp_jurisdiction, "vasp_jurisdiction", :string
|
|
12496
12745
|
field :name_matching_strictness, "name_matching_strictness", :string
|
|
12497
12746
|
field :confirmation_timeout_hours, "confirmation_timeout_hours", :integer
|
|
12498
12747
|
field :timeout_outcome, "timeout_outcome", :string
|
|
@@ -12518,6 +12767,7 @@ module Didit
|
|
|
12518
12767
|
field :disabled_networks, "disabled_networks", [:array, :string]
|
|
12519
12768
|
field :networks, "networks", "TravelRuleSettingsDetailNetworks"
|
|
12520
12769
|
field :didit_network, "didit_network", "TravelRuleSettingsDetailDiditNetwork"
|
|
12770
|
+
field :licence, "licence", :string
|
|
12521
12771
|
end
|
|
12522
12772
|
|
|
12523
12773
|
# Whether the Didit network lists your VASP profile, so other Didit customers find it in the directory and reach
|
|
@@ -12578,6 +12828,8 @@ module Didit
|
|
|
12578
12828
|
field :reason, "reason", :string
|
|
12579
12829
|
field :next_actions, "next_actions", [:array, "TravelRuleNextAction"]
|
|
12580
12830
|
field :chain_details, "chain_details", "TravelRuleChainDetails"
|
|
12831
|
+
field :not_required_reason, "not_required_reason", :string
|
|
12832
|
+
field :proof_state, "proof_state", :string
|
|
12581
12833
|
end
|
|
12582
12834
|
|
|
12583
12835
|
class TravelRuleTransferDetailCounterpartyVasp < Didit::Model
|
|
@@ -12626,6 +12878,8 @@ module Didit
|
|
|
12626
12878
|
field :originator_wallet_type, "originator_wallet_type", :string
|
|
12627
12879
|
field :beneficiary_wallet_type, "beneficiary_wallet_type", :string
|
|
12628
12880
|
field :matched_transaction_id, "matched_transaction_id", :string
|
|
12881
|
+
field :scenario, "scenario", :string
|
|
12882
|
+
field :webhooks_count, "webhooks_count", :integer
|
|
12629
12883
|
field :deadline_at, "deadline_at", :datetime
|
|
12630
12884
|
field :created_at, "created_at", :datetime
|
|
12631
12885
|
end
|
|
@@ -12678,6 +12932,8 @@ module Didit
|
|
|
12678
12932
|
field :billing_enabled_at, "billing_enabled_at", :datetime
|
|
12679
12933
|
field :didit_network, "didit_network", :any
|
|
12680
12934
|
field :settings, "settings", "TravelRuleSettingsDetail"
|
|
12935
|
+
field :outbound_price, "outbound_price", "TravelRuleWorkspaceOutboundPrice"
|
|
12936
|
+
field :licence, "licence", :string
|
|
12681
12937
|
end
|
|
12682
12938
|
|
|
12683
12939
|
class TravelRuleWorkspaceClaim < Didit::Model
|
|
@@ -12688,6 +12944,8 @@ module Didit
|
|
|
12688
12944
|
field :review_note, "review_note", :string
|
|
12689
12945
|
field :vasp_id, "vasp_id", :string
|
|
12690
12946
|
field :vasp_name, "vasp_name", :string
|
|
12947
|
+
field :licence, "licence", :string
|
|
12948
|
+
field :rejection_reason, "rejection_reason", :string
|
|
12691
12949
|
end
|
|
12692
12950
|
|
|
12693
12951
|
class TravelRuleWorkspaceDomain < Didit::Model
|
|
@@ -12703,6 +12961,16 @@ module Didit
|
|
|
12703
12961
|
field :txt, "txt", "TravelRuleWorkspaceTxtRecord"
|
|
12704
12962
|
end
|
|
12705
12963
|
|
|
12964
|
+
# Own-account outbound quote, or null when a flat Travel Rule quote is unavailable. Does not enable billing.
|
|
12965
|
+
class TravelRuleWorkspaceOutboundPrice < Didit::Model
|
|
12966
|
+
field :list_price, "list_price", :string
|
|
12967
|
+
field :effective_price, "effective_price", :string
|
|
12968
|
+
field :currency, "currency", :string
|
|
12969
|
+
field :discount_pct, "discount_pct", :float
|
|
12970
|
+
field :product, "product", :string
|
|
12971
|
+
field :source, "source", :string
|
|
12972
|
+
end
|
|
12973
|
+
|
|
12706
12974
|
# The TXT record to publish for the DNS proof. Empty until a proof has been started.
|
|
12707
12975
|
class TravelRuleWorkspaceTxtRecord < Didit::Model
|
|
12708
12976
|
field :host, "host", :string
|
|
@@ -12968,6 +13236,8 @@ module Didit
|
|
|
12968
13236
|
field :pep_counterparty, "pep_counterparty", :boolean
|
|
12969
13237
|
field :dominant_risk_category, "dominant_risk_category", :string
|
|
12970
13238
|
field :risk_factors, "risk_factors", [:array, "WalletScreeningResultRiskFactors"]
|
|
13239
|
+
field :fallback_from_provider, "fallback_from_provider", :string
|
|
13240
|
+
field :fallback_reason, "fallback_reason", :string
|
|
12971
13241
|
field :raw_response, "raw_response", :any
|
|
12972
13242
|
field :report_signature, "report_signature", :string
|
|
12973
13243
|
end
|
data/lib/didit/types.rb
CHANGED
|
@@ -994,9 +994,30 @@ module Didit
|
|
|
994
994
|
autoload :RoutingPublicationPolicyDraftResponse, "didit/types/components"
|
|
995
995
|
autoload :RoutingPublicationPolicyRevision, "didit/types/components"
|
|
996
996
|
autoload :RoutingPublicationRoutingCondition, "didit/types/components"
|
|
997
|
+
autoload :SandboxDeliveryConventions, "didit/types/components"
|
|
998
|
+
autoload :SandboxDeliveryConventionsEmailOptin, "didit/types/components"
|
|
999
|
+
autoload :SandboxDeliveryConventionsEmailOptinPatterns, "didit/types/components"
|
|
1000
|
+
autoload :SandboxMagicValue, "didit/types/components"
|
|
1001
|
+
autoload :SandboxOtpConvention, "didit/types/components"
|
|
1002
|
+
autoload :SandboxRiskCase, "didit/types/components"
|
|
1003
|
+
autoload :SandboxSampleDocument, "didit/types/components"
|
|
1004
|
+
autoload :SandboxSampleIdentity, "didit/types/components"
|
|
1005
|
+
autoload :SandboxScenario, "didit/types/components"
|
|
1006
|
+
autoload :SandboxScenarioCatalog, "didit/types/components"
|
|
1007
|
+
autoload :SandboxScenarioDefaultStatus, "didit/types/components"
|
|
1008
|
+
autoload :SandboxScenarioGroup, "didit/types/components"
|
|
1009
|
+
autoload :SandboxScenarioWarning, "didit/types/components"
|
|
997
1010
|
autoload :SandboxSimulateResponse, "didit/types/components"
|
|
998
1011
|
autoload :SandboxSimulateResponsePreviousStatus, "didit/types/components"
|
|
999
1012
|
autoload :SandboxSimulateResponseStatus, "didit/types/components"
|
|
1013
|
+
autoload :SandboxTestVasp, "didit/types/components"
|
|
1014
|
+
autoload :SandboxTestVaspDefaultScenario, "didit/types/components"
|
|
1015
|
+
autoload :SandboxTestVaspInboundScenarios, "didit/types/components"
|
|
1016
|
+
autoload :SandboxTestVaspRoutes, "didit/types/components"
|
|
1017
|
+
autoload :SandboxTestVaspScenario, "didit/types/components"
|
|
1018
|
+
autoload :SandboxTestVaspScenarioRoute, "didit/types/components"
|
|
1019
|
+
autoload :SandboxTestVaspScenarioSlug, "didit/types/components"
|
|
1020
|
+
autoload :SandboxTestVaspScenarioTravelRuleStatus, "didit/types/components"
|
|
1000
1021
|
autoload :SessionDecision, "didit/types/components"
|
|
1001
1022
|
autoload :SessionDecisionAssignee, "didit/types/components"
|
|
1002
1023
|
autoload :SessionDecisionBiometricConsent, "didit/types/components"
|
|
@@ -1518,6 +1539,7 @@ module Didit
|
|
|
1518
1539
|
autoload :TransactionTravelRuleCounterpartyVasp, "didit/types/components"
|
|
1519
1540
|
autoload :TransactionTravelRuleCounterpartyVaspDdScoreBreakdownValue, "didit/types/components"
|
|
1520
1541
|
autoload :TransactionTravelRuleDirection, "didit/types/components"
|
|
1542
|
+
autoload :TransactionTravelRuleProofState, "didit/types/components"
|
|
1521
1543
|
autoload :TransactionsCreateParamsTransactionCategory, "didit/types/transactions"
|
|
1522
1544
|
autoload :TransactionsCreateParamsTransactionDetailsDirection, "didit/types/transactions"
|
|
1523
1545
|
autoload :TransactionsCreateSdkTokenResponse, "didit/types/transactions"
|
|
@@ -1648,6 +1670,7 @@ module Didit
|
|
|
1648
1670
|
autoload :TravelRuleTransferDetailCounterpartyVasp, "didit/types/components"
|
|
1649
1671
|
autoload :TravelRuleTransferDetailCounterpartyVaspDdScoreBreakdownValue, "didit/types/components"
|
|
1650
1672
|
autoload :TravelRuleTransferDetailDirection, "didit/types/components"
|
|
1673
|
+
autoload :TravelRuleTransferDetailProofState, "didit/types/components"
|
|
1651
1674
|
autoload :TravelRuleTransferDetailRail, "didit/types/components"
|
|
1652
1675
|
autoload :TravelRuleTransferDetailStatus, "didit/types/components"
|
|
1653
1676
|
autoload :TravelRuleTransferDetailTimeline, "didit/types/components"
|
|
@@ -1679,11 +1702,14 @@ module Didit
|
|
|
1679
1702
|
autoload :TravelRuleWidgetSessionResponse, "didit/types/components"
|
|
1680
1703
|
autoload :TravelRuleWorkspace, "didit/types/components"
|
|
1681
1704
|
autoload :TravelRuleWorkspaceClaim, "didit/types/components"
|
|
1705
|
+
autoload :TravelRuleWorkspaceClaimRejectionReason, "didit/types/components"
|
|
1682
1706
|
autoload :TravelRuleWorkspaceClaimStatus, "didit/types/components"
|
|
1683
1707
|
autoload :TravelRuleWorkspaceDomain, "didit/types/components"
|
|
1684
1708
|
autoload :TravelRuleWorkspaceDomainCodeResponse, "didit/types/components"
|
|
1685
1709
|
autoload :TravelRuleWorkspaceDomainCodeResponseStatus, "didit/types/components"
|
|
1686
1710
|
autoload :TravelRuleWorkspaceDomainStatus, "didit/types/components"
|
|
1711
|
+
autoload :TravelRuleWorkspaceOutboundPrice, "didit/types/components"
|
|
1712
|
+
autoload :TravelRuleWorkspaceOutboundPriceSource, "didit/types/components"
|
|
1687
1713
|
autoload :TravelRuleWorkspaceTxtRecord, "didit/types/components"
|
|
1688
1714
|
autoload :UserDetailItem, "didit/types/components"
|
|
1689
1715
|
autoload :UserDetailItemComments, "didit/types/components"
|
data/lib/didit/version.rb
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
module Didit
|
|
2
|
+
class Authentication
|
|
3
|
+
module AgentConsentRequest
|
|
4
|
+
CONSENT_PATH: String
|
|
5
|
+
OPTIONS_PATH: String
|
|
6
|
+
UUID: Regexp
|
|
7
|
+
LIFETIMES: Array[Integer]
|
|
8
|
+
DECISIONS: Array[String]
|
|
9
|
+
ASSERTION_SECRETS: Array[String]
|
|
10
|
+
|
|
11
|
+
def self.build: (String challenge, untyped decision, untyped assertion, untyped scopes, ?Hash[Symbol, untyped] extras) -> [Hash[String, untyped], Array[String]]
|
|
12
|
+
def self.checked_assertion: (untyped assertion) -> Hash[untyped, untyped]
|
|
13
|
+
def self.checked_organization_ids: (untyped ids) -> Array[String]
|
|
14
|
+
def self.checked_lifetime: (untyped lifetime) -> Integer
|
|
15
|
+
def self.checked_scopes: (untyped scopes) -> Array[String]
|
|
16
|
+
def self.assertion_secrets: (Hash[untyped, untyped] assertion) -> Array[String]
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -110,5 +110,31 @@ module Didit
|
|
|
110
110
|
def expires_in: () -> Integer?
|
|
111
111
|
def approved?: () -> bool
|
|
112
112
|
end
|
|
113
|
+
|
|
114
|
+
class AgentConsent < Didit::Model
|
|
115
|
+
def code: () -> String?
|
|
116
|
+
def redirect_uri: () -> String?
|
|
117
|
+
def state: () -> String?
|
|
118
|
+
def status: () -> String?
|
|
119
|
+
def approved?: () -> bool
|
|
120
|
+
def denied?: () -> bool
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
class AgentCredentialDescriptor < Didit::Model
|
|
124
|
+
def id: () -> String?
|
|
125
|
+
def type: () -> String?
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
class AgentWebAuthnOptions < Didit::Model
|
|
129
|
+
def challenge: () -> String?
|
|
130
|
+
def rp_id: () -> String?
|
|
131
|
+
def timeout: () -> Integer?
|
|
132
|
+
def user_verification: () -> String?
|
|
133
|
+
def allow_credentials: () -> Array[AgentCredentialDescriptor]?
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
class AgentApprovalOptions < Didit::Model
|
|
137
|
+
def options: () -> AgentWebAuthnOptions?
|
|
138
|
+
end
|
|
113
139
|
end
|
|
114
140
|
end
|
|
@@ -45,6 +45,10 @@ module Didit
|
|
|
45
45
|
def create_step_up: (String access_token, action: String, ?amount: amount?, ?currency: String?,
|
|
46
46
|
?return_to: String?) -> StepUp
|
|
47
47
|
def retrieve_step_up: (String access_token, String step_up_id) -> StepUp
|
|
48
|
+
def submit_agent_consent: (String access_token, challenge: String, decision: String | Symbol,
|
|
49
|
+
?assertion: Hash[untyped, untyped]?, ?scopes: Array[String]?,
|
|
50
|
+
?organization_ids: Array[String]?, ?lifetime: Integer?) -> AgentConsent
|
|
51
|
+
def create_agent_approval_options: (String access_token, challenge: String) -> AgentApprovalOptions
|
|
48
52
|
def discovery: () -> Hash[String, untyped]
|
|
49
53
|
def jwks: () -> Hash[String, untyped]
|
|
50
54
|
def close: () -> nil
|
|
@@ -67,7 +71,9 @@ module Didit
|
|
|
67
71
|
def endpoint_uri: (untyped value) -> URI::HTTP?
|
|
68
72
|
def token_request: (Hash[String, String] form, Array[String] secrets) -> TokenResponse
|
|
69
73
|
def bearer_call: (String http_method, URI::Generic uri, untyped access_token,
|
|
70
|
-
?json: Hash[String, untyped]
|
|
74
|
+
?json: Hash[String, untyped]?,
|
|
75
|
+
?secrets: Array[String]) -> Http::Call
|
|
76
|
+
def agent_request: (String path, String access_token, Hash[String, untyped] body, Array[String] secrets) -> Hash[String, untyped]
|
|
71
77
|
def send_object: (Http::Call call) -> Hash[String, untyped]
|
|
72
78
|
def issuer_uri: (String path) -> URI::Generic
|
|
73
79
|
def required_text: (untyped value, String name) -> String
|
|
@@ -10,10 +10,10 @@ module Didit
|
|
|
10
10
|
def resend_otp: (email: String, password: String, ?request_options: Didit::request_options?) -> Didit::Types::AccountResendOtpResponse
|
|
11
11
|
def verify_email: (email: String, code: String, ?request_options: Didit::request_options?) -> Didit::Types::VerifyEmailResponse
|
|
12
12
|
class Applications < Didit::Resource
|
|
13
|
-
def create: (String org_id, ?name: String, ?website_url: String, ?redirect_uris: Array[String], ?terms_url: String, ?privacy_url: String, ?description: String, ?data_location: String, ?request_options: Didit::request_options?) -> Didit::Types::Application
|
|
13
|
+
def create: (String org_id, ?name: String, ?website_url: String, ?redirect_uris: Array[String], ?terms_url: String, ?privacy_url: String, ?description: String, ?data_location: String, ?initiate_login_uri: String, ?request_options: Didit::request_options?) -> Didit::Types::Application
|
|
14
14
|
def list: (String org_id, ?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::Application]
|
|
15
15
|
def retrieve: (String org_id, String app_id, ?request_options: Didit::request_options?) -> Didit::Types::Application
|
|
16
|
-
def update: (String org_id, String app_id, ?name: String, ?website_url: String, ?redirect_uris: Array[String], ?terms_url: String, ?privacy_url: String, ?description: String, ?data_location: String, ?request_options: Didit::request_options?) -> Didit::Types::Application
|
|
16
|
+
def update: (String org_id, String app_id, ?name: String, ?website_url: String, ?redirect_uris: Array[String], ?terms_url: String, ?privacy_url: String, ?description: String, ?data_location: String, ?initiate_login_uri: String, ?request_options: Didit::request_options?) -> Didit::Types::Application
|
|
17
17
|
end
|
|
18
18
|
class Organizations < Didit::Resource
|
|
19
19
|
def list: (?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::Organization]
|
|
@@ -46,7 +46,7 @@ module Didit
|
|
|
46
46
|
def update_kyb_party: (String session_id, String party_uuid, is_skipped: bool, ?request_options: Didit::request_options?) -> Didit::Types::SessionsUpdateKybPartyResponse
|
|
47
47
|
def update_kyb_party_draft: (String session_id, String draft_id, ?entity_type: String, ?full_name: String, ?first_name: String, ?last_name: String, ?role: String, ?roles: Array[String], ?position: String, ?date_of_birth: (Date | String)?, ?company_name: String, ?registration_number: String, ?email: String, ?ownership_percent: (Float | Integer)?, ?nationality: String, ?phone_number: String, ?custom_fields: Hash[String | Symbol, untyped], ?skip_verification: bool, ?node_id: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsUpdateKybPartyDraftResponse
|
|
48
48
|
def update_poa_data: (String session_id, ?issuing_state: String?, ?document_type: String, ?document_language: String?, ?issuer: String?, ?issue_date: (Date | String)?, ?poa_address: String?, ?name_on_document: String?, ?extra_fields: (Hash[String | Symbol, untyped])?, ?poa_parsed_address: Didit::Types::sessions_update_poa_data_params_poa_parsed_address?, ?node_id: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsUpdatePoaDataResponse
|
|
49
|
-
def update_status: (String session_id, new_status: String, ?comment: String, ?nodes_to_resubmit: Array[Didit::Types::sessions_update_status_params_nodes_to_resubmit], ?send_email: bool, ?email_address: String, ?email_language: String, ?email_preview_token: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsUpdateStatusResponse
|
|
49
|
+
def update_status: (String session_id, new_status: String, ?comment: String, ?nodes_to_resubmit: Array[Didit::Types::sessions_update_status_params_nodes_to_resubmit], ?send_email: bool, ?email_address: String, ?email_language: String, ?email_preview_token: String, ?link_to_session_id: String, ?link_reason: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsUpdateStatusResponse
|
|
50
50
|
def upload_kyb_documents: (String session_id, documents: Array[Didit::upload], ?document_passwords: Array[String], ?document_group: String, ?locale: String, ?node_id: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsUploadKybDocumentsResponse
|
|
51
51
|
class Imports < Didit::Resource
|
|
52
52
|
def cancel: (String import_id, ?request_options: Didit::request_options?) -> Didit::Types::SessionImportJob
|
|
@@ -22,7 +22,7 @@ module Didit
|
|
|
22
22
|
def screen_vasp: (String vasp_id, ?refresh: bool, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyScreeningResult
|
|
23
23
|
def send_compliance_email_confirmation: (?request_options: Didit::request_options?) -> Didit::Types::TravelRuleSendComplianceEmailConfirmationResponse
|
|
24
24
|
def send_vasp_questionnaire: (String vasp_id, ?sent_to: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyQuestionnaire
|
|
25
|
-
def update_settings: (?is_enabled: bool, ?legal_name: String, ?lei: String, ?jurisdiction: String, ?name_matching_strictness: String, ?confirmation_timeout_hours: Integer, ?timeout_outcome: String, ?compliance_email: String, ?is_discoverable: bool, ?threshold_amount: String, ?ownership_validation_mode: String, ?simplified_validation_threshold: String, ?data_sharing_fields: Didit::Types::travel_rule_data_sharing_fields, ?matching_rules: Didit::Types::travel_rule_matching_rules, ?inbound_auto_accept: bool, ?allow_self_declaration: bool, ?allow_screenshot_proof: bool, ?auto_wallet_verification: bool, ?vasp_attribution_enabled: bool, ?counterparty_screening_enabled: bool, ?sunrise_policy: String, ?non_responsive_policy: String, ?disabled_networks: Array[String], ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleSettingsDetail
|
|
25
|
+
def update_settings: (?is_enabled: bool, ?legal_name: String, ?lei: String, ?jurisdiction: String, ?vasp_jurisdiction: String, ?name_matching_strictness: String, ?confirmation_timeout_hours: Integer, ?timeout_outcome: String, ?compliance_email: String, ?is_discoverable: bool, ?threshold_amount: String, ?ownership_validation_mode: String, ?simplified_validation_threshold: String, ?data_sharing_fields: Didit::Types::travel_rule_data_sharing_fields, ?matching_rules: Didit::Types::travel_rule_matching_rules, ?inbound_auto_accept: bool, ?allow_self_declaration: bool, ?allow_screenshot_proof: bool, ?auto_wallet_verification: bool, ?vasp_attribution_enabled: bool, ?counterparty_screening_enabled: bool, ?sunrise_policy: String, ?non_responsive_policy: String, ?disabled_networks: Array[String], ?licence: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleSettingsDetail
|
|
26
26
|
def update_vasp_decision: (String vasp_id, decision: String, ?reason: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyDecisionResponse
|
|
27
27
|
class CounterpartyContacts < Didit::Resource
|
|
28
28
|
def create: (counterparty: String, email: String, ?name: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyContact
|
|
@@ -55,7 +55,7 @@ module Didit
|
|
|
55
55
|
def list: (?status: String, ?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::TravelRuleWalletProofReview]
|
|
56
56
|
end
|
|
57
57
|
class Workspace < Didit::Resource
|
|
58
|
-
def claim: (vasp_id: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWorkspace
|
|
58
|
+
def claim: (vasp_id: String, ?licence: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWorkspace
|
|
59
59
|
def confirm_domain: (code: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWorkspace
|
|
60
60
|
def enable_billing: (?enabled: bool, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWorkspace
|
|
61
61
|
def get: (?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWorkspace
|
|
@@ -4,8 +4,8 @@ module Didit
|
|
|
4
4
|
module Resources
|
|
5
5
|
class WalletScreening < Didit::Resource
|
|
6
6
|
def screen: (wallet_address: String, ?blockchain: String, ?direction: String, ?request_options: Didit::request_options?) -> Didit::Types::WalletScreeningResult
|
|
7
|
-
def screen_pdf: (provider: String, screening_type: String, risk_score: Integer, severity: String, status: String, summary: String, wallet_address: String, blockchain: String, source_of_funds: Array[Didit::Types::wallet_screening_result_source_of_funds], destination_of_funds: Array[Didit::Types::wallet_screening_result_destination_of_funds], counterparty_connections: Array[Didit::Types::wallet_screening_result_counterparty_connections], sanctions_hit: bool, dominant_risk_category: String?, report_signature: String, ?transaction_hash: String?, ?block_timestamp: String?, ?total_value_usd: (Float | Integer)?, ?fee_usd: (Float | Integer)?, ?sender_rows: Array[Hash[String | Symbol, untyped]], ?receiver_rows: Array[Hash[String | Symbol, untyped]], ?transaction_flows: Array[Hash[String | Symbol, untyped]], ?transaction_flows_status: String?, ?transaction_flows_error: String?, ?network_nodes: Array[Hash[String | Symbol, untyped]], ?network_edges: Array[Hash[String | Symbol, untyped]], ?pep_counterparty: bool?, ?risk_factors: Array[Didit::Types::wallet_screening_result_risk_factors], ?raw_response: Hash[String | Symbol, untyped], ?request_options: Didit::request_options?) -> String
|
|
8
|
-
| (provider: String, screening_type: String, risk_score: Integer, severity: String, status: String, summary: String, wallet_address: String, blockchain: String, source_of_funds: Array[Didit::Types::wallet_screening_result_source_of_funds], destination_of_funds: Array[Didit::Types::wallet_screening_result_destination_of_funds], counterparty_connections: Array[Didit::Types::wallet_screening_result_counterparty_connections], sanctions_hit: bool, dominant_risk_category: String?, report_signature: String, ?transaction_hash: String?, ?block_timestamp: String?, ?total_value_usd: (Float | Integer)?, ?fee_usd: (Float | Integer)?, ?sender_rows: Array[Hash[String | Symbol, untyped]], ?receiver_rows: Array[Hash[String | Symbol, untyped]], ?transaction_flows: Array[Hash[String | Symbol, untyped]], ?transaction_flows_status: String?, ?transaction_flows_error: String?, ?network_nodes: Array[Hash[String | Symbol, untyped]], ?network_edges: Array[Hash[String | Symbol, untyped]], ?pep_counterparty: bool?, ?risk_factors: Array[Didit::Types::wallet_screening_result_risk_factors], ?raw_response: Hash[String | Symbol, untyped], ?request_options: Didit::request_options?) { (String chunk) -> void } -> nil
|
|
7
|
+
def screen_pdf: (provider: String, screening_type: String, risk_score: Integer, severity: String, status: String, summary: String, wallet_address: String, blockchain: String, source_of_funds: Array[Didit::Types::wallet_screening_result_source_of_funds], destination_of_funds: Array[Didit::Types::wallet_screening_result_destination_of_funds], counterparty_connections: Array[Didit::Types::wallet_screening_result_counterparty_connections], sanctions_hit: bool, dominant_risk_category: String?, report_signature: String, ?transaction_hash: String?, ?block_timestamp: String?, ?total_value_usd: (Float | Integer)?, ?fee_usd: (Float | Integer)?, ?sender_rows: Array[Hash[String | Symbol, untyped]], ?receiver_rows: Array[Hash[String | Symbol, untyped]], ?transaction_flows: Array[Hash[String | Symbol, untyped]], ?transaction_flows_status: String?, ?transaction_flows_error: String?, ?network_nodes: Array[Hash[String | Symbol, untyped]], ?network_edges: Array[Hash[String | Symbol, untyped]], ?pep_counterparty: bool?, ?risk_factors: Array[Didit::Types::wallet_screening_result_risk_factors], ?fallback_from_provider: String?, ?fallback_reason: String?, ?raw_response: Hash[String | Symbol, untyped], ?request_options: Didit::request_options?) -> String
|
|
8
|
+
| (provider: String, screening_type: String, risk_score: Integer, severity: String, status: String, summary: String, wallet_address: String, blockchain: String, source_of_funds: Array[Didit::Types::wallet_screening_result_source_of_funds], destination_of_funds: Array[Didit::Types::wallet_screening_result_destination_of_funds], counterparty_connections: Array[Didit::Types::wallet_screening_result_counterparty_connections], sanctions_hit: bool, dominant_risk_category: String?, report_signature: String, ?transaction_hash: String?, ?block_timestamp: String?, ?total_value_usd: (Float | Integer)?, ?fee_usd: (Float | Integer)?, ?sender_rows: Array[Hash[String | Symbol, untyped]], ?receiver_rows: Array[Hash[String | Symbol, untyped]], ?transaction_flows: Array[Hash[String | Symbol, untyped]], ?transaction_flows_status: String?, ?transaction_flows_error: String?, ?network_nodes: Array[Hash[String | Symbol, untyped]], ?network_edges: Array[Hash[String | Symbol, untyped]], ?pep_counterparty: bool?, ?risk_factors: Array[Didit::Types::wallet_screening_result_risk_factors], ?fallback_from_provider: String?, ?fallback_reason: String?, ?raw_response: Hash[String | Symbol, untyped], ?request_options: Didit::request_options?) { (String chunk) -> void } -> nil
|
|
9
9
|
end
|
|
10
10
|
end
|
|
11
11
|
end
|
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 sandbox: () -> Didit::Resources::Sandbox
|
|
41
42
|
def sessions: () -> Didit::Resources::Sessions
|
|
42
43
|
def transactions: () -> Didit::Resources::Transactions
|
|
43
44
|
def travel_rule: () -> Didit::Resources::TravelRule
|
data/sig/didit/types/account.rbs
CHANGED
|
@@ -7,9 +7,9 @@ module Didit
|
|
|
7
7
|
def email: () -> String
|
|
8
8
|
end
|
|
9
9
|
|
|
10
|
-
type account_applications_create_params = { ?name: String, ?website_url: String, ?redirect_uris: Array[String], ?terms_url: String, ?privacy_url: String, ?description: String, ?data_location: String }
|
|
10
|
+
type account_applications_create_params = { ?name: String, ?website_url: String, ?redirect_uris: Array[String], ?terms_url: String, ?privacy_url: String, ?description: String, ?data_location: String, ?initiate_login_uri: String }
|
|
11
11
|
|
|
12
|
-
type account_applications_update_params = { ?name: String, ?website_url: String, ?redirect_uris: Array[String], ?terms_url: String, ?privacy_url: String, ?description: String, ?data_location: String }
|
|
12
|
+
type account_applications_update_params = { ?name: String, ?website_url: String, ?redirect_uris: Array[String], ?terms_url: String, ?privacy_url: String, ?description: String, ?data_location: String, ?initiate_login_uri: String }
|
|
13
13
|
|
|
14
14
|
type account_login_params = { email: String, password: String }
|
|
15
15
|
|