@dakota-xyz/ts-sdk 2.0.0 → 2.1.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.
package/README.md CHANGED
@@ -482,6 +482,13 @@ Manage customer entities representing businesses and organizations.
482
482
  | `customers.create(data)` | Create a customer (triggers KYB) |
483
483
  | `customers.list(params?)` | List all customers (paginated) |
484
484
  | `customers.get(id)` | Get customer by ID |
485
+ | `customers.delete(id)` | Soft-delete a customer (blocked if it has accounts) |
486
+ | `customers.getCapabilities(id)` | Capabilities + outstanding requirements to unlock each |
487
+ | `customers.reEngage(id)` | Mint a fresh application link for an approved customer |
488
+ | `customers.bulkImportFromSumsubTokens(data)` | Import from Sumsub share tokens (synchronous) |
489
+ | `customers.importPersonaTokens(data)` | Import from Persona Connect share tokens (async job) |
490
+ | `customers.listPersonaImportJobs(params?)` | List Persona import jobs, newest first |
491
+ | `customers.getPersonaImportJob(jobId, params?)` | Job status + per-token results |
485
492
 
486
493
  ### Recipients
487
494
 
@@ -594,9 +601,9 @@ Manage multi-party authorization.
594
601
  |--------|-------------|
595
602
  | `signerGroups.create(data)` | Create signer group |
596
603
  | `signerGroups.list(params?)` | List signer groups |
597
- | `signerGroups.get(id)` | Get signer group by ID |
604
+ | `signerGroups.get(id, params?)` | Get signer group by ID (`{ include_removed: true }` adds `removed_members`) |
598
605
  | `signerGroups.addSigner(groupId, data)` | Add signer to group |
599
- | `signerGroups.removeSigner(groupId, signerId)` | Remove signer |
606
+ | `signerGroups.removeSigner(groupId, signerId)` | Remove signer (by KSUID `signer_id`, not public key) |
600
607
  | `signerGroups.attachToWallet(walletId, groupId)` | Attach to wallet |
601
608
  | `signerGroups.detachFromWallet(walletId, groupId)` | Detach from wallet |
602
609
 
@@ -668,6 +675,26 @@ Test simulations (sandbox environment only).
668
675
  | `sandbox.advanceSimulation(id)` | Advance simulation state |
669
676
  | `sandbox.listScenarios(params?)` | List available scenarios |
670
677
 
678
+ ### Fee Payout Destination
679
+
680
+ Where Dakota pays your accrued developer fees. Exactly one per organization,
681
+ and crypto-only — a USDC wallet on any supported chain.
682
+
683
+ | Method | Description |
684
+ |--------|-------------|
685
+ | `feePayoutDestination.get()` | Get the registered destination |
686
+ | `feePayoutDestination.set(data)` | Register or replace it (emits `fee_payout_destination.updated`) |
687
+ | `feePayoutDestination.delete()` | Remove it (emits `fee_payout_destination.deleted`) |
688
+
689
+ ```typescript
690
+ await client.feePayoutDestination.set({
691
+ usdc_wallet: {
692
+ chain: 'eip155:8453', // CAIP-2 chain id — see client.info.getNetworks()
693
+ address: '0x1234567890123456789012345678901234567890',
694
+ },
695
+ });
696
+ ```
697
+
671
698
  ### Payment Agents (Alpha)
672
699
 
673
700
  Hosted signing agents that draft payments (`x-alpha`, flag-gated).
@@ -678,6 +705,7 @@ Hosted signing agents that draft payments (`x-alpha`, flag-gated).
678
705
  | `paymentAgents.get(id)` | Get payment agent by ID |
679
706
  | `paymentAgents.revoke(id)` | Revoke the agent's key (kill switch) |
680
707
  | `paymentAgents.createProposals(id, data)` | One-shot proposals turn (see `newAgentConversation`) |
708
+ | `paymentAgents.getProposalsProgress(id)` | Live progress of an in-flight drafting turn (advisory) |
681
709
 
682
710
  ### Mandates (Alpha)
683
711
 
@@ -690,6 +718,9 @@ The §8 authorizations that arm scheduled payments.
690
718
  | `mandates.get(id)` | Get mandate by ID (full wire shape for signing) |
691
719
  | `mandates.approve(id, data)` | Activate with a customer signature |
692
720
  | `mandates.cancel(id, data)` | Cancel a mandate |
721
+ | `mandates.amend(id, data)` | Append a signed NEW version of the rule (keeps window spend) |
722
+ | `mandates.listVersions(id)` | Append-only version history, oldest first |
723
+ | `mandates.getBudget(id)` | Remaining budget: spent, earmarked, left (advisory) |
693
724
 
694
725
  ### Instructions (Alpha)
695
726