Skip to main content
This page documents all methods available on each resource in the TypeScript SDK. For scope-specific field shapes (what fields are available on scoped models), see the Scopes tab. All list methods return PaginatedResponse<T>:
All upsert methods return UpsertResult<T>:

Clients

sdk.clients — CRUD, batch operations, upsert, relationship management, and atomic sync.

CRUD

List, Count, and Iteration

Batch Operations

Upsert

Compliance Checklist

Client Relationships

Clients can be linked together with typed relationships (legal representatives, controlling beneficiaries):
Typed sub-resources are also available for the most common relationship types:
To use a dynamic relationship type (e.g. from a UI picker), use createRelatedClient:

Promote a Non-Primary Client

Atomic Sync

syncAll creates or updates a client together with its related resources in a single transaction:

Tag Management


Transactions

sdk.transactions — CRUD, batch operations, upsert, client relationship management.

CRUD

List, Count, Iterate

Batch / Upsert

Client Linking

Transactions can be linked to multiple clients with optional roles:

Evidence Linking

Tag Management

Checklist


Addresses

sdk.addresses — CRUD and list for client address records.

Contact Methods

sdk.contactMethods — CRUD and list for client email, phone, and other contact methods.

Bank Accounts

sdk.bankAccounts — CRUD, batch, upsert, and sync for client bank accounts. The SDK automatically derives missing CLABE components for Mexican accounts.

CLABE Auto-Fill

When creating or updating a Mexican bank account, the SDK automatically fills in missing fields:
  • Providing clabe populates codigoBanco, codigoPlaza, accountNumber, and bankName.
  • Providing codigoBanco + codigoPlaza + accountNumber computes clabe and bankName.

CRUD

List, Count, Iterate

Convenience Helpers

Batch / Upsert

Sync


Documents

sdk.documents — Document record management with file upload, download, OCR extraction, and review workflow.

Create and Upload

Retry a Failed Upload

If the storage PUT step fails and the document record was already created:

Download

CRUD

List, Count, Iterate

Review Lifecycle

OCR Extraction

Batch / Upsert


Evidence

sdk.evidence — Evidence record management with file upload, download, OCR extraction, review workflow, and transaction linking. Evidence attaches to transactions (whereas documents attach to clients).

Create and Upload

Retry a Failed Upload

Download

CRUD

List, Count, Iterate

Review Lifecycle

OCR Extraction

Transaction Linking

Evidence links to transactions from either side. See also the transaction-side Evidence Linking snippet above.

Batch / Upsert


Alerts

sdk.alerts — Regulatory alert management including item management, validation, and report generation.

CRUD

Status Transitions

Acknowledgment Files

List, Count, Iterate

Alert Items

Alert items represent the individual transactions or clients included in the alert. The SDK provides both per-alert item management and a top-level items sub-resource for cross-alert queries.

Validation and Report Generation

Batch / Upsert

Tag Management


Reports

sdk.reports — Read-only access to generated report files. Reports are created by alerts.generateReport and stored immutably.

Workflows

sdk.workflows — Monitoring workflow management. The workflows namespace also exposes variables, executions, templates, and links sub-resources.

Workflow CRUD

Workflow Variables

sdk.workflows.variables — Configurable threshold and value management for workflows.

Reference Data

sdk.referenceData — Read-only access to external reference datasets.

Exchange Rates

sdk.exchangeRates — Exchange rate lookups with multi-level caching.

Tenant

sdk.tenant — Singleton resource for organization-level metadata and settings.