@capxul/sdk-react 0.2.0-alpha.5 → 1.0.0-alpha.10
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 +442 -43
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1057 -96
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -7
package/dist/index.d.mts
CHANGED
|
@@ -1,39 +1,72 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { QueryClient, UseMutationResult, UseQueryResult } from "@tanstack/react-query";
|
|
3
|
-
import { Account, AccountRequirement,
|
|
4
|
-
import { CapxulError } from "@capxul/config";
|
|
5
|
-
import { Account as Account$1, AccountId, Money, SubAccount, SubAccountId } from "@capxul/types";
|
|
3
|
+
import { Account, AccountLifecycle, AccountRequirement, ActorRequest, ActorRequestIssueInput, AddressBookAddInput, AddressBookEntry, AddressBookLabelInput, AssignRoleInput, CapxulClient, CapxulSigner, CompleteOrganizationOnboardingInput, CompleteOrganizationOnboardingResult, CompletePersonalOnboardingInput, CompletePersonalOnboardingResult, CreateOrgInput, Destination, DestinationAddInput, DestinationListInput, DestinationRemoveInput, InboxApproveInput, InboxItem, InsightsSummary as InsightsSummary$1, InviteMemberInput, MemberView, OrgId, OrgView, Payment, PaymentsPayInput, PaymentsPayoutInput, PaymentsWithdrawInput, PayrollRosterAddInput, PayrollRosterLine, PayrollRunInput, Profile, ReconciliationEntry, RemoveMemberInput, RoleView, Session, TransferInput, TransferResult } from "@capxul/sdk";
|
|
6
4
|
|
|
7
5
|
//#region src/provider.d.ts
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
readonly
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
readonly client?:
|
|
16
|
-
/** Init-time account readiness target. Default `"none"`. */
|
|
6
|
+
type CapxulProviderSharedProps = {
|
|
7
|
+
/** Bring your own QueryClient; otherwise the provider creates one. */readonly queryClient?: QueryClient;
|
|
8
|
+
readonly children: ReactNode;
|
|
9
|
+
};
|
|
10
|
+
/** Browser / app path — the provider bootstraps the client from a publishable key. */
|
|
11
|
+
type CapxulProviderPublishableKeyProps = CapxulProviderSharedProps & {
|
|
12
|
+
readonly publishableKey: string;
|
|
13
|
+
readonly client?: never; /** Init-time account readiness target. Default `"none"`. */
|
|
17
14
|
readonly requirement?: AccountRequirement;
|
|
18
|
-
/** Optional app origin forwarded to the SDK bootstrap request. */
|
|
19
|
-
readonly origin?: ProductionAdapterInput["origin"];
|
|
20
|
-
/** Optional bootstrap host override for live/dev environments. */
|
|
21
|
-
readonly bootstrapBaseUrl?: ProductionAdapterInput["bootstrapBaseUrl"];
|
|
22
|
-
/** Optional auth persistence adapter; Node CLIs pass their filesystem cache. */
|
|
23
|
-
readonly authCache?: ProductionAdapterInput["authCache"];
|
|
24
|
-
/** Optional method invocation timeout in milliseconds. */
|
|
25
|
-
readonly invokeTimeoutMs?: ProductionAdapterInput["invokeTimeoutMs"];
|
|
26
15
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
16
|
+
* Optional consumer-held signer for the deploy lane. Omitted in browser apps
|
|
17
|
+
* with `requirement: "deployed"` — the SDK wires Openfort from bootstrap.
|
|
29
18
|
*/
|
|
30
19
|
readonly signer?: CapxulSigner;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Node / server / test path — a pre-built client is supplied; lifecycle stays
|
|
23
|
+
* with the caller. Mutually exclusive with `publishableKey`.
|
|
24
|
+
*/
|
|
25
|
+
type CapxulProviderInjectedClientProps = CapxulProviderSharedProps & {
|
|
26
|
+
readonly client: CapxulClient;
|
|
27
|
+
readonly publishableKey?: never;
|
|
28
|
+
readonly requirement?: never;
|
|
29
|
+
readonly signer?: never;
|
|
30
|
+
};
|
|
31
|
+
type CapxulProviderProps = CapxulProviderPublishableKeyProps | CapxulProviderInjectedClientProps;
|
|
35
32
|
declare function CapxulProvider(props: CapxulProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
36
33
|
//#endregion
|
|
34
|
+
//#region ../errors/src/errors.d.ts
|
|
35
|
+
declare const CAPXUL_ERROR_CODES: readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "PROVIDER_ERROR", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE"];
|
|
36
|
+
type CapxulErrorCode = (typeof CAPXUL_ERROR_CODES)[number];
|
|
37
|
+
/**
|
|
38
|
+
* Why an auth/provider call failed — a flat CAUSE enum. The *where* (which
|
|
39
|
+
* OpenFort operation) stays in the separate `operation` detail field; this
|
|
40
|
+
* names the root cause so a single `$exception` can be triaged without
|
|
41
|
+
* parsing the message. Five members, no free strings:
|
|
42
|
+
*
|
|
43
|
+
* - `auth-origin-mismatch`: OTP cookies live on `localhost:PORT` but OpenFort
|
|
44
|
+
* hits the Convex host → no session reaches the provider.
|
|
45
|
+
* - `stale-openfort-cache`: an old `userId` in scoped storage makes the SDK
|
|
46
|
+
* skip re-auth → 401 on `v2/accounts`.
|
|
47
|
+
* - `app-env-allowlist`: missing `VITE_CAPXUL_CONVEX_SITE_URL` / the origin is
|
|
48
|
+
* not allowlisted → 401.
|
|
49
|
+
* - `no-secure-context`: sandboxed/headless browser with no Web Crypto, so
|
|
50
|
+
* `getAddress`/`configure` can never produce an address. Previously vanished
|
|
51
|
+
* into `unknown`; the signer's secure-context probe now names it.
|
|
52
|
+
* - `unknown`: catch-all when no cause could be determined.
|
|
53
|
+
*/
|
|
54
|
+
type FailureMode = "auth-origin-mismatch" | "stale-openfort-cache" | "app-env-allowlist" | "no-secure-context" | "unknown";
|
|
55
|
+
type CapxulErrorDetails = Record<string, unknown>;
|
|
56
|
+
type CapxulErrorOptions = {
|
|
57
|
+
readonly cause?: unknown;
|
|
58
|
+
readonly details?: CapxulErrorDetails;
|
|
59
|
+
readonly correlationId?: string;
|
|
60
|
+
readonly layer?: string;
|
|
61
|
+
};
|
|
62
|
+
declare class CapxulError extends Error {
|
|
63
|
+
readonly code: CapxulErrorCode;
|
|
64
|
+
readonly details?: CapxulErrorDetails;
|
|
65
|
+
readonly correlationId?: string;
|
|
66
|
+
readonly layer?: string;
|
|
67
|
+
constructor(code: CapxulErrorCode, message: string, options?: CapxulErrorOptions);
|
|
68
|
+
}
|
|
69
|
+
//#endregion
|
|
37
70
|
//#region src/internal/capxul-bootstrap-context.d.ts
|
|
38
71
|
type CapxulBootstrapStatus = "bootstrapping" | "ready" | "error";
|
|
39
72
|
interface CapxulBootstrapState {
|
|
@@ -43,6 +76,14 @@ interface CapxulBootstrapState {
|
|
|
43
76
|
}
|
|
44
77
|
declare function useCapxul(): CapxulBootstrapState;
|
|
45
78
|
//#endregion
|
|
79
|
+
//#region src/internal/capxul-client-context.d.ts
|
|
80
|
+
/**
|
|
81
|
+
* Returns the client, or `null` while `<CapxulProvider>` is still bootstrapping.
|
|
82
|
+
* Data hooks use this so they can sit in `isPending` (disabled query) until the
|
|
83
|
+
* client resolves, rather than throwing during bootstrap.
|
|
84
|
+
*/
|
|
85
|
+
declare function useCapxulClientOrNull(): CapxulClient | null;
|
|
86
|
+
//#endregion
|
|
46
87
|
//#region src/hooks/use-capxul-session.d.ts
|
|
47
88
|
type UseCapxulSessionReturn = UseQueryResult<Session | null, CapxulError>;
|
|
48
89
|
declare function useCapxulSession(): UseCapxulSessionReturn;
|
|
@@ -51,9 +92,18 @@ declare function useCapxulSession(): UseCapxulSessionReturn;
|
|
|
51
92
|
type UseCapxulProfileReturn = UseQueryResult<Profile | null, CapxulError>;
|
|
52
93
|
declare function useCapxulProfile(): UseCapxulProfileReturn;
|
|
53
94
|
//#endregion
|
|
54
|
-
//#region src/hooks/use-capxul-account.d.ts
|
|
55
|
-
|
|
56
|
-
|
|
95
|
+
//#region src/hooks/use-capxul-account-lifecycle.d.ts
|
|
96
|
+
interface UseCapxulAccountLifecycleReturn {
|
|
97
|
+
readonly lifecycle: AccountLifecycle;
|
|
98
|
+
readonly isSettingUp: boolean;
|
|
99
|
+
readonly error: CapxulError | null;
|
|
100
|
+
readonly isLoading: boolean;
|
|
101
|
+
readonly isFetching: boolean;
|
|
102
|
+
readonly isError: boolean;
|
|
103
|
+
readonly retry: UseMutationResult<AccountLifecycle, CapxulError, void>["mutateAsync"];
|
|
104
|
+
readonly isRetrying: boolean;
|
|
105
|
+
}
|
|
106
|
+
declare function useCapxulAccountLifecycle(): UseCapxulAccountLifecycleReturn;
|
|
57
107
|
//#endregion
|
|
58
108
|
//#region src/hooks/use-capxul-account-balance.d.ts
|
|
59
109
|
type UseCapxulAccountBalanceReturn = UseQueryResult<Account, CapxulError>;
|
|
@@ -62,6 +112,65 @@ type UseCapxulAccountBalanceOptions = {
|
|
|
62
112
|
};
|
|
63
113
|
declare function useCapxulAccountBalance(options?: UseCapxulAccountBalanceOptions): UseCapxulAccountBalanceReturn;
|
|
64
114
|
//#endregion
|
|
115
|
+
//#region ../types/src/brand.d.ts
|
|
116
|
+
/**
|
|
117
|
+
* Nominal type helper. `Brand<T, B>` is structurally a `T` at runtime but
|
|
118
|
+
* distinct at compile time, preventing accidental swaps between primitives.
|
|
119
|
+
*
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
declare const brand: unique symbol;
|
|
123
|
+
type Brand<T, B extends string> = T & {
|
|
124
|
+
readonly [brand]: B;
|
|
125
|
+
};
|
|
126
|
+
//#endregion
|
|
127
|
+
//#region ../types/src/index.d.ts
|
|
128
|
+
type Money = {
|
|
129
|
+
readonly currency: CurrencyCode;
|
|
130
|
+
readonly value: string;
|
|
131
|
+
readonly decimals: number;
|
|
132
|
+
};
|
|
133
|
+
type Account$1 = {
|
|
134
|
+
readonly id: AccountId;
|
|
135
|
+
readonly balance: Money;
|
|
136
|
+
readonly available: Money;
|
|
137
|
+
};
|
|
138
|
+
/** Named bucket partitioning a logical Account (canon §9). */
|
|
139
|
+
type SubAccount = {
|
|
140
|
+
readonly id: SubAccountId;
|
|
141
|
+
readonly accountId: AccountId;
|
|
142
|
+
readonly name: string;
|
|
143
|
+
readonly balance: Money;
|
|
144
|
+
readonly createdAt: EpochMs;
|
|
145
|
+
};
|
|
146
|
+
type AccountId = Brand<string, "AccountId">;
|
|
147
|
+
type SubAccountId = Brand<string, "SubAccountId">;
|
|
148
|
+
type OrgId$1 = Brand<string, "OrgId">;
|
|
149
|
+
type EpochMs = Brand<number, "EpochMs">;
|
|
150
|
+
type CurrencyCode = Brand<SupportedCurrencyCode, "CurrencyCode">;
|
|
151
|
+
declare const SUPPORTED_CURRENCIES: readonly [{
|
|
152
|
+
readonly code: "USD";
|
|
153
|
+
readonly symbol: "$";
|
|
154
|
+
readonly name: "US Dollar";
|
|
155
|
+
}, {
|
|
156
|
+
readonly code: "NGN";
|
|
157
|
+
readonly symbol: "NGN";
|
|
158
|
+
readonly name: "Nigerian Naira";
|
|
159
|
+
}, {
|
|
160
|
+
readonly code: "GHS";
|
|
161
|
+
readonly symbol: "GHS";
|
|
162
|
+
readonly name: "Ghanaian Cedi";
|
|
163
|
+
}, {
|
|
164
|
+
readonly code: "KES";
|
|
165
|
+
readonly symbol: "KSh";
|
|
166
|
+
readonly name: "Kenyan Shilling";
|
|
167
|
+
}, {
|
|
168
|
+
readonly code: "UGX";
|
|
169
|
+
readonly symbol: "USh";
|
|
170
|
+
readonly name: "Ugandan Shilling";
|
|
171
|
+
}];
|
|
172
|
+
type SupportedCurrencyCode = (typeof SUPPORTED_CURRENCIES)[number]["code"];
|
|
173
|
+
//#endregion
|
|
65
174
|
//#region src/hooks/use-capxul-account-fund.d.ts
|
|
66
175
|
type UseCapxulAccountFundReturn = UseMutationResult<{
|
|
67
176
|
readonly txHash: string;
|
|
@@ -91,10 +200,6 @@ declare function useCapxulVerifyOtp(): UseCapxulVerifyOtpReturn;
|
|
|
91
200
|
type UseCapxulSignOutReturn = UseMutationResult<void, CapxulError, void>;
|
|
92
201
|
declare function useCapxulSignOut(): UseCapxulSignOutReturn;
|
|
93
202
|
//#endregion
|
|
94
|
-
//#region src/hooks/use-capxul-ensure-ready.d.ts
|
|
95
|
-
type UseCapxulEnsureReadyReturn = UseMutationResult<AccountStatus, CapxulError, void>;
|
|
96
|
-
declare function useCapxulEnsureReady(): UseCapxulEnsureReadyReturn;
|
|
97
|
-
//#endregion
|
|
98
203
|
//#region src/hooks/use-capxul-sub-accounts.d.ts
|
|
99
204
|
type UseCapxulSubAccountsListOptions = {
|
|
100
205
|
readonly enabled?: boolean;
|
|
@@ -128,6 +233,114 @@ type UseCapxulTransferReturn = UseMutationResult<TransferResult, CapxulError, {
|
|
|
128
233
|
} & TransferInput>;
|
|
129
234
|
declare function useCapxulTransfer(): UseCapxulTransferReturn;
|
|
130
235
|
//#endregion
|
|
236
|
+
//#region src/hooks/use-capxul-money.d.ts
|
|
237
|
+
type UseCapxulPayReturn = UseMutationResult<Payment, CapxulError, PaymentsPayInput>;
|
|
238
|
+
declare function useCapxulPay(): UseCapxulPayReturn;
|
|
239
|
+
type UseCapxulPayoutReturn = UseMutationResult<Payment, CapxulError, PaymentsPayoutInput>;
|
|
240
|
+
declare function useCapxulPayout(): UseCapxulPayoutReturn;
|
|
241
|
+
type UseCapxulWithdrawReturn = UseMutationResult<Payment, CapxulError, PaymentsWithdrawInput>;
|
|
242
|
+
declare function useCapxulWithdraw(): UseCapxulWithdrawReturn;
|
|
243
|
+
type UseCapxulPaymentsReturn = UseQueryResult<readonly Payment[], CapxulError>;
|
|
244
|
+
declare function useCapxulPayments(options?: {
|
|
245
|
+
readonly enabled?: boolean;
|
|
246
|
+
}): UseCapxulPaymentsReturn;
|
|
247
|
+
type UseCapxulPaymentReturn = UseQueryResult<Payment | null, CapxulError>;
|
|
248
|
+
declare function useCapxulPayment(paymentId: string | undefined, options?: {
|
|
249
|
+
readonly enabled?: boolean;
|
|
250
|
+
}): UseCapxulPaymentReturn;
|
|
251
|
+
//#endregion
|
|
252
|
+
//#region src/internal/reactivity-keys.d.ts
|
|
253
|
+
type ReactActorScope = {
|
|
254
|
+
readonly kind: "account";
|
|
255
|
+
} | {
|
|
256
|
+
readonly kind: "org";
|
|
257
|
+
readonly orgId: string;
|
|
258
|
+
};
|
|
259
|
+
//#endregion
|
|
260
|
+
//#region src/hooks/use-capxul-actor-scope.d.ts
|
|
261
|
+
type CapxulActorScope = ReactActorScope;
|
|
262
|
+
declare const capxulAccountScope: {
|
|
263
|
+
readonly kind: "account";
|
|
264
|
+
};
|
|
265
|
+
declare function capxulOrgScope(orgId: OrgId$1 | undefined): CapxulActorScope | undefined;
|
|
266
|
+
type UseCapxulAddressBookReturn = UseQueryResult<readonly AddressBookEntry[], CapxulError>;
|
|
267
|
+
declare function useCapxulAddressBook(actor: CapxulActorScope | undefined, options?: {
|
|
268
|
+
readonly enabled?: boolean;
|
|
269
|
+
}): UseCapxulAddressBookReturn;
|
|
270
|
+
type UseCapxulAddressBookEntryReturn = UseQueryResult<AddressBookEntry | null, CapxulError>;
|
|
271
|
+
declare function useCapxulAddressBookEntry(actor: CapxulActorScope | undefined, entryId: string | undefined, options?: {
|
|
272
|
+
readonly enabled?: boolean;
|
|
273
|
+
}): UseCapxulAddressBookEntryReturn;
|
|
274
|
+
type AddressBookMutation<TData, TVariables> = UseMutationResult<TData, CapxulError, TVariables>;
|
|
275
|
+
type UseCapxulAddAddressBookEntryReturn = AddressBookMutation<AddressBookEntry, AddressBookAddInput>;
|
|
276
|
+
declare const useCapxulAddAddressBookEntry: (actor?: CapxulActorScope | undefined) => AddressBookMutation<AddressBookEntry, AddressBookAddInput>;
|
|
277
|
+
type UseCapxulHideAddressBookEntryReturn = AddressBookMutation<AddressBookEntry, string>;
|
|
278
|
+
declare const useCapxulHideAddressBookEntry: (actor?: CapxulActorScope | undefined) => AddressBookMutation<AddressBookEntry, string>;
|
|
279
|
+
type UseCapxulUnhideAddressBookEntryReturn = AddressBookMutation<AddressBookEntry, string>;
|
|
280
|
+
declare const useCapxulUnhideAddressBookEntry: (actor?: CapxulActorScope | undefined) => AddressBookMutation<AddressBookEntry, string>;
|
|
281
|
+
type UseCapxulLabelAddressBookEntryReturn = AddressBookMutation<AddressBookEntry, AddressBookLabelInput>;
|
|
282
|
+
declare const useCapxulLabelAddressBookEntry: (actor?: CapxulActorScope | undefined) => AddressBookMutation<AddressBookEntry, AddressBookLabelInput>;
|
|
283
|
+
type UseCapxulRequestsReturn = UseQueryResult<readonly ActorRequest[], CapxulError>;
|
|
284
|
+
declare function useCapxulRequests(actor: CapxulActorScope | undefined, options?: {
|
|
285
|
+
readonly enabled?: boolean;
|
|
286
|
+
}): UseCapxulRequestsReturn;
|
|
287
|
+
type UseCapxulRequestReturn = UseQueryResult<ActorRequest | null, CapxulError>;
|
|
288
|
+
declare function useCapxulRequest(actor: CapxulActorScope | undefined, requestId: string | undefined, options?: {
|
|
289
|
+
readonly enabled?: boolean;
|
|
290
|
+
}): UseCapxulRequestReturn;
|
|
291
|
+
type UseCapxulIssueRequestReturn = UseMutationResult<ActorRequest, CapxulError, ActorRequestIssueInput>;
|
|
292
|
+
declare const useCapxulIssueRequest: (actor?: CapxulActorScope | undefined) => UseMutationResult<ActorRequest, CapxulError, ActorRequestIssueInput>;
|
|
293
|
+
type UseCapxulCancelRequestReturn = UseMutationResult<ActorRequest, CapxulError, string>;
|
|
294
|
+
declare const useCapxulCancelRequest: (actor?: CapxulActorScope | undefined) => UseMutationResult<ActorRequest, CapxulError, string>;
|
|
295
|
+
type UseCapxulReconcileRequestsReturn = UseMutationResult<readonly ReconciliationEntry[], CapxulError, void>;
|
|
296
|
+
declare const useCapxulReconcileRequests: (actor?: CapxulActorScope | undefined) => UseMutationResult<readonly ReconciliationEntry[], CapxulError, unknown>;
|
|
297
|
+
type UseCapxulInboxReturn = UseQueryResult<readonly InboxItem[], CapxulError>;
|
|
298
|
+
declare function useCapxulInbox(actor: CapxulActorScope | undefined, options?: {
|
|
299
|
+
readonly enabled?: boolean;
|
|
300
|
+
}): UseCapxulInboxReturn;
|
|
301
|
+
type UseCapxulApproveInboxRequestReturn = UseMutationResult<Payment, CapxulError, InboxApproveInput>;
|
|
302
|
+
declare const useCapxulApproveInboxRequest: (actor?: CapxulActorScope | undefined) => UseMutationResult<Payment, CapxulError, InboxApproveInput>;
|
|
303
|
+
type UseCapxulDeclineInboxRequestReturn = UseMutationResult<InboxItem, CapxulError, string>;
|
|
304
|
+
declare const useCapxulDeclineInboxRequest: (actor?: CapxulActorScope | undefined) => UseMutationResult<InboxItem, CapxulError, string>;
|
|
305
|
+
type UseCapxulInsightsSummaryReturn = UseQueryResult<InsightsSummary$1, CapxulError>;
|
|
306
|
+
declare function useCapxulInsightsSummary(actor: CapxulActorScope | undefined, options?: {
|
|
307
|
+
readonly enabled?: boolean;
|
|
308
|
+
}): UseCapxulInsightsSummaryReturn;
|
|
309
|
+
type UseCapxulInsightsHistoryReturn = UseQueryResult<readonly Payment[], CapxulError>;
|
|
310
|
+
declare function useCapxulInsightsHistory(actor: CapxulActorScope | undefined, options?: {
|
|
311
|
+
readonly enabled?: boolean;
|
|
312
|
+
}): UseCapxulInsightsHistoryReturn;
|
|
313
|
+
//#endregion
|
|
314
|
+
//#region src/hooks/use-capxul-destinations.d.ts
|
|
315
|
+
type UseCapxulDestinationsReturn = UseQueryResult<readonly Destination[], CapxulError>;
|
|
316
|
+
declare function useCapxulDestinations(input: DestinationListInput | undefined, options?: {
|
|
317
|
+
readonly enabled?: boolean;
|
|
318
|
+
}): UseCapxulDestinationsReturn;
|
|
319
|
+
type UseCapxulAddDestinationReturn = UseMutationResult<Destination, CapxulError, DestinationAddInput>;
|
|
320
|
+
declare function useCapxulAddDestination(): UseCapxulAddDestinationReturn;
|
|
321
|
+
type UseCapxulRemoveDestinationReturn = UseMutationResult<{
|
|
322
|
+
readonly id: string;
|
|
323
|
+
}, CapxulError, DestinationRemoveInput>;
|
|
324
|
+
declare function useCapxulRemoveDestination(): UseCapxulRemoveDestinationReturn;
|
|
325
|
+
//#endregion
|
|
326
|
+
//#region src/hooks/use-capxul-payroll.d.ts
|
|
327
|
+
type UseCapxulPayrollRosterReturn = UseQueryResult<readonly PayrollRosterLine[], CapxulError>;
|
|
328
|
+
declare function useCapxulPayrollRoster(orgId: OrgId$1 | undefined, options?: {
|
|
329
|
+
readonly enabled?: boolean;
|
|
330
|
+
}): UseCapxulPayrollRosterReturn;
|
|
331
|
+
type UseCapxulAddPayrollRosterLineReturn = UseMutationResult<PayrollRosterLine, CapxulError, PayrollRosterAddInput>;
|
|
332
|
+
declare const useCapxulAddPayrollRosterLine: (orgId: OrgId$1 | undefined) => UseMutationResult<PayrollRosterLine, CapxulError, PayrollRosterAddInput>;
|
|
333
|
+
type UseCapxulUpdatePayrollRosterLineInput = {
|
|
334
|
+
readonly rosterLineId: string;
|
|
335
|
+
readonly input: Partial<PayrollRosterAddInput>;
|
|
336
|
+
};
|
|
337
|
+
type UseCapxulUpdatePayrollRosterLineReturn = UseMutationResult<PayrollRosterLine, CapxulError, UseCapxulUpdatePayrollRosterLineInput>;
|
|
338
|
+
declare const useCapxulUpdatePayrollRosterLine: (orgId: OrgId$1 | undefined) => UseMutationResult<PayrollRosterLine, CapxulError, UseCapxulUpdatePayrollRosterLineInput>;
|
|
339
|
+
type UseCapxulRemovePayrollRosterLineReturn = UseMutationResult<PayrollRosterLine, CapxulError, string>;
|
|
340
|
+
declare const useCapxulRemovePayrollRosterLine: (orgId: OrgId$1 | undefined) => UseMutationResult<PayrollRosterLine, CapxulError, string>;
|
|
341
|
+
type UseCapxulRunPayrollReturn = UseMutationResult<readonly Payment[], CapxulError, PayrollRunInput>;
|
|
342
|
+
declare const useCapxulRunPayroll: (orgId: OrgId$1 | undefined) => UseMutationResult<readonly Payment[], CapxulError, PayrollRunInput>;
|
|
343
|
+
//#endregion
|
|
131
344
|
//#region src/hooks/use-capxul-orgs.d.ts
|
|
132
345
|
/**
|
|
133
346
|
* List the Orgs you belong to (canon §C1 "Org list" / §C3). Binds directly to
|
|
@@ -208,6 +421,31 @@ declare function useCapxulOrgTreasury(orgId: OrgId | undefined, options?: UseCap
|
|
|
208
421
|
type UseCapxulCreateOrgReturn = UseMutationResult<OrgView, CapxulError, CreateOrgInput>;
|
|
209
422
|
declare function useCapxulCreateOrg(): UseCapxulCreateOrgReturn;
|
|
210
423
|
//#endregion
|
|
424
|
+
//#region src/hooks/use-capxul-complete-personal-onboarding.d.ts
|
|
425
|
+
/**
|
|
426
|
+
* Complete personal onboarding (D-ONBOARD · #669). Binds to
|
|
427
|
+
* `capxul.onboarding.completePersonal(input)`: persist the user's first identity
|
|
428
|
+
* profile + trigger provisioning, then return the leak-safe `{ lifecycle }`. A
|
|
429
|
+
* mutation, NOT an effect — call `mutateAsync` from a submit handler and route
|
|
430
|
+
* on `lifecycle.status` (see `docs/onboarding.md`). On success it invalidates the
|
|
431
|
+
* identity + account-lifecycle queries so the dashboard/provisioning screen
|
|
432
|
+
* reactively reflects the new state. No effect hooks — a handler + a query.
|
|
433
|
+
*/
|
|
434
|
+
type UseCapxulCompletePersonalOnboardingReturn = UseMutationResult<CompletePersonalOnboardingResult, CapxulError, CompletePersonalOnboardingInput>;
|
|
435
|
+
declare function useCapxulCompletePersonalOnboarding(): UseCapxulCompletePersonalOnboardingReturn;
|
|
436
|
+
//#endregion
|
|
437
|
+
//#region src/hooks/use-capxul-complete-organization-onboarding.d.ts
|
|
438
|
+
/**
|
|
439
|
+
* Complete organization onboarding (D-ONBOARD · #669). Binds to
|
|
440
|
+
* `capxul.onboarding.completeOrganization(input)`: persist the founder's identity
|
|
441
|
+
* profile, create the Org (reusing `createOrg`), trigger provisioning, and return
|
|
442
|
+
* `{ org, lifecycle }`. Scope every later org call via `capxul.org(org.id).*`. A
|
|
443
|
+
* mutation, NOT an effect. On success it invalidates the identity, account-
|
|
444
|
+
* lifecycle, and org-list queries. No effect hooks — a handler + a query.
|
|
445
|
+
*/
|
|
446
|
+
type UseCapxulCompleteOrganizationOnboardingReturn = UseMutationResult<CompleteOrganizationOnboardingResult, CapxulError, CompleteOrganizationOnboardingInput>;
|
|
447
|
+
declare function useCapxulCompleteOrganizationOnboarding(): UseCapxulCompleteOrganizationOnboardingReturn;
|
|
448
|
+
//#endregion
|
|
211
449
|
//#region src/hooks/use-capxul-invite-member.d.ts
|
|
212
450
|
/**
|
|
213
451
|
* Invite a member to an Org by email (canon §C2 J2 virality loop / §C3, S3, D8).
|
|
@@ -243,17 +481,178 @@ declare function useCapxulRemoveMember(orgId: OrgId | undefined): UseCapxulRemov
|
|
|
243
481
|
type UseCapxulAssignRoleReturn = UseMutationResult<MemberView, CapxulError, AssignRoleInput>;
|
|
244
482
|
declare function useCapxulAssignRole(orgId: OrgId | undefined): UseCapxulAssignRoleReturn;
|
|
245
483
|
//#endregion
|
|
246
|
-
//#region src/hooks/use-capxul-
|
|
484
|
+
//#region src/hooks/use-capxul-switch-acting-entity.d.ts
|
|
485
|
+
type SwitchActingEntityInput = {
|
|
486
|
+
readonly orgId?: OrgId;
|
|
487
|
+
};
|
|
247
488
|
/**
|
|
248
|
-
*
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
*
|
|
253
|
-
* `
|
|
489
|
+
* Switch the acting entity (personal Account ↔ Organization).
|
|
490
|
+
*
|
|
491
|
+
* Per canon D13 the acting entity is NOT shared mutable SDK state — scoping is
|
|
492
|
+
* explicit per `capxul.org(orgId)` call — so this mutation carries no SDK side
|
|
493
|
+
* effect. It exists as the stable mutation seam the headless
|
|
494
|
+
* `CapxulEntitySwitcher` drives; the actual context switch is the consumer's
|
|
495
|
+
* own local state, applied through the component's `onSwitchPersonal` /
|
|
496
|
+
* `onSwitchOrg` callbacks.
|
|
497
|
+
*
|
|
498
|
+
* The legacy `org_entity_switched` telemetry emission was removed when master's
|
|
499
|
+
* unified telemetry pipeline (#402) dropped that event from the Layer 0 spine.
|
|
254
500
|
*/
|
|
255
|
-
type
|
|
256
|
-
declare function
|
|
501
|
+
type UseCapxulSwitchActingEntityReturn = UseMutationResult<void, Error, SwitchActingEntityInput | undefined>;
|
|
502
|
+
declare function useCapxulSwitchActingEntity(): UseCapxulSwitchActingEntityReturn;
|
|
503
|
+
//#endregion
|
|
504
|
+
//#region src/headless/shared/headless-error-view.d.ts
|
|
505
|
+
type HeadlessSuggestedAction = "retry" | "sign_out_and_in" | "check_configuration" | "contact_support";
|
|
506
|
+
type HeadlessErrorView = {
|
|
507
|
+
readonly code: CapxulErrorCode;
|
|
508
|
+
readonly failureMode: FailureMode | undefined;
|
|
509
|
+
readonly userMessage: string;
|
|
510
|
+
readonly suggestedAction: HeadlessSuggestedAction;
|
|
511
|
+
readonly recoverable: boolean;
|
|
512
|
+
readonly diagnostics: string;
|
|
513
|
+
readonly correlationId: string | undefined;
|
|
514
|
+
};
|
|
515
|
+
//#endregion
|
|
516
|
+
//#region src/headless/shared/types.d.ts
|
|
517
|
+
type Slot<TProps> = (props: TProps) => ReactNode;
|
|
518
|
+
type QuerySlotState<T> = {
|
|
519
|
+
readonly data: T | undefined;
|
|
520
|
+
readonly isLoading: boolean;
|
|
521
|
+
readonly isFetching: boolean;
|
|
522
|
+
readonly isError: boolean;
|
|
523
|
+
readonly error: HeadlessErrorView | null;
|
|
524
|
+
};
|
|
525
|
+
//#endregion
|
|
526
|
+
//#region src/headless/money/SendMoney.d.ts
|
|
527
|
+
type SendMoneySlots = {
|
|
528
|
+
readonly root?: Slot<{
|
|
529
|
+
readonly children: React.ReactNode;
|
|
530
|
+
}>;
|
|
531
|
+
readonly form?: Slot<{
|
|
532
|
+
readonly value: PaymentsPayInput | null;
|
|
533
|
+
readonly setValue: (value: PaymentsPayInput | null) => void;
|
|
534
|
+
readonly submit: () => void;
|
|
535
|
+
readonly pending: boolean;
|
|
536
|
+
readonly disabled: boolean;
|
|
537
|
+
readonly succeeded: boolean;
|
|
538
|
+
readonly error: HeadlessErrorView | null;
|
|
539
|
+
}>;
|
|
540
|
+
readonly error?: Slot<HeadlessErrorView>;
|
|
541
|
+
};
|
|
542
|
+
interface SendMoneyProps {
|
|
543
|
+
readonly initialValue?: PaymentsPayInput | null;
|
|
544
|
+
readonly slots: SendMoneySlots;
|
|
545
|
+
readonly onSent?: () => void;
|
|
546
|
+
}
|
|
547
|
+
declare function SendMoney({
|
|
548
|
+
initialValue,
|
|
549
|
+
slots,
|
|
550
|
+
onSent
|
|
551
|
+
}: SendMoneyProps): string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>;
|
|
552
|
+
//#endregion
|
|
553
|
+
//#region src/headless/relationship/AddressBook.d.ts
|
|
554
|
+
type AddressBookSlots = {
|
|
555
|
+
readonly root?: Slot<{
|
|
556
|
+
readonly children: React.ReactNode;
|
|
557
|
+
}>;
|
|
558
|
+
readonly entries?: Slot<QuerySlotState<readonly AddressBookEntry[]>>;
|
|
559
|
+
readonly actions?: Slot<{
|
|
560
|
+
readonly add: (input: AddressBookAddInput) => Promise<AddressBookEntry>;
|
|
561
|
+
readonly hide: (entryId: string) => Promise<AddressBookEntry>;
|
|
562
|
+
readonly unhide: (entryId: string) => Promise<AddressBookEntry>;
|
|
563
|
+
readonly label: (input: AddressBookLabelInput) => Promise<AddressBookEntry>;
|
|
564
|
+
readonly pending: boolean;
|
|
565
|
+
readonly disabled: boolean;
|
|
566
|
+
}>;
|
|
567
|
+
};
|
|
568
|
+
interface AddressBookProps {
|
|
569
|
+
readonly actor?: CapxulActorScope | undefined;
|
|
570
|
+
readonly slots: AddressBookSlots;
|
|
571
|
+
}
|
|
572
|
+
declare function AddressBook(props: AddressBookProps): string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>;
|
|
573
|
+
//#endregion
|
|
574
|
+
//#region src/headless/relationship/RequestInbox.d.ts
|
|
575
|
+
type RequestInboxSlots = {
|
|
576
|
+
readonly root?: Slot<{
|
|
577
|
+
readonly children: React.ReactNode;
|
|
578
|
+
}>;
|
|
579
|
+
readonly requests?: Slot<QuerySlotState<readonly ActorRequest[]>>;
|
|
580
|
+
readonly inbox?: Slot<QuerySlotState<readonly InboxItem[]>>;
|
|
581
|
+
readonly actions?: Slot<{
|
|
582
|
+
readonly issue: (input: ActorRequestIssueInput) => Promise<ActorRequest>;
|
|
583
|
+
readonly cancel: (requestId: string) => Promise<ActorRequest>;
|
|
584
|
+
readonly approve: (input: InboxApproveInput) => Promise<Payment>;
|
|
585
|
+
readonly decline: (requestId: string) => Promise<InboxItem>;
|
|
586
|
+
readonly pending: boolean;
|
|
587
|
+
readonly disabled: boolean;
|
|
588
|
+
}>;
|
|
589
|
+
};
|
|
590
|
+
interface RequestInboxProps {
|
|
591
|
+
readonly actor?: CapxulActorScope | undefined;
|
|
592
|
+
readonly slots: RequestInboxSlots;
|
|
593
|
+
}
|
|
594
|
+
declare function RequestInbox(props: RequestInboxProps): string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>;
|
|
595
|
+
//#endregion
|
|
596
|
+
//#region src/headless/relationship/InsightsSummary.d.ts
|
|
597
|
+
type InsightsSummarySlots = {
|
|
598
|
+
readonly root?: Slot<{
|
|
599
|
+
readonly children: React.ReactNode;
|
|
600
|
+
}>;
|
|
601
|
+
readonly summary?: Slot<QuerySlotState<InsightsSummary$1>>;
|
|
602
|
+
};
|
|
603
|
+
interface InsightsSummaryProps {
|
|
604
|
+
readonly actor?: CapxulActorScope | undefined;
|
|
605
|
+
readonly slots: InsightsSummarySlots;
|
|
606
|
+
}
|
|
607
|
+
declare function InsightsSummary(props: InsightsSummaryProps): import("react").ReactNode;
|
|
608
|
+
//#endregion
|
|
609
|
+
//#region src/headless/relationship/PayrollRoster.d.ts
|
|
610
|
+
type PayrollRosterSlots = {
|
|
611
|
+
readonly root?: Slot<{
|
|
612
|
+
readonly children: React.ReactNode;
|
|
613
|
+
}>;
|
|
614
|
+
readonly roster?: Slot<QuerySlotState<readonly PayrollRosterLine[]>>;
|
|
615
|
+
readonly actions?: Slot<{
|
|
616
|
+
readonly add: (input: PayrollRosterAddInput) => Promise<PayrollRosterLine>;
|
|
617
|
+
readonly update: (input: UseCapxulUpdatePayrollRosterLineInput) => Promise<PayrollRosterLine>;
|
|
618
|
+
readonly remove: (rosterLineId: string) => Promise<PayrollRosterLine>;
|
|
619
|
+
readonly run: (input: PayrollRunInput) => Promise<readonly Payment[]>;
|
|
620
|
+
readonly pending: boolean;
|
|
621
|
+
readonly disabled: boolean;
|
|
622
|
+
}>;
|
|
623
|
+
};
|
|
624
|
+
interface PayrollRosterProps {
|
|
625
|
+
readonly orgId: OrgId$1;
|
|
626
|
+
readonly slots: PayrollRosterSlots;
|
|
627
|
+
}
|
|
628
|
+
declare function PayrollRoster({
|
|
629
|
+
orgId,
|
|
630
|
+
slots
|
|
631
|
+
}: PayrollRosterProps): string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>;
|
|
632
|
+
//#endregion
|
|
633
|
+
//#region src/headless/relationship/Destinations.d.ts
|
|
634
|
+
type DestinationsSlots = {
|
|
635
|
+
readonly root?: Slot<{
|
|
636
|
+
readonly children: React.ReactNode;
|
|
637
|
+
}>;
|
|
638
|
+
readonly destinations?: Slot<QuerySlotState<readonly Destination[]>>;
|
|
639
|
+
readonly actions?: Slot<{
|
|
640
|
+
readonly add: (input: DestinationAddInput) => Promise<Destination>;
|
|
641
|
+
readonly remove: (input: DestinationRemoveInput) => Promise<{
|
|
642
|
+
readonly id: string;
|
|
643
|
+
}>;
|
|
644
|
+
readonly pending: boolean;
|
|
645
|
+
readonly disabled: boolean;
|
|
646
|
+
}>;
|
|
647
|
+
};
|
|
648
|
+
interface DestinationsProps {
|
|
649
|
+
readonly input: DestinationListInput;
|
|
650
|
+
readonly slots: DestinationsSlots;
|
|
651
|
+
}
|
|
652
|
+
declare function Destinations({
|
|
653
|
+
input,
|
|
654
|
+
slots
|
|
655
|
+
}: DestinationsProps): string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>;
|
|
257
656
|
//#endregion
|
|
258
|
-
export { type CapxulBootstrapState, type CapxulBootstrapStatus, CapxulProvider, type CapxulProviderProps, type SignInInput, type SignInSuccess, type UseCapxulAccountBalanceOptions, type UseCapxulAccountBalanceReturn, type UseCapxulAccountFundReturn, type
|
|
657
|
+
export { AddressBook, type AddressBookProps, type AddressBookSlots, type CapxulActorScope, type CapxulBootstrapState, type CapxulBootstrapStatus, CapxulProvider, type CapxulProviderProps, Destinations, type DestinationsProps, type DestinationsSlots, InsightsSummary, type InsightsSummaryProps, type InsightsSummarySlots, PayrollRoster, type PayrollRosterProps, type PayrollRosterSlots, RequestInbox, type RequestInboxProps, type RequestInboxSlots, SendMoney, type SendMoneyProps, type SendMoneySlots, type SignInInput, type SignInSuccess, type SwitchActingEntityInput, type UseCapxulAccountBalanceOptions, type UseCapxulAccountBalanceReturn, type UseCapxulAccountFundReturn, type UseCapxulAccountLifecycleReturn, type UseCapxulAddAddressBookEntryReturn, type UseCapxulAddDestinationReturn, type UseCapxulAddPayrollRosterLineReturn, type UseCapxulAddressBookEntryReturn, type UseCapxulAddressBookReturn, type UseCapxulApproveInboxRequestReturn, type UseCapxulAssignRoleReturn, type UseCapxulCancelRequestReturn, type UseCapxulCompleteOrganizationOnboardingReturn, type UseCapxulCompletePersonalOnboardingReturn, type UseCapxulCreateOrgReturn, type UseCapxulDeclineInboxRequestReturn, type UseCapxulDestinationsReturn, type UseCapxulHideAddressBookEntryReturn, type UseCapxulInboxReturn, type UseCapxulInsightsHistoryReturn, type UseCapxulInsightsSummaryReturn, type UseCapxulInviteMemberReturn, type UseCapxulIssueRequestReturn, type UseCapxulLabelAddressBookEntryReturn, type UseCapxulOrgDeployRolesReturn, type UseCapxulOrgMembersOptions, type UseCapxulOrgMembersReturn, type UseCapxulOrgOptions, type UseCapxulOrgReturn, type UseCapxulOrgRolesOptions, type UseCapxulOrgRolesReturn, type UseCapxulOrgTreasuryOptions, type UseCapxulOrgTreasuryReturn, type UseCapxulOrgsReturn, type UseCapxulPayReturn, type UseCapxulPaymentReturn, type UseCapxulPaymentsReturn, type UseCapxulPayoutReturn, type UseCapxulPayrollRosterReturn, type UseCapxulProfileReturn, type UseCapxulReconcileRequestsReturn, type UseCapxulRemoveDestinationReturn, type UseCapxulRemoveMemberReturn, type UseCapxulRemovePayrollRosterLineReturn, type UseCapxulRequestReturn, type UseCapxulRequestsReturn, type UseCapxulRunPayrollReturn, type UseCapxulSessionReturn, type UseCapxulSignInReturn, type UseCapxulSignOutReturn, type UseCapxulSubAccountCreateReturn, type UseCapxulSubAccountDeleteReturn, type UseCapxulSubAccountRenameReturn, type UseCapxulSubAccountsListOptions, type UseCapxulSubAccountsListReturn, type UseCapxulSwitchActingEntityReturn, type UseCapxulTransferReturn, type UseCapxulUnhideAddressBookEntryReturn, type UseCapxulUpdatePayrollRosterLineInput, type UseCapxulUpdatePayrollRosterLineReturn, type UseCapxulVerifyOtpReturn, type UseCapxulWithdrawReturn, type VerifyOtpInput, capxulAccountScope, capxulOrgScope, useCapxul, useCapxulAccountBalance, useCapxulAccountFund, useCapxulAccountLifecycle, useCapxulAddAddressBookEntry, useCapxulAddDestination, useCapxulAddPayrollRosterLine, useCapxulAddressBook, useCapxulAddressBookEntry, useCapxulApproveInboxRequest, useCapxulAssignRole, useCapxulCancelRequest, useCapxulClientOrNull, useCapxulCompleteOrganizationOnboarding, useCapxulCompletePersonalOnboarding, useCapxulCreateOrg, useCapxulDeclineInboxRequest, useCapxulDestinations, useCapxulHideAddressBookEntry, useCapxulInbox, useCapxulInsightsHistory, useCapxulInsightsSummary, useCapxulInviteMember, useCapxulIssueRequest, useCapxulLabelAddressBookEntry, useCapxulOrg, useCapxulOrgDeployRoles, useCapxulOrgMembers, useCapxulOrgRoles, useCapxulOrgTreasury, useCapxulOrgs, useCapxulPay, useCapxulPayment, useCapxulPayments, useCapxulPayout, useCapxulPayrollRoster, useCapxulProfile, useCapxulReconcileRequests, useCapxulRemoveDestination, useCapxulRemoveMember, useCapxulRemovePayrollRosterLine, useCapxulRequest, useCapxulRequests, useCapxulRunPayroll, useCapxulSession, useCapxulSignIn, useCapxulSignOut, useCapxulSubAccountCreate, useCapxulSubAccountDelete, useCapxulSubAccountRename, useCapxulSubAccountsList, useCapxulSwitchActingEntity, useCapxulTransfer, useCapxulUnhideAddressBookEntry, useCapxulUpdatePayrollRosterLine, useCapxulVerifyOtp, useCapxulWithdraw };
|
|
259
658
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/provider.tsx","../src/internal/capxul-bootstrap-context.tsx","../src/hooks/use-capxul-session.ts","../src/hooks/use-capxul-profile.ts","../src/hooks/use-capxul-account.ts","../src/hooks/use-capxul-account-balance.ts","../src/hooks/use-capxul-account-fund.ts","../src/hooks/use-capxul-sign-in.ts","../src/hooks/use-capxul-verify-otp.ts","../src/hooks/use-capxul-sign-out.ts","../src/hooks/use-capxul-ensure-ready.ts","../src/hooks/use-capxul-sub-accounts.ts","../src/hooks/use-capxul-orgs.ts","../src/hooks/use-capxul-org.ts","../src/hooks/use-capxul-org-members.ts","../src/hooks/use-capxul-org-roles.ts","../src/hooks/use-capxul-org-deploy-roles.ts","../src/hooks/use-capxul-org-treasury.ts","../src/hooks/use-capxul-create-org.ts","../src/hooks/use-capxul-invite-member.ts","../src/hooks/use-capxul-remove-member.ts","../src/hooks/use-capxul-assign-role.ts","../src/hooks/use-capxul-org-spend.ts"],"mappings":";;;;;;;UAqCiB,mBAAA;;WAEN,cAAA;;AAFX;;;WAOW,MAAA,GAAS,YAAA;EAEK;EAAA,SAAd,WAAA,GAAc,kBAAA;EAIK;EAAA,SAFnB,MAAA,GAAS,sBAAA;EAMS;EAAA,SAJlB,gBAAA,GAAmB,sBAAA;EAWL;EAAA,SATd,SAAA,GAAY,sBAAA;EAUO;EAAA,SARnB,eAAA,GAAkB,sBAAA;EAflB;;;;EAAA,SAoBA,MAAA,GAAS,YAAA;EAXT;EAAA,SAaA,WAAA,GAAc,WAAA;EAAA,SACd,QAAA,EAAU,SAAA;AAAA;AAAA,iBAYL,cAAA,CAAe,KAAA,EAAO,mBAAmB,+BAAA,GAAA,CAAA,OAAA;;;KC1D7C,qBAAA;AAAA,UAEK,oBAAA;EAAA,SACN,MAAA,EAAQ,qBAAA;EAAA,SACR,KAAA,EAAO,WAAW;EAAA,SAClB,KAAA;AAAA;AAAA,iBAgBK,SAAA,CAAA,GAAa,oBAAoB;;;KCzBrC,sBAAA,GAAyB,cAAA,CAAe,OAAA,SAAgB,WAAA;AAAA,iBAEpD,gBAAA,CAAA,GAAoB,sBAAsB;;;KCF9C,sBAAA,GAAyB,cAAA,CAAe,OAAA,SAAgB,WAAA;AAAA,iBAEpD,gBAAA,CAAA,GAAoB,s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OAAA,GAAU,wBAAA,GACT,uBAAA;;;KCdS,6BAAA,GAAgC,iBAAA,UACjC,QAAA,IACT,WAAA,EACA,KAAA;AAAA,iBAGc,uBAAA,CAAA,GAA2B,6BAA6B;;;KCL5D,2BAAA;EAAA,SACD,OAAO;AAAA;AjBwBlB;;;;;;AAAA,KiBfY,0BAAA,GAA6B,cAAA,CAAe,SAAA,EAAS,WAAA;AAAA,iBAEjD,oBAAA,CACd,KAAA,EAAO,KAAA,cACP,OAAA,GAAU,2BAAA,GACT,0BAAA;;;;;;;AjBUH;KkBrBY,wBAAA,GAA2B,iBAAA,CAAkB,OAAA,EAAS,WAAA,EAAa,cAAA;AAAA,iBAE/D,kBAAA,CAAA,GAAsB,wBAAwB;;;;;;;AlBmB9D;;KmBpBY,2BAAA,GAA8B,iBAAA,CACxC,UAAA,EACA,WAAA,EACA,iBAAA;AAAA,iBAGc,qBAAA,CAAsB,KAAA,EAAO,KAAA,eAAoB,2BAA2B;;;;;;;AnBc5F;;;;KoBlBY,2BAAA,GAA8B,iBAAA,OAAwB,WAAA,EAAa,iBAAA;AAAA,iBAE/D,qBAAA,CAAsB,KAAA,EAAO,KAAA,eAAoB,2BAA2B;;;;;;;ApBgB5F;;;;;KqBjBY,yBAAA,GAA4B,iBAAA,CAAkB,UAAA,EAAY,WAAA,EAAa,eAAA;AAAA,iBAEnE,mBAAA,CAAoB,KAAA,EAAO,KAAA,eAAoB,yBAAyB;;;;;;;ArBexF;;;;KsBlBY,uBAAA,GAA0B,iBAAA,CAAkB,cAAA,EAAgB,WAAA,EAAa,aAAA;AAAA,iBAErE,iBAAA,CAAkB,KAAA,EAAO,KAAA,eAAoB,uBAAuB"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/provider.tsx","../../errors/src/errors.ts","../src/internal/capxul-bootstrap-context.tsx","../src/internal/capxul-client-context.tsx","../src/hooks/use-capxul-session.ts","../src/hooks/use-capxul-profile.ts","../src/hooks/use-capxul-account-lifecycle.ts","../src/hooks/use-capxul-account-balance.ts","../../types/src/brand.ts","../../types/src/index.ts","../src/hooks/use-capxul-account-fund.ts","../src/hooks/use-capxul-sign-in.ts","../src/hooks/use-capxul-verify-otp.ts","../src/hooks/use-capxul-sign-out.ts","../src/hooks/use-capxul-sub-accounts.ts","../src/hooks/use-capxul-money.ts","../src/internal/reactivity-keys.ts","../src/hooks/use-capxul-actor-scope.ts","../src/hooks/use-capxul-destinations.ts","../src/hooks/use-capxul-payroll.ts","../src/hooks/use-capxul-orgs.ts","../src/hooks/use-capxul-org.ts","../src/hooks/use-capxul-org-members.ts","../src/hooks/use-capxul-org-roles.ts","../src/hooks/use-capxul-org-deploy-roles.ts","../src/hooks/use-capxul-org-treasury.ts","../src/hooks/use-capxul-create-org.ts","../src/hooks/use-capxul-complete-personal-onboarding.ts","../src/hooks/use-capxul-complete-organization-onboarding.ts","../src/hooks/use-capxul-invite-member.ts","../src/hooks/use-capxul-remove-member.ts","../src/hooks/use-capxul-assign-role.ts","../src/hooks/use-capxul-switch-acting-entity.ts","../src/headless/shared/headless-error-view.ts","../src/headless/shared/types.ts","../src/headless/money/SendMoney.tsx","../src/headless/relationship/AddressBook.tsx","../src/headless/relationship/RequestInbox.tsx","../src/headless/relationship/InsightsSummary.tsx","../src/headless/relationship/PayrollRoster.tsx","../src/headless/relationship/Destinations.tsx"],"mappings":";;;;;KAgCK,yBAAA;iFAEM,WAAA,GAAc,WAAA;EAAA,SACd,QAAA,EAAU,SAAS;AAAA;;KAIzB,iCAAA,GAAoC,yBAAA;EAAA,SAC9B,cAAA;EAAA,SACA,MAAA,UANU;EAAA,SAQV,WAAA,GAAc,kBAAA;EARK;AAAA;;;EAAA,SAanB,MAAA,GAAS,YAAA;AAAA;;;;;KAOf,iCAAA,GAAoC,yBAAA;EAAA,SAC9B,MAAA,EAAQ,YAAY;EAAA,SACpB,cAAA;EAAA,SACA,WAAA;EAAA,SACA,MAAA;AAAA;AAAA,KAGC,mBAAA,GACR,iCAAA,GACA,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