didit-sdk 2.13.1 → 2.15.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.
@@ -11,7 +11,7 @@ module Didit
11
11
  def batch_delete: (?session_numbers: Array[String], ?delete_all: bool, ?retain_face_embeddings: bool?, ?face_retention_days: Integer, ?face_retention_deadline: Time | String, ?deletion_instruction: String, ?instruction_id: String, ?filter_status: (String | Array[String]), ?filter_vendor_data: String, ?filter_search: String, ?filter_workflow_id: (String | Array[String]), ?filter_date_from: Date | String, ?filter_date_to: Date | String, ?filter_country: (String | Array[String]), ?filter_document_type: (String | Array[String]), ?filter_document_name: (String | Array[String]), ?filter_region: (String | Array[String]), ?filter_didit_internal_id: String, ?filter_session_type: (String | Array[String]), ?filter_api_service: String, ?filter_screened_full_name: String, ?filter_warning: (String | Array[String]), ?filter_status_initialized_as_in_review: bool, ?filter_is_kyc_to_be_reviewed: bool, ?filter_euuid: String, ?filter_organization_name: (String | Array[String]), ?request_options: Didit::request_options?) -> (Didit::Types::SessionsBatchDeleteResponse | Didit::Types::SessionDeletionJob)
12
12
  def bulk_update_aml_hit_status: (String session_id, hit_updates: Array[Didit::Types::sessions_bulk_update_aml_hit_status_params_hit_updates], ?node_id: String, ?node_id_query: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsBulkUpdateAmlHitStatusResponse
13
13
  def cancel_feature_override: (String session_id, String override_id, ?request_options: Didit::request_options?) -> Didit::Types::FeatureStatusOverride
14
- def create: (workflow_id: String, ?vendor_data: String, ?multi_account_segment: String, ?callback: String, ?callback_method: String, ?metadata: untyped, ?tags: Array[String], ?language: String, ?contact_details: Didit::Types::sessions_create_params_contact_details, ?expected_details: Didit::Types::sessions_create_params_expected_details, ?portrait_image: String, ?sandbox_scenario: String, ?sign: Didit::Types::sessions_create_params_sign, ?user_state: String, ?biometric_consent: Didit::Types::sessions_create_params_biometric_consent, ?request_options: Didit::request_options?) -> Didit::Types::SessionsCreateResponse
14
+ def create: (workflow_id: String, ?vendor_data: String, ?multi_account_segment: String, ?callback: String, ?callback_method: String, ?metadata: untyped, ?tags: Array[String], ?session_expiration_time: Integer, ?language: String, ?contact_details: Didit::Types::sessions_create_params_contact_details, ?expected_details: Didit::Types::sessions_create_params_expected_details, ?portrait_image: String, ?sandbox_scenario: String, ?sign: Didit::Types::sessions_create_params_sign, ?user_state: String, ?biometric_consent: Didit::Types::sessions_create_params_biometric_consent, ?request_options: Didit::request_options?) -> Didit::Types::SessionsCreateResponse
15
15
  def create_kyb_party_draft: (String session_id, entity_type: String, nationality: 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)?, ?phone_number: String, ?custom_fields: Hash[String | Symbol, untyped], ?skip_verification: bool, ?node_id: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsCreateKybPartyDraftResponse
16
16
  def delete: (String session_id, ?retain_face_embeddings: bool?, ?face_retention_days: Integer, ?face_retention_deadline: Time | String, ?deletion_instruction: String, ?instruction_id: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsDeleteResponse
17
17
  def delete_kyb_party_draft: (String session_id, String draft_id, ?node_id: String, ?request_options: Didit::request_options?) -> nil
@@ -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
@@ -14,6 +14,7 @@ module Didit
14
14
  AU: String
15
15
  MX: String
16
16
  AE: String
17
+ US: String
17
18
 
18
19
  VALUES: Array[String]
19
20
  end
@@ -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 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 }
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[Hash[String | Symbol, untyped]], ?assigned_to: String?, ?review_duplicates: bool, ?separate_incident_reason: String, ?source_context: Didit::Types::case_duplicate_case_fraud_source_context_request }
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] }
@@ -170,6 +170,18 @@ module Didit
170
170
  VALUES: Array[String]
171
171
  end
172
172
 
173
+ module AddressValidationResultAddressType
174
+ STREET: String
175
+ PO_BOX: String
176
+ HIGH_RISE: String
177
+ RURAL_ROUTE: String
178
+ GENERAL_DELIVERY: String
179
+ FIRM: String
180
+ BUILDING: String
181
+
182
+ VALUES: Array[String]
183
+ end
184
+
173
185
  module AddressValidationResultStatus
174
186
  VERIFIED: String
175
187
  PARTIALLY_VERIFIED: String
@@ -436,6 +448,24 @@ module Didit
436
448
  VALUES: Array[String]
437
449
  end
438
450
 
451
+ module CaseBlueprintAiDraftAssignmentMethod
452
+ MANUAL: String
453
+ AUTOMATIC: String
454
+
455
+ VALUES: Array[String]
456
+ end
457
+
458
+ module CaseBlueprintAppliesToValues
459
+ GENERAL: String
460
+ VERIFICATION_REVIEW: String
461
+ BUSINESS_REVIEW: String
462
+ AML: String
463
+ TRANSACTION_MONITORING: String
464
+ DUPLICATES: String
465
+
466
+ VALUES: Array[String]
467
+ end
468
+
439
469
  module CaseBlueprintDetailAssignmentMethod
440
470
  MANUAL: String
441
471
  AUTOMATIC: String
@@ -507,6 +537,7 @@ module Didit
507
537
  SESSION: String
508
538
  BUSINESS_SESSION: String
509
539
  TRANSACTION: String
540
+ NETWORK: String
510
541
 
511
542
  VALUES: Array[String]
512
543
  end
@@ -589,6 +620,7 @@ module Didit
589
620
  SESSION: String
590
621
  BUSINESS_SESSION: String
591
622
  TRANSACTION: String
623
+ NETWORK: String
592
624
 
593
625
  VALUES: Array[String]
594
626
  end
@@ -675,6 +707,15 @@ module Didit
675
707
  VALUES: Array[String]
676
708
  end
677
709
 
710
+ module CasesLinksCreateParamsEntityType
711
+ SESSION: String
712
+ BUSINESS_SESSION: String
713
+ TRANSACTION: String
714
+ NETWORK: String
715
+
716
+ VALUES: Array[String]
717
+ end
718
+
678
719
  module ComplianceListEntryMetadataFaceImageSource
679
720
  FRONT_IMAGE_CAMERA_FRONT: String
680
721
  BACK_IMAGE_CAMERA_FRONT: String
@@ -2914,6 +2955,13 @@ module Didit
2914
2955
  VALUES: Array[String]
2915
2956
  end
2916
2957
 
2958
+ module SessionDecisionKeyPeopleChecksListedCompanyDeclarationType
2959
+ LISTED_COMPANY: String
2960
+ SUBSIDIARY_OF_LISTED_COMPANY: String
2961
+
2962
+ VALUES: Array[String]
2963
+ end
2964
+
2917
2965
  module SessionDecisionKeyPeopleChecksRegistryBeneficialOwnersAmlStatus
2918
2966
  NOT_FINISHED: String
2919
2967
  APPROVED: String
@@ -4813,6 +4861,16 @@ module Didit
4813
4861
  VALUES: Array[String]
4814
4862
  end
4815
4863
 
4864
+ module TravelRuleTransferDetailCancelReason
4865
+ VALUE: String
4866
+ USER_CANCELLED: String
4867
+ WRONG_WALLET: String
4868
+ COMPLIANCE_DECISION: String
4869
+ OTHER: String
4870
+
4871
+ VALUES: Array[String]
4872
+ end
4873
+
4816
4874
  module TravelRuleTransferDetailDirection
4817
4875
  INBOUND: String
4818
4876
  OUTBOUND: String
@@ -5189,6 +5247,14 @@ module Didit
5189
5247
  VALUES: Array[String]
5190
5248
  end
5191
5249
 
5250
+ module VaspDirectoryEntrySource
5251
+ DIDIT_NETWORK: String
5252
+ DIRECTORY: String
5253
+ ADDED_BY_YOU: String
5254
+
5255
+ VALUES: Array[String]
5256
+ end
5257
+
5192
5258
  module WalletAddressImportReportRowsStatus
5193
5259
  CREATED: String
5194
5260
  EXISTING: String
@@ -5773,6 +5839,8 @@ module Didit
5773
5839
  def formatted_address: () -> String?
5774
5840
  def latitude: () -> Float?
5775
5841
  def longitude: () -> Float?
5842
+ def address_type: () -> String?
5843
+ def is_residential: () -> bool?
5776
5844
  end
5777
5845
 
5778
5846
  class AddressValidationResultAddress < Didit::Model
@@ -6057,6 +6125,7 @@ module Didit
6057
6125
  def request_id: () -> String
6058
6126
  def result: () -> String
6059
6127
  def holder_name: () -> String?
6128
+ def name_match_score: () -> Integer?
6060
6129
  def account: () -> String
6061
6130
  def vendor_data: () -> String?
6062
6131
  def created_at: () -> Time
@@ -6334,6 +6403,21 @@ module Didit
6334
6403
  def email: () -> String?
6335
6404
  end
6336
6405
 
6406
+ class CaseBlueprintAiDraft < Didit::Model
6407
+ def name: () -> String?
6408
+ def description: () -> String?
6409
+ def content_config: () -> Didit::Types::CaseContentConfig?
6410
+ def require_resolution_note: () -> bool?
6411
+ def assignment_method: () -> String?
6412
+ def max_active_cases: () -> Integer?
6413
+ def default_deadline_hours: () -> Integer?
6414
+ def applies_to: () -> Array[String]?
6415
+ end
6416
+
6417
+ class CaseBlueprintAiDraftResponse < Didit::Model
6418
+ def draft: () -> Didit::Types::CaseBlueprintAiDraft
6419
+ end
6420
+
6337
6421
  class CaseBlueprintDetail < Didit::Model
6338
6422
  def uuid: () -> String?
6339
6423
  def name: () -> String?
@@ -6351,64 +6435,14 @@ module Didit
6351
6435
  def escalation_blueprint_name: () -> String?
6352
6436
  def four_eyes_checker_blueprint: () -> String?
6353
6437
  def four_eyes_checker_blueprint_name: () -> String?
6354
- def content_config: () -> Didit::Types::CaseBlueprintDetailContentConfig?
6438
+ def content_config: () -> Didit::Types::CaseContentConfig?
6355
6439
  def creation_sources: () -> Array[Didit::Types::CaseBlueprintDetailCreationSources]?
6356
6440
  def receives_escalation_from: () -> Array[Didit::Types::CaseBlueprintDetailReceivesEscalationFrom]?
6357
6441
  def updated_at: () -> Time?
6358
6442
  def version: () -> Integer?
6359
6443
  def default_deadline_hours: () -> Integer?
6360
- end
6361
-
6362
- class CaseBlueprintDetailContentConfig < Didit::Model
6363
- def checklist: () -> Didit::Types::CaseBlueprintDetailContentConfigChecklist?
6364
- def aml_control: () -> Didit::Types::CaseBlueprintDetailContentConfigAmlControl?
6365
- def identity: () -> Didit::Types::CaseBlueprintDetailContentConfigIdentity?
6366
- def verifications: () -> Didit::Types::CaseBlueprintDetailContentConfigVerifications?
6367
- def reporting: () -> Didit::Types::CaseBlueprintDetailContentConfigReporting?
6368
- def financial: () -> Didit::Types::CaseBlueprintDetailContentConfigFinancial?
6369
- end
6370
-
6371
- class CaseBlueprintDetailContentConfigAmlControl < Didit::Model
6372
- def enabled: () -> bool?
6373
- def financial: () -> bool?
6374
- def identity: () -> bool?
6375
- end
6376
-
6377
- class CaseBlueprintDetailContentConfigChecklist < Didit::Model
6378
- def enabled: () -> bool?
6379
- def optional: () -> bool?
6380
- def items: () -> Array[Didit::Types::CaseBlueprintDetailContentConfigChecklistItems]?
6381
- end
6382
-
6383
- class CaseBlueprintDetailContentConfigChecklistItems < Didit::Model
6384
- def label: () -> String?
6385
- def order: () -> Integer?
6386
- end
6387
-
6388
- class CaseBlueprintDetailContentConfigFinancial < Didit::Model
6389
- def enabled: () -> bool?
6390
- def payment_methods: () -> bool?
6391
- def transactions: () -> bool?
6392
- end
6393
-
6394
- class CaseBlueprintDetailContentConfigIdentity < Didit::Model
6395
- def enabled: () -> bool?
6396
- def personal_information: () -> bool?
6397
- def applicant_tags: () -> bool?
6398
- def contact_information: () -> bool?
6399
- def risk_overview: () -> bool?
6400
- def poi_documents: () -> bool?
6401
- def poa_documents: () -> bool?
6402
- end
6403
-
6404
- class CaseBlueprintDetailContentConfigReporting < Didit::Model
6405
- def enabled: () -> bool?
6406
- def fiu_reports: () -> bool?
6407
- end
6408
-
6409
- class CaseBlueprintDetailContentConfigVerifications < Didit::Model
6410
- def enabled: () -> bool?
6411
- def summary: () -> bool?
6444
+ def applies_to: () -> Array[String]?
6445
+ def stages: () -> Array[Didit::Types::CaseBlueprintStage]?
6412
6446
  end
6413
6447
 
6414
6448
  class CaseBlueprintDetailCreationSources < Didit::Model
@@ -6437,12 +6471,21 @@ module Didit
6437
6471
  def created_at: () -> Time?
6438
6472
  def version: () -> Integer?
6439
6473
  def default_deadline_hours: () -> Integer?
6474
+ def applies_to: () -> Array[String]?
6475
+ def stages: () -> Array[Didit::Types::CaseBlueprintStage]?
6440
6476
  end
6441
6477
 
6442
6478
  class CaseBlueprintPresetInstallResult < Didit::Model
6443
6479
  def created: () -> Array[String]?
6444
6480
  end
6445
6481
 
6482
+ class CaseBlueprintStage < Didit::Model
6483
+ def key: () -> String?
6484
+ def label: () -> String
6485
+ def sla_hours: () -> Integer?
6486
+ def worked_by: () -> String?
6487
+ end
6488
+
6446
6489
  class CaseBlueprintSummary < Didit::Model
6447
6490
  def uuid: () -> String?
6448
6491
  def name: () -> String?
@@ -6509,6 +6552,7 @@ module Didit
6509
6552
  def verifications: () -> Didit::Types::CaseContentConfigVerifications?
6510
6553
  def reporting: () -> Didit::Types::CaseContentConfigReporting?
6511
6554
  def financial: () -> Didit::Types::CaseContentConfigFinancial?
6555
+ def stages: () -> Didit::Types::CaseContentConfigStages?
6512
6556
  end
6513
6557
 
6514
6558
  class CaseContentConfigAmlControl < Didit::Model
@@ -6549,6 +6593,10 @@ module Didit
6549
6593
  def fiu_reports: () -> bool?
6550
6594
  end
6551
6595
 
6596
+ class CaseContentConfigStages < Didit::Model
6597
+ def items: () -> Array[Didit::Types::CaseBlueprintStage]?
6598
+ end
6599
+
6552
6600
  class CaseContentConfigVerifications < Didit::Model
6553
6601
  def enabled: () -> bool?
6554
6602
  def summary: () -> bool?
@@ -6702,7 +6750,7 @@ module Didit
6702
6750
  def four_eyes_checker_blueprint: () -> String?
6703
6751
  def four_eyes_checker_blueprint_name: () -> String
6704
6752
  def require_resolution_note: () -> bool?
6705
- def content_config: () -> untyped
6753
+ def content_config: () -> Didit::Types::CaseContentConfig?
6706
6754
  def version: () -> Integer?
6707
6755
  def default_deadline_hours: () -> Integer?
6708
6756
  def is_active: () -> bool?
@@ -6711,6 +6759,8 @@ module Didit
6711
6759
  def receives_escalation_from: () -> Array[Hash[String, untyped]]
6712
6760
  def created_at: () -> Time
6713
6761
  def updated_at: () -> Time
6762
+ def applies_to: () -> Array[String]?
6763
+ def stages: () -> Array[Didit::Types::CaseBlueprintStage]?
6714
6764
  end
6715
6765
 
6716
6766
  class CasePublicationPaginatedPolicyRevisionList < Didit::Model
@@ -9599,9 +9649,17 @@ module Didit
9599
9649
  def registry: () -> Didit::Types::SessionDecisionKeyPeopleChecksRegistry?
9600
9650
  def submitted: () -> Didit::Types::SessionDecisionKeyPeopleChecksSubmitted?
9601
9651
  def ubo_kyc_summary: () -> Didit::Types::SessionDecisionKeyPeopleChecksUboKycSummary?
9652
+ def listed_company_declaration: () -> Didit::Types::SessionDecisionKeyPeopleChecksListedCompanyDeclaration?
9602
9653
  def warnings: () -> Array[Hash[String, untyped]]?
9603
9654
  end
9604
9655
 
9656
+ class SessionDecisionKeyPeopleChecksListedCompanyDeclaration < Didit::Model
9657
+ def `type`: () -> String
9658
+ def stock_exchange: () -> String?
9659
+ def isin: () -> String?
9660
+ def listed_parent_company_name: () -> String?
9661
+ end
9662
+
9605
9663
  class SessionDecisionKeyPeopleChecksRegistry < Didit::Model
9606
9664
  def officers: () -> Array[Didit::Types::SessionDecisionKeyPeopleChecksRegistryOfficers]?
9607
9665
  def beneficial_owners: () -> Array[Didit::Types::SessionDecisionKeyPeopleChecksRegistryBeneficialOwners]?
@@ -10814,6 +10872,7 @@ module Didit
10814
10872
  def chain_details: () -> Didit::Types::TravelRuleChainDetails?
10815
10873
  def not_required_reason: () -> String?
10816
10874
  def proof_state: () -> String?
10875
+ def user_choice: () -> Didit::Types::TravelRuleUserChoice?
10817
10876
  end
10818
10877
 
10819
10878
  class TransactionListTravelRuleCounterpartyVasp < Didit::Model
@@ -11032,6 +11091,7 @@ module Didit
11032
11091
  def deliveries_truncated: () -> bool?
11033
11092
  def not_required_reason: () -> String?
11034
11093
  def proof_state: () -> String?
11094
+ def user_choice: () -> Didit::Types::TravelRuleUserChoice?
11035
11095
  end
11036
11096
 
11037
11097
  class TransactionTravelRuleCounterpartyVasp < Didit::Model
@@ -11464,6 +11524,10 @@ module Didit
11464
11524
  def deliveries_truncated: () -> bool?
11465
11525
  def not_required_reason: () -> String?
11466
11526
  def proof_state: () -> String?
11527
+ def cancel_reason: () -> String?
11528
+ def cancelled_by: () -> String?
11529
+ def notify_on_answer: () -> bool?
11530
+ def user_choice: () -> Didit::Types::TravelRuleUserChoice?
11467
11531
  end
11468
11532
 
11469
11533
  class TravelRuleTransferDetailCounterpartyVasp < Didit::Model
@@ -11516,6 +11580,22 @@ module Didit
11516
11580
  def created_at: () -> Time?
11517
11581
  end
11518
11582
 
11583
+ class TravelRuleUserChoice < Didit::Model
11584
+ def active: () -> bool
11585
+ def waiting: () -> bool
11586
+ def end_user_link: () -> String
11587
+ def link_expires_at: () -> Time?
11588
+ def emailed_to: () -> String
11589
+ def email_available: () -> bool
11590
+ end
11591
+
11592
+ class TravelRuleUserLinkResponse < Didit::Model
11593
+ def end_user_link: () -> String
11594
+ def expires_at: () -> Time
11595
+ def emailed_to: () -> String
11596
+ def email_available: () -> bool
11597
+ end
11598
+
11519
11599
  class TravelRuleUtxoEntry < Didit::Model
11520
11600
  def address: () -> String
11521
11601
  def amount: () -> String?
@@ -11690,6 +11770,7 @@ module Didit
11690
11770
  def decision: () -> Didit::Types::TravelRuleCounterpartyDecision?
11691
11771
  def entity_screening: () -> Didit::Types::TravelRuleCounterpartyScreening?
11692
11772
  def questionnaires: () -> Array[Didit::Types::TravelRuleCounterpartyQuestionnaire]?
11773
+ def source: () -> String?
11693
11774
  end
11694
11775
 
11695
11776
  class VaspDirectoryEntryAliases < Didit::Model
@@ -12038,7 +12119,9 @@ module Didit
12038
12119
 
12039
12120
  type bank_account_check_person_holder = { full_name: String }
12040
12121
 
12041
- type case_content_config = { ?checklist: Didit::Types::case_content_config_checklist, ?aml_control: Didit::Types::case_content_config_aml_control, ?identity: Didit::Types::case_content_config_identity, ?verifications: Didit::Types::case_content_config_verifications, ?reporting: Didit::Types::case_content_config_reporting, ?financial: Didit::Types::case_content_config_financial }
12122
+ type case_blueprint_stage = { ?key: String, label: String, ?sla_hours: Integer?, ?worked_by: String? }
12123
+
12124
+ type case_content_config = { ?checklist: Didit::Types::case_content_config_checklist, ?aml_control: Didit::Types::case_content_config_aml_control, ?identity: Didit::Types::case_content_config_identity, ?verifications: Didit::Types::case_content_config_verifications, ?reporting: Didit::Types::case_content_config_reporting, ?financial: Didit::Types::case_content_config_financial, ?stages: Didit::Types::case_content_config_stages }
12042
12125
 
12043
12126
  type case_content_config_aml_control = { ?enabled: bool, ?financial: bool, ?identity: bool }
12044
12127
 
@@ -12052,6 +12135,8 @@ module Didit
12052
12135
 
12053
12136
  type case_content_config_reporting = { ?enabled: bool, ?fiu_reports: bool }
12054
12137
 
12138
+ type case_content_config_stages = { ?items: Array[Didit::Types::case_blueprint_stage] }
12139
+
12055
12140
  type case_content_config_verifications = { ?enabled: bool, ?summary: bool }
12056
12141
 
12057
12142
  type case_duplicate_case_fraud_source_context_request = { check_id: String, request_id: String, source_section: String }
@@ -12066,6 +12151,8 @@ module Didit
12066
12151
 
12067
12152
  type case_routing_rule_create = { name: String, ?description: String, ?priority: Integer, conditions: Array[Didit::Types::case_routing_condition], ?required_skills: Array[String], blueprint: String, ?team: String?, ?is_active: bool, ?publish: bool }
12068
12153
 
12154
+ type cases_links_create_params = { entity_type: String, entity_uuid: String }
12155
+
12069
12156
  type fraud_check_attributes_request = { ?first_name: String, ?last_name: String, ?full_name: String, ?date_of_birth: Date | String, ?nationality: String, ?gender: String, ?address: String, ?city: String, ?state: String, ?postal_code: String }
12070
12157
 
12071
12158
  type fraud_check_context_request = { ?ip_address: String, ?user_agent: String, ?country: String, ?purpose: String, ?consent_obtained: bool }
@@ -1209,6 +1209,7 @@ module Didit
1209
1209
  def vendor_data: () -> String?
1210
1210
  def metadata: () -> untyped
1211
1211
  def tags: () -> Array[String]?
1212
+ def expires_at: () -> Time?
1212
1213
  def status: () -> String
1213
1214
  def callback: () -> String?
1214
1215
  def workflow_id: () -> String
@@ -1736,7 +1737,7 @@ module Didit
1736
1737
 
1737
1738
  type sessions_create_kyb_party_draft_params = { 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 }
1738
1739
 
1739
- type sessions_create_params = { workflow_id: String, ?vendor_data: String, ?multi_account_segment: String, ?callback: String, ?callback_method: String, ?metadata: untyped, ?tags: Array[String], ?language: String, ?contact_details: Didit::Types::sessions_create_params_contact_details, ?expected_details: Didit::Types::sessions_create_params_expected_details, ?portrait_image: String, ?sandbox_scenario: String, ?sign: Didit::Types::sessions_create_params_sign, ?user_state: String, ?biometric_consent: Didit::Types::sessions_create_params_biometric_consent }
1740
+ type sessions_create_params = { workflow_id: String, ?vendor_data: String, ?multi_account_segment: String, ?callback: String, ?callback_method: String, ?metadata: untyped, ?tags: Array[String], ?session_expiration_time: Integer, ?language: String, ?contact_details: Didit::Types::sessions_create_params_contact_details, ?expected_details: Didit::Types::sessions_create_params_expected_details, ?portrait_image: String, ?sandbox_scenario: String, ?sign: Didit::Types::sessions_create_params_sign, ?user_state: String, ?biometric_consent: Didit::Types::sessions_create_params_biometric_consent }
1740
1741
 
1741
1742
  type sessions_create_params_biometric_consent = { given_at: Time | String, text_version: String }
1742
1743
 
@@ -25,6 +25,13 @@ module Didit
25
25
  VALUES: Array[String]
26
26
  end
27
27
 
28
+ module TransactionsCreateParamsTravelRuleDetailsCounterpartyChoice
29
+ DISCOVERY: String
30
+ USER: String
31
+
32
+ VALUES: Array[String]
33
+ end
34
+
28
35
  module TransactionsListResponseResultsDirection
29
36
  INBOUND: String
30
37
  OUTBOUND: String
@@ -117,6 +124,13 @@ module Didit
117
124
  VALUES: Array[String]
118
125
  end
119
126
 
127
+ module TransactionsTravelRuleCreateUserLinkParamsChannel
128
+ LINK: String
129
+ EMAIL: String
130
+
131
+ VALUES: Array[String]
132
+ end
133
+
120
134
  module TransactionsTravelRuleTriggerTestVaspInboundParamsScenario
121
135
  ACCEPT: String
122
136
  NAME_MISMATCH: String
@@ -130,6 +144,17 @@ module Didit
130
144
  UPDATE_COMPLIANCE_EMAIL: String
131
145
  UPDATE_ORIGINATOR_WALLET: String
132
146
  BENEFICIARY_VASP: String
147
+ ADD_VASP_HINT: String
148
+
149
+ VALUES: Array[String]
150
+ end
151
+
152
+ module TransactionsTravelRuleUpdateTransferParamsReason
153
+ VALUE: String
154
+ USER_CANCELLED: String
155
+ WRONG_WALLET: String
156
+ COMPLIANCE_DECISION: String
157
+ OTHER: String
133
158
 
134
159
  VALUES: Array[String]
135
160
  end
@@ -246,7 +271,7 @@ module Didit
246
271
 
247
272
  type transactions_create_params_transaction_details_crypto_params = { ?crypto_chain: String }
248
273
 
249
- type transactions_create_params_travel_rule_details = { status: String, ?protocol: String, ?required: bool, ?obligations_count: Integer, ?originator_data: Hash[String | Symbol, untyped], ?beneficiary_data: Hash[String | Symbol, untyped], ?metadata: Hash[String | Symbol, untyped], ?utxo: Didit::Types::travel_rule_utxo, ?originator: Hash[String | Symbol, untyped], ?beneficiary: Hash[String | Symbol, untyped], ?ivms101: Hash[String | Symbol, untyped] }
274
+ type transactions_create_params_travel_rule_details = { status: String, ?protocol: String, ?required: bool, ?obligations_count: Integer, ?originator_data: Hash[String | Symbol, untyped], ?beneficiary_data: Hash[String | Symbol, untyped], ?metadata: Hash[String | Symbol, untyped], ?utxo: Didit::Types::travel_rule_utxo, ?originator: Hash[String | Symbol, untyped], ?beneficiary: Hash[String | Symbol, untyped], ?ivms101: Hash[String | Symbol, untyped], ?counterparty_choice: String }
250
275
 
251
276
  type transactions_create_sdk_token_params = { vendor_data: String, ?ttl_seconds: Integer, ?max_uses: Integer? }
252
277
 
@@ -266,8 +291,10 @@ module Didit
266
291
 
267
292
  type transactions_travel_rule_create_message_params = { ?kind: String, ?body: String, ?requested_documents: Array[String], ?reply_to: String?, ?files: Array[Didit::upload] }
268
293
 
294
+ type transactions_travel_rule_create_user_link_params = { ?channel: String }
295
+
269
296
  type transactions_travel_rule_trigger_test_vasp_inbound_params = { beneficiary_wallet_address: String, ?scenario: String, ?chain: String, ?amount: String, ?currency: String, ?reference: String }
270
297
 
271
- type transactions_travel_rule_update_transfer_params = { ?payment_txn_id: String, ?action: String, ?compliance_email: String, ?wallet_address: String, ?memo: String, ?beneficiary_vasp: String }
298
+ type transactions_travel_rule_update_transfer_params = { ?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 }
272
299
  end
273
300
  end
@@ -160,6 +160,8 @@ module Didit
160
160
 
161
161
  type travel_rule_counterparty_contacts_create_params = { counterparty: String, email: String, ?name: String }
162
162
 
163
+ type travel_rule_create_vasp_params = { name: String, email: String, ?lei: String, ?jurisdiction: String, ?invite: bool }
164
+
163
165
  type travel_rule_create_widget_session_params = { ?wallet_address: String, ?chain: String, ?holder_name: String, ?vendor_data: String, ?transaction_id: String?, ?satoshi_deposit_address: String, ?callback_url: String, ?expires_in_minutes: Integer }
164
166
 
165
167
  type travel_rule_networks_update_questionnaire_params = { ?legal_name: String, ?registration_number: String, ?incorporation_country: String, ?registered_address: String, ?website: String, ?lei: String, ?licences: Array[Didit::Types::travel_rule_networks_update_questionnaire_params_licences], ?operating_jurisdictions: Array[String], ?compliance_officer_name: String, ?compliance_officer_email: String, ?aml_ctf_policy_attested: bool, ?sanctions_screening_attested: bool, ?data_protection_attested: bool, ?data_protection_contact_email: String, ?expected_monthly_transfers: Integer, ?expected_monthly_volume_usd: String, ?assets: Array[String] }
@@ -23,8 +23,8 @@ module Didit
23
23
  def results: () -> Array[Didit::Types::WorkflowListItem]?
24
24
  end
25
25
 
26
- type workflows_create_params = { ?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 }
26
+ type workflows_create_params = { ?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 }
27
27
 
28
- type workflows_update_params = { ?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 }
28
+ type workflows_update_params = { ?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 }
29
29
  end
30
30
  end
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.13.1
4
+ version: 2.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didit