@capxul/sdk 4.20.0-beta.5 → 4.20.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -26
- package/dist/{OAuthBearerAuthClient-BqQz-bnO.mjs → OAuthBearerAuthClient-5ujCTtKE.mjs} +80 -102
- package/dist/{OAuthBearerAuthClient-BAxoi3SD.d.mts → OAuthBearerAuthClient-B7Nbepmu.d.mts} +7 -4
- package/dist/index.d.mts +26 -9
- package/dist/index.mjs +3 -3
- package/dist/node/index.d.mts +1 -1
- package/dist/node/index.mjs +1 -1
- package/dist/{production-q0kwUWcj.mjs → production-B4NzzuUb.mjs} +2588 -1745
- package/dist/{production-DAhaxUik.d.mts → production-pLe7MsUo.d.mts} +255 -130
- package/dist/testing/index.d.mts +2 -2
- package/dist/testing/index.mjs +6 -6
- package/package.json +6 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as OrgId, A as Address$1, B as BudgetId, C as AuthCachePort, Ct as
|
|
1
|
+
import { $ as OrgId, A as Address$1, B as BudgetId, C as AuthCachePort, Ct as CapxulErrorDetails, D as Account$1, F as AssetAmount, G as CurrencyCode, H as ClientGrantId, I as AssetId, K as DocumentHash, L as AuthSession, M as AllowedOrigin, N as AnonymousDistinctId, O as AccountId, P as AppId, R as AuthUserId, St as CapxulErrorCode, Tt as Failure, U as ClientRequestId, V as ChainId, W as CountryCode, X as EpochMs, Y as Email, Z as Handle, _ as Session$1, at as PermissionId, b as AuthClientPort, ct as RoleKey, d as AccountRequirement, dt as TesterKind, et as PartyId, ft as TxHash, g as Profile$1, h as CapxulResult, i as CapxulSigner, it as PermissionAssignmentId, j as AllowanceKey, jt as FailureMode, k as AccountPosition, lt as SessionToken, nt as PayrollGroupId, ot as Profile, pt as WeiAmount, q as DurationMs, rt as PayrollRunId, s as SignerStatusStore, st as PublishableKey, tt as PaymentCommandId, u as AccountProviderSource, ut as SmartAccount, v as SmartAccount$1, x as CanSendOtpStatus, xt as CapxulError, y as ClockPort, z as BlockNumber } from "./OAuthBearerAuthClient-B7Nbepmu.mjs";
|
|
2
2
|
import { Hex } from "viem";
|
|
3
3
|
import { Context, Duration, Effect, Layer, Logger, Metric, References, Schema, Scope, Tracer } from "effect";
|
|
4
4
|
import { FunctionReference } from "convex/server";
|
|
@@ -191,6 +191,11 @@ type IdentityEvent = {
|
|
|
191
191
|
readonly _tag: "RestoreSession";
|
|
192
192
|
readonly session: Session;
|
|
193
193
|
readonly profileComplete: boolean;
|
|
194
|
+
} | {
|
|
195
|
+
readonly _tag: "RestoreOtpEntry";
|
|
196
|
+
readonly email: string;
|
|
197
|
+
readonly requestedAt: number;
|
|
198
|
+
readonly now: number;
|
|
194
199
|
} | {
|
|
195
200
|
readonly _tag: "ResumeOtpEntry";
|
|
196
201
|
readonly now: number;
|
|
@@ -347,9 +352,6 @@ type PaymentDirection$1 = (typeof PAYMENT_DIRECTIONS)[number];
|
|
|
347
352
|
/** What a payment is FOR. Pairs with `PAYMENT_DOCUMENT_KINDS`. */
|
|
348
353
|
declare const PAYMENT_TYPES: readonly ["unspecified", "invoice", "payroll", "reimbursement"];
|
|
349
354
|
type PaymentType$1 = (typeof PAYMENT_TYPES)[number];
|
|
350
|
-
/** Attachable document kinds; each maps to exactly one `PaymentType`. */
|
|
351
|
-
declare const PAYMENT_DOCUMENT_KINDS: readonly ["memo", "invoice", "payslip", "receipt", "withdrawal"];
|
|
352
|
-
type PaymentDocumentKind$1 = (typeof PAYMENT_DOCUMENT_KINDS)[number];
|
|
353
355
|
/** Lifecycle of a payment REQUEST as its issuer sees it. */
|
|
354
356
|
declare const REQUEST_STATUSES: readonly ["draft", "sent", "viewed", "pending_settlement", "paid", "declined", "cancelled", "expired"];
|
|
355
357
|
type RequestStatus = (typeof REQUEST_STATUSES)[number];
|
|
@@ -469,7 +471,9 @@ declare const PermissionSchema: Schema.Struct<{
|
|
|
469
471
|
readonly state: Schema.Literals<readonly ["pending", "active", "suspended", "revoked", "superseded"]>;
|
|
470
472
|
readonly revision: Schema.refine<number, Schema.Number>;
|
|
471
473
|
readonly roleKey: Schema.Codec<RoleKey, string, never, never>;
|
|
474
|
+
readonly assetId: Schema.optional<Schema.refine<AssetId, Schema.String>>;
|
|
472
475
|
readonly tokenAddress: Schema.optional<Schema.Codec<Address$1, string, never, never>>;
|
|
476
|
+
readonly decimals: Schema.optional<Schema.refine<number, Schema.Number>>;
|
|
473
477
|
readonly limitRaw: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
|
|
474
478
|
readonly allowanceKey: Schema.optional<Schema.Codec<AllowanceKey, string, never, never>>;
|
|
475
479
|
}>;
|
|
@@ -520,14 +524,25 @@ declare const PaymentCommandLineageSchema: Schema.Union<readonly [Schema.Struct<
|
|
|
520
524
|
readonly requestId: Schema.refine<string, Schema.String>;
|
|
521
525
|
}>]>;
|
|
522
526
|
type PaymentCommandLineage = Schema.Schema.Type<typeof PaymentCommandLineageSchema>;
|
|
523
|
-
declare const PermissionIntentSchema: Schema.Union<readonly [Schema.
|
|
527
|
+
declare const PermissionIntentSchema: Schema.Union<readonly [Schema.refine<{
|
|
528
|
+
readonly type: "budget";
|
|
529
|
+
readonly asset: AssetId;
|
|
530
|
+
readonly limit: {
|
|
531
|
+
readonly asset: AssetId;
|
|
532
|
+
readonly value: string;
|
|
533
|
+
readonly currency?: undefined;
|
|
534
|
+
readonly decimals?: undefined;
|
|
535
|
+
} | null;
|
|
536
|
+
}, Schema.Struct<{
|
|
524
537
|
readonly type: Schema.Literal<"budget">;
|
|
525
|
-
readonly
|
|
526
|
-
|
|
538
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
539
|
+
readonly limit: Schema.NullOr<Schema.Struct<{
|
|
540
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
527
541
|
readonly value: Schema.String;
|
|
528
|
-
readonly
|
|
529
|
-
|
|
530
|
-
}
|
|
542
|
+
readonly currency: Schema.optional<Schema.Never>;
|
|
543
|
+
readonly decimals: Schema.optional<Schema.Never>;
|
|
544
|
+
}>>;
|
|
545
|
+
}>>, Schema.Struct<{
|
|
531
546
|
readonly type: Schema.Literal<"managePeople">;
|
|
532
547
|
}>]>;
|
|
533
548
|
type PermissionIntent = Schema.Schema.Type<typeof PermissionIntentSchema>;
|
|
@@ -543,7 +558,9 @@ declare const SubmittedPermissionExecutionSchema: Schema.Struct<{
|
|
|
543
558
|
readonly state: Schema.Literals<readonly ["pending", "active", "suspended", "revoked", "superseded"]>;
|
|
544
559
|
readonly revision: Schema.refine<number, Schema.Number>;
|
|
545
560
|
readonly roleKey: Schema.Codec<RoleKey, string, never, never>;
|
|
561
|
+
readonly assetId: Schema.optional<Schema.refine<AssetId, Schema.String>>;
|
|
546
562
|
readonly tokenAddress: Schema.optional<Schema.Codec<Address$1, string, never, never>>;
|
|
563
|
+
readonly decimals: Schema.optional<Schema.refine<number, Schema.Number>>;
|
|
547
564
|
readonly limitRaw: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
|
|
548
565
|
readonly allowanceKey: Schema.optional<Schema.Codec<AllowanceKey, string, never, never>>;
|
|
549
566
|
}>, Schema.Struct<{
|
|
@@ -564,7 +581,9 @@ declare const SubmittedPermissionExecutionSchema: Schema.Struct<{
|
|
|
564
581
|
readonly state: Schema.Literals<readonly ["pending", "active", "suspended", "revoked", "superseded"]>;
|
|
565
582
|
readonly revision: Schema.refine<number, Schema.Number>;
|
|
566
583
|
readonly roleKey: Schema.Codec<RoleKey, string, never, never>;
|
|
584
|
+
readonly assetId: Schema.optional<Schema.refine<AssetId, Schema.String>>;
|
|
567
585
|
readonly tokenAddress: Schema.optional<Schema.Codec<Address$1, string, never, never>>;
|
|
586
|
+
readonly decimals: Schema.optional<Schema.refine<number, Schema.Number>>;
|
|
568
587
|
readonly limitRaw: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
|
|
569
588
|
readonly allowanceKey: Schema.optional<Schema.Codec<AllowanceKey, string, never, never>>;
|
|
570
589
|
}>>]>;
|
|
@@ -575,6 +594,50 @@ type PayrollRunStatus$1 = Schema.Schema.Type<typeof PayrollRunStatusSchema>;
|
|
|
575
594
|
declare const PayrollTermsUnitSchema: Schema.Literals<readonly ["hour", "week", "month", "year", "paycheck"]>;
|
|
576
595
|
type PayrollTermsUnit$1 = Schema.Schema.Type<typeof PayrollTermsUnitSchema>;
|
|
577
596
|
//#endregion
|
|
597
|
+
//#region ../wire/src/payment-document.d.ts
|
|
598
|
+
declare const DocumentRefV3Schema: Schema.Struct<{
|
|
599
|
+
readonly documentHash: Schema.String;
|
|
600
|
+
readonly contentHash: Schema.String;
|
|
601
|
+
readonly kind: Schema.Literals<readonly ["memo", "invoice", "payslip", "receipt"]>;
|
|
602
|
+
readonly format: Schema.Literals<readonly ["envelope-v3", "artifact"]>;
|
|
603
|
+
readonly role: Schema.Literals<readonly ["instruction", "movement", "supporting"]>;
|
|
604
|
+
readonly issuedAt: Schema.NullOr<Schema.Number>;
|
|
605
|
+
}>;
|
|
606
|
+
type DocumentRefV3 = typeof DocumentRefV3Schema.Type;
|
|
607
|
+
declare const PaymentDocumentReadRefSchema: Schema.Struct<{
|
|
608
|
+
readonly documentHash: Schema.String;
|
|
609
|
+
readonly contentHash: Schema.String;
|
|
610
|
+
}>;
|
|
611
|
+
type PaymentDocumentReadRef = typeof PaymentDocumentReadRefSchema.Type;
|
|
612
|
+
declare const PaymentDocumentDownloadSchema: Schema.Struct<{
|
|
613
|
+
readonly ref: Schema.Struct<{
|
|
614
|
+
readonly documentHash: Schema.String;
|
|
615
|
+
readonly contentHash: Schema.String;
|
|
616
|
+
readonly kind: Schema.Literals<readonly ["memo", "invoice", "payslip", "receipt"]>;
|
|
617
|
+
readonly format: Schema.Literals<readonly ["envelope-v3", "artifact"]>;
|
|
618
|
+
readonly issuedAt: Schema.NullOr<Schema.Number>;
|
|
619
|
+
}>;
|
|
620
|
+
readonly bytesBase64: Schema.String;
|
|
621
|
+
readonly mediaType: Schema.Literals<readonly ["application/pdf", "image/png", "image/jpeg", "application/json"]>;
|
|
622
|
+
readonly signatureStatus: Schema.Literals<readonly ["absent", "verified", "opaque"]>;
|
|
623
|
+
}>;
|
|
624
|
+
type PaymentDocumentDownload = typeof PaymentDocumentDownloadSchema.Type;
|
|
625
|
+
declare const PaymentDocumentVerificationSchema: Schema.Struct<{
|
|
626
|
+
readonly documentHash: Schema.String;
|
|
627
|
+
readonly contentHash: Schema.String;
|
|
628
|
+
readonly ok: Schema.Boolean;
|
|
629
|
+
readonly signatureStatus: Schema.Literals<readonly ["absent", "verified", "opaque"]>;
|
|
630
|
+
}>;
|
|
631
|
+
type PaymentDocumentVerification = typeof PaymentDocumentVerificationSchema.Type;
|
|
632
|
+
declare const PaymentDocumentRenderSchema: Schema.Struct<{
|
|
633
|
+
readonly documentHash: Schema.String;
|
|
634
|
+
readonly contentHash: Schema.String;
|
|
635
|
+
readonly kind: Schema.Literals<readonly ["memo", "invoice", "payslip", "receipt"]>;
|
|
636
|
+
readonly ok: Schema.Literal<true>;
|
|
637
|
+
readonly html: Schema.String;
|
|
638
|
+
}>;
|
|
639
|
+
type PaymentDocumentRender = typeof PaymentDocumentRenderSchema.Type;
|
|
640
|
+
//#endregion
|
|
578
641
|
//#region ../wire/src/observation-context.d.ts
|
|
579
642
|
/**
|
|
580
643
|
* Bounded, non-authoritative observation metadata carried by selected SDK
|
|
@@ -664,6 +727,34 @@ declare const ClientRequestViewSchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
664
727
|
}>]>;
|
|
665
728
|
type ClientRequestView = typeof ClientRequestViewSchema.Type;
|
|
666
729
|
//#endregion
|
|
730
|
+
//#region ../wire/src/org.d.ts
|
|
731
|
+
/** The public authority named by one Organization assignment. */
|
|
732
|
+
type AuthorityRef = {
|
|
733
|
+
readonly type: "budget";
|
|
734
|
+
readonly budgetId: BudgetId;
|
|
735
|
+
} | {
|
|
736
|
+
readonly type: "managePeople";
|
|
737
|
+
readonly permissionId: PermissionId;
|
|
738
|
+
};
|
|
739
|
+
/** The accepted product policy stored with one Permission revision. */
|
|
740
|
+
declare const CurrentPolicySchema: Schema.Union<readonly [Schema.Struct<{
|
|
741
|
+
readonly type: Schema.Literal<"budget">;
|
|
742
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
743
|
+
readonly limit: Schema.NullOr<Schema.String>;
|
|
744
|
+
readonly scope: Schema.Struct<{
|
|
745
|
+
readonly recipients: Schema.Union<readonly [Schema.Struct<{
|
|
746
|
+
readonly type: Schema.Literal<"anyone">;
|
|
747
|
+
}>, Schema.Struct<{
|
|
748
|
+
readonly type: Schema.Literal<"allowlist">;
|
|
749
|
+
readonly accounts: Schema.$Array<Schema.refine<AccountId, Schema.String>>;
|
|
750
|
+
}>]>;
|
|
751
|
+
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
752
|
+
}>;
|
|
753
|
+
}>, Schema.Struct<{
|
|
754
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
755
|
+
}>]>;
|
|
756
|
+
type CurrentPolicy = typeof CurrentPolicySchema.Type;
|
|
757
|
+
//#endregion
|
|
667
758
|
//#region src/ports/bootstrap.d.ts
|
|
668
759
|
type BootstrapInput = {
|
|
669
760
|
readonly publishableKey: PublishableKey;
|
|
@@ -963,7 +1054,7 @@ type ReadAccountBalanceInput = {
|
|
|
963
1054
|
};
|
|
964
1055
|
type FundFromFaucetInput = {
|
|
965
1056
|
readonly chainId: ChainId;
|
|
966
|
-
readonly amount:
|
|
1057
|
+
readonly amount: AssetAmount;
|
|
967
1058
|
};
|
|
968
1059
|
type FundFromFaucetResult = {
|
|
969
1060
|
readonly txHash: string;
|
|
@@ -1257,6 +1348,11 @@ interface ClientRequests {
|
|
|
1257
1348
|
type AuthMethodOptions = InvocationControls;
|
|
1258
1349
|
type SignInOptions = AuthMethodOptions;
|
|
1259
1350
|
interface AuthMethods {
|
|
1351
|
+
/** Resume pending OTP input after process restart; grants no authentication. */
|
|
1352
|
+
resumeOtp(input: {
|
|
1353
|
+
readonly email: string;
|
|
1354
|
+
readonly requestedAt: number;
|
|
1355
|
+
}, options?: AuthMethodOptions): Promise<CapxulResult<void>>;
|
|
1260
1356
|
canSendOtp(input: {
|
|
1261
1357
|
readonly email: string;
|
|
1262
1358
|
}, options?: AuthMethodOptions): Promise<CapxulResult<CanSendOtpStatus>>;
|
|
@@ -1457,22 +1553,12 @@ interface MeMethods {
|
|
|
1457
1553
|
/** R08 (#1966): accepts a captured attempt, exactly as the treasury read does. */
|
|
1458
1554
|
depositInstructions(options?: InvocationControls): Promise<CapxulResult<DepositInstructions>>;
|
|
1459
1555
|
}
|
|
1460
|
-
|
|
1461
|
-
readonly currency: string;
|
|
1462
|
-
readonly value: string;
|
|
1463
|
-
readonly decimals: number;
|
|
1464
|
-
}
|
|
1556
|
+
type PaymentMoney = AssetAmount;
|
|
1465
1557
|
type PaymentStatus = PaymentStatus$1;
|
|
1466
1558
|
type PaymentDirection = PaymentDirection$1;
|
|
1467
1559
|
type PaymentType = PaymentType$1;
|
|
1468
|
-
type PaymentDocumentKind =
|
|
1469
|
-
|
|
1470
|
-
readonly documentHash: string;
|
|
1471
|
-
readonly kind: PaymentDocumentKind;
|
|
1472
|
-
readonly title?: string;
|
|
1473
|
-
readonly uri?: string;
|
|
1474
|
-
readonly issuedAt?: number;
|
|
1475
|
-
}
|
|
1560
|
+
type PaymentDocumentKind = DocumentRefV3["kind"];
|
|
1561
|
+
type PaymentDocumentRef = DocumentRefV3;
|
|
1476
1562
|
type PaymentTiming = {
|
|
1477
1563
|
readonly kind: "instant";
|
|
1478
1564
|
} | {
|
|
@@ -1504,6 +1590,7 @@ interface Payment {
|
|
|
1504
1590
|
readonly label: string;
|
|
1505
1591
|
};
|
|
1506
1592
|
readonly documents: readonly PaymentDocumentRef[];
|
|
1593
|
+
readonly documentState?: "ready" | "pending" | "unavailable";
|
|
1507
1594
|
readonly timing: PaymentTiming;
|
|
1508
1595
|
readonly released: PaymentMoney;
|
|
1509
1596
|
readonly availableToClaim: PaymentMoney;
|
|
@@ -1701,8 +1788,7 @@ interface ActivitySummaryParams {
|
|
|
1701
1788
|
readonly window?: ActivityRange;
|
|
1702
1789
|
}
|
|
1703
1790
|
interface ActivitySummaryTotal {
|
|
1704
|
-
readonly
|
|
1705
|
-
readonly decimals: number;
|
|
1791
|
+
readonly asset: AssetAmount["asset"];
|
|
1706
1792
|
/** Integer raw-unit strings. `net` is `in - out` and may be negative. */
|
|
1707
1793
|
readonly in: string;
|
|
1708
1794
|
readonly out: string;
|
|
@@ -1716,7 +1802,7 @@ interface ActivitySummary {
|
|
|
1716
1802
|
readonly from: number | null;
|
|
1717
1803
|
readonly to: number | null;
|
|
1718
1804
|
};
|
|
1719
|
-
/** One bucket per
|
|
1805
|
+
/** One bucket per exact asset, and EMPTY when the window holds no activity. */
|
|
1720
1806
|
readonly totals: readonly ActivitySummaryTotal[];
|
|
1721
1807
|
/**
|
|
1722
1808
|
* Every activity row in the window, whatever its direction or status. It
|
|
@@ -1791,6 +1877,8 @@ type ActivityDetail = {
|
|
|
1791
1877
|
} | {
|
|
1792
1878
|
readonly kind: "movement";
|
|
1793
1879
|
readonly movementId: string;
|
|
1880
|
+
readonly documents: readonly PaymentDocumentRef[];
|
|
1881
|
+
readonly documentState: "ready" | "pending" | "unavailable";
|
|
1794
1882
|
readonly annotation: ActivityAnnotation | null;
|
|
1795
1883
|
readonly evidence: MovementActivityEvidence;
|
|
1796
1884
|
};
|
|
@@ -1854,24 +1942,6 @@ interface OfframpMethods {
|
|
|
1854
1942
|
readonly signal?: AbortSignal;
|
|
1855
1943
|
}): Promise<CapxulResult<OfframpStatus>>;
|
|
1856
1944
|
}
|
|
1857
|
-
interface PaymentDocumentVerification {
|
|
1858
|
-
readonly documentHash: string;
|
|
1859
|
-
readonly ok: boolean;
|
|
1860
|
-
readonly derivedHash: string;
|
|
1861
|
-
readonly kind: PaymentDocumentKind;
|
|
1862
|
-
}
|
|
1863
|
-
/**
|
|
1864
|
-
* #577 render-on-demand result. `html` is self-contained user-visible document
|
|
1865
|
-
* HTML (stylesheet + rendered document). The MCP `paymentDocuments.render` tool
|
|
1866
|
-
* exposes only `{documentHash, kind, ok}` to the model and returns `html` in an
|
|
1867
|
-
* audience:["user"] content block (#506 redaction matrix).
|
|
1868
|
-
*/
|
|
1869
|
-
interface PaymentDocumentRender {
|
|
1870
|
-
readonly documentHash: string;
|
|
1871
|
-
readonly ok: boolean;
|
|
1872
|
-
readonly kind: PaymentDocumentKind;
|
|
1873
|
-
readonly html: string;
|
|
1874
|
-
}
|
|
1875
1945
|
/**
|
|
1876
1946
|
* The public Payments surface uses product-level methods. A settled receipt can
|
|
1877
1947
|
* include `chainId` and `transactionHash`. Internal custody fields stay private.
|
|
@@ -1906,15 +1976,15 @@ interface PaymentsMethods {
|
|
|
1906
1976
|
}): Promise<CapxulResult<Payment>>;
|
|
1907
1977
|
}
|
|
1908
1978
|
interface PaymentDocumentsMethods {
|
|
1909
|
-
|
|
1979
|
+
/** Return exact original bytes for a deliberate download. */
|
|
1980
|
+
get(ref: PaymentDocumentReadRef, options?: {
|
|
1981
|
+
readonly signal?: AbortSignal;
|
|
1982
|
+
}): Promise<CapxulResult<PaymentDocumentDownload>>;
|
|
1983
|
+
verify(ref: PaymentDocumentReadRef, options?: {
|
|
1910
1984
|
readonly signal?: AbortSignal;
|
|
1911
1985
|
}): Promise<CapxulResult<PaymentDocumentVerification>>;
|
|
1912
|
-
/**
|
|
1913
|
-
|
|
1914
|
-
* re-verifies its EIP-712 hash, and renders it to self-contained HTML using the
|
|
1915
|
-
* verified stored line items. Returns `{documentHash, kind, ok, html}`.
|
|
1916
|
-
*/
|
|
1917
|
-
render(documentHash: string, options?: {
|
|
1986
|
+
/** Render an authorized document after checking its bytes and preimages. */
|
|
1987
|
+
render(ref: PaymentDocumentReadRef, options?: {
|
|
1918
1988
|
readonly signal?: AbortSignal;
|
|
1919
1989
|
}): Promise<CapxulResult<PaymentDocumentRender>>;
|
|
1920
1990
|
}
|
|
@@ -2158,13 +2228,20 @@ interface OrganizationOnboardingInput {
|
|
|
2158
2228
|
interface OrganizationOnboarding {
|
|
2159
2229
|
readonly organizationId: string;
|
|
2160
2230
|
}
|
|
2231
|
+
interface OrganizationOnboardingOptions {
|
|
2232
|
+
readonly signal?: AbortSignal;
|
|
2233
|
+
readonly intent?: "create";
|
|
2234
|
+
}
|
|
2235
|
+
interface OrganizationOnboardingState {
|
|
2236
|
+
readonly organizationId: OrgId | null;
|
|
2237
|
+
readonly lifecycle: OrgLifecycle | null;
|
|
2238
|
+
}
|
|
2161
2239
|
interface OnboardingMethods {
|
|
2162
2240
|
completePerson(input: PersonOnboardingInput, options?: {
|
|
2163
2241
|
readonly signal?: AbortSignal;
|
|
2164
2242
|
}): Promise<CapxulResult<PersonOnboarding>>;
|
|
2165
|
-
completeOrganization(input: OrganizationOnboardingInput, options?:
|
|
2166
|
-
|
|
2167
|
-
}): Promise<CapxulResult<OrganizationOnboarding>>;
|
|
2243
|
+
completeOrganization(input: OrganizationOnboardingInput, options?: OrganizationOnboardingOptions): Promise<CapxulResult<OrganizationOnboarding>>;
|
|
2244
|
+
subscribeOrganization(observer: (state: OrganizationOnboardingState) => void): () => void;
|
|
2168
2245
|
}
|
|
2169
2246
|
//#endregion
|
|
2170
2247
|
//#region src/surface/accounts.d.ts
|
|
@@ -2179,7 +2256,7 @@ interface AccountsMethods {
|
|
|
2179
2256
|
* The reference CLI uses it only in the test environment. Consumers do not see `fund`.
|
|
2180
2257
|
*/
|
|
2181
2258
|
interface AccountsFaucetMethods {
|
|
2182
|
-
fund(amount:
|
|
2259
|
+
fund(amount: AssetAmount, options?: {
|
|
2183
2260
|
readonly signal?: AbortSignal;
|
|
2184
2261
|
}): Promise<CapxulResult<{
|
|
2185
2262
|
readonly txHash: string;
|
|
@@ -2232,7 +2309,7 @@ declare class OrgError extends OrgError_base<{
|
|
|
2232
2309
|
interface OrgPort {
|
|
2233
2310
|
createOrg(input: CreateOrgPortInput): Effect.Effect<OrgView, OrgError, never>;
|
|
2234
2311
|
readTreasury(input: ReadOrgTreasuryInput): Effect.Effect<Account$1, OrgError, never>;
|
|
2235
|
-
listOrgs(input: ListOrgsInput): Effect.Effect<readonly
|
|
2312
|
+
listOrgs(input: ListOrgsInput): Effect.Effect<readonly OrganizationAccess[], OrgError, never>;
|
|
2236
2313
|
listRoles(input: ListOrgRolesInput): Effect.Effect<readonly RoleView[], OrgError, never>;
|
|
2237
2314
|
listMembers(input: ListOrgMembersInput): Effect.Effect<readonly MemberView[], OrgError, never>;
|
|
2238
2315
|
pendingMembers?(input: ListOrgMembersInput): Effect.Effect<readonly MemberView[], OrgError, never>;
|
|
@@ -2252,7 +2329,12 @@ interface Budget {
|
|
|
2252
2329
|
readonly id: BudgetId;
|
|
2253
2330
|
/** Display name, taken from the Role the grant was motivated by. */
|
|
2254
2331
|
readonly label: string;
|
|
2255
|
-
readonly
|
|
2332
|
+
readonly asset: {
|
|
2333
|
+
readonly assetId: AssetId;
|
|
2334
|
+
readonly symbol: string;
|
|
2335
|
+
readonly decimals: number;
|
|
2336
|
+
};
|
|
2337
|
+
readonly limit: AssetAmount | null;
|
|
2256
2338
|
}
|
|
2257
2339
|
/**
|
|
2258
2340
|
* The caller's own standing in one Organization.
|
|
@@ -2266,6 +2348,7 @@ interface Budget {
|
|
|
2266
2348
|
* spending, so both read `canSpend`.
|
|
2267
2349
|
*/
|
|
2268
2350
|
interface OrgMe {
|
|
2351
|
+
readonly member: MemberIdentityProjection;
|
|
2269
2352
|
readonly role: {
|
|
2270
2353
|
readonly label: string;
|
|
2271
2354
|
} | null;
|
|
@@ -2362,7 +2445,7 @@ interface PayrollRun {
|
|
|
2362
2445
|
/** Epoch milliseconds. An instant run has `periodStart === periodEnd`. */
|
|
2363
2446
|
readonly periodStart: number;
|
|
2364
2447
|
readonly periodEnd: number;
|
|
2365
|
-
readonly total:
|
|
2448
|
+
readonly total: AssetAmount;
|
|
2366
2449
|
readonly recipientCount: number;
|
|
2367
2450
|
}
|
|
2368
2451
|
/**
|
|
@@ -2375,7 +2458,7 @@ interface PayrollRun {
|
|
|
2375
2458
|
interface PayrollRuns {
|
|
2376
2459
|
readonly runs: readonly PayrollRun[];
|
|
2377
2460
|
/** Σ net of the runs that SETTLED this calendar month — the "Paid This Month" fact. */
|
|
2378
|
-
readonly settledThisMonth:
|
|
2461
|
+
readonly settledThisMonth: readonly AssetAmount[];
|
|
2379
2462
|
}
|
|
2380
2463
|
/**
|
|
2381
2464
|
* One saved recipient on a group. `amount` is the employer's TYPED text, not
|
|
@@ -2444,8 +2527,12 @@ interface PayrollRunItemInput {
|
|
|
2444
2527
|
* three different people.
|
|
2445
2528
|
*/
|
|
2446
2529
|
readonly partyId: string;
|
|
2530
|
+
/** The exact settlement quantity. Fiat compensation remains in gross and net. */
|
|
2531
|
+
readonly amount: AssetAmount;
|
|
2447
2532
|
readonly gross: string;
|
|
2448
2533
|
readonly net: string;
|
|
2534
|
+
readonly currency: CurrencyCode;
|
|
2535
|
+
readonly decimals: number;
|
|
2449
2536
|
readonly adjustments: readonly {
|
|
2450
2537
|
readonly label: string;
|
|
2451
2538
|
readonly amount: string;
|
|
@@ -2454,6 +2541,8 @@ interface PayrollRunItemInput {
|
|
|
2454
2541
|
interface AuthorizeRunInput {
|
|
2455
2542
|
/** The Budget the run spends from. The caller selects it; nothing is picked for them. */
|
|
2456
2543
|
readonly permissionId: string;
|
|
2544
|
+
/** The one asset used by every payment in this run. */
|
|
2545
|
+
readonly asset: AssetAmount["asset"];
|
|
2457
2546
|
/** Epoch milliseconds. An instant run passes `start === end` — the payslip renders the date. */
|
|
2458
2547
|
readonly period: {
|
|
2459
2548
|
readonly start: number;
|
|
@@ -2498,23 +2587,64 @@ interface PayrollMethods {
|
|
|
2498
2587
|
//#region src/surface/org.d.ts
|
|
2499
2588
|
/** The membership state for one Organization member. */
|
|
2500
2589
|
type MemberStatus = "pending" | "pending_safe" | "pending_grant" | "active" | "revoked" | "expired";
|
|
2501
|
-
/**
|
|
2502
|
-
type
|
|
2590
|
+
/** The current state and policy of one exact authority assignment. */
|
|
2591
|
+
type AssignmentProjection = {
|
|
2592
|
+
readonly id: PermissionAssignmentId;
|
|
2593
|
+
readonly authority: AuthorityRef;
|
|
2594
|
+
readonly state: "pending" | "active" | "suspended" | "revoked";
|
|
2595
|
+
readonly policy: CurrentPolicy;
|
|
2596
|
+
readonly revision: number;
|
|
2597
|
+
readonly observedAt: number;
|
|
2598
|
+
};
|
|
2599
|
+
/** The current user's identity and authority inside one Organization. */
|
|
2600
|
+
type MemberIdentityProjection = {
|
|
2601
|
+
readonly orgId: OrgId;
|
|
2602
|
+
readonly partyId: PartyId;
|
|
2603
|
+
readonly accountId: AccountId | null;
|
|
2604
|
+
readonly safeAddress: Address$1;
|
|
2605
|
+
readonly accountReady: boolean | null;
|
|
2606
|
+
readonly assignments: readonly AssignmentProjection[];
|
|
2607
|
+
};
|
|
2608
|
+
/** The legacy creation result. List reads return OrganizationAccess. */
|
|
2609
|
+
type OrgView = OrganizationAccess & {
|
|
2503
2610
|
readonly creationSource?: TesterKind;
|
|
2504
|
-
readonly id: OrgId;
|
|
2505
|
-
readonly name: string;
|
|
2506
|
-
readonly handle: string;
|
|
2507
2611
|
readonly safeAddress: Address$1;
|
|
2508
2612
|
/** The viewing member's own role label within this org. */
|
|
2509
|
-
readonly role: string;
|
|
2510
|
-
/**
|
|
2511
|
-
|
|
2613
|
+
readonly role: string | null;
|
|
2614
|
+
/**
|
|
2615
|
+
* The Organization treasury Account when this view came from an authorized
|
|
2616
|
+
* treasury read. The own-access list returns `null` because list inclusion
|
|
2617
|
+
* does not grant a protected treasury read.
|
|
2618
|
+
*/
|
|
2619
|
+
readonly treasury: Account$1 | null;
|
|
2512
2620
|
/** #1064: onboarding-collected description + size bucket; null when unset. */
|
|
2513
2621
|
readonly bio: string | null;
|
|
2514
2622
|
readonly size: string | null;
|
|
2515
2623
|
/** #1061 / ADR-0014: logo serving URL resolved at read time; null when unset. */
|
|
2516
2624
|
readonly logoUrl: string | null;
|
|
2517
2625
|
};
|
|
2626
|
+
/** One Organization that the current user can access. */
|
|
2627
|
+
type OrganizationAccess = {
|
|
2628
|
+
readonly id: OrgId;
|
|
2629
|
+
readonly name: string;
|
|
2630
|
+
readonly handle: string;
|
|
2631
|
+
/** Canonical Organization account identity. */
|
|
2632
|
+
readonly account: {
|
|
2633
|
+
readonly id: AccountId | null;
|
|
2634
|
+
readonly address: Address$1;
|
|
2635
|
+
readonly ready: boolean | null;
|
|
2636
|
+
};
|
|
2637
|
+
readonly setup: OrgLifecycle;
|
|
2638
|
+
readonly member: MemberIdentityProjection | null;
|
|
2639
|
+
readonly capabilities: {
|
|
2640
|
+
readonly canManagePeople: boolean;
|
|
2641
|
+
readonly canSpend: boolean;
|
|
2642
|
+
};
|
|
2643
|
+
readonly custody: {
|
|
2644
|
+
readonly status: "unknown";
|
|
2645
|
+
};
|
|
2646
|
+
readonly observedAt: number;
|
|
2647
|
+
};
|
|
2518
2648
|
interface OrganizationAccount {
|
|
2519
2649
|
readonly id: string;
|
|
2520
2650
|
readonly address: string | null;
|
|
@@ -2531,15 +2661,15 @@ interface OrganizationAuditLogItem {
|
|
|
2531
2661
|
readonly metadata?: Record<string, unknown>;
|
|
2532
2662
|
}
|
|
2533
2663
|
/**
|
|
2534
|
-
* One Organization member. `
|
|
2535
|
-
* is `null`
|
|
2536
|
-
* yet provisioned a personal Safe). `email` is the universal entry point.
|
|
2664
|
+
* One Organization member. `accountId` identifies the attached Account.
|
|
2665
|
+
* It is `null` before Account attachment. A Safe address is not an AccountId.
|
|
2537
2666
|
*/
|
|
2538
2667
|
type MemberView = {
|
|
2539
2668
|
readonly orgId: OrgId;
|
|
2669
|
+
readonly accountId: AccountId | null;
|
|
2540
2670
|
readonly email: Email;
|
|
2541
2671
|
readonly name: string | null;
|
|
2542
|
-
/**
|
|
2672
|
+
/** Custody Safe. `null` until the invitee provisions a Safe. */
|
|
2543
2673
|
readonly personalSafeAddress: Address$1 | null;
|
|
2544
2674
|
/** The member role label maps to the on-chain `roleKey`. */
|
|
2545
2675
|
readonly role: string;
|
|
@@ -2548,16 +2678,9 @@ type MemberView = {
|
|
|
2548
2678
|
readonly grantTxHash: string | null;
|
|
2549
2679
|
readonly revokeTxHash: string | null;
|
|
2550
2680
|
};
|
|
2551
|
-
/** A role spend cap that Zodiac Roles and Allowance enforce on-chain. */
|
|
2552
|
-
type RoleSpendCap = {
|
|
2553
|
-
readonly perTx?: Money;
|
|
2554
|
-
readonly perDay?: Money;
|
|
2555
|
-
readonly toRecipients?: "anyone" | readonly Address$1[];
|
|
2556
|
-
};
|
|
2557
2681
|
/** A Capxul Role definition. */
|
|
2558
2682
|
type RoleDefinition = {
|
|
2559
2683
|
readonly label: string;
|
|
2560
|
-
readonly spend?: RoleSpendCap;
|
|
2561
2684
|
readonly canSpend?: boolean;
|
|
2562
2685
|
readonly canManageMembers?: boolean;
|
|
2563
2686
|
readonly canManageRoles?: boolean;
|
|
@@ -2671,7 +2794,7 @@ interface OrgScopedMethods extends ActorRelationshipMethods {
|
|
|
2671
2794
|
type OrgsMethod = {
|
|
2672
2795
|
(options?: {
|
|
2673
2796
|
readonly signal?: AbortSignal;
|
|
2674
|
-
}): Promise<CapxulResult<readonly
|
|
2797
|
+
}): Promise<CapxulResult<readonly OrganizationAccess[]>>;
|
|
2675
2798
|
detectAndAcceptPendingInvitations(options?: {
|
|
2676
2799
|
readonly signal?: AbortSignal;
|
|
2677
2800
|
}): Promise<CapxulResult<DetectPendingOrgInvitationsResult>>;
|
|
@@ -2705,16 +2828,7 @@ interface CurrentUserContext {
|
|
|
2705
2828
|
readonly id: string;
|
|
2706
2829
|
readonly address: string | null;
|
|
2707
2830
|
} | null;
|
|
2708
|
-
readonly organizations: readonly
|
|
2709
|
-
readonly id: string;
|
|
2710
|
-
readonly name: string;
|
|
2711
|
-
readonly handle: string;
|
|
2712
|
-
readonly role: string;
|
|
2713
|
-
readonly account: {
|
|
2714
|
-
readonly id: string;
|
|
2715
|
-
readonly address: string | null;
|
|
2716
|
-
} | null;
|
|
2717
|
-
}[];
|
|
2831
|
+
readonly organizations: readonly OrganizationAccess[];
|
|
2718
2832
|
}
|
|
2719
2833
|
interface CurrentUserMethods {
|
|
2720
2834
|
get(options?: {
|
|
@@ -2764,22 +2878,6 @@ interface SystemMethods {
|
|
|
2764
2878
|
}): Promise<CapxulResult<SystemHealth>>;
|
|
2765
2879
|
}
|
|
2766
2880
|
//#endregion
|
|
2767
|
-
//#region src/domain/money/primary-holding.d.ts
|
|
2768
|
-
/**
|
|
2769
|
-
* The one asset a screen shows when it can show only one. `symbol` is the
|
|
2770
|
-
* TOKEN symbol the chain reported (`"USDC"`, `"WETH"`); `value` is the quantity
|
|
2771
|
-
* in that asset's own grammar. There is no `currency` field: a token is not
|
|
2772
|
-
* USD, and its peg is metadata, never identity (ADR-0028 R3, R5).
|
|
2773
|
-
*/
|
|
2774
|
-
interface Holding {
|
|
2775
|
-
readonly id: string;
|
|
2776
|
-
readonly assetKind: "native" | "erc20";
|
|
2777
|
-
readonly symbol: string;
|
|
2778
|
-
readonly decimals: number;
|
|
2779
|
-
/** Major-unit quantity at `decimals`. */
|
|
2780
|
-
readonly value: string;
|
|
2781
|
-
}
|
|
2782
|
-
//#endregion
|
|
2783
2881
|
//#region src/surface/holdings.d.ts
|
|
2784
2882
|
interface HoldingsMethods {
|
|
2785
2883
|
current(input?: {
|
|
@@ -2787,18 +2885,6 @@ interface HoldingsMethods {
|
|
|
2787
2885
|
}, options?: {
|
|
2788
2886
|
readonly signal?: AbortSignal;
|
|
2789
2887
|
}): Promise<CapxulResult<CurrentHoldings>>;
|
|
2790
|
-
/**
|
|
2791
|
-
* The designated display asset — the renderable row with the lowest asset
|
|
2792
|
-
* id, or `null` when the snapshot carries no renderable row. Reads the same
|
|
2793
|
-
* snapshot as `current` and picks from it; an empty answer is a value, not
|
|
2794
|
-
* an error. The pick is by identity, never by quantity: two assets are not
|
|
2795
|
-
* comparable money without a rate. ADR-0028 R6 retires this export.
|
|
2796
|
-
*/
|
|
2797
|
-
primary(input?: {
|
|
2798
|
-
readonly actor?: ActorReference;
|
|
2799
|
-
}, options?: {
|
|
2800
|
-
readonly signal?: AbortSignal;
|
|
2801
|
-
}): Promise<CapxulResult<Holding | null>>;
|
|
2802
2888
|
}
|
|
2803
2889
|
//#endregion
|
|
2804
2890
|
//#region src/surface/_shared/effect-actor-bridge.d.ts
|
|
@@ -3039,6 +3125,47 @@ interface CreateCapxulClientInput {
|
|
|
3039
3125
|
};
|
|
3040
3126
|
}
|
|
3041
3127
|
//#endregion
|
|
3128
|
+
//#region src/ports/diagnostic.d.ts
|
|
3129
|
+
type DiagnosticDetail = Readonly<Record<string, unknown>>;
|
|
3130
|
+
interface DiagnosticPort {
|
|
3131
|
+
readonly trace: (scope: string, detail: DiagnosticDetail) => void;
|
|
3132
|
+
}
|
|
3133
|
+
//#endregion
|
|
3134
|
+
//#region src/openfort/create-openfort-browser-signer.d.ts
|
|
3135
|
+
interface OpenfortBrowserSigner extends CapxulSigner {
|
|
3136
|
+
readonly resetSession: () => void;
|
|
3137
|
+
/** Required here — this signer is the one that runs a readiness cycle. */
|
|
3138
|
+
readonly statusStore: SignerStatusStore;
|
|
3139
|
+
/**
|
|
3140
|
+
* Start the readiness cycle, or join the one already running, without
|
|
3141
|
+
* signing anything (#1667). The embedded-wallet port calls the same routine
|
|
3142
|
+
* lazily from `getAddress` / `signRawDigest`; the client assembly calls it
|
|
3143
|
+
* once the identity is claimed, so the status converges on `ready` or
|
|
3144
|
+
* `unavailable` without a signature. Idempotent: a second call inside a live
|
|
3145
|
+
* cycle joins that cycle.
|
|
3146
|
+
*/
|
|
3147
|
+
readonly ensureWalletReady: () => Promise<void>;
|
|
3148
|
+
}
|
|
3149
|
+
/** Public Openfort values a host-owned browser signer needs after SDK bootstrap. */
|
|
3150
|
+
type OpenfortBrowserSignerBootstrap = Pick<BootstrapResolution, "authBaseUrl" | "openfortPublishableKey" | "shieldPublishableKey" | "openfortAuthProvider">;
|
|
3151
|
+
/** Authenticated callbacks for a browser that must not own the person's login flow. */
|
|
3152
|
+
interface OpenfortBrowserAuth {
|
|
3153
|
+
readonly getAccessToken: () => Promise<string | null>;
|
|
3154
|
+
readonly createEncryptionSession: (accessToken: string) => Promise<string>;
|
|
3155
|
+
}
|
|
3156
|
+
interface OpenfortBrowserSignerOptions {
|
|
3157
|
+
readonly diagnostic?: DiagnosticPort;
|
|
3158
|
+
readonly auth?: OpenfortBrowserAuth;
|
|
3159
|
+
/** Testing seam below the existing one-retry recovery owner. */
|
|
3160
|
+
readonly signUserOpHash?: ((hash: Parameters<CapxulSigner["signUserOpHash"]>[0], delegate: CapxulSigner["signUserOpHash"]) => ReturnType<CapxulSigner["signUserOpHash"]>) | undefined;
|
|
3161
|
+
}
|
|
3162
|
+
/** Build the existing browser signer around host-owned authenticated callbacks. */
|
|
3163
|
+
declare function createOpenfortBrowserSigner(input: {
|
|
3164
|
+
readonly bootstrap: OpenfortBrowserSignerBootstrap;
|
|
3165
|
+
readonly auth: OpenfortBrowserAuth;
|
|
3166
|
+
readonly diagnostic?: DiagnosticPort;
|
|
3167
|
+
}): OpenfortBrowserSigner;
|
|
3168
|
+
//#endregion
|
|
3042
3169
|
//#region ../observability/src/engineering-delivery.d.ts
|
|
3043
3170
|
type MetricEntry = Metric.Metric.Metadata<unknown, unknown>;
|
|
3044
3171
|
interface CliEngineeringStats {
|
|
@@ -3191,17 +3318,11 @@ interface ObservationAdapter {
|
|
|
3191
3318
|
/** Stable PostHog event used for typed failures that are expected product outcomes. */
|
|
3192
3319
|
declare const CAPXUL_SDK_EXPECTED_OUTCOME_EVENT = "capxul_sdk_expected_outcome";
|
|
3193
3320
|
//#endregion
|
|
3194
|
-
//#region src/
|
|
3195
|
-
|
|
3196
|
-
interface
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
//#endregion
|
|
3200
|
-
//#region src/openfort/create-openfort-browser-signer.d.ts
|
|
3201
|
-
interface OpenfortBrowserSignerOptions {
|
|
3202
|
-
readonly diagnostic?: DiagnosticPort;
|
|
3203
|
-
/** Testing seam below the existing one-retry recovery owner. */
|
|
3204
|
-
readonly signUserOpHash?: ((hash: Parameters<CapxulSigner["signUserOpHash"]>[0], delegate: CapxulSigner["signUserOpHash"]) => ReturnType<CapxulSigner["signUserOpHash"]>) | undefined;
|
|
3321
|
+
//#region src/adapters/auth-client/BetterAuthNodeAdapter.d.ts
|
|
3322
|
+
/** Host-owned protected storage for an opaque BetterAuth bearer credential. */
|
|
3323
|
+
interface NodeSessionStorage {
|
|
3324
|
+
load(): Promise<string | null>;
|
|
3325
|
+
save(token: string | null): Promise<void>;
|
|
3205
3326
|
}
|
|
3206
3327
|
//#endregion
|
|
3207
3328
|
//#region src/production.d.ts
|
|
@@ -3211,6 +3332,8 @@ interface OpenfortBrowserSignerOptions {
|
|
|
3211
3332
|
* runtime detection, and auth-cache selection are SDK-owned defaults.
|
|
3212
3333
|
*/
|
|
3213
3334
|
interface CapxulClientInput {
|
|
3335
|
+
/** Optional Node-only durable BetterAuth credential storage; sessions are verified by the backend. */
|
|
3336
|
+
readonly nodeSessionStorage?: NodeSessionStorage;
|
|
3214
3337
|
readonly publishableKey: string;
|
|
3215
3338
|
/** Public Capxul bootstrap origin; defaults remain unchanged when omitted. */
|
|
3216
3339
|
readonly bootstrapBaseUrl?: string;
|
|
@@ -3240,6 +3363,8 @@ interface CapxulClientInput {
|
|
|
3240
3363
|
* holds an RPC URL, a gas-sponsorship policy, or a bundler.
|
|
3241
3364
|
*/
|
|
3242
3365
|
readonly signer?: CapxulSigner;
|
|
3366
|
+
/** Build a host-owned Openfort signer from the SDK's validated bootstrap. */
|
|
3367
|
+
readonly openfortSignerFactory?: (bootstrap: OpenfortBrowserSignerBootstrap) => CapxulSigner;
|
|
3243
3368
|
}
|
|
3244
3369
|
/** Per-client signing controls; only the testing entry exposes these to consumers. */
|
|
3245
3370
|
interface ProductionSignerControls {
|
|
@@ -3251,4 +3376,4 @@ interface ProductionSignerControls {
|
|
|
3251
3376
|
readonly signEmbeddedUserOpHash?: OpenfortBrowserSignerOptions["signUserOpHash"];
|
|
3252
3377
|
}
|
|
3253
3378
|
//#endregion
|
|
3254
|
-
export {
|
|
3379
|
+
export { PayrollRun as $, CurrentPolicy as $n, ActivityRange as $t, InviteMemberInput as A, PaymentTiming as An, AccountMethods as At, OrganizationAuditLogItem as B, AccountLifecycle as Bn, AddressBookMethods as Bt, SystemHealth as C, PaymentActivityEvidence as Cn, StateLabel as Cr, OrganizationOnboarding as Ct, AssignmentProjection as D, PaymentDocumentsMethods as Dn, IdentityTransition as Dr, PersonOnboarding as Dt, CurrentUserMethods as E, PaymentDocumentRef as En, isRestoring as Er, OrganizationOnboardingState as Et, OrgScopedMethods as F, Ref$1 as Fn, ActorRequestIssueInput as Ft, AuthorizeRunOptions as G, SmartAccountMethods as Gn, ActivityAnnotationInput as Gt, RoleDefinition as H, isSettingUpLifecycle as Hn, InboxItem as Ht, OrgTemplate as I, ResolvedTarget as In, ActorRequestsMethods as It, PayrollGroupInput as J, ClientRequests as Jn, ActivityItem as Jt, PayrollEngagementTerms as K, AuthMethods as Kn, ActivityDetail as Kt, OrgView as L, TargetReference as Ln, AddressBookAddInput as Lt, MemberStatus as M, PaymentsMethods as Mn, ActorProfileMethods as Mt, MemberView as N, PaymentsPayInput as Nn, ActorRelationshipMethods as Nt, CreateOrgInput as O, PaymentMoney as On, InvocationControls as Or, PersonOnboardingInput as Ot, OrgMethods as P, RecipientResolution as Pn, ActorRequest as Pt, PayrollOptions as Q, AuthorityRef as Qn, ActivityPage as Qt, OrganizationAccess as R, TargetsMethods as Rn, AddressBookEntry as Rt, SystemMethods as S, Payment as Sn, Readiness as Sr, OnboardingMethods as St, CurrentUserContext as T, PaymentDocumentKind as Tn, isClaimed as Tr, OrganizationOnboardingOptions as Tt, RoleView as U, CompleteProfileInput as Un, InboxMethods as Ut, ResendInviteTokenInput as V, AccountSetupStep as Vn, InboxApproveInput as Vt, AuthorizeRunInput as W, IdentityMethods as Wn, ActivityAnnotation as Wt, PayrollGroupsMethods as X, OrgSetupStep as Xn, ActivityListParams as Xt, PayrollGroupMember as Y, OrgLifecycle as Yn, ActivityKind as Yt, PayrollMethods as Z, PayoutAddress as Zn, ActivityMethods as Zt, CreateCapxulClientInput as _, MovementActivityEvidence as _n, TelemetryPort as _r, OrgMe as _t, ObservationContext as a, DepositInstructions as an, ActorRef as ar, OrganizationPaymentInput as at, IdentityRuntimeSendResult as b, OfframpQuoteInput as bn, IdentityState as br, AccountsMethods as bt, HostObservability as c, DestinationKind as cn, SubmittedPermissionExecution as cr, PermissionAssignInput as ct, postHogObservability as d, DestinationRail as dn, PAYMENT_STATUSES as dr, PermissionMethods as dt, ActivityReference as en, ClientRequestView as er, PayrollRunItemInput as et, OpenfortBrowserAuth as f, DestinationRemoveInput as fn, PaymentStatus$1 as fr, PermissionOptions as ft, CapxulClient as g, MeProfile as gn, TelemetryIdentifyInput as gr, Budget as gt, createOpenfortBrowserSigner as h, MeMethods as hn, TelemetryGroupInput as hr, PermissionReadResult as ht, ObservationAdapter as i, ActorReference as in, PaymentDocumentVerification as ir, OrganizationPaymentBatchInput as it, MemberIdentityProjection as j, PaymentType as jn, ActorProfile as jt, DetectPendingOrgInvitationsResult as k, PaymentStatus as kn, ReadyAccountLifecycle as kt, PostHogObservabilityClient as l, DestinationListInput as ln, InboxStatus as lr, PermissionChangeInput as lt, OpenfortBrowserSignerBootstrap as m, FinancialOpsMethods as mn, TelemetryEvent as mr, PermissionRevokeInput as mt, ProductionSignerControls as n, ActivitySummaryParams as nn, PaymentDocumentReadRef as nr, PayrollRuns as nt, ObservationDelivery as o, Destination as on, CurrentHoldings as or, OrganizationPaymentItemInput as ot, OpenfortBrowserSigner as p, DestinationsMethods as pn, RequestStatus as pr, PermissionReplaceInput as pt, PayrollGroup as q, AccountSetupPolicy as qn, ActivityFilter as qt, CAPXUL_SDK_EXPECTED_OUTCOME_EVENT as r, ActivitySummaryTotal as rn, PaymentDocumentRender as rr, PayrollTermsUnit as rt, SdkFailureObservation as s, DestinationAddInput as sn, Permission as sr, OrganizationPaymentsMethods as st, CapxulClientInput as t, ActivitySummary as tn, PaymentDocumentDownload as tr, PayrollRunStatus as tt, PostHogObservabilityOptions as u, DestinationPayload as un, PAYMENT_DIRECTIONS as ur, PermissionCreateInput as ut, IdentityProfileDetails as v, OfframpMethods as vn, Destination$1 as vr, OrgMeMethod as vt, MediaMethods as w, PaymentDirection as wn, destination as wr, OrganizationOnboardingInput as wt, HoldingsMethods as x, OfframpStatus as xn, OrgLane as xr, CompletedPersonProfile as xt, IdentityRuntime as y, OfframpQuote as yn, IdentityEvent as yr, OrgMeOptions as yt, OrganizationAccount as z, fingerprintPaymentIntent as zn, AddressBookLabelInput as zt };
|