@capxul/sdk 4.20.0-beta.26 → 4.20.0-beta.27

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.
@@ -1582,9 +1582,16 @@ declare const approvals: {
1582
1582
  readonly url: Schema.String;
1583
1583
  readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
1584
1584
  readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
1585
+ readonly actor: Schema.Union<readonly [Schema.Struct<{
1586
+ readonly kind: Schema.Literal<"personal">;
1587
+ }>, Schema.Struct<{
1588
+ readonly kind: Schema.Literal<"organization">;
1589
+ readonly orgId: Schema.NonEmptyString;
1590
+ }>]>;
1585
1591
  readonly summary: Schema.Struct<{
1586
1592
  readonly title: Schema.String;
1587
1593
  readonly from: Schema.Struct<{
1594
+ readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
1588
1595
  readonly label: Schema.String;
1589
1596
  readonly address: Schema.Codec<Address$1, string, never, never>;
1590
1597
  }>;
@@ -1645,9 +1652,16 @@ declare const approvals: {
1645
1652
  readonly url: Schema.String;
1646
1653
  readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
1647
1654
  readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
1655
+ readonly actor: Schema.Union<readonly [Schema.Struct<{
1656
+ readonly kind: Schema.Literal<"personal">;
1657
+ }>, Schema.Struct<{
1658
+ readonly kind: Schema.Literal<"organization">;
1659
+ readonly orgId: Schema.NonEmptyString;
1660
+ }>]>;
1648
1661
  readonly summary: Schema.Struct<{
1649
1662
  readonly title: Schema.String;
1650
1663
  readonly from: Schema.Struct<{
1664
+ readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
1651
1665
  readonly label: Schema.String;
1652
1666
  readonly address: Schema.Codec<Address$1, string, never, never>;
1653
1667
  }>;
@@ -1708,9 +1722,16 @@ declare const approvals: {
1708
1722
  readonly url: Schema.String;
1709
1723
  readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
1710
1724
  readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
1725
+ readonly actor: Schema.Union<readonly [Schema.Struct<{
1726
+ readonly kind: Schema.Literal<"personal">;
1727
+ }>, Schema.Struct<{
1728
+ readonly kind: Schema.Literal<"organization">;
1729
+ readonly orgId: Schema.NonEmptyString;
1730
+ }>]>;
1711
1731
  readonly summary: Schema.Struct<{
1712
1732
  readonly title: Schema.String;
1713
1733
  readonly from: Schema.Struct<{
1734
+ readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
1714
1735
  readonly label: Schema.String;
1715
1736
  readonly address: Schema.Codec<Address$1, string, never, never>;
1716
1737
  }>;
@@ -1775,9 +1796,16 @@ declare const approvals: {
1775
1796
  readonly url: Schema.String;
1776
1797
  readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
1777
1798
  readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
1799
+ readonly actor: Schema.Union<readonly [Schema.Struct<{
1800
+ readonly kind: Schema.Literal<"personal">;
1801
+ }>, Schema.Struct<{
1802
+ readonly kind: Schema.Literal<"organization">;
1803
+ readonly orgId: Schema.NonEmptyString;
1804
+ }>]>;
1778
1805
  readonly summary: Schema.Struct<{
1779
1806
  readonly title: Schema.String;
1780
1807
  readonly from: Schema.Struct<{
1808
+ readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
1781
1809
  readonly label: Schema.String;
1782
1810
  readonly address: Schema.Codec<Address$1, string, never, never>;
1783
1811
  }>;
@@ -1838,9 +1866,16 @@ declare const approvals: {
1838
1866
  readonly url: Schema.String;
1839
1867
  readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
1840
1868
  readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
1869
+ readonly actor: Schema.Union<readonly [Schema.Struct<{
1870
+ readonly kind: Schema.Literal<"personal">;
1871
+ }>, Schema.Struct<{
1872
+ readonly kind: Schema.Literal<"organization">;
1873
+ readonly orgId: Schema.NonEmptyString;
1874
+ }>]>;
1841
1875
  readonly summary: Schema.Struct<{
1842
1876
  readonly title: Schema.String;
1843
1877
  readonly from: Schema.Struct<{
1878
+ readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
1844
1879
  readonly label: Schema.String;
1845
1880
  readonly address: Schema.Codec<Address$1, string, never, never>;
1846
1881
  }>;
@@ -1902,9 +1937,16 @@ declare const approvals: {
1902
1937
  readonly url: Schema.String;
1903
1938
  readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
1904
1939
  readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
1940
+ readonly actor: Schema.Union<readonly [Schema.Struct<{
1941
+ readonly kind: Schema.Literal<"personal">;
1942
+ }>, Schema.Struct<{
1943
+ readonly kind: Schema.Literal<"organization">;
1944
+ readonly orgId: Schema.NonEmptyString;
1945
+ }>]>;
1905
1946
  readonly summary: Schema.Struct<{
1906
1947
  readonly title: Schema.String;
1907
1948
  readonly from: Schema.Struct<{
1949
+ readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
1908
1950
  readonly label: Schema.String;
1909
1951
  readonly address: Schema.Codec<Address$1, string, never, never>;
1910
1952
  }>;
@@ -12940,6 +12982,16 @@ declare const commands: {
12940
12982
  readonly retryCount: number;
12941
12983
  readonly automaticRetry: "exhausted" | "none" | "scheduled";
12942
12984
  readonly verification: {
12985
+ readonly status: "mismatch";
12986
+ readonly code: "conflicting_replay" | "extra_authority_event" | "failed_user_operation" | "missing_event" | "non_canonical_block" | "wrong_chain" | "wrong_contract_identity" | "wrong_event_order" | "wrong_fact_tuple" | "wrong_sender" | "wrong_state";
12987
+ readonly receipt?: {
12988
+ readonly chainId: ChainId;
12989
+ readonly userOpHash: `0x${string}`;
12990
+ readonly transactionHash: TxHash;
12991
+ readonly blockNumber: BlockNumber;
12992
+ readonly blockHash: `0x${string}`;
12993
+ } | undefined;
12994
+ } | {
12943
12995
  readonly status: "pending";
12944
12996
  readonly reason: "receipt_missing";
12945
12997
  } | {
@@ -12965,16 +13017,6 @@ declare const commands: {
12965
13017
  readonly dataHash: `0x${string}`;
12966
13018
  }[];
12967
13019
  readonly factsHash: `0x${string}`;
12968
- } | {
12969
- readonly status: "mismatch";
12970
- readonly code: "conflicting_replay" | "extra_authority_event" | "failed_user_operation" | "missing_event" | "non_canonical_block" | "wrong_chain" | "wrong_contract_identity" | "wrong_event_order" | "wrong_fact_tuple" | "wrong_sender" | "wrong_state";
12971
- readonly receipt?: {
12972
- readonly chainId: ChainId;
12973
- readonly userOpHash: `0x${string}`;
12974
- readonly transactionHash: TxHash;
12975
- readonly blockNumber: BlockNumber;
12976
- readonly blockHash: `0x${string}`;
12977
- } | undefined;
12978
13020
  } | {
12979
13021
  readonly status: "provider_failure";
12980
13022
  readonly retryable: true;
@@ -21566,6 +21608,7 @@ declare const CAPXUL_OPERATIONS: {
21566
21608
  };
21567
21609
  readonly identities: {
21568
21610
  readonly purgeByEmail: "operator.identities.purgeByEmail";
21611
+ readonly purgeAccount: "operator.identities.purgeAccount";
21569
21612
  };
21570
21613
  };
21571
21614
  readonly organizations: {
@@ -21774,6 +21817,7 @@ declare const CAPXUL_OPERATIONS: {
21774
21817
  };
21775
21818
  readonly keys: {
21776
21819
  readonly issue: "applications.keys.issue";
21820
+ readonly revokeById: "applications.keys.revokeById";
21777
21821
  };
21778
21822
  readonly quickstarts: {
21779
21823
  readonly claim: "applications.quickstarts.claim";
@@ -28855,9 +28899,16 @@ declare const ApprovalSchema: Schema.Struct<{
28855
28899
  readonly url: Schema.String;
28856
28900
  readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
28857
28901
  readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
28902
+ readonly actor: Schema.Union<readonly [Schema.Struct<{
28903
+ readonly kind: Schema.Literal<"personal">;
28904
+ }>, Schema.Struct<{
28905
+ readonly kind: Schema.Literal<"organization">;
28906
+ readonly orgId: Schema.NonEmptyString;
28907
+ }>]>;
28858
28908
  readonly summary: Schema.Struct<{
28859
28909
  readonly title: Schema.String;
28860
28910
  readonly from: Schema.Struct<{
28911
+ readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
28861
28912
  readonly label: Schema.String;
28862
28913
  readonly address: Schema.Codec<Address$1, string, never, never>;
28863
28914
  }>;
@@ -28916,86 +28967,398 @@ declare const ApprovalSchema: Schema.Struct<{
28916
28967
  }>;
28917
28968
  type Approval = Schema.Schema.Type<typeof ApprovalSchema>;
28918
28969
  //#endregion
28919
- //#region src/accounts/organization-approvals.d.ts
28920
- /** One Organization Payment from a Budget, for its approval page. */
28921
- interface OrganizationApprovalInput extends OrganizationPaymentInput {
28922
- readonly organizationId: string;
28923
- }
28924
- //#endregion
28925
- //#region src/accounts/approvals.d.ts
28926
- /** Where an approval ended, and the Payments it carries as they stand. */
28927
- interface ApprovalOutcome {
28928
- readonly approval: Approval;
28929
- readonly payments: readonly Payment[];
28930
- }
28931
- interface ApprovalWaitOptions {
28932
- readonly signal?: AbortSignal;
28933
- /** How long to wait between reads. Default 2 s. */
28934
- readonly intervalMs?: number;
28935
- /** The Organization an Organization payment's approval pays from: its Payments are read there. */
28936
- readonly organizationId?: string;
28937
- }
28938
- interface ApprovalsMethods {
28939
- /**
28940
- * Prepare a personal Payment, or an Organization Payment from a Budget
28941
- * (`organizationId` and `permissionId`), and open its approval. Nothing is
28942
- * signed or sent: the person approves it on `approval.url`.
28943
- */
28944
- prepare(input: PaymentsPayInput | OrganizationApprovalInput, options?: {
28945
- readonly signal?: AbortSignal;
28946
- }): Promise<CapxulResult<Approval>>;
28947
- /** The approval as it stands. */
28948
- get(approvalId: string): Promise<CapxulResult<Approval>>;
28949
- /** The approval page opened it: the first open of a pending approval is recorded. */
28950
- review(approvalId: string): Promise<CapxulResult<Approval>>;
28951
- /** Sign the operation's digest with this client's own signer and record the signature. */
28952
- approve(approvalId: string): Promise<CapxulResult<Approval>>;
28953
- /** Say no: nothing is signed, and the prepared operation is closed unsent. */
28954
- reject(approvalId: string): Promise<CapxulResult<Approval>>;
28955
- /** Send an approved operation once, and return its Payments. */
28956
- submit(approvalId: string): Promise<CapxulResult<ApprovalOutcome>>;
28957
- /**
28958
- * Follow the approval to its end: send it once it is approved, then wait
28959
- * until every Payment has left `pending` and `settling`. A rejected or
28960
- * expired approval ends the wait too.
28961
- */
28962
- wait(approvalId: string, options?: ApprovalWaitOptions): Promise<CapxulResult<ApprovalOutcome>>;
28963
- }
28964
- //#endregion
28965
- //#region ../protocol/src/evm/assets.d.ts
28966
- /**
28967
- * Where a registry row's liquidity comes from. `synthetic-test-liquidity`
28968
- * marks an owned fixture whose balances and rates are authored inputs, never
28969
- * market or provider data.
28970
- * Admission — which rows a treasury read returns — is `CONFIGURED_MONEY_ASSETS`,
28971
- * not this field; an owned fixture is a settlement asset.
28972
- */
28973
- type AssetSource = "synthetic-test-liquidity";
28974
- /** Canonical metadata. A missing peg does not imply a missing market price. */
28975
- interface AssetMetadata {
28976
- readonly assetId: AssetId;
28977
- readonly chainId: ChainId;
28978
- readonly tokenAddress: `0x${string}`;
28979
- readonly symbol: string;
28980
- readonly decimals: number;
28981
- readonly peg: CurrencyCode | null;
28982
- readonly deploymentStartBlock: number;
28983
- readonly source: AssetSource;
28984
- }
28985
- /** Public AssetIds for the admitted Base Sepolia test assets. */
28986
- declare const TOKENS: Readonly<{
28987
- BASE_SEPOLIA: Readonly<{
28988
- CAPXUL_TEST_USDC: AssetId;
28989
- CAPXUL_TEST_USDT: AssetId;
28990
- CAPXUL_TEST_WETH: AssetId;
28970
+ //#region ../protocol/src/payroll/schema.d.ts
28971
+ declare const PayrollRunStatusSchema: Schema.Literals<readonly ["draft", "authorized", "settled"]>;
28972
+ type PayrollRunStatus$1 = Schema.Schema.Type<typeof PayrollRunStatusSchema>;
28973
+ declare const PayrollRunDetailSchema: Schema.Struct<{
28974
+ readonly orgId: Schema.NonEmptyString;
28975
+ readonly run: Schema.Struct<{
28976
+ readonly id: Schema.refine<string, Schema.String>;
28977
+ readonly status: Schema.Literals<readonly ["draft", "authorized", "settled"]>;
28978
+ readonly periodStart: Schema.refine<number, Schema.Finite>;
28979
+ readonly periodEnd: Schema.refine<number, Schema.Finite>;
28980
+ readonly total: Schema.Struct<{
28981
+ readonly asset: Schema.refine<AssetId, Schema.String>;
28982
+ readonly value: Schema.String;
28983
+ readonly currency: Schema.optional<Schema.Never>;
28984
+ readonly decimals: Schema.optional<Schema.Never>;
28985
+ }>;
28986
+ readonly recipientCount: Schema.refine<number, Schema.Finite>;
28991
28987
  }>;
28988
+ readonly command: Schema.Struct<{
28989
+ readonly commandId: Schema.Codec<PaymentCommandId, string, never, never>;
28990
+ readonly requestKey: Schema.NonEmptyString;
28991
+ readonly state: Schema.Literals<readonly ["prepared", "submitted"]>;
28992
+ readonly verificationState: Schema.Literals<readonly ["not_started", "scheduled", "verifying", "retry_wait", "mismatch", "applied", "unresolved", "failed"]>;
28993
+ readonly completionOutcome: Schema.optional<Schema.Literals<readonly ["settled", "failed"]>>;
28994
+ readonly terminalOutcome: Schema.optional<Schema.Literals<readonly ["settled", "failed", "unresolved", "superseded"]>>;
28995
+ readonly userOpHash: Schema.optional<Schema.Codec<`0x${string}`, string, never, never>>;
28996
+ }>;
28997
+ readonly items: Schema.$Array<Schema.Struct<{
28998
+ readonly itemIndex: Schema.refine<number, Schema.Finite>;
28999
+ readonly employeeRef: Schema.NonEmptyString;
29000
+ readonly engagementEdgeId: Schema.NonEmptyString;
29001
+ readonly gross: Schema.refine<string, Schema.String>;
29002
+ readonly net: Schema.refine<string, Schema.String>;
29003
+ readonly adjustments: Schema.$Array<Schema.Struct<{
29004
+ readonly label: Schema.String;
29005
+ readonly amount: Schema.String;
29006
+ }>>;
29007
+ readonly amount: Schema.Struct<{
29008
+ readonly asset: Schema.refine<AssetId, Schema.String>;
29009
+ readonly value: Schema.String;
29010
+ readonly currency: Schema.optional<Schema.Never>;
29011
+ readonly decimals: Schema.optional<Schema.Never>;
29012
+ }>;
29013
+ readonly payment: Schema.Struct<{
29014
+ readonly id: Schema.String;
29015
+ readonly status: Schema.Literals<readonly ["pending", "settling", "unresolved", "scheduled", "streaming", "pending_claim", "settled", "cancelled", "failed"]>;
29016
+ readonly amount: Schema.Struct<{
29017
+ readonly asset: Schema.refine<AssetId, Schema.String>;
29018
+ readonly value: Schema.String;
29019
+ readonly currency: Schema.optional<Schema.Never>;
29020
+ readonly decimals: Schema.optional<Schema.Never>;
29021
+ }>;
29022
+ readonly paymentType: Schema.Literals<readonly ["unspecified", "invoice", "payroll", "reimbursement"]>;
29023
+ readonly direction: Schema.Literals<readonly ["in", "out", "self"]>;
29024
+ readonly counterpartyLabel: Schema.String;
29025
+ readonly receipt: Schema.NullOr<Schema.Struct<{
29026
+ readonly chainId: Schema.Codec<ChainId, number, never, never>;
29027
+ readonly transactionHash: Schema.Codec<TxHash, string, never, never>;
29028
+ }>>;
29029
+ readonly recipient: Schema.Union<readonly [Schema.Struct<{
29030
+ readonly kind: Schema.Literal<"party">;
29031
+ readonly partyId: Schema.String;
29032
+ readonly label: Schema.String;
29033
+ }>, Schema.Struct<{
29034
+ readonly kind: Schema.Literal<"external_address">;
29035
+ readonly label: Schema.String;
29036
+ }>]>;
29037
+ readonly documents: Schema.$Array<Schema.Struct<{
29038
+ readonly documentHash: Schema.String;
29039
+ readonly contentHash: Schema.String;
29040
+ readonly kind: Schema.Literals<readonly ["memo", "invoice", "payslip", "receipt"]>;
29041
+ readonly format: Schema.Literals<readonly ["envelope-v3", "envelope-v4", "artifact"]>;
29042
+ readonly role: Schema.Literals<readonly ["instruction", "movement", "supporting"]>;
29043
+ readonly issuedAt: Schema.NullOr<Schema.Finite>;
29044
+ }>>;
29045
+ readonly documentState: Schema.optionalKey<Schema.Literals<readonly ["ready", "pending", "unavailable"]>>;
29046
+ readonly timing: Schema.Union<readonly [Schema.Struct<{
29047
+ readonly kind: Schema.Literal<"instant">;
29048
+ }>, Schema.Struct<{
29049
+ readonly kind: Schema.Literal<"scheduled">;
29050
+ readonly at: Schema.Codec<EpochMs, number, never, never>;
29051
+ }>, Schema.Struct<{
29052
+ readonly kind: Schema.Literal<"stream">;
29053
+ readonly startsAt: Schema.Codec<EpochMs, number, never, never>;
29054
+ readonly endsAt: Schema.Codec<EpochMs, number, never, never>;
29055
+ readonly cliffAt: Schema.optionalKey<Schema.Codec<EpochMs, number, never, never>>;
29056
+ }>]>;
29057
+ readonly released: Schema.Struct<{
29058
+ readonly asset: Schema.refine<AssetId, Schema.String>;
29059
+ readonly value: Schema.String;
29060
+ readonly currency: Schema.optional<Schema.Never>;
29061
+ readonly decimals: Schema.optional<Schema.Never>;
29062
+ }>;
29063
+ readonly availableToClaim: Schema.Struct<{
29064
+ readonly asset: Schema.refine<AssetId, Schema.String>;
29065
+ readonly value: Schema.String;
29066
+ readonly currency: Schema.optional<Schema.Never>;
29067
+ readonly decimals: Schema.optional<Schema.Never>;
29068
+ }>;
29069
+ readonly execution: Schema.optionalKey<Schema.Struct<{
29070
+ readonly status: Schema.Literals<readonly ["pending", "included", "dropped", "replaced", "expired", "unresolved", "superseded", "failed", "settled"]>;
29071
+ readonly retryRequired: Schema.Boolean;
29072
+ readonly notSent: Schema.optionalKey<Schema.Literal<true>>;
29073
+ }>>;
29074
+ readonly createdAt: Schema.Codec<EpochMs, number, never, never>;
29075
+ readonly updatedAt: Schema.Codec<EpochMs, number, never, never>;
29076
+ }>;
29077
+ }>>;
29078
+ readonly createdAt: Schema.refine<number, Schema.Finite>;
29079
+ readonly updatedAt: Schema.refine<number, Schema.Finite>;
29080
+ readonly settledAt: Schema.optional<Schema.refine<number, Schema.Finite>>;
29081
+ }>;
29082
+ type PayrollRunDetail = typeof PayrollRunDetailSchema.Type;
29083
+ declare const PayrollGroupIdSchema: Schema.refine<string, Schema.String>;
29084
+ declare const PayrollGroupInputSchema: Schema.Struct<{
29085
+ readonly id: Schema.optional<Schema.refine<string, Schema.String>>;
29086
+ readonly name: Schema.String;
29087
+ readonly tone: Schema.String;
29088
+ readonly members: Schema.$Array<Schema.Struct<{
29089
+ readonly partyId: Schema.String;
29090
+ readonly amount: Schema.String;
29091
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
29092
+ }>>;
28992
29093
  }>;
29094
+ declare const PayrollTermsUnitSchema: Schema.Literals<readonly ["hour", "week", "month", "year", "paycheck"]>;
29095
+ type PayrollTermsUnit$1 = Schema.Schema.Type<typeof PayrollTermsUnitSchema>;
28993
29096
  //#endregion
28994
- //#region src/money/valuation.d.ts
28995
- interface Rate {
28996
- /** Positive integer at the declared decimal scale. */
28997
- readonly value: string;
28998
- readonly decimals: number;
29097
+ //#region src/payroll/run-subscription.d.ts
29098
+ type PayrollRunSnapshot = {
29099
+ readonly status: "loading";
29100
+ } | {
29101
+ readonly status: "ok";
29102
+ readonly value: PayrollRunDetail | null;
29103
+ } | {
29104
+ readonly status: "error";
29105
+ readonly error: CapxulError;
29106
+ };
29107
+ //#endregion
29108
+ //#region src/payroll/records.d.ts
29109
+ /** ADR-0022 R9: where the run stands on the shipped command lifecycle. */
29110
+ type PayrollRunStatus = PayrollRunStatus$1;
29111
+ /** One authorized payroll run. `total` is the sum of its items' nets. */
29112
+ interface PayrollRun {
29113
+ readonly id: PayrollRunId;
29114
+ readonly status: PayrollRunStatus;
29115
+ /** Epoch milliseconds. An instant run has `periodStart === periodEnd`. */
29116
+ readonly periodStart: number;
29117
+ readonly periodEnd: number;
29118
+ readonly total: AssetAmount;
29119
+ readonly recipientCount: number;
29120
+ }
29121
+ /**
29122
+ * An organization's runs, newest first, with the month total beside them.
29123
+ *
29124
+ * The aggregate travels WITH the list because the backend computes it over
29125
+ * every settled run in the calendar month while the list is one page. A
29126
+ * consumer that summed `items` would under-report an employer past the page.
29127
+ */
29128
+ interface PayrollRuns extends Page<PayrollRun> {
29129
+ /** Σ net of the runs that SETTLED this calendar month — the "Paid This Month" fact. */
29130
+ readonly settledThisMonth: readonly AssetAmount[];
29131
+ }
29132
+ /**
29133
+ * One saved recipient on a group. `amount` is the employer's TYPED text, not
29134
+ * minor units: a group is a draft the run composer prefills, and the run
29135
+ * engine is the one place that parses an amount into money.
29136
+ */
29137
+ interface PayrollGroupMember {
29138
+ /** The recipient's `PartyId` — the stable id (ADR-0022 R1), never an email. */
29139
+ readonly partyId: string;
29140
+ readonly amount: string;
29141
+ readonly currency: CurrencyCode;
29142
+ }
29143
+ /** A saved roster the employer pays again. Server-held, so every member sees it. */
29144
+ interface PayrollGroup {
29145
+ readonly id: PayrollGroupId;
29146
+ readonly name: string;
29147
+ /** A stored display preference; the consumer narrows it to its own union. */
29148
+ readonly tone: string;
29149
+ readonly members: readonly PayrollGroupMember[];
29150
+ }
29151
+ /** What a rate is counted PER (ADR-0022 R7). The substrate holds no cadence. */
29152
+ type PayrollTermsUnit = PayrollTermsUnit$1;
29153
+ /**
29154
+ * The rate in force for one open engagement, read at the moment of the call.
29155
+ *
29156
+ * Terms are versioned and insert-only, so this is a snapshot of a history: a
29157
+ * raise inserts a later row and the next read states the new rate. The SDK
29158
+ * derives NOTHING from it — ruling Q3 puts the prefill rule (which unit applies
29159
+ * over which period) in the run composer, and Capxul computes no pay.
29160
+ */
29161
+ interface PayrollEngagementTerms {
29162
+ /** The EMPLOYEE's `PartyId` — the key an `.Amounts` row is found by. */
29163
+ readonly partyId: string;
29164
+ /** Minor units counted in `decimals`; never a float. */
29165
+ readonly rate: string;
29166
+ readonly unit: PayrollTermsUnit;
29167
+ readonly currency: CurrencyCode;
29168
+ readonly decimals: number;
29169
+ /** Epoch milliseconds — when this rate took effect. */
29170
+ readonly effectiveFrom: number;
29171
+ }
29172
+ /** `id` absent creates a group; `id` present replaces that group in place. */
29173
+ interface PayrollGroupInput {
29174
+ readonly id?: PayrollGroupId;
29175
+ readonly name: string;
29176
+ readonly tone: string;
29177
+ readonly members: readonly PayrollGroupMember[];
29178
+ }
29179
+ /**
29180
+ * One person on one run. `net` is what they are paid; `gross` plus every
29181
+ * adjustment must equal it (ADR-0022 R8) and the backend refuses a run where
29182
+ * it does not. Both are minor-unit strings; an adjustment is signed.
29183
+ */
29184
+ interface PayrollRunItemInput {
29185
+ /**
29186
+ * The recipient. An email `Ref` or a party `Ref` in v1 — the backend refuses
29187
+ * any other kind, because the recipient is what the party is DERIVED from.
29188
+ */
29189
+ readonly to: Ref$1;
29190
+ /**
29191
+ * The caller's ASSERTION of the party `to` resolves to, never the authority
29192
+ * for it. The backend resolves `to` — an email through the invite path's
29193
+ * person-party ensure, a party `Ref` through the same recipient resolution
29194
+ * the batch runs — and refuses the run when this id is not that party, so
29195
+ * the money, the `employed` edge and the payslip's employee can never name
29196
+ * three different people.
29197
+ */
29198
+ readonly partyId: string;
29199
+ /** The exact settlement quantity. Gross and net use this asset's raw units. */
29200
+ readonly amount: AssetAmount;
29201
+ readonly gross: string;
29202
+ readonly net: string;
29203
+ readonly adjustments: readonly {
29204
+ readonly label: string;
29205
+ readonly amount: string;
29206
+ }[];
29207
+ }
29208
+ interface AuthorizeRunInput {
29209
+ /** The Budget the run spends from. The caller selects it; nothing is picked for them. */
29210
+ readonly permissionId: string;
29211
+ /** The one asset used by every payment in this run. */
29212
+ readonly asset: AssetAmount["asset"];
29213
+ /** Epoch milliseconds. An instant run passes `start === end` — the payslip renders the date. */
29214
+ readonly period: {
29215
+ readonly start: number;
29216
+ readonly end: number;
29217
+ };
29218
+ readonly items: readonly PayrollRunItemInput[];
29219
+ /**
29220
+ * Supply one to reuse a key minted elsewhere. Left absent, the shipped
29221
+ * fingerprint lifecycle derives it from this intent, so a retry of the same
29222
+ * run replays the SAME command instead of paying twice.
29223
+ */
29224
+ readonly requestKey?: string;
29225
+ }
29226
+ /**
29227
+ * R13 (#1968): the declared option type is the `InvocationControls` these
29228
+ * methods have always forwarded to `deps.invocationControls` — the same naming
29229
+ * R02 gave the address book. It lets a caller that captured one browser attempt
29230
+ * hand that attempt's `correlation_id`/`journey_id` to the payroll operation it
29231
+ * starts, so `ui_payroll_action_completed` and the durable group and run events
29232
+ * share a correlation. `{ signal }` callers are unaffected.
29233
+ */
29234
+ type PayrollOptions = InvocationControls;
29235
+ type AuthorizeRunOptions = PayrollOptions & {
29236
+ /** Persist this SDK-allocated key before the first backend write. Reject to prevent execution. */
29237
+ readonly onRequestKey?: (key: string) => void | Promise<void>;
29238
+ /** A prior command is conclusively closed. The current failed result remains a failure. */
29239
+ readonly onResolved?: (outcome: "failed" | "settled") => void | Promise<void>;
29240
+ };
29241
+ interface PayrollGroupsMethods {
29242
+ list(options?: PayrollOptions): Promise<CapxulResult<Page<PayrollGroup>>>;
29243
+ save(input: PayrollGroupInput, options?: PayrollOptions): Promise<CapxulResult<PayrollGroup>>;
29244
+ remove(id: PayrollGroupId, options?: PayrollOptions): Promise<CapxulResult<void>>;
29245
+ }
29246
+ interface PayrollMethods {
29247
+ getRun(runId: string, options?: PayrollOptions): Promise<CapxulResult<PayrollRunDetail | null>>;
29248
+ subscribeRun(runId: string, listener: (snapshot: PayrollRunSnapshot) => void, options?: PayrollOptions): Promise<CapxulResult<Unsubscribe$1>>;
29249
+ runs(options?: PayrollOptions): Promise<CapxulResult<PayrollRuns>>;
29250
+ authorizeRun(input: AuthorizeRunInput, options?: AuthorizeRunOptions): Promise<CapxulResult<PayrollRun>>;
29251
+ /** The active engagement terms of the org's employed people (ruling Q3). */
29252
+ terms(options?: PayrollOptions): Promise<CapxulResult<Page<PayrollEngagementTerms>>>;
29253
+ readonly groups: PayrollGroupsMethods;
29254
+ }
29255
+ //#endregion
29256
+ //#region src/payroll/run-decoding.d.ts
29257
+ /** Decode caller input before session or signer work. Keep routing outside the input. */
29258
+ declare function decodePayrollRunInput(value: unknown): AuthorizeRunInput;
29259
+ //#endregion
29260
+ //#region src/accounts/command-approvals.d.ts
29261
+ /** Retry an existing Payment exactly: your own, or one an Organization paid (`organizationId`). */
29262
+ interface RetryApprovalInput {
29263
+ readonly retry: string;
29264
+ readonly organizationId?: string;
29265
+ }
29266
+ /** Pay a request from your inbox or an Organization's: the confirmation names the payer. */
29267
+ interface RequestApprovalInput {
29268
+ readonly request: RequestPaymentConfirmation;
29269
+ }
29270
+ /** Run payroll for an Organization from one of its Budgets. */
29271
+ interface PayrollRunApprovalInput {
29272
+ readonly organizationId: string;
29273
+ readonly payrollRun: AuthorizeRunInput;
29274
+ }
29275
+ /** The approvals this module prepares. */
29276
+ type CommandApprovalInput = RetryApprovalInput | RequestApprovalInput | PayrollRunApprovalInput;
29277
+ //#endregion
29278
+ //#region src/accounts/organization-approvals.d.ts
29279
+ /** One Organization Payment from a Budget, for its approval page. */
29280
+ interface OrganizationApprovalInput extends OrganizationPaymentInput {
29281
+ readonly organizationId: string;
29282
+ }
29283
+ //#endregion
29284
+ //#region src/accounts/approvals.d.ts
29285
+ /** Everything an approval can be prepared for. */
29286
+ type ApprovalInput = PaymentsPayInput | OrganizationApprovalInput | CommandApprovalInput;
29287
+ /** Where an approval ended, and the Payments it carries as they stand. */
29288
+ interface ApprovalOutcome {
29289
+ readonly approval: Approval;
29290
+ readonly payments: readonly Payment[];
29291
+ }
29292
+ interface ApprovalWaitOptions {
29293
+ readonly signal?: AbortSignal;
29294
+ /** How long to wait between reads. Default 2 s. */
29295
+ readonly intervalMs?: number;
29296
+ /** The Organization the approval pays from. Default: the approval's own `actor`. */
29297
+ readonly organizationId?: string;
29298
+ }
29299
+ interface ApprovalsMethods {
29300
+ /**
29301
+ * Prepare a personal Payment, an Organization Payment from a Budget
29302
+ * (`organizationId` and `permissionId`), a retry of an existing Payment
29303
+ * (`retry`), a request paid from an inbox (`request`) or an Organization's
29304
+ * payroll run (`payrollRun`), and open its approval. Nothing is signed or
29305
+ * sent: the person approves it on `approval.url`.
29306
+ */
29307
+ prepare(input: ApprovalInput, options?: {
29308
+ readonly signal?: AbortSignal;
29309
+ }): Promise<CapxulResult<Approval>>;
29310
+ /** The approval as it stands. */
29311
+ get(approvalId: string): Promise<CapxulResult<Approval>>;
29312
+ /** The approval page opened it: the first open of a pending approval is recorded. */
29313
+ review(approvalId: string): Promise<CapxulResult<Approval>>;
29314
+ /** Sign the operation's digest with this client's own signer and record the signature. */
29315
+ approve(approvalId: string): Promise<CapxulResult<Approval>>;
29316
+ /** Say no: nothing is signed, and the prepared operation is closed unsent. */
29317
+ reject(approvalId: string): Promise<CapxulResult<Approval>>;
29318
+ /** Send an approved operation once, and return its Payments. */
29319
+ submit(approvalId: string): Promise<CapxulResult<ApprovalOutcome>>;
29320
+ /**
29321
+ * Follow the approval to its end: send it once it is approved, then wait
29322
+ * until every Payment has left `pending` and `settling`. A rejected or
29323
+ * expired approval ends the wait too.
29324
+ */
29325
+ wait(approvalId: string, options?: ApprovalWaitOptions): Promise<CapxulResult<ApprovalOutcome>>;
29326
+ }
29327
+ //#endregion
29328
+ //#region ../protocol/src/evm/assets.d.ts
29329
+ /**
29330
+ * Where a registry row's liquidity comes from. `synthetic-test-liquidity`
29331
+ * marks an owned fixture whose balances and rates are authored inputs, never
29332
+ * market or provider data.
29333
+ * Admission — which rows a treasury read returns — is `CONFIGURED_MONEY_ASSETS`,
29334
+ * not this field; an owned fixture is a settlement asset.
29335
+ */
29336
+ type AssetSource = "synthetic-test-liquidity";
29337
+ /** Canonical metadata. A missing peg does not imply a missing market price. */
29338
+ interface AssetMetadata {
29339
+ readonly assetId: AssetId;
29340
+ readonly chainId: ChainId;
29341
+ readonly tokenAddress: `0x${string}`;
29342
+ readonly symbol: string;
29343
+ readonly decimals: number;
29344
+ readonly peg: CurrencyCode | null;
29345
+ readonly deploymentStartBlock: number;
29346
+ readonly source: AssetSource;
29347
+ }
29348
+ /** Public AssetIds for the admitted Base Sepolia test assets. */
29349
+ declare const TOKENS: Readonly<{
29350
+ BASE_SEPOLIA: Readonly<{
29351
+ CAPXUL_TEST_USDC: AssetId;
29352
+ CAPXUL_TEST_USDT: AssetId;
29353
+ CAPXUL_TEST_WETH: AssetId;
29354
+ }>;
29355
+ }>;
29356
+ //#endregion
29357
+ //#region src/money/valuation.d.ts
29358
+ interface Rate {
29359
+ /** Positive integer at the declared decimal scale. */
29360
+ readonly value: string;
29361
+ readonly decimals: number;
28999
29362
  }
29000
29363
  /** Fiat balances use their currency directly, never an invented token identity. */
29001
29364
  type RateSource = (source: AssetMetadata | CurrencyCode, into: CurrencyCode) => Rate | null;
@@ -31527,296 +31890,6 @@ interface PermissionMethods {
31527
31890
  /** The one public decoder for complete Budget command input. */
31528
31891
  declare function decodePermissionIntent(input: unknown): PermissionIntent;
31529
31892
  //#endregion
31530
- //#region ../protocol/src/payroll/schema.d.ts
31531
- declare const PayrollRunStatusSchema: Schema.Literals<readonly ["draft", "authorized", "settled"]>;
31532
- type PayrollRunStatus$1 = Schema.Schema.Type<typeof PayrollRunStatusSchema>;
31533
- declare const PayrollRunDetailSchema: Schema.Struct<{
31534
- readonly orgId: Schema.NonEmptyString;
31535
- readonly run: Schema.Struct<{
31536
- readonly id: Schema.refine<string, Schema.String>;
31537
- readonly status: Schema.Literals<readonly ["draft", "authorized", "settled"]>;
31538
- readonly periodStart: Schema.refine<number, Schema.Finite>;
31539
- readonly periodEnd: Schema.refine<number, Schema.Finite>;
31540
- readonly total: Schema.Struct<{
31541
- readonly asset: Schema.refine<AssetId, Schema.String>;
31542
- readonly value: Schema.String;
31543
- readonly currency: Schema.optional<Schema.Never>;
31544
- readonly decimals: Schema.optional<Schema.Never>;
31545
- }>;
31546
- readonly recipientCount: Schema.refine<number, Schema.Finite>;
31547
- }>;
31548
- readonly command: Schema.Struct<{
31549
- readonly commandId: Schema.Codec<PaymentCommandId, string, never, never>;
31550
- readonly requestKey: Schema.NonEmptyString;
31551
- readonly state: Schema.Literals<readonly ["prepared", "submitted"]>;
31552
- readonly verificationState: Schema.Literals<readonly ["not_started", "scheduled", "verifying", "retry_wait", "mismatch", "applied", "unresolved", "failed"]>;
31553
- readonly completionOutcome: Schema.optional<Schema.Literals<readonly ["settled", "failed"]>>;
31554
- readonly terminalOutcome: Schema.optional<Schema.Literals<readonly ["settled", "failed", "unresolved", "superseded"]>>;
31555
- readonly userOpHash: Schema.optional<Schema.Codec<`0x${string}`, string, never, never>>;
31556
- }>;
31557
- readonly items: Schema.$Array<Schema.Struct<{
31558
- readonly itemIndex: Schema.refine<number, Schema.Finite>;
31559
- readonly employeeRef: Schema.NonEmptyString;
31560
- readonly engagementEdgeId: Schema.NonEmptyString;
31561
- readonly gross: Schema.refine<string, Schema.String>;
31562
- readonly net: Schema.refine<string, Schema.String>;
31563
- readonly adjustments: Schema.$Array<Schema.Struct<{
31564
- readonly label: Schema.String;
31565
- readonly amount: Schema.String;
31566
- }>>;
31567
- readonly amount: Schema.Struct<{
31568
- readonly asset: Schema.refine<AssetId, Schema.String>;
31569
- readonly value: Schema.String;
31570
- readonly currency: Schema.optional<Schema.Never>;
31571
- readonly decimals: Schema.optional<Schema.Never>;
31572
- }>;
31573
- readonly payment: Schema.Struct<{
31574
- readonly id: Schema.String;
31575
- readonly status: Schema.Literals<readonly ["pending", "settling", "unresolved", "scheduled", "streaming", "pending_claim", "settled", "cancelled", "failed"]>;
31576
- readonly amount: Schema.Struct<{
31577
- readonly asset: Schema.refine<AssetId, Schema.String>;
31578
- readonly value: Schema.String;
31579
- readonly currency: Schema.optional<Schema.Never>;
31580
- readonly decimals: Schema.optional<Schema.Never>;
31581
- }>;
31582
- readonly paymentType: Schema.Literals<readonly ["unspecified", "invoice", "payroll", "reimbursement"]>;
31583
- readonly direction: Schema.Literals<readonly ["in", "out", "self"]>;
31584
- readonly counterpartyLabel: Schema.String;
31585
- readonly receipt: Schema.NullOr<Schema.Struct<{
31586
- readonly chainId: Schema.Codec<ChainId, number, never, never>;
31587
- readonly transactionHash: Schema.Codec<TxHash, string, never, never>;
31588
- }>>;
31589
- readonly recipient: Schema.Union<readonly [Schema.Struct<{
31590
- readonly kind: Schema.Literal<"party">;
31591
- readonly partyId: Schema.String;
31592
- readonly label: Schema.String;
31593
- }>, Schema.Struct<{
31594
- readonly kind: Schema.Literal<"external_address">;
31595
- readonly label: Schema.String;
31596
- }>]>;
31597
- readonly documents: Schema.$Array<Schema.Struct<{
31598
- readonly documentHash: Schema.String;
31599
- readonly contentHash: Schema.String;
31600
- readonly kind: Schema.Literals<readonly ["memo", "invoice", "payslip", "receipt"]>;
31601
- readonly format: Schema.Literals<readonly ["envelope-v3", "envelope-v4", "artifact"]>;
31602
- readonly role: Schema.Literals<readonly ["instruction", "movement", "supporting"]>;
31603
- readonly issuedAt: Schema.NullOr<Schema.Finite>;
31604
- }>>;
31605
- readonly documentState: Schema.optionalKey<Schema.Literals<readonly ["ready", "pending", "unavailable"]>>;
31606
- readonly timing: Schema.Union<readonly [Schema.Struct<{
31607
- readonly kind: Schema.Literal<"instant">;
31608
- }>, Schema.Struct<{
31609
- readonly kind: Schema.Literal<"scheduled">;
31610
- readonly at: Schema.Codec<EpochMs, number, never, never>;
31611
- }>, Schema.Struct<{
31612
- readonly kind: Schema.Literal<"stream">;
31613
- readonly startsAt: Schema.Codec<EpochMs, number, never, never>;
31614
- readonly endsAt: Schema.Codec<EpochMs, number, never, never>;
31615
- readonly cliffAt: Schema.optionalKey<Schema.Codec<EpochMs, number, never, never>>;
31616
- }>]>;
31617
- readonly released: Schema.Struct<{
31618
- readonly asset: Schema.refine<AssetId, Schema.String>;
31619
- readonly value: Schema.String;
31620
- readonly currency: Schema.optional<Schema.Never>;
31621
- readonly decimals: Schema.optional<Schema.Never>;
31622
- }>;
31623
- readonly availableToClaim: Schema.Struct<{
31624
- readonly asset: Schema.refine<AssetId, Schema.String>;
31625
- readonly value: Schema.String;
31626
- readonly currency: Schema.optional<Schema.Never>;
31627
- readonly decimals: Schema.optional<Schema.Never>;
31628
- }>;
31629
- readonly execution: Schema.optionalKey<Schema.Struct<{
31630
- readonly status: Schema.Literals<readonly ["pending", "included", "dropped", "replaced", "expired", "unresolved", "superseded", "failed", "settled"]>;
31631
- readonly retryRequired: Schema.Boolean;
31632
- readonly notSent: Schema.optionalKey<Schema.Literal<true>>;
31633
- }>>;
31634
- readonly createdAt: Schema.Codec<EpochMs, number, never, never>;
31635
- readonly updatedAt: Schema.Codec<EpochMs, number, never, never>;
31636
- }>;
31637
- }>>;
31638
- readonly createdAt: Schema.refine<number, Schema.Finite>;
31639
- readonly updatedAt: Schema.refine<number, Schema.Finite>;
31640
- readonly settledAt: Schema.optional<Schema.refine<number, Schema.Finite>>;
31641
- }>;
31642
- type PayrollRunDetail = typeof PayrollRunDetailSchema.Type;
31643
- declare const PayrollGroupIdSchema: Schema.refine<string, Schema.String>;
31644
- declare const PayrollGroupInputSchema: Schema.Struct<{
31645
- readonly id: Schema.optional<Schema.refine<string, Schema.String>>;
31646
- readonly name: Schema.String;
31647
- readonly tone: Schema.String;
31648
- readonly members: Schema.$Array<Schema.Struct<{
31649
- readonly partyId: Schema.String;
31650
- readonly amount: Schema.String;
31651
- readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
31652
- }>>;
31653
- }>;
31654
- declare const PayrollTermsUnitSchema: Schema.Literals<readonly ["hour", "week", "month", "year", "paycheck"]>;
31655
- type PayrollTermsUnit$1 = Schema.Schema.Type<typeof PayrollTermsUnitSchema>;
31656
- //#endregion
31657
- //#region src/payroll/run-subscription.d.ts
31658
- type PayrollRunSnapshot = {
31659
- readonly status: "loading";
31660
- } | {
31661
- readonly status: "ok";
31662
- readonly value: PayrollRunDetail | null;
31663
- } | {
31664
- readonly status: "error";
31665
- readonly error: CapxulError;
31666
- };
31667
- //#endregion
31668
- //#region src/payroll/records.d.ts
31669
- /** ADR-0022 R9: where the run stands on the shipped command lifecycle. */
31670
- type PayrollRunStatus = PayrollRunStatus$1;
31671
- /** One authorized payroll run. `total` is the sum of its items' nets. */
31672
- interface PayrollRun {
31673
- readonly id: PayrollRunId;
31674
- readonly status: PayrollRunStatus;
31675
- /** Epoch milliseconds. An instant run has `periodStart === periodEnd`. */
31676
- readonly periodStart: number;
31677
- readonly periodEnd: number;
31678
- readonly total: AssetAmount;
31679
- readonly recipientCount: number;
31680
- }
31681
- /**
31682
- * An organization's runs, newest first, with the month total beside them.
31683
- *
31684
- * The aggregate travels WITH the list because the backend computes it over
31685
- * every settled run in the calendar month while the list is one page. A
31686
- * consumer that summed `items` would under-report an employer past the page.
31687
- */
31688
- interface PayrollRuns extends Page<PayrollRun> {
31689
- /** Σ net of the runs that SETTLED this calendar month — the "Paid This Month" fact. */
31690
- readonly settledThisMonth: readonly AssetAmount[];
31691
- }
31692
- /**
31693
- * One saved recipient on a group. `amount` is the employer's TYPED text, not
31694
- * minor units: a group is a draft the run composer prefills, and the run
31695
- * engine is the one place that parses an amount into money.
31696
- */
31697
- interface PayrollGroupMember {
31698
- /** The recipient's `PartyId` — the stable id (ADR-0022 R1), never an email. */
31699
- readonly partyId: string;
31700
- readonly amount: string;
31701
- readonly currency: CurrencyCode;
31702
- }
31703
- /** A saved roster the employer pays again. Server-held, so every member sees it. */
31704
- interface PayrollGroup {
31705
- readonly id: PayrollGroupId;
31706
- readonly name: string;
31707
- /** A stored display preference; the consumer narrows it to its own union. */
31708
- readonly tone: string;
31709
- readonly members: readonly PayrollGroupMember[];
31710
- }
31711
- /** What a rate is counted PER (ADR-0022 R7). The substrate holds no cadence. */
31712
- type PayrollTermsUnit = PayrollTermsUnit$1;
31713
- /**
31714
- * The rate in force for one open engagement, read at the moment of the call.
31715
- *
31716
- * Terms are versioned and insert-only, so this is a snapshot of a history: a
31717
- * raise inserts a later row and the next read states the new rate. The SDK
31718
- * derives NOTHING from it — ruling Q3 puts the prefill rule (which unit applies
31719
- * over which period) in the run composer, and Capxul computes no pay.
31720
- */
31721
- interface PayrollEngagementTerms {
31722
- /** The EMPLOYEE's `PartyId` — the key an `.Amounts` row is found by. */
31723
- readonly partyId: string;
31724
- /** Minor units counted in `decimals`; never a float. */
31725
- readonly rate: string;
31726
- readonly unit: PayrollTermsUnit;
31727
- readonly currency: CurrencyCode;
31728
- readonly decimals: number;
31729
- /** Epoch milliseconds — when this rate took effect. */
31730
- readonly effectiveFrom: number;
31731
- }
31732
- /** `id` absent creates a group; `id` present replaces that group in place. */
31733
- interface PayrollGroupInput {
31734
- readonly id?: PayrollGroupId;
31735
- readonly name: string;
31736
- readonly tone: string;
31737
- readonly members: readonly PayrollGroupMember[];
31738
- }
31739
- /**
31740
- * One person on one run. `net` is what they are paid; `gross` plus every
31741
- * adjustment must equal it (ADR-0022 R8) and the backend refuses a run where
31742
- * it does not. Both are minor-unit strings; an adjustment is signed.
31743
- */
31744
- interface PayrollRunItemInput {
31745
- /**
31746
- * The recipient. An email `Ref` or a party `Ref` in v1 — the backend refuses
31747
- * any other kind, because the recipient is what the party is DERIVED from.
31748
- */
31749
- readonly to: Ref$1;
31750
- /**
31751
- * The caller's ASSERTION of the party `to` resolves to, never the authority
31752
- * for it. The backend resolves `to` — an email through the invite path's
31753
- * person-party ensure, a party `Ref` through the same recipient resolution
31754
- * the batch runs — and refuses the run when this id is not that party, so
31755
- * the money, the `employed` edge and the payslip's employee can never name
31756
- * three different people.
31757
- */
31758
- readonly partyId: string;
31759
- /** The exact settlement quantity. Gross and net use this asset's raw units. */
31760
- readonly amount: AssetAmount;
31761
- readonly gross: string;
31762
- readonly net: string;
31763
- readonly adjustments: readonly {
31764
- readonly label: string;
31765
- readonly amount: string;
31766
- }[];
31767
- }
31768
- interface AuthorizeRunInput {
31769
- /** The Budget the run spends from. The caller selects it; nothing is picked for them. */
31770
- readonly permissionId: string;
31771
- /** The one asset used by every payment in this run. */
31772
- readonly asset: AssetAmount["asset"];
31773
- /** Epoch milliseconds. An instant run passes `start === end` — the payslip renders the date. */
31774
- readonly period: {
31775
- readonly start: number;
31776
- readonly end: number;
31777
- };
31778
- readonly items: readonly PayrollRunItemInput[];
31779
- /**
31780
- * Supply one to reuse a key minted elsewhere. Left absent, the shipped
31781
- * fingerprint lifecycle derives it from this intent, so a retry of the same
31782
- * run replays the SAME command instead of paying twice.
31783
- */
31784
- readonly requestKey?: string;
31785
- }
31786
- /**
31787
- * R13 (#1968): the declared option type is the `InvocationControls` these
31788
- * methods have always forwarded to `deps.invocationControls` — the same naming
31789
- * R02 gave the address book. It lets a caller that captured one browser attempt
31790
- * hand that attempt's `correlation_id`/`journey_id` to the payroll operation it
31791
- * starts, so `ui_payroll_action_completed` and the durable group and run events
31792
- * share a correlation. `{ signal }` callers are unaffected.
31793
- */
31794
- type PayrollOptions = InvocationControls;
31795
- type AuthorizeRunOptions = PayrollOptions & {
31796
- /** Persist this SDK-allocated key before the first backend write. Reject to prevent execution. */
31797
- readonly onRequestKey?: (key: string) => void | Promise<void>;
31798
- /** A prior command is conclusively closed. The current failed result remains a failure. */
31799
- readonly onResolved?: (outcome: "failed" | "settled") => void | Promise<void>;
31800
- };
31801
- interface PayrollGroupsMethods {
31802
- list(options?: PayrollOptions): Promise<CapxulResult<Page<PayrollGroup>>>;
31803
- save(input: PayrollGroupInput, options?: PayrollOptions): Promise<CapxulResult<PayrollGroup>>;
31804
- remove(id: PayrollGroupId, options?: PayrollOptions): Promise<CapxulResult<void>>;
31805
- }
31806
- interface PayrollMethods {
31807
- getRun(runId: string, options?: PayrollOptions): Promise<CapxulResult<PayrollRunDetail | null>>;
31808
- subscribeRun(runId: string, listener: (snapshot: PayrollRunSnapshot) => void, options?: PayrollOptions): Promise<CapxulResult<Unsubscribe$1>>;
31809
- runs(options?: PayrollOptions): Promise<CapxulResult<PayrollRuns>>;
31810
- authorizeRun(input: AuthorizeRunInput, options?: AuthorizeRunOptions): Promise<CapxulResult<PayrollRun>>;
31811
- /** The active engagement terms of the org's employed people (ruling Q3). */
31812
- terms(options?: PayrollOptions): Promise<CapxulResult<Page<PayrollEngagementTerms>>>;
31813
- readonly groups: PayrollGroupsMethods;
31814
- }
31815
- //#endregion
31816
- //#region src/payroll/run-decoding.d.ts
31817
- /** Decode caller input before session or signer work. Keep routing outside the input. */
31818
- declare function decodePayrollRunInput(value: unknown): AuthorizeRunInput;
31819
- //#endregion
31820
31893
  //#region src/organizations/records.d.ts
31821
31894
  /** The membership state for one Organization member. */
31822
31895
  type MemberStatus = "pending" | "pending_safe" | "pending_grant" | "active" | "revoked" | "expired";
@@ -33576,4 +33649,4 @@ type CheckoutLinkReference = {
33576
33649
  /** Build a reference URL. The consumer still reads authoritative terms from the backend. */
33577
33650
  declare function checkoutUrl(frontendOrigin: string, reference: CheckoutLinkReference): string;
33578
33651
  //#endregion
33579
- export { CurrentUserMethods as $, NormalizedCapxulOperation as $a, FixedOfferDraft as $i, OrganizationPaymentsMethods as $n, CHAIN_UPSTREAMS as $o, CompletedPersonProfile as $r, PermissionRevokeInput as $t, assetSymbolFor as A, InvitationId as Aa, PaymentDocumentReadRef as Ai, AddressBookMethods as An, toAccountId as Ao, MeMethods as Ar, PayrollGroupsMethods as At, CreateCapxulClientInput as B, OfferedAuthority as Ba, SignerStatus as Bi, CreateOfferCheckoutInput as Bn, AuthUserId as Bo, ActivityItem as Br, PayrollGroupInputSchema as Bt, OpenfortBrowserAuth as C, OrganizationSetupSnapshot as Ca, PaymentsPayOptions as Ci, DestinationsMethods as Cn, PermissionId as Co, Approval as Cr, decodePayrollRunInput as Ct, createOpenfortBrowserSigner as D, EndingReason as Da, PaymentInstructionInput as Di, AddressBookAddInput as Dn, toPermissionId as Do, AccountMethods as Dr, PayrollGroup as Dt, OpenfortBrowserSignerOptions as E, AuthorityRef as Ea, PaymentDocumentOptionsSchema as Ei, ActorRelationshipMethods as En, toPermissionAssignmentId as Eo, isSettingUpLifecycle as Er, PayrollEngagementTerms as Et, MoneyParseError as F, InvitationTarget as Fa, ActorRef as Fi, InboxApproveInput as Fn, Handle as Fo, requestPhase as Fr, PayrollRunStatus as Ft, UploadImageResult as G, Permission as Ga, AccountRequirement as Gi, Ref$1 as Gn, AssetAmount as Go, ActivityRange as Gr, PermissionChangeInput as Gt, IdentityRuntime as H, PermissionReplacementPreview as Ha, injectedWalletSigner as Hi, PayRequestRegisteredInput as Hn, EVM_ADDRESS_RE as Ho, ActivityListParams as Hr, decodePermissionIntent as Ht, MoneyParseErrorReason as I, InvitationView as Ia, fingerprintPaymentIntent as Ii, InboxFulfillOptions as In, PartyId as Io, ActivityAnnotation as Ir, PayrollRuns as It, Destination as J, TelemetryEvent as Ja, localPrivateKeyAccountProvider as Ji, TargetsMethods as Jn, toAssetId as Jo, ActivitySummaryParams as Jr, PermissionOptions as Jt, SystemHealth as K, TelemetryGroupInput as Ka, Eip1193Provider as Ki, ResolvedTarget as Kn, AssetId as Ko, ActivityReference as Kr, PermissionCreateInput as Kt, isMoneyParseError as L, InviteGrant as La, CapxulDigestSigner as Li, InboxItem as Ln, toHandle as Lo, ActivityAnnotationInput as Lr, PayrollTermsUnit as Lt, parseAssetAmount as M, InvitationPageInput as Ma, PaymentDocumentVerification as Mi, ActorRequestIssueInput as Mn, TesterKind as Mo, ActivityPhase as Mr, PayrollOptions as Mt, requireAsset as N, InvitationPhase as Na, PAYMENT_DIRECTIONS as Ni, ActorRequestsMethods as Nn, toCountryCode as No, inboxPhase as Nr, PayrollRun as Nt, CAPXUL_PAYMENTS_V2_ADDRESS as O, GranteeRef as Oa, SupportingReceiptInput as Oi, AddressBookEntry as On, Account$1 as Oo, DepositInstructions as Or, PayrollGroupInput as Ot, toRaw as P, InvitationRecovery as Pa, PAYMENT_STATUSES as Pi, OffersMethods as Pn, HANDLE_RE as Po, paymentPhase as Pr, PayrollRunItemInput as Pt, CurrentUserContext as Q, CapxulOperation as Qa, FixedOffer as Qi, OrganizationPaymentRetryPreview as Qn, isCapxulError as Qo, PaymentDocumentsMethods as Qr, PermissionReplaceInput as Qt, parseMoney as R, InviteInput as Ra, CapxulSigner as Ri, InboxMethods as Rn, toPartyId as Ro, ActivityDetail as Rr, PayrollRunSnapshot as Rt, devPrivateKeySigner as S, OrganizationSetupPageInput as Sa, PaymentsPayInput as Si, DestinationRemoveInput as Sn, BudgetId as So, OrganizationApprovalInput as Sr, RoleView as St, OpenfortBrowserSignerBootstrap as T, Unsubscribe as Ta, PaymentDocumentOptions as Ti, ActorProfileMethods as Tn, toBudgetId as To, AccountSetupStep as Tr, AuthorizeRunOptions as Tt, IdentityRuntimeSendResult as U, BudgetIntent as Ua, AccountProvider as Ui, isCheckoutSettlementConsumed as Un, toAddress as Uo, ActivityMethods as Ur, PermissionAssignInput as Ut, IdentityProfileDetails as V, SpendingScope as Va, SignerStatusStore as Vi, PayInvoiceRegisteredInput as Vn, Address$1 as Vo, ActivityKind as Vr, PayrollRunDetail as Vt, MediaMethods as W, CurrentPolicy as Wa, AccountProviderSource as Wi, RecipientResolution as Wn, Errors as Wo, ActivityPage as Wr, PermissionAssignmentEffect as Wt, isClaimed as X, TelemetryPort as Xa, CheckoutReconciliation as Xi, OrganizationPaymentInput as Xn, CapxulError as Xo, MovementActivityEvidence as Xr, PermissionPrepared as Xt, destination as Y, TelemetryPortEvent as Ya, CheckoutReceipt as Yi, OrganizationPaymentBatchInput as Yn, toCurrencyCode as Yo, ActivitySummaryTotal as Yr, PermissionPolicyChange as Yt, isRestoring as Z, CAPXUL_OPERATIONS as Za, CheckoutState as Zi, OrganizationPaymentItemInput as Zn, CapxulErrorDetails as Zo, PaymentActivityEvidence as Zr, PermissionReadResult as Zt, OpenfortEmbeddedWalletApi as _, RequestPaymentConfirmation as _a, PaymentSnapshot as _i, DestinationAddInput as _n, OrgId as _o, AssetMetadata as _r, OrgView as _t, captureException as a, InvoiceCheckoutPreparation as aa, PersonOnboardingInput as ai, InvitationSubscriptionOptions as an, ObservationContext as ao, FinancialOpsMethods as ar, CAPXUL_ERROR_CODES as as, IdentityEvent as at, DevPrivateKeySignerInput as b, OrganizationSetup as ba, PaymentTiming as bi, DestinationPayload as bn, PayrollRunId as bo, ApprovalWaitOptions as br, OrganizationAuditLogItem as bt, createCapxulClient as c, InvoiceCheckoutSummary as ca, IdentityMethods as ci, InvitePrepared as cn, AuthCacheError as co, positionPeg as cr, OrgLane as ct, PostHogObservabilityClient as d, PreparedInvoiceCheckoutExecution as da, Payment as di, OwnInvitationsMethod as dn, CachedJwt as do, AccountsMethods as dr, AssignmentProjection as dt, FixedOfferDraftSchema as ea, OnboardingMethods as ei, PermissionCommandSnapshot as en, isCapxulOperation as eo, OfframpMethods as er, ChainCause as es, AuthMethods as et, PostHogObservabilityOptions as f, PreparedRequestCheckoutExecution as fa, PaymentDirection as fi, Budget as fn, ActorReference as fo, Rate as fr, MemberIdentityProjection as ft, openfortEmbeddedSignerFromWallet as g, RequestCheckoutSummary as ga, PaymentPrepared as gi, Destination$1 as gn, ORGANIZATION_SETUP_REASONS as go, valueIn as gr, OrgScopedMethods as gt, embeddedSigner as h, RequestCheckoutState as ha, PaymentMoney as hi, OrgMeOptions as hn, Page as ho, valueActivitySummary as hr, OrgMethods as ht, HandledErrorReportContext as i, PreparedOfferCheckoutExecution as ia, PersonOnboarding as ii, InvitationSnapshot as in, ObservationAdapter as io, PaymentsMethods as ir, FailureMode as is, ClientRequestView as it, formatAssetAmount as j, InvitationPage as ja, PaymentDocumentRender as ji, ActorRequest as jn, CountryCode as jo, MeProfile as jr, PayrollMethods as jt, formatMoney as k, InvitationAcceptInput as ka, PaymentDocumentDownload as ki, AddressBookLabelInput as kn, AccountId as ko, Home as kr, PayrollGroupMember as kt, CapxulClientInput as l, PrepareInvoiceCheckoutExecutionInput as la, Profile as li, InvitePreviewInput as ln, AuthCachePort as lo, HoldingsMethods as lr, Readiness as lt, OpenfortEmbeddedSignerInput as m, RequestCheckoutReconciliation as ma, PaymentDocumentRef as mi, OrgMeMethod as mn, OperationResult as mo, Valuation as mr, MemberView as mt, checkoutUrl as n, OfferCheckoutPreparation as na, OrganizationOnboardingInput as ni, SubmittedPermissionExecution as nn, OAuthBearerAuthClientInput as no, OfframpQuoteInput as nr, RevertSummary as ns, AccountSetupPolicy as nt, captureExceptionSync as o, InvoiceCheckoutReconciliation as oa, ReadyAccountLifecycle as oi, InviteMethod as on, ObservationDelivery as oo, SmartAccount as or, CapxulErrorCode as os, IdentityTransition as ot, postHogObservability as p, RequestCheckoutPreparation as pa, PaymentDocumentKind as pi, OrgMe as pn, CapxulResult as po, RateSource as pr, MemberStatus as pt, SystemMethods as q, TelemetryIdentifyInput as qa, eip1193AccountProvider as qi, TargetReference as qn, Money as qo, ActivitySummary as qr, PermissionMethods as qt, LineItemV3 as r, PrepareOfferCheckoutExecutionInput as ra, OrganizationOnboardingOptions as ri, PermissionIntent as rn, oauthBearerAuthClient as ro, OfframpStatus as rr, FAILURE_MODES as rs, ClientRequests as rt, CAPXUL_SDK_EXPECTED_OUTCOME_EVENT as s, InvoiceCheckoutState as sa, CompleteProfileInput as si, InviteOptions as sn, SdkFailureObservation as so, SmartAccountMethods as sr, EXPECTED_OPERATION_OUTCOMES as ss, IdentityState as st, CheckoutLinkReference as t, OfferCheckout as ta, OrganizationOnboarding as ti, PermissionCommandView as tn, normalizeCapxulOperation as to, OfframpQuote as tr, ChainUpstream as ts, Session as tt, HostObservability as u, PrepareRequestCheckoutExecutionInput as ua, PayoutAddress as ui, OrgInvitations as un, AuthCachePortTag as uo, CurrentHoldings as ur, StateLabel as ut, OpenfortEmbeddedWalletPort as v, RequestPaymentTerms as va, PaymentStatus as vi, DestinationKind as vn, toOrgId as vo, TOKENS as vr, OrganizationAccess as vt, OpenfortBrowserSigner as w, SetupIssue as wa, InvoiceDraft as wi, ActorProfile as wn, RoleKey as wo, AccountLifecycle as wr, AuthorizeRunInput as wt, deriveDevPrivateKey as x, OrganizationSetupPage as xa, PaymentType as xi, DestinationRail as xn, toPayrollGroupId as xo, ApprovalsMethods as xr, RoleDefinition as xt, openfortEmbeddedWalletPort as y, InvocationControls as ya, PaymentSubscriptionOptions as yi, DestinationListInput as yn, PayrollGroupId as yo, ApprovalOutcome as yr, OrganizationAccount as yt, CapxulClient as z, InvitePreview as za, Eip1193RequestProvider as zi, CheckoutsMethods as zn, AuthSession as zo, ActivityFilter as zr, PayrollGroupIdSchema as zt };
33652
+ export { CurrentUserMethods as $, TelemetryPortEvent as $a, CheckoutReceipt as $i, TOKENS as $n, toCurrencyCode as $o, ActivitySummaryTotal as $r, DestinationKind as $t, assetSymbolFor as A, AuthorityRef as Aa, PaymentDocumentOptionsSchema as Ai, OrganizationPaymentBatchInput as An, toPermissionAssignmentId as Ao, isSettingUpLifecycle as Ar, PermissionPolicyChange as At, CreateCapxulClientInput as B, InvitationView as Ba, fingerprintPaymentIntent as Bi, FinancialOpsMethods as Bn, PartyId as Bo, ActivityAnnotation as Br, InvitationSubscriptionOptions as Bt, OpenfortBrowserAuth as C, InvocationControls as Ca, PaymentSubscriptionOptions as Ci, PayRequestRegisteredInput as Cn, PayrollGroupId as Co, PayrollRunSnapshot as Cr, decodePermissionIntent as Ct, createOpenfortBrowserSigner as D, OrganizationSetupSnapshot as Da, PaymentsPayOptions as Di, ResolvedTarget as Dn, PermissionId as Do, Approval as Dr, PermissionCreateInput as Dt, OpenfortBrowserSignerOptions as E, OrganizationSetupPageInput as Ea, PaymentsPayInput as Ei, Ref$1 as En, BudgetId as Eo, PayrollRunDetail as Er, PermissionChangeInput as Et, MoneyParseError as F, InvitationPage as Fa, PaymentDocumentRender as Fi, OfframpMethods as Fn, CountryCode as Fo, MeProfile as Fr, PermissionCommandSnapshot as Ft, UploadImageResult as G, SpendingScope as Ga, SignerStatusStore as Gi, CurrentHoldings as Gn, Address$1 as Go, ActivityKind as Gr, OrgInvitations as Gt, IdentityRuntime as H, InviteInput as Ha, CapxulSigner as Hi, SmartAccountMethods as Hn, toPartyId as Ho, ActivityDetail as Hr, InviteOptions as Ht, MoneyParseErrorReason as I, InvitationPageInput as Ia, PaymentDocumentVerification as Ii, OfframpQuote as In, TesterKind as Io, ActivityPhase as Ir, PermissionCommandView as It, Destination as J, CurrentPolicy as Ja, AccountProviderSource as Ji, RateSource as Jn, Errors as Jo, ActivityPage as Jr, OrgMe as Jt, SystemHealth as K, PermissionReplacementPreview as Ka, injectedWalletSigner as Ki, AccountsMethods as Kn, EVM_ADDRESS_RE as Ko, ActivityListParams as Kr, OwnInvitationsMethod as Kt, isMoneyParseError as L, InvitationPhase as La, PAYMENT_DIRECTIONS as Li, OfframpQuoteInput as Ln, toCountryCode as Lo, inboxPhase as Lr, SubmittedPermissionExecution as Lt, parseAssetAmount as M, GranteeRef as Ma, SupportingReceiptInput as Mi, OrganizationPaymentItemInput as Mn, Account$1 as Mo, DepositInstructions as Mr, PermissionReadResult as Mt, requireAsset as N, InvitationAcceptInput as Na, PaymentDocumentDownload as Ni, OrganizationPaymentRetryPreview as Nn, AccountId as No, Home as Nr, PermissionReplaceInput as Nt, CAPXUL_PAYMENTS_V2_ADDRESS as O, SetupIssue as Oa, InvoiceDraft as Oi, TargetReference as On, RoleKey as Oo, AccountLifecycle as Or, PermissionMethods as Ot, toRaw as P, InvitationId as Pa, PaymentDocumentReadRef as Pi, OrganizationPaymentsMethods as Pn, toAccountId as Po, MeMethods as Pr, PermissionRevokeInput as Pt, CurrentUserContext as Q, TelemetryEvent as Qa, localPrivateKeyAccountProvider as Qi, AssetMetadata as Qn, toAssetId as Qo, ActivitySummaryParams as Qr, DestinationAddInput as Qt, parseMoney as R, InvitationRecovery as Ra, PAYMENT_STATUSES as Ri, OfframpStatus as Rn, HANDLE_RE as Ro, paymentPhase as Rr, PermissionIntent as Rt, devPrivateKeySigner as S, RequestPaymentTerms as Sa, PaymentStatus as Si, PayInvoiceRegisteredInput as Sn, toOrgId as So, PayrollTermsUnit as Sr, RoleView as St, OpenfortBrowserSignerBootstrap as T, OrganizationSetupPage as Ta, PaymentType as Ti, RecipientResolution as Tn, toPayrollGroupId as To, PayrollGroupInputSchema as Tr, PermissionAssignmentEffect as Tt, IdentityRuntimeSendResult as U, InvitePreview as Ua, Eip1193RequestProvider as Ui, positionPeg as Un, AuthSession as Uo, ActivityFilter as Ur, InvitePrepared as Ut, IdentityProfileDetails as V, InviteGrant as Va, CapxulDigestSigner as Vi, SmartAccount as Vn, toHandle as Vo, ActivityAnnotationInput as Vr, InviteMethod as Vt, MediaMethods as W, OfferedAuthority as Wa, SignerStatus as Wi, HoldingsMethods as Wn, AuthUserId as Wo, ActivityItem as Wr, InvitePreviewInput as Wt, isClaimed as X, TelemetryGroupInput as Xa, Eip1193Provider as Xi, valueActivitySummary as Xn, AssetId as Xo, ActivityReference as Xr, OrgMeOptions as Xt, destination as Y, Permission as Ya, AccountRequirement as Yi, Valuation as Yn, AssetAmount as Yo, ActivityRange as Yr, OrgMeMethod as Yt, isRestoring as Z, TelemetryIdentifyInput as Za, eip1193AccountProvider as Zi, valueIn as Zn, Money as Zo, ActivitySummary as Zr, Destination$1 as Zt, OpenfortEmbeddedWalletApi as _, RequestCheckoutPreparation as _a, PaymentDocumentKind as _i, InboxFulfillOptions as _n, CapxulResult as _o, PayrollOptions as _r, OrgView as _t, captureException as a, OfferCheckout as aa, OrganizationOnboarding as ai, ActorProfile as an, normalizeCapxulOperation as ao, PayrollRunApprovalInput as ar, ChainUpstream as as, IdentityEvent as at, DevPrivateKeySignerInput as b, RequestCheckoutSummary as ba, PaymentPrepared as bi, CheckoutsMethods as bn, ORGANIZATION_SETUP_REASONS as bo, PayrollRunStatus as br, OrganizationAuditLogItem as bt, createCapxulClient as c, PreparedOfferCheckoutExecution as ca, PersonOnboarding as ci, AddressBookAddInput as cn, ObservationAdapter as co, decodePayrollRunInput as cr, FailureMode as cs, OrgLane as ct, PostHogObservabilityClient as d, InvoiceCheckoutState as da, CompleteProfileInput as di, AddressBookMethods as dn, SdkFailureObservation as do, PayrollEngagementTerms as dr, EXPECTED_OPERATION_OUTCOMES as ds, AssignmentProjection as dt, CheckoutReconciliation as ea, MovementActivityEvidence as ei, DestinationListInput as en, TelemetryPort as eo, ApprovalInput as er, CapxulError as es, AuthMethods as et, PostHogObservabilityOptions as f, InvoiceCheckoutSummary as fa, IdentityMethods as fi, ActorRequest as fn, AuthCacheError as fo, PayrollGroup as fr, MemberIdentityProjection as ft, openfortEmbeddedSignerFromWallet as g, PreparedRequestCheckoutExecution as ga, PaymentDirection as gi, InboxApproveInput as gn, ActorReference as go, PayrollMethods as gr, OrgScopedMethods as gt, embeddedSigner as h, PreparedInvoiceCheckoutExecution as ha, Payment as hi, OffersMethods as hn, CachedJwt as ho, PayrollGroupsMethods as hr, OrgMethods as ht, HandledErrorReportContext as i, FixedOfferDraftSchema as ia, OnboardingMethods as ii, DestinationsMethods as in, isCapxulOperation as io, OrganizationApprovalInput as ir, ChainCause as is, ClientRequestView as it, formatAssetAmount as j, EndingReason as ja, PaymentInstructionInput as ji, OrganizationPaymentInput as jn, toPermissionId as jo, AccountMethods as jr, PermissionPrepared as jt, formatMoney as k, Unsubscribe as ka, PaymentDocumentOptions as ki, TargetsMethods as kn, toBudgetId as ko, AccountSetupStep as kr, PermissionOptions as kt, CapxulClientInput as l, InvoiceCheckoutPreparation as la, PersonOnboardingInput as li, AddressBookEntry as ln, ObservationContext as lo, AuthorizeRunInput as lr, CAPXUL_ERROR_CODES as ls, Readiness as lt, OpenfortEmbeddedSignerInput as m, PrepareRequestCheckoutExecutionInput as ma, PayoutAddress as mi, ActorRequestsMethods as mn, AuthCachePortTag as mo, PayrollGroupMember as mr, MemberView as mt, checkoutUrl as n, FixedOffer as na, PaymentDocumentsMethods as ni, DestinationRail as nn, CapxulOperation as no, ApprovalWaitOptions as nr, isCapxulError as ns, AccountSetupPolicy as nt, captureExceptionSync as o, OfferCheckoutPreparation as oa, OrganizationOnboardingInput as oi, ActorProfileMethods as on, OAuthBearerAuthClientInput as oo, RequestApprovalInput as or, RevertSummary as os, IdentityTransition as ot, postHogObservability as p, PrepareInvoiceCheckoutExecutionInput as pa, Profile as pi, ActorRequestIssueInput as pn, AuthCachePort as po, PayrollGroupInput as pr, MemberStatus as pt, SystemMethods as q, BudgetIntent as qa, AccountProvider as qi, Rate as qn, toAddress as qo, ActivityMethods as qr, Budget as qt, LineItemV3 as r, FixedOfferDraft as ra, CompletedPersonProfile as ri, DestinationRemoveInput as rn, NormalizedCapxulOperation as ro, ApprovalsMethods as rr, CHAIN_UPSTREAMS as rs, ClientRequests as rt, CAPXUL_SDK_EXPECTED_OUTCOME_EVENT as s, PrepareOfferCheckoutExecutionInput as sa, OrganizationOnboardingOptions as si, ActorRelationshipMethods as sn, oauthBearerAuthClient as so, RetryApprovalInput as sr, FAILURE_MODES as ss, IdentityState as st, CheckoutLinkReference as t, CheckoutState as ta, PaymentActivityEvidence as ti, DestinationPayload as tn, CAPXUL_OPERATIONS as to, ApprovalOutcome as tr, CapxulErrorDetails as ts, Session as tt, HostObservability as u, InvoiceCheckoutReconciliation as ua, ReadyAccountLifecycle as ui, AddressBookLabelInput as un, ObservationDelivery as uo, AuthorizeRunOptions as ur, CapxulErrorCode as us, StateLabel as ut, OpenfortEmbeddedWalletPort as v, RequestCheckoutReconciliation as va, PaymentDocumentRef as vi, InboxItem as vn, OperationResult as vo, PayrollRun as vr, OrganizationAccess as vt, OpenfortBrowserSigner as w, OrganizationSetup as wa, PaymentTiming as wi, isCheckoutSettlementConsumed as wn, PayrollRunId as wo, PayrollGroupIdSchema as wr, PermissionAssignInput as wt, deriveDevPrivateKey as x, RequestPaymentConfirmation as xa, PaymentSnapshot as xi, CreateOfferCheckoutInput as xn, OrgId as xo, PayrollRuns as xr, RoleDefinition as xt, openfortEmbeddedWalletPort as y, RequestCheckoutState as ya, PaymentMoney as yi, InboxMethods as yn, Page as yo, PayrollRunItemInput as yr, OrganizationAccount as yt, CapxulClient as z, InvitationTarget as za, ActorRef as zi, PaymentsMethods as zn, Handle as zo, requestPhase as zr, InvitationSnapshot as zt };