@capxul/sdk 0.1.0-alpha.2 → 0.1.0-alpha.4
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/CHANGELOG.md +48 -0
- package/dist/{client-D-0KTn8D.d.cts → client-CXRKtbfn.d.cts} +177 -72
- package/dist/{client-CweJSkaY.d.ts → client-CcCtq5XO.d.ts} +177 -72
- package/dist/client.cjs +191 -3
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +191 -3
- package/dist/index.cjs +202 -3
- package/dist/index.d.cts +10 -3
- package/dist/index.d.ts +10 -3
- package/dist/index.js +201 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
# @capxul/sdk
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.4
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Post-alpha hardening — WAVE 1 + WAVE 2 cumulative
|
|
8
|
+
|
|
9
|
+
**WAVE 1 (merged 2026-05-03 12:44Z):**
|
|
10
|
+
- S2 story 1: wire onboarding readback hooks (#469) — `me.update`, `accounts.retrieve`, `accounts.update`, `useAccount`, `useSafe`
|
|
11
|
+
- S3 phase 1: Ink reference CLI scaffold + `auth+me` end-to-end against live alpha-3 Convex (#470). Stickiness gate (D3) fired.
|
|
12
|
+
- S5: split `CapxulProvider` into public single-input `BrowserCapxulConfig` + test-only `CapxulTestProvider` from `@capxul/sdk-react/proof` (#473). Q1 lock honored. 7 type-level provider-shape guards including `@ts-expect-error` against test-provider leaking to public barrel.
|
|
13
|
+
|
|
14
|
+
**WAVE 2 (merged 2026-05-03 12:54-13:16Z):**
|
|
15
|
+
- S3 phase 2: per-domain CLI commands closing #458 (#476) — `account retrieve/update`, `safe retrieve`, `payment retrieve`, `withdrawal retrieve/list`. 12/12 agent-driver tests pass.
|
|
16
|
+
- S2 story 2: `capxul.tokenTransfers.*` non-canonical SDK namespace (#479) — Option A per #477 (canon-aligned `transfers.*` shape deferred to alpha.5+ pending backend canon work). New `useTokenTransfers` + `useTokenTransfer` hooks; new `getByTxLogIndex` backend query. Hook proof matrix length unchanged at 41 (non-canonical hooks deliberately excluded).
|
|
17
|
+
|
|
18
|
+
**S1 (#456) closed no-op** — alpha publish infrastructure (tsup, lazy-DX, transport state machine, npm metadata, READMEs, CHANGELOG, changesets, OIDC release workflow) physically merged into `api-first` via PRs #449-#452 earlier the same day; the slice merge produced 0 file changes per clean-room probe.
|
|
19
|
+
|
|
20
|
+
**Friction issues filed for alpha.4+ polish:**
|
|
21
|
+
- #474 — `me.get` returns `NOT_IMPLEMENTED` when `config.data` is undefined; should be `NOT_AUTHENTICATED`.
|
|
22
|
+
- #475 — `@capxul/sdk/headless` slim entry point excludes xstate flow machines + brand constructors (1.6 MB → much smaller).
|
|
23
|
+
- #477 / #478 — `transfers.*` / `balanceLedger.*` / `treasury` canon-shape alignment with indexer feed.
|
|
24
|
+
- #471 — Vercel-capxul-web preview-deploy systemic failure on api-first base (separate from epic).
|
|
25
|
+
|
|
26
|
+
## 0.1.0-alpha.3
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- Re-export `tryCatch` from `@capxul/sdk`.
|
|
31
|
+
|
|
32
|
+
`tryCatch` is referenced in `packages/sdk/README.md` (live on npm at
|
|
33
|
+
`0.1.0-alpha.2`) and in `.claude/rules/sdk.md` as the canonical
|
|
34
|
+
async-error helper for SDK operations:
|
|
35
|
+
|
|
36
|
+
```ts
|
|
37
|
+
import { tryCatch } from "@capxul/sdk";
|
|
38
|
+
|
|
39
|
+
const [err, payment] = await tryCatch(capxul.payments.create({ ... }));
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
The helper lives at `@repo/observability/try-catch.ts` and is bundled
|
|
43
|
+
into the SDK dist via tsup `noExternal`, but it was never re-exported
|
|
44
|
+
from `packages/sdk/src/index.ts`. Consumers following the README example
|
|
45
|
+
hit `Module '"@capxul/sdk"' has no exported member 'tryCatch'.` at
|
|
46
|
+
import time.
|
|
47
|
+
|
|
48
|
+
Caught during alpha.2 spike-install verification (REVIEW.html, "What's
|
|
49
|
+
not proven" row 6). One-line public-export addition; no runtime change.
|
|
50
|
+
|
|
3
51
|
## 0.1.0-alpha.2
|
|
4
52
|
|
|
5
53
|
### Patch Changes
|
|
@@ -53,10 +53,10 @@ type AccountCreateExternalAccountInput = {
|
|
|
53
53
|
readonly panToken?: string;
|
|
54
54
|
readonly last4?: string;
|
|
55
55
|
};
|
|
56
|
-
type RetrieveCodes$
|
|
56
|
+
type RetrieveCodes$e = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND";
|
|
57
57
|
type LookupCodes = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "INVALID_INPUT";
|
|
58
58
|
type UpdateCodes$1 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND" | "INVALID_INPUT";
|
|
59
|
-
type ListCodes$
|
|
59
|
+
type ListCodes$b = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "INVALID_INPUT";
|
|
60
60
|
type SafeRetrieveCodes$1 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND" | "SAFE_NOT_READY";
|
|
61
61
|
type RemoveCodes$5 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND";
|
|
62
62
|
type AccountSafesClient = {
|
|
@@ -64,32 +64,32 @@ type AccountSafesClient = {
|
|
|
64
64
|
};
|
|
65
65
|
type AccountKycProfilesClient = {
|
|
66
66
|
readonly create: (input: AccountCreateKycProfileInput) => Promise<CapxulResult<KycProfile, UpdateCodes$1>>;
|
|
67
|
-
readonly retrieve: (kycProfileId: KycProfileId) => Promise<CapxulResult<KycProfile, RetrieveCodes$
|
|
67
|
+
readonly retrieve: (kycProfileId: KycProfileId) => Promise<CapxulResult<KycProfile, RetrieveCodes$e>>;
|
|
68
68
|
};
|
|
69
69
|
type AccountExternalAccountsClient = {
|
|
70
70
|
readonly create: (input: AccountCreateExternalAccountInput) => Promise<CapxulResult<ExternalAccount, UpdateCodes$1>>;
|
|
71
71
|
readonly list: (input: {
|
|
72
72
|
readonly accountId: AccountId;
|
|
73
|
-
} & AccountListInput) => Promise<CapxulResult<List<ExternalAccount>, ListCodes$
|
|
74
|
-
readonly retrieve: (externalAccountId: ExternalAccountId) => Promise<CapxulResult<ExternalAccount, RetrieveCodes$
|
|
73
|
+
} & AccountListInput) => Promise<CapxulResult<List<ExternalAccount>, ListCodes$b>>;
|
|
74
|
+
readonly retrieve: (externalAccountId: ExternalAccountId) => Promise<CapxulResult<ExternalAccount, RetrieveCodes$e>>;
|
|
75
75
|
readonly remove: (externalAccountId: ExternalAccountId) => Promise<CapxulResult<void, RemoveCodes$5>>;
|
|
76
76
|
};
|
|
77
77
|
type AccountSubAccountsClient = {
|
|
78
78
|
readonly create: (input: AccountCreateSubAccountInput) => Promise<CapxulResult<SubAccount, UpdateCodes$1>>;
|
|
79
79
|
readonly list: (input: {
|
|
80
80
|
readonly accountId: AccountId;
|
|
81
|
-
} & AccountListInput) => Promise<CapxulResult<List<SubAccount>, ListCodes$
|
|
82
|
-
readonly retrieve: (subAccountId: SubAccountId) => Promise<CapxulResult<SubAccount, RetrieveCodes$
|
|
81
|
+
} & AccountListInput) => Promise<CapxulResult<List<SubAccount>, ListCodes$b>>;
|
|
82
|
+
readonly retrieve: (subAccountId: SubAccountId) => Promise<CapxulResult<SubAccount, RetrieveCodes$e>>;
|
|
83
83
|
readonly remove: (subAccountId: SubAccountId) => Promise<CapxulResult<void, RemoveCodes$5>>;
|
|
84
84
|
};
|
|
85
85
|
type AccountBalanceLedgerClient = {
|
|
86
86
|
readonly list: (input: {
|
|
87
87
|
readonly accountId: AccountId;
|
|
88
|
-
} & AccountListInput) => Promise<CapxulResult<List<BalanceLedgerEntry>, ListCodes$
|
|
89
|
-
readonly retrieve: (entryId: string) => Promise<CapxulResult<BalanceLedgerEntry, RetrieveCodes$
|
|
88
|
+
} & AccountListInput) => Promise<CapxulResult<List<BalanceLedgerEntry>, ListCodes$b>>;
|
|
89
|
+
readonly retrieve: (entryId: string) => Promise<CapxulResult<BalanceLedgerEntry, RetrieveCodes$e>>;
|
|
90
90
|
};
|
|
91
91
|
type AccountsClient = {
|
|
92
|
-
readonly retrieve: (accountId: AccountId) => Promise<CapxulResult<Account, RetrieveCodes$
|
|
92
|
+
readonly retrieve: (accountId: AccountId) => Promise<CapxulResult<Account, RetrieveCodes$e>>;
|
|
93
93
|
readonly lookup: (input: AccountLookupInput) => Promise<CapxulResult<AccountLookupResult, LookupCodes>>;
|
|
94
94
|
readonly update: (input: {
|
|
95
95
|
readonly accountId: AccountId;
|
|
@@ -125,9 +125,9 @@ type ApiKeysListInput = {
|
|
|
125
125
|
};
|
|
126
126
|
type ApiKeysRevokeInput = ApiKeysRetrieveInput;
|
|
127
127
|
type CreateCodes$8 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "INVALID_INPUT" | "RATE_LIMITED" | "NETWORK_ERROR";
|
|
128
|
-
type RetrieveCodes$
|
|
129
|
-
type ListCodes$
|
|
130
|
-
type RevokeCodes = RetrieveCodes$
|
|
128
|
+
type RetrieveCodes$d = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND";
|
|
129
|
+
type ListCodes$a = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "INVALID_INPUT";
|
|
130
|
+
type RevokeCodes = RetrieveCodes$d;
|
|
131
131
|
/**
|
|
132
132
|
* Shape returned by `organizations.apiKeys.create` — the one-time
|
|
133
133
|
* secret `value` is included here and omitted from every subsequent
|
|
@@ -138,8 +138,8 @@ type ApiKeyCreateResult = ApiKey & {
|
|
|
138
138
|
};
|
|
139
139
|
type ApiKeysClient = {
|
|
140
140
|
readonly create: (input: ApiKeysCreateInput) => Promise<CapxulResult<ApiKeyCreateResult, CreateCodes$8>>;
|
|
141
|
-
readonly retrieve: (input: ApiKeysRetrieveInput) => Promise<CapxulResult<ApiKey, RetrieveCodes$
|
|
142
|
-
readonly list: (input: ApiKeysListInput) => Promise<CapxulResult<List<ApiKey>, ListCodes$
|
|
141
|
+
readonly retrieve: (input: ApiKeysRetrieveInput) => Promise<CapxulResult<ApiKey, RetrieveCodes$d>>;
|
|
142
|
+
readonly list: (input: ApiKeysListInput) => Promise<CapxulResult<List<ApiKey>, ListCodes$a>>;
|
|
143
143
|
readonly revoke: (input: ApiKeysRevokeInput) => Promise<CapxulResult<ApiKey, RevokeCodes>>;
|
|
144
144
|
};
|
|
145
145
|
|
|
@@ -260,19 +260,19 @@ type OrgDocumentsCancelInput = {
|
|
|
260
260
|
readonly documentId: DocumentId;
|
|
261
261
|
};
|
|
262
262
|
type CreateCodes$7 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "INVALID_INPUT" | "IDEMPOTENCY_CONFLICT" | "RATE_LIMITED" | "NETWORK_ERROR";
|
|
263
|
-
type RetrieveCodes$
|
|
264
|
-
type ListCodes$
|
|
263
|
+
type RetrieveCodes$c = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND";
|
|
264
|
+
type ListCodes$9 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "INVALID_INPUT";
|
|
265
265
|
type CancelCodes$1 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND" | "OPERATION_CANCELED";
|
|
266
266
|
type DocumentsClient = {
|
|
267
267
|
readonly create: (input: DocumentsCreateInput) => Promise<CapxulResult<Document, CreateCodes$7>>;
|
|
268
|
-
readonly retrieve: (documentId: DocumentId) => Promise<CapxulResult<Document, RetrieveCodes$
|
|
269
|
-
readonly list: (input?: DocumentsListInput) => Promise<CapxulResult<List<Document>, ListCodes$
|
|
268
|
+
readonly retrieve: (documentId: DocumentId) => Promise<CapxulResult<Document, RetrieveCodes$c>>;
|
|
269
|
+
readonly list: (input?: DocumentsListInput) => Promise<CapxulResult<List<Document>, ListCodes$9>>;
|
|
270
270
|
readonly cancel: (documentId: DocumentId) => Promise<CapxulResult<Document, CancelCodes$1>>;
|
|
271
271
|
};
|
|
272
272
|
type OrgDocumentsClient = {
|
|
273
273
|
readonly create: (input: OrgDocumentsCreateInput) => Promise<CapxulResult<Document, CreateCodes$7>>;
|
|
274
|
-
readonly retrieve: (input: OrgDocumentsRetrieveInput) => Promise<CapxulResult<Document, RetrieveCodes$
|
|
275
|
-
readonly list: (input: OrgDocumentsListInput) => Promise<CapxulResult<List<Document>, ListCodes$
|
|
274
|
+
readonly retrieve: (input: OrgDocumentsRetrieveInput) => Promise<CapxulResult<Document, RetrieveCodes$c>>;
|
|
275
|
+
readonly list: (input: OrgDocumentsListInput) => Promise<CapxulResult<List<Document>, ListCodes$9>>;
|
|
276
276
|
readonly cancel: (input: OrgDocumentsCancelInput) => Promise<CapxulResult<Document, CancelCodes$1>>;
|
|
277
277
|
};
|
|
278
278
|
|
|
@@ -286,10 +286,10 @@ type OrgDocumentsClient = {
|
|
|
286
286
|
* ID without scoping.
|
|
287
287
|
*/
|
|
288
288
|
|
|
289
|
-
type RetrieveCodes$
|
|
290
|
-
type RemoveCodes$4 = RetrieveCodes$
|
|
289
|
+
type RetrieveCodes$b = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND";
|
|
290
|
+
type RemoveCodes$4 = RetrieveCodes$b;
|
|
291
291
|
type ExternalAccountsClient = {
|
|
292
|
-
readonly retrieve: (externalAccountId: ExternalAccountId) => Promise<CapxulResult<ExternalAccount, RetrieveCodes$
|
|
292
|
+
readonly retrieve: (externalAccountId: ExternalAccountId) => Promise<CapxulResult<ExternalAccount, RetrieveCodes$b>>;
|
|
293
293
|
readonly remove: (externalAccountId: ExternalAccountId) => Promise<CapxulResult<void, RemoveCodes$4>>;
|
|
294
294
|
};
|
|
295
295
|
|
|
@@ -329,10 +329,10 @@ type OperationsWaitInput = {
|
|
|
329
329
|
readonly timeoutSeconds?: number;
|
|
330
330
|
readonly pollIntervalMs?: number;
|
|
331
331
|
};
|
|
332
|
-
type RetrieveCodes$
|
|
333
|
-
type WaitCodes = RetrieveCodes$
|
|
332
|
+
type RetrieveCodes$a = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND";
|
|
333
|
+
type WaitCodes = RetrieveCodes$a | "OPERATION_TIMEOUT";
|
|
334
334
|
type OperationsClient = {
|
|
335
|
-
readonly retrieve: (operationId: OperationId) => Promise<CapxulResult<Operation, RetrieveCodes$
|
|
335
|
+
readonly retrieve: (operationId: OperationId) => Promise<CapxulResult<Operation, RetrieveCodes$a>>;
|
|
336
336
|
readonly wait: (operationId: OperationId, input?: OperationsWaitInput) => Promise<CapxulResult<Operation, WaitCodes>>;
|
|
337
337
|
};
|
|
338
338
|
|
|
@@ -393,17 +393,17 @@ type OrgPaymentsListInput = {
|
|
|
393
393
|
};
|
|
394
394
|
type CreateCodes$6 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "INVALID_INPUT" | "INVALID_RECIPIENT" | "INSUFFICIENT_BALANCE" | "IDEMPOTENCY_CONFLICT" | "RATE_LIMITED" | "NETWORK_ERROR";
|
|
395
395
|
type OrgCreateCodes = CreateCodes$6 | "POLICY_DENIED" | "SAFE_NOT_READY";
|
|
396
|
-
type RetrieveCodes$
|
|
397
|
-
type ListCodes$
|
|
396
|
+
type RetrieveCodes$9 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND";
|
|
397
|
+
type ListCodes$8 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "INVALID_INPUT";
|
|
398
398
|
type PaymentsClient = {
|
|
399
399
|
readonly create: (input: PaymentsCreateInput) => Promise<CapxulResult<CreatePaymentResult, CreateCodes$6>>;
|
|
400
|
-
readonly retrieve: (paymentId: PaymentId) => Promise<CapxulResult<Payment, RetrieveCodes$
|
|
401
|
-
readonly list: (input?: PaymentsListInput) => Promise<CapxulResult<List<Payment>, ListCodes$
|
|
400
|
+
readonly retrieve: (paymentId: PaymentId) => Promise<CapxulResult<Payment, RetrieveCodes$9>>;
|
|
401
|
+
readonly list: (input?: PaymentsListInput) => Promise<CapxulResult<List<Payment>, ListCodes$8>>;
|
|
402
402
|
};
|
|
403
403
|
type OrgPaymentsClient = {
|
|
404
404
|
readonly create: (input: OrgPaymentsCreateInput) => Promise<CapxulResult<CreatePaymentResult, OrgCreateCodes>>;
|
|
405
|
-
readonly retrieve: (input: OrgPaymentsRetrieveInput) => Promise<CapxulResult<Payment, RetrieveCodes$
|
|
406
|
-
readonly list: (input: OrgPaymentsListInput) => Promise<CapxulResult<List<Payment>, ListCodes$
|
|
405
|
+
readonly retrieve: (input: OrgPaymentsRetrieveInput) => Promise<CapxulResult<Payment, RetrieveCodes$9>>;
|
|
406
|
+
readonly list: (input: OrgPaymentsListInput) => Promise<CapxulResult<List<Payment>, ListCodes$8>>;
|
|
407
407
|
};
|
|
408
408
|
|
|
409
409
|
/**
|
|
@@ -452,21 +452,21 @@ type OrgTransfersCancelInput = {
|
|
|
452
452
|
readonly transferId: TransferId;
|
|
453
453
|
};
|
|
454
454
|
type CreateCodes$5 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "INVALID_INPUT" | "INSUFFICIENT_BALANCE" | "IDEMPOTENCY_CONFLICT" | "RATE_LIMITED" | "NETWORK_ERROR";
|
|
455
|
-
type RetrieveCodes$
|
|
456
|
-
type ListCodes$
|
|
455
|
+
type RetrieveCodes$8 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND";
|
|
456
|
+
type ListCodes$7 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "INVALID_INPUT";
|
|
457
457
|
type ConfirmCodes = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND" | "QUOTE_EXPIRED" | "QUOTE_NOT_FOUND";
|
|
458
458
|
type CancelCodes = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND" | "OPERATION_CANCELED";
|
|
459
459
|
type TransfersClient = {
|
|
460
460
|
readonly create: (input: TransfersCreateInput) => Promise<CapxulResult<CreateTransferResult, CreateCodes$5>>;
|
|
461
|
-
readonly retrieve: (transferId: TransferId) => Promise<CapxulResult<Transfer, RetrieveCodes$
|
|
462
|
-
readonly list: (input?: TransfersListInput) => Promise<CapxulResult<List<Transfer>, ListCodes$
|
|
461
|
+
readonly retrieve: (transferId: TransferId) => Promise<CapxulResult<Transfer, RetrieveCodes$8>>;
|
|
462
|
+
readonly list: (input?: TransfersListInput) => Promise<CapxulResult<List<Transfer>, ListCodes$7>>;
|
|
463
463
|
readonly confirm: (input: TransfersConfirmInput) => Promise<CapxulResult<Transfer, ConfirmCodes>>;
|
|
464
464
|
readonly cancel: (transferId: TransferId) => Promise<CapxulResult<Transfer, CancelCodes>>;
|
|
465
465
|
};
|
|
466
466
|
type OrgTransfersClient = {
|
|
467
467
|
readonly create: (input: OrgTransfersCreateInput) => Promise<CapxulResult<CreateTransferResult, CreateCodes$5>>;
|
|
468
|
-
readonly retrieve: (input: OrgTransfersRetrieveInput) => Promise<CapxulResult<Transfer, RetrieveCodes$
|
|
469
|
-
readonly list: (input: OrgTransfersListInput) => Promise<CapxulResult<List<Transfer>, ListCodes$
|
|
468
|
+
readonly retrieve: (input: OrgTransfersRetrieveInput) => Promise<CapxulResult<Transfer, RetrieveCodes$8>>;
|
|
469
|
+
readonly list: (input: OrgTransfersListInput) => Promise<CapxulResult<List<Transfer>, ListCodes$7>>;
|
|
470
470
|
readonly confirm: (input: OrgTransfersConfirmInput) => Promise<CapxulResult<Transfer, ConfirmCodes>>;
|
|
471
471
|
readonly cancel: (input: OrgTransfersCancelInput) => Promise<CapxulResult<Transfer, CancelCodes>>;
|
|
472
472
|
};
|
|
@@ -527,17 +527,17 @@ type OrgWithdrawalsListInput = {
|
|
|
527
527
|
readonly cursor?: string;
|
|
528
528
|
};
|
|
529
529
|
type CreateCodes$4 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "INVALID_INPUT" | "INSUFFICIENT_BALANCE" | "IDEMPOTENCY_CONFLICT" | "KYC_REQUIRED" | "POLICY_DENIED" | "RATE_LIMITED" | "NETWORK_ERROR";
|
|
530
|
-
type RetrieveCodes$
|
|
531
|
-
type ListCodes$
|
|
530
|
+
type RetrieveCodes$7 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND";
|
|
531
|
+
type ListCodes$6 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "INVALID_INPUT";
|
|
532
532
|
type WithdrawalsClient = {
|
|
533
533
|
readonly create: (input: WithdrawalsCreateInput) => Promise<CapxulResult<CreateWithdrawalResult, CreateCodes$4>>;
|
|
534
|
-
readonly retrieve: (withdrawalId: WithdrawalId) => Promise<CapxulResult<Withdrawal, RetrieveCodes$
|
|
535
|
-
readonly list: (input?: WithdrawalsListInput) => Promise<CapxulResult<List<Withdrawal>, ListCodes$
|
|
534
|
+
readonly retrieve: (withdrawalId: WithdrawalId) => Promise<CapxulResult<Withdrawal, RetrieveCodes$7>>;
|
|
535
|
+
readonly list: (input?: WithdrawalsListInput) => Promise<CapxulResult<List<Withdrawal>, ListCodes$6>>;
|
|
536
536
|
};
|
|
537
537
|
type OrgWithdrawalsClient = {
|
|
538
538
|
readonly create: (input: OrgWithdrawalsCreateInput) => Promise<CapxulResult<CreateWithdrawalResult, CreateCodes$4>>;
|
|
539
|
-
readonly retrieve: (input: OrgWithdrawalsRetrieveInput) => Promise<CapxulResult<Withdrawal, RetrieveCodes$
|
|
540
|
-
readonly list: (input: OrgWithdrawalsListInput) => Promise<CapxulResult<List<Withdrawal>, ListCodes$
|
|
539
|
+
readonly retrieve: (input: OrgWithdrawalsRetrieveInput) => Promise<CapxulResult<Withdrawal, RetrieveCodes$7>>;
|
|
540
|
+
readonly list: (input: OrgWithdrawalsListInput) => Promise<CapxulResult<List<Withdrawal>, ListCodes$6>>;
|
|
541
541
|
};
|
|
542
542
|
|
|
543
543
|
/**
|
|
@@ -563,9 +563,9 @@ type WebhookEndpointsListInput = {
|
|
|
563
563
|
};
|
|
564
564
|
type WebhookEndpointsRemoveInput = WebhookEndpointsRetrieveInput;
|
|
565
565
|
type CreateCodes$3 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "INVALID_INPUT" | "RATE_LIMITED" | "NETWORK_ERROR";
|
|
566
|
-
type RetrieveCodes$
|
|
567
|
-
type ListCodes$
|
|
568
|
-
type RemoveCodes$3 = RetrieveCodes$
|
|
566
|
+
type RetrieveCodes$6 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND";
|
|
567
|
+
type ListCodes$5 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "INVALID_INPUT";
|
|
568
|
+
type RemoveCodes$3 = RetrieveCodes$6;
|
|
569
569
|
/**
|
|
570
570
|
* Shape returned by `organizations.webhookEndpoints.create` — the
|
|
571
571
|
* one-time `signingSecret` is included here and omitted from every
|
|
@@ -576,8 +576,8 @@ type WebhookEndpointCreateResult = WebhookEndpoint & {
|
|
|
576
576
|
};
|
|
577
577
|
type WebhookEndpointsClient = {
|
|
578
578
|
readonly create: (input: WebhookEndpointsCreateInput) => Promise<CapxulResult<WebhookEndpointCreateResult, CreateCodes$3>>;
|
|
579
|
-
readonly retrieve: (input: WebhookEndpointsRetrieveInput) => Promise<CapxulResult<WebhookEndpoint, RetrieveCodes$
|
|
580
|
-
readonly list: (input: WebhookEndpointsListInput) => Promise<CapxulResult<List<WebhookEndpoint>, ListCodes$
|
|
579
|
+
readonly retrieve: (input: WebhookEndpointsRetrieveInput) => Promise<CapxulResult<WebhookEndpoint, RetrieveCodes$6>>;
|
|
580
|
+
readonly list: (input: WebhookEndpointsListInput) => Promise<CapxulResult<List<WebhookEndpoint>, ListCodes$5>>;
|
|
581
581
|
readonly remove: (input: WebhookEndpointsRemoveInput) => Promise<CapxulResult<void, RemoveCodes$3>>;
|
|
582
582
|
};
|
|
583
583
|
|
|
@@ -598,11 +598,11 @@ type WebhookEventsListInput = {
|
|
|
598
598
|
readonly endpointId?: string;
|
|
599
599
|
readonly type?: string;
|
|
600
600
|
};
|
|
601
|
-
type RetrieveCodes$
|
|
602
|
-
type ListCodes$
|
|
601
|
+
type RetrieveCodes$5 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND";
|
|
602
|
+
type ListCodes$4 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "INVALID_INPUT";
|
|
603
603
|
type WebhookEventsClient = {
|
|
604
|
-
readonly retrieve: (input: WebhookEventsRetrieveInput) => Promise<CapxulResult<WebhookEvent, RetrieveCodes$
|
|
605
|
-
readonly list: (input: WebhookEventsListInput) => Promise<CapxulResult<List<WebhookEvent>, ListCodes$
|
|
604
|
+
readonly retrieve: (input: WebhookEventsRetrieveInput) => Promise<CapxulResult<WebhookEvent, RetrieveCodes$5>>;
|
|
605
|
+
readonly list: (input: WebhookEventsListInput) => Promise<CapxulResult<List<WebhookEvent>, ListCodes$4>>;
|
|
606
606
|
};
|
|
607
607
|
|
|
608
608
|
/**
|
|
@@ -675,8 +675,8 @@ type OrgCreateExternalAccountInput = {
|
|
|
675
675
|
readonly last4?: string;
|
|
676
676
|
};
|
|
677
677
|
type CreateCodes$2 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "INVALID_INPUT" | "RATE_LIMITED" | "NETWORK_ERROR";
|
|
678
|
-
type RetrieveCodes$
|
|
679
|
-
type ListCodes$
|
|
678
|
+
type RetrieveCodes$4 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND";
|
|
679
|
+
type ListCodes$3 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "INVALID_INPUT";
|
|
680
680
|
type UpdateCodes = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND" | "INVALID_INPUT";
|
|
681
681
|
/**
|
|
682
682
|
* Org safe retrieve does NOT surface `SAFE_NOT_READY` — a co-member
|
|
@@ -691,7 +691,7 @@ type UpdateCodes = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND" | "IN
|
|
|
691
691
|
*/
|
|
692
692
|
type SafeRetrieveCodes = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND";
|
|
693
693
|
type TreasuryRetrieveCodes = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND" | "SAFE_NOT_READY";
|
|
694
|
-
type RemoveCodes$2 = RetrieveCodes$
|
|
694
|
+
type RemoveCodes$2 = RetrieveCodes$4;
|
|
695
695
|
type OrgSafesClient = {
|
|
696
696
|
readonly retrieve: (input: OrgSafeRetrieveInput) => Promise<CapxulResult<Safe, SafeRetrieveCodes>>;
|
|
697
697
|
};
|
|
@@ -699,23 +699,23 @@ type OrgTreasuryClient = {
|
|
|
699
699
|
readonly retrieve: (organizationId: OrganizationId) => Promise<CapxulResult<Treasury, TreasuryRetrieveCodes>>;
|
|
700
700
|
};
|
|
701
701
|
type OrgMembersClient = {
|
|
702
|
-
readonly list: (input: OrgListInput) => Promise<CapxulResult<List<Member>, ListCodes$
|
|
703
|
-
readonly retrieve: (input: OrgMemberRetrieveInput) => Promise<CapxulResult<Member, RetrieveCodes$
|
|
702
|
+
readonly list: (input: OrgListInput) => Promise<CapxulResult<List<Member>, ListCodes$3>>;
|
|
703
|
+
readonly retrieve: (input: OrgMemberRetrieveInput) => Promise<CapxulResult<Member, RetrieveCodes$4>>;
|
|
704
704
|
readonly invite: (input: OrgMemberInviteInput) => Promise<CapxulResult<Member, UpdateCodes>>;
|
|
705
705
|
readonly updateRole: (input: OrgMemberUpdateRoleInput) => Promise<CapxulResult<Member, UpdateCodes>>;
|
|
706
706
|
readonly remove: (input: OrgMemberRemoveInput) => Promise<CapxulResult<void, RemoveCodes$2>>;
|
|
707
707
|
};
|
|
708
708
|
type OrgKybProfileClient = {
|
|
709
709
|
readonly start: (input: OrgKybProfileStartInput) => Promise<CapxulResult<KybProfile, CreateCodes$2>>;
|
|
710
|
-
readonly retrieve: (input: OrgKybProfileRetrieveInput) => Promise<CapxulResult<KybProfile, RetrieveCodes$
|
|
710
|
+
readonly retrieve: (input: OrgKybProfileRetrieveInput) => Promise<CapxulResult<KybProfile, RetrieveCodes$4>>;
|
|
711
711
|
};
|
|
712
712
|
type OrgSubAccountsClient = {
|
|
713
713
|
readonly create: (input: OrgCreateSubAccountInput) => Promise<CapxulResult<SubAccount, UpdateCodes>>;
|
|
714
|
-
readonly list: (input: OrgListInput) => Promise<CapxulResult<List<SubAccount>, ListCodes$
|
|
714
|
+
readonly list: (input: OrgListInput) => Promise<CapxulResult<List<SubAccount>, ListCodes$3>>;
|
|
715
715
|
readonly retrieve: (input: {
|
|
716
716
|
readonly organizationId: OrganizationId;
|
|
717
717
|
readonly subAccountId: SubAccountId;
|
|
718
|
-
}) => Promise<CapxulResult<SubAccount, RetrieveCodes$
|
|
718
|
+
}) => Promise<CapxulResult<SubAccount, RetrieveCodes$4>>;
|
|
719
719
|
readonly remove: (input: {
|
|
720
720
|
readonly organizationId: OrganizationId;
|
|
721
721
|
readonly subAccountId: SubAccountId;
|
|
@@ -723,28 +723,28 @@ type OrgSubAccountsClient = {
|
|
|
723
723
|
};
|
|
724
724
|
type OrgExternalAccountsClient = {
|
|
725
725
|
readonly create: (input: OrgCreateExternalAccountInput) => Promise<CapxulResult<ExternalAccount, UpdateCodes>>;
|
|
726
|
-
readonly list: (input: OrgListInput) => Promise<CapxulResult<List<ExternalAccount>, ListCodes$
|
|
726
|
+
readonly list: (input: OrgListInput) => Promise<CapxulResult<List<ExternalAccount>, ListCodes$3>>;
|
|
727
727
|
readonly retrieve: (input: {
|
|
728
728
|
readonly organizationId: OrganizationId;
|
|
729
729
|
readonly externalAccountId: ExternalAccountId;
|
|
730
|
-
}) => Promise<CapxulResult<ExternalAccount, RetrieveCodes$
|
|
730
|
+
}) => Promise<CapxulResult<ExternalAccount, RetrieveCodes$4>>;
|
|
731
731
|
readonly remove: (input: {
|
|
732
732
|
readonly organizationId: OrganizationId;
|
|
733
733
|
readonly externalAccountId: ExternalAccountId;
|
|
734
734
|
}) => Promise<CapxulResult<void, RemoveCodes$2>>;
|
|
735
735
|
};
|
|
736
736
|
type OrgBalanceLedgerClient = {
|
|
737
|
-
readonly list: (input: OrgListInput) => Promise<CapxulResult<List<BalanceLedgerEntry>, ListCodes$
|
|
737
|
+
readonly list: (input: OrgListInput) => Promise<CapxulResult<List<BalanceLedgerEntry>, ListCodes$3>>;
|
|
738
738
|
readonly retrieve: (input: {
|
|
739
739
|
readonly organizationId: OrganizationId;
|
|
740
740
|
readonly entryId: string;
|
|
741
|
-
}) => Promise<CapxulResult<BalanceLedgerEntry, RetrieveCodes$
|
|
741
|
+
}) => Promise<CapxulResult<BalanceLedgerEntry, RetrieveCodes$4>>;
|
|
742
742
|
};
|
|
743
743
|
type OrgApiKeysClient = ApiKeysClient;
|
|
744
744
|
type OrganizationsClient = {
|
|
745
745
|
readonly create: (input: OrganizationsCreateInput) => Promise<CapxulResult<Organization, CreateCodes$2>>;
|
|
746
|
-
readonly retrieve: (organizationId: OrganizationId) => Promise<CapxulResult<Organization, RetrieveCodes$
|
|
747
|
-
readonly list: (input?: OrganizationsListInput) => Promise<CapxulResult<List<Organization>, ListCodes$
|
|
746
|
+
readonly retrieve: (organizationId: OrganizationId) => Promise<CapxulResult<Organization, RetrieveCodes$4>>;
|
|
747
|
+
readonly list: (input?: OrganizationsListInput) => Promise<CapxulResult<List<Organization>, ListCodes$3>>;
|
|
748
748
|
readonly update: (input: OrganizationsUpdateInput) => Promise<CapxulResult<Organization, UpdateCodes>>;
|
|
749
749
|
readonly safes: OrgSafesClient;
|
|
750
750
|
readonly treasury: OrgTreasuryClient;
|
|
@@ -901,13 +901,111 @@ declare function makeHttpTransport(config: BrowserCapxulConfig): HttpTransport;
|
|
|
901
901
|
* `remove` live at the top level.
|
|
902
902
|
*/
|
|
903
903
|
|
|
904
|
-
type RetrieveCodes$
|
|
905
|
-
type RemoveCodes$1 = RetrieveCodes$
|
|
904
|
+
type RetrieveCodes$3 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND";
|
|
905
|
+
type RemoveCodes$1 = RetrieveCodes$3;
|
|
906
906
|
type SubAccountsClient = {
|
|
907
|
-
readonly retrieve: (subAccountId: SubAccountId) => Promise<CapxulResult<SubAccount, RetrieveCodes$
|
|
907
|
+
readonly retrieve: (subAccountId: SubAccountId) => Promise<CapxulResult<SubAccount, RetrieveCodes$3>>;
|
|
908
908
|
readonly remove: (subAccountId: SubAccountId) => Promise<CapxulResult<void, RemoveCodes$1>>;
|
|
909
909
|
};
|
|
910
910
|
|
|
911
|
+
/**
|
|
912
|
+
* **NON-CANONICAL surface.**
|
|
913
|
+
*
|
|
914
|
+
* `capxul.tokenTransfers.*` exposes the indexer's raw on-chain ERC-20
|
|
915
|
+
* transfer rows directly to consumers, backed by
|
|
916
|
+
* `packages/backend/convex/tokenTransfers/queries.ts`. Authorized at
|
|
917
|
+
* `slice/02-story2-balance` per the conductor's Option-A verdict —
|
|
918
|
+
* the canonical SDK `transfers.*` namespace assumes a cross-custody
|
|
919
|
+
* internal-move shape (`Transfer = { source, destination, fx,
|
|
920
|
+
* operation, ... }`) that has no canon-aligned backing query yet.
|
|
921
|
+
* Surfacing the on-chain feed under a separate, clearly-marked
|
|
922
|
+
* non-canonical namespace lets the Ink CLI's activity dashboard
|
|
923
|
+
* progress without forcing canon synthesis.
|
|
924
|
+
*
|
|
925
|
+
* **NOT in `packages/api-contract`.** Do NOT use this surface as the
|
|
926
|
+
* basis for new canon. When `transfers.*` shape alignment lands
|
|
927
|
+
* (post-alpha.4 follow-up issue), the canonical `transfers.*` will
|
|
928
|
+
* subsume this and `tokenTransfers.*` becomes a deprecation alias.
|
|
929
|
+
*
|
|
930
|
+
* Stub families that REMAIN deferred at this slice
|
|
931
|
+
* (per `[DEFERRED-CANON]` markers in
|
|
932
|
+
* `.claude/worktrees/post-alpha-wire2/.progress.txt`):
|
|
933
|
+
* - `transfers.{create,retrieve,list,confirm,cancel}` — canon shape mismatch
|
|
934
|
+
* - `accounts.balanceLedger.{list,retrieve}` — no canon backing query
|
|
935
|
+
* - `organizations.balanceLedger.*` — no canon backing query
|
|
936
|
+
* - `organizations.transfers.*` — canon shape mismatch
|
|
937
|
+
* - `organizations.treasury.retrieve` — backing query has different shape
|
|
938
|
+
*/
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* Branded id for an on-chain `tokenTransfer` row. Backed by the
|
|
942
|
+
* Convex document id; the brand prevents accidental swaps with other
|
|
943
|
+
* SDK ids without leaking the document-id constraint into call sites.
|
|
944
|
+
*
|
|
945
|
+
* Returned in `TokenTransfer.id` for clients that want a stable
|
|
946
|
+
* back-reference; the canonical lookup key is the
|
|
947
|
+
* `(txHash, logIndex)` composite used by `retrieve`.
|
|
948
|
+
*/
|
|
949
|
+
type TokenTransferId = string & {
|
|
950
|
+
readonly __capxulTokenTransferIdBrand: "TokenTransferId";
|
|
951
|
+
};
|
|
952
|
+
declare const toTokenTransferId: (raw: string) => TokenTransferId;
|
|
953
|
+
/**
|
|
954
|
+
* Raw on-chain ERC-20 transfer row. Shape mirrors
|
|
955
|
+
* `tokenTransfers/queries.ts` `list` / `getByTxLogIndex` output. The
|
|
956
|
+
* primitive fields (`txHash`, `tokenAddress`, etc.) match
|
|
957
|
+
* `@repo/api-contract` conventions — `string` for hashes/addresses,
|
|
958
|
+
* `number` for block + chain ids — so consumers don't need to import
|
|
959
|
+
* a brand surface that isn't in the SDK's published deps.
|
|
960
|
+
*/
|
|
961
|
+
type TokenTransfer = {
|
|
962
|
+
readonly id: TokenTransferId;
|
|
963
|
+
readonly object: "token_transfer";
|
|
964
|
+
readonly direction: "in" | "out";
|
|
965
|
+
/** Token-units string ("123456" not "1.23456"). Decimals carried in `tokenDecimals`. */
|
|
966
|
+
readonly amount: string;
|
|
967
|
+
readonly tokenSymbol: string;
|
|
968
|
+
readonly tokenDecimals: number;
|
|
969
|
+
readonly tokenAddress: string;
|
|
970
|
+
readonly counterpartyName: string | null;
|
|
971
|
+
readonly counterpartyAddress: string;
|
|
972
|
+
readonly description: string;
|
|
973
|
+
/** Block timestamp in epoch milliseconds. */
|
|
974
|
+
readonly createdAt: number;
|
|
975
|
+
readonly txHash: string;
|
|
976
|
+
readonly blockNumber: number;
|
|
977
|
+
readonly chainId: number;
|
|
978
|
+
};
|
|
979
|
+
type TokenTransfersListPage = {
|
|
980
|
+
readonly object: "list";
|
|
981
|
+
readonly data: readonly TokenTransfer[];
|
|
982
|
+
readonly page: {
|
|
983
|
+
readonly hasMore: boolean;
|
|
984
|
+
/** Block-timestamp cursor (epoch ms) for the next page; null when exhausted. */
|
|
985
|
+
readonly nextCursor: number | null;
|
|
986
|
+
};
|
|
987
|
+
/** Caller's display currency. The backend echoes it so renderers don't need a second round-trip. */
|
|
988
|
+
readonly displayCurrency: string;
|
|
989
|
+
};
|
|
990
|
+
type TokenTransfersListInput = {
|
|
991
|
+
readonly limit?: number;
|
|
992
|
+
/** Block-timestamp cursor (epoch ms) returned in the previous page's `page.nextCursor`. */
|
|
993
|
+
readonly cursor?: number;
|
|
994
|
+
readonly direction?: "in" | "out";
|
|
995
|
+
};
|
|
996
|
+
type TokenTransfersRetrieveInput = {
|
|
997
|
+
readonly txHash: string;
|
|
998
|
+
readonly logIndex: number;
|
|
999
|
+
/** Optional chain filter. When omitted, the first index hit wins (single-chain default). */
|
|
1000
|
+
readonly chainId?: number;
|
|
1001
|
+
};
|
|
1002
|
+
type ListCodes$2 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "INVALID_INPUT";
|
|
1003
|
+
type RetrieveCodes$2 = "NOT_AUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND";
|
|
1004
|
+
type TokenTransfersClient = {
|
|
1005
|
+
readonly list: (input?: TokenTransfersListInput) => Promise<CapxulResult<TokenTransfersListPage, ListCodes$2>>;
|
|
1006
|
+
readonly retrieve: (input: TokenTransfersRetrieveInput) => Promise<CapxulResult<TokenTransfer, RetrieveCodes$2>>;
|
|
1007
|
+
};
|
|
1008
|
+
|
|
911
1009
|
/**
|
|
912
1010
|
* Virtual accounts domain — International Bank Account Number (IBAN)-
|
|
913
1011
|
* bearing receive rails per sdk-surface.md §1a + §4.51.
|
|
@@ -1115,6 +1213,13 @@ type CapxulClient = {
|
|
|
1115
1213
|
readonly organizations: OrganizationsClient;
|
|
1116
1214
|
readonly payments: PaymentsClient;
|
|
1117
1215
|
readonly transfers: TransfersClient;
|
|
1216
|
+
/**
|
|
1217
|
+
* **NON-CANONICAL.** On-chain ERC-20 transfer feed (raw indexer
|
|
1218
|
+
* rows). NOT part of `packages/api-contract`. Slated for
|
|
1219
|
+
* deprecation when canonical `transfers.*` shape alignment lands.
|
|
1220
|
+
* See `core/token-transfers.ts` for the doc-comment contract.
|
|
1221
|
+
*/
|
|
1222
|
+
readonly tokenTransfers: TokenTransfersClient;
|
|
1118
1223
|
readonly withdrawals: WithdrawalsClient;
|
|
1119
1224
|
readonly documents: DocumentsClient;
|
|
1120
1225
|
readonly subAccounts: SubAccountsClient;
|
|
@@ -1144,4 +1249,4 @@ type CapxulClient = {
|
|
|
1144
1249
|
*/
|
|
1145
1250
|
declare function createCapxulClient(config?: CapxulConfig): CapxulClient;
|
|
1146
1251
|
|
|
1147
|
-
export { type AccountProvisionPersonalInput as A, type BrowserCapxulConfig as B, type CapxulClient as C, type DocumentsClient as D, type ExternalAccountsClient as E, type HttpTransport as H, type LocalPrivateKeySignerProvider as L, type MeClient as M, type OperationsClient as O, type PaymentsClient as P, type Session as S, type
|
|
1252
|
+
export { type AccountProvisionPersonalInput as A, type BrowserCapxulConfig as B, type CapxulClient as C, type DocumentsClient as D, type ExternalAccountsClient as E, type VirtualCardsClient as F, type WebhookEndpointsClient as G, type HttpTransport as H, type WebhookEventsClient as I, type WithdrawalsClient as J, createCapxulClient as K, type LocalPrivateKeySignerProvider as L, type MeClient as M, makeHttpTransport as N, type OperationsClient as O, type PaymentsClient as P, toTokenTransferId as Q, type Session as S, type TokenTransfer as T, type VirtualAccountsClient as V, type WebhookEndpointCreateResult as W, type AccountsClient as a, type ApiKeyCreateResult as b, type ApiKeysClient as c, type AuthClient as d, type AuthSessionStore as e, type CapxulAuthConfig as f, type CapxulConfig as g, type CapxulDataClient as h, type CapxulFlowFactories as i, type CapxulSigningConfig as j, type OrgDocumentsClient as k, type OrgPaymentsClient as l, type OrgSafesClient as m, type OrgTransfersClient as n, type OrgTreasuryClient as o, type OrgWithdrawalsClient as p, type OrganizationsClient as q, type SubAccountsClient as r, type TokenTransferId as s, type TokenTransfersClient as t, type TokenTransfersListInput as u, type TokenTransfersListPage as v, type TokenTransfersRetrieveInput as w, type TransfersClient as x, type TransportRuntime as y, type TransportState as z };
|