@capxul/sdk 4.20.0-beta.3 → 4.20.0-beta.30

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/dist/index.d.mts CHANGED
@@ -1,653 +1,2 @@
1
- import { $ as PayrollGroupId, B as ChainId, Ct as ChainCause, D as Account, Dt as RevertSummary, E as CAPXUL_PAYMENTS_V2_ADDRESS, Et as FailureMode, F as AssetId, G as EVM_ADDRESS_RE, H as CurrencyCode, I as AuthSession, J as Handle, L as AuthUserId, O as AccountId, P as AssetAmount, St as CHAIN_UPSTREAMS, Tt as FAILURE_MODES, V as CountryCode, X as OrgId, Y as Money, Z as PartyId, _ as Session, _t as CapxulErrorCode, a as Eip1193RequestProvider, at as RoleKey, c as injectedWalletSigner, ct as TesterKind, d as AccountRequirement, dt as toAddress, et as PayrollRunId, f as Eip1193Provider, ft as toCountryCode, g as Profile, gt as CapxulError, h as CapxulResult, ht as CAPXUL_ERROR_CODES, i as CapxulSigner, k as Address, l as AccountProvider, m as localPrivateKeyAccountProvider, mt as toPartyId, o as SignerStatus, p as eip1193AccountProvider, pt as toHandle, r as CapxulDigestSigner, s as SignerStatusStore, u as AccountProviderSource, v as SmartAccount, vt as CapxulErrorDetails, wt as ChainUpstream, xt as isCapxulError, yt as Errors, z as BudgetId } from "./OAuthBearerAuthClient-C-ip-z8M.mjs";
2
- import { $ as OrganizationPaymentBatchInput, $n as RequestStatus, $t as Destination, A as OrgScopedMethods, An as Ref, At as AddressBookAddInput, B as AuthorizeRunOptions, Bn as SmartAccountMethods, Bt as ActivityFilter, C as CurrentUserMethods, Cn as PaymentMoney, Ct as AccountMethods, D as MemberStatus, Dn as PaymentsMethods, Dt as ActorRequest, E as InviteMemberInput, En as PaymentType, Et as ActorRelationshipMethods, F as ResendInviteTokenInput, Fn as AccountLifecycle, Ft as InboxItem, G as PayrollGroupsMethods, Gn as ActorRef, Gt as ActivityPage, H as PayrollGroup, Hn as OrgLifecycle, Ht as ActivityKind, I as RoleDefinition, In as AccountSetupStep, It as InboxMethods, J as PayrollRun, Jn as SubmittedPermissionExecution, Jt as ActivitySummary, K as PayrollMethods, Kn as CurrentHoldings, Kt as ActivityRange, L as RoleSpendCap, Ln as isSettingUpLifecycle, Lt as ActivityAnnotation, M as OrgView, Mn as TargetReference, Mt as AddressBookLabelInput, N as OrganizationAccount, Nn as TargetsMethods, Nt as AddressBookMethods, O as MemberView, On as PaymentsPayInput, Ot as ActorRequestIssueInput, P as OrganizationAuditLogItem, Pn as fingerprintPaymentIntent, Pt as InboxApproveInput, Q as PayrollTermsUnit, Qn as PaymentStatus$1, Qt as DepositInstructions, R as RoleView, Rn as CompleteProfileInput, Rt as ActivityAnnotationInput, S as CurrentUserContext, Sn as PaymentDocumentsMethods, St as ReadyAccountLifecycle, T as DetectPendingOrgInvitationsResult, Tn as PaymentTiming, Tt as ActorProfileMethods, U as PayrollGroupInput, Un as OrgSetupStep, Ut as ActivityListParams, V as PayrollEngagementTerms, Vn as AuthMethods, Vt as ActivityItem, W as PayrollGroupMember, Wn as PayoutAddress, Wt as ActivityMethods, X as PayrollRunStatus, Xn as PAYMENT_DIRECTIONS, Xt as ActivitySummaryTotal, Y as PayrollRunItemInput, Yn as InboxStatus, Yt as ActivitySummaryParams, Z as PayrollRuns, Zn as PAYMENT_STATUSES, Zt as ActorReference, _ as HoldingsMethods, _n as PaymentDirection, _t as OnboardingMethods, a as ObservationContext, an as DestinationRemoveInput, ar as IdentityEvent, at as PermissionCreateInput, b as SystemHealth, bn as PaymentDocumentRender, bt as PersonOnboarding, c as HostObservability, cn as MeMethods, cr as Readiness, ct as PermissionReplaceInput, d as postHogObservability, dn as OfframpMethods, dr as isClaimed, dt as Budget, en as DestinationAddInput, et as OrganizationPaymentInput, f as CapxulClient, fn as OfframpQuote, fr as isRestoring, ft as OrgMe, g as IdentityRuntimeSendResult, gn as PaymentActivityEvidence, gt as CompletedPersonProfile, h as IdentityRuntime, hn as Payment, ht as AccountsMethods, i as ObservationAdapter, in as DestinationRail, ir as Destination$1, it as PermissionChangeInput, j as OrgTemplate, jn as ResolvedTarget, jt as AddressBookEntry, k as OrgMethods, kn as RecipientResolution, kt as ActorRequestsMethods, l as PostHogObservabilityClient, ln as MeProfile, lr as StateLabel, lt as PermissionRevokeInput, m as IdentityProfileDetails, mn as OfframpStatus, mr as InvocationControls, mt as OrgMeOptions, nn as DestinationListInput, nt as OrganizationPaymentsMethods, o as ObservationDelivery, on as DestinationsMethods, or as IdentityState, ot as PermissionMethods, p as CreateCapxulClientInput, pn as OfframpQuoteInput, pr as IdentityTransition, pt as OrgMeMethod, q as PayrollOptions, qn as Permission, qt as ActivityReference, r as CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, rn as DestinationPayload, rr as TelemetryPort, rt as PermissionAssignInput, s as SdkFailureObservation, sn as FinancialOpsMethods, sr as OrgLane, st as PermissionOptions, t as CapxulClientInput, tn as DestinationKind, tt as OrganizationPaymentItemInput, u as PostHogObservabilityOptions, un as MovementActivityEvidence, ur as destination, ut as PermissionReadResult, v as Holding, vn as PaymentDocumentKind, vt as OrganizationOnboarding, w as CreateOrgInput, wn as PaymentStatus, wt as ActorProfile, x as MediaMethods, xn as PaymentDocumentVerification, xt as PersonOnboardingInput, y as SystemMethods, yn as PaymentDocumentRef, yt as OrganizationOnboardingInput, z as AuthorizeRunInput, zn as IdentityMethods, zt as ActivityDetail } from "./production-CJwxgI8u.mjs";
3
- import { Hex } from "viem";
4
- import { Effect, Layer } from "effect";
5
- //#region ../errors/src/index.d.ts
6
- /** Canonical handle syntax shared by validation and branded constructors. */
7
- declare const HANDLE_RE: RegExp;
8
- //#endregion
9
- //#region ../config/src/tokens.d.ts
10
- /**
11
- * Where a registry row's liquidity comes from. `settlement` is the tier the
12
- * exact-transfer path and the Movement scanner read;
13
- * `synthetic-test-liquidity` marks an owned fixture whose balances and rates
14
- * are authored inputs, never market or provider data. Every row states its
15
- * tier, so a row that reaches a caller through the registry always carries
16
- * that fact with it.
17
- */
18
- type AssetSource = "settlement" | "synthetic-test-liquidity";
19
- /** Canonical metadata. A missing peg does not imply a missing market price. */
20
- interface AssetMetadata {
21
- readonly assetId: AssetId;
22
- readonly chainId: ChainId;
23
- readonly tokenAddress: `0x${string}`;
24
- readonly symbol: string;
25
- readonly decimals: number;
26
- readonly peg: CurrencyCode | null;
27
- readonly deploymentStartBlock: number;
28
- readonly source: AssetSource;
29
- }
30
- //#endregion
31
- //#region ../observability/src/operations.d.ts
32
- declare const CAPXUL_OPERATIONS: {
33
- readonly account: {
34
- readonly addressBook: {
35
- readonly add: "account.addressBook.add";
36
- readonly get: "account.addressBook.get";
37
- readonly hide: "account.addressBook.hide";
38
- readonly label: "account.addressBook.label";
39
- readonly list: "account.addressBook.list";
40
- readonly unhide: "account.addressBook.unhide";
41
- };
42
- readonly balance: "account.balance";
43
- readonly faucetMint: "account.faucetMint";
44
- readonly getLifecycle: "account.getLifecycle";
45
- readonly readBalance: "account.readBalance";
46
- readonly retrySetup: "account.retrySetup";
47
- readonly status: "account.status";
48
- readonly profile: {
49
- readonly depositInstructions: "account.profile.depositInstructions";
50
- readonly get: "account.profile.get";
51
- };
52
- readonly inbox: {
53
- readonly approve: "account.inbox.approve";
54
- readonly decline: "account.inbox.decline";
55
- readonly list: "account.inbox.list";
56
- };
57
- readonly requests: {
58
- readonly cancel: "account.requests.cancel";
59
- readonly get: "account.requests.get";
60
- readonly issue: "account.requests.issue";
61
- readonly list: "account.requests.list";
62
- };
63
- };
64
- readonly accounts: {
65
- readonly fund: "accounts.fund";
66
- readonly read: "accounts.read";
67
- };
68
- readonly activity: {
69
- readonly annotate: "activity.annotate";
70
- readonly emitAnnotationSaved: "activity.emitAnnotationSaved";
71
- readonly get: "activity.get";
72
- readonly list: "activity.list";
73
- /** The SDK's live Activity read over the indexer's SSE stream. */
74
- readonly subscribe: "activity.subscribe";
75
- readonly summary: "activity.summary";
76
- };
77
- readonly addressBook: {
78
- readonly add: "addressBook.add";
79
- readonly emitRelationshipChanged: "addressBook.emitRelationshipChanged";
80
- readonly get: "addressBook.get";
81
- readonly hide: "addressBook.hide";
82
- readonly label: "addressBook.label";
83
- readonly list: "addressBook.list";
84
- readonly unhide: "addressBook.unhide";
85
- };
86
- readonly applications: {
87
- readonly create: "applications.create";
88
- };
89
- readonly auth: {
90
- readonly canSendOtp: "auth.canSendOtp";
91
- readonly getSession: "auth.getSession";
92
- readonly signIn: "auth.signIn";
93
- readonly signOut: "auth.signOut";
94
- readonly sendVerificationOtp: "auth.sendVerificationOTP";
95
- readonly verifyOtp: "auth.verifyOtp";
96
- };
97
- readonly client: {
98
- readonly createOrg: "createOrg";
99
- readonly orgs: "orgs";
100
- };
101
- readonly credentials: {
102
- readonly bootstrapClient: "credentials.bootstrapClient";
103
- readonly mintQuickstartKey: "credentials.mintQuickstartKey";
104
- };
105
- readonly currentUser: {
106
- readonly get: "currentUser.get";
107
- };
108
- readonly devIdentity: {
109
- readonly seedFinancialOpsOrg: "devIdentity.seedFinancialOpsOrg";
110
- };
111
- readonly dev: {
112
- readonly browserSeed: "dev.browserSeed";
113
- };
114
- readonly destinations: {
115
- readonly add: "destinations.add";
116
- readonly list: "destinations.list";
117
- readonly remove: "destinations.remove";
118
- };
119
- readonly faucetSafe: {
120
- readonly deploy: "FaucetSafe.deploy";
121
- };
122
- readonly financialOps: {
123
- readonly addDestination: "financialOps.addDestination";
124
- readonly approveRequest: "financialOps.approveRequest";
125
- readonly cancelRequest: "financialOps.cancelRequest";
126
- readonly createPayee: "financialOps.createPayee";
127
- readonly declineRequest: "financialOps.declineRequest";
128
- readonly emitInvoiceIssued: "financialOps.emitInvoiceIssued";
129
- readonly emitInvoiceRequestTransitioned: "financialOps.emitInvoiceRequestTransitioned";
130
- readonly emitPaymentWriterTelemetry: "financialOps.emitPaymentWriterTelemetry";
131
- readonly issueRequest: "financialOps.issueRequest";
132
- readonly migrateEvidenceIdentity: "financialOps.migrateEvidenceIdentity";
133
- readonly planEvidenceIdentity: "financialOps.planEvidenceIdentity";
134
- readonly recoverSettlementVerification: "financialOps.recoverSettlementVerification";
135
- readonly removeDestination: "financialOps.removeDestination";
136
- readonly verifySettlement: "financialOps.verifySettlement";
137
- };
138
- readonly holdings: {
139
- readonly current: "holdings.current";
140
- readonly primary: "holdings.primary";
141
- };
142
- readonly indexer: {
143
- readonly reconcile: "indexer.reconcile";
144
- };
145
- readonly identity: {
146
- readonly accountAt: "identity.AccountAt";
147
- readonly accountClaimed: "identity.AccountClaimed";
148
- readonly accountClaiming: "identity.AccountClaiming";
149
- readonly accountDerived: "identity.AccountDerived";
150
- readonly accountFailed: "identity.AccountFailed";
151
- readonly attachOrganization: "identity.AttachOrganization";
152
- readonly claimAccount: "identity.ClaimAccount";
153
- readonly completeOnboarding: "identity.completeOnboarding";
154
- readonly completeProfile: "identity.completeProfile";
155
- readonly create: "identity.create";
156
- readonly createOrganization: "identity.CreateOrganization";
157
- readonly ensureAccount: "identity.EnsureAccount";
158
- readonly leaveOrganization: "identity.LeaveOrganization";
159
- readonly loadByAuthUserId: "identity.loadByAuthUserId";
160
- readonly loadCurrent: "identity.loadCurrent";
161
- readonly orgAt: "identity.OrgAt";
162
- readonly orgFailed: "identity.OrgFailed";
163
- readonly orgReady: "identity.OrgReady";
164
- readonly otpFailed: "identity.OtpFailed";
165
- readonly otpSent: "identity.OtpSent";
166
- readonly readSession: "identity.ReadSession";
167
- readonly requestOtp: "identity.RequestOtp";
168
- readonly reset: "identity.Reset";
169
- readonly restoreSession: "identity.RestoreSession";
170
- readonly resumeOtpEntry: "identity.ResumeOtpEntry";
171
- readonly retryAccount: "identity.RetryAccount";
172
- readonly retryOrganization: "identity.RetryOrganization";
173
- readonly sessionAbsent: "identity.SessionAbsent";
174
- readonly sessionRead: "identity.SessionRead";
175
- readonly sessionReadFailed: "identity.SessionReadFailed";
176
- readonly sessionRestored: "identity.SessionRestored";
177
- readonly signedOut: "identity.SignedOut";
178
- readonly signOut: "identity.SignOut";
179
- readonly signOutFailed: "identity.SignOutFailed";
180
- readonly update: "identity.update";
181
- readonly handleAvailable: "identity.handleAvailable";
182
- readonly verified: "identity.Verified";
183
- readonly verifyFailed: "identity.VerifyFailed";
184
- readonly verifyOtp: "identity.VerifyOtp";
185
- };
186
- readonly media: {
187
- readonly generateUploadUrl: "media.generateUploadUrl";
188
- readonly setOrgLogo: "media.setOrgLogo";
189
- readonly setProfileImage: "media.setProfileImage";
190
- readonly uploadImage: "media.uploadImage";
191
- };
192
- readonly me: {
193
- readonly depositInstructions: "me.depositInstructions";
194
- readonly get: "me.get";
195
- };
196
- readonly moneyExecution: {
197
- readonly abandonPaymentExecution: "moneyExecution.abandonPaymentExecution";
198
- readonly prepareOrganizationPaymentExecution: "moneyExecution.prepareOrganizationPaymentExecution";
199
- readonly preparePaymentExecution: "moneyExecution.preparePaymentExecution";
200
- readonly preparePaymentLifecycleExecution: "moneyExecution.preparePaymentLifecycleExecution";
201
- readonly preparePermissionExecution: "moneyExecution.preparePermissionExecution";
202
- readonly recoverSubmissionClaims: "moneyExecution.recoverSubmissionClaims";
203
- readonly submit: "moneyExecution.submit";
204
- readonly submitPaymentCommandExecution: "moneyExecution.submitPaymentCommandExecution";
205
- readonly submitPaymentExecution: "moneyExecution.submitPaymentExecution";
206
- readonly submitPermissionExecution: "moneyExecution.submitPermissionExecution";
207
- };
208
- readonly movement: {
209
- readonly emitDepositSettled: "movement.emitDepositSettled";
210
- readonly scan: "movement.scan";
211
- };
212
- readonly inbox: {
213
- readonly approve: "inbox.approve";
214
- readonly decline: "inbox.decline";
215
- readonly list: "inbox.list";
216
- };
217
- readonly offramp: {
218
- readonly quote: "offramp.quote";
219
- readonly status: "offramp.status";
220
- };
221
- readonly onboarding: {
222
- readonly completeOrganization: "onboarding.completeOrganization";
223
- readonly completePerson: "onboarding.completePerson";
224
- };
225
- readonly org: {
226
- readonly acceptInvitations: "org.acceptInvitations";
227
- readonly account: {
228
- readonly get: "org.account.get";
229
- };
230
- readonly activateMember: "org.activateMember";
231
- readonly auditLog: "org.auditLog";
232
- readonly confirmBootstrap: "org.confirmBootstrap";
233
- readonly createOrg: "org.createOrg";
234
- readonly create: "org.create";
235
- readonly detectAndAcceptPendingInvitations: "org.detectAndAcceptPendingInvitations";
236
- readonly emitInviteProgressed: "org.emitInviteProgressed";
237
- readonly expireInvitations: "org.expireInvitations";
238
- readonly getLifecycle: "org.getLifecycle";
239
- readonly getProofReceipt: "org.getProofReceipt";
240
- readonly invite: "org.invite";
241
- readonly inviteMember: "org.inviteMember";
242
- readonly list: "org.list";
243
- readonly load: "org.load";
244
- readonly me: "org.me";
245
- readonly members: "org.members";
246
- readonly orgs: "org.orgs";
247
- readonly payment: "org.payment";
248
- readonly permissions: {
249
- readonly assign: "org.permissions.assign";
250
- readonly change: "org.permissions.change";
251
- readonly create: "org.permissions.create";
252
- readonly get: "org.permissions.get";
253
- readonly list: "org.permissions.list";
254
- readonly replace: "org.permissions.replace";
255
- readonly revoke: "org.permissions.revoke";
256
- };
257
- readonly payments: {
258
- readonly pay: "org.payments.pay";
259
- readonly payBatch: "org.payments.payBatch";
260
- };
261
- readonly payroll: {
262
- readonly authorizeRun: "org.payroll.authorizeRun";
263
- readonly groups: {
264
- readonly list: "org.payroll.groups.list";
265
- readonly remove: "org.payroll.groups.remove";
266
- readonly save: "org.payroll.groups.save";
267
- };
268
- readonly runs: "org.payroll.runs";
269
- readonly terms: "org.payroll.terms";
270
- };
271
- readonly addressBook: {
272
- readonly add: "org.addressBook.add";
273
- readonly get: "org.addressBook.get";
274
- readonly hide: "org.addressBook.hide";
275
- readonly label: "org.addressBook.label";
276
- readonly list: "org.addressBook.list";
277
- readonly unhide: "org.addressBook.unhide";
278
- };
279
- readonly inbox: {
280
- readonly approve: "org.inbox.approve";
281
- readonly decline: "org.inbox.decline";
282
- readonly list: "org.inbox.list";
283
- };
284
- readonly lifecycle: {
285
- readonly startOrResume: "org.lifecycle.startOrResume";
286
- };
287
- readonly prepareBootstrap: "org.prepareBootstrap";
288
- readonly prepareFounderAccount: "org.prepareFounderAccount";
289
- readonly profile: {
290
- readonly depositInstructions: "org.profile.depositInstructions";
291
- readonly get: "org.profile.get";
292
- };
293
- readonly readTreasury: "org.readTreasury";
294
- readonly requests: {
295
- readonly cancel: "org.requests.cancel";
296
- readonly get: "org.requests.get";
297
- readonly issue: "org.requests.issue";
298
- readonly list: "org.requests.list";
299
- };
300
- readonly recordFailure: "org.recordFailure";
301
- readonly recordProgress: "org.recordProgress";
302
- readonly resendInviteToken: "org.resendInviteToken";
303
- readonly resumeBootstrapSubmission: "org.resumeBootstrapSubmission";
304
- readonly retry: "org.retry";
305
- readonly retrySetup: "org.retrySetup";
306
- readonly roles: "org.roles";
307
- readonly startOrResume: "org.startOrResume";
308
- readonly submitBootstrap: "org.submitBootstrap";
309
- readonly treasury: "org.treasury";
310
- };
311
- readonly organization: {
312
- readonly setup: "organization.setup";
313
- };
314
- readonly organizationPayments: {
315
- readonly pay: "organizationPayments.pay";
316
- readonly payBatch: "organizationPayments.payBatch";
317
- readonly prepareExecution: "organizationPayments.prepareExecution";
318
- readonly retry: "organizationPayments.retry";
319
- };
320
- readonly organizationSetup: {
321
- readonly getProofReceipt: "organizationSetup.getProofReceipt";
322
- };
323
- readonly organizations: {
324
- readonly detectAndAcceptPendingInvitations: "orgs.detectAndAcceptPendingInvitations";
325
- };
326
- readonly payments: {
327
- readonly cancel: "payments.cancel";
328
- readonly claim: "payments.claim";
329
- readonly createCommitment: "payments.createCommitment";
330
- readonly get: "payments.get";
331
- readonly ledger: "payments";
332
- readonly list: "payments.list";
333
- readonly pay: "payments.pay";
334
- readonly prepareExecution: "payments.prepareExecution";
335
- readonly prepareLifecycleExecution: "payments.prepareLifecycleExecution";
336
- readonly redirect: "payments.redirect";
337
- readonly retry: "payments.retry";
338
- readonly submitCommandExecution: "payments.submitCommandExecution";
339
- readonly submitExecution: "payments.submitExecution";
340
- };
341
- readonly paymentDocuments: {
342
- readonly render: "paymentDocuments.render";
343
- readonly verify: "paymentDocuments.verify";
344
- };
345
- readonly recipient: {
346
- readonly resolve: "recipient.resolve";
347
- };
348
- readonly payroll: {
349
- readonly authorizeRun: "payroll.authorizeRun";
350
- readonly emitGroupChanged: "payroll.emitGroupChanged";
351
- readonly emitRunTransitioned: "payroll.emitRunTransitioned";
352
- readonly groups: {
353
- readonly access: "payroll.groups";
354
- readonly list: "payroll.groups.list";
355
- readonly remove: "payroll.groups.remove";
356
- readonly save: "payroll.groups.save";
357
- };
358
- readonly removeGroup: "payroll.removeGroup";
359
- readonly runs: "payroll.runs";
360
- readonly saveGroup: "payroll.saveGroup";
361
- readonly terms: "payroll.terms";
362
- };
363
- readonly permission: {
364
- readonly command: "permission.command";
365
- readonly retryVerification: "permission.retryVerification";
366
- readonly verify: "permission.verify";
367
- readonly verifySubmitted: "permission.verifySubmitted";
368
- };
369
- readonly permissions: {
370
- readonly assign: "permissions.assign";
371
- readonly change: "permissions.change";
372
- readonly create: "permissions.create";
373
- readonly get: "permissions.get";
374
- readonly list: "permissions.list";
375
- readonly prepareExecution: "permissions.prepareExecution";
376
- readonly replace: "permissions.replace";
377
- readonly revoke: "permissions.revoke";
378
- readonly submitExecution: "permissions.submitExecution";
379
- };
380
- readonly publishableKeys: {
381
- readonly mint: "publishableKeys.mint";
382
- readonly revoke: "publishableKeys.revoke";
383
- readonly rotate: "publishableKeys.rotate";
384
- };
385
- readonly requests: {
386
- readonly cancel: "requests.cancel";
387
- readonly get: "requests.get";
388
- readonly issue: "requests.issue";
389
- readonly list: "requests.list";
390
- };
391
- readonly runtime: {
392
- readonly assign: "assign";
393
- readonly canSendOtp: "canSendOtp";
394
- readonly cancelCommitment: "cancel_commitment";
395
- readonly change: "change";
396
- readonly claimCommitment: "claim_commitment";
397
- readonly create: "create";
398
- readonly createCapxulClient: "createCapxulClient";
399
- readonly createCapxulClientWithOrgDeploymentSeams: "createCapxulClientWithOrgDeploymentSeams";
400
- readonly createCommitment: "create_commitment";
401
- readonly getConvexJwt: "getConvexJwt";
402
- readonly getSession: "getSession";
403
- readonly initialize: "initialize";
404
- readonly mutation: "mutation";
405
- readonly now: "now";
406
- readonly port: "port";
407
- readonly query: "query";
408
- readonly redirectCommitment: "redirect_commitment";
409
- readonly replace: "replace";
410
- readonly resolve: "resolve";
411
- readonly revoke: "revoke";
412
- readonly send: "send";
413
- readonly sendOtp: "sendOtp";
414
- readonly signIn: "signIn";
415
- readonly signOut: "signOut";
416
- readonly sleep: "sleep";
417
- readonly verifyOtp: "verifyOtp";
418
- readonly wallet: "wallet";
419
- };
420
- readonly smartAccount: {
421
- readonly claim: "smartAccount.claim";
422
- readonly confirmDeployment: "smartAccount.confirmDeployment";
423
- readonly loadByAuthUserId: "smartAccount.loadByAuthUserId";
424
- readonly loadCurrent: "smartAccount.loadCurrent";
425
- readonly provision: "smartAccount.provision";
426
- };
427
- readonly system: {
428
- readonly health: "system.health";
429
- readonly ping: "system.ping";
430
- readonly runtimeChain: "system.runtimeChain";
431
- };
432
- readonly testUsdc: {
433
- readonly mint: "TestUSDC.mint";
434
- };
435
- readonly _internal: {
436
- readonly accounts: {
437
- readonly fund: "_internal.accounts.fund";
438
- };
439
- readonly close: "_internal.close";
440
- readonly identity: {
441
- readonly completeProfile: "_internal.identity.completeProfile";
442
- readonly runFacade: "_internal.identity.runFacade";
443
- readonly send: "_internal.identity.send";
444
- };
445
- readonly organizationSetup: {
446
- readonly getProofReceipt: "_internal.organizationSetup.getProofReceipt";
447
- };
448
- };
449
- readonly tenancy: {
450
- readonly revokeBackendTenancyConsent: "tenancy.revokeBackendTenancyConsent";
451
- readonly seedBackendTenancy: "tenancy.seedBackendTenancy";
452
- };
453
- };
454
- type StringLeaves<T> = T extends string ? T : T extends Readonly<Record<string, unknown>> ? { readonly [K in keyof T]: StringLeaves<T[K]>; }[keyof T] : never;
455
- type CapxulOperation = StringLeaves<typeof CAPXUL_OPERATIONS>;
456
- type NormalizedCapxulOperation = CapxulOperation | "unknown";
457
- declare function isCapxulOperation(value: unknown): value is CapxulOperation;
458
- declare function normalizeCapxulOperation(value: unknown): NormalizedCapxulOperation;
459
- //#endregion
460
- //#region src/domain/activity/phase.d.ts
461
- interface ActivityPhase {
462
- /** The row is in a final state. No subsequent status change occurs. */
463
- readonly terminal: boolean;
464
- /**
465
- * The result of the final state. It is `null` when `terminal` is false.
466
- *
467
- * - `good` — the row completed as intended (settled, paid).
468
- * - `bad` — the row ended, but it did not complete (failed, declined,
469
- * expired).
470
- * - `neutral` — a participant stopped the row on purpose (cancelled).
471
- */
472
- readonly outcome: "good" | "bad" | "neutral" | null;
473
- /** The actor who reads this row must do the next step. */
474
- readonly needsAction: boolean;
475
- }
476
- /** Interpret a Payment status. `pending_claim` waits for the actor who reads it. */
477
- declare function paymentPhase(status: PaymentStatus$1): ActivityPhase;
478
- /** Interpret a payment Request as its ISSUER sees it. An issuer does not wait for itself. */
479
- declare function requestPhase(status: RequestStatus): ActivityPhase;
480
- /** Interpret the same request as its RECIPIENT sees it. `open` waits for the recipient. */
481
- declare function inboxPhase(status: InboxStatus): ActivityPhase;
482
- //#endregion
483
- //#region src/domain/money/parse-money.d.ts
484
- type MoneyParseErrorReason = "required" | "too-long" | "invalid-format" | "non-positive" | "too-many-decimals";
485
- interface MoneyParseError {
486
- readonly kind: "error";
487
- readonly reason: MoneyParseErrorReason;
488
- }
489
- /**
490
- * ADR-0023 R1: the reason is a closed code and the ONLY failure vocabulary —
491
- * the consuming app maps each code to its own sentence. The SDK ships no
492
- * English for user-text failure.
493
- */
494
- declare function isMoneyParseError(value: AssetAmount | Money | MoneyParseError): value is MoneyParseError;
495
- declare function parseMoney(input: string, asset: Pick<Money, "currency" | "decimals">): Money | MoneyParseError;
496
- //#endregion
497
- //#region src/domain/money/asset-amount.d.ts
498
- declare function parseAssetAmount(input: string, asset: AssetMetadata): AssetAmount | MoneyParseError;
499
- /** Display the full quantity. Only fiat formatting rounds for display. */
500
- declare function formatAssetAmount(amount: AssetAmount): string;
501
- declare function assetSymbolFor(asset: AssetId): string;
502
- //#endregion
503
- //#region src/domain/money/valuation.d.ts
504
- interface Rate {
505
- /** Positive integer at the declared decimal scale. */
506
- readonly value: string;
507
- readonly decimals: number;
508
- }
509
- /** Fiat balances use their currency directly, never an invented token identity. */
510
- type RateSource = (source: AssetMetadata | CurrencyCode, into: CurrencyCode) => Rate | null;
511
- declare const PEG_RATES: RateSource;
512
- interface Valuation<T extends AssetAmount | Money = AssetAmount | Money> {
513
- readonly total: Money | null;
514
- readonly counted: readonly T[];
515
- readonly unrated: readonly T[];
516
- }
517
- /** Sum exact fixed-point values. Missing rates never contribute zero. */
518
- declare function valueIn<T extends AssetAmount | Money>(amounts: readonly T[], displayCurrency: CurrencyCode, rates?: RateSource): Valuation<T>;
519
- //#endregion
520
- //#region src/domain/money/format-money.d.ts
521
- /**
522
- * `Money` and the wire-shaped money the activity surface carries
523
- * (`PaymentMoney`, whose `currency` is an unbranded string) are the same three
524
- * facts. Accepting both lets an activity row format without a cast; the
525
- * currency is validated here instead, so an unsupported code fails with the
526
- * same `INVALID_INPUT` it always did.
527
- */
528
- interface FormattableMoney {
529
- readonly currency: string;
530
- readonly value: string;
531
- readonly decimals: number;
532
- }
533
- declare function formatMoney(money: FormattableMoney, options?: {
534
- readonly grammar?: "symbol" | "code";
535
- }): string;
536
- //#endregion
537
- //#region src/adapters/auth-cache/BrowserAuthCacheAdapter.d.ts
538
- interface BrowserStorageShape {
539
- getItem(key: string): string | null;
540
- setItem(key: string, value: string): void;
541
- removeItem(key: string): void;
542
- }
543
- //#endregion
544
- //#region src/dev-signer.d.ts
545
- interface DevPrivateKeySignerInput {
546
- /** Dev-only derivation seed (e.g. `VITE_CAPXUL_DEV_SIGNER_SEED`). Throwaway keys only. */
547
- readonly seed: string;
548
- /** Explicit email — skips the auth-cache lookup (tests, node harnesses). */
549
- readonly email?: string;
550
- /** Storage holding the cached session. Defaults to browser `localStorage`. */
551
- readonly storage?: BrowserStorageShape;
552
- }
553
- /** Deterministic dev private key for an email under a seed. Exported for probes. */
554
- declare function deriveDevPrivateKey(seed: string, email: string): Hex;
555
- /**
556
- * Browser-safe dev signer. Lazy: the email (and so the key) is resolved at
557
- * each `getAddress()` / `signUserOpHash()` from the cached session, so the
558
- * same signer instance follows whichever user is signed in.
559
- */
560
- declare function devPrivateKeySigner(input: DevPrivateKeySignerInput): CapxulSigner;
561
- //#endregion
562
- //#region src/ports/embedded-wallet.d.ts
563
- /**
564
- * Minimal Openfort embedded-wallet surface for hermetic tests and
565
- * `openfortEmbeddedSigner`. Keeps Convex / Shield secrets out of the SDK.
566
- */
567
- interface OpenfortEmbeddedWalletPort {
568
- /** Owner EOA address — must stay stable for the lifetime of this port. */
569
- getAddress(): Promise<string>;
570
- /**
571
- * Sign a 32-byte SafeOp digest without EIP-191 prefixing (backend-orchestrated
572
- * deploy contract).
573
- */
574
- signRawDigest(hash: Hex): Promise<Hex>;
575
- }
576
- /** Openfort `embeddedWallet` subset used by `openfortEmbeddedWalletPort`. */
577
- interface OpenfortEmbeddedWalletApi {
578
- get(): Promise<{
579
- readonly address: string;
580
- }>;
581
- signMessage(message: string | Uint8Array, options?: {
582
- readonly hashMessage?: boolean;
583
- readonly arrayifyMessage?: boolean;
584
- }): Promise<string>;
585
- }
586
- declare function openfortEmbeddedWalletPort(input: {
587
- readonly embeddedWallet: OpenfortEmbeddedWalletApi;
588
- readonly ensureReady?: () => Promise<void>;
589
- }): OpenfortEmbeddedWalletPort;
590
- //#endregion
591
- //#region src/openfort-embedded-signer.d.ts
592
- interface OpenfortEmbeddedSignerInput {
593
- readonly wallet: OpenfortEmbeddedWalletPort;
594
- }
595
- /** Browser helper: wrap an initialized Openfort `embeddedWallet` API. */
596
- declare function openfortEmbeddedSignerFromWallet(input: {
597
- readonly embeddedWallet: OpenfortEmbeddedWalletApi;
598
- readonly ensureWalletReady?: () => Promise<void>;
599
- }): OpenfortEmbeddedSigner;
600
- /**
601
- * Browser `CapxulSigner` backed by an Openfort embedded wallet (#335).
602
- * Signs the backend's SafeOp digest via raw `signMessage` (no EIP-191 prefix)
603
- * and verifies recovery before the backend submits.
604
- */
605
- type OpenfortEmbeddedSigner = CapxulSigner & {
606
- /** Drop cached `getAddress()` so the next read hits the embedded wallet again. */
607
- readonly resetAddressCache: () => void;
608
- };
609
- declare function openfortEmbeddedSigner(input: OpenfortEmbeddedSignerInput): OpenfortEmbeddedSigner;
610
- /**
611
- * Canonical name for the embedded-wallet `CapxulSigner` constructor
612
- * (backend-orchestrated-deploy.md). The embedded-wallet (passkey / Openfort)
613
- * member of the named constructor trio `localPrivateKeySigner` /
614
- * `injectedWalletSigner` / `embeddedSigner`. Takes the provider-agnostic
615
- * `OpenfortEmbeddedWalletPort` (getAddress + signRawDigest); the Openfort-API
616
- * convenience wrapper is `openfortEmbeddedSignerFromWallet`.
617
- */
618
- declare const embeddedSigner: typeof openfortEmbeddedSigner;
619
- //#endregion
620
- //#region src/surface/create-capxul-client-from-production.d.ts
621
- /** Consumer-facing factory — accepts only production-meaningful inputs (#326). */
622
- declare function createCapxulClient(input: CapxulClientInput): Promise<CapxulResult<CapxulClient>>;
623
- //#endregion
624
- //#region src/telemetry/capture-exception.d.ts
625
- interface HandledErrorReportContext {
626
- readonly layer?: string;
627
- /** Host input is normalized at the reporting boundary. */
628
- readonly operation?: string;
629
- readonly provider?: string;
630
- readonly capxul_error_code?: string;
631
- readonly failure_mode?: FailureMode;
632
- }
633
- /**
634
- * Capture an error as a `$exception` event through the telemetry port,
635
- * formatted for PostHog Error Tracking.
636
- *
637
- * Parses stack traces into `$exception_list` format, extracts structured
638
- * metadata from CapxulError objects, and supplements with context props.
639
- * Fire-and-forget: telemetry defects are silently swallowed.
640
- * Returns `Effect<void, never>` for use in Effect pipelines; the underlying
641
- * adapter work is synchronous, so callers outside Effect contexts can
642
- * use `Effect.runSync`.
643
- */
644
- declare function captureException(telemetry: TelemetryPort, error: unknown, context?: HandledErrorReportContext): Effect.Effect<void, never>;
645
- /**
646
- * Synchronous fire-and-forget capture. Runs the Effect inline with
647
- * `Effect.runSync` so callers outside an Effect context can report errors
648
- * without awaiting. Core SDK public methods use the assembled observation
649
- * boundary instead.
650
- */
651
- declare function captureExceptionSync(telemetry: TelemetryPort, error: unknown, context?: HandledErrorReportContext): void;
652
- //#endregion
653
- export { type Account, type AccountId, type AccountLifecycle, type AccountMethods, type AccountProvider, type AccountProviderSource, type AccountRequirement, type AccountSetupStep, type AccountsMethods, type ActivityAnnotation, type ActivityAnnotationInput, type ActivityDetail, type ActivityFilter, type ActivityItem, type ActivityKind, type ActivityListParams, type ActivityMethods, type ActivityPage, type ActivityPhase, type ActivityRange, type ActivityReference, type ActivitySummary, type ActivitySummaryParams, type ActivitySummaryTotal, type ActorProfile, type ActorProfileMethods, type ActorRef, type ActorReference, type ActorRelationshipMethods, type ActorRequest, type ActorRequestIssueInput, type ActorRequestsMethods, type Address, type AddressBookAddInput, type AddressBookEntry, type AddressBookLabelInput, type AddressBookMethods, type AssetAmount, type AssetId, type AssetMetadata, type AuthMethods, type AuthSession, type AuthUserId, type AuthorizeRunInput, type AuthorizeRunOptions, type Budget, type BudgetId, CAPXUL_ERROR_CODES, CAPXUL_OPERATIONS, CAPXUL_PAYMENTS_V2_ADDRESS, CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, CHAIN_UPSTREAMS, type CapxulClient, type CapxulClientInput, type CapxulDigestSigner, CapxulError, type CapxulErrorCode, type CapxulErrorDetails, type CapxulOperation, type CapxulResult, type CapxulSigner, type ChainCause, type ChainUpstream, type CompleteProfileInput, type CompletedPersonProfile, type CountryCode, type CreateCapxulClientInput, type CreateOrgInput, type CurrentHoldings, type CurrentUserContext, type CurrentUserMethods, type DepositInstructions, type Destination, type DestinationAddInput, type DestinationKind, type DestinationListInput, type DestinationPayload, type DestinationRail, type DestinationRemoveInput, type DestinationsMethods, type DetectPendingOrgInvitationsResult, type DevPrivateKeySignerInput, EVM_ADDRESS_RE, type Eip1193Provider, type Eip1193RequestProvider, Errors, FAILURE_MODES, type FailureMode, type FinancialOpsMethods, HANDLE_RE, type Handle, type HandledErrorReportContext, type Holding, type HoldingsMethods, type HostObservability, type Destination$1 as IdentityDestination, type IdentityEvent, type IdentityMethods, type IdentityProfileDetails, type IdentityRuntime, type IdentityRuntimeSendResult, type IdentityState, type IdentityTransition, type InboxApproveInput, type InboxItem, type InboxMethods, type InviteMemberInput, type InvocationControls, type MeMethods, type MeProfile, type MediaMethods, type MemberStatus, type MemberView, type Money, type MoneyParseError, type MoneyParseErrorReason, type MovementActivityEvidence, type NormalizedCapxulOperation, type ObservationAdapter, type ObservationContext, type ObservationDelivery, type OfframpMethods, type OfframpQuote, type OfframpQuoteInput, type OfframpStatus, type OnboardingMethods, type OpenfortEmbeddedSignerInput, type OpenfortEmbeddedWalletApi, type OpenfortEmbeddedWalletPort, type OrgId, type OrgLane, type OrgLifecycle, type OrgMe, type OrgMeMethod, type OrgMeOptions, type OrgMethods, type OrgScopedMethods, type OrgSetupStep, type OrgTemplate, type OrgView, type OrganizationAccount, type OrganizationAuditLogItem, type OrganizationOnboarding, type OrganizationOnboardingInput, type OrganizationPaymentBatchInput, type OrganizationPaymentInput, type OrganizationPaymentItemInput, type OrganizationPaymentsMethods, PAYMENT_DIRECTIONS, PAYMENT_STATUSES, PEG_RATES, type PartyId, type Payment, type PaymentActivityEvidence, type PaymentDirection, type PaymentDocumentKind, type PaymentDocumentRef, type PaymentDocumentRender, type PaymentDocumentVerification, type PaymentDocumentsMethods, type PaymentMoney, type PaymentStatus, type PaymentTiming, type PaymentType, type PaymentsMethods, type PaymentsPayInput, type PayoutAddress, type PayrollEngagementTerms, type PayrollGroup, type PayrollGroupId, type PayrollGroupInput, type PayrollGroupMember, type PayrollGroupsMethods, type PayrollMethods, type PayrollOptions, type PayrollRun, type PayrollRunId, type PayrollRunItemInput, type PayrollRunStatus, type PayrollRuns, type PayrollTermsUnit, type Permission, type PermissionAssignInput, type PermissionChangeInput, type PermissionCreateInput, type PermissionMethods, type PermissionOptions, type PermissionReadResult, type PermissionReplaceInput, type PermissionRevokeInput, type PersonOnboarding, type PersonOnboardingInput, type PostHogObservabilityClient, type PostHogObservabilityOptions, type Profile, type Rate, type RateSource, type Readiness, type ReadyAccountLifecycle, type RecipientResolution, type Ref, type ResendInviteTokenInput, type ResolvedTarget, type RevertSummary, type RoleDefinition, type RoleKey, type RoleSpendCap, type RoleView, type SdkFailureObservation, type Session, type SignerStatus, type SignerStatusStore, type SmartAccount, type SmartAccountMethods, type StateLabel, type SubmittedPermissionExecution, type SystemHealth, type SystemMethods, type TargetReference, type TargetsMethods, type TelemetryPort, type TesterKind, type Valuation, assetSymbolFor, captureException, captureExceptionSync, createCapxulClient, deriveDevPrivateKey, devPrivateKeySigner, eip1193AccountProvider, embeddedSigner, fingerprintPaymentIntent, formatAssetAmount, formatMoney, inboxPhase, injectedWalletSigner, isCapxulError, isCapxulOperation, isClaimed, isMoneyParseError, isRestoring, isSettingUpLifecycle, localPrivateKeyAccountProvider, normalizeCapxulOperation, openfortEmbeddedSigner, openfortEmbeddedSignerFromWallet, openfortEmbeddedWalletPort, parseAssetAmount, parseMoney, paymentPhase, postHogObservability, requestPhase, destination as resolveIdentityDestination, toCountryCode, toAddress as toEvmAddress, toHandle, toPartyId, valueIn };
1
+ import { $ as CurrentUserMethods, $a as BudgetIntent, $i as AccountProvider, $n as PermissionPolicyChange, $o as toAddress, $r as ActivityMethods, $t as OffersMethods, A as assetSymbolFor, Aa as OrganizationSetup, Ai as PaymentTiming, An as AccountsMethods, Ao as PayrollRunId, Ar as PayrollGroupIdSchema, At as OwnInvitationsMethod, B as CreateCapxulClientInput, Ba as InvitationId, Bi as PaymentDocumentReadRef, Bn as ApprovalWaitOptions, Bo as toAccountId, Br as MeMethods, Bt as DestinationRail, C as OpenfortBrowserAuth, Ca as RequestCheckoutPreparation, Ci as PaymentDocumentKind, Cn as PaymentsMethods, Co as CapxulResult, Cr as PayrollOptions, Ct as InvitationSnapshot, D as createOpenfortBrowserSigner, Da as RequestPaymentConfirmation, Di as PaymentSnapshot, Dn as positionPeg, Do as OrgId, Dr as PayrollRuns, Dt as InvitePrepared, Ea as RequestCheckoutSummary, Ei as PaymentPrepared, En as SmartAccountMethods, Eo as ORGANIZATION_SETUP_REASONS, Er as PayrollRunStatus, Et as InviteOptions, F as MoneyParseError, Fa as Unsubscribe, Fi as PaymentDocumentOptions, Fn as valueIn, Fo as toBudgetId, Fr as AccountSetupStep, Ft as Destination, G as UploadImageResult, Ga as InvitationTarget, Gi as ActorRef, Gn as decodePermissionIntent, Go as Handle, Gr as requestPhase, Gt as ActorRelationshipMethods, H as IdentityRuntime, Ha as InvitationPageInput, Hi as PaymentDocumentVerification, Hn as InvitationApprovalInput, Ho as TesterKind, Hr as ActivityPhase, Ht as DestinationsMethods, I as MoneyParseErrorReason, Ia as AuthorityRef, Ii as PaymentDocumentOptionsSchema, In as AssetMetadata, Io as toPermissionAssignmentId, Ir as isSettingUpLifecycle, It as DestinationAddInput, J as Destination$1, Ja as InviteInput, Ji as CapxulSigner, Jn as PermissionAssignmentEffect, Jo as toPartyId, Jr as ActivityDetail, Jt as AddressBookLabelInput, K as SystemHealth, Ka as InvitationView, Ki as fingerprintPaymentIntent, Kn as BudgetLeft, Ko as PartyId, Kr as ActivityAnnotation, Kt as AddressBookAddInput, L as isMoneyParseError, La as EndingReason, Li as PaymentInstructionInput, Ln as TOKENS, Lo as toPermissionId, Lr as AccountMethods, Lt as DestinationKind, M as parseAssetAmount, Ma as OrganizationSetupPageInput, Mi as PaymentsPayInput, Mn as RateSource, Mo as BudgetId, Mr as PayrollRunDetail, Mt as OrgMe, N as requireAsset, Na as OrganizationSetupSnapshot, Ni as PaymentsPayOptions, Nn as Valuation, No as PermissionId, Nr as Approval, Nt as OrgMeMethod, O as CAPXUL_PAYMENTS_V2_ADDRESS, Oa as RequestPaymentTerms, Oi as PaymentStatus, On as HoldingsMethods, Oo as toOrgId, Or as PayrollTermsUnit, Ot as InvitePreviewInput, P as toRaw, Pa as SetupIssue, Pi as InvoiceDraft, Pn as valueActivitySummary, Po as RoleKey, Pr as AccountLifecycle, Pt as OrgMeOptions, Q as CurrentUserContext, Qa as PermissionReplacementPreview, Qi as injectedWalletSigner, Qn as PermissionOptions, Qo as EVM_ADDRESS_RE, Qr as ActivityListParams, Qt as ActorRequestsMethods, R as parseMoney, Ra as GranteeRef, Ri as SupportingReceiptInput, Rn as ApprovalInput, Ro as Account, Rr as DepositInstructions, Rt as DestinationListInput, S as devPrivateKeySigner, Sa as PreparedRequestCheckoutExecution, Si as PaymentDirection, Sn as OfframpStatus, So as ActorReference, Sr as PayrollMethods, St as RoleView, T as OpenfortBrowserSignerBootstrap, Ta as RequestCheckoutState, Ti as PaymentMoney, Tn as SmartAccount, To as Page, Tr as PayrollRunItemInput, Tt as InviteMethod, U as IdentityRuntimeSendResult, Ua as InvitationPhase, Ui as PAYMENT_DIRECTIONS, Un as PermissionApprovalInput, Uo as toCountryCode, Ur as inboxPhase, Ut as ActorProfile, V as IdentityProfileDetails, Va as InvitationPage, Vi as PaymentDocumentRender, Vn as ApprovalsMethods, Vo as CountryCode, Vr as MeProfile, Vt as DestinationRemoveInput, W as MediaMethods, Wa as InvitationRecovery, Wi as PAYMENT_STATUSES, Wn as PermissionWrite, Wo as HANDLE_RE, Wr as paymentPhase, Wt as ActorProfileMethods, X as isClaimed, Xa as OfferedAuthority, Xi as SignerStatus, Xn as PermissionCreateInput, Xo as AuthUserId, Xr as ActivityItem, Xt as ActorRequest, Y as destination, Ya as InvitePreview, Yi as Eip1193RequestProvider, Yn as PermissionChangeInput, Yo as AuthSession, Yr as ActivityFilter, Yt as AddressBookMethods, Z as isRestoring, Za as SpendingScope, Zi as SignerStatusStore, Zn as PermissionMethods, Zo as Address, Zr as ActivityKind, Zt as ActorRequestIssueInput, _ as OpenfortEmbeddedWalletApi, _a as InvoiceCheckoutState, _i as CompleteProfileInput, _n as OrganizationPaymentRetryPreview, _o as SdkFailureObservation, _r as PayrollEngagementTerms, _s as EXPECTED_OPERATION_OUTCOMES, _t as OrgView, a as captureException, aa as CheckoutReceipt, ai as ActivitySummaryTotal, an as CreateOfferCheckoutInput, ar as PermissionCommandView, as as toCurrencyCode, at as IdentityEvent, b as DevPrivateKeySignerInput, ba as PrepareRequestCheckoutExecutionInput, bi as PayoutAddress, bn as OfframpQuote, br as PayrollGroupMember, bt as OrganizationAuditLogItem, c as createCapxulClient, ca as FixedOffer, ci as PaymentDocumentsMethods, cn as isCheckoutSettlementConsumed, co as CapxulOperation, cr as OrganizationApprovalInput, cs as isCapxulError, ct as OrgLane, d as PostHogObservabilityClient, da as OfferCheckout, di as OrganizationOnboarding, dn as ResolvedTarget, do as normalizeCapxulOperation, dr as RedirectApprovalInput, ds as ChainUpstream, dt as AssignmentProjection, ea as AccountProviderSource, ei as ActivityPage, en as InboxApproveInput, eo as CurrentPolicy, er as PermissionPrepared, es as Errors, et as AuthMethods, f as PostHogObservabilityOptions, fa as OfferCheckoutPreparation, fi as OrganizationOnboardingInput, fn as TargetReference, fr as RequestApprovalInput, fs as RevertSummary, ft as MemberIdentityProjection, g as openfortEmbeddedSignerFromWallet, ga as InvoiceCheckoutReconciliation, gi as ReadyAccountLifecycle, gn as OrganizationPaymentItemInput, go as ObservationDelivery, gr as AuthorizeRunOptions, gs as CapxulErrorCode, gt as OrgScopedMethods, h as embeddedSigner, ha as InvoiceCheckoutPreparation, hi as PersonOnboardingInput, hn as OrganizationPaymentInput, ho as ObservationContext, hr as AuthorizeRunInput, hs as CAPXUL_ERROR_CODES, ht as OrgMethods, i as HandledErrorReportContext, ia as localPrivateKeyAccountProvider, ii as ActivitySummaryParams, in as CheckoutsMethods, ir as PermissionCommandSnapshot, is as toAssetId, it as ClientRequestView, j as formatAssetAmount, ja as OrganizationSetupPage, ji as PaymentType, jn as Rate, jo as toPayrollGroupId, jr as PayrollGroupInputSchema, jt as Budget, k as formatMoney, ka as InvocationControls, ki as PaymentSubscriptionOptions, kn as CurrentHoldings, ko as PayrollGroupId, kr as PayrollRunSnapshot, kt as OrgInvitations, l as CapxulClientInput, la as FixedOfferDraft, li as CompletedPersonProfile, ln as RecipientResolution, lo as NormalizedCapxulOperation, lr as CancelApprovalInput, ls as CHAIN_UPSTREAMS, lt as Readiness, m as OpenfortEmbeddedSignerInput, ma as PreparedOfferCheckoutExecution, mi as PersonOnboarding, mn as OrganizationPaymentBatchInput, mo as ObservationAdapter, mr as decodePayrollRunInput, ms as FailureMode, mt as MemberView, n as checkoutUrl, na as Eip1193Provider, ni as ActivityReference, nn as InboxItem, nr as PermissionReplaceInput, ns as AssetId, nt as AccountSetupPolicy, o as captureExceptionSync, oa as CheckoutReconciliation, oi as MovementActivityEvidence, on as PayInvoiceRegisteredInput, oo as TelemetryPort, or as SubmittedPermissionExecution, os as CapxulError, ot as IdentityTransition, p as postHogObservability, pa as PrepareOfferCheckoutExecutionInput, pi as OrganizationOnboardingOptions, pn as TargetsMethods, pr as RetryApprovalInput, ps as FAILURE_MODES, pt as MemberStatus, q as SystemMethods, qa as InviteGrant, qi as CapxulDigestSigner, qn as PermissionAssignInput, qo as toHandle, qr as ActivityAnnotationInput, qt as AddressBookEntry, r as LineItemV3, ra as eip1193AccountProvider, ri as ActivitySummary, rn as InboxMethods, rr as PermissionRevokeInput, rs as Money, rt as ClientRequests, s as CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, sa as CheckoutState, si as PaymentActivityEvidence, sn as PayRequestRegisteredInput, so as CAPXUL_OPERATIONS, sr as PermissionIntent, ss as CapxulErrorDetails, st as IdentityState, t as CheckoutLinkReference, ta as AccountRequirement, ti as ActivityRange, tn as InboxFulfillOptions, to as Permission, tr as PermissionReadResult, ts as AssetAmount, tt as Session, u as HostObservability, ua as FixedOfferDraftSchema, ui as OnboardingMethods, un as Ref, uo as isCapxulOperation, ur as PayrollRunApprovalInput, us as ChainCause, ut as StateLabel, v as OpenfortEmbeddedWalletPort, va as InvoiceCheckoutSummary, vi as IdentityMethods, vn as OrganizationPaymentsMethods, vr as PayrollGroup, vt as OrganizationAccess, w as OpenfortBrowserSigner, wa as RequestCheckoutReconciliation, wi as PaymentDocumentRef, wn as FinancialOpsMethods, wo as OperationResult, wr as PayrollRun, wt as InvitationSubscriptionOptions, x as deriveDevPrivateKey, xa as PreparedInvoiceCheckoutExecution, xi as Payment, xn as OfframpQuoteInput, xr as PayrollGroupsMethods, xt as RoleDefinition, y as openfortEmbeddedWalletPort, ya as PrepareInvoiceCheckoutExecutionInput, yi as Profile, yn as OfframpMethods, yr as PayrollGroupInput, yt as OrganizationAccount, z as CapxulClient, za as InvitationAcceptInput, zi as PaymentDocumentDownload, zn as ApprovalOutcome, zo as AccountId, zr as Home, zt as DestinationPayload } from "./index-DidkO1aY.mjs";
2
+ export { type Account, type AccountId, type AccountLifecycle, type AccountMethods, type AccountProvider, type AccountProviderSource, type AccountRequirement, type AccountSetupPolicy, type AccountSetupStep, type AccountsMethods, type ActivityAnnotation, type ActivityAnnotationInput, type ActivityDetail, type ActivityFilter, type ActivityItem, type ActivityKind, type ActivityListParams, type ActivityMethods, type ActivityPage, type ActivityPhase, type ActivityRange, type ActivityReference, type ActivitySummary, type ActivitySummaryParams, type ActivitySummaryTotal, type ActorProfile, type ActorProfileMethods, type ActorRef, type ActorReference, type ActorRelationshipMethods, type ActorRequest, type ActorRequestIssueInput, type ActorRequestsMethods, type Address, type AddressBookAddInput, type AddressBookEntry, type AddressBookLabelInput, type AddressBookMethods, type Approval, type ApprovalInput, type ApprovalOutcome, type ApprovalWaitOptions, type ApprovalsMethods, type AssetAmount, type AssetId, type AssetMetadata, type AssignmentProjection, type AuthMethods, type AuthSession, type AuthUserId, type AuthorityRef, type AuthorizeRunInput, type AuthorizeRunOptions, type Budget, type BudgetId, type BudgetIntent, type BudgetLeft, CAPXUL_ERROR_CODES, CAPXUL_OPERATIONS, CAPXUL_PAYMENTS_V2_ADDRESS, CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, CHAIN_UPSTREAMS, type CancelApprovalInput, type CapxulClient, type CapxulClientInput, type CapxulDigestSigner, CapxulError, type CapxulErrorCode, type CapxulErrorDetails, type CapxulOperation, type CapxulResult, type CapxulSigner, type ChainCause, type ChainUpstream, type CheckoutLinkReference, type CheckoutReceipt, type CheckoutReconciliation, type CheckoutState, type CheckoutsMethods, type ClientRequestView, type ClientRequests, type CompleteProfileInput, type CompletedPersonProfile, type CountryCode, type CreateCapxulClientInput, type CreateOfferCheckoutInput, type CurrentHoldings, type CurrentPolicy, type CurrentUserContext, type CurrentUserMethods, type DepositInstructions, type Destination, type DestinationAddInput, type DestinationKind, type DestinationListInput, type DestinationPayload, type DestinationRail, type DestinationRemoveInput, type DestinationsMethods, type DevPrivateKeySignerInput, EVM_ADDRESS_RE, EXPECTED_OPERATION_OUTCOMES, type Eip1193Provider, type Eip1193RequestProvider, type EndingReason, Errors, FAILURE_MODES, type FailureMode, type FinancialOpsMethods, type FixedOffer, type FixedOfferDraft, FixedOfferDraftSchema, type GranteeRef, HANDLE_RE, type Handle, type HandledErrorReportContext, type HoldingsMethods, type Home, type HostObservability, type Destination$1 as IdentityDestination, type IdentityEvent, type IdentityMethods, type IdentityProfileDetails, type IdentityRuntime, type IdentityRuntimeSendResult, type IdentityState, type IdentityTransition, type InboxApproveInput, type InboxFulfillOptions, type InboxItem, type InboxMethods, type InvitationAcceptInput, type InvitationApprovalInput, type InvitationId, type InvitationPage, type InvitationPageInput, type InvitationPhase, type InvitationRecovery, type InvitationSnapshot, type InvitationSubscriptionOptions, type InvitationTarget, type InvitationView, type InviteGrant, type InviteInput, type InviteMethod, type InviteOptions, type InvitePrepared, type InvitePreview, type InvitePreviewInput, type InvocationControls, type InvoiceCheckoutPreparation, type InvoiceCheckoutReconciliation, type InvoiceCheckoutState, type InvoiceCheckoutSummary, type InvoiceDraft, type LineItemV3, type MeMethods, type MeProfile, type MediaMethods, type MemberIdentityProjection, type MemberStatus, type MemberView, type Money, type MoneyParseError, type MoneyParseErrorReason, type MovementActivityEvidence, type NormalizedCapxulOperation, ORGANIZATION_SETUP_REASONS, type ObservationAdapter, type ObservationContext, type ObservationDelivery, type OfferCheckout, type OfferCheckoutPreparation, type OfferedAuthority, type OffersMethods, type OfframpMethods, type OfframpQuote, type OfframpQuoteInput, type OfframpStatus, type OnboardingMethods, type OpenfortBrowserAuth, type OpenfortBrowserSigner, type OpenfortBrowserSignerBootstrap, type OpenfortEmbeddedSignerInput, type OpenfortEmbeddedWalletApi, type OpenfortEmbeddedWalletPort, type OperationResult, type OrgId, type OrgInvitations, type OrgLane, type OrgMe, type OrgMeMethod, type OrgMeOptions, type OrgMethods, type OrgScopedMethods, type OrgView, type OrganizationAccess, type OrganizationAccount, type OrganizationApprovalInput, type OrganizationAuditLogItem, type OrganizationOnboarding, type OrganizationOnboardingInput, type OrganizationOnboardingOptions, type OrganizationPaymentBatchInput, type OrganizationPaymentInput, type OrganizationPaymentItemInput, type OrganizationPaymentRetryPreview, type OrganizationPaymentsMethods, type OrganizationSetup, type OrganizationSetupPage, type OrganizationSetupPageInput, type OrganizationSetupSnapshot, type OwnInvitationsMethod, PAYMENT_DIRECTIONS, PAYMENT_STATUSES, type Page, type PartyId, type PayInvoiceRegisteredInput, type PayRequestRegisteredInput, type Payment, type PaymentActivityEvidence, type PaymentDirection, type PaymentDocumentDownload, type PaymentDocumentKind, type PaymentDocumentOptions, PaymentDocumentOptionsSchema, type PaymentDocumentReadRef, type PaymentDocumentRef, type PaymentDocumentRender, type PaymentDocumentVerification, type PaymentDocumentsMethods, type PaymentInstructionInput, type PaymentMoney, type PaymentPrepared, type PaymentSnapshot, type PaymentStatus, type PaymentSubscriptionOptions, type PaymentTiming, type PaymentType, type PaymentsMethods, type PaymentsPayInput, type PaymentsPayOptions, type PayoutAddress, type PayrollEngagementTerms, type PayrollGroup, type PayrollGroupId, PayrollGroupIdSchema, type PayrollGroupInput, PayrollGroupInputSchema, type PayrollGroupMember, type PayrollGroupsMethods, type PayrollMethods, type PayrollOptions, type PayrollRun, type PayrollRunApprovalInput, type PayrollRunDetail, type PayrollRunId, type PayrollRunItemInput, type PayrollRunSnapshot, type PayrollRunStatus, type PayrollRuns, type PayrollTermsUnit, type Permission, type PermissionApprovalInput, type PermissionAssignInput, type PermissionAssignmentEffect, type PermissionChangeInput, type PermissionCommandSnapshot, type PermissionCommandView, type PermissionCreateInput, type PermissionId, type PermissionIntent, type PermissionMethods, type PermissionOptions, type PermissionPolicyChange, type PermissionPrepared, type PermissionReadResult, type PermissionReplaceInput, type PermissionReplacementPreview, type PermissionRevokeInput, type PermissionWrite, type PersonOnboarding, type PersonOnboardingInput, type PostHogObservabilityClient, type PostHogObservabilityOptions, type PrepareInvoiceCheckoutExecutionInput, type PrepareOfferCheckoutExecutionInput, type PrepareRequestCheckoutExecutionInput, type PreparedInvoiceCheckoutExecution, type PreparedOfferCheckoutExecution, type PreparedRequestCheckoutExecution, type Profile, type Rate, type RateSource, type Readiness, type ReadyAccountLifecycle, type RecipientResolution, type RedirectApprovalInput, type Ref, type RequestApprovalInput, type RequestCheckoutPreparation, type RequestCheckoutReconciliation, type RequestCheckoutState, type RequestCheckoutSummary, type RequestPaymentConfirmation, type RequestPaymentTerms, type ResolvedTarget, type RetryApprovalInput, type RevertSummary, type RoleDefinition, type RoleKey, type RoleView, type SdkFailureObservation, type Session, type SetupIssue, type SignerStatus, type SignerStatusStore, type SmartAccount, type SmartAccountMethods, type SpendingScope, type StateLabel, type SubmittedPermissionExecution, type SupportingReceiptInput, type SystemHealth, type SystemMethods, TOKENS, type TargetReference, type TargetsMethods, type TelemetryPort, type TesterKind, type Unsubscribe, type UploadImageResult, type Valuation, assetSymbolFor, captureException, captureExceptionSync, checkoutUrl, createCapxulClient, createOpenfortBrowserSigner, decodePayrollRunInput, decodePermissionIntent, deriveDevPrivateKey, devPrivateKeySigner, eip1193AccountProvider, embeddedSigner, fingerprintPaymentIntent, formatAssetAmount, formatMoney, inboxPhase, injectedWalletSigner, isCapxulError, isCapxulOperation, isCheckoutSettlementConsumed, isClaimed, isMoneyParseError, isRestoring, isSettingUpLifecycle, localPrivateKeyAccountProvider, normalizeCapxulOperation, openfortEmbeddedSignerFromWallet, openfortEmbeddedWalletPort, parseAssetAmount, parseMoney, paymentPhase, positionPeg, postHogObservability, requestPhase, requireAsset, destination as resolveIdentityDestination, toAccountId, toAssetId, toBudgetId, toCountryCode, toCurrencyCode, toAddress as toEvmAddress, toHandle, toOrgId, toPartyId, toPayrollGroupId, toPermissionAssignmentId, toPermissionId, toRaw, valueActivitySummary, valueIn };