didit-sdk 2.13.0 → 2.14.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 +33 -0
- data/lib/didit/authentication/agent_consent_request.rb +32 -15
- data/lib/didit/authentication/http.rb +45 -10
- data/lib/didit/authentication.rb +7 -4
- data/lib/didit/internal/errors.rb +32 -0
- data/lib/didit/internal/util.rb +34 -0
- data/lib/didit/resources/cases.rb +62 -16
- data/lib/didit/resources/transactions.rb +62 -6
- data/lib/didit/resources/travel_rule.rb +40 -1
- data/lib/didit/resources/workflows.rb +12 -0
- data/lib/didit/types/cases.rb +0 -9
- data/lib/didit/types/components.rb +146 -61
- data/lib/didit/types/transactions.rb +33 -1
- data/lib/didit/types.rb +16 -9
- data/lib/didit/version.rb +1 -1
- data/sig/didit/authentication/agent_consent_request.rbs +3 -2
- data/sig/didit/authentication/http.rbs +4 -1
- data/sig/didit/authentication.rbs +1 -1
- data/sig/didit/internal.rbs +4 -0
- data/sig/didit/resources/cases.rbs +4 -3
- data/sig/didit/resources/transactions.rbs +2 -1
- data/sig/didit/resources/travel_rule.rbs +2 -1
- data/sig/didit/resources/workflows.rbs +2 -2
- data/sig/didit/types/cases.rbs +5 -13
- data/sig/didit/types/components.rbs +127 -55
- data/sig/didit/types/transactions.rbs +29 -2
- data/sig/didit/types/travel_rule.rbs +2 -0
- data/sig/didit/types/workflows.rbs +2 -2
- metadata +1 -1
data/lib/didit/types.rb
CHANGED
|
@@ -232,22 +232,19 @@ module Didit
|
|
|
232
232
|
autoload :CaseActionEntityTypeEnum, "didit/types/components"
|
|
233
233
|
autoload :CaseActionStatusEnum, "didit/types/components"
|
|
234
234
|
autoload :CaseAssignee, "didit/types/components"
|
|
235
|
+
autoload :CaseBlueprintAiDraft, "didit/types/components"
|
|
236
|
+
autoload :CaseBlueprintAiDraftAssignmentMethod, "didit/types/components"
|
|
237
|
+
autoload :CaseBlueprintAiDraftResponse, "didit/types/components"
|
|
238
|
+
autoload :CaseBlueprintAppliesToValues, "didit/types/components"
|
|
235
239
|
autoload :CaseBlueprintDetail, "didit/types/components"
|
|
236
240
|
autoload :CaseBlueprintDetailAssignmentMethod, "didit/types/components"
|
|
237
|
-
autoload :CaseBlueprintDetailContentConfig, "didit/types/components"
|
|
238
|
-
autoload :CaseBlueprintDetailContentConfigAmlControl, "didit/types/components"
|
|
239
|
-
autoload :CaseBlueprintDetailContentConfigChecklist, "didit/types/components"
|
|
240
|
-
autoload :CaseBlueprintDetailContentConfigChecklistItems, "didit/types/components"
|
|
241
|
-
autoload :CaseBlueprintDetailContentConfigFinancial, "didit/types/components"
|
|
242
|
-
autoload :CaseBlueprintDetailContentConfigIdentity, "didit/types/components"
|
|
243
|
-
autoload :CaseBlueprintDetailContentConfigReporting, "didit/types/components"
|
|
244
|
-
autoload :CaseBlueprintDetailContentConfigVerifications, "didit/types/components"
|
|
245
241
|
autoload :CaseBlueprintDetailCreationSources, "didit/types/components"
|
|
246
242
|
autoload :CaseBlueprintDetailCreationSourcesKind, "didit/types/components"
|
|
247
243
|
autoload :CaseBlueprintDetailReceivesEscalationFrom, "didit/types/components"
|
|
248
244
|
autoload :CaseBlueprintListItem, "didit/types/components"
|
|
249
245
|
autoload :CaseBlueprintListItemAssignmentMethod, "didit/types/components"
|
|
250
246
|
autoload :CaseBlueprintPresetInstallResult, "didit/types/components"
|
|
247
|
+
autoload :CaseBlueprintStage, "didit/types/components"
|
|
251
248
|
autoload :CaseBlueprintSummary, "didit/types/components"
|
|
252
249
|
autoload :CaseBulkUpdateResult, "didit/types/components"
|
|
253
250
|
autoload :CaseBulkUpdateResultFailures, "didit/types/components"
|
|
@@ -263,6 +260,7 @@ module Didit
|
|
|
263
260
|
autoload :CaseContentConfigFinancial, "didit/types/components"
|
|
264
261
|
autoload :CaseContentConfigIdentity, "didit/types/components"
|
|
265
262
|
autoload :CaseContentConfigReporting, "didit/types/components"
|
|
263
|
+
autoload :CaseContentConfigStages, "didit/types/components"
|
|
266
264
|
autoload :CaseContentConfigVerifications, "didit/types/components"
|
|
267
265
|
autoload :CaseDetail, "didit/types/components"
|
|
268
266
|
autoload :CaseDetailPendingResolution, "didit/types/components"
|
|
@@ -321,7 +319,7 @@ module Didit
|
|
|
321
319
|
autoload :CasesBulkUpdateStatusParamsStatus, "didit/types/cases"
|
|
322
320
|
autoload :CasesCreateParamsPriority, "didit/types/cases"
|
|
323
321
|
autoload :CasesCreateParamsSubjectType, "didit/types/cases"
|
|
324
|
-
autoload :CasesLinksCreateParamsEntityType, "didit/types/
|
|
322
|
+
autoload :CasesLinksCreateParamsEntityType, "didit/types/components"
|
|
325
323
|
autoload :CasesListEventsResponse, "didit/types/cases"
|
|
326
324
|
autoload :CasesListParamsOrdering, "didit/types/cases"
|
|
327
325
|
autoload :CasesListResponse, "didit/types/cases"
|
|
@@ -1140,6 +1138,8 @@ module Didit
|
|
|
1140
1138
|
autoload :SessionDecisionIpAnalysesWarnings, "didit/types/components"
|
|
1141
1139
|
autoload :SessionDecisionIpAnalysesWarningsFeature, "didit/types/components"
|
|
1142
1140
|
autoload :SessionDecisionKeyPeopleChecks, "didit/types/components"
|
|
1141
|
+
autoload :SessionDecisionKeyPeopleChecksListedCompanyDeclaration, "didit/types/components"
|
|
1142
|
+
autoload :SessionDecisionKeyPeopleChecksListedCompanyDeclarationType, "didit/types/components"
|
|
1143
1143
|
autoload :SessionDecisionKeyPeopleChecksRegistry, "didit/types/components"
|
|
1144
1144
|
autoload :SessionDecisionKeyPeopleChecksRegistryBeneficialOwners, "didit/types/components"
|
|
1145
1145
|
autoload :SessionDecisionKeyPeopleChecksRegistryBeneficialOwnersAmlStatus, "didit/types/components"
|
|
@@ -1548,6 +1548,7 @@ module Didit
|
|
|
1548
1548
|
autoload :TransactionTravelRuleProofState, "didit/types/components"
|
|
1549
1549
|
autoload :TransactionsCreateParamsTransactionCategory, "didit/types/transactions"
|
|
1550
1550
|
autoload :TransactionsCreateParamsTransactionDetailsDirection, "didit/types/transactions"
|
|
1551
|
+
autoload :TransactionsCreateParamsTravelRuleDetailsCounterpartyChoice, "didit/types/transactions"
|
|
1551
1552
|
autoload :TransactionsCreateSdkTokenResponse, "didit/types/transactions"
|
|
1552
1553
|
autoload :TransactionsListRelatedResponse, "didit/types/transactions"
|
|
1553
1554
|
autoload :TransactionsListResponse, "didit/types/transactions"
|
|
@@ -1568,8 +1569,10 @@ module Didit
|
|
|
1568
1569
|
autoload :TransactionsRulesUpdateParamsEvaluationMode, "didit/types/transactions"
|
|
1569
1570
|
autoload :TransactionsRulesUpdateParamsMode, "didit/types/transactions"
|
|
1570
1571
|
autoload :TransactionsTravelRuleCreateMessageParamsKind, "didit/types/transactions"
|
|
1572
|
+
autoload :TransactionsTravelRuleCreateUserLinkParamsChannel, "didit/types/transactions"
|
|
1571
1573
|
autoload :TransactionsTravelRuleTriggerTestVaspInboundParamsScenario, "didit/types/transactions"
|
|
1572
1574
|
autoload :TransactionsTravelRuleUpdateTransferParamsAction, "didit/types/transactions"
|
|
1575
|
+
autoload :TransactionsTravelRuleUpdateTransferParamsReason, "didit/types/transactions"
|
|
1573
1576
|
autoload :TravelRuleChainDetails, "didit/types/components"
|
|
1574
1577
|
autoload :TravelRuleChainDetailsNotApplicableReason, "didit/types/components"
|
|
1575
1578
|
autoload :TravelRuleChainDetailsShape, "didit/types/components"
|
|
@@ -1678,6 +1681,7 @@ module Didit
|
|
|
1678
1681
|
autoload :TravelRuleSettingsDetailTimeoutOutcome, "didit/types/components"
|
|
1679
1682
|
autoload :TravelRuleTestVaspInboundResponse, "didit/types/components"
|
|
1680
1683
|
autoload :TravelRuleTransferDetail, "didit/types/components"
|
|
1684
|
+
autoload :TravelRuleTransferDetailCancelReason, "didit/types/components"
|
|
1681
1685
|
autoload :TravelRuleTransferDetailCounterpartyVasp, "didit/types/components"
|
|
1682
1686
|
autoload :TravelRuleTransferDetailCounterpartyVaspDdScoreBreakdownValue, "didit/types/components"
|
|
1683
1687
|
autoload :TravelRuleTransferDetailDirection, "didit/types/components"
|
|
@@ -1701,6 +1705,8 @@ module Didit
|
|
|
1701
1705
|
autoload :TravelRuleUpdateSettingsParamsSunrisePolicy, "didit/types/travel_rule"
|
|
1702
1706
|
autoload :TravelRuleUpdateSettingsParamsTimeoutOutcome, "didit/types/travel_rule"
|
|
1703
1707
|
autoload :TravelRuleUpdateVaspDecisionParamsDecision, "didit/types/travel_rule"
|
|
1708
|
+
autoload :TravelRuleUserChoice, "didit/types/components"
|
|
1709
|
+
autoload :TravelRuleUserLinkResponse, "didit/types/components"
|
|
1704
1710
|
autoload :TravelRuleUtxoEntry, "didit/types/components"
|
|
1705
1711
|
autoload :TravelRuleWalletAddressesListResponse, "didit/types/travel_rule"
|
|
1706
1712
|
autoload :TravelRuleWalletProofFailureReason, "didit/types/components"
|
|
@@ -1776,6 +1782,7 @@ module Didit
|
|
|
1776
1782
|
autoload :VaspDirectoryEntryRoutesReason, "didit/types/components"
|
|
1777
1783
|
autoload :VaspDirectoryEntryRoutesStatus, "didit/types/components"
|
|
1778
1784
|
autoload :VaspDirectoryEntryRoutesVia, "didit/types/components"
|
|
1785
|
+
autoload :VaspDirectoryEntrySource, "didit/types/components"
|
|
1779
1786
|
autoload :VaspDirectoryEntryUmbrella, "didit/types/components"
|
|
1780
1787
|
autoload :VerifyEmailResponse, "didit/types/account_components"
|
|
1781
1788
|
autoload :WalletAddressEntry, "didit/types/components"
|
data/lib/didit/version.rb
CHANGED
|
@@ -6,14 +6,15 @@ module Didit
|
|
|
6
6
|
UUID: Regexp
|
|
7
7
|
LIFETIMES: Array[Integer]
|
|
8
8
|
DECISIONS: Array[String]
|
|
9
|
-
|
|
9
|
+
MIN_SECRET_LENGTH: Integer
|
|
10
10
|
|
|
11
11
|
def self.build: (String challenge, untyped decision, untyped assertion, untyped scopes, ?Hash[Symbol, untyped] extras) -> [Hash[String, untyped], Array[String]]
|
|
12
|
+
def self.encode_once: (Hash[String, untyped] body) -> Hash[String, untyped]
|
|
12
13
|
def self.checked_assertion: (untyped assertion) -> Hash[untyped, untyped]
|
|
13
14
|
def self.checked_organization_ids: (untyped ids) -> Array[String]
|
|
14
15
|
def self.checked_lifetime: (untyped lifetime) -> Integer
|
|
15
16
|
def self.checked_scopes: (untyped scopes) -> Array[String]
|
|
16
|
-
def self.assertion_secrets: (
|
|
17
|
+
def self.assertion_secrets: (untyped value) -> Array[String]
|
|
17
18
|
end
|
|
18
19
|
end
|
|
19
20
|
end
|
|
@@ -8,9 +8,10 @@ module Didit
|
|
|
8
8
|
attr_reader form: Hash[String, String]?
|
|
9
9
|
attr_reader json: Hash[String, untyped]?
|
|
10
10
|
attr_reader secrets: Array[String]
|
|
11
|
+
attr_reader structured: bool
|
|
11
12
|
|
|
12
13
|
def initialize: (String http_method, URI::Generic uri, ?bearer: String?, ?form: Hash[String, String]?,
|
|
13
|
-
?json: Hash[String, untyped]?, ?secrets: Array[String]) -> void
|
|
14
|
+
?json: Hash[String, untyped]?, ?secrets: Array[String], ?structured: bool) -> void
|
|
14
15
|
def display_url: () -> String
|
|
15
16
|
def describe: () -> String
|
|
16
17
|
end
|
|
@@ -31,6 +32,8 @@ module Didit
|
|
|
31
32
|
|
|
32
33
|
def headers_for: (Call call) -> Hash[String, String]
|
|
33
34
|
def body_for: (Call call) -> String?
|
|
35
|
+
def error_response: (Call call, Internal::Transport::Response response) -> Internal::Transport::Response
|
|
36
|
+
def redactions: (Call call) -> Array[String]
|
|
34
37
|
def text_of: (String body) -> String
|
|
35
38
|
end
|
|
36
39
|
end
|
|
@@ -72,7 +72,7 @@ module Didit
|
|
|
72
72
|
def token_request: (Hash[String, String] form, Array[String] secrets) -> TokenResponse
|
|
73
73
|
def bearer_call: (String http_method, URI::Generic uri, untyped access_token,
|
|
74
74
|
?json: Hash[String, untyped]?,
|
|
75
|
-
?secrets: Array[String]) -> Http::Call
|
|
75
|
+
?secrets: Array[String], ?structured: bool) -> Http::Call
|
|
76
76
|
def agent_request: (String path, String access_token, Hash[String, untyped] body, Array[String] secrets) -> Hash[String, untyped]
|
|
77
77
|
def send_object: (Http::Call call) -> Hash[String, untyped]
|
|
78
78
|
def issuer_uri: (String path) -> URI::Generic
|
data/sig/didit/internal.rbs
CHANGED
|
@@ -11,6 +11,8 @@ module Didit
|
|
|
11
11
|
def self?.client_header: () -> String
|
|
12
12
|
def self?.request_id: (Hash[String, String] headers) -> String?
|
|
13
13
|
def self?.redact: [T] (T value, Array[String?] secrets) -> T
|
|
14
|
+
def self?.redact_structured: (untyped value, Array[String?] secrets) -> untyped
|
|
15
|
+
def self?.redact_structured_hash: (Hash[untyped, untyped] value, Array[String] secrets) -> Hash[untyped, untyped]
|
|
14
16
|
def self?.redact_value: (untyped value, Array[String] secrets) -> untyped
|
|
15
17
|
def self?.origin: (URI::Generic | String uri) -> String
|
|
16
18
|
def self?.display_url: (URI::Generic | String uri) -> String
|
|
@@ -23,6 +25,8 @@ module Didit
|
|
|
23
25
|
DETAIL_KEYS: Array[String]
|
|
24
26
|
|
|
25
27
|
def self?.status_error: (status: Integer, headers: Hash[String, String], raw_body: String?, ?redact: Array[String?]) -> APIStatusError
|
|
28
|
+
def self?.sanitized_response: (Transport::Response response, Array[String?] secrets) -> Transport::Response
|
|
29
|
+
def self?.sanitized_body: (String raw_body, Array[String?] secrets) -> String
|
|
26
30
|
def self?.parse_body: (String? raw_body) -> untyped
|
|
27
31
|
def self?.message_for: (Integer status, untyped body) -> String
|
|
28
32
|
def self?.detail_of: (untyped body) -> String?
|
|
@@ -16,7 +16,7 @@ module Didit
|
|
|
16
16
|
def assign: (String case_uuid, assignee_user_id: String?, ?assignee_email: String?, ?assignee_name: String?, ?request_options: Didit::request_options?) -> Didit::Types::CaseDetail
|
|
17
17
|
def bulk_assign: (case_uuids: Array[String], assignee_user_id: String?, ?assignee_email: String?, ?assignee_name: String?, ?request_options: Didit::request_options?) -> Didit::Types::CaseBulkUpdateResult
|
|
18
18
|
def bulk_update_status: (case_uuids: Array[String], status: String, ?resolution: String, ?note: String?, ?request_options: Didit::request_options?) -> Didit::Types::CaseBulkUpdateResult
|
|
19
|
-
def create: (title: String, ?blueprint: String?, ?priority: String, ?due_at: (Time | String)?, ?tags: Array[String], ?subject: Didit::Types::cases_create_params_subject, ?links: Array[
|
|
19
|
+
def create: (title: String, ?blueprint: String?, ?priority: String, ?due_at: (Time | String)?, ?tags: Array[String], ?subject: Didit::Types::cases_create_params_subject, ?links: Array[Didit::Types::cases_links_create_params], ?assigned_to: String?, ?review_duplicates: bool, ?separate_incident_reason: String, ?source_context: Didit::Types::case_duplicate_case_fraud_source_context_request, ?request_options: Didit::request_options?) -> Didit::Types::CaseDetail
|
|
20
20
|
def delete: (String case_uuid, ?request_options: Didit::request_options?) -> nil
|
|
21
21
|
def escalate: (String case_uuid, ?request_options: Didit::request_options?) -> Didit::Types::CaseDetail
|
|
22
22
|
def find_duplicates: (?subject: Didit::Types::case_duplicate_case_subject_input_request, ?links: Array[Didit::Types::case_duplicate_case_link_create_request], ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Types::CaseDuplicateCaseDuplicatePage
|
|
@@ -36,7 +36,8 @@ module Didit
|
|
|
36
36
|
def transfer: (String case_uuid, target_blueprint: String, ?request_options: Didit::request_options?) -> Didit::Types::CaseDetail
|
|
37
37
|
def update: (String case_uuid, ?title: String, ?priority: String, ?due_at: (Time | String)?, ?tags: Array[String], ?team: String?, ?request_options: Didit::request_options?) -> Didit::Types::CaseDetail
|
|
38
38
|
class Blueprints < Didit::Resource
|
|
39
|
-
def
|
|
39
|
+
def ai_draft: (prompt: String, ?request_options: Didit::request_options?) -> Didit::Types::CaseBlueprintAiDraftResponse
|
|
40
|
+
def create: (name: String, assignee_pool: Array[String], ?description: String?, ?assignment_method: String, ?max_active_cases: Integer?, ?escalation_enabled: bool, ?escalation_blueprint: String?, ?transfer_enabled: bool, ?four_eyes_checker_blueprint: String?, ?require_resolution_note: bool, ?content_config: Didit::Types::case_content_config, ?is_active: bool, ?default_deadline_hours: Integer?, ?publish: bool, ?applies_to: Array[String], ?request_options: Didit::request_options?) -> Didit::Types::CaseBlueprintDetail
|
|
40
41
|
def delete: (String blueprint_uuid, ?request_options: Didit::request_options?) -> nil
|
|
41
42
|
def discard_draft: (String blueprint_uuid, expected_version: Integer, expected_revision: String?, ?request_options: Didit::request_options?) -> nil
|
|
42
43
|
def install_presets: (?preset_keys: Array[String]?, ?request_options: Didit::request_options?) -> Didit::Types::CaseBlueprintPresetInstallResult
|
|
@@ -47,7 +48,7 @@ module Didit
|
|
|
47
48
|
def retrieve: (String blueprint_uuid, ?request_options: Didit::request_options?) -> Didit::Types::CaseBlueprintDetail
|
|
48
49
|
def retrieve_draft: (String blueprint_uuid, ?request_options: Didit::request_options?) -> Didit::Types::CasePublicationPolicyDraftResponse
|
|
49
50
|
def save_draft: (String blueprint_uuid, expected_version: Integer, expected_revision: String?, changes: Hash[String | Symbol, untyped], ?request_options: Didit::request_options?) -> Didit::Types::CasePublicationPolicyDraft
|
|
50
|
-
def update: (String blueprint_uuid, ?name: String, ?description: String?, ?assignee_pool: Array[String], ?assignment_method: String, ?max_active_cases: Integer?, ?escalation_enabled: bool, ?escalation_blueprint: String?, ?transfer_enabled: bool, ?four_eyes_checker_blueprint: String?, ?require_resolution_note: bool, ?content_config: Didit::Types::case_content_config, ?is_active: bool, ?default_deadline_hours: Integer?, ?expected_version: Integer, ?request_options: Didit::request_options?) -> Didit::Types::CaseBlueprintDetail
|
|
51
|
+
def update: (String blueprint_uuid, ?name: String, ?description: String?, ?assignee_pool: Array[String], ?assignment_method: String, ?max_active_cases: Integer?, ?escalation_enabled: bool, ?escalation_blueprint: String?, ?transfer_enabled: bool, ?four_eyes_checker_blueprint: String?, ?require_resolution_note: bool, ?content_config: Didit::Types::case_content_config, ?is_active: bool, ?default_deadline_hours: Integer?, ?expected_version: Integer, ?applies_to: Array[String], ?request_options: Didit::request_options?) -> Didit::Types::CaseBlueprintDetail
|
|
51
52
|
end
|
|
52
53
|
class Checklist < Didit::Resource
|
|
53
54
|
def list: (String case_uuid, ?request_options: Didit::request_options?) -> Array[Didit::Types::CaseChecklistItem]
|
|
@@ -34,10 +34,11 @@ module Didit
|
|
|
34
34
|
class TravelRule < Didit::Resource
|
|
35
35
|
def confirm_ownership: (String transaction_id, confirmed: bool, ?wallet_address: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleTransferDetail
|
|
36
36
|
def create_message: (String transaction_id, ?kind: String, ?body: String, ?requested_documents: Array[String], ?reply_to: String?, ?files: Array[Didit::upload], ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleMessage
|
|
37
|
+
def create_user_link: (String transaction_id, ?channel: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleUserLinkResponse
|
|
37
38
|
def list_deliveries: (String transaction_id, ?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::TravelRuleDeliveryLogEntry]
|
|
38
39
|
def list_messages: (String transaction_id, ?request_options: Didit::request_options?) -> Array[Didit::Types::TravelRuleMessage]
|
|
39
40
|
def trigger_test_vasp_inbound: (beneficiary_wallet_address: String, ?scenario: String, ?chain: String, ?amount: String, ?currency: String, ?reference: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleTestVaspInboundResponse
|
|
40
|
-
def update_transfer: (String transaction_id, ?payment_txn_id: String, ?action: String, ?compliance_email: String, ?wallet_address: String, ?memo: String, ?beneficiary_vasp: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleTransferDetail
|
|
41
|
+
def update_transfer: (String transaction_id, ?payment_txn_id: String, ?action: String, ?compliance_email: String, ?wallet_address: String, ?memo: String, ?beneficiary_vasp: String, ?reason: String, ?notify_on_answer: bool, ?name: String, ?lei: String, ?country: String, ?vasp_name: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleTransferDetail
|
|
41
42
|
end
|
|
42
43
|
end
|
|
43
44
|
end
|
|
@@ -11,6 +11,7 @@ module Didit
|
|
|
11
11
|
def wallet_proofs: () -> Didit::Resources::TravelRule::WalletProofs
|
|
12
12
|
def workspace: () -> Didit::Resources::TravelRule::Workspace
|
|
13
13
|
def clear_vasp_decision: (String vasp_id, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyDecisionResponse
|
|
14
|
+
def create_vasp: (name: String, email: String, ?lei: String, ?jurisdiction: String, ?invite: bool, ?request_options: Didit::request_options?) -> Didit::Types::VaspDirectoryEntry
|
|
14
15
|
def create_widget_session: (?wallet_address: String, ?chain: String, ?holder_name: String, ?vendor_data: String, ?transaction_id: String?, ?satoshi_deposit_address: String, ?callback_url: String, ?expires_in_minutes: Integer, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWidgetSessionResponse
|
|
15
16
|
def list_vasp_questionnaires: (String vasp_id, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyQuestionnaireList
|
|
16
17
|
def list_vasps: (?search: String, ?network: String, ?jurisdiction: String, ?reachable: bool, ?kind: String, ?risk: String, ?responsiveness: String, ?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::VaspDirectoryEntry]
|
|
@@ -37,7 +38,7 @@ module Didit
|
|
|
37
38
|
def update_questionnaire: (?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], ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleNetworkQuestionnaire
|
|
38
39
|
end
|
|
39
40
|
class Transfers < Didit::Resource
|
|
40
|
-
def list: (?direction: String, ?status: String, ?rail: String, ?kind: String, ?currency: String, ?start_date: Date | String, ?end_date: Date | String, ?counterparty: String, ?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::TravelRuleTransferRow]
|
|
41
|
+
def list: (?search: String, ?direction: String, ?status: String, ?rail: String, ?kind: String, ?currency: String, ?start_date: Date | String, ?end_date: Date | String, ?counterparty: String, ?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::TravelRuleTransferRow]
|
|
41
42
|
end
|
|
42
43
|
class UnmatchedDeposits < Didit::Resource
|
|
43
44
|
def list: (?direction: String, ?status: String, ?rail: String, ?kind: String, ?currency: String, ?start_date: Date | String, ?end_date: Date | String, ?counterparty: String, ?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::TravelRuleTransferRow]
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
module Didit
|
|
4
4
|
module Resources
|
|
5
5
|
class Workflows < Didit::Resource
|
|
6
|
-
def create: (features: Array[Didit::Types::simple_workflow_feature], ?workflow_label: String, ?is_default: bool, ?status: String, ?is_white_label_enabled: bool, ?is_desktop_allowed: bool, ?max_retry_attempts: Integer, ?retry_window_days: Integer?, ?face_liveness_max_attempts: Integer, ?face_match_max_attempts: Integer, ?session_expiration_time: Integer, ?request_options: Didit::request_options?) -> Didit::Types::WorkflowDetail
|
|
6
|
+
def create: (features: Array[Didit::Types::simple_workflow_feature], ?workflow_label: String, ?is_default: bool, ?status: String, ?is_white_label_enabled: bool, ?is_desktop_allowed: bool, ?is_session_reference_enabled: bool, ?max_retry_attempts: Integer, ?retry_window_days: Integer?, ?face_liveness_max_attempts: Integer, ?face_match_max_attempts: Integer, ?session_expiration_time: Integer, ?request_options: Didit::request_options?) -> Didit::Types::WorkflowDetail
|
|
7
7
|
def delete: (String settings_uuid, ?request_options: Didit::request_options?) -> nil
|
|
8
8
|
def list: (?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::WorkflowListItem]
|
|
9
9
|
def retrieve: (String settings_uuid, ?request_options: Didit::request_options?) -> Didit::Types::WorkflowDetail
|
|
10
|
-
def update: (String settings_uuid, ?workflow_label: String, ?is_default: bool, ?status: String, ?features: Array[Didit::Types::simple_workflow_feature], ?is_white_label_enabled: bool, ?is_desktop_allowed: bool, ?max_retry_attempts: Integer, ?retry_window_days: Integer?, ?face_liveness_max_attempts: Integer, ?face_match_max_attempts: Integer, ?session_expiration_time: Integer, ?request_options: Didit::request_options?) -> Didit::Types::WorkflowDetail
|
|
10
|
+
def update: (String settings_uuid, ?workflow_label: String, ?is_default: bool, ?status: String, ?features: Array[Didit::Types::simple_workflow_feature], ?is_white_label_enabled: bool, ?is_desktop_allowed: bool, ?is_session_reference_enabled: bool, ?max_retry_attempts: Integer, ?retry_window_days: Integer?, ?face_liveness_max_attempts: Integer, ?face_match_max_attempts: Integer, ?session_expiration_time: Integer, ?request_options: Didit::request_options?) -> Didit::Types::WorkflowDetail
|
|
11
11
|
end
|
|
12
12
|
end
|
|
13
13
|
end
|
data/sig/didit/types/cases.rbs
CHANGED
|
@@ -58,14 +58,6 @@ module Didit
|
|
|
58
58
|
VALUES: Array[String]
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
-
module CasesLinksCreateParamsEntityType
|
|
62
|
-
SESSION: String
|
|
63
|
-
BUSINESS_SESSION: String
|
|
64
|
-
TRANSACTION: String
|
|
65
|
-
|
|
66
|
-
VALUES: Array[String]
|
|
67
|
-
end
|
|
68
|
-
|
|
69
61
|
module CasesListParamsOrdering
|
|
70
62
|
CREATED_AT: String
|
|
71
63
|
CREATED_AT_: String
|
|
@@ -349,7 +341,9 @@ module Didit
|
|
|
349
341
|
|
|
350
342
|
type cases_assign_params = { assignee_user_id: String?, ?assignee_email: String?, ?assignee_name: String? }
|
|
351
343
|
|
|
352
|
-
type
|
|
344
|
+
type cases_blueprints_ai_draft_params = { prompt: String }
|
|
345
|
+
|
|
346
|
+
type cases_blueprints_create_params = { name: String, ?description: String?, assignee_pool: Array[String], ?assignment_method: String, ?max_active_cases: Integer?, ?escalation_enabled: bool, ?escalation_blueprint: String?, ?transfer_enabled: bool, ?four_eyes_checker_blueprint: String?, ?require_resolution_note: bool, ?content_config: Didit::Types::case_content_config, ?is_active: bool, ?default_deadline_hours: Integer?, ?publish: bool, ?applies_to: Array[String] }
|
|
353
347
|
|
|
354
348
|
type cases_blueprints_discard_draft_params = { expected_version: Integer, expected_revision: String? }
|
|
355
349
|
|
|
@@ -359,7 +353,7 @@ module Didit
|
|
|
359
353
|
|
|
360
354
|
type cases_blueprints_save_draft_params = { expected_version: Integer, expected_revision: String?, changes: Hash[String | Symbol, untyped] }
|
|
361
355
|
|
|
362
|
-
type cases_blueprints_update_params = { ?name: String, ?description: String?, ?assignee_pool: Array[String], ?assignment_method: String, ?max_active_cases: Integer?, ?escalation_enabled: bool, ?escalation_blueprint: String?, ?transfer_enabled: bool, ?four_eyes_checker_blueprint: String?, ?require_resolution_note: bool, ?content_config: Didit::Types::case_content_config, ?is_active: bool, ?default_deadline_hours: Integer?, ?expected_version: Integer }
|
|
356
|
+
type cases_blueprints_update_params = { ?name: String, ?description: String?, ?assignee_pool: Array[String], ?assignment_method: String, ?max_active_cases: Integer?, ?escalation_enabled: bool, ?escalation_blueprint: String?, ?transfer_enabled: bool, ?four_eyes_checker_blueprint: String?, ?require_resolution_note: bool, ?content_config: Didit::Types::case_content_config, ?is_active: bool, ?default_deadline_hours: Integer?, ?expected_version: Integer, ?applies_to: Array[String] }
|
|
363
357
|
|
|
364
358
|
type cases_bulk_assign_params = { case_uuids: Array[String], assignee_user_id: String?, ?assignee_email: String?, ?assignee_name: String? }
|
|
365
359
|
|
|
@@ -367,14 +361,12 @@ module Didit
|
|
|
367
361
|
|
|
368
362
|
type cases_checklist_toggle_item_params = { is_completed: bool }
|
|
369
363
|
|
|
370
|
-
type cases_create_params = { title: String, ?blueprint: String?, ?priority: String, ?due_at: (Time | String)?, ?tags: Array[String], ?subject: Didit::Types::cases_create_params_subject, ?links: Array[
|
|
364
|
+
type cases_create_params = { title: String, ?blueprint: String?, ?priority: String, ?due_at: (Time | String)?, ?tags: Array[String], ?subject: Didit::Types::cases_create_params_subject, ?links: Array[Didit::Types::cases_links_create_params], ?assigned_to: String?, ?review_duplicates: bool, ?separate_incident_reason: String, ?source_context: Didit::Types::case_duplicate_case_fraud_source_context_request }
|
|
371
365
|
|
|
372
366
|
type cases_create_params_subject = { ?type: String, ?uuid: String }
|
|
373
367
|
|
|
374
368
|
type cases_find_duplicates_params = { ?subject: Didit::Types::case_duplicate_case_subject_input_request, ?links: Array[Didit::Types::case_duplicate_case_link_create_request], ?offset: Integer }
|
|
375
369
|
|
|
376
|
-
type cases_links_create_params = { entity_type: String, entity_uuid: String }
|
|
377
|
-
|
|
378
370
|
type cases_notes_create_attachment_upload_params = { file: Didit::upload }
|
|
379
371
|
|
|
380
372
|
type cases_notes_create_params = { comment: String, ?reply_to: String?, ?client_reference: String?, ?mentioned_emails: Array[String], ?is_internal: bool, ?attachments: Array[Hash[String | Symbol, untyped]], ?tags: Array[String] }
|